diff --git a/.venv/Lib/site-packages/PyInstaller/__init__.py b/.venv/Lib/site-packages/PyInstaller/__init__.py new file mode 100644 index 0000000..04fbefe --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/__init__.py @@ -0,0 +1,44 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +__all__ = ('HOMEPATH', 'PLATFORM', '__version__', 'DEFAULT_DISTPATH', 'DEFAULT_SPECPATH', 'DEFAULT_WORKPATH') + +import os + +from PyInstaller import compat + +# Note: Keep this variable as plain string so it could be updated automatically when doing a release. +__version__ = '6.15.0' + +# Absolute path of this package's directory. Save this early so all submodules can use the absolute path. This is +# required for example if the current directory changes prior to loading the hooks. +PACKAGEPATH = os.path.abspath(os.path.dirname(__file__)) + +HOMEPATH = os.path.dirname(PACKAGEPATH) + +# Default values of paths where to put files created by PyInstaller. If changing these, do not forget to update the +# help text for corresponding command-line options, defined in build_main. + +# Where to put created .spec file. +DEFAULT_SPECPATH = os.getcwd() +# Where to put the final frozen application. +DEFAULT_DISTPATH = os.path.join(os.getcwd(), 'dist') +# Where to put all the temporary files; .log, .pyz, etc. +DEFAULT_WORKPATH = os.path.join(os.getcwd(), 'build') + +PLATFORM = compat.system + '-' + compat.architecture +# Include machine name in path to bootloader for some machines (e.g., 'arm'). Explicitly avoid doing this on macOS, +# where we keep universal2 bootloaders in Darwin-64bit folder regardless of whether we are on x86_64 or arm64. +if compat.machine and not compat.is_darwin: + PLATFORM += '-' + compat.machine +# Similarly, disambiguate musl Linux from glibc Linux. +if compat.is_musl: + PLATFORM += '-musl' diff --git a/.venv/Lib/site-packages/PyInstaller/__main__.py b/.venv/Lib/site-packages/PyInstaller/__main__.py new file mode 100644 index 0000000..f36090b --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/__main__.py @@ -0,0 +1,321 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Main command-line interface to PyInstaller. +""" +from __future__ import annotations + +import argparse +import os +import platform +import sys +import pathlib +from collections import defaultdict + +from PyInstaller import __version__ +from PyInstaller import log as logging +# Note: do not import anything else until compat.check_requirements function is run! +from PyInstaller import compat + +try: + from argcomplete import autocomplete +except ImportError: + + def autocomplete(parser): + return None + + +logger = logging.getLogger(__name__) + +# Taken from https://stackoverflow.com/a/22157136 to format args more flexibly: any help text which beings with ``R|`` +# will have all newlines preserved; the help text will be line wrapped. See +# https://docs.python.org/3/library/argparse.html#formatter-class. + + +# This is used by the ``--debug`` option. +class _SmartFormatter(argparse.HelpFormatter): + def _split_lines(self, text, width): + if text.startswith('R|'): + # The underlying implementation of ``RawTextHelpFormatter._split_lines`` invokes this; mimic it. + return text[2:].splitlines() + else: + # Invoke the usual formatter. + return super()._split_lines(text, width) + + +def run_makespec(filenames, **opts): + # Split pathex by using the path separator + temppaths = opts['pathex'][:] + pathex = opts['pathex'] = [] + for p in temppaths: + pathex.extend(p.split(os.pathsep)) + + import PyInstaller.building.makespec + + spec_file = PyInstaller.building.makespec.main(filenames, **opts) + logger.info('wrote %s' % spec_file) + return spec_file + + +def run_build(pyi_config, spec_file, **kwargs): + import PyInstaller.building.build_main + PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs) + + +def __add_options(parser): + parser.add_argument( + '-v', + '--version', + action='version', + version=__version__, + help='Show program version info and exit.', + ) + + +class _PyiArgumentParser(argparse.ArgumentParser): + def __init__(self, *args, **kwargs): + self._pyi_action_groups = defaultdict(list) + super().__init__(*args, **kwargs) + + def _add_options(self, __add_options: callable, name: str = ""): + """ + Mutate self with the given callable, storing any new actions added in a named group + """ + n_actions_before = len(getattr(self, "_actions", [])) + __add_options(self) # preserves old behavior + new_actions = getattr(self, "_actions", [])[n_actions_before:] + self._pyi_action_groups[name].extend(new_actions) + + def _option_name(self, action): + """ + Get the option name(s) associated with an action + + For options that define both short and long names, this function will + return the long names joined by "/" + """ + longnames = [name for name in action.option_strings if name.startswith("--")] + if longnames: + name = "/".join(longnames) + else: + name = action.option_strings[0] + return name + + def _forbid_options(self, args: argparse.Namespace, group: str, errmsg: str = ""): + """Forbid options from a named action group""" + options = defaultdict(str) + for action in self._pyi_action_groups[group]: + dest = action.dest + name = self._option_name(action) + if getattr(args, dest) is not self.get_default(dest): + if dest in options: + options[dest] += "/" + options[dest] += name + + # if any options from the forbidden group are not the default values, + # the user must have passed them in, so issue an error report + if options: + sep = "\n " + bad = sep.join(options.values()) + if errmsg: + errmsg = "\n" + errmsg + raise SystemExit(f"ERROR: option(s) not allowed:{sep}{bad}{errmsg}") + + +def generate_parser() -> _PyiArgumentParser: + """ + Build an argparse parser for PyInstaller's main CLI. + """ + + import PyInstaller.building.build_main + import PyInstaller.building.makespec + import PyInstaller.log + + parser = _PyiArgumentParser(formatter_class=_SmartFormatter) + parser.prog = "pyinstaller" + + parser._add_options(__add_options) + parser._add_options(PyInstaller.building.makespec.__add_options, name="makespec") + parser._add_options(PyInstaller.building.build_main.__add_options, name="build_main") + parser._add_options(PyInstaller.log.__add_options, name="log") + + parser.add_argument( + 'filenames', + metavar='scriptname', + nargs='+', + help="Name of scriptfiles to be processed or exactly one .spec file. If a .spec file is specified, most " + "options are unnecessary and are ignored.", + ) + + return parser + + +def run(pyi_args: list | None = None, pyi_config: dict | None = None): + """ + pyi_args allows running PyInstaller programmatically without a subprocess + pyi_config allows checking configuration once when running multiple tests + """ + compat.check_requirements() + check_unsafe_privileges() + + import PyInstaller.log + + old_sys_argv = sys.argv + try: + parser = generate_parser() + autocomplete(parser) + if pyi_args is None: + pyi_args = sys.argv[1:] + try: + index = pyi_args.index("--") + except ValueError: + index = len(pyi_args) + args = parser.parse_args(pyi_args[:index]) + spec_args = pyi_args[index + 1:] + PyInstaller.log.__process_options(parser, args) + + # Print PyInstaller version, Python version, and platform as the first line to stdout. This helps us identify + # PyInstaller, Python, and platform version when users report issues. + try: + from _pyinstaller_hooks_contrib import __version__ as contrib_hooks_version + except Exception: + contrib_hooks_version = 'unknown' + + logger.info('PyInstaller: %s, contrib hooks: %s', __version__, contrib_hooks_version) + logger.info('Python: %s%s', platform.python_version(), " (conda)" if compat.is_conda else "") + logger.info('Platform: %s', platform.platform()) + logger.info('Python environment: %s', sys.prefix) + + # Skip creating .spec when .spec file is supplied. + if args.filenames[0].endswith('.spec'): + parser._forbid_options( + args, group="makespec", errmsg="makespec options not valid when a .spec file is given" + ) + spec_file = args.filenames[0] + else: + # Ensure that the given script files exist, before trying to generate the .spec file. + # This prevents us from overwriting an existing (and customized) .spec file if user makes a typo in the + # .spec file's suffix when trying to build it, for example, `pyinstaller program.cpes` (see #8276). + # It also prevents creation of a .spec file when `pyinstaller program.py` is accidentally ran from a + # directory that does not contain the script (for example, due to failing to change the directory prior + # to running the command). + for filename in args.filenames: + if not os.path.isfile(filename): + raise SystemExit(f"ERROR: Script file {filename!r} does not exist.") + spec_file = run_makespec(**vars(args)) + + sys.argv = [spec_file, *spec_args] + run_build(pyi_config, spec_file, **vars(args)) + + except KeyboardInterrupt: + raise SystemExit("Aborted by user request.") + except RecursionError: + from PyInstaller import _recursion_too_deep_message + _recursion_too_deep_message.raise_with_msg() + finally: + sys.argv = old_sys_argv + + +def _console_script_run(): + # Python prepends the main script's parent directory to sys.path. When PyInstaller is ran via the usual + # `pyinstaller` CLI entry point, this directory is $pythonprefix/bin which should not be in sys.path. + if os.path.basename(sys.path[0]) in ("bin", "Scripts"): + sys.path.pop(0) + run() + + +def check_unsafe_privileges(): + """ + Forbid dangerous usage of PyInstaller with escalated privileges + """ + if compat.is_win and not compat.is_win_wine: + # Discourage (with the intention to eventually block) people using *run as admin* with PyInstaller. + # There are 4 cases, block case 3 but be careful not to also block case 2. + # 1. User has no admin access: TokenElevationTypeDefault + # 2. User is an admin/UAC disabled (common on CI/VMs): TokenElevationTypeDefault + # 3. User has used *run as administrator* to elevate: TokenElevationTypeFull + # 4. User can escalate but hasn't: TokenElevationTypeLimited + # https://techcommunity.microsoft.com/t5/windows-blog-archive/how-to-determine-if-a-user-is-a-member-of-the-administrators/ba-p/228476 + import ctypes + + advapi32 = ctypes.CDLL("Advapi32.dll") + kernel32 = ctypes.CDLL("kernel32.dll") + + kernel32.GetCurrentProcess.restype = ctypes.c_void_p + process = kernel32.GetCurrentProcess() + + token = ctypes.c_void_p() + try: + TOKEN_QUERY = 8 + assert advapi32.OpenProcessToken(ctypes.c_void_p(process), TOKEN_QUERY, ctypes.byref(token)) + + elevation_type = ctypes.c_int() + TokenElevationType = 18 + assert advapi32.GetTokenInformation( + token, TokenElevationType, ctypes.byref(elevation_type), ctypes.sizeof(elevation_type), + ctypes.byref(ctypes.c_int()) + ) + finally: + kernel32.CloseHandle(token) + + if elevation_type.value == 2: # TokenElevationTypeFull + logger.log( + logging.DEPRECATION, + "Running PyInstaller as admin is not necessary nor sensible. Run PyInstaller from a non-administrator " + "terminal. PyInstaller 7.0 will block this." + ) + + elif compat.is_darwin or compat.is_linux: + # Discourage (with the intention to eventually block) people using *sudo* with PyInstaller. + # Again there are 4 cases, block only case 4. + # 1. Non-root: os.getuid() != 0 + # 2. Logged in as root (usually a VM): os.getlogin() == "root", os.getuid() == 0 + # 3. No named users (e.g. most Docker containers): os.getlogin() fails + # 4. Regular user using escalation: os.getlogin() != "root", os.getuid() == 0 + try: + user = os.getlogin() + except OSError: + user = "" + if os.getuid() == 0 and user and user != "root": + logger.log( + logging.DEPRECATION, + "Running PyInstaller as root is not necessary nor sensible. Do not use PyInstaller with sudo. " + "PyInstaller 7.0 will block this." + ) + + if compat.is_win: + # Do not let people run PyInstaller from admin cmd's default working directory (C:\Windows\system32) + cwd = pathlib.Path.cwd() + + try: + win_dir = compat.win32api.GetWindowsDirectory() + except Exception: + win_dir = None + win_dir = None if win_dir is None else pathlib.Path(win_dir).resolve() + + inside_win_dir = cwd == win_dir or win_dir in cwd.parents + + # The only exception to the above is if user's home directory is also located under %WINDIR%, which happens + # when PyInstaller is ran under SYSTEM user. + if inside_win_dir: + home_dir = pathlib.Path.home().resolve() + if cwd == home_dir or home_dir in cwd.parents: + inside_win_dir = False + + if inside_win_dir: + raise SystemExit( + f"ERROR: Do not run pyinstaller from {cwd}. cd to where your code is and run pyinstaller from there. " + "Hint: You can open a terminal where your code is by going to the parent folder in Windows file " + "explorer and typing cmd into the address bar." + ) + + +if __name__ == '__main__': + run() diff --git a/.venv/Lib/site-packages/PyInstaller/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..bc890af Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/__pycache__/__main__.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/__pycache__/__main__.cpython-311.pyc new file mode 100644 index 0000000..4a58bae Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/__pycache__/__main__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/__pycache__/_recursion_too_deep_message.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/__pycache__/_recursion_too_deep_message.cpython-311.pyc new file mode 100644 index 0000000..889f858 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/__pycache__/_recursion_too_deep_message.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/__pycache__/_shared_with_waf.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/__pycache__/_shared_with_waf.cpython-311.pyc new file mode 100644 index 0000000..ae6a52a Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/__pycache__/_shared_with_waf.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/__pycache__/compat.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/__pycache__/compat.cpython-311.pyc new file mode 100644 index 0000000..6f0067e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/__pycache__/compat.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/__pycache__/config.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/__pycache__/config.cpython-311.pyc new file mode 100644 index 0000000..71c5e52 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/__pycache__/config.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/__pycache__/configure.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/__pycache__/configure.cpython-311.pyc new file mode 100644 index 0000000..38b9c7c Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/__pycache__/configure.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/__pycache__/exceptions.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/__pycache__/exceptions.cpython-311.pyc new file mode 100644 index 0000000..745d71a Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/__pycache__/exceptions.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/__pycache__/log.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/__pycache__/log.cpython-311.pyc new file mode 100644 index 0000000..a0cd56b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/__pycache__/log.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/_recursion_too_deep_message.py b/.venv/Lib/site-packages/PyInstaller/_recursion_too_deep_message.py new file mode 100644 index 0000000..e62c20d --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/_recursion_too_deep_message.py @@ -0,0 +1,45 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +msg = """ +============================================================= +A RecursionError (maximum recursion depth exceeded) occurred. +For working around please follow these instructions +============================================================= + +1. In your program's .spec file add this line near the top:: + + import sys ; sys.setrecursionlimit(sys.getrecursionlimit() * 5) + +2. Build your program by running PyInstaller with the .spec file as + argument:: + + pyinstaller myprog.spec + +3. If this fails, you most probably hit an endless recursion in + PyInstaller. Please try to track this down as far as possible, + create a minimal example so we can reproduce and open an issue at + https://github.com/pyinstaller/pyinstaller/issues following the + instructions in the issue template. Many thanks. + +Explanation: Python's stack-limit is a safety-belt against endless recursion, +eating up memory. PyInstaller imports modules recursively. If the structure +how modules are imported within your program is awkward, this leads to the +nesting being too deep and hitting Python's stack-limit. + +With the default recursion limit (1000), the recursion error occurs at about +115 nested imported, with limit 2000 at about 240, with limit 5000 at about +660. +""" + + +def raise_with_msg(): + raise SystemExit(msg) diff --git a/.venv/Lib/site-packages/PyInstaller/_shared_with_waf.py b/.venv/Lib/site-packages/PyInstaller/_shared_with_waf.py new file mode 100644 index 0000000..e6ecd7f --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/_shared_with_waf.py @@ -0,0 +1,92 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Code to be shared by PyInstaller and the bootloader/wscript file. + +This code must not assume that either PyInstaller or any of its dependencies installed. I.e., the only imports allowed +in here are standard library ones. Within reason, it is preferable that this file should still run under Python 2.7 as +many compiler docker images still have only Python 2 installed. +""" + +import platform +import re + + +def _pyi_machine(machine, system): + # type: (str, str) -> str + """ + Choose an intentionally simplified architecture identifier to be used in the bootloader's directory name. + + Args: + machine: + The output of ``platform.machine()`` or any known architecture alias or shorthand that may be used by a + C compiler. + system: + The output of ``platform.system()`` on the target machine. + Returns: + Either a string tag or, on platforms that don't need an architecture tag, ``None``. + + Ideally, we would just use ``platform.machine()`` directly, but that makes cross-compiling the bootloader almost + impossible, because you need to know at compile time exactly what ``platform.machine()`` will be at run time, based + only on the machine name alias or shorthand reported by the C compiler at the build time. Rather, use a loose + differentiation, and trust that anyone mixing armv6l with armv6h knows what they are doing. + """ + # See the corresponding tests in tests/unit/test_compat.py for examples. + + if platform.machine() == "sw_64" or platform.machine() == "loongarch64": + # This explicitly inhibits cross compiling the bootloader for or on SunWay and LoongArch machine. + return platform.machine() + + if system == "Windows": + if machine.lower().startswith("arm"): + return "arm" + else: + return "intel" + + if system == "SunOS": + if machine.lower() in ("x86", "i86pc"): + return "intel" + else: + return "sparc" + + if system != "Linux": + # No architecture specifier for anything par Linux. + # - macOS is on two 64 bit architectures, but they are merged into one "universal2" bootloader. + # - BSD supports a wide range of architectures, but according to PyPI's download statistics, every one of our + # BSD users are on x86_64. This may change in the distant future. + return + + if machine.startswith(("arm", "aarch")): + # ARM has a huge number of similar and aliased sub-versions, such as armv5, armv6l armv8h, aarch64. + return "arm" + if machine in ("thumb"): + # Reported by waf/gcc when Thumb instruction set is enabled on 32-bit ARM. The platform.machine() returns "arm" + # regardless of the instruction set. + return "arm" + if machine in ("x86_64", "x64", "x86"): + return "intel" + if re.fullmatch("i[1-6]86", machine): + return "intel" + if machine.startswith(("ppc", "powerpc")): + # PowerPC comes in 64 vs 32 bit and little vs big endian variants. + return "ppc" + if machine in ("mips64", "mips"): + return "mips" + if machine.startswith("riscv"): + return "riscv" + # Machines with no known aliases :) + if machine in ("s390x",): + return machine + + # Unknown architectures are allowed by default, but will all be placed under one directory. In theory, trying to + # have multiple unknown architectures in one copy of PyInstaller will not work, but that should be sufficiently + # unlikely to ever happen. + return "unknown" diff --git a/.venv/Lib/site-packages/PyInstaller/archive/__init__.py b/.venv/Lib/site-packages/PyInstaller/archive/__init__.py new file mode 100644 index 0000000..a7501ae --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/archive/__init__.py @@ -0,0 +1 @@ +__author__ = 'martin' diff --git a/.venv/Lib/site-packages/PyInstaller/archive/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/archive/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..d88a43b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/archive/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/archive/__pycache__/pyz_crypto.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/archive/__pycache__/pyz_crypto.cpython-311.pyc new file mode 100644 index 0000000..ad5153f Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/archive/__pycache__/pyz_crypto.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/archive/__pycache__/readers.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/archive/__pycache__/readers.cpython-311.pyc new file mode 100644 index 0000000..6514e5a Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/archive/__pycache__/readers.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/archive/__pycache__/writers.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/archive/__pycache__/writers.cpython-311.pyc new file mode 100644 index 0000000..58d5360 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/archive/__pycache__/writers.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/archive/pyz_crypto.py b/.venv/Lib/site-packages/PyInstaller/archive/pyz_crypto.py new file mode 100644 index 0000000..a16905f --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/archive/pyz_crypto.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +class PyiBlockCipher: + def __init__(self, key=None): + from PyInstaller.exceptions import RemovedCipherFeatureError + raise RemovedCipherFeatureError("Please remove cipher and block_cipher parameters from your spec file.") diff --git a/.venv/Lib/site-packages/PyInstaller/archive/readers.py b/.venv/Lib/site-packages/PyInstaller/archive/readers.py new file mode 100644 index 0000000..bf5cd53 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/archive/readers.py @@ -0,0 +1,238 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Python-based CArchive (PKG) reader implementation. Used only in the archive_viewer utility. +""" + +import os +import struct + +from PyInstaller.loader.pyimod01_archive import ZlibArchiveReader, ArchiveReadError + + +class NotAnArchiveError(TypeError): + pass + + +# Type codes for CArchive TOC entries +PKG_ITEM_BINARY = 'b' # binary +PKG_ITEM_DEPENDENCY = 'd' # runtime option +PKG_ITEM_PYZ = 'z' # zlib (pyz) - frozen Python code +PKG_ITEM_ZIPFILE = 'Z' # zlib (pyz) - frozen Python code +PKG_ITEM_PYPACKAGE = 'M' # Python package (__init__.py) +PKG_ITEM_PYMODULE = 'm' # Python module +PKG_ITEM_PYSOURCE = 's' # Python script (v3) +PKG_ITEM_DATA = 'x' # data +PKG_ITEM_RUNTIME_OPTION = 'o' # runtime option +PKG_ITEM_SPLASH = 'l' # splash resources + + +class CArchiveReader: + """ + Reader for PyInstaller's CArchive (PKG) archive. + """ + + # Cookie - holds some information for the bootloader. C struct format definition. '!' at the beginning means network + # byte order. C struct looks like: + # + # typedef struct _archive_cookie + # { + # char magic[8]; + # uint32_t pkg_length; + # uint32_t toc_offset; + # uint32_t toc_length; + # uint32_t python_version; + # char python_libname[64]; + # } ARCHIVE_COOKIE; + # + _COOKIE_MAGIC_PATTERN = b'MEI\014\013\012\013\016' + + _COOKIE_FORMAT = '!8sIIII64s' + _COOKIE_LENGTH = struct.calcsize(_COOKIE_FORMAT) + + # TOC entry: + # + # typedef struct _toc_entry + # { + # uint32_t entry_length; + # uint32_t offset; + # uint32_t length; + # uint32_t uncompressed_length; + # unsigned char compression_flag; + # char typecode; + # char name[1]; /* Variable-length name, padded to multiple of 16 */ + # } TOC_ENTRY; + # + _TOC_ENTRY_FORMAT = '!IIIIBc' + _TOC_ENTRY_LENGTH = struct.calcsize(_TOC_ENTRY_FORMAT) + + def __init__(self, filename): + self._filename = filename + self._start_offset = 0 + self._end_offset = 0 + self._toc_offset = 0 + self._toc_length = 0 + + self.toc = {} + self.options = [] + + # Load TOC + with open(self._filename, "rb") as fp: + # Find cookie MAGIC pattern + cookie_start_offset = self._find_magic_pattern(fp, self._COOKIE_MAGIC_PATTERN) + if cookie_start_offset == -1: + raise ArchiveReadError("Could not find COOKIE magic pattern!") + + # Read the whole cookie + fp.seek(cookie_start_offset, os.SEEK_SET) + cookie_data = fp.read(self._COOKIE_LENGTH) + + magic, archive_length, toc_offset, toc_length, pyvers, pylib_name = \ + struct.unpack(self._COOKIE_FORMAT, cookie_data) + + # Compute start and end offset of the the archive + self._end_offset = cookie_start_offset + self._COOKIE_LENGTH + self._start_offset = self._end_offset - archive_length + + # Verify that Python shared library name is set + if not pylib_name: + raise ArchiveReadError("Python shared library name not set in the archive!") + + # Read whole toc + fp.seek(self._start_offset + toc_offset) + toc_data = fp.read(toc_length) + + self.toc, self.options = self._parse_toc(toc_data) + + @staticmethod + def _find_magic_pattern(fp, magic_pattern): + # Start at the end of file, and scan back-to-start + fp.seek(0, os.SEEK_END) + end_pos = fp.tell() + + # Scan from back + SEARCH_CHUNK_SIZE = 8192 + magic_offset = -1 + while end_pos >= len(magic_pattern): + start_pos = max(end_pos - SEARCH_CHUNK_SIZE, 0) + chunk_size = end_pos - start_pos + # Is the remaining chunk large enough to hold the pattern? + if chunk_size < len(magic_pattern): + break + # Read and scan the chunk + fp.seek(start_pos, os.SEEK_SET) + buf = fp.read(chunk_size) + pos = buf.rfind(magic_pattern) + if pos != -1: + magic_offset = start_pos + pos + break + # Adjust search location for next chunk; ensure proper overlap + end_pos = start_pos + len(magic_pattern) - 1 + + return magic_offset + + @classmethod + def _parse_toc(cls, data): + options = [] + toc = {} + cur_pos = 0 + while cur_pos < len(data): + # Read and parse the fixed-size TOC entry header + entry_length, entry_offset, data_length, uncompressed_length, compression_flag, typecode = \ + struct.unpack(cls._TOC_ENTRY_FORMAT, data[cur_pos:(cur_pos + cls._TOC_ENTRY_LENGTH)]) + cur_pos += cls._TOC_ENTRY_LENGTH + # Read variable-length name + name_length = entry_length - cls._TOC_ENTRY_LENGTH + name, *_ = struct.unpack(f'{name_length}s', data[cur_pos:(cur_pos + name_length)]) + cur_pos += name_length + # Name string may contain up to 15 bytes of padding + name = name.rstrip(b'\0').decode('utf-8') + + typecode = typecode.decode('ascii') + + # The TOC should not contain duplicates, except for OPTION entries. Therefore, keep those + # in a separate list. With options, the rest of the entries do not make sense, anyway. + if typecode == 'o': + options.append(name) + else: + toc[name] = (entry_offset, data_length, uncompressed_length, compression_flag, typecode) + + return toc, options + + def extract(self, name): + """ + Extract data for the given entry name. + """ + + entry = self.toc.get(name) + if entry is None: + raise KeyError(f"No entry named {name} found in the archive!") + + entry_offset, data_length, uncompressed_length, compression_flag, typecode = entry + with open(self._filename, "rb") as fp: + fp.seek(self._start_offset + entry_offset, os.SEEK_SET) + data = fp.read(data_length) + + if compression_flag: + import zlib + data = zlib.decompress(data) + + return data + + def raw_pkg_data(self): + """ + Extract complete PKG/CArchive archive from the parent file (executable). + """ + total_length = self._end_offset - self._start_offset + with open(self._filename, "rb") as fp: + fp.seek(self._start_offset, os.SEEK_SET) + return fp.read(total_length) + + def open_embedded_archive(self, name): + """ + Open new archive reader for the embedded archive. + """ + + entry = self.toc.get(name) + if entry is None: + raise KeyError(f"No entry named {name} found in the archive!") + + entry_offset, data_length, uncompressed_length, compression_flag, typecode = entry + + if typecode == PKG_ITEM_PYZ: + # Open as embedded archive, without extraction. + return ZlibArchiveReader(self._filename, self._start_offset + entry_offset) + elif typecode == PKG_ITEM_ZIPFILE: + raise NotAnArchiveError("Zipfile archives not supported yet!") + else: + raise NotAnArchiveError(f"Entry {name} is not a supported embedded archive!") + + +def pkg_archive_contents(filename, recursive=True): + """ + List the contents of the PKG / CArchive. If `recursive` flag is set (the default), the contents of the embedded PYZ + archive is included as well. + + Used by the tests. + """ + + contents = [] + + pkg_archive = CArchiveReader(filename) + for name, toc_entry in pkg_archive.toc.items(): + *_, typecode = toc_entry + contents.append(name) + if typecode == PKG_ITEM_PYZ and recursive: + pyz_archive = pkg_archive.open_embedded_archive(name) + for name in pyz_archive.toc.keys(): + contents.append(name) + + return contents diff --git a/.venv/Lib/site-packages/PyInstaller/archive/writers.py b/.venv/Lib/site-packages/PyInstaller/archive/writers.py new file mode 100644 index 0000000..b09be79 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/archive/writers.py @@ -0,0 +1,423 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Utilities to create data structures for embedding Python modules and additional files into the executable. +""" + +import marshal +import os +import shutil +import struct +import sys +import zlib + +from PyInstaller.building.utils import get_code_object, strip_paths_in_code +from PyInstaller.compat import BYTECODE_MAGIC, is_win, strict_collect_mode +from PyInstaller.loader.pyimod01_archive import PYZ_ITEM_MODULE, PYZ_ITEM_NSPKG, PYZ_ITEM_PKG + + +class ZlibArchiveWriter: + """ + Writer for PyInstaller's PYZ (ZlibArchive) archive. The archive is used to store collected byte-compiled Python + modules, as individually-compressed entries. + """ + _PYZ_MAGIC_PATTERN = b'PYZ\0' + _HEADER_LENGTH = 12 + 5 + _COMPRESSION_LEVEL = 6 # zlib compression level + + def __init__(self, filename, entries, code_dict=None): + """ + filename + Target filename of the archive. + entries + An iterable containing entries in the form of tuples: (name, src_path, typecode), where `name` is the name + under which the resource is stored (e.g., python module name, without suffix), `src_path` is name of the + file from which the resource is read, and `typecode` is the Analysis-level TOC typecode (`PYMODULE`). + code_dict + Optional code dictionary containing code objects for analyzed/collected python modules. + """ + code_dict = code_dict or {} + + with open(filename, "wb") as fp: + # Reserve space for the header. + fp.write(b'\0' * self._HEADER_LENGTH) + + # Write entries' data and collect TOC entries + toc = [] + for entry in entries: + toc_entry = self._write_entry(fp, entry, code_dict) + toc.append(toc_entry) + + # Write TOC + toc_offset = fp.tell() + toc_data = marshal.dumps(toc) + fp.write(toc_data) + + # Write header: + # - PYZ magic pattern (4 bytes) + # - python bytecode magic pattern (4 bytes) + # - TOC offset (32-bit int, 4 bytes) + # - 4 unused bytes + fp.seek(0, os.SEEK_SET) + + fp.write(self._PYZ_MAGIC_PATTERN) + fp.write(BYTECODE_MAGIC) + fp.write(struct.pack('!i', toc_offset)) + + @classmethod + def _write_entry(cls, fp, entry, code_dict): + name, src_path, typecode = entry + assert typecode in {'PYMODULE', 'PYMODULE-1', 'PYMODULE-2'} + + typecode = PYZ_ITEM_MODULE + if src_path in ('-', None): + # This is a NamespacePackage, modulegraph marks them by using the filename '-'. (But wants to use None, + # so check for None, too, to be forward-compatible.) + typecode = PYZ_ITEM_NSPKG + else: + src_basename, _ = os.path.splitext(os.path.basename(src_path)) + if src_basename == '__init__': + typecode = PYZ_ITEM_PKG + data = marshal.dumps(code_dict[name]) + + # First compress, then encrypt. + obj = zlib.compress(data, cls._COMPRESSION_LEVEL) + + # Create TOC entry + toc_entry = (name, (typecode, fp.tell(), len(obj))) + + # Write data blob + fp.write(obj) + + return toc_entry + + +class CArchiveWriter: + """ + Writer for PyInstaller's CArchive (PKG) archive. + + This archive contains all files that are bundled within an executable; a PYZ (ZlibArchive), DLLs, Python C + extensions, and other data files that are bundled in onefile mode. + + The archive can be read from either C (bootloader code at application's run-time) or Python (for debug purposes). + """ + _COOKIE_MAGIC_PATTERN = b'MEI\014\013\012\013\016' + + # For cookie and TOC entry structure, see `PyInstaller.archive.readers.CArchiveReader`. + _COOKIE_FORMAT = '!8sIIII64s' + _COOKIE_LENGTH = struct.calcsize(_COOKIE_FORMAT) + + _TOC_ENTRY_FORMAT = '!IIIIBc' + _TOC_ENTRY_LENGTH = struct.calcsize(_TOC_ENTRY_FORMAT) + + _COMPRESSION_LEVEL = 9 # zlib compression level + + def __init__(self, filename, entries, pylib_name): + """ + filename + Target filename of the archive. + entries + An iterable containing entries in the form of tuples: (dest_name, src_name, compress, typecode), where + `dest_name` is the name under which the resource is stored in the archive (and name under which it is + extracted at runtime), `src_name` is name of the file from which the resouce is read, `compress` is a + boolean compression flag, and `typecode` is the Analysis-level TOC typecode. + pylib_name + Name of the python shared library. + """ + self._collected_names = set() # Track collected names for strict package mode. + + with open(filename, "wb") as fp: + # Write entries' data and collect TOC entries + toc = [] + for entry in entries: + toc_entry = self._write_entry(fp, entry) + toc.append(toc_entry) + + # Write TOC + toc_offset = fp.tell() + toc_data = self._serialize_toc(toc) + toc_length = len(toc_data) + + fp.write(toc_data) + + # Write cookie + archive_length = toc_offset + toc_length + self._COOKIE_LENGTH + pyvers = sys.version_info[0] * 100 + sys.version_info[1] + cookie_data = struct.pack( + self._COOKIE_FORMAT, + self._COOKIE_MAGIC_PATTERN, + archive_length, + toc_offset, + toc_length, + pyvers, + pylib_name.encode('ascii'), + ) + + fp.write(cookie_data) + + def _write_entry(self, fp, entry): + dest_name, src_name, compress, typecode = entry + + # Write OPTION entries as-is, without normalizing them. This also exempts them from duplication check, + # allowing them to be specified multiple times. + if typecode == 'o': + return self._write_blob(fp, b"", dest_name, typecode) + + # Ensure forward slashes in paths are on Windows converted to back slashes '\\', as on Windows the bootloader + # works only with back slashes. + dest_name = os.path.normpath(dest_name) + if is_win and os.path.sep == '/': + # When building under MSYS, the above path normalization uses Unix-style separators, so replace them + # manually. + dest_name = dest_name.replace(os.path.sep, '\\') + + # For symbolic link entries, also ensure that the symlink target path (stored in src_name) is using + # Windows-style back slash separators. + if typecode == 'n': + src_name = src_name.replace(os.path.sep, '\\') + + # Strict pack/collect mode: keep track of the destination names, and raise an error if we try to add a duplicate + # (a file with same destination name, subject to OS case normalization rules). + if strict_collect_mode: + normalized_dest = None + if typecode in {'s', 's1', 's2', 'm', 'M'}: + # Exempt python source scripts and modules from the check. + pass + else: + # Everything else; normalize the case + normalized_dest = os.path.normcase(dest_name) + # Check for existing entry, if applicable + if normalized_dest: + if normalized_dest in self._collected_names: + raise ValueError( + f"Attempting to collect a duplicated file into CArchive: {normalized_dest} (type: {typecode})" + ) + self._collected_names.add(normalized_dest) + + if typecode == 'd': + # Dependency; merge src_name (= reference path prefix) and dest_name (= name) into single-string format that + # is parsed by bootloader. + return self._write_blob(fp, b"", f"{src_name}:{dest_name}", typecode) + elif typecode in {'s', 's1', 's2'}: + # If it is a source code file, compile it to a code object and marshal the object, so it can be unmarshalled + # by the bootloader. For that, we need to know target optimization level, which is stored in typecode. + optim_level = {'s': 0, 's1': 1, 's2': 2}[typecode] + code = get_code_object(dest_name, src_name, optimize=optim_level) + code = strip_paths_in_code(code) + return self._write_blob(fp, marshal.dumps(code), dest_name, 's', compress=compress) + elif typecode in ('m', 'M'): + # Read the PYC file. We do not perform compilation here (in contrast to script files in the above branch), + # so typecode does not contain optimization level information. + with open(src_name, "rb") as in_fp: + data = in_fp.read() + assert data[:4] == BYTECODE_MAGIC + # Skip the PYC header, load the code object. + code = marshal.loads(data[16:]) + code = strip_paths_in_code(code) + # These module entries are loaded and executed within the bootloader, which requires only the code + # object, without the PYC header. + return self._write_blob(fp, marshal.dumps(code), dest_name, typecode, compress=compress) + elif typecode == 'n': + # Symbolic link; store target name (as NULL-terminated string) + data = src_name.encode('utf-8') + b'\x00' + return self._write_blob(fp, data, dest_name, typecode, compress=compress) + else: + return self._write_file(fp, src_name, dest_name, typecode, compress=compress) + + def _write_blob(self, out_fp, blob: bytes, dest_name, typecode, compress=False): + """ + Write the binary contents (**blob**) of a small file to the archive and return the corresponding CArchive TOC + entry. + """ + data_offset = out_fp.tell() + data_length = len(blob) + if compress: + blob = zlib.compress(blob, level=self._COMPRESSION_LEVEL) + out_fp.write(blob) + + return (data_offset, len(blob), data_length, int(compress), typecode, dest_name) + + def _write_file(self, out_fp, src_name, dest_name, typecode, compress=False): + """ + Stream copy a large file into the archive and return the corresponding CArchive TOC entry. + """ + data_offset = out_fp.tell() + data_length = os.stat(src_name).st_size + with open(src_name, 'rb') as in_fp: + if compress: + tmp_buffer = bytearray(16 * 1024) + compressor = zlib.compressobj(self._COMPRESSION_LEVEL) + while True: + num_read = in_fp.readinto(tmp_buffer) + if not num_read: + break + out_fp.write(compressor.compress(tmp_buffer[:num_read])) + out_fp.write(compressor.flush()) + else: + shutil.copyfileobj(in_fp, out_fp) + + return (data_offset, out_fp.tell() - data_offset, data_length, int(compress), typecode, dest_name) + + @classmethod + def _serialize_toc(cls, toc): + serialized_toc = [] + for toc_entry in toc: + data_offset, compressed_length, data_length, compress, typecode, name = toc_entry + + # Encode names as UTF-8. This should be safe as standard python modules only contain ASCII-characters (and + # standard shared libraries should have the same), and thus the C-code still can handle this correctly. + name = name.encode('utf-8') + name_length = len(name) + 1 # Add 1 for string-terminating zero byte. + + # Ensure TOC entries are aligned on 16-byte boundary, so they can be read by bootloader (C code) on + # platforms with strict data alignment requirements (for example linux on `armhf`/`armv7`, such as 32-bit + # Debian Buster on Raspberry Pi). + entry_length = cls._TOC_ENTRY_LENGTH + name_length + if entry_length % 16 != 0: + padding_length = 16 - (entry_length % 16) + name_length += padding_length + + # Serialize + serialized_entry = struct.pack( + cls._TOC_ENTRY_FORMAT + f"{name_length}s", # "Ns" format automatically pads the string with zero bytes. + cls._TOC_ENTRY_LENGTH + name_length, + data_offset, + compressed_length, + data_length, + compress, + typecode.encode('ascii'), + name, + ) + serialized_toc.append(serialized_entry) + + return b''.join(serialized_toc) + + +class SplashWriter: + """ + Writer for the splash screen resources archive. + + The resulting archive is added as an entry into the CArchive with the typecode PKG_ITEM_SPLASH. + """ + # This struct describes the splash resources as it will be in an buffer inside the bootloader. All necessary parts + # are bundled, the *_len and *_offset fields describe the data beyond this header definition. + # Whereas script and image fields are binary data, the requirements fields describe an array of strings. Each string + # is null-terminated in order to easily iterate over this list from within C. + # + # typedef struct _splash_data_header + # { + # char tcl_libname[16]; + # char tk_libname[16]; + # char tk_lib[16]; + # + # uint32_t script_len; + # uint32_t script_offset; + # + # uint32_t image_len; + # uint32_t image_offset; + # + # uint32_t requirements_len; + # uint32_t requirements_offset; + # } SPLASH_DATA_HEADER; + # + _HEADER_FORMAT = '!32s 32s 16s II II II' + _HEADER_LENGTH = struct.calcsize(_HEADER_FORMAT) + + # The created archive is compressed by the CArchive, so no need to compress the data here. + + def __init__(self, filename, name_list, tcl_libname, tk_libname, tklib, image, script): + """ + Writer for splash screen resources that are bundled into the CArchive as a single archive/entry. + + :param filename: The filename of the archive to create + :param name_list: List of filenames for the requirements array + :param str tcl_libname: Name of the tcl shared library file + :param str tk_libname: Name of the tk shared library file + :param str tklib: Root of tk library (e.g. tk/) + :param Union[str, bytes] image: Image like object + :param str script: The tcl/tk script to execute to create the screen. + """ + + # Ensure forward slashes in dependency names are on Windows converted to back slashes '\\', as on Windows the + # bootloader works only with back slashes. + def _normalize_filename(filename): + filename = os.path.normpath(filename) + if is_win and os.path.sep == '/': + # When building under MSYS, the above path normalization uses Unix-style separators, so replace them + # manually. + filename = filename.replace(os.path.sep, '\\') + return filename + + name_list = [_normalize_filename(name) for name in name_list] + + with open(filename, "wb") as fp: + # Reserve space for the header. + fp.write(b'\0' * self._HEADER_LENGTH) + + # Serialize the requirements list. This list (more an array) contains the names of all files the bootloader + # needs to extract before the splash screen can be started. The implementation terminates every name with a + # null-byte, that keeps the list short memory wise and makes it iterable from C. + requirements_len = 0 + requirements_offset = fp.tell() + for name in name_list: + name = name.encode('utf-8') + b'\0' + fp.write(name) + requirements_len += len(name) + + # Write splash script + script_offset = fp.tell() + script_len = len(script) + fp.write(script.encode("utf-8")) + + # Write splash image. If image is a bytes buffer, it is written directly into the archive. Otherwise, it + # is assumed to be a path and the file is copied into the archive. + image_offset = fp.tell() + if isinstance(image, bytes): + # Image was converted by PIL/Pillow and is already in buffer + image_len = len(image) + fp.write(image) + else: + # Read image into buffer + with open(image, 'rb') as image_fp: + image_data = image_fp.read() + image_len = len(image_data) + fp.write(image_data) + del image_data + + # The following strings are written to 16-character fields with zero-padding, which means that we need to + # ensure that their length is strictly below 16 characters (if it were exactly 16, the field would have no + # terminating NULL character!). + def _encode_str(value, field_name, limit): + enc_value = value.encode("utf-8") + if len(enc_value) >= limit: + raise ValueError( + f"Length of the encoded field {field_name!r} ({len(enc_value)}) is greater or equal to the " + f"limit of {limit} characters!" + ) + + return enc_value + + # Write header + header_data = struct.pack( + self._HEADER_FORMAT, + _encode_str(tcl_libname, 'tcl_libname', 32), + _encode_str(tk_libname, 'tk_libname', 32), + _encode_str(tklib, 'tklib', 16), + script_len, + script_offset, + image_len, + image_offset, + requirements_len, + requirements_offset, + ) + + fp.seek(0, os.SEEK_SET) + fp.write(header_data) diff --git a/.venv/Lib/site-packages/PyInstaller/bootloader/Windows-64bit-intel/run.exe b/.venv/Lib/site-packages/PyInstaller/bootloader/Windows-64bit-intel/run.exe new file mode 100644 index 0000000..9d5291a Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/bootloader/Windows-64bit-intel/run.exe differ diff --git a/.venv/Lib/site-packages/PyInstaller/bootloader/Windows-64bit-intel/run_d.exe b/.venv/Lib/site-packages/PyInstaller/bootloader/Windows-64bit-intel/run_d.exe new file mode 100644 index 0000000..f28020f Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/bootloader/Windows-64bit-intel/run_d.exe differ diff --git a/.venv/Lib/site-packages/PyInstaller/bootloader/Windows-64bit-intel/runw.exe b/.venv/Lib/site-packages/PyInstaller/bootloader/Windows-64bit-intel/runw.exe new file mode 100644 index 0000000..4b16eea Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/bootloader/Windows-64bit-intel/runw.exe differ diff --git a/.venv/Lib/site-packages/PyInstaller/bootloader/Windows-64bit-intel/runw_d.exe b/.venv/Lib/site-packages/PyInstaller/bootloader/Windows-64bit-intel/runw_d.exe new file mode 100644 index 0000000..74a2aea Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/bootloader/Windows-64bit-intel/runw_d.exe differ diff --git a/.venv/Lib/site-packages/PyInstaller/bootloader/images/icon-console.ico b/.venv/Lib/site-packages/PyInstaller/bootloader/images/icon-console.ico new file mode 100644 index 0000000..4d63d0f Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/bootloader/images/icon-console.ico differ diff --git a/.venv/Lib/site-packages/PyInstaller/bootloader/images/icon-windowed.ico b/.venv/Lib/site-packages/PyInstaller/bootloader/images/icon-windowed.ico new file mode 100644 index 0000000..cc9903d Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/bootloader/images/icon-windowed.ico differ diff --git a/.venv/Lib/site-packages/PyInstaller/building/__init__.py b/.venv/Lib/site-packages/PyInstaller/building/__init__.py new file mode 100644 index 0000000..792d600 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/building/__init__.py @@ -0,0 +1 @@ +# diff --git a/.venv/Lib/site-packages/PyInstaller/building/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/building/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..5e1fd43 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/building/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/building/__pycache__/api.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/building/__pycache__/api.cpython-311.pyc new file mode 100644 index 0000000..5243b8b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/building/__pycache__/api.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/building/__pycache__/build_main.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/building/__pycache__/build_main.cpython-311.pyc new file mode 100644 index 0000000..1717390 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/building/__pycache__/build_main.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/building/__pycache__/datastruct.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/building/__pycache__/datastruct.cpython-311.pyc new file mode 100644 index 0000000..e410b95 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/building/__pycache__/datastruct.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/building/__pycache__/icon.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/building/__pycache__/icon.cpython-311.pyc new file mode 100644 index 0000000..a377574 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/building/__pycache__/icon.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/building/__pycache__/makespec.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/building/__pycache__/makespec.cpython-311.pyc new file mode 100644 index 0000000..1c5b557 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/building/__pycache__/makespec.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/building/__pycache__/osx.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/building/__pycache__/osx.cpython-311.pyc new file mode 100644 index 0000000..5ebfed3 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/building/__pycache__/osx.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/building/__pycache__/splash.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/building/__pycache__/splash.cpython-311.pyc new file mode 100644 index 0000000..77dc5d4 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/building/__pycache__/splash.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/building/__pycache__/splash_templates.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/building/__pycache__/splash_templates.cpython-311.pyc new file mode 100644 index 0000000..f56a5a6 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/building/__pycache__/splash_templates.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/building/__pycache__/templates.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/building/__pycache__/templates.cpython-311.pyc new file mode 100644 index 0000000..42ac6b7 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/building/__pycache__/templates.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/building/__pycache__/utils.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/building/__pycache__/utils.cpython-311.pyc new file mode 100644 index 0000000..7bc5834 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/building/__pycache__/utils.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/building/api.py b/.venv/Lib/site-packages/PyInstaller/building/api.py new file mode 100644 index 0000000..3e33b43 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/building/api.py @@ -0,0 +1,1337 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +This module contains classes that are available for the .spec files. + +Spec file is generated by PyInstaller. The generated code from .spec file +is a way how PyInstaller does the dependency analysis and creates executable. +""" + +import os +import subprocess +import sys +import time +import pathlib +import shutil +from operator import itemgetter + +from PyInstaller import HOMEPATH, PLATFORM +from PyInstaller import log as logging +from PyInstaller.archive.writers import CArchiveWriter, ZlibArchiveWriter +from PyInstaller.building.datastruct import Target, _check_guts_eq, normalize_pyz_toc, normalize_toc +from PyInstaller.building.utils import ( + _check_guts_toc, _make_clean_directory, _rmtree, process_collected_binary, get_code_object, strip_paths_in_code, + compile_pymodule +) +from PyInstaller.building.splash import Splash # argument type validation in EXE +from PyInstaller.compat import is_cygwin, is_darwin, is_linux, is_win, strict_collect_mode, is_nogil, is_aix +from PyInstaller.depend import bindepend +from PyInstaller.depend.analysis import get_bootstrap_modules +import PyInstaller.utils.misc as miscutils + +logger = logging.getLogger(__name__) + +if is_win: + from PyInstaller.utils.win32 import (icon, versioninfo, winmanifest, winresource, winutils) + +if is_darwin: + import PyInstaller.utils.osx as osxutils + + +class PYZ(Target): + """ + Creates a zlib-based PYZ archive that contains byte-compiled pure Python modules. + """ + def __init__(self, *tocs, **kwargs): + """ + tocs + One or more TOC (Table of Contents) lists, usually an `Analysis.pure`. + + kwargs + Possible keyword arguments: + + name + A filename for the .pyz. Normally not needed, as the generated name will do fine. + """ + if kwargs.get("cipher"): + from PyInstaller.exceptions import RemovedCipherFeatureError + raise RemovedCipherFeatureError( + "Please remove the 'cipher' arguments to PYZ() and Analysis() in your spec file." + ) + + from PyInstaller.config import CONF + + super().__init__() + + name = kwargs.get('name', None) + + self.name = name + if name is None: + self.name = os.path.splitext(self.tocfilename)[0] + '.pyz' + + # PyInstaller bootstrapping modules. + bootstrap_dependencies = get_bootstrap_modules() + + # Compile the python modules that are part of bootstrap dependencies, so that they can be collected into the + # CArchive/PKG and imported by the bootstrap script. + self.dependencies = [] + workpath = os.path.join(CONF['workpath'], 'localpycs') + for name, src_path, typecode in bootstrap_dependencies: + if typecode == 'PYMODULE': + # Compile pymodule and include the compiled .pyc file. + pyc_path = compile_pymodule( + name, + src_path, + workpath, + # Never optimize bootstrap dependencies! + optimize=0, + code_cache=None, + ) + self.dependencies.append((name, pyc_path, typecode)) + else: + # Include as is (extensions). + self.dependencies.append((name, src_path, typecode)) + + # Merge input TOC(s) and their code object dictionaries (if available). Skip the bootstrap modules, which will + # be passed on to CArchive/PKG. + bootstrap_module_names = set(name for name, _, typecode in self.dependencies if typecode == 'PYMODULE') + self.toc = [] + self.code_dict = {} + for toc in tocs: + # Check if code cache association exists for the given TOC list + code_cache = CONF['code_cache'].get(id(toc)) + if code_cache is not None: + self.code_dict.update(code_cache) + + for entry in toc: + name, _, typecode = entry + # PYZ expects only PYMODULE entries (python code objects). + assert typecode in {'PYMODULE', 'PYMODULE-1', 'PYMODULE-2'}, f"Invalid entry passed to PYZ: {entry}!" + # Module required during bootstrap; skip to avoid collecting a duplicate. + if name in bootstrap_module_names: + continue + self.toc.append(entry) + + # Normalize TOC + self.toc = normalize_pyz_toc(self.toc) + + # Alphabetically sort the TOC to enable reproducible builds. + self.toc.sort() + + self.__postinit__() + + _GUTS = ( + # input parameters + ('name', _check_guts_eq), + ('toc', _check_guts_toc), + # no calculated/analysed values + ) + + def assemble(self): + logger.info("Building PYZ (ZlibArchive) %s", self.name) + + # Ensure code objects are available for all modules we are about to collect. + # NOTE: `self.toc` is already sorted by names. + archive_toc = [] + for entry in self.toc: + name, src_path, typecode = entry + if name not in self.code_dict: + # The code object is not available from the ModuleGraph's cache; re-create it. + optim_level = {'PYMODULE': 0, 'PYMODULE-1': 1, 'PYMODULE-2': 2}[typecode] + try: + self.code_dict[name] = get_code_object(name, src_path, optimize=optim_level) + except SyntaxError: + # The module was likely written for different Python version; exclude it + continue + archive_toc.append(entry) + + # Remove leading parts of paths in code objects. + self.code_dict = {name: strip_paths_in_code(code) for name, code in self.code_dict.items()} + + # Create the archive + ZlibArchiveWriter(self.name, archive_toc, code_dict=self.code_dict) + logger.info("Building PYZ (ZlibArchive) %s completed successfully.", self.name) + + +class PKG(Target): + """ + Creates a CArchive. CArchive is the data structure that is embedded into the executable. This data structure allows + to include various read-only data in a single-file deployment. + """ + xformdict = { + # PYMODULE entries are already byte-compiled, so we do not need to encode optimization level in the low-level + # typecodes. PYSOURCE entries are byte-compiled by the underlying writer, so we need to pass the optimization + # level via low-level typecodes. + 'PYMODULE': 'm', + 'PYMODULE-1': 'm', + 'PYMODULE-2': 'm', + 'PYSOURCE': 's', + 'PYSOURCE-1': 's1', + 'PYSOURCE-2': 's2', + 'EXTENSION': 'b', + 'PYZ': 'z', + 'PKG': 'a', + 'DATA': 'x', + 'BINARY': 'b', + 'ZIPFILE': 'Z', + 'EXECUTABLE': 'b', + 'DEPENDENCY': 'd', + 'SPLASH': 'l', + 'SYMLINK': 'n', + } + + def __init__( + self, + toc, + python_lib_name, + name=None, + cdict=None, + exclude_binaries=False, + strip_binaries=False, + upx_binaries=False, + upx_exclude=None, + target_arch=None, + codesign_identity=None, + entitlements_file=None + ): + """ + toc + A TOC (Table of Contents) list. + python_lib_name + Name of the python shared library to store in PKG. Required by bootloader. + name + An optional filename for the PKG. + cdict + Dictionary that specifies compression by typecode. For Example, PYZ is left uncompressed so that it + can be accessed inside the PKG. The default uses sensible values. If zlib is not available, no + compression is used. + exclude_binaries + If True, EXTENSIONs and BINARYs will be left out of the PKG, and forwarded to its container (usually + a COLLECT). + strip_binaries + If True, use 'strip' command to reduce the size of binary files. + upx_binaries + """ + super().__init__() + + self.toc = normalize_toc(toc) # Ensure guts contain normalized TOC + self.python_lib_name = python_lib_name + self.cdict = cdict + self.name = name + if name is None: + self.name = os.path.splitext(self.tocfilename)[0] + '.pkg' + self.exclude_binaries = exclude_binaries + self.strip_binaries = strip_binaries + self.upx_binaries = upx_binaries + self.upx_exclude = upx_exclude or [] + self.target_arch = target_arch + self.codesign_identity = codesign_identity + self.entitlements_file = entitlements_file + + # This dict tells PyInstaller what items embedded in the executable should be compressed. + if self.cdict is None: + self.cdict = { + 'EXTENSION': COMPRESSED, + 'DATA': COMPRESSED, + 'BINARY': COMPRESSED, + 'EXECUTABLE': COMPRESSED, + 'PYSOURCE': COMPRESSED, + 'PYMODULE': COMPRESSED, + 'SPLASH': COMPRESSED, + # Do not compress PYZ as a whole, as it contains individually-compressed modules. + 'PYZ': UNCOMPRESSED, + # Do not compress target names in symbolic links. + 'SYMLINK': UNCOMPRESSED, + } + + self.__postinit__() + + _GUTS = ( # input parameters + ('name', _check_guts_eq), + ('cdict', _check_guts_eq), + ('toc', _check_guts_toc), # list unchanged and no newer files + ('python_lib_name', _check_guts_eq), + ('exclude_binaries', _check_guts_eq), + ('strip_binaries', _check_guts_eq), + ('upx_binaries', _check_guts_eq), + ('upx_exclude', _check_guts_eq), + ('target_arch', _check_guts_eq), + ('codesign_identity', _check_guts_eq), + ('entitlements_file', _check_guts_eq), + # no calculated/analysed values + ) + + def assemble(self): + logger.info("Building PKG (CArchive) %s", os.path.basename(self.name)) + + pkg_file = pathlib.Path(self.name).resolve() # Used to detect attempts at PKG feeding itself + + bootstrap_toc = [] # TOC containing bootstrap scripts and modules, which must not be sorted. + archive_toc = [] # TOC containing all other elements. Sorted to enable reproducible builds. + + for dest_name, src_name, typecode in self.toc: + # Ensure that the source file exists, if necessary. Skip the check for OPTION entries, where 'src_name' is + # None. Also skip DEPENDENCY entries due to special contents of 'dest_name' and/or 'src_name'. Same for the + # SYMLINK entries, where 'src_name' is relative target name for symbolic link. + if typecode not in {'OPTION', 'DEPENDENCY', 'SYMLINK'}: + if not os.path.exists(src_name): + if strict_collect_mode: + raise ValueError(f"Non-existent resource {src_name}, meant to be collected as {dest_name}!") + else: + logger.warning( + "Ignoring non-existent resource %s, meant to be collected as %s", src_name, dest_name + ) + continue + + # Detect attempt at collecting PKG into itself, as it results in and endless feeding loop and exhaustion + # of all available storage space. + if pathlib.Path(src_name).resolve() == pkg_file: + raise ValueError(f"Trying to collect PKG file {src_name} into itself!") + + if typecode in ('BINARY', 'EXTENSION'): + if self.exclude_binaries: + # This is onedir-specific codepath - the EXE and consequently PKG should not be passed the Analysis' + # `datas` and `binaries` TOCs (unless the user messes up the .spec file). However, EXTENSION entries + # might still slip in via `PYZ.dependencies`, which are merged by EXE into its TOC and passed on to + # PKG here. Such entries need to be passed to the parent container (the COLLECT) via + # `PKG.dependencies`. + # + # This codepath formerly performed such pass-through only for EXTENSION entries, but in order to + # keep code simple, we now also do it for BINARY entries. In a sane world, we do not expect to + # encounter them here; but if they do happen to pass through here and we pass them on, the + # container's TOC de-duplication should take care of them (same as with EXTENSION ones, really). + self.dependencies.append((dest_name, src_name, typecode)) + else: + # This is onefile-specific codepath. The binaries (both EXTENSION and BINARY entries) need to be + # processed using `process_collected_binary` helper. + src_name = process_collected_binary( + src_name, + dest_name, + use_strip=self.strip_binaries, + use_upx=self.upx_binaries, + upx_exclude=self.upx_exclude, + target_arch=self.target_arch, + codesign_identity=self.codesign_identity, + entitlements_file=self.entitlements_file, + strict_arch_validation=(typecode == 'EXTENSION'), + ) + archive_toc.append((dest_name, src_name, self.cdict.get(typecode, False), self.xformdict[typecode])) + elif typecode in ('DATA', 'ZIPFILE'): + # Same logic as above for BINARY and EXTENSION; if `exclude_binaries` is set, we are in onedir mode; + # we should exclude DATA (and ZIPFILE) entries and instead pass them on via PKG's `dependencies`. This + # prevents a onedir application from becoming a broken onefile one if user accidentally passes datas + # and binaries TOCs to EXE instead of COLLECT. + if self.exclude_binaries: + self.dependencies.append((dest_name, src_name, typecode)) + else: + if typecode == 'DATA' and os.access(src_name, os.X_OK): + # DATA with executable bit set (e.g., shell script); turn into binary so that executable bit is + # restored on the extracted file. + carchive_typecode = 'b' + else: + carchive_typecode = self.xformdict[typecode] + archive_toc.append((dest_name, src_name, self.cdict.get(typecode, False), carchive_typecode)) + elif typecode == 'OPTION': + archive_toc.append((dest_name, '', False, 'o')) + elif typecode in {'PYSOURCE', 'PYSOURCE-1', 'PYSOURCE-2', 'PYMODULE', 'PYMODULE-1', 'PYMODULE-2'}: + # Collect python script and modules in a TOC that will not be sorted. + bootstrap_toc.append((dest_name, src_name, self.cdict.get(typecode, False), self.xformdict[typecode])) + elif typecode == 'PYZ': + # Override PYZ name in the PKG archive into PYZ.pyz, regardless of what the original name was. The + # bootloader looks for PYZ via the typecode and implicitly expects a single entry, so the name does + # not matter. However, having a fixed name matters if we want reproducibility in scenarios where + # multiple builds are performed within the same process (for example, on our CI). + archive_toc.append(('PYZ.pyz', src_name, self.cdict.get(typecode, False), self.xformdict[typecode])) + else: + # PKG, DEPENDENCY, SPLASH, SYMLINK + archive_toc.append((dest_name, src_name, self.cdict.get(typecode, False), self.xformdict[typecode])) + + # Sort content alphabetically by type and name to enable reproducible builds. + archive_toc.sort(key=itemgetter(3, 0)) + # Do *not* sort modules and scripts, as their order is important. + # TODO: Think about having all modules first and then all scripts. + CArchiveWriter(self.name, bootstrap_toc + archive_toc, pylib_name=self.python_lib_name) + + logger.info("Building PKG (CArchive) %s completed successfully.", os.path.basename(self.name)) + + +class EXE(Target): + """ + Creates the final executable of the frozen app. This bundles all necessary files together. + """ + def __init__(self, *args, **kwargs): + """ + args + One or more arguments that are either an instance of `Target` or an iterable representing TOC list. + kwargs + Possible keyword arguments: + + bootloader_ignore_signals + Non-Windows only. If True, the bootloader process will ignore all ignorable signals. If False (default), + it will forward all signals to the child process. Useful in situations where for example a supervisor + process signals both the bootloader and the child (e.g., via a process group) to avoid signalling the + child twice. + console + On Windows or macOS governs whether to use the console executable or the windowed executable. Always + True on Linux/Unix (always console executable - it does not matter there). + hide_console + Windows only. In console-enabled executable, hide or minimize the console window if the program owns the + console window (i.e., was not launched from existing console window). Depending on the setting, the + console is hidden/mininized either early in the bootloader execution ('hide-early', 'minimize-early') or + late in the bootloader execution ('hide-late', 'minimize-late'). The early option takes place as soon as + the PKG archive is found. In onefile builds, the late option takes place after application has unpacked + itself and before it launches the child process. In onedir builds, the late option takes place before + starting the embedded python interpreter. + disable_windowed_traceback + Disable traceback dump of unhandled exception in windowed (noconsole) mode (Windows and macOS only), + and instead display a message that this feature is disabled. + debug + Setting to True gives you progress messages from the executable (for console=False there will be + annoying MessageBoxes on Windows). + name + The filename for the executable. On Windows suffix '.exe' is appended. + exclude_binaries + Forwarded to the PKG the EXE builds. + icon + Windows and macOS only. icon='myicon.ico' to use an icon file or icon='notepad.exe,0' to grab an icon + resource. Defaults to use PyInstaller's console or windowed icon. Use icon=`NONE` to not add any icon. + version + Windows only. version='myversion.txt'. Use grab_version.py to get a version resource from an executable + and then edit the output to create your own. (The syntax of version resources is so arcane that I would + not attempt to write one from scratch). + uac_admin + Windows only. Setting to True creates a Manifest with will request elevation upon application start. + uac_uiaccess + Windows only. Setting to True allows an elevated application to work with Remote Desktop. + argv_emulation + macOS only. Enables argv emulation in macOS .app bundles (i.e., windowed bootloader). If enabled, the + initial open document/URL Apple Events are intercepted by bootloader and converted into sys.argv. + target_arch + macOS only. Used to explicitly specify the target architecture; either single-arch ('x86_64' or 'arm64') + or 'universal2'. Used in checks that the collected binaries contain the requires arch slice(s) and/or + to convert fat binaries into thin ones as necessary. If not specified (default), a single-arch build + corresponding to running architecture is assumed. + codesign_identity + macOS only. Use the provided identity to sign collected binaries and the generated executable. If + signing identity is not provided, ad-hoc signing is performed. + entitlements_file + macOS only. Optional path to entitlements file to use with code signing of collected binaries + (--entitlements option to codesign utility). + contents_directory + Onedir mode only. Specifies the name of the directory where all files par the executable will be placed. + Setting the name to '.' (or '' or None) re-enables old onedir layout without contents directory. + """ + from PyInstaller.config import CONF + + super().__init__() + + # Available options for EXE in .spec files. + self.exclude_binaries = kwargs.get('exclude_binaries', False) + self.bootloader_ignore_signals = kwargs.get('bootloader_ignore_signals', False) + self.console = kwargs.get('console', True) + self.hide_console = kwargs.get('hide_console', None) + self.disable_windowed_traceback = kwargs.get('disable_windowed_traceback', False) + self.debug = kwargs.get('debug', False) + self.name = kwargs.get('name', None) + self.icon = kwargs.get('icon', None) + self.versrsrc = kwargs.get('version', None) + self.manifest = kwargs.get('manifest', None) + self.resources = kwargs.get('resources', []) + self.strip = kwargs.get('strip', False) + self.upx_exclude = kwargs.get("upx_exclude", []) + self.runtime_tmpdir = kwargs.get('runtime_tmpdir', None) + self.contents_directory = kwargs.get("contents_directory", "_internal") + # If ``append_pkg`` is false, the archive will not be appended to the exe, but copied beside it. + self.append_pkg = kwargs.get('append_pkg', True) + + # On Windows allows the exe to request admin privileges. + self.uac_admin = kwargs.get('uac_admin', False) + self.uac_uiaccess = kwargs.get('uac_uiaccess', False) + + # macOS argv emulation + self.argv_emulation = kwargs.get('argv_emulation', False) + + # Target architecture (macOS only) + self.target_arch = kwargs.get('target_arch', None) + if is_darwin: + if self.target_arch is None: + import platform + self.target_arch = platform.machine() + else: + assert self.target_arch in {'x86_64', 'arm64', 'universal2'}, \ + f"Unsupported target arch: {self.target_arch}" + logger.info("EXE target arch: %s", self.target_arch) + else: + self.target_arch = None # explicitly disable + + # Code signing identity (macOS only) + self.codesign_identity = kwargs.get('codesign_identity', None) + if is_darwin: + logger.info("Code signing identity: %s", self.codesign_identity) + else: + self.codesign_identity = None # explicitly disable + # Code signing entitlements + self.entitlements_file = kwargs.get('entitlements_file', None) + + # UPX needs to be both available and enabled for the target. + self.upx = CONF['upx_available'] and kwargs.get('upx', False) + + # Catch and clear options that are unsupported on specific platforms. + if self.versrsrc and not is_win: + logger.warning('Ignoring version information; supported only on Windows!') + self.versrsrc = None + if self.manifest and not is_win: + logger.warning('Ignoring manifest; supported only on Windows!') + self.manifest = None + if self.resources and not is_win: + logger.warning('Ignoring resources; supported only on Windows!') + self.resources = [] + if self.icon and not (is_win or is_darwin): + logger.warning('Ignoring icon; supported only on Windows and macOS!') + self.icon = None + if self.hide_console and not is_win: + logger.warning('Ignoring hide_console; supported only on Windows!') + self.hide_console = None + + if self.contents_directory in ("", "."): + self.contents_directory = None # Re-enable old onedir layout without contents directory. + elif self.contents_directory == ".." or "/" in self.contents_directory or "\\" in self.contents_directory: + raise SystemExit( + f'ERROR: Invalid value "{self.contents_directory}" passed to `--contents-directory` or ' + '`contents_directory`. Exactly one directory level is required (or just "." to disable the ' + 'contents directory).' + ) + + if not kwargs.get('embed_manifest', True): + from PyInstaller.exceptions import RemovedExternalManifestError + raise RemovedExternalManifestError( + "Please remove the 'embed_manifest' argument to EXE() in your spec file." + ) + + # Old .spec format included in 'name' the path where to put created app. New format includes only exename. + # + # Ignore fullpath in the 'name' and prepend DISTPATH or WORKPATH. + # DISTPATH - onefile + # WORKPATH - onedir + if self.exclude_binaries: + # onedir mode - create executable in WORKPATH. + self.name = os.path.join(CONF['workpath'], os.path.basename(self.name)) + else: + # onefile mode - create executable in DISTPATH. + self.name = os.path.join(CONF['distpath'], os.path.basename(self.name)) + + # Old .spec format included on Windows in 'name' .exe suffix. + if is_win or is_cygwin: + # Append .exe suffix if it is not already there. + if not self.name.endswith('.exe'): + self.name += '.exe' + base_name = os.path.splitext(os.path.basename(self.name))[0] + else: + base_name = os.path.basename(self.name) + # Create the CArchive PKG in WORKPATH. When instancing PKG(), set name so that guts check can test whether the + # file already exists. + self.pkgname = os.path.join(CONF['workpath'], base_name + '.pkg') + + self.toc = [] + + for arg in args: + # Valid arguments: PYZ object, Splash object, and TOC-list iterables + if isinstance(arg, (PYZ, Splash)): + # Add object as an entry to the TOC, and merge its dependencies TOC + if isinstance(arg, PYZ): + self.toc.append((os.path.basename(arg.name), arg.name, "PYZ")) + else: + self.toc.append((os.path.basename(arg.name), arg.name, "SPLASH")) + self.toc.extend(arg.dependencies) + elif miscutils.is_iterable(arg): + # TOC-like iterable + self.toc.extend(arg) + else: + raise TypeError(f"Invalid argument type for EXE: {type(arg)!r}") + + if is_nogil: + # Signal to bootloader that python was built with Py_GIL_DISABLED, in order to select correct `PyConfig` + # structure layout at run-time. + self.toc.append(("pyi-python-flag Py_GIL_DISABLED", "", "OPTION")) + + if self.runtime_tmpdir is not None: + self.toc.append(("pyi-runtime-tmpdir " + self.runtime_tmpdir, "", "OPTION")) + + if self.bootloader_ignore_signals: + # no value; presence means "true" + self.toc.append(("pyi-bootloader-ignore-signals", "", "OPTION")) + + if self.disable_windowed_traceback: + # no value; presence means "true" + self.toc.append(("pyi-disable-windowed-traceback", "", "OPTION")) + + if self.argv_emulation: + # no value; presence means "true" + self.toc.append(("pyi-macos-argv-emulation", "", "OPTION")) + + if self.contents_directory: + self.toc.append(("pyi-contents-directory " + self.contents_directory, "", "OPTION")) + + if self.hide_console: + # Validate the value + _HIDE_CONSOLE_VALUES = {'hide-early', 'minimize-early', 'hide-late', 'minimize-late'} + self.hide_console = self.hide_console.lower() + if self.hide_console not in _HIDE_CONSOLE_VALUES: + raise ValueError( + f"Invalid hide_console value: {self.hide_console}! Allowed values: {_HIDE_CONSOLE_VALUES}" + ) + self.toc.append((f"pyi-hide-console {self.hide_console}", "", "OPTION")) + + # If the icon path is relative, make it relative to the .spec file. + if self.icon and self.icon != "NONE": + if isinstance(self.icon, list): + self.icon = [self._makeabs(ic) for ic in self.icon] + else: + self.icon = [self._makeabs(self.icon)] + + if is_win: + if not self.icon: + # --icon not specified; use default from bootloader folder + if self.console: + ico = 'icon-console.ico' + else: + ico = 'icon-windowed.ico' + self.icon = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'bootloader', 'images', ico) + + # Prepare manifest for the executable by creating minimal manifest or modifying the supplied one. + if self.manifest: + # Determine if we were given a filename or an XML string. + if "<" in self.manifest: + self.manifest = self.manifest.encode("utf-8") + else: + self.manifest = self._makeabs(self.manifest) + with open(self.manifest, "rb") as fp: + self.manifest = fp.read() + self.manifest = winmanifest.create_application_manifest(self.manifest, self.uac_admin, self.uac_uiaccess) + + if self.versrsrc: + if isinstance(self.versrsrc, versioninfo.VSVersionInfo): + # We were passed a valid versioninfo.VSVersionInfo structure + pass + elif isinstance(self.versrsrc, (str, bytes, os.PathLike)): + # File path; either absolute, or relative to the spec file + self.versrsrc = self._makeabs(self.versrsrc) + logger.debug("Loading version info from file: %r", self.versrsrc) + self.versrsrc = versioninfo.load_version_info_from_text_file(self.versrsrc) + else: + raise TypeError(f"Unsupported type for version info argument: {type(self.versrsrc)!r}") + + # Identify python shared library. This is needed both for PKG (where we need to store the name so that + # bootloader can look it up), and for macOS-specific processing of the generated executable (adjusting the SDK + # version). + # + # NOTE: we already performed an equivalent search (using the same `get_python_library_path` helper) during the + # analysis stage to ensure that the python shared library is collected. Unfortunately, with the way data passing + # works in onedir builds, we cannot look up the value in the TOC at this stage, and we need to search again. + self.python_lib = bindepend.get_python_library_path() + if self.python_lib is None: + from PyInstaller.exceptions import PythonLibraryNotFoundError + raise PythonLibraryNotFoundError() + + # On AIX, the python shared library might in fact be an ar archive with shared object inside it, and needs to + # be `dlopen`'ed with full name (for example, `libpython3.9.a(libpython3.9.so)`. So if the library's suffix is + # .a, adjust the name accordingly, assuming fixed format for the shared object name. NOTE: the information about + # shared object name is in fact available from `ldd` but not propagated from our binary dependency analysis. If + # we ever need to determine the shared object's name dynamically, we could write a simple ar parser, based on + # information from `https://www.ibm.com/docs/en/aix/7.3?topic=formats-ar-file-format-big`. + if is_aix: + _, ext = os.path.splitext(self.python_lib) + if ext == '.a': + _py_major, _py_minor = sys.version_info[:2] + self.python_lib += f"(libpython{_py_major}.{_py_minor}.so)" + + # Normalize TOC + self.toc = normalize_toc(self.toc) + + self.pkg = PKG( + toc=self.toc, + python_lib_name=os.path.basename(self.python_lib), + name=self.pkgname, + cdict=kwargs.get('cdict', None), + exclude_binaries=self.exclude_binaries, + strip_binaries=self.strip, + upx_binaries=self.upx, + upx_exclude=self.upx_exclude, + target_arch=self.target_arch, + codesign_identity=self.codesign_identity, + entitlements_file=self.entitlements_file + ) + self.dependencies = self.pkg.dependencies + + # Get the path of the bootloader and store it in a TOC, so it can be checked for being changed. + exe = self._bootloader_file('run', '.exe' if is_win or is_cygwin else '') + self.exefiles = [(os.path.basename(exe), exe, 'EXECUTABLE')] + + self.__postinit__() + + _GUTS = ( + # input parameters + ('name', _check_guts_eq), + ('console', _check_guts_eq), + ('debug', _check_guts_eq), + ('exclude_binaries', _check_guts_eq), + ('icon', _check_guts_eq), + ('versrsrc', _check_guts_eq), + ('uac_admin', _check_guts_eq), + ('uac_uiaccess', _check_guts_eq), + ('manifest', _check_guts_eq), + ('append_pkg', _check_guts_eq), + ('argv_emulation', _check_guts_eq), + ('target_arch', _check_guts_eq), + ('codesign_identity', _check_guts_eq), + ('entitlements_file', _check_guts_eq), + # for the case the directory is shared between platforms: + ('pkgname', _check_guts_eq), + ('toc', _check_guts_eq), + ('resources', _check_guts_eq), + ('strip', _check_guts_eq), + ('upx', _check_guts_eq), + ('mtm', None), # checked below + # derived values + ('exefiles', _check_guts_toc), + ('python_lib', _check_guts_eq), + ) + + def _check_guts(self, data, last_build): + if not os.path.exists(self.name): + logger.info("Rebuilding %s because %s missing", self.tocbasename, os.path.basename(self.name)) + return True + if not self.append_pkg and not os.path.exists(self.pkgname): + logger.info("Rebuilding because %s missing", os.path.basename(self.pkgname)) + return True + + if Target._check_guts(self, data, last_build): + return True + + mtm = data['mtm'] + if mtm != miscutils.mtime(self.name): + logger.info("Rebuilding %s because mtimes don't match", self.tocbasename) + return True + if mtm < miscutils.mtime(self.pkg.tocfilename): + logger.info("Rebuilding %s because pkg is more recent", self.tocbasename) + return True + + return False + + @staticmethod + def _makeabs(path): + """ + Helper for anchoring relative paths to spec file location. + """ + from PyInstaller.config import CONF + if os.path.isabs(path): + return path + else: + return os.path.join(CONF['specpath'], path) + + def _bootloader_file(self, exe, extension=None): + """ + Pick up the right bootloader file - debug, console, windowed. + """ + # Having console/windowed bootloader makes sense only on Windows and macOS. + if is_win or is_darwin: + if not self.console: + exe = exe + 'w' + # There are two types of bootloaders: + # run - release, no verbose messages in console. + # run_d - contains verbose messages in console. + if self.debug: + exe = exe + '_d' + if extension: + exe = exe + extension + bootloader_file = os.path.join(HOMEPATH, 'PyInstaller', 'bootloader', PLATFORM, exe) + logger.info('Bootloader %s' % bootloader_file) + return bootloader_file + + def assemble(self): + # On Windows, we used to append .notanexecutable to the intermediate/temporary file name to (attempt to) + # prevent interference from anti-virus programs with the build process (see #6467). This is now disabled + # as we wrap all processing steps that modify the executable in the `_retry_operation` helper; however, + # we keep around the `build_name` variable instead of directly using `self.name`, just in case we need + # to re-enable it... + build_name = self.name + + logger.info("Building EXE from %s", self.tocbasename) + if os.path.exists(self.name): + if os.path.isdir(self.name): + _rmtree(self.name) # will prompt for confirmation if --noconfirm is not given + else: + os.remove(self.name) + if not os.path.exists(os.path.dirname(self.name)): + os.makedirs(os.path.dirname(self.name)) + bootloader_exe = self.exefiles[0][1] # pathname of bootloader + if not os.path.exists(bootloader_exe): + raise SystemExit(_MISSING_BOOTLOADER_ERRORMSG) + + # Step 1: copy the bootloader file, and perform any operations that need to be done prior to appending the PKG. + logger.info("Copying bootloader EXE to %s", build_name) + self._retry_operation(shutil.copyfile, bootloader_exe, build_name) + self._retry_operation(os.chmod, build_name, 0o755) + + if is_win: + # First, remove all resources from the file. This ensures that no manifest is embedded, even if bootloader + # was compiled with a toolchain that forcibly embeds a default manifest (e.g., mingw toolchain from msys2). + self._retry_operation(winresource.remove_all_resources, build_name) + # Embed icon. + if self.icon != "NONE": + logger.info("Copying icon to EXE") + self._retry_operation(icon.CopyIcons, build_name, self.icon) + # Embed version info. + if self.versrsrc: + logger.info("Copying version information to EXE") + self._retry_operation(versioninfo.write_version_info_to_executable, build_name, self.versrsrc) + # Embed/copy other resources. + logger.info("Copying %d resources to EXE", len(self.resources)) + for resource in self.resources: + self._retry_operation(self._copy_windows_resource, build_name, resource) + # Embed the manifest into the executable. + logger.info("Embedding manifest in EXE") + self._retry_operation(winmanifest.write_manifest_to_executable, build_name, self.manifest) + elif is_darwin: + # Convert bootloader to the target arch + logger.info("Converting EXE to target arch (%s)", self.target_arch) + osxutils.binary_to_target_arch(build_name, self.target_arch, display_name='Bootloader EXE') + + # Step 2: append the PKG, if necessary + if self.append_pkg: + append_file = self.pkg.name # Append PKG + append_type = 'PKG archive' # For debug messages + else: + # In onefile mode, copy the stand-alone PKG next to the executable. In onedir, this will be done by the + # COLLECT() target. + if not self.exclude_binaries: + pkg_dst = os.path.join(os.path.dirname(build_name), os.path.basename(self.pkgname)) + logger.info("Copying stand-alone PKG archive from %s to %s", self.pkg.name, pkg_dst) + shutil.copyfile(self.pkg.name, pkg_dst) + else: + logger.info("Stand-alone PKG archive will be handled by COLLECT") + + # The bootloader requires package side-loading to be explicitly enabled, which is done by embedding custom + # signature to the executable. This extra signature ensures that the sideload-enabled executable is at least + # slightly different from the stock bootloader executables, which should prevent antivirus programs from + # flagging our stock bootloaders due to sideload-enabled applications in the wild. + + # Write to temporary file + pkgsig_file = self.pkg.name + '.sig' + with open(pkgsig_file, "wb") as f: + # 8-byte MAGIC; slightly changed PKG MAGIC pattern + f.write(b'MEI\015\013\012\013\016') + + append_file = pkgsig_file # Append PKG-SIG + append_type = 'PKG sideload signature' # For debug messages + + if is_linux: + # Linux: append data into custom ELF section using objcopy. + logger.info("Appending %s to custom ELF section in EXE", append_type) + cmd = ['objcopy', '--add-section', f'pydata={append_file}', build_name] + p = subprocess.run(cmd, stderr=subprocess.STDOUT, stdout=subprocess.PIPE, encoding='utf-8') + if p.returncode: + raise SystemError(f"objcopy Failure: {p.returncode} {p.stdout}") + + elif is_darwin: + # macOS: remove signature, append data, and fix-up headers so that the appended data appears to be part of + # the executable (which is required by strict validation during code-signing). + + # Strip signatures from all arch slices. Strictly speaking, we need to remove signature (if present) from + # the last slice, because we will be appending data to it. When building universal2 bootloaders natively on + # macOS, only arm64 slices have a (dummy) signature. However, when cross-compiling with osxcross, we seem to + # get dummy signatures on both x86_64 and arm64 slices. While the former should not have any impact, it does + # seem to cause issues with further binary signing using real identity. Therefore, we remove all signatures + # and re-sign the binary using dummy signature once the data is appended. + logger.info("Removing signature(s) from EXE") + osxutils.remove_signature_from_binary(build_name) + + # Fix Mach-O image UUID(s) in executable to ensure uniqueness across different builds. + # NOTE: even if PKG is side-loaded, use the hash of its contents to generate the new UUID. + # NOTE: this step is performed *before* PKG is appended and sizes are fixed in the executable's headers; + # this ensures that we are operating only on original header size instead of enlarged one (which could + # be significantly larger in large onefile builds). + logger.info("Modifying Mach-O image UUID(s) in EXE") + osxutils.update_exe_identifier(build_name, self.pkg.name) + + # Append the data + logger.info("Appending %s to EXE", append_type) + self._append_data_to_exe(build_name, append_file) + + # Fix Mach-O headers + logger.info("Fixing EXE headers for code signing") + osxutils.fix_exe_for_code_signing(build_name) + else: + # Fall back to just appending data at the end of the file + logger.info("Appending %s to EXE", append_type) + self._retry_operation(self._append_data_to_exe, build_name, append_file) + + # Step 3: post-processing + if is_win: + # Set checksum to appease antiviral software. Also set build timestamp to current time to increase entropy + # (but honor SOURCE_DATE_EPOCH environment variable for reproducible builds). + logger.info("Fixing EXE headers") + build_timestamp = int(os.environ.get('SOURCE_DATE_EPOCH', time.time())) + self._retry_operation(winutils.set_exe_build_timestamp, build_name, build_timestamp) + self._retry_operation(winutils.update_exe_pe_checksum, build_name) + elif is_darwin: + # If the version of macOS SDK used to build bootloader exceeds that of macOS SDK used to built Python + # library (and, by extension, bundled Tcl/Tk libraries), force the version declared by the frozen executable + # to match that of the Python library. + # Having macOS attempt to enable new features (based on SDK version) for frozen application has no benefit + # if the Python library does not support them as well. + # On the other hand, there seem to be UI issues in tkinter due to failed or partial enablement of dark mode + # (i.e., the bootloader executable being built against SDK 10.14 or later, which causes macOS to enable dark + # mode, and Tk libraries being built against an earlier SDK version that does not support the dark mode). + # With python.org Intel macOS installers, this manifests as black Tk windows and UI elements (see issue + # #5827), while in Anaconda python, it may result in white text on bright background. + pylib_version = osxutils.get_macos_sdk_version(self.python_lib) + exe_version = osxutils.get_macos_sdk_version(build_name) + if pylib_version < exe_version: + logger.info( + "Rewriting the executable's macOS SDK version (%d.%d.%d) to match the SDK version of the Python " + "library (%d.%d.%d) in order to avoid inconsistent behavior and potential UI issues in the " + "frozen application.", *exe_version, *pylib_version + ) + osxutils.set_macos_sdk_version(build_name, *pylib_version) + + # Re-sign the binary (either ad-hoc or using real identity, if provided). + logger.info("Re-signing the EXE") + osxutils.sign_binary(build_name, self.codesign_identity, self.entitlements_file) + + # Ensure executable flag is set + self._retry_operation(os.chmod, build_name, 0o755) + # Get mtime for storing into the guts + self.mtm = self._retry_operation(miscutils.mtime, build_name) + if build_name != self.name: + self._retry_operation(os.rename, build_name, self.name) + logger.info("Building EXE from %s completed successfully.", self.tocbasename) + + def _copy_windows_resource(self, build_name, resource_spec): + import pefile + + # Helper for optionally converting integer strings to values; resource types and IDs/names can be specified as + # either numeric values or custom strings... + def _to_int(value): + try: + return int(value) + except Exception: + return value + + logger.debug("Processing resource: %r", resource_spec) + resource = resource_spec.split(",") # filename,[type],[name],[language] + + if len(resource) < 1 or len(resource) > 4: + raise ValueError( + f"Invalid Windows resource specifier {resource_spec!r}! " + f"Must be in format 'filename,[type],[name],[language]'!" + ) + + # Anchor resource file to spec file location, if necessary. + src_filename = self._makeabs(resource[0]) + + # Ensure file exists. + if not os.path.isfile(src_filename): + raise ValueError(f"Resource file {src_filename!r} does not exist!") + + # Check if src_filename points to a PE file or an arbitrary (data) file. + try: + with pefile.PE(src_filename, fast_load=True): + is_pe_file = True + except Exception: + is_pe_file = False + + if is_pe_file: + # If resource file is PE file, copy all resources from it, subject to specified type, name, and language. + logger.debug("Resource file %r is a PE file...", src_filename) + + # Resource type, name, and language serve as filters. If not specified, use "*". + resource_type = _to_int(resource[1]) if len(resource) >= 2 else "*" + resource_name = _to_int(resource[2]) if len(resource) >= 3 else "*" + resource_lang = _to_int(resource[3]) if len(resource) >= 4 else "*" + + try: + winresource.copy_resources_from_pe_file( + build_name, + src_filename, + [resource_type], + [resource_name], + [resource_lang], + ) + except Exception as e: + raise IOError(f"Failed to copy resources from PE file {src_filename!r}") from e + else: + logger.debug("Resource file %r is an arbitrary data file...", src_filename) + + # For arbitrary data file, resource type and name need to be provided. + if len(resource) < 3: + raise ValueError( + f"Invalid Windows resource specifier {resource_spec!r}! " + f"For arbitrary data file, the format is 'filename,type,name,[language]'!" + ) + + resource_type = _to_int(resource[1]) + resource_name = _to_int(resource[2]) + resource_lang = _to_int(resource[3]) if len(resource) >= 4 else 0 # LANG_NEUTRAL + + # Prohibit wildcards for resource type and name. + if resource_type == "*": + raise ValueError( + f"Invalid Windows resource specifier {resource_spec!r}! " + f"For arbitrary data file, resource type cannot be a wildcard (*)!" + ) + if resource_name == "*": + raise ValueError( + f"Invalid Windows resource specifier {resource_spec!r}! " + f"For arbitrary data file, resource ma,e cannot be a wildcard (*)!" + ) + + try: + with open(src_filename, 'rb') as fp: + data = fp.read() + + winresource.add_or_update_resource( + build_name, + data, + resource_type, + [resource_name], + [resource_lang], + ) + except Exception as e: + raise IOError(f"Failed to embed data file {src_filename!r} as Windows resource") from e + + def _append_data_to_exe(self, build_name, append_file): + with open(build_name, 'ab') as outf: + with open(append_file, 'rb') as inf: + shutil.copyfileobj(inf, outf, length=64 * 1024) + + @staticmethod + def _retry_operation(func, *args, max_attempts=20): + """ + Attempt to execute the given function `max_attempts` number of times while catching exceptions that are usually + associated with Windows anti-virus programs temporarily locking the access to the executable. + """ + def _is_allowed_exception(e): + """ + Helper to determine whether the given exception is eligible for retry or not. + """ + if isinstance(e, PermissionError): + # Always retry on all instances of PermissionError + return True + elif is_win: + from PyInstaller.compat import pywintypes + + # Windows-specific errno and winerror codes. + # https://learn.microsoft.com/en-us/cpp/c-runtime-library/errno-constants + _ALLOWED_ERRNO = { + 13, # EACCES (would typically be a PermissionError instead) + 22, # EINVAL (reported to be caused by Crowdstrike; see #7840) + } + # https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499- + _ALLOWED_WINERROR = { + 5, # ERROR_ACCESS_DENIED (reported in #7825) + 32, # ERROR_SHARING_VIOLATION (exclusive lock via `CreateFileW` flags, or via `_locked`). + 110, # ERROR_OPEN_FAILED (reported in #8138) + } + if isinstance(e, OSError): + # For OSError exceptions other than PermissionError, validate errno. + if e.errno in _ALLOWED_ERRNO: + return True + # OSError typically translates `winerror` into `errno` equivalent; but try to match the original + # values as a fall back, just in case. `OSError.winerror` attribute exists only on Windows. + if e.winerror in _ALLOWED_WINERROR: + return True + elif isinstance(e, pywintypes.error): + # pywintypes.error is raised by helper functions that use win32 C API bound via pywin32-ctypes. + if e.winerror in _ALLOWED_WINERROR: + return True + return False + + func_name = func.__name__ + for attempt in range(max_attempts): + try: + return func(*args) + except Exception as e: + # Check if exception is eligible for retry; if not, also check its immediate cause (in case the + # exception was thrown from an eligible exception). + if not _is_allowed_exception(e) and not _is_allowed_exception(e.__context__): + raise + + # Retry after sleep (unless this was our last attempt) + if attempt < max_attempts - 1: + sleep_duration = 1 / (max_attempts - 1 - attempt) + logger.warning( + f"Execution of {func_name!r} failed on attempt #{attempt + 1} / {max_attempts}: {e!r}. " + f"Retrying in {sleep_duration:.2f} second(s)..." + ) + time.sleep(sleep_duration) + else: + logger.warning( + f"Execution of {func_name!r} failed on attempt #{attempt + 1} / {max_attempts}: {e!r}." + ) + raise RuntimeError(f"Execution of {func_name!r} failed - no more attempts left!") from e + + +class COLLECT(Target): + """ + In one-dir mode creates the output folder with all necessary files. + """ + def __init__(self, *args, **kwargs): + """ + args + One or more arguments that are either an instance of `Target` or an iterable representing TOC list. + kwargs + Possible keyword arguments: + + name + The name of the directory to be built. + """ + from PyInstaller.config import CONF + + super().__init__() + + self.strip_binaries = kwargs.get('strip', False) + self.upx_exclude = kwargs.get("upx_exclude", []) + self.console = True + self.target_arch = None + self.codesign_identity = None + self.entitlements_file = None + + # UPX needs to be both available and enabled for the taget. + self.upx_binaries = CONF['upx_available'] and kwargs.get('upx', False) + + # The `name` should be the output directory name, without the parent path (the directory is created in the + # DISTPATH). Old .spec formats included parent path, so strip it away. + self.name = os.path.join(CONF['distpath'], os.path.basename(kwargs.get('name'))) + + for arg in args: + if isinstance(arg, EXE): + self.contents_directory = arg.contents_directory + break + else: + raise ValueError("No EXE() instance was passed to COLLECT()") + + self.toc = [] + for arg in args: + # Valid arguments: EXE object and TOC-like iterables + if isinstance(arg, EXE): + # Add EXE as an entry to the TOC, and merge its dependencies TOC + self.toc.append((os.path.basename(arg.name), arg.name, 'EXECUTABLE')) + self.toc.extend(arg.dependencies) + # Inherit settings + self.console = arg.console + self.target_arch = arg.target_arch + self.codesign_identity = arg.codesign_identity + self.entitlements_file = arg.entitlements_file + # Search for the executable's external manifest, and collect it if available + for dest_name, src_name, typecode in arg.toc: + if dest_name == os.path.basename(arg.name) + ".manifest": + self.toc.append((dest_name, src_name, typecode)) + # If PKG is not appended to the executable, we need to collect it. + if not arg.append_pkg: + self.toc.append((os.path.basename(arg.pkgname), arg.pkgname, 'PKG')) + elif miscutils.is_iterable(arg): + # TOC-like iterable + self.toc.extend(arg) + else: + raise TypeError(f"Invalid argument type for COLLECT: {type(arg)!r}") + + # Normalize TOC + self.toc = normalize_toc(self.toc) + + self.__postinit__() + + _GUTS = ( + # COLLECT always builds, we just want the TOC to be written out. + ('toc', None), + ) + + def _check_guts(self, data, last_build): + # COLLECT always needs to be executed, in order to clean the output directory. + return True + + def assemble(self): + _make_clean_directory(self.name) + logger.info("Building COLLECT %s", self.tocbasename) + for dest_name, src_name, typecode in self.toc: + # Ensure that the source file exists, if necessary. Skip the check for DEPENDENCY entries due to special + # contents of 'dest_name' and/or 'src_name'. Same for the SYMLINK entries, where 'src_name' is relative + # target name for symbolic link. + if typecode not in {'DEPENDENCY', 'SYMLINK'} and not os.path.exists(src_name): + # If file is contained within python egg, it will be added with the egg. + if strict_collect_mode: + raise ValueError(f"Non-existent resource {src_name}, meant to be collected as {dest_name}!") + else: + logger.warning( + "Ignoring non-existent resource %s, meant to be collected as %s", src_name, dest_name + ) + continue + # Disallow collection outside of the dist directory. + if os.pardir in os.path.normpath(dest_name).split(os.sep) or os.path.isabs(dest_name): + raise SystemExit( + 'ERROR: attempting to store file outside of the dist directory: %r. Aborting.' % dest_name + ) + # Create parent directory structure, if necessary + if typecode in ("EXECUTABLE", "PKG"): + dest_path = os.path.join(self.name, dest_name) + else: + dest_path = os.path.join(self.name, self.contents_directory or "", dest_name) + dest_dir = os.path.dirname(dest_path) + try: + os.makedirs(dest_dir, exist_ok=True) + except FileExistsError: + raise SystemExit( + f"ERROR: Pyinstaller needs to create a directory at {dest_dir!r}, " + "but there already exists a file at that path!" + ) + if typecode in ('EXTENSION', 'BINARY'): + src_name = process_collected_binary( + src_name, + dest_name, + use_strip=self.strip_binaries, + use_upx=self.upx_binaries, + upx_exclude=self.upx_exclude, + target_arch=self.target_arch, + codesign_identity=self.codesign_identity, + entitlements_file=self.entitlements_file, + strict_arch_validation=(typecode == 'EXTENSION'), + ) + if typecode == 'SYMLINK': + # On Windows, ensure that symlink target path (stored in src_name) is using Windows-style back slash + # separators. + if is_win and os.path.sep == '/': + src_name = src_name.replace(os.path.sep, '\\') + + os.symlink(src_name, dest_path) # Create link at dest_path, pointing at (relative) src_name + elif typecode != 'DEPENDENCY': + # At this point, `src_name` should be a valid file. + if not os.path.isfile(src_name): + raise ValueError(f"Resource {src_name!r} is not a valid file!") + # If strict collection mode is enabled, the destination should not exist yet. + if strict_collect_mode and os.path.exists(dest_path): + raise ValueError( + f"Attempting to collect a duplicated file into COLLECT: {dest_name} (type: {typecode})" + ) + # Use `shutil.copyfile` to copy file with default permissions. We do not attempt to preserve original + # permissions nor metadata, as they might be too restrictive and cause issues either during subsequent + # re-build attempts or when trying to move the application bundle. For binaries (and data files with + # executable bit set), we manually set the executable bits after copying the file. + shutil.copyfile(src_name, dest_path) + if ( + typecode in ('EXTENSION', 'BINARY', 'EXECUTABLE') + or (typecode == 'DATA' and os.access(src_name, os.X_OK)) + ): + os.chmod(dest_path, 0o755) + logger.info("Building COLLECT %s completed successfully.", self.tocbasename) + + +class MERGE: + """ + Given Analysis objects for multiple executables, replace occurrences of data and binary files with references to the + first executable in which they occur. The actual data and binary files are then collected only once, thereby + reducing the disk space used by multiple executables. Every executable (even onedir ones!) obtained from a + MERGE-processed Analysis gains onefile semantics, because it needs to extract its referenced dependencies from other + executables into temporary directory before they can run. + """ + def __init__(self, *args): + """ + args + Dependencies as a list of (analysis, identifier, path_to_exe) tuples. `analysis` is an instance of + `Analysis`, `identifier` is the basename of the entry-point script (without .py suffix), and `path_to_exe` + is path to the corresponding executable, relative to the `dist` directory (without .exe suffix in the + filename component). For onefile executables, `path_to_exe` is usually just executable's base name + (e.g., `myexecutable`). For onedir executables, `path_to_exe` usually comprises both the application's + directory name and executable name (e.g., `myapp/myexecutable`). + """ + self._dependencies = {} + self._symlinks = set() + + # Process all given (analysis, identifier, path_to_exe) tuples + for analysis, identifier, path_to_exe in args: + # Process analysis.binaries and analysis.datas TOCs. self._process_toc() call returns two TOCs; the first + # contains entries that remain within this analysis, while the second contains entries that reference + # an entry in another executable. + binaries, binaries_refs = self._process_toc(analysis.binaries, path_to_exe) + datas, datas_refs = self._process_toc(analysis.datas, path_to_exe) + # Update `analysis.binaries`, `analysis.datas`, and `analysis.dependencies`. + # The entries that are found in preceding executable(s) are removed from `binaries` and `datas`, and their + # DEPENDENCY entry counterparts are added to `dependencies`. We cannot simply update the entries in + # `binaries` and `datas`, because at least in theory, we need to support both onefile and onedir mode. And + # while in onefile, `a.datas`, `a.binaries`, and `a.dependencies` are passed to `EXE` (and its `PKG`), with + # onedir, `a.datas` and `a.binaries` need to be passed to `COLLECT` (as they were before the MERGE), while + # `a.dependencies` needs to be passed to `EXE`. This split requires DEPENDENCY entries to be in a separate + # TOC. + analysis.binaries = normalize_toc(binaries) + analysis.datas = normalize_toc(datas) + analysis.dependencies += binaries_refs + datas_refs + + def _process_toc(self, toc, path_to_exe): + # NOTE: unfortunately, these need to keep two separate lists. See the comment in the calling code on why this + # is so. + toc_keep = [] + toc_refs = [] + for entry in toc: + dest_name, src_name, typecode = entry + + # Special handling and bookkeeping for symbolic links. We need to account both for dest_name and src_name, + # because src_name might be the same in different contexts. For example, when collecting Qt .framework + # bundles on macOS, there are multiple relative symbolic links `Current -> A` (one in each .framework). + if typecode == 'SYMLINK': + key = dest_name, src_name + if key not in self._symlinks: + # First occurrence; keep the entry in "for-keep" TOC, same as we would for binaries and datas. + logger.debug("Keeping symbolic link %r entry in original TOC.", entry) + self._symlinks.add(key) + toc_keep.append(entry) + else: + # Subsequent occurrence; keep the SYMLINK entry intact, but add it to the references TOC instead of + # "for-keep" TOC, so it ends up in `a.dependencies`. + logger.debug("Moving symbolic link %r entry to references TOC.", entry) + toc_refs.append(entry) + del key # Block-local variable + continue + + # In fact, we need to accout for both dest_name and src_name with regular entries as well; previous + # approach that considered only src_name ended tripped up when same file was collected in different + # locations (i.e., same src_name but different dest_names). + key = dest_name, src_name + if key not in self._dependencies: + logger.debug("Adding dependency %r located in %s", key, path_to_exe) + self._dependencies[key] = path_to_exe + # Add entry to list of kept TOC entries + toc_keep.append(entry) + else: + # Construct relative dependency path; i.e., the relative path from this executable (or rather, its + # parent directory) to the executable that contains the dependency. + dep_path = os.path.relpath(self._dependencies[key], os.path.dirname(path_to_exe)) + # Ignore references that point to the origin package. This can happen if the same resource is listed + # multiple times in TOCs (e.g., once as binary and once as data). + if dep_path.endswith(path_to_exe): + logger.debug( + "Ignoring self-reference of %r for %s, located in %s - duplicated TOC entry?", key, path_to_exe, + dep_path + ) + # The entry is a duplicate, and should be ignored (i.e., do not add it to either of output TOCs). + continue + logger.debug("Referencing %r to be a dependency for %s, located in %s", key, path_to_exe, dep_path) + # Create new DEPENDENCY entry; under destination path (first element), we store the original destination + # path, while source path contains the relative reference path. + toc_refs.append((dest_name, dep_path, "DEPENDENCY")) + + return toc_keep, toc_refs + + +UNCOMPRESSED = False +COMPRESSED = True + +_MISSING_BOOTLOADER_ERRORMSG = """Fatal error: PyInstaller does not include a pre-compiled bootloader for your +platform. For more details and instructions how to build the bootloader see +""" diff --git a/.venv/Lib/site-packages/PyInstaller/building/build_main.py b/.venv/Lib/site-packages/PyInstaller/building/build_main.py new file mode 100644 index 0000000..b74babe --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/building/build_main.py @@ -0,0 +1,1282 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Build packages using spec files. + +NOTE: All global variables, classes and imported modules create API for .spec files. +""" + +import glob +import os +import pathlib +import pprint +import shutil +import enum +import re +import sys + +from PyInstaller import DEFAULT_DISTPATH, DEFAULT_WORKPATH, HOMEPATH, compat +from PyInstaller import log as logging +from PyInstaller.building.api import COLLECT, EXE, MERGE, PYZ +from PyInstaller.building.datastruct import ( + TOC, Target, Tree, _check_guts_eq, normalize_toc, normalize_pyz_toc, toc_process_symbolic_links +) +from PyInstaller.building.osx import BUNDLE +from PyInstaller.building.splash import Splash +from PyInstaller.building.utils import ( + _check_guts_toc, _check_guts_toc_mtime, _should_include_system_binary, format_binaries_and_datas, compile_pymodule, + add_suffix_to_extension, postprocess_binaries_toc_pywin32, postprocess_binaries_toc_pywin32_anaconda, + create_base_library_zip +) +from PyInstaller.compat import is_win, is_conda, is_darwin, is_linux +from PyInstaller.depend import bindepend +from PyInstaller.depend.analysis import initialize_modgraph, HOOK_PRIORITY_USER_HOOKS +from PyInstaller.depend.utils import scan_code_for_ctypes +from PyInstaller import isolated +from PyInstaller.utils.misc import absnormpath, get_path_to_toplevel_modules, mtime +from PyInstaller.utils.hooks import get_package_paths +from PyInstaller.utils.hooks.gi import compile_glib_schema_files + +if is_darwin: + from PyInstaller.utils import osx as osxutils + +logger = logging.getLogger(__name__) + +STRINGTYPE = type('') +TUPLETYPE = type((None,)) + +rthooks = {} + +# Place where the loader modules and initialization scripts live. +_init_code_path = os.path.join(HOMEPATH, 'PyInstaller', 'loader') + +IMPORT_TYPES = [ + 'top-level', 'conditional', 'delayed', 'delayed, conditional', 'optional', 'conditional, optional', + 'delayed, optional', 'delayed, conditional, optional' +] + +WARNFILE_HEADER = """\ + +This file lists modules PyInstaller was not able to find. This does not +necessarily mean this module is required for running your program. Python and +Python 3rd-party packages include a lot of conditional or optional modules. For +example the module 'ntpath' only exists on Windows, whereas the module +'posixpath' only exists on Posix systems. + +Types if import: +* top-level: imported at the top-level - look at these first +* conditional: imported within an if-statement +* delayed: imported within a function +* optional: imported within a try-except-statement + +IMPORTANT: Do NOT post this list to the issue-tracker. Use it as a basis for + tracking down the missing module yourself. Thanks! + +""" + + +@isolated.decorate +def discover_hook_directories(): + """ + Discover hook directories via pyinstaller40 entry points. Perform the discovery in an isolated subprocess + to avoid importing the package(s) in the main process. + + :return: list of discovered hook directories. + """ + + from traceback import format_exception_only + from PyInstaller.log import logger + from PyInstaller.compat import importlib_metadata + from PyInstaller.depend.analysis import HOOK_PRIORITY_CONTRIBUTED_HOOKS, HOOK_PRIORITY_UPSTREAM_HOOKS + + # The “selectable” entry points (via group and name keyword args) were introduced in importlib_metadata 4.6 and + # Python 3.10. The compat module ensures we are using a compatible version. + entry_points = importlib_metadata.entry_points(group='pyinstaller40', name='hook-dirs') + + # Ensure that pyinstaller_hooks_contrib comes last so that hooks from packages providing their own take priority. + # In pyinstaller-hooks-contrib >= 2024.8, the entry-point module is `_pyinstaller_hooks_contrib`; in earlier + # versions, it was `_pyinstaller_hooks_contrib.hooks`. + entry_points = sorted(entry_points, key=lambda x: x.module.startswith("_pyinstaller_hooks_contrib")) + + hook_directories = [] + for entry_point in entry_points: + # Query hook directory location(s) from entry point + try: + hook_directory_entries = entry_point.load()() + except Exception as e: + msg = "".join(format_exception_only(type(e), e)).strip() + logger.warning("discover_hook_directories: Failed to process hook entry point '%s': %s", entry_point, msg) + continue + + # Determine location-based priority: upstream hooks vs. hooks from contributed hooks package. + location_priority = ( + HOOK_PRIORITY_CONTRIBUTED_HOOKS + if entry_point.module.startswith("_pyinstaller_hooks_contrib") else HOOK_PRIORITY_UPSTREAM_HOOKS + ) + + # Append entries + hook_directories.extend([(hook_directory_entry, location_priority) + for hook_directory_entry in hook_directory_entries]) + + logger.debug("discover_hook_directories: Hook directories: %s", hook_directories) + + return hook_directories + + +def find_binary_dependencies(binaries, import_packages, symlink_suppression_patterns): + """ + Find dynamic dependencies (linked shared libraries) for the provided list of binaries. + + On Windows, this function performs additional pre-processing in an isolated environment in an attempt to handle + dynamic library search path modifications made by packages during their import. The packages from the given list + of collected packages are imported one by one, while keeping track of modifications made by `os.add_dll_directory` + calls and additions to the `PATH` environment variable. The recorded additional search paths are then passed to + the binary dependency analysis step. + + binaries + List of binaries to scan for dynamic dependencies. + import_packages + List of packages to import prior to scanning binaries. + symlink_suppression_patterns + Set of paths and/or path patterns for which binary dependency analysis should not create symbolic links + to the top-level application directory (when the discovered shared library's parent directory structure + is preserved). When binary dependency analysis discovers a shared library, it matches its *source path* + against all symlink suppression patterns (using `pathlib.PurePath.match`) to determine whether to create + a symbolic link to top-level application directory or not. + + :return: expanded list of binaries and then dependencies. + """ + + # Extra library search paths (used on Windows to resolve DLL paths). + extra_libdirs = [] + if compat.is_win: + # Always search `sys.base_prefix`, and search it first. This ensures that we resolve the correct version of + # `python3X.dll` and `python3.dll` (a PEP-0384 stable ABI stub that forwards symbols to the fully versioned + # `python3X.dll`), regardless of other python installations that might be present in the PATH. + extra_libdirs.append(compat.base_prefix) + + # When using python built from source, `sys.base_prefix` does not point to the directory that contains python + # executable, `python3X.dll`, and `python3.dll`. To accommodate such case, also add the directory in which + # python executable is located to the extra search paths. On the off-chance that this is a combination of venv + # and python built from source, prefer `sys._base_executable` over `sys.executable`. + extra_libdirs.append(os.path.dirname(getattr(sys, '_base_executable', sys.executable))) + + # If `pywin32` is installed, resolve the path to the `pywin32_system32` directory. Most `pywin32` extensions + # reference the `pywintypes3X.dll` in there. Based on resolved `pywin32_system32` directory, also add other + # `pywin32` directory, in case extensions in different directories reference each other (the ones in the same + # directory should already be resolvable due to binary dependency analysis passing the analyzed binary's + # location to the `get_imports` function). This allows us to avoid searching all paths in `sys.path`, which + # may lead to other corner-case issues (e.g., #5560). + pywin32_system32_dir = None + try: + # Look up the directory by treating it as a namespace package. + _, pywin32_system32_dir = get_package_paths('pywin32_system32') + except Exception: + pass + + if pywin32_system32_dir: + pywin32_base_dir = os.path.dirname(pywin32_system32_dir) + extra_libdirs += [ + pywin32_system32_dir, # .../pywin32_system32 + # based on pywin32.pth + os.path.join(pywin32_base_dir, 'win32'), # .../win32 + os.path.join(pywin32_base_dir, 'win32', 'lib'), # .../win32/lib + os.path.join(pywin32_base_dir, 'Pythonwin'), # .../Pythonwin + ] + + # On Windows, packages' initialization code might register additional DLL search paths, either by modifying the + # `PATH` environment variable, or by calling `os.add_dll_directory`. Therefore, we import all collected packages, + # and track changes made to the environment. + if compat.is_win: + # Helper functions to be executed in isolated environment. + def setup(suppressed_imports): + """ + Prepare environment for change tracking + """ + import os + import sys + + os._added_dll_directories = [] + os._original_path_env = os.environ.get('PATH', '') + + _original_add_dll_directory = os.add_dll_directory + + def _pyi_add_dll_directory(path): + os._added_dll_directories.append(path) + return _original_add_dll_directory(path) + + os.add_dll_directory = _pyi_add_dll_directory + + # Suppress import of specified packages + for name in suppressed_imports: + sys.modules[name] = None + + def import_library(package): + """ + Import collected package to set up environment. + """ + try: + __import__(package) + except Exception: + pass + + def process_search_paths(): + """ + Obtain lists of added search paths. + """ + import os + + # `os.add_dll_directory` might be called with a `pathlib.Path`, which cannot be marhsalled out of the helper + # process. So explicitly convert all entries to strings. + dll_directories = [str(path) for path in os._added_dll_directories] + + orig_path = set(os._original_path_env.split(os.pathsep)) + modified_path = os.environ.get('PATH', '').split(os.pathsep) + path_additions = [path for path in modified_path if path and path not in orig_path] + + return dll_directories, path_additions + + # Pre-process the list of packages to import. + # Check for Qt bindings packages, and put them at the front of the packages list. This ensures that they are + # always imported first, which should prevent packages that support multiple bindings (`qtypy`, `pyqtgraph`, + # `matplotlib`, etc.) from trying to auto-select bindings. + _QT_BINDINGS = ('PySide2', 'PyQt5', 'PySide6', 'PyQt6') + + qt_packages = [] + other_packages = [] + for package in import_packages: + if package.startswith(_QT_BINDINGS): + qt_packages.append(package) + else: + other_packages.append(package) + import_packages = qt_packages + other_packages + + # Just in case, explicitly suppress imports of Qt bindings that we are *not* collecting - if multiple bindings + # are available and some were excluded from our analysis, a package imported here might still try to import an + # excluded bindings package (and succeed at doing so). + suppressed_imports = [package for package in _QT_BINDINGS if package not in qt_packages] + + # If we suppressed PySide2 or PySide6, we must also suppress their corresponding shiboken package + if "PySide2" in suppressed_imports: + suppressed_imports += ["shiboken2"] + if "PySide6" in suppressed_imports: + suppressed_imports += ["shiboken6"] + + # Suppress import of `pyqtgraph.canvas`, which is known to crash python interpreter. See #7452 and #8322, as + # well as https://github.com/pyqtgraph/pyqtgraph/issues/2838. + suppressed_imports += ['pyqtgraph.canvas'] + + # PySimpleGUI 5.x displays a "first-run" dialog when imported for the first time, which blocks the loop below. + # This is a problem for building on CI, where the dialog cannot be closed, and where PySimpleGUI runs "for the + # first time" every time. See #8396. + suppressed_imports += ['PySimpleGUI'] + + # Processing in isolated environment. + with isolated.Python() as child: + child.call(setup, suppressed_imports) + for package in import_packages: + try: + child.call(import_library, package) + except isolated.SubprocessDiedError as e: + # Re-raise as `isolated.SubprocessDiedError` again, to trigger error-handling codepath in + # `isolated.Python.__exit__()`. + raise isolated.SubprocessDiedError( + f"Isolated subprocess crashed while importing package {package!r}! " + f"Package import list: {import_packages!r}" + ) from e + added_dll_directories, added_path_directories = child.call(process_search_paths) + + # Process extra search paths... + logger.info("Extra DLL search directories (AddDllDirectory): %r", added_dll_directories) + extra_libdirs += added_dll_directories + + logger.info("Extra DLL search directories (PATH): %r", added_path_directories) + extra_libdirs += added_path_directories + + # Deduplicate search paths + # NOTE: `list(set(extra_libdirs))` does not preserve the order of search paths (which matters here), so we need to + # de-duplicate using `list(dict.fromkeys(extra_libdirs).keys())` instead. + extra_libdirs = list(dict.fromkeys(extra_libdirs).keys()) + + # Search for dependencies of the given binaries + return bindepend.binary_dependency_analysis( + binaries, + search_paths=extra_libdirs, + symlink_suppression_patterns=symlink_suppression_patterns, + ) + + +class _ModuleCollectionMode(enum.IntFlag): + """ + Module collection mode flags. + """ + PYZ = enum.auto() # Collect byte-compiled .pyc into PYZ archive + PYC = enum.auto() # Collect byte-compiled .pyc as external data file + PY = enum.auto() # Collect source .py file as external data file + + +_MODULE_COLLECTION_MODES = { + "pyz": _ModuleCollectionMode.PYZ, + "pyc": _ModuleCollectionMode.PYC, + "py": _ModuleCollectionMode.PY, + "pyz+py": _ModuleCollectionMode.PYZ | _ModuleCollectionMode.PY, + "py+pyz": _ModuleCollectionMode.PYZ | _ModuleCollectionMode.PY, +} + + +def _get_module_collection_mode(mode_dict, name, noarchive=False): + """ + Determine the module/package collection mode for the given module name, based on the provided collection + mode settings dictionary. + """ + # Default mode: collect into PYZ, unless noarchive is enabled. In that case, collect as pyc. + mode_flags = _ModuleCollectionMode.PYC if noarchive else _ModuleCollectionMode.PYZ + + # If we have no collection mode settings, end here and now. + if not mode_dict: + return mode_flags + + # Search the parent modules/packages in top-down fashion, and take the last given setting. This ensures that + # a setting given for the top-level package is recursively propagated to all its subpackages and submodules, + # but also allows individual sub-modules to override the setting again. + mode = 'pyz' + + name_parts = name.split('.') + for i in range(len(name_parts)): + modlevel = ".".join(name_parts[:i + 1]) + modlevel_mode = mode_dict.get(modlevel, None) + if modlevel_mode is not None: + mode = modlevel_mode + + # Convert mode string to _ModuleCollectionMode flags + try: + mode_flags = _MODULE_COLLECTION_MODES[mode] + except KeyError: + raise ValueError(f"Unknown module collection mode for {name!r}: {mode!r}!") + + # noarchive flag being set means that we need to change _ModuleCollectionMode.PYZ into _ModuleCollectionMode.PYC + if noarchive and _ModuleCollectionMode.PYZ in mode_flags: + mode_flags ^= _ModuleCollectionMode.PYZ + mode_flags |= _ModuleCollectionMode.PYC + + return mode_flags + + +class Analysis(Target): + """ + Class that performs analysis of the user's main Python scripts. + + An Analysis contains multiple TOC (Table of Contents) lists, accessed as attributes of the analysis object. + + scripts + The scripts you gave Analysis as input, with any runtime hook scripts prepended. + pure + The pure Python modules. + binaries + The extension modules and their dependencies. + datas + Data files collected from packages. + zipfiles + Deprecated - always empty. + zipped_data + Deprecated - always empty. + """ + _old_scripts = { + absnormpath(os.path.join(HOMEPATH, "support", "_mountzlib.py")), + absnormpath(os.path.join(HOMEPATH, "support", "useUnicode.py")), + absnormpath(os.path.join(HOMEPATH, "support", "useTK.py")), + absnormpath(os.path.join(HOMEPATH, "support", "unpackTK.py")), + absnormpath(os.path.join(HOMEPATH, "support", "removeTK.py")) + } + + def __init__( + self, + scripts, + pathex=None, + binaries=None, + datas=None, + hiddenimports=None, + hookspath=None, + hooksconfig=None, + excludes=None, + runtime_hooks=None, + cipher=None, + win_no_prefer_redirects=False, + win_private_assemblies=False, + noarchive=False, + module_collection_mode=None, + optimize=-1, + **_kwargs, + ): + """ + scripts + A list of scripts specified as file names. + pathex + An optional list of paths to be searched before sys.path. + binaries + An optional list of additional binaries (dlls, etc.) to include. + datas + An optional list of additional data files to include. + hiddenimport + An optional list of additional (hidden) modules to include. + hookspath + An optional list of additional paths to search for hooks. (hook-modules). + hooksconfig + An optional dict of config settings for hooks. (hook-modules). + excludes + An optional list of module or package names (their Python names, not path names) that will be + ignored (as though they were not found). + runtime_hooks + An optional list of scripts to use as users' runtime hooks. Specified as file names. + cipher + Deprecated. Raises an error if not None. + win_no_prefer_redirects + Deprecated. Raises an error if not False. + win_private_assemblies + Deprecated. Raises an error if not False. + noarchive + If True, do not place source files in a archive, but keep them as individual files. + module_collection_mode + An optional dict of package/module names and collection mode strings. Valid collection mode strings: + 'pyz' (default), 'pyc', 'py', 'pyz+py' (or 'py+pyz') + optimize + Optimization level for collected bytecode. If not specified or set to -1, it is set to the value of + `sys.flags.optimize` of the running build process. + """ + if cipher is not None: + from PyInstaller.exceptions import RemovedCipherFeatureError + raise RemovedCipherFeatureError( + "Please remove the 'cipher' arguments to PYZ() and Analysis() in your spec file." + ) + if win_no_prefer_redirects: + from PyInstaller.exceptions import RemovedWinSideBySideSupportError + raise RemovedWinSideBySideSupportError( + "Please remove the 'win_no_prefer_redirects' argument to Analysis() in your spec file." + ) + if win_private_assemblies: + from PyInstaller.exceptions import RemovedWinSideBySideSupportError + raise RemovedWinSideBySideSupportError( + "Please remove the 'win_private_assemblies' argument to Analysis() in your spec file." + ) + super().__init__() + from PyInstaller.config import CONF + + self.inputs = [] + spec_dir = os.path.dirname(CONF['spec']) + for script in scripts: + # If path is relative, it is relative to the location of .spec file. + if not os.path.isabs(script): + script = os.path.join(spec_dir, script) + if absnormpath(script) in self._old_scripts: + logger.warning('Ignoring obsolete auto-added script %s', script) + continue + # Normalize script path. + script = os.path.normpath(script) + if not os.path.exists(script): + raise SystemExit("ERROR: script '%s' not found" % script) + self.inputs.append(script) + + # Django hook requires this variable to find the script manage.py. + CONF['main_script'] = self.inputs[0] + + site_packages_pathex = [] + for path in (pathex or []): + if pathlib.Path(path).name == "site-packages": + site_packages_pathex.append(str(path)) + if site_packages_pathex: + logger.log( + logging.DEPRECATION, "Foreign Python environment's site-packages paths added to --paths/pathex:\n%s\n" + "This is ALWAYS the wrong thing to do. If your environment's site-packages is not in PyInstaller's " + "module search path then you are running PyInstaller from a different environment to the one your " + "packages are in. Run print(sys.prefix) without PyInstaller to get the environment you should be using " + "then install and run PyInstaller from that environment instead of this one. This warning will become " + "an error in PyInstaller 7.0.", pprint.pformat(site_packages_pathex) + ) + + self.pathex = self._extend_pathex(pathex, self.inputs) + # Set global config variable 'pathex' to make it available for PyInstaller.utils.hooks and import hooks. Path + # extensions for module search. + CONF['pathex'] = self.pathex + # Extend sys.path so PyInstaller could find all necessary modules. + sys.path.extend(self.pathex) + logger.info('Module search paths (PYTHONPATH):\n' + pprint.pformat(sys.path)) + + self.hiddenimports = hiddenimports or [] + # Include hidden imports passed via CONF['hiddenimports']; these might be populated if user has a wrapper script + # that calls `build_main.main()` with custom `pyi_config` dictionary that contains `hiddenimports`. + self.hiddenimports.extend(CONF.get('hiddenimports', [])) + + for modnm in self.hiddenimports: + if re.search(r"[\\/]", modnm): + raise SystemExit( + f"ERROR: Invalid hiddenimport '{modnm}'. Hidden imports should be importable module names – not " + "file paths. i.e. use --hiddenimport=foo.bar instead of --hiddenimport=.../site-packages/foo/bar.py" + ) + + self.hookspath = [] + # Prepend directories in `hookspath` (`--additional-hooks-dir`) to take precedence over those from the entry + # points. Expand starting tilde into user's home directory, as a work-around for tilde not being expanded by + # shell when using `--additional-hooks-dir=~/path/abc` instead of `--additional-hooks-dir ~/path/abc` (or when + # the path argument is quoted). + if hookspath: + self.hookspath.extend([(os.path.expanduser(path), HOOK_PRIORITY_USER_HOOKS) for path in hookspath]) + + # Add hook directories from PyInstaller entry points. + self.hookspath += discover_hook_directories() + + self.hooksconfig = {} + if hooksconfig: + self.hooksconfig.update(hooksconfig) + + # Custom runtime hook files that should be included and started before any existing PyInstaller runtime hooks. + self.custom_runtime_hooks = runtime_hooks or [] + + self._input_binaries = [] + self._input_datas = [] + + self.excludes = excludes or [] + self.scripts = [] + self.pure = [] + self.binaries = [] + self.zipfiles = [] + self.zipped_data = [] + self.datas = [] + self.dependencies = [] + self._python_version = sys.version + self.noarchive = noarchive + self.module_collection_mode = module_collection_mode or {} + self.optimize = sys.flags.optimize if optimize in {-1, None} else optimize + + self._modules_outside_pyz = [] + + # Validate the optimization level to avoid errors later on... + if self.optimize not in {0, 1, 2}: + raise ValueError(f"Unsupported bytecode optimization level: {self.optimize!r}") + + # Expand the `binaries` and `datas` lists specified in the .spec file, and ensure that the lists are normalized + # and sorted before guts comparison. + # + # While we use these lists to initialize `Analysis.binaries` and `Analysis.datas`, at this point, we need to + # store them in separate variables, which undergo *full* guts comparison (`_check_guts_toc`) as opposed to + # just mtime-based comparison (`_check_guts_toc_mtime`). Changes to these initial list *must* trigger a rebuild + # (and due to the way things work, a re-analysis), otherwise user might end up with a cached build that fails to + # reflect the changes. + if binaries: + logger.info("Appending 'binaries' from .spec") + self._input_binaries = [(dest_name, src_name, 'BINARY') + for dest_name, src_name in format_binaries_and_datas(binaries, workingdir=spec_dir)] + self._input_binaries = sorted(normalize_toc(self._input_binaries)) + + if datas: + logger.info("Appending 'datas' from .spec") + self._input_datas = [(dest_name, src_name, 'DATA') + for dest_name, src_name in format_binaries_and_datas(datas, workingdir=spec_dir)] + self._input_datas = sorted(normalize_toc(self._input_datas)) + + self.__postinit__() + + _GUTS = ( # input parameters + ('inputs', _check_guts_eq), # parameter `scripts` + ('pathex', _check_guts_eq), + ('hiddenimports', _check_guts_eq), + ('hookspath', _check_guts_eq), + ('hooksconfig', _check_guts_eq), + ('excludes', _check_guts_eq), + ('custom_runtime_hooks', _check_guts_eq), + ('noarchive', _check_guts_eq), + ('module_collection_mode', _check_guts_eq), + ('optimize', _check_guts_eq), + + ('_input_binaries', _check_guts_toc), + ('_input_datas', _check_guts_toc), + + # calculated/analysed values + ('_python_version', _check_guts_eq), + ('scripts', _check_guts_toc_mtime), + ('pure', _check_guts_toc_mtime), + ('binaries', _check_guts_toc_mtime), + ('zipfiles', _check_guts_toc_mtime), + ('zipped_data', None), # TODO check this, too + ('datas', _check_guts_toc_mtime), + # TODO: Need to add "dependencies"? + + ('_modules_outside_pyz', _check_guts_toc_mtime), + ) + + def _extend_pathex(self, spec_pathex, scripts): + """ + Normalize additional paths where PyInstaller will look for modules and add paths with scripts to the list of + paths. + + :param spec_pathex: Additional paths defined defined in .spec file. + :param scripts: Scripts to create executable from. + :return: list of updated paths + """ + # Based on main supplied script - add top-level modules directory to PYTHONPATH. + # Sometimes the main app script is not top-level module but submodule like 'mymodule.mainscript.py'. + # In that case PyInstaller will not be able find modules in the directory containing 'mymodule'. + # Add this directory to PYTHONPATH so PyInstaller could find it. + pathex = [] + # Add scripts paths first. + for script in scripts: + logger.debug('script: %s' % script) + script_toplevel_dir = get_path_to_toplevel_modules(script) + if script_toplevel_dir: + pathex.append(script_toplevel_dir) + # Append paths from .spec. + if spec_pathex is not None: + pathex.extend(spec_pathex) + # Normalize paths in pathex and make them absolute. + return [absnormpath(p) for p in pathex] + + def _check_guts(self, data, last_build): + if Target._check_guts(self, data, last_build): + return True + for filename in self.inputs: + if mtime(filename) > last_build: + logger.info("Building because %s changed", filename) + return True + # Now we know that none of the input parameters and none of the input files has changed. So take the values + # that were calculated / analyzed in the last run and store them in `self`. These TOC lists should already + # be normalized. + self.scripts = data['scripts'] + self.pure = data['pure'] + self.binaries = data['binaries'] + self.zipfiles = data['zipfiles'] + self.zipped_data = data['zipped_data'] + self.datas = data['datas'] + + return False + + def assemble(self): + """ + This method is the MAIN method for finding all necessary files to be bundled. + """ + from PyInstaller.config import CONF + + logger.info("Running Analysis %s", self.tocbasename) + logger.info("Target bytecode optimization level: %d", self.optimize) + + for m in self.excludes: + logger.debug("Excluding module '%s'" % m) + self.graph = initialize_modgraph(excludes=self.excludes, user_hook_dirs=self.hookspath) + + # Initialize `binaries` and `datas` with `_input_binaries` and `_input_datas`. Make sure to copy the lists + # to prevent modifications of original lists, which we need to store in original form for guts comparison. + self.datas = [entry for entry in self._input_datas] + self.binaries = [entry for entry in self._input_binaries] + + # Expand sys.path of module graph. The attribute is the set of paths to use for imports: sys.path, plus our + # loader, plus other paths from e.g. --path option). + self.graph.path = self.pathex + self.graph.path + + # Scan for legacy namespace packages. + self.graph.scan_legacy_namespace_packages() + + # Search for python shared library, which we need to collect into frozen application. + logger.info('Looking for Python shared library...') + python_lib = bindepend.get_python_library_path() + if python_lib is None: + from PyInstaller.exceptions import PythonLibraryNotFoundError + raise PythonLibraryNotFoundError() + logger.info('Using Python shared library: %s', python_lib) + if is_darwin and osxutils.is_framework_bundle_lib(python_lib): + # If python library is located in macOS .framework bundle, collect the bundle, and create symbolic link to + # top-level directory. + src_path = pathlib.PurePath(python_lib) + dst_path = pathlib.PurePath(src_path.relative_to(src_path.parent.parent.parent.parent)) + self.binaries.append((str(dst_path), str(src_path), 'BINARY')) + self.binaries.append((os.path.basename(python_lib), str(dst_path), 'SYMLINK')) + else: + self.binaries.append((os.path.basename(python_lib), python_lib, 'BINARY')) + + # -- Module graph. -- + # + # Construct the module graph of import relationships between modules required by this user's application. For + # each entry point (top-level user-defined Python script), all imports originating from this entry point are + # recursively parsed into a subgraph of the module graph. This subgraph is then connected to this graph's root + # node, ensuring imported module nodes will be reachable from the root node -- which is is (arbitrarily) chosen + # to be the first entry point's node. + + # List of graph nodes corresponding to program scripts. + program_scripts = [] + + # Assume that if the script does not exist, Modulegraph will raise error. Save the graph nodes of each in + # sequence. + for script in self.inputs: + logger.info("Analyzing %s", script) + program_scripts.append(self.graph.add_script(script)) + + # Analyze the script's hidden imports (named on the command line) + self.graph.add_hiddenimports(self.hiddenimports) + + # -- Post-graph hooks. -- + self.graph.process_post_graph_hooks(self) + + # Update 'binaries' and 'datas' TOC lists with entries collected from hooks. + self.binaries += self.graph.make_hook_binaries_toc() + self.datas += self.graph.make_hook_datas_toc() + + # We do not support zipped eggs anymore (PyInstaller v6.0), so `zipped_data` and `zipfiles` are always empty. + self.zipped_data = [] + self.zipfiles = [] + + # -- Automatic binary vs. data reclassification. -- + # + # At this point, `binaries` and `datas` contain TOC entries supplied by user via input arguments, and by hooks + # that were ran during the analysis. Neither source can be fully trusted regarding the DATA vs BINARY + # classification (no thanks to our hookutils not being 100% reliable, either!). Therefore, inspect the files and + # automatically reclassify them as necessary. + # + # The proper classification is important especially for collected binaries - to ensure that they undergo binary + # dependency analysis and platform-specific binary processing. On macOS, the .app bundle generation code also + # depends on files to be properly classified. + # + # For entries added to `binaries` and `datas` after this point, we trust their typecodes due to the nature of + # their origin. + combined_toc = normalize_toc(self.datas + self.binaries) + + logger.info('Performing binary vs. data reclassification (%d entries)', len(combined_toc)) + + self.datas = [] + self.binaries = [] + + for dest_name, src_name, typecode in combined_toc: + # Returns 'BINARY' or 'DATA', or None if file cannot be classified. + detected_typecode = bindepend.classify_binary_vs_data(src_name) + if detected_typecode is not None: + if detected_typecode != typecode: + logger.debug( + "Reclassifying collected file %r from %s to %s...", src_name, typecode, detected_typecode + ) + typecode = detected_typecode + + # Put back into corresponding TOC list. + if typecode in {'BINARY', 'EXTENSION'}: + self.binaries.append((dest_name, src_name, typecode)) + else: + self.datas.append((dest_name, src_name, typecode)) + + # -- Look for dlls that are imported by Python 'ctypes' module. -- + # First get code objects of all modules that import 'ctypes'. + logger.info('Looking for ctypes DLLs') + # dict like: {'module1': code_obj, 'module2': code_obj} + ctypes_code_objs = self.graph.get_code_using("ctypes") + + for name, co in ctypes_code_objs.items(): + # Get dlls that might be needed by ctypes. + logger.debug('Scanning %s for ctypes-based references to shared libraries', name) + try: + ctypes_binaries = scan_code_for_ctypes(co) + # As this scan happens after automatic binary-vs-data classification, we need to validate the binaries + # ourselves, just in case. + for dest_name, src_name, typecode in set(ctypes_binaries): + # Allow for `None` in case re-classification is not supported on the given platform. + if bindepend.classify_binary_vs_data(src_name) not in (None, 'BINARY'): + logger.warning("Ignoring %s found via ctypes - not a valid binary!", src_name) + continue + self.binaries.append((dest_name, src_name, typecode)) + except Exception as ex: + raise RuntimeError(f"Failed to scan the module '{name}'. This is a bug. Please report it.") from ex + + self.datas.extend((dest, source, "DATA") + for (dest, source) in format_binaries_and_datas(self.graph.metadata_required())) + + # Analyze run-time hooks. + rhtook_scripts = self.graph.analyze_runtime_hooks(self.custom_runtime_hooks) + + # -- Extract the nodes of the graph as TOCs for further processing. -- + + # Initialize the scripts list: run-time hooks (custom ones, followed by regular ones), followed by program + # script(s). + + # We do not optimize bytecode of run-time hooks. + rthook_toc = self.graph.nodes_to_toc(rhtook_scripts) + + # Override the typecode of program script(s) to include bytecode optimization level. + program_toc = self.graph.nodes_to_toc(program_scripts) + optim_typecode = {0: 'PYSOURCE', 1: 'PYSOURCE-1', 2: 'PYSOURCE-2'}[self.optimize] + program_toc = [(name, src_path, optim_typecode) for name, src_path, typecode in program_toc] + + self.scripts = rthook_toc + program_toc + self.scripts = normalize_toc(self.scripts) # Should not really contain duplicates, but just in case... + + # Extend the binaries list with all the Extensions modulegraph has found. + self.binaries += self.graph.make_binaries_toc() + + # Convert extension module names into full filenames, and append suffix. Ensure that extensions that come from + # the lib-dynload are collected into _MEIPASS/lib-dynload instead of directly into _MEIPASS. + for idx, (dest, source, typecode) in enumerate(self.binaries): + if typecode != 'EXTENSION': + continue + + # Convert to full filename and append suffix + dest, source, typecode = add_suffix_to_extension(dest, source, typecode) + + # Divert into lib-dyload, if necessary (i.e., if file comes from lib-dynload directory) and its destination + # path does not already have a directory prefix. + src_parent = os.path.basename(os.path.dirname(source)) + if src_parent == 'lib-dynload' and not os.path.dirname(os.path.normpath(dest)): + dest = os.path.join('lib-dynload', dest) + + # Update + self.binaries[idx] = (dest, source, typecode) + + # Perform initial normalization of `datas` and `binaries` + self.datas = normalize_toc(self.datas) + self.binaries = normalize_toc(self.binaries) + + # Post-process GLib schemas + self.datas = compile_glib_schema_files(self.datas, os.path.join(CONF['workpath'], "_pyi_gschema_compilation")) + self.datas = normalize_toc(self.datas) + + # Process the pure-python modules list. Depending on the collection mode, these entries end up either in "pure" + # list for collection into the PYZ archive, or in the "datas" list for collection as external data files. + assert len(self.pure) == 0 + pure_pymodules_toc = self.graph.make_pure_toc() + + # Merge package collection mode settings from .spec file. These are applied last, so they override the + # settings previously applied by hooks. + self.graph._module_collection_mode.update(self.module_collection_mode) + logger.debug("Module collection settings: %r", self.graph._module_collection_mode) + + # If target bytecode optimization level matches the run-time bytecode optimization level (i.e., of the running + # build process), we can re-use the modulegraph's code-object cache. + if self.optimize == sys.flags.optimize: + logger.debug( + "Target optimization level %d matches run-time optimization level %d - using modulegraph's code-object " + "cache.", + self.optimize, + sys.flags.optimize, + ) + code_cache = self.graph.get_code_objects() + else: + logger.debug( + "Target optimization level %d differs from run-time optimization level %d - ignoring modulegraph's " + "code-object cache.", + self.optimize, + sys.flags.optimize, + ) + code_cache = None + + # Construct a set for look-up of modules that should end up in base_library.zip. The list of corresponding + # modulegraph nodes is stored in `PyiModuleGraph._base_modules` (see `PyiModuleGraph._analyze_base_modules`). + base_modules = set(node.identifier for node in self.graph._base_modules) + base_modules_toc = [] + + pycs_dir = os.path.join(CONF['workpath'], 'localpycs') + optim_level = self.optimize # We could extend this with per-module settings, similar to `collect_mode`. + for name, src_path, typecode in pure_pymodules_toc: + assert typecode == 'PYMODULE' + collect_mode = _get_module_collection_mode(self.graph._module_collection_mode, name, self.noarchive) + + # Collect byte-compiled .pyc into PYZ archive or base_library.zip. Embed optimization level into typecode. + in_pyz = False + if _ModuleCollectionMode.PYZ in collect_mode: + optim_typecode = {0: 'PYMODULE', 1: 'PYMODULE-1', 2: 'PYMODULE-2'}[optim_level] + toc_entry = (name, src_path, optim_typecode) + if name in base_modules: + base_modules_toc.append(toc_entry) + else: + self.pure.append(toc_entry) + in_pyz = True + + # If module is not collected into PYZ archive (and is consequently not tracked in the `self.pure` TOC list), + # add it to the `self._modules_outside_pyz` TOC list, in order to be able to detect modifications in those + # modules. + if not in_pyz: + self._modules_outside_pyz.append((name, src_path, typecode)) + + # Pure namespace packages have no source path, and cannot be collected as external data file. + if src_path in (None, '-'): + continue + + # Collect source .py file as external data file + if _ModuleCollectionMode.PY in collect_mode: + basename, ext = os.path.splitext(os.path.basename(src_path)) + # If the module is available only as a byte-compiled .pyc, we cannot collect its source. + if ext.lower() == '.pyc': + logger.warning( + 'Cannot collect source .py file for module %r - module is available only as .pyc: %r', + name, + src_path, + ) + continue + dest_path = name.replace('.', os.sep) + if basename == '__init__': + dest_path += os.sep + '__init__' + ext + else: + dest_path += ext + self.datas.append((dest_path, src_path, "DATA")) + + # Collect byte-compiled .pyc file as external data file + if _ModuleCollectionMode.PYC in collect_mode: + basename, ext = os.path.splitext(os.path.basename(src_path)) + dest_path = name.replace('.', os.sep) + if basename == '__init__': + dest_path += os.sep + '__init__' + # Append the extension for the compiled result. In python 3.5 (PEP-488) .pyo files were replaced by + # .opt-1.pyc and .opt-2.pyc. However, it seems that for bytecode-only module distribution, we always + # need to use the .pyc extension. + dest_path += '.pyc' + + # Compile - use optimization-level-specific sub-directory in local working directory. + obj_path = compile_pymodule( + name, + src_path, + workpath=os.path.join(pycs_dir, str(optim_level)), + optimize=optim_level, + code_cache=code_cache, + ) + + self.datas.append((dest_path, obj_path, "DATA")) + + # Construct base_library.zip, if applicable (the only scenario where it is not is if we are building with + # noarchive mode). Always remove the file before the build. + base_library_zip = os.path.join(CONF['workpath'], 'base_library.zip') + if os.path.exists(base_library_zip): + os.remove(base_library_zip) + if base_modules_toc: + logger.info('Creating %s...', os.path.basename(base_library_zip)) + create_base_library_zip(base_library_zip, base_modules_toc, code_cache) + self.datas.append((os.path.basename(base_library_zip), base_library_zip, 'DATA')) # Bundle as data file. + + # Normalize list of pure-python modules (these will end up in PYZ archive, so use specific normalization). + self.pure = normalize_pyz_toc(self.pure) + + # Associate the `pure` TOC list instance with code cache in the global `CONF`; this is used by `PYZ` writer + # to obtain modules' code from cache instead + # + # (NOTE: back when `pure` was an instance of `TOC` class, the code object was passed by adding an attribute + # to the `pure` itself; now that `pure` is plain `list`, we cannot do that anymore. But the association via + # object ID should have the same semantics as the added attribute). + from PyInstaller.config import CONF + global_code_cache_map = CONF['code_cache'] + global_code_cache_map[id(self.pure)] = code_cache + + # Add remaining binary dependencies - analyze Python C-extensions and what DLLs they depend on. + # + # Up until this point, we did very best not to import the packages into the main process. However, a package + # may set up additional library search paths during its import (e.g., by modifying PATH or calling the + # add_dll_directory() function on Windows, or modifying LD_LIBRARY_PATH on Linux). In order to reliably + # discover dynamic libraries, we therefore require an environment with all packages imported. We achieve that + # by gathering list of all collected packages, and spawn an isolated process, in which we first import all + # the packages from the list, and then perform search for dynamic libraries. + logger.info('Looking for dynamic libraries') + + collected_packages = self.graph.get_collected_packages() + self.binaries.extend( + find_binary_dependencies(self.binaries, collected_packages, self.graph._bindepend_symlink_suppression) + ) + + # Apply work-around for (potential) binaries collected from `pywin32` package... + if is_win: + self.binaries = postprocess_binaries_toc_pywin32(self.binaries) + # With anaconda, we need additional work-around... + if is_conda: + self.binaries = postprocess_binaries_toc_pywin32_anaconda(self.binaries) + + # On linux, check for HMAC files accompanying shared library files and, if available, collect them. + # These are present on Fedora and RHEL, and are used in FIPS-enabled configurations to ensure shared + # library's file integrity. + if is_linux: + for dest_name, src_name, typecode in self.binaries: + if typecode not in {'BINARY', 'EXTENSION'}: + continue # Skip symbolic links + + src_lib_path = pathlib.Path(src_name) + + # Check for .name.hmac file next to the shared library. + src_hmac_path = src_lib_path.with_name(f".{src_lib_path.name}.hmac") + if src_hmac_path.is_file(): + dest_hmac_path = pathlib.PurePath(dest_name).with_name(src_hmac_path.name) + self.datas.append((str(dest_hmac_path), str(src_hmac_path), 'DATA')) + + # Alternatively, check the fipscheck directory: fipscheck/name.hmac + src_hmac_path = src_lib_path.parent / "fipscheck" / f"{src_lib_path.name}.hmac" + if src_hmac_path.is_file(): + dest_hmac_path = pathlib.PurePath("fipscheck") / src_hmac_path.name + self.datas.append((str(dest_hmac_path), str(src_hmac_path), 'DATA')) + + # Similarly, look for .chk files that are used by NSS libraries. + src_chk_path = src_lib_path.with_suffix(".chk") + if src_chk_path.is_file(): + dest_chk_path = pathlib.PurePath(dest_name).with_name(src_chk_path.name) + self.datas.append((str(dest_chk_path), str(src_chk_path), 'DATA')) + + # Final normalization of `datas` and `binaries`: + # - normalize both TOCs together (to avoid having duplicates across the lists) + # - process the combined normalized TOC for symlinks + # - split back into `binaries` (BINARY, EXTENSION) and `datas` (everything else) + combined_toc = normalize_toc(self.datas + self.binaries) + combined_toc = toc_process_symbolic_links(combined_toc) + + # On macOS, look for binaries collected from .framework bundles, and collect their Info.plist files. + if is_darwin: + combined_toc += osxutils.collect_files_from_framework_bundles(combined_toc) + + self.datas = [] + self.binaries = [] + for entry in combined_toc: + dest_name, src_name, typecode = entry + if typecode in {'BINARY', 'EXTENSION'}: + self.binaries.append(entry) + else: + self.datas.append(entry) + + # On macOS, the Finder app seems to litter visited directories with `.DS_Store` files. These cause issues with + # codesigning when placed in mixed-content directories, where our .app bundle generator cross-links data files + # from `Resources` to `Frameworks` tree, and the `codesign` utility explicitly forbids a `.DS_Store` file to be + # a symbolic link. + # But there is no reason for `.DS_Store` files to be collected in the first place, so filter them out. + if is_darwin: + self.datas = [(dest_name, src_name, typecode) for dest_name, src_name, typecode in self.datas + if os.path.basename(src_name) != '.DS_Store'] + + # Write warnings about missing modules. + self._write_warnings() + # Write debug information about the graph + self._write_graph_debug() + + # On macOS, check the SDK version of the binaries to be collected, and warn when the SDK version is either + # invalid or too low. Such binaries will likely refuse to be loaded when hardened runtime is enabled and + # while we cannot do anything about it, we can at least warn the user about it. + # See: https://developer.apple.com/forums/thread/132526 + if is_darwin: + binaries_with_invalid_sdk = [] + for dest_name, src_name, typecode in self.binaries: + try: + sdk_version = osxutils.get_macos_sdk_version(src_name) + except Exception: + logger.warning("Failed to query macOS SDK version of %r!", src_name, exc_info=True) + binaries_with_invalid_sdk.append((dest_name, src_name, "unavailable")) + continue + + if sdk_version < (10, 9, 0): + binaries_with_invalid_sdk.append((dest_name, src_name, sdk_version)) + if binaries_with_invalid_sdk: + logger.warning("Found one or more binaries with invalid or incompatible macOS SDK version:") + for dest_name, src_name, sdk_version in binaries_with_invalid_sdk: + logger.warning(" * %r, collected as %r; version: %r", src_name, dest_name, sdk_version) + logger.warning("These binaries will likely cause issues with code-signing and hardened runtime!") + + def _write_warnings(self): + """ + Write warnings about missing modules. Get them from the graph and use the graph to figure out who tried to + import them. + """ + def dependency_description(name, dep_info): + if not dep_info or dep_info == 'direct': + imptype = 0 + else: + imptype = (dep_info.conditional + 2 * dep_info.function + 4 * dep_info.tryexcept) + return '%s (%s)' % (name, IMPORT_TYPES[imptype]) + + from PyInstaller.config import CONF + miss_toc = self.graph.make_missing_toc() + with open(CONF['warnfile'], 'w', encoding='utf-8') as wf: + wf.write(WARNFILE_HEADER) + for (n, p, status) in miss_toc: + importers = self.graph.get_importers(n) + print( + status, + 'module named', + n, + '- imported by', + ', '.join(dependency_description(name, data) for name, data in importers), + file=wf + ) + logger.info("Warnings written to %s", CONF['warnfile']) + + def _write_graph_debug(self): + """ + Write a xref (in html) and with `--log-level DEBUG` a dot-drawing of the graph. + """ + from PyInstaller.config import CONF + with open(CONF['xref-file'], 'w', encoding='utf-8') as fh: + self.graph.create_xref(fh) + logger.info("Graph cross-reference written to %s", CONF['xref-file']) + if logger.getEffectiveLevel() > logging.DEBUG: + return + # The `DOT language's `_ default character encoding (see the end + # of the linked page) is UTF-8. + with open(CONF['dot-file'], 'w', encoding='utf-8') as fh: + self.graph.graphreport(fh) + logger.info("Graph drawing written to %s", CONF['dot-file']) + + def exclude_system_libraries(self, list_of_exceptions=None): + """ + This method may be optionally called from the spec file to exclude any system libraries from the list of + binaries other than those containing the shell-style wildcards in list_of_exceptions. Those that match + '*python*' or are stored under 'lib-dynload' are always treated as exceptions and not excluded. + """ + + self.binaries = [ + entry for entry in self.binaries if _should_include_system_binary(entry, list_of_exceptions or []) + ] + + +class ExecutableBuilder: + """ + Class that constructs the executable. + """ + # TODO wrap the 'main' and 'build' function into this class. + + +def build(spec, distpath, workpath, clean_build): + """ + Build the executable according to the created SPEC file. + """ + from PyInstaller.config import CONF + + # Ensure starting tilde in distpath / workpath is expanded into user's home directory. This is to work around for + # tilde not being expanded when using `--workpath=~/path/abc` instead of `--workpath ~/path/abc` (or when the path + # argument is quoted). See https://github.com/pyinstaller/pyinstaller/issues/696 + distpath = os.path.abspath(os.path.expanduser(distpath)) + workpath = os.path.abspath(os.path.expanduser(workpath)) + + CONF['spec'] = os.path.abspath(spec) + CONF['specpath'], CONF['specnm'] = os.path.split(CONF['spec']) + CONF['specnm'] = os.path.splitext(CONF['specnm'])[0] + + # Add 'specname' to workpath and distpath if they point to PyInstaller homepath. + if os.path.dirname(distpath) == HOMEPATH: + distpath = os.path.join(HOMEPATH, CONF['specnm'], os.path.basename(distpath)) + CONF['distpath'] = distpath + if os.path.dirname(workpath) == HOMEPATH: + workpath = os.path.join(HOMEPATH, CONF['specnm'], os.path.basename(workpath), CONF['specnm']) + else: + workpath = os.path.join(workpath, CONF['specnm']) + CONF['workpath'] = workpath + + CONF['warnfile'] = os.path.join(workpath, 'warn-%s.txt' % CONF['specnm']) + CONF['dot-file'] = os.path.join(workpath, 'graph-%s.dot' % CONF['specnm']) + CONF['xref-file'] = os.path.join(workpath, 'xref-%s.html' % CONF['specnm']) + + CONF['code_cache'] = dict() + + # Clean PyInstaller cache (CONF['cachedir']) and temporary files (workpath) to be able start a clean build. + if clean_build: + logger.info('Removing temporary files and cleaning cache in %s', CONF['cachedir']) + for pth in (CONF['cachedir'], workpath): + if os.path.exists(pth): + # Remove all files in 'pth'. + for f in glob.glob(pth + '/*'): + # Remove dirs recursively. + if os.path.isdir(f): + shutil.rmtree(f) + else: + os.remove(f) + + # Create DISTPATH and workpath if they does not exist. + for pth in (CONF['distpath'], CONF['workpath']): + os.makedirs(pth, exist_ok=True) + + # Construct NAMESPACE for running the Python code from .SPEC file. + # NOTE: Passing NAMESPACE allows to avoid having global variables in this module and makes isolated environment for + # running tests. + # NOTE: Defining NAMESPACE allows to map any class to a apecific name for .SPEC. + # FIXME: Some symbols might be missing. Add them if there are some failures. + # TODO: What from this .spec API is deprecated and could be removed? + spec_namespace = { + # Set of global variables that can be used while processing .spec file. Some of them act as configuration + # options. + 'DISTPATH': CONF['distpath'], + 'HOMEPATH': HOMEPATH, + 'SPEC': CONF['spec'], + 'specnm': CONF['specnm'], + 'SPECPATH': CONF['specpath'], + 'WARNFILE': CONF['warnfile'], + 'workpath': CONF['workpath'], + # PyInstaller classes for .spec. + 'TOC': TOC, # Kept for backward compatibility even though `TOC` class is deprecated. + 'Analysis': Analysis, + 'BUNDLE': BUNDLE, + 'COLLECT': COLLECT, + 'EXE': EXE, + 'MERGE': MERGE, + 'PYZ': PYZ, + 'Tree': Tree, + 'Splash': Splash, + # Python modules available for .spec. + 'os': os, + } + + # Execute the specfile. Read it as a binary file... + try: + with open(spec, 'rb') as f: + # ... then let Python determine the encoding, since ``compile`` accepts byte strings. + code = compile(f.read(), spec, 'exec') + except FileNotFoundError: + raise SystemExit(f'ERROR: Spec file "{spec}" not found!') + exec(code, spec_namespace) + + logger.info("Build complete! The results are available in: %s", CONF['distpath']) + + +def __add_options(parser): + parser.add_argument( + "--distpath", + metavar="DIR", + default=DEFAULT_DISTPATH, + help="Where to put the bundled app (default: ./dist)", + ) + parser.add_argument( + '--workpath', + default=DEFAULT_WORKPATH, + help="Where to put all the temporary work files, .log, .pyz and etc. (default: ./build)", + ) + parser.add_argument( + '-y', + '--noconfirm', + action="store_true", + default=False, + help="Replace output directory (default: %s) without asking for confirmation" % + os.path.join('SPECPATH', 'dist', 'SPECNAME'), + ) + parser.add_argument( + '--upx-dir', + default=None, + help="Path to UPX utility (default: search the execution path)", + ) + parser.add_argument( + '--clean', + dest='clean_build', + action='store_true', + default=False, + help="Clean PyInstaller cache and remove temporary files before building.", + ) + + +def main( + pyi_config, + specfile, + noconfirm=False, + distpath=DEFAULT_DISTPATH, + workpath=DEFAULT_WORKPATH, + upx_dir=None, + clean_build=False, + **kw +): + from PyInstaller.config import CONF + CONF['noconfirm'] = noconfirm + + # If configuration dict is supplied - skip configuration step. + if pyi_config is None: + import PyInstaller.configure as configure + CONF.update(configure.get_config(upx_dir=upx_dir)) + else: + CONF.update(pyi_config) + + CONF['ui_admin'] = kw.get('ui_admin', False) + CONF['ui_access'] = kw.get('ui_uiaccess', False) + + build(specfile, distpath, workpath, clean_build) diff --git a/.venv/Lib/site-packages/PyInstaller/building/datastruct.py b/.venv/Lib/site-packages/PyInstaller/building/datastruct.py new file mode 100644 index 0000000..ca16286 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/building/datastruct.py @@ -0,0 +1,459 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +import os +import pathlib +import warnings + +from PyInstaller import log as logging +from PyInstaller.building.utils import _check_guts_eq +from PyInstaller.utils import misc + +logger = logging.getLogger(__name__) + + +def unique_name(entry): + """ + Return the filename used to enforce uniqueness for the given TOC entry. + + Parameters + ---------- + entry : tuple + + Returns + ------- + unique_name: str + """ + name, path, typecode = entry + if typecode in ('BINARY', 'DATA', 'EXTENSION', 'DEPENDENCY'): + name = os.path.normcase(name) + + return name + + +# This class is deprecated and has been replaced by plain lists with explicit normalization (de-duplication) via +# `normalize_toc` and `normalize_pyz_toc` helper functions. +class TOC(list): + """ + TOC (Table of Contents) class is a list of tuples of the form (name, path, typecode). + + typecode name path description + -------------------------------------------------------------------------------------- + EXTENSION Python internal name. Full path name in build. Extension module. + PYSOURCE Python internal name. Full path name in build. Script. + PYMODULE Python internal name. Full path name in build. Pure Python module (including __init__ modules). + PYZ Runtime name. Full path name in build. A .pyz archive (ZlibArchive data structure). + PKG Runtime name. Full path name in build. A .pkg archive (Carchive data structure). + BINARY Runtime name. Full path name in build. Shared library. + DATA Runtime name. Full path name in build. Arbitrary files. + OPTION The option. Unused. Python runtime option (frozen into executable). + + A TOC contains various types of files. A TOC contains no duplicates and preserves order. + PyInstaller uses TOC data type to collect necessary files bundle them into an executable. + """ + def __init__(self, initlist=None): + super().__init__() + + # Deprecation warning + warnings.warn( + "TOC class is deprecated. Use a plain list of 3-element tuples instead.", + DeprecationWarning, + stacklevel=2, + ) + + self.filenames = set() + if initlist: + for entry in initlist: + self.append(entry) + + def append(self, entry): + if not isinstance(entry, tuple): + logger.info("TOC found a %s, not a tuple", entry) + raise TypeError("Expected tuple, not %s." % type(entry).__name__) + + unique = unique_name(entry) + + if unique not in self.filenames: + self.filenames.add(unique) + super().append(entry) + + def insert(self, pos, entry): + if not isinstance(entry, tuple): + logger.info("TOC found a %s, not a tuple", entry) + raise TypeError("Expected tuple, not %s." % type(entry).__name__) + unique = unique_name(entry) + + if unique not in self.filenames: + self.filenames.add(unique) + super().insert(pos, entry) + + def __add__(self, other): + result = TOC(self) + result.extend(other) + return result + + def __radd__(self, other): + result = TOC(other) + result.extend(self) + return result + + def __iadd__(self, other): + for entry in other: + self.append(entry) + return self + + def extend(self, other): + # TODO: look if this can be done more efficient with out the loop, e.g. by not using a list as base at all. + for entry in other: + self.append(entry) + + def __sub__(self, other): + # Construct new TOC with entries not contained in the other TOC + other = TOC(other) + return TOC([entry for entry in self if unique_name(entry) not in other.filenames]) + + def __rsub__(self, other): + result = TOC(other) + return result.__sub__(self) + + def __setitem__(self, key, value): + if isinstance(key, slice): + if key == slice(None, None, None): + # special case: set the entire list + self.filenames = set() + self.clear() + self.extend(value) + return + else: + raise KeyError("TOC.__setitem__ doesn't handle slices") + + else: + old_value = self[key] + old_name = unique_name(old_value) + self.filenames.remove(old_name) + + new_name = unique_name(value) + if new_name not in self.filenames: + self.filenames.add(new_name) + super(TOC, self).__setitem__(key, value) + + +class Target: + invcnum = 0 + + def __init__(self): + from PyInstaller.config import CONF + + # Get a (per class) unique number to avoid conflicts between toc objects + self.invcnum = self.__class__.invcnum + self.__class__.invcnum += 1 + self.tocfilename = os.path.join(CONF['workpath'], '%s-%02d.toc' % (self.__class__.__name__, self.invcnum)) + self.tocbasename = os.path.basename(self.tocfilename) + self.dependencies = [] + + def __postinit__(self): + """ + Check if the target need to be rebuild and if so, re-assemble. + + `__postinit__` is to be called at the end of `__init__` of every subclass of Target. `__init__` is meant to + setup the parameters and `__postinit__` is checking if rebuild is required and in case calls `assemble()` + """ + logger.info("checking %s", self.__class__.__name__) + data = None + last_build = misc.mtime(self.tocfilename) + if last_build == 0: + logger.info("Building %s because %s is non existent", self.__class__.__name__, self.tocbasename) + else: + try: + data = misc.load_py_data_struct(self.tocfilename) + except Exception: + logger.info("Building because %s is bad", self.tocbasename) + else: + # create a dict for easier access + data = dict(zip((g[0] for g in self._GUTS), data)) + # assemble if previous data was not found or is outdated + if not data or self._check_guts(data, last_build): + self.assemble() + self._save_guts() + + _GUTS = [] + + def _check_guts(self, data, last_build): + """ + Returns True if rebuild/assemble is required. + """ + if len(data) != len(self._GUTS): + logger.info("Building because %s is bad", self.tocbasename) + return True + for attr, func in self._GUTS: + if func is None: + # no check for this value + continue + if func(attr, data[attr], getattr(self, attr), last_build): + return True + return False + + def _save_guts(self): + """ + Save the input parameters and the work-product of this run to maybe avoid regenerating it later. + """ + data = tuple(getattr(self, g[0]) for g in self._GUTS) + misc.save_py_data_struct(self.tocfilename, data) + + +class Tree(Target, list): + """ + This class is a way of creating a TOC (Table of Contents) list that describes some or all of the files within a + directory. + """ + def __init__(self, root=None, prefix=None, excludes=None, typecode='DATA'): + """ + root + The root of the tree (on the build system). + prefix + Optional prefix to the names of the target system. + excludes + A list of names to exclude. Two forms are allowed: + + name + Files with this basename will be excluded (do not include the path). + *.ext + Any file with the given extension will be excluded. + typecode + The typecode to be used for all files found in this tree. See the TOC class for for information about + the typcodes. + """ + Target.__init__(self) + list.__init__(self) + self.root = root + self.prefix = prefix + self.excludes = excludes + self.typecode = typecode + if excludes is None: + self.excludes = [] + self.__postinit__() + + _GUTS = ( # input parameters + ('root', _check_guts_eq), + ('prefix', _check_guts_eq), + ('excludes', _check_guts_eq), + ('typecode', _check_guts_eq), + ('data', None), # tested below + # no calculated/analysed values + ) + + def _check_guts(self, data, last_build): + if Target._check_guts(self, data, last_build): + return True + # Walk the collected directories as check if they have been changed - which means files have been added or + # removed. There is no need to check for the files, since `Tree` is only about the directory contents (which is + # the list of files). + stack = [data['root']] + while stack: + d = stack.pop() + if misc.mtime(d) > last_build: + logger.info("Building %s because directory %s changed", self.tocbasename, d) + return True + for nm in os.listdir(d): + path = os.path.join(d, nm) + if os.path.isdir(path): + stack.append(path) + self[:] = data['data'] # collected files + return False + + def _save_guts(self): + # Use the attribute `data` to save the list + self.data = self + super()._save_guts() + del self.data + + def assemble(self): + logger.info("Building Tree %s", self.tocbasename) + stack = [(self.root, self.prefix)] + excludes = set() + xexcludes = set() + for name in self.excludes: + if name.startswith('*'): + xexcludes.add(name[1:]) + else: + excludes.add(name) + result = [] + while stack: + dir, prefix = stack.pop() + for filename in os.listdir(dir): + if filename in excludes: + continue + ext = os.path.splitext(filename)[1] + if ext in xexcludes: + continue + fullfilename = os.path.join(dir, filename) + if prefix: + resfilename = os.path.join(prefix, filename) + else: + resfilename = filename + if os.path.isdir(fullfilename): + stack.append((fullfilename, resfilename)) + else: + result.append((resfilename, fullfilename, self.typecode)) + self[:] = result + + +def normalize_toc(toc): + # Default priority: 0 + _TOC_TYPE_PRIORITIES = { + # DEPENDENCY entries need to replace original entries, so they need the highest priority. + 'DEPENDENCY': 3, + # SYMLINK entries have higher priority than other regular entries + 'SYMLINK': 2, + # BINARY/EXTENSION entries undergo additional processing, so give them precedence over DATA and other entries. + 'BINARY': 1, + 'EXTENSION': 1, + } + + def _type_case_normalization_fcn(typecode): + # Case-normalize all entries except OPTION. + return typecode not in { + "OPTION", + } + + return _normalize_toc(toc, _TOC_TYPE_PRIORITIES, _type_case_normalization_fcn) + + +def normalize_pyz_toc(toc): + # Default priority: 0 + _TOC_TYPE_PRIORITIES = { + # Ensure that entries with higher optimization level take precedence. + 'PYMODULE-2': 2, + 'PYMODULE-1': 1, + 'PYMODULE': 0, + } + + return _normalize_toc(toc, _TOC_TYPE_PRIORITIES) + + +def _normalize_toc(toc, toc_type_priorities, type_case_normalization_fcn=lambda typecode: False): + options_toc = [] + tmp_toc = dict() + for dest_name, src_name, typecode in toc: + # Exempt OPTION entries from de-duplication processing. Some options might allow being specified multiple times. + if typecode == 'OPTION': + options_toc.append(((dest_name, src_name, typecode))) + continue + + # Always sanitize the dest_name with `os.path.normpath` to remove any local loops with parent directory path + # components. `pathlib` does not seem to offer equivalent functionality. + dest_name = os.path.normpath(dest_name) + + # Normalize the destination name for uniqueness. Use `pathlib.PurePath` to ensure that keys are both + # case-normalized (on OSes where applicable) and directory-separator normalized (just in case). + if type_case_normalization_fcn(typecode): + entry_key = pathlib.PurePath(dest_name) + else: + entry_key = dest_name + + existing_entry = tmp_toc.get(entry_key) + if existing_entry is None: + # Entry does not exist - insert + tmp_toc[entry_key] = (dest_name, src_name, typecode) + else: + # Entry already exists - replace if its typecode has higher priority + _, _, existing_typecode = existing_entry + if toc_type_priorities.get(typecode, 0) > toc_type_priorities.get(existing_typecode, 0): + tmp_toc[entry_key] = (dest_name, src_name, typecode) + + # Return the items as list. The order matches the original order due to python dict maintaining the insertion order. + # The exception are OPTION entries, which are now placed at the beginning of the TOC. + return options_toc + list(tmp_toc.values()) + + +def toc_process_symbolic_links(toc): + """ + Process TOC entries and replace entries whose files are symbolic links with SYMLINK entries (provided original file + is also being collected). + """ + # Dictionary of all destination names, for a fast look-up. + all_dest_files = set([dest_name for dest_name, src_name, typecode in toc]) + + # Process the TOC to create SYMLINK entries + new_toc = [] + for entry in toc: + dest_name, src_name, typecode = entry + + # Skip entries that are already symbolic links + if typecode == 'SYMLINK': + new_toc.append(entry) + continue + + # Skip entries without valid source name (e.g., OPTION) + if not src_name: + new_toc.append(entry) + continue + + # Source path is not a symbolic link (i.e., it is a regular file or directory) + if not os.path.islink(src_name): + new_toc.append(entry) + continue + + # Try preserving the symbolic link, under strict relative-relationship-preservation check + symlink_entry = _try_preserving_symbolic_link(dest_name, src_name, all_dest_files) + + if symlink_entry: + new_toc.append(symlink_entry) + else: + new_toc.append(entry) + + return new_toc + + +def _try_preserving_symbolic_link(dest_name, src_name, all_dest_files): + seen_src_files = set() + + # Set initial values for the loop + ref_src_file = src_name + ref_dest_file = dest_name + + while True: + # Guard against cyclic links... + if ref_src_file in seen_src_files: + break + seen_src_files.add(ref_src_file) + + # Stop when referenced source file is not a symbolic link anymore. + if not os.path.islink(ref_src_file): + break + + # Read the symbolic link's target, but do not fully resolve it using os.path.realpath(), because there might be + # other symbolic links involved as well (for example, /lib64 -> /usr/lib64 whereas we are processing + # /lib64/liba.so -> /lib64/liba.so.1) + symlink_target = os.readlink(ref_src_file) + if os.path.isabs(symlink_target): + break # We support only relative symbolic links. + + ref_dest_file = os.path.join(os.path.dirname(ref_dest_file), symlink_target) + ref_dest_file = os.path.normpath(ref_dest_file) # remove any '..' + + ref_src_file = os.path.join(os.path.dirname(ref_src_file), symlink_target) + ref_src_file = os.path.normpath(ref_src_file) # remove any '..' + + # Check if referenced destination file is valid (i.e., we are collecting a file under referenced name). + if ref_dest_file in all_dest_files: + # Sanity check: original source name and current referenced source name must, after complete resolution, + # point to the same file. + if os.path.realpath(src_name) == os.path.realpath(ref_src_file): + # Compute relative link for the destination file (might be modified, if we went over non-collected + # intermediate links). + rel_link = os.path.relpath(ref_dest_file, os.path.dirname(dest_name)) + return dest_name, rel_link, 'SYMLINK' + + # If referenced destination is not valid, do another iteration in case we are dealing with chained links and we + # are not collecting an intermediate link... + + return None diff --git a/.venv/Lib/site-packages/PyInstaller/building/icon.py b/.venv/Lib/site-packages/PyInstaller/building/icon.py new file mode 100644 index 0000000..de298f2 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/building/icon.py @@ -0,0 +1,90 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2022-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from typing import Tuple + +import os +import hashlib + + +def normalize_icon_type(icon_path: str, allowed_types: Tuple[str], convert_type: str, workpath: str) -> str: + """ + Returns a valid icon path or raises an Exception on error. + Ensures that the icon exists, and, if necessary, attempts to convert it to correct OS-specific format using Pillow. + + Takes: + icon_path - the icon given by the user + allowed_types - a tuple of icon formats that should be allowed through + EX: ("ico", "exe") + convert_type - the type to attempt conversion too if necessary + EX: "icns" + workpath - the temp directory to save any newly generated image files + """ + + # explicitly error if file not found + if not os.path.exists(icon_path): + raise FileNotFoundError(f"Icon input file {icon_path} not found") + + _, extension = os.path.splitext(icon_path) + extension = extension[1:] # get rid of the "." in ".whatever" + + # if the file is already in the right format, pass it back unchanged + if extension in allowed_types: + # Check both the suffix and the header of the file to guard against the user confusing image types. + signatures = hex_signatures[extension] + with open(icon_path, "rb") as f: + header = f.read(max(len(s) for s in signatures)) + if any(list(header)[:len(s)] == s for s in signatures): + return icon_path + + # The icon type is wrong! Let's try and import PIL + try: + from PIL import Image as PILImage + import PIL + + except ImportError: + raise ValueError( + f"Received icon image '{icon_path}' which exists but is not in the correct format. On this platform, " + f"only {allowed_types} images may be used as icons. If Pillow is installed, automatic conversion will " + f"be attempted. Please install Pillow or convert your '{extension}' file to one of {allowed_types} " + f"and try again." + ) + + # Let's try to use PIL to convert the icon file type + try: + _generated_name = f"generated-{hashlib.sha256(icon_path.encode()).hexdigest()}.{convert_type}" + generated_icon = os.path.join(workpath, _generated_name) + with PILImage.open(icon_path) as im: + # If an image uses a custom palette + transparency, convert it to RGBA for a better alpha mask depth. + if im.mode == "P" and im.info.get("transparency", None) is not None: + # The bit depth of the alpha channel will be higher, and the images will look better when eventually + # scaled to multiple sizes (16,24,32,..) for the ICO format for example. + im = im.convert("RGBA") + im.save(generated_icon) + icon_path = generated_icon + except PIL.UnidentifiedImageError: + raise ValueError( + f"Something went wrong converting icon image '{icon_path}' to '.{convert_type}' with Pillow, " + f"perhaps the image format is unsupported. Try again with a different file or use a file that can " + f"be used without conversion on this platform: {allowed_types}" + ) + + return icon_path + + +# Possible initial bytes of icon types PyInstaller needs to be able to recognise. +# Taken from: https://en.wikipedia.org/wiki/List_of_file_signatures +hex_signatures = { + "png": [[0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A]], + "exe": [[0x4D, 0x5A], [0x5A, 0x4D]], + "ico": [[0x00, 0x00, 0x01, 0x00]], + "icns": [[0x69, 0x63, 0x6e, 0x73]], +} diff --git a/.venv/Lib/site-packages/PyInstaller/building/makespec.py b/.venv/Lib/site-packages/PyInstaller/building/makespec.py new file mode 100644 index 0000000..0aad832 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/building/makespec.py @@ -0,0 +1,909 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Automatically build spec files containing a description of the project. +""" + +import argparse +import os +import re +import sys + +from PyInstaller import DEFAULT_SPECPATH, HOMEPATH +from PyInstaller import log as logging +from PyInstaller.building.templates import bundleexetmplt, bundletmplt, onedirtmplt, onefiletmplt, splashtmpl +from PyInstaller.compat import is_darwin, is_win + +logger = logging.getLogger(__name__) + +# This list gives valid choices for the ``--debug`` command-line option, except for the ``all`` choice. +DEBUG_ARGUMENT_CHOICES = ['imports', 'bootloader', 'noarchive'] +# This is the ``all`` choice. +DEBUG_ALL_CHOICE = ['all'] + + +def escape_win_filepath(path): + # escape all \ with another \ after using normpath to clean up the path + return os.path.normpath(path).replace('\\', '\\\\') + + +def make_path_spec_relative(filename, spec_dir): + """ + Make the filename relative to the directory containing .spec file if filename is relative and not absolute. + Otherwise keep filename untouched. + """ + if os.path.isabs(filename): + return filename + else: + filename = os.path.abspath(filename) + # Make it relative. + filename = os.path.relpath(filename, start=spec_dir) + return filename + + +# Support for trying to avoid hard-coded paths in the .spec files. Eg, all files rooted in the Installer directory tree +# will be written using "HOMEPATH", thus allowing this spec file to be used with any Installer installation. Same thing +# could be done for other paths too. +path_conversions = ((HOMEPATH, "HOMEPATH"),) + + +class SourceDestAction(argparse.Action): + """ + A command line option which takes multiple source:dest pairs. + """ + def __init__(self, *args, default=None, metavar=None, **kwargs): + super().__init__(*args, default=[], metavar='SOURCE:DEST', **kwargs) + + def __call__(self, parser, namespace, value, option_string=None): + try: + # Find the only separator that isn't a Windows drive. + separator, = (m for m in re.finditer(rf"(^\w:[/\\])|[:{os.pathsep}]", value) if not m[1]) + except ValueError: + # Split into SRC and DEST failed, wrong syntax + raise argparse.ArgumentError(self, f'Wrong syntax, should be {self.option_strings[0]}=SOURCE:DEST') + src = value[:separator.start()] + dest = value[separator.end():] + if not src or not dest: + # Syntax was correct, but one or both of SRC and DEST was not given + raise argparse.ArgumentError(self, "You have to specify both SOURCE and DEST") + + # argparse is not particularly smart with copy by reference typed defaults. If the current list is the default, + # replace it before modifying it to avoid changing the default. + if getattr(namespace, self.dest) is self.default: + setattr(namespace, self.dest, []) + getattr(namespace, self.dest).append((src, dest)) + + +def make_variable_path(filename, conversions=path_conversions): + if not os.path.isabs(filename): + # os.path.commonpath can not compare relative and absolute paths, and if filename is not absolute, none of the + # paths in conversions will match anyway. + return None, filename + for (from_path, to_name) in conversions: + assert os.path.abspath(from_path) == from_path, ("path '%s' should already be absolute" % from_path) + try: + common_path = os.path.commonpath([filename, from_path]) + except ValueError: + # Per https://docs.python.org/3/library/os.path.html#os.path.commonpath, this raises ValueError in several + # cases which prevent computing a common path. + common_path = None + if common_path == from_path: + rest = filename[len(from_path):] + if rest.startswith(('\\', '/')): + rest = rest[1:] + return to_name, rest + return None, filename + + +def removed_key_option(x): + from PyInstaller.exceptions import RemovedCipherFeatureError + raise RemovedCipherFeatureError("Please remove your --key=xxx argument.") + + +class _RemovedFlagAction(argparse.Action): + def __init__(self, *args, **kwargs): + kwargs["help"] = argparse.SUPPRESS + kwargs["nargs"] = 0 + super().__init__(*args, **kwargs) + + +class _RemovedNoEmbedManifestAction(_RemovedFlagAction): + def __call__(self, *args, **kwargs): + from PyInstaller.exceptions import RemovedExternalManifestError + raise RemovedExternalManifestError("Please remove your --no-embed-manifest argument.") + + +class _RemovedWinPrivateAssembliesAction(_RemovedFlagAction): + def __call__(self, *args, **kwargs): + from PyInstaller.exceptions import RemovedWinSideBySideSupportError + raise RemovedWinSideBySideSupportError("Please remove your --win-private-assemblies argument.") + + +class _RemovedWinNoPreferRedirectsAction(_RemovedFlagAction): + def __call__(self, *args, **kwargs): + from PyInstaller.exceptions import RemovedWinSideBySideSupportError + raise RemovedWinSideBySideSupportError("Please remove your --win-no-prefer-redirects argument.") + + +# An object used in place of a "path string", which knows how to repr() itself using variable names instead of +# hard-coded paths. +class Path: + def __init__(self, *parts): + self.path = os.path.join(*parts) + self.variable_prefix = self.filename_suffix = None + + def __repr__(self): + if self.filename_suffix is None: + self.variable_prefix, self.filename_suffix = make_variable_path(self.path) + if self.variable_prefix is None: + return repr(self.path) + return "os.path.join(" + self.variable_prefix + "," + repr(self.filename_suffix) + ")" + + +# An object used to construct extra preamble for the spec file, in order to accommodate extra collect_*() calls from the +# command-line +class Preamble: + def __init__( + self, datas, binaries, hiddenimports, collect_data, collect_binaries, collect_submodules, collect_all, + copy_metadata, recursive_copy_metadata + ): + # Initialize with literal values - will be switched to preamble variable name later, if necessary + self.binaries = binaries or [] + self.hiddenimports = hiddenimports or [] + self.datas = datas or [] + # Preamble content + self.content = [] + + # Import statements + if collect_data: + self._add_hookutil_import('collect_data_files') + if collect_binaries: + self._add_hookutil_import('collect_dynamic_libs') + if collect_submodules: + self._add_hookutil_import('collect_submodules') + if collect_all: + self._add_hookutil_import('collect_all') + if copy_metadata or recursive_copy_metadata: + self._add_hookutil_import('copy_metadata') + if self.content: + self.content += [''] # empty line to separate the section + # Variables + if collect_data or copy_metadata or collect_all or recursive_copy_metadata: + self._add_var('datas', self.datas) + self.datas = 'datas' # switch to variable + if collect_binaries or collect_all: + self._add_var('binaries', self.binaries) + self.binaries = 'binaries' # switch to variable + if collect_submodules or collect_all: + self._add_var('hiddenimports', self.hiddenimports) + self.hiddenimports = 'hiddenimports' # switch to variable + # Content - collect_data_files + for entry in collect_data: + self._add_collect_data(entry) + # Content - copy_metadata + for entry in copy_metadata: + self._add_copy_metadata(entry) + # Content - copy_metadata(..., recursive=True) + for entry in recursive_copy_metadata: + self._add_recursive_copy_metadata(entry) + # Content - collect_binaries + for entry in collect_binaries: + self._add_collect_binaries(entry) + # Content - collect_submodules + for entry in collect_submodules: + self._add_collect_submodules(entry) + # Content - collect_all + for entry in collect_all: + self._add_collect_all(entry) + # Merge + if self.content and self.content[-1] != '': + self.content += [''] # empty line + self.content = '\n'.join(self.content) + + def _add_hookutil_import(self, name): + self.content += ['from PyInstaller.utils.hooks import {0}'.format(name)] + + def _add_var(self, name, initial_value): + self.content += ['{0} = {1}'.format(name, initial_value)] + + def _add_collect_data(self, name): + self.content += ['datas += collect_data_files(\'{0}\')'.format(name)] + + def _add_copy_metadata(self, name): + self.content += ['datas += copy_metadata(\'{0}\')'.format(name)] + + def _add_recursive_copy_metadata(self, name): + self.content += ['datas += copy_metadata(\'{0}\', recursive=True)'.format(name)] + + def _add_collect_binaries(self, name): + self.content += ['binaries += collect_dynamic_libs(\'{0}\')'.format(name)] + + def _add_collect_submodules(self, name): + self.content += ['hiddenimports += collect_submodules(\'{0}\')'.format(name)] + + def _add_collect_all(self, name): + self.content += [ + 'tmp_ret = collect_all(\'{0}\')'.format(name), + 'datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2]' + ] + + +def __add_options(parser): + """ + Add the `Makespec` options to a option-parser instance or a option group. + """ + g = parser.add_argument_group('What to generate') + g.add_argument( + "-D", + "--onedir", + dest="onefile", + action="store_false", + default=None, + help="Create a one-folder bundle containing an executable (default)", + ) + g.add_argument( + "-F", + "--onefile", + dest="onefile", + action="store_true", + default=None, + help="Create a one-file bundled executable.", + ) + g.add_argument( + "--specpath", + metavar="DIR", + help="Folder to store the generated spec file (default: current directory)", + ) + g.add_argument( + "-n", + "--name", + help="Name to assign to the bundled app and spec file (default: first script's basename)", + ) + g.add_argument( + "--contents-directory", + help="For onedir builds only, specify the name of the directory in which all supporting files (i.e. everything " + "except the executable itself) will be placed in. Use \".\" to re-enable old onedir layout without contents " + "directory.", + ) + + g = parser.add_argument_group('What to bundle, where to search') + g.add_argument( + '--add-data', + action=SourceDestAction, + dest='datas', + help="Additional data files or directories containing data files to be added to the application. The argument " + 'value should be in form of "source:dest_dir", where source is the path to file (or directory) to be ' + "collected, dest_dir is the destination directory relative to the top-level application directory, and both " + "paths are separated by a colon (:). To put a file in the top-level application directory, use . as a " + "dest_dir. This option can be used multiple times." + ) + g.add_argument( + '--add-binary', + action=SourceDestAction, + dest="binaries", + help='Additional binary files to be added to the executable. See the ``--add-data`` option for the format. ' + 'This option can be used multiple times.', + ) + g.add_argument( + "-p", + "--paths", + dest="pathex", + metavar="DIR", + action="append", + default=[], + help="A path to search for imports (like using PYTHONPATH). Multiple paths are allowed, separated by ``%s``, " + "or use this option multiple times. Equivalent to supplying the ``pathex`` argument in the spec file." % + repr(os.pathsep), + ) + g.add_argument( + '--hidden-import', + '--hiddenimport', + action='append', + default=[], + metavar="MODULENAME", + dest='hiddenimports', + help='Name an import not visible in the code of the script(s). This option can be used multiple times.', + ) + g.add_argument( + '--collect-submodules', + action="append", + default=[], + metavar="MODULENAME", + dest='collect_submodules', + help='Collect all submodules from the specified package or module. This option can be used multiple times.', + ) + g.add_argument( + '--collect-data', + '--collect-datas', + action="append", + default=[], + metavar="MODULENAME", + dest='collect_data', + help='Collect all data from the specified package or module. This option can be used multiple times.', + ) + g.add_argument( + '--collect-binaries', + action="append", + default=[], + metavar="MODULENAME", + dest='collect_binaries', + help='Collect all binaries from the specified package or module. This option can be used multiple times.', + ) + g.add_argument( + '--collect-all', + action="append", + default=[], + metavar="MODULENAME", + dest='collect_all', + help='Collect all submodules, data files, and binaries from the specified package or module. This option can ' + 'be used multiple times.', + ) + g.add_argument( + '--copy-metadata', + action="append", + default=[], + metavar="PACKAGENAME", + dest='copy_metadata', + help='Copy metadata for the specified package. This option can be used multiple times.', + ) + g.add_argument( + '--recursive-copy-metadata', + action="append", + default=[], + metavar="PACKAGENAME", + dest='recursive_copy_metadata', + help='Copy metadata for the specified package and all its dependencies. This option can be used multiple ' + 'times.', + ) + g.add_argument( + "--additional-hooks-dir", + action="append", + dest="hookspath", + default=[], + help="An additional path to search for hooks. This option can be used multiple times.", + ) + g.add_argument( + '--runtime-hook', + action='append', + dest='runtime_hooks', + default=[], + help='Path to a custom runtime hook file. A runtime hook is code that is bundled with the executable and is ' + 'executed before any other code or module to set up special features of the runtime environment. This option ' + 'can be used multiple times.', + ) + g.add_argument( + '--exclude-module', + dest='excludes', + action='append', + default=[], + help='Optional module or package (the Python name, not the path name) that will be ignored (as though it was ' + 'not found). This option can be used multiple times.', + ) + g.add_argument( + '--key', + dest='key', + help=argparse.SUPPRESS, + type=removed_key_option, + ) + g.add_argument( + '--splash', + dest='splash', + metavar="IMAGE_FILE", + help="(EXPERIMENTAL) Add an splash screen with the image IMAGE_FILE to the application. The splash screen can " + "display progress updates while unpacking.", + ) + + g = parser.add_argument_group('How to generate') + g.add_argument( + "-d", + "--debug", + # If this option is not specified, then its default value is an empty list (no debug options selected). + default=[], + # Note that ``nargs`` is omitted. This produces a single item not stored in a list, as opposed to a list + # containing one item, as per `nargs `_. + nargs=None, + # The options specified must come from this list. + choices=DEBUG_ALL_CHOICE + DEBUG_ARGUMENT_CHOICES, + # Append choice, rather than storing them (which would overwrite any previous selections). + action='append', + # Allow newlines in the help text; see the ``_SmartFormatter`` in ``__main__.py``. + help=( + "R|Provide assistance with debugging a frozen\n" + "application. This argument may be provided multiple\n" + "times to select several of the following options.\n" + "\n" + "- all: All three of the following options.\n" + "\n" + "- imports: specify the -v option to the underlying\n" + " Python interpreter, causing it to print a message\n" + " each time a module is initialized, showing the\n" + " place (filename or built-in module) from which it\n" + " is loaded. See\n" + " https://docs.python.org/3/using/cmdline.html#id4.\n" + "\n" + "- bootloader: tell the bootloader to issue progress\n" + " messages while initializing and starting the\n" + " bundled app. Used to diagnose problems with\n" + " missing imports.\n" + "\n" + "- noarchive: instead of storing all frozen Python\n" + " source files as an archive inside the resulting\n" + " executable, store them as files in the resulting\n" + " output directory.\n" + "\n" + ), + ) + g.add_argument( + '--optimize', + dest='optimize', + metavar='LEVEL', + type=int, + choices={-1, 0, 1, 2}, + default=None, + help='Bytecode optimization level used for collected python modules and scripts. For details, see the section ' + '“Bytecode Optimization Level” in PyInstaller manual.', + ) + g.add_argument( + '--python-option', + dest='python_options', + metavar='PYTHON_OPTION', + action='append', + default=[], + help='Specify a command-line option to pass to the Python interpreter at runtime. Currently supports ' + '"v" (equivalent to "--debug imports"), "u", "W ", "X ", and "hash_seed=". ' + 'For details, see the section "Specifying Python Interpreter Options" in PyInstaller manual.', + ) + g.add_argument( + "-s", + "--strip", + action="store_true", + help="Apply a symbol-table strip to the executable and shared libs (not recommended for Windows)", + ) + g.add_argument( + "--noupx", + action="store_true", + default=False, + help="Do not use UPX even if it is available (works differently between Windows and *nix)", + ) + g.add_argument( + "--upx-exclude", + dest="upx_exclude", + metavar="FILE", + action="append", + help="Prevent a binary from being compressed when using upx. This is typically used if upx corrupts certain " + "binaries during compression. FILE is the filename of the binary without path. This option can be used " + "multiple times.", + ) + + g = parser.add_argument_group('Windows and macOS specific options') + g.add_argument( + "-c", + "--console", + "--nowindowed", + dest="console", + action="store_true", + default=None, + help="Open a console window for standard i/o (default). On Windows this option has no effect if the first " + "script is a '.pyw' file.", + ) + g.add_argument( + "-w", + "--windowed", + "--noconsole", + dest="console", + action="store_false", + default=None, + help="Windows and macOS: do not provide a console window for standard i/o. On macOS this also triggers " + "building a macOS .app bundle. On Windows this option is automatically set if the first script is a '.pyw' " + "file. This option is ignored on *NIX systems.", + ) + g.add_argument( + "--hide-console", + type=str, + choices={'hide-early', 'hide-late', 'minimize-early', 'minimize-late'}, + default=None, + help="Windows only: in console-enabled executable, have bootloader automatically hide or minimize the console " + "window if the program owns the console window (i.e., was not launched from an existing console window).", + ) + g.add_argument( + "-i", + "--icon", + action='append', + dest="icon_file", + metavar='', + help="FILE.ico: apply the icon to a Windows executable. FILE.exe,ID: extract the icon with ID from an exe. " + "FILE.icns: apply the icon to the .app bundle on macOS. If an image file is entered that isn't in the " + "platform format (ico on Windows, icns on Mac), PyInstaller tries to use Pillow to translate the icon into " + "the correct format (if Pillow is installed). Use \"NONE\" to not apply any icon, thereby making the OS show " + "some default (default: apply PyInstaller's icon). This option can be used multiple times.", + ) + g.add_argument( + "--disable-windowed-traceback", + dest="disable_windowed_traceback", + action="store_true", + default=False, + help="Disable traceback dump of unhandled exception in windowed (noconsole) mode (Windows and macOS only), " + "and instead display a message that this feature is disabled.", + ) + + g = parser.add_argument_group('Windows specific options') + g.add_argument( + "--version-file", + dest="version_file", + metavar="FILE", + help="Add a version resource from FILE to the exe.", + ) + g.add_argument( + "--manifest", + metavar="", + help="Add manifest FILE or XML to the exe.", + ) + g.add_argument( + "-m", + dest="shorthand_manifest", + metavar="", + help="Deprecated shorthand for --manifest.", + ) + g.add_argument( + "--no-embed-manifest", + action=_RemovedNoEmbedManifestAction, + ) + g.add_argument( + "-r", + "--resource", + dest="resources", + metavar="RESOURCE", + action="append", + default=[], + help="Add or update a resource to a Windows executable. The RESOURCE is one to four items, " + "FILE[,TYPE[,NAME[,LANGUAGE]]]. FILE can be a data file or an exe/dll. For data files, at least TYPE and NAME " + "must be specified. LANGUAGE defaults to 0 or may be specified as wildcard * to update all resources of the " + "given TYPE and NAME. For exe/dll files, all resources from FILE will be added/updated to the final executable " + "if TYPE, NAME and LANGUAGE are omitted or specified as wildcard *. This option can be used multiple times.", + ) + g.add_argument( + '--uac-admin', + dest='uac_admin', + action="store_true", + default=False, + help="Using this option creates a Manifest that will request elevation upon application start.", + ) + g.add_argument( + '--uac-uiaccess', + dest='uac_uiaccess', + action="store_true", + default=False, + help="Using this option allows an elevated application to work with Remote Desktop.", + ) + + g = parser.add_argument_group('Windows Side-by-side Assembly searching options (advanced)') + g.add_argument( + "--win-private-assemblies", + action=_RemovedWinPrivateAssembliesAction, + ) + g.add_argument( + "--win-no-prefer-redirects", + action=_RemovedWinNoPreferRedirectsAction, + ) + + g = parser.add_argument_group('macOS specific options') + g.add_argument( + "--argv-emulation", + dest="argv_emulation", + action="store_true", + default=False, + help="Enable argv emulation for macOS app bundles. If enabled, the initial open document/URL event is " + "processed by the bootloader and the passed file paths or URLs are appended to sys.argv.", + ) + + g.add_argument( + '--osx-bundle-identifier', + dest='bundle_identifier', + help="macOS .app bundle identifier is used as the default unique program name for code signing purposes. " + "The usual form is a hierarchical name in reverse DNS notation. For example: com.mycompany.department.appname " + "(default: first script's basename)", + ) + + g.add_argument( + '--target-architecture', + '--target-arch', + dest='target_arch', + metavar='ARCH', + default=None, + help="Target architecture (macOS only; valid values: x86_64, arm64, universal2). Enables switching between " + "universal2 and single-arch version of frozen application (provided python installation supports the target " + "architecture). If not target architecture is not specified, the current running architecture is targeted.", + ) + + g.add_argument( + '--codesign-identity', + dest='codesign_identity', + metavar='IDENTITY', + default=None, + help="Code signing identity (macOS only). Use the provided identity to sign collected binaries and generated " + "executable. If signing identity is not provided, ad-hoc signing is performed instead.", + ) + + g.add_argument( + '--osx-entitlements-file', + dest='entitlements_file', + metavar='FILENAME', + default=None, + help="Entitlements file to use when code-signing the collected binaries (macOS only).", + ) + + g = parser.add_argument_group('Rarely used special options') + g.add_argument( + "--runtime-tmpdir", + dest="runtime_tmpdir", + metavar="PATH", + help="Where to extract libraries and support files in `onefile` mode. If this option is given, the bootloader " + "will ignore any temp-folder location defined by the run-time OS. The ``_MEIxxxxxx``-folder will be created " + "here. Please use this option only if you know what you are doing. Note that on POSIX systems, PyInstaller's " + "bootloader does NOT perform shell-style environment variable expansion on the given path string. Therefore, " + "using environment variables (e.g., ``~`` or ``$HOME``) in path will NOT work.", + ) + g.add_argument( + "--bootloader-ignore-signals", + action="store_true", + default=False, + help="Tell the bootloader to ignore signals rather than forwarding them to the child process. Useful in " + "situations where for example a supervisor process signals both the bootloader and the child (e.g., via a " + "process group) to avoid signalling the child twice.", + ) + + +def main( + scripts, + name=None, + onefile=False, + console=True, + debug=[], + python_options=[], + strip=False, + noupx=False, + upx_exclude=None, + runtime_tmpdir=None, + contents_directory=None, + pathex=[], + version_file=None, + specpath=None, + bootloader_ignore_signals=False, + disable_windowed_traceback=False, + datas=[], + binaries=[], + icon_file=None, + manifest=None, + resources=[], + bundle_identifier=None, + hiddenimports=[], + hookspath=[], + runtime_hooks=[], + excludes=[], + uac_admin=False, + uac_uiaccess=False, + collect_submodules=[], + collect_binaries=[], + collect_data=[], + collect_all=[], + copy_metadata=[], + splash=None, + recursive_copy_metadata=[], + target_arch=None, + codesign_identity=None, + entitlements_file=None, + argv_emulation=False, + hide_console=None, + optimize=None, + **_kwargs +): + # Default values for onefile and console when not explicitly specified on command-line (indicated by None) + if onefile is None: + onefile = False + + if console is None: + console = True + + # If appname is not specified - use the basename of the main script as name. + if name is None: + name = os.path.splitext(os.path.basename(scripts[0]))[0] + + # If specpath not specified - use default value - current working directory. + if specpath is None: + specpath = DEFAULT_SPECPATH + else: + # Expand starting tilde into user's home directory, as a work-around for tilde not being expanded by shell when + # using `--specpath=~/path/abc` instead of `--specpath ~/path/abc` (or when the path argument is quoted). + specpath = os.path.expanduser(specpath) + # If cwd is the root directory of PyInstaller, generate the .spec file in ./appname/ subdirectory. + if specpath == HOMEPATH: + specpath = os.path.join(HOMEPATH, name) + # Create directory tree if missing. + if not os.path.exists(specpath): + os.makedirs(specpath) + + # Handle additional EXE options. + exe_options = '' + if version_file: + exe_options += "\n version='%s'," % escape_win_filepath(version_file) + if uac_admin: + exe_options += "\n uac_admin=True," + if uac_uiaccess: + exe_options += "\n uac_uiaccess=True," + if icon_file: + # Icon file for Windows. + # On Windows, the default icon is embedded in the bootloader executable. + if icon_file[0] == 'NONE': + exe_options += "\n icon='NONE'," + else: + exe_options += "\n icon=[%s]," % ','.join("'%s'" % escape_win_filepath(ic) for ic in icon_file) + # Icon file for macOS. + # We need to encapsulate it into apostrofes. + icon_file = "'%s'" % icon_file[0] + else: + # On macOS, the default icon has to be copied into the .app bundle. + # The the text value 'None' means - use default icon. + icon_file = 'None' + if contents_directory: + exe_options += "\n contents_directory='%s'," % (contents_directory or "_internal") + if hide_console: + exe_options += "\n hide_console='%s'," % hide_console + + if bundle_identifier: + # We need to encapsulate it into apostrofes. + bundle_identifier = "'%s'" % bundle_identifier + + if _kwargs["shorthand_manifest"]: + manifest = _kwargs["shorthand_manifest"] + logger.log( + logging.DEPRECATION, "PyInstaller v7 will remove the -m shorthand flag. Please use --manifest=%s instead", + manifest + ) + if manifest: + if "<" in manifest: + # Assume XML string + exe_options += "\n manifest='%s'," % manifest.replace("'", "\\'") + else: + # Assume filename + exe_options += "\n manifest='%s'," % escape_win_filepath(manifest) + if resources: + resources = list(map(escape_win_filepath, resources)) + exe_options += "\n resources=%s," % repr(resources) + + hiddenimports = hiddenimports or [] + upx_exclude = upx_exclude or [] + + if is_darwin and onefile and not console: + from PyInstaller.building.osx import WINDOWED_ONEFILE_DEPRCATION + logger.log(logging.DEPRECATION, WINDOWED_ONEFILE_DEPRCATION) + + # If file extension of the first script is '.pyw', force --windowed option. + if is_win and os.path.splitext(scripts[0])[-1] == '.pyw': + console = False + + # If script paths are relative, make them relative to the directory containing .spec file. + scripts = [make_path_spec_relative(x, specpath) for x in scripts] + # With absolute paths replace prefix with variable HOMEPATH. + scripts = list(map(Path, scripts)) + + # Translate the default of ``debug=None`` to an empty list. + if debug is None: + debug = [] + # Translate the ``all`` option. + if DEBUG_ALL_CHOICE[0] in debug: + debug = DEBUG_ARGUMENT_CHOICES + + # Create preamble (for collect_*() calls) + preamble = Preamble( + datas, binaries, hiddenimports, collect_data, collect_binaries, collect_submodules, collect_all, copy_metadata, + recursive_copy_metadata + ) + + if splash: + splash_init = splashtmpl % {'splash_image': splash} + splash_binaries = "\n splash.binaries," + splash_target = "\n splash," + else: + splash_init = splash_binaries = splash_target = "" + + # Infer byte-code optimization level. + opt_level = sum([opt == 'O' for opt in python_options]) + if opt_level > 2: + logger.warning( + "The switch '--python-option O' has been specified %d times - it should be specified at most twice!", + opt_level, + ) + opt_level = 2 + + if optimize is None: + if opt_level == 0: + # Infer from running python process + optimize = sys.flags.optimize + else: + # Infer from `--python-option O` switch(es). + optimize = opt_level + elif optimize != opt_level and opt_level != 0: + logger.warning( + "Mismatch between optimization level passed via --optimize switch (%d) and number of '--python-option O' " + "switches (%d)!", + optimize, + opt_level, + ) + + if optimize >= 0: + # Ensure OPTIONs passed to bootloader match the optimization settings. + python_options += max(0, optimize - opt_level) * ['O'] + + # Create OPTIONs array + if 'imports' in debug and 'v' not in python_options: + python_options.append('v') + python_options_array = [(opt, None, 'OPTION') for opt in python_options] + + d = { + 'scripts': scripts, + 'pathex': pathex or [], + 'binaries': preamble.binaries, + 'datas': preamble.datas, + 'hiddenimports': preamble.hiddenimports, + 'preamble': preamble.content, + 'name': name, + 'noarchive': 'noarchive' in debug, + 'optimize': optimize, + 'options': python_options_array, + 'debug_bootloader': 'bootloader' in debug, + 'bootloader_ignore_signals': bootloader_ignore_signals, + 'strip': strip, + 'upx': not noupx, + 'upx_exclude': upx_exclude, + 'runtime_tmpdir': runtime_tmpdir, + 'exe_options': exe_options, + # Directory with additional custom import hooks. + 'hookspath': hookspath, + # List with custom runtime hook files. + 'runtime_hooks': runtime_hooks or [], + # List of modules/packages to ignore. + 'excludes': excludes or [], + # only Windows and macOS distinguish windowed and console apps + 'console': console, + 'disable_windowed_traceback': disable_windowed_traceback, + # Icon filename. Only macOS uses this item. + 'icon': icon_file, + # .app bundle identifier. Only macOS uses this item. + 'bundle_identifier': bundle_identifier, + # argv emulation (macOS only) + 'argv_emulation': argv_emulation, + # Target architecture (macOS only) + 'target_arch': target_arch, + # Code signing identity (macOS only) + 'codesign_identity': codesign_identity, + # Entitlements file (macOS only) + 'entitlements_file': entitlements_file, + # splash screen + 'splash_init': splash_init, + 'splash_target': splash_target, + 'splash_binaries': splash_binaries, + } + + # Write down .spec file to filesystem. + specfnm = os.path.join(specpath, name + '.spec') + with open(specfnm, 'w', encoding='utf-8') as specfile: + if onefile: + specfile.write(onefiletmplt % d) + # For macOS create .app bundle. + if is_darwin and not console: + specfile.write(bundleexetmplt % d) + else: + specfile.write(onedirtmplt % d) + # For macOS create .app bundle. + if is_darwin and not console: + specfile.write(bundletmplt % d) + + return specfnm diff --git a/.venv/Lib/site-packages/PyInstaller/building/osx.py b/.venv/Lib/site-packages/PyInstaller/building/osx.py new file mode 100644 index 0000000..dca5649 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/building/osx.py @@ -0,0 +1,736 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +import os +import pathlib +import plistlib +import shutil +import subprocess + +from PyInstaller import log as logging +from PyInstaller.building.api import COLLECT, EXE +from PyInstaller.building.datastruct import Target, logger, normalize_toc +from PyInstaller.building.utils import _check_path_overlap, _rmtree, process_collected_binary +from PyInstaller.compat import is_darwin, strict_collect_mode +from PyInstaller.building.icon import normalize_icon_type +import PyInstaller.utils.misc as miscutils + +if is_darwin: + import PyInstaller.utils.osx as osxutils + +# Character sequence used to replace dot (`.`) in names of directories that are created in `Contents/MacOS` or +# `Contents/Frameworks`, where only .framework bundle directories are allowed to have dot in name. +DOT_REPLACEMENT = '__dot__' + +WINDOWED_ONEFILE_DEPRCATION = ( + "Onefile mode in combination with macOS .app bundles (windowed mode) don't make sense (a .app bundle can not be a " + "single file) and clashes with macOS's security. Please migrate to onedir mode. This will become an error " + "in v7.0." +) + + +class BUNDLE(Target): + def __init__(self, *args, **kwargs): + from PyInstaller.config import CONF + + for item in args: + if isinstance(item, EXE) and not item.exclude_binaries: + logger.log(logging.DEPRECATION, WINDOWED_ONEFILE_DEPRCATION) + + # BUNDLE only has a sense under macOS, it is a noop on other platforms. + if not is_darwin: + return + + # Get a path to a .icns icon for the app bundle. + self.icon = kwargs.get('icon') + if not self.icon: + # --icon not specified; use the default in the pyinstaller folder + self.icon = os.path.join( + os.path.dirname(os.path.dirname(__file__)), 'bootloader', 'images', 'icon-windowed.icns' + ) + else: + # User gave an --icon=path. If it is relative, make it relative to the spec file location. + if not os.path.isabs(self.icon): + self.icon = os.path.join(CONF['specpath'], self.icon) + + super().__init__() + + # .app bundle is created in DISTPATH. + self.name = kwargs.get('name', None) + base_name = os.path.basename(self.name) + self.name = os.path.join(CONF['distpath'], base_name) + + self.appname = os.path.splitext(base_name)[0] + # Ensure version is a string, even if user accidentally passed an int or a float. + # Having a `CFBundleShortVersionString` entry of non-string type in `Info.plist` causes the .app bundle to + # crash at start (#4466). + self.version = str(kwargs.get("version", "0.0.0")) + self.toc = [] + self.strip = False + self.upx = False + self.console = True + self.target_arch = None + self.codesign_identity = None + self.entitlements_file = None + + # .app bundle identifier for Code Signing + self.bundle_identifier = kwargs.get('bundle_identifier') + if not self.bundle_identifier: + # Fallback to appname. + self.bundle_identifier = self.appname + + self.info_plist = kwargs.get('info_plist', None) + + for arg in args: + # Valid arguments: EXE object, COLLECT object, and TOC-like iterables + if isinstance(arg, EXE): + # Add EXE as an entry to the TOC, and merge its dependencies TOC + self.toc.append((os.path.basename(arg.name), arg.name, 'EXECUTABLE')) + self.toc.extend(arg.dependencies) + # Inherit settings + self.strip = arg.strip + self.upx = arg.upx + self.upx_exclude = arg.upx_exclude + self.console = arg.console + self.target_arch = arg.target_arch + self.codesign_identity = arg.codesign_identity + self.entitlements_file = arg.entitlements_file + elif isinstance(arg, COLLECT): + # Merge the TOC + self.toc.extend(arg.toc) + # Inherit settings + self.strip = arg.strip_binaries + self.upx = arg.upx_binaries + self.upx_exclude = arg.upx_exclude + self.console = arg.console + self.target_arch = arg.target_arch + self.codesign_identity = arg.codesign_identity + self.entitlements_file = arg.entitlements_file + elif miscutils.is_iterable(arg): + # TOC-like iterable + self.toc.extend(arg) + else: + raise TypeError(f"Invalid argument type for BUNDLE: {type(arg)!r}") + + # Infer the executable name from the first EXECUTABLE entry in the TOC; it might have come from the COLLECT + # (as opposed to the stand-alone EXE). + for dest_name, src_name, typecode in self.toc: + if typecode == "EXECUTABLE": + self.exename = src_name + break + else: + raise ValueError("No EXECUTABLE entry found in the TOC!") + + # Normalize TOC + self.toc = normalize_toc(self.toc) + + self.__postinit__() + + _GUTS = ( + # BUNDLE always builds, just want the toc to be written out + ('toc', None), + ) + + def _check_guts(self, data, last_build): + # BUNDLE always needs to be executed, in order to clean the output directory. + return True + + # Helper for determining whether the given file belongs to a .framework bundle or not. If it does, it returns + # the path to the top-level .framework bundle directory; otherwise, returns None. In case of nested .framework + # bundles, the path to the top-most .framework bundle directory is returned. + @staticmethod + def _is_framework_file(dest_path): + # NOTE: reverse the parents list because we are looking for the top-most .framework bundle directory! + for parent in reversed(dest_path.parents): + if parent.name.endswith('.framework'): + return parent + return None + + # Helper that computes relative cross-link path between link's location and target, assuming they are both + # rooted in the `Contents` directory of a macOS .app bundle. + @staticmethod + def _compute_relative_crosslink(crosslink_location, crosslink_target): + # We could take symlink_location and symlink_target as they are (relative to parent of the `Contents` + # directory), but that would introduce an unnecessary `../Contents` part. So instead, we take both paths + # relative to the `Contents` directory. + return os.path.join( + *['..' for level in pathlib.PurePath(crosslink_location).relative_to('Contents').parent.parts], + pathlib.PurePath(crosslink_target).relative_to('Contents'), + ) + + # This method takes the original (input) TOC and processes it into final TOC, based on which the `assemble` method + # performs its file collection. The TOC processing here represents the core of our efforts to generate an .app + # bundle that is compatible with Apple's code-signing requirements. + # + # For in-depth details on the code-signing, see Apple's `Technical Note TN2206: macOS Code Signing In Depth` at + # https://developer.apple.com/library/archive/technotes/tn2206/_index.html + # + # The requirements, framed from PyInstaller's perspective, can be summarized as follows: + # + # 1. The `Contents/MacOS` directory is expected to contain only the program executable and (binary) code (= dylibs + # and nested .framework bundles). Alternatively, the dylibs and .framework bundles can be also placed into + # `Contents/Frameworks` directory (where same rules apply as for `Contents/MacOS`, so the remainder of this + # text refers to the two inter-changeably, unless explicitly noted otherwise). The code in `Contents/MacOS` + # is expected to be signed, and the `codesign` utility will recursively sign all found code when using `--deep` + # option to sign the .app bundle. + # + # 2. All non-code files should be be placed in `Contents/Resources`, so they become sealed (data) resources; + # i.e., their signature data is recorded in `Contents/_CodeSignature/CodeResources`. (As a side note, + # it seems that signature information for data/resources in `Contents/Resources` is kept nder `file` key in + # the `CodeResources` file, while the information for contents in `Contents/MacOS` is kept under `file2` key). + # + # 3. The directories in `Contents/MacOS` may not contain dots (`.`) in their names, except for the nested + # .framework bundle directories. The directories in `Contents/Resources` have no such restrictions. + # + # 4. There may not be any content in the top level of a bundle. In other words, if a bundle has a `Contents` + # or a `Versions` directory at its top level, there may be no other files or directories alongside them. The + # sole exception is that alongside `Versions`, there may be symlinks to files and directories in + # `Versions/Current`. This rule is important for nested .framework bundles that we collect from python packages. + # + # Next, let us consider the consequences of violating each of the above requirements: + # + # 1. Code signing machinery can directly store signature only in Mach-O binaries and nested .framework bundles; if + # a data file is placed in `Contents/MacOS`, the signature is stored in the file's extended attributes. If the + # extended attributes are lost, the program's signature will be broken. Many file transfer techniques (e.g., a + # zip file) do not preserve extended attributes, nor are they preserved when uploading to the Mac App Store. + # + # 2. Putting code (a dylib or a .framework bundle) into `Contents/Resources` causes it to be treated as a resource; + # the outer signature (i.e., of the whole .app bundle) does not know that this nested content is actually a code. + # Consequently, signing the bundle with `codesign --deep` will NOT sign binaries placed in the + # `Contents/Resources`, which may result in missing signatures when .app bundle is verified for notarization. + # This might be worked around by signing each binary separately, and then signing the whole bundle (without the + # `--deep` option), but requires the user to keep track of the offending binaries. + # + # 3. If a directory in `Contents/MacOS` contains a dot in the name, code-signing the bundle fails with + # `bundle format unrecognized, invalid, or unsuitable` due to code signing machinery treating directory as a + # nested .framework bundle directory. + # + # 4. If nested .framework bundle is malformed, the signing of the .app bundle might succeed, but subsequent + # verification will fail, for example with `embedded framework contains modified or invalid version` (as observed + # with .framework bundles shipped by contemporary PyQt/PySide PyPI wheels). + # + # The above requirements are unfortunately often at odds with the structure of python packages: + # + # * In general, python packages are mixed-content directories, where binaries and data files may be expected to + # be found next to each other. + # + # For example, `opencv-python` provides a custom loader script that requires the package to be collected in the + # source-only form by PyInstaller (i.e., the python modules and scripts collected as source .py files). At the + # same time, it expects the .py loader script to be able to find the binary extension next to itself. + # + # Another example of mixed-mode directories are Qt QML components' sub-directories, which contain both the + # component's plugin (a binary) and associated meta files (data files). + # + # * In python world, the directories often contain dots in their names. + # + # Dots are often used for private directories containing binaries that are shipped with a package. For example, + # `numpy/.dylibs`, `scipy/.dylibs`, etc. + # + # Qt QML components may also contain a dot in their name; couple of examples from `PySide2` package: + # `PySide2/Qt/qml/QtQuick.2`, `PySide2/Qt/qml/QtQuick/Controls.2`, `PySide2/Qt/qml/QtQuick/Particles.2`, etc. + # + # The packages' metadata directories also invariably contain dots in the name due to version (for example, + # `numpy-1.24.3.dist-info`). + # + # In the light of all above, PyInstaller attempts to strictly place all files to their mandated location + # (`Contents/MacOS` or `Contents/Frameworks` vs `Contents/Resources`). To preserve the illusion of mixed-content + # directories, the content is cross-linked from one directory to the other. Specifically: + # + # * All entries with DATA typecode are assumed to be data files, and are always placed in corresponding directory + # structure rooted in `Contents/Resources`. + # + # * All entries with BINARY or EXTENSION typecode are always placed in corresponding directory structure rooted in + # `Contents/Frameworks`. + # + # * All entries with EXECUTABLE are placed in `Contents/MacOS` directory. + # + # * For the purposes of relocation, nested .framework bundles are treated as a single BINARY entity; i.e., the + # whole .bundle directory is placed in corresponding directory structure rooted in `Contents/Frameworks` (even + # though some of its contents, such as `Info.plist` file, are actually data files). + # + # * Top-level data files and binaries are always cross-linked to the other directory. For example, given a data file + # `data_file.txt` that was collected into `Contents/Resources`, we create a symbolic link called + # `Contents/MacOS/data_file.txt` that points to `../Resources/data_file.txt`. + # + # * The executable itself, while placed in `Contents/MacOS`, are cross-linked into both `Contents/Framworks` and + # `Contents/Resources`. + # + # * The stand-alone PKG entries (used with onefile builds that side-load the PKG archive) are treated as data files + # and collected into `Contents/Resources`, but cross-linked only into `Contents/MacOS` directory (because they + # must appear to be next to the program executable). This is the only entry type that is cross-linked into the + # `Contents/MacOS` directory and also the only data-like entry type that is not cross-linked into the + # `Contents/Frameworks` directory. + # + # * For files in sub-directories, the cross-linking behavior depends on the type of directory: + # + # * A data-only directory is created in directory structure rooted in `Contents/Resources`, and cross-linked + # into directory structure rooted in `Contents/Frameworks` at directory level (i.e., we link the whole + # directory instead of individual files). + # + # This largely saves us from having to deal with dots in the names of collected metadata directories, which + # are examples of data-only directories. + # + # * A binary-only directory is created in directory structure rooted in `Contents/Frameworks`, and cross-linked + # into `Contents/Resources` at directory level. + # + # * A mixed-content directory is created in both directory structures. Files are placed into corresponding + # directory structure based on their type, and cross-linked into other directory structure at file level. + # + # * This rule is applied recursively; for example, a data-only sub-directory in a mixed-content directory is + # cross-linked at directory level, while adjacent binary and data files are cross-linked at file level. + # + # * To work around the issue with dots in the names of directories in `Contents/Frameworks` (applicable to + # binary-only or mixed-content directories), such directories are created with modified name (the dot replaced + # with a pre-defined pattern). Next to the modified directory, a symbolic link with original name is created, + # pointing to the directory with modified name. With mixed-content directories, this modification is performed + # only on the `Contents/Frameworks` side; the corresponding directory in `Contents/Resources` can be created + # directly, without name modification and symbolic link. + # + # * If a symbolic link needs to be created in a mixed-content directory due to a SYMLINK entry from the original + # TOC (i.e., a "collected" symlink originating from analysis, as opposed to the cross-linking mechanism described + # above), the link is created in both directory structures, each pointing to the resource in its corresponding + # directory structure (with one such resource being an actual file, and the other being a cross-link to the file). + # + # Final remarks: + # + # NOTE: the relocation mechanism is codified by tests in `tests/functional/test_macos_bundle_structure.py`. + # + # NOTE: by placing binaries and nested .framework entries into `Contents/Frameworks` instead of `Contents/MacOS`, + # we have effectively relocated the `sys._MEIPASS` directory from the `Contents/MacOS` (= the parent directory of + # the program executable) into `Contents/Frameworks`. This requires the PyInstaller's bootloader to detect that it + # is running in the app-bundle mode (e.g., by checking if program executable's parent directory is `Contents/NacOS`) + # and adjust the path accordingly. + # + # NOTE: the implemented relocation mechanism depends on the input TOC containing properly classified entries + # w.r.t. BINARY vs DATA. So hooks and .spec files triggering collection of binaries as datas (and vice versa) will + # result in incorrect placement of those files in the generated .app bundle. However, this is *not* the proper place + # to address such issues; if necessary, automatic (re)classification should be added to analysis process, to ensure + # that BUNDLE (as well as other build targets) receive correctly classified TOC. + # + # NOTE: similar to the previous note, the relocation mechanism is also not the proper place to enforce compliant + # structure of the nested .framework bundles. Instead, this is handled by the analysis process, using the + # `PyInstaller.utils.osx.collect_files_from_framework_bundles` helper function. So the input TOC that BUNDLE + # receives should already contain entries that reconstruct compliant nested .framework bundles. + def _process_bundle_toc(self, toc): + bundle_toc = [] + + # Step 1: inspect the directory layout and classify the directories according to their contents. + directory_types = dict() + + _MIXED_DIR_TYPE = 'MIXED-DIR' + _DATA_DIR_TYPE = 'DATA-DIR' + _BINARY_DIR_TYPE = 'BINARY-DIR' + _FRAMEWORK_DIR_TYPE = 'FRAMEWORK-DIR' + + _TOP_LEVEL_DIR = pathlib.PurePath('.') + + for dest_name, src_name, typecode in toc: + dest_path = pathlib.PurePath(dest_name) + + framework_dir = self._is_framework_file(dest_path) + if framework_dir: + # Mark the framework directory as FRAMEWORK-DIR. + directory_types[framework_dir] = _FRAMEWORK_DIR_TYPE + # Treat the framework directory as BINARY file when classifying parent directories. + typecode = 'BINARY' + parent_dirs = framework_dir.parents + else: + parent_dirs = dest_path.parents + # Treat BINARY and EXTENSION as BINARY to simplify further processing. + if typecode == 'EXTENSION': + typecode = 'BINARY' + + # (Re)classify parent directories + for parent_dir in parent_dirs: + # Skip the top-level `.` dir. This is also the only directory that can contain EXECUTABLE and PKG + # entries, so we do not have to worry about. + if parent_dir == _TOP_LEVEL_DIR: + continue + + directory_type = _BINARY_DIR_TYPE if typecode == 'BINARY' else _DATA_DIR_TYPE # default + directory_type = directory_types.get(parent_dir, directory_type) + + if directory_type == _DATA_DIR_TYPE and typecode == 'BINARY': + directory_type = _MIXED_DIR_TYPE + if directory_type == _BINARY_DIR_TYPE and typecode == 'DATA': + directory_type = _MIXED_DIR_TYPE + + directory_types[parent_dir] = directory_type + + logger.debug("Directory classification: %r", directory_types) + + # Step 2: process the obtained directory structure and create symlink entries for directories that need to be + # cross-linked. Such directories are data-only and binary-only directories (and framework directories) that are + # located either in the top-level directory (have no parent) or in a mixed-content directory. + for directory_path, directory_type in directory_types.items(): + # Cross-linking at directory level applies only to data-only and binary-only directories (as well as + # framework directories). + if directory_type == _MIXED_DIR_TYPE: + continue + + # The parent needs to be either top-level directory or a mixed-content directory. Otherwise, the parent + # (or one of its ancestors) will get cross-linked, and we do not need the link here. + parent_dir = directory_path.parent + requires_crosslink = parent_dir == _TOP_LEVEL_DIR or directory_types.get(parent_dir) == _MIXED_DIR_TYPE + if not requires_crosslink: + continue + + logger.debug("Cross-linking directory %r of type %r", directory_path, directory_type) + + # Data-only directories are created in `Contents/Resources`, needs to be cross-linked into `Contents/MacOS`. + # Vice versa for binary-only or framework directories. The directory creation is handled implicitly, when we + # create parent directory structure for collected files. + if directory_type == _DATA_DIR_TYPE: + symlink_src = os.path.join('Contents/Resources', directory_path) + symlink_dest = os.path.join('Contents/Frameworks', directory_path) + else: + symlink_src = os.path.join('Contents/Frameworks', directory_path) + symlink_dest = os.path.join('Contents/Resources', directory_path) + symlink_ref = self._compute_relative_crosslink(symlink_dest, symlink_src) + + bundle_toc.append((symlink_dest, symlink_ref, 'SYMLINK')) + + # Step 3: first part of the work-around for directories that are located in `Contents/Frameworks` but contain a + # dot in their name. As per `codesign` rules, the only directories in `Contents/Frameworks` that are allowed to + # contain a dot in their name are .framework bundle directories. So we replace the dot with a custom character + # sequence (stored in global `DOT_REPLACEMENT` variable), and create a symbolic with original name pointing to + # the modified name. This is the best we can do with code-sign requirements vs. python community showing their + # packages' dylibs into `.dylib` subdirectories, or Qt storing their Qml components in directories named + # `QtQuick.2`, `QtQuick/Controls.2`, `QtQuick/Particles.2`, `QtQuick/Templates.2`, etc. + # + # In this step, we only prepare symlink entries that link the original directory name (with dot) to the modified + # one (with dot replaced). The parent paths for collected files are modified in later step(s). + for directory_path, directory_type in directory_types.items(): + # .framework bundle directories contain a dot in the name, but are allowed that. + if directory_type == _FRAMEWORK_DIR_TYPE: + continue + + # Data-only directories are fully located in `Contents/Resources` and cross-linked to `Contents/Frameworks` + # at directory level, so they are also allowed a dot in their name. + if directory_type == _DATA_DIR_TYPE: + continue + + # Apply the work-around, if necessary... + if '.' not in directory_path.name: + continue + + logger.debug( + "Creating symlink to work around the dot in the name of directory %r (%s)...", str(directory_path), + directory_type + ) + + # Create a SYMLINK entry, but only for this level. In case of nested directories with dots in names, the + # symlinks for ancestors will be created by corresponding loop iteration. + bundle_toc.append(( + os.path.join('Contents/Frameworks', directory_path), + directory_path.name.replace('.', DOT_REPLACEMENT), + 'SYMLINK', + )) + + # Step 4: process the entries for collected files, and decide whether they should be placed into + # `Contents/MacOS`, `Contents/Frameworks`, or `Contents/Resources`, and whether they should be cross-linked into + # other directories. + for orig_dest_name, src_name, typecode in toc: + orig_dest_path = pathlib.PurePath(orig_dest_name) + + # Special handling for EXECUTABLE and PKG entries + if typecode == 'EXECUTABLE': + # Place into `Contents/MacOS`, ... + file_dest = os.path.join('Contents/MacOS', orig_dest_name) + bundle_toc.append((file_dest, src_name, typecode)) + # ... and do nothing else. We explicitly avoid cross-linking the executable to `Contents/Frameworks` and + # `Contents/Resources`, because it should be not necessary (the executable's location should be + # discovered via `sys.executable`) and to prevent issues when executable name collides with name of a + # package from which we collect either binaries or data files (or both); see #7314. + continue + elif typecode == 'PKG': + # Place into `Contents/Resources` ... + file_dest = os.path.join('Contents/Resources', orig_dest_name) + bundle_toc.append((file_dest, src_name, typecode)) + # ... and cross-link only into `Contents/MacOS`. + # This is used only in `onefile` mode, where there is actually no other content to distribute among the + # `Contents/Resources` and `Contents/Frameworks` directories, so cross-linking into the latter makes + # little sense. + symlink_dest = os.path.join('Contents/MacOS', orig_dest_name) + symlink_ref = self._compute_relative_crosslink(symlink_dest, file_dest) + bundle_toc.append((symlink_dest, symlink_ref, 'SYMLINK')) + continue + + # Standard data vs binary processing... + + # Determine file location based on its type. + if self._is_framework_file(orig_dest_path): + # File from a framework bundle; put into `Contents/Frameworks`, but never cross-link the file itself. + # The whole .framework bundle directory will be linked as necessary by the directory cross-linking + # mechanism. + file_base_dir = 'Contents/Frameworks' + crosslink_base_dir = None + elif typecode == 'DATA': + # Data file; relocate to `Contents/Resources` and cross-link it back into `Contents/Frameworks`. + file_base_dir = 'Contents/Resources' + crosslink_base_dir = 'Contents/Frameworks' + else: + # Binary; put into `Contents/Frameworks` and cross-link it into `Contents/Resources`. + file_base_dir = 'Contents/Frameworks' + crosslink_base_dir = 'Contents/Resources' + + # Determine if we need to cross-link the file. We need to do this for top-level files (the ones without + # parent directories), and for files whose parent directories are mixed-content directories. + requires_crosslink = False + if crosslink_base_dir is not None: + parent_dir = orig_dest_path.parent + requires_crosslink = parent_dir == _TOP_LEVEL_DIR or directory_types.get(parent_dir) == _MIXED_DIR_TYPE + + # Special handling for SYMLINK entries in original TOC; if we need to cross-link a symlink entry, we create + # it in both locations, and have each point to the (relative) resource in the same directory (so one of the + # targets will likely be a file, and the other will be a symlink due to cross-linking). + if typecode == 'SYMLINK' and requires_crosslink: + bundle_toc.append((os.path.join(file_base_dir, orig_dest_name), src_name, typecode)) + bundle_toc.append((os.path.join(crosslink_base_dir, orig_dest_name), src_name, typecode)) + continue + + # The file itself. + file_dest = os.path.join(file_base_dir, orig_dest_name) + bundle_toc.append((file_dest, src_name, typecode)) + + # Symlink for cross-linking + if requires_crosslink: + symlink_dest = os.path.join(crosslink_base_dir, orig_dest_name) + symlink_ref = self._compute_relative_crosslink(symlink_dest, file_dest) + bundle_toc.append((symlink_dest, symlink_ref, 'SYMLINK')) + + # Step 5: sanitize all destination paths in the new TOC, to ensure that paths that are rooted in + # `Contents/Frameworks` do not contain directories with dots in their names. Doing this as a post-processing + # step keeps code simple and clean and ensures that this step is applied to files, symlinks that originate from + # cross-linking files, and symlinks that originate from cross-linking directories. This in turn ensures that + # all directory hierarchies created during the actual file collection have sanitized names, and that collection + # outcome does not depend on the order of entries in the TOC. + sanitized_toc = [] + for dest_name, src_name, typecode in bundle_toc: + dest_path = pathlib.PurePath(dest_name) + + # Paths rooted in Contents/Resources do not require sanitizing. + if dest_path.parts[0] == 'Contents' and dest_path.parts[1] == 'Resources': + sanitized_toc.append((dest_name, src_name, typecode)) + continue + + # Special handling for files from .framework bundle directories; sanitize only parent path of the .framework + # directory. + framework_path = self._is_framework_file(dest_path) + if framework_path: + parent_path = framework_path.parent + remaining_path = dest_path.relative_to(parent_path) + else: + parent_path = dest_path.parent + remaining_path = dest_path.name + + sanitized_dest_path = pathlib.PurePath( + *parent_path.parts[:2], # Contents/Frameworks + *[part.replace('.', DOT_REPLACEMENT) for part in parent_path.parts[2:]], + remaining_path, + ) + sanitized_dest_name = str(sanitized_dest_path) + + if sanitized_dest_path != dest_path: + logger.debug("Sanitizing dest path: %r -> %r", dest_name, sanitized_dest_name) + + sanitized_toc.append((sanitized_dest_name, src_name, typecode)) + + bundle_toc = sanitized_toc + + # Normalize and sort the TOC for easier inspection + bundle_toc = sorted(normalize_toc(bundle_toc)) + + return bundle_toc + + def assemble(self): + from PyInstaller.config import CONF + + if _check_path_overlap(self.name) and os.path.isdir(self.name): + _rmtree(self.name) + + logger.info("Building BUNDLE %s", self.tocbasename) + + # Create a minimal Mac bundle structure. + os.makedirs(os.path.join(self.name, "Contents", "MacOS")) + os.makedirs(os.path.join(self.name, "Contents", "Resources")) + os.makedirs(os.path.join(self.name, "Contents", "Frameworks")) + + # Makes sure the icon exists and attempts to convert to the proper format if applicable + self.icon = normalize_icon_type(self.icon, ("icns",), "icns", CONF["workpath"]) + + # Ensure icon path is absolute + self.icon = os.path.abspath(self.icon) + + # Copy icns icon to Resources directory. + shutil.copyfile(self.icon, os.path.join(self.name, 'Contents', 'Resources', os.path.basename(self.icon))) + + # Key/values for a minimal Info.plist file + info_plist_dict = { + "CFBundleDisplayName": self.appname, + "CFBundleName": self.appname, + + # Required by 'codesign' utility. + # The value for CFBundleIdentifier is used as the default unique name of your program for Code Signing + # purposes. It even identifies the APP for access to restricted macOS areas like Keychain. + # + # The identifier used for signing must be globally unique. The usual form for this identifier is a + # hierarchical name in reverse DNS notation, starting with the toplevel domain, followed by the company + # name, followed by the department within the company, and ending with the product name. Usually in the + # form: com.mycompany.department.appname + # CLI option --osx-bundle-identifier sets this value. + "CFBundleIdentifier": self.bundle_identifier, + "CFBundleExecutable": os.path.basename(self.exename), + "CFBundleIconFile": os.path.basename(self.icon), + "CFBundleInfoDictionaryVersion": "6.0", + "CFBundlePackageType": "APPL", + "CFBundleShortVersionString": self.version, + } + + # Set some default values. But they still can be overwritten by the user. + if self.console: + # Setting EXE console=True implies LSBackgroundOnly=True. + info_plist_dict['LSBackgroundOnly'] = True + else: + # Let's use high resolution by default. + info_plist_dict['NSHighResolutionCapable'] = True + + # Merge info_plist settings from spec file + if isinstance(self.info_plist, dict) and self.info_plist: + info_plist_dict.update(self.info_plist) + + plist_filename = os.path.join(self.name, "Contents", "Info.plist") + with open(plist_filename, "wb") as plist_fh: + plistlib.dump(info_plist_dict, plist_fh) + + # Pre-process the TOC into its final BUNDLE-compatible form. + bundle_toc = self._process_bundle_toc(self.toc) + + # Perform the actual collection. + CONTENTS_FRAMEWORKS_PATH = pathlib.PurePath('Contents/Frameworks') + for dest_name, src_name, typecode in bundle_toc: + # Create parent directory structure, if necessary + dest_path = os.path.join(self.name, dest_name) # Absolute destination path + dest_dir = os.path.dirname(dest_path) + try: + os.makedirs(dest_dir, exist_ok=True) + except FileExistsError: + raise SystemExit( + f"ERROR: Pyinstaller needs to create a directory at {dest_dir!r}, " + "but there already exists a file at that path!" + ) + # Copy extensions and binaries from cache. This ensures that these files undergo additional binary + # processing - have paths to linked libraries rewritten (relative to `@rpath`) and have rpath set to the + # top-level directory (relative to `@loader_path`, i.e., the file's location). The "top-level" directory + # in this case corresponds to `Contents/MacOS` (where `sys._MEIPASS` also points), so we need to pass + # the cache retrieval function the *original* destination path (which is without preceding + # `Contents/MacOS`). + if typecode in ('EXTENSION', 'BINARY'): + orig_dest_name = str(pathlib.PurePath(dest_name).relative_to(CONTENTS_FRAMEWORKS_PATH)) + src_name = process_collected_binary( + src_name, + orig_dest_name, + use_strip=self.strip, + use_upx=self.upx, + upx_exclude=self.upx_exclude, + target_arch=self.target_arch, + codesign_identity=self.codesign_identity, + entitlements_file=self.entitlements_file, + strict_arch_validation=(typecode == 'EXTENSION'), + ) + if typecode == 'SYMLINK': + os.symlink(src_name, dest_path) # Create link at dest_path, pointing at (relative) src_name + else: + # BUNDLE does not support MERGE-based multipackage + assert typecode != 'DEPENDENCY', "MERGE DEPENDENCY entries are not supported in BUNDLE!" + + # At this point, `src_name` should be a valid file. + if not os.path.isfile(src_name): + raise ValueError(f"Resource {src_name!r} is not a valid file!") + # If strict collection mode is enabled, the destination should not exist yet. + if strict_collect_mode and os.path.exists(dest_path): + raise ValueError( + f"Attempting to collect a duplicated file into BUNDLE: {dest_name} (type: {typecode})" + ) + # Use `shutil.copyfile` to copy file with default permissions. We do not attempt to preserve original + # permissions nor metadata, as they might be too restrictive and cause issues either during subsequent + # re-build attempts or when trying to move the application bundle. For binaries (and data files with + # executable bit set), we manually set the executable bits after copying the file. + shutil.copyfile(src_name, dest_path) + if ( + typecode in ('EXTENSION', 'BINARY', 'EXECUTABLE') + or (typecode == 'DATA' and os.access(src_name, os.X_OK)) + ): + os.chmod(dest_path, 0o755) + + # Sign the bundle + logger.info('Signing the BUNDLE...') + try: + osxutils.sign_binary(self.name, self.codesign_identity, self.entitlements_file, deep=True) + except Exception as e: + # Display a warning or re-raise the error, depending on the environment-variable setting. + if os.environ.get("PYINSTALLER_STRICT_BUNDLE_CODESIGN_ERROR", "0") == "0": + logger.warning("Error while signing the bundle: %s", e) + logger.warning("You will need to sign the bundle manually!") + else: + raise RuntimeError("Failed to codesign the bundle!") from e + + logger.info("Building BUNDLE %s completed successfully.", self.tocbasename) + + # Optionally verify bundle's signature. This is primarily intended for our CI. + if os.environ.get("PYINSTALLER_VERIFY_BUNDLE_SIGNATURE", "0") != "0": + logger.info("Verifying signature for BUNDLE %s...", self.name) + self.verify_bundle_signature(self.name) + logger.info("BUNDLE verification complete!") + + @staticmethod + def verify_bundle_signature(bundle_dir): + # First, verify the bundle signature using codesign. + cmd_args = ['/usr/bin/codesign', '--verify', '--all-architectures', '--deep', '--strict', bundle_dir] + p = subprocess.run(cmd_args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, encoding='utf8') + if p.returncode: + raise SystemError( + f"codesign command ({cmd_args}) failed with error code {p.returncode}!\noutput: {p.stdout}" + ) + + # Ensure that code-signing information is *NOT* embedded in the files' extended attributes. + # + # This happens when files other than binaries are present in `Contents/MacOS` or `Contents/Frameworks` + # directory; as the signature cannot be embedded within the file itself (contrary to binaries with + # `LC_CODE_SIGNATURE` section in their header), it ends up stores in the file's extended attributes. However, + # if such bundle is transferred using a method that does not support extended attributes (for example, a zip + # file), the signatures on these files are lost, and the signature of the bundle as a whole becomes invalid. + # This is the primary reason why we need to relocate non-binaries into `Contents/Resources` - the signatures + # for files in that directory end up stored in `Contents/_CodeSignature/CodeResources` file. + # + # This check therefore aims to ensure that all files have been properly relocated to their corresponding + # locations w.r.t. the code-signing requirements. + + try: + import xattr + except ModuleNotFoundError: + logger.info("xattr package not available; skipping verification of extended attributes!") + return + + CODESIGN_ATTRS = ( + "com.apple.cs.CodeDirectory", + "com.apple.cs.CodeRequirements", + "com.apple.cs.CodeRequirements-1", + "com.apple.cs.CodeSignature", + ) + + for entry in pathlib.Path(bundle_dir).rglob("*"): + if not entry.is_file(): + continue + + file_attrs = xattr.listxattr(entry) + if any([codesign_attr in file_attrs for codesign_attr in CODESIGN_ATTRS]): + raise ValueError(f"Code-sign attributes found in extended attributes of {str(entry)!r}!") diff --git a/.venv/Lib/site-packages/PyInstaller/building/splash.py b/.venv/Lib/site-packages/PyInstaller/building/splash.py new file mode 100644 index 0000000..c22215c --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/building/splash.py @@ -0,0 +1,476 @@ +# ----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +# ----------------------------------------------------------------------------- +import io +import os +import re +import struct +import pathlib + +from PyInstaller import log as logging +from PyInstaller.archive.writers import SplashWriter +from PyInstaller.building import splash_templates +from PyInstaller.building.datastruct import Target +from PyInstaller.building.utils import _check_guts_eq, _check_guts_toc, misc +from PyInstaller.compat import is_aix, is_darwin +from PyInstaller.depend import bindepend +from PyInstaller.utils.hooks.tcl_tk import tcltk_info + +try: + from PIL import Image as PILImage +except ImportError: + PILImage = None + +logger = logging.getLogger(__name__) + +# These requirement files are checked against the current splash screen script. If you wish to modify the splash screen +# and run into tcl errors/bad behavior, this is a good place to start and add components your implementation of the +# splash screen might use. +# NOTE: these paths use the *destination* layout for Tcl/Tk scripts, which uses unversioned tcl and tk directories +# (see `PyInstaller.utils.hooks.tcl_tk.collect_tcl_tk_files`). +splash_requirements = [ + # prepended tcl/tk binaries + os.path.join(tcltk_info.TK_ROOTNAME, "license.terms"), + os.path.join(tcltk_info.TK_ROOTNAME, "text.tcl"), + os.path.join(tcltk_info.TK_ROOTNAME, "tk.tcl"), + # Used for customizable font + os.path.join(tcltk_info.TK_ROOTNAME, "ttk", "ttk.tcl"), + os.path.join(tcltk_info.TK_ROOTNAME, "ttk", "fonts.tcl"), + os.path.join(tcltk_info.TK_ROOTNAME, "ttk", "cursors.tcl"), + os.path.join(tcltk_info.TK_ROOTNAME, "ttk", "utils.tcl"), +] + + +class Splash(Target): + """ + Bundles the required resources for the splash screen into a file, which will be included in the CArchive. + + A Splash has two outputs, one is itself and one is stored in splash.binaries. Both need to be passed to other + build targets in order to enable the splash screen. + """ + def __init__(self, image_file, binaries, datas, **kwargs): + """ + :param str image_file: + A path-like object to the image to be used. Only the PNG file format is supported. + + .. note:: If a different file format is supplied and PIL (Pillow) is installed, the file will be converted + automatically. + + .. note:: *Windows*: The color ``'magenta'`` / ``'#ff00ff'`` must not be used in the image or text, as it is + used by splash screen to indicate transparent areas. Use a similar color (e.g., ``'#ff00fe'``) instead. + + .. note:: If PIL (Pillow) is installed and the image is bigger than max_img_size, the image will be resized + to fit into the specified area. + :param list binaries: + The TOC list of binaries the Analysis build target found. This TOC includes all extension modules and their + binary dependencies. This is required to determine whether the user's program uses `tkinter`. + :param list datas: + The TOC list of data the Analysis build target found. This TOC includes all data-file dependencies of the + modules. This is required to check if all splash screen requirements can be bundled. + + :keyword text_pos: + An optional two-integer tuple that represents the origin of the text on the splash screen image. The + origin of the text is its lower left corner. A unit in the respective coordinate system is a pixel of the + image, its origin lies in the top left corner of the image. This parameter also acts like a switch for + the text feature. If omitted, no text will be displayed on the splash screen. This text will be used to + show textual progress in onefile mode. + :type text_pos: Tuple[int, int] + :keyword text_size: + The desired size of the font. If the size argument is a positive number, it is interpreted as a size in + points. If size is a negative number, its absolute value is interpreted as a size in pixels. Default: ``12`` + :type text_size: int + :keyword text_font: + An optional name of a font for the text. This font must be installed on the user system, otherwise the + system default font is used. If this parameter is omitted, the default font is also used. + :keyword text_color: + An optional color for the text. HTML color codes (``'#40e0d0'``) and color names (``'turquoise'``) are + supported. Default: ``'black'`` + (Windows: the color ``'magenta'`` / ``'#ff00ff'`` is used to indicate transparency, and should not be used) + :type text_color: str + :keyword text_default: + The default text which will be displayed before the extraction starts. Default: ``"Initializing"`` + :type text_default: str + :keyword full_tk: + By default Splash bundles only the necessary files for the splash screen (some tk components). This + options enables adding full tk and making it a requirement, meaning all tk files will be unpacked before + the splash screen can be started. This is useful during development of the splash screen script. + Default: ``False`` + :type full_tk: bool + :keyword minify_script: + The splash screen is created by executing an Tcl/Tk script. This option enables minimizing the script, + meaning removing all non essential parts from the script. Default: ``True`` + :keyword name: + An optional alternative filename for the .res file. If not specified, a name is generated. + :type name: str + :keyword script_name: + An optional alternative filename for the Tcl script, that will be generated. If not specified, a name is + generated. + :type script_name: str + :keyword max_img_size: + Maximum size of the splash screen image as a tuple. If the supplied image exceeds this limit, it will be + resized to fit the maximum width (to keep the original aspect ratio). This option can be disabled by + setting it to None. Default: ``(760, 480)`` + :type max_img_size: Tuple[int, int] + :keyword always_on_top: + Force the splashscreen to be always on top of other windows. If disabled, other windows (e.g., from other + applications) can cover the splash screen by user bringing them to front. This might be useful for + frozen applications with long startup times. Default: ``True`` + :type always_on_top: bool + """ + from ..config import CONF + Target.__init__(self) + + # Splash screen is not supported on macOS. It operates in a secondary thread and macOS disallows UI operations + # in any thread other than main. + if is_darwin: + raise SystemExit("ERROR: Splash screen is not supported on macOS.") + + # Ensure tkinter (and thus Tcl/Tk) is available. + if not tcltk_info.available: + raise SystemExit( + "ERROR: Your platform does not support the splash screen feature, since tkinter is not installed. " + "Please install tkinter and try again." + ) + + # Check if the Tcl/Tk version is supported. + logger.info("Verifying Tcl/Tk compatibility with splash screen requirements") + self._check_tcl_tk_compatibility() + + # Make image path relative to .spec file + if not os.path.isabs(image_file): + image_file = os.path.join(CONF['specpath'], image_file) + image_file = os.path.normpath(image_file) + if not os.path.exists(image_file): + raise ValueError("Image file '%s' not found" % image_file) + + # Copy all arguments + self.image_file = image_file + self.full_tk = kwargs.get("full_tk", False) + self.name = kwargs.get("name", None) + self.script_name = kwargs.get("script_name", None) + self.minify_script = kwargs.get("minify_script", True) + self.max_img_size = kwargs.get("max_img_size", (760, 480)) + + # text options + self.text_pos = kwargs.get("text_pos", None) + self.text_size = kwargs.get("text_size", 12) + self.text_font = kwargs.get("text_font", "TkDefaultFont") + self.text_color = kwargs.get("text_color", "black") + self.text_default = kwargs.get("text_default", "Initializing") + + # always-on-top behavior + self.always_on_top = kwargs.get("always_on_top", True) + + # Save the generated file separately so that it is not necessary to generate the data again and again + root = os.path.splitext(self.tocfilename)[0] + if self.name is None: + self.name = root + '.res' + if self.script_name is None: + self.script_name = root + '_script.tcl' + + # Internal variables + # Store path to _tkinter extension module, so that guts check can detect if the path changed for some reason. + self._tkinter_file = tcltk_info.tkinter_extension_file + + # Calculated / analysed values + self.uses_tkinter = self._uses_tkinter(self._tkinter_file, binaries) + logger.debug("Program uses tkinter: %r", self.uses_tkinter) + self.script = self.generate_script() + self.tcl_lib = tcltk_info.tcl_shared_library # full path to shared library + self.tk_lib = tcltk_info.tk_shared_library + + assert self.tcl_lib is not None + assert self.tk_lib is not None + + logger.debug("Using Tcl shared library: %r", self.tcl_lib) + logger.debug("Using Tk shared library: %r", self.tk_lib) + + self.splash_requirements = set([ + # NOTE: the implicit assumption here is that Tcl and Tk shared library are collected into top-level + # application directory, which, at tme moment, is true in practically all cases. + os.path.basename(self.tcl_lib), + os.path.basename(self.tk_lib), + *splash_requirements, + ]) + + logger.info("Collect Tcl/Tk data files for the splash screen") + tcltk_tree = tcltk_info.data_files # 3-element tuple TOC + if self.full_tk: + # The user wants a full copy of Tk, so make all Tk files a requirement. + self.splash_requirements.update(entry[0] for entry in tcltk_tree) + + # Scan for binary dependencies of the Tcl/Tk shared libraries, and add them to `binaries` TOC list (which + # should really be called `dependencies` as it is not limited to binaries. But it is too late now, and + # existing spec files depend on this naming). We specify these binary dependencies (which include the + # Tcl and Tk shared libraries themselves) even if the user's program uses tkinter and they would be collected + # anyway; let the collection mechanism deal with potential duplicates. + tcltk_libs = [(os.path.basename(src_name), src_name, 'BINARY') for src_name in (self.tcl_lib, self.tk_lib)] + self.binaries = bindepend.binary_dependency_analysis(tcltk_libs) + + # Put all shared library dependencies in `splash_requirements`, so they are made available in onefile mode. + self.splash_requirements.update(entry[0] for entry in self.binaries) + + # If the user's program does not use tkinter, add resources from Tcl/Tk tree to the dependencies list. + # Do so only for the resources that are part of splash requirements. + if not self.uses_tkinter: + self.binaries.extend(entry for entry in tcltk_tree if entry[0] in self.splash_requirements) + + # Check if all requirements were found. + collected_files = set(entry[0] for entry in (binaries + datas + self.binaries)) + + def _filter_requirement(filename): + if filename not in collected_files: + # Item is not bundled, so warn the user about it. This actually may happen on some tkinter installations + # that are missing the license.terms file - as this file has no effect on operation of splash screen, + # suppress the warning for it. + if os.path.basename(filename) == 'license.terms': + return False + + logger.warning( + "The local Tcl/Tk installation is missing the file %s. The behavior of the splash screen is " + "therefore undefined and may be unsupported.", filename + ) + return False + return True + + # Remove all files which were not found. + self.splash_requirements = set(filter(_filter_requirement, self.splash_requirements)) + + logger.debug("Splash Requirements: %s", self.splash_requirements) + + # On AIX, the Tcl and Tk shared libraries might in fact be ar archives with shared object inside it, and need to + # be `dlopen`'ed with full name (for example, `libtcl.a(libtcl.so.8.6)` and `libtk.a(libtk.so.8.6)`. So if the + # library's suffix is .a, adjust the name accordingly, assuming fixed format for the shared object name. + # Adjust the names at the end of this method, because preceding steps use `self.tcl_lib` and `self.tk_lib` for + # filesystem-based operations and need the original filenames. + if is_aix: + _, ext = os.path.splitext(self.tcl_lib) + if ext == '.a': + tcl_major, tcl_minor = tcltk_info.tcl_version + self.tcl_lib += f"(libtcl.so.{tcl_major}.{tcl_minor})" + _, ext = os.path.splitext(self.tk_lib) + if ext == '.a': + tk_major, tk_minor = tcltk_info.tk_version + self.tk_lib += f"(libtk.so.{tk_major}.{tk_minor})" + + self.__postinit__() + + _GUTS = ( + # input parameters + ('image_file', _check_guts_eq), + ('name', _check_guts_eq), + ('script_name', _check_guts_eq), + ('text_pos', _check_guts_eq), + ('text_size', _check_guts_eq), + ('text_font', _check_guts_eq), + ('text_color', _check_guts_eq), + ('text_default', _check_guts_eq), + ('always_on_top', _check_guts_eq), + ('full_tk', _check_guts_eq), + ('minify_script', _check_guts_eq), + ('max_img_size', _check_guts_eq), + # calculated/analysed values + ('uses_tkinter', _check_guts_eq), + ('script', _check_guts_eq), + ('tcl_lib', _check_guts_eq), + ('tk_lib', _check_guts_eq), + ('splash_requirements', _check_guts_eq), + ('binaries', _check_guts_toc), + # internal value + # Check if the tkinter installation changed. This is theoretically possible if someone uses two different python + # installations of the same version. + ('_tkinter_file', _check_guts_eq), + ) + + def _check_guts(self, data, last_build): + if Target._check_guts(self, data, last_build): + return True + + # Check if the image has been modified. + if misc.mtime(self.image_file) > last_build: + logger.info("Building %s because file %s changed", self.tocbasename, self.image_file) + return True + + return False + + def assemble(self): + logger.info("Building Splash %s", self.name) + + # Function to resize a given image to fit into the area defined by max_img_size. + def _resize_image(_image, _orig_size): + if PILImage: + _w, _h = _orig_size + _ratio_w = self.max_img_size[0] / _w + if _ratio_w < 1: + # Image width exceeds limit + _h = int(_h * _ratio_w) + _w = self.max_img_size[0] + + _ratio_h = self.max_img_size[1] / _h + if _ratio_h < 1: + # Image height exceeds limit + _w = int(_w * _ratio_h) + _h = self.max_img_size[1] + + # If a file is given it will be open + if isinstance(_image, PILImage.Image): + _img = _image + else: + _img = PILImage.open(_image) + _img_resized = _img.resize((_w, _h)) + + # Save image into a stream + _image_stream = io.BytesIO() + _img_resized.save(_image_stream, format='PNG') + _img.close() + _img_resized.close() + _image_data = _image_stream.getvalue() + logger.info("Resized image %s from dimensions %r to (%d, %d)", self.image_file, _orig_size, _w, _h) + return _image_data + else: + raise ValueError( + "The splash image dimensions (w: %d, h: %d) exceed max_img_size (w: %d, h:%d), but the image " + "cannot be resized due to missing PIL.Image! Either install the Pillow package, adjust the " + "max_img_size, or use an image of compatible dimensions." % + (_orig_size[0], _orig_size[1], self.max_img_size[0], self.max_img_size[1]) + ) + + # Open image file + image_file = open(self.image_file, 'rb') + + # Check header of the file to identify it + if image_file.read(8) == b'\x89PNG\r\n\x1a\n': + # self.image_file is a PNG file + image_file.seek(16) + img_size = (struct.unpack("!I", image_file.read(4))[0], struct.unpack("!I", image_file.read(4))[0]) + + if img_size > self.max_img_size: + # The image exceeds the maximum image size, so resize it + image = _resize_image(self.image_file, img_size) + else: + image = os.path.abspath(self.image_file) + elif PILImage: + # Pillow is installed, meaning the image can be converted automatically + img = PILImage.open(self.image_file, mode='r') + + if img.size > self.max_img_size: + image = _resize_image(img, img.size) + else: + image_data = io.BytesIO() + img.save(image_data, format='PNG') + img.close() + image = image_data.getvalue() + logger.info("Converted image %s to PNG format", self.image_file) + else: + raise ValueError( + "The image %s needs to be converted to a PNG file, but PIL.Image is not available! Either install the " + "Pillow package, or use a PNG image for you splash screen." % (self.image_file,) + ) + + image_file.close() + + SplashWriter( + self.name, + self.splash_requirements, + os.path.basename(self.tcl_lib), # tcl86t.dll + os.path.basename(self.tk_lib), # tk86t.dll + tcltk_info.TK_ROOTNAME, + image, + self.script + ) + + @staticmethod + def _check_tcl_tk_compatibility(): + tcl_version = tcltk_info.tcl_version # (major, minor) tuple + tk_version = tcltk_info.tk_version + + if is_darwin and tcltk_info.is_macos_system_framework: + # Outdated Tcl/Tk 8.5 system framework is not supported. + raise SystemExit( + "ERROR: The splash screen feature does not support macOS system framework version of Tcl/Tk." + ) + + # Test if tcl/tk version is supported + if tcl_version < (8, 6) or tk_version < (8, 6): + logger.warning( + "The installed Tcl/Tk (%d.%d / %d.%d) version might not work with the splash screen feature of the " + "bootloader, which was tested against Tcl/Tk 8.6", *tcl_version, *tk_version + ) + + # This should be impossible, since tcl/tk is released together with the same version number, but just in case + if tcl_version != tk_version: + logger.warning( + "The installed version of Tcl (%d.%d) and Tk (%d.%d) do not match. PyInstaller is tested against " + "matching versions", *tcl_version, *tk_version + ) + + # Ensure that Tcl is built with multi-threading support. + if not tcltk_info.tcl_threaded: + # This is a feature breaking problem, so exit. + raise SystemExit( + "ERROR: The installed Tcl version is not threaded. PyInstaller only supports the splash screen " + "using threaded Tcl." + ) + + # Ensure that Tcl and Tk shared libraries are available + if tcltk_info.tcl_shared_library is None or tcltk_info.tk_shared_library is None: + message = \ + "ERROR: Could not determine the path to Tcl and/or Tk shared library, " \ + "which are required for splash screen." + if not tcltk_info.tkinter_extension_file: + message += ( + " The _tkinter module appears to be a built-in, which likely means that python was built with " + "statically-linked Tcl/Tk libraries and is incompatible with splash screen." + ) + raise SystemExit(message) + + def generate_script(self): + """ + Generate the script for the splash screen. + + If minify_script is True, all unnecessary parts will be removed. + """ + d = {} + if self.text_pos is not None: + logger.debug("Add text support to splash screen") + d.update({ + 'pad_x': self.text_pos[0], + 'pad_y': self.text_pos[1], + 'color': self.text_color, + 'font': self.text_font, + 'font_size': self.text_size, + 'default_text': self.text_default, + }) + script = splash_templates.build_script(text_options=d, always_on_top=self.always_on_top) + + if self.minify_script: + # Remove any documentation, empty lines and unnecessary spaces + script = '\n'.join( + line for line in map(lambda line: line.strip(), script.splitlines()) + if not line.startswith('#') # documentation + and line # empty lines + ) + # Remove unnecessary spaces + script = re.sub(' +', ' ', script) + + # Write script to disk, so that it is transparent to the user what script is executed. + with open(self.script_name, "w", encoding="utf-8") as script_file: + script_file.write(script) + return script + + @staticmethod + def _uses_tkinter(tkinter_file, binaries): + # Test for _tkinter extension instead of tkinter module, because user might use a different wrapping library for + # Tk. Use `pathlib.PurePath` in comparisons to account for case normalization and separator normalization. + tkinter_file = pathlib.PurePath(tkinter_file) + for dest_name, src_name, typecode in binaries: + if pathlib.PurePath(src_name) == tkinter_file: + return True + return False diff --git a/.venv/Lib/site-packages/PyInstaller/building/splash_templates.py b/.venv/Lib/site-packages/PyInstaller/building/splash_templates.py new file mode 100644 index 0000000..e93c696 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/building/splash_templates.py @@ -0,0 +1,229 @@ +# ----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +# ----------------------------------------------------------------------------- +""" +Templates for the splash screen tcl script. +""" +from PyInstaller.compat import is_cygwin, is_darwin, is_win + +ipc_script = r""" +proc _ipc_server {channel clientaddr clientport} { + # This function is called if a new client connects to + # the server. This creates a channel, which calls + # _ipc_caller if data was send through the connection + set client_name [format <%s:%d> $clientaddr $clientport] + + chan configure $channel \ + -buffering none \ + -encoding utf-8 \ + -eofchar \x04 \ + -translation cr + chan event $channel readable [list _ipc_caller $channel $client_name] +} + +proc _ipc_caller {channel client_name} { + # This function is called if a command was sent through + # the tcp connection. The current implementation supports + # two commands: update_text and exit, although exit + # is implemented to be called if the connection gets + # closed (from python) or the character 0x04 was received + chan gets $channel cmd + + if {[chan eof $channel]} { + # This is entered if either the connection was closed + # or the char 0x04 was send + chan close $channel + exit + + } elseif {![chan blocked $channel]} { + # RPC methods + + # update_text command + if {[string match "update_text*" $cmd]} { + global status_text + set first [expr {[string first "(" $cmd] + 1}] + set last [expr {[string last ")" $cmd] - 1}] + + set status_text [string range $cmd $first $last] + } + # Implement other procedures here + } +} + +# By setting the port to 0 the os will assign a free port +set server_socket [socket -server _ipc_server -myaddr localhost 0] +set server_port [fconfigure $server_socket -sockname] + +# This environment variable is shared between the python and the tcl +# interpreter and publishes the port the tcp server socket is available +set env(_PYI_SPLASH_IPC) [lindex $server_port 2] +""" + +image_script = r""" +# The variable $_image_data, which holds the data for the splash +# image is created by the bootloader. +image create photo splash_image +splash_image put $_image_data +# delete the variable, because the image now holds the data +unset _image_data + +proc canvas_text_update {canvas tag _var - -} { + # This function is rigged to be called if the a variable + # status_text gets changed. This updates the text on + # the canvas + upvar $_var var + $canvas itemconfigure $tag -text $var +} +""" + +splash_canvas_setup = r""" +package require Tk + +set image_width [image width splash_image] +set image_height [image height splash_image] +set display_width [winfo screenwidth .] +set display_height [winfo screenheight .] + +set x_position [expr {int(0.5*($display_width - $image_width))}] +set y_position [expr {int(0.5*($display_height - $image_height))}] + +# Toplevel frame in which all widgets should be positioned +frame .root + +# Configure the canvas on which the splash +# screen will be drawn +canvas .root.canvas \ + -width $image_width \ + -height $image_height \ + -borderwidth 0 \ + -highlightthickness 0 + +# Draw the image into the canvas, filling it. +.root.canvas create image \ + [expr {$image_width / 2}] \ + [expr {$image_height / 2}] \ + -image splash_image +""" + +splash_canvas_text = r""" +# Create a text on the canvas, which tracks the local +# variable status_text. status_text is changed via C to +# update the progress on the splash screen. +# We cannot use the default label, because it has a +# default background, which cannot be turned transparent +.root.canvas create text \ + %(pad_x)d \ + %(pad_y)d \ + -fill %(color)s \ + -justify center \ + -font myFont \ + -tag vartext \ + -anchor sw +trace variable status_text w \ + [list canvas_text_update .root.canvas vartext] +set status_text "%(default_text)s" +""" + +splash_canvas_default_font = r""" +font create myFont {*}[font actual TkDefaultFont] +font configure myFont -size %(font_size)d +""" + +splash_canvas_custom_font = r""" +font create myFont -family %(font)s -size %(font_size)d +""" + +if is_win or is_cygwin: + transparent_setup = r""" +# If the image is transparent, the background will be filled +# with magenta. The magenta background is later replaced with transparency. +# Here is the limitation of this implementation, that only +# sharp transparent image corners are possible +wm attributes . -transparentcolor magenta +.root.canvas configure -background magenta +""" + +elif is_darwin: + # This is untested, but should work following: https://stackoverflow.com/a/44296157/5869139 + transparent_setup = r""" +wm attributes . -transparent 1 +. configure -background systemTransparent +.root.canvas configure -background systemTransparent +""" + +else: + # For Linux there is no common way to create a transparent window + transparent_setup = r"" + +pack_widgets = r""" +# Position all widgets in the window +pack .root +grid .root.canvas -column 0 -row 0 -columnspan 1 -rowspan 2 +""" + +# Enable always-on-top behavior, by setting overrideredirect and the topmost attribute. +position_window_on_top = r""" +# Set position and mode of the window - always-on-top behavior +wm overrideredirect . 1 +wm geometry . +${x_position}+${y_position} +wm attributes . -topmost 1 +""" + +# Disable always-on-top behavior +if is_win or is_cygwin or is_darwin: + # On Windows, we disable the always-on-top behavior while still setting overrideredirect + # (to disable window decorations), but set topmost attribute to 0. + position_window = r""" +# Set position and mode of the window +wm overrideredirect . 1 +wm geometry . +${x_position}+${y_position} +wm attributes . -topmost 0 +""" +else: + # On Linux, we must not use overrideredirect; instead, we set X11-specific type attribute to splash, + # which lets the window manager to properly handle the splash screen (without window decorations + # but allowing other windows to be brought to front). + position_window = r""" +# Set position and mode of the window +wm geometry . +${x_position}+${y_position} +wm attributes . -type splash +""" + +raise_window = r""" +raise . +""" + + +def build_script(text_options=None, always_on_top=False): + """ + This function builds the tcl script for the splash screen. + """ + # Order is important! + script = [ + ipc_script, + image_script, + splash_canvas_setup, + ] + + if text_options: + # If the default font is used we need a different syntax + if text_options['font'] == "TkDefaultFont": + script.append(splash_canvas_default_font % text_options) + else: + script.append(splash_canvas_custom_font % text_options) + script.append(splash_canvas_text % text_options) + + script.append(transparent_setup) + + script.append(pack_widgets) + script.append(position_window_on_top if always_on_top else position_window) + script.append(raise_window) + + return '\n'.join(script) diff --git a/.venv/Lib/site-packages/PyInstaller/building/templates.py b/.venv/Lib/site-packages/PyInstaller/building/templates.py new file mode 100644 index 0000000..24e5080 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/building/templates.py @@ -0,0 +1,126 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Templates to generate .spec files. +""" + +onefiletmplt = """# -*- mode: python ; coding: utf-8 -*- +%(preamble)s + +a = Analysis( + %(scripts)s, + pathex=%(pathex)s, + binaries=%(binaries)s, + datas=%(datas)s, + hiddenimports=%(hiddenimports)s, + hookspath=%(hookspath)r, + hooksconfig={}, + runtime_hooks=%(runtime_hooks)r, + excludes=%(excludes)s, + noarchive=%(noarchive)s, + optimize=%(optimize)r, +) +pyz = PYZ(a.pure) +%(splash_init)s +exe = EXE( + pyz, + a.scripts, + a.binaries, + a.datas,%(splash_target)s%(splash_binaries)s + %(options)s, + name='%(name)s', + debug=%(debug_bootloader)s, + bootloader_ignore_signals=%(bootloader_ignore_signals)s, + strip=%(strip)s, + upx=%(upx)s, + upx_exclude=%(upx_exclude)s, + runtime_tmpdir=%(runtime_tmpdir)r, + console=%(console)s, + disable_windowed_traceback=%(disable_windowed_traceback)s, + argv_emulation=%(argv_emulation)r, + target_arch=%(target_arch)r, + codesign_identity=%(codesign_identity)r, + entitlements_file=%(entitlements_file)r,%(exe_options)s +) +""" + +onedirtmplt = """# -*- mode: python ; coding: utf-8 -*- +%(preamble)s + +a = Analysis( + %(scripts)s, + pathex=%(pathex)s, + binaries=%(binaries)s, + datas=%(datas)s, + hiddenimports=%(hiddenimports)s, + hookspath=%(hookspath)r, + hooksconfig={}, + runtime_hooks=%(runtime_hooks)r, + excludes=%(excludes)s, + noarchive=%(noarchive)s, + optimize=%(optimize)r, +) +pyz = PYZ(a.pure) +%(splash_init)s +exe = EXE( + pyz, + a.scripts,%(splash_target)s + %(options)s, + exclude_binaries=True, + name='%(name)s', + debug=%(debug_bootloader)s, + bootloader_ignore_signals=%(bootloader_ignore_signals)s, + strip=%(strip)s, + upx=%(upx)s, + console=%(console)s, + disable_windowed_traceback=%(disable_windowed_traceback)s, + argv_emulation=%(argv_emulation)r, + target_arch=%(target_arch)r, + codesign_identity=%(codesign_identity)r, + entitlements_file=%(entitlements_file)r,%(exe_options)s +) +coll = COLLECT( + exe, + a.binaries, + a.datas,%(splash_binaries)s + strip=%(strip)s, + upx=%(upx)s, + upx_exclude=%(upx_exclude)s, + name='%(name)s', +) +""" + +bundleexetmplt = """app = BUNDLE( + exe, + name='%(name)s.app', + icon=%(icon)s, + bundle_identifier=%(bundle_identifier)s, +) +""" + +bundletmplt = """app = BUNDLE( + coll, + name='%(name)s.app', + icon=%(icon)s, + bundle_identifier=%(bundle_identifier)s, +) +""" + +splashtmpl = """splash = Splash( + %(splash_image)r, + binaries=a.binaries, + datas=a.datas, + text_pos=None, + text_size=12, + minify_script=True, + always_on_top=True, +) +""" diff --git a/.venv/Lib/site-packages/PyInstaller/building/utils.py b/.venv/Lib/site-packages/PyInstaller/building/utils.py new file mode 100644 index 0000000..8c76f8b --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/building/utils.py @@ -0,0 +1,859 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +import fnmatch +import glob +import hashlib +import io +import marshal +import os +import pathlib +import platform +import shutil +import struct +import subprocess +import sys +import zipfile + +from PyInstaller import compat +from PyInstaller import log as logging +from PyInstaller.compat import EXTENSION_SUFFIXES, is_aix, is_darwin, is_win, is_linux +from PyInstaller.config import CONF +from PyInstaller.exceptions import InvalidSrcDestTupleError +from PyInstaller.utils import misc + +if is_win: + from PyInstaller.utils.win32 import versioninfo + +if is_darwin: + import PyInstaller.utils.osx as osxutils + +logger = logging.getLogger(__name__) + +# -- Helpers for checking guts. +# +# NOTE: by _GUTS it is meant intermediate files and data structures that PyInstaller creates for bundling files and +# creating final executable. + + +def _check_guts_eq(attr_name, old_value, new_value, last_build): + """ + Rebuild is required if values differ. + """ + if old_value != new_value: + logger.info("Building because %s changed", attr_name) + return True + return False + + +def _check_guts_toc_mtime(attr_name, old_toc, new_toc, last_build): + """ + Rebuild is required if mtimes of files listed in old TOC are newer than last_build. + + Use this for calculated/analysed values read from cache. + """ + for dest_name, src_name, typecode in old_toc: + if misc.mtime(src_name) > last_build: + logger.info("Building because %s changed", src_name) + return True + return False + + +def _check_guts_toc(attr_name, old_toc, new_toc, last_build): + """ + Rebuild is required if either TOC content changed or mtimes of files listed in old TOC are newer than last_build. + + Use this for input parameters. + """ + return _check_guts_eq(attr_name, old_toc, new_toc, last_build) or \ + _check_guts_toc_mtime(attr_name, old_toc, new_toc, last_build) + + +def add_suffix_to_extension(dest_name, src_name, typecode): + """ + Take a TOC entry (dest_name, src_name, typecode) and adjust the dest_name for EXTENSION to include the full library + suffix. + """ + # No-op for non-extension + if typecode != 'EXTENSION': + return dest_name, src_name, typecode + + # If dest_name completely fits into end of the src_name, it has already been processed. + if src_name.endswith(dest_name): + return dest_name, src_name, typecode + + # Change the dotted name into a relative path. This places C extensions in the Python-standard location. + dest_name = dest_name.replace('.', os.sep) + # In some rare cases extension might already contain a suffix. Skip it in this case. + if os.path.splitext(dest_name)[1] not in EXTENSION_SUFFIXES: + # Determine the base name of the file. + base_name = os.path.basename(dest_name) + assert '.' not in base_name + # Use this file's existing extension. For extensions such as ``libzmq.cp36-win_amd64.pyd``, we cannot use + # ``os.path.splitext``, which would give only the ```.pyd`` part of the extension. + dest_name = dest_name + os.path.basename(src_name)[len(base_name):] + + return dest_name, src_name, typecode + + +def process_collected_binary( + src_name, + dest_name, + use_strip=False, + use_upx=False, + upx_exclude=None, + target_arch=None, + codesign_identity=None, + entitlements_file=None, + strict_arch_validation=False +): + """ + Process the collected binary using strip or UPX (or both), and apply any platform-specific processing. On macOS, + this rewrites the library paths in the headers, and (re-)signs the binary. On-disk cache is used to avoid processing + the same binary with same options over and over. + + In addition to given arguments, this function also uses CONF['cachedir'] and CONF['upx_dir']. + """ + from PyInstaller.config import CONF + + # We need to use cache in the following scenarios: + # * extra binary processing due to use of `strip` or `upx` + # * building on macOS, where we need to rewrite library paths in binaries' headers and (re-)sign the binaries. + if not use_strip and not use_upx and not is_darwin: + return src_name + + # Match against provided UPX exclude patterns. + upx_exclude = upx_exclude or [] + if use_upx: + src_path = pathlib.PurePath(src_name) + for upx_exclude_entry in upx_exclude: + # pathlib.PurePath.match() matches from right to left, and supports * wildcard, but does not support the + # "**" syntax for directory recursion. Case sensitivity follows the OS default. + if src_path.match(upx_exclude_entry): + logger.info("Disabling UPX for %s due to match in exclude pattern: %s", src_name, upx_exclude_entry) + use_upx = False + break + + # Additional automatic disablement rules for UPX and strip. + + # On Windows, avoid using UPX with binaries that have control flow guard (CFG) enabled. + if use_upx and is_win and versioninfo.pefile_check_control_flow_guard(src_name): + logger.info('Disabling UPX for %s due to CFG!', src_name) + use_upx = False + + # Avoid using UPX with Qt plugins, as it strips the data required by the Qt plugin loader. + if use_upx and misc.is_file_qt_plugin(src_name): + logger.info('Disabling UPX for %s due to it being a Qt plugin!', src_name) + use_upx = False + + # On linux, if a binary has an accompanying HMAC or CHK file, avoid modifying it in any way. + if (use_upx or use_strip) and is_linux: + src_path = pathlib.Path(src_name) + hmac_path = src_path.with_name(f".{src_path.name}.hmac") + chk_path = src_path.with_suffix(".chk") + if hmac_path.is_file(): + logger.info('Disabling UPX and/or strip for %s due to accompanying .hmac file!', src_name) + use_upx = use_strip = False + elif chk_path.is_file(): + logger.info('Disabling UPX and/or strip for %s due to accompanying .chk file!', src_name) + use_upx = use_strip = False + del src_path, hmac_path, chk_path + + # Exit early if no processing is required after above rules are applied. + if not use_strip and not use_upx and not is_darwin: + return src_name + + # Prepare cache directory path. Cache is tied to python major/minor version, but also to various processing options. + pyver = f'py{sys.version_info[0]}{sys.version_info[1]}' + arch = platform.architecture()[0] + cache_dir = os.path.join( + CONF['cachedir'], + f'bincache{use_strip:d}{use_upx:d}{pyver}{arch}', + ) + if target_arch: + cache_dir = os.path.join(cache_dir, target_arch) + if is_darwin: + # Separate by codesign identity + if codesign_identity: + # Compute hex digest of codesign identity string to prevent issues with invalid characters. + csi_hash = hashlib.sha256(codesign_identity.encode('utf-8')) + cache_dir = os.path.join(cache_dir, csi_hash.hexdigest()) + else: + cache_dir = os.path.join(cache_dir, 'adhoc') # ad-hoc signing + # Separate by entitlements + if entitlements_file: + # Compute hex digest of entitlements file contents + with open(entitlements_file, 'rb') as fp: + ef_hash = hashlib.sha256(fp.read()) + cache_dir = os.path.join(cache_dir, ef_hash.hexdigest()) + else: + cache_dir = os.path.join(cache_dir, 'no-entitlements') + os.makedirs(cache_dir, exist_ok=True) + + # Load cache index, if available + cache_index_file = os.path.join(cache_dir, "index.dat") + try: + cache_index = misc.load_py_data_struct(cache_index_file) + except FileNotFoundError: + cache_index = {} + except Exception: + # Tell the user they may want to fix their cache... However, do not delete it for them; if it keeps getting + # corrupted, we will never find out. + logger.warning("PyInstaller bincache may be corrupted; use pyinstaller --clean to fix it.") + raise + + # Look up the file in cache; use case-normalized destination name as identifier. + cached_id = os.path.normcase(dest_name) + cached_name = os.path.join(cache_dir, dest_name) + src_digest = _compute_file_digest(src_name) + + if cached_id in cache_index: + # If digest matches to the cached digest, return the cached file... + if src_digest == cache_index[cached_id]: + return cached_name + + # ... otherwise remove it. + os.remove(cached_name) + + # Ensure parent path exists + os.makedirs(os.path.dirname(cached_name), exist_ok=True) + + # Use `shutil.copyfile` to copy the file with default permissions bits, then manually set executable + # bits. This way, we avoid copying permission bits and metadata from the original file, which might be too + # restrictive for further processing (read-only permissions, immutable flag on FreeBSD, and so on). + shutil.copyfile(src_name, cached_name) + os.chmod(cached_name, 0o755) + + # Apply strip + if use_strip: + strip_options = [] + if is_darwin: + # The default strip behavior breaks some shared libraries under macOS. + strip_options = ["-S"] # -S = strip only debug symbols. + elif is_aix: + # Set -X32_64 flag to have strip transparently process both 32-bit and 64-bit binaries, without user having + # to set OBJECT_MODE environment variable prior to the build. Also accommodates potential mixed-case + # scenario, for example a 32-bit utility program being collected into a 64-bit application bundle. + strip_options = ["-X32_64"] + + cmd = ["strip", *strip_options, cached_name] + logger.info("Executing: %s", " ".join(cmd)) + try: + p = subprocess.run( + cmd, + stdin=subprocess.DEVNULL, + stdout=subprocess.PIPE, + stderr=subprocess.STDOUT, + check=True, + errors='ignore', + encoding='utf-8', + ) + logger.debug("Output from strip command:\n%s", p.stdout) + except subprocess.CalledProcessError as e: + show_warning = True + + # On AIX, strip utility raises an error when ran against already-stripped binary. Catch the corresponding + # message (`0654-419 The specified archive file was already stripped.`) and suppress the warning. + if is_aix and "0654-419" in e.stdout: + show_warning = False + + if show_warning: + logger.warning("Failed to run strip on %r!", cached_name, exc_info=True) + logger.warning("Output from strip command:\n%s", e.stdout) + except Exception: + logger.warning("Failed to run strip on %r!", cached_name, exc_info=True) + + # Apply UPX + if use_upx: + upx_exe = 'upx' + upx_dir = CONF['upx_dir'] + if upx_dir: + upx_exe = os.path.join(upx_dir, upx_exe) + + upx_options = [ + # Do not compress icons, so that they can still be accessed externally. + '--compress-icons=0', + # Use LZMA compression. + '--lzma', + # Quiet mode. + '-q', + ] + if is_win: + # Binaries built with Visual Studio 7.1 require --strip-loadconf or they will not compress. + upx_options.append('--strip-loadconf') + + cmd = [upx_exe, *upx_options, cached_name] + logger.info("Executing: %s", " ".join(cmd)) + try: + p = subprocess.run( + cmd, + stdin=subprocess.DEVNULL, + stdout=subprocess.PIPE, + stderr=subprocess.STDOUT, + check=True, + errors='ignore', + encoding='utf-8', + ) + logger.debug("Output from upx command:\n%s", p.stdout) + except subprocess.CalledProcessError as e: + logger.warning("Failed to upx strip on %r!", cached_name, exc_info=True) + logger.warning("Output from upx command:\n%s", e.stdout) + except Exception: + logger.warning("Failed to run upx on %r!", cached_name, exc_info=True) + + # On macOS, we need to modify the given binary's paths to the dependent libraries, in order to ensure they are + # relocatable and always refer to location within the frozen application. Specifically, we make all dependent + # library paths relative to @rpath, and set @rpath to point to the top-level application directory, relative to + # the binary's location (i.e., @loader_path). + # + # While modifying the headers invalidates existing signatures, we avoid removing them in order to speed things up + # (and to avoid potential bugs in the codesign utility, like the one reported on macOS 10.13 in #6167). + # The forced re-signing at the end should take care of the invalidated signatures. + if is_darwin: + try: + osxutils.binary_to_target_arch(cached_name, target_arch, display_name=src_name) + #osxutils.remove_signature_from_binary(cached_name) # Disabled as per comment above. + target_rpath = str( + pathlib.PurePath('@loader_path', *['..' for level in pathlib.PurePath(dest_name).parent.parts]) + ) + osxutils.set_dylib_dependency_paths(cached_name, target_rpath) + osxutils.sign_binary(cached_name, codesign_identity, entitlements_file) + except osxutils.InvalidBinaryError: + # Raised by osxutils.binary_to_target_arch when the given file is not a valid macOS binary (for example, + # a linux .so file; see issue #6327). The error prevents any further processing, so just ignore it. + pass + except osxutils.IncompatibleBinaryArchError: + # Raised by osxutils.binary_to_target_arch when the given file does not contain (all) required arch slices. + # Depending on the strict validation mode, re-raise or swallow the error. + # + # Strict validation should be enabled only for binaries where the architecture *must* match the target one, + # i.e., the extension modules. Everything else is pretty much a gray area, for example: + # * a universal2 extension may have its x86_64 and arm64 slices linked against distinct single-arch/thin + # shared libraries + # * a collected executable that is launched by python code via a subprocess can be x86_64-only, even though + # the actual python code is running on M1 in native arm64 mode. + if strict_arch_validation: + raise + logger.debug("File %s failed optional architecture validation - collecting as-is!", src_name) + except Exception as e: + raise SystemError(f"Failed to process binary {cached_name!r}!") from e + + # Update cache index + cache_index[cached_id] = src_digest + misc.save_py_data_struct(cache_index_file, cache_index) + + return cached_name + + +def _compute_file_digest(filename): + hasher = hashlib.sha1() + with open(filename, "rb") as fp: + for chunk in iter(lambda: fp.read(16 * 1024), b""): + hasher.update(chunk) + return bytearray(hasher.digest()) + + +def _check_path_overlap(path): + """ + Check that path does not overlap with WORKPATH or SPECPATH (i.e., WORKPATH and SPECPATH may not start with path, + which could be caused by a faulty hand-edited specfile). + + Raise SystemExit if there is overlap, return True otherwise + """ + from PyInstaller.config import CONF + specerr = 0 + if CONF['workpath'].startswith(path): + logger.error('Specfile error: The output path "%s" contains WORKPATH (%s)', path, CONF['workpath']) + specerr += 1 + if CONF['specpath'].startswith(path): + logger.error('Specfile error: The output path "%s" contains SPECPATH (%s)', path, CONF['specpath']) + specerr += 1 + if specerr: + raise SystemExit( + 'ERROR: Please edit/recreate the specfile (%s) and set a different output name (e.g. "dist").' % + CONF['spec'] + ) + return True + + +def _make_clean_directory(path): + """ + Create a clean directory from the given directory name. + """ + if _check_path_overlap(path): + if os.path.isdir(path) or os.path.isfile(path): + try: + os.remove(path) + except OSError: + _rmtree(path) + + os.makedirs(path, exist_ok=True) + + +def _rmtree(path): + """ + Remove directory and all its contents, but only after user confirmation, or if the -y option is set. + """ + from PyInstaller.config import CONF + if CONF['noconfirm']: + choice = 'y' + elif sys.stdout.isatty(): + choice = input( + 'WARNING: The output directory "%s" and ALL ITS CONTENTS will be REMOVED! Continue? (y/N)' % path + ) + else: + raise SystemExit( + 'ERROR: The output directory "%s" is not empty. Please remove all its contents or use the -y option (remove' + ' output directory without confirmation).' % path + ) + if choice.strip().lower() == 'y': + if not CONF['noconfirm']: + print("On your own risk, you can use the option `--noconfirm` to get rid of this question.") + logger.info('Removing dir %s', path) + shutil.rmtree(path) + else: + raise SystemExit('User aborted') + + +# TODO Refactor to prohibit empty target directories. As the docstring below documents, this function currently permits +# the second item of each 2-tuple in "hook.datas" to be the empty string, in which case the target directory defaults to +# the source directory's basename. However, this functionality is very fragile and hence bad. Instead: +# +# * An exception should be raised if such item is empty. +# * All hooks currently passing the empty string for such item (e.g., +# "hooks/hook-babel.py", "hooks/hook-matplotlib.py") should be refactored +# to instead pass such basename. +def format_binaries_and_datas(binaries_or_datas, workingdir=None): + """ + Convert the passed list of hook-style 2-tuples into a returned set of `TOC`-style 2-tuples. + + Elements of the passed list are 2-tuples `(source_dir_or_glob, target_dir)`. + Elements of the returned set are 2-tuples `(target_file, source_file)`. + For backwards compatibility, the order of elements in the former tuples are the reverse of the order of elements in + the latter tuples! + + Parameters + ---------- + binaries_or_datas : list + List of hook-style 2-tuples (e.g., the top-level `binaries` and `datas` attributes defined by hooks) whose: + * The first element is either: + * A glob matching only the absolute or relative paths of source non-Python data files. + * The absolute or relative path of a source directory containing only source non-Python data files. + * The second element is the relative path of the target directory into which these source files will be + recursively copied. + + If the optional `workingdir` parameter is passed, source paths may be either absolute or relative; else, source + paths _must_ be absolute. + workingdir : str + Optional absolute path of the directory to which all relative source paths in the `binaries_or_datas` + parameter will be prepended by (and hence converted into absolute paths) _or_ `None` if these paths are to be + preserved as relative. Defaults to `None`. + + Returns + ---------- + set + Set of `TOC`-style 2-tuples whose: + * First element is the absolute or relative path of a target file. + * Second element is the absolute or relative path of the corresponding source file to be copied to this target + file. + """ + toc_datas = set() + + for src_root_path_or_glob, trg_root_dir in binaries_or_datas: + # Disallow empty source path. Those are typically result of errors, and result in implicit collection of the + # whole current working directory, which is never a good idea. + if not src_root_path_or_glob: + raise InvalidSrcDestTupleError( + (src_root_path_or_glob, trg_root_dir), + "Empty SRC is not allowed when adding binary and data files, as it would result in collection of the " + "whole current working directory." + ) + if not trg_root_dir: + raise InvalidSrcDestTupleError( + (src_root_path_or_glob, trg_root_dir), + "Empty DEST_DIR is not allowed - to collect files into application's top-level directory, use " + f"{os.curdir!r}." + ) + # Disallow absolute target paths, as well as target paths that would end up pointing outside of the + # application's top-level directory. + if os.path.isabs(trg_root_dir): + raise InvalidSrcDestTupleError((src_root_path_or_glob, trg_root_dir), "DEST_DIR must be a relative path!") + if os.path.normpath(trg_root_dir).startswith('..'): + raise InvalidSrcDestTupleError( + (src_root_path_or_glob, trg_root_dir), + "DEST_DIR must not point outside of application's top-level directory!", + ) + + # Convert relative to absolute paths if required. + if workingdir and not os.path.isabs(src_root_path_or_glob): + src_root_path_or_glob = os.path.join(workingdir, src_root_path_or_glob) + + # Normalize paths. + src_root_path_or_glob = os.path.normpath(src_root_path_or_glob) + + # If given source path is a file or directory path, pass it on. + # If not, treat it as a glob and pass on all matching paths. However, we need to preserve the directories + # captured by the glob - as opposed to collecting their contents into top-level target directory. Therefore, + # we set a flag which is used in subsequent processing to distinguish between original directory paths and + # directory paths that were captured by the glob. + if os.path.isfile(src_root_path_or_glob) or os.path.isdir(src_root_path_or_glob): + src_root_paths = [src_root_path_or_glob] + was_glob = False + else: + src_root_paths = glob.glob(src_root_path_or_glob) + was_glob = True + + if not src_root_paths: + raise SystemExit(f'ERROR: Unable to find {src_root_path_or_glob!r} when adding binary and data files.') + + for src_root_path in src_root_paths: + if os.path.isfile(src_root_path): + # Normalizing the result to remove redundant relative paths (e.g., removing "./" from "trg/./file"). + toc_datas.add(( + os.path.normpath(os.path.join(trg_root_dir, os.path.basename(src_root_path))), + os.path.normpath(src_root_path), + )) + elif os.path.isdir(src_root_path): + for src_dir, src_subdir_basenames, src_file_basenames in os.walk(src_root_path): + # Ensure the current source directory is a subdirectory of the passed top-level source directory. + # Since os.walk() does *NOT* follow symlinks by default, this should be the case. (But let's make + # sure.) + assert src_dir.startswith(src_root_path) + + # Relative path of the current target directory, obtained by: + # + # * Stripping the top-level source directory from the current source directory (e.g., removing + # "/top" from "/top/dir"). + # * Normalizing the result to remove redundant relative paths (e.g., removing "./" from + # "trg/./file"). + if was_glob: + # Preserve directories captured by glob. + rel_dir = os.path.relpath(src_dir, os.path.dirname(src_root_path)) + else: + rel_dir = os.path.relpath(src_dir, src_root_path) + trg_dir = os.path.normpath(os.path.join(trg_root_dir, rel_dir)) + + for src_file_basename in src_file_basenames: + src_file = os.path.join(src_dir, src_file_basename) + if os.path.isfile(src_file): + # Normalize the result to remove redundant relative paths (e.g., removing "./" from + # "trg/./file"). + toc_datas.add(( + os.path.normpath(os.path.join(trg_dir, src_file_basename)), os.path.normpath(src_file) + )) + + return toc_datas + + +def get_code_object(modname, filename, optimize): + """ + Get the code-object for a module. + + This is a simplifed non-performant version which circumvents __pycache__. + """ + + if filename in ('-', None): + # This is a NamespacePackage, modulegraph marks them by using the filename '-'. (But wants to use None, so + # check for None, too, to be forward-compatible.) + logger.debug('Compiling namespace package %s', modname) + txt = '#\n' + code_object = compile(txt, filename, 'exec', optimize=optimize) + else: + _, ext = os.path.splitext(filename) + ext = ext.lower() + + if ext == '.pyc': + # The module is available in binary-only form. Read the contents of .pyc file using helper function, which + # supports reading from either stand-alone or archive-embedded .pyc files. + logger.debug('Reading code object from .pyc file %s', filename) + pyc_data = _read_pyc_data(filename) + code_object = marshal.loads(pyc_data[16:]) + else: + # Assume this is a source .py file, but allow an arbitrary extension (other than .pyc, which is taken in + # the above branch). This allows entry-point scripts to have an arbitrary (or no) extension, as tested by + # the `test_arbitrary_ext` in `test_basic.py`. + logger.debug('Compiling python script/module file %s', filename) + + with open(filename, 'rb') as f: + source = f.read() + + # If entry-point script has no suffix, append .py when compiling the source. In POSIX builds, the executable + # has no suffix either; this causes issues with `traceback` module, as it tries to read the executable file + # when trying to look up the code for the entry-point script (when current working directory contains the + # executable). + _, ext = os.path.splitext(filename) + if not ext: + logger.debug("Appending .py to compiled entry-point name...") + filename += '.py' + + try: + code_object = compile(source, filename, 'exec', optimize=optimize) + except SyntaxError: + logger.warning("Sytnax error while compiling %s", filename) + raise + + return code_object + + +def strip_paths_in_code(co, new_filename=None): + # Paths to remove from filenames embedded in code objects + replace_paths = sys.path + CONF['pathex'] + # Make sure paths end with os.sep and the longest paths are first + replace_paths = sorted((os.path.join(f, '') for f in replace_paths), key=len, reverse=True) + + if new_filename is None: + original_filename = os.path.normpath(co.co_filename) + for f in replace_paths: + if original_filename.startswith(f): + new_filename = original_filename[len(f):] + break + + else: + return co + + code_func = type(co) + + consts = tuple( + strip_paths_in_code(const_co, new_filename) if isinstance(const_co, code_func) else const_co + for const_co in co.co_consts + ) + + return co.replace(co_consts=consts, co_filename=new_filename) + + +def _should_include_system_binary(binary_tuple, exceptions): + """ + Return True if the given binary_tuple describes a system binary that should be included. + + Exclude all system library binaries other than those with "lib-dynload" in the destination or "python" in the + source, except for those matching the patterns in the exceptions list. Intended to be used from the Analysis + exclude_system_libraries method. + """ + dest = binary_tuple[0] + if dest.startswith('lib-dynload'): + return True + src = binary_tuple[1] + if fnmatch.fnmatch(src, '*python*'): + return True + if not src.startswith('/lib') and not src.startswith('/usr/lib'): + return True + for exception in exceptions: + if fnmatch.fnmatch(dest, exception): + return True + return False + + +def compile_pymodule(name, src_path, workpath, optimize, code_cache=None): + """ + Given the name and source file for a pure-python module, compile the module in the specified working directory, + and return the name of resulting .pyc file. The paths in the resulting .pyc module are anonymized by having their + absolute prefix removed. + + If a .pyc file with matching name already exists in the target working directory, it is re-used (provided it has + compatible bytecode magic in the header, and that its modification time is newer than that of the source file). + + If the specified module is available in binary-only form, the input .pyc file is copied to the target working + directory and post-processed. If the specified module is available in source form, it is compiled only if + corresponding code object is not available in the optional code-object cache; otherwise, it is copied from cache + and post-processed. When compiling the module, the specified byte-code optimization level is used. + + It is up to caller to ensure that the optional code-object cache contains only code-objects of target optimization + level, and that if the specified working directory already contains .pyc files, that they were created with target + optimization level. + """ + + # Construct the target .pyc filename in the workpath + split_name = name.split(".") + if "__init__" in src_path: + # __init__ module; use "__init__" as module name, and construct parent path using all components of the + # fully-qualified name + parent_dirs = split_name + mod_basename = "__init__" + else: + # Regular module; use last component of the fully-qualified name as module name, and the rest as the parent + # path. + parent_dirs = split_name[:-1] + mod_basename = split_name[-1] + pyc_path = os.path.join(workpath, *parent_dirs, mod_basename + '.pyc') + + # Check if optional cache contains module entry + code_object = code_cache.get(name, None) if code_cache else None + + if code_object is None: + _, ext = os.path.splitext(src_path) + ext = ext.lower() + + if ext == '.py': + # Source py file; read source and compile it. + with open(src_path, 'rb') as f: + src_data = f.read() + code_object = compile(src_data, src_path, 'exec', optimize=optimize) + elif ext == '.pyc': + # The module is available in binary-only form. Read the contents of .pyc file using helper function, which + # supports reading from either stand-alone or archive-embedded .pyc files. + pyc_data = _read_pyc_data(src_path) + # Unmarshal code object; this is necessary if we want to strip paths from it + code_object = marshal.loads(pyc_data[16:]) + else: + raise ValueError(f"Invalid python module file {src_path}; unhandled extension {ext}!") + + # Strip code paths from the code object + code_object = strip_paths_in_code(code_object) + + # Write complete .pyc module to in-memory stream. Then, check if .pyc file already exists, compare contents, and + # (re)write it only if different. This avoids unnecessary (re)writing of the file, and in turn also avoids + # unnecessary cache invalidation for targets that make use of the .pyc file (e.g., PKG, COLLECT). + with io.BytesIO() as pyc_stream: + pyc_stream.write(compat.BYTECODE_MAGIC) + pyc_stream.write(struct.pack('= 3.10 stdlib, or equivalent importlib-metadata >= 4.6. +if _setup_py_mode: + importlib_metadata = None +else: + if sys.version_info >= (3, 10): + import importlib.metadata as importlib_metadata + else: + try: + import importlib_metadata + except ImportError as e: + from PyInstaller.exceptions import ImportlibMetadataError + raise ImportlibMetadataError() from e + + import packaging.version # For importlib_metadata version check + + # Validate the version + if packaging.version.parse(importlib_metadata.version("importlib-metadata")) < packaging.version.parse("4.6"): + from PyInstaller.exceptions import ImportlibMetadataError + raise ImportlibMetadataError() + +# Strict collect mode, which raises error when trying to collect duplicate files into PKG/CArchive or COLLECT. +strict_collect_mode = os.environ.get("PYINSTALLER_STRICT_COLLECT_MODE", "0") != "0" + +# Copied from https://docs.python.org/3/library/platform.html#cross-platform. +is_64bits: bool = sys.maxsize > 2**32 + +# Distinguish specific code for various Python versions. Variables 'is_pyXY' mean that Python X.Y and up is supported. +# Keep even unsupported versions here to keep 3rd-party hooks working. +is_py35 = sys.version_info >= (3, 5) +is_py36 = sys.version_info >= (3, 6) +is_py37 = sys.version_info >= (3, 7) +is_py38 = sys.version_info >= (3, 8) +is_py39 = sys.version_info >= (3, 9) +is_py310 = sys.version_info >= (3, 10) +is_py311 = sys.version_info >= (3, 11) +is_py312 = sys.version_info >= (3, 12) +is_py313 = sys.version_info >= (3, 13) +is_py314 = sys.version_info >= (3, 14) + +is_win = sys.platform.startswith('win') +is_win_10 = is_win and (platform.win32_ver()[0] == '10') +is_win_11 = is_win and (platform.win32_ver()[0] == '11') +is_win_wine = False # Running under Wine; determined later on. +is_cygwin = sys.platform == 'cygwin' +is_darwin = sys.platform == 'darwin' # macOS + +# Unix platforms +is_linux = sys.platform.startswith('linux') +is_solar = sys.platform.startswith('sun') # Solaris +is_aix = sys.platform.startswith('aix') +is_freebsd = sys.platform.startswith('freebsd') +is_openbsd = sys.platform.startswith('openbsd') +is_hpux = sys.platform.startswith('hp-ux') + +# Some code parts are similar to several unix platforms (e.g. Linux, Solaris, AIX). +# macOS is not considered as unix since there are many platform-specific details for Mac in PyInstaller. +is_unix = is_linux or is_solar or is_aix or is_freebsd or is_hpux or is_openbsd + +# Linux distributions such as Alpine or OpenWRT use musl as their libc implementation and resultantly need specially +# compiled bootloaders. On musl systems, ldd with no arguments prints 'musl' and its version. +is_musl = is_linux and "musl" in subprocess.run(["ldd"], capture_output=True, encoding="utf-8").stderr + +# Termux - terminal emulator and Linux environment app for Android. +is_termux = is_linux and hasattr(sys, 'getandroidapilevel') + +# macOS version +_macos_ver = tuple(int(x) for x in platform.mac_ver()[0].split('.')) if is_darwin else None + +# macOS 11 (Big Sur): if python is not compiled with Big Sur support, it ends up in compatibility mode by default, which +# is indicated by platform.mac_ver() returning '10.16'. The lack of proper Big Sur support breaks find_library() +# function from ctypes.util module, as starting with Big Sur, shared libraries are not visible on disk anymore. Support +# for the new library search mechanism was added in python 3.9 when compiled with Big Sur support. In such cases, +# platform.mac_ver() reports version as '11.x'. The behavior can be further modified via SYSTEM_VERSION_COMPAT +# environment variable; which allows explicitly enabling or disabling the compatibility mode. However, note that +# disabling the compatibility mode and using python that does not properly support Big Sur still leaves find_library() +# broken (which is a scenario that we ignore at the moment). +# The same logic applies to macOS 12 (Monterey). +is_macos_11_compat = bool(_macos_ver) and _macos_ver[0:2] == (10, 16) # Big Sur or newer in compat mode +is_macos_11_native = bool(_macos_ver) and _macos_ver[0:2] >= (11, 0) # Big Sur or newer in native mode +is_macos_11 = is_macos_11_compat or is_macos_11_native # Big Sur or newer + +# Check if python >= 3.13 was built with Py_GIL_DISABLED / free-threading (PEP703). +# +# This affects the shared library name, which has the "t" ABI suffix, as per: +# https://github.com/python/steering-council/issues/221#issuecomment-1841593283 +# +# It also affects the layout of PyConfig structure used by bootloader; consequently +# a) we need to inform bootloader what kind of build it is dealing with +# b) we must not mix up shared libraries, in case multiple builds are present on the system. Thus, strictly enforce the +# "t" ABI suffix in the PYDYLIB_NAMES, if applicable. +is_nogil = bool(sysconfig.get_config_var('Py_GIL_DISABLED')) + +_py_suffix = "t" if is_nogil else "" + +# On different platforms is different file for dynamic python library. +_py_major, _py_minor = sys.version_info[:2] +if is_win or is_cygwin: + PYDYLIB_NAMES = { + f'python{_py_major}{_py_minor}{_py_suffix}.dll', + f'libpython{_py_major}{_py_minor}{_py_suffix}.dll', + f'libpython{_py_major}.{_py_minor}{_py_suffix}.dll', + } # For MSYS2 environment +elif is_darwin: + # The suffix in .framework library name is capitalized, e.g., PythonT for freethreading-enabled build. + # The `libpython%d.%d%s.dylib` is there primarily for Anaconda installations, but it also serves as a fallback in + # .framework builds, where `/Library/Frameworks/Python.framework/Versions/3.X/lib/libpython3.13.dylib` is a symbolic + # link that points to `../Python`. + PYDYLIB_NAMES = { + f'Python{_py_suffix.upper()}', + f'.Python{_py_suffix.upper()}', + f'Python{_py_major}{_py_suffix.upper()}', + f'libpython{_py_major}.{_py_minor}{_py_suffix}.dylib', + } +elif is_aix: + # Shared libs on AIX may be archives with shared object members, hence the ".a" suffix. However, starting with + # python 2.7.11 libpython?.?.so and Python3 libpython?.?m.so files are produced. + PYDYLIB_NAMES = { + f'libpython{_py_major}.{_py_minor}{_py_suffix}.a', + f'libpython{_py_major}.{_py_minor}{_py_suffix}.so', + } +elif is_freebsd: + PYDYLIB_NAMES = { + f'libpython{_py_major}.{_py_minor}{_py_suffix}.so.1', + f'libpython{_py_major}.{_py_minor}{_py_suffix}.so.1.0', + } +elif is_openbsd: + PYDYLIB_NAMES = { + f'libpython{_py_major}.{_py_minor}{_py_suffix}.so.0.0', + } +elif is_hpux: + PYDYLIB_NAMES = { + f'libpython{_py_major}.{_py_minor}{_py_suffix}.so', + } +elif is_unix: + # Other *nix platforms. + # Python 2 .so library on Linux is: libpython2.7.so.1.0 + # Python 3 .so library on Linux is: libpython3.3.so.1.0 + PYDYLIB_NAMES = { + f'libpython{_py_major}.{_py_minor}{_py_suffix}.so.1.0', + f'libpython{_py_major}.{_py_minor}{_py_suffix}.so', + } +else: + raise SystemExit( + 'ERROR: Your platform is not yet supported. Please define constant PYDYLIB_NAMES for your platform.' + ) + +del _py_major, _py_minor, _py_suffix + +# In a virtual environment created by virtualenv (github.com/pypa/virtualenv) there exists sys.real_prefix with the path +# to the base Python installation from which the virtual environment was created. This is true regardless of the version +# of Python used to execute the virtualenv command. +# +# In a virtual environment created by the venv module available in the Python standard lib, there exists sys.base_prefix +# with the path to the base implementation. This does not exist in a virtual environment created by virtualenv. +# +# The following code creates compat.is_venv and is.virtualenv that are True when running a virtual environment, and also +# compat.base_prefix with the path to the base Python installation. + +base_prefix: str = os.path.abspath(getattr(sys, 'real_prefix', getattr(sys, 'base_prefix', sys.prefix))) +# Ensure `base_prefix` is not containing any relative parts. +is_venv = is_virtualenv = base_prefix != os.path.abspath(sys.prefix) + +# Conda environments sometimes have different paths or apply patches to packages that can affect how a hook or package +# should access resources. Method for determining conda taken from https://stackoverflow.com/questions/47610844#47610844 +is_conda = os.path.isdir(os.path.join(base_prefix, 'conda-meta')) + +# Similar to ``is_conda`` but is ``False`` using another ``venv``-like manager on top. In this case, no packages +# encountered will be conda packages meaning that the default non-conda behaviour is generally desired from PyInstaller. +is_pure_conda = os.path.isdir(os.path.join(sys.prefix, 'conda-meta')) + +# Full path to python interpreter. +python_executable = getattr(sys, '_base_executable', sys.executable) + +# Is this Python from Microsoft App Store (Windows only)? Python from Microsoft App Store has executable pointing at +# empty shims. +is_ms_app_store = is_win and os.path.getsize(python_executable) == 0 + +if is_ms_app_store: + # Locate the actual executable inside base_prefix. + python_executable = os.path.join(base_prefix, os.path.basename(python_executable)) + if not os.path.exists(python_executable): + raise SystemExit( + 'ERROR: PyInstaller cannot locate real python executable belonging to Python from Microsoft App Store!' + ) + +# Bytecode magic value +BYTECODE_MAGIC = importlib.util.MAGIC_NUMBER + +# List of suffixes for Python C extension modules. +EXTENSION_SUFFIXES = importlib.machinery.EXTENSION_SUFFIXES +ALL_SUFFIXES = importlib.machinery.all_suffixes() + +# On Windows we require pywin32-ctypes. +# -> all pyinstaller modules should use win32api from PyInstaller.compat to +# ensure that it can work on MSYS2 (which requires pywin32-ctypes) +if is_win: + if _setup_py_mode: + pywintypes = None + win32api = None + else: + try: + # Hide the `cffi` package from win32-ctypes by temporarily blocking its import. This ensures that `ctypes` + # backend is always used, even if `cffi` is available. The `cffi` backend uses `pycparser`, which is + # incompatible with -OO mode (2nd optimization level) due to its removal of docstrings. + # See https://github.com/pyinstaller/pyinstaller/issues/6345 + # On the off chance that `cffi` has already been imported, store the `sys.modules` entry so we can restore + # it after importing `pywin32-ctypes` modules. + orig_cffi = sys.modules.get('cffi') + sys.modules['cffi'] = None + + from win32ctypes.pywin32 import pywintypes # noqa: F401, E402 + from win32ctypes.pywin32 import win32api # noqa: F401, E402 + except ImportError as e: + raise SystemExit( + 'ERROR: Could not import `pywintypes` or `win32api` from `win32ctypes.pywin32`.\n' + 'Please make sure that `pywin32-ctypes` is installed and importable, for example:\n\n' + 'pip install pywin32-ctypes\n' + ) from e + finally: + # Unblock `cffi`. + if orig_cffi is not None: + sys.modules['cffi'] = orig_cffi + else: + del sys.modules['cffi'] + del orig_cffi + +# macOS's platform.architecture() can be buggy, so we do this manually here. Based off the python documentation: +# https://docs.python.org/3/library/platform.html#platform.architecture +if is_darwin: + architecture = '64bit' if sys.maxsize > 2**32 else '32bit' +else: + architecture = platform.architecture()[0] + +# Cygwin needs special handling, because platform.system() contains identifiers such as MSYS_NT-10.0-19042 and +# CYGWIN_NT-10.0-19042 that do not fit PyInstaller's OS naming scheme. Explicitly set `system` to 'Cygwin'. +system = 'Cygwin' if is_cygwin else platform.system() + +# Machine suffix for bootloader. +if is_win: + # On Windows ARM64 using an x64 Python environment, platform.machine() returns ARM64 but + # we really want the bootloader that matches the Python environment instead of the OS. + machine = _pyi_machine(os.environ.get("PROCESSOR_ARCHITECTURE", platform.machine()), platform.system()) +else: + machine = _pyi_machine(platform.machine(), platform.system()) + + +# Wine detection and support +def is_wine_dll(filename: str | os.PathLike): + """ + Check if the given PE file is a Wine DLL (PE-converted built-in, or fake/placeholder one). + + Returns True if the given file is a Wine DLL, False if not (or if file cannot be analyzed or does not exist). + """ + _WINE_SIGNATURES = ( + b'Wine builtin DLL', # PE-converted Wine DLL + b'Wine placeholder DLL', # Fake/placeholder Wine DLL + ) + _MAX_LEN = max([len(sig) for sig in _WINE_SIGNATURES]) + + # Wine places their DLL signature in the padding area between the IMAGE_DOS_HEADER and IMAGE_NT_HEADERS. So we need + # to compare the bytes that come right after IMAGE_DOS_HEADER, i.e., after initial 64 bytes. We can read the file + # directly and avoid using the pefile library to avoid performance penalty associated with full header parsing. + try: + with open(filename, 'rb') as fp: + fp.seek(64) + signature = fp.read(_MAX_LEN) + return signature.startswith(_WINE_SIGNATURES) + except Exception: + pass + return False + + +if is_win: + try: + import ctypes.util # noqa: E402 + is_win_wine = is_wine_dll(ctypes.util.find_library('kernel32')) + except Exception: + pass + +# Set and get environment variables does not handle unicode strings correctly on Windows. + +# Acting on os.environ instead of using getenv()/setenv()/unsetenv(), as suggested in +# : "Calling putenv() directly does not change os.environ, so it is +# better to modify os.environ." (Same for unsetenv.) + + +def getenv(name: str, default: str | None = None): + """ + Returns unicode string containing value of environment variable 'name'. + """ + return os.environ.get(name, default) + + +def setenv(name: str, value: str): + """ + Accepts unicode string and set it as environment variable 'name' containing value 'value'. + """ + os.environ[name] = value + + +def unsetenv(name: str): + """ + Delete the environment variable 'name'. + """ + # Some platforms (e.g., AIX) do not support `os.unsetenv()` and thus `del os.environ[name]` has no effect on the + # real environment. For this case, we set the value to the empty string. + os.environ[name] = "" + del os.environ[name] + + +# Exec commands in subprocesses. + + +def exec_command( + *cmdargs: str, encoding: str | None = None, raise_enoent: bool | None = None, **kwargs: int | bool | list | None +): + """ + Run the command specified by the passed positional arguments, optionally configured by the passed keyword arguments. + + .. DANGER:: + **Ignore this function's return value** -- unless this command's standard output contains _only_ pathnames, in + which case this function returns the correct filesystem-encoded string expected by PyInstaller. In all other + cases, this function's return value is _not_ safely usable. + + For backward compatibility, this function's return value non-portably depends on the current Python version and + passed keyword arguments: + + * Under Python 3.x, this value is a **decoded `str` string**. However, even this value is _not_ necessarily + safely usable: + * If the `encoding` parameter is passed, this value is guaranteed to be safely usable. + * Else, this value _cannot_ be safely used for any purpose (e.g., string manipulation or parsing), except to be + passed directly to another non-Python command. Why? Because this value has been decoded with the encoding + specified by `sys.getfilesystemencoding()`, the encoding used by `os.fsencode()` and `os.fsdecode()` to + convert from platform-agnostic to platform-specific pathnames. This is _not_ necessarily the encoding with + which this command's standard output was encoded. Cue edge-case decoding exceptions. + + Parameters + ---------- + cmdargs : + Variadic list whose: + 1. Mandatory first element is the absolute path, relative path, or basename in the current `${PATH}` of the + command to run. + 2. Optional remaining elements are arguments to pass to this command. + encoding : str, optional + Optional keyword argument specifying the encoding with which to decode this command's standard output under + Python 3. As this function's return value should be ignored, this argument should _never_ be passed. + raise_enoent : boolean, optional + Optional keyword argument to simply raise the exception if the executing the command fails since to the command + is not found. This is useful to checking id a command exists. + + All remaining keyword arguments are passed as is to the `subprocess.Popen()` constructor. + + Returns + ---------- + str + Ignore this value. See discussion above. + """ + + proc = subprocess.Popen(cmdargs, stdout=subprocess.PIPE, **kwargs) + try: + out = proc.communicate(timeout=60)[0] + except OSError as e: + if raise_enoent and e.errno == errno.ENOENT: + raise + print('--' * 20, file=sys.stderr) + print("Error running '%s':" % " ".join(cmdargs), file=sys.stderr) + print(e, file=sys.stderr) + print('--' * 20, file=sys.stderr) + raise ExecCommandFailed("ERROR: Executing command failed!") from e + except subprocess.TimeoutExpired: + proc.kill() + raise + + # stdout/stderr are returned as a byte array NOT as string, so we need to convert that to proper encoding. + try: + if encoding: + out = out.decode(encoding) + else: + # If no encoding is given, assume we are reading filenames from stdout only because it is the common case. + out = os.fsdecode(out) + except UnicodeDecodeError as e: + # The sub-process used a different encoding; provide more information to ease debugging. + print('--' * 20, file=sys.stderr) + print(str(e), file=sys.stderr) + print('These are the bytes around the offending byte:', file=sys.stderr) + print('--' * 20, file=sys.stderr) + raise + return out + + +def exec_command_rc(*cmdargs: str, **kwargs: float | bool | list | None): + """ + Return the exit code of the command specified by the passed positional arguments, optionally configured by the + passed keyword arguments. + + Parameters + ---------- + cmdargs : list + Variadic list whose: + 1. Mandatory first element is the absolute path, relative path, or basename in the current `${PATH}` of the + command to run. + 2. Optional remaining elements are arguments to pass to this command. + + All keyword arguments are passed as is to the `subprocess.call()` function. + + Returns + ---------- + int + This command's exit code as an unsigned byte in the range `[0, 255]`, where 0 signifies success and all other + values signal a failure. + """ + + # 'encoding' keyword is not supported for 'subprocess.call'; remove it from kwargs. + if 'encoding' in kwargs: + kwargs.pop('encoding') + return subprocess.call(cmdargs, **kwargs) + + +def exec_command_all(*cmdargs: str, encoding: str | None = None, **kwargs: int | bool | list | None): + """ + Run the command specified by the passed positional arguments, optionally configured by the passed keyword arguments. + + .. DANGER:: + **Ignore this function's return value.** If this command's standard output consists solely of pathnames, consider + calling `exec_command()` + + Parameters + ---------- + cmdargs : str + Variadic list whose: + 1. Mandatory first element is the absolute path, relative path, or basename in the current `${PATH}` of the + command to run. + 2. Optional remaining elements are arguments to pass to this command. + encoding : str, optional + Optional keyword argument specifying the encoding with which to decode this command's standard output. As this + function's return value should be ignored, this argument should _never_ be passed. + + All remaining keyword arguments are passed as is to the `subprocess.Popen()` constructor. + + Returns + ---------- + (int, str, str) + Ignore this 3-element tuple `(exit_code, stdout, stderr)`. See the `exec_command()` function for discussion. + """ + proc = subprocess.Popen( + cmdargs, + bufsize=-1, # Default OS buffer size. + stdout=subprocess.PIPE, + stderr=subprocess.PIPE, + **kwargs + ) + # Waits for subprocess to complete. + try: + out, err = proc.communicate(timeout=60) + except subprocess.TimeoutExpired: + proc.kill() + raise + # stdout/stderr are returned as a byte array NOT as string. Thus we need to convert that to proper encoding. + try: + if encoding: + out = out.decode(encoding) + err = err.decode(encoding) + else: + # If no encoding is given, assume we're reading filenames from stdout only because it's the common case. + out = os.fsdecode(out) + err = os.fsdecode(err) + except UnicodeDecodeError as e: + # The sub-process used a different encoding, provide more information to ease debugging. + print('--' * 20, file=sys.stderr) + print(str(e), file=sys.stderr) + print('These are the bytes around the offending byte:', file=sys.stderr) + print('--' * 20, file=sys.stderr) + raise + + return proc.returncode, out, err + + +def __wrap_python(args, kwargs): + cmdargs = [sys.executable] + + # macOS supports universal binaries (binary for multiple architectures. We need to ensure that subprocess + # binaries are running for the same architecture as python executable. It is necessary to run binaries with 'arch' + # command. + if is_darwin: + if architecture == '64bit': + if platform.machine() == 'arm64': + py_prefix = ['arch', '-arm64'] # Apple M1 + else: + py_prefix = ['arch', '-x86_64'] # Intel + elif architecture == '32bit': + py_prefix = ['arch', '-i386'] + else: + py_prefix = [] + # Since macOS 10.11, the environment variable DYLD_LIBRARY_PATH is no more inherited by child processes, so we + # proactively propagate the current value using the `-e` option of the `arch` command. + if 'DYLD_LIBRARY_PATH' in os.environ: + path = os.environ['DYLD_LIBRARY_PATH'] + py_prefix += ['-e', 'DYLD_LIBRARY_PATH=%s' % path] + cmdargs = py_prefix + cmdargs + + if not __debug__: + cmdargs.append('-O') + + cmdargs.extend(args) + + env = kwargs.get('env') + if env is None: + env = dict(**os.environ) + + # Ensure python 3 subprocess writes 'str' as utf-8 + env['PYTHONIOENCODING'] = 'UTF-8' + # ... and ensure we read output as utf-8 + kwargs['encoding'] = 'UTF-8' + + return cmdargs, kwargs + + +def exec_python(*args: str, **kwargs: str | None): + """ + Wrap running python script in a subprocess. + + Return stdout of the invoked command. + """ + cmdargs, kwargs = __wrap_python(args, kwargs) + return exec_command(*cmdargs, **kwargs) + + +def exec_python_rc(*args: str, **kwargs: str | None): + """ + Wrap running python script in a subprocess. + + Return exit code of the invoked command. + """ + cmdargs, kwargs = __wrap_python(args, kwargs) + return exec_command_rc(*cmdargs, **kwargs) + + +# Path handling. + + +# Site-packages functions - use native function if available. +def getsitepackages(prefixes: list | None = None): + """ + Returns a list containing all global site-packages directories. + + For each directory present in ``prefixes`` (or the global ``PREFIXES``), this function finds its `site-packages` + subdirectory depending on the system environment, and returns a list of full paths. + """ + # This implementation was copied from the ``site`` module, python 3.7.3. + sitepackages = [] + seen = set() + + if prefixes is None: + prefixes = [sys.prefix, sys.exec_prefix] + + for prefix in prefixes: + if not prefix or prefix in seen: + continue + seen.add(prefix) + + if os.sep == '/': + sitepackages.append(os.path.join(prefix, "lib", "python%d.%d" % sys.version_info[:2], "site-packages")) + else: + sitepackages.append(prefix) + sitepackages.append(os.path.join(prefix, "lib", "site-packages")) + return sitepackages + + +# Backported for virtualenv. Module 'site' in virtualenv might not have this attribute. +getsitepackages = getattr(site, 'getsitepackages', getsitepackages) + + +# Wrapper to load a module from a Python source file. This function loads import hooks when processing them. +def importlib_load_source(name: str, pathname: str): + # Import module from a file. + mod_loader = importlib.machinery.SourceFileLoader(name, pathname) + mod = types.ModuleType(mod_loader.name) + mod.__file__ = mod_loader.get_filename() # Some hooks require __file__ attribute in their namespace + mod_loader.exec_module(mod) + return mod + + +# Patterns of module names that should be bundled into the base_library.zip to be available during bootstrap. +# These modules include direct or indirect dependencies of encodings.* modules. The encodings modules must be +# recursively included to set the I/O encoding during python startup. Similarly, this list should include +# modules used by PyInstaller's bootstrap scripts and modules (loader/pyi*.py) + +PY3_BASE_MODULES = { + '_collections_abc', + '_weakrefset', + 'abc', + 'codecs', + 'collections', + 'copyreg', + 'encodings', + 'enum', + 'functools', + 'genericpath', # dependency of os.path + 'io', + 'heapq', + 'keyword', + 'linecache', + 'locale', + 'ntpath', # dependency of os.path + 'operator', + 'os', + 'posixpath', # dependency of os.path + 're', + 'reprlib', + 'sre_compile', + 'sre_constants', + 'sre_parse', + 'stat', # dependency of os.path + 'traceback', # for startup errors + 'types', + 'weakref', + 'warnings', +} + +if not is_py310: + PY3_BASE_MODULES.add('_bootlocale') + +# Object types of Pure Python modules in modulegraph dependency graph. +# Pure Python modules have code object (attribute co_code). +PURE_PYTHON_MODULE_TYPES = { + 'SourceModule', + 'CompiledModule', + 'Package', + 'NamespacePackage', + # Deprecated. + # TODO Could these module types be removed? + 'FlatPackage', + 'ArchiveModule', +} +# Object types of special Python modules (built-in, run-time, namespace package) in modulegraph dependency graph that do +# not have code object. +SPECIAL_MODULE_TYPES = { + # Omit AliasNode from here (and consequently from VALID_MODULE_TYPES), in order to prevent PyiModuleGraph from + # running standard hooks for aliased modules. + #'AliasNode', + 'BuiltinModule', + 'RuntimeModule', + 'RuntimePackage', + + # PyInstaller handles scripts differently and not as standard Python modules. + 'Script', +} +# Object types of Binary Python modules (extensions, etc) in modulegraph dependency graph. +BINARY_MODULE_TYPES = { + 'Extension', + 'ExtensionPackage', +} +# Object types of valid Python modules in modulegraph dependency graph. +VALID_MODULE_TYPES = PURE_PYTHON_MODULE_TYPES | SPECIAL_MODULE_TYPES | BINARY_MODULE_TYPES +# Object types of bad/missing/invalid Python modules in modulegraph dependency graph. +# TODO: should be 'Invalid' module types also in the 'MISSING' set? +BAD_MODULE_TYPES = { + 'BadModule', + 'ExcludedModule', + 'InvalidSourceModule', + 'InvalidCompiledModule', + 'MissingModule', + + # Runtime modules and packages are technically valid rather than bad, but exist only in-memory rather than on-disk + # (typically due to pre_safe_import_module() hooks), and hence cannot be physically frozen. For simplicity, these + # nodes are categorized as bad rather than valid. + 'RuntimeModule', + 'RuntimePackage', +} +ALL_MODULE_TYPES = VALID_MODULE_TYPES | BAD_MODULE_TYPES +# TODO: review this mapping to TOC, remove useless entries. +# Dictionary to map ModuleGraph node types to TOC typecodes. +MODULE_TYPES_TO_TOC_DICT = { + # Pure modules. + 'AliasNode': 'PYMODULE', + 'Script': 'PYSOURCE', + 'SourceModule': 'PYMODULE', + 'CompiledModule': 'PYMODULE', + 'Package': 'PYMODULE', + 'FlatPackage': 'PYMODULE', + 'ArchiveModule': 'PYMODULE', + # Binary modules. + 'Extension': 'EXTENSION', + 'ExtensionPackage': 'EXTENSION', + # Special valid modules. + 'BuiltinModule': 'BUILTIN', + 'NamespacePackage': 'PYMODULE', + # Bad modules. + 'BadModule': 'bad', + 'ExcludedModule': 'excluded', + 'InvalidSourceModule': 'invalid', + 'InvalidCompiledModule': 'invalid', + 'MissingModule': 'missing', + 'RuntimeModule': 'runtime', + 'RuntimePackage': 'runtime', + # Other. + 'does not occur': 'BINARY', +} + + +def check_requirements(): + """ + Verify that all requirements to run PyInstaller are met. + + Fail hard if any requirement is not met. + """ + # Fail hard if Python does not have minimum required version + if sys.version_info < (3, 8): + raise EnvironmentError('PyInstaller requires Python 3.8 or newer.') + + # There are some old packages which used to be backports of libraries which are now part of the standard library. + # These backports are now unmaintained and contain only an older subset of features leading to obscure errors like + # "enum has not attribute IntFlag" if installed. + from importlib.metadata import distribution, PackageNotFoundError + + for name in ["enum34", "typing", "pathlib"]: + try: + dist = distribution(name) + except PackageNotFoundError: + continue + remove = "conda remove" if is_conda else f'"{sys.executable}" -m pip uninstall {name}' + raise SystemExit( + f"ERROR: The '{name}' package is an obsolete backport of a standard library package and is incompatible " + f"with PyInstaller. Please remove this package (located in {dist.locate_file('')}) using\n {remove}\n" + "then try again." + ) + + # Bail out if binutils is not installed. + if is_linux and shutil.which("objdump") is None: + raise SystemExit( + "ERROR: On Linux, objdump is required. It is typically provided by the 'binutils' package " + "installable via your Linux distribution's package manager." + ) diff --git a/.venv/Lib/site-packages/PyInstaller/config.py b/.venv/Lib/site-packages/PyInstaller/config.py new file mode 100644 index 0000000..e6cb695 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/config.py @@ -0,0 +1,56 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +This module holds run-time PyInstaller configuration. + +Variable CONF is a dict() with all configuration options that are necessary for the build phase. Build phase is done by +passing .spec file to exec() function. CONF variable is the only way how to pass arguments to exec() and how to avoid +using 'global' variables. + +NOTE: Having 'global' variables does not play well with the test suite because it does not provide isolated environments +for tests. Some tests might fail in this case. + +NOTE: The 'CONF' dict() is cleaned after building phase to not interfere with any other possible test. + +To pass any arguments to build phase, just do: + + from PyInstaller.config import CONF + CONF['my_var_name'] = my_value + +And to use this variable in the build phase: + + from PyInstaller.config import CONF + foo = CONF['my_var_name'] + + +This is the list of known variables. (Please update it if necessary.) + +cachedir +hiddenimports +noconfirm +pathex +ui_admin +ui_access +upx_available +upx_dir +workpath + +tests_modgraph - cached PyiModuleGraph object to speed up tests + +code_cache - dictionary associating `Analysis.pure` list instances with code cache dictionaries. Used by PYZ writer. +""" + +# NOTE: Do not import other PyInstaller modules here. Just define constants here. + +CONF = { + # Unit tests require this key to exist. + 'pathex': [], +} diff --git a/.venv/Lib/site-packages/PyInstaller/configure.py b/.venv/Lib/site-packages/PyInstaller/configure.py new file mode 100644 index 0000000..46234b8 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/configure.py @@ -0,0 +1,107 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Configure PyInstaller for the current Python installation. +""" + +import os +import subprocess + +from PyInstaller import compat +from PyInstaller import log as logging + +logger = logging.getLogger(__name__) + + +def _check_upx_availability(upx_dir): + logger.debug('Testing UPX availability ...') + + upx_exe = "upx" + if upx_dir: + upx_exe = os.path.normpath(os.path.join(upx_dir, upx_exe)) + + # Check if we can call `upx -V`. + try: + output = subprocess.check_output( + [upx_exe, '-V'], + stdin=subprocess.DEVNULL, + stderr=subprocess.DEVNULL, + encoding='utf-8', + ) + except Exception: + logger.debug('UPX is not available.') + return False + + # Read the first line to display version string + try: + version_string = output.splitlines()[0] + except IndexError: + version_string = 'version string unavailable' + + logger.debug('UPX is available: %s', version_string) + return True + + +def _get_pyinstaller_cache_dir(): + old_cache_dir = None + if compat.getenv('PYINSTALLER_CONFIG_DIR'): + cache_dir = compat.getenv('PYINSTALLER_CONFIG_DIR') + elif compat.is_win: + cache_dir = compat.getenv('LOCALAPPDATA') + if not cache_dir: + cache_dir = os.path.expanduser('~\\Application Data') + elif compat.is_darwin: + cache_dir = os.path.expanduser('~/Library/Application Support') + else: + # According to XDG specification: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html + old_cache_dir = compat.getenv('XDG_DATA_HOME') + if not old_cache_dir: + old_cache_dir = os.path.expanduser('~/.local/share') + cache_dir = compat.getenv('XDG_CACHE_HOME') + if not cache_dir: + cache_dir = os.path.expanduser('~/.cache') + cache_dir = os.path.join(cache_dir, 'pyinstaller') + # Move old cache-dir, if any, to new location. + if old_cache_dir and not os.path.exists(cache_dir): + old_cache_dir = os.path.join(old_cache_dir, 'pyinstaller') + if os.path.exists(old_cache_dir): + parent_dir = os.path.dirname(cache_dir) + if not os.path.exists(parent_dir): + os.makedirs(parent_dir) + os.rename(old_cache_dir, cache_dir) + return cache_dir + + +def get_config(upx_dir=None): + config = {} + + config['cachedir'] = _get_pyinstaller_cache_dir() + config['upx_dir'] = upx_dir + + # Disable UPX on non-Windows. Using UPX (3.96) on modern Linux shared libraries (for example, the python3.x.so + # shared library) seems to result in segmentation fault when they are dlopen'd. This happens in recent versions + # of Fedora and Ubuntu linux, as well as in Alpine containers. On macOS, UPX (3.96) fails with + # UnknownExecutableFormatException on most .dylibs (and interferes with code signature on other occasions). And + # even when it would succeed, compressed libraries cannot be (re)signed due to failed strict validation. + upx_available = _check_upx_availability(upx_dir) + if upx_available: + if compat.is_win or compat.is_cygwin: + logger.info("UPX is available and will be used if enabled on build targets.") + elif os.environ.get("PYINSTALLER_FORCE_UPX", "0") != "0": + logger.warning( + "UPX is available and force-enabled on platform with known compatibility problems - use at own risk!" + ) + else: + upx_available = False + logger.info("UPX is available but is disabled on non-Windows due to known compatibility problems.") + config['upx_available'] = upx_available + + return config diff --git a/.venv/Lib/site-packages/PyInstaller/depend/__init__.py b/.venv/Lib/site-packages/PyInstaller/depend/__init__.py new file mode 100644 index 0000000..792d600 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/depend/__init__.py @@ -0,0 +1 @@ +# diff --git a/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..bff9fea Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/analysis.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/analysis.cpython-311.pyc new file mode 100644 index 0000000..75caccb Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/analysis.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/bindepend.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/bindepend.cpython-311.pyc new file mode 100644 index 0000000..d3abfd9 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/bindepend.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/bytecode.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/bytecode.cpython-311.pyc new file mode 100644 index 0000000..777934b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/bytecode.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/dylib.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/dylib.cpython-311.pyc new file mode 100644 index 0000000..e723395 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/dylib.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/imphook.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/imphook.cpython-311.pyc new file mode 100644 index 0000000..f402d3e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/imphook.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/imphookapi.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/imphookapi.cpython-311.pyc new file mode 100644 index 0000000..c69a2dd Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/imphookapi.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/utils.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/utils.cpython-311.pyc new file mode 100644 index 0000000..9baaea2 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/depend/__pycache__/utils.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/depend/analysis.py b/.venv/Lib/site-packages/PyInstaller/depend/analysis.py new file mode 100644 index 0000000..a23cdae --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/depend/analysis.py @@ -0,0 +1,1025 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Define a modified ModuleGraph that can return its contents as a TOC and in other ways act like the old ImpTracker. +TODO: This class, along with TOC and Tree, should be in a separate module. + +For reference, the ModuleGraph node types and their contents: + + nodetype identifier filename + + Script full path to .py full path to .py + SourceModule basename full path to .py + BuiltinModule basename None + CompiledModule basename full path to .pyc + Extension basename full path to .so + MissingModule basename None + Package basename full path to __init__.py + packagepath is ['path to package'] + globalnames is set of global names __init__.py defines + ExtensionPackage basename full path to __init__.{so,dll} + packagepath is ['path to package'] + +The main extension here over ModuleGraph is a method to extract nodes from the flattened graph and return them as a +TOC, or added to a TOC. Other added methods look up nodes by identifier and return facts about them, replacing what +the old ImpTracker list could do. +""" + +import ast +import os +import sys +import traceback +from collections import defaultdict +from copy import deepcopy + +from PyInstaller import HOMEPATH, PACKAGEPATH +from PyInstaller import log as logging +from PyInstaller.building.utils import add_suffix_to_extension +from PyInstaller.compat import ( + BAD_MODULE_TYPES, BINARY_MODULE_TYPES, MODULE_TYPES_TO_TOC_DICT, PURE_PYTHON_MODULE_TYPES, PY3_BASE_MODULES, + VALID_MODULE_TYPES, importlib_load_source, is_win +) +from PyInstaller.depend import bytecode +from PyInstaller.depend.imphook import AdditionalFilesCache, ModuleHookCache +from PyInstaller.depend.imphookapi import (PreFindModulePathAPI, PreSafeImportModuleAPI) +from PyInstaller.lib.modulegraph.find_modules import get_implies +from PyInstaller.lib.modulegraph.modulegraph import ModuleGraph, DEFAULT_IMPORT_LEVEL, ABSOLUTE_IMPORT_LEVEL, Package +from PyInstaller.log import DEBUG, INFO, TRACE +from PyInstaller.utils.hooks import collect_submodules, is_package + +logger = logging.getLogger(__name__) + +# Location-based hook priority constants +HOOK_PRIORITY_BUILTIN_HOOKS = -2000 # Built-in hooks. Lowest priority. +HOOK_PRIORITY_CONTRIBUTED_HOOKS = -1000 # Hooks from pyinstaller-hooks-contrib package. +HOOK_PRIORITY_UPSTREAM_HOOKS = 0 # Hooks provided by packages themselves, via entry-points. +HOOK_PRIORITY_USER_HOOKS = 1000 # User-supplied hooks (command-line / spec file). Highest priority. + + +class PyiModuleGraph(ModuleGraph): + """ + Directed graph whose nodes represent modules and edges represent dependencies between these modules. + + This high-level subclass wraps the lower-level `ModuleGraph` class with support for graph and runtime hooks. + While each instance of `ModuleGraph` represents a set of disconnected trees, each instance of this class *only* + represents a single connected tree whose root node is the Python script originally passed by the user on the + command line. For that reason, while there may (and typically do) exist more than one `ModuleGraph` instance, + there typically exists only a singleton instance of this class. + + Attributes + ---------- + _hooks : ModuleHookCache + Dictionary mapping the fully-qualified names of all modules with normal (post-graph) hooks to the absolute paths + of such hooks. See the the `_find_module_path()` method for details. + _hooks_pre_find_module_path : ModuleHookCache + Dictionary mapping the fully-qualified names of all modules with pre-find module path hooks to the absolute + paths of such hooks. See the the `_find_module_path()` method for details. + _hooks_pre_safe_import_module : ModuleHookCache + Dictionary mapping the fully-qualified names of all modules with pre-safe import module hooks to the absolute + paths of such hooks. See the `_safe_import_module()` method for details. + _user_hook_dirs : list + List of the absolute paths of all directories containing user-defined hooks for the current application. + _excludes : list + List of module names to be excluded when searching for dependencies. + _additional_files_cache : AdditionalFilesCache + Cache of all external dependencies (e.g., binaries, datas) listed in hook scripts for imported modules. + _module_collection_mode : dict + A dictionary of module/package collection mode settings set by hook scripts for their modules. + _bindepend_symlink_suppression : set + A set of paths or path patterns corresponding to shared libraries for which binary dependency analysis should + not create symbolic links into top-level application directory. + _base_modules: list + Dependencies for `base_library.zip` (which remain the same for every executable). + """ + + # Note: these levels are completely arbitrary and may be adjusted if needed. + LOG_LEVEL_MAPPING = {0: INFO, 1: DEBUG, 2: TRACE, 3: TRACE, 4: TRACE} + + def __init__(self, pyi_homepath, user_hook_dirs=(), excludes=(), **kwargs): + super().__init__(excludes=excludes, **kwargs) + # Homepath to the place where is PyInstaller located. + self._homepath = pyi_homepath + # modulegraph Node for the main python script that is analyzed by PyInstaller. + self._top_script_node = None + + # Absolute paths of all user-defined hook directories. + self._excludes = excludes + self._reset(user_hook_dirs) + self._analyze_base_modules() + + def _reset(self, user_hook_dirs): + """ + Reset for another set of scripts. This is primary required for running the test-suite. + """ + self._top_script_node = None + self._additional_files_cache = AdditionalFilesCache() + self._module_collection_mode = dict() + self._bindepend_symlink_suppression = set() + # Hook sources: user-supplied (command-line / spec file), entry-point (upstream hooks, contributed hooks), and + # built-in hooks. The order does not really matter anymore, because each entry is now a (location, priority) + # tuple, and order is determined from assigned priority (which may also be overridden by hooks themselves). + self._user_hook_dirs = [ + *user_hook_dirs, + (os.path.join(PACKAGEPATH, 'hooks'), HOOK_PRIORITY_BUILTIN_HOOKS), + ] + # Hook-specific lookup tables. These need to reset when reusing cached PyiModuleGraph to avoid hooks to refer to + # files or data from another test-case. + logger.info('Initializing module graph hook caches...') + self._hooks = self._cache_hooks("") + self._hooks_pre_safe_import_module = self._cache_hooks('pre_safe_import_module') + self._hooks_pre_find_module_path = self._cache_hooks('pre_find_module_path') + + # Search for run-time hooks in all hook directories. + self._available_rthooks = defaultdict(list) + for uhd, _ in self._user_hook_dirs: + uhd_path = os.path.abspath(os.path.join(uhd, 'rthooks.dat')) + try: + with open(uhd_path, 'r', encoding='utf-8') as f: + rthooks = ast.literal_eval(f.read()) + except FileNotFoundError: + # Ignore if this hook path doesn't have run-time hooks. + continue + except Exception as e: + logger.error('Unable to read run-time hooks from %r: %s' % (uhd_path, e)) + continue + + self._merge_rthooks(rthooks, uhd, uhd_path) + + # Convert back to a standard dict. + self._available_rthooks = dict(self._available_rthooks) + + def _merge_rthooks(self, rthooks, uhd, uhd_path): + """ + The expected data structure for a run-time hook file is a Python dictionary of type ``Dict[str, List[str]]``, + where the dictionary keys are module names and the sequence strings are Python file names. + + Check then merge this data structure, updating the file names to be absolute. + """ + # Check that the root element is a dict. + assert isinstance(rthooks, dict), 'The root element in %s must be a dict.' % uhd_path + for module_name, python_file_name_list in rthooks.items(): + # Ensure the key is a string. + assert isinstance(module_name, str), \ + '%s must be a dict whose keys are strings; %s is not a string.' % (uhd_path, module_name) + # Ensure the value is a list. + assert isinstance(python_file_name_list, list), \ + 'The value of %s key %s must be a list.' % (uhd_path, module_name) + if module_name in self._available_rthooks: + logger.warning( + 'Runtime hooks for %s have already been defined. Skipping the runtime hooks for %s that are ' + 'defined in %s.', module_name, module_name, os.path.join(uhd, 'rthooks') + ) + # Skip this module + continue + # Merge this with existing run-time hooks. + for python_file_name in python_file_name_list: + # Ensure each item in the list is a string. + assert isinstance(python_file_name, str), \ + '%s key %s, item %r must be a string.' % (uhd_path, module_name, python_file_name) + # Transform it into an absolute path. + abs_path = os.path.join(uhd, 'rthooks', python_file_name) + # Make sure this file exists. + assert os.path.exists(abs_path), \ + 'In %s, key %s, the file %r expected to be located at %r does not exist.' % \ + (uhd_path, module_name, python_file_name, abs_path) + # Merge it. + self._available_rthooks[module_name].append(abs_path) + + @staticmethod + def _findCaller(*args, **kwargs): + # Used to add an additional stack-frame above logger.findCaller. findCaller expects the caller to be three + # stack-frames above itself. + return logger.findCaller(*args, **kwargs) + + def msg(self, level, s, *args): + """ + Print a debug message with the given level. + + 1. Map the msg log level to a logger log level. + 2. Generate the message format (the same format as ModuleGraph) + 3. Find the caller, which findCaller expects three stack-frames above itself: + [3] caller -> [2] msg (here) -> [1] _findCaller -> [0] logger.findCaller + 4. Create a logRecord with the caller's information. + 5. Handle the logRecord. + """ + try: + level = self.LOG_LEVEL_MAPPING[level] + except KeyError: + return + if not logger.isEnabledFor(level): + return + + msg = "%s %s" % (s, ' '.join(map(repr, args))) + + try: + fn, lno, func, sinfo = self._findCaller() + except ValueError: # pragma: no cover + fn, lno, func, sinfo = "(unknown file)", 0, "(unknown function)", None + record = logger.makeRecord(logger.name, level, fn, lno, msg, [], None, func, None, sinfo) + + logger.handle(record) + + # Set logging methods so that the stack is correctly detected. + msgin = msg + msgout = msg + + def _cache_hooks(self, hook_type): + """ + Create a cache of all hooks of the specified type. + + The cache will include all official hooks defined by the PyInstaller codebase _and_ all unofficial hooks + defined for the current application. + + Parameters + ---------- + hook_type : str + Type of hooks to be cached, equivalent to the basename of the subpackage of the `PyInstaller.hooks` + package containing such hooks (e.g., empty string for standard hooks, `pre_safe_import_module` for + pre-safe-import-module hooks, `pre_find_module_path` for pre-find-module-path hooks). + """ + # Cache of this type of hooks. + hook_dirs = [] + for user_hook_dir, priority in self._user_hook_dirs: + # Absolute path of the user-defined subdirectory of this hook type. If this directory exists, add it to the + # list to be cached. + user_hook_type_dir = os.path.join(user_hook_dir, hook_type) + if os.path.isdir(user_hook_type_dir): + hook_dirs.append((user_hook_type_dir, priority)) + + return ModuleHookCache(self, hook_dirs) + + def _analyze_base_modules(self): + """ + Analyze dependencies of the the modules in base_library.zip. + """ + logger.info('Analyzing modules for base_library.zip ...') + required_mods = [] + # Collect submodules from required modules in base_library.zip. + for m in PY3_BASE_MODULES: + if is_package(m): + required_mods += collect_submodules(m) + else: + required_mods.append(m) + # Initialize ModuleGraph. + self._base_modules = [mod for req in required_mods for mod in self.import_hook(req)] + + def add_script(self, pathname, caller=None): + """ + Wrap the parent's 'run_script' method and create graph from the first script in the analysis, and save its + node to use as the "caller" node for all others. This gives a connected graph rather than a collection of + unrelated trees. + """ + if self._top_script_node is None: + # Remember the node for the first script. + try: + self._top_script_node = super().add_script(pathname) + except SyntaxError: + print("\nSyntax error in", pathname, file=sys.stderr) + formatted_lines = traceback.format_exc().splitlines(True) + print(*formatted_lines[-4:], file=sys.stderr) + sys.exit(1) + # Create references from the top script to the base_modules in graph. + for node in self._base_modules: + self.add_edge(self._top_script_node, node) + # Return top-level script node. + return self._top_script_node + else: + if not caller: + # Defaults to as any additional script is called from the top-level script. + caller = self._top_script_node + return super().add_script(pathname, caller=caller) + + def process_post_graph_hooks(self, analysis): + """ + For each imported module, run this module's post-graph hooks if any. + + Parameters + ---------- + analysis: build_main.Analysis + The Analysis that calls the hooks + + """ + # For each iteration of the infinite "while" loop below: + # + # 1. All hook() functions defined in cached hooks for imported modules are called. This may result in new + # modules being imported (e.g., as hidden imports) that were ignored earlier in the current iteration: if + # this is the case, all hook() functions defined in cached hooks for these modules will be called by the next + # iteration. + # 2. All cached hooks whose hook() functions were called are removed from this cache. If this cache is empty, no + # hook() functions will be called by the next iteration and this loop will be terminated. + # 3. If no hook() functions were called, this loop is terminated. + logger.info('Processing module hooks (post-graph stage)...') + while True: + # Set of the names of all imported modules whose post-graph hooks are run by this iteration, preventing the + # next iteration from re- running these hooks. If still empty at the end of this iteration, no post-graph + # hooks were run; thus, this loop will be terminated. + hooked_module_names = set() + + # For each remaining hookable module and corresponding hooks... + for module_name, module_hook in self._hooks.items(): + # Graph node for this module if imported or "None" otherwise. + module_node = self.find_node(module_name, create_nspkg=False) + + # If this module has not been imported, temporarily ignore it. This module is retained in the cache, as + # a subsequently run post-graph hook could import this module as a hidden import. + if module_node is None: + continue + + # If this module is unimportable, permanently ignore it. + if type(module_node).__name__ not in VALID_MODULE_TYPES: + hooked_module_names.add(module_name) + continue + + # Run this script's post-graph hook. + module_hook.post_graph(analysis) + + # Cache all external dependencies listed by this script after running this hook, which could add + # dependencies. + self._additional_files_cache.add(module_name, module_hook.binaries, module_hook.datas) + + # Update package collection mode settings. + self._module_collection_mode.update(module_hook.module_collection_mode) + + # Update symbolic link suppression patterns for binary dependency analysis. + self._bindepend_symlink_suppression.update(module_hook.bindepend_symlink_suppression) + + # Prevent this module's hooks from being run again. + hooked_module_names.add(module_name) + + # Prevent all post-graph hooks run above from being run again by the next iteration. + self._hooks.remove_modules(*hooked_module_names) + + # If no post-graph hooks were run, terminate iteration. + if not hooked_module_names: + break + + def _find_all_excluded_imports(self, module_name): + """ + Collect excludedimports from the hooks of the specified module and all its parents. + """ + excluded_imports = set() + while module_name: + # Gather excluded imports from hook belonging to the module. + module_hook = self._hooks.get(module_name, None) + if module_hook: + excluded_imports.update(module_hook.excludedimports) + # Change module name to the module's parent name + module_name = module_name.rpartition('.')[0] + return excluded_imports + + def _safe_import_hook( + self, target_module_partname, source_module, target_attr_names, level=DEFAULT_IMPORT_LEVEL, edge_attr=None + ): + if source_module is not None: + # Gather all excluded imports for the referring modules, as well as its parents. + # For example, we want the excluded imports specified by hook for PIL to be also applied when the referring + # module is its submodule, PIL.Image. + excluded_imports = self._find_all_excluded_imports(source_module.identifier) + + # Apply extra processing only if we have any excluded-imports rules + if excluded_imports: + # Resolve the base module name. Level can be ABSOLUTE_IMPORT_LEVEL (= 0) for absolute imports, or an + # integer indicating the relative level. We do not use equality comparison just in case we ever happen + # to get ABSOLUTE_OR_RELATIVE_IMPORT_LEVEL (-1), which is a remnant of python2 days. + if level > ABSOLUTE_IMPORT_LEVEL: + if isinstance(source_module, Package): + # Package + base_module_name = source_module.identifier + else: + # Module in a package; base name must be the parent package name! + base_module_name = '.'.join(source_module.identifier.split('.')[:-1]) + + # Adjust the base module name based on level + if level > 1: + base_module_name = '.'.join(base_module_name.split('.')[:-(level - 1)]) + + if target_module_partname: + base_module_name += '.' + target_module_partname + else: + base_module_name = target_module_partname + + def _exclude_module(module_name, excluded_imports, referrer_name): + """ + Helper for checking whether given module should be excluded. + Returns the name of exclusion rule if module should be excluded, None otherwise. + """ + module_name_parts = module_name.split('.') + for excluded_import in excluded_imports: + excluded_import_parts = excluded_import.split('.') + match = module_name_parts[:len(excluded_import_parts)] == excluded_import_parts + if match: + # Check if the referrer is (was!) subject to the same rule. Because if it was and was + # analyzed anyway, some other import chain must have overrode the exclusion, and we should + # waive it here. A package hook might exclude a part (a subpackage) of the said package to + # prevent its collection when there are no external references; but when they are (for + # example, user explicitly imports the said subpackage in their program), we must let the + # subpackage import its submodules. + referrer_name_parts = referrer_name.split('.') + referrer_match = referrer_name_parts[:len(excluded_import_parts)] == excluded_import_parts + if referrer_match: + logger.debug( + "Deactivating suppression rule %r for module %r because it also applies to the " + "referrer (%r)...", excluded_import, module_name, referrer_name + ) + continue + + return excluded_import + return None + + # First, check if base module name is to be excluded. + # This covers both basic `import a` and `import a.b.c`, as well as `from d import e, f` where base + # module `d` is excluded. + excluded_import_rule = _exclude_module( + base_module_name, + excluded_imports, + source_module.identifier, + ) + if excluded_import_rule: + logger.debug( + "Suppressing import of %r from module %r due to excluded import %r specified in a hook for %r " + "(or its parent package(s)).", base_module_name, source_module.identifier, excluded_import_rule, + source_module.identifier + ) + return [] + + # If we have target attribute names, check each of them, and remove excluded ones from the + # `target_attr_names` list. + if target_attr_names: + filtered_target_attr_names = [] + for target_attr_name in target_attr_names: + submodule_name = base_module_name + '.' + target_attr_name + excluded_import_rule = _exclude_module( + submodule_name, + excluded_imports, + source_module.identifier, + ) + if excluded_import_rule: + logger.debug( + "Suppressing import of %r from module %r due to excluded import %r specified in a hook " + "for %r (or its parent package(s)).", submodule_name, source_module.identifier, + excluded_import_rule, source_module.identifier + ) + else: + filtered_target_attr_names.append(target_attr_name) + + # Swap with filtered target attribute names list; if no elements remain after the filtering, pass + # None... + target_attr_names = filtered_target_attr_names or None + + ret_modules = super()._safe_import_hook( + target_module_partname, source_module, target_attr_names, level, edge_attr + ) + + # Ensure that hooks are pre-loaded for returned module(s), in an attempt to ensure that hooks are called in the + # order of imports. The hooks are cached, so there should be no downsides to pre-loading hooks early (as opposed + # to loading them in post-graph analysis). When modules are imported from other modules, the hooks for those + # referring (source) modules and their parent package(s) are loaded by the exclusion mechanism that takes place + # before the above `super()._safe_import_hook` call. The code below attempts to complement that, but for the + # referred (target) modules and their parent package(s). + for ret_module in ret_modules: + if type(ret_module).__name__ not in VALID_MODULE_TYPES: + continue + # (Ab)use the `_find_all_excluded_imports` helper to load all hooks for the given module and its parent + # package(s). + self._find_all_excluded_imports(ret_module.identifier) + + return ret_modules + + def _safe_import_module(self, module_basename, module_name, parent_package): + """ + Create a new graph node for the module with the passed name under the parent package signified by the passed + graph node. + + This method wraps the superclass method with support for pre-import module hooks. If such a hook exists for + this module (e.g., a script `PyInstaller.hooks.hook-{module_name}` containing a function + `pre_safe_import_module()`), that hook will be run _before_ the superclass method is called. + + Pre-Safe-Import-Hooks are performed just *prior* to importing the module. When running the hook, the modules + parent package has already been imported and ti's `__path__` is set up. But the module is just about to be + imported. + + See the superclass method for description of parameters and return value. + """ + # If this module has a pre-safe import module hook, run it. Make sure to remove it first, to prevent subsequent + # calls from running it again. + hook = self._hooks_pre_safe_import_module.pop(module_name, None) + if hook is not None: + # Dynamically import this hook as a fabricated module. + hook_path, hook_basename = os.path.split(hook.hook_filename) + logger.info('Processing pre-safe-import-module hook %r from %r', hook_basename, hook_path) + hook_module_name = 'PyInstaller_hooks_pre_safe_import_module_' + module_name.replace('.', '_') + hook_module = importlib_load_source(hook_module_name, hook.hook_filename) + + # Object communicating changes made by this hook back to us. + hook_api = PreSafeImportModuleAPI( + module_graph=self, + module_basename=module_basename, + module_name=module_name, + parent_package=parent_package, + ) + + # Run this hook, passed this object. + if not hasattr(hook_module, 'pre_safe_import_module'): + raise NameError('pre_safe_import_module() function not defined by hook %r.' % hook_module) + hook_module.pre_safe_import_module(hook_api) + + # Respect method call changes requested by this hook. + module_basename = hook_api.module_basename + module_name = hook_api.module_name + + # Call the superclass method. + return super()._safe_import_module(module_basename, module_name, parent_package) + + def _find_module_path(self, fullname, module_name, search_dirs): + """ + Get a 3-tuple detailing the physical location of the module with the passed name if that module exists _or_ + raise `ImportError` otherwise. + + This method wraps the superclass method with support for pre-find module path hooks. If such a hook exists + for this module (e.g., a script `PyInstaller.hooks.hook-{module_name}` containing a function + `pre_find_module_path()`), that hook will be run _before_ the superclass method is called. + + See superclass method for parameter and return value descriptions. + """ + # If this module has a pre-find module path hook, run it. Make sure to remove it first, to prevent subsequent + # calls from running it again. + hook = self._hooks_pre_find_module_path.pop(fullname, None) + if hook is not None: + # Dynamically import this hook as a fabricated module. + hook_path, hook_basename = os.path.split(hook.hook_filename) + logger.info('Processing pre-find-module-path hook %r from %r', hook_basename, hook_path) + hook_fullname = 'PyInstaller_hooks_pre_find_module_path_' + fullname.replace('.', '_') + hook_module = importlib_load_source(hook_fullname, hook.hook_filename) + + # Object communicating changes made by this hook back to us. + hook_api = PreFindModulePathAPI( + module_graph=self, + module_name=fullname, + search_dirs=search_dirs, + ) + + # Run this hook, passed this object. + if not hasattr(hook_module, 'pre_find_module_path'): + raise NameError('pre_find_module_path() function not defined by hook %r.' % hook_module) + hook_module.pre_find_module_path(hook_api) + + # Respect search-directory changes requested by this hook. + search_dirs = hook_api.search_dirs + + # Call the superclass method. + return super()._find_module_path(fullname, module_name, search_dirs) + + def get_code_objects(self): + """ + Get code objects from ModuleGraph for pure Python modules. This allows to avoid writing .pyc/pyo files to hdd + at later stage. + + :return: Dict with module name and code object. + """ + code_dict = {} + mod_types = PURE_PYTHON_MODULE_TYPES + for node in self.iter_graph(start=self._top_script_node): + # TODO This is terrible. To allow subclassing, types should never be directly compared. Use isinstance() + # instead, which is safer, simpler, and accepts sets. Most other calls to type() in the codebase should also + # be refactored to call isinstance() instead. + + # get node type e.g. Script + mg_type = type(node).__name__ + if mg_type in mod_types: + if node.code: + code_dict[node.identifier] = node.code + return code_dict + + def _make_toc(self, typecode=None): + """ + Return the name, path and type of selected nodes as a TOC. The selection is determined by the given list + of PyInstaller TOC typecodes. If that list is empty we return the complete flattened graph as a TOC with the + ModuleGraph note types in place of typecodes -- meant for debugging only. Normally we return ModuleGraph + nodes whose types map to the requested PyInstaller typecode(s) as indicated in the MODULE_TYPES_TO_TOC_DICT. + + We use the ModuleGraph (really, ObjectGraph) flatten() method to scan all the nodes. This is patterned after + ModuleGraph.report(). + """ + toc = list() + for node in self.iter_graph(start=self._top_script_node): + entry = self._node_to_toc(node, typecode) + # Append the entry. We do not check for duplicates here; the TOC normalization is left to caller. + # However, as entries are obtained from modulegraph, there should not be any duplicates at this stage. + if entry is not None: + toc.append(entry) + return toc + + def make_pure_toc(self): + """ + Return all pure Python modules formatted as TOC. + """ + # PyInstaller should handle special module types without code object. + return self._make_toc(PURE_PYTHON_MODULE_TYPES) + + def make_binaries_toc(self): + """ + Return all binary Python modules formatted as TOC. + """ + return self._make_toc(BINARY_MODULE_TYPES) + + def make_missing_toc(self): + """ + Return all MISSING Python modules formatted as TOC. + """ + return self._make_toc(BAD_MODULE_TYPES) + + @staticmethod + def _node_to_toc(node, typecode=None): + # TODO This is terrible. Everything in Python has a type. It is nonsensical to even speak of "nodes [that] are + # not typed." How would that even occur? After all, even "None" has a type! (It is "NoneType", for the curious.) + # Remove this, please. + + # Get node type, e.g., Script + mg_type = type(node).__name__ + assert mg_type is not None + + if typecode and mg_type not in typecode: + # Type is not a to be selected one, skip this one + return None + # Extract the identifier and a path if any. + if mg_type == 'Script': + # for Script nodes only, identifier is a whole path + (name, ext) = os.path.splitext(node.filename) + name = os.path.basename(name) + elif mg_type == 'ExtensionPackage': + # Package with __init__ module being an extension module. This needs to end up as e.g. 'mypkg/__init__.so'. + # Convert the packages name ('mypkg') into the module name ('mypkg.__init__') *here* to keep special cases + # away elsewhere (where the module name is converted to a filename). + name = node.identifier + ".__init__" + else: + name = node.identifier + path = node.filename if node.filename is not None else '' + # Ensure name is really 'str'. Module graph might return object type 'modulegraph.Alias' which inherits fromm + # 'str'. But 'marshal.dumps()' function is able to marshal only 'str'. Otherwise on Windows PyInstaller might + # fail with message like: + # ValueError: unmarshallable object + name = str(name) + # Translate to the corresponding TOC typecode. + toc_type = MODULE_TYPES_TO_TOC_DICT[mg_type] + return name, path, toc_type + + def nodes_to_toc(self, nodes): + """ + Given a list of nodes, create a TOC representing those nodes. This is mainly used to initialize a TOC of + scripts with the ones that are runtime hooks. The process is almost the same as _make_toc(), but the caller + guarantees the nodes are valid, so minimal checking. + """ + return [self._node_to_toc(node) for node in nodes] + + # Return true if the named item is in the graph as a BuiltinModule node. The passed name is a basename. + def is_a_builtin(self, name): + node = self.find_node(name) + if node is None: + return False + return type(node).__name__ == 'BuiltinModule' + + def get_importers(self, name): + """ + List all modules importing the module with the passed name. + + Returns a list of (identifier, DependencyIinfo)-tuples. If the names module has not yet been imported, this + method returns an empty list. + + Parameters + ---------- + name : str + Fully-qualified name of the module to be examined. + + Returns + ---------- + list + List of (fully-qualified names, DependencyIinfo)-tuples of all modules importing the module with the passed + fully-qualified name. + + """ + def get_importer_edge_data(importer): + edge = self.graph.edge_by_node(importer, name) + # edge might be None in case an AliasModule was added. + if edge is not None: + return self.graph.edge_data(edge) + + node = self.find_node(name) + if node is None: + return [] + _, importers = self.get_edges(node) + importers = (importer.identifier for importer in importers if importer is not None) + return [(importer, get_importer_edge_data(importer)) for importer in importers] + + # TODO: create a class from this function. + def analyze_runtime_hooks(self, custom_runhooks): + """ + Analyze custom run-time hooks and run-time hooks implied by found modules. + + :return : list of Graph nodes. + """ + rthooks_nodes = [] + logger.info('Analyzing run-time hooks ...') + # Process custom runtime hooks (from --runtime-hook options). The runtime hooks are order dependent. First hooks + # in the list are executed first. Put their graph nodes at the head of the priority_scripts list Pyinstaller + # defined rthooks and thus they are executed first. + if custom_runhooks: + for hook_file in custom_runhooks: + logger.info("Including custom run-time hook %r", hook_file) + hook_file = os.path.abspath(hook_file) + # Not using "try" here because the path is supposed to exist, if it does not, the raised error will + # explain. + rthooks_nodes.append(self.add_script(hook_file)) + + # Find runtime hooks that are implied by packages already imported. Get a temporary TOC listing all the scripts + # and packages graphed so far. Assuming that runtime hooks apply only to modules and packages. + temp_toc = self._make_toc(VALID_MODULE_TYPES) + for (mod_name, path, typecode) in temp_toc: + # Look if there is any run-time hook for given module. + if mod_name in self._available_rthooks: + # There could be several run-time hooks for a module. + for abs_path in self._available_rthooks[mod_name]: + hook_path, hook_basename = os.path.split(abs_path) + logger.info("Including run-time hook %r from %r", hook_basename, hook_path) + rthooks_nodes.append(self.add_script(abs_path)) + + return rthooks_nodes + + def add_hiddenimports(self, module_list): + """ + Add hidden imports that are either supplied as CLI option --hidden-import=MODULENAME or as dependencies from + some PyInstaller features when enabled (e.g., crypto feature). + """ + assert self._top_script_node is not None + # Analyze the script's hidden imports (named on the command line). + for modnm in module_list: + node = self.find_node(modnm) + if node is not None: + logger.debug('Hidden import %r already found', modnm) + else: + logger.info("Analyzing hidden import %r", modnm) + # ModuleGraph throws ImportError if import not found. + try: + nodes = self.import_hook(modnm) + assert len(nodes) == 1 + node = nodes[0] + except ImportError: + logger.error("Hidden import %r not found", modnm) + continue + # Create references from the top script to the hidden import, even if found otherwise. Do not waste time + # checking whether it is actually added by this (test-) script. + self.add_edge(self._top_script_node, node) + + def get_code_using(self, module: str) -> dict: + """ + Find modules that import a given **module**. + """ + co_dict = {} + pure_python_module_types = PURE_PYTHON_MODULE_TYPES | { + 'Script', + } + node = self.find_node(module) + if node: + referrers = self.incoming(node) + for r in referrers: + # Under python 3.7 and earlier, if `module` is added to hidden imports, one of referrers ends up being + # None, causing #3825. Work around it. + if r is None: + continue + # Ensure that modulegraph objects have 'code' attribute. + if type(r).__name__ not in pure_python_module_types: + continue + identifier = r.identifier + if identifier == module or identifier.startswith(module + '.'): + # Skip self references or references from `modules`'s own submodules. + continue + # The code object may be None if referrer ends up shadowed by eponymous directory that ends up treated + # as a namespace package. See #6873 for an example. + if r.code is None: + continue + co_dict[r.identifier] = r.code + return co_dict + + def metadata_required(self) -> set: + """ + Collect metadata for all packages that appear to need it. + """ + + # List every function that we can think of which is known to require metadata. + out = set() + + out |= self._metadata_from( + "pkg_resources", + ["get_distribution"], # Requires metadata for one distribution. + ["require"], # Requires metadata for all dependencies. + ) + + # importlib.metadata is often `import ... as` aliased to importlib_metadata for compatibility with < py38. + # Assume both are valid. + for importlib_metadata in ["importlib.metadata", "importlib_metadata"]: + out |= self._metadata_from( + importlib_metadata, + ["metadata", "distribution", "version", "files", "requires"], + [], + ) + + return out + + def _metadata_from(self, package, methods=(), recursive_methods=()) -> set: + """ + Collect metadata whose requirements are implied by given function names. + + Args: + package: + The module name that must be imported in a source file to trigger the search. + methods: + Function names from **package** which take a distribution name as an argument and imply that metadata + is required for that distribution. + recursive_methods: + Like **methods** but also implies that a distribution's dependencies' metadata must be collected too. + Returns: + Required metadata in hook data ``(source, dest)`` format as returned by + :func:`PyInstaller.utils.hooks.copy_metadata()`. + + Scan all source code to be included for usage of particular *key* functions which imply that that code will + require metadata for some distribution (which may not be its own) at runtime. In the case of a match, + collect the required metadata. + """ + from PyInstaller.utils.hooks import copy_metadata + from PyInstaller.compat import importlib_metadata + + # Generate sets of possible function names to search for. + need_metadata = set() + need_recursive_metadata = set() + for method in methods: + need_metadata.update(bytecode.any_alias(package + "." + method)) + for method in recursive_methods: + need_recursive_metadata.update(bytecode.any_alias(package + "." + method)) + + out = set() + + for name, code in self.get_code_using(package).items(): + for calls in bytecode.recursive_function_calls(code).values(): + for function_name, args in calls: + # Only consider function calls taking one argument. + if len(args) != 1: + continue + package = args[0] + try: + if function_name in need_metadata: + out.update(copy_metadata(package)) + elif function_name in need_recursive_metadata: + out.update(copy_metadata(package, recursive=True)) + + except importlib_metadata.PackageNotFoundError: + # Currently, we opt to silently skip over missing metadata. + continue + + return out + + def get_collected_packages(self) -> list: + """ + Return the list of collected python packages. + """ + # `node.identifier` might be an instance of `modulegraph.Alias`, hence explicit conversion to `str`. + return [ + str(node.identifier) for node in self.iter_graph(start=self._top_script_node) + if type(node).__name__ == 'Package' + ] + + def make_hook_binaries_toc(self) -> list: + """ + Return the TOC list of binaries collected by hooks." + """ + toc = [] + for node in self.iter_graph(start=self._top_script_node): + module_name = str(node.identifier) + for dest_name, src_name in self._additional_files_cache.binaries(module_name): + toc.append((dest_name, src_name, 'BINARY')) + + return toc + + def make_hook_datas_toc(self) -> list: + """ + Return the TOC list of data files collected by hooks." + """ + toc = [] + for node in self.iter_graph(start=self._top_script_node): + module_name = str(node.identifier) + for dest_name, src_name in self._additional_files_cache.datas(module_name): + toc.append((dest_name, src_name, 'DATA')) + + return toc + + +_cached_module_graph_ = None + + +def initialize_modgraph(excludes=(), user_hook_dirs=()): + """ + Create the cached module graph. + + This function might appear weird but is necessary for speeding up test runtime because it allows caching basic + ModuleGraph object that gets created for 'base_library.zip'. + + Parameters + ---------- + excludes : list + List of the fully-qualified names of all modules to be "excluded" and hence _not_ frozen into the executable. + user_hook_dirs : list + List of the absolute paths of all directories containing user-defined hooks for the current application or + `None` if no such directories were specified. + + Returns + ---------- + PyiModuleGraph + Module graph with core dependencies. + """ + # Normalize parameters to ensure tuples and make comparison work. + user_hook_dirs = user_hook_dirs or () + excludes = excludes or () + + # Ensure that __main__ is always excluded from the modulegraph, to prevent accidentally pulling PyInstaller itself + # into the modulegraph. This seems to happen on Windows, because modulegraph is able to resolve `__main__` as + # `.../PyInstaller.exe/__main__.py` and analyze it. The `__main__` has a different meaning during analysis compared + # to the program run-time, when it refers to the program's entry-point (which would always be part of the + # modulegraph anyway, by virtue of being the starting point of the analysis). + if "__main__" not in excludes: + excludes += ("__main__",) + + # If there is a graph cached with the same excludes, reuse it. See ``PyiModulegraph._reset()`` for what is + # reset. This cache is used primarily to speed up the test-suite. Fixture `pyi_modgraph` calls this function with + # empty excludes, creating a graph suitable for the huge majority of tests. + global _cached_module_graph_ + if _cached_module_graph_ and _cached_module_graph_._excludes == excludes: + logger.info('Reusing cached module dependency graph...') + graph = deepcopy(_cached_module_graph_) + graph._reset(user_hook_dirs) + return graph + + logger.info('Initializing module dependency graph...') + + # Construct the initial module graph by analyzing all import statements. + graph = PyiModuleGraph( + HOMEPATH, + excludes=excludes, + # get_implies() are hidden imports known by modulgraph. + implies=get_implies(), + user_hook_dirs=user_hook_dirs, + ) + + if not _cached_module_graph_: + # Only cache the first graph, see above for explanation. + logger.info('Caching module dependency graph...') + # cache a deep copy of the graph + _cached_module_graph_ = deepcopy(graph) + # Clear data which does not need to be copied from the cached graph since it will be reset by + # ``PyiModulegraph._reset()`` anyway. + _cached_module_graph_._hooks = None + _cached_module_graph_._hooks_pre_safe_import_module = None + _cached_module_graph_._hooks_pre_find_module_path = None + + return graph + + +def get_bootstrap_modules(): + """ + Get TOC with the bootstrapping modules and their dependencies. + :return: TOC with modules + """ + # Import 'struct' modules to get real paths to module file names. + mod_struct = __import__('struct') + # Basic modules necessary for the bootstrap process. + loader_mods = list() + loaderpath = os.path.join(HOMEPATH, 'PyInstaller', 'loader') + # On some platforms (Windows, Debian/Ubuntu) '_struct' and zlib modules are built-in modules (linked statically) + # and thus does not have attribute __file__. 'struct' module is required for reading Python bytecode from + # executable. 'zlib' is required to decompress this bytecode. + for mod_name in ['_struct', 'zlib']: + mod = __import__(mod_name) # C extension. + if hasattr(mod, '__file__'): + mod_file = os.path.abspath(mod.__file__) + if os.path.basename(os.path.dirname(mod_file)) == 'lib-dynload': + # Divert extensions originating from python's lib-dynload directory, to match behavior of #5604. + mod_name = os.path.join('lib-dynload', mod_name) + loader_mods.append(add_suffix_to_extension(mod_name, mod_file, 'EXTENSION')) + loader_mods.append(('struct', os.path.abspath(mod_struct.__file__), 'PYMODULE')) + # Loader/bootstrap modules. + # NOTE: These modules should be kept simple without any complicated dependencies. + loader_mods += [ + ('pyimod01_archive', os.path.join(loaderpath, 'pyimod01_archive.py'), 'PYMODULE'), + ('pyimod02_importers', os.path.join(loaderpath, 'pyimod02_importers.py'), 'PYMODULE'), + ('pyimod03_ctypes', os.path.join(loaderpath, 'pyimod03_ctypes.py'), 'PYMODULE'), + ] + if is_win: + loader_mods.append(('pyimod04_pywin32', os.path.join(loaderpath, 'pyimod04_pywin32.py'), 'PYMODULE')) + # The bootstrap script + loader_mods.append(('pyiboot01_bootstrap', os.path.join(loaderpath, 'pyiboot01_bootstrap.py'), 'PYSOURCE')) + return loader_mods diff --git a/.venv/Lib/site-packages/PyInstaller/depend/bindepend.py b/.venv/Lib/site-packages/PyInstaller/depend/bindepend.py new file mode 100644 index 0000000..e2132da --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/depend/bindepend.py @@ -0,0 +1,1016 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Find external dependencies of binary libraries. +""" + +import ctypes.util +import functools +import os +import pathlib +import re +import sys +import sysconfig +import subprocess + +from PyInstaller import compat +from PyInstaller import log as logging +from PyInstaller.depend import dylib, utils +from PyInstaller.utils.win32 import winutils + +if compat.is_darwin: + import PyInstaller.utils.osx as osxutils + +logger = logging.getLogger(__name__) + +_exe_machine_type = None +if compat.is_win: + _exe_machine_type = winutils.get_pe_file_machine_type(compat.python_executable) + +#- High-level binary dependency analysis + + +def _get_paths_for_parent_directory_preservation(): + """ + Return list of paths that serve as prefixes for parent-directory preservation of collected binaries and/or + shared libraries. If a binary is collected from a location that starts with a path from this list, the relative + directory structure is preserved within the frozen application bundle; otherwise, the binary is collected to the + frozen application's top-level directory. + """ + + # Use only site-packages paths. We have no control over contents of `sys.path`, so using all paths from that may + # lead to unintended behavior in corner cases. For example, if `sys.path` contained the drive root (see #7028), + # all paths that do not match some other sub-path rooted in that drive will end up recognized as relative to the + # drive root. In such case, any DLL collected from `c:\Windows\system32` will be collected into `Windows\system32` + # sub-directory; ucrt DLLs collected from MSVC or Windows SDK installed in `c:\Program Files\...` will end up + # collected into `Program Files\...` subdirectory; etc. + # + # On the other hand, the DLL parent directory preservation is primarily aimed at packages installed via PyPI + # wheels, which are typically installed into site-packages. Therefore, limiting the directory preservation for + # shared libraries collected from site-packages should do the trick, and should be reasonably safe. + import site + + orig_paths = site.getsitepackages() + orig_paths.append(site.getusersitepackages()) + + # Explicitly excluded paths. `site.getsitepackages` seems to include `sys.prefix`, which we need to exclude, to + # avoid issue swith DLLs in its sub-directories. We need both resolved and unresolved variant to handle cases + # where `base_prefix` itself is a symbolic link (e.g., `scoop`-installed python on Windows, see #8023). + excluded_paths = { + pathlib.Path(sys.base_prefix), + pathlib.Path(sys.base_prefix).resolve(), + pathlib.Path(sys.prefix), + pathlib.Path(sys.prefix).resolve(), + } + + # For each path in orig_paths, append a resolved variant. This helps with linux venv where we need to consider + # both `venv/lib/python3.11/site-packages` and `venv/lib/python3.11/site-packages` and `lib64` is a symlink + # to `lib`. + orig_paths += [pathlib.Path(path).resolve() for path in orig_paths] + + paths = set() + for path in orig_paths: + if not path: + continue + path = pathlib.Path(path) + # Filter out non-directories (e.g., /path/to/python3x.zip) or non-existent paths + if not path.is_dir(): + continue + # Filter out explicitly excluded paths + if path in excluded_paths: + continue + paths.add(path) + + # Sort by length (in term of path components) to ensure match against the longest common prefix (for example, match + # /path/to/venv/lib/site-packages instead of /path/to/venv when both paths are in site paths). + paths = sorted(paths, key=lambda x: len(x.parents), reverse=True) + + return paths + + +def _select_destination_directory(src_filename, parent_dir_preservation_paths): + # Check parent directory preservation paths + for parent_dir_preservation_path in parent_dir_preservation_paths: + if parent_dir_preservation_path in src_filename.parents: + # Collect into corresponding sub-directory. + return src_filename.relative_to(parent_dir_preservation_path) + + # Collect into top-level directory. + return src_filename.name + + +def binary_dependency_analysis(binaries, search_paths=None, symlink_suppression_patterns=None): + """ + Perform binary dependency analysis on the given TOC list of collected binaries, by recursively scanning each binary + for linked dependencies (shared library imports). Returns new TOC list that contains both original entries and their + binary dependencies. + + Additional search paths for dependencies' full path resolution may be supplied via optional argument. + """ + + # Get all path prefixes for binaries' parent-directory preservation. For binaries collected from packages in (for + # example) site-packages directory, we should try to preserve the parent directory structure. + parent_dir_preservation_paths = _get_paths_for_parent_directory_preservation() + + # Keep track of processed binaries and processed dependencies. + processed_binaries = set() + processed_dependencies = set() + + # Keep track of unresolved dependencies, in order to defer the missing-library warnings until after everything has + # been processed. This allows us to suppress warnings for dependencies that end up being collected anyway; for + # details, see the end of this function. + missing_dependencies = [] + + # Populate output TOC with input binaries - this also serves as TODO list, as we iterate over it while appending + # new entries at the end. + output_toc = binaries[:] + for dest_name, src_name, typecode in output_toc: + # Do not process symbolic links (already present in input TOC list, or added during analysis below). + if typecode == 'SYMLINK': + continue + + # Keep track of processed binaries, to avoid unnecessarily repeating analysis of the same file. Use pathlib.Path + # to avoid having to worry about case normalization. + src_path = pathlib.Path(src_name) + if src_path in processed_binaries: + continue + processed_binaries.add(src_path) + + logger.debug("Analyzing binary %r", src_name) + + # Analyze imports (linked dependencies) + for dep_name, dep_src_path in get_imports(src_name, search_paths): + logger.debug("Processing dependency, name: %r, resolved path: %r", dep_name, dep_src_path) + + # Skip unresolved dependencies. Defer the missing-library warnings until after binary dependency analysis + # is complete. + if not dep_src_path: + missing_dependencies.append((dep_name, src_name)) + continue + + # Compare resolved dependency against global inclusion/exclusion rules. + if not dylib.include_library(dep_src_path): + logger.debug("Skipping dependency %r due to global exclusion rules.", dep_src_path) + continue + + dep_src_path = pathlib.Path(dep_src_path) # Turn into pathlib.Path for subsequent processing + + # Avoid processing this dependency if we have already processed it. + if dep_src_path in processed_dependencies: + logger.debug("Skipping dependency %r due to prior processing.", str(dep_src_path)) + continue + processed_dependencies.add(dep_src_path) + + # Try to preserve parent directory structure, if applicable. + # NOTE: do not resolve the source path, because on macOS and linux, it may be a versioned .so (e.g., + # libsomething.so.1, pointing at libsomething.so.1.2.3), and we need to collect it under original name! + dep_dest_path = _select_destination_directory(dep_src_path, parent_dir_preservation_paths) + dep_dest_path = pathlib.PurePath(dep_dest_path) # Might be a str() if it is just a basename... + + # If we are collecting library into top-level directory on macOS, check whether it comes from a + # .framework bundle. If it does, re-create the .framework bundle in the top-level directory + # instead. + if compat.is_darwin and dep_dest_path.parent == pathlib.PurePath('.'): + if osxutils.is_framework_bundle_lib(dep_src_path): + # dst_src_path is parent_path/Name.framework/Versions/Current/Name + framework_parent_path = dep_src_path.parent.parent.parent.parent + dep_dest_path = pathlib.PurePath(dep_src_path.relative_to(framework_parent_path)) + + logger.debug("Collecting dependency %r as %r.", str(dep_src_path), str(dep_dest_path)) + output_toc.append((str(dep_dest_path), str(dep_src_path), 'BINARY')) + + # On non-Windows, if we are not collecting the binary into application's top-level directory ('.'), + # add a symbolic link from top-level directory to the actual location. This is to accommodate + # LD_LIBRARY_PATH being set to the top-level application directory on linux (although library search + # should be mostly done via rpaths, so this might be redundant) and to accommodate library path + # rewriting on macOS, which assumes that the library was collected into top-level directory. + if compat.is_win: + # We do not use symlinks on Windows. + pass + elif dep_dest_path.parent == pathlib.PurePath('.'): + # The shared library itself is being collected into top-level application directory. + pass + elif any(dep_src_path.match(pattern) for pattern in symlink_suppression_patterns): + # Honor symlink suppression patterns specified by hooks. + logger.debug( + "Skipping symbolic link from %r to top-level application directory due to source path matching one " + "of symlink suppression path patterns.", str(dep_dest_path) + ) + else: + logger.debug("Adding symbolic link from %r to top-level application directory.", str(dep_dest_path)) + output_toc.append((str(dep_dest_path.name), str(dep_dest_path), 'SYMLINK')) + + # Handle missing dependencies: display warnings, add missing symbolic links to top-level application directory, etc. + seen_binaries = { + os.path.normcase(os.path.basename(src_name)): (dest_name, src_name, typecode) + for dest_name, src_name, typecode in output_toc if typecode != 'SYMLINK' + } + existing_symlinks = set([dest_name for dest_name, src_name, typecode in output_toc if typecode == 'SYMLINK']) + + for dependency_name, referring_binary in missing_dependencies: + # Ignore libraries that we would not collect in the first place. + if not dylib.include_library(dependency_name): + continue + + # If the binary with a matching basename happens to be among the discovered binaries, suppress the message as + # well. This might happen either because the library was collected by some other mechanism (for example, via + # hook, or supplied by the user), or because it was discovered during the analysis of another binary (which, + # for example, had properly set run-paths on Linux/macOS or was located next to that other analyzed binary on + # Windows). + # + # On non-Windows, also check if symbolic link to the discovered binary already exists in the top-level + # application directory, and if not, create it. This is important especially on macOS, where our library path + # rewriting assumes that all dependent libraries are available in the top-level application directory, or + # linked into it. + dependency_basename = os.path.normcase(os.path.basename(dependency_name)) + dependency_toc_entry = seen_binaries.get(dependency_basename, None) + if dependency_toc_entry is None: + # Not found, emit a warning (subject to global warning suppression rules). + if not dylib.warn_missing_lib(dependency_name): + continue + logger.warning( + "Library not found: could not resolve %r, dependency of %r.", dependency_name, referring_binary + ) + elif not compat.is_win: + # Found; generate symbolic link if necessary. + dependency_dest_path = pathlib.PurePath(dependency_toc_entry[0]) + dependency_src_path = pathlib.Path(dependency_toc_entry[1]) + + if dependency_dest_path.parent == pathlib.PurePath('.'): + # The binary is collected into top-level application directory. + continue + elif dependency_basename in existing_symlinks: + # The symbolic link already exists. + continue + + # Keep honoring symlink suppression patterns specified by hooks (same as in main binary dependency analysis + # loop). + if any(dependency_src_path.match(pattern) for pattern in symlink_suppression_patterns): + logger.info( + "Missing dependency handling: skipping symbolic link from %r to top-level application directory " + "due to source path matching one of symlink suppression path patterns.", str(dependency_dest_path) + ) + continue + + # Create the symbolic link + logger.info( + "Missing dependency handling: adding symbolic link from %r to top-level application directory.", + str(dependency_dest_path) + ) + output_toc.append((dependency_basename, str(dependency_dest_path), 'SYMLINK')) + existing_symlinks.add(dependency_basename) + + return output_toc + + +#- Low-level import analysis + + +def get_imports(filename, search_paths=None): + """ + Analyze the given binary file (shared library or executable), and obtain the list of shared libraries it imports + (i.e., link-time dependencies). + + Returns set of tuples (name, fullpath). The name component is the referenced name, and on macOS, may not be just + a base name. If the library's full path cannot be resolved, fullpath element is None. + + Additional list of search paths may be specified via `search_paths`, to be used as a fall-back when the + platform-specific resolution mechanism fails to resolve a library fullpath. + """ + if compat.is_win: + if str(filename).lower().endswith(".manifest"): + return [] + return _get_imports_pefile(filename, search_paths) + elif compat.is_darwin: + return _get_imports_macholib(filename, search_paths) + else: + return _get_imports_ldd(filename, search_paths) + + +def _get_imports_pefile(filename, search_paths): + """ + Windows-specific helper for `get_imports`, which uses the `pefile` library to walk through PE header. + """ + import pefile + + output = set() + + # By default, pefile library parses all PE information. We are only interested in the list of dependent dlls. + # Performance is improved by reading only needed information. https://code.google.com/p/pefile/wiki/UsageExamples + pe = pefile.PE(filename, fast_load=True) + pe.parse_data_directories( + directories=[ + pefile.DIRECTORY_ENTRY['IMAGE_DIRECTORY_ENTRY_IMPORT'], + pefile.DIRECTORY_ENTRY['IMAGE_DIRECTORY_ENTRY_EXPORT'], + ], + forwarded_exports_only=True, + import_dllnames_only=True, + ) + + # If a library has no binary dependencies, pe.DIRECTORY_ENTRY_IMPORT does not exist. + for entry in getattr(pe, 'DIRECTORY_ENTRY_IMPORT', []): + dll_str = entry.dll.decode('utf-8') + output.add(dll_str) + + # We must also read the exports table to find forwarded symbols: + # http://blogs.msdn.com/b/oldnewthing/archive/2006/07/19/671238.aspx + exported_symbols = getattr(pe, 'DIRECTORY_ENTRY_EXPORT', None) + if exported_symbols: + for symbol in exported_symbols.symbols: + if symbol.forwarder is not None: + # symbol.forwarder is a bytes object. Convert it to a string. + forwarder = symbol.forwarder.decode('utf-8') + # symbol.forwarder is for example 'KERNEL32.EnterCriticalSection' + dll = forwarder.split('.')[0] + output.add(dll + ".dll") + + pe.close() + + # Attempt to resolve full paths to referenced DLLs. Always add the input binary's parent directory to the search + # paths. + search_paths = [os.path.dirname(filename)] + (search_paths or []) + output = {(lib, resolve_library_path(lib, search_paths)) for lib in output} + + return output + + +def _get_imports_ldd(filename, search_paths): + """ + Helper for `get_imports`, which uses `ldd` to analyze shared libraries. Used on Linux and other POSIX-like platforms + (with exception of macOS). + """ + + output = set() + + # Output of ldd varies between platforms... + if compat.is_aix: + # Match libs of the form + # 'archivelib.a(objectmember.so/.o)' + # or + # 'sharedlib.so' + # Will not match the fake lib '/unix' + LDD_PATTERN = re.compile(r"^\s*(((?P(.*\.a))(?P\(.*\)))|((?P(.*\.so))))$") + elif compat.is_hpux: + # Match libs of the form + # 'sharedlib.so => full-path-to-lib + # e.g. + # 'libpython2.7.so => /usr/local/lib/hpux32/libpython2.7.so' + LDD_PATTERN = re.compile(r"^\s+(.*)\s+=>\s+(.*)$") + elif compat.is_solar: + # Match libs of the form + # 'sharedlib.so => full-path-to-lib + # e.g. + # 'libpython2.7.so.1.0 => /usr/local/lib/libpython2.7.so.1.0' + # Will not match the platform specific libs starting with '/platform' + LDD_PATTERN = re.compile(r"^\s+(.*)\s+=>\s+(.*)$") + elif compat.is_linux: + # Match libs of the form + # libpython3.13.so.1.0 => /home/brenainn/.pyenv/versions/3.13.0/lib/libpython3.13.so.1.0 (0x00007a9e15800000) + # or + # /tmp/python/install/bin/../lib/libpython3.13.so.1.0 (0x00007b9489c82000) + LDD_PATTERN = re.compile(r"^\s*(?:(.*?)\s+=>\s+)?(.*?)\s+\(.*\)") + else: + LDD_PATTERN = re.compile(r"\s*(.*?)\s+=>\s+(.*?)\s+\(.*\)") + + # Resolve symlinks since GNU ldd contains a bug in processing a symlink to a binary + # using $ORIGIN: https://sourceware.org/bugzilla/show_bug.cgi?id=25263 + p = subprocess.run( + ['ldd', os.path.realpath(filename)], + stdin=subprocess.DEVNULL, + stderr=subprocess.PIPE, + stdout=subprocess.PIPE, + encoding='utf-8', + ) + + ldd_warnings = [] + for line in p.stderr.splitlines(): + if not line: + continue + # Python extensions (including stdlib ones) are not linked against python.so but rely on Python's symbols having + # already been loaded into symbol space at runtime. musl's ldd issues a series of harmless warnings to stderr + # telling us that those symbols are unfindable. These should be suppressed. + elif line.startswith("Error relocating ") and line.endswith(" symbol not found"): + continue + # Shared libraries should have the executable bits set; however, this is not the case for shared libraries + # shipped in PyPI wheels, which cause ldd to emit `ldd: warning: you do not have execution permission for ...` + # warnings. Suppress these. + elif line.startswith("ldd: warning: you do not have execution permission for "): + continue + # When `ldd` is ran against a file that is not a dynamic binary (i.e., is not a binary at all, or is a static + # binary), it emits a "not a dynamic executable" warning. Suppress it. + elif "not a dynamic executable" in line: + continue + # Propagate any other warnings it might have. + ldd_warnings.append(line) + if ldd_warnings: + logger.warning("ldd warnings for %r:\n%s", filename, "\n".join(ldd_warnings)) + + for line in p.stdout.splitlines(): + name = None # Referenced name + lib = None # Resolved library path + + m = LDD_PATTERN.search(line) + if m: + if compat.is_aix: + libarchive = m.group('libarchive') + if libarchive: + # We matched an archive lib with a request for a particular embedded shared object. + # 'archivelib.a(objectmember.so/.o)' + lib = libarchive + name = os.path.basename(lib) + m.group('objectmember') + else: + # We matched a stand-alone shared library. + # 'sharedlib.so' + lib = m.group('libshared') + name = os.path.basename(lib) + elif compat.is_hpux: + name, lib = m.group(1), m.group(2) + else: + name, lib = m.group(1), m.group(2) + name = name or os.path.basename(lib) + if compat.is_linux: + # Skip all ld variants listed https://sourceware.org/glibc/wiki/ABIList + # plus musl's ld-musl-*.so.*. + if re.fullmatch(r"ld(64)?(-linux|-musl)?(-.+)?\.so(\..+)?", os.path.basename(lib)): + continue + if name[:10] in ('linux-gate', 'linux-vdso'): + # linux-gate is a fake library which does not exist and should be ignored. See also: + # http://www.trilithium.com/johan/2005/08/linux-gate/ + continue + + if compat.is_cygwin: + # exclude Windows system library + if lib.lower().startswith('/cygdrive/c/windows/system'): + continue + + # Reset library path if it does not exist + if not os.path.exists(lib): + lib = None + elif line.endswith("not found"): + # On glibc-based linux distributions, missing libraries are marked with name.so => not found + tokens = line.split('=>') + if len(tokens) != 2: + continue + name = tokens[0].strip() + lib = None + else: + # TODO: should we warn about unprocessed lines? + continue + + # Fall back to searching the supplied search paths, if any. + if not lib: + lib = _resolve_library_path_in_search_paths( + os.path.basename(name), # Search for basename of the referenced name. + search_paths, + ) + + # Normalize the resolved path, to remove any extraneous "../" elements. + if lib: + lib = os.path.normpath(lib) + + # Return referenced name as-is instead of computing a basename, to provide additional context when library + # cannot be resolved. + output.add((name, lib)) + + return output + + +def _get_imports_macholib(filename, search_paths): + """ + macOS-specific helper for `get_imports`, which uses `macholib` to analyze library load commands in Mach-O headers. + """ + from macholib.dyld import dyld_find + from macholib.mach_o import LC_RPATH + from macholib.MachO import MachO + + try: + from macholib.dyld import _dyld_shared_cache_contains_path + except ImportError: + _dyld_shared_cache_contains_path = None + + output = set() + + # Parent directory of the input binary and parent directory of python executable, used to substitute @loader_path + # and @executable_path. The macOS dylib loader (dyld) fully resolves the symbolic links when using @loader_path + # and @executable_path references, so we need to do the same using `os.path.realpath`. + bin_path = os.path.dirname(os.path.realpath(filename)) + python_bin = os.path.realpath(sys.executable) + python_bin_path = os.path.dirname(python_bin) + + def _get_referenced_libs(m): + # Collect referenced libraries from MachO object. + referenced_libs = set() + for header in m.headers: + for idx, name, lib in header.walkRelocatables(): + referenced_libs.add(lib) + return referenced_libs + + def _get_run_paths(m): + # Find LC_RPATH commands to collect rpaths from MachO object. + # macholib does not handle @rpath, so we need to handle run paths ourselves. + run_paths = [] + for header in m.headers: + for command in header.commands: + # A command is a tuple like: + # (, + # , + # '../lib\x00\x00') + cmd_type = command[0].cmd + if cmd_type == LC_RPATH: + rpath = command[2].decode('utf-8') + # Remove trailing '\x00' characters. E.g., '../lib\x00\x00' + rpath = rpath.rstrip('\x00') + # If run path starts with @, ensure it starts with either @loader_path or @executable_path. + # We cannot process anything else. + if rpath.startswith("@") and not rpath.startswith(("@executable_path", "@loader_path")): + logger.warning("Unsupported rpath format %r found in binary %r - ignoring...", rpath, filename) + continue + run_paths.append(rpath) + return run_paths + + @functools.lru_cache + def get_run_paths_and_referenced_libs(filename): + # Walk through Mach-O headers, and collect all referenced libraries and run paths. + m = MachO(filename) + return _get_referenced_libs(m), _get_run_paths(m) + + @functools.lru_cache + def get_run_paths(filename): + # Walk through Mach-O headers, and collect only run paths. + return _get_run_paths(MachO(filename)) + + # Collect referenced libraries and run paths from the input binary. + referenced_libs, run_paths = get_run_paths_and_referenced_libs(filename) + + # On macOS, run paths (rpaths) are inherited from the executable that loads the given shared library (or from the + # shared library that loads the given shared library). This means that shared libraries and python binary extensions + # can reference other shared libraries using @rpath without having set any run paths themselves. + # + # In order to simulate the run path inheritance that happens in unfrozen python programs, we need to augment the + # run paths from the given binary with those set by the python interpreter executable (`sys.executable`). Anaconda + # python, for example, sets the run path on the python executable to `@loader_path/../lib`, which allows python + # extensions to reference shared libraries in the Anaconda environment's `lib` directory via only `@rpath` + # (for example, the `_ssl` extension can reference the OpenSSL library as `@rpath/libssl.3.dylib`). In another + # example, python executable has its run path set to the top-level directory of its .framework bundle; in this + # case the `ssl` extension references the OpenSSL library as `@rpath/Versions/3.10/lib/libssl.1.1.dylib`. + run_paths += get_run_paths(python_bin) + + # This fallback should be fully superseded by the above recovery of run paths from python executable; but for now, + # keep it around in case of unforeseen corner cases. + run_paths.append(os.path.join(compat.base_prefix, 'lib')) + + # De-duplicate run_paths while preserving their order. + run_paths = list(dict.fromkeys(run_paths)) + + def _resolve_using_path(lib): + # Absolute paths should not be resolved; we should just check whether the library exists or not. This used to + # be done using macholib's dyld_find() as well (as it properly handles system libraries that are hidden on + # Big Sur and later), but it turns out that even if given an absolute path, it gives precedence to search paths + # from DYLD_LIBRARY_PATH. This leads to confusing errors when directory in DYLD_LIBRARY_PATH contains a file + # (shared library or data file) that happens to have the same name as a library from a system framework. + if os.path.isabs(lib): + if _dyld_shared_cache_contains_path is not None and _dyld_shared_cache_contains_path(lib): + return lib + if os.path.isfile(lib): + return lib + return None + + try: + return dyld_find(lib) + except ValueError: + return None + + def _resolve_using_loader_path(lib, bin_path, python_bin_path): + # Strictly speaking, @loader_path should be anchored to parent directory of analyzed binary (`bin_path`), while + # @executable_path should be anchored to the parent directory of the process' executable. Typically, this would + # be python executable (`python_bin_path`). Unless we are analyzing a collected 3rd party executable; in that + # case, `bin_path` is correct option. So we first try resolving using `bin_path`, and then fall back to + # `python_bin_path`. This does not account for transitive run paths of higher-order dependencies, but there is + # only so much we can do here... + # + # NOTE: do not use macholib's `dyld_find`, because its fallback search locations might end up resolving wrong + # instance of the library! For example, if our `bin_path` and `python_bin_path` are anchored in an Anaconda + # python environment and the candidate library path does not exit (because we are calling this function when + # trying to resolve @rpath with multiple candidate run paths), we do not want to fall back to eponymous library + # that happens to be present in the Homebrew python environment... + if lib.startswith('@loader_path/'): + lib = lib[len('@loader_path/'):] + elif lib.startswith('@executable_path/'): + lib = lib[len('@executable_path/'):] + + # Try resolving with binary's path first... + resolved_lib = _resolve_using_path(os.path.join(bin_path, lib)) + if resolved_lib is not None: + return resolved_lib + + # ... and fall-back to resolving with python executable's path + return _resolve_using_path(os.path.join(python_bin_path, lib)) + + # Try to resolve full path of the referenced libraries. + for referenced_lib in referenced_libs: + resolved_lib = None + + # If path starts with @rpath, we have to handle it ourselves. + if referenced_lib.startswith('@rpath'): + lib = os.path.join(*referenced_lib.split(os.sep)[1:]) # Remove the @rpath/ prefix + + # Try all run paths. + for run_path in run_paths: + # Join the path. + lib_path = os.path.join(run_path, lib) + + if lib_path.startswith(("@executable_path", "@loader_path")): + # Run path starts with @executable_path or @loader_path. + lib_path = _resolve_using_loader_path(lib_path, bin_path, python_bin_path) + else: + # If run path was relative, anchor it to binary's location. + if not os.path.isabs(lib_path): + os.path.join(bin_path, lib_path) + lib_path = _resolve_using_path(lib_path) + + if lib_path and os.path.exists(lib_path): + resolved_lib = lib_path + break + else: + if referenced_lib.startswith(("@executable_path", "@loader_path")): + resolved_lib = _resolve_using_loader_path(referenced_lib, bin_path, python_bin_path) + else: + resolved_lib = _resolve_using_path(referenced_lib) + + # Fall back to searching the supplied search paths, if any. + if not resolved_lib: + resolved_lib = _resolve_library_path_in_search_paths( + os.path.basename(referenced_lib), # Search for basename of the referenced name. + search_paths, + ) + + # Normalize the resolved path, to remove any extraneous "../" elements. + if resolved_lib: + resolved_lib = os.path.normpath(resolved_lib) + + # Return referenced library name as-is instead of computing a basename. Full referenced name carries additional + # information that might be useful for the caller to determine how to deal with unresolved library (e.g., ignore + # unresolved libraries that are supposed to be located in system-wide directories). + output.add((referenced_lib, resolved_lib)) + + return output + + +#- Library full path resolution + + +def resolve_library_path(name, search_paths=None): + """ + Given a library name, attempt to resolve full path to that library. The search for library is done via + platform-specific mechanism and fall back to optionally-provided list of search paths. Returns None if library + cannot be resolved. If give library name is already an absolute path, the given path is returned without any + processing. + """ + # No-op if path is already absolute. + if os.path.isabs(name): + return name + + if compat.is_unix: + # Use platform-specific helper. + fullpath = _resolve_library_path_unix(name) + if fullpath: + return fullpath + # Fall back to searching the supplied search paths, if any + return _resolve_library_path_in_search_paths(name, search_paths) + elif compat.is_win: + # Try the caller-supplied search paths, if any. + fullpath = _resolve_library_path_in_search_paths(name, search_paths) + if fullpath: + return fullpath + + # Fall back to default Windows search paths, using the PATH environment variable (which should also include + # the system paths, such as c:\windows and c:\windows\system32) + win_search_paths = [path for path in compat.getenv('PATH', '').split(os.pathsep) if path] + return _resolve_library_path_in_search_paths(name, win_search_paths) + else: + return ctypes.util.find_library(name) + + return None + + +# Compatibility aliases for hooks from contributed hooks repository. All of these now point to the high-level +# `resolve_library_path`. +findLibrary = resolve_library_path +findSystemLibrary = resolve_library_path + + +def _resolve_library_path_in_search_paths(name, search_paths=None): + """ + Low-level helper for resolving given library name to full path in given list of search paths. + """ + for search_path in search_paths or []: + fullpath = os.path.join(search_path, name) + if not os.path.isfile(fullpath): + continue + + # On Windows, ensure that architecture matches that of running python interpreter. + if compat.is_win: + try: + dll_machine_type = winutils.get_pe_file_machine_type(fullpath) + except Exception: + # A search path might contain a DLL that we cannot analyze; for example, a stub file. Skip over. + continue + if dll_machine_type != _exe_machine_type: + continue + + return os.path.normpath(fullpath) + + return None + + +def _resolve_library_path_unix(name): + """ + UNIX-specific helper for resolving library path. + + Emulates the algorithm used by dlopen. `name` must include the prefix, e.g., ``libpython2.4.so``. + """ + assert compat.is_unix, "Current implementation for Unix only (Linux, Solaris, AIX, FreeBSD)" + + if name.endswith('.so') or '.so.' in name: + # We have been given full library name that includes suffix. Use `_resolve_library_path_in_search_paths` to find + # the exact match. + lib_search_func = _resolve_library_path_in_search_paths + else: + # We have been given a library name without suffix. Use `_which_library` as search function, which will try to + # find library with matching basename. + lib_search_func = _which_library + + # Look in the LD_LIBRARY_PATH according to platform. + if compat.is_aix: + lp = compat.getenv('LIBPATH', '') + elif compat.is_darwin: + lp = compat.getenv('DYLD_LIBRARY_PATH', '') + else: + lp = compat.getenv('LD_LIBRARY_PATH', '') + lib = lib_search_func(name, filter(None, lp.split(os.pathsep))) + + # Look in /etc/ld.so.cache + # Solaris does not have /sbin/ldconfig. Just check if this file exists. + if lib is None: + utils.load_ldconfig_cache() + lib = utils.LDCONFIG_CACHE.get(name) + if lib: + assert os.path.isfile(lib) + + # Look in the known safe paths. + if lib is None: + # Architecture independent locations. + paths = ['/lib', '/usr/lib'] + # Architecture dependent locations. + if compat.architecture == '32bit': + paths.extend(['/lib32', '/usr/lib32']) + else: + paths.extend(['/lib64', '/usr/lib64']) + # Machine dependent locations. + if compat.machine == 'intel': + if compat.architecture == '32bit': + paths.extend(['/usr/lib/i386-linux-gnu']) + else: + paths.extend(['/usr/lib/x86_64-linux-gnu']) + + # On Debian/Ubuntu /usr/bin/python is linked statically with libpython. Newer Debian/Ubuntu with multiarch + # support puts the libpythonX.Y.so in paths like /usr/lib/i386-linux-gnu/. Try to query the arch-specific + # sub-directory, if available. + arch_subdir = sysconfig.get_config_var('multiarchsubdir') + if arch_subdir: + arch_subdir = os.path.basename(arch_subdir) + paths.append(os.path.join('/usr/lib', arch_subdir)) + else: + logger.debug('Multiarch directory not detected.') + + # Termux (a Ubuntu like subsystem for Android) has an additional libraries directory. + if os.path.isdir('/data/data/com.termux/files/usr/lib'): + paths.append('/data/data/com.termux/files/usr/lib') + + if compat.is_aix: + paths.append('/opt/freeware/lib') + elif compat.is_hpux: + if compat.architecture == '32bit': + paths.append('/usr/local/lib/hpux32') + else: + paths.append('/usr/local/lib/hpux64') + elif compat.is_freebsd or compat.is_openbsd: + paths.append('/usr/local/lib') + lib = lib_search_func(name, paths) + + return lib + + +def _which_library(name, dirs): + """ + Search for a shared library in a list of directories. + + Args: + name: + The library name including the `lib` prefix but excluding any `.so` suffix. + dirs: + An iterable of folders to search in. + Returns: + The path to the library if found or None otherwise. + + """ + matcher = _library_matcher(name) + for path in filter(os.path.exists, dirs): + for _path in os.listdir(path): + if matcher(_path): + return os.path.join(path, _path) + + +def _library_matcher(name): + """ + Create a callable that matches libraries if **name** is a valid library prefix for input library full names. + """ + return re.compile(name + r"[0-9]*\.").match + + +#- Python shared library search + + +def get_python_library_path(): + """ + Find Python shared library that belongs to the current interpreter. + + Return full path to Python dynamic library or None when not found. + + PyInstaller needs to collect the Python shared library, so that bootloader can load it, import Python C API + symbols, and use them to set up the embedded Python interpreter. + + The name of the shared library is typically fixed (`python3.X.dll` on Windows, libpython3.X.so on Unix systems, + and `libpython3.X.dylib` on macOS for shared library builds and `Python.framework/Python` for framework build). + Its location can usually be inferred from the Python interpreter executable, when the latter is dynamically + linked against the shared library. + + However, some situations require extra handling due to various quirks; for example, debian-based some linux + distributions statically link the Python interpreter executable against the Python library, while also providing + a shared library variant for external users. + """ + def _find_lib_in_libdirs(*libdirs): + for libdir in libdirs: + for name in compat.PYDYLIB_NAMES: + full_path = os.path.join(libdir, name) + if not os.path.exists(full_path): + continue + # Resolve potential symbolic links to achieve consistent results with linker-based search; e.g., on + # POSIX systems, linker resolves unversioned library names (python3.X.so) to versioned ones + # (libpython3.X.so.1.0) due to former being symbolic linkes to the latter. See #6831. + full_path = os.path.realpath(full_path) + if not os.path.exists(full_path): + continue + return full_path + return None + + # If this is Microsoft App Store Python, check the compat.base_path first. While compat.python_executable resolves + # to actual python.exe file, the latter contains a relative library reference that we fail to properly resolve. + if compat.is_ms_app_store: + python_libname = _find_lib_in_libdirs(compat.base_prefix) + if python_libname: + return python_libname + + # Try to get Python library name from the Python executable. It assumes that Python library is not statically + # linked. + imported_libraries = get_imports(compat.python_executable) # (name, fullpath) tuples + for _, lib_path in imported_libraries: + if lib_path is None: + continue # Skip unresolved imports + for name in compat.PYDYLIB_NAMES: + if os.path.normcase(os.path.basename(lib_path)) == name: + # Python library found. Return absolute path to it. + return lib_path + + # Work around for Python venv having VERSION.dll rather than pythonXY.dll + if compat.is_win and any([os.path.normcase(lib_name) == 'version.dll' for lib_name, _ in imported_libraries]): + pydll = 'python%d%d.dll' % sys.version_info[:2] + return resolve_library_path(pydll, [os.path.dirname(compat.python_executable)]) + + # Search the `sys.base_prefix` and `lib` directory in `sys.base_prefix`. + # This covers various Python installations in case we fail to infer the shared library location for whatever reason; + # Anaconda Python, `uv` and `rye` Python, etc. + python_libname = _find_lib_in_libdirs( + compat.base_prefix, + os.path.join(compat.base_prefix, 'lib'), + ) + if python_libname: + return python_libname + + # On Unix-like systems, perform search in the configured library search locations. This should be done after + # exhausting all other options; it primarily caters to debian-packaged Python, but we need to make sure that we do + # not collect shared library from system-installed Python when the current interpreter is in fact some other Python + # build (for example, `uv` or `rye` Python of the same version as system-installed Python). + if compat.is_unix: + for name in compat.PYDYLIB_NAMES: + python_libname = resolve_library_path(name) + if python_libname: + return python_libname + + # Python library NOT found. Return None and let the caller deal with this. + return None + + +#- Binary vs data (re)classification + + +def classify_binary_vs_data(filename): + """ + Classify the given file as either BINARY or a DATA, using appropriate platform-specific method. Returns 'BINARY' + or 'DATA' string depending on the determined file type, or None if classification cannot be performed (non-existing + file, missing tool, and other errors during classification). + """ + + # We cannot classify non-existent files. + if not os.path.isfile(filename): + return None + + # Use platform-specific implementation. + return _classify_binary_vs_data(filename) + + +if compat.is_linux: + + def _classify_binary_vs_data(filename): + # First check for ELF signature, in order to avoid calling `objdump` on every data file, which can be costly. + try: + with open(filename, 'rb') as fp: + sig = fp.read(4) + except Exception: + return None + + if sig != b"\x7FELF": + return "DATA" + + # Verify the binary by checking if `objdump` recognizes the file. The preceding ELF signature check should + # ensure that this is an ELF file, while this check should ensure that it is a valid ELF file. In the future, + # we could try checking that the architecture matches the running platform. + cmd_args = ['objdump', '-a', filename] + try: + p = subprocess.run( + cmd_args, + stdout=subprocess.PIPE, + stderr=subprocess.PIPE, + stdin=subprocess.DEVNULL, + encoding='utf8', + ) + except Exception: + return None # Failed to run `objdump` or `objdump` unavailable. + + return 'BINARY' if p.returncode == 0 else 'DATA' + +elif compat.is_win: + + def _classify_binary_vs_data(filename): + import pefile + + # First check for MZ signature, which should allow us to quickly classify the majority of data files. + try: + with open(filename, 'rb') as fp: + sig = fp.read(2) + except Exception: + return None + + if sig != b"MZ": + return "DATA" + + # Check if the file can be opened using `pefile`. + try: + with pefile.PE(filename, fast_load=True) as pe: # noqa: F841 + pass + return 'BINARY' + except pefile.PEFormatError: + return 'DATA' + except Exception: + pass + + return None + +elif compat.is_darwin: + + def _classify_binary_vs_data(filename): + # See if the file can be opened using `macholib`. + import macholib.MachO + + try: + macho = macholib.MachO.MachO(filename) # noqa: F841 + return 'BINARY' + except Exception: + # TODO: catch only `ValueError`? + pass + + return 'DATA' + +else: + + def _classify_binary_vs_data(filename): + # Classification not implemented for the platform. + return None diff --git a/.venv/Lib/site-packages/PyInstaller/depend/bytecode.py b/.venv/Lib/site-packages/PyInstaller/depend/bytecode.py new file mode 100644 index 0000000..d51ea34 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/depend/bytecode.py @@ -0,0 +1,366 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Tools for searching bytecode for key statements that indicate the need for additional resources, such as data files +and package metadata. + +By *bytecode* I mean the ``code`` object given by ``compile()``, accessible from the ``__code__`` attribute of any +non-builtin function or, in PyInstallerLand, the ``PyiModuleGraph.node("some.module").code`` attribute. The best +guide for bytecode format I have found is the disassembler reference: https://docs.python.org/3/library/dis.html + +This parser implementation aims to combine the flexibility and speed of regex with the clarity of the output of +``dis.dis(code)``. It has not achieved the 2nd, but C'est la vie... + +The biggest clarity killer here is the ``EXTENDED_ARG`` opcode which can appear almost anywhere and therefore needs +to be tiptoed around at every step. If this code needs to expand significantly, I would recommend an upgrade to a +regex-based grammar parsing library such as Reparse. This way, little steps like unpacking ``EXTENDED_ARGS`` can be +defined once then simply referenced forming a nice hierarchy rather than copied everywhere its needed. +""" + +import dis +import re +from types import CodeType +from typing import Pattern + +from PyInstaller import compat + +# opcode name -> opcode map +# Python 3.11 introduced specialized opcodes that are not covered by opcode.opmap (and equivalent dis.opmap), but dis +# has a private map of all opcodes called _all_opmap. So use the latter, if available. +opmap = getattr(dis, '_all_opmap', dis.opmap) + + +def _instruction_to_regex(x: str): + """ + Get a regex-escaped opcode byte from its human readable name. + """ + return re.escape(bytes([opmap[x]])) + + +def bytecode_regex(pattern: bytes, flags=re.VERBOSE | re.DOTALL): + """ + A regex-powered Python bytecode matcher. + + ``bytecode_regex`` provides a very thin wrapper around :func:`re.compile`. + + * Any opcode names wrapped in backticks are substituted for their corresponding opcode bytes. + * Patterns are compiled in VERBOSE mode by default so that whitespace and comments may be used. + + This aims to mirror the output of :func:`dis.dis`, which is far more readable than looking at raw byte strings. + """ + assert isinstance(pattern, bytes) + + # Replace anything wrapped in backticks with regex-escaped opcodes. + pattern = re.sub( + rb"`(\w+)`", + lambda m: _instruction_to_regex(m[1].decode()), + pattern, + ) + return re.compile(pattern, flags=flags) + + +def finditer(pattern: Pattern, string: bytes): + """ + Call ``pattern.finditer(string)``, but remove any matches beginning on an odd byte (i.e., matches where + match.start() is not a multiple of 2). + + This should be used to avoid false positive matches where a bytecode pair's argument is mistaken for an opcode. + """ + assert isinstance(string, bytes) + string = _cleanup_bytecode_string(string) + matches = pattern.finditer(string) + while True: + for match in matches: + if match.start() % 2 == 0: + # All is good. This match starts on an OPCODE. + yield match + else: + # This match has started on an odd byte, meaning that it is a false positive and should be skipped. + # There is a very slim chance that a genuine match overlaps this one and, because re.finditer() does not + # allow overlapping matches, it would be lost. To avoid that, restart the regex scan, starting at the + # next even byte. + matches = pattern.finditer(string, match.start() + 1) + break + else: + break + + +# Opcodes involved in function calls with constant arguments. The differences between python versions are handled by +# variables below, which are then used to construct the _call_function_bytecode regex. +# NOTE1: the _OPCODES_* entries are typically used in (non-capturing) groups that match the opcode plus an arbitrary +# argument. But because the entries themselves may contain more than on opcode (with OR operator between them), they +# themselves need to be enclosed in another (non-capturing) group. E.g., "(?:(?:_OPCODES_FUNCTION_GLOBAL).)". +# NOTE2: _OPCODES_EXTENDED_ARG2 is an exception, as it is used as a list of opcodes to exclude, i.e., +# "[^_OPCODES_EXTENDED_ARG2]". Therefore, multiple opcodes are not separated by the OR operator. +if not compat.is_py311: + # Python 3.7 introduced two new function-related opcodes, LOAD_METHOD and CALL_METHOD + _OPCODES_EXTENDED_ARG = rb"`EXTENDED_ARG`" + _OPCODES_EXTENDED_ARG2 = _OPCODES_EXTENDED_ARG + _OPCODES_FUNCTION_GLOBAL = rb"`LOAD_NAME`|`LOAD_GLOBAL`|`LOAD_FAST`" + _OPCODES_FUNCTION_LOAD = rb"`LOAD_ATTR`|`LOAD_METHOD`" + _OPCODES_FUNCTION_ARGS = rb"`LOAD_CONST`" + _OPCODES_FUNCTION_CALL = rb"`CALL_FUNCTION`|`CALL_METHOD`|`CALL_FUNCTION_EX`" + + def _cleanup_bytecode_string(bytecode): + return bytecode # Nothing to do here +elif not compat.is_py312: + # Python 3.11 removed CALL_FUNCTION and CALL_METHOD, and replaced them with PRECALL + CALL instruction sequence. + # As both PRECALL and CALL have the same parameter (the argument count), we need to match only up to the PRECALL. + # The CALL_FUNCTION_EX is still present. + # From Python 3.11b1 on, there is an EXTENDED_ARG_QUICK specialization opcode present. + _OPCODES_EXTENDED_ARG = rb"`EXTENDED_ARG`|`EXTENDED_ARG_QUICK`" + _OPCODES_EXTENDED_ARG2 = rb"`EXTENDED_ARG``EXTENDED_ARG_QUICK`" # Special case; see note above the if/else block! + _OPCODES_FUNCTION_GLOBAL = rb"`LOAD_NAME`|`LOAD_GLOBAL`|`LOAD_FAST`" + _OPCODES_FUNCTION_LOAD = rb"`LOAD_ATTR`|`LOAD_METHOD`" + _OPCODES_FUNCTION_ARGS = rb"`LOAD_CONST`" + _OPCODES_FUNCTION_CALL = rb"`PRECALL`|`CALL_FUNCTION_EX`" + + # Starting with python 3.11, the bytecode is peppered with CACHE instructions (which dis module conveniently hides + # unless show_caches=True is used). Dealing with these CACHE instructions in regex rules is going to render them + # unreadable, so instead we pre-process the bytecode and filter the offending opcodes out. + _cache_instruction_filter = bytecode_regex(rb"(`CACHE`.)|(..)") + + def _cleanup_bytecode_string(bytecode): + return _cache_instruction_filter.sub(rb"\2", bytecode) +else: + # Python 3.12 merged EXTENDED_ARG_QUICK back in to EXTENDED_ARG, and LOAD_METHOD in to LOAD_ATTR + # PRECALL is no longer a valid key + _OPCODES_EXTENDED_ARG = rb"`EXTENDED_ARG`" + _OPCODES_EXTENDED_ARG2 = _OPCODES_EXTENDED_ARG + if compat.is_py314: + # Python 3.14.0a7 added LOAD_FAST_BORROW. + _OPCODES_FUNCTION_GLOBAL = rb"`LOAD_NAME`|`LOAD_GLOBAL`|`LOAD_FAST`|`LOAD_FAST_BORROW`" + else: + _OPCODES_FUNCTION_GLOBAL = rb"`LOAD_NAME`|`LOAD_GLOBAL`|`LOAD_FAST`" + _OPCODES_FUNCTION_LOAD = rb"`LOAD_ATTR`" + if compat.is_py314: + # Python 3.14.0a2 split LOAD_CONST into LOAD_CONST, LOAD_IMMORTAL_CONST, and LOAD_SMALL_INT. + # https://github.com/python/cpython/commit/faa3272fb8d63d481a136cc0467a0cba6ed7b264 + _OPCODES_FUNCTION_ARGS = rb"`LOAD_CONST`|`LOAD_SMALL_INT`|`LOAD_CONST_IMMORTAL`" + else: + _OPCODES_FUNCTION_ARGS = rb"`LOAD_CONST`" + _OPCODES_FUNCTION_CALL = rb"`CALL`|`CALL_FUNCTION_EX`" + + # In Python 3.13, PUSH_NULL opcode is emitted after the LOAD_NAME (and after LOAD_ATTR opcode(s), if applicable). + # In python 3.11 and 3.12, it was emitted before the LOAD_NAME, and thus fell outside of our regex matching; now, + # we have to deal with it. But, instead of trying to add it to matching rules and adjusting the post-processing + # to deal with it, we opt to filter them out (at the same time as we filter out CACHE opcodes), and leave the rest + # of processing untouched. + if compat.is_py313: + _cache_instruction_filter = bytecode_regex(rb"(`CACHE`.)|(`PUSH_NULL`.)|(..)") + + def _cleanup_bytecode_string(bytecode): + return _cache_instruction_filter.sub(rb"\3", bytecode) + else: + _cache_instruction_filter = bytecode_regex(rb"(`CACHE`.)|(..)") + + def _cleanup_bytecode_string(bytecode): + return _cache_instruction_filter.sub(rb"\2", bytecode) + + +# language=PythonVerboseRegExp +_call_function_bytecode = bytecode_regex( + rb""" + # Matches `global_function('some', 'constant', 'arguments')`. + + # Load the global function. In code with >256 of names, this may require extended name references. + ( + (?:(?:""" + _OPCODES_EXTENDED_ARG + rb""").)* + (?:(?:""" + _OPCODES_FUNCTION_GLOBAL + rb""").) + ) + + # For foo.bar.whizz(), the above is the 'foo', below is the 'bar.whizz' (one opcode per name component, each + # possibly preceded by name reference extension). + ( + (?: + (?:(?:""" + _OPCODES_EXTENDED_ARG + rb""").)* + (?:""" + _OPCODES_FUNCTION_LOAD + rb"""). + )* + ) + + # Load however many arguments it takes. These (for now) must all be constants. + # Again, code with >256 constants may need extended enumeration. + ( + (?: + (?:(?:""" + _OPCODES_EXTENDED_ARG + rb""").)* + (?:""" + _OPCODES_FUNCTION_ARGS + rb"""). + )* + ) + + # Call the function. If opcode is CALL_FUNCTION_EX, the parameter are flags. For other opcodes, the parameter + # is the argument count (which may be > 256). + ( + (?:(?:""" + _OPCODES_EXTENDED_ARG + rb""").)* + (?:""" + _OPCODES_FUNCTION_CALL + rb"""). + ) +""" +) + +# language=PythonVerboseRegExp +_extended_arg_bytecode = bytecode_regex( + rb"""( + # Arbitrary number of EXTENDED_ARG pairs. + (?:(?:""" + _OPCODES_EXTENDED_ARG + rb""").)* + + # Followed by some other instruction (usually a LOAD). + [^""" + _OPCODES_EXTENDED_ARG2 + rb"""]. +)""" +) + + +def extended_arguments(extended_args: bytes): + """ + Unpack the (extended) integer used to reference names or constants. + + The input should be a bytecode snippet of the following form:: + + EXTENDED_ARG ? # Repeated 0-4 times. + LOAD_xxx ? # Any of LOAD_NAME/LOAD_CONST/LOAD_METHOD/... + + Each ? byte combined together gives the number we want. + """ + return int.from_bytes(extended_args[1::2], "big") + + +def load(raw: bytes, code: CodeType) -> str: + """ + Parse an (extended) LOAD_xxx instruction. + """ + # Get the enumeration. + index = extended_arguments(raw) + + # Work out what that enumeration was for (constant/local var/global var). + + # If the last instruction byte is a LOAD_FAST: + if raw[-2] == opmap["LOAD_FAST"]: + # Then this is a local variable. + return code.co_varnames[index] + # Or if it is a LOAD_CONST: + if raw[-2] == opmap["LOAD_CONST"]: + # Then this is a literal. + return code.co_consts[index] + # Otherwise, it is a global name. + if compat.is_py311 and raw[-2] == opmap["LOAD_GLOBAL"]: + # In python 3.11, namei>>1 is pushed on stack... + return code.co_names[index >> 1] + if compat.is_py312 and raw[-2] == opmap["LOAD_ATTR"]: + # In python 3.12, namei>>1 is pushed on stack... + return code.co_names[index >> 1] + if compat.is_py314 and raw[-2] == opmap["LOAD_SMALL_INT"]: + # python 3.14 introduced LOAD_SMALL_INT, which pushes its argument (int value < 256) on the stack + return index + if compat.is_py314 and raw[-2] == opmap["LOAD_CONST_IMMORTAL"]: + # python 3.14 introduced LOAD_CONST_IMMORTAL, which pushes co_consts[consti] on the stack. This is intended to + # be a variant of LOAD_CONST for constants that are known to be immortal. + return code.co_consts[index] + if compat.is_py314 and raw[-2] == opmap["LOAD_FAST_BORROW"]: + # python 3.14 introduced LOAD_FAST_BORROW, which pushes a borrowed reference to the local co_varnames[var_num] + # onto the stack. + return code.co_varnames[index] + + return code.co_names[index] + + +def loads(raw: bytes, code: CodeType) -> list: + """ + Parse multiple consecutive LOAD_xxx instructions. Or load() in a for loop. + + May be used to unpack a function's parameters or nested attributes ``(foo.bar.pop.whack)``. + """ + return [load(i, code) for i in _extended_arg_bytecode.findall(raw)] + + +def function_calls(code: CodeType) -> list: + """ + Scan a code object for all function calls on constant arguments. + """ + match: re.Match + out = [] + + for match in finditer(_call_function_bytecode, code.co_code): + function_root, methods, args, function_call = match.groups() + + # For foo(): + # `function_root` contains 'foo' and `methods` is empty. + # For foo.bar.whizz(): + # `function_root` contains 'foo' and `methods` contains the rest. + function_root = load(function_root, code) + methods = loads(methods, code) + function = ".".join([function_root] + methods) + + args = loads(args, code) + if function_call[0] == opmap['CALL_FUNCTION_EX']: + flags = extended_arguments(function_call) + if flags != 0: + # Keyword arguments present. Unhandled at the moment. + continue + # In calls with const arguments, args contains a single + # tuple with all values. + if len(args) != 1 or not isinstance(args[0], tuple): + continue + args = list(args[0]) + else: + arg_count = extended_arguments(function_call) + + if arg_count != len(args): + # This happens if there are variable or keyword arguments. Bail out in either case. + continue + + out.append((function, args)) + + return out + + +def search_recursively(search: callable, code: CodeType, _memo=None) -> dict: + """ + Apply a search function to a code object, recursing into child code objects (function definitions). + """ + if _memo is None: + _memo = {} + if code not in _memo: + _memo[code] = search(code) + for const in code.co_consts: + if isinstance(const, CodeType): + search_recursively(search, const, _memo) + return _memo + + +def recursive_function_calls(code: CodeType) -> dict: + """ + Scan a code object for function calls on constant arguments, recursing into function definitions and bodies of + comprehension loops. + """ + return search_recursively(function_calls, code) + + +def any_alias(full_name: str): + """List possible aliases of a fully qualified Python name. + + >>> list(any_alias("foo.bar.wizz")) + ['foo.bar.wizz', 'bar.wizz', 'wizz'] + + This crudely allows us to capture uses of wizz() under any of + :: + import foo + foo.bar.wizz() + :: + from foo import bar + bar.wizz() + :: + from foo.bar import wizz + wizz() + + However, it will fail for any form of aliases and quite likely find false matches. + """ + parts = full_name.split('.') + while parts: + yield ".".join(parts) + parts = parts[1:] diff --git a/.venv/Lib/site-packages/PyInstaller/depend/dylib.py b/.venv/Lib/site-packages/PyInstaller/depend/dylib.py new file mode 100644 index 0000000..3b92c34 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/depend/dylib.py @@ -0,0 +1,378 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Manipulating with dynamic libraries. +""" + +import os +import pathlib +import re + +from PyInstaller import compat +import PyInstaller.log as logging + +logger = logging.getLogger(__name__) + +# Ignoring some system libraries speeds up packaging process +_excludes = { + # Ignore annoying warnings with Windows system DLLs. + # + # 'W: library kernel32.dll required via ctypes not found' + # 'W: library coredll.dll required via ctypes not found' + # + # These these dlls has to be ignored for all operating systems because they might be resolved when scanning code for + # ctypes dependencies. + r'advapi32\.dll', + r'ws2_32\.dll', + r'gdi32\.dll', + r'oleaut32\.dll', + r'shell32\.dll', + r'ole32\.dll', + r'coredll\.dll', + r'crypt32\.dll', + r'kernel32', + r'kernel32\.dll', + r'msvcrt\.dll', + r'rpcrt4\.dll', + r'user32\.dll', + # Some modules tries to import the Python library. e.g. pyreadline.console.console + r'python\%s\%s', +} + +# Regex includes - overrides excludes. Include list is used only to override specific libraries from exclude list. +_includes = set() + +_win_includes = { + # We need to allow collection of Visual Studio C++ (VC) runtime DLLs from system directories in order to avoid + # missing DLL errors when the frozen application is run on a system that does not have the corresponding VC + # runtime installed. The VC runtime DLLs may be dependencies of python shared library itself or of extension + # modules provided by 3rd party packages. + + # Visual Studio 2010 (VC10) runtime + # http://msdn.microsoft.com/en-us/library/8kche8ah(v=vs.100).aspx + r'atl100\.dll', + r'msvcr100\.dll', + r'msvcp100\.dll', + r'mfc100\.dll', + r'mfc100u\.dll', + r'mfcmifc80\.dll', + r'mfcm100\.dll', + r'mfcm100u\.dll', + + # Visual Studio 2012 (VC11) runtime + # https://docs.microsoft.com/en-us/visualstudio/releases/2013/2012-redistribution-vs + # + # VC110.ATL + r'atl110\.dll', + # VC110.CRT + r'msvcp110\.dll', + r'msvcr110\.dll', + r'vccorlib110\.dll', + # VC110.CXXAMP + r'vcamp110\.dll', + # VC110.MFC + r'mfc110\.dll', + r'mfc110u\.dll', + r'mfcm110\.dll', + r'mfcm110u\.dll', + # VC110.MFCLOC + r'mfc110chs\.dll', + r'mfc110cht\.dll', + r'mfc110enu\.dll', + r'mfc110esn\.dll', + r'mfc110deu\.dll', + r'mfc110fra\.dll', + r'mfc110ita\.dll', + r'mfc110jpn\.dll', + r'mfc110kor\.dll', + r'mfc110rus\.dll', + # VC110.OpenMP + r'vcomp110\.dll', + # DIA SDK + r'msdia110\.dll', + + # Visual Studio 2013 (VC12) runtime + # https://docs.microsoft.com/en-us/visualstudio/releases/2013/2013-redistribution-vs + # + # VC120.CRT + r'msvcp120\.dll', + r'msvcr120\.dll', + r'vccorlib120\.dll', + # VC120.CXXAMP + r'vcamp120\.dll', + # VC120.MFC + r'mfc120\.dll', + r'mfc120u\.dll', + r'mfcm120\.dll', + r'mfcm120u\.dll', + # VC120.MFCLOC + r'mfc120chs\.dll', + r'mfc120cht\.dll', + r'mfc120deu\.dll', + r'mfc120enu\.dll', + r'mfc120esn\.dll', + r'mfc120fra\.dll', + r'mfc120ita\.dll', + r'mfc120jpn\.dll', + r'mfc120kor\.dll', + r'mfc120rus\.dll', + # VC120.OPENMP + r'vcomp120\.dll', + # DIA SDK + r'msdia120\.dll', + # Cpp REST Windows SDK + r'casablanca120.winrt\.dll', + # Mobile Services Cpp Client + r'zumosdk120.winrt\.dll', + # Cpp REST SDK + r'casablanca120\.dll', + + # Universal C Runtime Library (since Visual Studio 2015) + # + # NOTE: these should be put under a switch, as they need not to be bundled if deployment target is Windows 10 + # and later, as "UCRT is now a system component in Windows 10 and later, managed by Windows Update". + # (https://docs.microsoft.com/en-us/cpp/windows/determining-which-dlls-to-redistribute?view=msvc-170) + # And as discovered in #6326, Windows prefers system-installed version over the bundled one, anyway + # (see https://docs.microsoft.com/en-us/cpp/windows/universal-crt-deployment?view=msvc-170#local-deployment). + r'api-ms-win-core.*', + r'api-ms-win-crt.*', + r'ucrtbase\.dll', + + # Visual Studio 2015/2017/2019/2022 (VC14) runtime + # https://docs.microsoft.com/en-us/visualstudio/releases/2022/redistribution + # + # VC141.CRT/VC142.CRT/VC143.CRT + r'concrt140\.dll', + r'msvcp140\.dll', + r'msvcp140_1\.dll', + r'msvcp140_2\.dll', + r'msvcp140_atomic_wait\.dll', + r'msvcp140_codecvt_ids\.dll', + r'vccorlib140\.dll', + r'vcruntime140\.dll', + r'vcruntime140_1\.dll', + # VC141.CXXAMP/VC142.CXXAMP/VC143.CXXAMP + r'vcamp140\.dll', + # VC141.OpenMP/VC142.OpenMP/VC143.OpenMP + r'vcomp140\.dll', + # DIA SDK + r'msdia140\.dll', + + # Allow pythonNN.dll, pythoncomNN.dll, pywintypesNN.dll + r'py(?:thon(?:com(?:loader)?)?|wintypes)\d+\.dll', +} + +_win_excludes = { + # On Windows, only .dll files can be loaded. + r'.*\.so', + r'.*\.dylib', + + # MS assembly excludes + r'Microsoft\.Windows\.Common-Controls', +} + +_unix_excludes = { + r'libc\.so(\..*)?', + r'libdl\.so(\..*)?', + r'libm\.so(\..*)?', + r'libpthread\.so(\..*)?', + r'librt\.so(\..*)?', + r'libthread_db\.so(\..*)?', + # glibc regex excludes. + r'ld-linux\.so(\..*)?', + r'libBrokenLocale\.so(\..*)?', + r'libanl\.so(\..*)?', + r'libcidn\.so(\..*)?', + r'libcrypt\.so(\..*)?', + r'libnsl\.so(\..*)?', + r'libnss_compat.*\.so(\..*)?', + r'libnss_dns.*\.so(\..*)?', + r'libnss_files.*\.so(\..*)?', + r'libnss_hesiod.*\.so(\..*)?', + r'libnss_nis.*\.so(\..*)?', + r'libnss_nisplus.*\.so(\..*)?', + r'libresolv\.so(\..*)?', + r'libutil\.so(\..*)?', + # graphical interface libraries come with graphical stack (see libglvnd) + r'libE?(Open)?GLX?(ESv1_CM|ESv2)?(dispatch)?\.so(\..*)?', + r'libdrm\.so(\..*)?', + # a subset of libraries included as part of the Nvidia Linux Graphics Driver as of 520.56.06: + # https://download.nvidia.com/XFree86/Linux-x86_64/520.56.06/README/installedcomponents.html + r'nvidia_drv\.so', + r'libglxserver_nvidia\.so(\..*)?', + r'libnvidia-egl-(gbm|wayland)\.so(\..*)?', + r'libnvidia-(cfg|compiler|e?glcore|glsi|glvkspirv|rtcore|allocator|tls|ml)\.so(\..*)?', + r'lib(EGL|GLX)_nvidia\.so(\..*)?', + # libcuda.so, libcuda.so.1, and libcuda.so.{version} are run-time part of NVIDIA driver, and should not be + # collected, as they need to match the rest of driver components on the target system. + r'libcuda\.so(\..*)?', + r'libcudadebugger\.so(\..*)?', + # libxcb-dri changes ABI frequently (e.g.: between Ubuntu LTS releases) and is usually installed as dependency of + # the graphics stack anyway. No need to bundle it. + r'libxcb\.so(\..*)?', + r'libxcb-dri.*\.so(\..*)?', + # system running a Wayland compositor should already have these libraries + # in versions that should not conflict with system drivers, unlike bundled + r'libwayland.*\.so(\..*)?', +} + +_aix_excludes = { + r'libbz2\.a', + r'libc\.a', + r'libC\.a', + r'libcrypt\.a', + r'libdl\.a', + r'libintl\.a', + r'libpthreads\.a', + r'librt\\.a', + r'librtl\.a', + r'libz\.a', +} + +_solaris_excludes = { + r'libsocket\.so(\..*)?', +} + +_cygwin_excludes = { + r'cygwin1\.dll', +} + +if compat.is_win: + _includes |= _win_includes + _excludes |= _win_excludes +elif compat.is_cygwin: + _excludes |= _cygwin_excludes +elif compat.is_aix: + # The exclude list for AIX differs from other *nix platforms. + _excludes |= _aix_excludes +elif compat.is_solar: + # The exclude list for Solaris differs from other *nix platforms. + _excludes |= _solaris_excludes + _excludes |= _unix_excludes +elif compat.is_unix: + # Common excludes for *nix platforms -- except AIX. + _excludes |= _unix_excludes + + +class MatchList: + def __init__(self, entries): + self._regex = re.compile('|'.join(entries), re.I) if entries else None + + def check_library(self, libname): + if self._regex: + return self._regex.match(os.path.basename(libname)) + return False + + +if compat.is_darwin: + import macholib.util + + class MacExcludeList(MatchList): + def __init__(self, entries): + super().__init__(entries) + + def check_library(self, libname): + # Try the global exclude list. + result = super().check_library(libname) + if result: + return result + + # Exclude libraries in standard system locations. + return macholib.util.in_system_path(libname) + + exclude_list = MacExcludeList(_excludes) + include_list = MatchList(_includes) + +elif compat.is_win: + from PyInstaller.utils.win32 import winutils + + class WinExcludeList(MatchList): + def __init__(self, entries): + super().__init__(entries) + + self._windows_dir = pathlib.Path(winutils.get_windows_dir()).resolve() + + # When running as SYSTEM user, the home directory is `%WINDIR%\system32\config\systemprofile`. + self._home_dir = pathlib.Path.home().resolve() + self._system_home = self._windows_dir in self._home_dir.parents + + def check_library(self, libname): + # Try the global exclude list. The global exclude list contains lower-cased names, so lower-case the input + # for case-normalized comparison. + result = super().check_library(libname.lower()) + if result: + return result + + # Exclude everything from the Windows directory by default; but allow contents of user's gome directory if + # that happens to be rooted under Windows directory (e.g., when running PyInstaller as SYSTEM user). + lib_fullpath = pathlib.Path(libname).resolve() + exclude = self._windows_dir in lib_fullpath.parents + if exclude and self._system_home and self._home_dir in lib_fullpath.parents: + exclude = False + return exclude + + exclude_list = WinExcludeList(_excludes) + include_list = MatchList(_includes) +else: + exclude_list = MatchList(_excludes) + include_list = MatchList(_includes) + +_seen_wine_dlls = set() # Used for warning tracking in include_library() + + +def include_library(libname): + """ + Check if the dynamic library should be included with application or not. + """ + if exclude_list.check_library(libname) and not include_list.check_library(libname): + # Library is excluded and is not overridden by include list. It should be excluded. + return False + + # If we are running under Wine and the library is a Wine built-in DLL, ensure that it is always excluded. Typically, + # excluding a DLL leads to an incomplete bundle and run-time errors when the said DLL is not installed on the target + # system. However, having Wine built-in DLLs collected is even more detrimental, as they usually provide Wine's + # implementation of low-level functionality, and therefore cannot be used on actual Windows (i.e., system libraries + # from the C:\Windows\system32 directory that might end up collected due to ``_win_includes`` list; a prominent + # example are VC runtime DLLs, for which Wine provides their own implementation, unless user explicitly installs + # Microsoft's VC redistributable package in their Wine environment). Therefore, excluding the Wine built-in DLLs + # actually improves the chances of the bundle running on Windows, or at least makes the issue easier to debug by + # turning it into the "standard" missing DLL problem. Exclusion should not affect the bundle's ability to run under + # Wine itself, as the excluded DLLs are available there. + if compat.is_win_wine and compat.is_wine_dll(libname): + # Display warning message only once per DLL. Note that it is also displayed only if the DLL were to be included + # in the first place. + if libname not in _seen_wine_dlls: + logger.warning("Excluding Wine built-in DLL: %s", libname) + _seen_wine_dlls.add(libname) + return False + + return True + + +# Patterns for suppressing warnings about missing dynamically linked libraries +_warning_suppressions = [] + +# On some systems (e.g., openwrt), libc.so might point to ldd. Suppress warnings about it. +if compat.is_linux: + _warning_suppressions.append(r'ldd') + +# Suppress warnings about unresolvable UCRT DLLs (see issue #1566) on Windows 10 and 11. +if compat.is_win_10 or compat.is_win_11: + _warning_suppressions.append(r'api-ms-win-.*\.dll') + +missing_lib_warning_suppression_list = MatchList(_warning_suppressions) + + +def warn_missing_lib(libname): + """ + Check if a missing-library warning should be displayed for the given library name (or full path). + """ + return not missing_lib_warning_suppression_list.check_library(libname) diff --git a/.venv/Lib/site-packages/PyInstaller/depend/imphook.py b/.venv/Lib/site-packages/PyInstaller/depend/imphook.py new file mode 100644 index 0000000..b4f184a --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/depend/imphook.py @@ -0,0 +1,582 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Code related to processing of import hooks. +""" + +import glob +import os.path +import sys +import weakref +import re + +from PyInstaller import log as logging +from PyInstaller.building.utils import format_binaries_and_datas +from PyInstaller.compat import importlib_load_source +from PyInstaller.depend.imphookapi import PostGraphAPI +from PyInstaller.exceptions import ImportErrorWhenRunningHook + +logger = logging.getLogger(__name__) + + +class ModuleHookCache(dict): + """ + Cache of lazily loadable hook script objects. + + This cache is implemented as a `dict` subclass mapping from the fully-qualified names of all modules with at + least one hook script to lists of `ModuleHook` instances encapsulating these scripts. As a `dict` subclass, + all cached module names and hook scripts are accessible via standard dictionary operations. + + Attributes + ---------- + module_graph : ModuleGraph + Current module graph. + _hook_module_name_prefix : str + String prefixing the names of all in-memory modules lazily loaded from cached hook scripts. See also the + `hook_module_name_prefix` parameter passed to the `ModuleHook.__init__()` method. + """ + + _cache_id_next = 0 + """ + 0-based identifier unique to the next `ModuleHookCache` to be instantiated. + + This identifier is incremented on each instantiation of a new `ModuleHookCache` to isolate in-memory modules of + lazily loaded hook scripts in that cache to the same cache-specific namespace, preventing edge-case collisions + with existing in-memory modules in other caches. + + """ + def __init__(self, module_graph, hook_dirs): + """ + Cache all hook scripts in the passed directories. + + **Order of caching is significant** with respect to hooks for the same module, as the values of this + dictionary are lists. Hooks for the same module will be run in the order in which they are cached. Previously + cached hooks are always preserved rather than overridden. + + By default, official hooks are cached _before_ user-defined hooks. For modules with both official and + user-defined hooks, this implies that the former take priority over and hence will be loaded _before_ the + latter. + + Parameters + ---------- + module_graph : ModuleGraph + Current module graph. + hook_dirs : list + List of the absolute or relative paths of all directories containing **hook scripts** (i.e., + Python scripts with filenames matching `hook-{module_name}.py`, where `{module_name}` is the module + hooked by that script) to be cached. + """ + super().__init__() + + # To avoid circular references and hence increased memory consumption, a weak rather than strong reference is + # stored to the passed graph. Since this graph is guaranteed to live longer than this cache, + # this is guaranteed to be safe. + self.module_graph = weakref.proxy(module_graph) + + # String unique to this cache prefixing the names of all in-memory modules lazily loaded from cached hook + # scripts, privatized for safety. + self._hook_module_name_prefix = '__PyInstaller_hooks_{}_'.format(ModuleHookCache._cache_id_next) + ModuleHookCache._cache_id_next += 1 + + # Cache all hook scripts in the passed directories. + self._cache_hook_dirs(hook_dirs) + + def _cache_hook_dirs(self, hook_dirs): + """ + Cache all hook scripts in the passed directories. + + Parameters + ---------- + hook_dirs : list + List of the absolute or relative paths of all directories containing hook scripts to be cached. + """ + + for hook_dir, default_priority in hook_dirs: + # Canonicalize this directory's path and validate its existence. + hook_dir = os.path.abspath(hook_dir) + if not os.path.isdir(hook_dir): + raise FileNotFoundError('Hook directory "{}" not found.'.format(hook_dir)) + + # For each hook script in this directory... + hook_filenames = glob.glob(os.path.join(hook_dir, 'hook-*.py')) + for hook_filename in hook_filenames: + # Fully-qualified name of this hook's corresponding module, constructed by removing the "hook-" prefix + # and ".py" suffix. + module_name = os.path.basename(hook_filename)[5:-3] + + # Lazily loadable hook object. + module_hook = ModuleHook( + module_graph=self.module_graph, + module_name=module_name, + hook_filename=hook_filename, + hook_module_name_prefix=self._hook_module_name_prefix, + default_priority=default_priority, + ) + + # Add this hook to this module's list of hooks. + module_hooks = self.setdefault(module_name, []) + module_hooks.append(module_hook) + + # Post-processing: we allow only one instance of hook per module. Currently, the priority order is defined + # implicitly, via order of hook directories, so the first hook in the list has the highest priority. + for module_name in self.keys(): + hooks = self[module_name] + if len(hooks) == 1: + self[module_name] = hooks[0] + else: + # Order by priority value, in descending order. + sorted_hooks = sorted(hooks, key=lambda hook: hook.priority, reverse=True) + self[module_name] = sorted_hooks[0] + + def remove_modules(self, *module_names): + """ + Remove the passed modules and all hook scripts cached for these modules from this cache. + + Parameters + ---------- + module_names : list + List of all fully-qualified module names to be removed. + """ + + for module_name in module_names: + # Unload this module's hook script modules from memory. Since these are top-level pure-Python modules cached + # only in the "sys.modules" dictionary, popping these modules from this dictionary suffices to garbage + # collect them. + module_hook = self.pop(module_name, None) # Remove our reference, if available. + if module_hook is not None: + sys.modules.pop(module_hook.hook_module_name, None) + + +def _module_collection_mode_sanitizer(value): + if isinstance(value, dict): + # Hook set a dictionary; use it as-is + return value + elif isinstance(value, str): + # Hook set a mode string; convert to a dictionary and assign the string to `None` (= the hooked module). + return {None: value} + + raise ValueError(f"Invalid module collection mode setting value: {value!r}") + + +def _bindepend_symlink_suppression_sanitizer(value): + if isinstance(value, (list, set)): + # Hook set a list or a set; use it as-is + return set(value) + elif isinstance(value, str): + # Hook set a string; create a set with single element. + return set([value]) + + raise ValueError(f"Invalid value for bindepend_symlink_suppression: {value!r}") + + +# Dictionary mapping the names of magic attributes required by the "ModuleHook" class to 2-tuples "(default_type, +# sanitizer_func)", where: +# +# * "default_type" is the type to which that attribute will be initialized when that hook is lazily loaded. +# * "sanitizer_func" is the callable sanitizing the original value of that attribute defined by that hook into a +# safer value consumable by "ModuleHook" callers if any or "None" if the original value requires no sanitization. +# +# To avoid subtleties in the ModuleHook.__getattr__() method, this dictionary is declared as a module rather than a +# class attribute. If declared as a class attribute and then undefined (...for whatever reason), attempting to access +# this attribute from that method would produce infinite recursion. +_MAGIC_MODULE_HOOK_ATTRS = { + # Collections in which order is insignificant. This includes: + # + # * "datas", sanitized from hook-style 2-tuple lists defined by hooks into TOC-style 2-tuple sets consumable by + # "ModuleHook" callers. + # * "binaries", sanitized in the same way. + 'datas': (set, format_binaries_and_datas), + 'binaries': (set, format_binaries_and_datas), + 'excludedimports': (set, None), + + # Collections in which order is significant. This includes: + # + # * "hiddenimports", as order of importation is significant. On module importation, hook scripts are loaded and hook + # functions declared by these scripts are called. As these scripts and functions can have side effects dependent + # on module importation order, module importation itself can have side effects dependent on this order! + 'hiddenimports': (list, None), + + # Flags + 'warn_on_missing_hiddenimports': (lambda: True, bool), + + # Package/module collection mode dictionary. + 'module_collection_mode': (dict, _module_collection_mode_sanitizer), + + # Path patterns for suppression of symbolic links created by binary dependency analysis. + 'bindepend_symlink_suppression': (set, _bindepend_symlink_suppression_sanitizer), +} + + +class ModuleHook: + """ + Cached object encapsulating a lazy loadable hook script. + + This object exposes public attributes (e.g., `datas`) of the underlying hook script as attributes of the same + name of this object. On the first access of any such attribute, this hook script is lazily loaded into an + in-memory private module reused on subsequent accesses. These dynamic attributes are referred to as "magic." All + other static attributes of this object (e.g., `hook_module_name`) are referred to as "non-magic." + + Attributes (Magic) + ---------- + datas : set + Set of `TOC`-style 2-tuples `(target_file, source_file)` for all external non-executable files required by + the module being hooked, converted from the `datas` list of hook-style 2-tuples `(source_dir_or_glob, + target_dir)` defined by this hook script. + binaries : set + Set of `TOC`-style 2-tuples `(target_file, source_file)` for all external executable files required by the + module being hooked, converted from the `binaries` list of hook-style 2-tuples `(source_dir_or_glob, + target_dir)` defined by this hook script. + excludedimports : set + Set of the fully-qualified names of all modules imported by the module being hooked to be ignored rather than + imported from that module, converted from the `excludedimports` list defined by this hook script. These + modules will only be "locally" rather than "globally" ignored. These modules will remain importable from all + modules other than the module being hooked. + hiddenimports : set + Set of the fully-qualified names of all modules imported by the module being hooked that are _not_ + automatically detectable by PyInstaller (usually due to being dynamically imported in that module), + converted from the `hiddenimports` list defined by this hook script. + warn_on_missing_hiddenimports : bool + Boolean flag indicating whether missing hidden imports from the hook should generate warnings or not. This + behavior is enabled by default, but individual hooks can opt out of it. + module_collection_mode : dict + A dictionary of package/module names and their corresponding collection mode strings ('pyz', 'pyc', 'py', + 'pyz+py', 'py+pyz'). + bindepend_symlink_suppression : set + A set of paths or path patterns corresponding to shared libraries for which binary dependency analysis should + not create symbolic links into top-level application directory. + + Attributes (Non-magic) + ---------- + module_graph : ModuleGraph + Current module graph. + module_name : str + Name of the module hooked by this hook script. + hook_filename : str + Absolute or relative path of this hook script. + hook_module_name : str + Name of the in-memory module of this hook script's interpreted contents. + _hook_module : module + In-memory module of this hook script's interpreted contents, lazily loaded on the first call to the + `_load_hook_module()` method _or_ `None` if this method has yet to be accessed. + _default_priority : int + Default (location-based) priority for this hook. + priority : int + Actual priority for this hook. Might be different from `_default_priority` if hook file specifies the hook + priority override. + """ + + #-- Magic -- + + def __init__(self, module_graph, module_name, hook_filename, hook_module_name_prefix, default_priority): + """ + Initialize this metadata. + + Parameters + ---------- + module_graph : ModuleGraph + Current module graph. + module_name : str + Name of the module hooked by this hook script. + hook_filename : str + Absolute or relative path of this hook script. + hook_module_name_prefix : str + String prefixing the name of the in-memory module for this hook script. To avoid namespace clashes with + similar modules created by other `ModuleHook` objects in other `ModuleHookCache` containers, this string + _must_ be unique to the `ModuleHookCache` container containing this `ModuleHook` object. If this string + is non-unique, an existing in-memory module will be erroneously reused when lazily loading this hook + script, thus erroneously resanitizing previously sanitized hook script attributes (e.g., `datas`) with + the `format_binaries_and_datas()` helper. + default_priority : int + Default, location-based priority for this hook. Used to select active hook when multiple hooks are defined + for the same module. + """ + # Note that the passed module graph is already a weak reference, avoiding circular reference issues. See + # ModuleHookCache.__init__(). TODO: Add a failure message + assert isinstance(module_graph, weakref.ProxyTypes) + self.module_graph = module_graph + self.module_name = module_name + self.hook_filename = hook_filename + + # Default priority; used as fall-back for dynamic `hook_priority` attribute. + self._default_priority = default_priority + + # Name of the in-memory module fabricated to refer to this hook script. + self.hook_module_name = hook_module_name_prefix + self.module_name.replace('.', '_') + + # Attributes subsequently defined by the _load_hook_module() method. + self._loaded = False + self._has_hook_function = False + self._hook_module = None + + def __getattr__(self, attr_name): + """ + Get the magic attribute with the passed name (e.g., `datas`) from this lazily loaded hook script if any _or_ + raise `AttributeError` otherwise. + + This special method is called only for attributes _not_ already defined by this object. This includes + undefined attributes and the first attempt to access magic attributes. + + This special method is _not_ called for subsequent attempts to access magic attributes. The first attempt to + access magic attributes defines corresponding instance variables accessible via the `self.__dict__` instance + dictionary (e.g., as `self.datas`) without calling this method. This approach also allows magic attributes to + be deleted from this object _without_ defining the `__delattr__()` special method. + + See Also + ---------- + Class docstring for supported magic attributes. + """ + + if attr_name == 'priority': + # If attribute is part of hook metadata, read metadata from hook script and return the attribute value. + self._load_hook_metadata() + return getattr(self, attr_name) + if attr_name in _MAGIC_MODULE_HOOK_ATTRS and not self._loaded: + # If attribute is hook's magic attribute, load and run the hook script, and return the attribute value. + self._load_hook_module() + return getattr(self, attr_name) + else: + # This is an undefined attribute. Raise an exception. + raise AttributeError(attr_name) + + def __setattr__(self, attr_name, attr_value): + """ + Set the attribute with the passed name to the passed value. + + If this is a magic attribute, this hook script will be lazily loaded before setting this attribute. Unlike + `__getattr__()`, this special method is called to set _any_ attribute -- including magic, non-magic, + and undefined attributes. + + See Also + ---------- + Class docstring for supported magic attributes. + """ + + # If this is a magic attribute, initialize this attribute by lazy loading this hook script before overwriting + # this attribute. + if attr_name in _MAGIC_MODULE_HOOK_ATTRS: + self._load_hook_module() + + # Set this attribute to the passed value. To avoid recursion, the superclass method rather than setattr() is + # called. + return super().__setattr__(attr_name, attr_value) + + #-- Loading -- + + def _load_hook_metadata(self): + """ + Load hook metadata from its source file. + """ + self.priority = self._default_priority + + # Priority override pattern: `# $PyInstaller-Hook-Priority: ` + priority_pattern = re.compile(r"^\s*#\s*\$PyInstaller-Hook-Priority:\s*(?P[\S]+)") + + with open(self.hook_filename, "r", encoding="utf-8") as f: + for line in f: + # Attempt to match and parse hook priority directive + m = priority_pattern.match(line) + if m is not None: + try: + self.priority = int(m.group('value')) + except Exception: + logger.warning( + "Failed to parse hook priority value string: %r!", m.group('value'), exc_info=True + ) + # Currently, this is our only line of interest, so we can stop the search here. + return + + def _load_hook_module(self, keep_module_ref=False): + """ + Lazily load this hook script into an in-memory private module. + + This method (and, indeed, this class) preserves all attributes and functions defined by this hook script as + is, ensuring sane behaviour in hook functions _not_ expecting unplanned external modification. Instead, + this method copies public attributes defined by this hook script (e.g., `binaries`) into private attributes + of this object, which the special `__getattr__()` and `__setattr__()` methods safely expose to external + callers. For public attributes _not_ defined by this hook script, the corresponding private attributes will + be assigned sane defaults. For some public attributes defined by this hook script, the corresponding private + attributes will be transformed into objects more readily and safely consumed elsewhere by external callers. + + See Also + ---------- + Class docstring for supported attributes. + """ + + # If this hook script module has already been loaded, noop. + if self._loaded and (self._hook_module is not None or not keep_module_ref): + return + + # Load and execute the hook script. Even if mechanisms from the import machinery are used, this does not import + # the hook as the module. + hook_path, hook_basename = os.path.split(self.hook_filename) + logger.info('Processing standard module hook %r from %r', hook_basename, hook_path) + try: + self._hook_module = importlib_load_source(self.hook_module_name, self.hook_filename) + except ImportError: + logger.debug("Hook failed with:", exc_info=True) + raise ImportErrorWhenRunningHook(self.hook_module_name, self.hook_filename) + + # Mark as loaded + self._loaded = True + + # Check if module has hook() function. + self._has_hook_function = hasattr(self._hook_module, 'hook') + + # Copy hook script attributes into magic attributes exposed as instance variables of the current "ModuleHook" + # instance. + for attr_name, (default_type, sanitizer_func) in _MAGIC_MODULE_HOOK_ATTRS.items(): + # Unsanitized value of this attribute. + attr_value = getattr(self._hook_module, attr_name, None) + + # If this attribute is undefined, expose a sane default instead. + if attr_value is None: + attr_value = default_type() + # Else if this attribute requires sanitization, do so. + elif sanitizer_func is not None: + attr_value = sanitizer_func(attr_value) + # Else, expose the unsanitized value of this attribute. + + # Expose this attribute as an instance variable of the same name. + setattr(self, attr_name, attr_value) + + # If module_collection_mode has an entry with None key, reassign it to the hooked module's name. + setattr( + self, 'module_collection_mode', { + key if key is not None else self.module_name: value + for key, value in getattr(self, 'module_collection_mode').items() + } + ) + + # Release the module if we do not need the reference. This is the case when hook is loaded during the analysis + # rather as part of the post-graph operations. + if not keep_module_ref: + self._hook_module = None + + #-- Hooks -- + + def post_graph(self, analysis): + """ + Call the **post-graph hook** (i.e., `hook()` function) defined by this hook script, if any. + + Parameters + ---------- + analysis: build_main.Analysis + Analysis that calls the hook + + This method is intended to be called _after_ the module graph for this application is constructed. + """ + + # Lazily load this hook script into an in-memory module. + # The script might have been loaded before during modulegraph analysis; in that case, it needs to be reloaded + # only if it provides a hook() function. + if not self._loaded or self._has_hook_function: + # Keep module reference when loading the hook, so we can call its hook function! + self._load_hook_module(keep_module_ref=True) + + # Call this hook script's hook() function, which modifies attributes accessed by subsequent methods and + # hence must be called first. + self._process_hook_func(analysis) + + # Order is insignificant here. + self._process_hidden_imports() + + def _process_hook_func(self, analysis): + """ + Call this hook's `hook()` function if defined. + + Parameters + ---------- + analysis: build_main.Analysis + Analysis that calls the hook + """ + + # If this hook script defines no hook() function, noop. + if not hasattr(self._hook_module, 'hook'): + return + + # Call this hook() function. + hook_api = PostGraphAPI(module_name=self.module_name, module_graph=self.module_graph, analysis=analysis) + try: + self._hook_module.hook(hook_api) + except ImportError: + logger.debug("Hook failed with:", exc_info=True) + raise ImportErrorWhenRunningHook(self.hook_module_name, self.hook_filename) + + # Update all magic attributes modified by the prior call. + self.datas.update(set(hook_api._added_datas)) + self.binaries.update(set(hook_api._added_binaries)) + self.hiddenimports.extend(hook_api._added_imports) + self.module_collection_mode.update(hook_api._module_collection_mode) + self.bindepend_symlink_suppression.update(hook_api._bindepend_symlink_suppression) + + # FIXME: `hook_api._deleted_imports` should be appended to `self.excludedimports` and used to suppress module + # import during the modulegraph construction rather than handled here. However, for that to work, the `hook()` + # function needs to be ran during modulegraph construction instead of in post-processing (and this in turn + # requires additional code refactoring in order to be able to pass `analysis` to `PostGraphAPI` object at + # that point). So once the modulegraph rewrite is complete, remove the code block below. + for deleted_module_name in hook_api._deleted_imports: + # Remove the graph link between the hooked module and item. This removes the 'item' node from the graph if + # no other links go to it (no other modules import it) + self.module_graph.removeReference(hook_api.node, deleted_module_name) + + def _process_hidden_imports(self): + """ + Add all imports listed in this hook script's `hiddenimports` attribute to the module graph as if directly + imported by this hooked module. + + These imports are typically _not_ implicitly detectable by PyInstaller and hence must be explicitly defined + by hook scripts. + """ + + # For each hidden import required by the module being hooked... + for import_module_name in self.hiddenimports: + try: + # Graph node for this module. Do not implicitly create namespace packages for non-existent packages. + caller = self.module_graph.find_node(self.module_name, create_nspkg=False) + + # Manually import this hidden import from this module. + self.module_graph.import_hook(import_module_name, caller) + # If this hidden import is unimportable, print a non-fatal warning. Hidden imports often become + # desynchronized from upstream packages and hence are only "soft" recommendations. + except ImportError: + if self.warn_on_missing_hiddenimports: + logger.warning('Hidden import "%s" not found!', import_module_name) + + +class AdditionalFilesCache: + """ + Cache for storing what binaries and datas were pushed by what modules when import hooks were processed. + """ + def __init__(self): + self._binaries = {} + self._datas = {} + + def add(self, modname, binaries, datas): + + self._binaries.setdefault(modname, []) + self._binaries[modname].extend(binaries or []) + self._datas.setdefault(modname, []) + self._datas[modname].extend(datas or []) + + def __contains__(self, name): + return name in self._binaries or name in self._datas + + def binaries(self, modname): + """ + Return list of binaries for given module name. + """ + return self._binaries.get(modname, []) + + def datas(self, modname): + """ + Return list of datas for given module name. + """ + return self._datas.get(modname, []) diff --git a/.venv/Lib/site-packages/PyInstaller/depend/imphookapi.py b/.venv/Lib/site-packages/PyInstaller/depend/imphookapi.py new file mode 100644 index 0000000..16ce0c1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/depend/imphookapi.py @@ -0,0 +1,486 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Classes facilitating communication between PyInstaller and import hooks. + +PyInstaller passes instances of classes defined by this module to corresponding functions defined by external import +hooks, which commonly modify the contents of these instances before returning. PyInstaller then detects and converts +these modifications into appropriate operations on the current `PyiModuleGraph` instance, thus modifying which +modules will be frozen into the executable. +""" + +from PyInstaller.building.utils import format_binaries_and_datas +from PyInstaller.lib.modulegraph.modulegraph import (RuntimeModule, RuntimePackage) + + +class PreSafeImportModuleAPI: + """ + Metadata communicating changes made by the current **pre-safe import module hook** (i.e., hook run immediately + _before_ a call to `ModuleGraph._safe_import_module()` recursively adding the hooked module, package, + or C extension and all transitive imports thereof to the module graph) back to PyInstaller. + + Pre-safe import module hooks _must_ define a `pre_safe_import_module()` function accepting an instance of this + class, whose attributes describe the subsequent `ModuleGraph._safe_import_module()` call creating the hooked + module's graph node. + + Each pre-safe import module hook is run _only_ on the first attempt to create the hooked module's graph node and + then subsequently ignored. If this hook successfully creates that graph node, the subsequent + `ModuleGraph._safe_import_module()` call will observe this fact and silently return without attempting to + recreate that graph node. + + Pre-safe import module hooks are typically used to create graph nodes for **runtime modules** (i.e., + modules dynamically defined at runtime). Most modules are physically defined in external `.py`-suffixed scripts. + Some modules, however, are dynamically defined at runtime (e.g., `six.moves`, dynamically defined by the + physically defined `six.py` module). However, `ModuleGraph` only parses `import` statements residing in external + scripts. `ModuleGraph` is _not_ a full-fledged, Turing-complete Python interpreter and hence has no means of + parsing `import` statements performed by runtime modules existing only in-memory. + + 'With great power comes great responsibility.' + + + Attributes (Immutable) + ---------------------------- + The following attributes are **immutable** (i.e., read-only). For safety, any attempts to change these attributes + _will_ result in a raised exception: + + module_graph : PyiModuleGraph + Current module graph. + parent_package : Package + Graph node for the package providing this module _or_ `None` if this module is a top-level module. + + Attributes (Mutable) + ----------------------------- + The following attributes are editable. + + module_basename : str + Unqualified name of the module to be imported (e.g., `text`). + module_name : str + Fully-qualified name of this module (e.g., `email.mime.text`). + """ + def __init__(self, module_graph, module_basename, module_name, parent_package): + self._module_graph = module_graph + self.module_basename = module_basename + self.module_name = module_name + self._parent_package = parent_package + + # Immutable properties. No corresponding setters are defined. + @property + def module_graph(self): + """ + Current module graph. + """ + return self._module_graph + + @property + def parent_package(self): + """ + Parent Package of this node. + """ + return self._parent_package + + def add_runtime_module(self, module_name): + """ + Add a graph node representing a non-package Python module with the passed name dynamically defined at runtime. + + Most modules are statically defined on-disk as standard Python files. Some modules, however, are dynamically + defined in-memory at runtime (e.g., `gi.repository.Gst`, dynamically defined by the statically defined + `gi.repository.__init__` module). + + This method adds a graph node representing such a runtime module. Since this module is _not_ a package, + all attempts to import submodules from this module in `from`-style import statements (e.g., the `queue` + submodule in `from six.moves import queue`) will be silently ignored. To circumvent this, simply call + `add_runtime_package()` instead. + + Parameters + ---------- + module_name : str + Fully-qualified name of this module (e.g., `gi.repository.Gst`). + + Examples + ---------- + This method is typically called by `pre_safe_import_module()` hooks, e.g.: + + def pre_safe_import_module(api): + api.add_runtime_module(api.module_name) + """ + + self._module_graph.add_module(RuntimeModule(module_name)) + + def add_runtime_package(self, package_name): + """ + Add a graph node representing a non-namespace Python package with the passed name dynamically defined at + runtime. + + Most packages are statically defined on-disk as standard subdirectories containing `__init__.py` files. Some + packages, however, are dynamically defined in-memory at runtime (e.g., `six.moves`, dynamically defined by + the statically defined `six` module). + + This method adds a graph node representing such a runtime package. All attributes imported from this package + in `from`-style import statements that are submodules of this package (e.g., the `queue` submodule in `from + six.moves import queue`) will be imported rather than ignored. + + Parameters + ---------- + package_name : str + Fully-qualified name of this package (e.g., `six.moves`). + + Examples + ---------- + This method is typically called by `pre_safe_import_module()` hooks, e.g.: + + def pre_safe_import_module(api): + api.add_runtime_package(api.module_name) + """ + + self._module_graph.add_module(RuntimePackage(package_name)) + + def add_alias_module(self, real_module_name, alias_module_name): + """ + Alias the source module to the target module with the passed names. + + This method ensures that the next call to findNode() given the target module name will resolve this alias. + This includes importing and adding a graph node for the source module if needed as well as adding a reference + from the target to the source module. + + Parameters + ---------- + real_module_name : str + Fully-qualified name of the **existing module** (i.e., the module being aliased). + alias_module_name : str + Fully-qualified name of the **non-existent module** (i.e., the alias to be created). + """ + + self._module_graph.alias_module(real_module_name, alias_module_name) + + def append_package_path(self, directory): + """ + Modulegraph does a good job at simulating Python's, but it cannot handle packagepath `__path__` modifications + packages make at runtime. + + Therefore there is a mechanism whereby you can register extra paths in this map for a package, and it will be + honored. + + Parameters + ---------- + directory : str + Absolute or relative path of the directory to be appended to this package's `__path__` attribute. + """ + + self._module_graph.append_package_path(self.module_name, directory) + + +class PreFindModulePathAPI: + """ + Metadata communicating changes made by the current **pre-find module path hook** (i.e., hook run immediately + _before_ a call to `ModuleGraph._find_module_path()` finding the hooked module's absolute path) back to PyInstaller. + + Pre-find module path hooks _must_ define a `pre_find_module_path()` function accepting an instance of this class, + whose attributes describe the subsequent `ModuleGraph._find_module_path()` call to be performed. + + Pre-find module path hooks are typically used to change the absolute path from which a module will be + subsequently imported and thus frozen into the executable. To do so, hooks may overwrite the default + `search_dirs` list of the absolute paths of all directories to be searched for that module: e.g., + + def pre_find_module_path(api): + api.search_dirs = ['/the/one/true/package/providing/this/module'] + + Each pre-find module path hook is run _only_ on the first call to `ModuleGraph._find_module_path()` for the + corresponding module. + + Attributes + ---------- + The following attributes are **mutable** (i.e., modifiable). All changes to these attributes will be immediately + respected by PyInstaller: + + search_dirs : list + List of the absolute paths of all directories to be searched for this module (in order). Searching will halt + at the first directory containing this module. + + Attributes (Immutable) + ---------- + The following attributes are **immutable** (i.e., read-only). For safety, any attempts to change these attributes + _will_ result in a raised exception: + + module_name : str + Fully-qualified name of this module. + module_graph : PyiModuleGraph + Current module graph. For efficiency, this attribute is technically mutable. To preserve graph integrity, + this attribute should nonetheless _never_ be modified. While read-only `PyiModuleGraph` methods (e.g., + `findNode()`) are safely callable from within pre-find module path hooks, methods modifying the graph are + _not_. If graph modifications are required, consider an alternative type of hook (e.g., pre-import module + hooks). + """ + def __init__( + self, + module_graph, + module_name, + search_dirs, + ): + # Mutable attributes. + self.search_dirs = search_dirs + + # Immutable attributes. + self._module_graph = module_graph + self._module_name = module_name + + # Immutable properties. No corresponding setters are defined. + @property + def module_graph(self): + """ + Current module graph. + """ + return self._module_graph + + @property + def module_name(self): + """ + Fully-qualified name of this module. + """ + return self._module_name + + +class PostGraphAPI: + """ + Metadata communicating changes made by the current **post-graph hook** (i.e., hook run for a specific module + transitively imported by the current application _after_ the module graph of all `import` statements performed by + this application has been constructed) back to PyInstaller. + + Post-graph hooks may optionally define a `post_graph()` function accepting an instance of this class, + whose attributes describe the current state of the module graph and the hooked module's graph node. + + Attributes (Mutable) + ---------- + The following attributes are **mutable** (i.e., modifiable). All changes to these attributes will be immediately + respected by PyInstaller: + + module_graph : PyiModuleGraph + Current module graph. + module : Node + Graph node for the currently hooked module. + + 'With great power comes great responsibility.' + + Attributes (Immutable) + ---------- + The following attributes are **immutable** (i.e., read-only). For safety, any attempts to change these attributes + _will_ result in a raised exception: + + __name__ : str + Fully-qualified name of this module (e.g., `six.moves.tkinter`). + __file__ : str + Absolute path of this module. If this module is: + * A standard (rather than namespace) package, this is the absolute path of this package's directory. + * A namespace (rather than standard) package, this is the abstract placeholder `-`. (Don't ask. Don't tell.) + * A non-package module or C extension, this is the absolute path of the corresponding file. + __path__ : list + List of the absolute paths of all directories comprising this package if this module is a package _or_ `None` + otherwise. If this module is a standard (rather than namespace) package, this list contains only the absolute + path of this package's directory. + co : code + Code object compiled from the contents of `__file__` (e.g., via the `compile()` builtin). + analysis: build_main.Analysis + The Analysis that load the hook. + + Attributes (Private) + ---------- + The following attributes are technically mutable but private, and hence should _never_ be externally accessed or + modified by hooks. Call the corresponding public methods instead: + + _added_datas : list + List of the `(name, path)` 2-tuples or TOC objects of all external data files required by the current hook, + defaulting to the empty list. This is equivalent to the global `datas` hook attribute. + _added_imports : list + List of the fully-qualified names of all modules imported by the current hook, defaulting to the empty list. + This is equivalent to the global `hiddenimports` hook attribute. + _added_binaries : list + List of the `(name, path)` 2-tuples or TOC objects of all external C extensions imported by the current hook, + defaulting to the empty list. This is equivalent to the global `binaries` hook attribute. + _module_collection_mode : dict + Dictionary of package/module names and their corresponding collection mode strings. This is equivalent to the + global `module_collection_mode` hook attribute. + _bindepend_symlink_suppression : set + A set of paths or path patterns corresponding to shared libraries for which binary dependency analysis should + not generate symbolic links into top-level application directory. + """ + def __init__(self, module_name, module_graph, analysis): + # Mutable attributes. + self.module_graph = module_graph + self.module = module_graph.find_node(module_name) + assert self.module is not None # should not occur + + # Immutable attributes. + self.___name__ = module_name + self.___file__ = self.module.filename + self._co = self.module.code + self._analysis = analysis + + # To enforce immutability, convert this module's package path if any into an immutable tuple. + self.___path__ = tuple(self.module.packagepath) \ + if self.module.packagepath is not None else None + + #FIXME: Refactor "_added_datas", "_added_binaries", and "_deleted_imports" into sets. Since order of + #import is important, "_added_imports" must remain a list. + + # Private attributes. + self._added_binaries = [] + self._added_datas = [] + self._added_imports = [] + self._deleted_imports = [] + self._module_collection_mode = {} + self._bindepend_symlink_suppression = set() + + # Immutable properties. No corresponding setters are defined. + @property + def __file__(self): + """ + Absolute path of this module's file. + """ + return self.___file__ + + @property + def __path__(self): + """ + List of the absolute paths of all directories comprising this package if this module is a package _or_ `None` + otherwise. If this module is a standard (rather than namespace) package, this list contains only the absolute + path of this package's directory. + """ + return self.___path__ + + @property + def __name__(self): + """ + Fully-qualified name of this module (e.g., `six.moves.tkinter`). + """ + return self.___name__ + + @property + def co(self): + """ + Code object compiled from the contents of `__file__` (e.g., via the `compile()` builtin). + """ + return self._co + + @property + def analysis(self): + """ + build_main.Analysis that calls the hook. + """ + return self._analysis + + # Obsolete immutable properties provided to preserve backward compatibility. + @property + def name(self): + """ + Fully-qualified name of this module (e.g., `six.moves.tkinter`). + + **This property has been deprecated by the `__name__` property.** + """ + return self.___name__ + + @property + def graph(self): + """ + Current module graph. + + **This property has been deprecated by the `module_graph` property.** + """ + return self.module_graph + + @property + def node(self): + """ + Graph node for the currently hooked module. + + **This property has been deprecated by the `module` property.** + """ + return self.module + + # TODO: This incorrectly returns the list of the graph nodes of all modules *TRANSITIVELY* (rather than directly) + # imported by this module. Unfortunately, this implies that most uses of this property are currently broken + # (e.g., "hook-PIL.SpiderImagePlugin.py"). We only require this for the aforementioned hook, so contemplate + # alternative approaches. + @property + def imports(self): + """ + List of the graph nodes of all modules directly imported by this module. + """ + return self.module_graph.iter_graph(start=self.module) + + def add_imports(self, *module_names): + """ + Add all Python modules whose fully-qualified names are in the passed list as "hidden imports" upon which the + current module depends. + + This is equivalent to appending such names to the hook-specific `hiddenimports` attribute. + """ + # Append such names to the current list of all such names. + self._added_imports.extend(module_names) + + def del_imports(self, *module_names): + """ + Remove the named fully-qualified modules from the set of imports (either hidden or visible) upon which the + current module depends. + + This is equivalent to appending such names to the hook-specific `excludedimports` attribute. + """ + self._deleted_imports.extend(module_names) + + def add_binaries(self, binaries): + """ + Add all external dynamic libraries in the passed list of `(src_name, dest_name)` 2-tuples as dependencies of the + current module. This is equivalent to adding to the global `binaries` hook attribute. + + For convenience, the `binaries` may also be a list of TOC-style 3-tuples `(dest_name, src_name, typecode)`. + """ + + # Detect TOC 3-tuple list by checking the length of the first entry + if binaries and len(binaries[0]) == 3: + self._added_binaries.extend(entry[:2] for entry in binaries) + else: + # NOTE: `format_binaries_and_datas` changes tuples from input format `(src_name, dest_name)` to output + # format `(dest_name, src_name)`. + self._added_binaries.extend(format_binaries_and_datas(binaries)) + + def add_datas(self, datas): + """ + Add all external data files in the passed list of `(src_name, dest_name)` 2-tuples as dependencies of the + current module. This is equivalent to adding to the global `datas` hook attribute. + + For convenience, the `datas` may also be a list of TOC-style 3-tuples `(dest_name, src_name, typecode)`. + """ + + # Detect TOC 3-tuple list by checking the length of the first entry + if datas and len(datas[0]) == 3: + self._added_datas.extend(entry[:2] for entry in datas) + else: + # NOTE: `format_binaries_and_datas` changes tuples from input format `(src_name, dest_name)` to output + # format `(dest_name, src_name)`. + self._added_datas.extend(format_binaries_and_datas(datas)) + + def set_module_collection_mode(self, name, mode): + """" + Set the package/module collection mode for the specified module name. If `name` is `None`, the hooked + module/package name is used. `mode` can be one of valid mode strings (`'pyz'`, `'pyc'`, `'py'`, `'pyz+py'`, + `'py+pyz'`) or `None`, which clears the setting for the module/package - but only within this hook's context! + """ + if name is None: + name = self.__name__ + if mode is None: + self._module_collection_mode.pop(name) + else: + self._module_collection_mode[name] = mode + + def add_bindepend_symlink_suppression_pattern(self, pattern): + """ + Add the given path or path pattern to the set of patterns that prevent binary dependency analysis from creating + a symbolic link to the top-level application directory. + """ + self._bindepend_symlink_suppression.add(pattern) diff --git a/.venv/Lib/site-packages/PyInstaller/depend/utils.py b/.venv/Lib/site-packages/PyInstaller/depend/utils.py new file mode 100644 index 0000000..ebbbbff --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/depend/utils.py @@ -0,0 +1,344 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Utility functions related to analyzing/bundling dependencies. +""" + +import ctypes.util +import os +import re +import shutil +from types import CodeType + +from PyInstaller import compat +from PyInstaller import log as logging +from PyInstaller.depend import bytecode +from PyInstaller.depend.dylib import include_library +from PyInstaller.exceptions import ExecCommandFailed + +logger = logging.getLogger(__name__) + + +def scan_code_for_ctypes(co): + binaries = __recursively_scan_code_objects_for_ctypes(co) + + # If any of the libraries has been requested with anything else than the basename, drop that entry and warn the + # user - PyInstaller would need to patch the compiled pyc file to make it work correctly! + binaries = set(binaries) + for binary in list(binaries): + # 'binary' might be in some cases None. Some Python modules (e.g., PyObjC.objc._bridgesupport) might contain + # code like this: + # dll = ctypes.CDLL(None) + if not binary: + # None values have to be removed too. + binaries.remove(binary) + elif binary != os.path.basename(binary): + # TODO make these warnings show up somewhere. + try: + filename = co.co_filename + except Exception: + filename = 'UNKNOWN' + logger.warning( + "Ignoring %s imported from %s - only basenames are supported with ctypes imports!", binary, filename + ) + binaries.remove(binary) + + binaries = _resolveCtypesImports(binaries) + return binaries + + +def __recursively_scan_code_objects_for_ctypes(code: CodeType): + """ + Detects ctypes dependencies, using reasonable heuristics that should cover most common ctypes usages; returns a + list containing names of binaries detected as dependencies. + """ + from PyInstaller.depend.bytecode import any_alias, search_recursively + + binaries = [] + ctypes_dll_names = { + *any_alias("ctypes.CDLL"), + *any_alias("ctypes.cdll.LoadLibrary"), + *any_alias("ctypes.WinDLL"), + *any_alias("ctypes.windll.LoadLibrary"), + *any_alias("ctypes.OleDLL"), + *any_alias("ctypes.oledll.LoadLibrary"), + *any_alias("ctypes.PyDLL"), + *any_alias("ctypes.pydll.LoadLibrary"), + } + find_library_names = { + *any_alias("ctypes.util.find_library"), + } + + for calls in bytecode.recursive_function_calls(code).values(): + for (name, args) in calls: + if not len(args) == 1 or not isinstance(args[0], str): + continue + if name in ctypes_dll_names: + # ctypes.*DLL() or ctypes.*dll.LoadLibrary() + binaries.append(*args) + elif name in find_library_names: + # ctypes.util.find_library() needs to be handled separately, because we need to resolve the library base + # name given as the argument (without prefix and suffix, e.g. 'gs') into corresponding full name (e.g., + # 'libgs.so.9'). + libname = args[0] + if libname: + try: # this try was inserted due to the ctypes bug https://github.com/python/cpython/issues/93094 + libname = ctypes.util.find_library(libname) + except FileNotFoundError: + libname = None + logger.warning( + 'ctypes.util.find_library raised a FileNotFoundError. ' + 'Supressing and assuming no lib with the name "%s" was found.', args[0] + ) + if libname: + # On Windows, `find_library` may return a full pathname. See issue #1934. + libname = os.path.basename(libname) + binaries.append(libname) + + # The above handles any flavour of function/class call. We still need to capture the (albeit rarely used) case of + # loading libraries with ctypes.cdll's getattr. + for i in search_recursively(_scan_code_for_ctypes_getattr, code).values(): + binaries.extend(i) + + return binaries + + +_ctypes_getattr_regex = bytecode.bytecode_regex( + rb""" + # Matches 'foo.bar' or 'foo.bar.whizz'. + + # Load the 'foo'. + ( + (?:(?:""" + bytecode._OPCODES_EXTENDED_ARG + rb""").)* + (?:""" + bytecode._OPCODES_FUNCTION_GLOBAL + rb"""). + ) + + # Load the 'bar.whizz' (one opcode per name component, each possibly preceded by name reference extension). + ( + (?: + (?:(?:""" + bytecode._OPCODES_EXTENDED_ARG + rb""").)* + (?:""" + bytecode._OPCODES_FUNCTION_LOAD + rb"""). + )+ + ) +""" +) + + +def _scan_code_for_ctypes_getattr(code: CodeType): + """ + Detect uses of ``ctypes.cdll.library_name``, which implies that ``library_name.dll`` should be collected. + """ + + key_names = ("cdll", "oledll", "pydll", "windll") + + for match in bytecode.finditer(_ctypes_getattr_regex, code.co_code): + name, attrs = match.groups() + name = bytecode.load(name, code) + attrs = bytecode.loads(attrs, code) + + if attrs and attrs[-1] == "LoadLibrary": + continue + + # Capture `from ctypes import ole; ole.dll_name`. + if len(attrs) == 1: + if name in key_names: + yield attrs[0] + ".dll" + # Capture `import ctypes; ctypes.ole.dll_name`. + if len(attrs) == 2: + if name == "ctypes" and attrs[0] in key_names: + yield attrs[1] + ".dll" + + +# TODO: reuse this code with modulegraph implementation. +def _resolveCtypesImports(cbinaries): + """ + Completes ctypes BINARY entries for modules with their full path. + + Input is a list of c-binary-names (as found by `scan_code_instruction_for_ctypes`). Output is a list of tuples + ready to be appended to the ``binaries`` of a modules. + + This function temporarily extents PATH, LD_LIBRARY_PATH or DYLD_LIBRARY_PATH (depending on the platform) by + CONF['pathex'] so shared libs will be search there, too. + + Example: + >>> _resolveCtypesImports(['libgs.so']) + [(libgs.so', ''/usr/lib/libgs.so', 'BINARY')] + """ + from ctypes.util import find_library + + from PyInstaller.config import CONF + + if compat.is_unix: + envvar = "LD_LIBRARY_PATH" + elif compat.is_darwin: + envvar = "DYLD_LIBRARY_PATH" + else: + envvar = "PATH" + + def _setPaths(): + path = os.pathsep.join(CONF['pathex']) + old = compat.getenv(envvar) + if old is not None: + path = os.pathsep.join((path, old)) + compat.setenv(envvar, path) + return old + + def _restorePaths(old): + if old is None: + compat.unsetenv(envvar) + else: + compat.setenv(envvar, old) + + ret = [] + + # Try to locate the shared library on the disk. This is done by calling ctypes.util.find_library with + # ImportTracker's local paths temporarily prepended to the library search paths (and restored after the call). + old = _setPaths() + for cbin in cbinaries: + try: + # There is an issue with find_library() where it can run into errors trying to locate the library. See + # #5734. + cpath = find_library(os.path.splitext(cbin)[0]) + except FileNotFoundError: + # In these cases, find_library() should return None. + cpath = None + if compat.is_unix or compat.is_cygwin: + # CAVEAT: find_library() is not the correct function. ctype's documentation says that it is meant to resolve + # only the filename (as a *compiler* does) not the full path. Anyway, it works well enough on Windows and + # macOS. On Linux, we need to implement more code to find out the full path. + if cpath is None: + cpath = cbin + # "man ld.so" says that we should first search LD_LIBRARY_PATH and then the ldcache. + for d in compat.getenv(envvar, '').split(os.pathsep): + if os.path.isfile(os.path.join(d, cpath)): + cpath = os.path.join(d, cpath) + break + else: + if LDCONFIG_CACHE is None: + load_ldconfig_cache() + if cpath in LDCONFIG_CACHE: + cpath = LDCONFIG_CACHE[cpath] + assert os.path.isfile(cpath) + else: + cpath = None + if cpath is None: + # Skip warning message if cbin (basename of library) is ignored. This prevents messages like: + # 'W: library kernel32.dll required via ctypes not found' + if not include_library(cbin): + continue + # On non-Windows, automatically ignore all ctypes-based referenes to DLL files. This complements the above + # check, which might not match potential case variations (e.g., `KERNEL32.dll`, instead of `kernel32.dll`) + # due to case-sensitivity of the matching that is in effect on non-Windows platforms. + if (not compat.is_win and not compat.is_cygwin) and cbin.lower().endswith('.dll'): + continue + logger.warning("Library %s required via ctypes not found", cbin) + else: + if not include_library(cpath): + continue + ret.append((cbin, cpath, "BINARY")) + _restorePaths(old) + return ret + + +LDCONFIG_CACHE = None # cache the output of `/sbin/ldconfig -p` + + +def load_ldconfig_cache(): + """ + Create a cache of the `ldconfig`-output to call it only once. + It contains thousands of libraries and running it on every dylib is expensive. + """ + global LDCONFIG_CACHE + + if LDCONFIG_CACHE is not None: + return + + if compat.is_cygwin: + # Not available under Cygwin; but we might be re-using general POSIX codepaths, and end up here. So exit early. + LDCONFIG_CACHE = {} + return + + if compat.is_musl: + # Musl deliberately doesn't use ldconfig. The ldconfig executable either doesn't exist or it's a functionless + # executable which, on calling with any arguments, simply tells you that those arguments are invalid. + LDCONFIG_CACHE = {} + return + + ldconfig = shutil.which('ldconfig') + if ldconfig is None: + # If `ldconfig` is not found in $PATH, search for it in some fixed directories. Simply use a second call instead + # of fiddling around with checks for empty env-vars and string-concat. + ldconfig = shutil.which('ldconfig', path='/usr/sbin:/sbin:/usr/bin:/bin') + + # If we still could not find the 'ldconfig' command... + if ldconfig is None: + LDCONFIG_CACHE = {} + return + + if compat.is_freebsd or compat.is_openbsd: + # This has a quite different format than other Unixes: + # [vagrant@freebsd-10 ~]$ ldconfig -r + # /var/run/ld-elf.so.hints: + # search directories: /lib:/usr/lib:/usr/lib/compat:... + # 0:-lgeom.5 => /lib/libgeom.so.5 + # 184:-lpython2.7.1 => /usr/local/lib/libpython2.7.so.1 + ldconfig_arg = '-r' + splitlines_count = 2 + pattern = re.compile(r'^\s+\d+:-l(\S+)(\s.*)? => (\S+)') + else: + # Skip first line of the library list because it is just an informative line and might contain localized + # characters. Example of first line with locale set to cs_CZ.UTF-8: + #$ /sbin/ldconfig -p + #V keši „/etc/ld.so.cache“ nalezeno knihoven: 2799 + # libzvbi.so.0 (libc6,x86-64) => /lib64/libzvbi.so.0 + # libzvbi-chains.so.0 (libc6,x86-64) => /lib64/libzvbi-chains.so.0 + ldconfig_arg = '-p' + splitlines_count = 1 + pattern = re.compile(r'^\s+(\S+)(\s.*)? => (\S+)') + + try: + text = compat.exec_command(ldconfig, ldconfig_arg) + except ExecCommandFailed: + logger.warning("Failed to execute ldconfig. Disabling LD cache.") + LDCONFIG_CACHE = {} + return + + text = text.strip().splitlines()[splitlines_count:] + + LDCONFIG_CACHE = {} + for line in text: + # :fixme: this assumes library names do not contain whitespace + m = pattern.match(line) + + # Sanitize away any abnormal lines of output. + if m is None: + # Warn about it then skip the rest of this iteration. + if re.search("Cache generated by:", line): + # See #5540. This particular line is harmless. + pass + else: + logger.warning("Unrecognised line of output %r from ldconfig", line) + continue + + path = m.groups()[-1] + if compat.is_freebsd or compat.is_openbsd: + # Insert `.so` at the end of the lib's basename. soname and filename may have (different) trailing versions. + # We assume the `.so` in the filename to mark the end of the lib's basename. + bname = os.path.basename(path).split('.so', 1)[0] + name = 'lib' + m.group(1) + assert name.startswith(bname) + name = bname + '.so' + name[len(bname):] + else: + name = m.group(1) + # ldconfig may know about several versions of the same lib, e.g., different arch, different libc, etc. + # Use the first entry. + if name not in LDCONFIG_CACHE: + LDCONFIG_CACHE[name] = path diff --git a/.venv/Lib/site-packages/PyInstaller/exceptions.py b/.venv/Lib/site-packages/PyInstaller/exceptions.py new file mode 100644 index 0000000..6af62e0 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/exceptions.py @@ -0,0 +1,84 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller import compat + + +class ExecCommandFailed(SystemExit): + pass + + +class HookError(Exception): + """ + Base class for hook related errors. + """ + pass + + +class ImportErrorWhenRunningHook(HookError): + def __str__(self): + return ( + "ERROR: Failed to import module {0} required by hook for module {1}. Please check whether module {0} " + "actually exists and whether the hook is compatible with your version of {1}: You might want to read more " + "about hooks in the manual and provide a pull-request to improve PyInstaller.".format( + self.args[0], self.args[1] + ) + ) + + +class RemovedCipherFeatureError(SystemExit): + def __init__(self, message): + super().__init__( + f"ERROR: Bytecode encryption was removed in PyInstaller v6.0. {message}" + " For the rationale and alternatives see https://github.com/pyinstaller/pyinstaller/pull/6999" + ) + + +class RemovedExternalManifestError(SystemExit): + def __init__(self, message): + super().__init__(f"ERROR: Support for external executable manifest was removed in PyInstaller v6.0. {message}") + + +class RemovedWinSideBySideSupportError(SystemExit): + def __init__(self, message): + super().__init__( + f"ERROR: Support for collecting and processing WinSxS assemblies was removed in PyInstaller v6.0. {message}" + ) + + +_MISSING_PYTHON_LIB_MSG = \ +"""ERROR: Python library not found: {0} + This means your Python installation does not come with proper shared library files. + This usually happens due to missing development package, or unsuitable build parameters of the Python installation. + + * On Debian/Ubuntu, you need to install Python development packages: + * apt-get install python3-dev + * apt-get install python-dev + * If you are building Python by yourself, rebuild with `--enable-shared` (or, `--enable-framework` on macOS). +""" # noqa: E122 + + +class PythonLibraryNotFoundError(IOError): + def __init__(self): + super().__init__(_MISSING_PYTHON_LIB_MSG.format(", ".join(compat.PYDYLIB_NAMES),)) + + +class InvalidSrcDestTupleError(SystemExit): + def __init__(self, src_dest, message): + super().__init__(f"ERROR: Invalid (SRC, DEST_DIR) tuple: {src_dest!r}. {message}") + + +class ImportlibMetadataError(SystemExit): + def __init__(self): + super().__init__( + "ERROR: PyInstaller requires importlib.metadata from python >= 3.10 stdlib or importlib_metadata from " + "importlib-metadata >= 4.6" + ) diff --git a/.venv/Lib/site-packages/PyInstaller/fake-modules/__pycache__/pyi_splash.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/fake-modules/__pycache__/pyi_splash.cpython-311.pyc new file mode 100644 index 0000000..cdefe54 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/fake-modules/__pycache__/pyi_splash.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/__init__.py b/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/__init__.py new file mode 100644 index 0000000..e006337 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/__init__.py @@ -0,0 +1,36 @@ +# ----------------------------------------------------------------------------- +# Copyright (c) 2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +# ----------------------------------------------------------------------------- + +import sys +import os + +# A boolean indicating whether the frozen application is a macOS .app bundle. +is_macos_app_bundle = sys.platform == 'darwin' and sys._MEIPASS.endswith("Contents/Frameworks") + + +def prepend_path_to_environment_variable(path, variable_name): + """ + Prepend the given path to the list of paths stored in the given environment variable (separated by `os.pathsep`). + If the given path is already specified in the environment variable, no changes are made. If the environment variable + is not set or is empty, it is set/overwritten with the given path. + """ + stored_paths = os.environ.get(variable_name) + if stored_paths: + # If path is already included, make this a no-op. NOTE: we need to split the string and search in the list of + # substrings to find an exact match; searching in the original string might erroneously match a prefix of a + # longer (i.e., sub-directory) path when such entry already happens to be in PATH (see #8857). + if path in stored_paths.split(os.pathsep): + return + # Otherwise, prepend the path + stored_paths = path + os.pathsep + stored_paths + else: + stored_paths = path + os.environ[variable_name] = stored_paths diff --git a/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..1f392dc Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/__pycache__/_win32.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/__pycache__/_win32.cpython-311.pyc new file mode 100644 index 0000000..409ed1e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/__pycache__/_win32.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/__pycache__/qt.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/__pycache__/qt.cpython-311.pyc new file mode 100644 index 0000000..4e5cb4d Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/__pycache__/qt.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/__pycache__/tempfile.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/__pycache__/tempfile.cpython-311.pyc new file mode 100644 index 0000000..2493858 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/__pycache__/tempfile.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/_win32.py b/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/_win32.py new file mode 100644 index 0000000..80e30ec --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/_win32.py @@ -0,0 +1,333 @@ +# ----------------------------------------------------------------------------- +# Copyright (c) 2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +# ----------------------------------------------------------------------------- + +import ctypes +import ctypes.wintypes + +# Constants from win32 headers +TOKEN_QUERY = 0x0008 + +TokenUser = 1 # from TOKEN_INFORMATION_CLASS enum +TokenAppContainerSid = 31 # from TOKEN_INFORMATION_CLASS enum + +ERROR_INSUFFICIENT_BUFFER = 122 + +INVALID_HANDLE = -1 + +FORMAT_MESSAGE_ALLOCATE_BUFFER = 0x00000100 +FORMAT_MESSAGE_FROM_SYSTEM = 0x00001000 + +SDDL_REVISION1 = 1 + +# Structures for ConvertSidToStringSidW +PSID = ctypes.wintypes.LPVOID + + +class SID_AND_ATTRIBUTES(ctypes.Structure): + _fields_ = [ + ("Sid", PSID), + ("Attributes", ctypes.wintypes.DWORD), + ] + + +class TOKEN_USER(ctypes.Structure): + _fields_ = [ + ("User", SID_AND_ATTRIBUTES), + ] + + +PTOKEN_USER = ctypes.POINTER(TOKEN_USER) + + +class TOKEN_APPCONTAINER_INFORMATION(ctypes.Structure): + _fields_ = [ + ("TokenAppContainer", PSID), + ] + + +PTOKEN_APPCONTAINER_INFORMATION = ctypes.POINTER(TOKEN_APPCONTAINER_INFORMATION) + +# SECURITY_ATTRIBUTES structure for CreateDirectoryW +PSECURITY_DESCRIPTOR = ctypes.wintypes.LPVOID + + +class SECURITY_ATTRIBUTES(ctypes.Structure): + _fields_ = [ + ("nLength", ctypes.wintypes.DWORD), + ("lpSecurityDescriptor", PSECURITY_DESCRIPTOR), + ("bInheritHandle", ctypes.wintypes.BOOL), + ] + + +# win32 API functions, bound via ctypes. +# NOTE: we do not use ctypes.windll. to avoid modifying its (global) function prototypes, which might affect +# user's code. +advapi32 = ctypes.WinDLL("advapi32") +kernel32 = ctypes.WinDLL("kernel32") + +advapi32.ConvertSidToStringSidW.restype = ctypes.wintypes.BOOL +advapi32.ConvertSidToStringSidW.argtypes = ( + PSID, # [in] PSID Sid + ctypes.POINTER(ctypes.wintypes.LPWSTR), # [out] LPWSTR *StringSid +) + +advapi32.ConvertStringSecurityDescriptorToSecurityDescriptorW.restype = ctypes.wintypes.BOOL +advapi32.ConvertStringSecurityDescriptorToSecurityDescriptorW.argtypes = ( + ctypes.wintypes.LPCWSTR, # [in] LPCWSTR StringSecurityDescriptor + ctypes.wintypes.DWORD, # [in] DWORD StringSDRevision + ctypes.POINTER(PSECURITY_DESCRIPTOR), # [out] PSECURITY_DESCRIPTOR *SecurityDescriptor + ctypes.wintypes.PULONG, # [out] PULONG SecurityDescriptorSize +) + +advapi32.GetTokenInformation.restype = ctypes.wintypes.BOOL +advapi32.GetTokenInformation.argtypes = ( + ctypes.wintypes.HANDLE, # [in] HANDLE TokenHandle + ctypes.c_int, # [in] TOKEN_INFORMATION_CLASS TokenInformationClass + ctypes.wintypes.LPVOID, # [out, optional] LPVOID TokenInformation + ctypes.wintypes.DWORD, # [in] DWORD TokenInformationLength + ctypes.wintypes.PDWORD, # [out] PDWORD ReturnLength +) + +kernel32.CloseHandle.restype = ctypes.wintypes.BOOL +kernel32.CloseHandle.argtypes = ( + ctypes.wintypes.HANDLE, # [in] HANDLE hObject +) + +kernel32.CreateDirectoryW.restype = ctypes.wintypes.BOOL +kernel32.CreateDirectoryW.argtypes = ( + ctypes.wintypes.LPCWSTR, # [in] LPCWSTR lpPathName + ctypes.POINTER(SECURITY_ATTRIBUTES), # [in, optional] LPSECURITY_ATTRIBUTES lpSecurityAttributes +) + +kernel32.FormatMessageW.restype = ctypes.wintypes.DWORD +kernel32.FormatMessageW.argtypes = ( + ctypes.wintypes.DWORD, # [in] DWORD dwFlags + ctypes.wintypes.LPCVOID, # [in, optional] LPCVOID lpSource + ctypes.wintypes.DWORD, # [in] DWORD dwMessageId + ctypes.wintypes.DWORD, # [in] DWORD dwLanguageId + ctypes.wintypes.LPWSTR, # [out] LPWSTR lpBuffer + ctypes.wintypes.DWORD, # [in] DWORD nSize + ctypes.wintypes.LPVOID, # [in, optional] va_list *Arguments +) + +kernel32.GetCurrentProcess.restype = ctypes.wintypes.HANDLE +# kernel32.GetCurrentProcess has no arguments + +kernel32.GetLastError.restype = ctypes.wintypes.DWORD +# kernel32.GetLastError has no arguments + +kernel32.LocalFree.restype = ctypes.wintypes.BOOL +kernel32.LocalFree.argtypes = ( + ctypes.wintypes.HLOCAL, # [in] _Frees_ptr_opt_ HLOCAL hMem +) + +kernel32.OpenProcessToken.restype = ctypes.wintypes.BOOL +kernel32.OpenProcessToken.argtypes = ( + ctypes.wintypes.HANDLE, # [in] HANDLE ProcessHandle + ctypes.wintypes.DWORD, # [in] DWORD DesiredAccess + ctypes.wintypes.PHANDLE, # [out] PHANDLE TokenHandle +) + + +def _win_error_to_message(error_code): + """ + Convert win32 error code to message. + """ + message_wstr = ctypes.wintypes.LPWSTR(None) + ret = kernel32.FormatMessageW( + FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, + None, # lpSource + error_code, # dwMessageId + 0x400, # dwLanguageId = MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT) + ctypes.cast( + ctypes.byref(message_wstr), + ctypes.wintypes.LPWSTR, + ), # pointer to LPWSTR due to FORMAT_MESSAGE_ALLOCATE_BUFFER; needs to be cast to LPWSTR + 64, # due to FORMAT_MESSAGE_ALLOCATE_BUFFER, this is minimum number of characters to allocate + None, + ) + if ret == 0: + return None + + message = message_wstr.value + kernel32.LocalFree(message_wstr) + + # Strip trailing CR/LF. + if message: + message = message.strip() + return message + + +def _get_process_sid(token_information_class): + """ + Obtain the SID from the current process by the given token information class. + + Args: + token_information_class: Token information class identifying the SID that we're + interested in. Only TokenUser and TokenAppContainerSid are supported. + + Returns: SID (if it could be fetched) or None if not available or on error. + """ + process_token = ctypes.wintypes.HANDLE(INVALID_HANDLE) + + try: + # Get access token for the current process + ret = kernel32.OpenProcessToken( + kernel32.GetCurrentProcess(), + TOKEN_QUERY, + ctypes.pointer(process_token), + ) + if ret == 0: + error_code = kernel32.GetLastError() + raise RuntimeError(f"Failed to open process token! Error code: 0x{error_code:X}") + + # Query buffer size for sid + token_info_size = ctypes.wintypes.DWORD(0) + + ret = advapi32.GetTokenInformation( + process_token, + token_information_class, + None, + 0, + ctypes.byref(token_info_size), + ) + + # We expect this call to fail with ERROR_INSUFFICIENT_BUFFER + if ret == 0: + error_code = kernel32.GetLastError() + if error_code != ERROR_INSUFFICIENT_BUFFER: + raise RuntimeError(f"Failed to query token information buffer size! Error code: 0x{error_code:X}") + else: + raise RuntimeError("Unexpected return value from GetTokenInformation!") + + # Allocate buffer + token_info = ctypes.create_string_buffer(token_info_size.value) + ret = advapi32.GetTokenInformation( + process_token, + token_information_class, + token_info, + token_info_size, + ctypes.byref(token_info_size), + ) + if ret == 0: + error_code = kernel32.GetLastError() + raise RuntimeError(f"Failed to query token information! Error code: 0x{error_code:X}") + + # Convert SID to string + # Technically, when UserToken is used, we need to pass user_info->User.Sid, + # but as they are at the beginning of the buffer, just pass the buffer instead... + sid_wstr = ctypes.wintypes.LPWSTR(None) + + if token_information_class == TokenUser: + sid = ctypes.cast(token_info, PTOKEN_USER).contents.User.Sid + elif token_information_class == TokenAppContainerSid: + sid = ctypes.cast(token_info, PTOKEN_APPCONTAINER_INFORMATION).contents.TokenAppContainer + else: + raise ValueError(f"Unexpected token information class: {token_information_class}") + + ret = advapi32.ConvertSidToStringSidW(sid, ctypes.pointer(sid_wstr)) + if ret == 0: + error_code = kernel32.GetLastError() + raise RuntimeError(f"Failed to convert SID to string! Error code: 0x{error_code:X}") + sid = sid_wstr.value + kernel32.LocalFree(sid_wstr) + except Exception: + sid = None + finally: + # Close the process token + if process_token.value != INVALID_HANDLE: + kernel32.CloseHandle(process_token) + + return sid + + +# Get and cache current user's SID +_user_sid = _get_process_sid(TokenUser) + +# Get and cache current app container's SID (if any) +_app_container_sid = _get_process_sid(TokenAppContainerSid) + + +def secure_mkdir(dir_name): + """ + Replacement for mkdir that limits the access to created directory to current user. + """ + + # Create security descriptor + # Prefer actual user SID over SID S-1-3-4 (current owner), because at the time of writing, Wine does not properly + # support the latter. + user_sid = _user_sid or "S-1-3-4" + + # DACL descriptor (D): + # ace_type;ace_flags;rights;object_guid;inherit_object_guid;account_sid;(resource_attribute) + # - ace_type = SDDL_ACCESS_ALLOWED (A) + # - rights = SDDL_FILE_ALL (FA) + # - account_sid = current user (queried SID) + security_desc_str = f"D:(A;;FA;;;{user_sid})" + + # If the app is running within an AppContainer, the app container SID has to be added to the DACL. + # Otherwise our process will not have access to the temp dir. + # + # Quoting https://learn.microsoft.com/en-us/windows/win32/secauthz/implementing-an-appcontainer: + # "The AppContainer SID is a persistent unique identifier for the appcontainer. ... + # To allow a single AppContainer to access a resource, add its AppContainerSID to the ACL for that resource." + if _app_container_sid: + security_desc_str += f"(A;;FA;;;{_app_container_sid})" + security_desc = ctypes.wintypes.LPVOID(None) + + ret = advapi32.ConvertStringSecurityDescriptorToSecurityDescriptorW( + security_desc_str, + SDDL_REVISION1, + ctypes.byref(security_desc), + None, + ) + if ret == 0: + error_code = kernel32.GetLastError() + raise RuntimeError( + f"Failed to create security descriptor! Error code: 0x{error_code:X}, " + f"message: {_win_error_to_message(error_code)}" + ) + + security_attr = SECURITY_ATTRIBUTES() + security_attr.nLength = ctypes.sizeof(SECURITY_ATTRIBUTES) + security_attr.lpSecurityDescriptor = security_desc + security_attr.bInheritHandle = False + + # Create directory + ret = kernel32.CreateDirectoryW( + dir_name, + security_attr, + ) + if ret == 0: + # Call failed; store error code immediately, to avoid it being overwritten in cleanup below. + error_code = kernel32.GetLastError() + + # Free security descriptor + kernel32.LocalFree(security_desc) + + # Exit on succeess + if ret != 0: + return + + # Construct OSError from win error code + error_message = _win_error_to_message(error_code) + + # Strip trailing dot to match error message from os.mkdir(). + if error_message and error_message[-1] == '.': + error_message = error_message[:-1] + + raise OSError( + None, # errno + error_message, # strerror + dir_name, # filename + error_code, # winerror + None, # filename2 + ) diff --git a/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/qt.py b/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/qt.py new file mode 100644 index 0000000..b406677 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/qt.py @@ -0,0 +1,118 @@ +# ----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +# ----------------------------------------------------------------------------- + +import os +import importlib +import atexit + +# Helper for ensuring that only one Qt bindings package is registered at run-time via run-time hooks. +_registered_qt_bindings = None + + +def ensure_single_qt_bindings_package(qt_bindings): + global _registered_qt_bindings + if _registered_qt_bindings is not None: + raise RuntimeError( + f"Cannot execute run-time hook for {qt_bindings!r} because run-time hook for {_registered_qt_bindings!r} " + "has been run before, and PyInstaller-frozen applications do not support multiple Qt bindings in the same " + "application!" + ) + _registered_qt_bindings = qt_bindings + + +# Helper for relocating Qt prefix via embedded qt.conf file. +_QT_CONF_FILENAME = ":/qt/etc/qt.conf" + +_QT_CONF_RESOURCE_NAME = ( + # qt + b"\x00\x02" + b"\x00\x00\x07\x84" + b"\x00\x71" + b"\x00\x74" + # etc + b"\x00\x03" + b"\x00\x00\x6c\xa3" + b"\x00\x65" + b"\x00\x74\x00\x63" + # qt.conf + b"\x00\x07" + b"\x08\x74\xa6\xa6" + b"\x00\x71" + b"\x00\x74\x00\x2e\x00\x63\x00\x6f\x00\x6e\x00\x66" +) + +_QT_CONF_RESOURCE_STRUCT = ( + # : + b"\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01" + # :/qt + b"\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x02" + # :/qt/etc + b"\x00\x00\x00\x0a\x00\x02\x00\x00\x00\x01\x00\x00\x00\x03" + # :/qt/etc/qt.conf + b"\x00\x00\x00\x16\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00" +) + + +def create_embedded_qt_conf(qt_bindings, prefix_path): + # The QtCore module might be unavailable if we collected just the top-level binding package (e.g., PyQt5) without + # any of its submodules. Since this helper is called from run-time hook for the binding package, we need to handle + # that scenario here. + try: + QtCore = importlib.import_module(qt_bindings + ".QtCore") + except ImportError: + return + + # No-op if embedded qt.conf already exists + if QtCore.QFile.exists(_QT_CONF_FILENAME): + return + + # Create qt.conf file that relocates Qt prefix. + # NOTE: paths should use POSIX-style forward slashes as separator, even on Windows. + if os.sep == '\\': + prefix_path = prefix_path.replace(os.sep, '/') + + qt_conf = f"[Paths]\nPrefix = {prefix_path}\n" + if os.name == 'nt' and qt_bindings in {"PySide2", "PySide6"}: + # PySide PyPI wheels on Windows set LibraryExecutablesPath to PrefixPath + qt_conf += f"LibraryExecutables = {prefix_path}" + + # Encode the contents; in Qt5, QSettings uses Latin1 encoding, in Qt6, it uses UTF8. + if qt_bindings in {"PySide2", "PyQt5"}: + qt_conf = qt_conf.encode("latin1") + else: + qt_conf = qt_conf.encode("utf-8") + + # Prepend data size (32-bit integer, big endian) + qt_conf_size = len(qt_conf) + qt_resource_data = qt_conf_size.to_bytes(4, 'big') + qt_conf + + # Register + succeeded = QtCore.qRegisterResourceData( + 0x01, + _QT_CONF_RESOURCE_STRUCT, + _QT_CONF_RESOURCE_NAME, + qt_resource_data, + ) + if not succeeded: + return # Tough luck + + # Unregister the resource at exit, to ensure that the registered resource on Qt/C++ side does not outlive the + # `_qt_resource_data` python variable and its data buffer. This also adds a reference to the `_qt_resource_data`, + # which conveniently ensures that the data is not garbage collected before we perform the cleanup (otherwise garbage + # collector might kick in at any time after we exit this helper function, and `qRegisterResourceData` does not seem + # to make a copy of the data!). + atexit.register( + QtCore.qUnregisterResourceData, + 0x01, + _QT_CONF_RESOURCE_STRUCT, + _QT_CONF_RESOURCE_NAME, + qt_resource_data, + ) diff --git a/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/tempfile.py b/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/tempfile.py new file mode 100644 index 0000000..da2307b --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/fake-modules/_pyi_rth_utils/tempfile.py @@ -0,0 +1,56 @@ +# ----------------------------------------------------------------------------- +# Copyright (c) 2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +# ----------------------------------------------------------------------------- + +import os +import sys +import errno +import tempfile + +# Helper for creating temporary directories with access restricted to the user running the process. +# On POSIX systems, this is already achieved by `tempfile.mkdtemp`, which uses 0o700 permissions mask. +# On Windows, however, the POSIX permissions semantics have no effect, and we need to provide our own implementation +# that restricts the access by passing appropriate security attributes to the `CreateDirectory` function. + +if os.name == 'nt': + from . import _win32 + + def secure_mkdtemp(suffix=None, prefix=None, dir=None): + """ + Windows-specific replacement for `tempfile.mkdtemp` that restricts access to the user running the process. + Based on `mkdtemp` implementation from python 3.11 stdlib. + """ + + prefix, suffix, dir, output_type = tempfile._sanitize_params(prefix, suffix, dir) + + names = tempfile._get_candidate_names() + if output_type is bytes: + names = map(os.fsencode, names) + + for seq in range(tempfile.TMP_MAX): + name = next(names) + file = os.path.join(dir, prefix + name + suffix) + sys.audit("tempfile.mkdtemp", file) + try: + _win32.secure_mkdir(file) + except FileExistsError: + continue # try again + except PermissionError: + # This exception is thrown when a directory with the chosen name already exists on windows. + if (os.name == 'nt' and os.path.isdir(dir) and os.access(dir, os.W_OK)): + continue + else: + raise + return file + + raise FileExistsError(errno.EEXIST, "No usable temporary directory name found") + +else: + secure_mkdtemp = tempfile.mkdtemp diff --git a/.venv/Lib/site-packages/PyInstaller/fake-modules/pyi_splash.py b/.venv/Lib/site-packages/PyInstaller/fake-modules/pyi_splash.py new file mode 100644 index 0000000..934d288 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/fake-modules/pyi_splash.py @@ -0,0 +1,211 @@ +# ----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +# ----------------------------------------------------------------------------- + +# This module is not a "fake module" in the classical sense, but a real module that can be imported. It acts as an RPC +# interface for the functions of the bootloader. +""" +This module connects to the bootloader to send messages to the splash screen. + +It is intended to act as a RPC interface for the functions provided by the bootloader, such as displaying text or +closing. This makes the users python program independent of how the communication with the bootloader is implemented, +since a consistent API is provided. + +To connect to the bootloader, it connects to a local tcp socket whose port is passed through the environment variable +'_PYI_SPLASH_IPC'. The bootloader creates a server socket and accepts every connection request. Since the os-module, +which is needed to request the environment variable, is not available at boot time, the module does not establish the +connection until initialization. + +The protocol by which the Python interpreter communicates with the bootloader is implemented in this module. + +This module does not support reloads while the splash screen is displayed, i.e. it cannot be reloaded (such as by +importlib.reload), because the splash screen closes automatically when the connection to this instance of the module +is lost. +""" + +import atexit +import os + +# Import the _socket module instead of the socket module. All used functions to connect to the ipc system are +# provided by the C module and the users program does not necessarily need to include the socket module and all +# required modules it uses. +import _socket + +__all__ = ["CLOSE_CONNECTION", "FLUSH_CHARACTER", "is_alive", "close", "update_text"] + +try: + # The user might have excluded logging from imports. + import logging as _logging +except ImportError: + _logging = None + +try: + # The user might have excluded functools from imports. + from functools import update_wrapper +except ImportError: + update_wrapper = None + + +# Utility +def _log(level, msg, *args, **kwargs): + """ + Conditional wrapper around logging module. If the user excluded logging from the imports or it was not imported, + this function should handle it and avoid using the logger. + """ + if _logging: + logger = _logging.getLogger(__name__) + logger.log(level, msg, *args, **kwargs) + + +# These constants define single characters which are needed to send commands to the bootloader. Those constants are +# also set in the tcl script. +CLOSE_CONNECTION = b'\x04' # ASCII End-of-Transmission character +FLUSH_CHARACTER = b'\x0D' # ASCII Carriage Return character + +# Module internal variables +_initialized = False +# Keep these variables always synchronized +_ipc_socket_closed = True +_ipc_socket = _socket.socket(_socket.AF_INET, _socket.SOCK_STREAM) + + +def _initialize(): + """ + Initialize this module + + :return: + """ + global _initialized, _ipc_socket, _ipc_socket_closed + + # If _ipc_port is zero, the splash screen is intentionally suppressed (for example, we are in sub-process spawned + # via sys.executable). Mark the splash screen as initialized, but do not attempt to connect. + if _ipc_port == 0: + _initialized = True + return + + # Attempt to connect to the splash screen process. + try: + _ipc_socket.connect(("127.0.0.1", _ipc_port)) + _ipc_socket_closed = False + + _initialized = True + _log(10, "IPC connection to the splash screen was successfully established.") # log-level: debug + except OSError as err: + raise ConnectionError(f"Could not connect to TCP port {_ipc_port}.") from err + + +# We expect a splash screen from the bootloader, but if _PYI_SPLASH_IPC is not set, the module cannot connect to it. +# _PYI_SPLASH_IPC being set to zero indicates that splash screen should be (gracefully) suppressed; i.e., the calls +# in this module should become no-op without generating warning messages. +try: + _ipc_port = int(os.environ['_PYI_SPLASH_IPC']) + del os.environ['_PYI_SPLASH_IPC'] + # Initialize the connection upon importing this module. This will establish a connection to the bootloader's TCP + # server socket. + _initialize() +except (KeyError, ValueError): + # log-level: warning + _log( + 30, + "The environment does not allow connecting to the splash screen. Did bootloader fail to initialize it?", + exc_info=True, + ) +except ConnectionError: + # log-level: error + _log(40, "Failed to connect to the bootloader's IPC server!", exc_info=True) + + +def _check_connection(func): + """ + Utility decorator for checking whether the function should be executed. + + The wrapped function may raise a ConnectionError if the module was not initialized correctly. + """ + def wrapper(*args, **kwargs): + """ + Executes the wrapped function if the environment allows it. + + That is, if the connection to to bootloader has not been closed and the module is initialized. + + :raises RuntimeError: if the module was not initialized correctly. + """ + if _initialized and _ipc_socket_closed: + if _ipc_port != 0: + _log(10, "Connection to splash screen has already been closed.") # log-level: debug + return + elif not _initialized: + raise RuntimeError("This module is not initialized; did it fail to load?") + + return func(*args, **kwargs) + + if update_wrapper: + # For runtime introspection + update_wrapper(wrapper, func) + + return wrapper + + +@_check_connection +def _send_command(cmd, args=None): + """ + Send the command followed by args to the splash screen. + + :param str cmd: The command to send. All command have to be defined as procedures in the tcl splash screen script. + :param list[str] args: All arguments to send to the receiving function + """ + if args is None: + args = [] + + full_cmd = "%s(%s)" % (cmd, " ".join(args)) + try: + _ipc_socket.sendall(full_cmd.encode("utf-8") + FLUSH_CHARACTER) + except OSError as err: + raise ConnectionError(f"Unable to send command {full_cmd!r} to the bootloader") from err + + +def is_alive(): + """ + Indicates whether the module can be used. + + Returns False if the module is either not initialized or was disabled by closing the splash screen. Otherwise, + the module should be usable. + """ + return _initialized and not _ipc_socket_closed + + +@_check_connection +def update_text(msg: str): + """ + Updates the text on the splash screen window. + + :param str msg: the text to be displayed + :raises ConnectionError: If the OS fails to write to the socket. + :raises RuntimeError: If the module is not initialized. + """ + _send_command("update_text", [msg]) + + +def close(): + """ + Close the connection to the ipc tcp server socket. + + This will close the splash screen and renders this module unusable. After this function is called, no connection + can be opened to the splash screen again and all functions in this module become unusable. + """ + global _ipc_socket_closed + if _initialized and not _ipc_socket_closed: + _ipc_socket.sendall(CLOSE_CONNECTION) + _ipc_socket.close() + _ipc_socket_closed = True + + +@atexit.register +def _exit(): + close() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__init__.py b/.venv/Lib/site-packages/PyInstaller/hooks/__init__.py new file mode 100644 index 0000000..792d600 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/__init__.py @@ -0,0 +1 @@ +# diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..7d7e7a4 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PIL.Image.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PIL.Image.cpython-311.pyc new file mode 100644 index 0000000..a57f81f Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PIL.Image.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PIL.ImageFilter.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PIL.ImageFilter.cpython-311.pyc new file mode 100644 index 0000000..d05efdc Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PIL.ImageFilter.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PIL.SpiderImagePlugin.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PIL.SpiderImagePlugin.cpython-311.pyc new file mode 100644 index 0000000..a089184 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PIL.SpiderImagePlugin.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PIL.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PIL.cpython-311.pyc new file mode 100644 index 0000000..86cb489 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PIL.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QAxContainer.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QAxContainer.cpython-311.pyc new file mode 100644 index 0000000..a8f5b93 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QAxContainer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qsci.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qsci.cpython-311.pyc new file mode 100644 index 0000000..fceff01 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qsci.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qt.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qt.cpython-311.pyc new file mode 100644 index 0000000..42145ef Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qt.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DAnimation.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DAnimation.cpython-311.pyc new file mode 100644 index 0000000..c06b634 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DAnimation.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DCore.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DCore.cpython-311.pyc new file mode 100644 index 0000000..8fa9d0d Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DCore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DExtras.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DExtras.cpython-311.pyc new file mode 100644 index 0000000..394f6d7 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DExtras.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DInput.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DInput.cpython-311.pyc new file mode 100644 index 0000000..b055290 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DInput.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DLogic.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DLogic.cpython-311.pyc new file mode 100644 index 0000000..c00e3be Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DLogic.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DRender.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DRender.cpython-311.pyc new file mode 100644 index 0000000..c93eec9 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DRender.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtBluetooth.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtBluetooth.cpython-311.pyc new file mode 100644 index 0000000..a5641f0 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtBluetooth.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtChart.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtChart.cpython-311.pyc new file mode 100644 index 0000000..b8a5cfa Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtChart.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtCore.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtCore.cpython-311.pyc new file mode 100644 index 0000000..2da81e5 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtCore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtDBus.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtDBus.cpython-311.pyc new file mode 100644 index 0000000..f70afac Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtDBus.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtDataVisualization.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtDataVisualization.cpython-311.pyc new file mode 100644 index 0000000..6d0c2c6 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtDataVisualization.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtDesigner.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtDesigner.cpython-311.pyc new file mode 100644 index 0000000..b3bc34d Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtDesigner.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtGui.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtGui.cpython-311.pyc new file mode 100644 index 0000000..47c9b6e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtGui.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtHelp.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtHelp.cpython-311.pyc new file mode 100644 index 0000000..abf98ae Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtHelp.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtLocation.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtLocation.cpython-311.pyc new file mode 100644 index 0000000..5ca110e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtLocation.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtMacExtras.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtMacExtras.cpython-311.pyc new file mode 100644 index 0000000..6a768f5 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtMacExtras.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtMultimedia.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtMultimedia.cpython-311.pyc new file mode 100644 index 0000000..c137a4e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtMultimedia.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtMultimediaWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtMultimediaWidgets.cpython-311.pyc new file mode 100644 index 0000000..840aa78 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtMultimediaWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtNetwork.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtNetwork.cpython-311.pyc new file mode 100644 index 0000000..2f30acc Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtNetwork.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtNetworkAuth.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtNetworkAuth.cpython-311.pyc new file mode 100644 index 0000000..4595a98 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtNetworkAuth.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtNfc.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtNfc.cpython-311.pyc new file mode 100644 index 0000000..c244816 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtNfc.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtOpenGL.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtOpenGL.cpython-311.pyc new file mode 100644 index 0000000..21009fd Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtOpenGL.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtPositioning.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtPositioning.cpython-311.pyc new file mode 100644 index 0000000..e00c13a Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtPositioning.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtPrintSupport.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtPrintSupport.cpython-311.pyc new file mode 100644 index 0000000..a591caa Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtPrintSupport.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtPurchasing.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtPurchasing.cpython-311.pyc new file mode 100644 index 0000000..b2fd5d2 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtPurchasing.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtQml.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtQml.cpython-311.pyc new file mode 100644 index 0000000..00584fc Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtQml.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtQuick.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtQuick.cpython-311.pyc new file mode 100644 index 0000000..69ca1bd Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtQuick.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtQuick3D.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtQuick3D.cpython-311.pyc new file mode 100644 index 0000000..c239410 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtQuick3D.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtQuickWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtQuickWidgets.cpython-311.pyc new file mode 100644 index 0000000..2fed3fe Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtQuickWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtRemoteObjects.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtRemoteObjects.cpython-311.pyc new file mode 100644 index 0000000..1f1f423 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtRemoteObjects.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtScript.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtScript.cpython-311.pyc new file mode 100644 index 0000000..5196c09 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtScript.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtSensors.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtSensors.cpython-311.pyc new file mode 100644 index 0000000..f5cbffd Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtSensors.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtSerialPort.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtSerialPort.cpython-311.pyc new file mode 100644 index 0000000..6d0a815 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtSerialPort.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtSql.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtSql.cpython-311.pyc new file mode 100644 index 0000000..91089b6 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtSql.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtSvg.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtSvg.cpython-311.pyc new file mode 100644 index 0000000..6b87918 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtSvg.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtTest.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtTest.cpython-311.pyc new file mode 100644 index 0000000..07cfdde Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtTest.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtTextToSpeech.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtTextToSpeech.cpython-311.pyc new file mode 100644 index 0000000..5a724fc Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtTextToSpeech.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebChannel.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebChannel.cpython-311.pyc new file mode 100644 index 0000000..f6bef6a Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebChannel.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebEngine.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebEngine.cpython-311.pyc new file mode 100644 index 0000000..b8e5558 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebEngine.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebEngineCore.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebEngineCore.cpython-311.pyc new file mode 100644 index 0000000..417a40e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebEngineCore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebEngineWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebEngineWidgets.cpython-311.pyc new file mode 100644 index 0000000..2e8c181 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebEngineWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebKit.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebKit.cpython-311.pyc new file mode 100644 index 0000000..d5dcf1e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebKit.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebKitWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebKitWidgets.cpython-311.pyc new file mode 100644 index 0000000..23e09bf Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebKitWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebSockets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebSockets.cpython-311.pyc new file mode 100644 index 0000000..979ae24 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebSockets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWidgets.cpython-311.pyc new file mode 100644 index 0000000..3c488c9 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWinExtras.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWinExtras.cpython-311.pyc new file mode 100644 index 0000000..545301e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtWinExtras.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtX11Extras.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtX11Extras.cpython-311.pyc new file mode 100644 index 0000000..3150ba0 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtX11Extras.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtXml.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtXml.cpython-311.pyc new file mode 100644 index 0000000..d975c75 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtXml.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtXmlPatterns.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtXmlPatterns.cpython-311.pyc new file mode 100644 index 0000000..d03b4b4 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.QtXmlPatterns.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.cpython-311.pyc new file mode 100644 index 0000000..52136fa Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.uic.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.uic.cpython-311.pyc new file mode 100644 index 0000000..17dafc3 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt5.uic.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QAxContainer.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QAxContainer.cpython-311.pyc new file mode 100644 index 0000000..2e02aa9 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QAxContainer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.Qsci.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.Qsci.cpython-311.pyc new file mode 100644 index 0000000..41d2c42 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.Qsci.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DAnimation.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DAnimation.cpython-311.pyc new file mode 100644 index 0000000..2af7d74 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DAnimation.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DCore.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DCore.cpython-311.pyc new file mode 100644 index 0000000..559b2df Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DCore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DExtras.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DExtras.cpython-311.pyc new file mode 100644 index 0000000..0c0e889 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DExtras.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DInput.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DInput.cpython-311.pyc new file mode 100644 index 0000000..90a99c9 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DInput.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DLogic.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DLogic.cpython-311.pyc new file mode 100644 index 0000000..02e4050 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DLogic.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DRender.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DRender.cpython-311.pyc new file mode 100644 index 0000000..db946a5 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DRender.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtBluetooth.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtBluetooth.cpython-311.pyc new file mode 100644 index 0000000..93c8976 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtBluetooth.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtCharts.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtCharts.cpython-311.pyc new file mode 100644 index 0000000..311c4f1 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtCharts.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtCore.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtCore.cpython-311.pyc new file mode 100644 index 0000000..bf71f96 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtCore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtDBus.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtDBus.cpython-311.pyc new file mode 100644 index 0000000..8bc80f1 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtDBus.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtDataVisualization.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtDataVisualization.cpython-311.pyc new file mode 100644 index 0000000..4e65926 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtDataVisualization.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtDesigner.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtDesigner.cpython-311.pyc new file mode 100644 index 0000000..ba984c2 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtDesigner.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtGraphs.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtGraphs.cpython-311.pyc new file mode 100644 index 0000000..62aebbd Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtGraphs.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtGraphsWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtGraphsWidgets.cpython-311.pyc new file mode 100644 index 0000000..a8964a6 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtGraphsWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtGui.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtGui.cpython-311.pyc new file mode 100644 index 0000000..c083b83 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtGui.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtHelp.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtHelp.cpython-311.pyc new file mode 100644 index 0000000..e4d8c4f Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtHelp.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtMultimedia.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtMultimedia.cpython-311.pyc new file mode 100644 index 0000000..af2e401 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtMultimedia.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtMultimediaWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtMultimediaWidgets.cpython-311.pyc new file mode 100644 index 0000000..ff465c5 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtMultimediaWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtNetwork.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtNetwork.cpython-311.pyc new file mode 100644 index 0000000..ac550a9 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtNetwork.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtNetworkAuth.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtNetworkAuth.cpython-311.pyc new file mode 100644 index 0000000..14089e7 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtNetworkAuth.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtNfc.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtNfc.cpython-311.pyc new file mode 100644 index 0000000..794c196 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtNfc.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtOpenGL.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtOpenGL.cpython-311.pyc new file mode 100644 index 0000000..0c5f652 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtOpenGL.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtOpenGLWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtOpenGLWidgets.cpython-311.pyc new file mode 100644 index 0000000..b111d7a Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtOpenGLWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtPdf.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtPdf.cpython-311.pyc new file mode 100644 index 0000000..3106ab9 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtPdf.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtPdfWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtPdfWidgets.cpython-311.pyc new file mode 100644 index 0000000..4086366 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtPdfWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtPositioning.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtPositioning.cpython-311.pyc new file mode 100644 index 0000000..c7cd2a4 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtPositioning.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtPrintSupport.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtPrintSupport.cpython-311.pyc new file mode 100644 index 0000000..fa1267e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtPrintSupport.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtQml.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtQml.cpython-311.pyc new file mode 100644 index 0000000..df97bf4 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtQml.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtQuick.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtQuick.cpython-311.pyc new file mode 100644 index 0000000..5915cac Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtQuick.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtQuick3D.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtQuick3D.cpython-311.pyc new file mode 100644 index 0000000..e3e1e64 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtQuick3D.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtQuickWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtQuickWidgets.cpython-311.pyc new file mode 100644 index 0000000..98332bb Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtQuickWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtRemoteObjects.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtRemoteObjects.cpython-311.pyc new file mode 100644 index 0000000..089fc61 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtRemoteObjects.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtSensors.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtSensors.cpython-311.pyc new file mode 100644 index 0000000..baecd62 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtSensors.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtSerialPort.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtSerialPort.cpython-311.pyc new file mode 100644 index 0000000..237182c Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtSerialPort.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtSpatialAudio.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtSpatialAudio.cpython-311.pyc new file mode 100644 index 0000000..f035fac Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtSpatialAudio.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtSql.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtSql.cpython-311.pyc new file mode 100644 index 0000000..3d075e4 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtSql.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtStateMachine.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtStateMachine.cpython-311.pyc new file mode 100644 index 0000000..8623e8d Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtStateMachine.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtSvg.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtSvg.cpython-311.pyc new file mode 100644 index 0000000..4cccd02 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtSvg.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtSvgWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtSvgWidgets.cpython-311.pyc new file mode 100644 index 0000000..63a8b15 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtSvgWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtTest.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtTest.cpython-311.pyc new file mode 100644 index 0000000..92c424b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtTest.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtTextToSpeech.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtTextToSpeech.cpython-311.pyc new file mode 100644 index 0000000..8cb7bfd Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtTextToSpeech.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtWebChannel.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtWebChannel.cpython-311.pyc new file mode 100644 index 0000000..a3da858 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtWebChannel.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtWebEngineCore.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtWebEngineCore.cpython-311.pyc new file mode 100644 index 0000000..271f691 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtWebEngineCore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtWebEngineQuick.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtWebEngineQuick.cpython-311.pyc new file mode 100644 index 0000000..71a84cf Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtWebEngineQuick.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtWebEngineWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtWebEngineWidgets.cpython-311.pyc new file mode 100644 index 0000000..6eaf27e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtWebEngineWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtWebSockets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtWebSockets.cpython-311.pyc new file mode 100644 index 0000000..24bfebc Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtWebSockets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtWidgets.cpython-311.pyc new file mode 100644 index 0000000..bb33cae Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtXml.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtXml.cpython-311.pyc new file mode 100644 index 0000000..f251527 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.QtXml.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.cpython-311.pyc new file mode 100644 index 0000000..18ed299 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.uic.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.uic.cpython-311.pyc new file mode 100644 index 0000000..f367f72 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PyQt6.uic.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DAnimation.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DAnimation.cpython-311.pyc new file mode 100644 index 0000000..f668e9b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DAnimation.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DCore.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DCore.cpython-311.pyc new file mode 100644 index 0000000..97e8097 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DCore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DExtras.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DExtras.cpython-311.pyc new file mode 100644 index 0000000..8ade501 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DExtras.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DInput.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DInput.cpython-311.pyc new file mode 100644 index 0000000..a7b37b9 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DInput.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DLogic.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DLogic.cpython-311.pyc new file mode 100644 index 0000000..e057564 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DLogic.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DRender.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DRender.cpython-311.pyc new file mode 100644 index 0000000..6ede26d Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DRender.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtAxContainer.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtAxContainer.cpython-311.pyc new file mode 100644 index 0000000..c5ce6e6 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtAxContainer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtCharts.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtCharts.cpython-311.pyc new file mode 100644 index 0000000..3dafdf5 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtCharts.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtConcurrent.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtConcurrent.cpython-311.pyc new file mode 100644 index 0000000..f677495 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtConcurrent.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtCore.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtCore.cpython-311.pyc new file mode 100644 index 0000000..e1316aa Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtCore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtDataVisualization.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtDataVisualization.cpython-311.pyc new file mode 100644 index 0000000..41a862f Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtDataVisualization.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtGui.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtGui.cpython-311.pyc new file mode 100644 index 0000000..644821b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtGui.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtHelp.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtHelp.cpython-311.pyc new file mode 100644 index 0000000..889b71f Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtHelp.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtLocation.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtLocation.cpython-311.pyc new file mode 100644 index 0000000..0b0679b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtLocation.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtMacExtras.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtMacExtras.cpython-311.pyc new file mode 100644 index 0000000..84503cf Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtMacExtras.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtMultimedia.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtMultimedia.cpython-311.pyc new file mode 100644 index 0000000..9977010 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtMultimedia.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtMultimediaWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtMultimediaWidgets.cpython-311.pyc new file mode 100644 index 0000000..ff97969 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtMultimediaWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtNetwork.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtNetwork.cpython-311.pyc new file mode 100644 index 0000000..29c007f Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtNetwork.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtOpenGL.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtOpenGL.cpython-311.pyc new file mode 100644 index 0000000..18f211f Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtOpenGL.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtOpenGLFunctions.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtOpenGLFunctions.cpython-311.pyc new file mode 100644 index 0000000..f01bf3b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtOpenGLFunctions.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtPositioning.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtPositioning.cpython-311.pyc new file mode 100644 index 0000000..d0e7df9 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtPositioning.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtPrintSupport.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtPrintSupport.cpython-311.pyc new file mode 100644 index 0000000..6dde535 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtPrintSupport.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtQml.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtQml.cpython-311.pyc new file mode 100644 index 0000000..ada10f9 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtQml.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtQuick.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtQuick.cpython-311.pyc new file mode 100644 index 0000000..b55c550 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtQuick.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtQuickControls2.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtQuickControls2.cpython-311.pyc new file mode 100644 index 0000000..9a4cbfe Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtQuickControls2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtQuickWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtQuickWidgets.cpython-311.pyc new file mode 100644 index 0000000..b7ce738 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtQuickWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtRemoteObjects.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtRemoteObjects.cpython-311.pyc new file mode 100644 index 0000000..33520cd Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtRemoteObjects.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtScript.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtScript.cpython-311.pyc new file mode 100644 index 0000000..8d02075 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtScript.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtScriptTools.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtScriptTools.cpython-311.pyc new file mode 100644 index 0000000..cc675ee Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtScriptTools.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtScxml.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtScxml.cpython-311.pyc new file mode 100644 index 0000000..dd71ad3 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtScxml.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtSensors.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtSensors.cpython-311.pyc new file mode 100644 index 0000000..e4b39d0 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtSensors.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtSerialPort.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtSerialPort.cpython-311.pyc new file mode 100644 index 0000000..f799fca Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtSerialPort.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtSql.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtSql.cpython-311.pyc new file mode 100644 index 0000000..d10ac9a Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtSql.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtSvg.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtSvg.cpython-311.pyc new file mode 100644 index 0000000..bc2f43d Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtSvg.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtTest.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtTest.cpython-311.pyc new file mode 100644 index 0000000..1580bba Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtTest.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtTextToSpeech.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtTextToSpeech.cpython-311.pyc new file mode 100644 index 0000000..2fd9a99 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtTextToSpeech.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtUiTools.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtUiTools.cpython-311.pyc new file mode 100644 index 0000000..61e6058 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtUiTools.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWebChannel.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWebChannel.cpython-311.pyc new file mode 100644 index 0000000..3cabf57 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWebChannel.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWebEngine.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWebEngine.cpython-311.pyc new file mode 100644 index 0000000..a8d0809 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWebEngine.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWebEngineCore.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWebEngineCore.cpython-311.pyc new file mode 100644 index 0000000..0ac0fe9 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWebEngineCore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWebEngineWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWebEngineWidgets.cpython-311.pyc new file mode 100644 index 0000000..0d695c0 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWebEngineWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWebKit.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWebKit.cpython-311.pyc new file mode 100644 index 0000000..d5da770 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWebKit.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWebKitWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWebKitWidgets.cpython-311.pyc new file mode 100644 index 0000000..8d65ec8 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWebKitWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWebSockets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWebSockets.cpython-311.pyc new file mode 100644 index 0000000..5a7aaef Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWebSockets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWidgets.cpython-311.pyc new file mode 100644 index 0000000..cacca70 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWinExtras.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWinExtras.cpython-311.pyc new file mode 100644 index 0000000..9b61407 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtWinExtras.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtX11Extras.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtX11Extras.cpython-311.pyc new file mode 100644 index 0000000..9c4759f Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtX11Extras.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtXml.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtXml.cpython-311.pyc new file mode 100644 index 0000000..c9d9038 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtXml.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtXmlPatterns.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtXmlPatterns.cpython-311.pyc new file mode 100644 index 0000000..696582b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.QtXmlPatterns.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.Qwt5.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.Qwt5.cpython-311.pyc new file mode 100644 index 0000000..efb6906 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.Qwt5.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.cpython-311.pyc new file mode 100644 index 0000000..f6f6efd Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DAnimation.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DAnimation.cpython-311.pyc new file mode 100644 index 0000000..9ccb834 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DAnimation.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DCore.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DCore.cpython-311.pyc new file mode 100644 index 0000000..4500851 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DCore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DExtras.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DExtras.cpython-311.pyc new file mode 100644 index 0000000..9104448 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DExtras.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DInput.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DInput.cpython-311.pyc new file mode 100644 index 0000000..5fd16e8 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DInput.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DLogic.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DLogic.cpython-311.pyc new file mode 100644 index 0000000..de42058 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DLogic.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DRender.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DRender.cpython-311.pyc new file mode 100644 index 0000000..5761be0 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DRender.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtAxContainer.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtAxContainer.cpython-311.pyc new file mode 100644 index 0000000..4084067 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtAxContainer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtBluetooth.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtBluetooth.cpython-311.pyc new file mode 100644 index 0000000..1793e45 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtBluetooth.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtCharts.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtCharts.cpython-311.pyc new file mode 100644 index 0000000..2fbbea6 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtCharts.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtConcurrent.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtConcurrent.cpython-311.pyc new file mode 100644 index 0000000..809f75d Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtConcurrent.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtCore.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtCore.cpython-311.pyc new file mode 100644 index 0000000..112ee17 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtCore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtDBus.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtDBus.cpython-311.pyc new file mode 100644 index 0000000..6421d6c Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtDBus.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtDataVisualization.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtDataVisualization.cpython-311.pyc new file mode 100644 index 0000000..6a6d6bd Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtDataVisualization.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtDesigner.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtDesigner.cpython-311.pyc new file mode 100644 index 0000000..e717770 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtDesigner.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtGraphs.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtGraphs.cpython-311.pyc new file mode 100644 index 0000000..f40b395 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtGraphs.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtGraphsWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtGraphsWidgets.cpython-311.pyc new file mode 100644 index 0000000..e34091d Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtGraphsWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtGui.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtGui.cpython-311.pyc new file mode 100644 index 0000000..387b6fa Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtGui.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtHelp.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtHelp.cpython-311.pyc new file mode 100644 index 0000000..02ff3a0 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtHelp.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtHttpServer.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtHttpServer.cpython-311.pyc new file mode 100644 index 0000000..3e88126 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtHttpServer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtLocation.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtLocation.cpython-311.pyc new file mode 100644 index 0000000..fd45863 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtLocation.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtMultimedia.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtMultimedia.cpython-311.pyc new file mode 100644 index 0000000..fb3f374 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtMultimedia.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtMultimediaWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtMultimediaWidgets.cpython-311.pyc new file mode 100644 index 0000000..920e657 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtMultimediaWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtNetwork.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtNetwork.cpython-311.pyc new file mode 100644 index 0000000..1b58138 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtNetwork.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtNetworkAuth.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtNetworkAuth.cpython-311.pyc new file mode 100644 index 0000000..4f394ee Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtNetworkAuth.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtNfc.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtNfc.cpython-311.pyc new file mode 100644 index 0000000..15a9f6c Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtNfc.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtOpenGL.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtOpenGL.cpython-311.pyc new file mode 100644 index 0000000..acaa295 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtOpenGL.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtOpenGLWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtOpenGLWidgets.cpython-311.pyc new file mode 100644 index 0000000..eaa7d38 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtOpenGLWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtPdf.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtPdf.cpython-311.pyc new file mode 100644 index 0000000..4fe145b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtPdf.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtPdfWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtPdfWidgets.cpython-311.pyc new file mode 100644 index 0000000..14835b2 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtPdfWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtPositioning.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtPositioning.cpython-311.pyc new file mode 100644 index 0000000..c4c6ac6 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtPositioning.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtPrintSupport.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtPrintSupport.cpython-311.pyc new file mode 100644 index 0000000..8951e60 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtPrintSupport.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtQml.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtQml.cpython-311.pyc new file mode 100644 index 0000000..c4bd39f Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtQml.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtQuick.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtQuick.cpython-311.pyc new file mode 100644 index 0000000..28d947b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtQuick.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtQuick3D.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtQuick3D.cpython-311.pyc new file mode 100644 index 0000000..77103a0 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtQuick3D.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtQuickControls2.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtQuickControls2.cpython-311.pyc new file mode 100644 index 0000000..e1ef588 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtQuickControls2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtQuickWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtQuickWidgets.cpython-311.pyc new file mode 100644 index 0000000..ed9c6e6 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtQuickWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtRemoteObjects.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtRemoteObjects.cpython-311.pyc new file mode 100644 index 0000000..3e9fa9c Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtRemoteObjects.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtScxml.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtScxml.cpython-311.pyc new file mode 100644 index 0000000..3b96462 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtScxml.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtSensors.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtSensors.cpython-311.pyc new file mode 100644 index 0000000..963158e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtSensors.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtSerialBus.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtSerialBus.cpython-311.pyc new file mode 100644 index 0000000..348a931 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtSerialBus.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtSerialPort.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtSerialPort.cpython-311.pyc new file mode 100644 index 0000000..c48c8d4 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtSerialPort.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtSpatialAudio.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtSpatialAudio.cpython-311.pyc new file mode 100644 index 0000000..bc5a1bf Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtSpatialAudio.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtSql.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtSql.cpython-311.pyc new file mode 100644 index 0000000..633dc55 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtSql.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtStateMachine.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtStateMachine.cpython-311.pyc new file mode 100644 index 0000000..2644ec6 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtStateMachine.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtSvg.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtSvg.cpython-311.pyc new file mode 100644 index 0000000..c4ea98b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtSvg.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtSvgWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtSvgWidgets.cpython-311.pyc new file mode 100644 index 0000000..33a8796 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtSvgWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtTest.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtTest.cpython-311.pyc new file mode 100644 index 0000000..36be825 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtTest.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtTextToSpeech.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtTextToSpeech.cpython-311.pyc new file mode 100644 index 0000000..53d68b6 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtTextToSpeech.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtUiTools.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtUiTools.cpython-311.pyc new file mode 100644 index 0000000..dd48cea Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtUiTools.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtWebChannel.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtWebChannel.cpython-311.pyc new file mode 100644 index 0000000..062205f Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtWebChannel.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtWebEngineCore.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtWebEngineCore.cpython-311.pyc new file mode 100644 index 0000000..e6c5a5d Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtWebEngineCore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtWebEngineQuick.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtWebEngineQuick.cpython-311.pyc new file mode 100644 index 0000000..3520fde Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtWebEngineQuick.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtWebEngineWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtWebEngineWidgets.cpython-311.pyc new file mode 100644 index 0000000..8160d80 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtWebEngineWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtWebSockets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtWebSockets.cpython-311.pyc new file mode 100644 index 0000000..65255b5 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtWebSockets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtWidgets.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtWidgets.cpython-311.pyc new file mode 100644 index 0000000..ec2683c Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtXml.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtXml.cpython-311.pyc new file mode 100644 index 0000000..cc2a08a Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.QtXml.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.cpython-311.pyc new file mode 100644 index 0000000..f54a8a1 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-PySide6.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-_ctypes.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-_ctypes.cpython-311.pyc new file mode 100644 index 0000000..576c86d Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-_ctypes.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-_osx_support.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-_osx_support.cpython-311.pyc new file mode 100644 index 0000000..f45c647 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-_osx_support.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-_pyi_rth_utils.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-_pyi_rth_utils.cpython-311.pyc new file mode 100644 index 0000000..f584213 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-_pyi_rth_utils.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-_tkinter.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-_tkinter.cpython-311.pyc new file mode 100644 index 0000000..b5c4552 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-_tkinter.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-babel.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-babel.cpython-311.pyc new file mode 100644 index 0000000..bf67c4e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-babel.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-difflib.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-difflib.cpython-311.pyc new file mode 100644 index 0000000..6aa097c Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-difflib.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-distutils.command.check.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-distutils.command.check.cpython-311.pyc new file mode 100644 index 0000000..bb2e8e5 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-distutils.command.check.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-distutils.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-distutils.cpython-311.pyc new file mode 100644 index 0000000..43a1dab Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-distutils.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-distutils.util.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-distutils.util.cpython-311.pyc new file mode 100644 index 0000000..04cbe5b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-distutils.util.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.contrib.sessions.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.contrib.sessions.cpython-311.pyc new file mode 100644 index 0000000..70b6a04 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.contrib.sessions.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.core.cache.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.core.cache.cpython-311.pyc new file mode 100644 index 0000000..1671447 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.core.cache.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.core.mail.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.core.mail.cpython-311.pyc new file mode 100644 index 0000000..5397c41 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.core.mail.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.core.management.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.core.management.cpython-311.pyc new file mode 100644 index 0000000..0c6accd Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.core.management.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.cpython-311.pyc new file mode 100644 index 0000000..58b7267 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.db.backends.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.db.backends.cpython-311.pyc new file mode 100644 index 0000000..5b76dbd Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.db.backends.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.db.backends.mysql.base.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.db.backends.mysql.base.cpython-311.pyc new file mode 100644 index 0000000..c9dbe02 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.db.backends.mysql.base.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.db.backends.oracle.base.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.db.backends.oracle.base.cpython-311.pyc new file mode 100644 index 0000000..7c28d30 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.db.backends.oracle.base.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.template.loaders.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.template.loaders.cpython-311.pyc new file mode 100644 index 0000000..7da4336 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-django.template.loaders.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-encodings.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-encodings.cpython-311.pyc new file mode 100644 index 0000000..3a7cc42 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-encodings.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gevent.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gevent.cpython-311.pyc new file mode 100644 index 0000000..0514dab Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gevent.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.cpython-311.pyc new file mode 100644 index 0000000..8744cc5 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Adw.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Adw.cpython-311.pyc new file mode 100644 index 0000000..5d135a5 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Adw.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.AppIndicator3.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.AppIndicator3.cpython-311.pyc new file mode 100644 index 0000000..87de2b0 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.AppIndicator3.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Atk.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Atk.cpython-311.pyc new file mode 100644 index 0000000..91de18f Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Atk.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.AyatanaAppIndicator3.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.AyatanaAppIndicator3.cpython-311.pyc new file mode 100644 index 0000000..80b47fb Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.AyatanaAppIndicator3.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Champlain.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Champlain.cpython-311.pyc new file mode 100644 index 0000000..e9bd94a Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Champlain.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Clutter.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Clutter.cpython-311.pyc new file mode 100644 index 0000000..3468489 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Clutter.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.DBus.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.DBus.cpython-311.pyc new file mode 100644 index 0000000..70217b5 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.DBus.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GIRepository.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GIRepository.cpython-311.pyc new file mode 100644 index 0000000..861522c Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GIRepository.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GLib.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GLib.cpython-311.pyc new file mode 100644 index 0000000..a5de58b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GLib.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GModule.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GModule.cpython-311.pyc new file mode 100644 index 0000000..66c8e3d Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GModule.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GObject.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GObject.cpython-311.pyc new file mode 100644 index 0000000..80e4ee5 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GObject.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Gdk.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Gdk.cpython-311.pyc new file mode 100644 index 0000000..8025d34 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Gdk.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GdkPixbuf.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GdkPixbuf.cpython-311.pyc new file mode 100644 index 0000000..354dc9c Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GdkPixbuf.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Gio.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Gio.cpython-311.pyc new file mode 100644 index 0000000..dc39aff Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Gio.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Graphene.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Graphene.cpython-311.pyc new file mode 100644 index 0000000..cec086c Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Graphene.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Gsk.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Gsk.cpython-311.pyc new file mode 100644 index 0000000..3f3688e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Gsk.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Gst.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Gst.cpython-311.pyc new file mode 100644 index 0000000..0814f1e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Gst.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstAllocators.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstAllocators.cpython-311.pyc new file mode 100644 index 0000000..7e55919 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstAllocators.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstApp.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstApp.cpython-311.pyc new file mode 100644 index 0000000..d515651 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstApp.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstAudio.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstAudio.cpython-311.pyc new file mode 100644 index 0000000..13336dc Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstAudio.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstBadAudio.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstBadAudio.cpython-311.pyc new file mode 100644 index 0000000..f9bf9e3 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstBadAudio.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstBase.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstBase.cpython-311.pyc new file mode 100644 index 0000000..aec246f Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstBase.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstCheck.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstCheck.cpython-311.pyc new file mode 100644 index 0000000..51d3505 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstCheck.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstCodecs.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstCodecs.cpython-311.pyc new file mode 100644 index 0000000..2e0669a Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstCodecs.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstController.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstController.cpython-311.pyc new file mode 100644 index 0000000..a06f8bc Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstController.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstGL.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstGL.cpython-311.pyc new file mode 100644 index 0000000..8ce9eea Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstGL.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstGLEGL.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstGLEGL.cpython-311.pyc new file mode 100644 index 0000000..038ff9b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstGLEGL.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstGLWayland.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstGLWayland.cpython-311.pyc new file mode 100644 index 0000000..1c39cab Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstGLWayland.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstGLX11.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstGLX11.cpython-311.pyc new file mode 100644 index 0000000..6e47ba5 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstGLX11.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstInsertBin.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstInsertBin.cpython-311.pyc new file mode 100644 index 0000000..a647082 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstInsertBin.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstMpegts.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstMpegts.cpython-311.pyc new file mode 100644 index 0000000..ba4a7e1 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstMpegts.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstNet.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstNet.cpython-311.pyc new file mode 100644 index 0000000..abd8f36 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstNet.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstPbutils.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstPbutils.cpython-311.pyc new file mode 100644 index 0000000..2051497 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstPbutils.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstPlay.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstPlay.cpython-311.pyc new file mode 100644 index 0000000..3521fa9 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstPlay.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstPlayer.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstPlayer.cpython-311.pyc new file mode 100644 index 0000000..feafeba Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstPlayer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstRtp.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstRtp.cpython-311.pyc new file mode 100644 index 0000000..a8d9a29 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstRtp.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstRtsp.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstRtsp.cpython-311.pyc new file mode 100644 index 0000000..9d94dac Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstRtsp.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstRtspServer.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstRtspServer.cpython-311.pyc new file mode 100644 index 0000000..024a3bc Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstRtspServer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstSdp.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstSdp.cpython-311.pyc new file mode 100644 index 0000000..ec19fbc Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstSdp.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstTag.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstTag.cpython-311.pyc new file mode 100644 index 0000000..d3c7d4e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstTag.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstTranscoder.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstTranscoder.cpython-311.pyc new file mode 100644 index 0000000..cdaf162 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstTranscoder.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstVideo.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstVideo.cpython-311.pyc new file mode 100644 index 0000000..24846af Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstVideo.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstVulkan.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstVulkan.cpython-311.pyc new file mode 100644 index 0000000..f6ca06b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstVulkan.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstVulkanWayland.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstVulkanWayland.cpython-311.pyc new file mode 100644 index 0000000..0acc592 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstVulkanWayland.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstVulkanXCB.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstVulkanXCB.cpython-311.pyc new file mode 100644 index 0000000..d62de39 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstVulkanXCB.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstWebRTC.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstWebRTC.cpython-311.pyc new file mode 100644 index 0000000..2b0049d Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GstWebRTC.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Gtk.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Gtk.cpython-311.pyc new file mode 100644 index 0000000..5b35804 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Gtk.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GtkChamplain.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GtkChamplain.cpython-311.pyc new file mode 100644 index 0000000..dcb5de7 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GtkChamplain.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GtkClutter.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GtkClutter.cpython-311.pyc new file mode 100644 index 0000000..c4351d7 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GtkClutter.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GtkSource.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GtkSource.cpython-311.pyc new file mode 100644 index 0000000..97aebe3 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GtkSource.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GtkosxApplication.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GtkosxApplication.cpython-311.pyc new file mode 100644 index 0000000..47cd4fc Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.GtkosxApplication.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.HarfBuzz.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.HarfBuzz.cpython-311.pyc new file mode 100644 index 0000000..63cbe09 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.HarfBuzz.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Pango.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Pango.cpython-311.pyc new file mode 100644 index 0000000..0a75dc3 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Pango.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.PangoCairo.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.PangoCairo.cpython-311.pyc new file mode 100644 index 0000000..c0786a3 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.PangoCairo.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Rsvg.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Rsvg.cpython-311.pyc new file mode 100644 index 0000000..e8ecc18 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.Rsvg.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.cairo.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.cairo.cpython-311.pyc new file mode 100644 index 0000000..bd3d1b1 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.cairo.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.freetype2.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.freetype2.cpython-311.pyc new file mode 100644 index 0000000..f40735f Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.freetype2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.xlib.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.xlib.cpython-311.pyc new file mode 100644 index 0000000..1303ebf Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-gi.repository.xlib.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-heapq.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-heapq.cpython-311.pyc new file mode 100644 index 0000000..faa5335 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-heapq.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-idlelib.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-idlelib.cpython-311.pyc new file mode 100644 index 0000000..b91c83a Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-idlelib.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-importlib_metadata.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-importlib_metadata.cpython-311.pyc new file mode 100644 index 0000000..1e66e0f Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-importlib_metadata.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-importlib_resources.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-importlib_resources.cpython-311.pyc new file mode 100644 index 0000000..1d9fede Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-importlib_resources.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-keyring.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-keyring.cpython-311.pyc new file mode 100644 index 0000000..3cd8130 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-keyring.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-kivy.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-kivy.cpython-311.pyc new file mode 100644 index 0000000..4445bbc Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-kivy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-lib2to3.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-lib2to3.cpython-311.pyc new file mode 100644 index 0000000..9f87823 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-lib2to3.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.backend_bases.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.backend_bases.cpython-311.pyc new file mode 100644 index 0000000..6ed06b1 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.backend_bases.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.backends.backend_qtagg.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.backends.backend_qtagg.cpython-311.pyc new file mode 100644 index 0000000..7cf5ef6 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.backends.backend_qtagg.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.backends.backend_qtcairo.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.backends.backend_qtcairo.cpython-311.pyc new file mode 100644 index 0000000..3dcd443 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.backends.backend_qtcairo.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.backends.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.backends.cpython-311.pyc new file mode 100644 index 0000000..dd1b3ef Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.backends.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.backends.qt_compat.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.backends.qt_compat.cpython-311.pyc new file mode 100644 index 0000000..38088a5 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.backends.qt_compat.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.cpython-311.pyc new file mode 100644 index 0000000..ab5b0b9 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.numerix.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.numerix.cpython-311.pyc new file mode 100644 index 0000000..089ad45 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.numerix.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.pyplot.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.pyplot.cpython-311.pyc new file mode 100644 index 0000000..0c3b6b3 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-matplotlib.pyplot.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-multiprocessing.util.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-multiprocessing.util.cpython-311.pyc new file mode 100644 index 0000000..af22673 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-multiprocessing.util.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-numpy.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-numpy.cpython-311.pyc new file mode 100644 index 0000000..687e165 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-numpy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pandas.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pandas.cpython-311.pyc new file mode 100644 index 0000000..e1e7347 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pandas.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pandas.io.clipboard.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pandas.io.clipboard.cpython-311.pyc new file mode 100644 index 0000000..3a15c61 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pandas.io.clipboard.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pandas.io.formats.style.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pandas.io.formats.style.cpython-311.pyc new file mode 100644 index 0000000..4effc79 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pandas.io.formats.style.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pandas.plotting.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pandas.plotting.cpython-311.pyc new file mode 100644 index 0000000..e7bf094 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pandas.plotting.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pickle.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pickle.cpython-311.pyc new file mode 100644 index 0000000..9436306 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pickle.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pkg_resources.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pkg_resources.cpython-311.pyc new file mode 100644 index 0000000..b4dbf9b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pkg_resources.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-platform.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-platform.cpython-311.pyc new file mode 100644 index 0000000..ecc8e55 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-platform.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pygments.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pygments.cpython-311.pyc new file mode 100644 index 0000000..df68948 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pygments.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pytz.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pytz.cpython-311.pyc new file mode 100644 index 0000000..72caef8 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pytz.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pytzdata.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pytzdata.cpython-311.pyc new file mode 100644 index 0000000..a97b926 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-pytzdata.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-qtawesome.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-qtawesome.cpython-311.pyc new file mode 100644 index 0000000..e435a73 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-qtawesome.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-qtpy.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-qtpy.cpython-311.pyc new file mode 100644 index 0000000..0e7f4b4 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-qtpy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scapy.layers.all.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scapy.layers.all.cpython-311.pyc new file mode 100644 index 0000000..88d08ae Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scapy.layers.all.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.cpython-311.pyc new file mode 100644 index 0000000..9f660b3 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.io.matlab.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.io.matlab.cpython-311.pyc new file mode 100644 index 0000000..c0b019e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.io.matlab.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.linalg.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.linalg.cpython-311.pyc new file mode 100644 index 0000000..eaae10d Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.linalg.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.sparse.csgraph.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.sparse.csgraph.cpython-311.pyc new file mode 100644 index 0000000..383c7ee Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.sparse.csgraph.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.spatial._ckdtree.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.spatial._ckdtree.cpython-311.pyc new file mode 100644 index 0000000..4ba6711 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.spatial._ckdtree.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.spatial.transform.rotation.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.spatial.transform.rotation.cpython-311.pyc new file mode 100644 index 0000000..522967f Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.spatial.transform.rotation.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.special._ellip_harm_2.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.special._ellip_harm_2.cpython-311.pyc new file mode 100644 index 0000000..9e36bf0 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.special._ellip_harm_2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.special._ufuncs.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.special._ufuncs.cpython-311.pyc new file mode 100644 index 0000000..d1c64c0 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.special._ufuncs.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.stats._stats.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.stats._stats.cpython-311.pyc new file mode 100644 index 0000000..0c78205 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scipy.stats._stats.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scrapy.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scrapy.cpython-311.pyc new file mode 100644 index 0000000..30ede14 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-scrapy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-setuptools._vendor.importlib_metadata.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-setuptools._vendor.importlib_metadata.cpython-311.pyc new file mode 100644 index 0000000..3516a3a Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-setuptools._vendor.importlib_metadata.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-setuptools._vendor.jaraco.text.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-setuptools._vendor.jaraco.text.cpython-311.pyc new file mode 100644 index 0000000..100e83b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-setuptools._vendor.jaraco.text.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-setuptools.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-setuptools.cpython-311.pyc new file mode 100644 index 0000000..ebba066 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-setuptools.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-shelve.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-shelve.cpython-311.pyc new file mode 100644 index 0000000..9da68df Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-shelve.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-shiboken6.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-shiboken6.cpython-311.pyc new file mode 100644 index 0000000..b123457 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-shiboken6.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-sphinx.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-sphinx.cpython-311.pyc new file mode 100644 index 0000000..57e2d1c Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-sphinx.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-sqlalchemy.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-sqlalchemy.cpython-311.pyc new file mode 100644 index 0000000..2dd02f2 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-sqlalchemy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-sqlite3.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-sqlite3.cpython-311.pyc new file mode 100644 index 0000000..7e93684 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-sqlite3.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-sysconfig.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-sysconfig.cpython-311.pyc new file mode 100644 index 0000000..c1ef72f Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-sysconfig.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-wcwidth.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-wcwidth.cpython-311.pyc new file mode 100644 index 0000000..33b5a94 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-wcwidth.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-win32ctypes.core.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-win32ctypes.core.cpython-311.pyc new file mode 100644 index 0000000..098e22e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-win32ctypes.core.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-xml.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-xml.cpython-311.pyc new file mode 100644 index 0000000..d194164 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-xml.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-xml.dom.domreg.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-xml.dom.domreg.cpython-311.pyc new file mode 100644 index 0000000..d5ff329 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-xml.dom.domreg.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-xml.etree.cElementTree.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-xml.etree.cElementTree.cpython-311.pyc new file mode 100644 index 0000000..e365ab5 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-xml.etree.cElementTree.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-zope.interface.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-zope.interface.cpython-311.pyc new file mode 100644 index 0000000..1dfb5a1 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/__pycache__/hook-zope.interface.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PIL.Image.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PIL.Image.py new file mode 100644 index 0000000..1d9e029 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PIL.Image.py @@ -0,0 +1,17 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# This hook was tested with Pillow 2.9.0 (Maintained fork of PIL): https://pypi.python.org/pypi/Pillow + +from PyInstaller.utils.hooks import collect_submodules + +# Include all PIL image plugins - module names containing 'ImagePlugin'. e.g. PIL.JpegImagePlugin +hiddenimports = collect_submodules('PIL', lambda name: 'ImagePlugin' in name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PIL.ImageFilter.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PIL.ImageFilter.py new file mode 100644 index 0000000..528694b --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PIL.ImageFilter.py @@ -0,0 +1,13 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# Only used if installed, not mean to pull in numpy. +excludedimports = ["numpy"] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PIL.SpiderImagePlugin.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PIL.SpiderImagePlugin.py new file mode 100644 index 0000000..1b6466f --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PIL.SpiderImagePlugin.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# PIL's SpiderImagePlugin features a tkPhotoImage() method, which imports ImageTk (and thus brings in the whole Tcl/Tk +# library). Assume that if people are really using tkinter in their application, they will also import it directly. +excludedimports = ['tkinter'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PIL.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PIL.py new file mode 100644 index 0000000..b7a6849 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PIL.py @@ -0,0 +1,21 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# This hook was tested with Pillow 2.9.0 (Maintained fork of PIL): +# https://pypi.python.org/pypi/Pillow + +# Ignore tkinter to prevent inclusion of Tcl/Tk library and other GUI libraries. Assume that if people are really using +# tkinter in their application, they will also import it directly and thus PyInstaller bundles the right GUI library. +excludedimports = ['tkinter', 'PyQt5', 'PySide2', 'PyQt6', 'PySide6'] + +# Similarly, prevent inclusion of IPython, which in turn ends up pulling in whole matplotlib, along with its optional +# GUI library dependencies. +excludedimports += ['IPython'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QAxContainer.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QAxContainer.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QAxContainer.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qsci.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qsci.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qsci.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qt.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qt.py new file mode 100644 index 0000000..668d423 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qt.py @@ -0,0 +1,29 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# When PyQt5.Qt is imported it implies the import of all PyQt5 modules. See +# http://pyqt.sourceforge.net/Docs/PyQt5/Qt.html. +import os + +from PyInstaller.utils.hooks import get_module_file_attribute + +# Only do this if PyQt5 is found. +mfi = get_module_file_attribute('PyQt5') +if mfi: + # Determine the name of all these modules by looking in the PyQt5 directory. + hiddenimports = [] + for f in os.listdir(os.path.dirname(mfi)): + root, ext = os.path.splitext(os.path.basename(f)) + if root.startswith('Qt') and root != 'Qt': + # On Linux and macOS, PyQt 5.14.1 has a ``.abi3`` suffix on all library names. Remove it. + if root.endswith('.abi3'): + root = root[:-5] + hiddenimports.append('PyQt5.' + root) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qt3DAnimation.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qt3DAnimation.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qt3DAnimation.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qt3DCore.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qt3DCore.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qt3DCore.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qt3DExtras.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qt3DExtras.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qt3DExtras.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qt3DInput.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qt3DInput.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qt3DInput.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qt3DLogic.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qt3DLogic.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qt3DLogic.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qt3DRender.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qt3DRender.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.Qt3DRender.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtBluetooth.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtBluetooth.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtBluetooth.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtChart.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtChart.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtChart.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtCore.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtCore.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtCore.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtDBus.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtDBus.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtDBus.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtDataVisualization.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtDataVisualization.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtDataVisualization.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtDesigner.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtDesigner.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtDesigner.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtGui.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtGui.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtGui.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtHelp.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtHelp.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtHelp.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtLocation.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtLocation.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtLocation.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtMacExtras.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtMacExtras.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtMacExtras.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtMultimedia.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtMultimedia.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtMultimedia.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtMultimediaWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtMultimediaWidgets.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtMultimediaWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtNetwork.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtNetwork.py new file mode 100644 index 0000000..1c8cc67 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtNetwork.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies, pyqt5_library_info + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) +binaries += pyqt5_library_info.collect_qtnetwork_files() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtNetworkAuth.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtNetworkAuth.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtNetworkAuth.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtNfc.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtNfc.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtNfc.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtOpenGL.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtOpenGL.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtOpenGL.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtPositioning.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtPositioning.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtPositioning.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtPrintSupport.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtPrintSupport.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtPrintSupport.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtPurchasing.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtPurchasing.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtPurchasing.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtQml.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtQml.py new file mode 100644 index 0000000..718d323 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtQml.py @@ -0,0 +1,17 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies, pyqt5_library_info + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) +qml_binaries, qml_datas = pyqt5_library_info.collect_qtqml_files() +binaries += qml_binaries +datas += qml_datas diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtQuick.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtQuick.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtQuick.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtQuick3D.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtQuick3D.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtQuick3D.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtQuickWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtQuickWidgets.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtQuickWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtRemoteObjects.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtRemoteObjects.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtRemoteObjects.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtScript.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtScript.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtScript.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtSensors.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtSensors.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtSensors.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtSerialPort.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtSerialPort.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtSerialPort.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtSql.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtSql.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtSql.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtSvg.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtSvg.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtSvg.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtTest.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtTest.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtTest.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtTextToSpeech.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtTextToSpeech.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtTextToSpeech.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWebChannel.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWebChannel.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWebChannel.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWebEngine.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWebEngine.py new file mode 100644 index 0000000..7b67e1b --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWebEngine.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2014-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWebEngineCore.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWebEngineCore.py new file mode 100644 index 0000000..f575e0d --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWebEngineCore.py @@ -0,0 +1,22 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2014-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import \ + add_qt5_dependencies, pyqt5_library_info + +# Ensure PyQt5 is importable before adding info depending on it. +if pyqt5_library_info.version is not None: + hiddenimports, binaries, datas = add_qt5_dependencies(__file__) + + # Include helper process executable, translations, and resources. + webengine_binaries, webengine_datas = pyqt5_library_info.collect_qtwebengine_files() + binaries += webengine_binaries + datas += webengine_datas diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWebEngineWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWebEngineWidgets.py new file mode 100644 index 0000000..7b67e1b --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWebEngineWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2014-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWebKit.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWebKit.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWebKit.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWebKitWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWebKitWidgets.py new file mode 100644 index 0000000..7b67e1b --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWebKitWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2014-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWebSockets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWebSockets.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWebSockets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWidgets.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWinExtras.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWinExtras.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtWinExtras.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtX11Extras.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtX11Extras.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtX11Extras.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtXml.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtXml.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtXml.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtXmlPatterns.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtXmlPatterns.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.QtXmlPatterns.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.py new file mode 100644 index 0000000..2325577 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.py @@ -0,0 +1,29 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import pyqt5_library_info, ensure_single_qt_bindings_package + +# Allow only one Qt bindings package to be collected in frozen application. +ensure_single_qt_bindings_package("PyQt5") + +# Only proceed if PyQt5 can be imported. +if pyqt5_library_info.version is not None: + hiddenimports = [ + # PyQt5.10 and earlier uses sip in an separate package; + 'sip', + # PyQt5.11 and later provides SIP in a private package. Support both. + 'PyQt5.sip', + # Imported via __import__ in PyQt5/__init__.py + 'pkgutil', + ] + + # Collect required Qt binaries. + binaries = pyqt5_library_info.collect_extra_binaries() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.uic.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.uic.py new file mode 100644 index 0000000..e4474dd --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt5.uic.py @@ -0,0 +1,17 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import collect_data_files + +# We need to include modules in PyQt5.uic.widget-plugins, so they can be dynamically loaded by uic. They should be +# included as separate (data-like) files, so they can be found by os.listdir and friends. However, as this directory +# is not a package, refer to it using the package (PyQt5.uic) followed by the subdirectory name (``widget-plugins/``). +datas = collect_data_files('PyQt5.uic', True, 'widget-plugins') diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QAxContainer.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QAxContainer.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QAxContainer.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.Qsci.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.Qsci.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.Qsci.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.Qt3DAnimation.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.Qt3DAnimation.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.Qt3DAnimation.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.Qt3DCore.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.Qt3DCore.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.Qt3DCore.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.Qt3DExtras.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.Qt3DExtras.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.Qt3DExtras.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.Qt3DInput.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.Qt3DInput.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.Qt3DInput.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.Qt3DLogic.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.Qt3DLogic.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.Qt3DLogic.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.Qt3DRender.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.Qt3DRender.py new file mode 100644 index 0000000..58ac06d --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.Qt3DRender.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) + +hiddenimports += ["PyQt6.QtOpenGL"] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtBluetooth.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtBluetooth.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtBluetooth.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtCharts.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtCharts.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtCharts.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtCore.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtCore.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtCore.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtDBus.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtDBus.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtDBus.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtDataVisualization.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtDataVisualization.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtDataVisualization.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtDesigner.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtDesigner.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtDesigner.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtGraphs.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtGraphs.py new file mode 100644 index 0000000..17c60d1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtGraphs.py @@ -0,0 +1,17 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) + +# These dependencies cannot seem to be inferred from linked libraries. +hiddenimports += ['PyQt6.QtNetwork', 'PyQt6.QtQml'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtGraphsWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtGraphsWidgets.py new file mode 100644 index 0000000..c4cba93 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtGraphsWidgets.py @@ -0,0 +1,17 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) + +# These dependencies cannot seem to be inferred from linked libraries. +hiddenimports += ['PyQt6.QtGraphs', 'PyQt6.QtQuickWidgets'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtGui.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtGui.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtGui.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtHelp.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtHelp.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtHelp.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtMultimedia.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtMultimedia.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtMultimedia.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtMultimediaWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtMultimediaWidgets.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtMultimediaWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtNetwork.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtNetwork.py new file mode 100644 index 0000000..c780c7c --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtNetwork.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies, pyqt6_library_info + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) +binaries += pyqt6_library_info.collect_qtnetwork_files() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtNetworkAuth.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtNetworkAuth.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtNetworkAuth.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtNfc.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtNfc.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtNfc.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtOpenGL.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtOpenGL.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtOpenGL.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtOpenGLWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtOpenGLWidgets.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtOpenGLWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtPdf.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtPdf.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtPdf.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtPdfWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtPdfWidgets.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtPdfWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtPositioning.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtPositioning.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtPositioning.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtPrintSupport.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtPrintSupport.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtPrintSupport.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtQml.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtQml.py new file mode 100644 index 0000000..024696a --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtQml.py @@ -0,0 +1,17 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies, pyqt6_library_info + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) +qml_binaries, qml_datas = pyqt6_library_info.collect_qtqml_files() +binaries += qml_binaries +datas += qml_datas diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtQuick.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtQuick.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtQuick.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtQuick3D.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtQuick3D.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtQuick3D.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtQuickWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtQuickWidgets.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtQuickWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtRemoteObjects.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtRemoteObjects.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtRemoteObjects.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtSensors.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtSensors.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtSensors.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtSerialPort.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtSerialPort.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtSerialPort.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtSpatialAudio.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtSpatialAudio.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtSpatialAudio.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtSql.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtSql.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtSql.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtStateMachine.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtStateMachine.py new file mode 100644 index 0000000..b1b97aa --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtStateMachine.py @@ -0,0 +1,17 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2025, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) + +# This dependency cannot seem to be inferred from linked libraries (at least on Windows). +hiddenimports += ['PyQt6.QtGui'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtSvg.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtSvg.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtSvg.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtSvgWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtSvgWidgets.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtSvgWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtTest.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtTest.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtTest.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtTextToSpeech.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtTextToSpeech.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtTextToSpeech.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtWebChannel.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtWebChannel.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtWebChannel.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtWebEngineCore.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtWebEngineCore.py new file mode 100644 index 0000000..7eb593c --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtWebEngineCore.py @@ -0,0 +1,27 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2014-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import \ + add_qt6_dependencies, pyqt6_library_info + +# Ensure PyQt6 is importable before adding info depending on it. +if pyqt6_library_info.version is not None: + # Qt6 prior to 6.2.2 contains a bug that makes it incompatible with the way PyInstaller collects + # QtWebEngine shared libraries and resources. So exit here and now instead of producing a defunct build. + if pyqt6_library_info.version < [6, 2, 2]: + raise SystemExit("ERROR: PyInstaller's QtWebEngine support requires Qt6 6.2.2 or later!") + + hiddenimports, binaries, datas = add_qt6_dependencies(__file__) + + # Include helper process executable, translations, and resources. + webengine_binaries, webengine_datas = pyqt6_library_info.collect_qtwebengine_files() + binaries += webengine_binaries + datas += webengine_datas diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtWebEngineQuick.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtWebEngineQuick.py new file mode 100644 index 0000000..19083de --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtWebEngineQuick.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2014-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtWebEngineWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtWebEngineWidgets.py new file mode 100644 index 0000000..19083de --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtWebEngineWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2014-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtWebSockets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtWebSockets.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtWebSockets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtWidgets.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtXml.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtXml.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.QtXml.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.py new file mode 100644 index 0000000..b9e2f51 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.py @@ -0,0 +1,26 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import pyqt6_library_info, ensure_single_qt_bindings_package + +# Allow only one Qt bindings package to be collected in frozen application. +ensure_single_qt_bindings_package("PyQt6") + +# Only proceed if PyQt6 can be imported. +if pyqt6_library_info.version is not None: + hiddenimports = [ + 'PyQt6.sip', + # Imported via __import__ in PyQt6/__init__.py + 'pkgutil', + ] + + # Collect required Qt binaries. + binaries = pyqt6_library_info.collect_extra_binaries() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.uic.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.uic.py new file mode 100644 index 0000000..7744cbc --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PyQt6.uic.py @@ -0,0 +1,17 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import collect_data_files + +# We need to include modules in PyQt6.uic.widget-plugins, so they can be dynamically loaded by uic. They should be +# included as separate (data-like) files, so they can be found by os.listdir and friends. However, as this directory +# is not a package, refer to it using the package (PyQt6.uic) followed by the subdirectory name (``widget-plugins/``). +datas = collect_data_files('PyQt6.uic', True, 'widget-plugins') diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.Qt3DAnimation.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.Qt3DAnimation.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.Qt3DAnimation.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.Qt3DCore.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.Qt3DCore.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.Qt3DCore.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.Qt3DExtras.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.Qt3DExtras.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.Qt3DExtras.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.Qt3DInput.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.Qt3DInput.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.Qt3DInput.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.Qt3DLogic.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.Qt3DLogic.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.Qt3DLogic.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.Qt3DRender.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.Qt3DRender.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.Qt3DRender.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtAxContainer.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtAxContainer.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtAxContainer.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtCharts.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtCharts.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtCharts.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtConcurrent.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtConcurrent.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtConcurrent.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtCore.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtCore.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtCore.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtDataVisualization.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtDataVisualization.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtDataVisualization.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtGui.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtGui.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtGui.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtHelp.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtHelp.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtHelp.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtLocation.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtLocation.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtLocation.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtMacExtras.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtMacExtras.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtMacExtras.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtMultimedia.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtMultimedia.py new file mode 100644 index 0000000..1f3f908 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtMultimedia.py @@ -0,0 +1,19 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) + +# Using PySide2 true_properties ("from __feature__ import true_properties") causes a hidden dependency on +# QtMultimediaWidgets python module: +# https://github.com/qtproject/pyside-pyside-setup/blob/5.15.2/sources/shiboken2/shibokenmodule/files.dir/shibokensupport/signature/mapping.py#L577-L586 +hiddenimports += ['PySide2.QtMultimediaWidgets'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtMultimediaWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtMultimediaWidgets.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtMultimediaWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtNetwork.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtNetwork.py new file mode 100644 index 0000000..4e62091 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtNetwork.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies, pyside2_library_info + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) +binaries += pyside2_library_info.collect_qtnetwork_files() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtOpenGL.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtOpenGL.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtOpenGL.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtOpenGLFunctions.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtOpenGLFunctions.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtOpenGLFunctions.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtPositioning.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtPositioning.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtPositioning.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtPrintSupport.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtPrintSupport.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtPrintSupport.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtQml.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtQml.py new file mode 100644 index 0000000..a9f7162 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtQml.py @@ -0,0 +1,19 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies, pyside2_library_info + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) +qml_binaries, qml_datas = pyside2_library_info.collect_qtqml_files() +binaries += qml_binaries +datas += qml_datas + +hiddenimports += ["PySide2.QtGui"] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtQuick.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtQuick.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtQuick.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtQuickControls2.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtQuickControls2.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtQuickControls2.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtQuickWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtQuickWidgets.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtQuickWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtRemoteObjects.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtRemoteObjects.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtRemoteObjects.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtScript.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtScript.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtScript.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtScriptTools.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtScriptTools.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtScriptTools.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtScxml.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtScxml.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtScxml.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtSensors.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtSensors.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtSensors.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtSerialPort.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtSerialPort.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtSerialPort.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtSql.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtSql.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtSql.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtSvg.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtSvg.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtSvg.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtTest.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtTest.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtTest.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtTextToSpeech.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtTextToSpeech.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtTextToSpeech.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtUiTools.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtUiTools.py new file mode 100644 index 0000000..9f47776 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtUiTools.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) +hiddenimports += ['PySide2.QtXml'] # Not inferred from dynamic lib analysis diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWebChannel.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWebChannel.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWebChannel.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWebEngine.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWebEngine.py new file mode 100644 index 0000000..7b67e1b --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWebEngine.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2014-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWebEngineCore.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWebEngineCore.py new file mode 100644 index 0000000..afb578e --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWebEngineCore.py @@ -0,0 +1,22 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2014-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import \ + add_qt5_dependencies, pyside2_library_info + +# Ensure PySide2 is importable before adding info depending on it. +if pyside2_library_info.version is not None: + hiddenimports, binaries, datas = add_qt5_dependencies(__file__) + + # Include helper process executable, translations, and resources. + webengine_binaries, webengine_datas = pyside2_library_info.collect_qtwebengine_files() + binaries += webengine_binaries + datas += webengine_datas diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWebEngineWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWebEngineWidgets.py new file mode 100644 index 0000000..7b67e1b --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWebEngineWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2014-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWebKit.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWebKit.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWebKit.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWebKitWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWebKitWidgets.py new file mode 100644 index 0000000..7b67e1b --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWebKitWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2014-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWebSockets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWebSockets.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWebSockets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWidgets.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWinExtras.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWinExtras.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtWinExtras.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtX11Extras.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtX11Extras.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtX11Extras.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtXml.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtXml.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtXml.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtXmlPatterns.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtXmlPatterns.py new file mode 100644 index 0000000..51258b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.QtXmlPatterns.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt5_dependencies + +hiddenimports, binaries, datas = add_qt5_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.Qwt5.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.Qwt5.py new file mode 100644 index 0000000..57f3c22 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.Qwt5.py @@ -0,0 +1,31 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller import isolated + +hiddenimports = ['PySide2.QtCore', 'PySide2.QtWidgets', 'PySide2.QtGui', 'PySide2.QtSvg'] + + +@isolated.decorate +def conditional_imports(): + from PySide2 import Qwt5 + + out = [] + if hasattr(Qwt5, "toNumpy"): + out.append("numpy") + if hasattr(Qwt5, "toNumeric"): + out.append("numeric") + if hasattr(Qwt5, "toNumarray"): + out.append("numarray") + return out + + +hiddenimports += conditional_imports() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.py new file mode 100644 index 0000000..aa7a714 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide2.py @@ -0,0 +1,25 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import pyside2_library_info, ensure_single_qt_bindings_package + +# Allow only one Qt bindings package to be collected in frozen application. +ensure_single_qt_bindings_package("PySide2") + +# Only proceed if PySide2 can be imported. +if pyside2_library_info.version is not None: + hiddenimports = ['shiboken2', 'inspect'] + if pyside2_library_info.version < [5, 15]: + # The shiboken2 bootstrap in earlier releases requires __future__ in addition to inspect + hiddenimports += ['__future__'] + + # Collect required Qt binaries. + binaries = pyside2_library_info.collect_extra_binaries() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.Qt3DAnimation.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.Qt3DAnimation.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.Qt3DAnimation.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.Qt3DCore.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.Qt3DCore.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.Qt3DCore.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.Qt3DExtras.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.Qt3DExtras.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.Qt3DExtras.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.Qt3DInput.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.Qt3DInput.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.Qt3DInput.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.Qt3DLogic.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.Qt3DLogic.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.Qt3DLogic.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.Qt3DRender.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.Qt3DRender.py new file mode 100644 index 0000000..2bb9b83 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.Qt3DRender.py @@ -0,0 +1,20 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies, pyside6_library_info + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) + +# In PySide 6.7.0, Qt3DRender module added a reference to QtOpenGL type system. The hidden import is required on +# Windows, while on macOS and Linux we seem to pick it up automatically due to the corresponding Qt shared library +# appearing among binary dependencies. Keep it around on all OSes, though - just in case this ever changes. +if pyside6_library_info.version is not None and pyside6_library_info.version >= [6, 7]: + hiddenimports += ['PySide6.QtOpenGL'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtAxContainer.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtAxContainer.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtAxContainer.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtBluetooth.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtBluetooth.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtBluetooth.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtCharts.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtCharts.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtCharts.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtConcurrent.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtConcurrent.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtConcurrent.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtCore.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtCore.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtCore.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtDBus.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtDBus.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtDBus.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtDataVisualization.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtDataVisualization.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtDataVisualization.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtDesigner.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtDesigner.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtDesigner.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtGraphs.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtGraphs.py new file mode 100644 index 0000000..00941c0 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtGraphs.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtGraphsWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtGraphsWidgets.py new file mode 100644 index 0000000..91ae027 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtGraphsWidgets.py @@ -0,0 +1,17 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) + +# These dependencies cannot seem to be inferred from linked libraries. +hiddenimports += ['PySide6.QtQuickWidgets', 'PySide6.QtGraphs'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtGui.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtGui.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtGui.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtHelp.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtHelp.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtHelp.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtHttpServer.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtHttpServer.py new file mode 100644 index 0000000..790cb11 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtHttpServer.py @@ -0,0 +1,18 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) + +# This seems to be necessary on Windows; on other OSes, it is inferred automatically because the extension is linked +# against the Qt6Concurrent shared library. +hiddenimports += ['PySide6.QtConcurrent'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtLocation.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtLocation.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtLocation.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtMultimedia.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtMultimedia.py new file mode 100644 index 0000000..0c2d31b --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtMultimedia.py @@ -0,0 +1,19 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) + +# Using PySide6 true_properties ("from __feature__ import true_properties") causes a hidden dependency on +# QtMultimediaWidgets python module: +# https://github.com/qtproject/pyside-pyside-setup/blob/v6.2.2.1/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/mapping.py#L614-L627 +hiddenimports += ['PySide6.QtMultimediaWidgets'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtMultimediaWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtMultimediaWidgets.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtMultimediaWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtNetwork.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtNetwork.py new file mode 100644 index 0000000..a216ecd --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtNetwork.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies, pyside6_library_info + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) +binaries += pyside6_library_info.collect_qtnetwork_files() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtNetworkAuth.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtNetworkAuth.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtNetworkAuth.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtNfc.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtNfc.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtNfc.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtOpenGL.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtOpenGL.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtOpenGL.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtOpenGLWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtOpenGLWidgets.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtOpenGLWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtPdf.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtPdf.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtPdf.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtPdfWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtPdfWidgets.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtPdfWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtPositioning.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtPositioning.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtPositioning.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtPrintSupport.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtPrintSupport.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtPrintSupport.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtQml.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtQml.py new file mode 100644 index 0000000..8b6837d --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtQml.py @@ -0,0 +1,17 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies, pyside6_library_info + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) +qml_binaries, qml_datas = pyside6_library_info.collect_qtqml_files() +binaries += qml_binaries +datas += qml_datas diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtQuick.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtQuick.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtQuick.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtQuick3D.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtQuick3D.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtQuick3D.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtQuickControls2.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtQuickControls2.py new file mode 100644 index 0000000..b405fc6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtQuickControls2.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) + +hiddenimports += ['PySide6.QtQuick'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtQuickWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtQuickWidgets.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtQuickWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtRemoteObjects.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtRemoteObjects.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtRemoteObjects.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtScxml.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtScxml.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtScxml.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtSensors.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtSensors.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtSensors.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtSerialBus.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtSerialBus.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtSerialBus.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtSerialPort.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtSerialPort.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtSerialPort.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtSpatialAudio.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtSpatialAudio.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtSpatialAudio.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtSql.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtSql.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtSql.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtStateMachine.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtStateMachine.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtStateMachine.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtSvg.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtSvg.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtSvg.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtSvgWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtSvgWidgets.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtSvgWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtTest.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtTest.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtTest.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtTextToSpeech.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtTextToSpeech.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtTextToSpeech.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtUiTools.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtUiTools.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtUiTools.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtWebChannel.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtWebChannel.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtWebChannel.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtWebEngineCore.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtWebEngineCore.py new file mode 100644 index 0000000..06e05f8 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtWebEngineCore.py @@ -0,0 +1,29 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2014-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import \ + add_qt6_dependencies, pyside6_library_info + +# Ensure PySide6 is importable before adding info depending on it. +if pyside6_library_info.version is not None: + # Qt6 prior to 6.2.2 contains a bug that makes it incompatible with the way PyInstaller collects + # QtWebEngine shared libraries and resources. So exit here and now instead of producing a defunct build. + if pyside6_library_info.version < [6, 2, 2]: + raise SystemExit("ERROR: PyInstaller's QtWebEngine support requires Qt6 6.2.2 or later!") + + hiddenimports, binaries, datas = add_qt6_dependencies(__file__) + + # Include helper process executable, translations, and resources. + webengine_binaries, webengine_datas = pyside6_library_info.collect_qtwebengine_files() + binaries += webengine_binaries + datas += webengine_datas + + hiddenimports += ['PySide6.QtPrintSupport'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtWebEngineQuick.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtWebEngineQuick.py new file mode 100644 index 0000000..19083de --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtWebEngineQuick.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2014-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtWebEngineWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtWebEngineWidgets.py new file mode 100644 index 0000000..19083de --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtWebEngineWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2014-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtWebSockets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtWebSockets.py new file mode 100644 index 0000000..49d27d6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtWebSockets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtWidgets.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtWidgets.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtWidgets.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtXml.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtXml.py new file mode 100644 index 0000000..edd5cd1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.QtXml.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.qt import add_qt6_dependencies + +hiddenimports, binaries, datas = add_qt6_dependencies(__file__) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.py new file mode 100644 index 0000000..30e2ee6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-PySide6.py @@ -0,0 +1,28 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import check_requirement +from PyInstaller.utils.hooks.qt import pyside6_library_info, ensure_single_qt_bindings_package + +# Allow only one Qt bindings package to be collected in frozen application. +ensure_single_qt_bindings_package("PySide6") + +# Only proceed if PySide6 can be imported. +if pyside6_library_info.version is not None: + hiddenimports = ['shiboken6', 'inspect'] + + # Starting with PySide6 6.4.0, we need to collect PySide6.support.deprecated for | and & operators to work with + # Qt key and key modifiers enums. See #7249. + if check_requirement("PySide6 >= 6.4.0"): + hiddenimports += ['PySide6.support.deprecated'] + + # Collect required Qt binaries. + binaries = pyside6_library_info.collect_extra_binaries() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-_ctypes.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-_ctypes.py new file mode 100644 index 0000000..d9ccf8c --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-_ctypes.py @@ -0,0 +1,19 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2014, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller import compat + +# During python 3.14 development cycle, ctypes struct/union layout logic has been moved from `_ctypes` extension into +# Python, i.e., `ctypes._layout` module: https://github.com/python/cpython/pull/123352 +# Since this module is referenced only from the `_ctypes` extension, it needs to be added to hidden imports, at least on +# Windows and macOS. +if compat.is_py314: + hiddenimports = ['ctypes._layout'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-_osx_support.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-_osx_support.py new file mode 100644 index 0000000..a3a69d5 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-_osx_support.py @@ -0,0 +1,19 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2025, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# Prevent conditional import of `distutils` in `_osx_support.compiler_fixup()` in python < 3.10 from pulling in +# `distutils`; this function is called only from `distutils` itself, which ensures that the module is available as +# needed. Blocking this import prevents `distutils` (and nowadays `setuptools`) from being pulled into even very +# basic applications when built with python < 3.10. +# +# See: https://github.com/python/cpython/blob/f3994ade31a563d49806cf6a681d1b1115fccaa3/Lib/_osx_support.py#L430-L434 + +excludedimports = ['distutils'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-_pyi_rth_utils.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-_pyi_rth_utils.py new file mode 100644 index 0000000..cbd93aa --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-_pyi_rth_utils.py @@ -0,0 +1,17 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller import compat + +# Exclude submodules specific to non-applicable OSes +excludedimports = [] +if not compat.is_win: + excludedimports += ['_pyi_rth_utils._win32'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-_tkinter.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-_tkinter.py new file mode 100644 index 0000000..7f21b49 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-_tkinter.py @@ -0,0 +1,22 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.tcl_tk import tcltk_info + + +def hook(hook_api): + # Add all Tcl/Tk data files, based on the `TclTkInfo.data_files`. If Tcl/Tk is unavailable, the list is empty. + # + # NOTE: the list contains 3-element TOC tuples with full destination filenames (because other parts of code, + # specifically splash-screen writer, currently require this format). Therefore, we need to use + # `PostGraphAPI.add_datas` (which supports 3-element TOC tuples); if this was 2-element "hook-style" TOC list, + # we could just assign `datas` global hook variable, without implementing the post-graph `hook()` function. + hook_api.add_datas(tcltk_info.data_files) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-babel.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-babel.py new file mode 100644 index 0000000..5f03a97 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-babel.py @@ -0,0 +1,24 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import collect_data_files + +# Ensure that .dat files from locale-data sub-directory are collected. +datas = collect_data_files('babel') + +# Unpickling of locale-data/root.dat currently (babel v2.16.0) requires classes from following modules, so ensure that +# they are always collected: +hiddenimports = [ + "babel.dates", + "babel.localedata", + "babel.plural", + "babel.numbers", +] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-difflib.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-difflib.py new file mode 100644 index 0000000..2416758 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-difflib.py @@ -0,0 +1,13 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2015-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# only required when run as `__main__` +excludedimports = ["doctest"] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-distutils.command.check.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-distutils.command.check.py new file mode 100644 index 0000000..50a17d4 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-distutils.command.check.py @@ -0,0 +1,13 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# Conditionally imported in this module; should not trigger collection. +excludedimports = ['docutils'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-distutils.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-distutils.py new file mode 100644 index 0000000..c9cd63b --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-distutils.py @@ -0,0 +1,33 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.setuptools import setuptools_info + +hiddenimports = [] + +# From Python 3.6 and later ``distutils.sysconfig`` takes on the same behaviour as regular ``sysconfig`` of moving the +# config vars to a module (see hook-sysconfig.py). It doesn't use a nice `get module name` function like ``sysconfig`` +# does to help us locate it but the module is the same file that ``sysconfig`` uses so we can use the +# ``_get_sysconfigdata_name()`` from regular ``sysconfig``. +try: + import sysconfig + hiddenimports += [sysconfig._get_sysconfigdata_name()] +except AttributeError: + # Either sysconfig has no attribute _get_sysconfigdata_name (i.e., the function does not exist), or this is Windows + # and the _get_sysconfigdata_name() call failed due to missing sys.abiflags attribute. + pass + +# Starting with setuptools 60.0, the vendored distutils overrides the stdlib one (which will be removed in python 3.12 +# anyway), so check if we are using that version. While the distutils override behavior can be controleld via the +# ``SETUPTOOLS_USE_DISTUTILS`` environment variable, the latter may have a different value during the build and at the +# runtime, and so we need to ensure that both stdlib and setuptools variant of distutils are collected. +if setuptools_info.available and setuptools_info.version >= (60, 0): + hiddenimports += ['setuptools._distutils'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-distutils.util.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-distutils.util.py new file mode 100644 index 0000000..021d459 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-distutils.util.py @@ -0,0 +1,13 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# distutils.util.run_2to3() imports lib2to3. Exclude it as chances are low that it is used by the frozen package. +excludedimports = ['lib2to3.refactor'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.contrib.sessions.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.contrib.sessions.py new file mode 100644 index 0000000..5d86e6c --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.contrib.sessions.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules('django.contrib.sessions.backends') diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.core.cache.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.core.cache.py new file mode 100644 index 0000000..eb319c7 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.core.cache.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules('django.core.cache.backends') diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.core.mail.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.core.mail.py new file mode 100644 index 0000000..1cee61c --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.core.mail.py @@ -0,0 +1,25 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +django.core.mail uses part of the email package. +The problem is: when using runserver with autoreload mode, the thread that checks for changed files triggers further +imports within the email package, because of the LazyImporter in email (used in 2.5 for backward compatibility). +We then need to name those modules as hidden imports, otherwise at runtime the autoreload thread will complain +with a traceback. +""" + +hiddenimports = [ + 'email.mime.message', + 'email.mime.image', + 'email.mime.text', + 'email.mime.multipart', + 'email.mime.audio', +] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.core.management.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.core.management.py new file mode 100644 index 0000000..a8566e0 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.core.management.py @@ -0,0 +1,19 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import collect_submodules + +# Module django.core.management.commands.shell imports IPython, but it introduces many other dependencies that are not +# necessary for a simple django project; ignore the IPython module. +excludedimports = ['IPython', 'matplotlib', 'tkinter'] + +# Django requires management modules for the script 'manage.py'. +hiddenimports = collect_submodules('django.core.management.commands') diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.db.backends.mysql.base.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.db.backends.mysql.base.py new file mode 100644 index 0000000..951899e --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.db.backends.mysql.base.py @@ -0,0 +1,13 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# Compiler module (see class DatabaseOperations) +hiddenimports = ["django.db.backends.mysql.compiler"] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.db.backends.oracle.base.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.db.backends.oracle.base.py new file mode 100644 index 0000000..d50eb97 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.db.backends.oracle.base.py @@ -0,0 +1,12 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +hiddenimports = ["django.db.backends.oracle.compiler"] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.db.backends.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.db.backends.py new file mode 100644 index 0000000..e829fe7 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.db.backends.py @@ -0,0 +1,25 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +import glob +import os + +from PyInstaller.utils.hooks import get_module_file_attribute + +# Compiler (see class BaseDatabaseOperations) +hiddenimports = ['django.db.models.sql.compiler'] + +# Include all available Django backends. +modpath = os.path.dirname(get_module_file_attribute('django.db.backends')) +for fn in glob.glob(os.path.join(modpath, '*')): + if os.path.isdir(fn): + fn = os.path.basename(fn) + hiddenimports.append('django.db.backends.' + fn + '.base') diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.py new file mode 100644 index 0000000..4a8ee04 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.py @@ -0,0 +1,92 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# Tested with django 2.2 + +import glob +import os + +from PyInstaller import log as logging +from PyInstaller.utils import hooks +from PyInstaller.utils.hooks import django + +logger = logging.getLogger(__name__) + +# Collect everything. Some submodules of django are not importable without considerable external setup. Ignore the +# errors they raise. +datas, binaries, hiddenimports = hooks.collect_all('django', on_error="ignore") + +root_dir = django.django_find_root_dir() +if root_dir: + logger.info('Django root directory %s', root_dir) + # Include imports from the mysite.settings.py module. + settings_py_imports = django.django_dottedstring_imports(root_dir) + # Include all submodules of all imports detected in mysite.settings.py. + for submod in settings_py_imports: + hiddenimports.append(submod) + hiddenimports += hooks.collect_submodules(submod) + # Include main django modules - settings.py, urls.py, wsgi.py. Without them the django server won't run. + package_name = os.path.basename(root_dir) + default_settings_module = f'{package_name}.settings' + settings_module = os.environ.get('DJANGO_SETTINGS_MODULE', default_settings_module) + hiddenimports += [ + # TODO: consider including 'mysite.settings.py' in source code as a data files, + # since users might need to edit this file. + settings_module, + package_name + '.urls', + package_name + '.wsgi', + ] + # Django hiddenimports from the standard Python library. + hiddenimports += [ + 'http.cookies', + 'html.parser', + ] + + # Bundle django DB schema migration scripts as data files. They are necessary for some commands. + logger.info('Collecting Django migration scripts.') + migration_modules = [ + 'django.conf.app_template.migrations', + 'django.contrib.admin.migrations', + 'django.contrib.auth.migrations', + 'django.contrib.contenttypes.migrations', + 'django.contrib.flatpages.migrations', + 'django.contrib.redirects.migrations', + 'django.contrib.sessions.migrations', + 'django.contrib.sites.migrations', + ] + # Include migration scripts of Django-based apps too. + installed_apps = hooks.get_module_attribute(settings_module, 'INSTALLED_APPS') + migration_modules.extend(set(app + '.migrations' for app in installed_apps)) + # Copy migration files. + for mod in migration_modules: + mod_name, bundle_name = mod.split('.', 1) + mod_dir = os.path.dirname(hooks.get_module_file_attribute(mod_name)) + bundle_dir = bundle_name.replace('.', os.sep) + pattern = os.path.join(mod_dir, bundle_dir, '*.py') + files = glob.glob(pattern) + for f in files: + datas.append((f, os.path.join(mod_name, bundle_dir))) + + # Include data files from your Django project found in your django root package. + datas += hooks.collect_data_files(package_name) + + # Include database file if using sqlite. The sqlite database is usually next to the manage.py script. + root_dir_parent = os.path.dirname(root_dir) + # TODO Add more patterns if necessary. + _patterns = ['*.db', 'db.*'] + for p in _patterns: + files = glob.glob(os.path.join(root_dir_parent, p)) + for f in files: + # Place those files next to the executable. + datas.append((f, '.')) + +else: + logger.warning('No django root directory could be found!') diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.template.loaders.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.template.loaders.py new file mode 100644 index 0000000..18b1374 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-django.template.loaders.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules('django.template.loaders') diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-encodings.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-encodings.py new file mode 100644 index 0000000..a4082e1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-encodings.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules('encodings') diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gevent.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gevent.py new file mode 100644 index 0000000..40ad953 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gevent.py @@ -0,0 +1,24 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2015-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import collect_all, copy_metadata + +excludedimports = ["gevent.testing", "gevent.tests"] + +datas, binaries, hiddenimports = collect_all( + 'gevent', + filter_submodules=lambda name: ("gevent.testing" not in name or "gevent.tests" not in name), + include_py_files=False, + exclude_datas=["**/tests"] +) + +# Gevent uses ``pkg_resources.require("...")``, which means that all its dependencies must also have their metadata. +datas += copy_metadata('gevent', recursive=True) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.py new file mode 100644 index 0000000..78e3538 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.py @@ -0,0 +1,26 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller import compat +from packaging.version import Version + +pygobject_version = Version(compat.importlib_metadata.version("pygobject")).release + +hiddenimports = ['gi._error', 'gi._option'] + +# PyGObject 3.50.0 added support for `asyncio`, and attempts to import inside the `_gi` extension. +if pygobject_version >= (3, 50, 0): + hiddenimports += ['asyncio'] + +# PyGobject 3.52.0 added `gi._enum`, which needs to be added to hiddenimports due to being imported from the +# `_gi` extension. +if pygobject_version >= (3, 52, 0): + hiddenimports += ['gi._enum'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Adw.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Adw.py new file mode 100644 index 0000000..3327e21 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Adw.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('Adw', '1') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.AppIndicator3.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.AppIndicator3.py new file mode 100644 index 0000000..4b9c894 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.AppIndicator3.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('AppIndicator3', '0.1') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Atk.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Atk.py new file mode 100644 index 0000000..b57ee3f --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Atk.py @@ -0,0 +1,29 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import get_hook_config +from PyInstaller.utils.hooks.gi import GiModuleInfo, collect_glib_translations + + +def hook(hook_api): + module_info = GiModuleInfo('Atk', '1.0') + if not module_info.available: + return + + binaries, datas, hiddenimports = module_info.collect_typelib_data() + + # Collect translations + lang_list = get_hook_config(hook_api, "gi", "languages") + datas += collect_glib_translations('atk10', lang_list) + + hook_api.add_datas(datas) + hook_api.add_binaries(binaries) + hook_api.add_imports(*hiddenimports) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.AyatanaAppIndicator3.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.AyatanaAppIndicator3.py new file mode 100644 index 0000000..36b178a --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.AyatanaAppIndicator3.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('AyatanaAppIndicator3', '0.1') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Champlain.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Champlain.py new file mode 100644 index 0000000..d48def3 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Champlain.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('Champlain', '0.12') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Clutter.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Clutter.py new file mode 100644 index 0000000..9ad56a6 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Clutter.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('Clutter', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.DBus.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.DBus.py new file mode 100644 index 0000000..0580fcb --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.DBus.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('DBus', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GIRepository.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GIRepository.py new file mode 100644 index 0000000..5c6961a --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GIRepository.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GIRepository', '2.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GLib.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GLib.py new file mode 100644 index 0000000..6aa236c --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GLib.py @@ -0,0 +1,42 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +import glob +import os + +from PyInstaller.compat import is_win +from PyInstaller.utils.hooks import get_hook_config +from PyInstaller.utils.hooks.gi import GiModuleInfo, collect_glib_share_files, collect_glib_translations + + +def hook(hook_api): + module_info = GiModuleInfo('GLib', '2.0') + if not module_info.available: + return + + binaries, datas, hiddenimports = module_info.collect_typelib_data() + + # Collect translations + lang_list = get_hook_config(hook_api, "gi", "languages") + datas += collect_glib_translations('glib20', lang_list) + + # Collect schemas + datas += collect_glib_share_files('glib-2.0', 'schemas') + + # On Windows, glib needs a spawn helper for g_spawn* API + if is_win: + pattern = os.path.join(module_info.get_libdir(), 'gspawn-*-helper*.exe') + for f in glob.glob(pattern): + binaries.append((f, '.')) + + hook_api.add_datas(datas) + hook_api.add_binaries(binaries) + hook_api.add_imports(*hiddenimports) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GModule.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GModule.py new file mode 100644 index 0000000..0ccaaaf --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GModule.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GModule', '2.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GObject.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GObject.py new file mode 100644 index 0000000..2171165 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GObject.py @@ -0,0 +1,19 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +from PyInstaller.utils.hooks import check_requirement +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GObject', '2.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() + # gi._gobject removed from PyGObject in version 3.25.1 + if check_requirement('PyGObject < 3.25.1'): + hiddenimports += ['gi._gobject'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Gdk.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Gdk.py new file mode 100644 index 0000000..99fbd08 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Gdk.py @@ -0,0 +1,36 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo +from PyInstaller.utils.hooks import get_hook_config + + +def hook(hook_api): + # Use the Gdk version from hook config, if available. If not, try using Gtk version from hook config, so that we + # collect Gdk and Gtk of the same version. + module_versions = get_hook_config(hook_api, 'gi', 'module-versions') + if module_versions: + version = module_versions.get('Gdk') + if not version: + version = module_versions.get('Gtk', '3.0') + else: + version = '3.0' + + module_info = GiModuleInfo('Gdk', version) + if not module_info.available: + return + + binaries, datas, hiddenimports = module_info.collect_typelib_data() + hiddenimports += ['gi._gi_cairo', 'gi.repository.cairo'] + + hook_api.add_datas(datas) + hook_api.add_binaries(binaries) + hook_api.add_imports(*hiddenimports) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GdkPixbuf.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GdkPixbuf.py new file mode 100644 index 0000000..8126328 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GdkPixbuf.py @@ -0,0 +1,150 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +import glob +import os +import shutil +import subprocess + +from PyInstaller import compat +from PyInstaller.config import CONF # workpath +from PyInstaller.utils.hooks import get_hook_config, logger +from PyInstaller.utils.hooks.gi import GiModuleInfo, collect_glib_translations + +LOADERS_PATH = os.path.join('gdk-pixbuf-2.0', '2.10.0', 'loaders') +LOADER_MODULE_DEST_PATH = "lib/gdk-pixbuf/loaders" +LOADER_CACHE_DEST_PATH = "lib/gdk-pixbuf" # NOTE: some search & replace code depends on / being used on all platforms. + + +def _find_gdk_pixbuf_query_loaders_executable(libdir): + # Distributions either package gdk-pixbuf-query-loaders in the GI libs directory (not on the path), or on the path + # with or without a -x64 suffix, depending on the architecture. + cmds = [ + os.path.join(libdir, 'gdk-pixbuf-2.0', 'gdk-pixbuf-query-loaders'), + 'gdk-pixbuf-query-loaders-64', + 'gdk-pixbuf-query-loaders', + ] + + for cmd in cmds: + cmd_fullpath = shutil.which(cmd) + if cmd_fullpath is not None: + return cmd_fullpath + + return None + + +def _collect_loaders(libdir): + # Assume loader plugins have .so library suffix on all non-Windows platforms + lib_ext = "*.dll" if compat.is_win else "*.so" + + # Find all loaders + loader_libs = [] + pattern = os.path.join(libdir, LOADERS_PATH, lib_ext) + for f in glob.glob(pattern): + loader_libs.append(f) + + # Sometimes the loaders are stored in a different directory from the library (msys2) + if not loader_libs: + pattern = os.path.abspath(os.path.join(libdir, '..', 'lib', LOADERS_PATH, lib_ext)) + for f in glob.glob(pattern): + loader_libs.append(f) + + return loader_libs + + +def _generate_loader_cache(gdk_pixbuf_query_loaders, libdir, loader_libs): + # Run the "gdk-pixbuf-query-loaders" command and capture its standard output providing an updated loader + # cache; then write this output to the loader cache bundled with this frozen application. On all platforms, + # we also move the package structure to point to lib/gdk-pixbuf instead of lib/gdk-pixbuf-2.0/2.10.0 in + # order to make compatible with macOS .app bundle signing. + # + # On macOS we use @executable_path to specify a path relative to the generated bundle. However, on + # non-Windows, we need to rewrite the loader cache because it is not relocatable by default. See + # https://bugzilla.gnome.org/show_bug.cgi?id=737523 + # + # To make it easier to rewrite, we just always write @executable_path, since its significantly easier to + # find/replace at runtime. :) + # + # To permit string munging, decode the encoded bytes output by this command (i.e., enable the + # "universal_newlines" option). + # + # On Fedora, the default loaders cache is /usr/lib64, but the libdir is actually /lib64. To get around this, + # we pass the path to the loader command, and it will create a cache with the right path. + # + # On Windows, the loaders lib directory is relative, starts with 'lib', and uses \\ as path separators + # (escaped \). + cachedata = subprocess.run([gdk_pixbuf_query_loaders, *loader_libs], + check=True, + stdout=subprocess.PIPE, + encoding='utf-8').stdout + + output_lines = [] + prefix = '"' + os.path.join(libdir, 'gdk-pixbuf-2.0', '2.10.0') + plen = len(prefix) + + win_prefix = '"' + '\\\\'.join(['lib', 'gdk-pixbuf-2.0', '2.10.0']) + win_plen = len(win_prefix) + + msys2_prefix = '"' + os.path.abspath(os.path.join(libdir, '..', 'lib', 'gdk-pixbuf-2.0', '2.10.0')) + msys2_plen = len(msys2_prefix) + + # For each line in the updated loader cache... + for line in cachedata.splitlines(): + if line.startswith('#'): + continue + if line.startswith(prefix): + line = '"@executable_path/' + LOADER_CACHE_DEST_PATH + line[plen:] + elif line.startswith(win_prefix): + line = '"' + LOADER_CACHE_DEST_PATH.replace('/', '\\\\') + line[win_plen:] + elif line.startswith(msys2_prefix): + line = ('"' + LOADER_CACHE_DEST_PATH + line[msys2_plen:]).replace('/', '\\\\') + output_lines.append(line) + + return '\n'.join(output_lines) + + +def hook(hook_api): + module_info = GiModuleInfo('GdkPixbuf', '2.0') + if not module_info.available: + return + + binaries, datas, hiddenimports = module_info.collect_typelib_data() + + libdir = module_info.get_libdir() + + # Collect GdkPixbuf loaders and generate loader cache file + gdk_pixbuf_query_loaders = _find_gdk_pixbuf_query_loaders_executable(libdir) + logger.debug("gdk-pixbuf-query-loaders executable: %s", gdk_pixbuf_query_loaders) + if not gdk_pixbuf_query_loaders: + logger.warning("gdk-pixbuf-query-loaders executable not found in GI library directory or in PATH!") + else: + # Find all GdkPixbuf loader modules + loader_libs = _collect_loaders(libdir) + + # Collect discovered loaders + for lib in loader_libs: + binaries.append((lib, LOADER_MODULE_DEST_PATH)) + + # Generate loader cache; we need to store it to CONF['workpath'] so we can collect it as a data file. + cachedata = _generate_loader_cache(gdk_pixbuf_query_loaders, libdir, loader_libs) + cachefile = os.path.join(CONF['workpath'], 'loaders.cache') + with open(cachefile, 'w', encoding='utf-8') as fp: + fp.write(cachedata) + datas.append((cachefile, LOADER_CACHE_DEST_PATH)) + + # Collect translations + lang_list = get_hook_config(hook_api, "gi", "languages") + if gdk_pixbuf_query_loaders: + datas += collect_glib_translations('gdk-pixbuf', lang_list) + + hook_api.add_datas(datas) + hook_api.add_binaries(binaries) + hook_api.add_imports(*hiddenimports) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Gio.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Gio.py new file mode 100644 index 0000000..46a4351 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Gio.py @@ -0,0 +1,63 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +import glob +import os + +from PyInstaller import compat +import PyInstaller.log as logging +from PyInstaller.utils.hooks.gi import GiModuleInfo + +logger = logging.getLogger(__name__) + +module_info = GiModuleInfo('Gio', '2.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() + + # Find Gio modules + libdir = module_info.get_libdir() + modules_pattern = None + + if compat.is_win: + modules_pattern = os.path.join(libdir, 'gio', 'modules', '*.dll') + else: + gio_libdir = os.path.join(libdir, 'gio', 'modules') + if not os.path.exists(gio_libdir): + # homebrew installs the files elsewhere... + gio_libdir = os.path.join(os.path.commonprefix([compat.base_prefix, gio_libdir]), 'lib', 'gio', 'modules') + + if os.path.exists(gio_libdir): + modules_pattern = os.path.join(gio_libdir, '*.so') + else: + logger.warning('Could not determine Gio modules path!') + + if modules_pattern: + for f in glob.glob(modules_pattern): + binaries.append((f, 'gio_modules')) + else: + # To add a new platform add a new elif above with the proper is_ and proper pattern for finding the + # Gio modules on your platform. + logger.warning('Bundling Gio modules is not supported on your platform.') + + # Bundle the mime cache -- might not be needed on Windows + # -> this is used for content type detection (also used by GdkPixbuf) + # -> gio/xdgmime/xdgmime.c looks for mime/mime.cache in the users home directory, followed by XDG_DATA_DIRS if + # specified in the environment, otherwise it searches /usr/local/share/ and /usr/share/ + if not compat.is_win: + _mime_searchdirs = ['/usr/local/share', '/usr/share'] + if 'XDG_DATA_DIRS' in os.environ: + _mime_searchdirs.insert(0, os.environ['XDG_DATA_DIRS']) + + for sd in _mime_searchdirs: + spath = os.path.join(sd, 'mime', 'mime.cache') + if os.path.exists(spath): + datas.append((spath, 'share/mime')) + break diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Graphene.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Graphene.py new file mode 100644 index 0000000..bfa4d30 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Graphene.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('Graphene', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Gsk.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Gsk.py new file mode 100644 index 0000000..9229252 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Gsk.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('Gsk', '4.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Gst.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Gst.py new file mode 100644 index 0000000..939a37b --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Gst.py @@ -0,0 +1,93 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# GStreamer contains a lot of plugins. We need to collect them and bundle them with the exe file. We also need to +# resolve binary dependencies of these GStreamer plugins. + +import pathlib + +from PyInstaller.utils.hooks import get_hook_config, include_or_exclude_file +import PyInstaller.log as logging +from PyInstaller import isolated +from PyInstaller.utils.hooks.gi import GiModuleInfo, collect_glib_share_files, collect_glib_translations + +logger = logging.getLogger(__name__) + + +@isolated.decorate +def _get_gst_plugin_path(): + import os + import gi + gi.require_version('Gst', '1.0') + from gi.repository import Gst + Gst.init(None) + reg = Gst.Registry.get() + plug = reg.find_plugin('coreelements') + path = plug.get_filename() + return os.path.dirname(path) + + +def _format_plugin_pattern(plugin_name): + return f"**/*gst{plugin_name}.*" + + +def hook(hook_api): + module_info = GiModuleInfo('Gst', '1.0') + if not module_info.available: + return + + binaries, datas, hiddenimports = module_info.collect_typelib_data() + hiddenimports += ["gi.repository.Gio"] + + # Collect data files + datas += collect_glib_share_files('gstreamer-1.0') + + # Translations + lang_list = get_hook_config(hook_api, "gi", "languages") + for prog in [ + 'gst-plugins-bad-1.0', + 'gst-plugins-base-1.0', + 'gst-plugins-good-1.0', + 'gst-plugins-ugly-1.0', + 'gstreamer-1.0', + ]: + datas += collect_glib_translations(prog, lang_list) + + # Plugins + try: + plugin_path = _get_gst_plugin_path() + except Exception as e: + logger.warning("Failed to determine gstreamer plugin path: %s", e) + plugin_path = None + + if plugin_path: + plugin_path = pathlib.Path(plugin_path) + + # Obtain optional include/exclude list from hook config + include_list = get_hook_config(hook_api, "gstreamer", "include_plugins") + exclude_list = get_hook_config(hook_api, "gstreamer", "exclude_plugins") + + # Format plugin basenames into filename patterns for matching + if include_list is not None: + include_list = [_format_plugin_pattern(name) for name in include_list] + if exclude_list is not None: + exclude_list = [_format_plugin_pattern(name) for name in exclude_list] + + # The names of GStreamer plugins typically start with libgst (or just gst, depending on the toolchain). We also + # need to account for different extensions that might be used on a particular OS (for example, on macOS, the + # extension may be either .so or .dylib). + for lib_pattern in ['*gst*.dll', '*gst*.dylib', '*gst*.so']: + binaries += [(str(filename), 'gst_plugins') for filename in plugin_path.glob(lib_pattern) + if include_or_exclude_file(filename, include_list, exclude_list)] + + hook_api.add_datas(datas) + hook_api.add_binaries(binaries) + hook_api.add_imports(*hiddenimports) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstAllocators.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstAllocators.py new file mode 100644 index 0000000..119401a --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstAllocators.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstAllocators', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstApp.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstApp.py new file mode 100644 index 0000000..7c25a44 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstApp.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstApp', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstAudio.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstAudio.py new file mode 100644 index 0000000..cf18078 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstAudio.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstAudio', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstBadAudio.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstBadAudio.py new file mode 100644 index 0000000..0f345b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstBadAudio.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstBadAudio', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstBase.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstBase.py new file mode 100644 index 0000000..ea6187b --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstBase.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstBase', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstCheck.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstCheck.py new file mode 100644 index 0000000..e631995 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstCheck.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstCheck', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstCodecs.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstCodecs.py new file mode 100644 index 0000000..ffa643e --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstCodecs.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstCodecs', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstController.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstController.py new file mode 100644 index 0000000..c928843 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstController.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstController', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstGL.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstGL.py new file mode 100644 index 0000000..0075eb0 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstGL.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstGL', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstGLEGL.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstGLEGL.py new file mode 100644 index 0000000..a3f557d --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstGLEGL.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstGLEGL', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstGLWayland.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstGLWayland.py new file mode 100644 index 0000000..6ef146d --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstGLWayland.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstGLWayland', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstGLX11.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstGLX11.py new file mode 100644 index 0000000..dd68570 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstGLX11.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstGLX11', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstInsertBin.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstInsertBin.py new file mode 100644 index 0000000..c7980bc --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstInsertBin.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstInsertBin', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstMpegts.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstMpegts.py new file mode 100644 index 0000000..b690192 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstMpegts.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstMpegts', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstNet.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstNet.py new file mode 100644 index 0000000..0c268af --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstNet.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstNet', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstPbutils.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstPbutils.py new file mode 100644 index 0000000..173b695 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstPbutils.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstPbutils', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstPlay.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstPlay.py new file mode 100644 index 0000000..edb6020 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstPlay.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstPlay', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstPlayer.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstPlayer.py new file mode 100644 index 0000000..80cb93f --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstPlayer.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstPlayer', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstRtp.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstRtp.py new file mode 100644 index 0000000..d18e58d --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstRtp.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstRtp', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstRtsp.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstRtsp.py new file mode 100644 index 0000000..09382dd --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstRtsp.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstRtsp', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstRtspServer.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstRtspServer.py new file mode 100644 index 0000000..d023c3f --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstRtspServer.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstRtspServer', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstSdp.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstSdp.py new file mode 100644 index 0000000..2a78e2b --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstSdp.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstSdp', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstTag.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstTag.py new file mode 100644 index 0000000..dbac756 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstTag.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstTag', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstTranscoder.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstTranscoder.py new file mode 100644 index 0000000..3cc1dcf --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstTranscoder.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstTranscoder', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstVideo.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstVideo.py new file mode 100644 index 0000000..398b503 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstVideo.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstVideo', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstVulkan.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstVulkan.py new file mode 100644 index 0000000..588c073 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstVulkan.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstVulkan', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstVulkanWayland.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstVulkanWayland.py new file mode 100644 index 0000000..aaef939 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstVulkanWayland.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstVulkanWayland', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstVulkanXCB.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstVulkanXCB.py new file mode 100644 index 0000000..2351a13 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstVulkanXCB.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstVulkanXCB', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstWebRTC.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstWebRTC.py new file mode 100644 index 0000000..9fcac06 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GstWebRTC.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GstWebRTC', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Gtk.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Gtk.py new file mode 100644 index 0000000..2495b1d --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Gtk.py @@ -0,0 +1,59 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +import os +import os.path + +from PyInstaller.compat import is_win +from PyInstaller.utils.hooks import get_hook_config +from PyInstaller.utils.hooks.gi import GiModuleInfo, collect_glib_etc_files, collect_glib_share_files, \ + collect_glib_translations + + +def hook(hook_api): + module_info = GiModuleInfo('Gtk', '3.0', hook_api=hook_api) # Pass hook_api to read version from hook config + if not module_info.available: + return + + binaries, datas, hiddenimports = module_info.collect_typelib_data() + + # Collect fontconfig data + datas += collect_glib_share_files('fontconfig') + + # Icons, themes, translations + icon_list = get_hook_config(hook_api, "gi", "icons") + if icon_list is not None: + for icon in icon_list: + datas += collect_glib_share_files(os.path.join('icons', icon)) + else: + datas += collect_glib_share_files('icons') + + # Themes + theme_list = get_hook_config(hook_api, "gi", "themes") + if theme_list is not None: + for theme in theme_list: + datas += collect_glib_share_files(os.path.join('themes', theme)) + else: + datas += collect_glib_share_files('themes') + + # Translations + lang_list = get_hook_config(hook_api, "gi", "languages") + datas += collect_glib_translations(f'gtk{module_info.version[0]}0', lang_list) + + # These only seem to be required on Windows + if is_win: + datas += collect_glib_etc_files('fonts') + datas += collect_glib_etc_files('pango') + datas += collect_glib_share_files('fonts') + + hook_api.add_datas(datas) + hook_api.add_binaries(binaries) + hook_api.add_imports(*hiddenimports) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GtkChamplain.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GtkChamplain.py new file mode 100644 index 0000000..777b620 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GtkChamplain.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GtkChamplain', '0.12') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GtkClutter.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GtkClutter.py new file mode 100644 index 0000000..cc4fcd7 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GtkClutter.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('GtkClutter', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GtkSource.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GtkSource.py new file mode 100644 index 0000000..5e7efa7 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GtkSource.py @@ -0,0 +1,31 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo, collect_glib_share_files + + +def hook(hook_api): + module_info = GiModuleInfo('GtkSource', '3.0', hook_api=hook_api) # Pass hook_api to read version from hook config + if not module_info.available: + return + + binaries, datas, hiddenimports = module_info.collect_typelib_data() + + # Collect data files + # The data directory name contains verbatim version, e.g.: + # * GtkSourceView-3.0 -> /usr/share/gtksourceview-3.0 + # * GtkSourceView-4 -> /usr/share/gtksourceview-4 + # * GtkSourceView-5 -> /usr/share/gtksourceview-5 + datas += collect_glib_share_files(f'gtksourceview-{module_info.version}') + + hook_api.add_datas(datas) + hook_api.add_binaries(binaries) + hook_api.add_imports(*hiddenimports) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GtkosxApplication.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GtkosxApplication.py new file mode 100644 index 0000000..3437edf --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.GtkosxApplication.py @@ -0,0 +1,18 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.compat import is_darwin +from PyInstaller.utils.hooks.gi import GiModuleInfo + +if is_darwin: + module_info = GiModuleInfo('GtkosxApplication', '1.0') + if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.HarfBuzz.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.HarfBuzz.py new file mode 100644 index 0000000..41cef14 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.HarfBuzz.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('HarfBuzz', '0.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Pango.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Pango.py new file mode 100644 index 0000000..3d8b865 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Pango.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('Pango', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.PangoCairo.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.PangoCairo.py new file mode 100644 index 0000000..7c058fd --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.PangoCairo.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('PangoCairo', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Rsvg.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Rsvg.py new file mode 100644 index 0000000..e3ad6d2 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.Rsvg.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('Rsvg', '2.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.cairo.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.cairo.py new file mode 100644 index 0000000..71fed30 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.cairo.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('cairo', '1.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.freetype2.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.freetype2.py new file mode 100644 index 0000000..ffea7a1 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.freetype2.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('freetype2', '2.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.xlib.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.xlib.py new file mode 100644 index 0000000..1c2bde3 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-gi.repository.xlib.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks.gi import GiModuleInfo + +module_info = GiModuleInfo('xlib', '2.0') +if module_info.available: + binaries, datas, hiddenimports = module_info.collect_typelib_data() diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-heapq.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-heapq.py new file mode 100644 index 0000000..373025f --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-heapq.py @@ -0,0 +1,13 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2015-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# Only required when run as `__main__`. +excludedimports = ["doctest"] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-idlelib.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-idlelib.py new file mode 100644 index 0000000..505378d --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-idlelib.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('idlelib') diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-importlib_metadata.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-importlib_metadata.py new file mode 100644 index 0000000..7abf511 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-importlib_metadata.py @@ -0,0 +1,24 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2019-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +importlib_metadata is a library to access the metadata for a Python package. This functionality intends to replace most +uses of pkg_resources entry point API and metadata API. +""" + +from PyInstaller.utils.hooks import copy_metadata + +# Normally, we should never need to use copy_metadata() in a hook since metadata requirements detection is now +# automatic. However, that detection first uses `PyiModuleGraph.get_code_using("importlib_metadata")` to find +# files which `import importlib_metadata` and `get_code_using()` intentionally excludes internal imports. This +# means that importlib_metadata is not scanned for usages of importlib_metadata and therefore when +# importlib_metadata uses its own API to get its version, this goes undetected. Therefore, we must collect its +# metadata manually. +datas = copy_metadata('importlib_metadata') diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-importlib_resources.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-importlib_resources.py new file mode 100644 index 0000000..b43b19b --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-importlib_resources.py @@ -0,0 +1,22 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2019-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +`importlib_resources` is a backport of the 3.9+ module `importlib.resources` +""" + +from PyInstaller.utils.hooks import check_requirement, collect_data_files + +# Prior to v1.2.0, a `version.txt` file is used to set __version__. Later versions use `importlib.metadata`. +if check_requirement("importlib_resources < 1.2.0"): + datas = collect_data_files("importlib_resources", includes=["version.txt"]) + +if check_requirement("importlib_resources >= 1.3.1"): + hiddenimports = ['importlib_resources.trees'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-keyring.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-keyring.py new file mode 100644 index 0000000..acbd5ff --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-keyring.py @@ -0,0 +1,19 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2014-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import collect_submodules, copy_metadata + +# Collect backends +hiddenimports = collect_submodules('keyring.backends') + +# Keyring performs backend plugin discovery using setuptools entry points, which are listed in the metadata. Therefore, +# we need to copy the metadata, otherwise no backends will be found at run-time. +datas = copy_metadata('keyring') diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-kivy.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-kivy.py new file mode 100644 index 0000000..fd01f06 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-kivy.py @@ -0,0 +1,25 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2015-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller import log as logging +from PyInstaller.utils.hooks import check_requirement + +if check_requirement('kivy >= 1.9.1'): + from kivy.tools.packaging.pyinstaller_hooks import (add_dep_paths, get_deps_all, get_factory_modules, kivy_modules) + from kivy.tools.packaging.pyinstaller_hooks import excludedimports, datas # noqa: F401 + + add_dep_paths() + + hiddenimports = get_deps_all()['hiddenimports'] + hiddenimports = list(set(get_factory_modules() + kivy_modules + hiddenimports)) +else: + logger = logging.getLogger(__name__) + logger.warning('Hook disabled because of Kivy version < 1.9.1') diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-lib2to3.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-lib2to3.py new file mode 100644 index 0000000..83b0f08 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-lib2to3.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# This is needed to bundle lib2to3 Grammars files + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('lib2to3') diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.backend_bases.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.backend_bases.py new file mode 100644 index 0000000..f65344c --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.backend_bases.py @@ -0,0 +1,12 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +excludedimports = ['IPython'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.backends.backend_qtagg.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.backends.backend_qtagg.py new file mode 100644 index 0000000..b3067db --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.backends.backend_qtagg.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# This module conditionally imports PyQt6: +# https://github.com/matplotlib/matplotlib/blob/9e18a343fb58a2978a8e27df03190ed21c61c343/lib/matplotlib/backends/backend_qtagg.py#L52-L53 +# Suppress this import to prevent PyQt6 from being accidentally pulled in; the actually relevant Qt bindings are +# determined by our hook for `matplotlib.backends.qt_compat` module. +excludedimports = ['PyQt6'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.backends.backend_qtcairo.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.backends.backend_qtcairo.py new file mode 100644 index 0000000..0b9174b --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.backends.backend_qtcairo.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# This module conditionally imports PyQt6: +# https://github.com/matplotlib/matplotlib/blob/9e18a343fb58a2978a8e27df03190ed21c61c343/lib/matplotlib/backends/backend_qtcairo.py#L24-L25 +# Suppress this import to prevent PyQt6 from being accidentally pulled in; the actually relevant Qt bindings are +# determined by our hook for `matplotlib.backends.qt_compat` module. +excludedimports = ['PyQt6'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.backends.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.backends.py new file mode 100644 index 0000000..935ca80 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.backends.py @@ -0,0 +1,226 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.compat import is_darwin +from PyInstaller.utils.hooks import logger, get_hook_config +from PyInstaller import isolated + + +@isolated.decorate +def _get_configured_default_backend(): + """ + Return the configured default matplotlib backend name, if available as matplotlib.rcParams['backend'] (or overridden + by MPLBACKEND environment variable. If the value of matplotlib.rcParams['backend'] corresponds to the auto-sentinel + object, returns None + """ + import matplotlib + # matplotlib.rcParams overrides the __getitem__ implementation and attempts to determine and load the default + # backend using pyplot.switch_backend(). Therefore, use dict.__getitem__(). + val = dict.__getitem__(matplotlib.rcParams, 'backend') + if isinstance(val, str): + return val + return None + + +@isolated.decorate +def _list_available_mpl_backends(): + """ + Returns the names of all available matplotlib backends. + """ + import matplotlib + return matplotlib.rcsetup.all_backends + + +@isolated.decorate +def _check_mpl_backend_importable(module_name): + """ + Attempts to import the given module name (matplotlib backend module). + + Exceptions are propagated to caller. + """ + __import__(module_name) + + +# Bytecode scanning +def _recursive_scan_code_objects_for_mpl_use(co): + """ + Recursively scan the bytecode for occurrences of matplotlib.use() or mpl.use() calls with const arguments, and + collect those arguments into list of used matplotlib backend names. + """ + + from PyInstaller.depend.bytecode import any_alias, recursive_function_calls + + mpl_use_names = { + *any_alias("matplotlib.use"), + *any_alias("mpl.use"), # matplotlib is commonly aliased as mpl + } + + backends = [] + for calls in recursive_function_calls(co).values(): + for name, args in calls: + # matplotlib.use(backend) or matplotlib.use(backend, force) + # We support only literal arguments. Similarly, kwargs are + # not supported. + if len(args) not in {1, 2} or not isinstance(args[0], str): + continue + if name in mpl_use_names: + backends.append(args[0]) + + return backends + + +def _backend_module_name(name): + """ + Converts matplotlib backend name to its corresponding module name. + + Equivalent to matplotlib.cbook._backend_module_name(). + """ + if name.startswith("module://"): + return name[9:] + return f"matplotlib.backends.backend_{name.lower()}" + + +def _autodetect_used_backends(hook_api): + """ + Returns a list of automatically-discovered matplotlib backends in use, or the name of the default matplotlib + backend. Implements the 'auto' backend selection method. + """ + # Scan the code for matplotlib.use() + modulegraph = hook_api.analysis.graph + mpl_code_objs = modulegraph.get_code_using("matplotlib") + used_backends = [] + for name, co in mpl_code_objs.items(): + co_backends = _recursive_scan_code_objects_for_mpl_use(co) + if co_backends: + logger.info( + "Discovered Matplotlib backend(s) via `matplotlib.use()` call in module %r: %r", name, co_backends + ) + used_backends += co_backends + + # Deduplicate and sort the list of used backends before displaying it. + used_backends = sorted(set(used_backends)) + + if used_backends: + HOOK_CONFIG_DOCS = 'https://pyinstaller.org/en/stable/hooks-config.html#matplotlib-hooks' + logger.info( + "The following Matplotlib backends were discovered by scanning for `matplotlib.use()` calls: %r. If your " + "backend of choice is not in this list, either add a `matplotlib.use()` call to your code, or configure " + "the backend collection via hook options (see: %s).", used_backends, HOOK_CONFIG_DOCS + ) + return used_backends + + # Determine the default matplotlib backend. + # + # Ideally, this would be done by calling ``matplotlib.get_backend()``. However, that function tries to switch to the + # default backend (calling ``matplotlib.pyplot.switch_backend()``), which seems to occasionally fail on our linux CI + # with an error and, on other occasions, returns the headless Agg backend instead of the GUI one (even with display + # server running). Furthermore, using ``matplotlib.get_backend()`` returns headless 'Agg' when display server is + # unavailable, which is not ideal for automated builds. + # + # Therefore, we try to emulate ``matplotlib.get_backend()`` ourselves. First, we try to obtain the configured + # default backend from settings (rcparams and/or MPLBACKEND environment variable). If that is unavailable, we try to + # find the first importable GUI-based backend, using the same list as matplotlib.pyplot.switch_backend() uses for + # automatic backend selection. The difference is that we only test whether the backend module is importable, without + # trying to switch to it. + default_backend = _get_configured_default_backend() # isolated sub-process + if default_backend: + logger.info("Found configured default matplotlib backend: %s", default_backend) + return [default_backend] + + # `QtAgg` supersedes `Qt5Agg`; however, we keep `Qt5Agg` in the candidate list to support older versions of + # matplotlib that do not have `QtAgg`. + candidates = ["QtAgg", "Qt5Agg", "Gtk4Agg", "Gtk3Agg", "TkAgg", "WxAgg"] + if is_darwin: + candidates = ["MacOSX"] + candidates + logger.info("Trying determine the default backend as first importable candidate from the list: %r", candidates) + + for candidate in candidates: + try: + module_name = _backend_module_name(candidate) + _check_mpl_backend_importable(module_name) # NOTE: uses an isolated sub-process. + except Exception: + continue + return [candidate] + + # Fall back to headless Agg backend + logger.info("None of the backend candidates could be imported; falling back to headless Agg!") + return ['Agg'] + + +def _collect_all_importable_backends(hook_api): + """ + Returns a list of all importable matplotlib backends. Implements the 'all' backend selection method. + """ + # List of the human-readable names of all available backends. + backend_names = _list_available_mpl_backends() # NOTE: retrieved in an isolated sub-process. + logger.info("All available matplotlib backends: %r", backend_names) + + # Try to import the module(s). + importable_backends = [] + + # List of backends to exclude; Qt4 is not supported by PyInstaller anymore. + exclude_backends = {'Qt4Agg', 'Qt4Cairo'} + + # Ignore "CocoaAgg" on OSes other than macOS; attempting to import it on other OSes halts the current + # (sub)process without printing output or raising exceptions, preventing reliable detection. Apply the + # same logic for the (newer) "MacOSX" backend. + if not is_darwin: + exclude_backends |= {'CocoaAgg', 'MacOSX'} + + # For safety, attempt to import each backend in an isolated sub-process. + for backend_name in backend_names: + if backend_name in exclude_backends: + logger.info(' Matplotlib backend %r: excluded', backend_name) + continue + + try: + module_name = _backend_module_name(backend_name) + _check_mpl_backend_importable(module_name) # NOTE: uses an isolated sub-process. + except Exception: + # Backend is not importable, for whatever reason. + logger.info(' Matplotlib backend %r: ignored due to import error', backend_name) + continue + + logger.info(' Matplotlib backend %r: added', backend_name) + importable_backends.append(backend_name) + + return importable_backends + + +def hook(hook_api): + # Backend collection setting + backends_method = get_hook_config(hook_api, 'matplotlib', 'backends') + if backends_method is None: + backends_method = 'auto' # default method + + # Select backend(s) + if backends_method == 'auto': + logger.info("Matplotlib backend selection method: automatic discovery of used backends") + backend_names = _autodetect_used_backends(hook_api) + elif backends_method == 'all': + logger.info("Matplotlib backend selection method: collection of all importable backends") + backend_names = _collect_all_importable_backends(hook_api) + else: + logger.info("Matplotlib backend selection method: user-provided name(s)") + if isinstance(backends_method, str): + backend_names = [backends_method] + else: + assert isinstance(backends_method, list), "User-provided backend name(s) must be either a string or a list!" + backend_names = backends_method + + # Deduplicate and sort the list of selected backends before displaying it. + backend_names = sorted(set(backend_names)) + + logger.info("Selected matplotlib backends: %r", backend_names) + + # Set module names as hiddenimports + module_names = [_backend_module_name(backend) for backend in backend_names] # backend name -> module name + hook_api.add_imports(*module_names) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.backends.qt_compat.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.backends.qt_compat.py new file mode 100644 index 0000000..4e12fff --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.backends.qt_compat.py @@ -0,0 +1,26 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import qt as qtutils + +# This module conditionally imports all Qt bindings. Prevent all available bindings from being pulled in by trying to +# select the most applicable one. +# +# The preference order for this module appears to be: PyQt6, PySide6, PyQt5, PySide2 (or just PyQt5, PySide2 if Qt5 +# bindings are forced). See: +# https://github.com/matplotlib/matplotlib/blob/9e18a343fb58a2978a8e27df03190ed21c61c343/lib/matplotlib/backends/qt_compat.py#L113-L125 +# +# We, however, use the default preference order of the helper function, in order to keep it consistent across multiple +# hooks that use the same helper. +excludedimports = qtutils.exclude_extraneous_qt_bindings( + hook_name="hook-matplotlib.backends.qt_compat", + qt_bindings_order=None, +) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.numerix.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.numerix.py new file mode 100644 index 0000000..924b400 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.numerix.py @@ -0,0 +1,21 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +The matplotlib.numerix package sneaks these imports in under the radar. +""" + +hiddenimports = [ + 'fft', + 'linear_algebra', + 'random_array', + 'ma', + 'mlab', +] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.py new file mode 100644 index 0000000..e628e9b --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.py @@ -0,0 +1,38 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller import isolated +from PyInstaller import compat +from PyInstaller.utils import hooks as hookutils + + +@isolated.decorate +def mpl_data_dir(): + import matplotlib + return matplotlib.get_data_path() + + +datas = [ + (mpl_data_dir(), "matplotlib/mpl-data"), +] + +binaries = [] + +# Windows PyPI wheels for `matplotlib` >= 3.7.0 use `delvewheel`. +# In addition to DLLs from `matplotlib.libs` directory, which should be picked up automatically by dependency analysis +# in contemporary PyInstaller versions, we also need to collect the load-order file. This used to be required for +# python <= 3.7 (that lacked `os.add_dll_directory`), but is also needed for Anaconda python 3.8 and 3.9, where +# `delvewheel` falls back to load-order file codepath due to Anaconda breaking `os.add_dll_directory` implementation. +if compat.is_win and hookutils.check_requirement('matplotlib >= 3.7.0'): + delvewheel_datas, delvewheel_binaries = hookutils.collect_delvewheel_libs_directory('matplotlib') + + datas += delvewheel_datas + binaries += delvewheel_binaries diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.pyplot.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.pyplot.py new file mode 100644 index 0000000..2f78597 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-matplotlib.pyplot.py @@ -0,0 +1,12 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +excludedimports = ['IPython', "IPython.core.pylabtools"] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-multiprocessing.util.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-multiprocessing.util.py new file mode 100644 index 0000000..b9363ba --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-multiprocessing.util.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# In Python 3.8 mutliprocess.utils has _cleanup_tests() to cleanup multiprocessing resources when multiprocessing tests +# completed. This function import `tests` which is the complete Python test-suite, pulling in many more dependencies, +# e.g., tkinter. + +excludedimports = ['test'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-numpy.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-numpy.py new file mode 100644 index 0000000..b83132e --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-numpy.py @@ -0,0 +1,122 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. Additional +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# --- Copyright Disclaimer --- +# +# An earlier copy of this hook has been submitted to the NumPy project, where it was integrated in v1.23.0rc1 +# (https://github.com/numpy/numpy/pull/20745), under terms and conditions outlined in their repository [1]. +# +# A special provision is hereby granted to the NumPy project that allows the NumPy copy of the hook to incorporate the +# changes made to this (PyInstaller's) copy of the hook, subject to their licensing terms as opposed to PyInstaller's +# (stricter) licensing terms. +# +# .. refs: +# +# [1] NumPy's license: https://github.com/numpy/numpy/blob/master/LICENSE.txt + +# NOTE: when comparing the contents of this hook and the NumPy version of the hook (for example, to port changes), keep +# in mind that this copy is PyInstaller-centric - it caters to the version of PyInstaller it is bundled with, but needs +# to account for different behavior of different NumPy versions. In contrast, the NumPy copy of the hook caters to the +# version of NumPy it is bundled with, but should account for behavior differences in different PyInstaller versions. + +# Override the default hook priority so that our copy of hook is used instead of NumPy's one (which has priority 0, +# the default for upstream hooks). +# $PyInstaller-Hook-Priority: 1 + +from PyInstaller import compat +from PyInstaller.utils.hooks import ( + get_installer, + collect_dynamic_libs, +) + +from packaging.version import Version + +numpy_version = Version(compat.importlib_metadata.version("numpy")).release +numpy_installer = get_installer('numpy') + +hiddenimports = [] +datas = [] +binaries = [] + +# Collect shared libraries that are bundled inside the numpy's package directory. With PyInstaller 6.x, the directory +# layout of collected shared libraries should be preserved (to match behavior of the binary dependency analysis). In +# earlier versions of PyInstaller, it was necessary to collect the shared libraries into application's top-level +# directory (because that was also what binary dependency analysis in PyInstaller < 6.0 did). +binaries += collect_dynamic_libs("numpy") + +# Check if we are using Anaconda-packaged numpy +if numpy_installer == 'conda': + # Collect DLLs for NumPy and its dependencies (MKL, OpenBlas, OpenMP, etc.) from the communal Conda bin directory. + from PyInstaller.utils.hooks import conda_support + datas += conda_support.collect_dynamic_libs("numpy", dependencies=True) + +# NumPy 1.26 started using `delvewheel` for its Windows PyPI wheels. While contemporary PyInstaller versions +# automatically pick up DLLs from external `numpy.libs` directory, this does not work on Anaconda python 3.8 and 3.9 +# due to defunct `os.add_dll_directory`, which forces `delvewheel` to use the old load-order file approach. So we need +# to explicitly ensure that load-order file as well as DLLs are collected. +if compat.is_win and numpy_version >= (1, 26) and numpy_installer == 'pip': + from PyInstaller.utils.hooks import collect_delvewheel_libs_directory + datas, binaries = collect_delvewheel_libs_directory("numpy", datas=datas, binaries=binaries) + +# Submodules PyInstaller cannot detect (probably because they are only imported by extension modules, which PyInstaller +# cannot read). +if numpy_version >= (2, 0): + # In v2.0.0, `numpy.core` was renamed to `numpy._core`. + # See https://github.com/numpy/numpy/commit/47b70cbffd672849a5d3b9b6fa6e515700460fd0 + hiddenimports += ['numpy._core._dtype_ctypes', 'numpy._core._multiarray_tests'] +else: + hiddenimports += ['numpy.core._dtype_ctypes'] + + # See https://github.com/numpy/numpy/commit/99104bd2d0557078d7ea9a590129c87dd63df623 + if numpy_version >= (1, 25): + hiddenimports += ['numpy.core._multiarray_tests'] + +# Starting with v2.3.0, we need to add `numpy._core._exceptions` to hiddenimports; in previous versions, this module +# was picked up due to explicit import in `numpy._core._methods`, which was removed as part of cleanup in +# https://github.com/numpy/numpy/commit/a51a4f5c10aa9b7962ff1e7e9b5f9b7d91c51489 +if numpy_version >= (2, 3, 0): + hiddenimports += ['numpy._core._exceptions'] + +# This hidden import was removed from NumPy hook in v1.25.0 (https://github.com/numpy/numpy/pull/22666). According to +# comment in the linked PR, it should have been unnecessary since v1.19. +if compat.is_conda and numpy_version < (1, 19): + hiddenimports += ["six"] + +# Remove testing and building code and packages that are referenced throughout NumPy but are not really dependencies. +excludedimports = [ + "scipy", + "pytest", + "nose", + "f2py", + "setuptools", +] + +# As of v1.22.0, numpy.testing (imported for example by some scipy modules) requires numpy.distutils and distutils. +# This was due to numpy.testing adding import of numpy.testing._private.extbuild, which in turn imported numpy.distutils +# and distutils. These imports were moved into functions that require them in v1.22.2 and v.1.23.0. +# See: https://github.com/numpy/numpy/pull/20831 and https://github.com/numpy/numpy/pull/20906 +# So we can exclude them for all numpy versions except for v1.22.0 and v1.22.1 - the main motivation is to avoid pulling +# in `setuptools` (which nowadays provides its vendored version of `distutils`). +if numpy_version < (1, 22, 0) or numpy_version > (1, 22, 1): + excludedimports += [ + "distutils", + "numpy.distutils", + ] + +# In numpy v2.0.0, numpy.f2py submodule has been added to numpy's `__all__` attribute. Therefore, using +# `from numpy import *` leads to an error if `numpy.f2py` is excluded (seen in scipy 1.14). The exclusion in earlier +# releases was not reported to cause any issues, so keep it around. Although it should be noted that it does break an +# explicit import (i.e., `import numpy.f2py`) from user's code as well, because it prevents collection of other +# submodules from `numpy.f2py`. +if numpy_version < (2, 0): + excludedimports += [ + "numpy.f2py", + ] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-pandas.io.clipboard.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-pandas.io.clipboard.py new file mode 100644 index 0000000..2395920 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-pandas.io.clipboard.py @@ -0,0 +1,19 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# This module conditionally imports PyQt5: +# https://github.com/pandas-dev/pandas/blob/95308514e1221200e4526dfaf248283f3d7ade06/pandas/io/clipboard/__init__.py#L578-L597 +# Suppress this import to prevent PyQt5 from being accidentally pulled in; the actually relevant Qt bindings are +# determined by our hook for `qtpy` module, which contemporary versions of pandas mandate as part of `clipboard` and +# `all` extras: +# https://github.com/pandas-dev/pandas/blob/95308514e1221200e4526dfaf248283f3d7ade06/pyproject.toml#L86 +# https://github.com/pandas-dev/pandas/blob/95308514e1221200e4526dfaf248283f3d7ade06/pyproject.toml#L115 +excludedimports = ['PyQt5'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-pandas.io.formats.style.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-pandas.io.formats.style.py new file mode 100644 index 0000000..2a56828 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-pandas.io.formats.style.py @@ -0,0 +1,18 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import collect_data_files + +# This module indirectly imports jinja2 +hiddenimports = ['jinja2'] + +# It also requires template file stored in pandas/io/formats/templates +datas = collect_data_files('pandas.io.formats') diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-pandas.plotting.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-pandas.plotting.py new file mode 100644 index 0000000..948dd88 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-pandas.plotting.py @@ -0,0 +1,18 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import check_requirement + +# Starting with pandas 1.3.0, pandas.plotting._matplotlib is imported via importlib.import_module() and needs to be +# added to hidden imports. But do this only if matplotlib is available in the first place (as it is soft dependency +# of pandas). +if check_requirement('pandas >= 1.3.0') and check_requirement('matplotlib'): + hiddenimports = ['pandas.plotting._matplotlib'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-pandas.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-pandas.py new file mode 100644 index 0000000..7b3acad --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-pandas.py @@ -0,0 +1,20 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2017-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import collect_submodules, check_requirement + +# Pandas keeps Python extensions loaded with dynamic imports here. +hiddenimports = collect_submodules('pandas._libs') + +# Pandas 1.2.0 and later require cmath hidden import on linux and macOS. On Windows, this is not strictly required, but +# we add it anyway to keep things simple (and future-proof). +if check_requirement('pandas >= 1.2.0'): + hiddenimports += ['cmath'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-pickle.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-pickle.py new file mode 100644 index 0000000..8d023bb --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-pickle.py @@ -0,0 +1,13 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2015-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# Only required when run as `__main__` +excludedimports = ["argparse", "doctest"] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-pkg_resources.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-pkg_resources.py new file mode 100644 index 0000000..286671f --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-pkg_resources.py @@ -0,0 +1,68 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import collect_submodules, can_import_module +from PyInstaller.utils.hooks.setuptools import setuptools_info + +hiddenimports = [] +excludedimports = ['__main__'] + +# pkg_resources keeps vendored modules in its _vendor subpackage, and does sys.meta_path based import magic to expose +# them as pkg_resources.extern.* +# +# With setuptools >= 71.0, pkg_resources ceased to vendor packages, because vendoring is now done at the setuptools +# level. +if setuptools_info.available and setuptools_info.version < (71, 0, 0): + # The `railroad` package is an optional requirement for `pyparsing`. `pyparsing.diagrams` depends on `railroad`, so + # filter it out when `railroad` is not available. + if can_import_module('railroad'): + hiddenimports += collect_submodules('pkg_resources._vendor') + else: + hiddenimports += collect_submodules( + 'pkg_resources._vendor', filter=lambda name: 'pkg_resources._vendor.pyparsing.diagram' not in name + ) + + # pkg_resources v45.0 dropped support for Python 2 and added this module printing a warning. We could save some + # bytes if we would replace this by a fake module. + if setuptools_info.version >= (45, 0, 0) and setuptools_info.version < (49, 1, 1): + hiddenimports += ['pkg_resources.py2_warn'] + + # As of v60.7, setuptools vendored jaraco and has pkg_resources use it. Currently, the pkg_resources._vendor.jaraco + # namespace package cannot be automatically scanned due to limited support for pure namespace packages in our hook + # utilities. + # + # In setuptools 60.7.0, the vendored jaraco.text package included "Lorem Ipsum.txt" data file, which also has to be + # collected. However, the presence of the data file (and the resulting directory hierarchy) confuses the importer's + # redirection logic; instead of trying to work-around that, tell user to upgrade or downgrade their setuptools. + if setuptools_info.version == (60, 7, 0): + raise SystemExit( + "ERROR: Setuptools 60.7.0 is incompatible with PyInstaller. " + "Downgrade to an earlier version or upgrade to a later version." + ) + # In setuptools 60.7.1, the "Lorem Ipsum.txt" data file was dropped from the vendored jaraco.text package, so we can + # accommodate it with couple of hidden imports. + elif setuptools_info.version >= (60, 7, 1): + hiddenimports += [ + 'pkg_resources._vendor.jaraco.functools', + 'pkg_resources._vendor.jaraco.context', + 'pkg_resources._vendor.jaraco.text', + ] + + # As of setuptools 70.0.0, we need pkg_resources.extern added to hidden imports. + if setuptools_info.version >= (70, 0, 0): + hiddenimports += [ + 'pkg_resources.extern', + ] + +# Some more hidden imports. See: +# https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/15#issuecomment-663699288 `packaging` can either be +# its own package, or embedded in `pkg_resources._vendor.packaging`, or both. +hiddenimports += collect_submodules('packaging') diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-platform.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-platform.py new file mode 100644 index 0000000..d1d8e1d --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-platform.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +import sys + +# see https://github.com/python/cpython/blob/3.9/Lib/platform.py#L411 +# This will exclude `plistlib` for sys.platform != 'darwin' +if sys.platform != 'darwin': + excludedimports = ["plistlib"] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-pygments.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-pygments.py new file mode 100644 index 0000000..529d82b --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-pygments.py @@ -0,0 +1,29 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +PyInstaller hook file for Pygments. Tested with version 2.0.2. +""" + +from PyInstaller.utils.hooks import collect_submodules + +# The following applies to pygments version 2.0.2, as reported by ``pip show pygments``. +# +# From pygments.formatters, line 37:: +# +# def _load_formatters(module_name): +# """Load a formatter (and all others in the module too).""" +# mod = __import__(module_name, None, None, ['__all__']) +# +# Therefore, we need all the modules in ``pygments.formatters``. + +hiddenimports = collect_submodules('pygments.formatters') +hiddenimports.extend(collect_submodules('pygments.lexers')) +hiddenimports.extend(collect_submodules('pygments.styles')) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-pytz.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-pytz.py new file mode 100644 index 0000000..a44d29a --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-pytz.py @@ -0,0 +1,20 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import collect_data_files + +# On Linux pytz installed from distribution repository uses zoneinfo from /usr/share/zoneinfo/ and no data files might +# be collected. +datas = collect_data_files('pytz') + +# pytz references pkg_resources in a fall-back codepath that should normally not be reached; add an exclude to prevent +# (now deprecated) pkg_resources from being pulled in the frozen application. +excludedimports = ['pkg_resources'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-pytzdata.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-pytzdata.py new file mode 100644 index 0000000..e45626c --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-pytzdata.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("pytzdata") diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-qtawesome.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-qtawesome.py new file mode 100644 index 0000000..9829a03 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-qtawesome.py @@ -0,0 +1,19 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2017-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Hook for QtAwesome (https://github.com/spyder-ide/qtawesome). +Font files and charmaps need to be included with module. +Tested with QtAwesome 0.4.4 and Python 3.6 on macOS 10.12.4. +""" + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('qtawesome') diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-qtpy.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-qtpy.py new file mode 100644 index 0000000..a6ce00c --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-qtpy.py @@ -0,0 +1,25 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import qt as qtutils + +# This module conditionally imports all Qt bindings. Prevent all available bindings from being pulled in by trying to +# select the most applicable one. +# +# The preference order for this module appears to be: PyQt5, PySide2, PyQt6, PySide6. See: +# https://github.com/spyder-ide/qtpy/blob/3238de7a3e038daeb585c1a76fd9a0c4baf22f11/qtpy/__init__.py#L199-L289 +# +# We, however, use the default preference order of the helper function, in order to keep it consistent across multiple +# hooks that use the same helper. +excludedimports = qtutils.exclude_extraneous_qt_bindings( + hook_name="hook-qtpy", + qt_bindings_order=None, +) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-scapy.layers.all.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-scapy.layers.all.py new file mode 100644 index 0000000..fdcc779 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-scapy.layers.all.py @@ -0,0 +1,19 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import collect_submodules + +# The layers to load can be configured using scapy's conf.load_layers. +# from scapy.config import conf; print(conf.load_layers) +# I decided not to use this, but to include all layer modules. The reason is: When building the package, load_layers may +# not include all the layer modules the program will use later. + +hiddenimports = collect_submodules('scapy.layers') diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.io.matlab.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.io.matlab.py new file mode 100644 index 0000000..c69c767 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.io.matlab.py @@ -0,0 +1,13 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# Module scipy.io.matlab allows to parse matlab files. The hidden import is necessary for SciPy 0.11+. +hiddenimports = ['scipy.io.matlab.streams'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.linalg.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.linalg.py new file mode 100644 index 0000000..b1a68b8 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.linalg.py @@ -0,0 +1,13 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# The hidden import is necessary for SciPy 0.16+. +hiddenimports = ['scipy.linalg.cython_blas', 'scipy.linalg.cython_lapack'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.py new file mode 100644 index 0000000..7512fd4 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.py @@ -0,0 +1,59 @@ +# ----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +# ----------------------------------------------------------------------------- + +import glob +import os +import sysconfig + +from PyInstaller.compat import is_win, is_linux +from PyInstaller.utils.hooks import ( + get_module_file_attribute, + check_requirement, + collect_delvewheel_libs_directory, + collect_submodules, +) + +binaries = [] +datas = [] + +# Package the DLL bundle that official scipy wheels for Windows ship The DLL bundle will either be in extra-dll on +# windows proper and in .libs if installed on a virtualenv created from MinGW (Git-Bash for example) +if is_win: + extra_dll_locations = ['extra-dll', '.libs'] + for location in extra_dll_locations: + dll_glob = os.path.join(os.path.dirname(get_module_file_attribute('scipy')), location, "*.dll") + if glob.glob(dll_glob): + binaries.append((dll_glob, ".")) + +# Handle delvewheel-enabled win32 wheels, which have external scipy.libs directory (scipy >= 0.9.2) +if check_requirement("scipy >= 1.9.2") and is_win: + datas, binaries = collect_delvewheel_libs_directory('scipy', datas=datas, binaries=binaries) + +# collect library-wide utility extension modules +hiddenimports = ['scipy._lib.%s' % m for m in ['messagestream', "_ccallback_c", "_fpumode"]] + +# In scipy 1.14.0, `scipy._lib.array_api_compat.numpy` added a programmatic import of its `.fft` submodule, which needs +# to be added to hiddenimports. +if check_requirement("scipy >= 1.14.0"): + hiddenimports += ['scipy._lib.array_api_compat.numpy.fft'] + +# If scipy is provided by Debian's python3-scipy, its scipy.__config__ submodule is renamed to a dynamically imported +# scipy.__config__${SOABI}__ +# https://salsa.debian.org/python-team/packages/scipy/-/blob/1255922cf7c52b05aa44fb733449953cd9adb815/debian/patches/scipy_config_SOABI.patch +if is_linux and "dist-packages" in get_module_file_attribute("scipy"): + hiddenimports.append('scipy.__config__' + sysconfig.get_config_var('SOABI') + '__') + +# The `scipy._lib.array_api_compat.numpy` module performs a `from numpy import *`; in numpy 2.0.0, `numpy.f2py` was +# added to `numpy.__all__` attribute, but at the same time, the upstream numpy hook adds `numpy.f2py` to +# `excludedimports`. Therefore, the `numpy.f2py` sub-package ends up missing. Due to the way exclusion mechanism works, +# we need to add both `numpy.f2py` and all its submodules to hiddenimports here. +if check_requirement("numpy >= 2.0.0"): + hiddenimports += collect_submodules('numpy.f2py', filter=lambda name: name != 'numpy.f2py.tests') diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.sparse.csgraph.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.sparse.csgraph.py new file mode 100644 index 0000000..9cabdbd --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.sparse.csgraph.py @@ -0,0 +1,13 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# The hidden import is necessary for SciPy 0.11+. +hiddenimports = ['scipy.sparse.csgraph._validation'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.spatial._ckdtree.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.spatial._ckdtree.py new file mode 100644 index 0000000..00d1a87 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.spatial._ckdtree.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2025, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import is_module_satisfies + +# As of SciPy 1.16.0, `scipy.spatial._ckdtree` extension started to depend on newly-introduced `scipy._cyutility`. +if is_module_satisfies('scipy >= 1.16.0'): + hiddenimports = ['scipy._cyutility'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.spatial.transform.rotation.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.spatial.transform.rotation.py new file mode 100644 index 0000000..4840cf2 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.spatial.transform.rotation.py @@ -0,0 +1,17 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import check_requirement + +# As of scipy 1.6.0, scipy.spatial.transform.rotation is cython-compiled, so we fail to automatically pick up its +# imports. +if check_requirement("scipy >= 1.6.0"): + hiddenimports = ['scipy.spatial.transform._rotation_groups'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.special._ellip_harm_2.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.special._ellip_harm_2.py new file mode 100644 index 0000000..5115b02 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.special._ellip_harm_2.py @@ -0,0 +1,30 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Module hook for the `scipy.special._ellip_harm_2` C extension first introduced by SciPy >= 0.15.0. + +See Also +---------- +https://github.com/scipy/scipy/blob/master/scipy/special/_ellip_harm_2.pyx + This C extension's Cython-based implementation. +""" + +# In SciPy >= 0.15.0: +# +# 1. The "scipy.special.__init__" module imports... +# 2. The "scipy.special._ellip_harm" module imports... +# 3. The "scipy.special._ellip_harm_2" C extension imports... +# 4. The "scipy.integrate" package. +# +# The third import is undetectable by PyInstaller and hence explicitly listed. Since "_ellip_harm" and "_ellip_harm_2" +# were first introduced by SciPy 0.15.0, the following hidden import will only be applied for versions of SciPy +# guaranteed to provide these modules and C extensions. +hiddenimports = ['scipy.integrate'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.special._ufuncs.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.special._ufuncs.py new file mode 100644 index 0000000..f94b22e --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.special._ufuncs.py @@ -0,0 +1,25 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import is_module_satisfies + +# Module scipy.io._ufunc depends on some other C/C++ extensions. The hidden import is necessary for SciPy 0.13+. +# Thanks to dyadkin; see issue #826. +hiddenimports = ['scipy.special._ufuncs_cxx'] + +# SciPy 1.13.0 cythonized cdflib; this introduced new `scipy.special._cdflib` extension that is imported from the +# `scipy.special._ufuncs` extension, and thus we need a hidden import here. +if is_module_satisfies('scipy >= 1.13.0'): + hiddenimports += ['scipy.special._cdflib'] + +# SciPy 1.14.0 introduced `scipy.special._special_ufuncs`, which is imported from `scipy.special._ufuncs` extension. +if is_module_satisfies('scipy >= 1.14.0'): + hiddenimports += ['scipy.special._special_ufuncs'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.stats._stats.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.stats._stats.py new file mode 100644 index 0000000..e5f72a0 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-scipy.stats._stats.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import check_requirement + +if check_requirement("scipy >= 1.5.0"): + hiddenimports = ['scipy.special.cython_special'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-scrapy.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-scrapy.py new file mode 100644 index 0000000..f110bb0 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-scrapy.py @@ -0,0 +1,18 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# Hook for https://pypi.org/project/Scrapy/ +# https://stackoverflow.com/questions/49085970/no-such-file-or-directory-error-using-pyinstaller-and-scrapy + +from PyInstaller.utils.hooks import collect_data_files, collect_submodules + +datas = collect_data_files('scrapy') +hiddenimports = collect_submodules('scrapy') diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-setuptools._vendor.importlib_metadata.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-setuptools._vendor.importlib_metadata.py new file mode 100644 index 0000000..e7c92d0 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-setuptools._vendor.importlib_metadata.py @@ -0,0 +1,21 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +import fnmatch +from PyInstaller.utils.hooks.setuptools import setuptools_info + +# Collect metadata for setuptools-vendored copy of importlib-metadata, to match the behavior of hook for +# stand-alone version of the package (i.e., `hook-importlib_metadata.py`). + +# Use cached data files list from setuptools_info, and extract relevant bits (to avoid having to call another +# `collect_data_files` and import `setuptools` in isolated process). +datas = [(src_name, dest_name) for src_name, dest_name in setuptools_info.vendored_data + if fnmatch.fnmatch(src_name, "**/setuptools/_vendor/importlib_metadata-*.dist-info/*")] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-setuptools._vendor.jaraco.text.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-setuptools._vendor.jaraco.text.py new file mode 100644 index 0000000..47e65da --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-setuptools._vendor.jaraco.text.py @@ -0,0 +1,18 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +import fnmatch +from PyInstaller.utils.hooks.setuptools import setuptools_info + +# Use cached data files list from setuptools_info, and extract relevant bits (to avoid having to call another +# `collect_data_files` and import `setuptools` in isolated process). +datas = [(src_name, dest_name) for src_name, dest_name in setuptools_info.vendored_data + if fnmatch.fnmatch(src_name, "**/setuptools/_vendor/jaraco/text/*")] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-setuptools.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-setuptools.py new file mode 100644 index 0000000..6c2c1bb --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-setuptools.py @@ -0,0 +1,75 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller import compat +from PyInstaller.utils.hooks.setuptools import setuptools_info + +datas = [] + +hiddenimports = [ + # Test case import/test_zipimport2 fails during importing pkg_resources or setuptools when module not present. + 'distutils.command.build_ext', + 'setuptools.msvc', +] + +# Necessary for setuptools on Mac/Unix +if compat.is_unix or compat.is_darwin: + hiddenimports.append('syslog') + +# Prevent the following modules from being collected solely due to reference from anywhere within setuptools (or +# its vendored dependencies). +excludedimports = [ + 'pytest', + 'numpy', # originally from hook-setuptools.msvc + 'docutils', # originally from hool-setuptools._distutils.command.check +] + +# setuptools >= 39.0.0 is "vendoring" its own direct dependencies from "_vendor" to "extern". This also requires +# 'pre_safe_import_module/hook-setuptools.extern.six.moves.py' to make the moves defined in 'setuptools._vendor.six' +# importable under 'setuptools.extern.six'. +# +# With setuptools 71.0.0, the vendored packages are exposed to the outside world by `setuptools._vendor` location being +# appended to `sys.path`, and the `VendorImporter` is gone (i.e., no more mapping to `setuptools.extern`). Since the +# vendored dependencies are now exposed as top-level modules (provided upstream versions are not available, as they +# would take precedence due to `sys.path` ordering), we need pre-safe-import-module hooks that detect when only vendored +# version is available, and add aliases to prevent duplicated collection. For list of vendored packages for which we +# need such pre-safe-import-module hooks, see the code in `PyInstaller.utils.hooks.setuptools`. +# +# The list of submodules from `setuptools._vendor` is now available in `setuptools_info.vendored_modules` (and covers +# all setuptools versions). +# +# NOTE: with setuptools >= 71.0, we do not need to add modules from `setuptools._vendored` to hidden imports anymore, +# because the aliases we set up should ensure that the necessary parts get collected. We still need them for earlier +# versions of setuptools, though. +if setuptools_info.version < (71, 0): + hiddenimports += setuptools_info.vendored_modules + +# The situation with vendored distutils (from `setuptools._distutils`) is a bit more complicated; python >= 3.12 does +# not provide stdlib version of `distutils` anymore, so our corresponding pre-safe-import-module hook sets up aliases. +# In earlier python versions, stdlib version is available as well, and at run-time, we might need both versions present, +# so that whichever is applicable can be used. Therefore, for python < 3.12, we need to add the vendored distuils +# modules to hidden imports. +if setuptools_info.distutils_vendored and not compat.is_py312: + hiddenimports += setuptools_info.distutils_modules + +# With setuptools >= 71.0.0, the vendored packages also have metadata, and might also contain data files that need to +# be collected. The list of corresponding data files is kept cached in `setuptools_info.vendored_data` (to minimize the +# number of times we need to call collect_data_files()). +# +# While it might be tempting to simply collect all data files and be done with it, we actually need to match the +# collection behavior for the stand-alone versions of these packages; i.e., we should collect metadata (and/or data +# files) for the vendored package only if the same data is also collected for stand-alone version. Otherwise, we risk +# inconsistent behavior and potential mismatches; for example, if we collected metadata for vendored package A here, +# but end up collecting stand-alone A, for which we normally do not collect the metadata, then at run-time, we will end +# up with stand-alone copy of A and vendored copy of its metadata being discoverable. +# +# Therefore, if metadata and/or metadata needs to be collected, do it in corresponding sub-package hook (for an example, +# see `hook-setuptools._vendor.jaraco.text.py`). diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-shelve.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-shelve.py new file mode 100644 index 0000000..1df601a --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-shelve.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# Tested on Windows 7 x64 With Python 3.5 + +hiddenimports = ["dbm.ndbm", "dbm.dumb", "dbm.gnu"] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-shiboken6.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-shiboken6.py new file mode 100644 index 0000000..17cf0c3 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-shiboken6.py @@ -0,0 +1,17 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller import compat + +# Up until python 3.12, `xxsubtype` was built-in on all OSes. Now it is an extension on non-Windows, and without it, +# shiboken6 initialization segfaults. +if compat.is_py312 and not compat.is_win: + hiddenimports = ['xxsubtype'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-sphinx.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-sphinx.py new file mode 100644 index 0000000..f5a13ac --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-sphinx.py @@ -0,0 +1,41 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import collect_data_files, collect_submodules, eval_statement + +# Sphinx consists of several extensions that are lazily loaded. So collect all submodules to ensure we do not miss +# any of them. +hiddenimports = collect_submodules('sphinx') + +# For each extension in sphinx.application.builtin_extensions that does not come from the sphinx package, do a +# collect_submodules(). We need to do this explicitly because collect_submodules() does not seem to work with +# namespace packages, which precludes us from simply doing hiddenimports += collect_submodules('sphinxcontrib') +builtin_extensions = list( + eval_statement( + """ + from sphinx.application import builtin_extensions + print(builtin_extensions) + """ + ) +) +for extension in builtin_extensions: + if extension.startswith('sphinx.'): + continue # Already collected + hiddenimports += collect_submodules(extension) + +# This is inherited from an earlier version of the hook, and seems to have been required in Sphinx v.1.3.1 era due to +# https://github.com/sphinx-doc/sphinx/blob/b87ce32e7dc09773f9e71305e66e8d6aead53dd1/sphinx/cmdline.py#L173. +# It does not hurt to keep it around, just in case. +hiddenimports += ['locale'] + +# Collect all data files: *.html and *.conf files in ``sphinx.themes``, translation files in ``sphinx.locale``, etc. +# Also collect all data files for the alabaster theme. +datas = collect_data_files('sphinx') + collect_data_files('alabaster') diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-sqlalchemy.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-sqlalchemy.py new file mode 100644 index 0000000..3aafc50 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-sqlalchemy.py @@ -0,0 +1,88 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +import re +import importlib.util + +from PyInstaller import isolated +from PyInstaller.lib.modulegraph.modulegraph import SourceModule +from PyInstaller.utils.hooks import check_requirement, collect_entry_point, logger + +datas = [] + +# 'sqlalchemy.testing' causes bundling a lot of unnecessary modules. +excludedimports = ['sqlalchemy.testing'] + +# Include most common database bindings some database bindings are detected and include some are not. We should +# explicitly include database backends. +hiddenimports = ['pysqlite2', 'MySQLdb', 'psycopg2', 'sqlalchemy.ext.baked'] + +if check_requirement('sqlalchemy >= 1.4'): + hiddenimports.append("sqlalchemy.sql.default_comparator") + + +@isolated.decorate +def _get_dialect_modules(module_name): + import importlib + module = importlib.import_module(module_name) + return [f"{module_name}.{submodule_name}" for submodule_name in module.__all__] + + +# In SQLAlchemy >= 0.6, the "sqlalchemy.dialects" package provides dialects. +# In SQLAlchemy <= 0.5, the "sqlalchemy.databases" package provides dialects. +if check_requirement('sqlalchemy >= 0.6'): + hiddenimports += _get_dialect_modules("sqlalchemy.dialects") +else: + hiddenimports += _get_dialect_modules("sqlalchemy.databases") + +# Collect additional dialects and plugins that are registered via entry-points, under assumption that they are available +# in the build environment for a reason (i.e., they are used). +for entry_point_name in ('sqlalchemy.dialects', 'sqlalchemy.plugins'): + ep_datas, ep_hiddenimports = collect_entry_point(entry_point_name) + datas += ep_datas + hiddenimports += ep_hiddenimports + + +def hook(hook_api): + """ + SQLAlchemy 0.9 introduced the decorator 'util.dependencies'. This decorator does imports. E.g.: + + @util.dependencies("sqlalchemy.sql.schema") + + This hook scans for included SQLAlchemy modules and then scans those modules for any util.dependencies and marks + those modules as hidden imports. + """ + + if not check_requirement('sqlalchemy >= 0.9'): + return + + # this parser is very simplistic but seems to catch all cases as of V1.1 + depend_regex = re.compile(r'@util.dependencies\([\'"](.*?)[\'"]\)') + + hidden_imports_set = set() + known_imports = set() + for node in hook_api.module_graph.iter_graph(start=hook_api.module): + if isinstance(node, SourceModule) and node.identifier.startswith('sqlalchemy.'): + known_imports.add(node.identifier) + + # Read the source... + with open(node.filename, 'rb') as f: + source_code = f.read() + source_code = importlib.util.decode_source(source_code) + + # ... and scan it + for match in depend_regex.findall(source_code): + hidden_imports_set.add(match) + + hidden_imports_set -= known_imports + if len(hidden_imports_set): + logger.info(" Found %d sqlalchemy hidden imports", len(hidden_imports_set)) + hook_api.add_imports(*list(hidden_imports_set)) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-sqlite3.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-sqlite3.py new file mode 100644 index 0000000..805bf8f --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-sqlite3.py @@ -0,0 +1,19 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = [] + +# On Windows in Python 3.4 'sqlite3' package might contain tests that are not required in frozen application. +for mod in collect_submodules('sqlite3'): + if not mod.startswith('sqlite3.test'): + hiddenimports.append(mod) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-sysconfig.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-sysconfig.py new file mode 100644 index 0000000..d4331cf --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-sysconfig.py @@ -0,0 +1,29 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +import sys + +# see https://github.com/python/cpython/blob/3.9/Lib/sysconfig.py#L593 +# This will exclude `_osx_support`, `distutils`, `distutils.log` for sys.platform != 'darwin' +if sys.platform != 'darwin': + excludedimports = ["_osx_support"] + +# Python 3.6 uses additional modules like `_sysconfigdata_m_linux_x86_64-linux-gnu`, see +# https://github.com/python/cpython/blob/3.6/Lib/sysconfig.py#L417 +# Note: Some versions of Anaconda backport this feature to before 3.6. See issue #3105. +# Note: on Windows, python.org and Anaconda python provide _get_sysconfigdata_name, but calling it fails due to sys +# module lacking abiflags attribute. It does work on MSYS2/MINGW python, where we need to collect corresponding file. +try: + import sysconfig + hiddenimports = [sysconfig._get_sysconfigdata_name()] +except AttributeError: + # Either sysconfig has no attribute _get_sysconfigdata_name (i.e., the function does not exist), or this is Windows + # and the _get_sysconfigdata_name() call failed due to missing sys.abiflags attribute. + pass diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-wcwidth.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-wcwidth.py new file mode 100644 index 0000000..dc7c2dd --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-wcwidth.py @@ -0,0 +1,14 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2017-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('wcwidth') diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-win32ctypes.core.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-win32ctypes.core.py new file mode 100644 index 0000000..6971473 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-win32ctypes.core.py @@ -0,0 +1,22 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2020-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# TODO: remove this hook during PyInstaller 4.5 release cycle! + +from PyInstaller.utils.hooks import can_import_module, collect_submodules + +# We need to collect submodules from win32ctypes.core.cffi or win32ctypes.core.ctypes for win32ctypes.core to work. +# Always collect the `ctypes` backend, and add the `cffi` one if `cffi` is available. Having the `ctypes` backend always +# available helps in situations when `cffi` is available in the build environment, but is disabled at run-time or not +# collected (e.g., due to `--exclude cffi`). +hiddenimports = collect_submodules('win32ctypes.core.ctypes') +if can_import_module('cffi'): + hiddenimports += collect_submodules('win32ctypes.core.cffi') diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-xml.dom.domreg.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-xml.dom.domreg.py new file mode 100644 index 0000000..eb7161a --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-xml.dom.domreg.py @@ -0,0 +1,13 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# xml.dom.domreg line 54 +hiddenimports = ['xml.dom.minidom'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-xml.etree.cElementTree.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-xml.etree.cElementTree.py new file mode 100644 index 0000000..95dc702 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-xml.etree.cElementTree.py @@ -0,0 +1,13 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# cElementTree has a hidden import (Python >=2.5 stdlib version) +hiddenimports = ['xml.etree.ElementTree'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-xml.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-xml.py new file mode 100644 index 0000000..d7776a0 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-xml.py @@ -0,0 +1,12 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +hiddenimports = ['xml.sax.xmlreader', 'xml.sax.expatreader'] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/hook-zope.interface.py b/.venv/Lib/site-packages/PyInstaller/hooks/hook-zope.interface.py new file mode 100644 index 0000000..b43d023 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/hook-zope.interface.py @@ -0,0 +1,12 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2015-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +excludedimports = ["unittest"] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/__init__.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/__init__.py new file mode 100644 index 0000000..792d600 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/__init__.py @@ -0,0 +1 @@ +# diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..53af8ac Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/__pycache__/hook-PyQt5.uic.port_v2.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/__pycache__/hook-PyQt5.uic.port_v2.cpython-311.pyc new file mode 100644 index 0000000..63efba0 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/__pycache__/hook-PyQt5.uic.port_v2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/__pycache__/hook-_pyi_rth_utils.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/__pycache__/hook-_pyi_rth_utils.cpython-311.pyc new file mode 100644 index 0000000..4d31397 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/__pycache__/hook-_pyi_rth_utils.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/__pycache__/hook-distutils.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/__pycache__/hook-distutils.cpython-311.pyc new file mode 100644 index 0000000..3f43168 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/__pycache__/hook-distutils.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/__pycache__/hook-pyi_splash.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/__pycache__/hook-pyi_splash.cpython-311.pyc new file mode 100644 index 0000000..b7fe942 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/__pycache__/hook-pyi_splash.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/__pycache__/hook-tkinter.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/__pycache__/hook-tkinter.cpython-311.pyc new file mode 100644 index 0000000..447f36a Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/__pycache__/hook-tkinter.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/hook-PyQt5.uic.port_v2.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/hook-PyQt5.uic.port_v2.py new file mode 100644 index 0000000..014c9e2 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/hook-PyQt5.uic.port_v2.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_find_module_path(hook_api): + # Forbid imports in the port_v2 directory under Python 3 The code wouldn't import and would crash the build process. + hook_api.search_dirs = [] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/hook-_pyi_rth_utils.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/hook-_pyi_rth_utils.py new file mode 100644 index 0000000..d035df0 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/hook-_pyi_rth_utils.py @@ -0,0 +1,25 @@ +# ----------------------------------------------------------------------------- +# Copyright (c) 2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +# ----------------------------------------------------------------------------- +""" +This hook allows discovery and collection of PyInstaller's internal _pyi_rth_utils module that provides utility +functions for run-time hooks. + +The module is implemented in 'PyInstaller/fake-modules/_pyi_rth_utils.py'. +""" + +import os + +from PyInstaller import PACKAGEPATH + + +def pre_find_module_path(api): + module_dir = os.path.join(PACKAGEPATH, 'fake-modules') + api.search_dirs = [module_dir] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/hook-distutils.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/hook-distutils.py new file mode 100644 index 0000000..0e7e646 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/hook-distutils.py @@ -0,0 +1,46 @@ +# ----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +# ----------------------------------------------------------------------------- +""" +`distutils`-specific pre-find module path hook. + +When run from within a virtual environment, this hook changes the `__path__` of the `distutils` package to +that of the system-wide rather than virtual-environment-specific `distutils` package. While the former is suitable for +freezing, the latter is intended for use _only_ from within virtual environments. + +NOTE: this behavior seems to be specific to virtual environments created by (an old?) version of `virtualenv`; it is not +applicable to virtual environments created by the `venv`. +""" + +import pathlib + +from PyInstaller.utils.hooks import logger, get_module_file_attribute + + +def pre_find_module_path(api): + # Absolute path of the system-wide "distutils" package when run from within a venv or None otherwise. + + # opcode is not a virtualenv module, so we can use it to find the stdlib. Technique taken from virtualenv's + # "distutils" package detection at + # https://github.com/pypa/virtualenv/blob/16.3.0/virtualenv_embedded/distutils-init.py#L5 + # As opcode is a module, stdlib path corresponds to the parent directory of its ``__file__`` attribute. + stdlib_path = pathlib.Path(get_module_file_attribute('opcode')).parent.resolve() + # As distutils is a package, we need to consider the grandparent directory of its ``__file__`` attribute. + distutils_path = pathlib.Path(get_module_file_attribute('distutils')).parent.parent.resolve() + + if distutils_path.name == 'setuptools': + logger.debug("distutils: provided by setuptools") + elif distutils_path == stdlib_path: + logger.debug("distutils: provided by stdlib") + else: + # Find this package in stdlib. + stdlib_path = str(stdlib_path) + logger.debug("distutils: virtualenv shim - retargeting to stdlib dir %r", stdlib_path) + api.search_dirs = [stdlib_path] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/hook-pyi_splash.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/hook-pyi_splash.py new file mode 100644 index 0000000..15f8009 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/hook-pyi_splash.py @@ -0,0 +1,36 @@ +# ----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +# ----------------------------------------------------------------------------- +""" +This hook does not move a module that can be installed by a package manager, but points to a PyInstaller internal +module that can be imported into the users python instance. + +The module is implemented in 'PyInstaller/fake-modules/pyi_splash.py'. +""" + +import os + +from PyInstaller import PACKAGEPATH +from PyInstaller.utils.hooks import logger + + +def pre_find_module_path(api): + try: + # Test if a module named 'pyi_splash' is locally installed. This prevents that a potentially required dependency + # is not packed + import pyi_splash # noqa: F401 + except ImportError: + module_dir = os.path.join(PACKAGEPATH, 'fake-modules') + + api.search_dirs = [module_dir] + logger.info('Adding pyi_splash module to application dependencies.') + else: + logger.info('A local module named "pyi_splash" is installed. Use the installed one instead.') + return diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/hook-tkinter.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/hook-tkinter.py new file mode 100644 index 0000000..1cc5a78 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_find_module_path/hook-tkinter.py @@ -0,0 +1,21 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller import log as logging +from PyInstaller.utils.hooks import tcl_tk + +logger = logging.getLogger(__name__) + + +def pre_find_module_path(hook_api): + if not tcl_tk.tcltk_info.available: + logger.warning("tkinter installation is broken. It will be excluded from the application") + hook_api.search_dirs = [] diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__init__.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__init__.py new file mode 100644 index 0000000..792d600 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__init__.py @@ -0,0 +1 @@ +# diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..d224bc6 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-autocommand.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-autocommand.cpython-311.pyc new file mode 100644 index 0000000..df6fa6a Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-autocommand.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-backports.tarfile.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-backports.tarfile.cpython-311.pyc new file mode 100644 index 0000000..bba6630 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-backports.tarfile.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-distutils.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-distutils.cpython-311.pyc new file mode 100644 index 0000000..f4612e8 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-distutils.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.cpython-311.pyc new file mode 100644 index 0000000..f193e79 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.overrides.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.overrides.cpython-311.pyc new file mode 100644 index 0000000..e606945 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.overrides.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Adw.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Adw.cpython-311.pyc new file mode 100644 index 0000000..e49b348 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Adw.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.AppIndicator3.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.AppIndicator3.cpython-311.pyc new file mode 100644 index 0000000..0f01073 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.AppIndicator3.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Atk.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Atk.cpython-311.pyc new file mode 100644 index 0000000..2c0bc99 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Atk.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.AyatanaAppIndicator3.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.AyatanaAppIndicator3.cpython-311.pyc new file mode 100644 index 0000000..99a6cb7 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.AyatanaAppIndicator3.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Champlain.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Champlain.cpython-311.pyc new file mode 100644 index 0000000..2b49cae Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Champlain.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Clutter.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Clutter.cpython-311.pyc new file mode 100644 index 0000000..e8b1f3b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Clutter.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.DBus.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.DBus.cpython-311.pyc new file mode 100644 index 0000000..168df96 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.DBus.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GIRepository.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GIRepository.cpython-311.pyc new file mode 100644 index 0000000..c053354 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GIRepository.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GLib.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GLib.cpython-311.pyc new file mode 100644 index 0000000..ee14189 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GLib.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GModule.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GModule.cpython-311.pyc new file mode 100644 index 0000000..cdc7607 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GModule.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GObject.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GObject.cpython-311.pyc new file mode 100644 index 0000000..e742e00 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GObject.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Gdk.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Gdk.cpython-311.pyc new file mode 100644 index 0000000..e3bba09 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Gdk.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GdkPixbuf.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GdkPixbuf.cpython-311.pyc new file mode 100644 index 0000000..886b0ec Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GdkPixbuf.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Gio.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Gio.cpython-311.pyc new file mode 100644 index 0000000..7d15409 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Gio.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Graphene.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Graphene.cpython-311.pyc new file mode 100644 index 0000000..c651962 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Graphene.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Gsk.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Gsk.cpython-311.pyc new file mode 100644 index 0000000..3ef52c7 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Gsk.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Gst.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Gst.cpython-311.pyc new file mode 100644 index 0000000..07a0876 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Gst.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstAllocators.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstAllocators.cpython-311.pyc new file mode 100644 index 0000000..80dcb51 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstAllocators.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstApp.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstApp.cpython-311.pyc new file mode 100644 index 0000000..46ae8e0 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstApp.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstAudio.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstAudio.cpython-311.pyc new file mode 100644 index 0000000..5ba31c5 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstAudio.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstBadAudio.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstBadAudio.cpython-311.pyc new file mode 100644 index 0000000..36394c7 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstBadAudio.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstBase.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstBase.cpython-311.pyc new file mode 100644 index 0000000..1e5c57d Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstBase.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstCheck.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstCheck.cpython-311.pyc new file mode 100644 index 0000000..eecf05c Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstCheck.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstCodecs.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstCodecs.cpython-311.pyc new file mode 100644 index 0000000..4e8f084 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstCodecs.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstController.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstController.cpython-311.pyc new file mode 100644 index 0000000..e5e2837 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstController.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstGL.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstGL.cpython-311.pyc new file mode 100644 index 0000000..82015c1 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstGL.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstGLEGL.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstGLEGL.cpython-311.pyc new file mode 100644 index 0000000..a20f8ee Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstGLEGL.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstGLWayland.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstGLWayland.cpython-311.pyc new file mode 100644 index 0000000..7e27bea Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstGLWayland.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstGLX11.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstGLX11.cpython-311.pyc new file mode 100644 index 0000000..30b04ba Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstGLX11.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstInsertBin.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstInsertBin.cpython-311.pyc new file mode 100644 index 0000000..d1cca7c Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstInsertBin.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstMpegts.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstMpegts.cpython-311.pyc new file mode 100644 index 0000000..6592af2 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstMpegts.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstNet.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstNet.cpython-311.pyc new file mode 100644 index 0000000..6bfad18 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstNet.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstPbutils.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstPbutils.cpython-311.pyc new file mode 100644 index 0000000..d1a6588 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstPbutils.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstPlay.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstPlay.cpython-311.pyc new file mode 100644 index 0000000..5563a71 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstPlay.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstPlayer.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstPlayer.cpython-311.pyc new file mode 100644 index 0000000..434588e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstPlayer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstRtp.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstRtp.cpython-311.pyc new file mode 100644 index 0000000..faa2d43 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstRtp.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstRtsp.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstRtsp.cpython-311.pyc new file mode 100644 index 0000000..21637ee Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstRtsp.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstRtspServer.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstRtspServer.cpython-311.pyc new file mode 100644 index 0000000..ef2f393 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstRtspServer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstSdp.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstSdp.cpython-311.pyc new file mode 100644 index 0000000..23963ed Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstSdp.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstTag.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstTag.cpython-311.pyc new file mode 100644 index 0000000..da0ab2b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstTag.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstTranscoder.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstTranscoder.cpython-311.pyc new file mode 100644 index 0000000..5336b5e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstTranscoder.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstVideo.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstVideo.cpython-311.pyc new file mode 100644 index 0000000..0995f2c Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstVideo.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstVulkan.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstVulkan.cpython-311.pyc new file mode 100644 index 0000000..b9d9661 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstVulkan.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstVulkanWayland.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstVulkanWayland.cpython-311.pyc new file mode 100644 index 0000000..b284d06 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstVulkanWayland.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstVulkanXCB.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstVulkanXCB.cpython-311.pyc new file mode 100644 index 0000000..2a9afcb Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstVulkanXCB.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstWebRTC.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstWebRTC.cpython-311.pyc new file mode 100644 index 0000000..271e6a1 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstWebRTC.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Gtk.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Gtk.cpython-311.pyc new file mode 100644 index 0000000..edeb823 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Gtk.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GtkChamplain.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GtkChamplain.cpython-311.pyc new file mode 100644 index 0000000..113e3cd Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GtkChamplain.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GtkClutter.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GtkClutter.cpython-311.pyc new file mode 100644 index 0000000..0842fd4 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GtkClutter.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GtkSource.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GtkSource.cpython-311.pyc new file mode 100644 index 0000000..8aa30c2 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GtkSource.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GtkosxApplication.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GtkosxApplication.cpython-311.pyc new file mode 100644 index 0000000..6a2d9e8 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GtkosxApplication.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.HarfBuzz.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.HarfBuzz.cpython-311.pyc new file mode 100644 index 0000000..7d6750e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.HarfBuzz.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Pango.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Pango.cpython-311.pyc new file mode 100644 index 0000000..f9a447f Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Pango.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.PangoCairo.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.PangoCairo.cpython-311.pyc new file mode 100644 index 0000000..afc1b17 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.PangoCairo.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Rsvg.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Rsvg.cpython-311.pyc new file mode 100644 index 0000000..2dc72de Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Rsvg.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.cairo.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.cairo.cpython-311.pyc new file mode 100644 index 0000000..7420d62 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.cairo.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.freetype2.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.freetype2.cpython-311.pyc new file mode 100644 index 0000000..eeef700 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.freetype2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.xlib.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.xlib.cpython-311.pyc new file mode 100644 index 0000000..0ae6151 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.xlib.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-importlib_metadata.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-importlib_metadata.cpython-311.pyc new file mode 100644 index 0000000..90d9fbe Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-importlib_metadata.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-importlib_resources.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-importlib_resources.cpython-311.pyc new file mode 100644 index 0000000..734729e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-importlib_resources.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-inflect.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-inflect.cpython-311.pyc new file mode 100644 index 0000000..a792252 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-inflect.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-jaraco.context.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-jaraco.context.cpython-311.pyc new file mode 100644 index 0000000..75c9ddd Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-jaraco.context.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-jaraco.functools.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-jaraco.functools.cpython-311.pyc new file mode 100644 index 0000000..2de2fe7 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-jaraco.functools.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-jaraco.text.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-jaraco.text.cpython-311.pyc new file mode 100644 index 0000000..ad852a4 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-jaraco.text.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-more_itertools.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-more_itertools.cpython-311.pyc new file mode 100644 index 0000000..1298f89 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-more_itertools.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-ordered_set.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-ordered_set.cpython-311.pyc new file mode 100644 index 0000000..4bdb732 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-ordered_set.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-packaging.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-packaging.cpython-311.pyc new file mode 100644 index 0000000..bd85ddf Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-packaging.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-platformdirs.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-platformdirs.cpython-311.pyc new file mode 100644 index 0000000..1e56d39 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-platformdirs.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-setuptools.extern.six.moves.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-setuptools.extern.six.moves.cpython-311.pyc new file mode 100644 index 0000000..ae49b0c Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-setuptools.extern.six.moves.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-six.moves.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-six.moves.cpython-311.pyc new file mode 100644 index 0000000..e21451c Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-six.moves.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-tomli.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-tomli.cpython-311.pyc new file mode 100644 index 0000000..7ae46df Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-tomli.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-typeguard.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-typeguard.cpython-311.pyc new file mode 100644 index 0000000..12e0bc6 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-typeguard.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-typing_extensions.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-typing_extensions.cpython-311.pyc new file mode 100644 index 0000000..4dd708b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-typing_extensions.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-urllib3.packages.six.moves.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-urllib3.packages.six.moves.cpython-311.pyc new file mode 100644 index 0000000..c4ee4d4 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-urllib3.packages.six.moves.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-wheel.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-wheel.cpython-311.pyc new file mode 100644 index 0000000..6954798 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-wheel.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-zipp.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-zipp.cpython-311.pyc new file mode 100644 index 0000000..83d737a Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-zipp.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-autocommand.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-autocommand.py new file mode 100644 index 0000000..83c7249 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-autocommand.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# This package/module might be provided by setuptools >= 71.0.0, which makes its vendored dependencies public by +# appending path to its `setuptools._vendored` directory to `sys.path`. The following shared pre-safe-import-module +# hook implementation checks whether this is the case, and sets up aliases to prevent duplicate collection. +from PyInstaller.utils.hooks.setuptools import pre_safe_import_module # noqa: F401 diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-backports.tarfile.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-backports.tarfile.py new file mode 100644 index 0000000..83c7249 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-backports.tarfile.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# This package/module might be provided by setuptools >= 71.0.0, which makes its vendored dependencies public by +# appending path to its `setuptools._vendored` directory to `sys.path`. The following shared pre-safe-import-module +# hook implementation checks whether this is the case, and sets up aliases to prevent duplicate collection. +from PyInstaller.utils.hooks.setuptools import pre_safe_import_module # noqa: F401 diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-distutils.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-distutils.py new file mode 100644 index 0000000..7f88845 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-distutils.py @@ -0,0 +1,23 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller import compat +from PyInstaller.utils.hooks.setuptools import setuptools_info + + +def pre_safe_import_module(api): + # `distutils` was removed from from stdlib in python 3.12; if it is available, it is provided by `setuptools`. + # Therefore, we need to create package/module alias entries, which prevent the setuptools._distutils` and its + # submodules from being collected as top-level modules (as `distutils` and its submodules) in addition to being + # collected as their "true" names. + if compat.is_py312 and setuptools_info.distutils_vendored: + for aliased_name, real_vendored_name in setuptools_info.get_distutils_aliases(): + api.add_alias_module(real_vendored_name, aliased_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.overrides.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.overrides.py new file mode 100644 index 0000000..c98573a --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.overrides.py @@ -0,0 +1,26 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2025, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller import compat +from PyInstaller.utils import hooks as hookutils + + +def pre_safe_import_module(api): + if compat.is_linux: + # See comment in the adjacent `hook-gi.py`. + try: + paths = hookutils.get_module_attribute(api.module_name, "__path__") + except Exception: + # Most likely `gi.overrides` cannot be imported. + paths = [] + + for path in paths: + api.append_package_path(path) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.py new file mode 100644 index 0000000..409007c --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.py @@ -0,0 +1,40 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2022-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller import compat +from PyInstaller.utils import hooks as hookutils + + +def pre_safe_import_module(api): + if compat.is_linux: + # RHEL/Fedora RPM package for GObject introspection is known to split the `gi` package into two locations: + # - /usr/lib64/python3.x/site-packages/gi + # - /usr/lib/python3.x/site-packages/gi + # The `__init__.py` is located in the first directory, while `repository` and `overrides` are located in + # the second, and `__init__.py` dynamically extends the `__path__` during package import, using + # `__path__ = pkgutil.extend_path(__path__, __name__)`. + # The modulegraph has no way of knowing this, so we need extend the package path in this hook. Otherwise, + # only the first location is scanned, and the `gi.repository` ends up missing. + # + # ADDENDUM: it looks like the `gi.overrides` can also be split across both locations, so we need a similar + # hook for `gi.overrides` as well. + # + # NOTE: the `get_package_paths`/`get_package_all_paths` helpers read the paths from package's spec without + # importing the (top-level) package, so they do not catch run-time path modifications. Instead, we use + # `get_module_attribute` to import the package in isolated process and query its `__path__` attribute. + try: + paths = hookutils.get_module_attribute(api.module_name, "__path__") + except Exception: + # Most likely `gi` cannot be imported. + paths = [] + + for path in paths: + api.append_package_path(path) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Adw.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Adw.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Adw.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.AppIndicator3.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.AppIndicator3.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.AppIndicator3.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Atk.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Atk.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Atk.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.AyatanaAppIndicator3.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.AyatanaAppIndicator3.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.AyatanaAppIndicator3.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Champlain.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Champlain.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Champlain.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Clutter.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Clutter.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Clutter.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.DBus.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.DBus.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.DBus.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GIRepository.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GIRepository.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GIRepository.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GLib.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GLib.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GLib.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GModule.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GModule.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GModule.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GObject.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GObject.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GObject.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Gdk.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Gdk.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Gdk.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GdkPixbuf.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GdkPixbuf.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GdkPixbuf.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Gio.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Gio.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Gio.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Graphene.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Graphene.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Graphene.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Gsk.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Gsk.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Gsk.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Gst.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Gst.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Gst.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstAllocators.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstAllocators.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstAllocators.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstApp.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstApp.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstApp.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstAudio.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstAudio.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstAudio.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstBadAudio.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstBadAudio.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstBadAudio.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstBase.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstBase.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstBase.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstCheck.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstCheck.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstCheck.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstCodecs.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstCodecs.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstCodecs.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstController.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstController.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstController.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstGL.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstGL.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstGL.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstGLEGL.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstGLEGL.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstGLEGL.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstGLWayland.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstGLWayland.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstGLWayland.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstGLX11.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstGLX11.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstGLX11.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstInsertBin.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstInsertBin.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstInsertBin.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstMpegts.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstMpegts.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstMpegts.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstNet.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstNet.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstNet.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstPbutils.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstPbutils.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstPbutils.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstPlay.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstPlay.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstPlay.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstPlayer.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstPlayer.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstPlayer.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstRtp.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstRtp.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstRtp.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstRtsp.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstRtsp.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstRtsp.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstRtspServer.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstRtspServer.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstRtspServer.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstSdp.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstSdp.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstSdp.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstTag.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstTag.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstTag.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstTranscoder.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstTranscoder.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstTranscoder.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstVideo.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstVideo.py new file mode 100644 index 0000000..e75bfee --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstVideo.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert + # them to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstVulkan.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstVulkan.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstVulkan.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstVulkanWayland.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstVulkanWayland.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstVulkanWayland.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstVulkanXCB.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstVulkanXCB.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstVulkanXCB.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstWebRTC.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstWebRTC.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstWebRTC.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Gtk.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Gtk.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Gtk.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GtkChamplain.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GtkChamplain.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GtkChamplain.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GtkClutter.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GtkClutter.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GtkClutter.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GtkSource.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GtkSource.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GtkSource.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GtkosxApplication.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GtkosxApplication.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GtkosxApplication.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.HarfBuzz.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.HarfBuzz.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.HarfBuzz.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Pango.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Pango.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Pango.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.PangoCairo.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.PangoCairo.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.PangoCairo.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Rsvg.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Rsvg.py new file mode 100644 index 0000000..a9978ab --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Rsvg.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.cairo.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.cairo.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.cairo.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.freetype2.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.freetype2.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.freetype2.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.xlib.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.xlib.py new file mode 100644 index 0000000..131ce95 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.xlib.py @@ -0,0 +1,16 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +def pre_safe_import_module(api): + # PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph, so we convert them + # to RuntimeModules in order for their hooks to be loaded and executed. + api.add_runtime_module(api.module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-importlib_metadata.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-importlib_metadata.py new file mode 100644 index 0000000..83c7249 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-importlib_metadata.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# This package/module might be provided by setuptools >= 71.0.0, which makes its vendored dependencies public by +# appending path to its `setuptools._vendored` directory to `sys.path`. The following shared pre-safe-import-module +# hook implementation checks whether this is the case, and sets up aliases to prevent duplicate collection. +from PyInstaller.utils.hooks.setuptools import pre_safe_import_module # noqa: F401 diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-importlib_resources.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-importlib_resources.py new file mode 100644 index 0000000..83c7249 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-importlib_resources.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# This package/module might be provided by setuptools >= 71.0.0, which makes its vendored dependencies public by +# appending path to its `setuptools._vendored` directory to `sys.path`. The following shared pre-safe-import-module +# hook implementation checks whether this is the case, and sets up aliases to prevent duplicate collection. +from PyInstaller.utils.hooks.setuptools import pre_safe_import_module # noqa: F401 diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-inflect.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-inflect.py new file mode 100644 index 0000000..83c7249 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-inflect.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# This package/module might be provided by setuptools >= 71.0.0, which makes its vendored dependencies public by +# appending path to its `setuptools._vendored` directory to `sys.path`. The following shared pre-safe-import-module +# hook implementation checks whether this is the case, and sets up aliases to prevent duplicate collection. +from PyInstaller.utils.hooks.setuptools import pre_safe_import_module # noqa: F401 diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-jaraco.context.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-jaraco.context.py new file mode 100644 index 0000000..83c7249 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-jaraco.context.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# This package/module might be provided by setuptools >= 71.0.0, which makes its vendored dependencies public by +# appending path to its `setuptools._vendored` directory to `sys.path`. The following shared pre-safe-import-module +# hook implementation checks whether this is the case, and sets up aliases to prevent duplicate collection. +from PyInstaller.utils.hooks.setuptools import pre_safe_import_module # noqa: F401 diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-jaraco.functools.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-jaraco.functools.py new file mode 100644 index 0000000..83c7249 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-jaraco.functools.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# This package/module might be provided by setuptools >= 71.0.0, which makes its vendored dependencies public by +# appending path to its `setuptools._vendored` directory to `sys.path`. The following shared pre-safe-import-module +# hook implementation checks whether this is the case, and sets up aliases to prevent duplicate collection. +from PyInstaller.utils.hooks.setuptools import pre_safe_import_module # noqa: F401 diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-jaraco.text.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-jaraco.text.py new file mode 100644 index 0000000..83c7249 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-jaraco.text.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# This package/module might be provided by setuptools >= 71.0.0, which makes its vendored dependencies public by +# appending path to its `setuptools._vendored` directory to `sys.path`. The following shared pre-safe-import-module +# hook implementation checks whether this is the case, and sets up aliases to prevent duplicate collection. +from PyInstaller.utils.hooks.setuptools import pre_safe_import_module # noqa: F401 diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-more_itertools.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-more_itertools.py new file mode 100644 index 0000000..83c7249 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-more_itertools.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# This package/module might be provided by setuptools >= 71.0.0, which makes its vendored dependencies public by +# appending path to its `setuptools._vendored` directory to `sys.path`. The following shared pre-safe-import-module +# hook implementation checks whether this is the case, and sets up aliases to prevent duplicate collection. +from PyInstaller.utils.hooks.setuptools import pre_safe_import_module # noqa: F401 diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-ordered_set.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-ordered_set.py new file mode 100644 index 0000000..83c7249 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-ordered_set.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# This package/module might be provided by setuptools >= 71.0.0, which makes its vendored dependencies public by +# appending path to its `setuptools._vendored` directory to `sys.path`. The following shared pre-safe-import-module +# hook implementation checks whether this is the case, and sets up aliases to prevent duplicate collection. +from PyInstaller.utils.hooks.setuptools import pre_safe_import_module # noqa: F401 diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-packaging.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-packaging.py new file mode 100644 index 0000000..83c7249 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-packaging.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# This package/module might be provided by setuptools >= 71.0.0, which makes its vendored dependencies public by +# appending path to its `setuptools._vendored` directory to `sys.path`. The following shared pre-safe-import-module +# hook implementation checks whether this is the case, and sets up aliases to prevent duplicate collection. +from PyInstaller.utils.hooks.setuptools import pre_safe_import_module # noqa: F401 diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-platformdirs.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-platformdirs.py new file mode 100644 index 0000000..83c7249 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-platformdirs.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# This package/module might be provided by setuptools >= 71.0.0, which makes its vendored dependencies public by +# appending path to its `setuptools._vendored` directory to `sys.path`. The following shared pre-safe-import-module +# hook implementation checks whether this is the case, and sets up aliases to prevent duplicate collection. +from PyInstaller.utils.hooks.setuptools import pre_safe_import_module # noqa: F401 diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-setuptools.extern.six.moves.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-setuptools.extern.six.moves.py new file mode 100644 index 0000000..5a09a89 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-setuptools.extern.six.moves.py @@ -0,0 +1,39 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller import isolated + +# This is basically a copy of pre_safe_import_module/hook-six.moves.py adopted to setuptools.extern.six resp. +# setuptools._vendor.six. Please see pre_safe_import_module/hook-six.moves.py for documentation. + +# Note that the moves are defined in 'setuptools._vendor.six' but are imported under 'setuptools.extern.six'. + + +def pre_safe_import_module(api): + @isolated.call + def real_to_six_module_name(): + try: + import setuptools._vendor.six as six + except ImportError: + try: + import setuptools.extern.six as six + except ImportError: + return None # unavailable + + return { + moved.mod: 'setuptools.extern.six.moves.' + moved.name + for moved in six._moved_attributes if isinstance(moved, (six.MovedModule, six.MovedAttribute)) + } + + if real_to_six_module_name is not None: + api.add_runtime_package(api.module_name) + for real_module_name, six_module_name in real_to_six_module_name.items(): + api.add_alias_module(real_module_name, six_module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-six.moves.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-six.moves.py new file mode 100644 index 0000000..1c86669 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-six.moves.py @@ -0,0 +1,62 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller import isolated + + +def pre_safe_import_module(api): + """ + Add the `six.moves` module as a dynamically defined runtime module node and all modules mapped by + `six._SixMetaPathImporter` as aliased module nodes to the passed graph. + + The `six.moves` module is dynamically defined at runtime by the `six` module and hence cannot be imported in the + standard way. Instead, this hook adds a placeholder node for the `six.moves` module to the graph, + which implicitly adds an edge from that node to the node for its parent `six` module. This ensures that the `six` + module will be frozen into the executable. (Phew!) + + `six._SixMetaPathImporter` is a PEP 302-compliant module importer converting imports independent of the current + Python version into imports specific to that version (e.g., under Python 3, from `from six.moves import + tkinter_tix` to `import tkinter.tix`). For each such mapping, this hook adds a corresponding module alias to the + graph allowing PyInstaller to translate the former to the latter. + """ + @isolated.call + def real_to_six_module_name(): + """ + Generate a dictionary from conventional module names to "six.moves" attribute names (e.g., from `tkinter.tix` to + `six.moves.tkinter_tix`). + """ + try: + import six + except ImportError: + return None # unavailable + + # Iterate over the "six._moved_attributes" list rather than the "six._importer.known_modules" dictionary, as + # "urllib"-specific moved modules are overwritten in the latter with unhelpful "LazyModule" objects. If this is + # a moved module or attribute, map the corresponding module. In the case of moved attributes, the attribute's + # module is mapped while the attribute itself is mapped at runtime and hence ignored here. + return { + moved.mod: 'six.moves.' + moved.name + for moved in six._moved_attributes if isinstance(moved, (six.MovedModule, six.MovedAttribute)) + } + + # Add "six.moves" as a runtime package rather than module. Modules cannot physically contain submodules; only + # packages can. In "from"-style import statements (e.g., "from six.moves import queue"), this implies that: + # * Attributes imported from customary modules are guaranteed *NOT* to be submodules. Hence, ModuleGraph justifiably + # ignores these attributes. While some attributes declared by "six.moves" are ignorable non-modules (e.g., + # functions, classes), others are non-ignorable submodules that must be imported. Adding "six.moves" as a runtime + # module causes ModuleGraph to ignore these submodules, which defeats the entire point. + # * Attributes imported from packages could be submodules. To disambiguate non-ignorable submodules from ignorable + # non-submodules (e.g., classes, variables), ModuleGraph first attempts to import these attributes as submodules. + # This is exactly what we want. + if real_to_six_module_name is not None: + api.add_runtime_package(api.module_name) + for real_module_name, six_module_name in real_to_six_module_name.items(): + api.add_alias_module(real_module_name, six_module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-tomli.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-tomli.py new file mode 100644 index 0000000..83c7249 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-tomli.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# This package/module might be provided by setuptools >= 71.0.0, which makes its vendored dependencies public by +# appending path to its `setuptools._vendored` directory to `sys.path`. The following shared pre-safe-import-module +# hook implementation checks whether this is the case, and sets up aliases to prevent duplicate collection. +from PyInstaller.utils.hooks.setuptools import pre_safe_import_module # noqa: F401 diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-typeguard.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-typeguard.py new file mode 100644 index 0000000..83c7249 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-typeguard.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# This package/module might be provided by setuptools >= 71.0.0, which makes its vendored dependencies public by +# appending path to its `setuptools._vendored` directory to `sys.path`. The following shared pre-safe-import-module +# hook implementation checks whether this is the case, and sets up aliases to prevent duplicate collection. +from PyInstaller.utils.hooks.setuptools import pre_safe_import_module # noqa: F401 diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-typing_extensions.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-typing_extensions.py new file mode 100644 index 0000000..83c7249 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-typing_extensions.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# This package/module might be provided by setuptools >= 71.0.0, which makes its vendored dependencies public by +# appending path to its `setuptools._vendored` directory to `sys.path`. The following shared pre-safe-import-module +# hook implementation checks whether this is the case, and sets up aliases to prevent duplicate collection. +from PyInstaller.utils.hooks.setuptools import pre_safe_import_module # noqa: F401 diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-urllib3.packages.six.moves.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-urllib3.packages.six.moves.py new file mode 100644 index 0000000..d257f83 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-urllib3.packages.six.moves.py @@ -0,0 +1,34 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from PyInstaller import isolated + +# This basically is a copy of pre_safe_import_module/hook-six.moves.py adopted to urllib3.packages.six. Please see +# pre_safe_import_module/hook-six.moves.py for documentation. + + +def pre_safe_import_module(api): + @isolated.call + def real_to_six_module_name(): + try: + import urllib3.packages.six as six + except ImportError: + return None # unavailable + + return { + moved.mod: 'urllib3.packages.six.moves.' + moved.name + for moved in six._moved_attributes if isinstance(moved, (six.MovedModule, six.MovedAttribute)) + } + + if real_to_six_module_name is not None: + api.add_runtime_package(api.module_name) + for real_module_name, six_module_name in real_to_six_module_name.items(): + api.add_alias_module(real_module_name, six_module_name) diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-wheel.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-wheel.py new file mode 100644 index 0000000..83c7249 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-wheel.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# This package/module might be provided by setuptools >= 71.0.0, which makes its vendored dependencies public by +# appending path to its `setuptools._vendored` directory to `sys.path`. The following shared pre-safe-import-module +# hook implementation checks whether this is the case, and sets up aliases to prevent duplicate collection. +from PyInstaller.utils.hooks.setuptools import pre_safe_import_module # noqa: F401 diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-zipp.py b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-zipp.py new file mode 100644 index 0000000..83c7249 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-zipp.py @@ -0,0 +1,15 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# This package/module might be provided by setuptools >= 71.0.0, which makes its vendored dependencies public by +# appending path to its `setuptools._vendored` directory to `sys.path`. The following shared pre-safe-import-module +# hook implementation checks whether this is the case, and sets up aliases to prevent duplicate collection. +from PyInstaller.utils.hooks.setuptools import pre_safe_import_module # noqa: F401 diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks.dat b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks.dat new file mode 100644 index 0000000..c024452 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks.dat @@ -0,0 +1,23 @@ +{ + 'django': ['pyi_rth_django.py'], + 'gi': ['pyi_rth_gi.py'], + 'gi.repository.Gio': ['pyi_rth_gio.py'], + 'gi.repository.GLib': ['pyi_rth_glib.py'], + 'gi.repository.GdkPixbuf': ['pyi_rth_gdkpixbuf.py'], + 'gi.repository.Gtk': ['pyi_rth_gtk.py'], + 'gi.repository.Gst': ['pyi_rth_gstreamer.py'], + 'gst': ['pyi_rth_gstreamer.py'], + 'inspect': ['pyi_rth_inspect.py'], + 'kivy': ['pyi_rth_kivy.py'], + 'kivy.lib.gstplayer': ['pyi_rth_gstreamer.py'], + 'matplotlib': ['pyi_rth_mplconfig.py'], + 'pkgutil': ['pyi_rth_pkgutil.py'], + 'pkg_resources': ['pyi_rth_pkgres.py'], + 'PyQt5': ['pyi_rth_pyqt5.py'], + 'PyQt6': ['pyi_rth_pyqt6.py'], + 'PySide2': ['pyi_rth_pyside2.py'], + 'PySide6': ['pyi_rth_pyside6.py'], + '_tkinter': ['pyi_rth__tkinter.py'], + 'multiprocessing': ['pyi_rth_multiprocessing.py'], + 'setuptools': ['pyi_rth_setuptools.py'], +} diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__init__.py b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__init__.py new file mode 100644 index 0000000..792d600 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__init__.py @@ -0,0 +1 @@ +# diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..97ec915 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth__tkinter.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth__tkinter.cpython-311.pyc new file mode 100644 index 0000000..3ce15ce Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth__tkinter.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_django.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_django.cpython-311.pyc new file mode 100644 index 0000000..c69f2ad Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_django.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_gdkpixbuf.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_gdkpixbuf.cpython-311.pyc new file mode 100644 index 0000000..894dc6d Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_gdkpixbuf.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_gi.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_gi.cpython-311.pyc new file mode 100644 index 0000000..bb06942 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_gi.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_gio.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_gio.cpython-311.pyc new file mode 100644 index 0000000..e2096ec Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_gio.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_glib.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_glib.cpython-311.pyc new file mode 100644 index 0000000..5c88672 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_glib.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_gstreamer.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_gstreamer.cpython-311.pyc new file mode 100644 index 0000000..80c55a6 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_gstreamer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_gtk.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_gtk.cpython-311.pyc new file mode 100644 index 0000000..48e7fd8 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_gtk.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_inspect.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_inspect.cpython-311.pyc new file mode 100644 index 0000000..ad0594e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_inspect.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_kivy.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_kivy.cpython-311.pyc new file mode 100644 index 0000000..6d9cfe2 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_kivy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_mplconfig.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_mplconfig.cpython-311.pyc new file mode 100644 index 0000000..b6c8d41 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_mplconfig.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_multiprocessing.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_multiprocessing.cpython-311.pyc new file mode 100644 index 0000000..e5afcad Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_multiprocessing.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pkgres.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pkgres.cpython-311.pyc new file mode 100644 index 0000000..887706b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pkgres.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pkgutil.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pkgutil.cpython-311.pyc new file mode 100644 index 0000000..c1358a2 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pkgutil.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pyqt5.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pyqt5.cpython-311.pyc new file mode 100644 index 0000000..7a9bd38 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pyqt5.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pyqt6.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pyqt6.cpython-311.pyc new file mode 100644 index 0000000..923f664 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pyqt6.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pyside2.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pyside2.cpython-311.pyc new file mode 100644 index 0000000..12cbae7 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pyside2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pyside6.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pyside6.cpython-311.pyc new file mode 100644 index 0000000..70cf13e Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pyside6.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_setuptools.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_setuptools.cpython-311.pyc new file mode 100644 index 0000000..253103d Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/__pycache__/pyi_rth_setuptools.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth__tkinter.py b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth__tkinter.py new file mode 100644 index 0000000..ae154f8 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth__tkinter.py @@ -0,0 +1,37 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + + +def _pyi_rthook(): + import os + import sys + + # The directory names must match TCL_ROOTNAME and TK_ROOTNAME constants defined in `PyInstaller.utils.hooks.tcl_tk`. + tcldir = os.path.join(sys._MEIPASS, '_tcl_data') + tkdir = os.path.join(sys._MEIPASS, '_tk_data') + + # Notify "tkinter" of data directories. On macOS, we do not collect data directories if system Tcl/Tk framework is + # used. On other OSes, we always collect them, so their absence is considered an error. + is_darwin = sys.platform == 'darwin' + + if os.path.isdir(tcldir): + os.environ["TCL_LIBRARY"] = tcldir + elif not is_darwin: + raise FileNotFoundError('Tcl data directory "%s" not found.' % tcldir) + + if os.path.isdir(tkdir): + os.environ["TK_LIBRARY"] = tkdir + elif not is_darwin: + raise FileNotFoundError('Tk data directory "%s" not found.' % tkdir) + + +_pyi_rthook() +del _pyi_rthook diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_django.py b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_django.py new file mode 100644 index 0000000..81243bd --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_django.py @@ -0,0 +1,34 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + +# This Django rthook was tested with Django 1.8.3. + + +def _pyi_rthook(): + import django.utils.autoreload + + _old_restart_with_reloader = django.utils.autoreload.restart_with_reloader + + def _restart_with_reloader(*args): + import sys + a0 = sys.argv.pop(0) + try: + return _old_restart_with_reloader(*args) + finally: + sys.argv.insert(0, a0) + + # Override restart_with_reloader() function, otherwise the app might complain that some commands do not exist; + # e.g., runserver. + django.utils.autoreload.restart_with_reloader = _restart_with_reloader + + +_pyi_rthook() +del _pyi_rthook diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_gdkpixbuf.py b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_gdkpixbuf.py new file mode 100644 index 0000000..de8223f --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_gdkpixbuf.py @@ -0,0 +1,41 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2015-2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + + +def _pyi_rthook(): + import atexit + import os + import sys + import tempfile + + pixbuf_file = os.path.join(sys._MEIPASS, 'lib', 'gdk-pixbuf', 'loaders.cache') + + # If we are not on Windows, we need to rewrite the cache -> we rewrite on macOS to support --onefile mode + if os.path.exists(pixbuf_file) and sys.platform != 'win32': + with open(pixbuf_file, 'rb') as fp: + contents = fp.read() + + # Create a temporary file with the cache and cleverly replace the prefix we injected with the actual path. + fd, pixbuf_file = tempfile.mkstemp() + with os.fdopen(fd, 'wb') as fp: + libpath = os.path.join(sys._MEIPASS, 'lib').encode('utf-8') + fp.write(contents.replace(b'@executable_path/lib', libpath)) + + try: + atexit.register(os.unlink, pixbuf_file) + except OSError: + pass + + os.environ['GDK_PIXBUF_MODULE_FILE'] = pixbuf_file + + +_pyi_rthook() +del _pyi_rthook diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_gi.py b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_gi.py new file mode 100644 index 0000000..3c3b382 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_gi.py @@ -0,0 +1,21 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2015-2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + + +def _pyi_rthook(): + import os + import sys + + os.environ['GI_TYPELIB_PATH'] = os.path.join(sys._MEIPASS, 'gi_typelibs') + + +_pyi_rthook() +del _pyi_rthook diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_gio.py b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_gio.py new file mode 100644 index 0000000..f9fc307 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_gio.py @@ -0,0 +1,21 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2015-2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + + +def _pyi_rthook(): + import os + import sys + + os.environ['GIO_MODULE_DIR'] = os.path.join(sys._MEIPASS, 'gio_modules') + + +_pyi_rthook() +del _pyi_rthook diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_glib.py b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_glib.py new file mode 100644 index 0000000..35bd7f8 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_glib.py @@ -0,0 +1,37 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2015-2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + + +def _pyi_rthook(): + import os + import sys + + # Prepend the frozen application's data dir to XDG_DATA_DIRS. We need to avoid overwriting the existing paths in + # order to allow the frozen application to run system-installed applications (for example, launch a web browser via + # the webbrowser module on Linux). Should the user desire complete isolation of the frozen application from the + # system, they need to clean up XDG_DATA_DIRS at the start of their program (i.e., remove all entries but first). + pyi_data_dir = os.path.join(sys._MEIPASS, 'share') + + xdg_data_dirs = os.environ.get('XDG_DATA_DIRS', None) + if xdg_data_dirs: + if pyi_data_dir not in xdg_data_dirs: + xdg_data_dirs = pyi_data_dir + os.pathsep + xdg_data_dirs + else: + xdg_data_dirs = pyi_data_dir + os.environ['XDG_DATA_DIRS'] = xdg_data_dirs + + # Cleanup aux variables + del xdg_data_dirs + del pyi_data_dir + + +_pyi_rthook() +del _pyi_rthook diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_gstreamer.py b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_gstreamer.py new file mode 100644 index 0000000..5663229 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_gstreamer.py @@ -0,0 +1,32 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + + +def _pyi_rthook(): + import os + import sys + + # Without this environment variable set to 'no' importing 'gst' causes 100% CPU load. (Tested on macOS.) + os.environ['GST_REGISTRY_FORK'] = 'no' + + gst_plugin_paths = [sys._MEIPASS, os.path.join(sys._MEIPASS, 'gst-plugins')] + os.environ['GST_PLUGIN_PATH'] = os.pathsep.join(gst_plugin_paths) + + # Prevent permission issues on Windows + os.environ['GST_REGISTRY'] = os.path.join(sys._MEIPASS, 'registry.bin') + + # Only use packaged plugins to prevent GStreamer from crashing when it finds plugins from another version which are + # installed system wide. + os.environ['GST_PLUGIN_SYSTEM_PATH'] = '' + + +_pyi_rthook() +del _pyi_rthook diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_gtk.py b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_gtk.py new file mode 100644 index 0000000..d6ae21c --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_gtk.py @@ -0,0 +1,27 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2015-2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + + +def _pyi_rthook(): + import os + import sys + + os.environ['GTK_DATA_PREFIX'] = sys._MEIPASS + os.environ['GTK_EXE_PREFIX'] = sys._MEIPASS + os.environ['GTK_PATH'] = sys._MEIPASS + + # Include these here, as GTK will import pango automatically. + os.environ['PANGO_LIBDIR'] = sys._MEIPASS + os.environ['PANGO_SYSCONFDIR'] = os.path.join(sys._MEIPASS, 'etc') # TODO? + + +_pyi_rthook() +del _pyi_rthook diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_inspect.py b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_inspect.py new file mode 100644 index 0000000..2575997 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_inspect.py @@ -0,0 +1,99 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + + +def _pyi_rthook(): + import inspect + import os + import sys + import zipfile + + # Use sys._MEIPASS with normalized path component separator. This is necessary on some platforms (i.e., msys2/mingw + # python on Windows), because we use string comparisons on the paths. + SYS_PREFIX = os.path.normpath(sys._MEIPASS) + BASE_LIBRARY = os.path.join(SYS_PREFIX, "base_library.zip") + + # Obtain the list of modules in base_library.zip, so we can use it in our `_pyi_getsourcefile` implementation. + def _get_base_library_files(filename): + # base_library.zip might not exit + if not os.path.isfile(filename): + return set() + + with zipfile.ZipFile(filename, 'r') as zf: + namelist = zf.namelist() + + return set(os.path.normpath(entry) for entry in namelist) + + base_library_files = _get_base_library_files(BASE_LIBRARY) + + # Provide custom implementation of inspect.getsourcefile() for frozen applications that properly resolves relative + # filenames obtained from object (e.g., inspect stack-frames). See #5963. + # + # Although we are overriding `inspect.getsourcefile` function, we are NOT trying to resolve source file here! + # The main purpose of this implementation is to properly resolve relative file names obtained from `co_filename` + # attribute of code objects (which are, in turn, obtained from in turn are obtained from `frame` and `traceback` + # objects). PyInstaller strips absolute paths from `co_filename` when collecting modules, as the original absolute + # paths are not portable/relocatable anyway. The `inspect` module tries to look up the module that corresponds to + # the code object by comparing modules' `__file__` attribute to the value of `co_filename`. Therefore, our override + # needs to resolve the relative file names (usually having a .py suffix) into absolute module names (which, in the + # frozen application, usually have .pyc suffix). + # + # The `inspect` module retrieves the actual source code using `linecache.getlines()`. If the passed source filename + # does not exist, the underlying implementation end up resolving the module, and obtains the source via loader's + # `get_source` method. So for modules in the PYZ archive, it ends up calling `get_source` implementation on our + # `PyiFrozenLoader`. For modules in `base_library.zip`, it ends up calling `get_source` on python's own + # `zipimport.zipimporter`; to properly handle out-of-zip source files, we therefore need to monkey-patch + # `get_source` with our own override that translates the in-zip .pyc filename into out-of-zip .py file location + # and loads the source (this override is done in `pyimod02_importers` module). + # + # The above-described fallback takes place if the .pyc file does not exist on filesystem - if this ever becomes + # a problem, we could consider monkey-patching `linecache.updatecache` (and possibly `checkcache`) to translate + # .pyc paths in `sys._MEIPASS` and `base_library.zip` into .py paths in `sys._MEIPASS` before calling the original + # implementation. + _orig_inspect_getsourcefile = inspect.getsourcefile + + def _pyi_getsourcefile(object): + filename = inspect.getfile(object) + filename = os.path.normpath(filename) # Ensure path component separators are normalized. + if not os.path.isabs(filename): + # Check if given filename matches the basename of __main__'s __file__. + main_file = getattr(sys.modules['__main__'], '__file__', None) + if main_file and filename == os.path.basename(main_file): + return main_file + + # If the relative filename does not correspond to the frozen entry-point script, convert it to the absolute + # path in either `sys._MEIPASS/base_library.zip` or `sys._MEIPASS`, whichever applicable. + # + # The modules in `sys._MEIPASS/base_library.zip` are handled by python's `zipimport.zipimporter`, and have + # their __file__ attribute point to the .pyc file in the archive. So we match the behavior, in order to + # facilitate matching via __file__ attribute and use of loader's `get_source`, as per the earlier comment + # block. + # + # The modules in PYZ archive are handled by our `PyFrozenLoader`, which now sets the module's __file__ + # attribute to point to where .py files would be. Therefore, we can directly merge SYS_PREFIX and filename + # (and if the source .py file exists, it will be loaded directly from filename, without the intermediate + # loader look-up). + pyc_filename = filename + 'c' + if pyc_filename in base_library_files: + return os.path.normpath(os.path.join(BASE_LIBRARY, pyc_filename)) + return os.path.normpath(os.path.join(SYS_PREFIX, filename)) + elif filename.startswith(SYS_PREFIX): + # If filename is already an absolute file path pointing into application's top-level directory, return it + # as-is and prevent any further processing. + return filename + # Use original implementation as a fallback. + return _orig_inspect_getsourcefile(object) + + inspect.getsourcefile = _pyi_getsourcefile + + +_pyi_rthook() +del _pyi_rthook diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_kivy.py b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_kivy.py new file mode 100644 index 0000000..0846401 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_kivy.py @@ -0,0 +1,24 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2015-2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + + +def _pyi_rthook(): + import os + import sys + + root = os.path.join(sys._MEIPASS, 'kivy_install') + + os.environ['KIVY_DATA_DIR'] = os.path.join(root, 'data') + os.environ['KIVY_MODULES_DIR'] = os.path.join(root, 'modules') + + +_pyi_rthook() +del _pyi_rthook diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_mplconfig.py b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_mplconfig.py new file mode 100644 index 0000000..93fec80 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_mplconfig.py @@ -0,0 +1,46 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + +# matplotlib will create $HOME/.matplotlib folder in user's home directory. In this directory there is fontList.cache +# file which lists paths to matplotlib fonts. +# +# When you run your onefile exe for the first time it's extracted to for example "_MEIxxxxx" temp directory and +# fontList.cache file is created with fonts paths pointing to this directory. +# +# Second time you run your exe new directory is created "_MEIyyyyy" but fontList.cache file still points to previous +# directory which was deleted. And then you will get error like: +# +# RuntimeError: Could not open facefile +# +# We need to force matplotlib to recreate config directory every time you run your app. + + +def _pyi_rthook(): + import atexit + import os + import shutil + + import _pyi_rth_utils.tempfile # PyInstaller's run-time hook utilities module + + # Isolate matplotlib's config dir into temporary directory. + # Use our replacement for `tempfile.mkdtemp` function that properly restricts access to directory on all platforms. + configdir = _pyi_rth_utils.tempfile.secure_mkdtemp() + os.environ['MPLCONFIGDIR'] = configdir + + try: + # Remove temp directory at application exit and ignore any errors. + atexit.register(shutil.rmtree, configdir, ignore_errors=True) + except OSError: + pass + + +_pyi_rthook() +del _pyi_rthook diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_multiprocessing.py b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_multiprocessing.py new file mode 100644 index 0000000..f596d93 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_multiprocessing.py @@ -0,0 +1,55 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2017-2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + + +def _pyi_rthook(): + import sys + + import multiprocessing + import multiprocessing.spawn + + from subprocess import _args_from_interpreter_flags + + # Prevent `spawn` from trying to read `__main__` in from the main script + multiprocessing.process.ORIGINAL_DIR = None + + def _freeze_support(): + # We want to catch the two processes that are spawned by the multiprocessing code: + # - the semaphore tracker, which cleans up named semaphores in the `spawn` multiprocessing mode + # - the fork server, which keeps track of worker processes in the `forkserver` mode. + # Both of these processes are started by spawning a new copy of the running executable, passing it the flags + # from `_args_from_interpreter_flags` and then "-c" and an import statement. + # Look for those flags and the import statement, then `exec()` the code ourselves. + + if ( + len(sys.argv) >= 2 and sys.argv[-2] == '-c' and sys.argv[-1].startswith( + ('from multiprocessing.resource_tracker import main', 'from multiprocessing.forkserver import main') + ) and set(sys.argv[1:-2]) == set(_args_from_interpreter_flags()) + ): + exec(sys.argv[-1]) + sys.exit() + + if multiprocessing.spawn.is_forking(sys.argv): + kwds = {} + for arg in sys.argv[2:]: + name, value = arg.split('=') + if value == 'None': + kwds[name] = None + else: + kwds[name] = int(value) + multiprocessing.spawn.spawn_main(**kwds) + sys.exit() + + multiprocessing.freeze_support = multiprocessing.spawn.freeze_support = _freeze_support + + +_pyi_rthook() +del _pyi_rthook diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgres.py b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgres.py new file mode 100644 index 0000000..fe59194 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgres.py @@ -0,0 +1,178 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + +# To make pkg_resources work with frozen modules, we need to set the 'Provider' class for PyiFrozenLoader. +# This class decides where to look for resources and other stuff. +# +# 'pkg_resources.NullProvider' is dedicated to abitrary PEP302 loaders, such as our PyiFrozenLoader. It uses method +# __loader__.get_data() in methods pkg_resources.resource_string() and pkg_resources.resource_stream(). +# +# We provide PyiFrozenProvider, which subclasses the NullProvider and implements _has(), _isdir(), and _listdir() +# methods, which are needed for pkg_resources.resource_exists(), resource_isdir(), and resource_listdir() to work. We +# cannot use the DefaultProvider, because it provides filesystem-only implementations (and overrides _get() with a +# filesystem-only one), whereas our provider needs to also support embedded resources. +# +# The PyiFrozenProvider allows querying/listing both PYZ-embedded and on-filesystem resources in a frozen package. The +# results are typically combined for both types of resources (e.g., when listing a directory or checking whether a +# resource exists). When the order of precedence matters, the PYZ-embedded resources take precedence over the +# on-filesystem ones, to keep the behavior consistent with the actual file content retrieval via _get() method (which in +# turn uses PyiFrozenLoader's get_data() method). For example, when checking whether a resource is a directory via +# _isdir(), a PYZ-embedded file will take precedence over a potential on-filesystem directory. Also, in contrast to +# unfrozen packages, the frozen ones do not contain source .py files, which are therefore absent from content listings. + + +def _pyi_rthook(): + import os + import pathlib + import sys + import warnings + + with warnings.catch_warnings(): + warnings.filterwarnings( + "ignore", + category=UserWarning, + message="pkg_resources is deprecated", + ) + import pkg_resources + + import pyimod02_importers # PyInstaller's bootstrap module + + SYS_PREFIX = pathlib.PurePath(sys._MEIPASS) + + class _TocFilesystem: + """ + A prefix tree implementation for embedded filesystem reconstruction. + + NOTE: as of PyInstaller 6.0, the embedded PYZ archive cannot contain data files anymore. Instead, it contains + only .pyc modules - which are by design not returned by `PyiFrozenProvider`. So this implementation has been + reduced to supporting only directories implied by collected packages. + """ + def __init__(self, tree_node): + self._tree = tree_node + + def _get_tree_node(self, path): + path = pathlib.PurePath(path) + current = self._tree + for component in path.parts: + if component not in current: + return None + current = current[component] + return current + + def path_exists(self, path): + node = self._get_tree_node(path) + return isinstance(node, dict) # Directory only + + def path_isdir(self, path): + node = self._get_tree_node(path) + return isinstance(node, dict) # Directory only + + def path_listdir(self, path): + node = self._get_tree_node(path) + if not isinstance(node, dict): + return [] # Non-existent or file + # Return only sub-directories + return [entry_name for entry_name, entry_data in node.items() if isinstance(entry_data, dict)] + + class PyiFrozenProvider(pkg_resources.NullProvider): + """ + Custom pkg_resources provider for PyiFrozenLoader. + """ + def __init__(self, module): + super().__init__(module) + + # Get top-level path; if "module" corresponds to a package, we need the path to the package itself. + # If "module" is a submodule in a package, we need the path to the parent package. + # + # This is equivalent to `pkg_resources.NullProvider.module_path`, except we construct a `pathlib.PurePath` + # for easier manipulation. + # + # NOTE: the path is NOT resolved for symbolic links, as neither are paths that are passed by `pkg_resources` + # to `_has`, `_isdir`, `_listdir` (they are all anchored to `module_path`, which in turn is just + # `os.path.dirname(module.__file__)`. As `__file__` returned by `PyiFrozenLoader` is always anchored to + # `sys._MEIPASS`, we do not have to worry about cross-linked directories in macOS .app bundles, where the + # resolved `__file__` could be either in the `Contents/Frameworks` directory (the "true" `sys._MEIPASS`), or + # in the `Contents/Resources` directory due to cross-linking. + self._pkg_path = pathlib.PurePath(module.__file__).parent + + # Construct _TocFilesystem on top of pre-computed prefix tree provided by pyimod02_importers. + self.embedded_tree = _TocFilesystem(pyimod02_importers.get_pyz_toc_tree()) + + def _normalize_path(self, path): + # Avoid using `Path.resolve`, because it resolves symlinks. This is undesirable, because the pure path in + # `self._pkg_path` does not have symlinks resolved, so comparison between the two would be faulty. Instead, + # use `os.path.normpath` to normalize the path and get rid of any '..' elements (the path itself should + # already be absolute). + return pathlib.Path(os.path.normpath(path)) + + def _is_relative_to_package(self, path): + return path == self._pkg_path or self._pkg_path in path.parents + + def _has(self, path): + # Prevent access outside the package. + path = self._normalize_path(path) + if not self._is_relative_to_package(path): + return False + + # Check the filesystem first to avoid unnecessarily computing the relative path... + if path.exists(): + return True + rel_path = path.relative_to(SYS_PREFIX) + return self.embedded_tree.path_exists(rel_path) + + def _isdir(self, path): + # Prevent access outside the package. + path = self._normalize_path(path) + if not self._is_relative_to_package(path): + return False + + # Embedded resources have precedence over filesystem... + rel_path = path.relative_to(SYS_PREFIX) + node = self.embedded_tree._get_tree_node(rel_path) + if node is None: + return path.is_dir() # No match found; try the filesystem. + else: + # str = file, dict = directory + return not isinstance(node, str) + + def _listdir(self, path): + # Prevent access outside the package. + path = self._normalize_path(path) + if not self._is_relative_to_package(path): + return [] + + # Relative path for searching embedded resources. + rel_path = path.relative_to(SYS_PREFIX) + # List content from embedded filesystem... + content = self.embedded_tree.path_listdir(rel_path) + # ... as well as the actual one. + if path.is_dir(): + # Use os.listdir() to avoid having to convert Path objects to strings... Also make sure to de-duplicate + # the results. + path = str(path) # not is_py36 + content = list(set(content + os.listdir(path))) + return content + + pkg_resources.register_loader_type(pyimod02_importers.PyiFrozenLoader, PyiFrozenProvider) + + # With our PyiFrozenFinder now being a path entry finder, it effectively replaces python's FileFinder. So we need + # to register it with `pkg_resources.find_on_path` to allow metadata to be found on filesystem. + pkg_resources.register_finder(pyimod02_importers.PyiFrozenFinder, pkg_resources.find_on_path) + + # For the above change to fully take effect, we need to re-initialize pkg_resources's master working set (since the + # original one was built with assumption that sys.path entries are handled by python's FileFinder). + # See https://github.com/pypa/setuptools/issues/373 + if hasattr(pkg_resources, '_initialize_master_working_set'): + pkg_resources._initialize_master_working_set() + + +_pyi_rthook() +del _pyi_rthook diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgutil.py b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgutil.py new file mode 100644 index 0000000..e619d54 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgutil.py @@ -0,0 +1,64 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- +# +# The run-time hook provides a custom module iteration function for our PyiFrozenFinder, which allows +# `pkgutil.iter_modules()` to return entries for modules that are embedded in the PYZ archive. The non-embedded modules +# (binary extensions, modules collected as only source .py files, etc.) are enumerated using the `fallback_finder` +# provided by `PyiFrozenFinder` (which typically would be the python's `FileFinder`). +def _pyi_rthook(): + import pkgutil + + import pyimod02_importers # PyInstaller's bootstrap module + + # This could, in fact, be implemented as `iter_modules()` method of the `PyiFrozenFinder`. However, we want to + # avoid importing `pkgutil` in that bootstrap module (i.e., for the `pkgutil.iter_importer_modules()` call on the + # fallback finder). + def _iter_pyi_frozen_finder_modules(finder, prefix=''): + # Fetch PYZ TOC tree from pyimod02_importers + pyz_toc_tree = pyimod02_importers.get_pyz_toc_tree() + + # Finder has already pre-computed the package prefix implied by the search path. Use it to find the starting + # node in the prefix tree. + if finder._pyz_entry_prefix: + pkg_name_parts = finder._pyz_entry_prefix.split('.') + else: + pkg_name_parts = [] + + tree_node = pyz_toc_tree + for pkg_name_part in pkg_name_parts: + tree_node = tree_node.get(pkg_name_part) + if not isinstance(tree_node, dict): + # This check handles two cases: + # a) path does not exist (`tree_node` is `None`) + # b) path corresponds to a module instead of a package (`tree_node` is a leaf node (`str`)). + tree_node = {} + break + + # Dump the contents of the tree node. + for entry_name, entry_data in tree_node.items(): + is_pkg = isinstance(entry_data, dict) + yield prefix + entry_name, is_pkg + + # If our finder has a fall-back finder available, iterate its modules as well. By using the public + # `fallback_finder` attribute, we force creation of the fallback finder as necessary. + # NOTE: we do not care about potential duplicates here, because `pkgutil.iter_modules()` itself + # keeps track of yielded names for purposes of de-duplication. + if finder.fallback_finder is not None: + yield from pkgutil.iter_importer_modules(finder.fallback_finder, prefix) + + pkgutil.iter_importer_modules.register( + pyimod02_importers.PyiFrozenFinder, + _iter_pyi_frozen_finder_modules, + ) + + +_pyi_rthook() +del _pyi_rthook diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pyqt5.py b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pyqt5.py new file mode 100644 index 0000000..fa388e8 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pyqt5.py @@ -0,0 +1,68 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2014-2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + +# The path to Qt's components may not default to the wheel layout for self-compiled PyQt5 installations. Mandate the +# wheel layout. See ``utils/hooks/qt.py`` for more details. + + +def _pyi_rthook(): + import os + import sys + + from _pyi_rth_utils import is_macos_app_bundle, prepend_path_to_environment_variable + from _pyi_rth_utils import qt as qt_rth_utils + + # Ensure this is the only Qt bindings package in the application. + qt_rth_utils.ensure_single_qt_bindings_package("PyQt5") + + # Try PyQt5 5.15.4-style path first... + pyqt_path = os.path.join(sys._MEIPASS, 'PyQt5', 'Qt5') + if not os.path.isdir(pyqt_path): + # ... and fall back to the older version + pyqt_path = os.path.join(sys._MEIPASS, 'PyQt5', 'Qt') + + os.environ['QT_PLUGIN_PATH'] = os.path.join(pyqt_path, 'plugins') + + if is_macos_app_bundle: + # Special handling for macOS .app bundles. To satisfy codesign requirements, we are forced to split `qml` + # directory into two parts; one that keeps only binaries (rooted in `Contents/Frameworks`) and one that keeps + # only data files (rooted in `Contents/Resources), with files from one directory tree being symlinked to the + # other to maintain illusion of a single mixed-content directory. As Qt seems to compute the identifier of its + # QML components based on location of the `qmldir` file w.r.t. the registered QML import paths, we need to + # register both paths, because the `qmldir` file for a component could be reached via either directory tree. + pyqt_path_res = os.path.normpath( + os.path.join(sys._MEIPASS, '..', 'Resources', os.path.relpath(pyqt_path, sys._MEIPASS)) + ) + os.environ['QML2_IMPORT_PATH'] = os.pathsep.join([ + os.path.join(pyqt_path_res, 'qml'), + os.path.join(pyqt_path, 'qml'), + ]) + else: + os.environ['QML2_IMPORT_PATH'] = os.path.join(pyqt_path, 'qml') + + # Back in the day, this was required because PyQt5 5.12.3 explicitly checked that `Qt5Core.dll` was in `PATH` + # (see #4293), and contemporary PyInstaller versions collected that DLL to `sys._MEIPASS`. + # + # Nowadays, we add `sys._MEIPASS` to `PATH` in order to ensure that `QtNetwork` can discover OpenSSL DLLs that might + # have been collected there (i.e., when they were not shipped with the package, and were collected from an external + # location). + if sys.platform.startswith('win'): + prepend_path_to_environment_variable(sys._MEIPASS, 'PATH') + + # Qt bindings package installed via PyPI wheels typically ensures that its bundled Qt is relocatable, by creating + # embedded `qt.conf` file during its initialization. This run-time generated qt.conf dynamically sets the Qt prefix + # path to the package's Qt directory. For bindings packages that do not create embedded `qt.conf` during their + # initialization (for example, conda-installed packages), try to perform this step ourselves. + qt_rth_utils.create_embedded_qt_conf("PyQt5", pyqt_path) + + +_pyi_rthook() +del _pyi_rthook diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pyqt6.py b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pyqt6.py new file mode 100644 index 0000000..d3ed0cd --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pyqt6.py @@ -0,0 +1,70 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + +# The path to Qt's components may not default to the wheel layout for self-compiled PyQt6 installations. Mandate the +# wheel layout. See ``utils/hooks/qt.py`` for more details. + + +def _pyi_rthook(): + import os + import sys + + from _pyi_rth_utils import is_macos_app_bundle, prepend_path_to_environment_variable + from _pyi_rth_utils import qt as qt_rth_utils + + # Ensure this is the only Qt bindings package in the application. + qt_rth_utils.ensure_single_qt_bindings_package("PyQt6") + + # Try PyQt6 6.0.3-style path first... + pyqt_path = os.path.join(sys._MEIPASS, 'PyQt6', 'Qt6') + if not os.path.isdir(pyqt_path): + # ... and fall back to the older version. + pyqt_path = os.path.join(sys._MEIPASS, 'PyQt6', 'Qt') + + os.environ['QT_PLUGIN_PATH'] = os.path.join(pyqt_path, 'plugins') + + if is_macos_app_bundle: + # Special handling for macOS .app bundles. To satisfy codesign requirements, we are forced to split `qml` + # directory into two parts; one that keeps only binaries (rooted in `Contents/Frameworks`) and one that keeps + # only data files (rooted in `Contents/Resources), with files from one directory tree being symlinked to the + # other to maintain illusion of a single mixed-content directory. As Qt seems to compute the identifier of its + # QML components based on location of the `qmldir` file w.r.t. the registered QML import paths, we need to + # register both paths, because the `qmldir` file for a component could be reached via either directory tree. + pyqt_path_res = os.path.normpath( + os.path.join(sys._MEIPASS, '..', 'Resources', os.path.relpath(pyqt_path, sys._MEIPASS)) + ) + os.environ['QML2_IMPORT_PATH'] = os.pathsep.join([ + os.path.join(pyqt_path_res, 'qml'), + os.path.join(pyqt_path, 'qml'), + ]) + else: + os.environ['QML2_IMPORT_PATH'] = os.path.join(pyqt_path, 'qml') + + # Add `sys._MEIPASS` to `PATH` in order to ensure that `QtNetwork` can discover OpenSSL DLLs that might have been + # collected there (i.e., when they were not shipped with the package, and were collected from an external location). + if sys.platform.startswith('win'): + prepend_path_to_environment_variable(sys._MEIPASS, 'PATH') + + # For macOS POSIX builds, we need to add `sys._MEIPASS` to `DYLD_LIBRARY_PATH` so that QtNetwork can discover + # OpenSSL dynamic libraries for its `openssl` TLS backend. This also prevents fallback to external locations, such + # as Homebrew. For .app bundles, this is unnecessary because `QtNetwork` explicitly searches `Contents/Frameworks`. + if sys.platform == 'darwin' and not is_macos_app_bundle: + prepend_path_to_environment_variable(sys._MEIPASS, 'DYLD_LIBRARY_PATH') + + # Qt bindings package installed via PyPI wheels typically ensures that its bundled Qt is relocatable, by creating + # embedded `qt.conf` file during its initialization. This run-time generated qt.conf dynamically sets the Qt prefix + # path to the package's Qt directory. For bindings packages that do not create embedded `qt.conf` during their + # initialization (for example, conda-installed packages), try to perform this step ourselves. + qt_rth_utils.create_embedded_qt_conf("PyQt6", pyqt_path) + + +_pyi_rthook() +del _pyi_rthook diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pyside2.py b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pyside2.py new file mode 100644 index 0000000..3aca93b --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pyside2.py @@ -0,0 +1,63 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + +# The path to Qt's components may not default to the wheel layout for self-compiled PySide2 installations. Mandate the +# wheel layout. See ``utils/hooks/qt.py`` for more details. + + +def _pyi_rthook(): + import os + import sys + + from _pyi_rth_utils import is_macos_app_bundle, prepend_path_to_environment_variable + from _pyi_rth_utils import qt as qt_rth_utils + + # Ensure this is the only Qt bindings package in the application. + qt_rth_utils.ensure_single_qt_bindings_package("PySide2") + + if sys.platform.startswith('win'): + pyqt_path = os.path.join(sys._MEIPASS, 'PySide2') + else: + pyqt_path = os.path.join(sys._MEIPASS, 'PySide2', 'Qt') + + os.environ['QT_PLUGIN_PATH'] = os.path.join(pyqt_path, 'plugins') + + if is_macos_app_bundle: + # Special handling for macOS .app bundles. To satisfy codesign requirements, we are forced to split `qml` + # directory into two parts; one that keeps only binaries (rooted in `Contents/Frameworks`) and one that keeps + # only data files (rooted in `Contents/Resources), with files from one directory tree being symlinked to the + # other to maintain illusion of a single mixed-content directory. As Qt seems to compute the identifier of its + # QML components based on location of the `qmldir` file w.r.t. the registered QML import paths, we need to + # register both paths, because the `qmldir` file for a component could be reached via either directory tree. + pyqt_path_res = os.path.normpath( + os.path.join(sys._MEIPASS, '..', 'Resources', os.path.relpath(pyqt_path, sys._MEIPASS)) + ) + os.environ['QML2_IMPORT_PATH'] = os.pathsep.join([ + os.path.join(pyqt_path_res, 'qml'), + os.path.join(pyqt_path, 'qml'), + ]) + else: + os.environ['QML2_IMPORT_PATH'] = os.path.join(pyqt_path, 'qml') + + # Add `sys._MEIPASS` to `PATH` in order to ensure that `QtNetwork` can discover OpenSSL DLLs that might have been + # collected there (i.e., when they were not shipped with the package, and were collected from an external location). + if sys.platform.startswith('win'): + prepend_path_to_environment_variable(sys._MEIPASS, 'PATH') + + # Qt bindings package installed via PyPI wheels typically ensures that its bundled Qt is relocatable, by creating + # embedded `qt.conf` file during its initialization. This run-time generated qt.conf dynamically sets the Qt prefix + # path to the package's Qt directory. For bindings packages that do not create embedded `qt.conf` during their + # initialization (for example, conda-installed packages), try to perform this step ourselves. + qt_rth_utils.create_embedded_qt_conf("PySide2", pyqt_path) + + +_pyi_rthook() +del _pyi_rthook diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pyside6.py b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pyside6.py new file mode 100644 index 0000000..73db137 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pyside6.py @@ -0,0 +1,69 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + +# The path to Qt's components may not default to the wheel layout for self-compiled PySide6 installations. Mandate the +# wheel layout. See ``utils/hooks/qt.py`` for more details. + + +def _pyi_rthook(): + import os + import sys + + from _pyi_rth_utils import is_macos_app_bundle, prepend_path_to_environment_variable + from _pyi_rth_utils import qt as qt_rth_utils + + # Ensure this is the only Qt bindings package in the application. + qt_rth_utils.ensure_single_qt_bindings_package("PySide6") + + if sys.platform.startswith('win'): + pyqt_path = os.path.join(sys._MEIPASS, 'PySide6') + else: + pyqt_path = os.path.join(sys._MEIPASS, 'PySide6', 'Qt') + + os.environ['QT_PLUGIN_PATH'] = os.path.join(pyqt_path, 'plugins') + + if is_macos_app_bundle: + # Special handling for macOS .app bundles. To satisfy codesign requirements, we are forced to split `qml` + # directory into two parts; one that keeps only binaries (rooted in `Contents/Frameworks`) and one that keeps + # only data files (rooted in `Contents/Resources), with files from one directory tree being symlinked to the + # other to maintain illusion of a single mixed-content directory. As Qt seems to compute the identifier of its + # QML components based on location of the `qmldir` file w.r.t. the registered QML import paths, we need to + # register both paths, because the `qmldir` file for a component could be reached via either directory tree. + pyqt_path_res = os.path.normpath( + os.path.join(sys._MEIPASS, '..', 'Resources', os.path.relpath(pyqt_path, sys._MEIPASS)) + ) + os.environ['QML2_IMPORT_PATH'] = os.pathsep.join([ + os.path.join(pyqt_path_res, 'qml'), + os.path.join(pyqt_path, 'qml'), + ]) + else: + os.environ['QML2_IMPORT_PATH'] = os.path.join(pyqt_path, 'qml') + + # Add `sys._MEIPASS` to `PATH` in order to ensure that `QtNetwork` can discover OpenSSL DLLs that might have been + # collected there (i.e., when they were not shipped with the package, and were collected from an external location). + if sys.platform.startswith('win'): + prepend_path_to_environment_variable(sys._MEIPASS, 'PATH') + + # For macOS POSIX builds, we need to add `sys._MEIPASS` to `DYLD_LIBRARY_PATH` so that QtNetwork can discover + # OpenSSL dynamic libraries for its `openssl` TLS backend. This also prevents fallback to external locations, such + # as Homebrew. For .app bundles, this is unnecessary because `QtNetwork` explicitly searches `Contents/Frameworks`. + if sys.platform == 'darwin' and not is_macos_app_bundle: + prepend_path_to_environment_variable(sys._MEIPASS, 'DYLD_LIBRARY_PATH') + + # Qt bindings package installed via PyPI wheels typically ensures that its bundled Qt is relocatable, by creating + # embedded `qt.conf` file during its initialization. This run-time generated qt.conf dynamically sets the Qt prefix + # path to the package's Qt directory. For bindings packages that do not create embedded `qt.conf` during their + # initialization (for example, conda-installed packages), try to perform this step ourselves. + qt_rth_utils.create_embedded_qt_conf("PySide6", pyqt_path) + + +_pyi_rthook() +del _pyi_rthook diff --git a/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_setuptools.py b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_setuptools.py new file mode 100644 index 0000000..0a3ffb8 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_setuptools.py @@ -0,0 +1,37 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2022-2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + +# This runtime hook performs the equivalent of the distutils-precedence.pth from the setuptools package; +# it registers a special meta finder that diverts import of distutils to setuptools._distutils, if available. + + +def _pyi_rthook(): + def _install_setuptools_distutils_hack(): + import os + import setuptools + + # We need to query setuptools version at runtime, because the default value for SETUPTOOLS_USE_DISTUTILS + # has changed at version 60.0 from "stdlib" to "local", and we want to mimic that behavior. + setuptools_major = int(setuptools.__version__.split('.')[0]) + default_value = "stdlib" if setuptools_major < 60 else "local" + + if os.environ.get("SETUPTOOLS_USE_DISTUTILS", default_value) == "local": + import _distutils_hack + _distutils_hack.add_shim() + + try: + _install_setuptools_distutils_hack() + except Exception: + pass + + +_pyi_rthook() +del _pyi_rthook diff --git a/.venv/Lib/site-packages/PyInstaller/isolated/__init__.py b/.venv/Lib/site-packages/PyInstaller/isolated/__init__.py new file mode 100644 index 0000000..3016e7d --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/isolated/__init__.py @@ -0,0 +1,31 @@ +# ----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) or, at the user's discretion, the MIT License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception OR MIT) +# ----------------------------------------------------------------------------- +""" +PyInstaller hooks typically will need to import the package which they are written for but doing so may manipulate +globals such as :data:`sys.path` or :data:`os.environ` in ways that affect the build. For example, on Windows, +Qt's binaries are added to then loaded via ``PATH`` in such a way that if you import multiple Qt variants in one +session then there is no guarantee which variant's binaries each variant will get! + +To get around this, PyInstaller does any such tasks in an isolated Python subprocess and ships a +:mod:`PyInstaller.isolated` submodule to do so in hooks. :: + + from PyInstaller import isolated + +This submodule provides: + +* :func:`isolated.call() ` to evaluate functions in isolation. +* :func:`@isolated.decorate ` to mark a function as always called in isolation. +* :class:`isolated.Python() ` to efficiently call many functions in a single child instance of Python. + +""" + +# flake8: noqa +from ._parent import Python, call, decorate, SubprocessDiedError diff --git a/.venv/Lib/site-packages/PyInstaller/isolated/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/isolated/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..9198323 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/isolated/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/isolated/__pycache__/_child.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/isolated/__pycache__/_child.cpython-311.pyc new file mode 100644 index 0000000..6f08e42 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/isolated/__pycache__/_child.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/isolated/__pycache__/_parent.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/isolated/__pycache__/_parent.cpython-311.pyc new file mode 100644 index 0000000..a72b92d Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/isolated/__pycache__/_parent.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/isolated/_child.py b/.venv/Lib/site-packages/PyInstaller/isolated/_child.py new file mode 100644 index 0000000..0709b68 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/isolated/_child.py @@ -0,0 +1,101 @@ +# ----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) or, at the user's discretion, the MIT License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception OR MIT) +# ----------------------------------------------------------------------------- +""" +The child process to be invoked by IsolatedPython(). + +This file is to be run directly with pipe handles for reading from and writing to the parent process as command line +arguments. + +""" + +import sys +import os +import types +from marshal import loads, dumps +from base64 import b64encode, b64decode +from traceback import format_exception + +if os.name == "nt": + from msvcrt import open_osfhandle + + def _open(osf_handle, mode): + # Convert system file handles to file descriptors before opening them. + return open(open_osfhandle(osf_handle, 0), mode) +else: + _open = open + + +def run_next_command(read_fh, write_fh): + """ + Listen to **read_fh** for the next function to run. Write the result to **write_fh**. + """ + + # Check the first line of input. Receiving an empty line is the signal that there are no more tasks to be ran. + first_line = read_fh.readline() + if first_line == b"\n": + # It's time to end this child process + return False + + # There are 5 lines to read: The function's code, its default args, its default kwargs, its args, and its kwargs. + code = loads(b64decode(first_line.strip())) + _defaults = loads(b64decode(read_fh.readline().strip())) + _kwdefaults = loads(b64decode(read_fh.readline().strip())) + args = loads(b64decode(read_fh.readline().strip())) + kwargs = loads(b64decode(read_fh.readline().strip())) + + try: + # Define the global namespace available to the function. + GLOBALS = {"__builtins__": __builtins__, "__isolated__": True} + # Reconstruct the function. + function = types.FunctionType(code, GLOBALS) + function.__defaults__ = _defaults + function.__kwdefaults__ = _kwdefaults + + # Run it. + output = function(*args, **kwargs) + + # Verify that the output is serialise-able (i.e. no custom types or module or function references) here so that + # it's caught if it fails. + marshalled = dumps((True, output)) + + except BaseException as ex: + # An exception happened whilst either running the function or serialising its output. Send back a string + # version of the traceback (unfortunately raw traceback objects are not marshal-able) and a boolean to say + # that it failed. + tb_lines = format_exception(type(ex), ex, ex.__traceback__) + if tb_lines[0] == "Traceback (most recent call last):\n": + # This particular line is distracting. Get rid of it. + tb_lines = tb_lines[1:] + marshalled = dumps((False, "".join(tb_lines).rstrip())) + + # Send the output (return value or traceback) back to the parent. + write_fh.write(b64encode(marshalled)) + write_fh.write(b"\n") + write_fh.flush() + + # Signal that an instruction was ran (successfully or otherwise). + return True + + +if __name__ == '__main__': + # Mark this process as PyInstaller's isolated subprocess; this makes attempts at spawning further isolated + # subprocesses via `PyInstaller.isolated` from this process no-op. + sys._pyi_isolated_subprocess = True + + read_from_parent, write_to_parent = map(int, sys.argv[1:]) + + with _open(read_from_parent, "rb") as read_fh: + with _open(write_to_parent, "wb") as write_fh: + sys.path = loads(b64decode(read_fh.readline())) + + # Keep receiving and running instructions until the parent sends the signal to stop. + while run_next_command(read_fh, write_fh): + pass diff --git a/.venv/Lib/site-packages/PyInstaller/isolated/_parent.py b/.venv/Lib/site-packages/PyInstaller/isolated/_parent.py new file mode 100644 index 0000000..0998e93 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/isolated/_parent.py @@ -0,0 +1,437 @@ +# ----------------------------------------------------------------------------- +# Copyright (c) 2021-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) or, at the user's discretion, the MIT License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception OR MIT) +# ----------------------------------------------------------------------------- + +import os +from pathlib import Path +from marshal import loads, dumps +from base64 import b64encode, b64decode +import functools +import subprocess +import sys + +from PyInstaller import compat +from PyInstaller import log as logging + +logger = logging.getLogger(__name__) + +# WinAPI bindings for Windows-specific codepath +if os.name == "nt": + import msvcrt + import ctypes + import ctypes.wintypes + + # CreatePipe + class SECURITY_ATTRIBUTES(ctypes.Structure): + _fields_ = [ + ("nLength", ctypes.wintypes.DWORD), + ("lpSecurityDescriptor", ctypes.wintypes.LPVOID), + ("bInheritHandle", ctypes.wintypes.BOOL), + ] + + HANDLE_FLAG_INHERIT = 0x0001 + + LPSECURITY_ATTRIBUTES = ctypes.POINTER(SECURITY_ATTRIBUTES) + + CreatePipe = ctypes.windll.kernel32.CreatePipe + CreatePipe.argtypes = [ + ctypes.POINTER(ctypes.wintypes.HANDLE), + ctypes.POINTER(ctypes.wintypes.HANDLE), + LPSECURITY_ATTRIBUTES, + ctypes.wintypes.DWORD, + ] + CreatePipe.restype = ctypes.wintypes.BOOL + + # CloseHandle + CloseHandle = ctypes.windll.kernel32.CloseHandle + CloseHandle.argtypes = [ctypes.wintypes.HANDLE] + CloseHandle.restype = ctypes.wintypes.BOOL + +CHILD_PY = Path(__file__).with_name("_child.py") + + +def create_pipe(read_handle_inheritable, write_handle_inheritable): + """ + Create a one-way pipe for sending data to child processes. + + Args: + read_handle_inheritable: + A boolean flag indicating whether the handle corresponding to the read end-point of the pipe should be + marked as inheritable by subprocesses. + write_handle_inheritable: + A boolean flag indicating whether the handle corresponding to the write end-point of the pipe should be + marked as inheritable by subprocesses. + + Returns: + A read/write pair of file descriptors (which are just integers) on posix or system file handles on Windows. + + The pipe may be used either by this process or subprocesses of this process but not globally. + """ + return _create_pipe_impl(read_handle_inheritable, write_handle_inheritable) + + +def close_pipe_endpoint(pipe_handle): + """ + Close the file descriptor (posix) or handle (Windows) belonging to a pipe. + """ + return _close_pipe_endpoint_impl(pipe_handle) + + +if os.name == "nt": + + def _create_pipe_impl(read_handle_inheritable, write_handle_inheritable): + # Use WinAPI CreatePipe function to create the pipe. Python's os.pipe() does the same, but wraps the resulting + # handles into inheritable file descriptors (https://github.com/python/cpython/issues/77046). Instead, we want + # just handles, and will set the inheritable flag on corresponding handle ourselves. + read_handle = ctypes.wintypes.HANDLE() + write_handle = ctypes.wintypes.HANDLE() + + # SECURITY_ATTRIBUTES with inherit handle set to True + security_attributes = SECURITY_ATTRIBUTES() + security_attributes.nLength = ctypes.sizeof(security_attributes) + security_attributes.bInheritHandle = True + security_attributes.lpSecurityDescriptor = None + + # CreatePipe() + succeeded = CreatePipe( + ctypes.byref(read_handle), # hReadPipe + ctypes.byref(write_handle), # hWritePipe + ctypes.byref(security_attributes), # lpPipeAttributes + 0, # nSize + ) + if not succeeded: + raise ctypes.WinError() + + # Set inheritable flags. Instead of binding and using SetHandleInformation WinAPI function, we can use + # os.set_handle_inheritable(). + os.set_handle_inheritable(read_handle.value, read_handle_inheritable) + os.set_handle_inheritable(write_handle.value, write_handle_inheritable) + + return read_handle.value, write_handle.value + + def _close_pipe_endpoint_impl(pipe_handle): + succeeded = CloseHandle(pipe_handle) + if not succeeded: + raise ctypes.WinError() +else: + + def _create_pipe_impl(read_fd_inheritable, write_fd_inheritable): + # Create pipe, using os.pipe() + read_fd, write_fd = os.pipe() + + # The default behaviour of pipes is that they are process specific. I.e., they can only be used by this + # process to talk to itself. Setting inheritable flags means that child processes may also use these pipes. + os.set_inheritable(read_fd, read_fd_inheritable) + os.set_inheritable(write_fd, write_fd_inheritable) + + return read_fd, write_fd + + def _close_pipe_endpoint_impl(pipe_fd): + os.close(pipe_fd) + + +def child(read_from_parent: int, write_to_parent: int): + """ + Spawn a Python subprocess sending it the two file descriptors it needs to talk back to this parent process. + """ + if os.name != 'nt': + # Explicitly disabling close_fds is a requirement for making file descriptors inheritable by child processes. + extra_kwargs = { + "env": _subprocess_env(), + "close_fds": False, + } + else: + # On Windows, we can use subprocess.STARTUPINFO to explicitly pass the list of file handles to be inherited, + # so we can avoid disabling close_fds + extra_kwargs = { + "env": _subprocess_env(), + "close_fds": True, + "startupinfo": subprocess.STARTUPINFO(lpAttributeList={"handle_list": [read_from_parent, write_to_parent]}) + } + + # Run the _child.py script directly passing it the two file descriptors it needs to talk back to the parent. + cmd, options = compat.__wrap_python([str(CHILD_PY), str(read_from_parent), str(write_to_parent)], extra_kwargs) + + # I'm intentionally leaving stdout and stderr alone so that print() can still be used for emergency debugging and + # unhandled errors in the child are still visible. + return subprocess.Popen(cmd, **options) + + +def _subprocess_env(): + """ + Define the environment variables to be readable in a child process. + """ + from PyInstaller.config import CONF + python_path = CONF["pathex"] + if "PYTHONPATH" in os.environ: + python_path = python_path + [os.environ["PYTHONPATH"]] + env = os.environ.copy() + env["PYTHONPATH"] = os.pathsep.join(python_path) + return env + + +class SubprocessDiedError(RuntimeError): + pass + + +class Python: + """ + Start and connect to a separate Python subprocess. + + This is the lowest level of public API provided by this module. The advantage of using this class directly is + that it allows multiple functions to be evaluated in a single subprocess, making it faster than multiple calls to + :func:`call`. + + The ``strict_mode`` argument controls behavior when the child process fails to shut down; if strict mode is enabled, + an error is raised, otherwise only warning is logged. If the value of ``strict_mode`` is ``None``, the value of + ``PyInstaller.compat.strict_collect_mode`` is used (which in turn is controlled by the + ``PYINSTALLER_STRICT_COLLECT_MODE`` environment variable. + + Examples: + To call some predefined functions ``x = foo()``, ``y = bar("numpy")`` and ``z = bazz(some_flag=True)`` all using + the same isolated subprocess use:: + + with isolated.Python() as child: + x = child.call(foo) + y = child.call(bar, "numpy") + z = child.call(bazz, some_flag=True) + + """ + def __init__(self, strict_mode=None): + self._child = None + + # Re-use the compat.strict_collect_mode and its PYINSTALLER_STRICT_COLLECT_MODE environment variable for + # default strict-mode setting. + self._strict_mode = strict_mode if strict_mode is not None else compat.strict_collect_mode + + # Check if we are already running in PyInstaller's isolated subprocess, to prevent further nesting. + self._already_isolated = getattr(sys, '_pyi_isolated_subprocess', False) + + def __enter__(self): + # No-op if already running in an isolated subprocess. + if self._already_isolated: + return self + + # We need two pipes. One for the child to send data to the parent. The (write) end-point passed to the + # child needs to be marked as inheritable. + read_from_child, write_to_parent = create_pipe(False, True) + # And one for the parent to send data to the child. The (read) end-point passed to the child needs to be + # marked as inheritable. + read_from_parent, write_to_child = create_pipe(True, False) + + # Spawn a Python subprocess sending it the two file descriptors it needs to talk back to this parent process. + self._child = child(read_from_parent, write_to_parent) + + # Close the end-points that were inherited by the child. + close_pipe_endpoint(read_from_parent) + close_pipe_endpoint(write_to_parent) + del read_from_parent + del write_to_parent + + # Open file handles to talk to the child. This should fully transfer ownership of the underlying file + # descriptor to the opened handle; so when we close the latter, the former should be closed as well. + if os.name == 'nt': + # On Windows, we must first open file descriptor on top of the handle using _open_osfhandle (which + # python wraps in msvcrt.open_osfhandle). According to MSDN, this transfers the ownership of the + # underlying file handle to the file descriptors; i.e., they are both closed when the file descriptor + # is closed). + self._write_handle = os.fdopen(msvcrt.open_osfhandle(write_to_child, 0), "wb") + self._read_handle = os.fdopen(msvcrt.open_osfhandle(read_from_child, 0), "rb") + else: + self._write_handle = os.fdopen(write_to_child, "wb") + self._read_handle = os.fdopen(read_from_child, "rb") + + self._send(sys.path) + + return self + + def __exit__(self, exc_type, exc_val, exc_tb): + # No-op if already running in an isolated subprocess. + if self._already_isolated: + return + + if exc_type and issubclass(exc_type, SubprocessDiedError): + self._write_handle.close() + self._read_handle.close() + del self._read_handle, self._write_handle + self._child = None + return + # Send the signal (a blank line) to the child to tell it that it's time to stop. + self._write_handle.write(b"\n") + self._write_handle.flush() + + # Wait for the child process to exit. The timeout is necessary for corner cases when the sub-process fails to + # exit (such as due to dangling non-daemon threads; see #7290). At this point, the subprocess already did all + # its work, so it should be safe to terminate. And as we expect it to shut down quickly (or not at all), the + # timeout is relatively short. + # + # In strict build mode, we raise an error when the subprocess fails to exit on its own, but do so only after + # we attempt to kill the subprocess, to avoid leaving zombie processes. + shutdown_error = False + + try: + self._child.wait(timeout=5) + except subprocess.TimeoutExpired: + logger.warning("Timed out while waiting for the child process to exit!") + shutdown_error = True + self._child.kill() + try: + self._child.wait(timeout=15) + except subprocess.TimeoutExpired: + logger.warning("Timed out while waiting for the child process to be killed!") + # Give up and fall through + + # Close the handles. This should also close the underlying file descriptors. + self._write_handle.close() + self._read_handle.close() + del self._read_handle, self._write_handle + + self._child = None + + # Raise an error in strict mode, after all clean-up has been performed. + if shutdown_error and self._strict_mode: + raise RuntimeError("Timed out while waiting for the child process to exit!") + + def call(self, function, *args, **kwargs): + """ + Call a function in the child Python. Retrieve its return value. Usage of this method is identical to that + of the :func:`call` function. + """ + # If already running in an isolated subprocess, directly execute the function. + if self._already_isolated: + return function(*args, **kwargs) + + if self._child is None: + raise RuntimeError("An isolated.Python object must be used in a 'with' clause.") + + self._send(function.__code__, function.__defaults__, function.__kwdefaults__, args, kwargs) + + # Read a single line of output back from the child. This contains if the function worked and either its return + # value or a traceback. This will block indefinitely until it receives a '\n' byte. + try: + ok, output = loads(b64decode(self._read_handle.readline())) + except (EOFError, BrokenPipeError): + # Subprocess appears to have died in an unhandleable way (e.g. SIGSEV). Raise an error. + raise SubprocessDiedError( + f"Child process died calling {function.__name__}() with args={args} and " + f"kwargs={kwargs}. Its exit code was {self._child.wait()}." + ) from None + + # If all went well, then ``output`` is the return value. + if ok: + return output + + # Otherwise an error happened and ``output`` is a string-ified stacktrace. Raise an error appending the + # stacktrace. Having the output in this order gives a nice fluent transition from parent to child in the stack + # trace. + raise RuntimeError(f"Child process call to {function.__name__}() failed with:\n" + output) + + def _send(self, *objects): + for object in objects: + self._write_handle.write(b64encode(dumps(object))) + self._write_handle.write(b"\n") + # Flushing is very important. Without it, the data is not sent but forever sits in a buffer so that the child is + # forever waiting for its data and the parent in turn is forever waiting for the child's response. + self._write_handle.flush() + + +def call(function, *args, **kwargs): + r""" + Call a function with arguments in a separate child Python. Retrieve its return value. + + Args: + function: + The function to send and invoke. + *args: + **kwargs: + Positional and keyword arguments to send to the function. These must be simple builtin types - not custom + classes. + Returns: + The return value of the function. Again, these must be basic types serialisable by :func:`marshal.dumps`. + Raises: + RuntimeError: + Any exception which happens inside an isolated process is caught and reraised in the parent process. + + To use, define a function which returns the information you're looking for. Any imports it requires must happen in + the body of the function. For example, to safely check the output of ``matplotlib.get_data_path()`` use:: + + # Define a function to be ran in isolation. + def get_matplotlib_data_path(): + import matplotlib + return matplotlib.get_data_path() + + # Call it with isolated.call(). + get_matplotlib_data_path = isolated.call(matplotlib_data_path) + + For single use functions taking no arguments like the above you can abuse the decorator syntax slightly to define + and execute a function in one go. :: + + >>> @isolated.call + ... def matplotlib_data_dir(): + ... import matplotlib + ... return matplotlib.get_data_path() + >>> matplotlib_data_dir + '/home/brenainn/.pyenv/versions/3.9.6/lib/python3.9/site-packages/matplotlib/mpl-data' + + Functions may take positional and keyword arguments and return most generic Python data types. :: + + >>> def echo_parameters(*args, **kwargs): + ... return args, kwargs + >>> isolated.call(echo_parameters, 1, 2, 3) + (1, 2, 3), {} + >>> isolated.call(echo_parameters, foo=["bar"]) + (), {'foo': ['bar']} + + Notes: + To make a function behave differently if it's isolated, check for the ``__isolated__`` global. :: + + if globals().get("__isolated__", False): + # We're inside a child process. + ... + else: + # This is the master process. + ... + + """ + with Python() as isolated: + return isolated.call(function, *args, **kwargs) + + +def decorate(function): + """ + Decorate a function so that it is always called in an isolated subprocess. + + Examples: + + To use, write a function then prepend ``@isolated.decorate``. :: + + @isolated.decorate + def add_1(x): + '''Add 1 to ``x``, displaying the current process ID.''' + import os + print(f"Process {os.getpid()}: Adding 1 to {x}.") + return x + 1 + + The resultant ``add_1()`` function can now be called as you would a + normal function and it'll automatically use a subprocess. + + >>> add_1(4) + Process 4920: Adding 1 to 4. + 5 + >>> add_1(13.2) + Process 4928: Adding 1 to 13.2. + 14.2 + + """ + @functools.wraps(function) + def wrapped(*args, **kwargs): + return call(function, *args, **kwargs) + + return wrapped diff --git a/.venv/Lib/site-packages/PyInstaller/lib/README.rst b/.venv/Lib/site-packages/PyInstaller/lib/README.rst new file mode 100644 index 0000000..a09f6d5 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/lib/README.rst @@ -0,0 +1,49 @@ +Custom modifications of 3rd party libraries +=========================================== + +NOTE: PyInstaller does not extend PYTHONPATH (sys.path) with this directory +that contains bundled 3rd party libraries. + +Some users complained that PyInstaller failed because their apps were using +too old versions of some libraries that PyInstaller uses too and that's why +extending sys.path was dropped. + +All libraries are tweaked to be importable as:: + + from PyInstaller.lib.LIB_NAME import xyz + +In libraries replace imports like:: + + from altgraph import y + from modulegraph import z + +with relative prefix:: + + from ..altgraph import y + from ..modulegraph import z + + +altgraph +---------- + +- add fixed version string to ./altgraph/__init__.py:: + + # For PyInstaller/lib/ define the version here, since there is no + # package-resource. + __version__ = '0.13' + + +modulegraph +----------- + +https://bitbucket.org/ronaldoussoren/modulegraph/downloads + +- TODO Use official modulegraph version when following issue is resolved and pull request merged + https://bitbucket.org/ronaldoussoren/modulegraph/issues/28/__main__-module-being-analyzed-for-wheel + +- add fixed version string to ./modulegraph/__init__.py:: + + # For PyInstaller/lib/ define the version here, since there is no + # package-resource. + __version__ = '0.13' + diff --git a/.venv/Lib/site-packages/PyInstaller/lib/__init__.py b/.venv/Lib/site-packages/PyInstaller/lib/__init__.py new file mode 100644 index 0000000..792d600 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/lib/__init__.py @@ -0,0 +1 @@ +# diff --git a/.venv/Lib/site-packages/PyInstaller/lib/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/lib/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..9ac3596 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/lib/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/__init__.py b/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/__init__.py new file mode 100644 index 0000000..9446169 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/__init__.py @@ -0,0 +1 @@ +__version__ = '0.17' diff --git a/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/__main__.py b/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/__main__.py new file mode 100644 index 0000000..ea4670b --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/__main__.py @@ -0,0 +1,89 @@ +import sys +import os +import argparse +from .modulegraph import ModuleGraph + + +def parse_arguments(): + parser = argparse.ArgumentParser( + conflict_handler='resolve', prog='%s -mmodulegraph' % ( + os.path.basename(sys.executable))) + parser.add_argument( + '-d', action='count', dest='debug', default=1, + help='Increase debug level') + parser.add_argument( + '-q', action='store_const', dest='debug', const=0, + help='Clear debug level') + parser.add_argument( + '-m', '--modules', action='store_true', + dest='domods', default=False, + help='arguments are module names, not script files') + parser.add_argument( + '-x', metavar='NAME', action='append', dest='excludes', + default=[], help='Add NAME to the excludes list') + parser.add_argument( + '-p', action='append', metavar='PATH', dest='addpath', default=[], + help='Add PATH to the module search path') + parser.add_argument( + '-g', '--dot', action='store_const', dest='output', const='dot', + help='Output a .dot graph') + parser.add_argument( + '-h', '--html', action='store_const', + dest='output', const='html', help='Output a HTML file') + parser.add_argument( + 'scripts', metavar='SCRIPT', nargs='+', help='scripts to analyse') + + opts = parser.parse_args() + return opts + + +def create_graph(scripts, domods, debuglevel, excludes, path_extras): + # Set the path based on sys.path and the script directory + path = sys.path[:] + + if domods: + del path[0] + else: + path[0] = os.path.dirname(scripts[0]) + + path = path_extras + path + if debuglevel > 1: + print("path:", file=sys.stderr) + for item in path: + print(" ", repr(item), file=sys.stderr) + + # Create the module finder and turn its crank + mf = ModuleGraph(path, excludes=excludes, debug=debuglevel) + for arg in scripts: + if domods: + if arg[-2:] == '.*': + mf.import_hook(arg[:-2], None, ["*"]) + else: + mf.import_hook(arg) + else: + mf.add_script(arg) + return mf + + +def output_graph(output_format, mf): + if output_format == 'dot': + mf.graphreport() + elif output_format == 'html': + mf.create_xref() + else: + mf.report() + + +def main(): + opts = parse_arguments() + mf = create_graph( + opts.scripts, opts.domods, opts.debug, + opts.excludes, opts.addpath) + output_graph(opts.output, mf) + + +if __name__ == '__main__': # pragma: no cover + try: + main() + except KeyboardInterrupt: + print("\n[interrupt]") diff --git a/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..e53718b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/__pycache__/__main__.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/__pycache__/__main__.cpython-311.pyc new file mode 100644 index 0000000..c822b29 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/__pycache__/__main__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/__pycache__/find_modules.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/__pycache__/find_modules.cpython-311.pyc new file mode 100644 index 0000000..007ad40 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/__pycache__/find_modules.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/__pycache__/modulegraph.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/__pycache__/modulegraph.cpython-311.pyc new file mode 100644 index 0000000..8794c18 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/__pycache__/modulegraph.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/__pycache__/util.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/__pycache__/util.cpython-311.pyc new file mode 100644 index 0000000..39e3b50 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/__pycache__/util.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/find_modules.py b/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/find_modules.py new file mode 100644 index 0000000..b383b28 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/find_modules.py @@ -0,0 +1,61 @@ +""" +modulegraph.find_modules - High-level module dependency finding interface +========================================================================= + +History +........ + +Originally (loosely) based on code in py2exe's build_exe.py by Thomas Heller. +""" +import os +import pkgutil + +from .modulegraph import Alias + +def get_implies(): + def _xml_etree_modules(): + import xml.etree + return [ + f"xml.etree.{module_name}" + for _, module_name, is_package in pkgutil.iter_modules(xml.etree.__path__) + if not is_package + ] + + result = { + # imports done from C code in built-in and/or extension modules + # (untrackable by modulegraph). + "_curses": ["curses"], + "posix": ["resource"], + "gc": ["time"], + "time": ["_strptime"], + "datetime": ["time"], + "parser": ["copyreg"], + "codecs": ["encodings"], + "_sre": ["copy", "re"], + "zipimport": ["zlib"], + + # _frozen_importlib is part of the interpreter itself + "_frozen_importlib": None, + + # os.path is an alias for a platform specific module, + # ensure that the graph shows this. + "os.path": Alias(os.path.__name__), + + # Python >= 3.2: + "_datetime": ["time", "_strptime"], + "_json": ["json.decoder"], + "_pickle": ["codecs", "copyreg", "_compat_pickle"], + "_posixsubprocess": ["gc"], + "_ssl": ["socket"], + + # Python >= 3.3: + "_elementtree": ["pyexpat"] + _xml_etree_modules(), + + # This is not C extension, but it uses __import__ + "anydbm": ["dbhash", "gdbm", "dbm", "dumbdbm", "whichdb"], + + # Known package aliases + "wxPython.wx": Alias('wx'), + } + + return result diff --git a/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/modulegraph.py b/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/modulegraph.py new file mode 100644 index 0000000..5b8722e --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/modulegraph.py @@ -0,0 +1,3099 @@ +""" +Find modules used by a script, using bytecode analysis. + +Based on the stdlib modulefinder by Thomas Heller and Just van Rossum, +but uses a graph data structure and 2.3 features + +XXX: Verify all calls to _import_hook (and variants) to ensure that +imports are done in the right way. +""" +#FIXME: To decrease the likelihood of ModuleGraph exceeding the recursion limit +#and hence unpredictably raising fatal exceptions, increase the recursion +#limit at PyInstaller startup (i.e., in the +#PyInstaller.building.build_main.build() function). For details, see: +# https://github.com/pyinstaller/pyinstaller/issues/1919#issuecomment-216016176 + +import ast +import os +import pkgutil +import sys +import re +from collections import deque, namedtuple, defaultdict +import urllib.request +import warnings +import importlib.util +import importlib.machinery + +# The logic in PyInstaller.compat ensures that these are available and +# of correct version. +if sys.version_info >= (3, 10): + import importlib.metadata as importlib_metadata +else: + import importlib_metadata + +# The latest version of altgraph at the time of writing (v0.17.4) still +# uses pkg_resources to query its own version. With setuptools >= 80.9.0, +# this triggers deprecation warnings. For now, suppress them. +with warnings.catch_warnings(): + warnings.filterwarnings( + "ignore", + category=UserWarning, + message="pkg_resources is deprecated", + ) + from altgraph.ObjectGraph import ObjectGraph + from altgraph import GraphError + +from . import util + + +class BUILTIN_MODULE: + def is_package(fqname): + return False + + +class NAMESPACE_PACKAGE: + def __init__(self, namespace_dirs): + self.namespace_dirs = namespace_dirs + + def is_package(self, fqname): + return True + + +#FIXME: Leverage this rather than magic numbers below. +ABSOLUTE_OR_RELATIVE_IMPORT_LEVEL = -1 +""" +Constant instructing the builtin `__import__()` function to attempt both +absolute and relative imports. +""" + + +#FIXME: Leverage this rather than magic numbers below. +ABSOLUTE_IMPORT_LEVEL = 0 +""" +Constant instructing the builtin `__import__()` function to attempt only +absolute imports. +""" + + +#FIXME: Leverage this rather than magic numbers below. +DEFAULT_IMPORT_LEVEL = ABSOLUTE_IMPORT_LEVEL +""" +Constant instructing the builtin `__import__()` function to attempt the default +import style specific to the active Python interpreter. + +Specifically, under: + +* Python 2, this defaults to attempting both absolute and relative imports. +* Python 3, this defaults to attempting only absolute imports. +""" + + +class InvalidRelativeImportError (ImportError): + pass + + +def _path_from_importerror(exc, default): + # This is a hack, but sadly enough the necessary information + # isn't available otherwise. + m = re.match(r'^No module named (\S+)$', str(exc)) + if m is not None: + return m.group(1) + + return default + + +#FIXME: What is this? Do we actually need this? This appears to provide +#significantly more fine-grained metadata than PyInstaller will ever require. +#It consumes a great deal of space (slots or no slots), since we store an +#instance of this class for each edge of the graph. +class DependencyInfo (namedtuple("DependencyInfo", + ["conditional", "function", "tryexcept", "fromlist"])): + __slots__ = () + + def _merged(self, other): + if (not self.conditional and not self.function and not self.tryexcept) \ + or (not other.conditional and not other.function and not other.tryexcept): + return DependencyInfo( + conditional=False, + function=False, + tryexcept=False, + fromlist=self.fromlist and other.fromlist) + + else: + return DependencyInfo( + conditional=self.conditional or other.conditional, + function=self.function or other.function, + tryexcept=self.tryexcept or other.tryexcept, + fromlist=self.fromlist and other.fromlist) + + +#FIXME: Shift the following Node class hierarchy into a new +#"PyInstaller.lib.modulegraph.node" module. This module is much too long. +#FIXME: Refactor "_deferred_imports" from a tuple into a proper lightweight +#class leveraging "__slots__". If not for backward compatibility, we'd just +#leverage a named tuple -- but this should do just as well. +#FIXME: Move the "packagepath" attribute into the "Package" class. Only +#packages define the "__path__" special attribute. The codebase currently +#erroneously tests whether "module.packagepath is not None" to determine +#whether a node is a package or not. However, "isinstance(module, Package)" is +#a significantly more reliable test. Refactor the former into the latter. +class Node: + """ + Abstract base class (ABC) of all objects added to a `ModuleGraph`. + + Attributes + ---------- + code : codeobject + Code object of the pure-Python module corresponding to this graph node + if any _or_ `None` otherwise. + graphident : str + Synonym of `identifier` required by the `ObjectGraph` superclass of the + `ModuleGraph` class. For readability, the `identifier` attribute should + typically be used instead. + filename : str + Absolute path of this graph node's corresponding module, package, or C + extension if any _or_ `None` otherwise. + identifier : str + Fully-qualified name of this graph node's corresponding module, + package, or C extension. + packagepath : str + List of the absolute paths of all directories comprising this graph + node's corresponding package. If this is a: + * Non-namespace package, this list contains exactly one path. + * Namespace package, this list contains one or more paths. + _deferred_imports : list + List of all target modules imported by the source module corresponding + to this graph node whole importations have been deferred for subsequent + processing in between calls to the `_ModuleGraph._scan_code()` and + `_ModuleGraph._process_imports()` methods for this source module _or_ + `None` otherwise. Each element of this list is a 3-tuple + `(have_star, _safe_import_hook_args, _safe_import_hook_kwargs)` + collecting the importation of a target module from this source module + for subsequent processing, where: + * `have_star` is a boolean `True` only if this is a `from`-style star + import (e.g., resembling `from {target_module_name} import *`). + * `_safe_import_hook_args` is a (typically non-empty) sequence of all + positional arguments to be passed to the `_safe_import_hook()` method + to add this importation to the graph. + * `_safe_import_hook_kwargs` is a (typically empty) dictionary of all + keyword arguments to be passed to the `_safe_import_hook()` method + to add this importation to the graph. + Unlike functional languages, Python imposes a maximum depth on the + interpreter stack (and hence recursion). On breaching this depth, + Python raises a fatal `RuntimeError` exception. Since `ModuleGraph` + parses imports recursively rather than iteratively, this depth _was_ + commonly breached before the introduction of this list. Python + environments installing a large number of modules (e.g., Anaconda) were + particularly susceptible. Why? Because `ModuleGraph` concurrently + descended through both the abstract syntax trees (ASTs) of all source + modules being parsed _and_ the graph of all target modules imported by + these source modules being built. The stack thus consisted of + alternating layers of AST and graph traversal. To unwind such + alternation and effectively halve the stack depth, `ModuleGraph` now + descends through the abstract syntax tree (AST) of each source module + being parsed and adds all importations originating within this module + to this list _before_ descending into the graph of these importations. + See pyinstaller/pyinstaller/#1289 for further details. + _global_attr_names : set + Set of the unqualified names of all global attributes (e.g., classes, + variables) defined in the pure-Python module corresponding to this + graph node if any _or_ the empty set otherwise. This includes the names + of all attributes imported via `from`-style star imports from other + existing modules (e.g., `from {target_module_name} import *`). This + set is principally used to differentiate the non-ignorable importation + of non-existent submodules in a package from the ignorable importation + of existing global attributes defined in that package's pure-Python + `__init__` submodule in `from`-style imports (e.g., `bar` in + `from foo import bar`, which may be either a submodule or attribute of + `foo`), as such imports ambiguously allow both. This set is _not_ used + to differentiate submodules from attributes in `import`-style imports + (e.g., `bar` in `import foo.bar`, which _must_ be a submodule of + `foo`), as such imports unambiguously allow only submodules. + _starimported_ignored_module_names : set + Set of the fully-qualified names of all existing unparsable modules + that the existing parsable module corresponding to this graph node + attempted to perform one or more "star imports" from. If this module + either does _not_ exist or does but is unparsable, this is the empty + set. Equivalently, this set contains each fully-qualified name + `{trg_module_name}` for which: + * This module contains an import statement of the form + `from {trg_module_name} import *`. + * The module whose name is `{trg_module_name}` exists but is _not_ + parsable by `ModuleGraph` (e.g., due to _not_ being pure-Python). + **This set is currently defined but otherwise ignored.** + _submodule_basename_to_node : dict + Dictionary mapping from the unqualified name of each submodule + contained by the parent module corresponding to this graph node to that + submodule's graph node. If this dictionary is non-empty, this parent + module is typically but _not_ always a package (e.g., the non-package + `os` module containing the `os.path` submodule). + """ + + __slots__ = [ + 'code', + 'filename', + 'graphident', + 'identifier', + 'packagepath', + '_deferred_imports', + '_global_attr_names', + '_starimported_ignored_module_names', + '_submodule_basename_to_node', + ] + + def __init__(self, identifier): + """ + Initialize this graph node. + + Parameters + ---------- + identifier : str + Fully-qualified name of this graph node's corresponding module, + package, or C extension. + """ + + self.code = None + self.filename = None + self.graphident = identifier + self.identifier = identifier + self.packagepath = None + self._deferred_imports = None + self._global_attr_names = set() + self._starimported_ignored_module_names = set() + self._submodule_basename_to_node = dict() + + + def is_global_attr(self, attr_name): + """ + `True` only if the pure-Python module corresponding to this graph node + defines a global attribute (e.g., class, variable) with the passed + name. + + If this module is actually a package, this method instead returns + `True` only if this package's pure-Python `__init__` submodule defines + such a global attribute. In this case, note that this package may still + contain an importable submodule of the same name. Callers should + attempt to import this attribute as a submodule of this package + _before_ assuming this attribute to be an ignorable global. See + "Examples" below for further details. + + Parameters + ---------- + attr_name : str + Unqualified name of the attribute to be tested. + + Returns + ---------- + bool + `True` only if this module defines this global attribute. + + Examples + ---------- + Consider a hypothetical module `foo` containing submodules `bar` and + `__init__` where the latter assigns `bar` to be a global variable + (possibly star-exported via the special `__all__` global variable): + + >>> # In "foo.__init__": + >>> bar = 3.1415 + + Python 2 and 3 both permissively permit this. This method returns + `True` in this case (i.e., when called on the `foo` package's graph + node, passed the attribute name `bar`) despite the importability of the + `foo.bar` submodule. + """ + + return attr_name in self._global_attr_names + + + def is_submodule(self, submodule_basename): + """ + `True` only if the parent module corresponding to this graph node + contains the submodule with the passed name. + + If `True`, this parent module is typically but _not_ always a package + (e.g., the non-package `os` module containing the `os.path` submodule). + + Parameters + ---------- + submodule_basename : str + Unqualified name of the submodule to be tested. + + Returns + ---------- + bool + `True` only if this parent module contains this submodule. + """ + + return submodule_basename in self._submodule_basename_to_node + + + def add_global_attr(self, attr_name): + """ + Record the global attribute (e.g., class, variable) with the passed + name to be defined by the pure-Python module corresponding to this + graph node. + + If this module is actually a package, this method instead records this + attribute to be defined by this package's pure-Python `__init__` + submodule. + + Parameters + ---------- + attr_name : str + Unqualified name of the attribute to be added. + """ + + self._global_attr_names.add(attr_name) + + + def add_global_attrs_from_module(self, target_module): + """ + Record all global attributes (e.g., classes, variables) defined by the + target module corresponding to the passed graph node to also be defined + by the source module corresponding to this graph node. + + If the source module is actually a package, this method instead records + these attributes to be defined by this package's pure-Python `__init__` + submodule. + + Parameters + ---------- + target_module : Node + Graph node of the target module to import attributes from. + """ + + self._global_attr_names.update(target_module._global_attr_names) + + + def add_submodule(self, submodule_basename, submodule_node): + """ + Add the submodule with the passed name and previously imported graph + node to the parent module corresponding to this graph node. + + This parent module is typically but _not_ always a package (e.g., the + non-package `os` module containing the `os.path` submodule). + + Parameters + ---------- + submodule_basename : str + Unqualified name of the submodule to add to this parent module. + submodule_node : Node + Graph node of this submodule. + """ + + self._submodule_basename_to_node[submodule_basename] = submodule_node + + + def get_submodule(self, submodule_basename): + """ + Graph node of the submodule with the passed name in the parent module + corresponding to this graph node. + + If this parent module does _not_ contain this submodule, an exception + is raised. Else, this parent module is typically but _not_ always a + package (e.g., the non-package `os` module containing the `os.path` + submodule). + + Parameters + ---------- + module_basename : str + Unqualified name of the submodule to retrieve. + + Returns + ---------- + Node + Graph node of this submodule. + """ + + return self._submodule_basename_to_node[submodule_basename] + + + def get_submodule_or_none(self, submodule_basename): + """ + Graph node of the submodule with the passed unqualified name in the + parent module corresponding to this graph node if this module contains + this submodule _or_ `None`. + + This parent module is typically but _not_ always a package (e.g., the + non-package `os` module containing the `os.path` submodule). + + Parameters + ---------- + submodule_basename : str + Unqualified name of the submodule to retrieve. + + Returns + ---------- + Node + Graph node of this submodule if this parent module contains this + submodule _or_ `None`. + """ + + return self._submodule_basename_to_node.get(submodule_basename) + + + def remove_global_attr_if_found(self, attr_name): + """ + Record the global attribute (e.g., class, variable) with the passed + name if previously recorded as defined by the pure-Python module + corresponding to this graph node to be subsequently undefined by the + same module. + + If this module is actually a package, this method instead records this + attribute to be undefined by this package's pure-Python `__init__` + submodule. + + This method is intended to be called on globals previously defined by + this module that are subsequently undefined via the `del` built-in by + this module, thus "forgetting" or "undoing" these globals. + + For safety, there exists no corresponding `remove_global_attr()` + method. While defining this method is trivial, doing so would invite + `KeyError` exceptions on scanning valid Python that lexically deletes a + global in a scope under this module's top level (e.g., in a function) + _before_ defining this global at this top level. Since `ModuleGraph` + cannot and should not (re)implement a full-blown Python interpreter, + ignoring out-of-order deletions is the only sane policy. + + Parameters + ---------- + attr_name : str + Unqualified name of the attribute to be removed. + """ + + if self.is_global_attr(attr_name): + self._global_attr_names.remove(attr_name) + + def __eq__(self, other): + try: + otherIdent = getattr(other, 'graphident') + except AttributeError: + return False + + return self.graphident == otherIdent + + def __ne__(self, other): + try: + otherIdent = getattr(other, 'graphident') + except AttributeError: + return True + + return self.graphident != otherIdent + + def __lt__(self, other): + try: + otherIdent = getattr(other, 'graphident') + except AttributeError: + return NotImplemented + + return self.graphident < otherIdent + + def __le__(self, other): + try: + otherIdent = getattr(other, 'graphident') + except AttributeError: + return NotImplemented + + return self.graphident <= otherIdent + + def __gt__(self, other): + try: + otherIdent = getattr(other, 'graphident') + except AttributeError: + return NotImplemented + + return self.graphident > otherIdent + + def __ge__(self, other): + try: + otherIdent = getattr(other, 'graphident') + except AttributeError: + return NotImplemented + + return self.graphident >= otherIdent + + def __hash__(self): + return hash(self.graphident) + + def infoTuple(self): + return (self.identifier,) + + def __repr__(self): + return '%s%r' % (type(self).__name__, self.infoTuple()) + + +class Alias(str): + """ + Placeholder aliasing an existing source module to a non-existent target + module (i.e., the desired alias). + + For obscure reasons, this class subclasses `str`. Each instance of this + class is the fully-qualified name of the existing source module being + aliased. Unlike the related `AliasNode` class, instances of this class are + _not_ actual nodes and hence _not_ added to the graph; they only facilitate + communication between the `ModuleGraph.alias_module()` and + `ModuleGraph.find_node()` methods. + """ + + +class AliasNode(Node): + """ + Graph node representing the aliasing of an existing source module under a + non-existent target module name (i.e., the desired alias). + """ + + def __init__(self, name, node=None): + """ + Initialize this alias. + + Parameters + ---------- + name : str + Fully-qualified name of the non-existent target module to be + created (as an alias of the existing source module). + node : Node + Graph node of the existing source module being aliased. Optional; + if not provided here, the attributes from referred node should + be copied later using `copyAttributesFromReferredNode` method. + """ + super(AliasNode, self).__init__(name) + + # Copy attributes from referred node, if provided + self.copyAttributesFromReferredNode(node) + + def copyAttributesFromReferredNode(self, node): + """ + Copy a subset of attributes from referred node (source module) into this target alias. + """ + # FIXME: Why only some? Why not *EVERYTHING* except "graphident", which + # must remain equal to "name" for lookup purposes? This is, after all, + # an alias. The idea is for the two nodes to effectively be the same. + for attr_name in ( + 'identifier', 'packagepath', + '_global_attr_names', '_starimported_ignored_module_names', + '_submodule_basename_to_node'): + if hasattr(node, attr_name): + setattr(self, attr_name, getattr(node, attr_name)) + + def infoTuple(self): + return (self.graphident, self.identifier) + + +class BadModule(Node): + pass + + +class ExcludedModule(BadModule): + pass + + +class MissingModule(BadModule): + pass + + +class InvalidRelativeImport (BadModule): + def __init__(self, relative_path, from_name): + identifier = relative_path + if relative_path.endswith('.'): + identifier += from_name + else: + identifier += '.' + from_name + super(InvalidRelativeImport, self).__init__(identifier) + self.relative_path = relative_path + self.from_name = from_name + + def infoTuple(self): + return (self.relative_path, self.from_name) + + +class Script(Node): + def __init__(self, filename): + super(Script, self).__init__(filename) + self.filename = filename + + def infoTuple(self): + return (self.filename,) + + +class BaseModule(Node): + def __init__(self, name, filename=None, path=None): + super(BaseModule, self).__init__(name) + self.filename = filename + self.packagepath = path + + def infoTuple(self): + return tuple(filter(None, (self.identifier, self.filename, self.packagepath))) + + +class BuiltinModule(BaseModule): + pass + + +class SourceModule(BaseModule): + pass + + +class InvalidSourceModule(SourceModule): + pass + + +class CompiledModule(BaseModule): + pass + + +class InvalidCompiledModule(BaseModule): + pass + + +class Extension(BaseModule): + pass + + +class Package(BaseModule): + """ + Graph node representing a non-namespace package. + """ + pass + + +class ExtensionPackage(Extension, Package): + """ + Graph node representing a package where the __init__ module is an extension + module. + """ + pass + + +class NamespacePackage(Package): + """ + Graph node representing a namespace package. + """ + pass + + +class RuntimeModule(BaseModule): + """ + Graph node representing a non-package Python module dynamically defined at + runtime. + + Most modules are statically defined on-disk as standard Python files. + Some modules, however, are dynamically defined in-memory at runtime + (e.g., `gi.repository.Gst`, dynamically defined by the statically + defined `gi.repository.__init__` module). + + This node represents such a runtime module. Since this is _not_ a package, + all attempts to import submodules from this module in `from`-style import + statements (e.g., the `queue` submodule in `from six.moves import queue`) + will be silently ignored. + + To ensure that the parent package of this module if any is also imported + and added to the graph, this node is typically added to the graph by + calling the `ModuleGraph.add_module()` method. + """ + pass + + +class RuntimePackage(Package): + """ + Graph node representing a non-namespace Python package dynamically defined + at runtime. + + Most packages are statically defined on-disk as standard subdirectories + containing `__init__.py` files. Some packages, however, are dynamically + defined in-memory at runtime (e.g., `six.moves`, dynamically defined by + the statically defined `six` module). + + This node represents such a runtime package. All attributes imported from + this package in `from`-style import statements that are submodules of this + package (e.g., the `queue` submodule in `from six.moves import queue`) will + be imported rather than ignored. + + To ensure that the parent package of this package if any is also imported + and added to the graph, this node is typically added to the graph by + calling the `ModuleGraph.add_module()` method. + """ + pass + + +#FIXME: Safely removable. We don't actually use this anywhere. After removing +#this class, remove the corresponding entry from "compat". +class FlatPackage(BaseModule): + def __init__(self, *args, **kwds): + warnings.warn( + "This class will be removed in a future version of modulegraph", + DeprecationWarning) + super(FlatPackage, *args, **kwds) + + +#FIXME: Safely removable. We don't actually use this anywhere. After removing +#this class, remove the corresponding entry from "compat". +class ArchiveModule(BaseModule): + def __init__(self, *args, **kwds): + warnings.warn( + "This class will be removed in a future version of modulegraph", + DeprecationWarning) + super(FlatPackage, *args, **kwds) + + +# HTML templates for ModuleGraph generator +header = """\ + + + + + %(TITLE)s + + + +

%(TITLE)s

""" +entry = """ +
+ + %(CONTENT)s +
""" +contpl = """%(NAME)s %(TYPE)s""" +contpl_linked = """\ +%(NAME)s +%(TYPE)s""" +imports = """\ +
+%(HEAD)s: + %(LINKS)s +
+""" +footer = """ + +""" + + +def _ast_names(names): + result = [] + for nm in names: + if isinstance(nm, ast.alias): + result.append(nm.name) + else: + result.append(nm) + + result = [r for r in result if r != '__main__'] + return result + + +def uniq(seq): + """Remove duplicates from a list, preserving order""" + # Taken from https://stackoverflow.com/questions/480214 + seen = set() + seen_add = seen.add + return [x for x in seq if not (x in seen or seen_add(x))] + + +DEFAULT_IMPORT_LEVEL = 0 + + +class _Visitor(ast.NodeVisitor): + def __init__(self, graph, module): + self._graph = graph + self._module = module + self._level = DEFAULT_IMPORT_LEVEL + self._in_if = [False] + self._in_def = [False] + self._in_tryexcept = [False] + + @property + def in_if(self): + return self._in_if[-1] + + @property + def in_def(self): + return self._in_def[-1] + + @property + def in_tryexcept(self): + return self._in_tryexcept[-1] + + + def _collect_import(self, name, fromlist, level): + have_star = False + if fromlist is not None: + fromlist = uniq(fromlist) + if '*' in fromlist: + fromlist.remove('*') + have_star = True + + # Record this import as originating from this module for subsequent + # handling by the _process_imports() method. + self._module._deferred_imports.append( + (have_star, + (name, self._module, fromlist, level), + {'edge_attr': DependencyInfo( + conditional=self.in_if, + tryexcept=self.in_tryexcept, + function=self.in_def, + fromlist=False)})) + + + def visit_Import(self, node): + for nm in _ast_names(node.names): + self._collect_import(nm, None, self._level) + + def visit_ImportFrom(self, node): + level = node.level if node.level != 0 else self._level + self._collect_import(node.module or '', _ast_names(node.names), level) + + def visit_If(self, node): + self._in_if.append(True) + self.generic_visit(node) + self._in_if.pop() + + def visit_FunctionDef(self, node): + self._in_def.append(True) + self.generic_visit(node) + self._in_def.pop() + + visit_AsyncFunctionDef = visit_FunctionDef + + def visit_Try(self, node): + self._in_tryexcept.append(True) + self.generic_visit(node) + self._in_tryexcept.pop() + + def visit_TryExcept(self, node): + self._in_tryexcept.append(True) + self.generic_visit(node) + self._in_tryexcept.pop() + + def visit_Expression(self, node): + # Expression node's cannot contain import statements or + # other nodes that are relevant for us. + pass + + # Expression isn't actually used as such in AST trees, + # therefore define visitors for all kinds of expression nodes. + visit_BoolOp = visit_Expression + visit_BinOp = visit_Expression + visit_UnaryOp = visit_Expression + visit_Lambda = visit_Expression + visit_IfExp = visit_Expression + visit_Dict = visit_Expression + visit_Set = visit_Expression + visit_ListComp = visit_Expression + visit_SetComp = visit_Expression + visit_ListComp = visit_Expression + visit_GeneratorExp = visit_Expression + visit_Compare = visit_Expression + visit_Yield = visit_Expression + visit_YieldFrom = visit_Expression + visit_Await = visit_Expression + visit_Call = visit_Expression + visit_Await = visit_Expression + + +class ModuleGraph(ObjectGraph): + """ + Directed graph whose nodes represent modules and edges represent + dependencies between these modules. + """ + + + def createNode(self, cls, name, *args, **kw): + m = self.find_node(name) + + if m is None: + #assert m is None, m + m = super(ModuleGraph, self).createNode(cls, name, *args, **kw) + + return m + + + def __init__(self, path=None, excludes=(), replace_paths=(), implies=(), graph=None, debug=0): + super(ModuleGraph, self).__init__(graph=graph, debug=debug) + if path is None: + path = sys.path + self.path = path + self.lazynodes = {} + # excludes is stronger than implies + self.lazynodes.update(dict(implies)) + for m in excludes: + self.lazynodes[m] = None + self.replace_paths = replace_paths + + # Maintain own list of package path mappings in the scope of Modulegraph + # object. + self._package_path_map = {} + + # Legacy namespace-package paths. Initialized by scan_legacy_namespace_packages. + self._legacy_ns_packages = {} + + def scan_legacy_namespace_packages(self): + """ + Resolve extra package `__path__` entries for legacy setuptools-based + namespace packages, by reading `namespace_packages.txt` from dist + metadata. + """ + legacy_ns_packages = defaultdict(lambda: set()) + + for dist in importlib_metadata.distributions(): + ns_packages = dist.read_text("namespace_packages.txt") + if ns_packages is None: + continue + ns_packages = ns_packages.splitlines() + # Obtain path to dist metadata directory + dist_path = getattr(dist, '_path') + if dist_path is None: + continue + for package_name in ns_packages: + path = os.path.join( + str(dist_path.parent), # might be zipfile.Path if in zipped .egg + *package_name.split('.'), + ) + legacy_ns_packages[package_name].add(path) + + # Convert into dictionary of lists + self._legacy_ns_packages = { + package_name: list(paths) + for package_name, paths in legacy_ns_packages.items() + } + + def implyNodeReference(self, node, other, edge_data=None): + """ + Create a reference from the passed source node to the passed other node, + implying the former to depend upon the latter. + + While the source node _must_ be an existing graph node, the target node + may be either an existing graph node _or_ a fully-qualified module name. + In the latter case, the module with that name and all parent packages of + that module will be imported _without_ raising exceptions and for each + newly imported module or package: + + * A new graph node will be created for that module or package. + * A reference from the passed source node to that module or package will + be created. + + This method allows dependencies between Python objects _not_ importable + with standard techniques (e.g., module aliases, C extensions). + + Parameters + ---------- + node : str + Graph node for this reference's source module or package. + other : {Node, str} + Either a graph node _or_ fully-qualified name for this reference's + target module or package. + """ + + if isinstance(other, Node): + self._updateReference(node, other, edge_data) + else: + if isinstance(other, tuple): + raise ValueError(other) + others = self._safe_import_hook(other, node, None) + for other in others: + self._updateReference(node, other, edge_data) + + def outgoing(self, fromnode): + """ + Yield all nodes that `fromnode` dependes on (that is, + all modules that `fromnode` imports. + """ + + node = self.find_node(fromnode) + out_edges, _ = self.get_edges(node) + return out_edges + + getReferences = outgoing + + def incoming(self, tonode, collapse_missing_modules=True): + node = self.find_node(tonode) + _, in_edges = self.get_edges(node) + + if collapse_missing_modules: + for n in in_edges: + if isinstance(n, MissingModule): + for n in self.incoming(n, False): + yield n + + else: + yield n + + else: + for n in in_edges: + yield n + + getReferers = incoming + + def hasEdge(self, fromnode, tonode): + """ Return True iff there is an edge from 'fromnode' to 'tonode' """ + fromnode = self.find_node(fromnode) + tonode = self.find_node(tonode) + + return self.graph.edge_by_node(fromnode, tonode) is not None + + def foldReferences(self, packagenode): + """ + Create edges to/from `packagenode` based on the edges to/from all + submodules of that package _and_ then hide the graph nodes + corresponding to those submodules. + """ + + pkg = self.find_node(packagenode) + + for n in self.nodes(): + if not n.identifier.startswith(pkg.identifier + '.'): + continue + + iter_out, iter_inc = self.get_edges(n) + for other in iter_out: + if other.identifier.startswith(pkg.identifier + '.'): + continue + + if not self.hasEdge(pkg, other): + # Ignore circular dependencies + self._updateReference(pkg, other, 'pkg-internal-import') + + for other in iter_inc: + if other.identifier.startswith(pkg.identifier + '.'): + # Ignore circular dependencies + continue + + if not self.hasEdge(other, pkg): + self._updateReference(other, pkg, 'pkg-import') + + self.graph.hide_node(n) + + # TODO: unfoldReferences(pkg) that restore the submodule nodes and + # removes 'pkg-import' and 'pkg-internal-import' edges. Care should + # be taken to ensure that references are correct if multiple packages + # are folded and then one of them in unfolded + + def _updateReference(self, fromnode, tonode, edge_data): + try: + ed = self.edgeData(fromnode, tonode) + except (KeyError, GraphError): # XXX: Why 'GraphError' + return self.add_edge(fromnode, tonode, edge_data) + + if not (isinstance(ed, DependencyInfo) and isinstance(edge_data, DependencyInfo)): + self.updateEdgeData(fromnode, tonode, edge_data) + else: + self.updateEdgeData(fromnode, tonode, ed._merged(edge_data)) + + def add_edge(self, fromnode, tonode, edge_data='direct'): + """ + Create a reference from fromnode to tonode + """ + return super(ModuleGraph, self).createReference(fromnode, tonode, edge_data=edge_data) + + createReference = add_edge + + def find_node(self, name, create_nspkg=True): + """ + Graph node uniquely identified by the passed fully-qualified module + name if this module has been added to the graph _or_ `None` otherwise. + + If (in order): + + . A namespace package with this identifier exists _and_ the passed + `create_nspkg` parameter is `True`, this package will be + instantiated and returned. + . A lazy node with this identifier and: + * No dependencies exists, this node will be instantiated and + returned. + * Dependencies exists, this node and all transitive dependencies of + this node be instantiated and this node returned. + . A non-lazy node with this identifier exists, this node will be + returned as is. + + Parameters + ---------- + name : str + Fully-qualified name of the module whose graph node is to be found. + create_nspkg : bool + Ignored. + + Returns + ---------- + Node + Graph node of this module if added to the graph _or_ `None` + otherwise. + """ + + data = super(ModuleGraph, self).findNode(name) + + if data is not None: + return data + + if name in self.lazynodes: + deps = self.lazynodes.pop(name) + + if deps is None: + # excluded module + m = self.createNode(ExcludedModule, name) + elif isinstance(deps, Alias): + # NOTE: the AliasNode must be created and added to graph + # before trying to create the referred node; that might + # (due to recursive import analysis) lead to another + # attempt to resolve the aliased node (and if there is + # a real node that we are trying to shadow with the alias, + # that will end up added to the graph and prevent the + # alias node from being added). + m = self.createNode(AliasNode, name) + + # Create the referred node. + other = self._safe_import_hook(deps, None, None).pop() + + # Copy attributes; this used to be done by AliasNode + # constructor, back when referred node was created before + # the AliasNode (and could thus be passed to its constructor). + m.copyAttributesFromReferredNode(other) + + self.implyNodeReference(m, other) + else: + m = self._safe_import_hook(name, None, None).pop() + for dep in deps: + self.implyNodeReference(m, dep) + + return m + + return None + + findNode = find_node + iter_graph = ObjectGraph.flatten + + def add_script(self, pathname, caller=None): + """ + Create a node by path (not module name). It is expected to be a Python + source file, and will be scanned for dependencies. + """ + self.msg(2, "run_script", pathname) + + pathname = os.path.realpath(pathname) + m = self.find_node(pathname) + if m is not None: + return m + + with open(pathname, 'rb') as fp: + contents = fp.read() + contents = importlib.util.decode_source(contents) + + co_ast = compile(contents, pathname, 'exec', ast.PyCF_ONLY_AST, True) + co = compile(co_ast, pathname, 'exec', 0, True) + m = self.createNode(Script, pathname) + self._updateReference(caller, m, None) + n = self._scan_code(m, co, co_ast) + self._process_imports(n) + m.code = co + if self.replace_paths: + m.code = self._replace_paths_in_code(m.code) + return m + + + #FIXME: For safety, the "source_module" parameter should default to the + #root node of the current graph if unpassed. This parameter currently + #defaults to None, thus disconnected modules imported in this manner (e.g., + #hidden imports imported by depend.analysis.initialize_modgraph()). + def import_hook( + self, + target_module_partname, + source_module=None, + target_attr_names=None, + level=DEFAULT_IMPORT_LEVEL, + edge_attr=None, + ): + """ + Import the module with the passed name, all parent packages of this + module, _and_ all submodules and attributes in this module with the + passed names from the previously imported caller module signified by + the passed graph node. + + Unlike most import methods (e.g., `_safe_import_hook()`), this method + is designed to be publicly called by both external and internal + callers and hence is public. + + Parameters + ---------- + target_module_partname : str + Partially-qualified name of the target module to be imported. See + `_safe_import_hook()` for further details. + source_module : Node + Graph node for the previously imported **source module** (i.e., + module containing the `import` statement triggering the call to + this method) _or_ `None` if this module is to be imported in a + "disconnected" manner. **Passing `None` is _not_ recommended.** + Doing so produces a disconnected graph in which the graph node + created for the module to be imported will be disconnected and + hence unreachable from all other nodes -- which frequently causes + subtle issues in external callers (namely PyInstaller, which + silently ignores unreachable nodes). + target_attr_names : list + List of the unqualified names of all submodules and attributes to + be imported from the module to be imported if this is a "from"- + style import (e.g., `[encode_base64, encode_noop]` for the import + `from email.encoders import encode_base64, encode_noop`) _or_ + `None` otherwise. + level : int + Whether to perform an absolute or relative import. See + `_safe_import_hook()` for further details. + + Returns + ---------- + list + List of the graph nodes created for all modules explicitly imported + by this call, including the passed module and all submodules listed + in `target_attr_names` _but_ excluding all parent packages + implicitly imported by this call. If `target_attr_names` is `None` + or the empty list, this is guaranteed to be a list of one element: + the graph node created for the passed module. + + Raises + ---------- + ImportError + If the target module to be imported is unimportable. + """ + self.msg(3, "_import_hook", target_module_partname, source_module, source_module, level) + + source_package = self._determine_parent(source_module) + target_package, target_module_partname = self._find_head_package( + source_package, target_module_partname, level) + + self.msgin(4, "load_tail", target_package, target_module_partname) + + submodule = target_package + while target_module_partname: + i = target_module_partname.find('.') + if i < 0: + i = len(target_module_partname) + head, target_module_partname = target_module_partname[ + :i], target_module_partname[i+1:] + mname = "%s.%s" % (submodule.identifier, head) + submodule = self._safe_import_module(head, mname, submodule) + + if submodule is None: + # FIXME: Why do we no longer return a MissingModule instance? + # result = self.createNode(MissingModule, mname) + self.msgout(4, "raise ImportError: No module named", mname) + raise ImportError("No module named " + repr(mname)) + + self.msgout(4, "load_tail ->", submodule) + + target_module = submodule + target_modules = [target_module] + + # If this is a "from"-style import *AND* this target module is + # actually a package, import all submodules of this package specified + # by the "import" half of this import (e.g., the submodules "bar" and + # "car" of the target package "foo" in "from foo import bar, car"). + # + # If this target module is a non-package, it could still contain + # importable submodules (e.g., the non-package `os` module containing + # the `os.path` submodule). In this case, these submodules are already + # imported by this target module's pure-Python code. Since our import + # scanner already detects such imports, these submodules need *NOT* be + # reimported here. + if target_attr_names and isinstance(target_module, + (Package, AliasNode)): + for target_submodule in self._import_importable_package_submodules( + target_module, target_attr_names): + if target_submodule not in target_modules: + target_modules.append(target_submodule) + + # Add an edge from this source module to each target module. + for target_module in target_modules: + self._updateReference( + source_module, target_module, edge_data=edge_attr) + + return target_modules + + + def _determine_parent(self, caller): + """ + Determine the package containing a node. + """ + self.msgin(4, "determine_parent", caller) + + parent = None + if caller: + pname = caller.identifier + + if isinstance(caller, Package): + parent = caller + + elif '.' in pname: + pname = pname[:pname.rfind('.')] + parent = self.find_node(pname) + + elif caller.packagepath: + # XXX: I have no idea why this line + # is necessary. + parent = self.find_node(pname) + + self.msgout(4, "determine_parent ->", parent) + return parent + + + def _find_head_package( + self, + source_package, + target_module_partname, + level=DEFAULT_IMPORT_LEVEL): + """ + Import the target package providing the target module with the passed + name to be subsequently imported from the previously imported source + package corresponding to the passed graph node. + + Parameters + ---------- + source_package : Package + Graph node for the previously imported **source package** (i.e., + package containing the module containing the `import` statement + triggering the call to this method) _or_ `None` if this module is + to be imported in a "disconnected" manner. **Passing `None` is + _not_ recommended.** See the `_import_hook()` method for further + details. + target_module_partname : str + Partially-qualified name of the target module to be imported. See + `_safe_import_hook()` for further details. + level : int + Whether to perform absolute or relative imports. See the + `_safe_import_hook()` method for further details. + + Returns + ---------- + (target_package, target_module_tailname) + 2-tuple describing the imported target package, where: + * `target_package` is the graph node created for this package. + * `target_module_tailname` is the unqualified name of the target + module to be subsequently imported (e.g., `text` when passed a + `target_module_partname` of `email.mime.text`). + + Raises + ---------- + ImportError + If the package to be imported is unimportable. + """ + self.msgin(4, "find_head_package", source_package, target_module_partname, level) + + #FIXME: Rename all local variable names to something sensible. No, + #"p_fqdn" is not a sensible name. + + # If this target module is a submodule... + if '.' in target_module_partname: + target_module_headname, target_module_tailname = ( + target_module_partname.split('.', 1)) + # Else, this target module is a top-level module. + else: + target_module_headname = target_module_partname + target_module_tailname = '' + + # If attempting both absolute and relative imports... + if level == ABSOLUTE_OR_RELATIVE_IMPORT_LEVEL: + if source_package: + target_package_name = source_package.identifier + '.' + target_module_headname + else: + target_package_name = target_module_headname + # Else if attempting only absolute imports... + elif level == ABSOLUTE_IMPORT_LEVEL: + target_package_name = target_module_headname + + # Absolute import, ignore the parent + source_package = None + # Else if attempting only relative imports... + else: + if source_package is None: + self.msg(2, "Relative import outside of package") + raise InvalidRelativeImportError( + "Relative import outside of package (name=%r, parent=%r, level=%r)" % ( + target_module_partname, source_package, level)) + + for i in range(level - 1): + if '.' not in source_package.identifier: + self.msg(2, "Relative import outside of package") + raise InvalidRelativeImportError( + "Relative import outside of package (name=%r, parent=%r, level=%r)" % ( + target_module_partname, source_package, level)) + + p_fqdn = source_package.identifier.rsplit('.', 1)[0] + new_parent = self.find_node(p_fqdn) + if new_parent is None: + #FIXME: Repetition detected. Exterminate. Exterminate. + self.msg(2, "Relative import outside of package") + raise InvalidRelativeImportError( + "Relative import outside of package (name=%r, parent=%r, level=%r)" % ( + target_module_partname, source_package, level)) + + assert new_parent is not source_package, ( + new_parent, source_package) + source_package = new_parent + + if target_module_headname: + target_package_name = ( + source_package.identifier + '.' + target_module_headname) + else: + target_package_name = source_package.identifier + + # Graph node of this target package. + target_package = self._safe_import_module( + target_module_headname, target_package_name, source_package) + + # If this target package is *NOT* importable and a source package was + # passed, attempt to import this target package as an absolute import. + # + # ADDENDUM: but do this only if the passed "level" is either + # ABSOLUTE_IMPORT_LEVEL (0) or ABSOLUTE_OR_RELATIVE_IMPORT_LEVEL (-1). + # Otherwise, an attempt at relative import of a missing sub-module + # (from .module import something) might pull in an unrelated + # but eponymous top-level module, which should not happen. + if target_package is None and source_package is not None and level <= ABSOLUTE_IMPORT_LEVEL: + target_package_name = target_module_headname + source_package = None + + # Graph node for the target package, again. + target_package = self._safe_import_module( + target_module_headname, target_package_name, source_package) + + # If this target package is importable, return this package. + if target_package is not None: + self.msgout(4, "find_head_package ->", (target_package, target_module_tailname)) + return target_package, target_module_tailname + + # Else, raise an exception. + self.msgout(4, "raise ImportError: No module named", target_package_name) + raise ImportError("No module named " + target_package_name) + + + + + #FIXME: Refactor from a generator yielding graph nodes into a non-generator + #returning a list or tuple of all yielded graph nodes. This method is only + #called once above and the return value of that call is only iterated over + #as a list or tuple. There's no demonstrable reason for this to be a + #generator. Generators are great for their intended purposes (e.g., as + #continuations). This isn't one of those purposes. + def _import_importable_package_submodules(self, package, attr_names): + """ + Generator importing and yielding each importable submodule (of the + previously imported package corresponding to the passed graph node) + whose unqualified name is in the passed list. + + Elements of this list that are _not_ importable submodules of this + package are either: + + * Ignorable attributes (e.g., classes, globals) defined at the top + level of this package's `__init__` submodule, which will be ignored. + * Else, unignorable unimportable submodules, in which case an + exception is raised. + + Parameters + ---------- + package : Package + Graph node of the previously imported package containing the + modules to be imported and yielded. + + attr_names : list + List of the unqualified names of all attributes of this package to + attempt to import as submodules. This list will be internally + converted into a set, safely ignoring any duplicates in this list + (e.g., reducing the "from"-style import + `from foo import bar, car, far, bar, car, far` to merely + `from foo import bar, car, far`). + + Yields + ---------- + Node + Graph node created for the currently imported submodule. + + Raises + ---------- + ImportError + If any attribute whose name is in `attr_names` is neither: + * An importable submodule of this package. + * An ignorable global attribute (e.g., class, variable) defined at + the top level of this package's `__init__` submodule. + In this case, this attribute _must_ be an unimportable submodule of + this package. + """ + + # Ignore duplicate submodule names in the passed list. + attr_names = set(attr_names) + self.msgin(4, "_import_importable_package_submodules", package, attr_names) + + #FIXME: This test *SHOULD* be superfluous and hence safely removable. + #The higher-level _scan_bytecode() and _collect_import() methods + #already guarantee "*" characters to be removed from fromlists. + if '*' in attr_names: + attr_names.update(self._find_all_submodules(package)) + attr_names.remove('*') + + # self.msg(4, '_import_importable_package_submodules (global attrs)', package.identifier, package._global_attr_names) + + # For the name of each attribute to be imported from this package... + for attr_name in attr_names: + # self.msg(4, '_import_importable_package_submodules (fromlist attr)', package.identifier, attr_name) + + # Graph node of this attribute if this attribute is a previously + # imported module or None otherwise. + submodule = package.get_submodule_or_none(attr_name) + + # If this attribute is *NOT* a previously imported module, attempt + # to import this attribute as a submodule of this package. + if submodule is None: + # Fully-qualified name of this submodule. + submodule_name = package.identifier + '.' + attr_name + + # Graph node of this submodule if importable or None otherwise. + submodule = self._safe_import_module( + attr_name, submodule_name, package) + + # If this submodule is unimportable... + if submodule is None: + # If this attribute is a global (e.g., class, variable) + # defined at the top level of this package's "__init__" + # submodule, this importation is safely ignorable. Do so + # and skip to the next attribute. + # + # This behaviour is non-conformant with Python behaviour, + # which is bad, but is required to sanely handle all + # possible edge cases, which is good. In Python, a global + # attribute defined at the top level of a package's + # "__init__" submodule shadows a submodule of the same name + # in that package. Attempting to import that submodule + # instead imports that attribute; thus, that submodule is + # effectively unimportable. In this method and elsewhere, + # that submodule is tested for first and hence shadows that + # attribute -- the opposite logic. Attempts to import that + # attribute are mistakenly seen as attempts to import that + # submodule! Why? + # + # Edge cases. PyInstaller (and by extension ModuleGraph) + # only cares about module imports. Global attribute imports + # are parsed only as the means to this ends and are + # otherwise ignorable. The cost of erroneously shadowing: + # + # * Submodules by attributes is significant. Doing so + # prevents such submodules from being frozen and hence + # imported at application runtime. + # * Attributes by submodules is insignificant. Doing so + # could erroneously freeze such submodules despite their + # never being imported at application runtime. However, + # ModuleGraph is incapable of determining with certainty + # that Python logic in another module other than the + # "__init__" submodule containing these attributes does + # *NOT* delete these attributes and hence unshadow these + # submodules, which would then become importable at + # runtime and require freezing. Hence, ModuleGraph *MUST* + # permissively assume submodules of the same name as + # attributes to be unshadowed elsewhere and require + # freezing -- even if they do not. + # + # It is practically difficult (albeit technically feasible) + # for ModuleGraph to determine whether or not the target + # attribute names of "from"-style import statements (e.g., + # "bar" and "car" in "from foo import bar, car") refer to + # non-ignorable submodules or ignorable non-module globals + # during opcode scanning. Distinguishing these two cases + # during opcode scanning would require a costly call to the + # _find_module() method, which would subsequently be + # repeated during import-graph construction. This could be + # ameliorated with caching, which itself would require + # costly space consumption and developer time. + # + # Since opcode scanning fails to distinguish these two + # cases, this and other methods subsequently called at + # import-graph construction time (e.g., + # _safe_import_hook()) must do so. Since submodules of the + # same name as attributes must assume to be unshadowed + # elsewhere and require freezing, the only solution is to + # attempt to import an attribute as a non-ignorable module + # *BEFORE* assuming an attribute to be an ignorable + # non-module. Which is what this and other methods do. + # + # See Package.is_global_attr() for similar discussion. + if package.is_global_attr(attr_name): + self.msg(4, '_import_importable_package_submodules: ignoring from-imported global', package.identifier, attr_name) + continue + # Else, this attribute is an unimportable submodule. Since + # this is *NOT* safely ignorable, raise an exception. + else: + raise ImportError("No module named " + submodule_name) + + # Yield this submodule's graph node to the caller. + yield submodule + + self.msgin(4, "_import_importable_package_submodules ->") + + + def _find_all_submodules(self, m): + if not m.packagepath: + return + # 'suffixes' used to be a list hardcoded to [".py", ".pyc", ".pyo"]. + # But we must also collect Python extension modules - although + # we cannot separate normal dlls from Python extensions. + for path in m.packagepath: + try: + names = os.listdir(path) + except (os.error, IOError): + self.msg(2, "can't list directory", path) + continue + for name in names: + for suffix in importlib.machinery.all_suffixes(): + if path.endswith(suffix): + name = os.path.basename(path)[:-len(suffix)] + break + else: + continue + if name != '__init__': + yield name + + + def alias_module(self, src_module_name, trg_module_name): + """ + Alias the source module to the target module with the passed names. + + This method ensures that the next call to findNode() given the target + module name will resolve this alias. This includes importing and adding + a graph node for the source module if needed as well as adding a + reference from the target to source module. + + Parameters + ---------- + src_module_name : str + Fully-qualified name of the existing **source module** (i.e., the + module being aliased). + trg_module_name : str + Fully-qualified name of the non-existent **target module** (i.e., + the alias to be created). + """ + self.msg(3, 'alias_module "%s" -> "%s"' % (src_module_name, trg_module_name)) + # print('alias_module "%s" -> "%s"' % (src_module_name, trg_module_name)) + assert isinstance(src_module_name, str), '"%s" not a module name.' % str(src_module_name) + assert isinstance(trg_module_name, str), '"%s" not a module name.' % str(trg_module_name) + + # If the target module has already been added to the graph as either a + # non-alias or as a different alias, raise an exception. + trg_module = self.find_node(trg_module_name) + if trg_module is not None and not ( + isinstance(trg_module, AliasNode) and + trg_module.identifier == src_module_name): + raise ValueError( + 'Target module "%s" already imported as "%s".' % ( + trg_module_name, trg_module)) + + # See findNode() for details. + self.lazynodes[trg_module_name] = Alias(src_module_name) + + + def add_module(self, module): + """ + Add the passed module node to the graph if not already added. + + If that module has a parent module or package with a previously added + node, this method also adds a reference from this module node to its + parent node and adds this module node to its parent node's namespace. + + This high-level method wraps the low-level `addNode()` method, but is + typically _only_ called by graph hooks adding runtime module nodes. For + all other node types, the `import_module()` method should be called. + + Parameters + ---------- + module : BaseModule + Graph node of the module to be added. + """ + self.msg(3, 'add_module', module) + + # If no node exists for this module, add such a node. + module_added = self.find_node(module.identifier) + if module_added is None: + self.addNode(module) + else: + assert module == module_added, 'New module %r != previous %r.' % (module, module_added) + + # If this module has a previously added parent, reference this module to + # its parent and add this module to its parent's namespace. + parent_name, _, module_basename = module.identifier.rpartition('.') + if parent_name: + parent = self.find_node(parent_name) + if parent is None: + self.msg(4, 'add_module parent not found:', parent_name) + else: + self.add_edge(module, parent) + parent.add_submodule(module_basename, module) + + + def append_package_path(self, package_name, directory): + """ + Modulegraph does a good job at simulating Python's, but it can not + handle packagepath '__path__' modifications packages make at runtime. + + Therefore there is a mechanism whereby you can register extra paths + in this map for a package, and it will be honored. + + NOTE: This method has to be called before a package is resolved by + modulegraph. + + Parameters + ---------- + module : str + Fully-qualified module name. + directory : str + Absolute or relative path of the directory to append to the + '__path__' attribute. + """ + + paths = self._package_path_map.setdefault(package_name, []) + paths.append(directory) + + + def _safe_import_module( + self, module_partname, module_name, parent_module): + """ + Create a new graph node for the module with the passed name under the + parent package signified by the passed graph node _without_ raising + `ImportError` exceptions. + + If this module has already been imported, this module's existing graph + node will be returned; else if this module is importable, a new graph + node will be added for this module and returned; else this module is + unimportable, in which case `None` will be returned. Like the + `_safe_import_hook()` method, this method does _not_ raise + `ImportError` exceptions when this module is unimportable. + + Parameters + ---------- + module_partname : str + Unqualified name of the module to be imported (e.g., `text`). + module_name : str + Fully-qualified name of this module (e.g., `email.mime.text`). + parent_module : Package + Graph node of the previously imported parent module containing this + submodule _or_ `None` if this is a top-level module (i.e., + `module_name` contains no `.` delimiters). This parent module is + typically but _not_ always a package (e.g., the `os.path` submodule + contained by the `os` module). + + Returns + ---------- + Node + Graph node created for this module _or_ `None` if this module is + unimportable. + """ + self.msgin(3, "safe_import_module", module_partname, module_name, parent_module) + + # If this module has *NOT* already been imported, do so. + module = self.find_node(module_name) + if module is None: + # List of the absolute paths of all directories to be searched for + # this module. This effectively defaults to "sys.path". + search_dirs = None + + # If this module has a parent package... + if parent_module is not None: + # ...with a list of the absolute paths of all directories + # comprising this package, prefer that to "sys.path". + if parent_module.packagepath is not None: + search_dirs = parent_module.packagepath + # Else, something is horribly wrong. Return emptiness. + else: + self.msgout(3, "safe_import_module -> None (parent_parent.packagepath is None)") + return None + + try: + pathname, loader = self._find_module( + module_partname, search_dirs, parent_module) + except ImportError as exc: + self.msgout(3, "safe_import_module -> None (%r)" % exc) + return None + + (module, co) = self._load_module(module_name, pathname, loader) + if co is not None: + try: + if isinstance(co, ast.AST): + co_ast = co + co = compile(co_ast, pathname, 'exec', 0, True) + else: + co_ast = None + n = self._scan_code(module, co, co_ast) + self._process_imports(n) + + if self.replace_paths: + co = self._replace_paths_in_code(co) + module.code = co + except SyntaxError: + self.msg( + 1, "safe_import_module: SyntaxError in ", pathname, + ) + cls = InvalidSourceModule + module = self.createNode(cls, module_name) + + # If this is a submodule rather than top-level module... + if parent_module is not None: + self.msg(4, "safe_import_module create reference", module, "->", parent_module) + + # Add an edge from this submodule to its parent module. + self._updateReference( + module, parent_module, edge_data=DependencyInfo( + conditional=False, + fromlist=False, + function=False, + tryexcept=False, + )) + + # Add this submodule to its parent module. + parent_module.add_submodule(module_partname, module) + + # Return this module. + self.msgout(3, "safe_import_module ->", module) + return module + + def _load_module(self, fqname, pathname, loader): + from importlib._bootstrap_external import ExtensionFileLoader + self.msgin(2, "load_module", fqname, pathname, + loader.__class__.__name__) + partname = fqname.rpartition(".")[-1] + + if loader.is_package(partname): + if isinstance(loader, NAMESPACE_PACKAGE): + # This is a PEP-420 namespace package. + m = self.createNode(NamespacePackage, fqname) + m.filename = '-' + m.packagepath = loader.namespace_dirs[:] # copy for safety + else: + # Regular package. + # + # NOTE: this might be a legacy setuptools (pkg_resources) + # based namespace package (with __init__.py, but calling + # `pkg_resources.declare_namespace(__name__)`). To properly + # handle the case when such a package is split across + # multiple locations, we need to resolve the package + # paths via metadata. + ns_pkgpaths = self._legacy_ns_packages.get(fqname, []) + + if isinstance(loader, ExtensionFileLoader): + m = self.createNode(ExtensionPackage, fqname) + else: + m = self.createNode(Package, fqname) + m.filename = pathname + # PEP-302-compliant loaders return the pathname of the + # `__init__`-file, not the package directory. + assert os.path.basename(pathname).startswith('__init__.') + m.packagepath = [os.path.dirname(pathname)] + ns_pkgpaths + + # As per comment at top of file, simulate runtime packagepath + # additions + m.packagepath = m.packagepath + self._package_path_map.get( + fqname, []) + + if isinstance(m, NamespacePackage): + return (m, None) + + co = None + if loader is BUILTIN_MODULE: + cls = BuiltinModule + elif isinstance(loader, ExtensionFileLoader): + cls = Extension + + # Look for accompanying .py or .pyi file, which might allow + # us to perform basic import analysis for the extension. + def _co_from_accompanying_source(extension_filename): + path = os.path.dirname(extension_filename) + basename = os.path.basename(extension_filename).split('.')[0] + + for ext in {'.py', '.pyi'}: + src_filename = os.path.join(path, basename + ext) + if not os.path.isfile(src_filename): + continue + + try: + with open(src_filename, 'rb') as fp: + src = fp.read() + co = compile(src, src_filename, 'exec', ast.PyCF_ONLY_AST, True) + return co + except Exception as e: + pass + + co = _co_from_accompanying_source(pathname) + else: + try: + src = loader.get_source(partname) + except (UnicodeDecodeError, SyntaxError) as e: + # The `UnicodeDecodeError` is typically raised here when the + # source file contains non-ASCII characters in some local + # encoding that is different from UTF-8, but fails to + # declare it via PEP361 encoding header. Python seems to + # be able to load and run such module, but we cannot retrieve + # the source for it via the `loader.get_source()`. + # + # The `UnicodeDecoreError` in turn triggers a `SyntaxError` + # when such invalid character appears on the first line of + # the source file (and interrupts the scan for PEP361 + # encoding header). + # + # In such cases, we try to fall back to reading the source + # as raw data file. + + # If `SyntaxError` was not raised during handling of + # a `UnicodeDecodeError`, it was likely a genuine syntax + # error, so re-raise it. + if isinstance(e, SyntaxError): + if not isinstance(e.__context__, UnicodeDecodeError): + raise + + self.msg(2, "load_module: failed to obtain source for " + f"{partname}: {e}! Falling back to reading as " + "raw data!") + + path = loader.get_filename(partname) + src = loader.get_data(path) + + if src is not None: + try: + co = compile(src, pathname, 'exec', ast.PyCF_ONLY_AST, True) + cls = SourceModule + except SyntaxError: + co = None + cls = InvalidSourceModule + except Exception as exc: # FIXME: more specific? + cls = InvalidSourceModule + self.msg(2, "load_module: InvalidSourceModule", pathname, + exc) + else: + # no src available + try: + co = loader.get_code(partname) + cls = (CompiledModule if co is not None + else InvalidCompiledModule) + except Exception as exc: # FIXME: more specific? + self.msg(2, "load_module: InvalidCompiledModule, " + "Cannot load code", pathname, exc) + cls = InvalidCompiledModule + + m = self.createNode(cls, fqname) + m.filename = pathname + + self.msgout(2, "load_module ->", m) + return (m, co) + + def _safe_import_hook( + self, target_module_partname, source_module, target_attr_names, + level=DEFAULT_IMPORT_LEVEL, edge_attr=None): + """ + Import the module with the passed name and all parent packages of this + module from the previously imported caller module signified by the + passed graph node _without_ raising `ImportError` exceptions. + + This method wraps the lowel-level `_import_hook()` method. On catching + an `ImportError` exception raised by that method, this method creates + and adds a `MissingNode` instance describing the unimportable module to + the graph instead. + + Parameters + ---------- + target_module_partname : str + Partially-qualified name of the module to be imported. If `level` + is: + * `ABSOLUTE_OR_RELATIVE_IMPORT_LEVEL` (e.g., the Python 2 default) + or a positive integer (e.g., an explicit relative import), the + fully-qualified name of this module is the concatenation of the + fully-qualified name of the caller module's package and this + parameter. + * `ABSOLUTE_IMPORT_LEVEL` (e.g., the Python 3 default), this name + is already fully-qualified. + * A non-negative integer (e.g., `1`), this name is typically the + empty string. In this case, this is a "from"-style relative + import (e.g., "from . import bar") and the fully-qualified name + of this module is dynamically resolved by import machinery. + source_module : Node + Graph node for the previously imported **caller module** (i.e., + module containing the `import` statement triggering the call to + this method) _or_ `None` if this module is to be imported in a + "disconnected" manner. **Passing `None` is _not_ recommended.** + Doing so produces a disconnected graph in which the graph node + created for the module to be imported will be disconnected and + hence unreachable from all other nodes -- which frequently causes + subtle issues in external callers (e.g., PyInstaller, which + silently ignores unreachable nodes). + target_attr_names : list + List of the unqualified names of all submodules and attributes to + be imported via a `from`-style import statement from this target + module if any (e.g., the list `[encode_base64, encode_noop]` for + the import `from email.encoders import encode_base64, encode_noop`) + _or_ `None` otherwise. Ignored unless `source_module` is the graph + node of a package (i.e., is an instance of the `Package` class). + Why? Because: + * Consistency. The `_import_importable_package_submodules()` + method accepts a similar list applicable only to packages. + * Efficiency. Unlike packages, modules cannot physically contain + submodules. Hence, any target module imported via a `from`-style + import statement as an attribute from another target parent + module must itself have been imported in that target parent + module. The import statement responsible for that import must + already have been previously parsed by `ModuleGraph`, in which + case that target module will already be frozen by PyInstaller. + These imports are safely ignorable here. + level : int + Whether to perform an absolute or relative import. This parameter + corresponds exactly to the parameter of the same name accepted by + the `__import__()` built-in: "The default is -1 which indicates + both absolute and relative imports will be attempted. 0 means only + perform absolute imports. Positive values for level indicate the + number of parent directories to search relative to the directory of + the module calling `__import__()`." Defaults to -1 under Python 2 + and 0 under Python 3. Since this default depends on the major + version of the current Python interpreter, depending on this + default can result in unpredictable and non-portable behaviour. + Callers are strongly recommended to explicitly pass this parameter + rather than implicitly accept this default. + + Returns + ---------- + list + List of the graph nodes created for all modules explicitly imported + by this call, including the passed module and all submodules listed + in `target_attr_names` _but_ excluding all parent packages + implicitly imported by this call. If `target_attr_names` is either + `None` or the empty list, this is guaranteed to be a list of one + element: the graph node created for the passed module. As above, + `MissingNode` instances are created for all unimportable modules. + """ + self.msg(3, "_safe_import_hook", target_module_partname, source_module, target_attr_names, level) + + def is_swig_candidate(): + return (source_module is not None and + target_attr_names is None and + level == ABSOLUTE_IMPORT_LEVEL and + type(source_module) is SourceModule and + target_module_partname == + '_' + source_module.identifier.rpartition('.')[2]) + + def is_swig_wrapper(source_module): + with open(source_module.filename, 'rb') as fp: + contents = fp.read() + contents = importlib.util.decode_source(contents) + first_line = contents.splitlines()[0] if contents else '' + self.msg(5, 'SWIG wrapper candidate first line: %r' % (first_line)) + return "automatically generated by SWIG" in first_line + + + # List of the graph nodes created for all target modules both + # imported by and returned from this call, whose: + # + # * First element is the graph node for the core target module + # specified by the "target_module_partname" parameter. + # * Remaining elements are the graph nodes for all target submodules + # specified by the "target_attr_names" parameter. + target_modules = None + + # True if this is a Python 2-style implicit relative import of a + # SWIG-generated C extension. False if we checked and it is not SWIG. + # None if we haven't checked yet. + is_swig_import = None + + # Attempt to import this target module in the customary way. + try: + target_modules = self.import_hook( + target_module_partname, source_module, + target_attr_names=None, level=level, edge_attr=edge_attr) + # Failing that, defer to custom module importers handling non-standard + # import schemes (namely, SWIG). + except InvalidRelativeImportError: + self.msgout(2, "Invalid relative import", level, + target_module_partname, target_attr_names) + result = [] + for sub in target_attr_names or '*': + m = self.createNode(InvalidRelativeImport, + '.' * level + target_module_partname, sub) + self._updateReference(source_module, m, edge_data=edge_attr) + result.append(m) + return result + except ImportError as msg: + # If this is an absolute top-level import under Python 3 and if the + # name to be imported is the caller's name prefixed by "_", this + # could be a SWIG-generated Python 2-style implicit relative import. + # SWIG-generated files contain functions named swig_import_helper() + # importing dynamic libraries residing in the same directory. For + # example, a SWIG-generated caller module "csr.py" might resemble: + # + # # This file was automatically generated by SWIG (http://www.swig.org). + # ... + # def swig_import_helper(): + # ... + # try: + # fp, pathname, description = imp.find_module('_csr', + # [dirname(__file__)]) + # except ImportError: + # import _csr + # return _csr + # + # While there exists no reasonable means for modulegraph to parse + # the call to imp.find_module(), the subsequent implicit relative + # import is trivially parsable. This import is prohibited under + # Python 3, however, and thus parsed only if the caller's file is + # parsable plaintext (as indicated by a filetype of ".py") and the + # first line of this file is the above SWIG header comment. + # + # The constraint that this library's name be the caller's name + # prefixed by '_' is explicitly mandated by SWIG and thus a + # reliable indicator of "SWIG-ness". The SWIG documentation states: + # "When linking the module, the name of the output file has to match + # the name of the module prefixed by an underscore." + # + # Only source modules (e.g., ".py"-suffixed files) are SWIG import + # candidates. All other node types are safely ignorable. + if is_swig_candidate(): + self.msg( + 4, + 'SWIG import candidate (name=%r, caller=%r, level=%r)' % ( + target_module_partname, source_module, level)) + is_swig_import = is_swig_wrapper(source_module) + if is_swig_import: + # Convert this Python 2-compliant implicit relative + # import prohibited by Python 3 into a Python + # 3-compliant explicit relative "from"-style import for + # the duration of this function call by overwriting the + # original parameters passed to this call. + target_attr_names = [target_module_partname] + target_module_partname = '' + level = 1 + self.msg(2, + 'SWIG import (caller=%r, fromlist=%r, level=%r)' + % (source_module, target_attr_names, level)) + # Import this target SWIG C extension's package. + try: + target_modules = self.import_hook( + target_module_partname, source_module, + target_attr_names=None, + level=level, + edge_attr=edge_attr) + except ImportError as msg: + self.msg(2, "SWIG ImportError:", str(msg)) + + # If this module remains unimportable... + if target_modules is None: + self.msg(2, "ImportError:", str(msg)) + + # Add this module as a MissingModule node. + target_module = self.createNode( + MissingModule, + _path_from_importerror(msg, target_module_partname)) + self._updateReference( + source_module, target_module, edge_data=edge_attr) + + # Initialize this list to this node. + target_modules = [target_module] + + # Ensure that the above logic imported exactly one target module. + assert len(target_modules) == 1, ( + 'Expected import_hook() to' + 'return only one module but received: {}'.format(target_modules)) + + # Target module imported above. + target_module = target_modules[0] + + if isinstance(target_module, MissingModule) \ + and is_swig_import is None and is_swig_candidate() \ + and is_swig_wrapper(source_module): + # if this possible swig C module was previously imported from + # a python module other than its corresponding swig python + # module, then it may have been considered a MissingModule. + # Try to reimport it now. For details see pull-request #2578 + # and issue #1522. + # + # If this module was takes as a SWIG candidate above, but failed + # to import, this would be a MissingModule, too. Thus check if + # this was the case (is_swig_import would be not None) to avoid + # recursion error. If `is_swig_import` is None and we are still a + # swig candidate then that means we haven't properly imported this + # swig module yet so do that below. + # + # Remove the MissingModule node from the graph so that we can + # attempt a reimport and avoid collisions. This node should be + # fine to remove because the proper module will be imported and + # added to the graph in the next line (call to _safe_import_hook). + self.removeNode(target_module) + # Reimport the SWIG C module relative to the wrapper + target_modules = self._safe_import_hook( + target_module_partname, source_module, + target_attr_names=None, level=1, edge_attr=edge_attr) + # return the output regardless because it would just be + # duplicating the processing below + return target_modules + + if isinstance(edge_attr, DependencyInfo): + edge_attr = edge_attr._replace(fromlist=True) + + # If this is a "from"-style import *AND* this target module is a + # package, import all attributes listed by the "import" clause of this + # import that are submodules of this package. If this target module is + # *NOT* a package, these attributes are always ignorable globals (e.g., + # classes, variables) defined at the top level of this module. + # + # If this target module is a non-package, it could still contain + # importable submodules (e.g., the non-package `os` module containing + # the `os.path` submodule). In this case, these submodules are already + # imported by this target module's pure-Python code. Since our import + # scanner already detects these imports, these submodules need *NOT* be + # reimported here. (Doing so would be harmless but inefficient.) + if target_attr_names and isinstance(target_module, + (Package, AliasNode)): + # For the name of each attribute imported from this target package + # into this source module... + for target_submodule_partname in target_attr_names: + #FIXME: Is this optimization *REALLY* an optimization or at all + #necessary? The findNode() method called below should already + #be heavily optimized, in which case this optimization here is + #premature, senseless, and should be eliminated. + + # If this attribute is a previously imported submodule of this + # target module, optimize this edge case. + if target_module.is_submodule(target_submodule_partname): + # Graph node for this submodule. + target_submodule = target_module.get_submodule( + target_submodule_partname) + + #FIXME: What? Shouldn't "target_submodule" *ALWAYS* be + #non-None here? Assert this to be non-None instead. + if target_submodule is not None: + #FIXME: Why does duplication matter? List searches are + #mildly expensive. + + # If this submodule has not already been added to the + # list of submodules to be returned, do so. + if target_submodule not in target_modules: + self._updateReference( + source_module, + target_submodule, + edge_data=edge_attr) + target_modules.append(target_submodule) + continue + + # Fully-qualified name of this submodule. + target_submodule_name = ( + target_module.identifier + '.' + target_submodule_partname) + + # Graph node of this submodule if previously imported or None. + target_submodule = self.find_node(target_submodule_name) + + # If this submodule has not been imported, do so as if this + # submodule were the only attribute listed by the "import" + # clause of this import (e.g., as "from foo import bar" rather + # than "from foo import car, far, bar"). + if target_submodule is None: + # Attempt to import this submodule. + try: + # Ignore the list of graph nodes returned by this + # method. If both this submodule's package and this + # submodule are importable, this method returns a + # 2-element list whose second element is this + # submodule's graph node. However, if this submodule's + # package is importable but this submodule is not, + # this submodule is either: + # + # * An ignorable global attribute defined at the top + # level of this package's "__init__" submodule. In + # this case, this method returns a 1-element list + # without raising an exception. + # * A non-ignorable unimportable submodule. In this + # case, this method raises an "ImportError". + # + # While the first two cases are disambiguatable by the + # length of this list, doing so would render this code + # dependent on import_hook() details subject to change. + # Instead, call findNode() to decide the truthiness. + self.import_hook( + target_module_partname, source_module, + target_attr_names=[target_submodule_partname], + level=level, + edge_attr=edge_attr) + + # Graph node of this submodule imported by the prior + # call if importable or None otherwise. + target_submodule = self.find_node(target_submodule_name) + + # If this submodule does not exist, this *MUST* be an + # ignorable global attribute defined at the top level + # of this package's "__init__" submodule. + if target_submodule is None: + # Assert this to actually be the case. + assert target_module.is_global_attr( + target_submodule_partname), ( + 'No global named {} in {}.__init__'.format( + target_submodule_partname, + target_module.identifier)) + + # Skip this safely ignorable importation to the + # next attribute. See similar logic in the body of + # _import_importable_package_submodules(). + self.msg(4, '_safe_import_hook', 'ignoring imported non-module global', target_module.identifier, target_submodule_partname) + continue + + # If this is a SWIG C extension, instruct PyInstaller + # to freeze this extension under its unqualified rather + # than qualified name (e.g., as "_csr" rather than + # "scipy.sparse.sparsetools._csr"), permitting the + # implicit relative import in its parent SWIG module to + # successfully find this extension. + if is_swig_import: + # If a graph node with this name already exists, + # avoid collisions by emitting an error instead. + if self.find_node(target_submodule_partname): + self.msg( + 2, + 'SWIG import error: %r basename %r ' + 'already exists' % ( + target_submodule_name, + target_submodule_partname)) + else: + self.msg( + 4, + 'SWIG import renamed from %r to %r' % ( + target_submodule_name, + target_submodule_partname)) + target_submodule.identifier = ( + target_submodule_partname) + # If this submodule is unimportable, add a MissingModule. + except ImportError as msg: + self.msg(2, "ImportError:", str(msg)) + target_submodule = self.createNode( + MissingModule, target_submodule_name) + + # Add this submodule to its package. + target_module.add_submodule( + target_submodule_partname, target_submodule) + if target_submodule is not None: + self._updateReference( + target_module, target_submodule, edge_data=edge_attr) + self._updateReference( + source_module, target_submodule, edge_data=edge_attr) + + if target_submodule not in target_modules: + target_modules.append(target_submodule) + + # Return the list of all target modules imported by this call. + return target_modules + + + def _scan_code( + self, + module, + module_code_object, + module_code_object_ast=None): + """ + Parse and add all import statements from the passed code object of the + passed source module to this graph, recursively. + + **This method is at the root of all `ModuleGraph` recursion.** + Recursion begins here and ends when all import statements in all code + objects of all modules transitively imported by the source module + passed to the first call to this method have been added to the graph. + Specifically, this method: + + 1. If the passed `module_code_object_ast` parameter is non-`None`, + parses all import statements from this object. + 2. Else, parses all import statements from the passed + `module_code_object` parameter. + 1. For each such import statement: + 1. Adds to this `ModuleGraph` instance: + 1. Nodes for all target modules of these imports. + 1. Directed edges from this source module to these target + modules. + 2. Recursively calls this method with these target modules. + + Parameters + ---------- + module : Node + Graph node of the module to be parsed. + module_code_object : PyCodeObject + Code object providing this module's disassembled Python bytecode. + Ignored unless `module_code_object_ast` is `None`. + module_code_object_ast : optional[ast.AST] + Optional abstract syntax tree (AST) of this module if any or `None` + otherwise. Defaults to `None`, in which case the passed + `module_code_object` is parsed instead. + Returns + ---------- + module : Node + Graph node of the module to be parsed. + """ + + # For safety, guard against multiple scans of the same module by + # resetting this module's list of deferred target imports. + module._deferred_imports = [] + + # Parse all imports from this module *BEFORE* adding these imports to + # the graph. If an AST is provided, parse that rather than this + # module's code object. + if module_code_object_ast is not None: + # Parse this module's AST for imports. + self._scan_ast(module, module_code_object_ast) + + # Parse this module's code object for all relevant non-imports + # (e.g., global variable declarations and undeclarations). + self._scan_bytecode( + module, module_code_object, is_scanning_imports=False) + # Else, parse this module's code object for imports. + else: + self._scan_bytecode( + module, module_code_object, is_scanning_imports=True) + + return module + + def _scan_ast(self, module, module_code_object_ast): + """ + Parse and add all import statements from the passed abstract syntax + tree (AST) of the passed source module to this graph, non-recursively. + + Parameters + ---------- + module : Node + Graph node of the module to be parsed. + module_code_object_ast : ast.AST + Abstract syntax tree (AST) of this module to be parsed. + """ + + visitor = _Visitor(self, module) + visitor.visit(module_code_object_ast) + + #FIXME: Optimize. Global attributes added by this method are tested by + #other methods *ONLY* for packages, implying this method should scan and + #handle opcodes pertaining to global attributes (e.g., + #"STORE_NAME", "DELETE_GLOBAL") only if the passed "module" + #object is an instance of the "Package" class. For all other module types, + #these opcodes should simply be ignored. + # + #After doing so, the "Node._global_attr_names" attribute and all methods + #using this attribute (e.g., Node.is_global()) should be moved from the + #"Node" superclass to the "Package" subclass. + def _scan_bytecode( + self, module, module_code_object, is_scanning_imports): + """ + Parse and add all import statements from the passed code object of the + passed source module to this graph, non-recursively. + + This method parses all reasonably parsable operations (i.e., operations + that are both syntactically and semantically parsable _without_ + requiring Turing-complete interpretation) directly or indirectly + involving module importation from this code object. This includes: + + * `IMPORT_NAME`, denoting an import statement. Ignored unless + the passed `is_scanning_imports` parameter is `True`. + * `STORE_NAME` and `STORE_GLOBAL`, denoting the + declaration of a global attribute (e.g., class, variable) in this + module. This method stores each such declaration for subsequent + lookup. While global attributes are usually irrelevant to import + parsing, they remain the only means of distinguishing erroneous + non-ignorable attempts to import non-existent submodules of a package + from successful ignorable attempts to import existing global + attributes of a package's `__init__` submodule (e.g., the `bar` in + `from foo import bar`, which is either a non-ignorable submodule of + `foo` or an ignorable global attribute of `foo.__init__`). + * `DELETE_NAME` and `DELETE_GLOBAL`, denoting the + undeclaration of a previously declared global attribute in this + module. + + Since `ModuleGraph` is _not_ intended to replicate the behaviour of a + full-featured Turing-complete Python interpreter, this method ignores + operations that are _not_ reasonably parsable from this code object -- + even those directly or indirectly involving module importation. This + includes: + + * `STORE_ATTR(namei)`, implementing `TOS.name = TOS1`. If `TOS` is the + name of a target module currently imported into the namespace of the + passed source module, this opcode would ideally be parsed to add that + global attribute to that target module. Since this addition only + conditionally occurs on the importation of this source module and + execution of the code branch in this module performing this addition, + however, that global _cannot_ be unconditionally added to that target + module. In short, only Turing-complete behaviour suffices. + * `DELETE_ATTR(namei)`, implementing `del TOS.name`. If `TOS` is the + name of a target module currently imported into the namespace of the + passed source module, this opcode would ideally be parsed to remove + that global attribute from that target module. Again, however, only + Turing-complete behaviour suffices. + + Parameters + ---------- + module : Node + Graph node of the module to be parsed. + module_code_object : PyCodeObject + Code object of the module to be parsed. + is_scanning_imports : bool + `True` only if this method is parsing import statements from + `IMPORT_NAME` opcodes. If `False`, no import statements will be + parsed. This parameter is typically: + * `True` when parsing this module's code object for such imports. + * `False` when parsing this module's abstract syntax tree (AST) + (rather than code object) for such imports. In this case, that + parsing will have already parsed import statements, which this + parsing must avoid repeating. + """ + level = None + fromlist = None + + # 'deque' is a list-like container with fast appends, pops on + # either end, and automatically discarding elements too much. + prev_insts = deque(maxlen=2) + for inst in util.iterate_instructions(module_code_object): + if not inst: + continue + # If this is an import statement originating from this module, + # parse this import. + # + # Note that the related "IMPORT_FROM" opcode need *NOT* be parsed. + # "IMPORT_NAME" suffices. For further details, see + # http://probablyprogramming.com/2008/04/14/python-import_name + if inst.opname == 'IMPORT_NAME': + # If this method is ignoring import statements, skip to the + # next opcode. + if not is_scanning_imports: + continue + + # Python >=2.5: LOAD_CONST flags, LOAD_CONST names, IMPORT_NAME name + # + # Python 3.14 split LOAD_CONST into LOAD_CONST, LOAD_CONST_IMMORTAL, + # and LOAD_SMALL_INT. The former two can be used to load the names, + # while LOAD_SMALL_INT can be also used to load the flags. + if sys.version_info >= (3, 14): + assert prev_insts[-2].opname in {'LOAD_CONST', 'LOAD_CONST_IMMORTAL', 'LOAD_SMALL_INT'} + assert prev_insts[-1].opname in {'LOAD_CONST', 'LOAD_CONST_IMMORTAL'} + else: + assert prev_insts[-2].opname == 'LOAD_CONST' + assert prev_insts[-1].opname == 'LOAD_CONST' + + level = prev_insts[-2].argval + fromlist = prev_insts[-1].argval + + assert fromlist is None or type(fromlist) is tuple + target_module_partname = inst.argval + + #FIXME: The exact same logic appears in _collect_import(), + #which isn't particularly helpful. Instead, defer this logic + #until later by: + # + #* Refactor the "_deferred_imports" list to contain 2-tuples + # "(_safe_import_hook_args, _safe_import_hook_kwargs)" rather + # than 3-tuples "(have_star, _safe_import_hook_args, + # _safe_import_hook_kwargs)". + #* Stop prepending these tuples by a "have_star" boolean both + # here, in _collect_import(), and in _process_imports(). + #* Shift the logic below to _process_imports(). + #* Remove the same logic from _collect_import(). + have_star = False + if fromlist is not None: + fromlist = uniq(fromlist) + if '*' in fromlist: + fromlist.remove('*') + have_star = True + + # Record this import as originating from this module for + # subsequent handling by the _process_imports() method. + module._deferred_imports.append(( + have_star, + (target_module_partname, module, fromlist, level), + {} + )) + + elif inst.opname in ('STORE_NAME', 'STORE_GLOBAL'): + # If this is the declaration of a global attribute (e.g., + # class, variable) in this module, store this declaration for + # subsequent lookup. See method docstring for further details. + # + # Global attributes are usually irrelevant to import parsing, but + # remain the only means of distinguishing erroneous non-ignorable + # attempts to import non-existent submodules of a package from + # successful ignorable attempts to import existing global + # attributes of a package's "__init__" submodule (e.g., the "bar" + # in "from foo import bar", which is either a non-ignorable + # submodule of "foo" or an ignorable global attribute of + # "foo.__init__"). + name = inst.argval + module.add_global_attr(name) + + elif inst.opname in ('DELETE_NAME', 'DELETE_GLOBAL'): + # If this is the undeclaration of a previously declared global + # attribute (e.g., class, variable) in this module, remove that + # declaration to prevent subsequent lookup. See method docstring + # for further details. + name = inst.argval + module.remove_global_attr_if_found(name) + + prev_insts.append(inst) + + + def _process_imports(self, source_module): + """ + Graph all target modules whose importations were previously parsed from + the passed source module by a prior call to the `_scan_code()` method + and methods call by that method (e.g., `_scan_ast()`, + `_scan_bytecode()`, `_scan_bytecode_stores()`). + + Parameters + ---------- + source_module : Node + Graph node of the source module to graph target imports for. + """ + + # If this source module imported no target modules, noop. + if not source_module._deferred_imports: + return + + # For each target module imported by this source module... + for have_star, import_info, kwargs in source_module._deferred_imports: + # Graph node of the target module specified by the "from" portion + # of this "from"-style star import (e.g., an import resembling + # "from {target_module_name} import *") or ignored otherwise. + target_modules = self._safe_import_hook(*import_info, **kwargs) + if not target_modules: + # If _safe_import_hook suppressed the module, quietly drop it. + # Do not create an ExcludedModule instance, because that might + # completely suppress the module whereas it might need to be + # included due to reference from another module (that does + # not exclude it via hook). + continue + target_module = target_modules[0] + + # If this is a "from"-style star import, process this import. + if have_star: + #FIXME: Sadly, the current approach to importing attributes + #from "from"-style star imports is... simplistic. This should + #be revised as follows. If this target module is: + # + #* A package: + # * Whose "__init__" submodule defines the "__all__" global + # attribute, only attributes listed by this attribute should + # be imported. + # * Else, *NO* attributes should be imported. + #* A non-package: + # * Defining the "__all__" global attribute, only attributes + # listed by this attribute should be imported. + # * Else, only public attributes whose names are *NOT* + # prefixed by "_" should be imported. + source_module.add_global_attrs_from_module(target_module) + + source_module._starimported_ignored_module_names.update( + target_module._starimported_ignored_module_names) + + # If this target module has no code object and hence is + # unparsable, record its name for posterity. + if target_module.code is None: + target_module_name = import_info[0] + source_module._starimported_ignored_module_names.add( + target_module_name) + + # For safety, prevent these imports from being reprocessed. + source_module._deferred_imports = None + + + def _find_module(self, name, path, parent=None): + """ + 3-tuple describing the physical location of the module with the passed + name if this module is physically findable _or_ raise `ImportError`. + + This high-level method wraps the low-level `modulegraph.find_module()` + function with additional support for graph-based module caching. + + Parameters + ---------- + name : str + Fully-qualified name of the Python module to be found. + path : list + List of the absolute paths of all directories to search for this + module _or_ `None` if the default path list `self.path` is to be + searched. + parent : Node + Package containing this module if this module is a submodule of a + package _or_ `None` if this is a top-level module. + + Returns + ---------- + (filename, loader) + See `modulegraph._find_module()` for details. + + Raises + ---------- + ImportError + If this module is _not_ found. + """ + + if parent is not None: + # assert path is not None + fullname = parent.identifier + '.' + name + else: + fullname = name + + node = self.find_node(fullname) + if node is not None: + self.msg(3, "find_module: already included?", node) + raise ImportError(name) + + if path is None: + if name in sys.builtin_module_names: + return (None, BUILTIN_MODULE) + + path = self.path + + return self._find_module_path(fullname, name, path) + + + def _find_module_path(self, fullname, module_name, search_dirs): + """ + 3-tuple describing the physical location of the module with the passed + name if this module is physically findable _or_ raise `ImportError`. + + This low-level function is a variant on the standard `imp.find_module()` + function with additional support for: + + * Multiple search paths. The passed list of absolute paths will be + iteratively searched for the first directory containing a file + corresponding to this module. + * Compressed (e.g., zipped) packages. + + For efficiency, the higher level `ModuleGraph._find_module()` method + wraps this function with support for module caching. + + Parameters + ---------- + module_name : str + Fully-qualified name of the module to be found. + search_dirs : list + List of the absolute paths of all directories to search for this + module (in order). Searching will halt at the first directory + containing this module. + + Returns + ---------- + (filename, loader) + 2-tuple describing the physical location of this module, where: + * `filename` is the absolute path of this file. + * `loader` is the import loader. + In case of a namespace package, this is a NAMESPACE_PACKAGE + instance + + Raises + ---------- + ImportError + If this module is _not_ found. + """ + self.msgin(4, "_find_module_path <-", fullname, search_dirs) + + # Top-level 2-tuple to be returned. + path_data = None + + # List of the absolute paths of all directories comprising the + # namespace package to which this module belongs if any. + namespace_dirs = [] + + try: + for search_dir in search_dirs: + # PEP 302-compliant importer making loaders for this directory. + importer = pkgutil.get_importer(search_dir) + + # If this directory is not importable, continue. + if importer is None: + # self.msg(4, "_find_module_path importer not found", search_dir) + continue + + # Get the PEP 302-compliant loader object loading this module. + # + # If this importer defines the PEP 451-compliant find_spec() + # method, use that, and obtain loader from spec. This should + # be available on python >= 3.4. + if hasattr(importer, 'find_spec'): + loader = None + spec = importer.find_spec(module_name) + if spec is not None: + loader = spec.loader + namespace_dirs.extend(spec.submodule_search_locations or []) + # Else if this importer defines the PEP 302-compliant find_loader() + # method, use that. + elif hasattr(importer, 'find_loader'): + loader, loader_namespace_dirs = importer.find_loader( + module_name) + namespace_dirs.extend(loader_namespace_dirs) + # Else if this importer defines the Python 2-specific + # find_module() method, fall back to that. Despite the method + # name, this method returns a loader rather than a module. + elif hasattr(importer, 'find_module'): + loader = importer.find_module(module_name) + # Else, raise an exception. + else: + raise ImportError( + "Module %r importer %r loader unobtainable" % (module_name, importer)) + + # If this module is not loadable from this directory, continue. + if loader is None: + # self.msg(4, "_find_module_path loader not found", search_dir) + continue + + # Absolute path of this module. If this module resides in a + # compressed archive, this is the absolute path of this module + # after extracting this module from that archive and hence + # should not exist; else, this path should typically exist. + pathname = None + + # If this loader defines the PEP 302-compliant get_filename() + # method, preferably call that method first. Most if not all + # loaders (including zipimporter objects) define this method. + if hasattr(loader, 'get_filename'): + pathname = loader.get_filename(module_name) + # Else if this loader provides a "path" attribute, defer to that. + elif hasattr(loader, 'path'): + pathname = loader.path + # Else, raise an exception. + else: + raise ImportError( + "Module %r loader %r path unobtainable" % (module_name, loader)) + + # If no path was found, this is probably a namespace package. In + # such case, continue collecting namespace directories. + if pathname is None: + self.msg(4, "_find_module_path path not found", pathname) + continue + + # Return such metadata. + path_data = (pathname, loader) + break + # Else if this is a namespace package, return such metadata. + else: + if namespace_dirs: + path_data = (namespace_dirs[0], + NAMESPACE_PACKAGE(namespace_dirs)) + except UnicodeDecodeError as exc: + self.msgout(1, "_find_module_path -> unicode error", exc) + # Ensure that exceptions are logged, as this function is typically + # called by the import_module() method which squelches ImportErrors. + except Exception as exc: + self.msgout(4, "_find_module_path -> exception", exc) + raise + + # If this module was not found, raise an exception. + self.msgout(4, "_find_module_path ->", path_data) + if path_data is None: + raise ImportError("No module named " + repr(module_name)) + + return path_data + + + def create_xref(self, out=None): + global header, footer, entry, contpl, contpl_linked, imports + if out is None: + out = sys.stdout + scripts = [] + mods = [] + for mod in self.iter_graph(): + name = os.path.basename(mod.graphident) + if isinstance(mod, Script): + scripts.append((name, mod)) + else: + mods.append((name, mod)) + scripts.sort() + mods.sort() + scriptnames = [sn for sn, m in scripts] + scripts.extend(mods) + mods = scripts + + title = "modulegraph cross reference for " + ', '.join(scriptnames) + print(header % {"TITLE": title}, file=out) + + def sorted_namelist(mods): + lst = [os.path.basename(mod.graphident) for mod in mods if mod] + lst.sort() + return lst + for name, m in mods: + content = "" + if isinstance(m, BuiltinModule): + content = contpl % {"NAME": name, + "TYPE": "(builtin module)"} + elif isinstance(m, Extension): + content = contpl % {"NAME": name, + "TYPE": "%s" % m.filename} + else: + url = urllib.request.pathname2url(m.filename or "") + content = contpl_linked % {"NAME": name, "URL": url, + 'TYPE': m.__class__.__name__} + oute, ince = map(sorted_namelist, self.get_edges(m)) + if oute: + links = [] + for n in oute: + links.append(""" %s\n""" % (n, n)) + # #8226 = bullet-point; can't use html-entities since the + # test-suite uses xml.etree.ElementTree.XMLParser, which + # does't supprot them. + links = " • ".join(links) + content += imports % {"HEAD": "imports", "LINKS": links} + if ince: + links = [] + for n in ince: + links.append(""" %s\n""" % (n, n)) + # #8226 = bullet-point; can't use html-entities since the + # test-suite uses xml.etree.ElementTree.XMLParser, which + # does't supprot them. + links = " • ".join(links) + content += imports % {"HEAD": "imported by", "LINKS": links} + print(entry % {"NAME": name, "CONTENT": content}, file=out) + print(footer, file=out) + + def itergraphreport(self, name='G', flatpackages=()): + # XXX: Can this be implemented using Dot()? + nodes = list(map(self.graph.describe_node, self.graph.iterdfs(self))) + describe_edge = self.graph.describe_edge + edges = deque() + packagenodes = set() + packageidents = {} + nodetoident = {} + inpackages = {} + mainedges = set() + + # XXX - implement + flatpackages = dict(flatpackages) + + def nodevisitor(node, data, outgoing, incoming): + if not isinstance(data, Node): + return {'label': str(node)} + #if isinstance(d, (ExcludedModule, MissingModule, BadModule)): + # return None + s = ' ' + type(data).__name__ + for i, v in enumerate(data.infoTuple()[:1], 1): + s += '| %s' % (i, v) + return {'label': s, 'shape': 'record'} + + + def edgevisitor(edge, data, head, tail): + # XXX: This method nonsense, the edge + # data is never initialized. + if data == 'orphan': + return {'style': 'dashed'} + elif data == 'pkgref': + return {'style': 'dotted'} + return {} + + yield 'digraph %s {\ncharset="UTF-8";\n' % (name,) + attr = dict(rankdir='LR', concentrate='true') + cpatt = '%s="%s"' + for item in attr.items(): + yield '\t%s;\n' % (cpatt % item,) + + # find all packages (subgraphs) + for (node, data, outgoing, incoming) in nodes: + nodetoident[node] = getattr(data, 'graphident', None) + if isinstance(data, Package): + packageidents[data.graphident] = node + inpackages[node] = set([node]) + packagenodes.add(node) + + # create sets for subgraph, write out descriptions + for (node, data, outgoing, incoming) in nodes: + # update edges + for edge in (describe_edge(e) for e in outgoing): + edges.append(edge) + + # describe node + yield '\t"%s" [%s];\n' % ( + node, + ','.join([ + (cpatt % item) for item in + nodevisitor(node, data, outgoing, incoming).items() + ]), + ) + + inside = inpackages.get(node) + if inside is None: + inside = inpackages[node] = set() + ident = nodetoident[node] + if ident is None: + continue + pkgnode = packageidents.get(ident[:ident.rfind('.')]) + if pkgnode is not None: + inside.add(pkgnode) + + graph = [] + subgraphs = {} + for key in packagenodes: + subgraphs[key] = [] + + while edges: + edge, data, head, tail = edges.popleft() + if ((head, tail)) in mainedges: + continue + mainedges.add((head, tail)) + tailpkgs = inpackages[tail] + common = inpackages[head] & tailpkgs + if not common and tailpkgs: + usepkgs = sorted(tailpkgs) + if len(usepkgs) != 1 or usepkgs[0] != tail: + edges.append((edge, data, head, usepkgs[0])) + edges.append((edge, 'pkgref', usepkgs[-1], tail)) + continue + if common: + common = common.pop() + if tail == common: + edges.append((edge, data, tail, head)) + elif head == common: + subgraphs[common].append((edge, 'pkgref', head, tail)) + else: + edges.append((edge, data, common, head)) + edges.append((edge, data, common, tail)) + + else: + graph.append((edge, data, head, tail)) + + def do_graph(edges, tabs): + edgestr = tabs + '"%s" -> "%s" [%s];\n' + # describe edge + for (edge, data, head, tail) in edges: + attribs = edgevisitor(edge, data, head, tail) + yield edgestr % ( + head, + tail, + ','.join([(cpatt % item) for item in attribs.items()]), + ) + + for g, edges in subgraphs.items(): + yield '\tsubgraph "cluster_%s" {\n' % (g,) + yield '\t\tlabel="%s";\n' % (nodetoident[g],) + for s in do_graph(edges, '\t\t'): + yield s + yield '\t}\n' + + for s in do_graph(graph, '\t'): + yield s + + yield '}\n' + + def graphreport(self, fileobj=None, flatpackages=()): + if fileobj is None: + fileobj = sys.stdout + fileobj.writelines(self.itergraphreport(flatpackages=flatpackages)) + + def report(self): + """Print a report to stdout, listing the found modules with their + paths, as well as modules that are missing, or seem to be missing. + """ + print() + print("%-15s %-25s %s" % ("Class", "Name", "File")) + print("%-15s %-25s %s" % ("-----", "----", "----")) + for m in sorted(self.iter_graph(), key=lambda n: n.graphident): + if isinstance(m, AliasNode): + print("%-15s %-25s %s" % (type(m).__name__, m.graphident, m.identifier)) + else: + print("%-15s %-25s %s" % (type(m).__name__, m.graphident, m.filename or "")) + + def _replace_paths_in_code(self, co): + new_filename = original_filename = os.path.normpath(co.co_filename) + for f, r in self.replace_paths: + f = os.path.join(f, '') + r = os.path.join(r, '') + if original_filename.startswith(f): + new_filename = r + original_filename[len(f):] + break + + else: + return co + + consts = list(co.co_consts) + for i in range(len(consts)): + if isinstance(consts[i], type(co)): + consts[i] = self._replace_paths_in_code(consts[i]) + + return co.replace(co_consts=tuple(consts), co_filename=new_filename) diff --git a/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/util.py b/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/util.py new file mode 100644 index 0000000..dab8c06 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/lib/modulegraph/util.py @@ -0,0 +1,21 @@ +import dis +import inspect + + +def iterate_instructions(code_object): + """Delivers the byte-code instructions as a continuous stream. + + Yields `dis.Instruction`. After each code-block (`co_code`), `None` is + yielded to mark the end of the block and to interrupt the steam. + """ + # The arg extension the EXTENDED_ARG opcode represents is automatically handled by get_instructions() but the + # instruction is left in. Get rid of it to make subsequent parsing easier/safer. + yield from (i for i in dis.get_instructions(code_object) if i.opname != "EXTENDED_ARG") + + yield None + + # For each constant in this code object that is itself a code object, + # parse this constant in the same manner. + for constant in code_object.co_consts: + if inspect.iscode(constant): + yield from iterate_instructions(constant) diff --git a/.venv/Lib/site-packages/PyInstaller/loader/__init__.py b/.venv/Lib/site-packages/PyInstaller/loader/__init__.py new file mode 100644 index 0000000..792d600 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/loader/__init__.py @@ -0,0 +1 @@ +# diff --git a/.venv/Lib/site-packages/PyInstaller/loader/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/loader/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..cd82488 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/loader/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/loader/__pycache__/pyiboot01_bootstrap.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/loader/__pycache__/pyiboot01_bootstrap.cpython-311.pyc new file mode 100644 index 0000000..d024d25 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/loader/__pycache__/pyiboot01_bootstrap.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/loader/__pycache__/pyimod01_archive.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/loader/__pycache__/pyimod01_archive.cpython-311.pyc new file mode 100644 index 0000000..e849230 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/loader/__pycache__/pyimod01_archive.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/loader/__pycache__/pyimod02_importers.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/loader/__pycache__/pyimod02_importers.cpython-311.pyc new file mode 100644 index 0000000..fdc0ac8 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/loader/__pycache__/pyimod02_importers.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/loader/__pycache__/pyimod03_ctypes.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/loader/__pycache__/pyimod03_ctypes.cpython-311.pyc new file mode 100644 index 0000000..06f68ec Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/loader/__pycache__/pyimod03_ctypes.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/loader/__pycache__/pyimod04_pywin32.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/loader/__pycache__/pyimod04_pywin32.cpython-311.pyc new file mode 100644 index 0000000..d430504 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/loader/__pycache__/pyimod04_pywin32.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/loader/pyiboot01_bootstrap.py b/.venv/Lib/site-packages/PyInstaller/loader/pyiboot01_bootstrap.py new file mode 100644 index 0000000..b0da1dd --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/loader/pyiboot01_bootstrap.py @@ -0,0 +1,95 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +#-- Start bootstrap process +# Only python built-in modules can be used. + +import sys + +import pyimod02_importers + +# Extend Python import machinery by adding PEP302 importers to sys.meta_path. +pyimod02_importers.install() + +#-- Bootstrap process is complete. +# We can use other python modules (e.g. os) + +import os # noqa: E402 + +# Let other python modules know that the code is running in frozen mode. +if not hasattr(sys, 'frozen'): + sys.frozen = True + +# sys._MEIPASS is now set in the bootloader. Hooray. + +# Python 3 C-API function Py_SetPath() resets sys.prefix to empty string. Python 2 was using PYTHONHOME for sys.prefix. +# Let's do the same for Python 3. +sys.prefix = sys._MEIPASS +sys.exec_prefix = sys.prefix + +# Python 3.3+ defines also sys.base_prefix. Let's set them too. +sys.base_prefix = sys.prefix +sys.base_exec_prefix = sys.exec_prefix + +# Some packages behave differently when running inside virtual environment. E.g., IPython tries to append path +# VIRTUAL_ENV to sys.path. For the frozen app we want to prevent this behavior. +VIRTENV = 'VIRTUAL_ENV' +if VIRTENV in os.environ: + # On some platforms (e.g., AIX) 'os.unsetenv()' is unavailable and deleting the var from os.environ does not + # delete it from the environment. + os.environ[VIRTENV] = '' + del os.environ[VIRTENV] + +# Ensure sys.path contains absolute paths. Otherwise, import of other python modules will fail when current working +# directory is changed by the frozen application. +python_path = [] +for pth in sys.path: + python_path.append(os.path.abspath(pth)) + sys.path = python_path + +# At least on Windows, Python seems to hook up the codecs on this import, so it is not enough to just package up all +# the encodings. +# +# It was also reported that without 'encodings' module, the frozen executable fails to load in some configurations: +# http://www.pyinstaller.org/ticket/651 +# +# Importing 'encodings' module in a run-time hook is not enough, since some run-time hooks require this module, and the +# order of running the code from the run-time hooks is not defined. +try: + import encodings # noqa: F401 +except ImportError: + pass + +# In the Python interpreter 'warnings' module is imported when 'sys.warnoptions' is not empty. Mimic this behavior. +if sys.warnoptions: + import warnings # noqa: F401 + +# Install the hooks for ctypes +import pyimod03_ctypes # noqa: E402 + +pyimod03_ctypes.install() + +# Install the hooks for pywin32 (Windows only) +if sys.platform.startswith('win'): + import pyimod04_pywin32 + pyimod04_pywin32.install() + +# Apply a hack for metadata that was collected from (unzipped) python eggs; the EGG-INFO directories are collected into +# their parent directories (my_package-version.egg/EGG-INFO), and for metadata to be discoverable by +# `importlib.metadata`, the .egg directory needs to be in `sys.path`. The deprecated `pkg_resources` does not have this +# limitation, and seems to work as long as the .egg directory's parent directory (in our case `sys._MEIPASS` is in +# `sys.path`. +for entry in os.listdir(sys._MEIPASS): + entry = os.path.join(sys._MEIPASS, entry) + if not os.path.isdir(entry): + continue + if entry.endswith('.egg'): + sys.path.append(entry) diff --git a/.venv/Lib/site-packages/PyInstaller/loader/pyimod01_archive.py b/.venv/Lib/site-packages/PyInstaller/loader/pyimod01_archive.py new file mode 100644 index 0000000..40ff5b9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/loader/pyimod01_archive.py @@ -0,0 +1,135 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# **NOTE** This module is used during bootstrap. +# Import *ONLY* builtin modules or modules that are collected into the base_library.zip archive. +# List of built-in modules: sys.builtin_module_names +# List of modules collected into base_library.zip: PyInstaller.compat.PY3_BASE_MODULES + +import os +import struct +import marshal +import zlib + +# In Python3, the MAGIC_NUMBER value is available in the importlib module. However, in the bootstrap phase we cannot use +# importlib directly, but rather its frozen variant. +import _frozen_importlib + +PYTHON_MAGIC_NUMBER = _frozen_importlib._bootstrap_external.MAGIC_NUMBER + +# Type codes for PYZ PYZ entries +PYZ_ITEM_MODULE = 0 +PYZ_ITEM_PKG = 1 +PYZ_ITEM_DATA = 2 # deprecated; PYZ does not contain any data entries anymore +PYZ_ITEM_NSPKG = 3 # PEP-420 namespace package + + +class ArchiveReadError(RuntimeError): + pass + + +class ZlibArchiveReader: + """ + Reader for PyInstaller's PYZ (ZlibArchive) archive. The archive is used to store collected byte-compiled Python + modules, as individually-compressed entries. + """ + _PYZ_MAGIC_PATTERN = b'PYZ\0' + + def __init__(self, filename, start_offset=None, check_pymagic=False): + self._filename = filename + self._start_offset = start_offset + + self.toc = {} + + # If no offset is given, try inferring it from filename + if start_offset is None: + self._filename, self._start_offset = self._parse_offset_from_filename(filename) + + # Parse header and load TOC. Standard header contains 12 bytes: PYZ magic pattern, python bytecode magic + # pattern, and offset to TOC (32-bit integer). It might be followed by additional fields, depending on + # implementation version. + with open(self._filename, "rb") as fp: + # Read PYZ magic pattern, located at the start of the file + fp.seek(self._start_offset, os.SEEK_SET) + + magic = fp.read(len(self._PYZ_MAGIC_PATTERN)) + if magic != self._PYZ_MAGIC_PATTERN: + raise ArchiveReadError("PYZ magic pattern mismatch!") + + # Read python magic/version number + pymagic = fp.read(len(PYTHON_MAGIC_NUMBER)) + if check_pymagic and pymagic != PYTHON_MAGIC_NUMBER: + raise ArchiveReadError("Python magic pattern mismatch!") + + # Read TOC offset + toc_offset, *_ = struct.unpack('!i', fp.read(4)) + + # Load TOC + fp.seek(self._start_offset + toc_offset, os.SEEK_SET) + self.toc = dict(marshal.load(fp)) + + @staticmethod + def _parse_offset_from_filename(filename): + """ + Parse the numeric offset from filename, stored as: `/path/to/file?offset`. + """ + offset = 0 + + idx = filename.rfind('?') + if idx == -1: + return filename, offset + + try: + offset = int(filename[idx + 1:]) + filename = filename[:idx] # Remove the offset from filename + except ValueError: + # Ignore spurious "?" in the path (for example, like in Windows UNC \\?\). + pass + + return filename, offset + + def extract(self, name, raw=False): + """ + Extract data from entry with the given name. + + If the entry belongs to a module or a package, the data is loaded (unmarshaled) into code object. To retrieve + raw data, set `raw` flag to True. + """ + # Look up entry + entry = self.toc.get(name) + if entry is None: + return None + typecode, entry_offset, entry_length = entry + + # Read data blob + try: + with open(self._filename, "rb") as fp: + fp.seek(self._start_offset + entry_offset) + obj = fp.read(entry_length) + except FileNotFoundError: + # We open the archive file each time we need to read from it, to avoid locking the file by keeping it open. + # This allows executable to be deleted or moved (renamed) while it is running, which is useful in certain + # scenarios (e.g., automatic update that replaces the executable). The caveat is that once the executable is + # renamed, we cannot read from its embedded PYZ archive anymore. In such case, exit with informative + # message. + raise SystemExit( + f"ERROR: {self._filename} appears to have been moved or deleted since this application was launched. " + "Continouation from this state is impossible. Exiting now." + ) + + try: + obj = zlib.decompress(obj) + if typecode in (PYZ_ITEM_MODULE, PYZ_ITEM_PKG, PYZ_ITEM_NSPKG) and not raw: + obj = marshal.loads(obj) + except EOFError as e: + raise ImportError(f"Failed to unmarshal PYZ entry {name!r}!") from e + + return obj diff --git a/.venv/Lib/site-packages/PyInstaller/loader/pyimod02_importers.py b/.venv/Lib/site-packages/PyInstaller/loader/pyimod02_importers.py new file mode 100644 index 0000000..68c22bc --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/loader/pyimod02_importers.py @@ -0,0 +1,781 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +PEP-302 and PEP-451 importers for frozen applications. +""" + +# **NOTE** This module is used during bootstrap. +# Import *ONLY* builtin modules or modules that are collected into the base_library.zip archive. +# List of built-in modules: sys.builtin_module_names +# List of modules collected into base_library.zip: PyInstaller.compat.PY3_BASE_MODULES + +import sys +import os +import io + +import _frozen_importlib +import _thread + +import pyimod01_archive + +if sys.flags.verbose and sys.stderr: + + def trace(msg, *a): + sys.stderr.write(msg % a) + sys.stderr.write("\n") +else: + + def trace(msg, *a): + pass + + +def _decode_source(source_bytes): + """ + Decode bytes representing source code and return the string. Universal newline support is used in the decoding. + Based on CPython's implementation of the same functionality: + https://github.com/python/cpython/blob/3.9/Lib/importlib/_bootstrap_external.py#L679-L688 + """ + # Local import to avoid including `tokenize` and its dependencies in `base_library.zip` + from tokenize import detect_encoding + source_bytes_readline = io.BytesIO(source_bytes).readline + encoding = detect_encoding(source_bytes_readline) + newline_decoder = io.IncrementalNewlineDecoder(decoder=None, translate=True) + return newline_decoder.decode(source_bytes.decode(encoding[0])) + + +# Global instance of PYZ archive reader. Initialized by install(). +pyz_archive = None + +# Some runtime hooks might need to traverse available frozen package/module hierarchy to simulate filesystem. +# Such traversals can be efficiently implemented using a prefix tree (trie), whose computation we defer until first +# access. +_pyz_tree_lock = _thread.RLock() +_pyz_tree = None + + +def get_pyz_toc_tree(): + global _pyz_tree + + with _pyz_tree_lock: + if _pyz_tree is None: + _pyz_tree = _build_pyz_prefix_tree(pyz_archive) + return _pyz_tree + + +# Populate list of unresolved (original) and resolved paths to top-level directory, used when trying to determine +# relative path. +_TOP_LEVEL_DIRECTORY_PATHS = [] + +# Original sys._MEIPASS value; ensure separators are normalized (e.g., when using msys2 python). +_TOP_LEVEL_DIRECTORY = os.path.normpath(sys._MEIPASS) +_TOP_LEVEL_DIRECTORY_PATHS.append(_TOP_LEVEL_DIRECTORY) + +# Fully resolve sys._MEIPASS in case its location is symlinked at some level; for example, system temporary directory +# (used by onefile builds) is usually a symbolic link under macOS. +_RESOLVED_TOP_LEVEL_DIRECTORY = os.path.realpath(_TOP_LEVEL_DIRECTORY) +if os.path.normcase(_RESOLVED_TOP_LEVEL_DIRECTORY) != os.path.normcase(_TOP_LEVEL_DIRECTORY): + _TOP_LEVEL_DIRECTORY_PATHS.append(_RESOLVED_TOP_LEVEL_DIRECTORY) + +# If we are running as macOS .app bundle, compute the alternative top-level directory path as well. +_is_macos_app_bundle = False +if sys.platform == 'darwin' and _TOP_LEVEL_DIRECTORY.endswith("Contents/Frameworks"): + _is_macos_app_bundle = True + + _ALTERNATIVE_TOP_LEVEL_DIRECTORY = os.path.join( + os.path.dirname(_TOP_LEVEL_DIRECTORY), + 'Resources', + ) + _TOP_LEVEL_DIRECTORY_PATHS.append(_ALTERNATIVE_TOP_LEVEL_DIRECTORY) + + _RESOLVED_ALTERNATIVE_TOP_LEVEL_DIRECTORY = os.path.join( + os.path.dirname(_RESOLVED_TOP_LEVEL_DIRECTORY), + 'Resources', + ) + if _RESOLVED_ALTERNATIVE_TOP_LEVEL_DIRECTORY != _ALTERNATIVE_TOP_LEVEL_DIRECTORY: + _TOP_LEVEL_DIRECTORY_PATHS.append(_RESOLVED_ALTERNATIVE_TOP_LEVEL_DIRECTORY) + + +# Helper for computing PYZ prefix tree +def _build_pyz_prefix_tree(pyz_archive): + tree = dict() + for entry_name, entry_data in pyz_archive.toc.items(): + name_components = entry_name.split('.') + typecode = entry_data[0] + current = tree + if typecode in {pyimod01_archive.PYZ_ITEM_PKG, pyimod01_archive.PYZ_ITEM_NSPKG}: + # Package; create new dictionary node for its modules + for name_component in name_components: + current = current.setdefault(name_component, {}) + else: + # Module; create the leaf node (empty string) + for name_component in name_components[:-1]: + current = current.setdefault(name_component, {}) + current[name_components[-1]] = '' + return tree + + +class PyiFrozenFinder: + """ + PyInstaller's frozen path entry finder for specific search path. + + Per-path instances allow us to properly translate the given module name ("fullname") into full PYZ entry name. + For example, with search path being `sys._MEIPASS`, the module "mypackage.mod" would translate to "mypackage.mod" + in the PYZ archive. However, if search path was `sys._MEIPASS/myotherpackage/_vendored` (for example, if + `myotherpacakge` added this path to `sys.path`), then "mypackage.mod" would need to translate to + "myotherpackage._vendored.mypackage.mod" in the PYZ archive. + """ + def __repr__(self): + return f"{self.__class__.__name__}({self._path})" + + @classmethod + def path_hook(cls, path): + trace(f"PyInstaller: running path finder hook for path: {path!r}") + try: + finder = cls(path) + trace("PyInstaller: hook succeeded") + return finder + except Exception as e: + trace(f"PyInstaller: hook failed: {e}") + raise + + def __init__(self, path): + self._path = path # Store original path, as given. + self._pyz_archive = pyz_archive + + # Compute relative path to the top-level application directory. Do not try to resolve the path itself, because + # it might contain symbolic links in parts other than the prefix that corresponds to the top-level application + # directory. See #8994 for an example (files symlinked from a common directory outside of the top-level + # application directory). Instead, try to compute relative path w.r.t. the original and the resolved top-level + # application directory. + for top_level_path in _TOP_LEVEL_DIRECTORY_PATHS: + try: + relative_path = os.path.relpath(path, top_level_path) + except ValueError: + continue # Failed to compute relative path w.r.t. the given top-level directory path. + + if relative_path.startswith('..'): + continue # Relative path points outside of the given top-level directory. + + break # Successful match; stop here. + else: + raise ImportError("Failed to determine relative path w.r.t. top-level application directory.") + + # Ensure that path does not point to a file on filesystem. Strictly speaking, we should be checking that the + # given path is a valid directory, but that would need to check both PYZ and filesystem. So for now, limit the + # check to catch paths pointing to file, because that breaks `runpy.run_path()`, as per #8767. + if os.path.isfile(path): + raise ImportError("only directories are supported") + + if relative_path == '.': + self._pyz_entry_prefix = '' + else: + self._pyz_entry_prefix = '.'.join(relative_path.split(os.path.sep)) + + def _compute_pyz_entry_name(self, fullname): + """ + Convert module fullname into PYZ entry name, subject to the prefix implied by this finder's search path. + """ + tail_module = fullname.rpartition('.')[2] + + if self._pyz_entry_prefix: + return self._pyz_entry_prefix + "." + tail_module + else: + return tail_module + + @property + def fallback_finder(self): + """ + Opportunistically create a *fallback finder* using `sys.path_hooks` entries that are located *after* our hook. + The main goal of this exercise is to obtain an instance of python's FileFinder, but in theory any other hook + that comes after ours is eligible to be a fallback. + + Having this fallback allows our finder to "cooperate" with python's FileFinder, as if the two were a single + finder, which allows us to work around the python's PathFinder permitting only one finder instance per path + without subclassing FileFinder. + """ + if hasattr(self, '_fallback_finder'): + return self._fallback_finder + + # Try to instantiate fallback finder + our_hook_found = False + + self._fallback_finder = None + for idx, hook in enumerate(sys.path_hooks): + if hook == self.path_hook: + our_hook_found = True + continue # Our hook + + if not our_hook_found: + continue # Skip hooks before our hook + + try: + self._fallback_finder = hook(self._path) + break + except ImportError: + pass + + return self._fallback_finder + + def _find_fallback_spec(self, fullname, target): + """ + Attempt to find the spec using fallback finder, which is opportunistically created here. Typically, this would + be python's FileFinder, which can discover specs for on-filesystem modules, such as extension modules and + modules that are collected only as source .py files. + + Having this fallback allows our finder to "cooperate" with python's FileFinder, as if the two were a single + finder, which allows us to work around the python's PathFinder permitting only one finder instance per path + without subclassing FileFinder. + """ + if not hasattr(self, '_fallback_finder'): + self._fallback_finder = self._get_fallback_finder() + + if self._fallback_finder is None: + return None + + return self._fallback_finder.find_spec(fullname, target) + + #-- Core PEP451 finder functionality, modeled after importlib.abc.PathEntryFinder + # https://docs.python.org/3/library/importlib.html#importlib.abc.PathEntryFinder + def invalidate_caches(self): + """ + A method which, when called, should invalidate any internal cache used by the finder. Used by + importlib.invalidate_caches() when invalidating the caches of all finders on sys.meta_path. + + https://docs.python.org/3/library/importlib.html#importlib.abc.MetaPathFinder.invalidate_caches + """ + # We do not use any caches, but if we have created a fallback finder, propagate the function call. + # NOTE: use getattr() with _fallback_finder attribute, in order to avoid unnecessary creation of the + # fallback finder in case when it does not exist yet. + fallback_finder = getattr(self, '_fallback_finder', None) + if fallback_finder is not None: + if hasattr(fallback_finder, 'invalidate_caches'): + fallback_finder.invalidate_caches() + + def find_spec(self, fullname, target=None): + """ + A method for finding a spec for the specified module. The finder will search for the module only within the + path entry to which it is assigned. If a spec cannot be found, None is returned. When passed in, target is a + module object that the finder may use to make a more educated guess about what spec to return. + + https://docs.python.org/3/library/importlib.html#importlib.abc.PathEntryFinder.find_spec + """ + trace(f"{self}: find_spec: called with fullname={fullname!r}, target={fullname!r}") + + # Convert fullname to PYZ entry name. + pyz_entry_name = self._compute_pyz_entry_name(fullname) + + # Try looking up the entry in the PYZ archive + entry_data = self._pyz_archive.toc.get(pyz_entry_name) + if entry_data is None: + # Entry not found - try using fallback finder (for example, python's own FileFinder) to resolve on-disk + # resources, such as extension modules and modules that are collected only as source .py files. + trace(f"{self}: find_spec: {fullname!r} not found in PYZ...") + + if self.fallback_finder is not None: + trace(f"{self}: find_spec: attempting resolve using fallback finder {self.fallback_finder!r}.") + fallback_spec = self.fallback_finder.find_spec(fullname, target) + trace(f"{self}: find_spec: fallback finder returned spec: {fallback_spec!r}.") + return fallback_spec + else: + trace(f"{self}: find_spec: fallback finder is not available.") + + return None + + # Entry found + typecode = entry_data[0] + trace(f"{self}: find_spec: found {fullname!r} in PYZ as {pyz_entry_name!r}, typecode={typecode}") + + if typecode == pyimod01_archive.PYZ_ITEM_NSPKG: + # PEP420 namespace package + # We can use regular list for submodule_search_locations; the caller (i.e., python's PathFinder) takes care + # of constructing _NamespacePath from it. + spec = _frozen_importlib.ModuleSpec(fullname, None) + spec.submodule_search_locations = [ + # NOTE: since we are using sys._MEIPASS as prefix, we need to construct path from resolved PYZ entry + # name (equivalently, we could combine `self._path` and last part of `fullname`). + os.path.join(sys._MEIPASS, pyz_entry_name.replace('.', os.path.sep)), + ] + return spec + + is_package = typecode == pyimod01_archive.PYZ_ITEM_PKG + + # Instantiate frozen loader for the module + loader = PyiFrozenLoader( + name=fullname, + pyz_archive=self._pyz_archive, + pyz_entry_name=pyz_entry_name, + is_package=is_package, + ) + + # Resolve full filename, as if the module/package was located on filesystem. This is done by the loader. + origin = loader.path + + # Construct spec for module, using all collected information. + spec = _frozen_importlib.ModuleSpec( + fullname, + loader, + is_package=is_package, + origin=origin, + ) + + # Make the import machinery set __file__. + # PEP 451 says: "has_location" is true if the module is locatable. In that case the spec's origin is used + # as the location and __file__ is set to spec.origin. If additional location information is required + # (e.g., zipimport), that information may be stored in spec.loader_state. + spec.has_location = True + + # Set submodule_search_locations for packages. Seems to be required for importlib_resources from 3.2.0; + # see issue #5395. + if is_package: + spec.submodule_search_locations = [os.path.dirname(origin)] + + return spec + + # The following methods are part of legacy PEP302 finder interface. They have been deprecated since python 3.4, + # and removed in python 3.12. Provide compatibility shims to accommodate code that might still be using them. + if sys.version_info[:2] < (3, 12): + + def find_loader(self, fullname): + """ + A legacy method for finding a loader for the specified module. Returns a 2-tuple of (loader, portion) where + portion is a sequence of file system locations contributing to part of a namespace package. The loader may + be None while specifying portion to signify the contribution of the file system locations to a namespace + package. An empty list can be used for portion to signify the loader is not part of a namespace package. If + loader is None and portion is the empty list then no loader or location for a namespace package were found + (i.e. failure to find anything for the module). + + Deprecated since python 3.4, removed in 3.12. + """ + # Based on: + # https://github.com/python/cpython/blob/v3.11.9/Lib/importlib/_bootstrap_external.py#L1587-L1600 + spec = self.find_spec(fullname) + if spec is None: + return None, [] + return spec.loader, spec.submodule_search_locations or [] + + def find_module(self, fullname): + """ + A concrete implementation of Finder.find_module() which is equivalent to self.find_loader(fullname)[0]. + + Deprecated since python 3.4, removed in 3.12. + """ + # Based on: + # https://github.com/python/cpython/blob/v3.11.9/Lib/importlib/_bootstrap_external.py#L1585 + # https://github.com/python/cpython/blob/v3.11.9/Lib/importlib/_bootstrap_external.py#L622-L639 + # + loader, portions = self.find_loader(fullname) + return loader + + +# Helper for enforcing module name in PyiFrozenLoader methods. +def _check_name(method): + def _check_name_wrapper(self, name, *args, **kwargs): + if self.name != name: + raise ImportError(f'loader for {self.name} cannot handle {name}', name=name) + return method(self, name, *args, **kwargs) + + return _check_name_wrapper + + +class PyiFrozenLoader: + """ + PyInstaller's frozen loader for modules in the PYZ archive, which are discovered by PyiFrozenFinder. + + Since this loader is instantiated only from PyiFrozenFinder and since each loader instance is tied to a specific + module, the fact that the loader was instantiated serves as the proof that the module exists in the PYZ archive. + Hence, we can avoid any additional validation in the implementation of the loader's methods. + """ + def __init__(self, name, pyz_archive, pyz_entry_name, is_package): + # Store the reference to PYZ archive (for code object retrieval), as well as full PYZ entry name + # and typecode, all of which are passed from the PyiFrozenFinder. + self._pyz_archive = pyz_archive + self._pyz_entry_name = pyz_entry_name + self._is_package = is_package + + # Compute the module file path, as if module was located on filesystem. + # + # Rather than returning path to the .pyc file, return the path to .py file - which might actually exist, if it + # was explicitly collected into the frozen application). This improves compliance with + # https://docs.python.org/3/library/importlib.html#importlib.abc.ExecutionLoader.get_filename + # as well as general compatibility with 3rd party code that blindly assumes that module's file path points to + # the source .py file. + # + # NOTE: since we are using sys._MEIPASS as prefix, we need to construct path from full PYZ entry name + # (so that a module with `name`=`jaraco.text` and `pyz_entry_name`=`setuptools._vendor.jaraco.text` + # ends up with path set to `sys._MEIPASS/setuptools/_vendor/jaraco/text/__init__.pyc` instead of + # `sys._MEIPASS/jaraco/text/__init__.pyc`). + if is_package: + module_file = os.path.join(sys._MEIPASS, pyz_entry_name.replace('.', os.path.sep), '__init__.py') + else: + module_file = os.path.join(sys._MEIPASS, pyz_entry_name.replace('.', os.path.sep) + '.py') + + # These properties are defined as part of importlib.abc.FileLoader. They are used by our implementation + # (e.g., module name validation, get_filename(), get_source(), get_resource_reader()), and might also be used + # by 3rd party code that naively expects to be dealing with a FileLoader instance. + self.name = name # The name of the module the loader can handle. + self.path = module_file # Path to the file of the module + + #-- Core PEP451 loader functionality as defined by importlib.abc.Loader + # https://docs.python.org/3/library/importlib.html#importlib.abc.Loader + def create_module(self, spec): + """ + A method that returns the module object to use when importing a module. This method may return None, indicating + that default module creation semantics should take place. + + https://docs.python.org/3/library/importlib.html#importlib.abc.Loader.create_module + """ + return None + + def exec_module(self, module): + """ + A method that executes the module in its own namespace when a module is imported or reloaded. The module + should already be initialized when exec_module() is called. When this method exists, create_module() + must be defined. + + https://docs.python.org/3/library/importlib.html#importlib.abc.Loader.exec_module + """ + spec = module.__spec__ + bytecode = self.get_code(spec.name) # NOTE: get_code verifies that `spec.name` matches `self.name`! + if bytecode is None: + raise RuntimeError(f"Failed to retrieve bytecode for {spec.name!r}!") + + # Set by the import machinery + assert hasattr(module, '__file__') + + # If `submodule_search_locations` is not None, this is a package; set __path__. + if spec.submodule_search_locations is not None: + module.__path__ = spec.submodule_search_locations + + exec(bytecode, module.__dict__) + + # The following method is part of legacy PEP302 loader interface. It has been deprecated since python 3.4, and + # slated for removal in python 3.12, although that has not happened yet. Provide compatibility shim to accommodate + # code that might still be using it. + if True: + + @_check_name + def load_module(self, fullname): + """ + A legacy method for loading a module. If the module cannot be loaded, ImportError is raised, otherwise the + loaded module is returned. + + Deprecated since python 3.4, slated for removal in 3.12 (but still present in python's own FileLoader in + both v3.12.4 and v3.13.0rc1). + """ + # Based on: + # https://github.com/python/cpython/blob/v3.11.9/Lib/importlib/_bootstrap_external.py#L942-L945 + import importlib._bootstrap as _bootstrap + return _bootstrap._load_module_shim(self, fullname) + + #-- PEP302 protocol extensions as defined by importlib.abc.ExecutionLoader + # https://docs.python.org/3/library/importlib.html#importlib.abc.ExecutionLoader + @_check_name + def get_filename(self, fullname): + """ + A method that is to return the value of __file__ for the specified module. If no path is available, ImportError + is raised. + + If source code is available, then the method should return the path to the source file, regardless of whether a + bytecode was used to load the module. + + https://docs.python.org/3/library/importlib.html#importlib.abc.ExecutionLoader.get_filename + """ + return self.path + + #-- PEP302 protocol extensions as defined by importlib.abc.InspectLoader + # https://docs.python.org/3/library/importlib.html#importlib.abc.InspectLoader + @_check_name + def get_code(self, fullname): + """ + Return the code object for a module, or None if the module does not have a code object (as would be the case, + for example, for a built-in module). Raise an ImportError if loader cannot find the requested module. + + https://docs.python.org/3/library/importlib.html#importlib.abc.InspectLoader.get_code + """ + return self._pyz_archive.extract(self._pyz_entry_name) + + @_check_name + def get_source(self, fullname): + """ + A method to return the source of a module. It is returned as a text string using universal newlines, translating + all recognized line separators into '\n' characters. Returns None if no source is available (e.g. a built-in + module). Raises ImportError if the loader cannot find the module specified. + + https://docs.python.org/3/library/importlib.html#importlib.abc.InspectLoader.get_source + """ + # The `path` attribute (which is also returned from `get_filename()`) already points to where the source .py + # file should exist, if it is available. + filename = self.path + + try: + # Read in binary mode, then decode + with open(filename, 'rb') as fp: + source_bytes = fp.read() + return _decode_source(source_bytes) + except FileNotFoundError: + pass + + # Source code is unavailable. + return None + + @_check_name + def is_package(self, fullname): + """ + A method to return a true value if the module is a package, a false value otherwise. ImportError is raised if + the loader cannot find the module. + + https://docs.python.org/3/library/importlib.html#importlib.abc.InspectLoader.is_package + """ + return self._is_package + + #-- PEP302 protocol extensions as dfined by importlib.abc.ResourceLoader + # https://docs.python.org/3/library/importlib.html#importlib.abc.ResourceLoader + def get_data(self, path): + """ + A method to return the bytes for the data located at path. Loaders that have a file-like storage back-end that + allows storing arbitrary data can implement this abstract method to give direct access to the data stored. + OSError is to be raised if the path cannot be found. The path is expected to be constructed using a module’s + __file__ attribute or an item from a package’s __path__. + + https://docs.python.org/3/library/importlib.html#importlib.abc.ResourceLoader.get_data + """ + # Try to fetch the data from the filesystem. Since __file__ attribute works properly, just try to open the file + # and read it. + with open(path, 'rb') as fp: + return fp.read() + + #-- Support for `importlib.resources`. + @_check_name + def get_resource_reader(self, fullname): + """ + Return resource reader compatible with `importlib.resources`. + """ + return PyiFrozenResourceReader(self) + + +class PyiFrozenResourceReader: + """ + Resource reader for importlib.resources / importlib_resources support. + + Supports only on-disk resources, which should cover the typical use cases, i.e., the access to data files; + PyInstaller collects data files onto filesystem, and as of v6.0.0, the embedded PYZ archive is guaranteed + to contain only .pyc modules. + + When listing resources, source .py files will not be listed as they are not collected by default. Similarly, + sub-directories that contained only .py files are not reconstructed on filesystem, so they will not be listed, + either. If access to .py files is required for whatever reason, they need to be explicitly collected as data files + anyway, which will place them on filesystem and make them appear as resources. + + For on-disk resources, we *must* return path compatible with pathlib.Path() in order to avoid copy to a temporary + file, which might break under some circumstances, e.g., metpy with importlib_resources back-port, due to: + https://github.com/Unidata/MetPy/blob/a3424de66a44bf3a92b0dcacf4dff82ad7b86712/src/metpy/plots/wx_symbols.py#L24-L25 + (importlib_resources tries to use 'fonts/wx_symbols.ttf' as a temporary filename suffix, which fails as it contains + a separator). + + Furthermore, some packages expect files() to return either pathlib.Path or zipfile.Path, e.g., + https://github.com/tensorflow/datasets/blob/master/tensorflow_datasets/core/utils/resource_utils.py#L81-L97 + This makes implementation of mixed support for on-disk and embedded resources using importlib.abc.Traversable + protocol rather difficult. + + So in order to maximize compatibility with unfrozen behavior, the below implementation is basically equivalent of + importlib.readers.FileReader from python 3.10: + https://github.com/python/cpython/blob/839d7893943782ee803536a47f1d4de160314f85/Lib/importlib/readers.py#L11 + and its underlying classes, importlib.abc.TraversableResources and importlib.abc.ResourceReader: + https://github.com/python/cpython/blob/839d7893943782ee803536a47f1d4de160314f85/Lib/importlib/abc.py#L422 + https://github.com/python/cpython/blob/839d7893943782ee803536a47f1d4de160314f85/Lib/importlib/abc.py#L312 + """ + def __init__(self, loader): + # Local import to avoid including `pathlib` and its dependencies in `base_library.zip` + import pathlib + # This covers both modules and (regular) packages. Note that PEP-420 namespace packages are not handled by this + # resource reader (since they are not handled by PyiFrozenLoader, which uses this reader). + self.path = pathlib.Path(loader.path).parent + + def open_resource(self, resource): + return self.files().joinpath(resource).open('rb') + + def resource_path(self, resource): + return str(self.path.joinpath(resource)) + + def is_resource(self, path): + return self.files().joinpath(path).is_file() + + def contents(self): + return (item.name for item in self.files().iterdir()) + + def files(self): + return self.path + + +class PyiFrozenEntryPointLoader: + """ + A special loader that enables retrieval of the code-object for the __main__ module. + """ + def __repr__(self): + return self.__class__.__name__ + + def get_code(self, fullname): + if fullname == '__main__': + # Special handling for __main__ module; the bootloader should store code object to _pyi_main_co + # attribute of the module. + return sys.modules['__main__']._pyi_main_co + + raise ImportError(f'{self} cannot handle module {fullname!r}') + + +def install(): + """ + Install PyInstaller's frozen finders/loaders/importers into python's import machinery. + """ + # Setup PYZ archive reader. + # + # The bootloader should store the path to PYZ archive (the path to the PKG archive and the offset within it; for + # executable-embedded archive, this is for example /path/executable_name?117568) into _pyinstaller_pyz + # attribute of the sys module. + global pyz_archive + + if not hasattr(sys, '_pyinstaller_pyz'): + raise RuntimeError("Bootloader did not set sys._pyinstaller_pyz!") + + try: + pyz_archive = pyimod01_archive.ZlibArchiveReader(sys._pyinstaller_pyz, check_pymagic=True) + except Exception as e: + raise RuntimeError("Failed to setup PYZ archive reader!") from e + + delattr(sys, '_pyinstaller_pyz') + + # On Windows, there is finder called `_frozen_importlib.WindowsRegistryFinder`, which looks for Python module + # locations in Windows registry. The frozen application should not look for those, so remove this finder + # from `sys.meta_path`. + for entry in sys.meta_path: + if getattr(entry, '__name__', None) == 'WindowsRegistryFinder': + sys.meta_path.remove(entry) + break + + # Insert our hook for `PyiFrozenFinder` into `sys.path_hooks`. Place it after `zipimporter`, if available. + for idx, entry in enumerate(sys.path_hooks): + if getattr(entry, '__name__', None) == 'zipimporter': + trace(f"PyInstaller: inserting our finder hook at index {idx + 1} in sys.path_hooks.") + sys.path_hooks.insert(idx + 1, PyiFrozenFinder.path_hook) + break + else: + trace("PyInstaller: zipimporter hook not found in sys.path_hooks! Prepending our finder hook to the list.") + sys.path_hooks.insert(0, PyiFrozenFinder.path_hook) + + # Monkey-patch `zipimporter.get_source` to allow loading out-of-zip source .py files for modules that are + # in `base_library.zip`. + _patch_zipimporter_get_source() + + # Python might have already created a `FileFinder` for `sys._MEIPASS`. Remove the entry from path importer cache, + # so that next loading attempt creates `PyiFrozenFinder` instead. This could probably be avoided altogether if + # we refrained from adding `sys._MEIPASS` to `sys.path` until our importer hooks is in place. + sys.path_importer_cache.pop(sys._MEIPASS, None) + + # Set the PyiFrozenEntryPointLoader as loader for __main__, in order for python to treat __main__ as a module + # instead of a built-in, and to allow its code object to be retrieved. + try: + sys.modules['__main__'].__loader__ = PyiFrozenEntryPointLoader() + except Exception: + pass + + # Apply hack for python >= 3.11 and its frozen stdlib modules. + if sys.version_info >= (3, 11): + _fixup_frozen_stdlib() + + +# A hack for python >= 3.11 and its frozen stdlib modules. Unless `sys._stdlib_dir` is set, these modules end up +# missing __file__ attribute, which causes problems with 3rd party code. At the time of writing, python interpreter +# configuration API does not allow us to influence `sys._stdlib_dir` - it always resets it to `None`. Therefore, +# we manually set the path, and fix __file__ attribute on modules. +def _fixup_frozen_stdlib(): + import _imp # built-in + + # If sys._stdlib_dir is None or empty, override it with sys._MEIPASS + if not sys._stdlib_dir: + try: + sys._stdlib_dir = sys._MEIPASS + except AttributeError: + pass + + # The sys._stdlib_dir set above should affect newly-imported python-frozen modules. However, most of them have + # been already imported during python initialization and our bootstrap, so we need to retroactively fix their + # __file__ attribute. + for module_name, module in sys.modules.items(): + if not _imp.is_frozen(module_name): + continue + + is_pkg = _imp.is_frozen_package(module_name) + + # Determine "real" name from __spec__.loader_state. + loader_state = module.__spec__.loader_state + + orig_name = loader_state.origname + if is_pkg: + orig_name += '.__init__' + + # We set suffix to .pyc to be consistent with our PyiFrozenLoader. + filename = os.path.join(sys._MEIPASS, *orig_name.split('.')) + '.pyc' + + # Fixup the __file__ attribute + if not hasattr(module, '__file__'): + try: + module.__file__ = filename + except AttributeError: + pass + + # Fixup the loader_state.filename + # Except for _frozen_importlib (importlib._bootstrap), whose loader_state.filename appears to be left at + # None in python. + if loader_state.filename is None and orig_name != 'importlib._bootstrap': + loader_state.filename = filename + + +# Monkey-patch the `get_source` implementation of python's `zipimport.zipimporter` with our custom implementation that +# looks up for source files in top-level application directory instead of within the zip file. This allows us to collect +# source .py files for modules that are collected in the `base_library.zip` in the same way as for modules in the PYZ +# archive. +def _patch_zipimporter_get_source(): + import zipimport + + _orig_get_source = zipimport.zipimporter.get_source + + def _get_source(self, fullname): + # Call original implementation first, in case we are dealing with a zip file other than `base_library.zip` (or + # if the source .py file is actually in there, for whatever reason). This also implicitly validates the module + # name, as it raises exception if module does not exist and returns None if module exists but the source code + # is not present in the archive. + source = _orig_get_source(self, fullname) + if source is not None: + return source + + # Our override should apply only to `base_library.zip`. + if os.path.basename(self.archive) != 'base_library.zip': + return None + + # Translate module/package name into .py filename in the top-level application directory. + if self.is_package(fullname): + filename = os.path.join(*fullname.split('.'), '__init__.py') + else: + filename = os.path.join(*fullname.split('.')) + '.py' + filename = os.path.join(_RESOLVED_TOP_LEVEL_DIRECTORY, filename) + + try: + # Read in binary mode, then decode + with open(filename, 'rb') as fp: + source_bytes = fp.read() + return _decode_source(source_bytes) + except FileNotFoundError: + pass + + # Source code is unavailable. + return None + + zipimport.zipimporter.get_source = _get_source diff --git a/.venv/Lib/site-packages/PyInstaller/loader/pyimod03_ctypes.py b/.venv/Lib/site-packages/PyInstaller/loader/pyimod03_ctypes.py new file mode 100644 index 0000000..ccb9c8d --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/loader/pyimod03_ctypes.py @@ -0,0 +1,131 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License with exception +# for distributing bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +#----------------------------------------------------------------------------- +""" +Hooks to make ctypes.CDLL, .PyDLL, etc. look in sys._MEIPASS first. +""" + +import sys + + +def install(): + """ + Install the hooks. + + This must be done from a function as opposed to at module-level, because when the module is imported/executed, + the import machinery is not completely set up yet. + """ + + import os + + try: + import ctypes + except ImportError: + # ctypes is not included in the frozen application + return + + def _frozen_name(name): + # If the given (file)name does not exist, fall back to searching for its basename in sys._MEIPASS, where + # PyInstaller usually collects shared libraries. + if name and not os.path.isfile(name): + frozen_name = os.path.join(sys._MEIPASS, os.path.basename(name)) + if os.path.isfile(frozen_name): + name = frozen_name + return name + + class PyInstallerImportError(OSError): + def __init__(self, name): + self.msg = ( + "Failed to load dynlib/dll %r. Most likely this dynlib/dll was not found when the application " + "was frozen." % name + ) + self.args = (self.msg,) + + class PyInstallerCDLL(ctypes.CDLL): + def __init__(self, name, *args, **kwargs): + name = _frozen_name(name) + try: + super().__init__(name, *args, **kwargs) + except Exception as base_error: + raise PyInstallerImportError(name) from base_error + + ctypes.CDLL = PyInstallerCDLL + ctypes.cdll = ctypes.LibraryLoader(PyInstallerCDLL) + + class PyInstallerPyDLL(ctypes.PyDLL): + def __init__(self, name, *args, **kwargs): + name = _frozen_name(name) + try: + super().__init__(name, *args, **kwargs) + except Exception as base_error: + raise PyInstallerImportError(name) from base_error + + ctypes.PyDLL = PyInstallerPyDLL + ctypes.pydll = ctypes.LibraryLoader(PyInstallerPyDLL) + + if sys.platform.startswith('win'): + + class PyInstallerWinDLL(ctypes.WinDLL): + def __init__(self, name, *args, **kwargs): + name = _frozen_name(name) + try: + super().__init__(name, *args, **kwargs) + except Exception as base_error: + raise PyInstallerImportError(name) from base_error + + ctypes.WinDLL = PyInstallerWinDLL + ctypes.windll = ctypes.LibraryLoader(PyInstallerWinDLL) + + class PyInstallerOleDLL(ctypes.OleDLL): + def __init__(self, name, *args, **kwargs): + name = _frozen_name(name) + try: + super().__init__(name, *args, **kwargs) + except Exception as base_error: + raise PyInstallerImportError(name) from base_error + + ctypes.OleDLL = PyInstallerOleDLL + ctypes.oledll = ctypes.LibraryLoader(PyInstallerOleDLL) + + try: + import ctypes.util + except ImportError: + # ctypes.util is not included in the frozen application + return + + # Same implementation as ctypes.util.find_library, except it prepends sys._MEIPASS to the search directories. + def pyinstaller_find_library(name): + if name in ('c', 'm'): + return ctypes.util.find_msvcrt() + # See MSDN for the REAL search order. + search_dirs = [sys._MEIPASS] + os.environ['PATH'].split(os.pathsep) + for directory in search_dirs: + fname = os.path.join(directory, name) + if os.path.isfile(fname): + return fname + if fname.lower().endswith(".dll"): + continue + fname = fname + ".dll" + if os.path.isfile(fname): + return fname + return None + + ctypes.util.find_library = pyinstaller_find_library + + +# On macOS insert sys._MEIPASS in the first position of the list of paths that ctypes uses to search for libraries. +# +# Note: 'ctypes' module will NOT be bundled with every app because code in this module is not scanned for module +# dependencies. It is safe to wrap 'ctypes' module into 'try/except ImportError' block. +if sys.platform.startswith('darwin'): + try: + from ctypes.macholib import dyld + dyld.DEFAULT_LIBRARY_FALLBACK.insert(0, sys._MEIPASS) + except ImportError: + # Do nothing when module 'ctypes' is not available. + pass diff --git a/.venv/Lib/site-packages/PyInstaller/loader/pyimod04_pywin32.py b/.venv/Lib/site-packages/PyInstaller/loader/pyimod04_pywin32.py new file mode 100644 index 0000000..b635d75 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/loader/pyimod04_pywin32.py @@ -0,0 +1,56 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License with exception +# for distributing bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +#----------------------------------------------------------------------------- +""" +Set search path for pywin32 DLLs. Due to the large number of pywin32 modules, we use a single loader-level script +instead of per-module runtime hook scripts. +""" + +import os +import sys + + +def install(): + # Sub-directories containing extensions. In original python environment, these are added to `sys.path` by the + # `pywin32.pth` so the extensions end up treated as top-level modules. We attempt to preserve the directory + # layout, so we need to add these directories to `sys.path` ourselves. + pywin32_ext_paths = ('win32', 'pythonwin') + pywin32_ext_paths = [os.path.join(sys._MEIPASS, pywin32_ext_path) for pywin32_ext_path in pywin32_ext_paths] + pywin32_ext_paths = [path for path in pywin32_ext_paths if os.path.isdir(path)] + sys.path.extend(pywin32_ext_paths) + + # Additional handling of `pywin32_system32` DLL directory + pywin32_system32_path = os.path.join(sys._MEIPASS, 'pywin32_system32') + + if not os.path.isdir(pywin32_system32_path): + # Either pywin32 is not collected, or we are dealing with version that does not use the pywin32_system32 + # sub-directory. In the latter case, the pywin32 DLLs should be in `sys._MEIPASS`, and nothing + # else needs to be done here. + return + + # Add the DLL directory to `sys.path`. + # This is necessary because `__import_pywin32_system_module__` from `pywintypes` module assumes that in a frozen + # application, the pywin32 DLLs (`pythoncom3X.dll` and `pywintypes3X.dll`) that are normally found in + # `pywin32_system32` sub-directory in `sys.path` (site-packages, really) are located directly in `sys.path`. + # This obviously runs afoul of our attempts at preserving the directory layout and placing them in the + # `pywin32_system32` sub-directory instead of the top-level application directory. + sys.path.append(pywin32_system32_path) + + # Add the DLL directory to DLL search path using os.add_dll_directory(). + # This allows extensions from win32 directory (e.g., win32api, win32crypt) to be loaded on their own without + # importing pywintypes first. The extensions are linked against pywintypes3X.dll. + os.add_dll_directory(pywin32_system32_path) + + # Add the DLL directory to PATH. This is necessary under certain versions of + # Anaconda python, where `os.add_dll_directory` does not work. + path = os.environ.get('PATH', None) + if not path: + path = pywin32_system32_path + else: + path = pywin32_system32_path + os.pathsep + path + os.environ['PATH'] = path diff --git a/.venv/Lib/site-packages/PyInstaller/log.py b/.venv/Lib/site-packages/PyInstaller/log.py new file mode 100644 index 0000000..7c5b5ce --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/log.py @@ -0,0 +1,64 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Logging module for PyInstaller. +""" + +__all__ = ['getLogger', 'INFO', 'WARN', 'DEBUG', 'TRACE', 'ERROR', 'FATAL', 'DEPRECATION'] + +import os +import logging +from logging import DEBUG, ERROR, FATAL, INFO, WARN, getLogger + +TRACE = DEBUG - 5 +logging.addLevelName(TRACE, 'TRACE') +DEPRECATION = WARN + 5 +logging.addLevelName(DEPRECATION, 'DEPRECATION') +LEVELS = { + 'TRACE': TRACE, + 'DEBUG': DEBUG, + 'INFO': INFO, + 'WARN': WARN, + 'DEPRECATION': DEPRECATION, + 'ERROR': ERROR, + 'FATAL': FATAL, +} + +FORMAT = '%(relativeCreated)d %(levelname)s: %(message)s' +_env_level = os.environ.get("PYI_LOG_LEVEL", "INFO") +try: + level = LEVELS[_env_level.upper()] +except KeyError: + raise SystemExit(f"ERROR: Invalid PYI_LOG_LEVEL value '{_env_level}'. Should be one of {list(LEVELS)}.") +logging.basicConfig(format=FORMAT, level=level) +logger = getLogger('PyInstaller') + + +def __add_options(parser): + parser.add_argument( + '--log-level', + choices=LEVELS, + metavar="LEVEL", + dest='loglevel', + help='Amount of detail in build-time console messages. LEVEL may be one of %s (default: INFO). ' + 'Also settable via and overrides the PYI_LOG_LEVEL environment variable.' % ', '.join(LEVELS), + ) + + +def __process_options(parser, opts): + if opts.loglevel: + try: + level = opts.loglevel.upper() + _level = LEVELS[level] + except KeyError: + parser.error('Unknown log level `%s`' % opts.loglevel) + logger.setLevel(_level) + os.environ["PYI_LOG_LEVEL"] = level diff --git a/.venv/Lib/site-packages/PyInstaller/utils/__init__.py b/.venv/Lib/site-packages/PyInstaller/utils/__init__.py new file mode 100644 index 0000000..792d600 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/__init__.py @@ -0,0 +1 @@ +# diff --git a/.venv/Lib/site-packages/PyInstaller/utils/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..70674b1 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/__pycache__/conftest.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/__pycache__/conftest.cpython-311.pyc new file mode 100644 index 0000000..c1398ed Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/__pycache__/conftest.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/__pycache__/misc.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/__pycache__/misc.cpython-311.pyc new file mode 100644 index 0000000..4aa7d54 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/__pycache__/misc.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/__pycache__/osx.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/__pycache__/osx.cpython-311.pyc new file mode 100644 index 0000000..00b6b6c Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/__pycache__/osx.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/__pycache__/run_tests.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/__pycache__/run_tests.cpython-311.pyc new file mode 100644 index 0000000..9d0d6ee Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/__pycache__/run_tests.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/__pycache__/tests.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/__pycache__/tests.cpython-311.pyc new file mode 100644 index 0000000..f3cc90a Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/__pycache__/tests.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/cliutils/__init__.py b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/__init__.py new file mode 100644 index 0000000..792d600 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/__init__.py @@ -0,0 +1 @@ +# diff --git a/.venv/Lib/site-packages/PyInstaller/utils/cliutils/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..a080875 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/cliutils/__pycache__/archive_viewer.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/__pycache__/archive_viewer.cpython-311.pyc new file mode 100644 index 0000000..657c1d8 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/__pycache__/archive_viewer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/cliutils/__pycache__/bindepend.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/__pycache__/bindepend.cpython-311.pyc new file mode 100644 index 0000000..eb89bca Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/__pycache__/bindepend.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/cliutils/__pycache__/grab_version.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/__pycache__/grab_version.cpython-311.pyc new file mode 100644 index 0000000..97c6020 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/__pycache__/grab_version.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/cliutils/__pycache__/makespec.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/__pycache__/makespec.cpython-311.pyc new file mode 100644 index 0000000..8cd44c8 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/__pycache__/makespec.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/cliutils/__pycache__/set_version.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/__pycache__/set_version.cpython-311.pyc new file mode 100644 index 0000000..ea76b36 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/__pycache__/set_version.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/cliutils/archive_viewer.py b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/archive_viewer.py new file mode 100644 index 0000000..912c901 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/archive_viewer.py @@ -0,0 +1,268 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Viewer for PyInstaller-generated archives. +""" + +import argparse +import os +import sys + +import PyInstaller.log +from PyInstaller.archive.readers import CArchiveReader, ZlibArchiveReader + +try: + from argcomplete import autocomplete +except ImportError: + + def autocomplete(parser): + return None + + +class ArchiveViewer: + def __init__(self, filename, interactive_mode, recursive_mode, brief_mode): + self.filename = filename + self.interactive_mode = interactive_mode + self.recursive_mode = recursive_mode + self.brief_mode = brief_mode + + self.stack = [] + + # Recursive mode implies non-interactive mode + if self.recursive_mode: + self.interactive_mode = False + + def main(self): + # Open top-level (initial) archive + archive = self._open_toplevel_archive(self.filename) + archive_name = os.path.basename(self.filename) + self.stack.append((archive_name, archive)) + + # Not-interactive mode + if not self.interactive_mode: + return self._non_interactive_processing() + + # Interactive mode; show top-level archive + self._show_archive_contents(archive_name, archive) + + # Interactive command processing + while True: + # Read command + try: + tokens = input('? ').split(None, 1) + except EOFError: + # Ctrl-D + print(file=sys.stderr) # Clear line. + break + + # Print usage? + if not tokens: + self._print_usage() + continue + + # Process + command = tokens[0].upper() + if command == 'Q': + break + elif command == 'U': + self._move_up_the_stack() + elif command == 'O': + self._open_embedded_archive(*tokens[1:]) + elif command == 'X': + self._extract_file(*tokens[1:]) + elif command == 'S': + archive_name, archive = self.stack[-1] + self._show_archive_contents(archive_name, archive) + else: + self._print_usage() + + def _non_interactive_processing(self): + archive_count = 0 + + while self.stack: + archive_name, archive = self.stack.pop() + archive_count += 1 + + if archive_count > 1: + print("") + self._show_archive_contents(archive_name, archive) + + if not self.recursive_mode: + continue + + # Scan for embedded archives + if isinstance(archive, CArchiveReader): + for name, (*_, typecode) in archive.toc.items(): + if typecode == 'z': + try: + embedded_archive = archive.open_embedded_archive(name) + except Exception as e: + print(f"Could not open embedded archive {name!r}: {e}", file=sys.stderr) + self.stack.append((name, embedded_archive)) + + def _print_usage(self): + print("U: go up one level", file=sys.stderr) + print("O : open embedded archive with given name", file=sys.stderr) + print("X : extract file with given name", file=sys.stderr) + print("S: list the contents of current archive again", file=sys.stderr) + print("Q: quit", file=sys.stderr) + + def _move_up_the_stack(self): + if len(self.stack) > 1: + self.stack.pop() + archive_name, archive = self.stack[-1] + self._show_archive_contents(archive_name, archive) + else: + print("Already in the top archive!", file=sys.stderr) + + def _open_toplevel_archive(self, filename): + if not os.path.isfile(filename): + print(f"Archive {filename} does not exist!", file=sys.stderr) + sys.exit(1) + + if filename[-4:].lower() == '.pyz': + return ZlibArchiveReader(filename) + return CArchiveReader(filename) + + def _open_embedded_archive(self, archive_name=None): + # Ask for name if not provided + if not archive_name: + archive_name = input('Open name? ') + archive_name = archive_name.strip() + + # No name given; abort + if not archive_name: + return + + # Open the embedded archive + _, parent_archive = self.stack[-1] + + if not hasattr(parent_archive, 'open_embedded_archive'): + print("Archive does not support embedded archives!", file=sys.stderr) + return + + try: + archive = parent_archive.open_embedded_archive(archive_name) + except Exception as e: + print(f"Could not open embedded archive {archive_name!r}: {e}", file=sys.stderr) + return + + # Add to stack and display contents + self.stack.append((archive_name, archive)) + self._show_archive_contents(archive_name, archive) + + def _extract_file(self, name=None): + # Ask for name if not provided + if not name: + name = input('Extract name? ') + name = name.strip() + + # Archive + archive_name, archive = self.stack[-1] + + # Retrieve data + try: + if isinstance(archive, CArchiveReader): + data = archive.extract(name) + elif isinstance(archive, ZlibArchiveReader): + data = archive.extract(name, raw=True) + else: + raise NotImplementedError(f"Extraction from archive type {type(archive)} not implemented!") + except Exception as e: + print(f"Failed to extract data for entry {name!r} from {archive_name!r}: {e}", file=sys.stderr) + + # Write to file + filename = input('Output filename? ') + if not filename: + print(repr(data)) + else: + with open(filename, 'wb') as fp: + fp.write(data) + + def _show_archive_contents(self, archive_name, archive): + if isinstance(archive, CArchiveReader): + if archive.options: + print(f"Options in {archive_name!r} (PKG/CArchive):") + for option in archive.options: + print(f" {option}") + print(f"Contents of {archive_name!r} (PKG/CArchive):") + if self.brief_mode: + for name in archive.toc.keys(): + print(f" {name}") + else: + print(" position, length, uncompressed_length, is_compressed, typecode, name") + for name, (position, length, uncompressed_length, is_compressed, typecode) in archive.toc.items(): + print(f" {position}, {length}, {uncompressed_length}, {is_compressed}, {typecode!r}, {name!r}") + elif isinstance(archive, ZlibArchiveReader): + print(f"Contents of {archive_name!r} (PYZ):") + if self.brief_mode: + for name in archive.toc.keys(): + print(f" {name}") + else: + print(" typecode, position, length, name") + for name, (typecode, position, length) in archive.toc.items(): + print(f" {typecode}, {position}, {length}, {name!r}") + else: + print(f"Contents of {name} (unknown)") + print(f"FIXME: implement content listing for archive type {type(archive)}!") + + +def run(): + parser = argparse.ArgumentParser() + parser.add_argument( + '-l', + '--list', + default=False, + action='store_true', + dest='listing_mode', + help='List the archive contents and exit (default: %(default)s).', + ) + parser.add_argument( + '-r', + '--recursive', + default=False, + action='store_true', + dest='recursive', + help='Recursively print an archive log (default: %(default)s). Implies --list.', + ) + parser.add_argument( + '-b', + '--brief', + default=False, + action='store_true', + dest='brief', + help='When displaying archive contents, show only file names. (default: %(default)s).', + ) + PyInstaller.log.__add_options(parser) + parser.add_argument( + 'filename', + metavar='pyi_archive', + help="PyInstaller archive to process.", + ) + + autocomplete(parser) + args = parser.parse_args() + PyInstaller.log.__process_options(parser, args) + + try: + viewer = ArchiveViewer( + filename=args.filename, + interactive_mode=not args.listing_mode, + recursive_mode=args.recursive, + brief_mode=args.brief, + ) + viewer.main() + except KeyboardInterrupt: + raise SystemExit("Aborted by user.") + + +if __name__ == '__main__': + run() diff --git a/.venv/Lib/site-packages/PyInstaller/utils/cliutils/bindepend.py b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/bindepend.py new file mode 100644 index 0000000..ebd5fdf --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/bindepend.py @@ -0,0 +1,58 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Show dll dependencies of executable files or other dynamic libraries. +""" + +import argparse +import glob + +import PyInstaller.depend.bindepend +import PyInstaller.log + +try: + from argcomplete import autocomplete +except ImportError: + + def autocomplete(parser): + return None + + +def run(): + parser = argparse.ArgumentParser() + PyInstaller.log.__add_options(parser) + parser.add_argument( + 'filenames', + nargs='+', + metavar='executable-or-dynamic-library', + help="executables or dynamic libraries for which the dependencies should be shown", + ) + + autocomplete(parser) + args = parser.parse_args() + PyInstaller.log.__process_options(parser, args) + + # Suppress all informative messages from the dependency code. + PyInstaller.log.getLogger('PyInstaller.build.bindepend').setLevel(PyInstaller.log.WARN) + + try: + for input_filename_or_pattern in args.filenames: + for filename in glob.glob(input_filename_or_pattern): + print(f"{filename}:") + for lib_name, lib_path in sorted(PyInstaller.depend.bindepend.get_imports(filename)): + print(f" {lib_name} => {lib_path}") + print("") + except KeyboardInterrupt: + raise SystemExit("Aborted by user request.") + + +if __name__ == '__main__': + run() diff --git a/.venv/Lib/site-packages/PyInstaller/utils/cliutils/grab_version.py b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/grab_version.py new file mode 100644 index 0000000..f8e1193 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/grab_version.py @@ -0,0 +1,59 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +import argparse +import codecs + +try: + from argcomplete import autocomplete +except ImportError: + + def autocomplete(parser): + return None + + +def run(): + parser = argparse.ArgumentParser( + epilog=( + 'The printed output may be saved to a file, edited and used as the input for a version resource on any of ' + 'the executable targets in a PyInstaller .spec file.' + ) + ) + parser.add_argument( + 'exe_file', + metavar='exe-file', + help="full pathname of a Windows executable", + ) + parser.add_argument( + 'out_filename', + metavar='out-filename', + nargs='?', + default='file_version_info.txt', + help="filename where the grabbed version info will be saved", + ) + + autocomplete(parser) + args = parser.parse_args() + + try: + from PyInstaller.utils.win32 import versioninfo + info = versioninfo.read_version_info_from_executable(args.exe_file) + if not info: + raise SystemExit("ERROR: VersionInfo resource not found in exe") + with codecs.open(args.out_filename, 'w', 'utf-8') as fp: + fp.write(str(info)) + print(f"Version info written to: {args.out_filename!r}") + except KeyboardInterrupt: + raise SystemExit("Aborted by user request.") + + +if __name__ == '__main__': + run() diff --git a/.venv/Lib/site-packages/PyInstaller/utils/cliutils/makespec.py b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/makespec.py new file mode 100644 index 0000000..6225759 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/makespec.py @@ -0,0 +1,61 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Automatically build a spec file containing the description of the project. +""" + +import argparse +import os + +import PyInstaller.building.makespec +import PyInstaller.log + +try: + from argcomplete import autocomplete +except ImportError: + + def autocomplete(parser): + return None + + +def generate_parser(): + p = argparse.ArgumentParser() + PyInstaller.building.makespec.__add_options(p) + PyInstaller.log.__add_options(p) + p.add_argument( + 'scriptname', + nargs='+', + ) + return p + + +def run(): + p = generate_parser() + autocomplete(p) + args = p.parse_args() + PyInstaller.log.__process_options(p, args) + + # Split pathex by using the path separator. + temppaths = args.pathex[:] + args.pathex = [] + for p in temppaths: + args.pathex.extend(p.split(os.pathsep)) + + try: + name = PyInstaller.building.makespec.main(args.scriptname, **vars(args)) + print('Wrote %s.' % name) + print('Now run pyinstaller.py to build the executable.') + except KeyboardInterrupt: + raise SystemExit("Aborted by user request.") + + +if __name__ == '__main__': + run() diff --git a/.venv/Lib/site-packages/PyInstaller/utils/cliutils/set_version.py b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/set_version.py new file mode 100644 index 0000000..b936692 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/cliutils/set_version.py @@ -0,0 +1,51 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +import argparse +import os + +try: + from argcomplete import autocomplete +except ImportError: + + def autocomplete(parser): + return None + + +def run(): + parser = argparse.ArgumentParser() + parser.add_argument( + 'info_file', + metavar='info-file', + help="text file containing version info", + ) + parser.add_argument( + 'exe_file', + metavar='exe-file', + help="full pathname of a Windows executable", + ) + autocomplete(parser) + args = parser.parse_args() + + info_file = os.path.abspath(args.info_file) + exe_file = os.path.abspath(args.exe_file) + + try: + from PyInstaller.utils.win32 import versioninfo + info = versioninfo.load_version_info_from_text_file(info_file) + versioninfo.write_version_info_to_executable(exe_file, info) + print(f"Version info written to: {exe_file!r}") + except KeyboardInterrupt: + raise SystemExit("Aborted by user request.") + + +if __name__ == '__main__': + run() diff --git a/.venv/Lib/site-packages/PyInstaller/utils/conftest.py b/.venv/Lib/site-packages/PyInstaller/utils/conftest.py new file mode 100644 index 0000000..3dc1075 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/conftest.py @@ -0,0 +1,573 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +import contextlib +import copy +import glob +import logging +import os +import re +import shutil +import subprocess +import sys + +# Set a handler for the root-logger to inhibit 'basicConfig()' (called in PyInstaller.log) is setting up a stream +# handler writing to stderr. This avoids log messages to be written (and captured) twice: once on stderr and +# once by pytests's caplog. +logging.getLogger().addHandler(logging.NullHandler()) + +# psutil is used for process tree clean-up on time-out when running the test frozen application. If unavailable +# (for example, on cygwin), we fall back to trying to terminate only the main application process. +try: + import psutil # noqa: E402 +except ModuleNotFoundError: + psutil = None + +import pytest # noqa: E402 + +from PyInstaller import __main__ as pyi_main # noqa: E402 +from PyInstaller import configure # noqa: E402 +from PyInstaller.compat import is_cygwin, is_darwin, is_win # noqa: E402 +from PyInstaller.depend.analysis import initialize_modgraph # noqa: E402 +from PyInstaller.archive.readers import pkg_archive_contents # noqa: E402 +from PyInstaller.utils.tests import gen_sourcefile # noqa: E402 +from PyInstaller.utils.win32 import winutils # noqa: E402 + +# Timeout for running the executable. If executable does not exit in this time, it is interpreted as a test failure. +_EXE_TIMEOUT = 3 * 60 # In sec. +# All currently supported platforms +SUPPORTED_OSES = {"darwin", "linux", "win32"} +# Have pyi_builder fixure clean-up the temporary directories of successful tests. Controlled by environment variable. +_PYI_BUILDER_CLEANUP = os.environ.get("PYI_BUILDER_CLEANUP", "1") == "1" + +# Fixtures +# -------- + + +def pytest_runtest_setup(item): + """ + Markers to skip tests based on the current platform. + https://pytest.org/en/stable/example/markers.html#marking-platform-specific-tests-with-pytest + + Available markers: see setup.cfg [tool:pytest] markers + - @pytest.mark.darwin (macOS) + - @pytest.mark.linux (GNU/Linux) + - @pytest.mark.win32 (Windows) + """ + supported_platforms = SUPPORTED_OSES.intersection(mark.name for mark in item.iter_markers()) + plat = sys.platform + if supported_platforms and plat not in supported_platforms: + pytest.skip(f"does not run on {plat}") + + +@pytest.hookimpl(tryfirst=True, hookwrapper=True) +def pytest_runtest_makereport(item, call): + # Execute all other hooks to obtain the report object. + outcome = yield + rep = outcome.get_result() + + # Set a report attribute for each phase of a call, which can be "setup", "call", "teardown". + setattr(item, f"rep_{rep.when}", rep) + + +# Return the base directory which contains the current test module. +def _get_base_dir(request): + return request.path.resolve().parent # pathlib.Path instance + + +# Directory with Python scripts for functional tests. +def _get_script_dir(request): + return _get_base_dir(request) / 'scripts' + + +# Directory with testing modules used in some tests. +def _get_modules_dir(request): + return _get_base_dir(request) / 'modules' + + +# Directory with .toc log files. +def _get_logs_dir(request): + return _get_base_dir(request) / 'logs' + + +# Return the directory where data for tests is located. +def _get_data_dir(request): + return _get_base_dir(request) / 'data' + + +# Directory with .spec files used in some tests. +def _get_spec_dir(request): + return _get_base_dir(request) / 'specs' + + +@pytest.fixture +def spec_dir(request): + """ + Return the directory where the test spec-files reside. + """ + return _get_spec_dir(request) + + +@pytest.fixture +def script_dir(request): + """ + Return the directory where the test scripts reside. + """ + return _get_script_dir(request) + + +# A fixture that copies test's data directory into test's temporary directory. The data directory is assumed to be +# `data/{test-name}` found next to the .py file that contains test. +@pytest.fixture +def data_dir( + # The request object for this test. Used to infer name of the test and location of the source .py file. + # See + # https://pytest.org/latest/builtin.html#_pytest.python.FixtureRequest + # and + # https://pytest.org/latest/fixture.html#fixtures-can-introspect-the-requesting-test-context. + request, + # The tmp_path object for this test. See: https://pytest.org/latest/tmp_path.html. + tmp_path +): + # Strip the leading 'test_' from the test's name. + test_name = request.function.__name__[5:] + + # Copy to data dir and return the path. + source_data_dir = _get_data_dir(request) / test_name + tmp_data_dir = tmp_path / 'data' + # Copy the data. + shutil.copytree(source_data_dir, tmp_data_dir) + # Return the temporary data directory, so that the copied data can now be used. + return tmp_data_dir + + +class AppBuilder: + def __init__(self, tmp_path, request, bundle_mode): + self._tmp_path = tmp_path + self._request = request + self._mode = bundle_mode + self._spec_dir = tmp_path + self._dist_dir = tmp_path / 'dist' + self._build_dir = tmp_path / 'build' + self._is_spec = False + + def test_spec(self, specfile, *args, **kwargs): + """ + Test a Python script that is referenced in the supplied .spec file. + """ + __tracebackhide__ = True + specfile = _get_spec_dir(self._request) / specfile + # 'test_script' should handle .spec properly as script. + self._is_spec = True + return self.test_script(specfile, *args, **kwargs) + + def test_source(self, source, *args, **kwargs): + """ + Test a Python script given as source code. + + The source will be written into a file named like the test-function. This file will then be passed to + `test_script`. If you need other related file, e.g., as `.toc`-file for testing the content, put it at at the + normal place. Just mind to take the basnename from the test-function's name. + + :param script: Source code to create executable from. This will be saved into a temporary file which is then + passed on to `test_script`. + + :param test_id: Test-id for parametrized tests. If given, it will be appended to the script filename, separated + by two underscores. + + All other arguments are passed straight on to `test_script`. + """ + __tracebackhide__ = True + # For parametrized test append the test-id. + scriptfile = gen_sourcefile(self._tmp_path, source, kwargs.setdefault('test_id')) + del kwargs['test_id'] + return self.test_script(scriptfile, *args, **kwargs) + + def _display_message(self, step_name, message): + # Print the given message to both stderr and stdout, and it with APP-BUILDER to make it clear where it + # originates from. + print(f'[APP-BUILDER:{step_name}] {message}', file=sys.stdout) + print(f'[APP-BUILDER:{step_name}] {message}', file=sys.stderr) + + def test_script( + self, script, pyi_args=None, app_name=None, app_args=None, runtime=None, run_from_path=False, **kwargs + ): + """ + Main method to wrap all phases of testing a Python script. + + :param script: Name of script to create executable from. + :param pyi_args: Additional arguments to pass to PyInstaller when creating executable. + :param app_name: Name of the executable. This is equivalent to argument --name=APPNAME. + :param app_args: Additional arguments to pass to + :param runtime: Time in seconds how long to keep executable running. + :param toc_log: List of modules that are expected to be bundled with the executable. + """ + __tracebackhide__ = True + + # Skip interactive tests (the ones with `runtime` set) if `psutil` is unavailable, as we need it to properly + # clean up the process tree. + if runtime and psutil is None: + pytest.skip('Interactive tests require psutil for proper cleanup.') + + if pyi_args is None: + pyi_args = [] + if app_args is None: + app_args = [] + + if app_name: + if not self._is_spec: + pyi_args.extend(['--name', app_name]) + else: + # Derive name from script name. + app_name = os.path.splitext(os.path.basename(script))[0] + + # Relative path means that a script from _script_dir is referenced. + if not os.path.isabs(script): + script = _get_script_dir(self._request) / script + self.script = str(script) # might be a pathlib.Path at this point! + assert os.path.exists(self.script), f'Script {self.script!r} not found.' + + self._display_message('TEST-SCRIPT', 'Starting build...') + if not self._test_building(args=pyi_args): + pytest.fail(f'Building of {script} failed.') + + self._display_message('TEST-SCRIPT', 'Build finished, now running executable...') + self._test_executables(app_name, args=app_args, runtime=runtime, run_from_path=run_from_path, **kwargs) + self._display_message('TEST-SCRIPT', 'Running executable finished.') + + def _test_executables(self, name, args, runtime, run_from_path, **kwargs): + """ + Run created executable to make sure it works. + + Multipackage-tests generate more than one exe-file and all of them have to be run. + + :param args: CLI options to pass to the created executable. + :param runtime: Time in seconds how long to keep the executable running. + + :return: Exit code of the executable. + """ + __tracebackhide__ = True + exes = self._find_executables(name) + # Empty list means that PyInstaller probably failed to create any executable. + assert exes != [], 'No executable file was found.' + for exe in exes: + # Try to find .toc log file. .toc log file has the same basename as exe file. + toc_log = os.path.splitext(os.path.basename(exe))[0] + '.toc' + toc_log = _get_logs_dir(self._request) / toc_log + if toc_log.exists(): + if not self._examine_executable(exe, toc_log): + pytest.fail(f'Matching .toc of {exe} failed.') + retcode = self._run_executable(exe, args, run_from_path, runtime) + if retcode != kwargs.get('retcode', 0): + pytest.fail(f'Running exe {exe} failed with return-code {retcode}.') + + def _find_executables(self, name): + """ + Search for all executables generated by the testcase. + + If the test-case is called e.g. 'test_multipackage1', this is searching for each of 'test_multipackage1.exe' + and 'multipackage1_?.exe' in both one-file- and one-dir-mode. + + :param name: Name of the executable to look for. + + :return: List of executables + """ + exes = [] + onedir_pt = str(self._dist_dir / name / name) + onefile_pt = str(self._dist_dir / name) + patterns = [ + onedir_pt, + onefile_pt, + # Multipackage one-dir + onedir_pt + '_?', + # Multipackage one-file + onefile_pt + '_?' + ] + # For Windows append .exe extension to patterns. + if is_win: + patterns = [pt + '.exe' for pt in patterns] + # For macOS append pattern for .app bundles. + if is_darwin: + # e.g: ./dist/name.app/Contents/MacOS/name + app_bundle_pt = str(self._dist_dir / f'{name}.app' / 'Contents' / 'MacOS' / name) + patterns.append(app_bundle_pt) + # Apply file patterns. + for pattern in patterns: + for prog in glob.glob(pattern): + if os.path.isfile(prog): + exes.append(prog) + return exes + + def _run_executable(self, prog, args, run_from_path, runtime): + """ + Run executable created by PyInstaller. + + :param args: CLI options to pass to the created executable. + """ + # Run the test in a clean environment to make sure they're really self-contained. + prog_env = copy.deepcopy(os.environ) + prog_env['PATH'] = '' + del prog_env['PATH'] + # For Windows we need to keep minimal PATH for successful running of some tests. + if is_win: + # Minimum Windows PATH is in most cases: C:\Windows\system32;C:\Windows + prog_env['PATH'] = os.pathsep.join(winutils.get_system_path()) + # Same for Cygwin - if /usr/bin is not in PATH, cygwin1.dll cannot be discovered. + if is_cygwin: + prog_env['PATH'] = os.pathsep.join(['/usr/local/bin', '/usr/bin']) + # On macOS, we similarly set up minimal PATH with system directories, in case utilities from there are used by + # tested python code (for example, matplotlib >= 3.9.0 uses `system_profiler` that is found in /usr/sbin). + if is_darwin: + # The following paths are registered when application is launched via Finder, and are a subset of what is + # typically available in the shell. + prog_env['PATH'] = os.pathsep.join(['/usr/bin', '/bin', '/usr/sbin', '/sbin']) + + exe_path = prog + if run_from_path: + # Run executable in the temp directory. Add the directory containing the executable to $PATH. Basically, + # pretend we are a shell executing the program from $PATH. + prog_cwd = str(self._tmp_path) + prog_name = os.path.basename(prog) + prog_env['PATH'] = os.pathsep.join([prog_env.get('PATH', ''), os.path.dirname(prog)]) + + else: + # Run executable in the directory where it is. + prog_cwd = os.path.dirname(prog) + # The executable will be called with argv[0] as relative not absolute path. + prog_name = os.path.join(os.curdir, os.path.basename(prog)) + + args = [prog_name] + args + # Using sys.stdout/sys.stderr for subprocess fixes printing messages in Windows command prompt. Py.test is then + # able to collect stdout/sterr messages and display them if a test fails. + return self._run_executable_(args, exe_path, prog_env, prog_cwd, runtime) + + def _run_executable_(self, args, exe_path, prog_env, prog_cwd, runtime): + # Use psutil.Popen, if available; otherwise, fall back to subprocess.Popen + popen_implementation = subprocess.Popen if psutil is None else psutil.Popen + + # Run the executable + self._display_message('RUN-EXE', f'Running {exe_path!r}, args: {args!r}') + process = popen_implementation(args, executable=exe_path, env=prog_env, cwd=prog_cwd) + + # Wait for the process to finish. If no run-time (= timeout) is specified, we expect the process to exit on + # its own, and use global _EXE_TIMEOUT. If run-time is specified, we expect the application to be running + # for at least the specified amount of time, which is useful in "interactive" test applications that are not + # expected exit on their own. + stdout = stderr = None + try: + timeout = runtime if runtime else _EXE_TIMEOUT + stdout, stderr = process.communicate(timeout=timeout) + retcode = process.returncode + self._display_message('RUN-EXE', f'Process exited on its own with return code {retcode}.') + except (subprocess.TimeoutExpired) if psutil is None else (psutil.TimeoutExpired, subprocess.TimeoutExpired): + if runtime: + # When 'runtime' is set, the expired timeout is a good sign that the executable was running successfully + # for the specified time. + self._display_message('RUN-EXE', f'Process reached expected run-time of {runtime} seconds.') + retcode = 0 + else: + # Executable is still running and it is not interactive. Clean up the process tree, and fail the test. + self._display_message('RUN-EXE', f'Timeout while running executable (timeout: {timeout} seconds)!') + retcode = 1 + + if psutil is None: + # We are using subprocess.Popen(). Without psutil, we have no access to process tree; this poses a + # problem for onefile builds, where we would need to first kill the child (main application) process, + # and let the onefile parent perform its cleanup. As a best-effort approach, we can first call + # process.terminate(); on POSIX systems, this sends SIGTERM to the parent process, and in most + # situations, the bootloader will forward it to the child process. Then wait 5 seconds, and call + # process.kill() if necessary. On Windows, however, both process.terminate() and process.kill() do + # the same. Therefore, we should avoid running "interactive" tests with expected run-time if we do + # not have psutil available. + try: + self._display_message('RUN-EXE', 'Stopping the process using Popen.terminate()...') + process.terminate() + stdout, stderr = process.communicate(timeout=5) + self._display_message('RUN-EXE', 'Process stopped.') + except subprocess.TimeoutExpired: + # Kill the process. + try: + self._display_message('RUN-EXE', 'Stopping the process using Popen.kill()...') + process.kill() + # process.communicate() waits for end-of-file, which may never arrive if there is a child + # process still alive. Nothing we can really do about it here, so add a short timeout and + # display a warning. + stdout, stderr = process.communicate(timeout=1) + self._display_message('RUN-EXE', 'Process stopped.') + except subprocess.TimeoutExpired: + self._display_message('RUN-EXE', 'Failed to stop the process (or its child process(es))!') + else: + # We are using psutil.Popen(). First, force-kill all child processes; in onefile mode, this includes + # the application process, whose termination should trigger cleanup and exit of the parent onefile + # process. + self._display_message('RUN-EXE', 'Stopping child processes...') + for child_process in list(process.children(recursive=True)): + with contextlib.suppress(psutil.NoSuchProcess): + self._display_message('RUN-EXE', f'Stopping child process {child_process.pid}...') + child_process.kill() + + # Give the main process 5 seconds to exit on its own (to accommodate cleanup in onefile mode). + try: + self._display_message('RUN-EXE', f'Waiting for main process ({process.pid}) to stop...') + stdout, stderr = process.communicate(timeout=5) + self._display_message('RUN-EXE', 'Process stopped on its own.') + except (psutil.TimeoutExpired, subprocess.TimeoutExpired): + # End of the line - kill the main process. + self._display_message('RUN-EXE', 'Stopping the process using Popen.kill()...') + with contextlib.suppress(psutil.NoSuchProcess): + process.kill() + # Try to retrieve stdout/stderr - but keep a short timeout, just in case... + try: + stdout, stderr = process.communicate(timeout=1) + self._display_message('RUN-EXE', 'Process stopped.') + except (psutil.TimeoutExpired, subprocess.TimeoutExpire): + self._display_message('RUN-EXE', 'Failed to stop the process (or its child process(es))!') + + self._display_message('RUN-EXE', f'Done! Return code: {retcode}') + + return retcode + + def _test_building(self, args): + """ + Run building of test script. + + :param args: additional CLI options for PyInstaller. + + Return True if build succeeded False otherwise. + """ + if self._is_spec: + default_args = [ + '--distpath', str(self._dist_dir), + '--workpath', str(self._build_dir), + '--log-level', 'INFO', + ] # yapf: disable + else: + default_args = [ + '--debug=bootloader', + '--noupx', + '--specpath', str(self._spec_dir), + '--distpath', str(self._dist_dir), + '--workpath', str(self._build_dir), + '--path', str(_get_modules_dir(self._request)), + '--log-level', 'INFO', + ] # yapf: disable + + # Choose bundle mode. + if self._mode == 'onedir': + default_args.append('--onedir') + elif self._mode == 'onefile': + default_args.append('--onefile') + # if self._mode is None then just the spec file was supplied. + + pyi_args = [self.script, *default_args, *args] + # TODO: fix return code in running PyInstaller programmatically. + PYI_CONFIG = configure.get_config() + # Override CACHEDIR for PyInstaller; relocate cache into `self._tmp_path`. + PYI_CONFIG['cachedir'] = str(self._tmp_path) + + pyi_main.run(pyi_args, PYI_CONFIG) + retcode = 0 + + return retcode == 0 + + def _examine_executable(self, exe, toc_log): + """ + Compare log files (now used mostly by multipackage test_name). + + :return: True if .toc files match + """ + self._display_message('EXAMINE-EXE', f'Matching against TOC log: {str(toc_log)!r}') + fname_list = pkg_archive_contents(exe) + with open(toc_log, 'r', encoding='utf-8') as f: + pattern_list = eval(f.read()) + # Alphabetical order of patterns. + pattern_list.sort() + missing = [] + for pattern in pattern_list: + for fname in fname_list: + if re.match(pattern, fname): + self._display_message('EXAMINE-EXE', f'Entry found: {pattern!r} --> {fname!r}') + break + else: + # No matching entry found + missing.append(pattern) + self._display_message('EXAMINE-EXE', f'Entry MISSING: {pattern!r}') + + # We expect the missing list to be empty + return not missing + + +# Scope 'session' should keep the object unchanged for whole tests. This fixture caches basic module graph dependencies +# that are same for every executable. +@pytest.fixture(scope='session') +def pyi_modgraph(): + # Explicitly set the log level since the plugin `pytest-catchlog` (un-) sets the root logger's level to NOTSET for + # the setup phase, which will lead to TRACE messages been written out. + import PyInstaller.log as logging + logging.logger.setLevel(logging.DEBUG) + initialize_modgraph() + + +# Run by default test as onedir and onefile. +@pytest.fixture(params=['onedir', 'onefile']) +def pyi_builder(tmp_path, monkeypatch, request, pyi_modgraph): + # Save/restore environment variable PATH. + monkeypatch.setenv('PATH', os.environ['PATH']) + # PyInstaller or a test case might manipulate 'sys.path'. Reset it for every test. + monkeypatch.syspath_prepend(None) + # Set current working directory to + monkeypatch.chdir(tmp_path) + # Clean up configuration and force PyInstaller to do a clean configuration for another app/test. The value is same + # as the original value. + monkeypatch.setattr('PyInstaller.config.CONF', {'pathex': []}) + + yield AppBuilder(tmp_path, request, request.param) + + # Clean up the temporary directory of a successful test + if _PYI_BUILDER_CLEANUP and request.node.rep_setup.passed and request.node.rep_call.passed: + if tmp_path.exists(): + shutil.rmtree(tmp_path, ignore_errors=True) + + +# Fixture for .spec based tests. With .spec it does not make sense to differentiate onefile/onedir mode. +@pytest.fixture +def pyi_builder_spec(tmp_path, request, monkeypatch, pyi_modgraph): + # Save/restore environment variable PATH. + monkeypatch.setenv('PATH', os.environ['PATH']) + # Set current working directory to + monkeypatch.chdir(tmp_path) + # PyInstaller or a test case might manipulate 'sys.path'. Reset it for every test. + monkeypatch.syspath_prepend(None) + # Clean up configuration and force PyInstaller to do a clean configuration for another app/test. The value is same + # as the original value. + monkeypatch.setattr('PyInstaller.config.CONF', {'pathex': []}) + + yield AppBuilder(tmp_path, request, None) + + # Clean up the temporary directory of a successful test + if _PYI_BUILDER_CLEANUP and request.node.rep_setup.passed and request.node.rep_call.passed: + if tmp_path.exists(): + shutil.rmtree(tmp_path, ignore_errors=True) + + +@pytest.fixture +def pyi_windowed_builder(pyi_builder: AppBuilder): + """A pyi_builder equivalent for testing --windowed applications.""" + + # psutil.Popen() somehow bypasses an application's windowed/console mode so that any application built in + # --windowed mode but invoked with psutil still receives valid std{in,out,err} handles and behaves exactly like + # a console application. In short, testing windowed mode with psutil is a null test. We must instead use subprocess. + + def _run_executable_(args, exe_path, prog_env, prog_cwd, runtime): + return subprocess.run([exe_path, *args], env=prog_env, cwd=prog_cwd, timeout=runtime).returncode + + pyi_builder._run_executable_ = _run_executable_ + yield pyi_builder diff --git a/.venv/Lib/site-packages/PyInstaller/utils/hooks/__init__.py b/.venv/Lib/site-packages/PyInstaller/utils/hooks/__init__.py new file mode 100644 index 0000000..60cc591 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/hooks/__init__.py @@ -0,0 +1,1343 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +from __future__ import annotations + +import copy +import os +import textwrap +import fnmatch +from pathlib import Path +from collections import deque +from typing import Callable + +import packaging.requirements + +from PyInstaller import HOMEPATH, compat +from PyInstaller import log as logging +from PyInstaller.depend.imphookapi import PostGraphAPI +from PyInstaller import isolated +from PyInstaller.compat import importlib_metadata + +logger = logging.getLogger(__name__) + +# These extensions represent Python executables and should therefore be ignored when collecting data files. +# NOTE: .dylib files are not Python executable and should not be in this list. +PY_IGNORE_EXTENSIONS = set(compat.ALL_SUFFIXES) + +# Some hooks need to save some values. This is the dict that can be used for that. +# +# When running tests this variable should be reset before every test. +# +# For example the 'wx' module needs variable 'wxpubsub'. This tells PyInstaller which protocol of the wx module +# should be bundled. +hook_variables = {} + + +def __exec_python_cmd(cmd, env=None, capture_stdout=True): + """ + Executes an externally spawned Python interpreter. If capture_stdout is set to True, returns anything that was + emitted in the standard output as a single string. Otherwise, returns the exit code. + """ + # 'PyInstaller.config' cannot be imported as other top-level modules. + from PyInstaller.config import CONF + if env is None: + env = {} + # Update environment. Defaults to 'os.environ' + pp_env = copy.deepcopy(os.environ) + pp_env.update(env) + # Prepend PYTHONPATH with pathex. + # Some functions use some PyInstaller code in subprocess, so add PyInstaller HOMEPATH to sys.path as well. + pp = os.pathsep.join(CONF['pathex'] + [HOMEPATH]) + + # PYTHONPATH might be already defined in the 'env' argument or in the original 'os.environ'. Prepend it. + if 'PYTHONPATH' in pp_env: + pp = os.pathsep.join([pp_env.get('PYTHONPATH'), pp]) + pp_env['PYTHONPATH'] = pp + + if capture_stdout: + txt = compat.exec_python(*cmd, env=pp_env) + return txt.strip() + else: + return compat.exec_python_rc(*cmd, env=pp_env) + + +def __exec_statement(statement, capture_stdout=True): + statement = textwrap.dedent(statement) + cmd = ['-c', statement] + return __exec_python_cmd(cmd, capture_stdout=capture_stdout) + + +def exec_statement(statement: str): + """ + Execute a single Python statement in an externally-spawned interpreter, and return the resulting standard output + as a string. + + Examples:: + + tk_version = exec_statement("from _tkinter import TK_VERSION; print(TK_VERSION)") + + mpl_data_dir = exec_statement("import matplotlib; print(matplotlib.get_data_path())") + datas = [ (mpl_data_dir, "") ] + + Notes: + As of v5.0, usage of this function is discouraged in favour of the + new :mod:`PyInstaller.isolated` module. + + """ + return __exec_statement(statement, capture_stdout=True) + + +def exec_statement_rc(statement: str): + """ + Executes a Python statement in an externally spawned interpreter, and returns the exit code. + """ + return __exec_statement(statement, capture_stdout=False) + + +def eval_statement(statement: str): + """ + Execute a single Python statement in an externally-spawned interpreter, and :func:`eval` its output (if any). + + Example:: + + databases = eval_statement(''' + import sqlalchemy.databases + print(sqlalchemy.databases.__all__) + ''') + for db in databases: + hiddenimports.append("sqlalchemy.databases." + db) + + Notes: + As of v5.0, usage of this function is discouraged in favour of the + new :mod:`PyInstaller.isolated` module. + + """ + txt = exec_statement(statement).strip() + if not txt: + # Return an empty string, which is "not true" but is iterable. + return '' + return eval(txt) + + +@isolated.decorate +def get_pyextension_imports(module_name: str): + """ + Return list of modules required by binary (C/C++) Python extension. + + Python extension files ends with .so (Unix) or .pyd (Windows). It is almost impossible to analyze binary extension + and its dependencies. + + Module cannot be imported directly. + + Let's at least try import it in a subprocess and observe the difference in module list from sys.modules. + + This function could be used for 'hiddenimports' in PyInstaller hooks files. + """ + import sys + import importlib + + original = set(sys.modules.keys()) + + # When importing this module - sys.modules gets updated. + importlib.import_module(module_name) + + # Find and return which new modules have been loaded. + return list(set(sys.modules.keys()) - original - {module_name}) + + +def get_homebrew_path(formula: str = ''): + """ + Return the homebrew path to the requested formula, or the global prefix when called with no argument. + + Returns the path as a string or None if not found. + """ + import subprocess + brewcmd = ['brew', '--prefix'] + path = None + if formula: + brewcmd.append(formula) + dbgstr = 'homebrew formula "%s"' % formula + else: + dbgstr = 'homebrew prefix' + try: + path = subprocess.check_output(brewcmd).strip() + logger.debug('Found %s at "%s"' % (dbgstr, path)) + except OSError: + logger.debug('Detected homebrew not installed') + except subprocess.CalledProcessError: + logger.debug('homebrew formula "%s" not installed' % formula) + if path: + return path.decode('utf8') # macOS filenames are UTF-8 + else: + return None + + +def remove_prefix(string: str, prefix: str): + """ + This function removes the given prefix from a string, if the string does indeed begin with the prefix; otherwise, + it returns the original string. + """ + if string.startswith(prefix): + return string[len(prefix):] + else: + return string + + +def remove_suffix(string: str, suffix: str): + """ + This function removes the given suffix from a string, if the string does indeed end with the suffix; otherwise, + it returns the original string. + """ + # Special case: if suffix is empty, string[:0] returns ''. So, test for a non-empty suffix. + if suffix and string.endswith(suffix): + return string[:-len(suffix)] + else: + return string + + +# TODO: Do we really need a helper for this? This is pretty trivially obvious. +def remove_file_extension(filename: str): + """ + This function returns filename without its extension. + + For Python C modules it removes even whole '.cpython-34m.so' etc. + """ + for suff in compat.EXTENSION_SUFFIXES: + if filename.endswith(suff): + return filename[0:filename.rfind(suff)] + # Fallback to ordinary 'splitext'. + return os.path.splitext(filename)[0] + + +def can_import_module(module_name: str): + """ + Check if the specified module can be imported. + + Intended as a silent module availability check, as it does not print ModuleNotFoundError traceback to stderr when + the module is unavailable. + + Parameters + ---------- + module_name : str + Fully-qualified name of the module. + + Returns + ---------- + bool + Boolean indicating whether the module can be imported or not. + """ + + # Run the check in isolated sub-process, so we can gracefully handle cases when importing the module ends up + # crashing python interpreter. + @isolated.decorate + def _can_import_module(module_name): + try: + __import__(module_name) + return True + except Exception: + return False + + try: + return _can_import_module(module_name) + except isolated.SubprocessDiedError: + return False + + +# TODO: Replace most calls to exec_statement() with calls to this function. +def get_module_attribute(module_name: str, attr_name: str): + """ + Get the string value of the passed attribute from the passed module if this attribute is defined by this module + _or_ raise `AttributeError` otherwise. + + Since modules cannot be directly imported during analysis, this function spawns a subprocess importing this module + and returning the string value of this attribute in this module. + + Parameters + ---------- + module_name : str + Fully-qualified name of this module. + attr_name : str + Name of the attribute in this module to be retrieved. + + Returns + ---------- + str + String value of this attribute. + + Raises + ---------- + AttributeError + If this attribute is undefined. + """ + @isolated.decorate + def _get_module_attribute(module_name, attr_name): + import importlib + module = importlib.import_module(module_name) + return getattr(module, attr_name) + + # Return AttributeError on any kind of errors, to preserve old behavior. + try: + return _get_module_attribute(module_name, attr_name) + except Exception as e: + raise AttributeError(f"Failed to retrieve attribute {attr_name} from module {module_name}") from e + + +def get_module_file_attribute(package: str): + """ + Get the absolute path to the specified module or package. + + Modules and packages *must not* be directly imported in the main process during the analysis. Therefore, to + avoid leaking the imports, this function uses an isolated subprocess when it needs to import the module and + obtain its ``__file__`` attribute. + + Parameters + ---------- + package : str + Fully-qualified name of module or package. + + Returns + ---------- + str + Absolute path of this module. + """ + # First, try to use 'importlib.util.find_spec' and obtain loader from the spec (and filename from the loader). + # It is the fastest way, but does not work on certain modules in pywin32 that replace all module attributes with + # those of the .dll. In addition, we need to avoid it for submodules/subpackages, because it ends up importing + # their parent package, which would cause an import leak during the analysis. + filename: str | None = None + if '.' not in package: + try: + import importlib.util + loader = importlib.util.find_spec(package).loader + filename = loader.get_filename(package) + # Apparently in the past, ``None`` could be returned for built-in ``datetime`` module. Just in case this + # is still possible, return only if filename is valid. + if filename: + return filename + except (ImportError, AttributeError, TypeError, ValueError): + pass + + # Second attempt: try to obtain module/package's __file__ attribute in an isolated subprocess. + @isolated.decorate + def _get_module_file_attribute(package): + # First, try to use 'importlib.util.find_spec' and obtain loader from the spec (and filename from the loader). + # This should return the filename even if the module or package cannot be imported (e.g., a C-extension module + # with missing dependencies). + try: + import importlib.util + loader = importlib.util.find_spec(package).loader + filename = loader.get_filename(package) + # Safe-guard against ``None`` being returned (see comment in the non-isolated codepath). + if filename: + return filename + except (ImportError, AttributeError, TypeError, ValueError): + pass + + # Fall back to import attempt + import importlib + p = importlib.import_module(package) + return p.__file__ + + # The old behavior was to return ImportError (and that is what the test are also expecting...). + try: + filename = _get_module_file_attribute(package) + except Exception as e: + raise ImportError(f"Failed to obtain the __file__ attribute of package/module {package}!") from e + + return filename + + +def get_pywin32_module_file_attribute(module_name): + """ + Get the absolute path of the PyWin32 DLL specific to the PyWin32 module with the passed name (`pythoncom` + or `pywintypes`). + + On import, each PyWin32 module: + + * Imports a DLL specific to that module. + * Overwrites the values of all module attributes with values specific to that DLL. This includes that module's + `__file__` attribute, which then provides the absolute path of that DLL. + + This function imports the module in isolated subprocess and retrieves its `__file__` attribute. + """ + + # NOTE: we cannot use `get_module_file_attribute` as it does not account for the __file__ rewriting magic + # done by the module. Use `get_module_attribute` instead. + return get_module_attribute(module_name, '__file__') + + +def check_requirement(requirement: str): + """ + Check if a :pep:`0508` requirement is satisfied. Usually used to check if a package distribution is installed, + or if it is installed and satisfies the specified version requirement. + + Parameters + ---------- + requirement : str + Requirement string in :pep:`0508` format. + + Returns + ---------- + bool + Boolean indicating whether the requirement is satisfied or not. + + Examples + -------- + + :: + + # Assume Pillow 10.0.0 is installed. + >>> from PyInstaller.utils.hooks import check_requirement + >>> check_requirement('Pillow') + True + >>> check_requirement('Pillow < 9.0') + False + >>> check_requirement('Pillow >= 9.0, < 11.0') + True + """ + parsed_requirement = packaging.requirements.Requirement(requirement) + + # Fetch the actual version of the specified dist + try: + version = importlib_metadata.version(parsed_requirement.name) + except importlib_metadata.PackageNotFoundError: + return False # Not available at all + + # If specifier is not given, the only requirement is that dist is available + if not parsed_requirement.specifier: + return True + + # Parse specifier, and compare version. Enable pre-release matching, + # because we need "package >= 2.0.0" to match "2.5.0b1". + return parsed_requirement.specifier.contains(version, prereleases=True) + + +# Keep the `is_module_satisfies` as an alias for backwards compatibility with existing hooks. The old fallback +# to module version check does not work any more, though. +def is_module_satisfies( + requirements: str, + version: None = None, + version_attr: None = None, +): + """ + A compatibility wrapper for :func:`check_requirement`, intended for backwards compatibility with existing hooks. + + In contrast to original implementation from PyInstaller < 6, this implementation only checks the specified + :pep:`0508` requirement string; i.e., it tries to retrieve the distribution metadata, and compare its version + against optional version specifier(s). It does not attempt to fall back to checking the module's version attribute, + nor does it support ``version`` and ``version_attr`` arguments. + + Parameters + ---------- + requirements : str + Requirements string passed to the :func:`check_requirement`. + version : None + Deprecated and unsupported. Must be ``None``. + version_attr : None + Deprecated and unsupported. Must be ``None``. + + Returns + ---------- + bool + Boolean indicating whether the requirement is satisfied or not. + + Raises + ---------- + ValueError + If either ``version`` or ``version_attr`` are specified and are not None. + """ + if version is not None: + raise ValueError("Calling is_module_satisfies with version argument is not supported anymore.") + if version_attr is not None: + raise ValueError("Calling is_module_satisfies with version argument_attr is not supported anymore.") + return check_requirement(requirements) + + +def is_package(module_name: str): + """ + Check if a Python module is really a module or is a package containing other modules, without importing anything + in the main process. + + :param module_name: Module name to check. + :return: True if module is a package else otherwise. + """ + def _is_package(module_name: str): + """ + Determines whether the given name represents a package or not. If the name represents a top-level module or + a package, it is not imported. If the name represents a sub-module or a sub-package, its parent is imported. + In such cases, this function should be called from an isolated suprocess. + + NOTE: the fallback check for `__init__.py` is there because `_distutils_hack.DistutilsMetaFinder` from + `setuptools` does not set spec.submodule_search_locations for `distutils` / `setuptools._distutils` even though + it is a package. The alternative would be to always perform full import, and check for the `__path__` attribute, + but that would also always require full isolation. + """ + try: + import importlib.util + spec = importlib.util.find_spec(module_name) + return bool(spec.submodule_search_locations) or spec.origin.endswith('__init__.py') + except Exception: + return False + + # For top-level packages/modules, we can perform check in the main process; otherwise, we need to isolate the + # call to prevent import leaks in the main process. + if '.' not in module_name: + return _is_package(module_name) + else: + return isolated.call(_is_package, module_name) + + +def get_all_package_paths(package: str): + """ + Given a package name, return all paths associated with the package. Typically, packages have a single location + path, but PEP 420 namespace packages may be split across multiple locations. Returns an empty list if the specified + package is not found or is not a package. + """ + def _get_package_paths(package: str): + """ + Retrieve package path(s), as advertised by submodule_search_paths attribute of the spec obtained via + importlib.util.find_spec(package). If the name represents a top-level package, the package is not imported. + If the name represents a sub-module or a sub-package, its parent is imported. In such cases, this function + should be called from an isolated suprocess. Returns an empty list if specified package is not found or is not + a package. + """ + try: + import importlib.util + spec = importlib.util.find_spec(package) + if not spec or not spec.submodule_search_locations: + return [] + return [str(path) for path in spec.submodule_search_locations] + except Exception: + return [] + + # For top-level packages/modules, we can perform check in the main process; otherwise, we need to isolate the + # call to prevent import leaks in the main process. + if '.' not in package: + pkg_paths = _get_package_paths(package) + else: + pkg_paths = isolated.call(_get_package_paths, package) + + return pkg_paths + + +def package_base_path(package_path: str, package: str): + """ + Given a package location path and package name, return the package base path, i.e., the directory in which the + top-level package is located. For example, given the path ``/abs/path/to/python/libs/pkg/subpkg`` and + package name ``pkg.subpkg``, the function returns ``/abs/path/to/python/libs``. + """ + return remove_suffix(package_path, package.replace('.', os.sep)) # Base directory + + +def get_package_paths(package: str): + """ + Given a package, return the path to packages stored on this machine and also returns the path to this particular + package. For example, if pkg.subpkg lives in /abs/path/to/python/libs, then this function returns + ``(/abs/path/to/python/libs, /abs/path/to/python/libs/pkg/subpkg)``. + + NOTE: due to backwards compatibility, this function returns only one package path along with its base directory. + In case of PEP 420 namespace package with multiple location, only first location is returned. To obtain all + package paths, use the ``get_all_package_paths`` function and obtain corresponding base directories using the + ``package_base_path`` helper. + """ + pkg_paths = get_all_package_paths(package) + if not pkg_paths: + raise ValueError(f"Package '{package}' does not exist or is not a package!") + + if len(pkg_paths) > 1: + logger.warning( + "get_package_paths - package %s has multiple paths (%r); returning only first one!", package, pkg_paths + ) + + pkg_dir = pkg_paths[0] + pkg_base = package_base_path(pkg_dir, package) + + return pkg_base, pkg_dir + + +def collect_submodules( + package: str, + filter: Callable[[str], bool] = lambda name: True, + on_error: str = "warn once", +): + """ + List all submodules of a given package. + + Arguments: + package: + An ``import``-able package. + filter: + Filter the submodules found: A callable that takes a submodule name and returns True if it should be + included. + on_error: + The action to take when a submodule fails to import. May be any of: + + - raise: Errors are reraised and terminate the build. + - warn: Errors are downgraded to warnings. + - warn once: The first error issues a warning but all + subsequent errors are ignored to minimise *stderr pollution*. This + is the default. + - ignore: Skip all errors. Don't warn about anything. + Returns: + All submodules to be assigned to ``hiddenimports`` in a hook. + + This function is intended to be used by hook scripts, not by main PyInstaller code. + + Examples:: + + # Collect all submodules of Sphinx don't contain the word ``test``. + hiddenimports = collect_submodules( + "Sphinx", ``filter=lambda name: 'test' not in name) + + .. versionchanged:: 4.5 + Add the **on_error** parameter. + + """ + # Accept only strings as packages. + if not isinstance(package, str): + raise TypeError('package must be a str') + if on_error not in ("ignore", "warn once", "warn", "raise"): + raise ValueError( + f"Invalid on-error action '{on_error}': Must be one of ('ignore', 'warn once', 'warn', 'raise')" + ) + + logger.debug('Collecting submodules for %s', package) + + # Skip a module which is not a package. + if not is_package(package): + logger.debug('collect_submodules - %s is not a package.', package) + # If module is importable, return its name in the list, in order to keep behavior consistent with the + # one we have for packages (i.e., we include the package in the list of returned names) + if can_import_module(package): + return [package] + return [] + + # Determine the filesystem path(s) to the specified package. + package_submodules = [] + + todo = deque() + todo.append(package) + + with isolated.Python() as isolated_python: + while todo: + # Scan the given (sub)package + name = todo.pop() + modules, subpackages, on_error = isolated_python.call(_collect_submodules, name, on_error) + + # Add modules to the list of all submodules + package_submodules += [module for module in modules if filter(module)] + + # Add sub-packages to deque for subsequent recursion + for subpackage_name in subpackages: + if filter(subpackage_name): + todo.append(subpackage_name) + + package_submodules = sorted(package_submodules) + + logger.debug("collect_submodules - found submodules: %s", package_submodules) + return package_submodules + + +# This function is called in an isolated sub-process via `isolated.Python.call`. +def _collect_submodules(name, on_error): + import sys + import pkgutil + from traceback import format_exception_only + + from PyInstaller.utils.hooks import logger + + logger.debug("collect_submodules - scanning (sub)package %s", name) + + modules = [] + subpackages = [] + + # Resolve package location(s) + try: + __import__(name) + except Exception as ex: + # Catch all errors and either raise, warn, or ignore them as determined by the *on_error* parameter. + if on_error in ("warn", "warn once"): + from PyInstaller.log import logger + ex = "".join(format_exception_only(type(ex), ex)).strip() + logger.warning(f"Failed to collect submodules for '{name}' because importing '{name}' raised: {ex}") + if on_error == "warn once": + on_error = "ignore" + return modules, subpackages, on_error + elif on_error == "raise": + raise ImportError(f"Unable to load subpackage '{name}'.") from ex + + # Do not attempt to recurse into package if it did not make it into sys.modules. + if name not in sys.modules: + return modules, subpackages, on_error + + # Or if it does not have __path__ attribute. + paths = getattr(sys.modules[name], '__path__', None) or [] + if not paths: + return modules, subpackages, on_error + + # Package was successfully imported - include it in the list of modules. + modules.append(name) + + # Iterate package contents + logger.debug("collect_submodules - scanning (sub)package %s in location(s): %s", name, paths) + for importer, name, ispkg in pkgutil.iter_modules(paths, name + '.'): + if not ispkg: + modules.append(name) + else: + subpackages.append(name) + + return modules, subpackages, on_error + + +def is_module_or_submodule(name: str, mod_or_submod: str): + """ + This helper function is designed for use in the ``filter`` argument of :func:`collect_submodules`, by returning + ``True`` if the given ``name`` is a module or a submodule of ``mod_or_submod``. + + Examples: + + The following excludes ``foo.test`` and ``foo.test.one`` but not ``foo.testifier``. :: + + collect_submodules('foo', lambda name: not is_module_or_submodule(name, 'foo.test'))`` + """ + return name.startswith(mod_or_submod + '.') or name == mod_or_submod + + +# Patterns of dynamic library filenames that might be bundled with some installed Python packages. +PY_DYLIB_PATTERNS = [ + '*.dll', + '*.dylib', + 'lib*.so', +] + + +def collect_dynamic_libs(package: str, destdir: str | None = None, search_patterns: list = PY_DYLIB_PATTERNS): + """ + This function produces a list of (source, dest) of dynamic library files that reside in package. Its output can be + directly assigned to ``binaries`` in a hook script. The package parameter must be a string which names the package. + + :param destdir: Relative path to ./dist/APPNAME where the libraries should be put. + :param search_patterns: List of dynamic library filename patterns to collect. + """ + logger.debug('Collecting dynamic libraries for %s' % package) + + # Accept only strings as packages. + if not isinstance(package, str): + raise TypeError('package must be a str') + + # Skip a module which is not a package. + if not is_package(package): + logger.warning( + "collect_dynamic_libs - skipping library collection for module '%s' as it is not a package.", package + ) + return [] + + pkg_dirs = get_all_package_paths(package) + dylibs = [] + for pkg_dir in pkg_dirs: + pkg_base = package_base_path(pkg_dir, package) + # Recursively glob for all file patterns in the package directory + for pattern in search_patterns: + files = Path(pkg_dir).rglob(pattern) + for source in files: + # Produce the tuple ('/abs/path/to/source/mod/submod/file.pyd', 'mod/submod') + if destdir: + # Put libraries in the specified target directory. + dest = destdir + else: + # Preserve original directory hierarchy. + dest = source.parent.relative_to(pkg_base) + logger.debug(' %s, %s' % (source, dest)) + dylibs.append((str(source), str(dest))) + + return dylibs + + +def collect_data_files( + package: str, + include_py_files: bool = False, + subdir: str | os.PathLike | None = None, + excludes: list | None = None, + includes: list | None = None, +): + r""" + This function produces a list of ``(source, dest)`` entries for data files that reside in ``package``. + Its output can be directly assigned to ``datas`` in a hook script; for example, see ``hook-sphinx.py``. + The data files are all files that are not shared libraries / binary python extensions (based on extension + check) and are not python source (.py) files or byte-compiled modules (.pyc). Collection of the .py and .pyc + files can be toggled via the ``include_py_files`` flag. + Parameters: + + - The ``package`` parameter is a string which names the package. + - By default, python source files and byte-compiled modules (files with ``.py`` and ``.pyc`` suffix) are not + collected; setting the ``include_py_files`` argument to ``True`` collects these files as well. This is typically + used when a package requires source .py files to be available; for example, JIT compilation used in + deep-learning frameworks, code that requires access to .py files (for example, to check their date), or code + that tries to extend `sys.path` with subpackage paths in a way that is incompatible with PyInstaller's frozen + importer.. However, in contemporary PyInstaller versions, the preferred way of collecting source .py files is by + using the **module collection mode** setting (which enables collection of source .py files in addition to or + in lieu of collecting byte-compiled modules into PYZ archive). + - The ``subdir`` argument gives a subdirectory relative to ``package`` to search, which is helpful when submodules + are imported at run-time from a directory lacking ``__init__.py``. + - The ``excludes`` argument contains a sequence of strings or Paths. These provide a list of + `globs `_ + to exclude from the collected data files; if a directory matches the provided glob, all files it contains will + be excluded as well. All elements must be relative paths, which are relative to the provided package's path + (/ ``subdir`` if provided). + + Therefore, ``*.txt`` will exclude only ``.txt`` files in ``package``\ 's path, while ``**/*.txt`` will exclude + all ``.txt`` files in ``package``\ 's path and all its subdirectories. Likewise, ``**/__pycache__`` will exclude + all files contained in any subdirectory named ``__pycache__``. + - The ``includes`` function like ``excludes``, but only include matching paths. ``excludes`` override + ``includes``: a file or directory in both lists will be excluded. + + This function does not work on zipped Python eggs. + + This function is intended to be used by hook scripts, not by main PyInstaller code. + """ + logger.debug('Collecting data files for %s' % package) + + # Accept only strings as packages. + if not isinstance(package, str): + raise TypeError('package must be a str') + + # Skip a module which is not a package. + if not is_package(package): + logger.warning("collect_data_files - skipping data collection for module '%s' as it is not a package.", package) + return [] + + # Make sure the excludes are a list; this also makes a copy, so we don't modify the original. + excludes = list(excludes) if excludes else [] + # These excludes may contain directories which need to be searched. + excludes_len = len(excludes) + # Including py files means don't exclude them. This pattern will search any directories for containing files, so + # do not modify ``excludes_len``. + if not include_py_files: + excludes += ['**/*' + s for s in compat.ALL_SUFFIXES] + else: + # include_py_files should collect only .py and .pyc files, and not the extensions / shared libs. + excludes += ['**/*' + s for s in compat.ALL_SUFFIXES if s not in {'.py', '.pyc'}] + + # Never, ever, collect .pyc files from __pycache__. + excludes.append('**/__pycache__/*.pyc') + + # If not specified, include all files. Follow the same process as the excludes. + includes = list(includes) if includes else ["**/*"] + includes_len = len(includes) + + # A helper function to glob the in/ex "cludes", adding a wildcard to refer to all files under a subdirectory if a + # subdirectory is matched by the first ``clude_len`` patterns. Otherwise, it in/excludes the matched file. + # **This modifies** ``cludes``. + def clude_walker( + # Package directory to scan + pkg_dir, + # A list of paths relative to ``pkg_dir`` to in/exclude. + cludes, + # The number of ``cludes`` for which matching directories should be searched for all files under them. + clude_len, + # True if the list is includes, False for excludes. + is_include + ): + for i, c in enumerate(cludes): + for g in Path(pkg_dir).glob(c): + if g.is_dir(): + # Only files are sources. Subdirectories are not. + if i < clude_len: + # In/exclude all files under a matching subdirectory. + cludes.append(str((g / "**/*").relative_to(pkg_dir))) + else: + # In/exclude a matching file. + sources.add(g) if is_include else sources.discard(g) + + # Obtain all paths for the specified package, and process each path independently. + datas = [] + + pkg_dirs = get_all_package_paths(package) + for pkg_dir in pkg_dirs: + sources = set() # Reset sources set + + pkg_base = package_base_path(pkg_dir, package) + if subdir: + pkg_dir = os.path.join(pkg_dir, subdir) + + # Process the package path with clude walker + clude_walker(pkg_dir, includes, includes_len, True) + clude_walker(pkg_dir, excludes, excludes_len, False) + + # Transform the sources into tuples for ``datas``. + datas += [(str(s), str(s.parent.relative_to(pkg_base))) for s in sources] + + logger.debug("collect_data_files - Found files: %s", datas) + return datas + + +def collect_system_data_files(path: str, destdir: str | os.PathLike | None = None, include_py_files: bool = False): + """ + This function produces a list of (source, dest) non-Python (i.e., data) files that reside somewhere on the system. + Its output can be directly assigned to ``datas`` in a hook script. + + This function is intended to be used by hook scripts, not by main PyInstaller code. + """ + # Accept only strings as paths. + if not isinstance(path, str): + raise TypeError('path must be a str') + + # Walk through all file in the given package, looking for data files. + datas = [] + for dirpath, dirnames, files in os.walk(path): + for f in files: + extension = os.path.splitext(f)[1] + if include_py_files or (extension not in PY_IGNORE_EXTENSIONS): + # Produce the tuple: (/abs/path/to/source/mod/submod/file.dat, mod/submod/destdir) + source = os.path.join(dirpath, f) + dest = str(Path(dirpath).relative_to(path)) + if destdir is not None: + dest = os.path.join(destdir, dest) + datas.append((source, dest)) + + return datas + + +def copy_metadata(package_name: str, recursive: bool = False): + """ + Collect distribution metadata so that ``importlib.metadata.distribution()`` or ``pkg_resources.get_distribution()`` + can find it. + + This function returns a list to be assigned to the ``datas`` global variable. This list instructs PyInstaller to + copy the metadata for the given package to the frozen application's data directory. + + Parameters + ---------- + package_name : str + Specifies the name of the package for which metadata should be copied. + recursive : bool + If true, collect metadata for the package's dependencies too. This enables use of + ``importlib.metadata.requires('package')`` or ``pkg_resources.require('package')`` inside the frozen + application. + + Returns + ------- + list + This should be assigned to ``datas``. + + Examples + -------- + >>> from PyInstaller.utils.hooks import copy_metadata + >>> copy_metadata('sphinx') + [('c:\\python27\\lib\\site-packages\\Sphinx-1.3.2.dist-info', + 'Sphinx-1.3.2.dist-info')] + + + Some packages rely on metadata files accessed through the ``importlib.metadata`` (or the now-deprecated + ``pkg_resources``) module. PyInstaller does not collect these metadata files by default. + If a package fails without the metadata (either its own, or of another package that it depends on), you can use this + function in a hook to collect the corresponding metadata files into the frozen application. The tuples in the + returned list contain two strings. The first is the full path to the package's metadata directory on the system. The + second is the destination name, which typically corresponds to the basename of the metadata directory. Adding these + tuples the the ``datas`` hook global variable, the metadata is collected into top-level application directory (where + it is usually searched for). + + .. versionchanged:: 4.3.1 + + Prevent ``dist-info`` metadata folders being renamed to ``egg-info`` which broke ``pkg_resources.require`` with + *extras* (see :issue:`#3033`). + + .. versionchanged:: 4.4.0 + + Add the **recursive** option. + """ + from collections import deque + + todo = deque([package_name]) + done = set() + out = [] + + while todo: + package_name = todo.pop() + if package_name in done: + continue + + dist = importlib_metadata.distribution(package_name) + + # We support only `importlib_metadata.PathDistribution`, since we need to rely on its private `_path` attribute + # to obtain the path to metadata file/directory. But we need to account for possible sub-classes and vendored + # variants (`setuptools._vendor.importlib_metadata.PathDistribution`), so just check that `_path` is available. + if not hasattr(dist, '_path'): + raise RuntimeError( + f"Unsupported distribution type {type(dist)} for {package_name} - does not have _path attribute" + ) + src_path = dist._path + + # We expect the `_path` attribute to be an instance of `pathlib.Path`. This assumption is violated when the + # package happens to be installed as a zipped egg. In such case, `_path` is an instance of either `zipp.Path` + # (when using `importlib.metadata` from `importlib-metadata`, which in turn uses 3rd party `zipp` package) or + # `zipfile.Path` (when using stdlib's `importlib.metadata`). While we could attempt to read the metadata + # from the zip, we dropped geberal support for zipped eggs from PyInstaller in 6.0, so raise an error. + if not isinstance(src_path, Path): + # NOTE: `src_path.parent` is also an instance of `zipfile.Path` or `zipp.Path`, and calling its `is_file()` + # method returns False, because the root of zip file is (rightfully) considered a directory. Therefore, we + # convert the path to `pathlib.Path` by taking the parent of `src_path.parent` (which turns out to be a + # `pathlib.Path`) and add to it the name of the `src_path.parent` (the name of .egg file). + try: + src_parent = src_path.parent.parent / src_path.parent.name + except Exception: + src_parent = src_path.parent + + if src_parent.is_file() and src_parent.name.endswith('.egg'): + raise RuntimeError( + f"Cannot collect metadata from path {str(src_path)!r}, which appears to be inside a zipped egg. " + f"PyInstaller >= 6.0 does not support zipped eggs anymore. Please reinstall {package_name!r} " + "using modern package installation method instead of deprecated 'python setup.py install'. " + "For example, if you are using pip package manager:\n" + "1. uninstall the zipped egg:\n" + f" pip uninstall {package_name}\n" + "2. make sure pip and its dependencies are up-to-date:\n" + " python -m pip install --upgrade pip setuptools\n" + "3. install the package:\n" + f" pip install {package_name}\n" + "To install a package from source, pass the path to the source directory to 'pip install' command." + ) + else: + # Generic message for unforeseen cases. + raise RuntimeError( + f"Cannot collect metadata from path {src_path!r}, which is of unsupported type {type(src_path)}." + ) + + if src_path.is_dir(): + # The metadata is stored in a directory (.egg-info, .dist-info), so collect the whole directory. If the + # package is installed as an egg, the metadata directory is ([...]/package_name-version.egg/EGG-INFO), + # and requires special handling (as of PyInstaller v6, we support only non-zipped eggs). + if src_path.name == 'EGG-INFO' and src_path.parent.name.endswith('.egg'): + dest_path = os.path.join(*src_path.parts[-2:]) + else: + dest_path = src_path.name + elif src_path.is_file(): + # The metadata is stored in a single file. Collect it into top-level application directory. + # The .egg-info file is commonly used by Debian/Ubuntu when packaging python packages. + dest_path = '.' + else: + raise RuntimeError( + f"Distribution metadata path {src_path!r} for {package_name} is neither file nor directory!" + ) + + # Hack for metadata from packages vendored by setuptools >= 71. If source path is rooted in setuptools/_vendor, + # prepend the same to the destination path and avoid collecting into top-level directory. + if src_path.parent.name == '_vendor' and src_path.parent.parent.name == 'setuptools': + dest_path = os.path.join('setuptools', '_vendor', dest_path) + + out.append((str(src_path), str(dest_path))) + + if not recursive: + return out + done.add(package_name) + + # Process requirements; `importlib.metadata` has no API for parsing requirements, so we need to use + # `packaging.requirements`. This is necessary to discard requirements with markers that do not match the + # environment (e.g., `python_version`, `sys_platform`). + requirements = [packaging.requirements.Requirement(req) for req in dist.requires or []] + requirements = [req.name for req in requirements if req.marker is None or req.marker.evaluate()] + + todo += requirements + + return out + + +def get_installer(dist_name: str): + """ + Try to find which package manager installed the specified distribution (e.g., pip, conda, rpm) by reading INSTALLER + file from distribution's metadata. + + If the specified distribution does not exist, fall back to treating the passed name as importable package/module + name, and attempt to look up its associated distribution name; this matches the behavior of implementation found + in older PyInstaller versions (<= v6.12.0). + + :param dist_name: Name of distribution to look up + :return: Name of package manager or None + + .. versionchanged:: 6.13 + The passed name is now first treated as a distribution name (direct look-up), and only if that fails, it is + treated as importable package/module name. + """ + + # First, perform direct look-up via the passed name, treating it as distribution name. + try: + dist = importlib_metadata.distribution(dist_name) + installer_text = dist.read_text('INSTALLER') + if installer_text is not None: + return installer_text.strip() + else: + # Distribution exists, but does not have an INSTALLER file; stop the search here. + return None + except importlib_metadata.PackageNotFoundError: + pass + + # Fall back to treating the passed name as importable package/module name, and try to resolve its associated + # distribution name (e.g., enchant -> pyenchant). This requires distributions to explicitly list their top-level + # importable names in `top_level.txt` file in metadata, or `importlib.metadata` that can inferring top-level + # importable names (available in stdlib for python >= 3.11, or in importlib-metadata >= 4.8.1). + module_name = dist_name + pkg_to_dist = importlib_metadata.packages_distributions() + dist_names = pkg_to_dist.get(module_name) + + # A namespace package might result in multiple dists; take the first one that has INSTALLER file available... + for dist_name in dist_names or []: + try: + dist = importlib_metadata.distribution(dist_name) + installer_text = dist.read_text('INSTALLER') + if installer_text is not None: + return installer_text.strip() + except importlib_metadata.PackageNotFoundError: + # This might happen with eggs if the egg directory name does not match the dist name declared in the + # metadata. + pass + + return None + + +def collect_all( + package_name: str, + include_py_files: bool = True, + filter_submodules: Callable = lambda name: True, + exclude_datas: list | None = None, + include_datas: list | None = None, + on_error: str = "warn once", +): + """ + Collect everything for a given package name. + + Arguments: + package_name: + An ``import``-able package name. + include_py_files: + Forwarded to :func:`collect_data_files`. + filter_submodules: + Forwarded to :func:`collect_submodules`. + exclude_datas: + Forwarded to :func:`collect_data_files`. + include_datas: + Forwarded to :func:`collect_data_files`. + on_error: + Forwarded onto :func:`collect_submodules`. + + Returns: + tuple: A ``(datas, binaries, hiddenimports)`` triplet containing: + + - All data files, raw Python files (if **include_py_files**), and distribution metadata directories (if + applicable). + - All dynamic libraries as returned by :func:`collect_dynamic_libs`. + - All submodules of **package_name**. + + Typical use:: + + datas, binaries, hiddenimports = collect_all('my_package_name') + """ + datas = collect_data_files(package_name, include_py_files, excludes=exclude_datas, includes=include_datas) + binaries = collect_dynamic_libs(package_name) + hiddenimports = collect_submodules(package_name, on_error=on_error, filter=filter_submodules) + + # `copy_metadata` requires a dist name instead of importable/package name. + # A namespace package might belong to multiple distributions, so process all of them. + pkg_to_dist = importlib_metadata.packages_distributions() + dist_names = set(pkg_to_dist.get(package_name, [])) + for dist_name in dist_names: + # Copy metadata + try: + datas += copy_metadata(dist_name) + except Exception: + pass + + return datas, binaries, hiddenimports + + +def collect_entry_point(name: str): + """ + Collect modules and metadata for all exporters of a given entry point. + + Args: + name: + The name of the entry point. Check the documentation for the library that uses the entry point to find + its name. + Returns: + A ``(datas, hiddenimports)`` pair that should be assigned to the ``datas`` and ``hiddenimports``, respectively. + + For libraries, such as ``pytest`` or ``keyring``, that rely on plugins to extend their behaviour. + + Examples: + Pytest uses an entry point called ``'pytest11'`` for its extensions. + To collect all those extensions use:: + + datas, hiddenimports = collect_entry_point("pytest11") + + These values may be used in a hook or added to the ``datas`` and ``hiddenimports`` arguments in the ``.spec`` + file. See :ref:`using spec files`. + + .. versionadded:: 4.3 + """ + datas = [] + imports = [] + for entry_point in importlib_metadata.entry_points(group=name): + datas += copy_metadata(entry_point.dist.name) + imports.append(entry_point.module) + return datas, imports + + +def get_hook_config(hook_api: PostGraphAPI, module_name: str, key: str): + """ + Get user settings for hooks. + + Args: + module_name: + The module/package for which the key setting belong to. + key: + A key for the config. + Returns: + The value for the config. ``None`` if not set. + + The ``get_hook_config`` function will lookup settings in the ``Analysis.hooksconfig`` dict. + + The hook settings can be added to ``.spec`` file in the form of:: + + a = Analysis(["my-app.py"], + ... + hooksconfig = { + "gi": { + "icons": ["Adwaita"], + "themes": ["Adwaita"], + "languages": ["en_GB", "zh_CN"], + }, + }, + ... + ) + """ + config = hook_api.analysis.hooksconfig + value = None + if module_name in config and key in config[module_name]: + value = config[module_name][key] + return value + + +def include_or_exclude_file( + filename: str, + include_list: list | None = None, + exclude_list: list | None = None, +): + """ + Generic inclusion/exclusion decision function based on filename and list of include and exclude patterns. + + Args: + filename: + Filename considered for inclusion. + include_list: + List of inclusion file patterns. + exclude_list: + List of exclusion file patterns. + + Returns: + A boolean indicating whether the file should be included or not. + + If ``include_list`` is provided, True is returned only if the filename matches one of include patterns (and does not + match any patterns in ``exclude_list``, if provided). If ``include_list`` is not provided, True is returned if + filename does not match any patterns in ``exclude list``, if provided. If neither list is provided, True is + returned for any filename. + """ + if include_list is not None: + for pattern in include_list: + if fnmatch.fnmatch(filename, pattern): + break + else: + return False # Not explicitly included; exclude + + if exclude_list is not None: + for pattern in exclude_list: + if fnmatch.fnmatch(filename, pattern): + return False # Explicitly excluded + + return True + + +def collect_delvewheel_libs_directory(package_name, libdir_name=None, datas=None, binaries=None): + """ + Collect data files and binaries from the .libs directory of a delvewheel-enabled python wheel. Such wheels ship + their shared libraries in a .libs directory that is located next to the package directory, and therefore falls + outside the purview of the collect_dynamic_libs() utility function. + + Args: + package_name: + Name of the package (e.g., scipy). + libdir_name: + Optional name of the .libs directory (e.g., scipy.libs). If not provided, ".libs" is added to + ``package_name``. + datas: + Optional list of datas to which collected data file entries are added. The combined result is retuned + as part of the output tuple. + binaries: + Optional list of binaries to which collected binaries entries are added. The combined result is retuned + as part of the output tuple. + + Returns: + tuple: A ``(datas, binaries)`` pair that should be assigned to the ``datas`` and ``binaries``, respectively. + + Examples: + Collect the ``scipy.libs`` delvewheel directory belonging to the Windows ``scipy`` wheel:: + + datas, binaries = collect_delvewheel_libs_directory("scipy") + + When the collected entries should be added to existing ``datas`` and ``binaries`` listst, the following form + can be used to avoid using intermediate temporary variables and merging those into existing lists:: + + datas, binaries = collect_delvewheel_libs_directory("scipy", datas=datas, binaries=binaries) + + .. versionadded:: 5.6 + """ + + datas = datas or [] + binaries = binaries or [] + + if libdir_name is None: + libdir_name = package_name + '.libs' + + # delvewheel is applicable only to Windows wheels + if not compat.is_win: + return datas, binaries + + # Get package's parent path + pkg_base, pkg_dir = get_package_paths(package_name) + pkg_base = Path(pkg_base) + libs_dir = pkg_base / libdir_name + + if not libs_dir.is_dir(): + return datas, binaries + + # Collect all dynamic libs - collect them as binaries in order to facilitate proper binary dependency analysis + # (for example, to ensure that system-installed VC runtime DLLs are collected, if needed). + # As of PyInstaller 5.4, this should be safe (should not result in duplication), because binary dependency + # analysis attempts to preserve the DLL directory structure. + binaries += [(str(dll_file), str(dll_file.parent.relative_to(pkg_base))) for dll_file in libs_dir.glob('*.dll')] + + # Collect the .load-order file; strictly speaking, this should be necessary only under python < 3.8, but let us + # collect it for completeness sake. Differently named variants have been observed: `.load_order`, `.load-order`, + # and `.load-order-Name`. + datas += [(str(load_order_file), str(load_order_file.parent.relative_to(pkg_base))) + for load_order_file in libs_dir.glob('.load[-_]order*')] + + return datas, binaries + + +if compat.is_pure_conda: + from PyInstaller.utils.hooks import conda as conda_support # noqa: F401 +elif compat.is_conda: + from PyInstaller.utils.hooks.conda import CONDA_META_DIR as _tmp + logger.warning( + "Assuming this is not an Anaconda environment or an additional venv/pipenv/... environment manager is being " + "used on top, because the conda-meta folder %s does not exist.", _tmp + ) + del _tmp diff --git a/.venv/Lib/site-packages/PyInstaller/utils/hooks/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/hooks/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..099255a Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/hooks/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/hooks/__pycache__/conda.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/hooks/__pycache__/conda.cpython-311.pyc new file mode 100644 index 0000000..43b3bfa Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/hooks/__pycache__/conda.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/hooks/__pycache__/django.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/hooks/__pycache__/django.cpython-311.pyc new file mode 100644 index 0000000..7b8c67c Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/hooks/__pycache__/django.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/hooks/__pycache__/gi.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/hooks/__pycache__/gi.cpython-311.pyc new file mode 100644 index 0000000..cfb715f Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/hooks/__pycache__/gi.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/hooks/__pycache__/setuptools.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/hooks/__pycache__/setuptools.cpython-311.pyc new file mode 100644 index 0000000..4df2c15 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/hooks/__pycache__/setuptools.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/hooks/__pycache__/tcl_tk.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/hooks/__pycache__/tcl_tk.cpython-311.pyc new file mode 100644 index 0000000..0700693 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/hooks/__pycache__/tcl_tk.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/hooks/conda.py b/.venv/Lib/site-packages/PyInstaller/utils/hooks/conda.py new file mode 100644 index 0000000..8848f43 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/hooks/conda.py @@ -0,0 +1,401 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# language=rst +""" +Additional helper methods for working specifically with Anaconda distributions are found at +:mod:`PyInstaller.utils.hooks.conda_support` +which is designed to mimic (albeit loosely) the `importlib.metadata`_ package. These functions find and parse the +distribution metadata from json files located in the ``conda-meta`` directory. + +.. versionadded:: 4.2.0 + +This module is available only if run inside a Conda environment. Usage of this module should therefore be wrapped in +a conditional clause:: + + from PyInstaller.compat import is_pure_conda + + if is_pure_conda: + from PyInstaller.utils.hooks import conda_support + + # Code goes here. e.g. + binaries = conda_support.collect_dynamic_libs("numpy") + ... + +Packages are all referenced by the *distribution name* you use to install it, rather than the *package name* you import +it with. I.e., use ``distribution("pillow")`` instead of ``distribution("PIL")`` or use ``package_distribution("PIL")``. +""" +from __future__ import annotations + +import fnmatch +import json +import pathlib +import sys +from typing import Iterable, List +from importlib.metadata import PackagePath as _PackagePath + +from PyInstaller import compat +from PyInstaller.log import logger + +# Conda virtual environments each get their own copy of `conda-meta` so the use of `sys.prefix` instead of +# `sys.base_prefix`, `sys.real_prefix` or anything from our `compat` module is intentional. +CONDA_ROOT = pathlib.Path(sys.prefix) +CONDA_META_DIR = CONDA_ROOT / "conda-meta" + +# Find all paths in `sys.path` that are inside Conda root. +PYTHONPATH_PREFIXES = [] +for _path in sys.path: + _path = pathlib.Path(_path) + try: + PYTHONPATH_PREFIXES.append(_path.relative_to(sys.prefix)) + except ValueError: + pass + +PYTHONPATH_PREFIXES.sort(key=lambda p: len(p.parts), reverse=True) + + +class Distribution: + """ + A bucket class representation of a Conda distribution. + + This bucket exports the following attributes: + + :ivar name: The distribution's name. + :ivar version: Its version. + :ivar files: All filenames as :meth:`PackagePath`\\ s included with this distribution. + :ivar dependencies: Names of other distributions that this distribution depends on (with version constraints + removed). + :ivar packages: Names of importable packages included in this distribution. + + This class is not intended to be constructed directly by users. Rather use :meth:`distribution` or + :meth:`package_distribution` to provide one for you. + """ + def __init__(self, json_path: str): + try: + self._json_path = pathlib.Path(json_path) + assert self._json_path.exists() + except (TypeError, AssertionError): + raise TypeError( + "Distribution requires a path to a conda-meta json. Perhaps you want " + "`distribution({})` instead?".format(repr(json_path)) + ) + + # Everything we need (including this distribution's name) is kept in the metadata json. + self.raw: dict = json.loads(self._json_path.read_text()) + + # Unpack the more useful contents of the json. + self.name: str = self.raw["name"] + self.version: str = self.raw["version"] + self.files = [PackagePath(i) for i in self.raw["files"]] + self.dependencies = self._init_dependencies() + self.packages = self._init_package_names() + + def __repr__(self): + return "{}(name=\"{}\", packages={})".format(type(self).__name__, self.name, self.packages) + + def _init_dependencies(self): + """ + Read dependencies from ``self.raw["depends"]``. + + :return: Dependent distribution names. + :rtype: list + + The names in ``self.raw["depends"]`` come with extra version constraint information which must be stripped. + """ + dependencies = [] + # For each dependency: + for dependency in self.raw["depends"]: + # ``dependency`` is a string of the form: "[name] [version constraints]" + name, *version_constraints = dependency.split(maxsplit=1) + dependencies.append(name) + return dependencies + + def _init_package_names(self): + """ + Search ``self.files`` for package names shipped by this distribution. + + :return: Package names. + :rtype: list + + These are names you would ``import`` rather than names you would install. + """ + packages = [] + for file in self.files: + package = _get_package_name(file) + if package is not None: + packages.append(package) + return packages + + @classmethod + def from_name(cls, name: str): + """ + Get distribution information for a given distribution **name** (i.e., something you would ``conda install``). + + :rtype: :class:`Distribution` + """ + if name in distributions: + return distributions[name] + raise ModuleNotFoundError( + "Distribution {} is either not installed or was not installed using Conda.".format(name) + ) + + @classmethod + def from_package_name(cls, name: str): + """ + Get distribution information for a **package** (i.e., something you would import). + + :rtype: :class:`Distribution` + + For example, the package ``pkg_resources`` belongs to the distribution ``setuptools``, which contains three + packages. + + >>> package_distribution("pkg_resources") + Distribution(name="setuptools", + packages=['easy_install', 'pkg_resources', 'setuptools']) + """ + if name in distributions_by_package: + return distributions_by_package[name] + raise ModuleNotFoundError("Package {} is either not installed or was not installed using Conda.".format(name)) + + +distribution = Distribution.from_name +package_distribution = Distribution.from_package_name + + +class PackagePath(_PackagePath): + """ + A filename relative to Conda's root (``sys.prefix``). + + This class inherits from :class:`pathlib.PurePosixPath` even on non-Posix OSs. To convert to a :class:`pathlib.Path` + pointing to the real file, use the :meth:`locate` method. + """ + def locate(self): + """ + Return a path-like object for this path pointing to the file's true location. + """ + return pathlib.Path(sys.prefix) / self + + +def walk_dependency_tree(initial: str, excludes: Iterable[str] | None = None): + """ + Collect a :class:`Distribution` and all direct and indirect dependencies of that distribution. + + Arguments: + initial: + Distribution name to collect from. + excludes: + Distributions to exclude. + Returns: + A ``{name: distribution}`` mapping where ``distribution`` is the output of + :func:`conda_support.distribution(name) `. + """ + if excludes is not None: + excludes = set(excludes) + + # Rather than use true recursion, mimic it with a to-do queue. + from collections import deque + done = {} + names_to_do = deque([initial]) + + while names_to_do: + # Grab a distribution name from the to-do list. + name = names_to_do.pop() + try: + # Collect and save it's metadata. + done[name] = distribution = Distribution.from_name(name) + logger.debug("Collected Conda distribution '%s', a dependency of '%s'.", name, initial) + except ModuleNotFoundError: + logger.warning( + "Conda distribution '%s', dependency of '%s', was not found. " + "If you installed this distribution with pip then you may ignore this warning.", name, initial + ) + continue + # For each dependency: + for _name in distribution.dependencies: + if _name in done: + # Skip anything already done. + continue + if _name == name: + # Avoid infinite recursion if a distribution depends on itself. This will probably never happen but I + # certainly would not chance it. + continue + if excludes is not None and _name in excludes: + # Do not recurse to excluded dependencies. + continue + names_to_do.append(_name) + return done + + +def _iter_distributions(name, dependencies, excludes): + if dependencies: + return walk_dependency_tree(name, excludes).values() + else: + return [Distribution.from_name(name)] + + +def requires(name: str, strip_versions: bool = False) -> List[str]: + """ + List requirements of a distribution. + + Arguments: + name: + The name of the distribution. + strip_versions: + List only their names, not their version constraints. + Returns: + A list of distribution names. + """ + if strip_versions: + return distribution(name).dependencies + return distribution(name).raw["depends"] + + +def files(name: str, dependencies: bool = False, excludes: list | None = None) -> List[PackagePath]: + """ + List all files belonging to a distribution. + + Arguments: + name: + The name of the distribution. + dependencies: + Recursively collect files of dependencies too. + excludes: + Distributions to ignore if **dependencies** is true. + Returns: + All filenames belonging to the given distribution. + + With ``dependencies=False``, this is just a shortcut for:: + + conda_support.distribution(name).files + """ + return [file for dist in _iter_distributions(name, dependencies, excludes) for file in dist.files] + + +if compat.is_win: + lib_dir = pathlib.PurePath("Library", "bin") +else: + lib_dir = pathlib.PurePath("lib") + + +def collect_dynamic_libs(name: str, dest: str = ".", dependencies: bool = True, excludes: Iterable[str] | None = None): + """ + Collect DLLs for distribution **name**. + + Arguments: + name: + The distribution's project-name. + dest: + Target destination, defaults to ``'.'``. + dependencies: + Recursively collect libs for dependent distributions (recommended). + excludes: + Dependent distributions to skip, defaults to ``None``. + Returns: + List of DLLs in PyInstaller's ``(source, dest)`` format. + + This collects libraries only from Conda's shared ``lib`` (Unix) or ``Library/bin`` (Windows) folders. To collect + from inside a distribution's installation use the regular :func:`PyInstaller.utils.hooks.collect_dynamic_libs`. + """ + DLL_SUFFIXES = ("*.dll", "*.dylib", "*.so", "*.so.*") + _files = [] + for file in files(name, dependencies, excludes): + # A file is classified as a dynamic library if: + # 1) it lives inside the dedicated ``lib_dir`` DLL folder. + # + # NOTE: `file` is an instance of `PackagePath`, which inherits from `pathlib.PurePosixPath` even on Windows. + # Therefore, it does not properly handle cases when metadata paths contain Windows-style separator, which does + # seem to be used on some Windows installations (see #9113). Therefore, cast `file` to `pathlib.PurePath` + # before comparing its parent to `lib_dir` (which should also be a `pathlib.PurePath`). + if pathlib.PurePath(file).parent != lib_dir: + continue + # 2) it is a file (and not a directory or a symbolic link pointing to a directory) + resolved_file = file.locate() + if not resolved_file.is_file(): + continue + # 3) has a correct suffix + if not any([resolved_file.match(suffix) for suffix in DLL_SUFFIXES]): + continue + + _files.append((str(resolved_file), dest)) + return _files + + +# --- Map packages to distributions and vice-versa --- + + +def _get_package_name(file: PackagePath): + """ + Determine the package name of a Python file in :data:`sys.path`. + + Arguments: + file: + A Python filename relative to Conda root (sys.prefix). + Returns: + Package name or None. + + This function only considers single file packages e.g. ``foo.py`` or top level ``foo/__init__.py``\\ s. + Anything else is ignored (returning ``None``). + """ + file = pathlib.Path(file) + # TODO: Handle PEP 420 namespace packages (which are missing `__init__` module). No such Conda PEP 420 namespace + # packages are known. + + # Get top-level folders by finding parents of `__init__.xyz`s + if file.stem == "__init__" and file.suffix in compat.ALL_SUFFIXES: + file = file.parent + elif file.suffix not in compat.ALL_SUFFIXES: + # Keep single-file packages but skip DLLs, data and junk files. + return + + # Check if this file/folder's parent is in ``sys.path`` i.e. it's directly importable. This intentionally excludes + # submodules which would cause confusion because ``sys.prefix`` is in ``sys.path``, meaning that every file in an + # Conda installation is a submodule. + for prefix in PYTHONPATH_PREFIXES: + if len(file.parts) != len(prefix.parts) + 1: + # This check is redundant but speeds it up quite a bit. + continue + # There are no wildcards involved here. The use of ``fnmatch`` is simply to handle the `if case-insensitive + # file system: use case-insensitive string matching.` + if fnmatch.fnmatch(str(file.parent), str(prefix)): + return file.stem + + +# All the information we want is organised the wrong way. + +# We want to look up distribution based on package names, but we can only search for packages using distribution names. +# And we would like to search for a distribution's json file, but, due to the noisy filenames of the jsons, we can only +# find a json's distribution rather than a distribution's json. + +# So we have to read everything, then regroup distributions in the ways we want them grouped. This will likely be a +# spectacular bottleneck on full-blown Conda (non miniconda) with 250+ packages by default at several GiBs. I suppose we +# could cache this on a per-json basis if it gets too much. + + +def _init_distributions(): + distributions = {} + for path in CONDA_META_DIR.glob("*.json"): + dist = Distribution(path) + distributions[dist.name] = dist + return distributions + + +distributions = _init_distributions() + + +def _init_packages(): + distributions_by_package = {} + for distribution in distributions.values(): + for package in distribution.packages: + distributions_by_package[package] = distribution + return distributions_by_package + + +distributions_by_package = _init_packages() diff --git a/.venv/Lib/site-packages/PyInstaller/utils/hooks/django.py b/.venv/Lib/site-packages/PyInstaller/utils/hooks/django.py new file mode 100644 index 0000000..5b8bdae --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/hooks/django.py @@ -0,0 +1,152 @@ +# ---------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +# ---------------------------------------------------------------------------- +import os + +from PyInstaller import isolated + + +@isolated.decorate +def django_dottedstring_imports(django_root_dir): + """ + An isolated helper that returns list of all Django dependencies, parsed from the `mysite.settings` module. + + NOTE: With newer version of Django this is most likely the part of PyInstaller that will be broken. + + Tested with Django 2.2 + """ + + import sys + import os + + import PyInstaller.utils.misc + from PyInstaller.utils import hooks as hookutils + + # Extra search paths to add to sys.path: + # - parent directory of the django_root_dir + # - django_root_dir itself; often, Django users do not specify absolute imports in the settings module. + search_paths = [ + PyInstaller.utils.misc.get_path_to_toplevel_modules(django_root_dir), + django_root_dir, + ] + sys.path += search_paths + + # Set the path to project's settings module + default_settings_module = os.path.basename(django_root_dir) + '.settings' + settings_module = os.environ.get('DJANGO_SETTINGS_MODULE', default_settings_module) + os.environ['DJANGO_SETTINGS_MODULE'] = settings_module + + # Calling django.setup() avoids the exception AppRegistryNotReady() and also reads the user settings + # from DJANGO_SETTINGS_MODULE. + # https://stackoverflow.com/questions/24793351/django-appregistrynotready + import django # noqa: E402 + + django.setup() + + # This allows to access all django settings even from the settings.py module. + from django.conf import settings # noqa: E402 + + hiddenimports = list(settings.INSTALLED_APPS) + + # Do not fail script when settings does not have such attributes. + if hasattr(settings, 'TEMPLATE_CONTEXT_PROCESSORS'): + hiddenimports += list(settings.TEMPLATE_CONTEXT_PROCESSORS) + + if hasattr(settings, 'TEMPLATE_LOADERS'): + hiddenimports += list(settings.TEMPLATE_LOADERS) + + hiddenimports += [settings.ROOT_URLCONF] + + def _remove_class(class_name): + return '.'.join(class_name.split('.')[0:-1]) + + #-- Changes in Django 1.7. + + # Remove class names and keep just modules. + if hasattr(settings, 'AUTHENTICATION_BACKENDS'): + for cl in settings.AUTHENTICATION_BACKENDS: + cl = _remove_class(cl) + hiddenimports.append(cl) + # Deprecated since 4.2, may be None until it is removed + cl = getattr(settings, 'DEFAULT_FILE_STORAGE', None) + if cl: + hiddenimports.append(_remove_class(cl)) + if hasattr(settings, 'FILE_UPLOAD_HANDLERS'): + for cl in settings.FILE_UPLOAD_HANDLERS: + cl = _remove_class(cl) + hiddenimports.append(cl) + if hasattr(settings, 'MIDDLEWARE_CLASSES'): + for cl in settings.MIDDLEWARE_CLASSES: + cl = _remove_class(cl) + hiddenimports.append(cl) + # Templates is a dict: + if hasattr(settings, 'TEMPLATES'): + for templ in settings.TEMPLATES: + backend = _remove_class(templ['BACKEND']) + hiddenimports.append(backend) + # Include context_processors. + if hasattr(templ, 'OPTIONS'): + if hasattr(templ['OPTIONS'], 'context_processors'): + # Context processors are functions - strip last word. + mods = templ['OPTIONS']['context_processors'] + mods = [_remove_class(x) for x in mods] + hiddenimports += mods + # Include database backends - it is a dict. + for v in settings.DATABASES.values(): + hiddenimports.append(v['ENGINE']) + + # Add templatetags and context processors for each installed app. + for app in settings.INSTALLED_APPS: + app_templatetag_module = app + '.templatetags' + app_ctx_proc_module = app + '.context_processors' + hiddenimports.append(app_templatetag_module) + hiddenimports += hookutils.collect_submodules(app_templatetag_module) + hiddenimports.append(app_ctx_proc_module) + + # Deduplicate imports. + hiddenimports = list(set(hiddenimports)) + + # Return the hidden imports + return hiddenimports + + +def django_find_root_dir(): + """ + Return path to directory (top-level Python package) that contains main django files. Return None if no directory + was detected. + + Main Django project directory contain files like '__init__.py', 'settings.py' and 'url.py'. + + In Django 1.4+ the script 'manage.py' is not in the directory with 'settings.py' but usually one level up. We + need to detect this special case too. + """ + # 'PyInstaller.config' cannot be imported as other top-level modules. + from PyInstaller.config import CONF + + # Get the directory with manage.py. Manage.py is supplied to PyInstaller as the first main executable script. + manage_py = CONF['main_script'] + manage_dir = os.path.dirname(os.path.abspath(manage_py)) + + # Get the Django root directory. The directory that contains settings.py and url.py. It could be the directory + # containing manage.py or any of its subdirectories. + settings_dir = None + files = set(os.listdir(manage_dir)) + if ('settings.py' in files or 'settings' in files) and 'urls.py' in files: + settings_dir = manage_dir + else: + for f in files: + if os.path.isdir(os.path.join(manage_dir, f)): + subfiles = os.listdir(os.path.join(manage_dir, f)) + # Subdirectory contains critical files. + if ('settings.py' in subfiles or 'settings' in subfiles) and 'urls.py' in subfiles: + settings_dir = os.path.join(manage_dir, f) + break # Find the first directory. + + return settings_dir diff --git a/.venv/Lib/site-packages/PyInstaller/utils/hooks/gi.py b/.venv/Lib/site-packages/PyInstaller/utils/hooks/gi.py new file mode 100644 index 0000000..9ae06ce --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/hooks/gi.py @@ -0,0 +1,457 @@ +# ---------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +# ---------------------------------------------------------------------------- +import os +import pathlib +import shutil +import subprocess +import hashlib +import re + +from PyInstaller.depend.utils import _resolveCtypesImports +from PyInstaller.utils.hooks import collect_submodules, collect_system_data_files, get_hook_config +from PyInstaller import isolated +from PyInstaller import log as logging +from PyInstaller import compat +from PyInstaller.depend.bindepend import findSystemLibrary + +logger = logging.getLogger(__name__) + + +class GiModuleInfo: + def __init__(self, module, version, hook_api=None): + self.name = module + self.version = version + self.available = False + self.sharedlibs = [] + self.typelib = None + self.dependencies = [] + + # If hook API is available, use it to override the version from hookconfig. + if hook_api is not None: + module_versions = get_hook_config(hook_api, 'gi', 'module-versions') + if module_versions: + self.version = module_versions.get(module, version) + + logger.debug("Gathering GI module info for %s %s", module, self.version) + + @isolated.decorate + def _get_module_info(module, version): + import gi + + # Ideally, we would use gi.Repository, which provides common abstraction for some of the functions we use in + # this codepath (e.g., `require`, `get_typelib_path`, `get_immediate_dependencies`). However, it lacks the + # `get_shared_library` function, which is why we are using "full" bindings via `gi.repository.GIRepository`. + # + # PyGObject 3.52.0 switched from girepository-1.0 to girepository-2.0, which means that GIRepository version + # has changed from 2.0 to 3.0 and some of the API has changed. + try: + gi.require_version("GIRepository", "3.0") + new_api = True + except ValueError: + gi.require_version("GIRepository", "2.0") + new_api = False + + from gi.repository import GIRepository + + # The old API had `get_default` method to obtain global singleton object; it was removed in the new API, + # which requires creation of separate GIRepository instances. + if new_api: + repo = GIRepository.Repository() + try: + repo.require(module, version, GIRepository.RepositoryLoadFlags.LAZY) + except ValueError: + return None # Module not available + + # The new API returns the list of shared libraries. + sharedlibs = repo.get_shared_libraries(module) + else: + repo = GIRepository.Repository.get_default() + try: + repo.require(module, version, GIRepository.RepositoryLoadFlags.IREPOSITORY_LOAD_FLAG_LAZY) + except ValueError: + return None # Module not available + + # Shared library/libraries + # Comma-separated list of paths to shared libraries, or None if none are associated. Convert to list. + sharedlibs = repo.get_shared_library(module) + sharedlibs = [lib.strip() for lib in sharedlibs.split(",")] if sharedlibs else [] + + # Path to .typelib file + typelib = repo.get_typelib_path(module) + + # Dependencies + # GIRepository.Repository.get_immediate_dependencies is available from gobject-introspection v1.44 on + if hasattr(repo, 'get_immediate_dependencies'): + dependencies = repo.get_immediate_dependencies(module) + else: + dependencies = repo.get_dependencies(module) + + return { + 'sharedlibs': sharedlibs, + 'typelib': typelib, + 'dependencies': dependencies, + } + + # Try to query information; if this fails, mark module as unavailable. + try: + info = _get_module_info(module, self.version) + if info is None: + logger.debug("GI module info %s %s not found.", module, self.version) + else: + logger.debug("GI module info %s %s found.", module, self.version) + self.sharedlibs = info['sharedlibs'] + self.typelib = info['typelib'] + self.dependencies = info['dependencies'] + self.available = True + except Exception as e: + logger.warning("Failed to query GI module %s %s: %s", module, self.version, e) + + def get_libdir(self): + """ + Return the path to shared library used by the module. If no libraries are associated with the typelib, None is + returned. If multiple library names are associated with the typelib, the path to the first resolved shared + library is returned. Raises exception if module is unavailable or none of the shared libraries could be + resolved. + """ + # Module unavailable + if not self.available: + raise ValueError(f"Module {self.name} {self.version} is unavailable!") + # Module has no associated shared libraries + if not self.sharedlibs: + return None + for lib in self.sharedlibs: + path = findSystemLibrary(lib) + if path: + return os.path.normpath(os.path.dirname(path)) + raise ValueError(f"Could not resolve any shared library of {self.name} {self.version}: {self.sharedlibs}!") + + def collect_typelib_data(self): + """ + Return a tuple of (binaries, datas, hiddenimports) to be used by PyGObject related hooks. + """ + datas = [] + binaries = [] + hiddenimports = [] + + logger.debug("Collecting module data for %s %s", self.name, self.version) + + # Module unavailable + if not self.available: + raise ValueError(f"Module {self.name} {self.version} is unavailable!") + + # Find shared libraries + resolved_libs = _resolveCtypesImports(self.sharedlibs) + for resolved_lib in resolved_libs: + logger.debug("Collecting shared library %s at %s", resolved_lib[0], resolved_lib[1]) + binaries.append((resolved_lib[1], ".")) + + # Find and collect .typelib file. Run it through the `gir_library_path_fix` to fix the library path, if + # necessary. + typelib_entry = gir_library_path_fix(self.typelib) + if typelib_entry: + logger.debug('Collecting gir typelib at %s', typelib_entry[0]) + datas.append(typelib_entry) + + # Overrides for the module + hiddenimports += collect_submodules('gi.overrides', lambda name: name.endswith('.' + self.name)) + + # Module dependencies + for dep in self.dependencies: + dep_module, _ = dep.rsplit('-', 1) + hiddenimports += [f'gi.repository.{dep_module}'] + + return binaries, datas, hiddenimports + + +# The old function, provided for backwards compatibility in 3rd party hooks. +def get_gi_libdir(module, version): + module_info = GiModuleInfo(module, version) + return module_info.get_libdir() + + +# The old function, provided for backwards compatibility in 3rd party hooks. +def get_gi_typelibs(module, version): + """ + Return a tuple of (binaries, datas, hiddenimports) to be used by PyGObject related hooks. Searches for and adds + dependencies recursively. + + :param module: GI module name, as passed to 'gi.require_version()' + :param version: GI module version, as passed to 'gi.require_version()' + """ + module_info = GiModuleInfo(module, version) + return module_info.collect_typelib_data() + + +def gir_library_path_fix(path): + import subprocess + + # 'PyInstaller.config' cannot be imported as other top-level modules. + from PyInstaller.config import CONF + + path = os.path.abspath(path) + + # On macOS we need to recompile the GIR files to reference the loader path, + # but this is not necessary on other platforms. + if compat.is_darwin: + + # If using a virtualenv, the base prefix and the path of the typelib + # have really nothing to do with each other, so try to detect that. + common_path = os.path.commonprefix([compat.base_prefix, path]) + if common_path == '/': + logger.debug("virtualenv detected? fixing the gir path...") + common_path = os.path.abspath(os.path.join(path, '..', '..', '..')) + + gir_path = os.path.join(common_path, 'share', 'gir-1.0') + + typelib_name = os.path.basename(path) + gir_name = os.path.splitext(typelib_name)[0] + '.gir' + + gir_file = os.path.join(gir_path, gir_name) + + if not os.path.exists(gir_path): + logger.error( + "Unable to find gir directory: %s.\nTry installing your platform's gobject-introspection package.", + gir_path + ) + return None + if not os.path.exists(gir_file): + logger.error( + "Unable to find gir file: %s.\nTry installing your platform's gobject-introspection package.", gir_file + ) + return None + + with open(gir_file, 'r', encoding='utf-8') as f: + lines = f.readlines() + # GIR files are `XML encoded `_, + # which means they are by definition encoded using UTF-8. + with open(os.path.join(CONF['workpath'], gir_name), 'w', encoding='utf-8') as f: + for line in lines: + if 'shared-library' in line: + split = re.split('(=)', line) + files = re.split('(["|,])', split[2]) + for count, item in enumerate(files): + if 'lib' in item: + files[count] = '@loader_path/' + os.path.basename(item) + line = ''.join(split[0:2]) + ''.join(files) + f.write(line) + + # g-ir-compiler expects a file so we cannot just pipe the fixed file to it. + command = subprocess.Popen(( + 'g-ir-compiler', os.path.join(CONF['workpath'], gir_name), + '-o', os.path.join(CONF['workpath'], typelib_name) + )) # yapf: disable + command.wait() + + return os.path.join(CONF['workpath'], typelib_name), 'gi_typelibs' + else: + return path, 'gi_typelibs' + + +@isolated.decorate +def get_glib_system_data_dirs(): + import gi + gi.require_version('GLib', '2.0') + from gi.repository import GLib + return GLib.get_system_data_dirs() + + +def get_glib_sysconf_dirs(): + """ + Try to return the sysconf directories (e.g., /etc). + """ + if compat.is_win: + # On Windows, if you look at gtkwin32.c, sysconfdir is actually relative to the location of the GTK DLL. Since + # that is what we are actually interested in (not the user path), we have to do that the hard way... + return [os.path.join(get_gi_libdir('GLib', '2.0'), 'etc')] + + @isolated.call + def data_dirs(): + import gi + gi.require_version('GLib', '2.0') + from gi.repository import GLib + return GLib.get_system_config_dirs() + + return data_dirs + + +def collect_glib_share_files(*path): + """ + Path is relative to the system data directory (e.g., /usr/share). + """ + glib_data_dirs = get_glib_system_data_dirs() + if glib_data_dirs is None: + return [] + + destdir = os.path.join('share', *path) + + # TODO: will this return too much? + collected = [] + for data_dir in glib_data_dirs: + p = os.path.join(data_dir, *path) + collected += collect_system_data_files(p, destdir=destdir, include_py_files=False) + + return collected + + +def collect_glib_etc_files(*path): + """ + Path is relative to the system config directory (e.g., /etc). + """ + glib_config_dirs = get_glib_sysconf_dirs() + if glib_config_dirs is None: + return [] + + destdir = os.path.join('etc', *path) + + # TODO: will this return too much? + collected = [] + for config_dir in glib_config_dirs: + p = os.path.join(config_dir, *path) + collected += collect_system_data_files(p, destdir=destdir, include_py_files=False) + + return collected + + +_glib_translations = None + + +def collect_glib_translations(prog, lang_list=None): + """ + Return a list of translations in the system locale directory whose names equal prog.mo. + """ + global _glib_translations + if _glib_translations is None: + if lang_list is not None: + trans = [] + for lang in lang_list: + trans += collect_glib_share_files(os.path.join("locale", lang)) + _glib_translations = trans + else: + _glib_translations = collect_glib_share_files('locale') + + names = [os.sep + prog + '.mo', os.sep + prog + '.po'] + namelen = len(names[0]) + + return [(src, dst) for src, dst in _glib_translations if src[-namelen:] in names] + + +# Not a hook utility function per-se (used by main Analysis class), but kept here to have all GLib/GObject functions +# in one place... +def compile_glib_schema_files(datas_toc, workdir, collect_source_files=False): + """ + Compile collected GLib schema files. Extracts the list of GLib schema files from the given input datas TOC, copies + them to temporary working directory, and compiles them. The resulting `gschemas.compiled` file is added to the + output TOC, replacing any existing entry with that name. If `collect_source_files` flag is set, the source XML + schema files are also (re)added to the output TOC; by default, they are not. This function is no-op (returns the + original TOC) if no GLib schemas are found in TOC or if `glib-compile-schemas` executable is not found in `PATH`. + """ + SCHEMA_DEST_DIR = pathlib.PurePath("share/glib-2.0/schemas") + workdir = pathlib.Path(workdir) + + schema_files = [] + output_toc = [] + for toc_entry in datas_toc: + dest_name, src_name, typecode = toc_entry + dest_name = pathlib.PurePath(dest_name) + src_name = pathlib.PurePath(src_name) + + # Pass-through for non-schema files, identified based on the destination directory. + if dest_name.parent != SCHEMA_DEST_DIR: + output_toc.append(toc_entry) + continue + + # It seems schemas directory contains different files with different suffices: + # - .gschema.xml + # - .schema.override + # - .enums.xml + # To avoid omitting anything, simply collect everything into temporary directory. + # Exemptions are gschema.dtd (which should be unnecessary) and gschemas.compiled (which we will generate + # ourselves in this function). + if src_name.name in {"gschema.dtd", "gschemas.compiled"}: + continue + + schema_files.append(src_name) + + # If there are no schema files available, simply return the input datas TOC. + if not schema_files: + return datas_toc + + # Ensure that `glib-compile-schemas` executable is in PATH, just in case... + schema_compiler_exe = shutil.which('glib-compile-schemas') + if not schema_compiler_exe: + logger.warning("GLib schema compiler (glib-compile-schemas) not found! Skipping GLib schema recompilation...") + return datas_toc + + # If `gschemas.compiled` file already exists in the temporary working directory, record its modification time and + # hash. This will allow us to restore the modification time on the newly-compiled copy, if the latter turns out + # to be identical to the existing old one. Just in case, if the file becomes subject to timestamp-based caching + # mechanism. + compiled_file = workdir / "gschemas.compiled" + old_compiled_file_hash = None + old_compiled_file_stat = None + + if compiled_file.is_file(): + # Record creation/modification time + old_compiled_file_stat = compiled_file.stat() + # Compute SHA1 hash; since compiled schema files are relatively small, do it in single step. + old_compiled_file_hash = hashlib.sha1(compiled_file.read_bytes()).digest() + + # Ensure that temporary working directory exists, and is empty. + if workdir.exists(): + shutil.rmtree(workdir) + workdir.mkdir(exist_ok=True) + + # Copy schema (source) files to temporary working directory + for schema_file in schema_files: + shutil.copy(schema_file, workdir) + + # Compile. The glib-compile-schema might produce warnings on its own (e.g., schemas using deprecated paths, or + # overrides for non-existent keys). Since these are non-actionable, capture and display them only as a DEBUG + # message, or as a WARNING one if the command fails. + logger.info("Compiling collected GLib schema files in %r...", str(workdir)) + try: + cmd_args = [schema_compiler_exe, str(workdir), '--targetdir', str(workdir)] + p = subprocess.run( + cmd_args, + stdin=subprocess.DEVNULL, + stdout=subprocess.PIPE, + stderr=subprocess.STDOUT, + check=True, + errors='ignore', + encoding='utf-8', + ) + logger.debug("Output from glib-compile-schemas:\n%s", p.stdout) + except subprocess.CalledProcessError as e: + # The called glib-compile-schema returned error. Display stdout/stderr, and return original datas TOC to + # minimize damage. + logger.warning("Failed to recompile GLib schemas! Returning collected files as-is!", exc_info=True) + logger.warning("Output from glib-compile-schemas:\n%s", e.stdout) + return datas_toc + except Exception: + # Compilation failed for whatever reason. Return original datas TOC to minimize damage. + logger.warning("Failed to recompile GLib schemas! Returning collected files as-is!", exc_info=True) + return datas_toc + + # Compute the checksum of the new compiled file, and if it matches the old checksum, restore the modification time. + if old_compiled_file_hash is not None: + new_compiled_file_hash = hashlib.sha1(compiled_file.read_bytes()).digest() + if new_compiled_file_hash == old_compiled_file_hash: + os.utime(compiled_file, ns=(old_compiled_file_stat.st_atime_ns, old_compiled_file_stat.st_mtime_ns)) + + # Add the resulting gschemas.compiled file to the output TOC + output_toc.append((str(SCHEMA_DEST_DIR / compiled_file.name), str(compiled_file), "DATA")) + + # Include source schema files in the output TOC (optional) + if collect_source_files: + for schema_file in schema_files: + output_toc.append((str(SCHEMA_DEST_DIR / schema_file.name), str(schema_file), "DATA")) + + return output_toc diff --git a/.venv/Lib/site-packages/PyInstaller/utils/hooks/qt/__init__.py b/.venv/Lib/site-packages/PyInstaller/utils/hooks/qt/__init__.py new file mode 100644 index 0000000..fbefbe3 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/hooks/qt/__init__.py @@ -0,0 +1,1427 @@ +# ---------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +import glob +import os +import pathlib +import re + +from PyInstaller import compat +from PyInstaller import isolated +from PyInstaller import log as logging +from PyInstaller.depend import bindepend +from PyInstaller.utils import hooks, misc +from PyInstaller.utils.hooks.qt import _modules_info + +logger = logging.getLogger(__name__) + +# Qt deployment approach +# ---------------------- +# This is the core of PyInstaller's approach to Qt deployment. It is based on: +# +# - Discovering the location of Qt libraries by introspection, using QtLibraryInfo_. This provides compatibility with +# many variants of Qt5/6 (conda, self-compiled, provided by a Linux distro, etc.) and many versions of Qt5/6, all of +# which vary in the location of Qt files. +# +# - Placing all frozen PyQt5/6 or PySide2/6 Qt files in a standard subdirectory layout, which matches the layout of the +# corresponding wheel on PyPI. This is necessary to support Qt installs which are not in a subdirectory of the PyQt5/6 +# or PySide2/6 wrappers. See ``hooks/rthooks/pyi_rth_qt5.py`` for the use of environment variables to establish this +# layout. +# +# - Emitting warnings on missing QML and translation files which some installations do not have. +# +# - Determining additional files needed for deployment based on the information in the centralized Qt module information +# list in the ``_modules_info`` module. This includes plugins and translation files associated with each Qt python +# extension module, as well as additional python Qt extension modules. +# +# - Collecting additional files that are specific to each module and are handled separately, for example: +# +# - For dynamic OpenGL applications, the ``libEGL.dll``, ``libGLESv2.dll``, ``d3dcompiler_XX.dll`` (the XX is a +# version number), and ``opengl32sw.dll`` libraries need to be collected on Windows. This is handled by the +# "base" bindings hook, for example ``hook-PyQt5.py``. +# +# - If Qt was configured to use ICU, the ``icudtXX.dll``, ``icuinXX.dll``, and ``icuucXX.dll`` libraries need to +# be collected on Windows. This is handled by the "base" bindings hook, for example ``hook-PyQt5.py``. +# +# - Per the `Deploying QML Applications `_ page, QML-based +# applications need the ``qml/`` directory available. This is handled by ``QtQuick`` hook, for example +# ``hook-PyQt5.QtQuick.py``. +# +# - For ``QtWebEngine``-based applications, we follow the `deployWebEngineCore +# `_ +# function copies the following files from ``resources/``, and also copies the web engine process executable. +# - ``icudtl.dat`` +# - ``qtwebengine_devtools_resources.pak`` +# - ``qtwebengine_resources.pak`` +# - ``qtwebengine_resources_100p.pak`` +# - ``qtwebengine_resources_200p.pak`` +# +# This is handled by the ``QtWebEngineCore`` hook, for example ``hook-PyQt5.QtWebEngineCore.py``. +# +# For details and references, see the `original write-up +# `_ +# and the documentation in the ``_modules_info`` module. + + +# QtModuleInfo +# ------------ +# This class contains information about python module (extension), its corresponding Qt module (shared library), and +# associated plugins and translations. It is used within QtLibraryInfo_ to establish name-based mappings for file +# collection. +class QtModuleInfo: + def __init__(self, module, shared_lib=None, translations=None, plugins=None): + # Python module (extension) name without package namespace. For example, `QtCore`. + # Can be None if python bindings do not bind the module, but we still need to establish relationship between + # the Qt module (shared library) and its plugins and translations. + self.module = module + # Associated Qt module (shared library), if any. Used during recursive dependency analysis, where a python + # module (extension) is analyzed for linked Qt modules (shared libraries), and then their corresponding + # python modules (extensions) are added to hidden imports. For example, the Qt module name is `Qt5Core` or + # `Qt6Core`, depending on the Qt version. Can be None for python modules that are not tied to a particular + # Qt shared library (for example, the corresponding Qt module is headers-only) and hence they cannot be + # inferred from recursive link-time dependency analysis. + self.shared_lib = shared_lib + # List of base names of translation files (if any) associated with the Qt module. Multiple base names may be + # associated with a single module. + # For example, `['qt', 'qtbase']` for `QtCore` or `['qtmultimedia']` for `QtMultimedia`. + self.translations = translations or [] + # List of plugins associated with the Qt module. + self.plugins = plugins or [] + + def __repr__(self): + return f"(module={self.module!r}, shared_lib={self.shared_lib!r}, " \ + f"translations={self.translations!r}, plugins={self.plugins!r}" + + +# QtLibraryInfo +# -------------- +# This class uses introspection to determine the location of Qt files. This is essential to deal with the many variants +# of the PyQt5/6 and PySide2/6 package, each of which places files in a different location. Therefore, this class +# provides all location-related members of `QLibraryInfo `_. +class QtLibraryInfo: + def __init__(self, namespace): + if namespace not in ['PyQt5', 'PyQt6', 'PySide2', 'PySide6']: + raise Exception('Invalid namespace: {0}'.format(namespace)) + self.namespace = namespace + # Distinction between PyQt5/6 and PySide2/6 + self.is_pyqt = namespace in {'PyQt5', 'PyQt6'} + # Distinction between Qt5 and Qt6 + self.qt_major = 6 if namespace in {'PyQt6', 'PySide6'} else 5 + # Determine relative path where Qt libraries and data need to be collected in the frozen application. This + # varies between PyQt5/PyQt6/PySide2/PySide6, their versions, and platforms. NOTE: it is tempting to consider + # deriving this path as simply the value of QLibraryInfo.PrefixPath, taken relative to the package's root + # directory. However, we also need to support non-wheel deployments (e.g., with Qt installed in custom path on + # Windows, or with Qt and PyQt5 installed on linux using native package manager), and in those, the Qt + # PrefixPath does not reflect the required relative target path for the frozen application. + if namespace == 'PyQt5': + if self._use_new_layout("PyQt5", "5.15.4", False): + self.qt_rel_dir = os.path.join('PyQt5', 'Qt5') + else: + self.qt_rel_dir = os.path.join('PyQt5', 'Qt') + elif namespace == 'PyQt6': + if self._use_new_layout("PyQt6", "6.0.3", True): + self.qt_rel_dir = os.path.join('PyQt6', 'Qt6') + else: + self.qt_rel_dir = os.path.join('PyQt6', 'Qt') + elif namespace == 'PySide2': + # PySide2 uses PySide2/Qt on linux and macOS, and PySide2 on Windows + if compat.is_win: + self.qt_rel_dir = 'PySide2' + else: + self.qt_rel_dir = os.path.join('PySide2', 'Qt') + else: + # PySide6 follows the same logic as PySide2 + if compat.is_win: + self.qt_rel_dir = 'PySide6' + else: + self.qt_rel_dir = os.path.join('PySide6', 'Qt') + + # Process module information list to construct python-module-name -> info and shared-lib-name -> info mappings. + self._load_module_info() + + def __repr__(self): + return f"QtLibraryInfo({self.namespace})" + + # Delay initialization of the Qt library information until the corresponding attributes are first requested. + def __getattr__(self, name): + if 'version' in self.__dict__: + # Initialization was already done, but requested attribute is not available. + raise AttributeError(name) + + # Load Qt library info... + self._load_qt_info() + # ... and return the requested attribute + return getattr(self, name) + + # Check whether we must use the new layout (e.g. PyQt5/Qt5, PyQt6/Qt6) instead of the old layout (PyQt5/Qt, + # PyQt6/Qt). + @staticmethod + def _use_new_layout(package_basename: str, version: str, fallback_value: bool) -> bool: + # The PyQt wheels come in both non-commercial and commercial variants. So we need to check if a particular + # variant is installed before testing its version. + if hooks.check_requirement(package_basename): + return hooks.check_requirement(f"{package_basename} >= {version}") + if hooks.check_requirement(f"{package_basename}_commercial"): + return hooks.check_requirement(f"{package_basename}_commercial >= {version}") + return fallback_value + + # Load Qt information (called on first access to related fields) + def _load_qt_info(self): + """ + Load and process Qt library information. Called on the first access to the related attributes of the class + (e.g., `version` or `location`). + """ + + # Ensure self.version exists, even if PyQt{5,6}/PySide{2,6} cannot be imported. Hooks and util functions use + # `if .version` to check whether package was imported and other attributes are expected to be available. + # This also serves as a marker that initialization was already done. + self.version = None + + # Get library path information from Qt. See QLibraryInfo_. + @isolated.decorate + def _read_qt_library_info(package): + import os + import sys + import importlib + + # Import the Qt-based package + # equivalent to: from package.QtCore import QLibraryInfo, QCoreApplication + try: + QtCore = importlib.import_module('.QtCore', package) + except ModuleNotFoundError: + return None # Signal that package is unavailable + QLibraryInfo = QtCore.QLibraryInfo + QCoreApplication = QtCore.QCoreApplication + + # QLibraryInfo is not always valid until a QCoreApplication is instantiated. + app = QCoreApplication(sys.argv) # noqa: F841 + + # Qt6 deprecated QLibraryInfo.location() in favor of QLibraryInfo.path(), and + # QLibraryInfo.LibraryLocation enum was replaced by QLibraryInfo.LibraryPath. + if hasattr(QLibraryInfo, 'path'): + # Qt6; enumerate path enum values directly from the QLibraryInfo.LibraryPath enum. + path_names = [x for x in dir(QLibraryInfo.LibraryPath) if x.endswith('Path')] + location = {x: QLibraryInfo.path(getattr(QLibraryInfo.LibraryPath, x)) for x in path_names} + else: + # Qt5; in recent versions, location enum values can be enumeratd from QLibraryInfo.LibraryLocation. + # However, in older versions of Qt5 and its python bindings, that is unavailable. Hence the + # enumeration of "*Path"-named members of QLibraryInfo. + path_names = [x for x in dir(QLibraryInfo) if x.endswith('Path')] + location = {x: QLibraryInfo.location(getattr(QLibraryInfo, x)) for x in path_names} + + # Determine the python-based package location, by looking where the QtCore module is located. + package_location = os.path.dirname(QtCore.__file__) + + # Determine Qt version. Works for Qt 5.8 and later, where QLibraryInfo.version() was introduced. + try: + version = QLibraryInfo.version().segments() + except AttributeError: + version = [] + + return { + 'is_debug_build': QLibraryInfo.isDebugBuild(), + 'version': version, + 'location': location, + 'package_location': package_location, + } + + try: + qt_info = _read_qt_library_info(self.namespace) + except Exception as e: + logger.warning("%s: failed to obtain Qt library info: %s", self, e) + return + + # If package could not be imported, `_read_qt_library_info` returns None. In such cases, emit a debug message + # instead of a warning, because this initialization might be triggered by a helper function that is trying to + # determine availability of bindings by inspecting the `version` attribute of `QtLibraryInfo` for all bindings. + if qt_info is None: + logger.debug("%s: failed to obtain Qt library info: %s.QtCore could not be imported.", self, self.namespace) + return + + for k, v in qt_info.items(): + setattr(self, k, v) + + # Turn package_location into pathlib.Path(), and fully resolve it. + self.package_location = pathlib.Path(self.package_location).resolve() + + # Determine if the Qt is bundled with python package itself; this usually means we are dealing with with PyPI + # wheels. + resolved_qt_prefix_path = pathlib.Path(self.location['PrefixPath']).resolve() + self.qt_inside_package = ( + self.package_location == resolved_qt_prefix_path or # PySide2 and PySide6 Windows PyPI wheels + self.package_location in resolved_qt_prefix_path.parents + ) + + # Determine directory that contains Qt shared libraries. On non-Windows, this is typically location given by + # `LibrariesPath`. On Windows, it is usually `BinariesPath`, except for PySide PyPI wheels, where DLLs are + # placed in top-level `PrefixPath`. + if compat.is_win: + if self.qt_inside_package and not self.is_pyqt: + # Windows PyPI wheel + qt_lib_dir = self.location['PrefixPath'] + else: + qt_lib_dir = self.location['BinariesPath'] + else: + qt_lib_dir = self.location['LibrariesPath'] + self.qt_lib_dir = pathlib.Path(qt_lib_dir).resolve() + + # Module information list loading/processing + def _load_module_info(self): + """ + Process the Qt modules info definition list and construct two dictionaries: + - dictionary that maps Qt python module names to Qt module info entries + - dictionary that maps shared library names to Qt module info entries + """ + + self.python_modules = dict() + self.shared_libraries = dict() + + for entry in _modules_info.QT_MODULES_INFO: + # If entry specifies applicable bindings, check them + if entry.bindings: + applicable_bindings = _modules_info.process_namespace_strings(entry.bindings) + if self.namespace not in applicable_bindings: + continue + + # Create a QtModuleInfo entry + info_entry = QtModuleInfo( + module=entry.module, + shared_lib=f"Qt{self.qt_major}{entry.shared_lib}" if entry.shared_lib else None, + translations=entry.translations, + plugins=entry.plugins + ) + + # If we have python module (extension) name, create python-module-name -> info mapping. + if info_entry.module is not None: + self.python_modules[info_entry.module] = info_entry + + # If we have Qt module (shared library) name, create shared-lib-name -> info mapping. + if info_entry.shared_lib is not None: + self.shared_libraries[info_entry.shared_lib.lower()] = info_entry + + def _normalize_shared_library_name(self, filename): + """ + Normalize a shared library name into common form that we can use for look-ups and comparisons. + Primarily intended for Qt shared library names. + """ + + # Take base name, remove suffix, and lower case it. + lib_name = os.path.splitext(os.path.basename(filename))[0].lower() + # Linux libraries sometimes have a dotted version number -- ``libfoo.so.3``. It is now ''libfoo.so``, + # but the ``.so`` must also be removed. + if compat.is_linux and os.path.splitext(lib_name)[1] == '.so': + lib_name = os.path.splitext(lib_name)[0] + # Remove the "lib" prefix (Linux, macOS). + if lib_name.startswith('lib'): + lib_name = lib_name[3:] + # macOS: handle different naming schemes. PyPI wheels ship framework-enabled Qt builds, where shared + # libraries are part of .framework bundles (e.g., ``PyQt5/Qt5/lib/QtCore.framework/Versions/5/QtCore``). + # In Anaconda (Py)Qt installations, the shared libraries are installed in environment's library directory, + # and contain versioned extensions, e.g., ``libQt5Core.5.dylib``. + if compat.is_darwin: + if lib_name.startswith('qt') and not lib_name.startswith('qt' + str(self.qt_major)): + # Qt library from a framework bundle (e.g., ``QtCore``); change prefix from ``qt`` to ``qt5`` or + # ``qt6`` to match names in Windows/Linux. + lib_name = 'qt' + str(self.qt_major) + lib_name[2:] + if lib_name.endswith('.' + str(self.qt_major)): + # Qt library from Anaconda, which originally had versioned extension, e.g., ``libfoo.5.dynlib``. + # The above processing turned it into ``foo.5``, so we need to remove the last two characters. + lib_name = lib_name[:-2] + + # Handle cases with QT_LIBINFIX set to '_conda', i.e. conda-forge builds. + if lib_name.endswith('_conda'): + lib_name = lib_name[:-6] + + return lib_name + + # Collection + def collect_module(self, module_name): + """ + Collect all dependencies (hiddenimports, binaries, datas) for the given Qt python module. + + This function performs recursive analysis of extension module's link-time dependencies, and uses dictionaries + built by `_load_module_info` to discover associated plugin types, translation file base names, and hidden + imports that need to be collected. + """ + + # Accumulate all dependencies in a set to avoid duplicates. + hiddenimports = set() + translation_base_names = set() + plugin_types = set() + + # Exit if the requested library cannot be imported. + # NOTE: self..version can be empty list on older Qt5 versions (#5381). + if self.version is None: + return [], [], [] + + logger.debug('%s: processing module %s...', self, module_name) + + # Look up the associated Qt module information by python module name. + # This allows us to collect associated module data directly, even if there is no associated shared library + # (e.g., header-only Qt module, or statically-built one). + short_module_name = module_name.split('.', 1)[-1] # PySide2.QtModule -> QtModule + if short_module_name in self.python_modules: + qt_module_info = self.python_modules[short_module_name] + + # NOTE: no need to add a hiddenimport here, because this is the module under consideration. + + # Add plugins + plugin_types.update(qt_module_info.plugins) + + # Add translation base name(s) + translation_base_names.update(qt_module_info.translations) + + # Find the actual module extension file. + module_file = hooks.get_module_file_attribute(module_name) + + # Additional search path for shared library resolution. This is mostly required for library resolution on + # Windows (Linux and macOS binaries use run paths to find Qt libs). + qtlib_search_paths = [ + # For PyQt5 and PyQt6 wheels, shared libraries should be in BinariesPath, while for PySide2 and PySide6, + # they should be in PrefixPath. + self.location['BinariesPath' if self.is_pyqt else 'PrefixPath'], + ] + + # Walk through all the link-time dependencies of a dynamically-linked library (``.so``/``.dll``/``.dylib``). + imported_libraries = bindepend.get_imports(module_file, qtlib_search_paths) + while imported_libraries: + imported_lib_name, imported_lib_path = imported_libraries.pop() # (name, fullpath) tuple + + # Skip unresolved libraries + if imported_lib_path is None: + logger.debug("%s: ignoring unresolved library import %r", self, imported_lib_name) + continue + + # Normalize the shared library name + lib_name = self._normalize_shared_library_name(imported_lib_path) + logger.debug( + '%s: imported library %r, full path %r -> parsed name %r.', self, imported_lib_name, imported_lib_path, + lib_name + ) + + # PySide2 and PySide6 on linux seem to link all extension modules against libQt5Core, libQt5Network, and + # libQt5Qml (or their libQt6* equivalents). While the first two are reasonable, the libQt5Qml dependency + # pulls in whole QtQml module, along with its data and plugins, which in turn pull in several other Qt + # libraries, greatly inflating the bundle size (see #6447). + # + # Similarly, some extension modules (QtWebChannel, QtWebEngine*) seem to be also linked against libQt5Qml, + # even when the module can be used without having the whole QtQml module collected. + # + # Therefore, we explicitly prevent inclusion of QtQml based on the dynamic library dependency, except for + # QtQml* and QtQuick* modules, whose use directly implies the use of QtQml. + if lib_name in ("qt5qml", "qt6qml"): + if not short_module_name.startswith(('QtQml', 'QtQuick')): + logger.debug('%s: ignoring imported library %r.', self, lib_name) + continue + + # Use the parsed library name to look up associated Qt module information. + if lib_name in self.shared_libraries: + logger.debug('%s: collecting Qt module associated with %r.', self, lib_name) + + # Look up associated module info + qt_module_info = self.shared_libraries[lib_name] + + # If there is a python extension module associated with Qt module, add it to hiddenimports. Since this + # means that we (most likely) have a hook available for that module, we can avoid analyzing the shared + # library itself (i.e., stop the recursive analysis), because this will be done by the corresponding + # hook. + if qt_module_info.module: + if qt_module_info.module == short_module_name: + # The one exception is if we are analyzing shared library associated with the input module; in + # that case, avoid adding a hidden import and analyze the library's link-time dependencies. We + # do not need to worry about plugins and translations for this particular module, because those + # have been handled at the beginning of this function. + imported_libraries.update(bindepend.get_imports(imported_lib_path, qtlib_search_paths)) + else: + hiddenimports.add(self.namespace + "." + qt_module_info.module) + continue + + # Add plugins + plugin_types.update(qt_module_info.plugins) + + # Add translation base name(s) + translation_base_names.update(qt_module_info.translations) + + # Analyze the linked shared libraries for its dependencies (recursive analysis). + imported_libraries.update(bindepend.get_imports(imported_lib_path, qtlib_search_paths)) + + # Collect plugin files. + binaries = [] + for plugin_type in plugin_types: + binaries += self.collect_plugins(plugin_type) + + # Collect translation files. + datas = [] + translation_src = self.location['TranslationsPath'] + translation_dst = os.path.join(self.qt_rel_dir, 'translations') + + for translation_base_name in translation_base_names: + # Not all PyQt5 installations include translations. See + # https://github.com/pyinstaller/pyinstaller/pull/3229#issuecomment-359479893 + # and + # https://github.com/pyinstaller/pyinstaller/issues/2857#issuecomment-368744341. + translation_pattern = os.path.join(translation_src, translation_base_name + '_*.qm') + translation_files = glob.glob(translation_pattern) + if translation_files: + datas += [(translation_file, translation_dst) for translation_file in translation_files] + else: + logger.warning( + '%s: could not find translations with base name %r! These translations will not be collected.', + self, translation_base_name + ) + + # Convert hiddenimports to a list. + hiddenimports = list(hiddenimports) + + logger.debug( + '%s: dependencies for %s:\n' + ' hiddenimports = %r\n' + ' binaries = %r\n' + ' datas = %r', self, module_name, hiddenimports, binaries, datas + ) + + return hiddenimports, binaries, datas + + @staticmethod + def _filter_release_plugins(plugin_files): + """ + Filter the provided list of Qt plugin files and remove the debug variants, under the assumption that both the + release version of a plugin (qtplugin.dll) and its debug variant (qtplugind.dll) appear in the list. + """ + # All basenames for lookup + plugin_basenames = {os.path.normcase(os.path.basename(f)) for f in plugin_files} + # Process all given filenames + release_plugin_files = [] + for plugin_filename in plugin_files: + plugin_basename = os.path.normcase(os.path.basename(plugin_filename)) + if plugin_basename.endswith('d.dll'): + # If we can find a variant without trailing 'd' in the plugin list, then the DLL we are dealing with is + # a debug variant and needs to be excluded. + release_name = os.path.splitext(plugin_basename)[0][:-1] + '.dll' + if release_name in plugin_basenames: + continue + release_plugin_files.append(plugin_filename) + return release_plugin_files + + def collect_plugins(self, plugin_type): + """ + Collect all plugins of the specified type from the Qt plugin directory. + + Returns list of (src, dst) tuples. + """ + # Ensure plugin directory exists + plugin_src_dir = self.location['PluginsPath'] + if not os.path.isdir(plugin_src_dir): + raise Exception(f"Qt plugin directory '{plugin_src_dir}' does not exist!") + + # Collect all shared lib files in plugin type (sub)directory + plugin_files = misc.dlls_in_dir(os.path.join(plugin_src_dir, plugin_type)) + + # Windows: + # + # dlls_in_dir() grabs all files ending with ``*.dll``, ``*.so`` and ``*.dylib`` in a certain directory. On + # Windows this would grab debug copies of Qt plugins, which then causes PyInstaller to add a dependency on the + # Debug CRT *in addition* to the release CRT. + if compat.is_win: + plugin_files = self._filter_release_plugins(plugin_files) + + logger.debug("%s: found plugin files for plugin type %r: %r", self, plugin_type, plugin_files) + + plugin_dst_dir = os.path.join(self.qt_rel_dir, 'plugins', plugin_type) + + # Exclude plugins with invalid Qt dependencies. + binaries = [] + for plugin_file in plugin_files: + valid, reason = self._validate_plugin_dependencies(plugin_file) + if valid: + binaries.append((plugin_file, plugin_dst_dir)) + else: + logger.debug("%s: excluding plugin %r (%r)! Reason: %s", self, plugin_file, plugin_type, reason) + return binaries + + def _validate_plugin_dependencies(self, plugin_file): + """ + Validate Qt dependencies of the given Qt plugin file. For the plugin to pass validation, all its Qt dependencies + must be available (resolvable), and must be resolvable from the default Qt shared library directory (to avoid + pulling in libraries from unrelated Qt installations that happen to be in search path). + """ + + imported_libraries = bindepend.get_imports(plugin_file, search_paths=[self.qt_lib_dir]) + for imported_lib_name, imported_lib_path in imported_libraries: + # Parse/normalize the (unresolved) library name, to determine if dependency is a Qt shared library. If not, + # skip the validation. + lib_name = self._normalize_shared_library_name(imported_lib_name) + if not lib_name.startswith(f"qt{self.qt_major}"): + continue + + if imported_lib_path is None: + return False, f"Missing Qt dependency {imported_lib_name!r}." + + imported_lib_path = pathlib.Path(imported_lib_path).resolve() + if self.qt_lib_dir not in imported_lib_path.parents: + return ( + False, + f"Qt dependency {imported_lib_name!r} ({str(imported_lib_path)!r}) has been resolved outside of " + f"the Qt shared library directory ({str(self.qt_lib_dir)!r})." + ) + + return True, None + + def _collect_all_or_none(self, mandatory_dll_patterns, optional_dll_patterns=None): + """ + Try to find Qt DLLs from the specified mandatory pattern list. If all mandatory patterns resolve to DLLs, + collect them all, as well as any DLLs from the optional pattern list. If a mandatory pattern fails to resolve + to a DLL, return an empty list. + + This allows all-or-none collection of particular groups of Qt DLLs that may or may not be available. + """ + optional_dll_patterns = optional_dll_patterns or [] + + # Package parent path; used to preserve the directory structure when DLLs are collected from the python + # package (e.g., PyPI wheels). + package_parent_path = self.package_location.parent + + # On Windows, DLLs are typically placed in `location['BinariesPath']`, except for PySide PyPI wheels, where + # `location['PrefixPath']` is used. This difference is already handled by `qt_lib_dir`, which is also fully + # resolved. + dll_path = self.qt_lib_dir + + # Helper for processing single DLL pattern + def _process_dll_pattern(dll_pattern): + discovered_dlls = [] + + dll_files = dll_path.glob(dll_pattern) + for dll_file in dll_files: + if package_parent_path in dll_file.parents: + # The DLL is located within python package; preserve the layout + dst_dll_dir = dll_file.parent.relative_to(package_parent_path) + else: + # The DLL is not located within python package; collect into top-level directory + dst_dll_dir = '.' + discovered_dlls.append((str(dll_file), str(dst_dll_dir))) + + return discovered_dlls + + # Process mandatory patterns + collected_dlls = [] + for pattern in mandatory_dll_patterns: + discovered_dlls = _process_dll_pattern(pattern) + if not discovered_dlls: + return [] # Mandatory pattern resulted in no DLLs; abort + collected_dlls += discovered_dlls + + # Process optional patterns + for pattern in optional_dll_patterns: + collected_dlls += _process_dll_pattern(pattern) + + return collected_dlls + + # Collect required Qt binaries, but only if all binaries in a group exist. + def collect_extra_binaries(self): + """ + Collect extra binaries/DLLs required by Qt. These include ANGLE DLLs, OpenGL software renderer DLL, and ICU + DLLs. Applicable only on Windows (on other OSes, empty list is returned). + """ + + binaries = [] + + # Applicable only to Windows. + if not compat.is_win: + return [] + + # OpenGL: EGL/GLES via ANGLE, software OpenGL renderer. + binaries += self._collect_all_or_none(['libEGL.dll', 'libGLESv2.dll'], ['d3dcompiler_??.dll']) + binaries += self._collect_all_or_none(['opengl32sw.dll']) + + # Include ICU files, if they exist. + # See the "Deployment approach" section at the top of this file. + binaries += self._collect_all_or_none(['icudt??.dll', 'icuin??.dll', 'icuuc??.dll']) + + return binaries + + # Collect additional shared libraries required for SSL support in QtNetwork, if they are available. + # Primarily applicable to Windows (see issue #3520, #4048). + def collect_qtnetwork_files(self): + """ + Collect extra binaries/shared libraries required by the QtNetwork module, such as OpenSSL shared libraries. + """ + + # No-op if requested Qt-based package is not available. + if self.version is None: + return [] + + # Check if QtNetwork supports SSL and has OpenSSL backend available (Qt >= 6.1). + # Also query the run-time OpenSSL version, so we know what dynamic libraries we need to search for. + @isolated.decorate + def _check_if_openssl_enabled(package): + import sys + import importlib + + # Import the Qt-based package + # equivalent to: from package.QtCore import QCoreApplication + QtCore = importlib.import_module('.QtCore', package) + QCoreApplication = QtCore.QCoreApplication + QLibraryInfo = QtCore.QLibraryInfo + # equivalent to: from package.QtNetwork import QSslSocket + QtNetwork = importlib.import_module('.QtNetwork', package) + QSslSocket = QtNetwork.QSslSocket + + # Instantiate QCoreApplication to suppress warnings + app = QCoreApplication(sys.argv) # noqa: F841 + + if not QSslSocket.supportsSsl(): + return False, None + + # Query the run-time OpenSSL version + openssl_version = QSslSocket.sslLibraryVersionNumber() + + # For Qt >= 6.1, check if `openssl` TLS backend is available + try: + qt_version = QLibraryInfo.version().segments() + except AttributeError: + qt_version = [] # Qt <= 5.8 + + if qt_version < [6, 1]: + return True, openssl_version # TLS backends not implemented yet + + return ('openssl' in QSslSocket.availableBackends(), openssl_version) + + openssl_enabled, openssl_version = _check_if_openssl_enabled(self.namespace) + if not openssl_enabled or openssl_version == 0: + logger.debug("%s: QtNetwork: does not support SSL or does not use OpenSSL.", self) + return [] + + # The actual search is handled in OS-specific ways. + if compat.is_win: + return self._collect_qtnetwork_openssl_windows(openssl_version) + elif compat.is_darwin: + return self._collect_qtnetwork_openssl_macos(openssl_version) + elif compat.is_linux: + return self._collect_qtnetwork_openssl_linux(openssl_version) + else: + logger.warning("%s: QtNetwork: collection of OpenSSL not implemented for this platform!") + return [] + + def _collect_qtnetwork_openssl_windows(self, openssl_version): + """ + Windows-specific collection of OpenSSL DLLs required by QtNetwork module. + """ + + # Package parent path; used to preserve the directory structure when DLLs are collected from the python + # package (e.g., PyPI wheels). + package_parent_path = self.package_location.parent + + # The OpenSSL DLLs might be shipped with PyPI wheel (PyQt5), might be available in the environment (msys2, + # anaconda), or might be expected to be available in the environment (PySide2, PySide6, PyQt6 PyPI wheels). + # + # The OpenSSL DLL naming scheme depends on the version: + # - OpenSSL 1.0.x: libeay32.dll, ssleay32.dll + # - OpenSSL 1.1.x 32-bit: libssl-1_1.dll, libcrypto-1_1.dll + # - OpenSSL 1.1.x 64-bit: libssl-1_1-x64.dll, libcrypto-1_1-x64.dll + # - OpenSSL 3.0.x 32-bit: libssl-1.dll, libcrypto-3.dll + # - OpenSSL 3.0.x 64-bit: libssl-3-x64.dll, libcrypto-3-x64.dll + # + # The official Qt builds (which are used by PySide and PyQt PyPI wheels) seem to be build against: + # - OpenSSL 1.1.x starting with Qt5 5.14.2: + # https://www.qt.io/blog/2019/06/17/qt-5-12-4-released-support-openssl-1-1-1 + # - OpenSSL 3.x starting with Qt6 6.5.0: + # https://www.qt.io/blog/moving-to-openssl-3-in-binary-builds-starting-from-qt-6.5-beta-2 + # + # However, a package can build Qt against OpenSSL version of their own choice. For example, at the time of + # writing, both mingw-w64-x86_64-qt5-base 5.15.11+kde+r138-1 and mingw-w64-x86_64-qt6-base 6.6.0-2 packages + # depend on mingw-w64-x86_64-openssl 3.1.4-1 (so OpenSSL 3). + # + # Luckily, we can query the run-time version of OpenSSL by calling `QSslSocket.sslLibraryVersionNumber()`, + # and narrow down the search for specific version. + if openssl_version >= 0x10000000 and openssl_version < 0x10100000: + # OpenSSL 1.0.x - used by old Qt5 builds + dll_names = ( + 'libeay32.dll', + 'ssleay32.dll', + ) + logger.debug("%s: QtNetwork: looking for OpenSSL 1.0.x DLLs: %r", self, dll_names) + elif openssl_version >= 0x10100000 and openssl_version < 0x30000000: + # OpenSSL 1.1.x + dll_names = ( + 'libssl-1_1-x64.dll' if compat.is_64bits else 'libssl-1_1.dll', + 'libcrypto-1_1-x64.dll' if compat.is_64bits else 'libcrypto-1_1.dll', + ) + logger.debug("%s: QtNetwork: looking for OpenSSL 1.1.x DLLs: %r", self, dll_names) + elif openssl_version >= 0x30000000 and openssl_version < 0x40000000: + # OpenSSL 3.0.x + dll_names = ( + 'libssl-3-x64.dll' if compat.is_64bits else 'libssl-3.dll', + 'libcrypto-3-x64.dll' if compat.is_64bits else 'libcrypto-3.dll', + ) + logger.debug("%s: QtNetwork: looking for OpenSSL 3.0.x DLLs: %r", self, dll_names) + else: + dll_names = [] # Nothing to search for + logger.warning("%s: QtNetwork: unsupported OpenSSL version: %X", self, openssl_version) + + binaries = [] + found_in_package = False + for dll in dll_names: + # Attempt to resolve the DLL path + dll_file_path = bindepend.resolve_library_path(dll, search_paths=[self.qt_lib_dir]) + if dll_file_path is None: + continue + dll_file_path = pathlib.Path(dll_file_path).resolve() + if package_parent_path in dll_file_path.parents: + # The DLL is located within python package; preserve the layout + dst_dll_path = dll_file_path.parent.relative_to(package_parent_path) + found_in_package = True + else: + # The DLL is not located within python package; collect into top-level directory + dst_dll_path = '.' + binaries.append((str(dll_file_path), str(dst_dll_path))) + + # If we found at least one OpenSSL DLL in the bindings' python package directory, discard all external + # OpenSSL DLLs. + if found_in_package: + binaries = [(dll_src_path, dll_dest_path) for dll_src_path, dll_dest_path in binaries + if package_parent_path in pathlib.Path(dll_src_path).parents] + + return binaries + + def _collect_qtnetwork_openssl_macos(self, openssl_version): + """ + macOS-specific collection of OpenSSL dylibs required by QtNetwork module. + """ + + # The official Qt5 builds on macOS (shipped by PyPI wheels) appear to be built with Apple's SecureTransport API + # instead of OpenSSL; for example, `QSslSocket.sslLibraryVersionNumber` returns 0, while + # `sslLibraryVersionString()` returns "Secure Transport, macOS 12.6". So with PySide2 and PyQt5, we do not need + # to worry about collection of OpenSSL shared libraries. + # + # Support for OpenSSL was introduced in Qt 6.1 with `openssl` TLS backend; the official Qt6 builds prior to 6.5 + # seem to be built with OpenSSL 1.1.x, and later versions with 3.0.x. However, PySide6 and PyQt6 PyPI wheels do + # not ship OpenSSL dynamic libraries at all , so whether `openssl` TLS backend is used or not depends on the + # presence of externally provided OpenSSL dynamic libraries (for example, provided by Homebrew). It is worth + # noting that python.org python installers *do* provide OpenSSL shared libraries (1.1.x for python <= 3.10, + # 3.0.x for python >= 3.12, and both for python 3.11) for its `_ssl` extension - however, these are NOT visible + # to Qt and its QtNetwork module. + # + # When the frozen application is built and we collect python's `_ssl` extension, we also collect the OpenSSL + # shared libraries shipped by python. So at least in theory, those should be available to QtNetwork module as + # well (assuming they are of compatible version). However, this is not exactly the case - QtNetwork looks for + # the libraries in locations given by `DYLD_LIBRARY_PATH` environment variable and in .app/Contents/Frameworks + # (if the program is an .app bundle): + # + # https://github.com/qt/qtbase/blob/6.6.0/src/plugins/tls/openssl/qsslsocket_openssl_symbols.cpp#L590-L599 + # + # So it works out-of-the box for our .app bundles, because starting with PyInstaller 6.0, `sys._MEIPASS` is in + # .app/Contents/Frameworks. But it does not with POSIX builds, because bootloader does not modify the + # `DYLD_LIBRARY_PATH` environment variable to include `sys._MEIPASS` (since we usually do not need that; + # regular linked library resolution in our macOS builds is done via path rewriting and rpaths). So either we + # need a run-time hook to add `sys._MEIPASS` to `DYLD_LIBRARY_PATH`, or modify the bootloader to always do that. + # + # Collecting the OpenSSL library and making it discoverable by adding `sys._MEIPASS` to `DYLD_LIBRARY_PATH` + # should also prevent QtNetwork from "accidentally" pulling in Homebrew version at run-time (if Homebrew is + # installed on the target system and provides compatible OpenSSL version). + # + # Therefore, try to resolve OpenSSL library via the version indicated by `QSslSocket.sslLibraryVersionNumber`; + # however, we first explicitly search only {sys.base_prefix}/lib (which is where python.org builds put their + # dynamic libs), and only if that fails, perform regular dylib path resolution. This way we ensure that if the + # OpenSSL dylibs are provided by python itself, we always prefer those over the Homebrew version (since we are + # very likely going to collect them for python's `_ssl` extension anyway). + + # As per above text, we need to worry only about Qt6, and thus OpenSSL 1.1.x or 3.0.x + if openssl_version >= 0x10100000 and openssl_version < 0x30000000: + # OpenSSL 1.1.x + dylib_names = ( + 'libcrypto.1.1.dylib', + 'libssl.1.1.dylib', + ) + logger.debug("%s: QtNetwork: looking for OpenSSL 1.1.x dylibs: %r", self, dylib_names) + elif openssl_version >= 0x30000000 and openssl_version < 0x40000000: + # OpenSSL 3.0.x + dylib_names = ( + 'libcrypto.3.dylib', + 'libssl.3.dylib', + ) + logger.debug("%s: QtNetwork: looking for OpenSSL 3.0.x dylibs: %r", self, dylib_names) + else: + dylib_names = [] # Nothing to search for + logger.warning("%s: QtNetwork: unsupported OpenSSL version: %X", self, openssl_version) + + # Compared to Windows, we do not have to worry about dylib's path preservation, as these are never part of + # the package, and are therefore always collected to the top-level application directory. + binaries = [] + base_prefix_lib_dir = os.path.join(compat.base_prefix, 'lib') + for dylib in dylib_names: + # First, attempt to resolve using only {sys.base_prefix}/lib - `bindepend.resolve_library_path` uses + # standard dyld search semantics and uses the given search paths as fallback (and would therefore + # favor Homebrew-provided version of the library). + dylib_path = bindepend._resolve_library_path_in_search_paths(dylib, search_paths=[base_prefix_lib_dir]) + if dylib_path is None: + dylib_path = bindepend.resolve_library_path(dylib, search_paths=[base_prefix_lib_dir, self.qt_lib_dir]) + if dylib_path is None: + continue + binaries.append((str(dylib_path), '.')) + + return binaries + + def _collect_qtnetwork_openssl_linux(self, openssl_version): + """ + Linux-specific collection of OpenSSL dylibs required by QtNetwork module. + """ + + # Out of the supported OSes, Linux is by far the most straight-forward, because OpenSSL shared libraries are + # expected to be provided by the system. So we can just use standard library path resolution with library names + # inferred from the run-time OpenSSL version. At run-time, QtNetwork searches paths from `LD_LIBRARY_PATH`, and + # on Linux, our bootloader already adds `sys._MEIPASS` to that environment variable. + + if openssl_version >= 0x10000000 and openssl_version < 0x10100000: + # OpenSSL 1.0.x - used by old Qt5 builds + shlib_names = ( + 'libcrypto.so.10', + 'libssl.so.10', + ) + logger.debug("%s: QtNetwork: looking for OpenSSL 1.0.x shared libraries: %r", self, shlib_names) + elif openssl_version >= 0x10100000 and openssl_version < 0x30000000: + # OpenSSL 1.1.x + shlib_names = ( + 'libcrypto.so.1.1', + 'libssl.so.1.1', + ) + logger.debug("%s: QtNetwork: looking for OpenSSL 1.1.x shared libraries: %r", self, shlib_names) + elif openssl_version >= 0x30000000 and openssl_version < 0x40000000: + # OpenSSL 3.0.x + shlib_names = ( + 'libcrypto.so.3', + 'libssl.so.3', + ) + logger.debug("%s: QtNetwork: looking for OpenSSL 3.0.x shared libraries: %r", self, shlib_names) + else: + shlib_names = [] # Nothing to search for + logger.warning("%s: QtNetwork: unsupported OpenSSL version: %X", self, openssl_version) + + binaries = [] + for shlib in shlib_names: + shlib_path = bindepend.resolve_library_path(shlib) + if shlib_path is None: + continue + binaries.append((str(shlib_path), '.')) + + return binaries + + def collect_qtqml_files(self): + """ + Collect additional binaries and data for QtQml module. + """ + + # No-op if requested Qt-based package is not available. + if self.version is None: + return [], [] + + # Not all PyQt5/PySide2 installs have QML files. In this case, location['Qml2ImportsPath'] is empty. + # Furthermore, even if location path is provided, the directory itself may not exist. + # + # https://github.com/pyinstaller/pyinstaller/pull/3229#issuecomment-359735031 + # https://github.com/pyinstaller/pyinstaller/issues/3864 + # + # In Qt 6, Qml2ImportsPath was deprecated in favor of QmlImportsPath. The former is not available in PySide6 + # 6.4.0 anymore (but is in PyQt6 6.4.0). Use the new QmlImportsPath if available. + if 'QmlImportsPath' in self.location: + qml_src_dir = self.location['QmlImportsPath'] + else: + qml_src_dir = self.location['Qml2ImportsPath'] + if not qml_src_dir or not os.path.isdir(qml_src_dir): + logger.warning('%s: QML directory %r does not exist. QML files not packaged.', self, qml_src_dir) + return [], [] + + qml_src_path = pathlib.Path(qml_src_dir).resolve() + qml_dest_path = pathlib.PurePath(self.qt_rel_dir) / 'qml' + + binaries = [] + datas = [] + + # Helper that computes the destination directory for the given file or directory from a QML plugin directory. + def _compute_dest_dir(src_filename): + if src_filename.is_dir(): + rel_path = src_filename.relative_to(qml_src_path) + else: + rel_path = src_filename.relative_to(qml_src_path).parent + return qml_dest_path / rel_path + + # Discover all QML plugin sub-directories by searching for `qmldir` files. + qmldir_files = qml_src_path.rglob('**/qmldir') + for qmldir_file in sorted(qmldir_files): + plugin_dir = qmldir_file.parent + logger.debug("%s: processing QML plugin directory %s", self, plugin_dir) + + try: + # Obtain lists of source files (separated into binaries and data files). + plugin_binaries, plugin_datas = self._process_qml_plugin(qmldir_file) + # Convert into (src, dest) tuples. + binaries += [(str(src_file), str(_compute_dest_dir(src_file))) for src_file in plugin_binaries] + datas += [(str(src_file), str(_compute_dest_dir(src_file))) for src_file in plugin_datas] + except Exception: + logger.warning("%s: failed to process QML plugin directory %s", self, plugin_dir, exc_info=True) + + return binaries, datas + + # https://doc.qt.io/qt-6/qtqml-modules-qmldir.html#plugin-declaration + # [optional] plugin [ + _qml_plugin_def = re.compile(r"^(?:(?:optional)\s+)?(?:plugin)\s+(?P\w+)(?:\s+(?P\.+))?$") + + def _process_qml_plugin(self, qmldir_file): + """ + Processes the QML directory corresponding to the given `qmldir` file. + + Returns lists of binaries and data files, but only the source file names. It is up to caller to turn these into + lists of (src, dest) tuples. + """ + plugin_dir = qmldir_file.parent + + plugin_binaries = set() + + # Read the `qmldir` file to determine the names of plugin binaries, if any. + contents = qmldir_file.read_text(encoding="utf-8") + for line in contents.splitlines(): + m = self._qml_plugin_def.match(line) + if m is None: + continue + + plugin_name = m.group("name") + plugin_path = m.group("path") + + # We currently do not support custom plugin path - neither relative nor absolute (the latter will never + # be supported, because to make it relocatable, we would need to modify the `qmpldir file`). + if plugin_path is not None: + raise Exception(f"Non-empty plugin path ({plugin_path!r} is not supported yet!") + + # Turn the plugin base name into actual shared lib name. + if compat.is_linux: + plugin_file = plugin_dir / f"lib{plugin_name}.so" + elif compat.is_win: + plugin_file = plugin_dir / f"{plugin_name}.dll" + elif compat.is_darwin: + plugin_file = plugin_dir / f"lib{plugin_name}.dylib" + else: + continue # This implicitly disables subsequent validation on unhandled platforms. + + # Warn if plugin file does not exist + if not plugin_file.is_file(): + logger.warn("%s: QML plugin binary %r does not exist!", str(plugin_file)) + continue + + plugin_binaries.add(plugin_file) + + # Exclude plugins with invalid Qt dependencies. + invalid_binaries = False + for plugin_binary in plugin_binaries: + valid, reason = self._validate_plugin_dependencies(plugin_binary) + if not valid: + logger.debug("%s: excluding QML plugin binary %r! Reason: %s", self, str(plugin_binary), reason) + invalid_binaries = True + + # If there was an invalid binary, discard the plugin. + if invalid_binaries: + logger.debug("%s: excluding QML plugin directory %r due to invalid plugin binaries!", self, str(plugin_dir)) + return [], [] + + # Generate binaries list. + binaries = sorted(plugin_binaries) + + # Generate list of data files - all content of this directory, except for the plugin binaries. Sub-directories + # are included if they do not contain a `qmldir` file (we do not recurse into the directory, but instead pass + # only its name, leaving the recursion to PyInstaller's built-in expansion of paths returned by hooks). + datas = [] + for entry in plugin_dir.iterdir(): + if entry.is_file(): + if entry in plugin_binaries: + continue + else: + if (entry / "qmldir").is_file(): + continue + datas.append(entry) + + return binaries, datas + + def collect_qtwebengine_files(self): + """ + Collect QtWebEngine helper process executable, translations, and resources. + """ + + binaries = [] + datas = [] + + # Output directory (varies between PyQt and PySide and among OSes; the difference is abstracted by + # QtLibraryInfo.qt_rel_dir) + rel_data_path = self.qt_rel_dir + + is_macos_framework = False + if compat.is_darwin: + # Determine if we are dealing with a framework-based Qt build (e.g., PyPI wheels) or a dylib-based one + # (e.g., Anaconda). The former requires special handling, while the latter is handled in the same way as + # Windows and Linux builds. + is_macos_framework = os.path.exists( + os.path.join(self.location['LibrariesPath'], 'QtWebEngineCore.framework') + ) + + if is_macos_framework: + # macOS .framework bundle + src_framework_path = os.path.join(self.location['LibrariesPath'], 'QtWebEngineCore.framework') + + # If Qt libraries are bundled with the package, collect the .framework bundle into corresponding package's + # subdirectory, because binary dependency analysis will also try to preserve the directory structure. + # However, if we are collecting from system-wide Qt installation (e.g., Homebrew-installed Qt), the binary + # depndency analysis will attempt to re-create .framework bundle in top-level directory, so we need to + # collect the extra files there. + bundled_qt_libs = pathlib.Path(self.package_location) in pathlib.Path(src_framework_path).parents + if bundled_qt_libs: + dst_framework_path = os.path.join(rel_data_path, 'lib/QtWebEngineCore.framework') + else: + dst_framework_path = 'QtWebEngineCore.framework' # In top-level directory + + # Determine the version directory - for now, we assume we are dealing with single-version framework; + # i.e., the Versions directory contains only a single directory, and Current symlink to it. + versions = sorted([ + version for version in os.listdir(os.path.join(src_framework_path, 'Versions')) if version != 'Current' + ]) + if len(versions) == 0: + raise RuntimeError("Could not determine version of the QtWebEngineCore.framework!") + elif len(versions) > 1: + logger.warning( + "Found multiple versions in QtWebEngineCore.framework (%r) - using the last one!", versions + ) + version = versions[-1] + + # Collect the Helpers directory. In well-formed .framework bundles (such as the ones provided by Homebrew), + # the Helpers directory is located in the versioned directory, and symlinked to the top-level directory. + src_helpers_path = os.path.join(src_framework_path, 'Versions', version, 'Helpers') + dst_helpers_path = os.path.join(dst_framework_path, 'Versions', version, 'Helpers') + if not os.path.exists(src_helpers_path): + # Alas, the .framework bundles shipped with contemporary PyPI PyQt/PySide wheels are not well-formed + # (presumably because .whl cannot preserve symlinks?). The Helpers in the top-level directory is in fact + # the hard copy, and there is either no Helpers in versioned directory, or there is a duplicate. + # So fall back to collecting from the top-level, but collect into versioned directory in order to + # be compliant with codesign's expectations. + src_helpers_path = os.path.join(src_framework_path, 'Helpers') + + helper_datas = hooks.collect_system_data_files(src_helpers_path, dst_helpers_path) + + # Filter out the actual helper executable from datas, and add it to binaries instead. This ensures that it + # undergoes additional binary processing that rewrites the paths to linked libraries. + HELPER_EXE = 'QtWebEngineProcess.app/Contents/MacOS/QtWebEngineProcess' + for src_name, dest_name in helper_datas: + if src_name.endswith(HELPER_EXE): + binaries.append((src_name, dest_name)) + else: + datas.append((src_name, dest_name)) + + # Collect the Resources directory; same logic is used as with Helpers directory. + src_resources_path = os.path.join(src_framework_path, 'Versions', version, 'Resources') + dst_resources_path = os.path.join(dst_framework_path, 'Versions', version, 'Resources') + if not os.path.exists(src_resources_path): + src_resources_path = os.path.join(src_framework_path, 'Resources') + + datas += hooks.collect_system_data_files(src_resources_path, dst_resources_path) + + # NOTE: the QtWebEngineProcess helper is actually sought within the `QtWebEngineCore.framework/Helpers`, + # which ought to be a symlink to `QtWebEngineCore.framework/Versions/Current/Helpers`, where `Current` + # is also a symlink to the actual version directory, `A`. + # + # These symlinks are created automatically when the TOC list of collected resources is post-processed + # using `PyInstaller.utils.osx.collect_files_from_framework_bundles` helper, so we do not have to + # worry about them here... + else: + # Windows and linux (or Anaconda on macOS) + locales = 'qtwebengine_locales' + resources = 'resources' + + # Translations + datas.append(( + os.path.join(self.location['TranslationsPath'], locales), + os.path.join(rel_data_path, 'translations', locales), + )) + + # Resources; ``DataPath`` is the base directory for ``resources``, as per the + # `docs `_. + datas.append((os.path.join(self.location['DataPath'], resources), os.path.join(rel_data_path, resources)),) + + # Helper process executable (QtWebEngineProcess), located in ``LibraryExecutablesPath``. + # The target directory is determined as `LibraryExecutablesPath` relative to `PrefixPath`. On Windows, + # this should handle the differences between PySide2/PySide6 and PyQt5/PyQt6 PyPI wheel layout. + rel_helper_path = os.path.relpath(self.location['LibraryExecutablesPath'], self.location['PrefixPath']) + + # However, on Linux, we need to account for distribution-packaged Qt, where `LibraryExecutablesPath` might + # be nested deeper under `PrefixPath` than anticipated (w.r.t. PyPI wheel layout). For example, in Fedora, + # the helper is located under `/usr/lib64/qt5/libexec/QtWebEngineProcess`, with `PrefixPath` being `/usr` + # and `LibraryExecutablesPath` being `/usr/lib64/qt5/libexec/`, so the relative path ends up being + # `lib64/qt5/libexec` instead of just `libexec`. So on linux, we explicitly force the PyPI-compliant + # layout, by overriding relative helper path to just `libexec`. + if compat.is_linux and rel_helper_path != "libexec": + logger.info( + "%s: overriding relative destination path of QtWebEngineProcess helper from %r to %r!", self, + rel_helper_path, "libexec" + ) + rel_helper_path = "libexec" + + # Similarly, force the relative helper path for PySide2/PySide6 on Windows to `.`. This is already the case + # with PyPI PySide Windows wheels. But it is not the case with conda-installed PySide2, where the Qt's + # `PrefixPath` is for example `C:/Users//miniconda3/envs//Library`, while the corresponding + # `LibraryExecutablesPath` is `C:/Users//miniconda3/envs//Library/bin`. + if compat.is_win and not self.is_pyqt and rel_helper_path != ".": + logger.info( + "%s: overriding relative destination path of QtWebEngineProcess helper from %r to %r!", self, + rel_helper_path, "." + ) + rel_helper_path = "." + + dest = os.path.normpath(os.path.join(rel_data_path, rel_helper_path)) + binaries.append((os.path.join(self.location['LibraryExecutablesPath'], 'QtWebEngineProcess*'), dest)) + + # The helper QtWebEngineProcess executable should have an accompanying qt.conf file that helps it locate the + # Qt shared libraries. Try collecting it as well + qt_conf_file = os.path.join(self.location['LibraryExecutablesPath'], 'qt.conf') + if not os.path.isfile(qt_conf_file): + # The file seems to have been dropped from Qt 6.3 (and corresponding PySide6 and PyQt6) due to + # redundancy; however, we still need it in the frozen application - so generate our own. + from PyInstaller.config import CONF # workpath + # Relative path to root prefix of bundled Qt - this corresponds to the "inverse" of `rel_helper_path` + # variable that we computed earlier. + if rel_helper_path == '.': + rel_prefix = '.' + else: + # Replace each directory component in `rel_helper_path` with `..`. + rel_prefix = os.path.join(*['..' for _ in range(len(rel_helper_path.split(os.pathsep)))]) + # We expect the relative path to be either . or .. depending on PySide/PyQt layout; if that is not the + # case, warn about irregular path. + if rel_prefix not in ('.', '..'): + logger.warning( + "%s: unexpected relative Qt prefix path for QtWebEngineProcess qt.conf: %s", self, rel_prefix + ) + # The Qt docs on qt.conf (https://doc.qt.io/qt-5/qt-conf.html) recommend using forward slashes on + # Windows as well, due to backslash having to be escaped. This should not matter as we expect the + # relative path to be . or .., but you never know... + if os.sep == '\\': + rel_prefix = rel_prefix.replace(os.sep, '/') + # Create temporary file in workpath + qt_conf_file = os.path.join(CONF['workpath'], "qt.conf") + with open(qt_conf_file, 'w', encoding='utf-8') as fp: + print("[Paths]", file=fp) + print("Prefix = {}".format(rel_prefix), file=fp) + datas.append((qt_conf_file, dest)) + + # Add Linux-specific libraries. + if compat.is_linux: + # The automatic library detection fails for `NSS `_, + # which is used by QtWebEngine. In some distributions, the ``libnss`` supporting libraries are stored in a + # subdirectory ``nss``. Since ``libnss`` is not linked against them but loads them dynamically at run-time, + # we need to search for and add them. + # + # Specifically, the files we are looking for are + # - libfreebl3.so + # - libfreeblpriv3.so + # - libnssckbi.so + # - libnssdbm3.so + # - libsoftokn3.so + # and they might be in the same directory as ``libnss3.so`` (instead of ``nss`` subdirectory); this is + # the case even with contemporary Debian releases. See + # https://packages.debian.org/bullseye/amd64/libnss3/filelist + # vs. + # https://packages.debian.org/bookworm/amd64/libnss3/filelist + + # Analyze imports of ``QtWebEngineCore`` extension module, and look for ``libnss3.so`` to determine its + # parent directory. + libnss_dir = None + module_file = hooks.get_module_file_attribute(self.namespace + '.QtWebEngineCore') + for lib_name, lib_path in bindepend.get_imports(module_file): # (name, fullpath) tuples + if lib_path is None: + continue # Skip unresolved libraries + # Look for ``libnss3.so``. + if os.path.basename(lib_path).startswith('libnss3.so'): + libnss_dir = os.path.dirname(lib_path) + break + + # Search for NSS libraries + logger.debug("%s: QtWebEngineCore is linked against libnss3.so; collecting NSS libraries...", self) + if libnss_dir is not None: + # Libraries to search for + NSS_LIBS = [ + 'libfreebl3.so', + 'libfreeblpriv3.so', + 'libnssckbi.so', + 'libnssdbm3.so', + 'libsoftokn3.so', + ] + # Directories (relative to `libnss_dir`) to search in. Also serve as relative destination paths. + NSS_LIB_SUBDIRS = [ + 'nss', + '.', + ] + + for subdir in NSS_LIB_SUBDIRS: + for lib_name in NSS_LIBS: + lib_file = os.path.normpath(os.path.join(libnss_dir, subdir, lib_name)) + if os.path.isfile(lib_file): + logger.debug("%s: collecting NSS library: %r", self, lib_file) + binaries.append((lib_file, subdir)) + + return binaries, datas + + +# Provide single instances of this class to avoid each hook constructing its own. +pyqt5_library_info = QtLibraryInfo('PyQt5') +pyqt6_library_info = QtLibraryInfo('PyQt6') +pyside2_library_info = QtLibraryInfo('PySide2') +pyside6_library_info = QtLibraryInfo('PySide6') + + +def get_qt_library_info(namespace): + """ + Return QtLibraryInfo instance for the given namespace. + """ + if namespace == 'PyQt5': + return pyqt5_library_info + if namespace == 'PyQt6': + return pyqt6_library_info + elif namespace == 'PySide2': + return pyside2_library_info + elif namespace == 'PySide6': + return pyside6_library_info + + raise ValueError(f'Invalid namespace: {namespace}!') + + +# add_qt_dependencies +# -------------------- +# Generic implemnentation that finds the Qt 5/6 dependencies based on the hook name of a PyQt5/PyQt6/PySide2/PySide6 +# hook. Returns (hiddenimports, binaries, datas). Typical usage: +# ``hiddenimports, binaries, datas = add_qt5_dependencies(__file__)``. +def add_qt_dependencies(hook_file): + # Find the module underlying this Qt hook: change ``/path/to/hook-PyQt5.blah.py`` to ``PyQt5.blah``. + hook_name, hook_ext = os.path.splitext(os.path.basename(hook_file)) + assert hook_ext.startswith('.py') + assert hook_name.startswith('hook-') + module_name = hook_name[5:] + namespace = module_name.split('.')[0] + + # Retrieve Qt library info structure.... + qt_info = get_qt_library_info(namespace) + # ... and use it to collect module dependencies + return qt_info.collect_module(module_name) + + +# add_qt5_dependencies +# -------------------- +# Find the Qt5 dependencies based on the hook name of a PySide2/PyQt5 hook. Returns (hiddenimports, binaries, datas). +# Typical usage: ``hiddenimports, binaries, datas = add_qt5_dependencies(__file__)``. +add_qt5_dependencies = add_qt_dependencies # Use generic implementation + +# add_qt6_dependencies +# -------------------- +# Find the Qt6 dependencies based on the hook name of a PySide6/PyQt6 hook. Returns (hiddenimports, binaries, datas). +# Typical usage: ``hiddenimports, binaries, datas = add_qt6_dependencies(__file__)``. +add_qt6_dependencies = add_qt_dependencies # Use generic implementation + + +# A helper for ensuring that only one Qt bindings package is collected into frozen application. Intended to be called +# from hooks for top-level bindings packages. +def ensure_single_qt_bindings_package(qt_bindings): + # For the lack of better alternative, use CONF structure. Note that this enforces single bindings for the whole + # spec file instead of individual Analysis instances! + from PyInstaller.config import CONF + + seen_qt_bindings = CONF.get("_seen_qt_bindings") + if seen_qt_bindings is None: + CONF["_seen_qt_bindings"] = qt_bindings + elif qt_bindings != seen_qt_bindings: + # Raise SystemExit to abort build process + raise SystemExit( + "ERROR: Aborting build process due to attempt to collect multiple Qt bindings packages: attempting to run " + f"hook for {qt_bindings!r}, while hook for {seen_qt_bindings!r} has already been run! PyInstaller does not " + "support multiple Qt bindings packages in a frozen application - either ensure that the build environment " + "has only one Qt bindings package installed, or exclude the extraneous bindings packages via the module " + "exclusion mechanism (--exclude command-line option, or excludes list in the spec file)." + ) + + +# A helper for generating exclude rules for extraneous Qt bindings. Intended for use in hooks for packages that pull in +# multiple Qt bindings packages due to conditional imports (for example, `matplotlib.backends.qt_compat`, `qtpy`). +def exclude_extraneous_qt_bindings(hook_name, qt_bindings_order=None): + _QT_BINDINGS = ['PyQt5', 'PySide2', 'PyQt6', 'PySide6'] # Known bindings, and also their preferred order + _QT_API_ENV = 'QT_API' + + def _create_excludes(selected_bindings): + return [bindings for bindings in _QT_BINDINGS if bindings != selected_bindings] + + logger.debug("%s: selecting Qt bindings package...", hook_name) + + if not qt_bindings_order: + qt_bindings_order = _QT_BINDINGS # Use default preference order + + env_qt_bindings = os.environ.get(_QT_API_ENV) + if env_qt_bindings is not None: + # Case-normalize the value into capitalized name from _QT_BINDINGS for further processing. + normalized_name = {name.lower(): name for name in _QT_BINDINGS}.get(env_qt_bindings.lower()) + if normalized_name is None: + logger.warning( + "%s: ignoring unsupported Qt bindings name %r in %s environment variable (supported values: %r)!", + hook_name, env_qt_bindings, _QT_API_ENV, _QT_BINDINGS + ) + env_qt_bindings = normalized_name + + # First choice: see if a hook for top-level Qt bindings package has already been run; if it has, use that bindings + # package. Due to check in the `ensure_single_qt_bindings_package` that these hooks use, only one such hook could + # have been run. This should cover cases when the entry-point script explicitly imports one of Qt bindings before + # importing a package that supports multiple bindings. + from PyInstaller.config import CONF + seen_qt_bindings = CONF.get("_seen_qt_bindings") + if seen_qt_bindings is not None: + # If bindings are also specified via environment variable and they differ, display a warning. + if env_qt_bindings is not None and env_qt_bindings != seen_qt_bindings: + logger.warning( + "%s: ignoring %s environment variable (%r) because hook for %r has been run!", hook_name, _QT_API_ENV, + env_qt_bindings, seen_qt_bindings + ) + + logger.info( + "%s: selected %r as Qt bindings because hook for %r has been run before.", hook_name, seen_qt_bindings, + seen_qt_bindings + ) + return _create_excludes(seen_qt_bindings) + + # Second choice: honor the QT_API environment variable, if it specified a valid Qt bindings package. + if env_qt_bindings is not None: + logger.info( + "%s: selected %r as Qt bindings as specified by the %s environment variable.", hook_name, env_qt_bindings, + _QT_API_ENV + ) + return _create_excludes(env_qt_bindings) + + # Third choice: select first available bindings (sorted by the given preference order), and display a warning if + # multiple bindings are available. + available_qt_bindings = [] + for bindings_name in qt_bindings_order: + # Check if bindings are available + info = get_qt_library_info(bindings_name) + if info.version is None: + continue + available_qt_bindings.append(bindings_name) + + if not available_qt_bindings: + logger.warning("%s: no Qt bindings are available!", hook_name) + return [] # No need to generate any excludes... + + selected_qt_bindings = available_qt_bindings[0] + if len(available_qt_bindings) == 1: + logger.info("%s: selected %r as the only available Qt bindings.", hook_name, selected_qt_bindings) + else: + # Warn on multiple bindings, and tell user to use QT_API environment variable + logger.warning( + "%s: selected %r as Qt bindings, but multiple bindings are available: %r. Use the %s environment variable " + "to select different bindings and suppress this warning.", hook_name, selected_qt_bindings, + available_qt_bindings, _QT_API_ENV + ) + return _create_excludes(selected_qt_bindings) diff --git a/.venv/Lib/site-packages/PyInstaller/utils/hooks/qt/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/hooks/qt/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..3f76612 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/hooks/qt/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/hooks/qt/__pycache__/_modules_info.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/hooks/qt/__pycache__/_modules_info.cpython-311.pyc new file mode 100644 index 0000000..55ccacd Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/hooks/qt/__pycache__/_modules_info.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/hooks/qt/_modules_info.py b/.venv/Lib/site-packages/PyInstaller/utils/hooks/qt/_modules_info.py new file mode 100644 index 0000000..cd01bf9 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/hooks/qt/_modules_info.py @@ -0,0 +1,450 @@ +# ---------------------------------------------------------------------------- +# Copyright (c) 2022-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +# Qt modules information - the core of our Qt collection approach +# ---------------------------------------------------------------- +# +# The python bindings for Qt (``PySide2``, ``PyQt5``, ``PySide6``, ``PyQt6``) consist of several python binary extension +# modules that provide bindings for corresponding Qt modules. For example, the ``PySide2.QtNetwork`` python extension +# module provides bindings for the ``QtNetwork`` Qt module from the ``qt/qtbase`` Qt repository. +# +# A Qt module can be considered as consisting of: +# * a shared library (for example, on Linux, the shared library names for the ``QtNetwork`` Qt module in Qt5 and Qt6 +# are ``libQt5Network.so`` and ``libQt6Network.so``, respectively). +# * plugins: a certain type (or class) of plugins is usually associated with a single Qt module (for example, +# ``imageformats`` plugins are associated with the ``QtGui`` Qt module from the ``qt/qtbase`` Qt repository), but +# additional plugins of that type may come from other Qt repositories. For example, ``imageformats/qsvg`` plugin +# is provided by ``qtsvg/src/plugins/imageformats/svg`` from the ``qt/qtsvg`` repository, and ``imageformats/qpdf`` +# is provided by ``qtwebengine/src/pdf/plugins/imageformats/pdf`` from the ``qt/qtwebengine`` repository. +# * translation files: names of translation files consist of a base name, which typically corresponds to the Qt +# repository name, and language code. A single translation file usually covers all Qt modules contained within +# the same repository. For example, translation files with base name ``qtbase`` contain translations for ``QtCore``, +# ``QtGui``, ``QtWidgets``, ``QtNetwork``, and other Qt modules from the ``qt/qtbase`` Qt repository. +# +# The PyInstaller's built-in analysis of link-time dependencies ensures that when collecting a Qt python extension +# module, we automatically pick up the linked Qt shared libraries. However, collection of linked Qt shared libraries +# does not result in collection of plugins, nor translation files. In addition, the dependency of a Qt python extension +# module on other Qt python extension modules (i.e., at the bindings level) cannot be automatically determined due to +# PyInstaller's inability to scan imports in binary extensions. +# +# PyInstaller < 5.7 solved this problem using a dictionary that associated a Qt shared library name with python +# extension name, plugins, and translation files. For each hooked Qt python extension module, the hook calls a helper +# that analyzes the extension file for link-time dependencies, and matches those against the dictionary. Therefore, +# based on linked shared libraries, we could recursively infer the list of files to collect in addition to the shared +# libraries themselves: +# - plugins and translation files belonging to Qt modules whose shared libraries we collect +# - Qt python extension modules corresponding to the Qt modules that we collect +# +# The above approach ensures that even if analyzed python script contains only ``from PySide2 import QtWidgets``, +# we would also collect ``PySide2.QtGui`` and ``PySide2.QtCore``, as well as all corresponding Qt module files +# (the shared libraries, plugins, translation files). For this to work, a hook must be provided for the +# ``PySide2.QtWidgets`` that performs the recursive analysis of the extension module file; so to ensure that each +# Qt python extension module by itself ensures collection of all its dependencies, we need to hook all Qt python +# extension modules provided by specific python Qt bindings package. +# +# The above approach with single dictionary, however, has several limitations: +# - it cannot provide association for Qt python module that binds a Qt module without a shared library (i.e., a +# headers-only module, or a statically-built module). In such cases, potential plugins and translations should +# be associated directly with the Qt python extension file instead of the Qt module's (non-existent) shared library. +# - it cannot (directly) handle differences between Qt5 and Qt6; we had to build a second dictionary +# - it cannot handle differences between the bindings themselves; for example, PyQt5 binds some Qt modules that +# PySide2 does not bind. Or, the binding's Qt python extension module is named differently in PyQt and PySide +# bindings (or just differently in PyQt5, while PySide2, PySide6, and PyQt6 use the same name). +# +# In order address the above shortcomings, we now store all information a list of structures that contain information +# for a particular Qt python extension and/or Qt module (shared library): +# - python extension name (if applicable) +# - Qt module name base (if applicable) +# - plugins +# - translation files base name +# - applicable Qt version (if necessary) +# - applicable Qt bindings (if necessary) +# +# This list is used to dynamically construct two dictionaries (based on the bindings name and Qt version): +# - mapping python extension names to associated module information +# - mapping Qt shared library names to associated module information +# This allows us to associate plugins and translations with either Qt python extension or with the Qt module's shared +# library (or both), whichever is applicable. +# +# The `qt_dynamic_dependencies_dict`_ from the original approach was constructed using several information sources, as +# documented `here +# `_. +# +# In the current approach, the relations stored in the `QT_MODULES_INFO`_ list were determined directly, by inspecting +# the Qt source code. This requires some prior knowledge of how the Qt code is organized (repositories and individual Qt +# modules within them), as well as some searching based on guesswork. The procedure can be outlined as follows: +# * check out the `main Qt repository `_. This repository contains references to all other +# Qt repositories in the form of git submodules. +# * for Qt5: +# * check out the latest release tag, e.g., v5.15.2, then check out the submodules. +# * search the Qt modules' qmake .pro files; for example, ``qtbase/src/network/network.pro`` for QtNetwork module. +# The plugin types associated with the module are listed in the ``MODULE_PLUGIN_TYPES`` variable (in this case, +# ``bearer``). +# * all translations are gathered in ``qttranslations`` sub-module/repository, and their association with +# individual repositories can be seen in ``qttranslations/translations/translations.pro``. +# * for Qt6: +# * check out the latest release tag, e.g., v6.3.1, then check out the submodules. +# * search the Qt modules' CMake files; for example, ``qtbase/src/network/CMakeLists.txt`` for QtNetwork module. +# The plugin types associated with the module are listed under ``PLUGIN_TYPES`` argument of the +# ``qt_internal_add_module()`` function that defines the Qt module. +# +# The idea is to make a list of all extension modules found in a Qt bindings package, as well as all available plugin +# directories (which correspond to plugin types) and translation files. For each extension, identify the corresponding +# Qt module (shared library name) and its associated plugins and translation files. Once this is done, most of available +# plugins and translations in the python bindings package should have a corresponding python Qt extension module +# available; this gives us associations based on the python extension module names as well as based on the Qt shared +# library names. For any plugins and translation files remaining unassociated, identify the corresponding Qt module; +# this gives us associations based only on Qt shared library names. While this second group of associations are never +# processed directly (due to lack of corresponding python extension), they may end up being processed during the +# recursive dependency analysis, if the corresponding Qt shared library is linked against by some Qt python extension +# or another Qt shared library. + + +# This structure is used to define Qt module information, such as python module/extension name, Qt module (shared +# library) name, translation files' base names, plugins, as well as associated python bindings (which implicitly +# also encode major Qt version). +class _QtModuleDef: + def __init__(self, module, shared_lib=None, translations=None, plugins=None, bindings=None): + # Python module (extension) name without package namespace. For example, `QtCore`. + # Can be None if python bindings do not bind the module, but we still need to establish relationship between + # the Qt module (shared library) and its plugins and translations. + self.module = module + # Associated Qt module (shared library), if any. Used during recursive dependency analysis, where a python + # module (extension) is analyzed for linked Qt modules (shared libraries), and then their corresponding + # python modules (extensions) are added to hidden imports. For example, the Qt module name is `Qt5Core` or + # `Qt6Core`, depending on the Qt version. Can be None for python modules that are not tied to a particular + # Qt shared library (for example, the corresponding Qt module is headers-only) and hence they cannot be + # inferred from recursive link-time dependency analysis. + self.shared_lib = shared_lib + # List of base names of translation files (if any) associated with the Qt module. Multiple base names may be + # associated with a single module. + # For example, `['qt', 'qtbase']` for `QtCore` or `['qtmultimedia']` for `QtMultimedia`. + self.translations = translations or [] + # List of plugins associated with the Qt module. + self.plugins = plugins or [] + # List of bindings (PySide2, PyQt5, PySide6, PyQt6) that provide the python module. This allows association of + # plugins and translations with shared libraries even for bindings that do not provide python module binding + # for the Qt module. + self.bindings = set(bindings or []) + + +# All Qt-based bindings. +ALL_QT_BINDINGS = {"PySide2", "PyQt5", "PySide6", "PyQt6"} + +# Qt modules information - the core of our Qt collection approach. +# +# For every python module/extension (i.e., entry in the list below that has valid `module`), we need a corresponding +# hook, ensuring that the extension file is analyzed, so that we collect the associated plugins and translation +# files, as well as perform recursive analysis of link-time binary dependencies (so that plugins and translation files +# belonging to those dependencies are collected as well). +QT_MODULES_INFO = ( + # *** qt/qt3d *** + _QtModuleDef("Qt3DAnimation", shared_lib="3DAnimation"), + _QtModuleDef("Qt3DCore", shared_lib="3DCore"), + _QtModuleDef("Qt3DExtras", shared_lib="3DExtras"), + _QtModuleDef("Qt3DInput", shared_lib="3DInput", plugins=["3dinputdevices"]), + _QtModuleDef("Qt3DLogic", shared_lib="3DLogic"), + _QtModuleDef( + "Qt3DRender", shared_lib="3DRender", plugins=["geometryloaders", "renderplugins", "renderers", "sceneparsers"] + ), + + # *** qt/qtactiveqt *** + # The python module is called QAxContainer in PyQt bindings, but QtAxContainer in PySide. The associated Qt module + # is header-only, so there is no shared library. + _QtModuleDef("QAxContainer", bindings=["PyQt*"]), + _QtModuleDef("QtAxContainer", bindings=["PySide*"]), + + # *** qt/qtcharts *** + # The python module is called QtChart in PyQt5, and QtCharts in PySide2, PySide6, and PyQt6 (which corresponds to + # the associated Qt module name, QtCharts). + _QtModuleDef("QtChart", shared_lib="Charts", bindings=["PyQt5"]), + _QtModuleDef("QtCharts", shared_lib="Charts", bindings=["!PyQt5"]), + + # *** qt/qtbase *** + # QtConcurrent python module is available only in PySide bindings. + _QtModuleDef(None, shared_lib="Concurrent", bindings=["PyQt*"]), + _QtModuleDef("QtConcurrent", shared_lib="Concurrent", bindings=["PySide*"]), + _QtModuleDef("QtCore", shared_lib="Core", translations=["qt", "qtbase"]), + # QtDBus python module is available in all bindings but PySide2. + _QtModuleDef(None, shared_lib="DBus", bindings=["PySide2"]), + _QtModuleDef("QtDBus", shared_lib="DBus", bindings=["!PySide2"]), + # QtNetwork uses different plugins in Qt5 and Qt6. + _QtModuleDef("QtNetwork", shared_lib="Network", plugins=["bearer"], bindings=["PySide2", "PyQt5"]), + _QtModuleDef( + "QtNetwork", + shared_lib="Network", + plugins=["networkaccess", "networkinformation", "tls"], + bindings=["PySide6", "PyQt6"] + ), + _QtModuleDef( + "QtGui", + shared_lib="Gui", + plugins=[ + "accessiblebridge", + "egldeviceintegrations", + "generic", + "iconengines", + "imageformats", + "platforms", + "platforms/darwin", + "platforminputcontexts", + "platformthemes", + "xcbglintegrations", + # The ``wayland-*`` plugins are part of QtWaylandClient Qt module, whose shared library + # (e.g., libQt5WaylandClient.so) is linked by the wayland-related ``platforms`` plugins. Ideally, we would + # collect these plugins based on the QtWaylandClient shared library entry, but as our Qt hook utilities do + # not scan the plugins for dependencies, that would not work. So instead we list these plugins under QtGui + # to achieve pretty much the same end result. + "wayland-decoration-client", + "wayland-graphics-integration-client", + "wayland-shell-integration" + ] + ), + _QtModuleDef("QtOpenGL", shared_lib="OpenGL"), + # This python module is specific to PySide2 and has no associated Qt module. + _QtModuleDef("QtOpenGLFunctions", bindings=["PySide2"]), + # This Qt module was introduced with Qt6. + _QtModuleDef("QtOpenGLWidgets", shared_lib="OpenGLWidgets", bindings=["PySide6", "PyQt6"]), + _QtModuleDef("QtPrintSupport", shared_lib="PrintSupport", plugins=["printsupport"]), + _QtModuleDef("QtSql", shared_lib="Sql", plugins=["sqldrivers"]), + _QtModuleDef("QtTest", shared_lib="Test"), + _QtModuleDef("QtWidgets", shared_lib="Widgets", plugins=["styles"]), + _QtModuleDef("QtXml", shared_lib="Xml"), + + # *** qt/qtconnectivity *** + _QtModuleDef("QtBluetooth", shared_lib="QtBluetooth", translations=["qtconnectivity"]), + _QtModuleDef("QtNfc", shared_lib="Nfc", translations=["qtconnectivity"]), + + # *** qt/qtdatavis3d *** + _QtModuleDef("QtDataVisualization", shared_lib="DataVisualization"), + + # *** qt/qtdeclarative *** + _QtModuleDef("QtQml", shared_lib="Qml", translations=["qtdeclarative"], plugins=["qmltooling"]), + # Have the Qt5 variant collect translations for qtquickcontrols (qt/qtquickcontrols provides only QtQuick plugins). + _QtModuleDef( + "QtQuick", + shared_lib="Quick", + translations=["qtquickcontrols"], + plugins=["scenegraph"], + bindings=["PySide2", "PyQt5"] + ), + _QtModuleDef("QtQuick", shared_lib="Quick", plugins=["scenegraph"], bindings=["PySide6", "PyQt6"]), + # Qt6-only; in Qt5, this module is part of qt/qtquickcontrols2. Python module is available only in PySide6. + _QtModuleDef(None, shared_lib="QuickControls2", bindings=["PyQt6"]), + _QtModuleDef("QtQuickControls2", shared_lib="QuickControls2", bindings=["PySide6"]), + _QtModuleDef("QtQuickWidgets", shared_lib="QuickWidgets"), + + # *** qt/qtgamepad *** + # No python module; shared library -> plugins association entry. + _QtModuleDef(None, shared_lib="Gamepad", plugins=["gamepads"]), + + # *** qt/qtgraphs *** + # Qt6 >= 6.6.0; python module is available only in PySide6. + _QtModuleDef("QtGraphs", shared_lib="Graphs", bindings=["PySide6"]), + + # *** qt/qthttpserver *** + # Qt6 >= 6.4.0; python module is available only in PySide6. + _QtModuleDef("QtHttpServer", shared_lib="HttpServer", bindings=["PySide6"]), + + # *** qt/qtlocation *** + # QtLocation was reintroduced in Qt6 v6.5.0. + _QtModuleDef( + "QtLocation", + shared_lib="Location", + translations=["qtlocation"], + plugins=["geoservices"], + bindings=["PySide2", "PyQt5", "PySide6"] + ), + _QtModuleDef( + "QtPositioning", + shared_lib="Positioning", + translations=["qtlocation"], + plugins=["position"], + ), + + # *** qt/qtmacextras *** + # Qt5-only Qt module. + _QtModuleDef("QtMacExtras", shared_lib="MacExtras", bindings=["PySide2", "PyQt5"]), + + # *** qt/qtmultimedia *** + # QtMultimedia on Qt6 currently uses only a subset of plugin names from Qt5 counterpart. + _QtModuleDef( + "QtMultimedia", + shared_lib="Multimedia", + translations=["qtmultimedia"], + plugins=[ + "mediaservice", "audio", "video/bufferpool", "video/gstvideorenderer", "video/videonode", "playlistformats", + "resourcepolicy" + ], + bindings=["PySide2", "PyQt5"] + ), + _QtModuleDef( + "QtMultimedia", + shared_lib="Multimedia", + translations=["qtmultimedia"], + # `multimedia` plugins are available as of Qt6 >= 6.4.0; earlier versions had `video/gstvideorenderer` and + # `video/videonode` plugins. + plugins=["multimedia", "video/gstvideorenderer", "video/videonode"], + bindings=["PySide6", "PyQt6"] + ), + _QtModuleDef("QtMultimediaWidgets", shared_lib="MultimediaWidgets"), + # Qt6-only Qt module; python module is available in PySide6 >= 6.4.0 and PyQt6 >= 6.5.0 + _QtModuleDef("QtSpatialAudio", shared_lib="SpatialAudio", bindings=["PySide6", "PyQt6"]), + + # *** qt/qtnetworkauth *** + # QtNetworkAuth python module is available in all bindings but PySide2. + _QtModuleDef(None, shared_lib="NetworkAuth", bindings=["PySide2"]), + _QtModuleDef("QtNetworkAuth", shared_lib="NetworkAuth", bindings=["!PySide2"]), + + # *** qt/qtpurchasing *** + # Qt5-only Qt module, python module is available only in PyQt5. + _QtModuleDef("QtPurchasing", shared_lib="Purchasing", bindings=["PyQt5"]), + + # *** qt/qtquick1 *** + # This is an old, Qt 5.3-era module... + _QtModuleDef( + "QtDeclarative", + shared_lib="Declarative", + translations=["qtquick1"], + plugins=["qml1tooling"], + bindings=["PySide2", "PyQt5"] + ), + + # *** qt/qtquick3d *** + # QtQuick3D python module is available in all bindings but PySide2. + _QtModuleDef(None, shared_lib="Quick3D", bindings=["PySide2"]), + _QtModuleDef("QtQuick3D", shared_lib="Quick3D", bindings=["!PySide2"]), + # No python module; shared library -> plugins association entry. + _QtModuleDef(None, shared_lib="Quick3DAssetImport", plugins=["assetimporters"]), + + # *** qt/qtquickcontrols2 *** + # Qt5-only module; in Qt6, this module is part of qt/declarative. Python module is available only in PySide2. + _QtModuleDef(None, translations=["qtquickcontrols2"], shared_lib="QuickControls2", bindings=["PyQt5"]), + _QtModuleDef( + "QtQuickControls2", translations=["qtquickcontrols2"], shared_lib="QuickControls2", bindings=["PySide2"] + ), + + # *** qt/qtremoteobjects *** + _QtModuleDef("QtRemoteObjects", shared_lib="RemoteObjects"), + + # *** qt/qtscxml *** + # Python module is available only in PySide bindings. Plugins are available only in Qt6. + # PyQt wheels do not seem to ship the corresponding Qt modules (shared libs) at all. + _QtModuleDef("QtScxml", shared_lib="Scxml", bindings=["PySide2"]), + _QtModuleDef("QtScxml", shared_lib="Scxml", plugins=["scxmldatamodel"], bindings=["PySide6"]), + # Qt6-only Qt module, python module is available only in PySide6. + _QtModuleDef("QtStateMachine", shared_lib="StateMachine", bindings=["PySide6"]), + + # *** qt/qtsensors *** + _QtModuleDef("QtSensors", shared_lib="Sensors", plugins=["sensors", "sensorgestures"]), + + # *** qt/qtserialport *** + _QtModuleDef("QtSerialPort", shared_lib="SerialPort", translations=["qtserialport"]), + + # *** qt/qtscript *** + # Qt5-only Qt module, python module is available only in PySide2. PyQt5 wheels do not seem to ship the corresponding + # Qt modules (shared libs) at all. + _QtModuleDef("QtScript", shared_lib="Script", translations=["qtscript"], plugins=["script"], bindings=["PySide2"]), + _QtModuleDef("QtScriptTools", shared_lib="ScriptTools", bindings=["PySide2"]), + + # *** qt/qtserialbus *** + # No python module; shared library -> plugins association entry. + # PySide6 6.5.0 introduced python module. + _QtModuleDef(None, shared_lib="SerialBus", plugins=["canbus"], bindings=["!PySide6"]), + _QtModuleDef("QtSerialBus", shared_lib="SerialBus", plugins=["canbus"], bindings=["PySide6"]), + + # *** qt/qtsvg *** + _QtModuleDef("QtSvg", shared_lib="Svg"), + # Qt6-only Qt module. + _QtModuleDef("QtSvgWidgets", shared_lib="SvgWidgets", bindings=["PySide6", "PyQt6"]), + + # *** qt/qtspeech *** + _QtModuleDef("QtTextToSpeech", shared_lib="TextToSpeech", plugins=["texttospeech"]), + + # *** qt/qttools *** + # QtDesigner python module is available in all bindings but PySide2. + _QtModuleDef(None, shared_lib="Designer", plugins=["designer"], bindings=["PySide2"]), + _QtModuleDef( + "QtDesigner", shared_lib="Designer", translations=["designer"], plugins=["designer"], bindings=["!PySide2"] + ), + _QtModuleDef("QtHelp", shared_lib="Help", translations=["qt_help"]), + # Python module is available only in PySide bindings. + _QtModuleDef("QtUiTools", shared_lib="UiTools", bindings=["PySide*"]), + + # *** qt/qtvirtualkeyboard *** + # No python module; shared library -> plugins association entry. + _QtModuleDef(None, shared_lib="VirtualKeyboard", plugins=["virtualkeyboard"]), + + # *** qt/qtwebchannel *** + _QtModuleDef("QtWebChannel", shared_lib="WebChannel"), + + # *** qt/qtwebengine *** + # QtWebEngine is Qt5-only module (replaced by QtWebEngineQuick in Qt6). + _QtModuleDef("QtWebEngine", shared_lib="WebEngine", bindings=["PySide2", "PyQt5"]), + _QtModuleDef("QtWebEngineCore", shared_lib="WebEngineCore", translations=["qtwebengine"]), + # QtWebEngineQuick is Qt6-only module (replacement for QtWebEngine in Qt5). + _QtModuleDef("QtWebEngineQuick", shared_lib="WebEngineQuick", bindings=["PySide6", "PyQt6"]), + _QtModuleDef("QtWebEngineWidgets", shared_lib="WebEngineWidgets"), + # QtPdf and QtPdfWidgets have python module available in PySide6 and PyQt6 >= 6.4.0. + _QtModuleDef("QtPdf", shared_lib="Pdf", bindings=["PySide6", "PyQt6"]), + _QtModuleDef("QtPdfWidgets", shared_lib="PdfWidgets", bindings=["PySide6", "PyQt6"]), + + # *** qt/qtwebsockets *** + _QtModuleDef("QtWebSockets", shared_lib="WebSockets", translations=["qtwebsockets"]), + + # *** qt/qtwebview *** + # No python module; shared library -> plugins association entry. + _QtModuleDef(None, shared_lib="WebView", plugins=["webview"]), + + # *** qt/qtwinextras *** + # Qt5-only Qt module. + _QtModuleDef("QtWinExtras", shared_lib="WinExtras", bindings=["PySide2", "PyQt5"]), + + # *** qt/qtx11extras *** + # Qt5-only Qt module. + _QtModuleDef("QtX11Extras", shared_lib="X11Extras", bindings=["PySide2", "PyQt5"]), + + # *** qt/qtxmlpatterns *** + # Qt5-only Qt module. + _QtModuleDef( + "QtXmlPatterns", shared_lib="XmlPatterns", translations=["qtxmlpatterns"], bindings=["PySide2", "PyQt5"] + ), + + # *** qscintilla *** + # Python module is available only in PyQt bindings. No associated shared library. + _QtModuleDef("Qsci", translations=["qscintilla"], bindings=["PyQt*"]), +) + + +# Helpers for turning Qt namespace specifiers, such as "!PySide2" or "PyQt*", into set of applicable +# namespaces. +def process_namespace_strings(namespaces): + """"Process list of Qt namespace specifier strings into set of namespaces.""" + bindings = set() + for namespace in namespaces: + bindings |= _process_namespace_string(namespace) + return bindings + + +def _process_namespace_string(namespace): + """Expand a Qt namespace specifier string into set of namespaces.""" + if namespace.startswith("!"): + bindings = _process_namespace_string(namespace[1:]) + return ALL_QT_BINDINGS - bindings + else: + if namespace == "PySide*": + return {"PySide2", "PySide6"} + elif namespace == "PyQt*": + return {"PyQt5", "PyQt6"} + elif namespace in ALL_QT_BINDINGS: + return {namespace} + else: + raise ValueError(f"Invalid Qt namespace specifier: {namespace}!") diff --git a/.venv/Lib/site-packages/PyInstaller/utils/hooks/setuptools.py b/.venv/Lib/site-packages/PyInstaller/utils/hooks/setuptools.py new file mode 100644 index 0000000..71d7432 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/hooks/setuptools.py @@ -0,0 +1,256 @@ +# ---------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +from PyInstaller import log as logging +from PyInstaller import isolated + +logger = logging.getLogger(__name__) + + +# Import setuptools and analyze its properties in an isolated subprocess. This function is called by `SetuptoolsInfo` +# to initialize its properties. +@isolated.decorate +def _retrieve_setuptools_info(): + import importlib + + try: + setuptools = importlib.import_module("setuptools") # noqa: F841 + except ModuleNotFoundError: + return None + + # Delay these imports until after we have confirmed that setuptools is importable. + import pathlib + + import packaging.version + + from PyInstaller.compat import importlib_metadata + from PyInstaller.utils.hooks import ( + collect_data_files, + collect_submodules, + ) + + # Try to retrieve the version. At this point, failure is consider an error. + version_string = importlib_metadata.version("setuptools") + version = packaging.version.Version(version_string).release # Use the version tuple + + # setuptools >= 60.0 its vendored copy of distutils (mainly due to its removal from stdlib in python >= 3.12). + distutils_vendored = False + distutils_modules = [] + if version >= (60, 0): + distutils_vendored = True + distutils_modules += ["_distutils_hack"] + distutils_modules += collect_submodules( + "setuptools._distutils", + # setuptools 71.0.1 ~ 71.0.4 include `setuptools._distutils.tests`; avoid explicitly collecting it + # (t was not included in earlier setuptools releases). + filter=lambda name: name != 'setuptools._distutils.tests', + ) + + # Check if `setuptools._vendor` exists. Some linux distributions opt to de-vendor `setuptools` and remove the + # `setuptools._vendor` directory altogether. If this is the case, most of additional processing below should be + # skipped to avoid errors and warnings about non-existent `setuptools._vendor` module. + try: + setuptools_vendor = importlib.import_module("setuptools._vendor") + except ModuleNotFoundError: + setuptools_vendor = None + + # Check for exposed packages/modules that are vendored by setuptools. If stand-alone version is not provided in the + # environment, setuptools-vendored version is exposed (due to location of `setuptools._vendor` being appended to + # `sys.path`. Applicable to v71.0.0 and later. + vendored_status = dict() + if version >= (71, 0) and setuptools_vendor is not None: + VENDORED_CANDIDATES = ( + "autocommand", + "backports.tarfile", + "importlib_metadata", + "importlib_resources", + "inflect", + "jaraco.context", + "jaraco.functools", + "jaraco.text", + "more_itertools", + "ordered_set", + "packaging", + "platformdirs", + "tomli", + "typeguard", + "typing_extensions", + "wheel", + "zipp", + ) + + # Resolve path(s) of `setuptools_vendor` package. + setuptools_vendor_paths = [pathlib.Path(path).resolve() for path in setuptools_vendor.__path__] + + # Process each candidate + for candidate_name in VENDORED_CANDIDATES: + try: + candidate = importlib.import_module(candidate_name) + except ImportError: + continue + + # Check the __file__ attribute (modules and regular packages). Will not work with namespace packages, but + # at the moment, there are none. + candidate_file_attr = getattr(candidate, '__file__', None) + if candidate_file_attr is not None: + candidate_path = pathlib.Path(candidate_file_attr).parent.resolve() + is_vendored = any([ + setuptools_vendor_path in candidate_path.parents or candidate_path == setuptools_vendor_path + for setuptools_vendor_path in setuptools_vendor_paths + ]) + vendored_status[candidate_name] = is_vendored + + # Collect submodules from `setuptools._vendor`, regardless of whether the vendored package is exposed or + # not (because setuptools might need/use it either way). + vendored_modules = [] + if setuptools_vendor is not None: + EXCLUDED_VENDORED_MODULES = ( + # Prevent recursing into setuptools._vendor.pyparsing.diagram, which typically fails to be imported due + # to missing dependencies (railroad, pyparsing (?), jinja2) and generates a warning... As the module is + # usually unimportable, it is likely not to be used by setuptools. NOTE: pyparsing was removed from + # vendored packages in setuptools v67.0.0; keep this exclude around for earlier versions. + 'setuptools._vendor.pyparsing.diagram', + # Setuptools >= 71 started shipping vendored dependencies that include tests; avoid collecting those via + # hidden imports. (Note that this also prevents creation of aliases for these module, but that should + # not be an issue, as they should not be referenced from anywhere). + 'setuptools._vendor.importlib_resources.tests', + # These appear to be utility scripts bundled with the jaraco.text package - exclude them. + 'setuptools._vendor.jaraco.text.show-newlines', + 'setuptools._vendor.jaraco.text.strip-prefix', + 'setuptools._vendor.jaraco.text.to-dvorak', + 'setuptools._vendor.jaraco.text.to-qwerty', + ) + vendored_modules += collect_submodules( + 'setuptools._vendor', + filter=lambda name: name not in EXCLUDED_VENDORED_MODULES, + ) + + # `collect_submodules` (and its underlying `pkgutil.iter_modules` do not discover namespace sub-packages, in + # this case `setuptools._vendor.jaraco`. So force a manual scan of modules/packages inside it. + vendored_modules += collect_submodules( + 'setuptools._vendor.jaraco', + filter=lambda name: name not in EXCLUDED_VENDORED_MODULES, + ) + + # *** Data files for vendored packages *** + vendored_data = [] + + if version >= (71, 0) and setuptools_vendor is not None: + # Since the vendored dependencies from `setuptools/_vendor` are now visible to the outside world, make + # sure we collect their metadata. (We cannot use copy_metadata here, because we need to collect data + # files to their original locations). + vendored_data += collect_data_files('setuptools._vendor', includes=['**/*.dist-info']) + # Similarly, ensure that `Lorem ipsum.txt` from vendored jaraco.text is collected + vendored_data += collect_data_files('setuptools._vendor.jaraco.text', includes=['**/Lorem ipsum.txt']) + + # Return dictionary with collected information + return { + "available": True, + "version": version, + "distutils_vendored": distutils_vendored, + "distutils_modules": distutils_modules, + "vendored_status": vendored_status, + "vendored_modules": vendored_modules, + "vendored_data": vendored_data, + } + + +class SetuptoolsInfo: + def __init__(self): + pass + + def __repr__(self): + return "SetuptoolsInfo" + + # Delay initialization of setuptools information until until the corresponding attributes are first requested. + def __getattr__(self, name): + if 'available' in self.__dict__: + # Initialization was already done, but requested attribute is not available. + raise AttributeError(name) + + # Load setuptools info... + self._load_setuptools_info() + # ... and return the requested attribute + return getattr(self, name) + + def _load_setuptools_info(self): + logger.info("%s: initializing cached setuptools info...", self) + + # Initialize variables so that they might be accessed even if setuptools is unavailable or if initialization + # fails for some reason. + self.available = False + self.version = None + self.distutils_vendored = False + self.distutils_modules = [] + self.vendored_status = dict() + self.vendored_modules = [] + self.vendored_data = [] + + try: + setuptools_info = _retrieve_setuptools_info() + except Exception as e: + logger.warning("%s: failed to obtain setuptools info: %s", self, e) + return + + # If package could not be imported, `_retrieve_setuptools_info` returns None. In such cases, emit a debug + # message instead of a warning, because this initialization might be triggered by a helper function that is + # trying to determine availability of `setuptools` by inspecting the `available` attribute. + if setuptools_info is None: + logger.debug("%s: failed to obtain setuptools info: setuptools could not be imported.", self) + return + + # Copy properties + for key, value in setuptools_info.items(): + setattr(self, key, value) + + def is_vendored(self, module_name): + return self.vendored_status.get(module_name, False) + + @staticmethod + def _create_vendored_aliases(vendored_name, module_name, modules_list): + # Create aliases for all submodules + prefix_len = len(vendored_name) # Length of target-name prefix to remove + return ((module_name + vendored_module[prefix_len:], vendored_module) for vendored_module in modules_list + if vendored_module.startswith(vendored_name)) + + def get_vendored_aliases(self, module_name): + vendored_name = f"setuptools._vendor.{module_name}" + return self._create_vendored_aliases(vendored_name, module_name, self.vendored_modules) + + def get_distutils_aliases(self): + vendored_name = "setuptools._distutils" + return self._create_vendored_aliases(vendored_name, "distutils", self.distutils_modules) + + +setuptools_info = SetuptoolsInfo() + + +def pre_safe_import_module(api): + """ + A common implementation of pre_safe_import_module hook function. + + This function can be either called from the `pre_safe_import_module` function in a pre-safe-import-module hook, or + just imported into the hook. + """ + module_name = api.module_name + + # Check if the package/module is a vendored copy. This also returns False is setuptools is unavailable, because + # vendored module status dictionary will be empty. + if not setuptools_info.is_vendored(module_name): + return + + vendored_name = f"setuptools._vendor.{module_name}" + logger.info( + "Setuptools: %r appears to be a setuptools-vendored copy - creating alias to %r!", module_name, vendored_name + ) + + # Create aliases for all (sub)modules + for aliased_name, real_vendored_name in setuptools_info.get_vendored_aliases(module_name): + api.add_alias_module(real_vendored_name, aliased_name) diff --git a/.venv/Lib/site-packages/PyInstaller/utils/hooks/tcl_tk.py b/.venv/Lib/site-packages/PyInstaller/utils/hooks/tcl_tk.py new file mode 100644 index 0000000..9871d10 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/hooks/tcl_tk.py @@ -0,0 +1,345 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +import os +import fnmatch + +from PyInstaller import compat +from PyInstaller import isolated +from PyInstaller import log as logging +from PyInstaller.depend import bindepend + +if compat.is_darwin: + from PyInstaller.utils import osx as osxutils + +logger = logging.getLogger(__name__) + + +@isolated.decorate +def _get_tcl_tk_info(): + """ + Isolated-subprocess helper to retrieve the basic Tcl/Tk information: + - tkinter_extension_file = the value of __file__ attribute of the _tkinter binary extension (path to file). + - tcl_data_dir = path to the Tcl library/data directory. + - tcl_version = Tcl version + - tk_version = Tk version + - tcl_theaded = boolean indicating whether Tcl/Tk is built with multi-threading support. + """ + try: + import tkinter + import _tkinter + except ImportError: + # tkinter unavailable + return None + try: + tcl = tkinter.Tcl() + except tkinter.TclError: # e.g. "Can't find a usable init.tcl in the following directories: ..." + return None + + # Query the location of Tcl library/data directory. + tcl_data_dir = tcl.eval("info library") + + # Check if Tcl/Tk is built with multi-threaded support (built with --enable-threads), as indicated by the presence + # of optional `threaded` member in `tcl_platform` array. + try: + tcl.getvar("tcl_platform(threaded)") # Ignore the actual value. + tcl_threaded = True + except tkinter.TclError: + tcl_threaded = False + + return { + "available": True, + # If `_tkinter` is a built-in (as opposed to an extension), it does not have a `__file__` attribute. + "tkinter_extension_file": getattr(_tkinter, '__file__', None), + "tcl_version": _tkinter.TCL_VERSION, + "tk_version": _tkinter.TK_VERSION, + "tcl_threaded": tcl_threaded, + "tcl_data_dir": tcl_data_dir, + } + + +class TclTkInfo: + # Root directory names of Tcl and Tk library/data directories in the frozen application. These directories are + # originally fully versioned (e.g., tcl8.6 and tk8.6); we want to remap them to unversioned variants, so that our + # run-time hook (pyi_rthook__tkinter.py) does not have to determine version numbers when setting `TCL_LIBRARY` + # and `TK_LIBRARY` environment variables. + # + # We also cannot use plain "tk" and "tcl", because on macOS, the Tcl and Tk shared libraries might come from + # framework bundles, and would therefore end up being collected as "Tcl" and "Tk" in the top-level application + # directory, causing clash due to filesystem being case-insensitive by default. + TCL_ROOTNAME = '_tcl_data' + TK_ROOTNAME = '_tk_data' + + def __init__(self): + pass + + def __repr__(self): + return "TclTkInfo" + + # Delay initialization of Tcl/Tk information until until the corresponding attributes are first requested. + def __getattr__(self, name): + if 'available' in self.__dict__: + # Initialization was already done, but requested attribute is not available. + raise AttributeError(name) + + # Load Qt library info... + self._load_tcl_tk_info() + # ... and return the requested attribute + return getattr(self, name) + + def _load_tcl_tk_info(self): + logger.info("%s: initializing cached Tcl/Tk info...", self) + + # Initialize variables so that they might be accessed even if tkinter/Tcl/Tk is unavailable or if initialization + # fails for some reason. + self.available = False + self.tkinter_extension_file = None + self.tcl_version = None + self.tk_version = None + self.tcl_threaded = False + self.tcl_data_dir = None + + self.tk_data_dir = None + self.tcl_module_dir = None + + self.is_macos_system_framework = False + self.tcl_shared_library = None + self.tk_shared_library = None + + self.data_files = [] + + try: + tcl_tk_info = _get_tcl_tk_info() + except Exception as e: + logger.warning("%s: failed to obtain Tcl/Tk info: %s", self, e) + return + + # If tkinter could not be imported, `_get_tcl_tk_info` returns None. In such cases, emit a debug message instead + # of a warning, because this initialization might be triggered by a helper function that is trying to determine + # availability of `tkinter` by inspecting the `available` attribute. + if tcl_tk_info is None: + logger.debug("%s: failed to obtain Tcl/Tk info: tkinter/_tkinter could not be imported.", self) + return + + # Copy properties + for key, value in tcl_tk_info.items(): + setattr(self, key, value) + + # Parse Tcl/Tk version into (major, minor) tuple. + self.tcl_version = tuple((int(x) for x in self.tcl_version.split(".")[:2])) + self.tk_version = tuple((int(x) for x in self.tk_version.split(".")[:2])) + + # Determine full path to Tcl and Tk shared libraries against which the `_tkinter` extension module is linked. + # This can only be done when `_tkinter` is in fact an extension, and not a built-in. In the latter case, the + # Tcl/Tk libraries are statically linked into python shared library, so there are no shared libraries for us + # to discover. + if self.tkinter_extension_file: + try: + ( + self.tcl_shared_library, + self.tk_shared_library, + ) = self._find_tcl_tk_shared_libraries(self.tkinter_extension_file) + except Exception: + logger.warning("%s: failed to determine Tcl and Tk shared library location!", self, exc_info=True) + + # macOS: check if _tkinter is linked against system-provided Tcl.framework and Tk.framework. This is the + # case with python3 from XCode tools (and was the case with very old homebrew python builds). In such cases, + # we should not be collecting Tcl/Tk files. + if compat.is_darwin: + self.is_macos_system_framework = self._check_macos_system_framework(self.tcl_shared_library) + + # Emit a warning in the unlikely event that we are dealing with Teapot-distributed version of ActiveTcl. + if not self.is_macos_system_framework: + self._warn_if_using_activetcl_or_teapot(self.tcl_data_dir) + + # Infer location of Tk library/data directory. Ideally, we could infer this by running + # + # import tkinter + # root = tkinter.Tk() + # tk_data_dir = root.tk.exprstring('$tk_library') + # + # in the isolated subprocess as part of `_get_tcl_tk_info`. However, that is impractical, as it shows the empty + # window, and on some platforms (e.g., linux) requires display server. Therefore, try to guess the location, + # based on the following heuristic: + # - if Tk is built as macOS framework bundle, look for Scripts sub-directory in Resources directory next to + # the shared library. + # - otherwise, look for: $tcl_root/../tkX.Y, where X and Y are Tk major and minor version. + if compat.is_darwin and self.tk_shared_library and ( + # is_framework_bundle_lib handles only fully-versioned framework library paths... + (osxutils.is_framework_bundle_lib(self.tk_shared_library)) or + # ... so manually handle top-level-symlinked variant for now. + (self.tk_shared_library).endswith("Tk.framework/Tk") + ): + # Fully resolve the library path, in case it is a top-level symlink; for example, resolve + # /Library/Frameworks/Python.framework/Versions/3.13/Frameworks/Tk.framework/Tk + # into + # /Library/Frameworks/Python.framework/Versions/3.13/Frameworks/Tk.framework/Versions/8.6/Tk + tk_lib_realpath = os.path.realpath(self.tk_shared_library) + # Resources/Scripts directory next to the shared library + self.tk_data_dir = os.path.join(os.path.dirname(tk_lib_realpath), "Resources", "Scripts") + else: + self.tk_data_dir = os.path.join( + os.path.dirname(self.tcl_data_dir), + f"tk{self.tk_version[0]}.{self.tk_version[1]}", + ) + + # Infer location of Tcl module directory. The modules directory is separate from the library/data one, and + # is located at $tcl_root/../tclX, where X is the major Tcl version. + self.tcl_module_dir = os.path.join( + os.path.dirname(self.tcl_data_dir), + f"tcl{self.tcl_version[0]}", + ) + + # Find all data files + if self.is_macos_system_framework: + logger.info("%s: using macOS system Tcl/Tk framework - not collecting data files.", self) + else: + # Collect Tcl and Tk scripts from their corresponding library/data directories. See comment at the + # definition of TK_ROOTNAME and TK_ROOTNAME variables. + if os.path.isdir(self.tcl_data_dir): + self.data_files += self._collect_files_from_directory( + self.tcl_data_dir, + prefix=self.TCL_ROOTNAME, + excludes=['demos', '*.lib', 'tclConfig.sh'], + ) + else: + logger.warning("%s: Tcl library/data directory %r does not exist!", self, self.tcl_data_dir) + + if os.path.isdir(self.tk_data_dir): + self.data_files += self._collect_files_from_directory( + self.tk_data_dir, + prefix=self.TK_ROOTNAME, + excludes=['demos', '*.lib', 'tkConfig.sh'], + ) + else: + logger.warning("%s: Tk library/data directory %r does not exist!", self, self.tk_data_dir) + + # Collect Tcl modules from modules directory + if os.path.isdir(self.tcl_module_dir): + self.data_files += self._collect_files_from_directory( + self.tcl_module_dir, + prefix=os.path.basename(self.tcl_module_dir), + ) + else: + logger.warning("%s: Tcl module directory %r does not exist!", self, self.tcl_module_dir) + + @staticmethod + def _collect_files_from_directory(root, prefix=None, excludes=None): + """ + A minimal port of PyInstaller.building.datastruct.Tree() functionality, which allows us to avoid using Tree + here. This way, the TclTkInfo data structure can be used without having PyInstaller's config context set up. + """ + excludes = excludes or [] + + todo = [(root, prefix)] + output = [] + while todo: + target_dir, prefix = todo.pop() + + for entry in os.listdir(target_dir): + # Basic name-based exclusion + if any((fnmatch.fnmatch(entry, exclude) for exclude in excludes)): + continue + + src_path = os.path.join(target_dir, entry) + dest_path = os.path.join(prefix, entry) if prefix else entry + + if os.path.isdir(src_path): + todo.append((src_path, dest_path)) + else: + # Return 3-element tuples with fully-resolved dest path, since other parts of code depend on that. + output.append((dest_path, src_path, 'DATA')) + + return output + + @staticmethod + def _find_tcl_tk_shared_libraries(tkinter_ext_file): + """ + Find Tcl and Tk shared libraries against which the _tkinter extension module is linked. + """ + tcl_lib = None + tk_lib = None + + for _, lib_path in bindepend.get_imports(tkinter_ext_file): # (name, fullpath) tuple + if lib_path is None: + continue # Skip unresolved entries + + # For comparison, take basename of lib_path. On macOS, lib_name returned by get_imports is in fact + # referenced name, which is not necessarily just a basename. + lib_name = os.path.basename(lib_path) + lib_name_lower = lib_name.lower() # lower-case for comparisons + + if 'tcl' in lib_name_lower: + tcl_lib = lib_path + elif 'tk' in lib_name_lower: + tk_lib = lib_path + + return tcl_lib, tk_lib + + @staticmethod + def _check_macos_system_framework(tcl_shared_lib): + # Starting with macOS 11, system libraries are hidden (unless both Python and PyInstaller's bootloader are built + # against macOS 11.x SDK). Therefore, Tcl shared library might end up unresolved (None); but that implicitly + # indicates that the system framework is used. + if tcl_shared_lib is None: + return True + + # Check if the path corresponds to the system framework, i.e., [/System]/Library/Frameworks/Tcl.framework/Tcl + return 'Library/Frameworks/Tcl.framework' in tcl_shared_lib + + @staticmethod + def _warn_if_using_activetcl_or_teapot(tcl_root): + """ + Check if Tcl installation is a Teapot-distributed version of ActiveTcl, and log a non-fatal warning that the + resulting frozen application will (likely) fail to run on other systems. + + PyInstaller does *not* freeze all ActiveTcl dependencies -- including Teapot, which is typically ignorable. + Since Teapot is *not* ignorable in this case, this function warns of impending failure. + + See Also + ------- + https://github.com/pyinstaller/pyinstaller/issues/621 + """ + if tcl_root is None: + return + + # Read the "init.tcl" script and look for mentions of "activetcl" and "teapot" + init_tcl = os.path.join(tcl_root, 'init.tcl') + if not os.path.isfile(init_tcl): + return + + mentions_activetcl = False + mentions_teapot = False + + # Tcl/Tk reads files using the system encoding (https://www.tcl.tk/doc/howto/i18n.html#system_encoding); + # on macOS, this is UTF-8. + with open(init_tcl, 'r', encoding='utf8') as fp: + for line in fp.readlines(): + line = line.strip().lower() + if line.startswith('#'): + continue + if 'activetcl' in line: + mentions_activetcl = True + if 'teapot' in line: + mentions_teapot = True + if mentions_activetcl and mentions_teapot: + break + + if mentions_activetcl and mentions_teapot: + logger.warning( + "You appear to be using an ActiveTcl build of Tcl/Tk, which PyInstaller has\n" + "difficulty freezing. To fix this, comment out all references to 'teapot' in\n" + f"{init_tcl!r}\n" + "See https://github.com/pyinstaller/pyinstaller/issues/621 for more information." + ) + + +tcltk_info = TclTkInfo() diff --git a/.venv/Lib/site-packages/PyInstaller/utils/misc.py b/.venv/Lib/site-packages/PyInstaller/utils/misc.py new file mode 100644 index 0000000..77a3e8e --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/misc.py @@ -0,0 +1,229 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +This module contains miscellaneous functions that do not fit anywhere else. +""" + +import glob +import os +import pprint +import codecs +import re +import tokenize +import io +import pathlib + +from PyInstaller import log as logging +from PyInstaller.compat import is_win + +logger = logging.getLogger(__name__) + + +def dlls_in_subdirs(directory): + """ + Returns a list *.dll, *.so, *.dylib in the given directory and its subdirectories. + """ + filelist = [] + for root, dirs, files in os.walk(directory): + filelist.extend(dlls_in_dir(root)) + return filelist + + +def dlls_in_dir(directory): + """ + Returns a list of *.dll, *.so, *.dylib in the given directory. + """ + return files_in_dir(directory, ["*.so", "*.dll", "*.dylib"]) + + +def files_in_dir(directory, file_patterns=None): + """ + Returns a list of files in the given directory that match the given pattern. + """ + + file_patterns = file_patterns or [] + + files = [] + for file_pattern in file_patterns: + files.extend(glob.glob(os.path.join(directory, file_pattern))) + return files + + +def get_path_to_toplevel_modules(filename): + """ + Return the path to top-level directory that contains Python modules. + + It will look in parent directories for __init__.py files. The first parent directory without __init__.py is the + top-level directory. + + Returned directory might be used to extend the PYTHONPATH. + """ + curr_dir = os.path.dirname(os.path.abspath(filename)) + pattern = '__init__.py' + + # Try max. 10 levels up. + try: + for i in range(10): + files = set(os.listdir(curr_dir)) + # 'curr_dir' is still not top-level; go to parent dir. + if pattern in files: + curr_dir = os.path.dirname(curr_dir) + # Top-level dir found; return it. + else: + return curr_dir + except IOError: + pass + # No top-level directory found, or error was encountered. + return None + + +def mtime(fnm): + try: + # TODO: explain why this does not use os.path.getmtime() ? + # - It is probably not used because it returns float and not int. + return os.stat(fnm)[8] + except Exception: + return 0 + + +def save_py_data_struct(filename, data): + """ + Save data into text file as Python data structure. + :param filename: + :param data: + :return: + """ + dirname = os.path.dirname(filename) + if not os.path.exists(dirname): + os.makedirs(dirname) + with open(filename, 'w', encoding='utf-8') as f: + pprint.pprint(data, f) + + +def load_py_data_struct(filename): + """ + Load data saved as python code and interpret that code. + :param filename: + :return: + """ + with open(filename, 'r', encoding='utf-8') as f: + if is_win: + # import versioninfo so that VSVersionInfo can parse correctly. + from PyInstaller.utils.win32 import versioninfo # noqa: F401 + + return eval(f.read()) + + +def absnormpath(apath): + return os.path.abspath(os.path.normpath(apath)) + + +def module_parent_packages(full_modname): + """ + Return list of parent package names. + 'aaa.bb.c.dddd' -> ['aaa', 'aaa.bb', 'aaa.bb.c'] + :param full_modname: Full name of a module. + :return: List of parent module names. + """ + prefix = '' + parents = [] + # Ignore the last component in module name and get really just parent, grandparent, great grandparent, etc. + for pkg in full_modname.split('.')[0:-1]: + # Ensure that first item does not start with dot '.' + prefix += '.' + pkg if prefix else pkg + parents.append(prefix) + return parents + + +def is_file_qt_plugin(filename): + """ + Check if the given file is a Qt plugin file. + :param filename: Full path to file to check. + :return: True if given file is a Qt plugin file, False if not. + """ + + # Check the file contents; scan for QTMETADATA string. The scan is based on the brute-force Windows codepath of + # findPatternUnloaded() from qtbase/src/corelib/plugin/qlibrary.cpp in Qt5. + with open(filename, 'rb') as fp: + fp.seek(0, os.SEEK_END) + end_pos = fp.tell() + + SEARCH_CHUNK_SIZE = 8192 + QTMETADATA_MAGIC = b'QTMETADATA ' + + magic_offset = -1 + while end_pos >= len(QTMETADATA_MAGIC): + start_pos = max(end_pos - SEARCH_CHUNK_SIZE, 0) + chunk_size = end_pos - start_pos + # Is the remaining chunk large enough to hold the pattern? + if chunk_size < len(QTMETADATA_MAGIC): + break + # Read and scan the chunk + fp.seek(start_pos, os.SEEK_SET) + buf = fp.read(chunk_size) + pos = buf.rfind(QTMETADATA_MAGIC) + if pos != -1: + magic_offset = start_pos + pos + break + # Adjust search location for next chunk; ensure proper overlap. + end_pos = start_pos + len(QTMETADATA_MAGIC) - 1 + if magic_offset == -1: + return False + + return True + + +BOM_MARKERS_TO_DECODERS = { + codecs.BOM_UTF32_LE: codecs.utf_32_le_decode, + codecs.BOM_UTF32_BE: codecs.utf_32_be_decode, + codecs.BOM_UTF32: codecs.utf_32_decode, + codecs.BOM_UTF16_LE: codecs.utf_16_le_decode, + codecs.BOM_UTF16_BE: codecs.utf_16_be_decode, + codecs.BOM_UTF16: codecs.utf_16_decode, + codecs.BOM_UTF8: codecs.utf_8_decode, +} +BOM_RE = re.compile(rb"\A(%s)?(.*)" % b"|".join(map(re.escape, BOM_MARKERS_TO_DECODERS)), re.DOTALL) + + +def decode(raw: bytes): + """ + Decode bytes to string, respecting and removing any byte-order marks if present, or respecting but not removing any + PEP263 encoding comments (# encoding: cp1252). + """ + bom, raw = BOM_RE.match(raw).groups() + if bom: + return BOM_MARKERS_TO_DECODERS[bom](raw)[0] + + encoding, _ = tokenize.detect_encoding(io.BytesIO(raw).readline) + return raw.decode(encoding) + + +def is_iterable(arg): + """ + Check if the passed argument is an iterable." + """ + try: + iter(arg) + except TypeError: + return False + return True + + +def path_to_parent_archive(filename): + """ + Check if the given file path points to a file inside an existing archive file. Returns first path from the set of + parent paths that points to an existing file, or `None` if no such path exists (i.e., file is an actual stand-alone + file). + """ + for parent in pathlib.Path(filename).parents: + if parent.is_file(): + return parent + return None diff --git a/.venv/Lib/site-packages/PyInstaller/utils/osx.py b/.venv/Lib/site-packages/PyInstaller/utils/osx.py new file mode 100644 index 0000000..4b26444 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/osx.py @@ -0,0 +1,735 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2014-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Utils for macOS platform. +""" + +import math +import os +import pathlib +import subprocess +import shutil +import tempfile + +from macholib.mach_o import ( + LC_BUILD_VERSION, + LC_CODE_SIGNATURE, + LC_ID_DYLIB, + LC_LOAD_DYLIB, + LC_LOAD_UPWARD_DYLIB, + LC_LOAD_WEAK_DYLIB, + LC_PREBOUND_DYLIB, + LC_REEXPORT_DYLIB, + LC_RPATH, + LC_SEGMENT_64, + LC_SYMTAB, + LC_UUID, + LC_VERSION_MIN_MACOSX, +) +from macholib.MachO import MachO +import macholib.util + +import PyInstaller.log as logging +from PyInstaller import compat + +logger = logging.getLogger(__name__) + + +def is_homebrew_env(): + """ + Check if Python interpreter was installed via Homebrew command 'brew'. + + :return: True if Homebrew else otherwise. + """ + # Python path prefix should start with Homebrew prefix. + env_prefix = get_homebrew_prefix() + if env_prefix and compat.base_prefix.startswith(env_prefix): + return True + return False + + +def is_macports_env(): + """ + Check if Python interpreter was installed via Macports command 'port'. + + :return: True if Macports else otherwise. + """ + # Python path prefix should start with Macports prefix. + env_prefix = get_macports_prefix() + if env_prefix and compat.base_prefix.startswith(env_prefix): + return True + return False + + +def get_homebrew_prefix(): + """ + :return: Root path of the Homebrew environment. + """ + prefix = shutil.which('brew') + # Conversion: /usr/local/bin/brew -> /usr/local + prefix = os.path.dirname(os.path.dirname(prefix)) + return prefix + + +def get_macports_prefix(): + """ + :return: Root path of the Macports environment. + """ + prefix = shutil.which('port') + # Conversion: /usr/local/bin/port -> /usr/local + prefix = os.path.dirname(os.path.dirname(prefix)) + return prefix + + +def _find_version_cmd(header): + """ + Helper that finds the version command in the given MachO header. + """ + # The SDK version is stored in LC_BUILD_VERSION command (used when targeting the latest versions of macOS) or in + # older LC_VERSION_MIN_MACOSX command. Check for presence of either. + version_cmd = [cmd for cmd in header.commands if cmd[0].cmd in {LC_BUILD_VERSION, LC_VERSION_MIN_MACOSX}] + assert len(version_cmd) == 1, \ + f"Expected exactly one LC_BUILD_VERSION or LC_VERSION_MIN_MACOSX command, found {len(version_cmd)}!" + return version_cmd[0] + + +def get_macos_sdk_version(filename): + """ + Obtain the version of macOS SDK against which the given binary was built. + + NOTE: currently, version is retrieved only from the first arch slice in the binary. + + :return: (major, minor, revision) tuple + """ + binary = MachO(filename) + header = binary.headers[0] + # Find version command using helper + version_cmd = _find_version_cmd(header) + return _hex_triplet(version_cmd[1].sdk) + + +def _hex_triplet(version): + # Parse SDK version number + major = (version & 0xFF0000) >> 16 + minor = (version & 0xFF00) >> 8 + revision = (version & 0xFF) + return major, minor, revision + + +def macosx_version_min(filename: str) -> tuple: + """ + Get the -macosx-version-min used to compile a macOS binary. + + For fat binaries, the minimum version is selected. + """ + versions = [] + for header in MachO(filename).headers: + cmd = _find_version_cmd(header) + if cmd[0].cmd == LC_VERSION_MIN_MACOSX: + versions.append(cmd[1].version) + else: + # macOS >= 10.14 uses LC_BUILD_VERSION instead. + versions.append(cmd[1].minos) + + return min(map(_hex_triplet, versions)) + + +def set_macos_sdk_version(filename, major, minor, revision): + """ + Overwrite the macOS SDK version declared in the given binary with the specified version. + + NOTE: currently, only version in the first arch slice is modified. + """ + # Validate values + assert 0 <= major <= 255, "Invalid major version value!" + assert 0 <= minor <= 255, "Invalid minor version value!" + assert 0 <= revision <= 255, "Invalid revision value!" + # Open binary + binary = MachO(filename) + header = binary.headers[0] + # Find version command using helper + version_cmd = _find_version_cmd(header) + # Write new SDK version number + version_cmd[1].sdk = major << 16 | minor << 8 | revision + # Write changes back. + with open(binary.filename, 'rb+') as fp: + binary.write(fp) + + +def fix_exe_for_code_signing(filename): + """ + Fixes the Mach-O headers to make code signing possible. + + Code signing on macOS does not work out of the box with embedding .pkg archive into the executable. + + The fix is done this way: + - Make the embedded .pkg archive part of the Mach-O 'String Table'. 'String Table' is at end of the macOS exe file, + so just change the size of the table to cover the end of the file. + - Fix the size of the __LINKEDIT segment. + + Note: the above fix works only if the single-arch thin executable or the last arch slice in a multi-arch fat + executable is not signed, because LC_CODE_SIGNATURE comes after LC_SYMTAB, and because modification of headers + invalidates the code signature. On modern arm64 macOS, code signature is mandatory, and therefore compilers + create a dummy signature when executable is built. In such cases, that signature needs to be removed before this + function is called. + + Mach-O format specification: http://developer.apple.com/documentation/Darwin/Reference/ManPages/man5/Mach-O.5.html + """ + # Estimate the file size after data was appended + file_size = os.path.getsize(filename) + + # Take the last available header. A single-arch thin binary contains a single slice, while a multi-arch fat binary + # contains multiple, and we need to modify the last one, which is adjacent to the appended data. + executable = MachO(filename) + header = executable.headers[-1] + + # Sanity check: ensure the executable slice is not signed (otherwise signature's section comes last in the + # __LINKEDIT segment). + sign_sec = [cmd for cmd in header.commands if cmd[0].cmd == LC_CODE_SIGNATURE] + assert len(sign_sec) == 0, "Executable contains code signature!" + + # Find __LINKEDIT segment by name (16-byte zero padded string) + __LINKEDIT_NAME = b'__LINKEDIT\x00\x00\x00\x00\x00\x00' + linkedit_seg = [cmd for cmd in header.commands if cmd[0].cmd == LC_SEGMENT_64 and cmd[1].segname == __LINKEDIT_NAME] + assert len(linkedit_seg) == 1, "Expected exactly one __LINKEDIT segment!" + linkedit_seg = linkedit_seg[0][1] # Take the segment command entry + # Find SYMTAB section + symtab_sec = [cmd for cmd in header.commands if cmd[0].cmd == LC_SYMTAB] + assert len(symtab_sec) == 1, "Expected exactly one SYMTAB section!" + symtab_sec = symtab_sec[0][1] # Take the symtab command entry + + # The string table is located at the end of the SYMTAB section, which in turn is the last section in the __LINKEDIT + # segment. Therefore, the end of SYMTAB section should be aligned with the end of __LINKEDIT segment, and in turn + # both should be aligned with the end of the file (as we are in the last or the only arch slice). + # + # However, when removing the signature from the executable using codesign under macOS 10.13, the codesign utility + # may produce an invalid file, with the declared length of the __LINKEDIT segment (linkedit_seg.filesize) pointing + # beyond the end of file, as reported in issue #6167. + # + # We can compensate for that by not using the declared sizes anywhere, and simply recompute them. In the final + # binary, the __LINKEDIT segment and the SYMTAB section MUST end at the end of the file (otherwise, we have bigger + # issues...). So simply recompute the declared sizes as difference between the final file length and the + # corresponding start offset (NOTE: the offset is relative to start of the slice, which is stored in header.offset. + # In thin binaries, header.offset is zero and start offset is relative to the start of file, but with fat binaries, + # header.offset is non-zero) + symtab_sec.strsize = file_size - (header.offset + symtab_sec.stroff) + linkedit_seg.filesize = file_size - (header.offset + linkedit_seg.fileoff) + + # Compute new vmsize by rounding filesize up to full page size. + page_size = (0x4000 if _get_arch_string(header.header).startswith('arm64') else 0x1000) + linkedit_seg.vmsize = math.ceil(linkedit_seg.filesize / page_size) * page_size + + # NOTE: according to spec, segments need to be aligned to page boundaries: 0x4000 (16 kB) for arm64, 0x1000 (4 kB) + # for other arches. But it seems we can get away without rounding and padding the segment file size - perhaps + # because it is the last one? + + # Write changes + with open(filename, 'rb+') as fp: + executable.write(fp) + + # In fat binaries, we also need to adjust the fat header. macholib as of version 1.14 does not support this, so we + # need to do it ourselves... + if executable.fat: + from macholib.mach_o import (FAT_MAGIC, FAT_MAGIC_64, fat_arch, fat_arch64, fat_header) + with open(filename, 'rb+') as fp: + # Taken from MachO.load_fat() implementation. The fat header's signature has already been validated when we + # loaded the file for the first time. + fat = fat_header.from_fileobj(fp) + if fat.magic == FAT_MAGIC: + archs = [fat_arch.from_fileobj(fp) for i in range(fat.nfat_arch)] + elif fat.magic == FAT_MAGIC_64: + archs = [fat_arch64.from_fileobj(fp) for i in range(fat.nfat_arch)] + # Adjust the size in the fat header for the last slice. + arch = archs[-1] + arch.size = file_size - arch.offset + # Now write the fat headers back to the file. + fp.seek(0) + fat.to_fileobj(fp) + for arch in archs: + arch.to_fileobj(fp) + + +def _get_arch_string(header): + """ + Converts cputype and cpusubtype from mach_o.mach_header_64 into arch string comparible with lipo/codesign. + The list of supported architectures can be found in man(1) arch. + """ + # NOTE: the constants below are taken from macholib.mach_o + cputype = header.cputype + cpusubtype = header.cpusubtype & 0x0FFFFFFF + if cputype == 0x01000000 | 7: + if cpusubtype == 8: + return 'x86_64h' # 64-bit intel (haswell) + else: + return 'x86_64' # 64-bit intel + elif cputype == 0x01000000 | 12: + if cpusubtype == 2: + return 'arm64e' + else: + return 'arm64' + elif cputype == 7: + return 'i386' # 32-bit intel + assert False, 'Unhandled architecture!' + + +def update_exe_identifier(filename, pkg_filename): + """ + Modifies the Mach-O image UUID stored in the LC_UUID command (if present) in order to ensure that different + frozen applications have different identifiers. See TN3178 for details on why this is required: + https://developer.apple.com/documentation/technotes/tn3178-checking-for-and-resolving-build-uuid-problems + """ + + # Compute hash of the PKG + import hashlib + pkg_hash = hashlib.sha1() + with open(pkg_filename, 'rb') as fp: + for chunk in iter(lambda: fp.read(8192), b""): + pkg_hash.update(chunk) + + # Modify UUID in all arch slices of the executable. + executable = MachO(filename) + for header in executable.headers: + # Find LC_UUID command + uuid_cmd = [cmd for cmd in header.commands if cmd[0].cmd == LC_UUID] + if not uuid_cmd: + continue + uuid_cmd = uuid_cmd[0] + + # Read the existing UUID (which is based on bootloader executable itself). + original_uuid = uuid_cmd[1].uuid + + # Add original UUID to the hash; this is similar to what UUID v3/v5 do with namespace + name, except + # that in our case, the prefix UUID (namespace) is added at the end, so that PKG hash needs to be + # (pre)computed only once. + combined_hash = pkg_hash.copy() + combined_hash.update(original_uuid) + + new_uuid = combined_hash.digest()[:16] # Same as uuid.uuid3() / uuid.uuid5(). + assert len(new_uuid) == 16 + + uuid_cmd[1].uuid = new_uuid + + # Write changes + with open(filename, 'rb+') as fp: + executable.write(fp) + + +class InvalidBinaryError(Exception): + """ + Exception raised by `get_binary_architectures` when it is passed an invalid binary. + """ + pass + + +class IncompatibleBinaryArchError(Exception): + """ + Exception raised by `binary_to_target_arch` when the passed binary fails the strict architecture check. + """ + def __init__(self, message): + url = "https://pyinstaller.org/en/stable/feature-notes.html#macos-multi-arch-support" + super().__init__(f"{message} For details about this error message, see: {url}") + + +def get_binary_architectures(filename): + """ + Inspects the given binary and returns tuple (is_fat, archs), where is_fat is boolean indicating fat/thin binary, + and arch is list of architectures with lipo/codesign compatible names. + """ + try: + executable = MachO(filename) + except ValueError as e: + raise InvalidBinaryError("Invalid Mach-O binary!") from e + return bool(executable.fat), [_get_arch_string(hdr.header) for hdr in executable.headers] + + +def convert_binary_to_thin_arch(filename, thin_arch, output_filename=None): + """ + Convert the given fat binary into thin one with the specified target architecture. + """ + output_filename = output_filename or filename + cmd_args = ['lipo', '-thin', thin_arch, filename, '-output', output_filename] + p = subprocess.run(cmd_args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, encoding='utf-8') + if p.returncode: + raise SystemError(f"lipo command ({cmd_args}) failed with error code {p.returncode}!\noutput: {p.stdout}") + + +def merge_into_fat_binary(output_filename, *slice_filenames): + """ + Merge the given single-arch thin binary files into a fat binary. + """ + cmd_args = ['lipo', '-create', '-output', output_filename, *slice_filenames] + p = subprocess.run(cmd_args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, encoding='utf-8') + if p.returncode: + raise SystemError(f"lipo command ({cmd_args}) failed with error code {p.returncode}!\noutput: {p.stdout}") + + +def binary_to_target_arch(filename, target_arch, display_name=None): + """ + Check that the given binary contains required architecture slice(s) and convert the fat binary into thin one, + if necessary. + """ + if not display_name: + display_name = filename # Same as input file + # Check the binary + is_fat, archs = get_binary_architectures(filename) + if target_arch == 'universal2': + if not is_fat: + raise IncompatibleBinaryArchError(f"{display_name} is not a fat binary!") + # Assume fat binary is universal2; nothing to do + else: + if is_fat: + if target_arch not in archs: + raise IncompatibleBinaryArchError(f"{display_name} does not contain slice for {target_arch}!") + # Convert to thin arch + logger.debug("Converting fat binary %s (%s) to thin binary (%s)", filename, display_name, target_arch) + convert_binary_to_thin_arch(filename, target_arch) + else: + if target_arch not in archs: + raise IncompatibleBinaryArchError( + f"{display_name} is incompatible with target arch {target_arch} (has arch: {archs[0]})!" + ) + # Binary has correct arch; nothing to do + + +def remove_signature_from_binary(filename): + """ + Remove the signature from all architecture slices of the given binary file using the codesign utility. + """ + logger.debug("Removing signature from file %r", filename) + cmd_args = ['/usr/bin/codesign', '--remove', '--all-architectures', filename] + p = subprocess.run(cmd_args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, encoding='utf-8') + if p.returncode: + raise SystemError(f"codesign command ({cmd_args}) failed with error code {p.returncode}!\noutput: {p.stdout}") + + +def sign_binary(filename, identity=None, entitlements_file=None, deep=False): + """ + Sign the binary using codesign utility. If no identity is provided, ad-hoc signing is performed. + """ + extra_args = [] + if not identity: + identity = '-' # ad-hoc signing + else: + extra_args.append('--options=runtime') # hardened runtime + if entitlements_file: + extra_args.append('--entitlements') + extra_args.append(entitlements_file) + if deep: + extra_args.append('--deep') + + logger.debug("Signing file %r", filename) + cmd_args = [ + '/usr/bin/codesign', '-s', identity, '--force', '--all-architectures', '--timestamp', *extra_args, filename + ] + p = subprocess.run(cmd_args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, encoding='utf-8') + if p.returncode: + raise SystemError(f"codesign command ({cmd_args}) failed with error code {p.returncode}!\noutput: {p.stdout}") + + +def set_dylib_dependency_paths(filename, target_rpath): + """ + Modify the given dylib's identity (in LC_ID_DYLIB command) and the paths to dependent dylibs (in LC_LOAD_DYLIB) + commands into `@rpath/` format, remove any existing rpaths (LC_RPATH commands), and add a new rpath + (LC_RPATH command) with the specified path. + + Uses `install-tool-name` utility to make the changes. + + The system libraries (e.g., the ones found in /usr/lib) are exempted from path rewrite. + + For multi-arch fat binaries, this function extracts each slice into temporary file, processes it separately, + and then merges all processed slices back into fat binary. This is necessary because `install-tool-name` cannot + modify rpaths in cases when an existing rpath is present only in one slice. + """ + + # Check if we are dealing with a fat binary; the `install-name-tool` seems to be unable to remove an rpath that is + # present only in one slice, so we need to extract each slice, process it separately, and then stich processed + # slices back into a fat binary. + is_fat, archs = get_binary_architectures(filename) + + if is_fat: + with tempfile.TemporaryDirectory() as tmpdir: + slice_filenames = [] + for arch in archs: + slice_filename = os.path.join(tmpdir, arch) + convert_binary_to_thin_arch(filename, arch, output_filename=slice_filename) + _set_dylib_dependency_paths(slice_filename, target_rpath) + slice_filenames.append(slice_filename) + merge_into_fat_binary(filename, *slice_filenames) + else: + # Thin binary - we can process it directly + _set_dylib_dependency_paths(filename, target_rpath) + + +def _set_dylib_dependency_paths(filename, target_rpath): + """ + The actual implementation of set_dylib_dependency_paths functionality. + + Implicitly assumes that a single-arch thin binary is given. + """ + + # Relocatable commands that we should overwrite - same list as used by `macholib`. + _RELOCATABLE = { + LC_LOAD_DYLIB, + LC_LOAD_UPWARD_DYLIB, + LC_LOAD_WEAK_DYLIB, + LC_PREBOUND_DYLIB, + LC_REEXPORT_DYLIB, + } + + # Parse dylib's header to extract the following commands: + # - LC_LOAD_DYLIB (or any member of _RELOCATABLE list): dylib load commands (dependent libraries) + # - LC_RPATH: rpath definitions + # - LC_ID_DYLIB: dylib's identity + binary = MachO(filename) + + dylib_id = None + rpaths = set() + linked_libs = set() + + for header in binary.headers: + for cmd in header.commands: + lc_type = cmd[0].cmd + if lc_type not in _RELOCATABLE and lc_type not in {LC_RPATH, LC_ID_DYLIB}: + continue + + # Decode path, strip trailing NULL characters + path = cmd[2].decode('utf-8').rstrip('\x00') + + if lc_type in _RELOCATABLE: + linked_libs.add(path) + elif lc_type == LC_RPATH: + rpaths.add(path) + elif lc_type == LC_ID_DYLIB: + dylib_id = path + + del binary + + # If dylib has identifier set, compute the normalized version, in form of `@rpath/basename`. + normalized_dylib_id = None + if dylib_id: + normalized_dylib_id = str(pathlib.PurePath('@rpath') / pathlib.PurePath(dylib_id).name) + + # Find dependent libraries that should have their prefix path changed to `@rpath`. If any dependent libraries + # end up using `@rpath` (originally or due to rewrite), set the `rpath_required` boolean to True, so we know + # that we need to add our rpath. + changed_lib_paths = [] + rpath_required = False + for linked_lib in linked_libs: + # Leave system dynamic libraries unchanged. + if macholib.util.in_system_path(linked_lib): + continue + + # The older python.org builds that use system Tcl/Tk framework have their _tkinter.cpython-*-darwin.so + # library linked against /Library/Frameworks/Tcl.framework/Versions/8.5/Tcl and + # /Library/Frameworks/Tk.framework/Versions/8.5/Tk, although the actual frameworks are located in + # /System/Library/Frameworks. Therefore, they slip through the above in_system_path() check, and we need to + # exempt them manually. + _exemptions = [ + '/Library/Frameworks/Tcl.framework/', + '/Library/Frameworks/Tk.framework/', + ] + if any([x in linked_lib for x in _exemptions]): + continue + + # This linked library will end up using `@rpath`, whether modified or not... + rpath_required = True + + new_path = str(pathlib.PurePath('@rpath') / pathlib.PurePath(linked_lib).name) + if linked_lib == new_path: + continue + + changed_lib_paths.append((linked_lib, new_path)) + + # Gather arguments for `install-name-tool` + install_name_tool_args = [] + + # Modify the dylib identifier if necessary + if normalized_dylib_id and normalized_dylib_id != dylib_id: + install_name_tool_args += ["-id", normalized_dylib_id] + + # Changed libs + for original_path, new_path in changed_lib_paths: + install_name_tool_args += ["-change", original_path, new_path] + + # Remove all existing rpaths except for the target rpath (if it already exists). `install_name_tool` disallows using + # `-delete_rpath` and `-add_rpath` with the same argument. + for rpath in rpaths: + if rpath == target_rpath: + continue + install_name_tool_args += [ + "-delete_rpath", + rpath, + ] + + # If any of linked libraries use @rpath now and our target rpath is not already added, add it. + # NOTE: @rpath in the dylib identifier does not actually require the rpath to be set on the binary... + if rpath_required and target_rpath not in rpaths: + install_name_tool_args += [ + "-add_rpath", + target_rpath, + ] + + # If we have no arguments, finish immediately. + if not install_name_tool_args: + return + + # Run `install_name_tool` + cmd_args = ["install_name_tool", *install_name_tool_args, filename] + p = subprocess.run(cmd_args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, encoding='utf-8') + if p.returncode: + raise SystemError( + f"install_name_tool command ({cmd_args}) failed with error code {p.returncode}!\noutput: {p.stdout}" + ) + + +def is_framework_bundle_lib(lib_path): + """ + Check if the given shared library is part of a .framework bundle. + """ + + lib_path = pathlib.PurePath(lib_path) + + # For now, focus only on versioned layout, such as `QtCore.framework/Versions/5/QtCore` + if lib_path.parent.parent.name != "Versions": + return False + if lib_path.parent.parent.parent.name != lib_path.name + ".framework": + return False + + return True + + +def collect_files_from_framework_bundles(collected_files): + """ + Scan the given TOC list of collected files for shared libraries that are collected from macOS .framework bundles, + and collect the bundles' Info.plist files. Additionally, the following symbolic links: + - `Versions/Current` pointing to the `Versions/` directory containing the binary + - `` in the top-level .framework directory, pointing to `Versions/Current/` + - `Resources` in the top-level .framework directory, pointing to `Versions/Current/Resources` + - additional directories in top-level .framework directory, pointing to their counterparts in `Versions/Current` + directory. + + Returns TOC list for the discovered Info.plist files and generated symbolic links. The list does not contain + duplicated entries. + """ + invalid_framework_found = False + + framework_files = set() # Additional entries for collected files. Use set for de-duplication. + framework_paths = set() # Registered framework paths for 2nd pass. + + # 1st pass: discover binaries from .framework bundles, and for each such binary: + # - collect `Info.plist` + # - create `Current` -> `` symlink in `.framework/Versions` directory. + # - create `.framework/` -> `.framework/Versions/Current/` symlink. + # - create `.framework/Resources` -> `.framework/Versions/Current/Resources` symlink. + for dest_name, src_name, typecode in collected_files: + if typecode != 'BINARY': + continue + + src_path = pathlib.Path(src_name) # /src/path/to/.framework/Versions// + dest_path = pathlib.PurePath(dest_name) # /dest/path/to/.framework/Versions// + + # Check whether binary originates from a .framework bundle + if not is_framework_bundle_lib(src_path): + continue + + # Check whether binary is also collected into a .framework bundle (i.e., the original layout is preserved) + if not is_framework_bundle_lib(dest_path): + continue + + # Assuming versioned layout, Info.plist should exist in Resources directory located next to the binary. + info_plist_src = src_path.parent / "Resources" / "Info.plist" + if not info_plist_src.is_file(): + # Alas, the .framework bundles shipped with PySide/PyQt might have Info.plist available only in the + # top-level Resources directory. So accommodate this scenario as well, but collect the file into + # versioned directory to appease the code-signing gods... + info_plist_src_top = src_path.parent.parent.parent / "Resources" / "Info.plist" + if not info_plist_src_top.is_file(): + # Strictly speaking, a .framework bundle without Info.plist is invalid. However, that did not prevent + # PyQt from shipping such Qt .framework bundles up until v5.14.1. So by default, we just complain via + # a warning message; if such binaries work in unfrozen python, they should also work in frozen + # application. The codesign will refuse to sign the .app bundle (if we are generating one), but there + # is nothing we can do about that. + invalid_framework_found = True + framework_dir = src_path.parent.parent.parent + if compat.strict_collect_mode: + raise SystemError(f"Could not find Info.plist in {framework_dir}!") + else: + logger.warning("Could not find Info.plist in %s!", framework_dir) + continue + info_plist_src = info_plist_src_top + info_plist_dest = dest_path.parent / "Resources" / "Info.plist" + framework_files.add((str(info_plist_dest), str(info_plist_src), "DATA")) + + # Reconstruct the symlink Versions/Current -> Versions/. + # This one seems to be necessary for code signing, but might be absent from .framework bundles shipped with + # python packages. So we always create it ourselves. + framework_files.add((str(dest_path.parent.parent / "Current"), str(dest_path.parent.name), "SYMLINK")) + + dest_framework_path = dest_path.parent.parent.parent # Top-level .framework directory path. + + # Symlink the binary in the `Current` directory to the top-level .framework directory. + framework_files.add(( + str(dest_framework_path / dest_path.name), + str(pathlib.PurePath("Versions/Current") / dest_path.name), + "SYMLINK", + )) + + # Ditto for the `Resources` directory. + framework_files.add(( + str(dest_framework_path / "Resources"), + "Versions/Current/Resources", + "SYMLINK", + )) + + # Register the framework parent path to use in additional directories scan in subsequent pass. + framework_paths.add(dest_framework_path) + + # 2nd pass: scan for additional collected directories from .framework bundles, and create symlinks to the top-level + # application directory. Make the outer loop go over the registered framework paths, so it becomes no-op if no + # framework paths are registered. + VALID_SUBDIRS = {'Helpers', 'Resources'} + + for dest_framework_path in framework_paths: + for dest_name, src_name, typecode in collected_files: + dest_path = pathlib.PurePath(dest_name) + + # Try matching against framework path + try: + remaining_path = dest_path.relative_to(dest_framework_path) + except ValueError: # dest_path is not subpath of dest_framework_path + continue + + remaining_path_parts = remaining_path.parts + + # We are interested only in entries under Versions directory. + if remaining_path_parts[0] != 'Versions': + continue + + # If the entry name is among valid sub-directory names, create symlink. + dir_name = remaining_path_parts[2] + if dir_name not in VALID_SUBDIRS: + continue + + framework_files.add(( + str(dest_framework_path / dir_name), + str(pathlib.PurePath("Versions/Current") / dir_name), + "SYMLINK", + )) + + # If we encountered an invalid .framework bundle without Info.plist, warn the user that code-signing will most + # likely fail. + if invalid_framework_found: + logger.warning( + "One or more collected .framework bundles have missing Info.plist file. If you are building an .app " + "bundle, you will most likely not be able to code-sign it." + ) + + return sorted(framework_files) diff --git a/.venv/Lib/site-packages/PyInstaller/utils/run_tests.py b/.venv/Lib/site-packages/PyInstaller/utils/run_tests.py new file mode 100644 index 0000000..c655c7a --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/run_tests.py @@ -0,0 +1,70 @@ +# ----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +# ----------------------------------------------------------------------------- + +import argparse +import sys + +import pytest + +from PyInstaller.compat import importlib_metadata + + +def paths_to_test(include_only=None): + """ + If ``include_only`` is falsey, this functions returns paths from all entry points. Otherwise, this parameter + must be a string or sequence of strings. In this case, this function will return *only* paths from entry points + whose ``module_name`` begins with the provided string(s). + """ + # Convert a string to a list. + if isinstance(include_only, str): + include_only = [include_only] + + # Walk through all entry points. + test_path_list = [] + for entry_point in importlib_metadata.entry_points(group="pyinstaller40", name="tests"): + # Implement ``include_only``. + if ( + not include_only # If falsey, include everything, + # Otherwise, include only the specified modules. + or any(entry_point.module.startswith(name) for name in include_only) + ): + test_path_list += list(entry_point.load()()) + return test_path_list + + +# Run pytest on all tests registered by the PyInstaller setuptools testing entry point. If provided, +# the ``include_only`` argument is passed to ``path_to_test``. +def run_pytest(*args, **kwargs): + paths = paths_to_test(include_only=kwargs.pop("include_only", None)) + # Return an error code if no tests were discovered. + if not paths: + print("Error: no tests discovered.", file=sys.stderr) + # This indicates no tests were discovered; see + # https://docs.pytest.org/en/latest/usage.html#possible-exit-codes. + return 5 + else: + # See https://docs.pytest.org/en/latest/usage.html#calling-pytest-from-python-code. + # Omit ``args[0]``, which is the name of this script. + print("pytest " + " ".join([*paths, *args[1:]])) + return pytest.main([*paths, *args[1:]], **kwargs) + + +if __name__ == "__main__": + # Look only for the ``--include_only`` argument. + parser = argparse.ArgumentParser(description='Run PyInstaller packaging tests.') + parser.add_argument( + "--include_only", + action="append", + help="Only run tests from the specified package.", + ) + args, unknown = parser.parse_known_args(sys.argv) + # Convert the parsed args into a dict using ``vars(args)``. + sys.exit(run_pytest(*unknown, **vars(args))) diff --git a/.venv/Lib/site-packages/PyInstaller/utils/tests.py b/.venv/Lib/site-packages/PyInstaller/utils/tests.py new file mode 100644 index 0000000..4a0b9c7 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/tests.py @@ -0,0 +1,112 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Decorators for skipping PyInstaller tests when specific requirements are not met. +""" + +import inspect +import sys +import textwrap + +import pytest + +from PyInstaller.utils.hooks import check_requirement + +# Wrap some pytest decorators to be consistent in tests. +parametrize = pytest.mark.parametrize +skipif = pytest.mark.skipif +xfail = pytest.mark.xfail +skip = pytest.mark.skip + +# Use these decorators to use the `pyi_builder` fixture only in onedir or only in onefile mode instead of both. +onedir_only = pytest.mark.parametrize('pyi_builder', ['onedir'], indirect=True) +onefile_only = pytest.mark.parametrize('pyi_builder', ['onefile'], indirect=True) + + +def importorskip(package: str): + """ + Skip a decorated test if **package** is not importable. + + Arguments: + package: + The name of the module. May be anything that is allowed after the ``import`` keyword. e.g. 'numpy' or + 'PIL.Image'. + Returns: + A pytest marker which either skips the test or does nothing. + + This function intentionally does not import the module. Doing so can lead to `sys.path` and `PATH` being + polluted, which then breaks later builds. + """ + if not importable(package): + return pytest.mark.skip(f"Can't import '{package}'.") + return pytest.mark.skipif(False, reason=f"Don't skip: '{package}' is importable.") + + +def importable(package: str): + from importlib.util import find_spec + + # The find_spec() function is used by the importlib machinery to locate a module to import. Using it finds the + # module but does not run it. Unfortunately, it does import parent modules to check submodules. + if "." in package: + # Using subprocesses is slow. If the top level module doesn't exist then we can skip it. + if not importable(package.split(".")[0]): + return False + # This is a submodule, import it in isolation. + from subprocess import DEVNULL, run + return run([sys.executable, "-c", "import " + package], stdout=DEVNULL, stderr=DEVNULL).returncode == 0 + + return find_spec(package) is not None + + +def requires(requirement: str): + """ + Mark a test to be skipped if **requirement** is not satisfied. + + Args: + requirement: + A distribution name and optional version specifier(s). See :func:`PyInstaller.utils.hooks.check_requirement` + which this argument is forwarded to. + Returns: + Either a skip marker or a dummy marker. + + This function operates on distribution metadata, and does not import any modules. + """ + if check_requirement(requirement): + return pytest.mark.skipif(False, reason=f"Don't skip: '{requirement}' is satisfied.") + else: + return pytest.mark.skip(f"Requires {requirement}.") + + +def gen_sourcefile(tmp_path, source, test_id=None): + """ + Generate a source file for testing. + + The source will be written into a file named like the test-function. This file will then be passed to + `test_script`. If you need other related file, e.g. as `.toc`-file for testing the content, put it at at the + normal place. Just mind to take the basnename from the test-function's name. + + :param script: Source code to create executable from. This will be saved into a temporary file which is then + passed on to `test_script`. + + :param test_id: Test-id for parametrized tests. If given, it will be appended to the script filename, + separated by two underscores. + """ + testname = inspect.stack()[1][3] + if test_id: + # For parametrized test append the test-id. + testname = testname + '__' + test_id + + # Periods are not allowed in Python module names. + testname = testname.replace('.', '_') + scriptfile = tmp_path / (testname + '.py') + source = textwrap.dedent(source) + scriptfile.write_text(source, encoding='utf-8') + return scriptfile diff --git a/.venv/Lib/site-packages/PyInstaller/utils/win32/__init__.py b/.venv/Lib/site-packages/PyInstaller/utils/win32/__init__.py new file mode 100644 index 0000000..a7501ae --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/win32/__init__.py @@ -0,0 +1 @@ +__author__ = 'martin' diff --git a/.venv/Lib/site-packages/PyInstaller/utils/win32/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/win32/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..0bfbed5 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/win32/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/win32/__pycache__/icon.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/win32/__pycache__/icon.cpython-311.pyc new file mode 100644 index 0000000..bea742b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/win32/__pycache__/icon.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/win32/__pycache__/versioninfo.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/win32/__pycache__/versioninfo.cpython-311.pyc new file mode 100644 index 0000000..85ed08b Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/win32/__pycache__/versioninfo.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/win32/__pycache__/winmanifest.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/win32/__pycache__/winmanifest.cpython-311.pyc new file mode 100644 index 0000000..c485168 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/win32/__pycache__/winmanifest.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/win32/__pycache__/winresource.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/win32/__pycache__/winresource.cpython-311.pyc new file mode 100644 index 0000000..64f3391 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/win32/__pycache__/winresource.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/win32/__pycache__/winutils.cpython-311.pyc b/.venv/Lib/site-packages/PyInstaller/utils/win32/__pycache__/winutils.cpython-311.pyc new file mode 100644 index 0000000..bbd4ec8 Binary files /dev/null and b/.venv/Lib/site-packages/PyInstaller/utils/win32/__pycache__/winutils.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/PyInstaller/utils/win32/icon.py b/.venv/Lib/site-packages/PyInstaller/utils/win32/icon.py new file mode 100644 index 0000000..7b703f8 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/win32/icon.py @@ -0,0 +1,251 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +The code in this module supports the --icon parameter on Windows. +(For --icon support under macOS, see building/osx.py.) + +The only entry point, called from api.py, is CopyIcons(), below. All the elaborate structure of classes that follows +is used to support the operation of CopyIcons_FromIco(). None of these classes and globals are referenced outside +this module. +""" + +import os +import os.path +import struct + +import PyInstaller.log as logging +from PyInstaller import config +from PyInstaller.compat import pywintypes, win32api +from PyInstaller.building.icon import normalize_icon_type + +logger = logging.getLogger(__name__) + +RT_ICON = 3 +RT_GROUP_ICON = 14 +LOAD_LIBRARY_AS_DATAFILE = 2 + + +class Structure: + def __init__(self): + size = self._sizeInBytes = struct.calcsize(self._format_) + self._fields_ = list(struct.unpack(self._format_, b'\000' * size)) + indexes = self._indexes_ = {} + for i, nm in enumerate(self._names_): + indexes[nm] = i + + def dump(self): + logger.info("DUMP of %s", self) + for name in self._names_: + if not name.startswith('_'): + logger.info("%20s = %s", name, getattr(self, name)) + logger.info("") + + def __getattr__(self, name): + if name in self._names_: + index = self._indexes_[name] + return self._fields_[index] + try: + return self.__dict__[name] + except KeyError as e: + raise AttributeError(name) from e + + def __setattr__(self, name, value): + if name in self._names_: + index = self._indexes_[name] + self._fields_[index] = value + else: + self.__dict__[name] = value + + def tostring(self): + return struct.pack(self._format_, *self._fields_) + + def fromfile(self, file): + data = file.read(self._sizeInBytes) + self._fields_ = list(struct.unpack(self._format_, data)) + + +class ICONDIRHEADER(Structure): + _names_ = "idReserved", "idType", "idCount" + _format_ = "hhh" + + +class ICONDIRENTRY(Structure): + _names_ = ("bWidth", "bHeight", "bColorCount", "bReserved", "wPlanes", "wBitCount", "dwBytesInRes", "dwImageOffset") + _format_ = "bbbbhhii" + + +class GRPICONDIR(Structure): + _names_ = "idReserved", "idType", "idCount" + _format_ = "hhh" + + +class GRPICONDIRENTRY(Structure): + _names_ = ("bWidth", "bHeight", "bColorCount", "bReserved", "wPlanes", "wBitCount", "dwBytesInRes", "nID") + _format_ = "bbbbhhih" + + +# An IconFile instance is created for each .ico file given. +class IconFile: + def __init__(self, path): + self.path = path + try: + # The path is from the user parameter, don't trust it. + file = open(self.path, "rb") + except OSError: + # The icon file can't be opened for some reason. Stop the + # program with an informative message. + raise SystemExit(f'ERROR: Unable to open icon file {self.path}!') + with file: + self.entries = [] + self.images = [] + header = self.header = ICONDIRHEADER() + header.fromfile(file) + for i in range(header.idCount): + entry = ICONDIRENTRY() + entry.fromfile(file) + self.entries.append(entry) + for e in self.entries: + file.seek(e.dwImageOffset, 0) + self.images.append(file.read(e.dwBytesInRes)) + + def grp_icon_dir(self): + return self.header.tostring() + + def grp_icondir_entries(self, id=1): + data = b'' + for entry in self.entries: + e = GRPICONDIRENTRY() + for n in e._names_[:-1]: + setattr(e, n, getattr(entry, n)) + e.nID = id + id = id + 1 + data = data + e.tostring() + return data + + +def CopyIcons_FromIco(dstpath, srcpath, id=1): + """ + Use the Win API UpdateResource facility to apply the icon resource(s) to the .exe file. + + :param str dstpath: absolute path of the .exe file being built. + :param str srcpath: list of 1 or more .ico file paths + """ + icons = map(IconFile, srcpath) + logger.debug("Copying icons from %s", srcpath) + + hdst = win32api.BeginUpdateResource(dstpath, 0) + + iconid = 1 + # Each step in the following enumerate() will instantiate an IconFile object, as a result of deferred execution + # of the map() above. + for i, f in enumerate(icons): + data = f.grp_icon_dir() + data = data + f.grp_icondir_entries(iconid) + win32api.UpdateResource(hdst, RT_GROUP_ICON, i + 1, data) + logger.debug("Writing RT_GROUP_ICON %d resource with %d bytes", i + 1, len(data)) + for data in f.images: + win32api.UpdateResource(hdst, RT_ICON, iconid, data) + logger.debug("Writing RT_ICON %d resource with %d bytes", iconid, len(data)) + iconid = iconid + 1 + + win32api.EndUpdateResource(hdst, 0) + + +def CopyIcons(dstpath, srcpath): + """ + Called from building/api.py to handle icons. If the input was by --icon on the command line, srcpath is a single + string. However, it is possible to modify the spec file adding icon=['foo.ico','bar.ico'] to the EXE() statement. + In that case, srcpath is a list of strings. + + The string format is either path-to-.ico or path-to-.exe,n for n an integer resource index in the .exe. In either + case, the path can be relative or absolute. + """ + + if isinstance(srcpath, (str, os.PathLike)): + # Just a single string, make it a one-element list. + srcpath = [srcpath] + # Convert possible PathLike elements to strings to allow the splitter function to work. + srcpath = [str(path) for path in srcpath] + + def splitter(s): + """ + Convert "pathname" to tuple ("pathname", None) + Convert "pathname,n" to tuple ("pathname", n) + """ + try: + srcpath, index = s.split(',') + return srcpath.strip(), int(index) + except ValueError: + return s, None + + # split all the items in the list into tuples as above. + srcpath = list(map(splitter, srcpath)) + + if len(srcpath) > 1: + # More than one icon source given. We currently handle multiple icons by calling CopyIcons_FromIco(), which only + # allows .ico, but will convert to that format if needed. + # + # Note that a ",index" on a .ico is just ignored in the single or multiple case. + srcs = [] + for s in srcpath: + srcs.append(normalize_icon_type(s[0], ("ico",), "ico", config.CONF["workpath"])) + return CopyIcons_FromIco(dstpath, srcs) + + # Just one source given. + srcpath, index = srcpath[0] + + # Makes sure the icon exists and attempts to convert to the proper format if applicable + srcpath = normalize_icon_type(srcpath, ("exe", "ico"), "ico", config.CONF["workpath"]) + + srcext = os.path.splitext(srcpath)[1] + + # Handle the simple case of foo.ico, ignoring any index. + if srcext.lower() == '.ico': + return CopyIcons_FromIco(dstpath, [srcpath]) + + # Single source is not .ico, presumably it is .exe (and if not, some error will occur). + if index is not None: + logger.debug("Copying icon from %s, %d", srcpath, index) + else: + logger.debug("Copying icons from %s", srcpath) + + try: + # Attempt to load the .ico or .exe containing the icon into memory using the same mechanism as if it were a DLL. + # If this fails for any reason (for example if the file does not exist or is not a .ico/.exe) then LoadLibraryEx + # returns a null handle and win32api raises a unique exception with a win error code and a string. + hsrc = win32api.LoadLibraryEx(srcpath, 0, LOAD_LIBRARY_AS_DATAFILE) + except pywintypes.error as W32E: + # We could continue with no icon (i.e., just return), but it seems best to terminate the build with a message. + raise SystemExit( + "ERROR: Unable to load icon file {}\n {} (Error code {})".format(srcpath, W32E.strerror, W32E.winerror) + ) + hdst = win32api.BeginUpdateResource(dstpath, 0) + if index is None: + grpname = win32api.EnumResourceNames(hsrc, RT_GROUP_ICON)[0] + elif index >= 0: + grpname = win32api.EnumResourceNames(hsrc, RT_GROUP_ICON)[index] + else: + grpname = -index + data = win32api.LoadResource(hsrc, RT_GROUP_ICON, grpname) + win32api.UpdateResource(hdst, RT_GROUP_ICON, grpname, data) + for iconname in win32api.EnumResourceNames(hsrc, RT_ICON): + data = win32api.LoadResource(hsrc, RT_ICON, iconname) + win32api.UpdateResource(hdst, RT_ICON, iconname, data) + win32api.FreeLibrary(hsrc) + win32api.EndUpdateResource(hdst, 0) + + +if __name__ == "__main__": + import sys + + dstpath = sys.argv[1] + srcpath = sys.argv[2:] + CopyIcons(dstpath, srcpath) diff --git a/.venv/Lib/site-packages/PyInstaller/utils/win32/versioninfo.py b/.venv/Lib/site-packages/PyInstaller/utils/win32/versioninfo.py new file mode 100644 index 0000000..b290644 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/win32/versioninfo.py @@ -0,0 +1,604 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + +import struct + +import pefile + +from PyInstaller.compat import win32api + + +def pefile_check_control_flow_guard(filename): + """ + Checks if the specified PE file has CFG (Control Flow Guard) enabled. + + Parameters + ---------- + filename : str + Path to the PE file to inspect. + + Returns + ---------- + bool + True if file is a PE file with CFG enabled. False if CFG is not enabled or if file could not be processed using + the pefile library. + """ + try: + pe = pefile.PE(filename, fast_load=True) + # https://docs.microsoft.com/en-us/windows/win32/debug/pe-format + # IMAGE_DLLCHARACTERISTICS_GUARD_CF = 0x4000 + return bool(pe.OPTIONAL_HEADER.DllCharacteristics & 0x4000) + except Exception: + return False + + +# Ensures no code from the executable is executed. +LOAD_LIBRARY_AS_DATAFILE = 2 + + +def getRaw(text): + """ + Encodes text as UTF-16LE (Microsoft 'Unicode') for use in structs. + """ + return text.encode('UTF-16LE') + + +def read_version_info_from_executable(exe_filename): + """ + Read the version information structure from the given executable's resources, and return it as an instance of + `VSVersionInfo` structure. + """ + h = win32api.LoadLibraryEx(exe_filename, 0, LOAD_LIBRARY_AS_DATAFILE) + res = win32api.EnumResourceNames(h, pefile.RESOURCE_TYPE['RT_VERSION']) + if not len(res): + return None + data = win32api.LoadResource(h, pefile.RESOURCE_TYPE['RT_VERSION'], res[0]) + info = VSVersionInfo() + info.fromRaw(data) + win32api.FreeLibrary(h) + return info + + +def nextDWord(offset): + """ + Align `offset` to the next 4-byte boundary. + """ + return ((offset + 3) >> 2) << 2 + + +class VSVersionInfo: + """ + WORD wLength; // length of the VS_VERSION_INFO structure + WORD wValueLength; // length of the Value member + WORD wType; // 1 means text, 0 means binary + WCHAR szKey[]; // Contains the Unicode string "VS_VERSION_INFO". + WORD Padding1[]; + VS_FIXEDFILEINFO Value; + WORD Padding2[]; + WORD Children[]; // zero or more StringFileInfo or VarFileInfo + // structures (or both) that are children of the + // current version structure. + """ + def __init__(self, ffi=None, kids=None): + self.ffi = ffi + self.kids = kids or [] + + def fromRaw(self, data): + i, (sublen, vallen, wType, nm) = parseCommon(data) + #vallen is length of the ffi, typ is 0, nm is 'VS_VERSION_INFO'. + i = nextDWord(i) + # Now a VS_FIXEDFILEINFO + self.ffi = FixedFileInfo() + j = self.ffi.fromRaw(data, i) + i = j + while i < sublen: + j = i + i, (csublen, cvallen, ctyp, nm) = parseCommon(data, i) + if nm.strip() == 'StringFileInfo': + sfi = StringFileInfo() + k = sfi.fromRaw(csublen, cvallen, nm, data, i, j + csublen) + self.kids.append(sfi) + i = k + else: + vfi = VarFileInfo() + k = vfi.fromRaw(csublen, cvallen, nm, data, i, j + csublen) + self.kids.append(vfi) + i = k + i = j + csublen + i = nextDWord(i) + return i + + def toRaw(self): + raw_name = getRaw('VS_VERSION_INFO') + rawffi = self.ffi.toRaw() + vallen = len(rawffi) + typ = 0 + sublen = 6 + len(raw_name) + 2 + pad = b'' + if sublen % 4: + pad = b'\000\000' + sublen = sublen + len(pad) + vallen + pad2 = b'' + if sublen % 4: + pad2 = b'\000\000' + tmp = b''.join([kid.toRaw() for kid in self.kids]) + sublen = sublen + len(pad2) + len(tmp) + return struct.pack('HHH', sublen, vallen, typ) + raw_name + b'\000\000' + pad + rawffi + pad2 + tmp + + def __eq__(self, other): + return self.toRaw() == other + + def __str__(self, indent=''): + indent = indent + ' ' + tmp = [kid.__str__(indent + ' ') for kid in self.kids] + tmp = ', \n'.join(tmp) + return '\n'.join([ + "# UTF-8", + "#", + "# For more details about fixed file info 'ffi' see:", + "# http://msdn.microsoft.com/en-us/library/ms646997.aspx", + "VSVersionInfo(", + indent + f"ffi={self.ffi.__str__(indent)},", + indent + "kids=[", + tmp, + indent + "]", + ")", + ]) + + def __repr__(self): + return "versioninfo.VSVersionInfo(ffi=%r, kids=%r)" % (self.ffi, self.kids) + + +def parseCommon(data, start=0): + i = start + 6 + (wLength, wValueLength, wType) = struct.unpack('3H', data[start:i]) + i, text = parseUString(data, i, i + wLength) + return i, (wLength, wValueLength, wType, text) + + +def parseUString(data, start, limit): + i = start + while i < limit: + if data[i:i + 2] == b'\000\000': + break + i += 2 + text = data[start:i].decode('UTF-16LE') + i += 2 + return i, text + + +class FixedFileInfo: + """ + DWORD dwSignature; //Contains the value 0xFEEFO4BD + DWORD dwStrucVersion; // binary version number of this structure. + // The high-order word of this member contains + // the major version number, and the low-order + // word contains the minor version number. + DWORD dwFileVersionMS; // most significant 32 bits of the file's binary + // version number + DWORD dwFileVersionLS; // + DWORD dwProductVersionMS; // most significant 32 bits of the binary version + // number of the product with which this file was + // distributed + DWORD dwProductVersionLS; // + DWORD dwFileFlagsMask; // bitmask that specifies the valid bits in + // dwFileFlags. A bit is valid only if it was + // defined when the file was created. + DWORD dwFileFlags; // VS_FF_DEBUG, VS_FF_PATCHED etc. + DWORD dwFileOS; // VOS_NT, VOS_WINDOWS32 etc. + DWORD dwFileType; // VFT_APP etc. + DWORD dwFileSubtype; // 0 unless VFT_DRV or VFT_FONT or VFT_VXD + DWORD dwFileDateMS; + DWORD dwFileDateLS; + """ + def __init__( + self, + filevers=(0, 0, 0, 0), + prodvers=(0, 0, 0, 0), + mask=0x3f, + flags=0x0, + OS=0x40004, + fileType=0x1, + subtype=0x0, + date=(0, 0) + ): + self.sig = 0xfeef04bd + self.strucVersion = 0x10000 + self.fileVersionMS = (filevers[0] << 16) | (filevers[1] & 0xffff) + self.fileVersionLS = (filevers[2] << 16) | (filevers[3] & 0xffff) + self.productVersionMS = (prodvers[0] << 16) | (prodvers[1] & 0xffff) + self.productVersionLS = (prodvers[2] << 16) | (prodvers[3] & 0xffff) + self.fileFlagsMask = mask + self.fileFlags = flags + self.fileOS = OS + self.fileType = fileType + self.fileSubtype = subtype + self.fileDateMS = date[0] + self.fileDateLS = date[1] + + def fromRaw(self, data, i): + ( + self.sig, + self.strucVersion, + self.fileVersionMS, + self.fileVersionLS, + self.productVersionMS, + self.productVersionLS, + self.fileFlagsMask, + self.fileFlags, + self.fileOS, + self.fileType, + self.fileSubtype, + self.fileDateMS, + self.fileDateLS, + ) = struct.unpack('13L', data[i:i + 52]) + return i + 52 + + def toRaw(self): + return struct.pack( + '13L', + self.sig, + self.strucVersion, + self.fileVersionMS, + self.fileVersionLS, + self.productVersionMS, + self.productVersionLS, + self.fileFlagsMask, + self.fileFlags, + self.fileOS, + self.fileType, + self.fileSubtype, + self.fileDateMS, + self.fileDateLS, + ) + + def __eq__(self, other): + return self.toRaw() == other + + def __str__(self, indent=''): + fv = ( + self.fileVersionMS >> 16, self.fileVersionMS & 0xffff, + self.fileVersionLS >> 16, self.fileVersionLS & 0xffff, + ) # yapf: disable + pv = ( + self.productVersionMS >> 16, self.productVersionMS & 0xffff, + self.productVersionLS >> 16, self.productVersionLS & 0xffff, + ) # yapf: disable + fd = (self.fileDateMS, self.fileDateLS) + tmp = [ + 'FixedFileInfo(', + '# filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4)', + '# Set not needed items to zero 0.', + 'filevers=%s,' % (fv,), + 'prodvers=%s,' % (pv,), + "# Contains a bitmask that specifies the valid bits 'flags'r", + 'mask=%s,' % hex(self.fileFlagsMask), + '# Contains a bitmask that specifies the Boolean attributes of the file.', + 'flags=%s,' % hex(self.fileFlags), + '# The operating system for which this file was designed.', + '# 0x4 - NT and there is no need to change it.', + 'OS=%s,' % hex(self.fileOS), + '# The general type of file.', + '# 0x1 - the file is an application.', + 'fileType=%s,' % hex(self.fileType), + '# The function of the file.', + '# 0x0 - the function is not defined for this fileType', + 'subtype=%s,' % hex(self.fileSubtype), + '# Creation date and time stamp.', + 'date=%s' % (fd,), + ')', + ] + return f'\n{indent} '.join(tmp) + + def __repr__(self): + fv = ( + self.fileVersionMS >> 16, self.fileVersionMS & 0xffff, + self.fileVersionLS >> 16, self.fileVersionLS & 0xffff, + ) # yapf: disable + pv = ( + self.productVersionMS >> 16, self.productVersionMS & 0xffff, + self.productVersionLS >> 16, self.productVersionLS & 0xffff, + ) # yapf: disable + fd = (self.fileDateMS, self.fileDateLS) + return ( + 'versioninfo.FixedFileInfo(filevers=%r, prodvers=%r, ' + 'mask=0x%x, flags=0x%x, OS=0x%x, ' + 'fileType=%r, subtype=0x%x, date=%r)' % + (fv, pv, self.fileFlagsMask, self.fileFlags, self.fileOS, self.fileType, self.fileSubtype, fd) + ) + + +class StringFileInfo: + """ + WORD wLength; // length of the version resource + WORD wValueLength; // length of the Value member in the current + // VS_VERSION_INFO structure + WORD wType; // 1 means text, 0 means binary + WCHAR szKey[]; // Contains the Unicode string 'StringFileInfo'. + WORD Padding[]; + StringTable Children[]; // list of zero or more String structures + """ + def __init__(self, kids=None): + self.name = 'StringFileInfo' + self.kids = kids or [] + + def fromRaw(self, sublen, vallen, name, data, i, limit): + self.name = name + while i < limit: + st = StringTable() + j = st.fromRaw(data, i, limit) + self.kids.append(st) + i = j + return i + + def toRaw(self): + raw_name = getRaw(self.name) + vallen = 0 + typ = 1 + sublen = 6 + len(raw_name) + 2 + pad = b'' + if sublen % 4: + pad = b'\000\000' + tmp = b''.join([kid.toRaw() for kid in self.kids]) + sublen = sublen + len(pad) + len(tmp) + return struct.pack('HHH', sublen, vallen, typ) + raw_name + b'\000\000' + pad + tmp + + def __eq__(self, other): + return self.toRaw() == other + + def __str__(self, indent=''): + new_indent = indent + ' ' + tmp = ', \n'.join(kid.__str__(new_indent) for kid in self.kids) + return f'{indent}StringFileInfo(\n{new_indent}[\n{tmp}\n{new_indent}])' + + def __repr__(self): + return 'versioninfo.StringFileInfo(%r)' % self.kids + + +class StringTable: + """ + WORD wLength; + WORD wValueLength; + WORD wType; + WCHAR szKey[]; + String Children[]; // list of zero or more String structures. + """ + def __init__(self, name=None, kids=None): + self.name = name or '' + self.kids = kids or [] + + def fromRaw(self, data, i, limit): + i, (cpsublen, cpwValueLength, cpwType, self.name) = parseCodePage(data, i, limit) # should be code page junk + i = nextDWord(i) + while i < limit: + ss = StringStruct() + j = ss.fromRaw(data, i, limit) + i = j + self.kids.append(ss) + i = nextDWord(i) + return i + + def toRaw(self): + raw_name = getRaw(self.name) + vallen = 0 + typ = 1 + sublen = 6 + len(raw_name) + 2 + tmp = [] + for kid in self.kids: + raw = kid.toRaw() + if len(raw) % 4: + raw = raw + b'\000\000' + tmp.append(raw) + tmp = b''.join(tmp) + sublen += len(tmp) + return struct.pack('HHH', sublen, vallen, typ) + raw_name + b'\000\000' + tmp + + def __eq__(self, other): + return self.toRaw() == other + + def __str__(self, indent=''): + new_indent = indent + ' ' + tmp = (',\n' + new_indent).join(str(kid) for kid in self.kids) + return f"{indent}StringTable(\n{new_indent}'{self.name}',\n{new_indent}[{tmp}])" + + def __repr__(self): + return 'versioninfo.StringTable(%r, %r)' % (self.name, self.kids) + + +class StringStruct: + """ + WORD wLength; + WORD wValueLength; + WORD wType; + WCHAR szKey[]; + WORD Padding[]; + String Value[]; + """ + def __init__(self, name=None, val=None): + self.name = name or '' + self.val = val or '' + + def fromRaw(self, data, i, limit): + i, (sublen, vallen, typ, self.name) = parseCommon(data, i) + limit = i + sublen + i = nextDWord(i) + i, self.val = parseUString(data, i, limit) + return i + + def toRaw(self): + raw_name = getRaw(self.name) + raw_val = getRaw(self.val) + # TODO: document the size of vallen and sublen. + vallen = len(self.val) + 1 # Number of (wide-)characters, not bytes! + typ = 1 + sublen = 6 + len(raw_name) + 2 + pad = b'' + if sublen % 4: + pad = b'\000\000' + sublen = sublen + len(pad) + (vallen * 2) + return struct.pack('HHH', sublen, vallen, typ) + raw_name + b'\000\000' + pad + raw_val + b'\000\000' + + def __eq__(self, other): + return self.toRaw() == other + + def __str__(self, indent=''): + return "StringStruct(%r, %r)" % (self.name, self.val) + + def __repr__(self): + return 'versioninfo.StringStruct(%r, %r)' % (self.name, self.val) + + +def parseCodePage(data, i, limit): + i, (sublen, wValueLength, wType, nm) = parseCommon(data, i) + return i, (sublen, wValueLength, wType, nm) + + +class VarFileInfo: + """ + WORD wLength; // length of the version resource + WORD wValueLength; // length of the Value member in the current + // VS_VERSION_INFO structure + WORD wType; // 1 means text, 0 means binary + WCHAR szKey[]; // Contains the Unicode string 'VarFileInfo'. + WORD Padding[]; + Var Children[]; // list of zero or more Var structures + """ + def __init__(self, kids=None): + self.kids = kids or [] + + def fromRaw(self, sublen, vallen, name, data, i, limit): + self.sublen = sublen + self.vallen = vallen + self.name = name + i = nextDWord(i) + while i < limit: + vs = VarStruct() + j = vs.fromRaw(data, i, limit) + self.kids.append(vs) + i = j + return i + + def toRaw(self): + self.vallen = 0 + self.wType = 1 + self.name = 'VarFileInfo' + raw_name = getRaw(self.name) + sublen = 6 + len(raw_name) + 2 + pad = b'' + if sublen % 4: + pad = b'\000\000' + tmp = b''.join([kid.toRaw() for kid in self.kids]) + self.sublen = sublen + len(pad) + len(tmp) + return struct.pack('HHH', self.sublen, self.vallen, self.wType) + raw_name + b'\000\000' + pad + tmp + + def __eq__(self, other): + return self.toRaw() == other + + def __str__(self, indent=''): + return indent + "VarFileInfo([%s])" % ', '.join(str(kid) for kid in self.kids) + + def __repr__(self): + return 'versioninfo.VarFileInfo(%r)' % self.kids + + +class VarStruct: + """ + WORD wLength; // length of the version resource + WORD wValueLength; // length of the Value member in the current + // VS_VERSION_INFO structure + WORD wType; // 1 means text, 0 means binary + WCHAR szKey[]; // Contains the Unicode string 'Translation' + // or a user-defined key string value + WORD Padding[]; // + WORD Value[]; // list of one or more values that are language + // and code-page identifiers + """ + def __init__(self, name=None, kids=None): + self.name = name or '' + self.kids = kids or [] + + def fromRaw(self, data, i, limit): + i, (self.sublen, self.wValueLength, self.wType, self.name) = parseCommon(data, i) + i = nextDWord(i) + for j in range(0, self.wValueLength, 2): + kid = struct.unpack('H', data[i:i + 2])[0] + self.kids.append(kid) + i += 2 + return i + + def toRaw(self): + self.wValueLength = len(self.kids) * 2 + self.wType = 0 + raw_name = getRaw(self.name) + sublen = 6 + len(raw_name) + 2 + pad = b'' + if sublen % 4: + pad = b'\000\000' + self.sublen = sublen + len(pad) + self.wValueLength + tmp = b''.join([struct.pack('H', kid) for kid in self.kids]) + return struct.pack('HHH', self.sublen, self.wValueLength, self.wType) + raw_name + b'\000\000' + pad + tmp + + def __eq__(self, other): + return self.toRaw() == other + + def __str__(self, indent=''): + return "VarStruct('%s', %r)" % (self.name, self.kids) + + def __repr__(self): + return 'versioninfo.VarStruct(%r, %r)' % (self.name, self.kids) + + +def load_version_info_from_text_file(filename): + """ + Load the `VSVersionInfo` structure from its string-based (`VSVersionInfo.__str__`) serialization by reading the + text from the file and running it through `eval()`. + """ + + # Read and parse the version file. It may have a byte order marker or encoding cookie - respect it if it does. + import PyInstaller.utils.misc as miscutils + with open(filename, 'rb') as fp: + text = miscutils.decode(fp.read()) + + # Deserialize via eval() + try: + info = eval(text) + except Exception as e: + raise ValueError("Failed to deserialize VSVersionInfo from text-based representation!") from e + + # Sanity check + assert isinstance(info, VSVersionInfo), \ + f"Loaded incompatible structure type! Expected VSVersionInfo, got: {type(info)!r}" + + return info + + +def write_version_info_to_executable(exe_filename, info): + assert isinstance(info, VSVersionInfo) + + # Remember overlay + pe = pefile.PE(exe_filename, fast_load=True) + overlay_before = pe.get_overlay() + pe.close() + + hdst = win32api.BeginUpdateResource(exe_filename, 0) + win32api.UpdateResource(hdst, pefile.RESOURCE_TYPE['RT_VERSION'], 1, info.toRaw()) + win32api.EndUpdateResource(hdst, 0) + + if overlay_before: + # Check if the overlay is still present + pe = pefile.PE(exe_filename, fast_load=True) + overlay_after = pe.get_overlay() + pe.close() + + # If the update removed the overlay data, re-append it + if not overlay_after: + with open(exe_filename, 'ab') as exef: + exef.write(overlay_before) diff --git a/.venv/Lib/site-packages/PyInstaller/utils/win32/winmanifest.py b/.venv/Lib/site-packages/PyInstaller/utils/win32/winmanifest.py new file mode 100644 index 0000000..1d338df --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/win32/winmanifest.py @@ -0,0 +1,244 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +import xml.dom +import xml.dom.minidom + +#- Relevant constants from Windows headers +# Manifest resource code +RT_MANIFEST = 24 + +# Resource IDs (names) for manifest. +# See: https://www.gamedev.net/blogs/entry/2154553-manifest-embedding-and-activation +CREATEPROCESS_MANIFEST_RESOURCE_ID = 1 +ISOLATIONAWARE_MANIFEST_RESOURCE_ID = 2 + +LANG_NEUTRAL = 0 + +#- Default application manifest template, based on the one found in python executable. + +_DEFAULT_MANIFEST_XML = \ +b""" + + + + + + + + + + + + + + + + + + + + true + + + + + + + + +""" # noqa: E122,E501 + +#- DOM navigation helpers + + +def _find_elements_by_tag(root, tag): + """ + Find all elements with given tag under the given root element. + """ + return [node for node in root.childNodes if node.nodeType == xml.dom.Node.ELEMENT_NODE and node.tagName == tag] + + +def _find_element_by_tag(root, tag): + """ + Attempt to find a single element with given tag under the given root element, and return None if no such element + is found. Raises an error if multiple elements are found. + """ + elements = _find_elements_by_tag(root, tag) + if len(elements) > 1: + raise ValueError(f"Expected a single {tag!r} element, found {len(elements)} element(s)!") + if not elements: + return None + return elements[0] + + +#- Application manifest modification helpers + + +def _set_execution_level(manifest_dom, root_element, uac_admin=False, uac_uiaccess=False): + """ + Find -> -> element, and set its `level` and `uiAccess` + attributes based on supplied arguments. Create the XML elements if necessary, as they are optional. + """ + + # + trust_info_element = _find_element_by_tag(root_element, "trustInfo") + if not trust_info_element: + trust_info_element = manifest_dom.createElement("trustInfo") + trust_info_element.setAttribute("xmlns", "urn:schemas-microsoft-com:asm.v3") + root_element.appendChild(trust_info_element) + + # + security_element = _find_element_by_tag(trust_info_element, "security") + if not security_element: + security_element = manifest_dom.createElement("security") + trust_info_element.appendChild(security_element) + + # + requested_privileges_element = _find_element_by_tag(security_element, "requestedPrivileges") + if not requested_privileges_element: + requested_privileges_element = manifest_dom.createElement("requestedPrivileges") + security_element.appendChild(requested_privileges_element) + + # + requested_execution_level_element = _find_element_by_tag(requested_privileges_element, "requestedExecutionLevel") + if not requested_execution_level_element: + requested_execution_level_element = manifest_dom.createElement("requestedExecutionLevel") + requested_privileges_element.appendChild(requested_execution_level_element) + + requested_execution_level_element.setAttribute("level", "requireAdministrator" if uac_admin else "asInvoker") + requested_execution_level_element.setAttribute("uiAccess", "true" if uac_uiaccess else "false") + + +def _ensure_common_controls_dependency(manifest_dom, root_element): + """ + Scan elements for the one whose < -> corresponds to the + `Microsoft.Windows.Common-Controls`. If found, overwrite its properties. If not, create new + element with corresponding sub-elements and attributes. + """ + + # + dependency_elements = _find_elements_by_tag(root_element, "dependency") + for dependency_element in dependency_elements: + # + dependent_assembly_element = _find_element_by_tag(dependency_element, "dependentAssembly") + # + assembly_identity_element = _find_element_by_tag(dependent_assembly_element, "assemblyIdentity") + # Check the name attribute + if assembly_identity_element.attributes["name"].value == "Microsoft.Windows.Common-Controls": + common_controls_element = assembly_identity_element + break + else: + # Create + dependency_element = manifest_dom.createElement("dependency") + root_element.appendChild(dependency_element) + # Create + dependent_assembly_element = manifest_dom.createElement("dependentAssembly") + dependency_element.appendChild(dependent_assembly_element) + # Create + common_controls_element = manifest_dom.createElement("assemblyIdentity") + dependent_assembly_element.appendChild(common_controls_element) + + common_controls_element.setAttribute("type", "win32") + common_controls_element.setAttribute("name", "Microsoft.Windows.Common-Controls") + common_controls_element.setAttribute("version", "6.0.0.0") + common_controls_element.setAttribute("processorArchitecture", "*") + common_controls_element.setAttribute("publicKeyToken", "6595b64144ccf1df") + common_controls_element.setAttribute("language", "*") + + +def create_application_manifest(manifest_xml=None, uac_admin=False, uac_uiaccess=False): + """ + Create application manifest, from built-in or custom manifest XML template. If provided, `manifest_xml` must be + a string or byte string containing XML source. The returned manifest is a byte string, encoded in UTF-8. + + This function sets the attributes of `requestedExecutionLevel` based on provided `uac_admin` and `auc_uiacces` + arguments (creating the parent elements in the XML, if necessary). It also scans `dependency` elements for the + entry corresponding to `Microsoft.Windows.Common-Controls` and creates or modifies it as necessary. + """ + + if manifest_xml is None: + manifest_xml = _DEFAULT_MANIFEST_XML + + with xml.dom.minidom.parseString(manifest_xml) as manifest_dom: + root_element = manifest_dom.documentElement + + # Validate root element - must be + assert root_element.tagName == "assembly" + assert root_element.namespaceURI == "urn:schemas-microsoft-com:asm.v1" + assert root_element.attributes["manifestVersion"].value == "1.0" + + # Modify the manifest + _set_execution_level(manifest_dom, root_element, uac_admin, uac_uiaccess) + _ensure_common_controls_dependency(manifest_dom, root_element) + + # Create output XML + output = manifest_dom.toprettyxml(indent=" ", encoding="UTF-8") + + # Strip extra newlines + output = [line for line in output.splitlines() if line.strip()] + + # Replace: `` with ``. + # Support for `standalone` was added to `toprettyxml` in python 3.9, so do a manual work around. + output[0] = b"""""" + + output = b"\n".join(output) + + return output + + +def write_manifest_to_executable(filename, manifest_xml): + """ + Write the given manifest XML to the given executable's RT_MANIFEST resource. + """ + from PyInstaller.utils.win32 import winresource + + # CREATEPROCESS_MANIFEST_RESOURCE_ID is used for manifest resource in executables. + # ISOLATIONAWARE_MANIFEST_RESOURCE_ID is used for manifest resources in DLLs. + names = [CREATEPROCESS_MANIFEST_RESOURCE_ID] + + # Ensure LANG_NEUTRAL is updated, and also update any other present languages. + languages = [LANG_NEUTRAL, "*"] + + winresource.add_or_update_resource(filename, manifest_xml, RT_MANIFEST, names, languages) + + +def read_manifest_from_executable(filename): + """ + Read manifest from the given executable." + """ + from PyInstaller.utils.win32 import winresource + + resources = winresource.get_resources(filename, [RT_MANIFEST]) + + # `resources` is a three-level dictionary: + # - level 1: resource type (RT_MANIFEST) + # - level 2: resource name (CREATEPROCESS_MANIFEST_RESOURCE_ID) + # - level 3: resource language (LANG_NEUTRAL) + + # Level 1 + if RT_MANIFEST not in resources: + raise ValueError(f"No RT_MANIFEST resources found in {filename!r}.") + resources = resources[RT_MANIFEST] + + # Level 2 + if CREATEPROCESS_MANIFEST_RESOURCE_ID not in resources: + raise ValueError(f"No RT_MANIFEST resource named CREATEPROCESS_MANIFEST_RESOURCE_ID found in {filename!r}.") + resources = resources[CREATEPROCESS_MANIFEST_RESOURCE_ID] + + # Level 3 + # We prefer LANG_NEUTRAL, but allow fall back to the first available entry. + if LANG_NEUTRAL in resources: + resources = resources[LANG_NEUTRAL] + else: + resources = next(iter(resources.items())) + + manifest_xml = resources + return manifest_xml diff --git a/.venv/Lib/site-packages/PyInstaller/utils/win32/winresource.py b/.venv/Lib/site-packages/PyInstaller/utils/win32/winresource.py new file mode 100644 index 0000000..f21d66c --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/win32/winresource.py @@ -0,0 +1,189 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Read and write resources from/to Win32 PE files. +""" + +import PyInstaller.log as logging +from PyInstaller.compat import pywintypes, win32api + +logger = logging.getLogger(__name__) + +LOAD_LIBRARY_AS_DATAFILE = 2 +ERROR_BAD_EXE_FORMAT = 193 +ERROR_RESOURCE_DATA_NOT_FOUND = 1812 +ERROR_RESOURCE_TYPE_NOT_FOUND = 1813 +ERROR_RESOURCE_NAME_NOT_FOUND = 1814 +ERROR_RESOURCE_LANG_NOT_FOUND = 1815 + + +def get_resources(filename, types=None, names=None, languages=None): + """ + Retrieve resources from the given PE file. + + filename: path to the PE file. + types: a list of resource types (integers or strings) to search for (None = all). + names: a list of resource names (integers or strings) to search for (None = all). + languages: a list of resource languages (integers) to search for (None = all). + + Returns a dictionary of the form {type: {name: {language: data}}}, which might also be empty if no matching + resources were found. + """ + types = set(types) if types is not None else {"*"} + names = set(names) if names is not None else {"*"} + languages = set(languages) if languages is not None else {"*"} + + output = {} + + # Errors codes for which we swallow exceptions + _IGNORE_EXCEPTIONS = { + ERROR_RESOURCE_DATA_NOT_FOUND, + ERROR_RESOURCE_TYPE_NOT_FOUND, + ERROR_RESOURCE_NAME_NOT_FOUND, + ERROR_RESOURCE_LANG_NOT_FOUND, + } + + # Open file + module_handle = win32api.LoadLibraryEx(filename, 0, LOAD_LIBRARY_AS_DATAFILE) + + # Enumerate available resource types + try: + available_types = win32api.EnumResourceTypes(module_handle) + except pywintypes.error as e: + if e.args[0] not in _IGNORE_EXCEPTIONS: + raise + available_types = [] + + if "*" not in types: + available_types = [res_type for res_type in available_types if res_type in types] + + for res_type in available_types: + # Enumerate available names for the resource type. + try: + available_names = win32api.EnumResourceNames(module_handle, res_type) + except pywintypes.error as e: + if e.args[0] not in _IGNORE_EXCEPTIONS: + raise + continue + + if "*" not in names: + available_names = [res_name for res_name in available_names if res_name in names] + + for res_name in available_names: + # Enumerate available languages for the resource type and name combination. + try: + available_languages = win32api.EnumResourceLanguages(module_handle, res_type, res_name) + except pywintypes.error as e: + if e.args[0] not in _IGNORE_EXCEPTIONS: + raise + continue + + if "*" not in languages: + available_languages = [res_lang for res_lang in available_languages if res_lang in languages] + + for res_lang in available_languages: + # Read data + try: + data = win32api.LoadResource(module_handle, res_type, res_name, res_lang) + except pywintypes.error as e: + if e.args[0] not in _IGNORE_EXCEPTIONS: + raise + continue + + if res_type not in output: + output[res_type] = {} + if res_name not in output[res_type]: + output[res_type][res_name] = {} + output[res_type][res_name][res_lang] = data + + # Close file + win32api.FreeLibrary(module_handle) + + return output + + +def add_or_update_resource(filename, data, res_type, names=None, languages=None): + """ + Update or add a single resource in the PE file with the given binary data. + + filename: path to the PE file. + data: binary data to write to the resource. + res_type: resource type to add/update (integer or string). + names: a list of resource names (integers or strings) to update (None = all). + languages: a list of resource languages (integers) to update (None = all). + """ + if res_type == "*": + raise ValueError("res_type cannot be a wildcard (*)!") + + names = set(names) if names is not None else {"*"} + languages = set(languages) if languages is not None else {"*"} + + # Retrieve existing resources, filtered by the given resource type and given resource names and languages. + resources = get_resources(filename, [res_type], names, languages) + + # Add res_type, name, language combinations that are not already present + resources = resources.get(res_type, {}) # This is now a {name: {language: data}} dictionary + + for res_name in names: + if res_name == "*": + continue + if res_name not in resources: + resources[res_name] = {} + + for res_lang in languages: + if res_lang == "*": + continue + if res_lang not in resources[res_name]: + resources[res_name][res_lang] = None # Just an indicator + + # Add resource to the target file, overwriting the existing resources with same type, name, language combinations. + module_handle = win32api.BeginUpdateResource(filename, 0) + for res_name in resources.keys(): + for res_lang in resources[res_name].keys(): + win32api.UpdateResource(module_handle, res_type, res_name, data, res_lang) + win32api.EndUpdateResource(module_handle, 0) + + +def copy_resources_from_pe_file(filename, src_filename, types=None, names=None, languages=None): + """ + Update or add resources in the given PE file by copying them over from the specified source PE file. + + filename: path to the PE file. + src_filename: path to the source PE file. + types: a list of resource types (integers or strings) to add/update via copy for (None = all). + names: a list of resource names (integers or strings) to add/update via copy (None = all). + languages: a list of resource languages (integers) to add/update via copy (None = all). + """ + types = set(types) if types is not None else {"*"} + names = set(names) if names is not None else {"*"} + languages = set(languages) if languages is not None else {"*"} + + # Retrieve existing resources, filtered by the given resource type and given resource names and languages. + resources = get_resources(src_filename, types, names, languages) + + for res_type, resources_for_type in resources.items(): + if "*" not in types and res_type not in types: + continue + for res_name, resources_for_type_name in resources_for_type.items(): + if "*" not in names and res_name not in names: + continue + for res_lang, data in resources_for_type_name.items(): + if "*" not in languages and res_lang not in languages: + continue + add_or_update_resource(filename, data, res_type, [res_name], [res_lang]) + + +def remove_all_resources(filename): + """ + Remove all resources from the given PE file: + """ + module_handle = win32api.BeginUpdateResource(filename, True) # bDeleteExistingResources=True + win32api.EndUpdateResource(module_handle, False) diff --git a/.venv/Lib/site-packages/PyInstaller/utils/win32/winutils.py b/.venv/Lib/site-packages/PyInstaller/utils/win32/winutils.py new file mode 100644 index 0000000..92cba77 --- /dev/null +++ b/.venv/Lib/site-packages/PyInstaller/utils/win32/winutils.py @@ -0,0 +1,257 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- +""" +Utilities for Windows platform. +""" + +from PyInstaller import compat + + +def get_windows_dir(): + """ + Return the Windows directory, e.g., C:\\Windows. + """ + windir = compat.win32api.GetWindowsDirectory() + if not windir: + raise SystemExit("ERROR: Cannot determine Windows directory!") + return windir + + +def get_system_path(): + """ + Return the required Windows system paths. + """ + sys_dir = compat.win32api.GetSystemDirectory() + # Ensure C:\Windows\system32 and C:\Windows directories are always present in PATH variable. + # C:\Windows\system32 is valid even for 64-bit Windows. Access do DLLs are transparently redirected to + # C:\Windows\syswow64 for 64bit applactions. + # See http://msdn.microsoft.com/en-us/library/aa384187(v=vs.85).aspx + return [sys_dir, get_windows_dir()] + + +def get_pe_file_machine_type(filename): + """ + Return the machine type code from the header of the given PE file. + """ + import pefile + + with pefile.PE(filename, fast_load=True) as pe: + return pe.FILE_HEADER.Machine + + +def set_exe_build_timestamp(exe_path, timestamp): + """ + Modifies the executable's build timestamp by updating values in the corresponding PE headers. + """ + import pefile + + with pefile.PE(exe_path, fast_load=True) as pe: + # Manually perform a full load. We need it to load all headers, but specifying it in the constructor triggers + # byte statistics gathering that takes forever with large files. So we try to go around that... + pe.full_load() + + # Set build timestamp. + # See: https://0xc0decafe.com/malware-analyst-guide-to-pe-timestamps + timestamp = int(timestamp) + # Set timestamp field in FILE_HEADER + pe.FILE_HEADER.TimeDateStamp = timestamp + # MSVC-compiled executables contain (at least?) one DIRECTORY_ENTRY_DEBUG entry that also contains timestamp + # with same value as set in FILE_HEADER. So modify that as well, as long as it is set. + debug_entries = getattr(pe, 'DIRECTORY_ENTRY_DEBUG', []) + for debug_entry in debug_entries: + if debug_entry.struct.TimeDateStamp: + debug_entry.struct.TimeDateStamp = timestamp + + # Generate updated EXE data + data = pe.write() + + # Rewrite the exe + with open(exe_path, 'wb') as fp: + fp.write(data) + + +def update_exe_pe_checksum(exe_path): + """ + Compute the executable's PE checksum, and write it to PE headers. + + This optional checksum is supposed to protect the executable against corruption but some anti-viral software have + taken to flagging anything without it set correctly as malware. See issue #5579. + """ + import pefile + + # Compute checksum using our equivalent of the MapFileAndCheckSumW - for large files, it is significantly faster + # than pure-pyton pefile.PE.generate_checksum(). However, it requires the file to be on disk (i.e., cannot operate + # on a memory buffer). + try: + checksum = compute_exe_pe_checksum(exe_path) + except Exception as e: + raise RuntimeError("Failed to compute PE checksum!") from e + + # Update the checksum + with pefile.PE(exe_path, fast_load=True) as pe: + pe.OPTIONAL_HEADER.CheckSum = checksum + + # Generate updated EXE data + data = pe.write() + + # Rewrite the exe + with open(exe_path, 'wb') as fp: + fp.write(data) + + +def compute_exe_pe_checksum(exe_path): + """ + This is a replacement for the MapFileAndCheckSumW function. As noted in MSDN documentation, the Microsoft's + implementation of MapFileAndCheckSumW internally calls its ASCII variant (MapFileAndCheckSumA), and therefore + cannot handle paths that contain characters that are not representable in the current code page. + See: https://docs.microsoft.com/en-us/windows/win32/api/imagehlp/nf-imagehlp-mapfileandchecksumw + + This function is based on Wine's implementation of MapFileAndCheckSumW, and due to being based entirely on + the pure widechar-API functions, it is not limited by the current code page. + """ + # ctypes bindings for relevant win32 API functions + import ctypes + from ctypes import windll, wintypes + + INVALID_HANDLE = wintypes.HANDLE(-1).value + + GetLastError = ctypes.windll.kernel32.GetLastError + GetLastError.argtypes = () + GetLastError.restype = wintypes.DWORD + + CloseHandle = windll.kernel32.CloseHandle + CloseHandle.argtypes = ( + wintypes.HANDLE, # hObject + ) + CloseHandle.restype = wintypes.BOOL + + CreateFileW = windll.kernel32.CreateFileW + CreateFileW.argtypes = ( + wintypes.LPCWSTR, # lpFileName + wintypes.DWORD, # dwDesiredAccess + wintypes.DWORD, # dwShareMode + wintypes.LPVOID, # lpSecurityAttributes + wintypes.DWORD, # dwCreationDisposition + wintypes.DWORD, # dwFlagsAndAttributes + wintypes.HANDLE, # hTemplateFile + ) + CreateFileW.restype = wintypes.HANDLE + + CreateFileMappingW = windll.kernel32.CreateFileMappingW + CreateFileMappingW.argtypes = ( + wintypes.HANDLE, # hFile + wintypes.LPVOID, # lpSecurityAttributes + wintypes.DWORD, # flProtect + wintypes.DWORD, # dwMaximumSizeHigh + wintypes.DWORD, # dwMaximumSizeLow + wintypes.LPCWSTR, # lpName + ) + CreateFileMappingW.restype = wintypes.HANDLE + + MapViewOfFile = windll.kernel32.MapViewOfFile + MapViewOfFile.argtypes = ( + wintypes.HANDLE, # hFileMappingObject + wintypes.DWORD, # dwDesiredAccess + wintypes.DWORD, # dwFileOffsetHigh + wintypes.DWORD, # dwFileOffsetLow + wintypes.DWORD, # dwNumberOfBytesToMap + ) + MapViewOfFile.restype = wintypes.LPVOID + + UnmapViewOfFile = windll.kernel32.UnmapViewOfFile + UnmapViewOfFile.argtypes = ( + wintypes.LPCVOID, # lpBaseAddress + ) + UnmapViewOfFile.restype = wintypes.BOOL + + GetFileSizeEx = windll.kernel32.GetFileSizeEx + GetFileSizeEx.argtypes = ( + wintypes.HANDLE, # hFile + wintypes.PLARGE_INTEGER, # lpFileSize + ) + + CheckSumMappedFile = windll.imagehlp.CheckSumMappedFile + CheckSumMappedFile.argtypes = ( + wintypes.LPVOID, # BaseAddress + wintypes.DWORD, # FileLength + wintypes.PDWORD, # HeaderSum + wintypes.PDWORD, # CheckSum + ) + CheckSumMappedFile.restype = wintypes.LPVOID + + # Open file + hFile = CreateFileW( + ctypes.c_wchar_p(exe_path), + 0x80000000, # dwDesiredAccess = GENERIC_READ + 0x00000001 | 0x00000002, # dwShareMode = FILE_SHARE_READ | FILE_SHARE_WRITE, + None, # lpSecurityAttributes = NULL + 3, # dwCreationDisposition = OPEN_EXISTING + 0x80, # dwFlagsAndAttributes = FILE_ATTRIBUTE_NORMAL + None # hTemplateFile = NULL + ) + if hFile == INVALID_HANDLE: + err = GetLastError() + raise RuntimeError(f"Failed to open file {exe_path}! Error code: {err}") + + # Query file size + fileLength = wintypes.LARGE_INTEGER(0) + if GetFileSizeEx(hFile, fileLength) == 0: + err = GetLastError() + CloseHandle(hFile) + raise RuntimeError(f"Failed to query file size file! Error code: {err}") + fileLength = fileLength.value + if fileLength > (2**32 - 1): + raise RuntimeError("Executable size exceeds maximum allowed executable size on Windows (4 GiB)!") + + # Map the file + hMapping = CreateFileMappingW( + hFile, + None, # lpFileMappingAttributes = NULL + 0x02, # flProtect = PAGE_READONLY + 0, # dwMaximumSizeHigh = 0 + 0, # dwMaximumSizeLow = 0 + None # lpName = NULL + ) + if not hMapping: + err = GetLastError() + CloseHandle(hFile) + raise RuntimeError(f"Failed to map file! Error code: {err}") + + # Create map view + baseAddress = MapViewOfFile( + hMapping, + 4, # dwDesiredAccess = FILE_MAP_READ + 0, # dwFileOffsetHigh = 0 + 0, # dwFileOffsetLow = 0 + 0 # dwNumberOfBytesToMap = 0 + ) + if baseAddress == 0: + err = GetLastError() + CloseHandle(hMapping) + CloseHandle(hFile) + raise RuntimeError(f"Failed to create map view! Error code: {err}") + + # Finally, compute the checksum + headerSum = wintypes.DWORD(0) + checkSum = wintypes.DWORD(0) + ret = CheckSumMappedFile(baseAddress, fileLength, ctypes.byref(headerSum), ctypes.byref(checkSum)) + if ret is None: + err = GetLastError() + + # Cleanup + UnmapViewOfFile(baseAddress) + CloseHandle(hMapping) + CloseHandle(hFile) + + if ret is None: + raise RuntimeError(f"CheckSumMappedFile failed! Error code: {err}") + + return checkSum.value diff --git a/.venv/Lib/site-packages/__pycache__/pefile.cpython-311.pyc b/.venv/Lib/site-packages/__pycache__/pefile.cpython-311.pyc new file mode 100644 index 0000000..e3bbb62 Binary files /dev/null and b/.venv/Lib/site-packages/__pycache__/pefile.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/__pycache__/peutils.cpython-311.pyc b/.venv/Lib/site-packages/__pycache__/peutils.cpython-311.pyc new file mode 100644 index 0000000..5559f68 Binary files /dev/null and b/.venv/Lib/site-packages/__pycache__/peutils.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/__init__.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/__init__.py new file mode 100644 index 0000000..634eab5 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/__init__.py @@ -0,0 +1,47 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +import sys + +__version__ = '2025.8' +__maintainer__ = 'Legorooj, bwoodsend' +__uri__ = 'https://github.com/pyinstaller/pyinstaller-hooks-contrib' + + +def get_hook_dirs(): + import os + hooks_dir = os.path.dirname(__file__) + return [ + # Required because standard hooks are in sub-directory instead of the top-level hooks directory. + os.path.join(hooks_dir, 'stdhooks'), + # pre_* and run-time hooks + hooks_dir, + ] + + +# Several packages for which provide hooks are involved in deep dependency chains when various optional dependencies are +# installed in the environment, and their analysis typically requires recursion limit that exceeds the default 1000. +# Therefore, automatically raise the recursion limit to at least 5000. This alleviates the need to do so on per-hook +# basis. +if (sys.platform.startswith('win') or sys.platform == 'cygwin') and sys.version_info < (3, 11): + # The recursion limit test in PyInstaller main repository seems to push the recursion level to the limit; and if the + # limit is set to 5000, this crashes python 3.8 - 3.10 on Windows and 3.9 that is (at the time of writing) available + # under Cygwin. Further investigation revealed that Windows builds of python 3.8 and 3.10 handle recursion up to + # level ~2075, while the practical limit for 3.9 is between 1950 and 1975. Therefore, for affected combinations of + # platforms and python versions, use a conservative limit of 1900 - if only to avoid issues with the recursion limit + # test in the main PyInstaller repository... + new_recursion_limit = 1900 +else: + new_recursion_limit = 5000 + +if sys.getrecursionlimit() < new_recursion_limit: + sys.setrecursionlimit(new_recursion_limit) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..d5588cc Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/__pycache__/__init__.cpython-39.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/__pycache__/__init__.cpython-39.pyc new file mode 100644 index 0000000..9fd6220 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/__pycache__/__init__.cpython-39.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/__pycache__/compat.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/__pycache__/compat.cpython-311.pyc new file mode 100644 index 0000000..99624aa Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/__pycache__/compat.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/compat.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/compat.py new file mode 100644 index 0000000..4acba2f --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/compat.py @@ -0,0 +1,42 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +import sys + +from PyInstaller.utils.hooks import is_module_satisfies + + +if is_module_satisfies("PyInstaller >= 6.0"): + # PyInstaller >= 6.0 imports importlib_metadata in its compat module + from PyInstaller.compat import importlib_metadata +else: + # Older PyInstaller version - duplicate logic from PyInstaller 6.0 + class ImportlibMetadataError(SystemExit): + def __init__(self): + super().__init__( + "pyinstaller-hooks-contrib requires importlib.metadata from python >= 3.10 stdlib or " + "importlib_metadata from importlib-metadata >= 4.6" + ) + + if sys.version_info >= (3, 10): + import importlib.metadata as importlib_metadata + else: + try: + import importlib_metadata + except ImportError as e: + raise ImportlibMetadataError() from e + + import packaging.version # For importlib_metadata version check + + # Validate the version + if packaging.version.parse(importlib_metadata.version("importlib-metadata")) < packaging.version.parse("4.6"): + raise ImportlibMetadataError() diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_find_module_path/__init__.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_find_module_path/__init__.py new file mode 100644 index 0000000..89c0c0f --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_find_module_path/__init__.py @@ -0,0 +1,11 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_find_module_path/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_find_module_path/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..3f8df05 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_find_module_path/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module/__init__.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module/__init__.py new file mode 100644 index 0000000..89c0c0f --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module/__init__.py @@ -0,0 +1,11 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..1fd9666 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module/__pycache__/hook-tensorflow.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module/__pycache__/hook-tensorflow.cpython-311.pyc new file mode 100644 index 0000000..7e12557 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module/__pycache__/hook-tensorflow.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module/__pycache__/hook-win32com.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module/__pycache__/hook-win32com.cpython-311.pyc new file mode 100644 index 0000000..84a0aaf Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module/__pycache__/hook-win32com.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module/hook-tensorflow.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module/hook-tensorflow.py new file mode 100644 index 0000000..0d135b6 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module/hook-tensorflow.py @@ -0,0 +1,28 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2022, PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import is_module_satisfies + + +def pre_safe_import_module(api): + # As of tensorflow 2.8.0, the `tensorflow.keras` is entirely gone, replaced by a lazy-loaded alias for + # `keras.api._v2.keras`. Without us registering the alias here, a program that imports only from + # `tensorflow.keras` fails to collect `tensorflow`. + # See: https://github.com/pyinstaller/pyinstaller/discussions/6890 + # The alias was already present in earlier releases, but it does not seem to be causing problems there, + # so keep this specific to tensorflow >= 2.8.0 to avoid accidentally breaking something else. + # + # Starting with tensorflow 2.16.0, the alias points to `keras._tf_keras.keras`. + if is_module_satisfies("tensorflow >= 2.16.0"): + api.add_alias_module('keras._tf_keras.keras', 'tensorflow.keras') + elif is_module_satisfies("tensorflow >= 2.8.0"): + api.add_alias_module('keras.api._v2.keras', 'tensorflow.keras') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module/hook-win32com.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module/hook-win32com.py new file mode 100644 index 0000000..afb61f7 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module/hook-win32com.py @@ -0,0 +1,46 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2020, PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +#----------------------------------------------------------------------------- +""" +PyWin32 package 'win32com' extends it's __path__ attribute with win32comext +directory and thus PyInstaller is not able to find modules in it. For example +module 'win32com.shell' is in reality 'win32comext.shell'. + +>>> win32com.__path__ +['win32com', 'C:\\Python27\\Lib\\site-packages\\win32comext'] + +""" + +import os + +from PyInstaller.utils.hooks import logger, exec_statement +from PyInstaller.compat import is_win, is_cygwin + + +def pre_safe_import_module(api): + if not (is_win or is_cygwin): + return + win32com_file = exec_statement( + """ + try: + from win32com import __file__ + print(__file__) + except Exception: + pass + """).strip() + if not win32com_file: + logger.debug('win32com: module not available') + return # win32com unavailable + win32com_dir = os.path.dirname(win32com_file) + comext_dir = os.path.join(os.path.dirname(win32com_dir), 'win32comext') + logger.debug('win32com: extending __path__ with dir %r' % comext_dir) + # Append the __path__ where PyInstaller will look for 'win32com' modules.' + api.append_package_path(comext_dir) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks.dat b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks.dat new file mode 100644 index 0000000..f868f56 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks.dat @@ -0,0 +1,16 @@ +{ + 'cryptography': ['pyi_rth_cryptography_openssl.py'], + 'enchant': ['pyi_rth_enchant.py'], + 'findlibs': ['pyi_rth_findlibs.py'], + 'ffpyplayer': ['pyi_rth_ffpyplayer.py'], + 'osgeo': ['pyi_rth_osgeo.py'], + 'traitlets': ['pyi_rth_traitlets.py'], + 'usb': ['pyi_rth_usb.py'], + 'nltk': ['pyi_rth_nltk.py'], + 'pyproj': ['pyi_rth_pyproj.py'], + 'pygraphviz': ['pyi_rth_pygraphviz.py'], + 'pythoncom': ['pyi_rth_pythoncom.py'], + 'pyqtgraph': ['pyi_rth_pyqtgraph_multiprocess.py'], + 'pywintypes': ['pyi_rth_pywintypes.py'], + 'tensorflow': ['pyi_rth_tensorflow.py'], +} diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__init__.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__init__.py new file mode 100644 index 0000000..30d22ed --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__init__.py @@ -0,0 +1,10 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the Apache License 2.0 +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: Apache-2.0 +# ------------------------------------------------------------------ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..ff3d7e2 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_cryptography_openssl.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_cryptography_openssl.cpython-311.pyc new file mode 100644 index 0000000..794fc2b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_cryptography_openssl.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_enchant.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_enchant.cpython-311.pyc new file mode 100644 index 0000000..bfb79de Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_enchant.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_ffpyplayer.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_ffpyplayer.cpython-311.pyc new file mode 100644 index 0000000..1a43889 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_ffpyplayer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_findlibs.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_findlibs.cpython-311.pyc new file mode 100644 index 0000000..bd337f9 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_findlibs.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_nltk.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_nltk.cpython-311.pyc new file mode 100644 index 0000000..6b74a1f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_nltk.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_osgeo.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_osgeo.cpython-311.pyc new file mode 100644 index 0000000..b79adf8 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_osgeo.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_pygraphviz.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_pygraphviz.cpython-311.pyc new file mode 100644 index 0000000..e4f546d Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_pygraphviz.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_pyproj.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_pyproj.cpython-311.pyc new file mode 100644 index 0000000..50a8051 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_pyproj.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_pyqtgraph_multiprocess.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_pyqtgraph_multiprocess.cpython-311.pyc new file mode 100644 index 0000000..a0d914b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_pyqtgraph_multiprocess.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_pythoncom.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_pythoncom.cpython-311.pyc new file mode 100644 index 0000000..5ae16c4 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_pythoncom.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_pywintypes.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_pywintypes.cpython-311.pyc new file mode 100644 index 0000000..2d079af Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_pywintypes.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_tensorflow.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_tensorflow.cpython-311.pyc new file mode 100644 index 0000000..d143ea4 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_tensorflow.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_traitlets.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_traitlets.cpython-311.pyc new file mode 100644 index 0000000..cf348ed Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_traitlets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_usb.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_usb.cpython-311.pyc new file mode 100644 index 0000000..6cbedae Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_usb.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_cryptography_openssl.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_cryptography_openssl.py new file mode 100644 index 0000000..dbabe69 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_cryptography_openssl.py @@ -0,0 +1,20 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# This file is distributed under the terms of the Apache License 2.0 +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + +import os +import sys + +# If we collected OpenSSL modules into `ossl-modules` directory, override the OpenSSL search path by setting the +# `OPENSSL_MODULES` environment variable. +_ossl_modules_dir = os.path.join(sys._MEIPASS, 'ossl-modules') +if os.path.isdir(_ossl_modules_dir): + os.environ['OPENSSL_MODULES'] = _ossl_modules_dir +del _ossl_modules_dir diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_enchant.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_enchant.py new file mode 100644 index 0000000..36c185d --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_enchant.py @@ -0,0 +1,22 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2020, PyInstaller Development Team. +# +# This file is distributed under the terms of the Apache License 2.0 +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + +import os +import sys + +# On Mac OS X tell enchant library where to look for enchant backends (aspell, myspell, ...). +# Enchant is looking for backends in directory 'PREFIX/lib/enchant' +# Note: env. var. ENCHANT_PREFIX_DIR is implemented only in the development version: +# https://github.com/AbiWord/enchant +# https://github.com/AbiWord/enchant/pull/2 +# TODO Test this rthook. +if sys.platform.startswith('darwin'): + os.environ['ENCHANT_PREFIX_DIR'] = os.path.join(sys._MEIPASS, 'enchant') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_ffpyplayer.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_ffpyplayer.py new file mode 100644 index 0000000..6a024de --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_ffpyplayer.py @@ -0,0 +1,19 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2023, PyInstaller Development Team. +# +# This file is distributed under the terms of the Apache License 2.0 +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + +# Starting with v4.3.5, the `ffpyplayer` package attempts to use `site.USER_BASE` in path manipulation functions. +# As frozen application runs with disabled `site`, the value of this variable is `None`, and causes path manipulation +# functions to raise an error. As a work-around, we set `site.USER_BASE` to an empty string, which is also what the +# fake `site` module available in PyInstaller prior to v5.5 did. +import site + +if site.USER_BASE is None: + site.USER_BASE = '' diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_findlibs.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_findlibs.py new file mode 100644 index 0000000..48e4ddd --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_findlibs.py @@ -0,0 +1,58 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2024, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + +# Override the findlibs.find() function to give precedence to sys._MEIPASS, followed by `ctypes.util.find_library`, +# and only then the hard-coded paths from the original implementation. The main aim here is to avoid loading libraries +# from Homebrew environment on macOS when it happens to be present at run-time and we have a bundled copy collected from +# the build system. This happens because we (try not to) modify `DYLD_LIBRARY_PATH`, and the original `findlibs.find()` +# implementation gives precedence to environment variables and several fixed/hard-coded locations, and uses +# `ctypes.util.find_library` as the final fallback... +def _pyi_rthook(): + import sys + import os + import ctypes.util + + # findlibs v0.1.0 broke compatibility with python < 3.10; due to incompatible typing annotation, attempting to + # import the package raises `TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'`. Gracefully + # handle this situation by making this run-time hook no-op, in order to avoid crashing the frozen program even + # if it would never end up importing/using `findlibs`. + try: + import findlibs + except TypeError: + return + + _orig_find = getattr(findlibs, 'find', None) + + def _pyi_find(lib_name, *args, **kwargs): + extension = findlibs.EXTENSIONS.get(sys.platform, ".so") + + # First check sys._MEIPASS + fullname = os.path.join(sys._MEIPASS, "lib{}{}".format(lib_name, extension)) + if os.path.isfile(fullname): + return fullname + + # Fall back to `ctypes.util.find_library` (to give it precedence over hard-coded paths from original + # implementation). + lib = ctypes.util.find_library(lib_name) + if lib is not None: + return lib + + # Finally, fall back to original implementation + if _orig_find is not None: + return _orig_find(lib_name, *args, **kwargs) + + return None + + findlibs.find = _pyi_find + + +_pyi_rthook() +del _pyi_rthook diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_nltk.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_nltk.py new file mode 100644 index 0000000..feb9eb7 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_nltk.py @@ -0,0 +1,17 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2020, PyInstaller Development Team. +# +# This file is distributed under the terms of the Apache License 2.0 +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + +import sys +import os +import nltk + +#add the path to nltk_data +nltk.data.path.insert(0, os.path.join(sys._MEIPASS, "nltk_data")) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_osgeo.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_osgeo.py new file mode 100644 index 0000000..7b31027 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_osgeo.py @@ -0,0 +1,32 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2015-2020, PyInstaller Development Team. +# +# This file is distributed under the terms of the Apache License 2.0 +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + +import os +import sys + +# Installing `osgeo` Conda packages requires to set `GDAL_DATA` + +is_win = sys.platform.startswith('win') +if is_win: + + gdal_data = os.path.join(sys._MEIPASS, 'data', 'gdal') + if not os.path.exists(gdal_data): + + gdal_data = os.path.join(sys._MEIPASS, 'Library', 'share', 'gdal') + # last attempt, check if one of the required file is in the generic folder Library/data + if not os.path.exists(os.path.join(gdal_data, 'gcs.csv')): + gdal_data = os.path.join(sys._MEIPASS, 'Library', 'data') + +else: + gdal_data = os.path.join(sys._MEIPASS, 'share', 'gdal') + +if os.path.exists(gdal_data): + os.environ['GDAL_DATA'] = gdal_data diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_pygraphviz.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_pygraphviz.py new file mode 100644 index 0000000..cfae2b3 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_pygraphviz.py @@ -0,0 +1,32 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2021, PyInstaller Development Team. +# +# This file is distributed under the terms of the Apache License 2.0 +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + +import pygraphviz + +# Override pygraphviz.AGraph._which method to search for graphviz executables inside sys._MEIPASS +if hasattr(pygraphviz.AGraph, '_which'): + + def _pygraphviz_override_which(self, name): + import os + import sys + import platform + + program_name = name + if platform.system() == "Windows": + program_name += ".exe" + + program_path = os.path.join(sys._MEIPASS, program_name) + if not os.path.isfile(program_path): + raise ValueError(f"Prog {name} not found in the PyInstaller-frozen application bundle!") + + return program_path + + pygraphviz.AGraph._which = _pygraphviz_override_which diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_pyproj.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_pyproj.py new file mode 100644 index 0000000..b78b70b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_pyproj.py @@ -0,0 +1,26 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2015-2020, PyInstaller Development Team. +# +# This file is distributed under the terms of the Apache License 2.0 +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + +import os +import sys + +# Installing `pyproj` Conda packages requires to set `PROJ_LIB` + +is_win = sys.platform.startswith('win') +if is_win: + + proj_data = os.path.join(sys._MEIPASS, 'Library', 'share', 'proj') + +else: + proj_data = os.path.join(sys._MEIPASS, 'share', 'proj') + +if os.path.exists(proj_data): + os.environ['PROJ_LIB'] = proj_data diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_pyqtgraph_multiprocess.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_pyqtgraph_multiprocess.py new file mode 100644 index 0000000..06a012b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_pyqtgraph_multiprocess.py @@ -0,0 +1,52 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2022, PyInstaller Development Team. +# +# This file is distributed under the terms of the Apache License 2.0 +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + +import sys +import os + + +def _setup_pyqtgraph_multiprocess_hook(): + # NOTE: pyqtgraph.multiprocess spawns the sub-process using subprocess.Popen (or equivalent). This means that in + # onefile builds, the executable in subprocess will unpack itself again, into different sys._MEIPASS, because + # the _MEIPASS2 environment variable is not set (bootloader / bootstrap script cleans it up). This will make the + # argv[1] check below fail, due to different sys._MEIPASS value in the subprocess. + # + # To work around this, at the time of writing (PyInstaller 5.5), the user needs to set _MEIPASS2 environment + # variable to sys._MEIPASS before using `pyqtgraph.multiprocess` in onefile builds. And stlib's + # `multiprocessing.freeze_support` needs to be called in the entry-point program, due to `pyqtgraph.multiprocess` + # internally using stdlib's `multiprocessing` primitives. + if len(sys.argv) == 2 and sys.argv[1] == os.path.join(sys._MEIPASS, 'pyqtgraph', 'multiprocess', 'bootstrap.py'): + # Load as module; this requires --hiddenimport pyqtgraph.multiprocess.bootstrap + try: + import importlib.util + spec = importlib.util.find_spec("pyqtgraph.multiprocess.bootstrap") + bootstrap_co = spec.loader.get_code("pyqtgraph.multiprocess.bootstrap") + except Exception: + bootstrap_co = None + + if bootstrap_co: + exec(bootstrap_co) + sys.exit(0) + + # Load from file; requires pyqtgraph/multiprocess/bootstrap.py collected as data file + # This is obsolete for PyInstaller >= v6.10.0 + bootstrap_file = os.path.join(sys._MEIPASS, 'pyqtgraph', 'multiprocess', 'bootstrap.py') + if os.path.isfile(bootstrap_file): + with open(bootstrap_file, 'r') as fp: + bootstrap_code = fp.read() + exec(bootstrap_code) + sys.exit(0) + + raise RuntimeError("Could not find pyqtgraph.multiprocess bootstrap code or script!") + + +_setup_pyqtgraph_multiprocess_hook() +del _setup_pyqtgraph_multiprocess_hook diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_pythoncom.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_pythoncom.py new file mode 100644 index 0000000..4f11fb8 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_pythoncom.py @@ -0,0 +1,24 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2022, PyInstaller Development Team. +# +# This file is distributed under the terms of the Apache License 2.0 +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + +# Unfortunately, __import_pywin32_system_module__ from pywintypes module assumes that in a frozen application, the +# pythoncom3X.dll and pywintypes3X.dll that are normally found in site-packages/pywin32_system32, are located +# directly in the sys.path, without bothering to check first if they are actually available in the standard location. +# This obviously runs afoul of our attempts at preserving the directory layout and placing them in the pywin32_system32 +# sub-directory instead of the top-level application directory. So as a work-around, add the sub-directory to sys.path +# to keep pywintypes happy... +import sys +import os + +pywin32_system32_path = os.path.join(sys._MEIPASS, 'pywin32_system32') +if os.path.isdir(pywin32_system32_path) and pywin32_system32_path not in sys.path: + sys.path.append(pywin32_system32_path) +del pywin32_system32_path diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_pywintypes.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_pywintypes.py new file mode 100644 index 0000000..4f11fb8 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_pywintypes.py @@ -0,0 +1,24 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2022, PyInstaller Development Team. +# +# This file is distributed under the terms of the Apache License 2.0 +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + +# Unfortunately, __import_pywin32_system_module__ from pywintypes module assumes that in a frozen application, the +# pythoncom3X.dll and pywintypes3X.dll that are normally found in site-packages/pywin32_system32, are located +# directly in the sys.path, without bothering to check first if they are actually available in the standard location. +# This obviously runs afoul of our attempts at preserving the directory layout and placing them in the pywin32_system32 +# sub-directory instead of the top-level application directory. So as a work-around, add the sub-directory to sys.path +# to keep pywintypes happy... +import sys +import os + +pywin32_system32_path = os.path.join(sys._MEIPASS, 'pywin32_system32') +if os.path.isdir(pywin32_system32_path) and pywin32_system32_path not in sys.path: + sys.path.append(pywin32_system32_path) +del pywin32_system32_path diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_tensorflow.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_tensorflow.py new file mode 100644 index 0000000..747ea45 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_tensorflow.py @@ -0,0 +1,53 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2023, PyInstaller Development Team. +# +# This file is distributed under the terms of the Apache License 2.0 +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + +def _pyi_rthook(): + import sys + + # `tensorflow` versions prior to 2.3.0 attempt to use `site.USER_SITE` in path/string manipulation functions. + # As frozen application runs with disabled `site`, the value of this variable is `None`, and causes path/string + # manipulation functions to raise an error. As a work-around, we set `site.USER_SITE` to an empty string, which is + # also what the fake `site` module available in PyInstaller prior to v5.5 did. + import site + + if site.USER_SITE is None: + site.USER_SITE = '' + + # The issue described about with site.USER_SITE being None has largely been resolved in contemporary `tensorflow` + # versions, which now check that `site.ENABLE_USER_SITE` is set and that `site.USER_SITE` is not None before + # trying to use it. + # + # However, `tensorflow` will attempt to search and load its plugins only if it believes that it is running from + # "a pip-based installation" - if the package's location is rooted in one of the "site-packages" directories. See + # https://github.com/tensorflow/tensorflow/blob/6887368d6d46223f460358323c4b76d61d1558a8/tensorflow/api_template.__init__.py#L110C76-L156 + # Unfortunately, they "cleverly" infer the module's location via `inspect.getfile(inspect.currentframe())`, which + # in the frozen application returns anonymized relative source file name (`tensorflow/__init__.py`) - so we need one + # of the "site directories" to be just "tensorflow" (to fool the `_running_from_pip_package()` check), and we also + # need `sys._MEIPASS` to be among them (to load the plugins from the actual `sys._MEIPASS/tensorflow-plugins`). + # Therefore, we monkey-patch `site.getsitepackages` to add those two entries to the list of "site directories". + + _orig_getsitepackages = getattr(site, 'getsitepackages', None) + + def _pyi_getsitepackages(): + return [ + sys._MEIPASS, + "tensorflow", + *(_orig_getsitepackages() if _orig_getsitepackages is not None else []), + ] + + site.getsitepackages = _pyi_getsitepackages + + # NOTE: instead of the above override, we could also set TF_PLUGGABLE_DEVICE_LIBRARY_PATH, but that works only + # for tensorflow >= 2.12. + + +_pyi_rthook() +del _pyi_rthook diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_traitlets.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_traitlets.py new file mode 100644 index 0000000..5ec3a9f --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_traitlets.py @@ -0,0 +1,25 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2020, PyInstaller Development Team. +# +# This file is distributed under the terms of the Apache License 2.0 +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + +# 'traitlets' uses module 'inspect' from default Python library to inspect +# source code of modules. However, frozen app does not contain source code +# of Python modules. +# +# hook-IPython depends on module 'traitlets'. + +import traitlets.traitlets + + +def _disabled_deprecation_warnings(method, cls, method_name, msg): + pass + + +traitlets.traitlets._deprecated_method = _disabled_deprecation_warnings diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_usb.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_usb.py new file mode 100644 index 0000000..b64624d --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/rthooks/pyi_rth_usb.py @@ -0,0 +1,85 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013-2020, PyInstaller Development Team. +# +# This file is distributed under the terms of the Apache License 2.0 +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + + +import ctypes +import glob +import os +import sys +# Pyusb changed these libusb module names in commit 2082e7. +try: + import usb.backend.libusb10 as libusb10 +except ImportError: + import usb.backend.libusb1 as libusb10 +try: + import usb.backend.libusb01 as libusb01 +except ImportError: + import usb.backend.libusb0 as libusb01 +import usb.backend.openusb as openusb + + +def get_load_func(type, candidates): + + def _load_library(find_library=None): + exec_path = sys._MEIPASS + + library = None + for candidate in candidates: + + # Find a list of library files that match 'candidate'. + if find_library: + # Caller provides a function that lookup lib path by candidate name. + lib_path = find_library(candidate) + libs = [lib_path] if lib_path else [] + else: + # No find_library callback function, we look at the default location. + if os.name == 'posix' and sys.platform == 'darwin': + libs = glob.glob("%s/%s*.dylib*" % (exec_path, candidate)) + elif sys.platform == 'win32' or sys.platform == 'cygwin': + libs = glob.glob("%s\\%s*.dll" % (exec_path, candidate)) + else: + libs = glob.glob("%s/%s*.so*" % (exec_path, candidate)) + + # Do linker's path lookup work to force load bundled copy. + for libname in libs: + try: + # NOTE: libusb01 is using CDLL under win32. + # (see usb.backends.libusb01) + if sys.platform == 'win32' and type != 'libusb01': + library = ctypes.WinDLL(libname) + else: + library = ctypes.CDLL(libname) + if library is not None: + break + except OSError: + library = None + if library is not None: + break + else: + raise OSError('USB library could not be found') + + if type == 'libusb10': + if not hasattr(library, 'libusb_init'): + raise OSError('USB library could not be found') + return library + + return _load_library + + +# NOTE: Need to keep in sync with future PyUSB updates. +if sys.platform == 'cygwin': + libusb10._load_library = get_load_func('libusb10', ('cygusb-1.0', )) + libusb01._load_library = get_load_func('libusb01', ('cygusb0', )) + openusb._load_library = get_load_func('openusb', ('openusb', )) +else: + libusb10._load_library = get_load_func('libusb10', ('usb-1.0', 'libusb-1.0', 'usb')) + libusb01._load_library = get_load_func('libusb01', ('usb-0.1', 'usb', 'libusb0', 'libusb')) + openusb._load_library = get_load_func('openusb', ('openusb', )) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__init__.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__init__.py new file mode 100644 index 0000000..89c0c0f --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__init__.py @@ -0,0 +1,11 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..00c54ca Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-BTrees.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-BTrees.cpython-311.pyc new file mode 100644 index 0000000..24b6f43 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-BTrees.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-CTkMessagebox.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-CTkMessagebox.cpython-311.pyc new file mode 100644 index 0000000..7fae24c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-CTkMessagebox.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-Crypto.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-Crypto.cpython-311.pyc new file mode 100644 index 0000000..fbc1eea Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-Crypto.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-Cryptodome.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-Cryptodome.cpython-311.pyc new file mode 100644 index 0000000..85da9d0 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-Cryptodome.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-HtmlTestRunner.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-HtmlTestRunner.cpython-311.pyc new file mode 100644 index 0000000..5f8bc7a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-HtmlTestRunner.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-IPython.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-IPython.cpython-311.pyc new file mode 100644 index 0000000..1d21747 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-IPython.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-OpenGL.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-OpenGL.cpython-311.pyc new file mode 100644 index 0000000..ac6ae85 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-OpenGL.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-OpenGL_accelerate.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-OpenGL_accelerate.cpython-311.pyc new file mode 100644 index 0000000..eeda672 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-OpenGL_accelerate.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-PyTaskbar.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-PyTaskbar.cpython-311.pyc new file mode 100644 index 0000000..e3d87a3 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-PyTaskbar.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-Xlib.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-Xlib.cpython-311.pyc new file mode 100644 index 0000000..2b5f4d4 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-Xlib.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-_mssql.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-_mssql.cpython-311.pyc new file mode 100644 index 0000000..bf4774f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-_mssql.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-_mysql.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-_mysql.cpython-311.pyc new file mode 100644 index 0000000..1b8755a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-_mysql.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-accessible_output2.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-accessible_output2.cpython-311.pyc new file mode 100644 index 0000000..319b984 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-accessible_output2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-adbutils.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-adbutils.cpython-311.pyc new file mode 100644 index 0000000..2e68c09 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-adbutils.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-adios.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-adios.cpython-311.pyc new file mode 100644 index 0000000..8fa7e7f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-adios.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-afmformats.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-afmformats.cpython-311.pyc new file mode 100644 index 0000000..d82d36b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-afmformats.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-aliyunsdkcore.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-aliyunsdkcore.cpython-311.pyc new file mode 100644 index 0000000..5c2297f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-aliyunsdkcore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-altair.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-altair.cpython-311.pyc new file mode 100644 index 0000000..f843bc0 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-altair.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-amazonproduct.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-amazonproduct.cpython-311.pyc new file mode 100644 index 0000000..ab1e408 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-amazonproduct.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-anyio.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-anyio.cpython-311.pyc new file mode 100644 index 0000000..cde4710 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-anyio.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-apkutils.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-apkutils.cpython-311.pyc new file mode 100644 index 0000000..8d697e2 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-apkutils.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-appdirs.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-appdirs.cpython-311.pyc new file mode 100644 index 0000000..d11f44c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-appdirs.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-appy.pod.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-appy.pod.cpython-311.pyc new file mode 100644 index 0000000..ebf75b8 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-appy.pod.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-apscheduler.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-apscheduler.cpython-311.pyc new file mode 100644 index 0000000..acd7aba Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-apscheduler.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-argon2.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-argon2.cpython-311.pyc new file mode 100644 index 0000000..55f6d9c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-argon2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-astor.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-astor.cpython-311.pyc new file mode 100644 index 0000000..b99b5a6 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-astor.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-astroid.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-astroid.cpython-311.pyc new file mode 100644 index 0000000..10010f5 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-astroid.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-astropy.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-astropy.cpython-311.pyc new file mode 100644 index 0000000..a559944 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-astropy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-astropy_iers_data.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-astropy_iers_data.cpython-311.pyc new file mode 100644 index 0000000..ad8601e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-astropy_iers_data.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-av.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-av.cpython-311.pyc new file mode 100644 index 0000000..8dc9541 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-av.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-avro.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-avro.cpython-311.pyc new file mode 100644 index 0000000..854ee3a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-avro.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-azurerm.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-azurerm.cpython-311.pyc new file mode 100644 index 0000000..d2578ec Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-azurerm.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-backports.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-backports.cpython-311.pyc new file mode 100644 index 0000000..2e9b32f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-backports.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-backports.zoneinfo.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-backports.zoneinfo.cpython-311.pyc new file mode 100644 index 0000000..b458e0b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-backports.zoneinfo.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-bacon.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-bacon.cpython-311.pyc new file mode 100644 index 0000000..9a4909d Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-bacon.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-bcrypt.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-bcrypt.cpython-311.pyc new file mode 100644 index 0000000..32b76c3 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-bcrypt.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-bitsandbytes.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-bitsandbytes.cpython-311.pyc new file mode 100644 index 0000000..47f623c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-bitsandbytes.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-black.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-black.cpython-311.pyc new file mode 100644 index 0000000..2cc4020 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-black.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-bleak.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-bleak.cpython-311.pyc new file mode 100644 index 0000000..7fa2163 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-bleak.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-blib2to3.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-blib2to3.cpython-311.pyc new file mode 100644 index 0000000..3b46f43 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-blib2to3.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-blspy.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-blspy.cpython-311.pyc new file mode 100644 index 0000000..3536364 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-blspy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-bokeh.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-bokeh.cpython-311.pyc new file mode 100644 index 0000000..bb76086 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-bokeh.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-boto.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-boto.cpython-311.pyc new file mode 100644 index 0000000..3d00101 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-boto.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-boto3.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-boto3.cpython-311.pyc new file mode 100644 index 0000000..6ca28b0 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-boto3.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-botocore.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-botocore.cpython-311.pyc new file mode 100644 index 0000000..2fb918e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-botocore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-branca.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-branca.cpython-311.pyc new file mode 100644 index 0000000..1dfe713 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-branca.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cairocffi.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cairocffi.cpython-311.pyc new file mode 100644 index 0000000..5a14ac0 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cairocffi.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cairosvg.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cairosvg.cpython-311.pyc new file mode 100644 index 0000000..8a0d60c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cairosvg.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-capstone.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-capstone.cpython-311.pyc new file mode 100644 index 0000000..979cf75 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-capstone.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cassandra.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cassandra.cpython-311.pyc new file mode 100644 index 0000000..a311d41 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cassandra.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-celpy.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-celpy.cpython-311.pyc new file mode 100644 index 0000000..dba0a90 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-celpy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-certifi.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-certifi.cpython-311.pyc new file mode 100644 index 0000000..30044ba Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-certifi.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cf_units.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cf_units.cpython-311.pyc new file mode 100644 index 0000000..4251654 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cf_units.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cftime.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cftime.cpython-311.pyc new file mode 100644 index 0000000..6b55494 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cftime.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-charset_normalizer.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-charset_normalizer.cpython-311.pyc new file mode 100644 index 0000000..b1b3ef6 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-charset_normalizer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cloudpickle.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cloudpickle.cpython-311.pyc new file mode 100644 index 0000000..11e155c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cloudpickle.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cloudscraper.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cloudscraper.cpython-311.pyc new file mode 100644 index 0000000..ca8917d Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cloudscraper.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-clr.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-clr.cpython-311.pyc new file mode 100644 index 0000000..08544c0 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-clr.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-clr_loader.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-clr_loader.cpython-311.pyc new file mode 100644 index 0000000..21b85df Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-clr_loader.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cmocean.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cmocean.cpython-311.pyc new file mode 100644 index 0000000..3977b99 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cmocean.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-compliance_checker.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-compliance_checker.cpython-311.pyc new file mode 100644 index 0000000..0ed64a6 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-compliance_checker.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-comtypes.client.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-comtypes.client.cpython-311.pyc new file mode 100644 index 0000000..30e04ae Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-comtypes.client.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-countrycode.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-countrycode.cpython-311.pyc new file mode 100644 index 0000000..f162c7e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-countrycode.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-countryinfo.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-countryinfo.cpython-311.pyc new file mode 100644 index 0000000..f9e1016 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-countryinfo.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cryptography.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cryptography.cpython-311.pyc new file mode 100644 index 0000000..ce5b680 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cryptography.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-customtkinter.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-customtkinter.cpython-311.pyc new file mode 100644 index 0000000..bc7452d Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-customtkinter.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cv2.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cv2.cpython-311.pyc new file mode 100644 index 0000000..77699d5 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cv2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cx_Oracle.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cx_Oracle.cpython-311.pyc new file mode 100644 index 0000000..00b5bcf Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cx_Oracle.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cytoolz.itertoolz.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cytoolz.itertoolz.cpython-311.pyc new file mode 100644 index 0000000..f767406 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cytoolz.itertoolz.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash.cpython-311.pyc new file mode 100644 index 0000000..ca823bd Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_bootstrap_components.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_bootstrap_components.cpython-311.pyc new file mode 100644 index 0000000..a085f93 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_bootstrap_components.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_core_components.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_core_components.cpython-311.pyc new file mode 100644 index 0000000..33af486 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_core_components.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_html_components.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_html_components.cpython-311.pyc new file mode 100644 index 0000000..53646fe Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_html_components.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_renderer.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_renderer.cpython-311.pyc new file mode 100644 index 0000000..82c7c3f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_renderer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_table.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_table.cpython-311.pyc new file mode 100644 index 0000000..b0c8280 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_table.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_uploader.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_uploader.cpython-311.pyc new file mode 100644 index 0000000..7abe935 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_uploader.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dask.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dask.cpython-311.pyc new file mode 100644 index 0000000..b01f616 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dask.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-datasets.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-datasets.cpython-311.pyc new file mode 100644 index 0000000..6856cb5 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-datasets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dateparser.utils.strptime.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dateparser.utils.strptime.cpython-311.pyc new file mode 100644 index 0000000..e947f12 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dateparser.utils.strptime.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dateutil.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dateutil.cpython-311.pyc new file mode 100644 index 0000000..737e170 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dateutil.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dbus_fast.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dbus_fast.cpython-311.pyc new file mode 100644 index 0000000..37a9a71 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dbus_fast.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dclab.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dclab.cpython-311.pyc new file mode 100644 index 0000000..85835e5 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dclab.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-detectron2.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-detectron2.cpython-311.pyc new file mode 100644 index 0000000..539cca2 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-detectron2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-discid.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-discid.cpython-311.pyc new file mode 100644 index 0000000..976b8f0 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-discid.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-distorm3.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-distorm3.cpython-311.pyc new file mode 100644 index 0000000..b542823 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-distorm3.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-distributed.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-distributed.cpython-311.pyc new file mode 100644 index 0000000..ffba60e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-distributed.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dns.rdata.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dns.rdata.cpython-311.pyc new file mode 100644 index 0000000..2e37bf6 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dns.rdata.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-docutils.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-docutils.cpython-311.pyc new file mode 100644 index 0000000..a0ad977 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-docutils.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-docx.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-docx.cpython-311.pyc new file mode 100644 index 0000000..10a7a33 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-docx.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-docx2pdf.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-docx2pdf.cpython-311.pyc new file mode 100644 index 0000000..9c1a614 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-docx2pdf.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dynaconf.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dynaconf.cpython-311.pyc new file mode 100644 index 0000000..40e9b19 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dynaconf.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-easyocr.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-easyocr.cpython-311.pyc new file mode 100644 index 0000000..2af547e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-easyocr.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eccodeslib.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eccodeslib.cpython-311.pyc new file mode 100644 index 0000000..31fae21 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eccodeslib.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eckitlib.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eckitlib.cpython-311.pyc new file mode 100644 index 0000000..9b16337 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eckitlib.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eel.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eel.cpython-311.pyc new file mode 100644 index 0000000..b91249a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eel.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-emoji.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-emoji.cpython-311.pyc new file mode 100644 index 0000000..1a4598b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-emoji.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-enchant.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-enchant.cpython-311.pyc new file mode 100644 index 0000000..fac955e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-enchant.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eng_to_ipa.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eng_to_ipa.cpython-311.pyc new file mode 100644 index 0000000..07e9ca0 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eng_to_ipa.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ens.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ens.cpython-311.pyc new file mode 100644 index 0000000..951de0e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ens.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-enzyme.parsers.ebml.core.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-enzyme.parsers.ebml.core.cpython-311.pyc new file mode 100644 index 0000000..edee410 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-enzyme.parsers.ebml.core.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_abi.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_abi.cpython-311.pyc new file mode 100644 index 0000000..27da409 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_abi.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_account.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_account.cpython-311.pyc new file mode 100644 index 0000000..51b9909 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_account.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_hash.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_hash.cpython-311.pyc new file mode 100644 index 0000000..088f107 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_hash.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_keyfile.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_keyfile.cpython-311.pyc new file mode 100644 index 0000000..8aeb083 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_keyfile.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_keys.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_keys.cpython-311.pyc new file mode 100644 index 0000000..fec6562 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_keys.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_rlp.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_rlp.cpython-311.pyc new file mode 100644 index 0000000..bda6f7c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_rlp.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_typing.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_typing.cpython-311.pyc new file mode 100644 index 0000000..2377644 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_typing.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_utils.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_utils.cpython-311.pyc new file mode 100644 index 0000000..800e958 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_utils.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_utils.network.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_utils.network.cpython-311.pyc new file mode 100644 index 0000000..de72b2a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_utils.network.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-exchangelib.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-exchangelib.cpython-311.pyc new file mode 100644 index 0000000..ab06db9 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-exchangelib.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fabric.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fabric.cpython-311.pyc new file mode 100644 index 0000000..73ab19f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fabric.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fairscale.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fairscale.cpython-311.pyc new file mode 100644 index 0000000..0cb0494 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fairscale.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-faker.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-faker.cpython-311.pyc new file mode 100644 index 0000000..3c20384 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-faker.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-falcon.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-falcon.cpython-311.pyc new file mode 100644 index 0000000..138fdb3 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-falcon.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fastai.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fastai.cpython-311.pyc new file mode 100644 index 0000000..5524af9 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fastai.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fastparquet.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fastparquet.cpython-311.pyc new file mode 100644 index 0000000..af90685 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fastparquet.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fckitlib.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fckitlib.cpython-311.pyc new file mode 100644 index 0000000..9de10fa Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fckitlib.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ffpyplayer.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ffpyplayer.cpython-311.pyc new file mode 100644 index 0000000..5ecc306 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ffpyplayer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fiona.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fiona.cpython-311.pyc new file mode 100644 index 0000000..60b893e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fiona.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-flask_compress.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-flask_compress.cpython-311.pyc new file mode 100644 index 0000000..8108a72 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-flask_compress.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-flask_restx.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-flask_restx.cpython-311.pyc new file mode 100644 index 0000000..b8bc95e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-flask_restx.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-flex.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-flex.cpython-311.pyc new file mode 100644 index 0000000..ec4857c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-flex.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-flirpy.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-flirpy.cpython-311.pyc new file mode 100644 index 0000000..62fa181 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-flirpy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fmpy.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fmpy.cpython-311.pyc new file mode 100644 index 0000000..0809aa0 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fmpy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-folium.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-folium.cpython-311.pyc new file mode 100644 index 0000000..f991cfc Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-folium.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-freetype.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-freetype.cpython-311.pyc new file mode 100644 index 0000000..36faf9d Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-freetype.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-frictionless.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-frictionless.cpython-311.pyc new file mode 100644 index 0000000..38db6fc Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-frictionless.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fsspec.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fsspec.cpython-311.pyc new file mode 100644 index 0000000..d9f3039 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fsspec.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fvcore.nn.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fvcore.nn.cpython-311.pyc new file mode 100644 index 0000000..871698f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fvcore.nn.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gadfly.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gadfly.cpython-311.pyc new file mode 100644 index 0000000..a5d3978 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gadfly.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gbulb.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gbulb.cpython-311.pyc new file mode 100644 index 0000000..28ba5a8 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gbulb.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gcloud.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gcloud.cpython-311.pyc new file mode 100644 index 0000000..687178f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gcloud.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-geopandas.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-geopandas.cpython-311.pyc new file mode 100644 index 0000000..93e704c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-geopandas.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gitlab.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gitlab.cpython-311.pyc new file mode 100644 index 0000000..2642df2 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gitlab.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gmplot.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gmplot.cpython-311.pyc new file mode 100644 index 0000000..8491fb0 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gmplot.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gmsh.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gmsh.cpython-311.pyc new file mode 100644 index 0000000..2494212 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gmsh.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gooey.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gooey.cpython-311.pyc new file mode 100644 index 0000000..b9236ab Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gooey.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.api_core.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.api_core.cpython-311.pyc new file mode 100644 index 0000000..856314d Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.api_core.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.bigquery.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.bigquery.cpython-311.pyc new file mode 100644 index 0000000..a0174cc Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.bigquery.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.core.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.core.cpython-311.pyc new file mode 100644 index 0000000..05a9056 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.core.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.kms_v1.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.kms_v1.cpython-311.pyc new file mode 100644 index 0000000..43eb547 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.kms_v1.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.pubsub_v1.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.pubsub_v1.cpython-311.pyc new file mode 100644 index 0000000..9655639 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.pubsub_v1.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.speech.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.speech.cpython-311.pyc new file mode 100644 index 0000000..9649297 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.speech.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.storage.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.storage.cpython-311.pyc new file mode 100644 index 0000000..d5b50da Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.storage.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.translate.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.translate.cpython-311.pyc new file mode 100644 index 0000000..67ee5f2 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.translate.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-googleapiclient.model.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-googleapiclient.model.cpython-311.pyc new file mode 100644 index 0000000..ea518ac Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-googleapiclient.model.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-grapheme.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-grapheme.cpython-311.pyc new file mode 100644 index 0000000..772b73b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-grapheme.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-graphql_query.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-graphql_query.cpython-311.pyc new file mode 100644 index 0000000..b800e6f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-graphql_query.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-great_expectations.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-great_expectations.cpython-311.pyc new file mode 100644 index 0000000..49b42ac Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-great_expectations.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gribapi.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gribapi.cpython-311.pyc new file mode 100644 index 0000000..50e83c2 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gribapi.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-grpc.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-grpc.cpython-311.pyc new file mode 100644 index 0000000..98fbc1e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-grpc.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gst._gst.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gst._gst.cpython-311.pyc new file mode 100644 index 0000000..aa9c76e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gst._gst.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gtk.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gtk.cpython-311.pyc new file mode 100644 index 0000000..06a562c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gtk.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-h3.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-h3.cpython-311.pyc new file mode 100644 index 0000000..7dc25ed Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-h3.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-h5py.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-h5py.cpython-311.pyc new file mode 100644 index 0000000..cc86789 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-h5py.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-hdf5plugin.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-hdf5plugin.cpython-311.pyc new file mode 100644 index 0000000..12cfd73 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-hdf5plugin.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-hexbytes.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-hexbytes.cpython-311.pyc new file mode 100644 index 0000000..12f45e7 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-hexbytes.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-httplib2.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-httplib2.cpython-311.pyc new file mode 100644 index 0000000..f375765 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-httplib2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-humanize.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-humanize.cpython-311.pyc new file mode 100644 index 0000000..e36f924 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-humanize.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-hydra.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-hydra.cpython-311.pyc new file mode 100644 index 0000000..4068f96 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-hydra.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ijson.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ijson.cpython-311.pyc new file mode 100644 index 0000000..244503e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ijson.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-imageio.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-imageio.cpython-311.pyc new file mode 100644 index 0000000..c38bd53 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-imageio.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-imageio_ffmpeg.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-imageio_ffmpeg.cpython-311.pyc new file mode 100644 index 0000000..4cb3b58 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-imageio_ffmpeg.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-iminuit.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-iminuit.cpython-311.pyc new file mode 100644 index 0000000..9cdd8c8 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-iminuit.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-intake.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-intake.cpython-311.pyc new file mode 100644 index 0000000..e1d045c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-intake.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-iso639.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-iso639.cpython-311.pyc new file mode 100644 index 0000000..6302b6d Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-iso639.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-itk.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-itk.cpython-311.pyc new file mode 100644 index 0000000..2c6d91b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-itk.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jaraco.text.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jaraco.text.cpython-311.pyc new file mode 100644 index 0000000..82bd32b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jaraco.text.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jedi.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jedi.cpython-311.pyc new file mode 100644 index 0000000..39f7f08 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jedi.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jieba.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jieba.cpython-311.pyc new file mode 100644 index 0000000..db742a8 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jieba.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jinja2.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jinja2.cpython-311.pyc new file mode 100644 index 0000000..a270c20 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jinja2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jinxed.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jinxed.cpython-311.pyc new file mode 100644 index 0000000..cd07867 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jinxed.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jira.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jira.cpython-311.pyc new file mode 100644 index 0000000..1f52822 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jira.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jsonpath_rw_ext.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jsonpath_rw_ext.cpython-311.pyc new file mode 100644 index 0000000..558f23c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jsonpath_rw_ext.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jsonrpcserver.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jsonrpcserver.cpython-311.pyc new file mode 100644 index 0000000..2c5342b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jsonrpcserver.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jsonschema.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jsonschema.cpython-311.pyc new file mode 100644 index 0000000..5444d24 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jsonschema.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jsonschema_specifications.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jsonschema_specifications.cpython-311.pyc new file mode 100644 index 0000000..43f6577 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jsonschema_specifications.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jupyterlab.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jupyterlab.cpython-311.pyc new file mode 100644 index 0000000..b9eef5f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jupyterlab.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-kaleido.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-kaleido.cpython-311.pyc new file mode 100644 index 0000000..872907c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-kaleido.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-khmernltk.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-khmernltk.cpython-311.pyc new file mode 100644 index 0000000..17095b5 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-khmernltk.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-kinterbasdb.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-kinterbasdb.cpython-311.pyc new file mode 100644 index 0000000..4ff96b2 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-kinterbasdb.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-langchain.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-langchain.cpython-311.pyc new file mode 100644 index 0000000..89b66aa Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-langchain.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-langcodes.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-langcodes.cpython-311.pyc new file mode 100644 index 0000000..1312f4e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-langcodes.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-langdetect.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-langdetect.cpython-311.pyc new file mode 100644 index 0000000..cf604ed Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-langdetect.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-laonlp.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-laonlp.cpython-311.pyc new file mode 100644 index 0000000..e10586b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-laonlp.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lark.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lark.cpython-311.pyc new file mode 100644 index 0000000..b772828 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lark.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ldfparser.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ldfparser.cpython-311.pyc new file mode 100644 index 0000000..bc3c81b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ldfparser.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lensfunpy.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lensfunpy.cpython-311.pyc new file mode 100644 index 0000000..6292390 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lensfunpy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-libaudioverse.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-libaudioverse.cpython-311.pyc new file mode 100644 index 0000000..650884c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-libaudioverse.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-librosa.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-librosa.cpython-311.pyc new file mode 100644 index 0000000..b1a1d99 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-librosa.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lightgbm.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lightgbm.cpython-311.pyc new file mode 100644 index 0000000..4cbf6b7 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lightgbm.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lightning.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lightning.cpython-311.pyc new file mode 100644 index 0000000..c47c78a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lightning.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-limits.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-limits.cpython-311.pyc new file mode 100644 index 0000000..afbbfec Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-limits.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-linear_operator.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-linear_operator.cpython-311.pyc new file mode 100644 index 0000000..f7eb0d9 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-linear_operator.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lingua.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lingua.cpython-311.pyc new file mode 100644 index 0000000..869fa6e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lingua.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-litestar.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-litestar.cpython-311.pyc new file mode 100644 index 0000000..f9fb41e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-litestar.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-llvmlite.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-llvmlite.cpython-311.pyc new file mode 100644 index 0000000..8dc6c4b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-llvmlite.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-logilab.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-logilab.cpython-311.pyc new file mode 100644 index 0000000..d6c8a6e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-logilab.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lxml.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lxml.cpython-311.pyc new file mode 100644 index 0000000..14d66d9 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lxml.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lxml.etree.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lxml.etree.cpython-311.pyc new file mode 100644 index 0000000..41709c4 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lxml.etree.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lxml.isoschematron.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lxml.isoschematron.cpython-311.pyc new file mode 100644 index 0000000..3367bf1 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lxml.isoschematron.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lxml.objectify.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lxml.objectify.cpython-311.pyc new file mode 100644 index 0000000..ccd020e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lxml.objectify.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lz4.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lz4.cpython-311.pyc new file mode 100644 index 0000000..ec09c66 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lz4.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-magic.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-magic.cpython-311.pyc new file mode 100644 index 0000000..b2a9cd0 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-magic.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mako.codegen.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mako.codegen.cpython-311.pyc new file mode 100644 index 0000000..5940719 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mako.codegen.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mariadb.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mariadb.cpython-311.pyc new file mode 100644 index 0000000..cba7979 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mariadb.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-markdown.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-markdown.cpython-311.pyc new file mode 100644 index 0000000..1e9a339 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-markdown.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mecab.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mecab.cpython-311.pyc new file mode 100644 index 0000000..0d0b19a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mecab.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-metpy.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-metpy.cpython-311.pyc new file mode 100644 index 0000000..e37391a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-metpy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-migrate.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-migrate.cpython-311.pyc new file mode 100644 index 0000000..2ba33bf Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-migrate.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mimesis.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mimesis.cpython-311.pyc new file mode 100644 index 0000000..2d9343a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mimesis.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-minecraft_launcher_lib.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-minecraft_launcher_lib.cpython-311.pyc new file mode 100644 index 0000000..0eb2bef Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-minecraft_launcher_lib.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mistune.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mistune.cpython-311.pyc new file mode 100644 index 0000000..3cafe31 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mistune.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mnemonic.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mnemonic.cpython-311.pyc new file mode 100644 index 0000000..3af30b9 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mnemonic.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-monai.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-monai.cpython-311.pyc new file mode 100644 index 0000000..aa58088 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-monai.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-moviepy.audio.fx.all.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-moviepy.audio.fx.all.cpython-311.pyc new file mode 100644 index 0000000..4aa79d9 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-moviepy.audio.fx.all.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-moviepy.video.fx.all.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-moviepy.video.fx.all.cpython-311.pyc new file mode 100644 index 0000000..5d75ff1 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-moviepy.video.fx.all.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mpl_toolkits.basemap.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mpl_toolkits.basemap.cpython-311.pyc new file mode 100644 index 0000000..5ac4aa4 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mpl_toolkits.basemap.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-msoffcrypto.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-msoffcrypto.cpython-311.pyc new file mode 100644 index 0000000..7200799 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-msoffcrypto.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nacl.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nacl.cpython-311.pyc new file mode 100644 index 0000000..4f2dec8 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nacl.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-names.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-names.cpython-311.pyc new file mode 100644 index 0000000..954a28d Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-names.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nanite.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nanite.cpython-311.pyc new file mode 100644 index 0000000..419a3a4 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nanite.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-narwhals.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-narwhals.cpython-311.pyc new file mode 100644 index 0000000..2782993 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-narwhals.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nbconvert.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nbconvert.cpython-311.pyc new file mode 100644 index 0000000..373ebdd Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nbconvert.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nbdime.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nbdime.cpython-311.pyc new file mode 100644 index 0000000..7a5b63b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nbdime.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nbformat.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nbformat.cpython-311.pyc new file mode 100644 index 0000000..1af3321 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nbformat.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nbt.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nbt.cpython-311.pyc new file mode 100644 index 0000000..5fef1e3 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nbt.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ncclient.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ncclient.cpython-311.pyc new file mode 100644 index 0000000..8d9cff0 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ncclient.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-netCDF4.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-netCDF4.cpython-311.pyc new file mode 100644 index 0000000..feb6cfa Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-netCDF4.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-niquests.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-niquests.cpython-311.pyc new file mode 100644 index 0000000..fb1119d Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-niquests.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nltk.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nltk.cpython-311.pyc new file mode 100644 index 0000000..ccb0d22 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nltk.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nnpy.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nnpy.cpython-311.pyc new file mode 100644 index 0000000..4b20bdb Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nnpy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-notebook.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-notebook.cpython-311.pyc new file mode 100644 index 0000000..a507b25 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-notebook.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-numba.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-numba.cpython-311.pyc new file mode 100644 index 0000000..cf0109c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-numba.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-numbers_parser.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-numbers_parser.cpython-311.pyc new file mode 100644 index 0000000..04765f3 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-numbers_parser.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-numcodecs.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-numcodecs.cpython-311.pyc new file mode 100644 index 0000000..de7cc96 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-numcodecs.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cublas.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cublas.cpython-311.pyc new file mode 100644 index 0000000..20e445e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cublas.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cuda_cupti.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cuda_cupti.cpython-311.pyc new file mode 100644 index 0000000..1718dc4 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cuda_cupti.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cuda_nvcc.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cuda_nvcc.cpython-311.pyc new file mode 100644 index 0000000..9485d10 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cuda_nvcc.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cuda_nvrtc.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cuda_nvrtc.cpython-311.pyc new file mode 100644 index 0000000..1c8e2c5 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cuda_nvrtc.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cuda_runtime.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cuda_runtime.cpython-311.pyc new file mode 100644 index 0000000..c8031ed Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cuda_runtime.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cudnn.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cudnn.cpython-311.pyc new file mode 100644 index 0000000..f2f35bc Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cudnn.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cufft.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cufft.cpython-311.pyc new file mode 100644 index 0000000..8b02040 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cufft.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.curand.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.curand.cpython-311.pyc new file mode 100644 index 0000000..b7421e0 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.curand.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cusolver.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cusolver.cpython-311.pyc new file mode 100644 index 0000000..18de64a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cusolver.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cusparse.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cusparse.cpython-311.pyc new file mode 100644 index 0000000..f2be90c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cusparse.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.nccl.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.nccl.cpython-311.pyc new file mode 100644 index 0000000..7a7d6c0 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.nccl.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.nvjitlink.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.nvjitlink.cpython-311.pyc new file mode 100644 index 0000000..ebbfd4d Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.nvjitlink.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.nvtx.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.nvtx.cpython-311.pyc new file mode 100644 index 0000000..857c9b2 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.nvtx.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-office365.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-office365.cpython-311.pyc new file mode 100644 index 0000000..7332ad7 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-office365.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-onnxruntime.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-onnxruntime.cpython-311.pyc new file mode 100644 index 0000000..59cb324 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-onnxruntime.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-opencc.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-opencc.cpython-311.pyc new file mode 100644 index 0000000..1a11954 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-opencc.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-openpyxl.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-openpyxl.cpython-311.pyc new file mode 100644 index 0000000..1dbef6c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-openpyxl.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-opentelemetry.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-opentelemetry.cpython-311.pyc new file mode 100644 index 0000000..695026b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-opentelemetry.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-orjson.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-orjson.cpython-311.pyc new file mode 100644 index 0000000..3b6b593 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-orjson.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-osgeo.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-osgeo.cpython-311.pyc new file mode 100644 index 0000000..f9cf3fa Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-osgeo.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pandas_flavor.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pandas_flavor.cpython-311.pyc new file mode 100644 index 0000000..813d738 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pandas_flavor.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-panel.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-panel.cpython-311.pyc new file mode 100644 index 0000000..68e727a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-panel.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-parsedatetime.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-parsedatetime.cpython-311.pyc new file mode 100644 index 0000000..efc3ac0 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-parsedatetime.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-parso.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-parso.cpython-311.pyc new file mode 100644 index 0000000..28fd462 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-parso.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-passlib.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-passlib.cpython-311.pyc new file mode 100644 index 0000000..234ae4a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-passlib.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-paste.exceptions.reporter.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-paste.exceptions.reporter.cpython-311.pyc new file mode 100644 index 0000000..2bee651 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-paste.exceptions.reporter.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-patoolib.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-patoolib.cpython-311.pyc new file mode 100644 index 0000000..fed9529 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-patoolib.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-patsy.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-patsy.cpython-311.pyc new file mode 100644 index 0000000..dacd46a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-patsy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pdfminer.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pdfminer.cpython-311.pyc new file mode 100644 index 0000000..70ac59b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pdfminer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pendulum.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pendulum.cpython-311.pyc new file mode 100644 index 0000000..b7a1b31 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pendulum.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-phonenumbers.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-phonenumbers.cpython-311.pyc new file mode 100644 index 0000000..456b402 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-phonenumbers.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pingouin.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pingouin.cpython-311.pyc new file mode 100644 index 0000000..ab4125f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pingouin.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pint.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pint.cpython-311.pyc new file mode 100644 index 0000000..478d660 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pint.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pinyin.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pinyin.cpython-311.pyc new file mode 100644 index 0000000..72ffd6b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pinyin.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-platformdirs.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-platformdirs.cpython-311.pyc new file mode 100644 index 0000000..7ea39ae Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-platformdirs.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-plotly.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-plotly.cpython-311.pyc new file mode 100644 index 0000000..ebe578f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-plotly.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pptx.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pptx.cpython-311.pyc new file mode 100644 index 0000000..7b25608 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pptx.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-prettytable.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-prettytable.cpython-311.pyc new file mode 100644 index 0000000..9820886 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-prettytable.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-psutil.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-psutil.cpython-311.pyc new file mode 100644 index 0000000..c8f82e3 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-psutil.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-psychopy.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-psychopy.cpython-311.pyc new file mode 100644 index 0000000..5c0cc25 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-psychopy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-psycopg2.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-psycopg2.cpython-311.pyc new file mode 100644 index 0000000..2885c12 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-psycopg2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-publicsuffix2.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-publicsuffix2.cpython-311.pyc new file mode 100644 index 0000000..787b4f7 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-publicsuffix2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pubsub.core.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pubsub.core.cpython-311.pyc new file mode 100644 index 0000000..7bb9b44 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pubsub.core.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-puremagic.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-puremagic.cpython-311.pyc new file mode 100644 index 0000000..95b77fe Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-puremagic.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-py.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-py.cpython-311.pyc new file mode 100644 index 0000000..d2ed602 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-py.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyarrow.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyarrow.cpython-311.pyc new file mode 100644 index 0000000..7177d15 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyarrow.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pycountry.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pycountry.cpython-311.pyc new file mode 100644 index 0000000..3ab6604 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pycountry.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pycparser.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pycparser.cpython-311.pyc new file mode 100644 index 0000000..1fc2f4f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pycparser.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pycrfsuite.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pycrfsuite.cpython-311.pyc new file mode 100644 index 0000000..f68f09a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pycrfsuite.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pydantic.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pydantic.cpython-311.pyc new file mode 100644 index 0000000..ef01470 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pydantic.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pydicom.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pydicom.cpython-311.pyc new file mode 100644 index 0000000..1606d79 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pydicom.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pydivert.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pydivert.cpython-311.pyc new file mode 100644 index 0000000..a50dfda Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pydivert.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-io.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-io.cpython-311.pyc new file mode 100644 index 0000000..831108c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-io.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-ods.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-ods.cpython-311.pyc new file mode 100644 index 0000000..e52573d Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-ods.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-ods3.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-ods3.cpython-311.pyc new file mode 100644 index 0000000..77d7e70 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-ods3.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-odsr.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-odsr.cpython-311.pyc new file mode 100644 index 0000000..a6a6169 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-odsr.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-xls.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-xls.cpython-311.pyc new file mode 100644 index 0000000..0a476c6 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-xls.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-xlsx.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-xlsx.cpython-311.pyc new file mode 100644 index 0000000..35da3ea Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-xlsx.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-xlsxw.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-xlsxw.cpython-311.pyc new file mode 100644 index 0000000..ee33eda Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-xlsxw.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel.cpython-311.pyc new file mode 100644 index 0000000..afeb46f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_io.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_io.cpython-311.pyc new file mode 100644 index 0000000..2604074 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_io.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_ods.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_ods.cpython-311.pyc new file mode 100644 index 0000000..b733c19 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_ods.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_ods3.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_ods3.cpython-311.pyc new file mode 100644 index 0000000..9947b8a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_ods3.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_odsr.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_odsr.cpython-311.pyc new file mode 100644 index 0000000..c6c53a9 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_odsr.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_xls.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_xls.cpython-311.pyc new file mode 100644 index 0000000..8b0a8ba Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_xls.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_xlsx.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_xlsx.cpython-311.pyc new file mode 100644 index 0000000..4667132 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_xlsx.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_xlsxw.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_xlsxw.cpython-311.pyc new file mode 100644 index 0000000..51e9a20 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_xlsxw.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcelerate.Writer.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcelerate.Writer.cpython-311.pyc new file mode 100644 index 0000000..d110e96 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcelerate.Writer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pygraphviz.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pygraphviz.cpython-311.pyc new file mode 100644 index 0000000..afbe0e8 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pygraphviz.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pygwalker.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pygwalker.cpython-311.pyc new file mode 100644 index 0000000..723537e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pygwalker.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pylibmagic.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pylibmagic.cpython-311.pyc new file mode 100644 index 0000000..60ac738 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pylibmagic.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pylint.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pylint.cpython-311.pyc new file mode 100644 index 0000000..caa42d4 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pylint.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pylsl.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pylsl.cpython-311.pyc new file mode 100644 index 0000000..c69ad1e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pylsl.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pymediainfo.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pymediainfo.cpython-311.pyc new file mode 100644 index 0000000..0fb4b13 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pymediainfo.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pymorphy3.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pymorphy3.cpython-311.pyc new file mode 100644 index 0000000..bc3dbf7 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pymorphy3.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pymssql.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pymssql.cpython-311.pyc new file mode 100644 index 0000000..779866d Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pymssql.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pynng.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pynng.cpython-311.pyc new file mode 100644 index 0000000..5a86a8c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pynng.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pynput.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pynput.cpython-311.pyc new file mode 100644 index 0000000..3ca6c4e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pynput.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyodbc.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyodbc.cpython-311.pyc new file mode 100644 index 0000000..5fdd2bb Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyodbc.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyopencl.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyopencl.cpython-311.pyc new file mode 100644 index 0000000..9b77a0c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyopencl.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pypdfium2.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pypdfium2.cpython-311.pyc new file mode 100644 index 0000000..f0fcde4 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pypdfium2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pypdfium2_raw.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pypdfium2_raw.cpython-311.pyc new file mode 100644 index 0000000..37e60ee Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pypdfium2_raw.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pypemicro.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pypemicro.cpython-311.pyc new file mode 100644 index 0000000..55a8936 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pypemicro.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyphen.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyphen.cpython-311.pyc new file mode 100644 index 0000000..3336362 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyphen.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyppeteer.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyppeteer.cpython-311.pyc new file mode 100644 index 0000000..b22eb94 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyppeteer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyproj.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyproj.cpython-311.pyc new file mode 100644 index 0000000..ef73354 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyproj.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pypsexec.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pypsexec.cpython-311.pyc new file mode 100644 index 0000000..8781f55 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pypsexec.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pypylon.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pypylon.cpython-311.pyc new file mode 100644 index 0000000..4a13621 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pypylon.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyqtgraph.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyqtgraph.cpython-311.pyc new file mode 100644 index 0000000..a11ae7f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyqtgraph.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyshark.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyshark.cpython-311.pyc new file mode 100644 index 0000000..7f292e3 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyshark.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pysnmp.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pysnmp.cpython-311.pyc new file mode 100644 index 0000000..0e976ec Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pysnmp.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pystray.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pystray.cpython-311.pyc new file mode 100644 index 0000000..a13730f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pystray.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pytest.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pytest.cpython-311.pyc new file mode 100644 index 0000000..b275556 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pytest.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pythainlp.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pythainlp.cpython-311.pyc new file mode 100644 index 0000000..3431ecc Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pythainlp.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pythoncom.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pythoncom.cpython-311.pyc new file mode 100644 index 0000000..4ac098a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pythoncom.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyttsx.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyttsx.cpython-311.pyc new file mode 100644 index 0000000..07e105b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyttsx.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyttsx3.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyttsx3.cpython-311.pyc new file mode 100644 index 0000000..039e8e9 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyttsx3.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyviz_comms.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyviz_comms.cpython-311.pyc new file mode 100644 index 0000000..a7f6a5b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyviz_comms.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyvjoy.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyvjoy.cpython-311.pyc new file mode 100644 index 0000000..9a887a6 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyvjoy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pywintypes.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pywintypes.cpython-311.pyc new file mode 100644 index 0000000..4d0f6a3 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pywintypes.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pywt.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pywt.cpython-311.pyc new file mode 100644 index 0000000..308ed6b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pywt.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-qtmodern.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-qtmodern.cpython-311.pyc new file mode 100644 index 0000000..355e86e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-qtmodern.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-radicale.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-radicale.cpython-311.pyc new file mode 100644 index 0000000..ca28660 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-radicale.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-raven.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-raven.cpython-311.pyc new file mode 100644 index 0000000..4e6cde4 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-raven.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rawpy.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rawpy.cpython-311.pyc new file mode 100644 index 0000000..13d6ecb Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rawpy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rdflib.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rdflib.cpython-311.pyc new file mode 100644 index 0000000..dae45dc Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rdflib.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-redmine.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-redmine.cpython-311.pyc new file mode 100644 index 0000000..71c80a7 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-redmine.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-regex.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-regex.cpython-311.pyc new file mode 100644 index 0000000..d4c9639 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-regex.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-reportlab.lib.utils.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-reportlab.lib.utils.cpython-311.pyc new file mode 100644 index 0000000..2a5c581 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-reportlab.lib.utils.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-reportlab.pdfbase._fontdata.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-reportlab.pdfbase._fontdata.cpython-311.pyc new file mode 100644 index 0000000..3111849 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-reportlab.pdfbase._fontdata.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-resampy.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-resampy.cpython-311.pyc new file mode 100644 index 0000000..ab30aec Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-resampy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rlp.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rlp.cpython-311.pyc new file mode 100644 index 0000000..dbb5d11 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rlp.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rpy2.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rpy2.cpython-311.pyc new file mode 100644 index 0000000..55578cb Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rpy2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rtree.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rtree.cpython-311.pyc new file mode 100644 index 0000000..2048dde Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rtree.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ruamel.yaml.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ruamel.yaml.cpython-311.pyc new file mode 100644 index 0000000..6b55d53 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ruamel.yaml.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rubicon.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rubicon.cpython-311.pyc new file mode 100644 index 0000000..98295f3 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rubicon.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sacremoses.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sacremoses.cpython-311.pyc new file mode 100644 index 0000000..003c6a9 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sacremoses.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sam2.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sam2.cpython-311.pyc new file mode 100644 index 0000000..eddab67 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sam2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-saml2.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-saml2.cpython-311.pyc new file mode 100644 index 0000000..d296eb9 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-saml2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-schwifty.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-schwifty.cpython-311.pyc new file mode 100644 index 0000000..50284fd Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-schwifty.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-seedir.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-seedir.cpython-311.pyc new file mode 100644 index 0000000..dc88516 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-seedir.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-selectolax.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-selectolax.cpython-311.pyc new file mode 100644 index 0000000..680ac14 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-selectolax.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-selenium.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-selenium.cpython-311.pyc new file mode 100644 index 0000000..1ce456f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-selenium.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sentry_sdk.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sentry_sdk.cpython-311.pyc new file mode 100644 index 0000000..70edc10 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sentry_sdk.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-setuptools_scm.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-setuptools_scm.cpython-311.pyc new file mode 100644 index 0000000..fe98328 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-setuptools_scm.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-shapely.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-shapely.cpython-311.pyc new file mode 100644 index 0000000..644ab92 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-shapely.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-shotgun_api3.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-shotgun_api3.cpython-311.pyc new file mode 100644 index 0000000..18f5319 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-shotgun_api3.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-simplemma.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-simplemma.cpython-311.pyc new file mode 100644 index 0000000..84e432c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-simplemma.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.color.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.color.cpython-311.pyc new file mode 100644 index 0000000..6e5c1f9 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.color.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.cpython-311.pyc new file mode 100644 index 0000000..8822c7e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.data.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.data.cpython-311.pyc new file mode 100644 index 0000000..12d0b48 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.data.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.draw.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.draw.cpython-311.pyc new file mode 100644 index 0000000..d75fb46 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.draw.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.exposure.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.exposure.cpython-311.pyc new file mode 100644 index 0000000..4567705 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.exposure.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.feature.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.feature.cpython-311.pyc new file mode 100644 index 0000000..ba102ea Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.feature.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.filters.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.filters.cpython-311.pyc new file mode 100644 index 0000000..71008a8 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.filters.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.future.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.future.cpython-311.pyc new file mode 100644 index 0000000..9d13d8e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.future.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.graph.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.graph.cpython-311.pyc new file mode 100644 index 0000000..078f0cf Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.graph.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.io.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.io.cpython-311.pyc new file mode 100644 index 0000000..e979065 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.io.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.measure.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.measure.cpython-311.pyc new file mode 100644 index 0000000..d9d8f39 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.measure.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.metrics.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.metrics.cpython-311.pyc new file mode 100644 index 0000000..f407ac8 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.metrics.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.morphology.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.morphology.cpython-311.pyc new file mode 100644 index 0000000..f10189c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.morphology.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.registration.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.registration.cpython-311.pyc new file mode 100644 index 0000000..bdf7051 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.registration.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.restoration.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.restoration.cpython-311.pyc new file mode 100644 index 0000000..9a253d3 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.restoration.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.transform.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.transform.cpython-311.pyc new file mode 100644 index 0000000..92b07e6 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.transform.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.cluster.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.cluster.cpython-311.pyc new file mode 100644 index 0000000..f64c407 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.cluster.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.cpython-311.pyc new file mode 100644 index 0000000..91cc6c9 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.externals.array_api_compat.cupy.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.externals.array_api_compat.cupy.cpython-311.pyc new file mode 100644 index 0000000..6c9b78f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.externals.array_api_compat.cupy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.externals.array_api_compat.dask.array.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.externals.array_api_compat.dask.array.cpython-311.pyc new file mode 100644 index 0000000..87fdfb3 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.externals.array_api_compat.dask.array.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.externals.array_api_compat.numpy.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.externals.array_api_compat.numpy.cpython-311.pyc new file mode 100644 index 0000000..0cedd2a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.externals.array_api_compat.numpy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.externals.array_api_compat.torch.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.externals.array_api_compat.torch.cpython-311.pyc new file mode 100644 index 0000000..6781712 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.externals.array_api_compat.torch.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.linear_model.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.linear_model.cpython-311.pyc new file mode 100644 index 0000000..06f1b04 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.linear_model.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.metrics.cluster.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.metrics.cluster.cpython-311.pyc new file mode 100644 index 0000000..890a8d4 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.metrics.cluster.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.metrics.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.metrics.cpython-311.pyc new file mode 100644 index 0000000..d1d6f16 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.metrics.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.metrics.pairwise.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.metrics.pairwise.cpython-311.pyc new file mode 100644 index 0000000..6fb67b9 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.metrics.pairwise.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.neighbors.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.neighbors.cpython-311.pyc new file mode 100644 index 0000000..dcd4686 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.neighbors.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.tree.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.tree.cpython-311.pyc new file mode 100644 index 0000000..58706d7 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.tree.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.utils.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.utils.cpython-311.pyc new file mode 100644 index 0000000..9bdde7c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.utils.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skyfield.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skyfield.cpython-311.pyc new file mode 100644 index 0000000..2a6456e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skyfield.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-slixmpp.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-slixmpp.cpython-311.pyc new file mode 100644 index 0000000..b8e0152 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-slixmpp.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sound_lib.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sound_lib.cpython-311.pyc new file mode 100644 index 0000000..31b8989 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sound_lib.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sounddevice.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sounddevice.cpython-311.pyc new file mode 100644 index 0000000..3578809 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sounddevice.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-soundfile.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-soundfile.cpython-311.pyc new file mode 100644 index 0000000..7b1a999 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-soundfile.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-spacy.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-spacy.cpython-311.pyc new file mode 100644 index 0000000..3015c6c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-spacy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-speech_recognition.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-speech_recognition.cpython-311.pyc new file mode 100644 index 0000000..00ef667 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-speech_recognition.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-spiceypy.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-spiceypy.cpython-311.pyc new file mode 100644 index 0000000..8979140 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-spiceypy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-spnego.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-spnego.cpython-311.pyc new file mode 100644 index 0000000..0380f4e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-spnego.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-srsly.msgpack._packer.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-srsly.msgpack._packer.cpython-311.pyc new file mode 100644 index 0000000..297093e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-srsly.msgpack._packer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sspilib.raw.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sspilib.raw.cpython-311.pyc new file mode 100644 index 0000000..3524062 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sspilib.raw.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-statsmodels.tsa.statespace.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-statsmodels.tsa.statespace.cpython-311.pyc new file mode 100644 index 0000000..0d8cc3b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-statsmodels.tsa.statespace.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-stdnum.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-stdnum.cpython-311.pyc new file mode 100644 index 0000000..97dad2f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-stdnum.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-storm.database.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-storm.database.cpython-311.pyc new file mode 100644 index 0000000..f623db4 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-storm.database.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sudachipy.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sudachipy.cpython-311.pyc new file mode 100644 index 0000000..7631df6 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sudachipy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sunpy.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sunpy.cpython-311.pyc new file mode 100644 index 0000000..fdbe52a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sunpy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sv_ttk.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sv_ttk.cpython-311.pyc new file mode 100644 index 0000000..8a15e87 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sv_ttk.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-swagger_spec_validator.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-swagger_spec_validator.cpython-311.pyc new file mode 100644 index 0000000..c9624a8 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-swagger_spec_validator.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tableauhyperapi.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tableauhyperapi.cpython-311.pyc new file mode 100644 index 0000000..11d541e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tableauhyperapi.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tables.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tables.cpython-311.pyc new file mode 100644 index 0000000..f71bb78 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tables.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tcod.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tcod.cpython-311.pyc new file mode 100644 index 0000000..b21678b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tcod.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tensorflow.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tensorflow.cpython-311.pyc new file mode 100644 index 0000000..7beac2d Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tensorflow.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-text_unidecode.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-text_unidecode.cpython-311.pyc new file mode 100644 index 0000000..82e8cdb Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-text_unidecode.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-textdistance.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-textdistance.cpython-311.pyc new file mode 100644 index 0000000..2f88e89 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-textdistance.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-thinc.backends.numpy_ops.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-thinc.backends.numpy_ops.cpython-311.pyc new file mode 100644 index 0000000..484b8ad Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-thinc.backends.numpy_ops.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-thinc.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-thinc.cpython-311.pyc new file mode 100644 index 0000000..ee19dd7 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-thinc.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-timezonefinder.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-timezonefinder.cpython-311.pyc new file mode 100644 index 0000000..17f7463 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-timezonefinder.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-timm.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-timm.cpython-311.pyc new file mode 100644 index 0000000..8d01e27 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-timm.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tinycss2.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tinycss2.cpython-311.pyc new file mode 100644 index 0000000..47e1441 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tinycss2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tkinterdnd2.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tkinterdnd2.cpython-311.pyc new file mode 100644 index 0000000..6d6f786 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tkinterdnd2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tkinterweb.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tkinterweb.cpython-311.pyc new file mode 100644 index 0000000..e4164a3 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tkinterweb.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tkinterweb_tkhtml.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tkinterweb_tkhtml.cpython-311.pyc new file mode 100644 index 0000000..03806f5 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tkinterweb_tkhtml.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-toga.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-toga.cpython-311.pyc new file mode 100644 index 0000000..c04bed4 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-toga.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-toga_cocoa.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-toga_cocoa.cpython-311.pyc new file mode 100644 index 0000000..9dac7c4 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-toga_cocoa.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-toga_gtk.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-toga_gtk.cpython-311.pyc new file mode 100644 index 0000000..d4d4400 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-toga_gtk.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-toga_winforms.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-toga_winforms.cpython-311.pyc new file mode 100644 index 0000000..8c2bad2 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-toga_winforms.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torch.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torch.cpython-311.pyc new file mode 100644 index 0000000..db2e8f0 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torch.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torchao.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torchao.cpython-311.pyc new file mode 100644 index 0000000..f47eab6 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torchao.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torchaudio.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torchaudio.cpython-311.pyc new file mode 100644 index 0000000..80c6527 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torchaudio.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torchtext.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torchtext.cpython-311.pyc new file mode 100644 index 0000000..fef84a4 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torchtext.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torchvision.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torchvision.cpython-311.pyc new file mode 100644 index 0000000..62b65fb Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torchvision.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torchvision.io.image.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torchvision.io.image.cpython-311.pyc new file mode 100644 index 0000000..4b3f70e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torchvision.io.image.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame.cpython-311.pyc new file mode 100644 index 0000000..dfe60aa Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_client.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_client.cpython-311.pyc new file mode 100644 index 0000000..e789fa2 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_client.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_code.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_code.cpython-311.pyc new file mode 100644 index 0000000..86deea1 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_code.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_components.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_components.cpython-311.pyc new file mode 100644 index 0000000..ee81b6f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_components.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_datagrid.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_datagrid.cpython-311.pyc new file mode 100644 index 0000000..545e283 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_datagrid.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_deckgl.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_deckgl.cpython-311.pyc new file mode 100644 index 0000000..1ab5533 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_deckgl.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_formkit.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_formkit.cpython-311.pyc new file mode 100644 index 0000000..a891dd2 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_formkit.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_grid.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_grid.cpython-311.pyc new file mode 100644 index 0000000..d5f9790 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_grid.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_iframe.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_iframe.cpython-311.pyc new file mode 100644 index 0000000..0b4b279 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_iframe.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_keycloak.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_keycloak.cpython-311.pyc new file mode 100644 index 0000000..2a907d7 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_keycloak.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_leaflet.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_leaflet.cpython-311.pyc new file mode 100644 index 0000000..f55097e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_leaflet.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_markdown.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_markdown.cpython-311.pyc new file mode 100644 index 0000000..44b447b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_markdown.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_matplotlib.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_matplotlib.cpython-311.pyc new file mode 100644 index 0000000..5a9a40c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_matplotlib.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_mesh_streamer.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_mesh_streamer.cpython-311.pyc new file mode 100644 index 0000000..09f467a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_mesh_streamer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_plotly.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_plotly.cpython-311.pyc new file mode 100644 index 0000000..489a71a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_plotly.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_pvui.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_pvui.cpython-311.pyc new file mode 100644 index 0000000..dbec70a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_pvui.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_quasar.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_quasar.cpython-311.pyc new file mode 100644 index 0000000..c57c253 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_quasar.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_rca.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_rca.cpython-311.pyc new file mode 100644 index 0000000..b7af6ea Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_rca.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_router.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_router.cpython-311.pyc new file mode 100644 index 0000000..ab2159d Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_router.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_simput.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_simput.cpython-311.pyc new file mode 100644 index 0000000..a6e757f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_simput.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_tauri.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_tauri.cpython-311.pyc new file mode 100644 index 0000000..4c1784e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_tauri.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_tweakpane.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_tweakpane.cpython-311.pyc new file mode 100644 index 0000000..d5d1825 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_tweakpane.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_vega.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_vega.cpython-311.pyc new file mode 100644 index 0000000..4948299 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_vega.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_vtk.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_vtk.cpython-311.pyc new file mode 100644 index 0000000..92742ed Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_vtk.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_vtk3d.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_vtk3d.cpython-311.pyc new file mode 100644 index 0000000..63b9ebb Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_vtk3d.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_vtklocal.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_vtklocal.cpython-311.pyc new file mode 100644 index 0000000..fc2cea7 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_vtklocal.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_vuetify.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_vuetify.cpython-311.pyc new file mode 100644 index 0000000..ce5f615 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_vuetify.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_xterm.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_xterm.cpython-311.pyc new file mode 100644 index 0000000..063c0ab Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_xterm.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-transformers.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-transformers.cpython-311.pyc new file mode 100644 index 0000000..f2c2d47 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-transformers.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-travertino.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-travertino.cpython-311.pyc new file mode 100644 index 0000000..3ba1570 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-travertino.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trimesh.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trimesh.cpython-311.pyc new file mode 100644 index 0000000..a103466 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trimesh.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-triton.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-triton.cpython-311.pyc new file mode 100644 index 0000000..4e27061 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-triton.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ttkthemes.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ttkthemes.cpython-311.pyc new file mode 100644 index 0000000..5d74b09 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ttkthemes.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ttkwidgets.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ttkwidgets.cpython-311.pyc new file mode 100644 index 0000000..5d33d80 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ttkwidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tzdata.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tzdata.cpython-311.pyc new file mode 100644 index 0000000..7e9e907 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tzdata.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tzwhere.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tzwhere.cpython-311.pyc new file mode 100644 index 0000000..b1968dc Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tzwhere.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-u1db.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-u1db.cpython-311.pyc new file mode 100644 index 0000000..3c98451 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-u1db.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ultralytics.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ultralytics.cpython-311.pyc new file mode 100644 index 0000000..548c7c7 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ultralytics.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-umap.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-umap.cpython-311.pyc new file mode 100644 index 0000000..5a9a583 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-umap.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-unidecode.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-unidecode.cpython-311.pyc new file mode 100644 index 0000000..fef4bd0 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-unidecode.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-uniseg.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-uniseg.cpython-311.pyc new file mode 100644 index 0000000..3c698ef Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-uniseg.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-urllib3.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-urllib3.cpython-311.pyc new file mode 100644 index 0000000..e39d5d1 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-urllib3.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-urllib3_future.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-urllib3_future.cpython-311.pyc new file mode 100644 index 0000000..e526ef8 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-urllib3_future.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-usb.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-usb.cpython-311.pyc new file mode 100644 index 0000000..9bd0571 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-usb.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-uuid6.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-uuid6.cpython-311.pyc new file mode 100644 index 0000000..f10bc89 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-uuid6.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-uvicorn.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-uvicorn.cpython-311.pyc new file mode 100644 index 0000000..d11e3a9 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-uvicorn.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-uvloop.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-uvloop.cpython-311.pyc new file mode 100644 index 0000000..2e74451 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-uvloop.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vaderSentiment.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vaderSentiment.cpython-311.pyc new file mode 100644 index 0000000..e544d33 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vaderSentiment.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkAcceleratorsVTKmCore.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkAcceleratorsVTKmCore.cpython-311.pyc new file mode 100644 index 0000000..208c47d Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkAcceleratorsVTKmCore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkAcceleratorsVTKmDataModel.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkAcceleratorsVTKmDataModel.cpython-311.pyc new file mode 100644 index 0000000..c56363d Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkAcceleratorsVTKmDataModel.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkAcceleratorsVTKmFilters.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkAcceleratorsVTKmFilters.cpython-311.pyc new file mode 100644 index 0000000..17abee6 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkAcceleratorsVTKmFilters.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkChartsCore.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkChartsCore.cpython-311.pyc new file mode 100644 index 0000000..bb8f1ed Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkChartsCore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonColor.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonColor.cpython-311.pyc new file mode 100644 index 0000000..1e6488d Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonColor.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonComputationalGeometry.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonComputationalGeometry.cpython-311.pyc new file mode 100644 index 0000000..0f453c2 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonComputationalGeometry.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonDataModel.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonDataModel.cpython-311.pyc new file mode 100644 index 0000000..c819bad Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonDataModel.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonExecutionModel.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonExecutionModel.cpython-311.pyc new file mode 100644 index 0000000..ded3247 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonExecutionModel.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonMath.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonMath.cpython-311.pyc new file mode 100644 index 0000000..a6491a7 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonMath.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonMisc.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonMisc.cpython-311.pyc new file mode 100644 index 0000000..e276779 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonMisc.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonPython.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonPython.cpython-311.pyc new file mode 100644 index 0000000..ba5b607 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonPython.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonSystem.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonSystem.cpython-311.pyc new file mode 100644 index 0000000..c6b3b5c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonSystem.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonTransforms.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonTransforms.cpython-311.pyc new file mode 100644 index 0000000..cf1f15f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonTransforms.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkDomainsChemistry.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkDomainsChemistry.cpython-311.pyc new file mode 100644 index 0000000..aa83473 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkDomainsChemistry.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkDomainsChemistryOpenGL2.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkDomainsChemistryOpenGL2.cpython-311.pyc new file mode 100644 index 0000000..c5fcf7e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkDomainsChemistryOpenGL2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersAMR.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersAMR.cpython-311.pyc new file mode 100644 index 0000000..3e0e29b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersAMR.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersCellGrid.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersCellGrid.cpython-311.pyc new file mode 100644 index 0000000..8e3f365 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersCellGrid.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersCore.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersCore.cpython-311.pyc new file mode 100644 index 0000000..e646223 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersCore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersExtraction.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersExtraction.cpython-311.pyc new file mode 100644 index 0000000..8f3155e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersExtraction.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersFlowPaths.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersFlowPaths.cpython-311.pyc new file mode 100644 index 0000000..89e1aab Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersFlowPaths.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersGeneral.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersGeneral.cpython-311.pyc new file mode 100644 index 0000000..84060a8 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersGeneral.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersGeneric.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersGeneric.cpython-311.pyc new file mode 100644 index 0000000..cf0eed8 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersGeneric.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersGeometry.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersGeometry.cpython-311.pyc new file mode 100644 index 0000000..7dd4b10 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersGeometry.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersGeometryPreview.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersGeometryPreview.cpython-311.pyc new file mode 100644 index 0000000..e0cc12c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersGeometryPreview.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersHybrid.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersHybrid.cpython-311.pyc new file mode 100644 index 0000000..e0b5f0b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersHybrid.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersHyperTree.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersHyperTree.cpython-311.pyc new file mode 100644 index 0000000..5982d13 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersHyperTree.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersImaging.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersImaging.cpython-311.pyc new file mode 100644 index 0000000..455e055 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersImaging.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersModeling.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersModeling.cpython-311.pyc new file mode 100644 index 0000000..d5d72c5 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersModeling.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersParallel.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersParallel.cpython-311.pyc new file mode 100644 index 0000000..8ecb54f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersParallel.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersParallelDIY2.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersParallelDIY2.cpython-311.pyc new file mode 100644 index 0000000..4b0bd5c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersParallelDIY2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersParallelImaging.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersParallelImaging.cpython-311.pyc new file mode 100644 index 0000000..d78082c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersParallelImaging.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersParallelStatistics.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersParallelStatistics.cpython-311.pyc new file mode 100644 index 0000000..b7a14c2 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersParallelStatistics.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersPoints.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersPoints.cpython-311.pyc new file mode 100644 index 0000000..f25e0a8 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersPoints.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersProgrammable.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersProgrammable.cpython-311.pyc new file mode 100644 index 0000000..63144a1 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersProgrammable.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersPython.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersPython.cpython-311.pyc new file mode 100644 index 0000000..029195e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersPython.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersReduction.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersReduction.cpython-311.pyc new file mode 100644 index 0000000..283cedb Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersReduction.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersSMP.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersSMP.cpython-311.pyc new file mode 100644 index 0000000..adbfc1c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersSMP.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersSelection.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersSelection.cpython-311.pyc new file mode 100644 index 0000000..8c880fd Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersSelection.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersSources.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersSources.cpython-311.pyc new file mode 100644 index 0000000..a5299ae Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersSources.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersStatistics.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersStatistics.cpython-311.pyc new file mode 100644 index 0000000..e82d012 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersStatistics.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersTemporal.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersTemporal.cpython-311.pyc new file mode 100644 index 0000000..d41d76d Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersTemporal.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersTensor.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersTensor.cpython-311.pyc new file mode 100644 index 0000000..1191dc3 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersTensor.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersTexture.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersTexture.cpython-311.pyc new file mode 100644 index 0000000..4bd6f9e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersTexture.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersTopology.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersTopology.cpython-311.pyc new file mode 100644 index 0000000..c592fc4 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersTopology.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersVerdict.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersVerdict.cpython-311.pyc new file mode 100644 index 0000000..3d974ee Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersVerdict.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkGeovisCore.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkGeovisCore.cpython-311.pyc new file mode 100644 index 0000000..135ffef Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkGeovisCore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOAMR.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOAMR.cpython-311.pyc new file mode 100644 index 0000000..0a86ca4 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOAMR.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOAsynchronous.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOAsynchronous.cpython-311.pyc new file mode 100644 index 0000000..adb149f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOAsynchronous.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOAvmesh.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOAvmesh.cpython-311.pyc new file mode 100644 index 0000000..cc15afe Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOAvmesh.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCGNSReader.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCGNSReader.cpython-311.pyc new file mode 100644 index 0000000..4e409c6 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCGNSReader.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCONVERGECFD.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCONVERGECFD.cpython-311.pyc new file mode 100644 index 0000000..182a475 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCONVERGECFD.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCellGrid.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCellGrid.cpython-311.pyc new file mode 100644 index 0000000..eba3e77 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCellGrid.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCesium3DTiles.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCesium3DTiles.cpython-311.pyc new file mode 100644 index 0000000..69f4405 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCesium3DTiles.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOChemistry.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOChemistry.cpython-311.pyc new file mode 100644 index 0000000..7c32e0a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOChemistry.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCityGML.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCityGML.cpython-311.pyc new file mode 100644 index 0000000..9858671 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCityGML.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCore.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCore.cpython-311.pyc new file mode 100644 index 0000000..24c6d62 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOERF.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOERF.cpython-311.pyc new file mode 100644 index 0000000..2bdaa89 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOERF.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOEnSight.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOEnSight.cpython-311.pyc new file mode 100644 index 0000000..9cdccfa Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOEnSight.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOEngys.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOEngys.cpython-311.pyc new file mode 100644 index 0000000..43967e9 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOEngys.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOExodus.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOExodus.cpython-311.pyc new file mode 100644 index 0000000..dca9aee Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOExodus.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOExport.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOExport.cpython-311.pyc new file mode 100644 index 0000000..8c5709a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOExport.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOExportGL2PS.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOExportGL2PS.cpython-311.pyc new file mode 100644 index 0000000..8c28212 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOExportGL2PS.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOExportPDF.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOExportPDF.cpython-311.pyc new file mode 100644 index 0000000..efaa4bf Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOExportPDF.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOFDS.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOFDS.cpython-311.pyc new file mode 100644 index 0000000..692e153 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOFDS.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOFLUENTCFF.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOFLUENTCFF.cpython-311.pyc new file mode 100644 index 0000000..fdf34a6 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOFLUENTCFF.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOGeoJSON.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOGeoJSON.cpython-311.pyc new file mode 100644 index 0000000..10f3645 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOGeoJSON.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOGeometry.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOGeometry.cpython-311.pyc new file mode 100644 index 0000000..bebb851 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOGeometry.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOH5Rage.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOH5Rage.cpython-311.pyc new file mode 100644 index 0000000..298b173 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOH5Rage.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOH5part.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOH5part.cpython-311.pyc new file mode 100644 index 0000000..6ed6598 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOH5part.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOHDF.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOHDF.cpython-311.pyc new file mode 100644 index 0000000..90ff6d8 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOHDF.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOIOSS.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOIOSS.cpython-311.pyc new file mode 100644 index 0000000..d87c518 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOIOSS.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOImage.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOImage.cpython-311.pyc new file mode 100644 index 0000000..31181f2 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOImage.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOImport.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOImport.cpython-311.pyc new file mode 100644 index 0000000..0c53202 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOImport.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOInfovis.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOInfovis.cpython-311.pyc new file mode 100644 index 0000000..acbe496 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOInfovis.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOLANLX3D.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOLANLX3D.cpython-311.pyc new file mode 100644 index 0000000..76e2821 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOLANLX3D.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOLSDyna.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOLSDyna.cpython-311.pyc new file mode 100644 index 0000000..8a2fa7a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOLSDyna.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOLegacy.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOLegacy.cpython-311.pyc new file mode 100644 index 0000000..64969d9 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOLegacy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOMINC.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOMINC.cpython-311.pyc new file mode 100644 index 0000000..27c2402 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOMINC.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOMotionFX.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOMotionFX.cpython-311.pyc new file mode 100644 index 0000000..130897f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOMotionFX.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOMovie.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOMovie.cpython-311.pyc new file mode 100644 index 0000000..54541a6 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOMovie.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIONetCDF.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIONetCDF.cpython-311.pyc new file mode 100644 index 0000000..7b6e83a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIONetCDF.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOOMF.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOOMF.cpython-311.pyc new file mode 100644 index 0000000..1c9905d Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOOMF.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOOggTheora.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOOggTheora.cpython-311.pyc new file mode 100644 index 0000000..6e38766 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOOggTheora.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOPIO.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOPIO.cpython-311.pyc new file mode 100644 index 0000000..d23bb26 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOPIO.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOPLY.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOPLY.cpython-311.pyc new file mode 100644 index 0000000..c44d351 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOPLY.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOParallel.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOParallel.cpython-311.pyc new file mode 100644 index 0000000..936edc7 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOParallel.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOParallelExodus.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOParallelExodus.cpython-311.pyc new file mode 100644 index 0000000..0a2ee15 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOParallelExodus.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOParallelLSDyna.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOParallelLSDyna.cpython-311.pyc new file mode 100644 index 0000000..4db497e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOParallelLSDyna.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOParallelXML.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOParallelXML.cpython-311.pyc new file mode 100644 index 0000000..866b89c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOParallelXML.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOSQL.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOSQL.cpython-311.pyc new file mode 100644 index 0000000..fd4f84c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOSQL.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOSegY.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOSegY.cpython-311.pyc new file mode 100644 index 0000000..b54e3f1 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOSegY.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOTRUCHAS.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOTRUCHAS.cpython-311.pyc new file mode 100644 index 0000000..d3396de Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOTRUCHAS.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOTecplotTable.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOTecplotTable.cpython-311.pyc new file mode 100644 index 0000000..3d148d3 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOTecplotTable.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOVPIC.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOVPIC.cpython-311.pyc new file mode 100644 index 0000000..c2b4933 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOVPIC.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOVeraOut.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOVeraOut.cpython-311.pyc new file mode 100644 index 0000000..8f76c6b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOVeraOut.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOVideo.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOVideo.cpython-311.pyc new file mode 100644 index 0000000..c59d1c7 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOVideo.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOXML.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOXML.cpython-311.pyc new file mode 100644 index 0000000..a83de42 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOXML.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOXMLParser.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOXMLParser.cpython-311.pyc new file mode 100644 index 0000000..b583fcd Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOXMLParser.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOXdmf2.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOXdmf2.cpython-311.pyc new file mode 100644 index 0000000..ebad26e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOXdmf2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingColor.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingColor.cpython-311.pyc new file mode 100644 index 0000000..ffcc253 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingColor.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingCore.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingCore.cpython-311.pyc new file mode 100644 index 0000000..758b12e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingCore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingFourier.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingFourier.cpython-311.pyc new file mode 100644 index 0000000..d0e9277 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingFourier.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingGeneral.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingGeneral.cpython-311.pyc new file mode 100644 index 0000000..4a07251 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingGeneral.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingHybrid.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingHybrid.cpython-311.pyc new file mode 100644 index 0000000..3728ee4 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingHybrid.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingMath.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingMath.cpython-311.pyc new file mode 100644 index 0000000..848efd3 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingMath.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingMorphological.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingMorphological.cpython-311.pyc new file mode 100644 index 0000000..16983da Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingMorphological.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingOpenGL2.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingOpenGL2.cpython-311.pyc new file mode 100644 index 0000000..6f24d7f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingOpenGL2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingSources.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingSources.cpython-311.pyc new file mode 100644 index 0000000..5cc8260 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingSources.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingStatistics.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingStatistics.cpython-311.pyc new file mode 100644 index 0000000..95639c9 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingStatistics.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingStencil.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingStencil.cpython-311.pyc new file mode 100644 index 0000000..c1a7d96 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingStencil.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkInfovisCore.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkInfovisCore.cpython-311.pyc new file mode 100644 index 0000000..7e4fd3d Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkInfovisCore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkInfovisLayout.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkInfovisLayout.cpython-311.pyc new file mode 100644 index 0000000..e1ece21 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkInfovisLayout.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkInteractionImage.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkInteractionImage.cpython-311.pyc new file mode 100644 index 0000000..eea373f Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkInteractionImage.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkInteractionStyle.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkInteractionStyle.cpython-311.pyc new file mode 100644 index 0000000..2e1cc6e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkInteractionStyle.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkInteractionWidgets.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkInteractionWidgets.cpython-311.pyc new file mode 100644 index 0000000..377316e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkInteractionWidgets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkParallelCore.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkParallelCore.cpython-311.pyc new file mode 100644 index 0000000..da99a5e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkParallelCore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkPythonContext2D.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkPythonContext2D.cpython-311.pyc new file mode 100644 index 0000000..5e92aae Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkPythonContext2D.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingAnnotation.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingAnnotation.cpython-311.pyc new file mode 100644 index 0000000..6a3d6aa Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingAnnotation.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingCellGrid.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingCellGrid.cpython-311.pyc new file mode 100644 index 0000000..a111c41 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingCellGrid.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingContext2D.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingContext2D.cpython-311.pyc new file mode 100644 index 0000000..72a818a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingContext2D.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingContextOpenGL2.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingContextOpenGL2.cpython-311.pyc new file mode 100644 index 0000000..7882497 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingContextOpenGL2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingCore.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingCore.cpython-311.pyc new file mode 100644 index 0000000..b02dbaa Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingCore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingExternal.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingExternal.cpython-311.pyc new file mode 100644 index 0000000..81321c6 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingExternal.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingFreeType.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingFreeType.cpython-311.pyc new file mode 100644 index 0000000..aeba9ae Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingFreeType.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingGL2PSOpenGL2.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingGL2PSOpenGL2.cpython-311.pyc new file mode 100644 index 0000000..c08c1b5 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingGL2PSOpenGL2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingGridAxes.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingGridAxes.cpython-311.pyc new file mode 100644 index 0000000..45e22f6 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingGridAxes.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingHyperTreeGrid.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingHyperTreeGrid.cpython-311.pyc new file mode 100644 index 0000000..61a3db6 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingHyperTreeGrid.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingImage.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingImage.cpython-311.pyc new file mode 100644 index 0000000..1cb90b8 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingImage.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingLICOpenGL2.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingLICOpenGL2.cpython-311.pyc new file mode 100644 index 0000000..3a339db Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingLICOpenGL2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingLOD.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingLOD.cpython-311.pyc new file mode 100644 index 0000000..d7c8cd0 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingLOD.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingLabel.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingLabel.cpython-311.pyc new file mode 100644 index 0000000..76916b0 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingLabel.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingMatplotlib.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingMatplotlib.cpython-311.pyc new file mode 100644 index 0000000..e168992 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingMatplotlib.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingOpenGL2.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingOpenGL2.cpython-311.pyc new file mode 100644 index 0000000..d2a42dc Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingOpenGL2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingParallel.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingParallel.cpython-311.pyc new file mode 100644 index 0000000..f66f1e7 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingParallel.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingSceneGraph.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingSceneGraph.cpython-311.pyc new file mode 100644 index 0000000..a307b22 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingSceneGraph.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingUI.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingUI.cpython-311.pyc new file mode 100644 index 0000000..cd95e67 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingUI.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVR.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVR.cpython-311.pyc new file mode 100644 index 0000000..1e74e52 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVR.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVRModels.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVRModels.cpython-311.pyc new file mode 100644 index 0000000..ead12dd Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVRModels.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVolume.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVolume.cpython-311.pyc new file mode 100644 index 0000000..4aa6e22 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVolume.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVolumeAMR.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVolumeAMR.cpython-311.pyc new file mode 100644 index 0000000..8e03aea Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVolumeAMR.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVolumeOpenGL2.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVolumeOpenGL2.cpython-311.pyc new file mode 100644 index 0000000..4369042 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVolumeOpenGL2.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVtkJS.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVtkJS.cpython-311.pyc new file mode 100644 index 0000000..46bbfdd Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVtkJS.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkSerializationManager.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkSerializationManager.cpython-311.pyc new file mode 100644 index 0000000..c5cb1b4 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkSerializationManager.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkTestingRendering.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkTestingRendering.cpython-311.pyc new file mode 100644 index 0000000..c701505 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkTestingRendering.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkTestingSerialization.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkTestingSerialization.cpython-311.pyc new file mode 100644 index 0000000..ea7a35c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkTestingSerialization.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkViewsContext2D.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkViewsContext2D.cpython-311.pyc new file mode 100644 index 0000000..1169cfc Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkViewsContext2D.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkViewsCore.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkViewsCore.cpython-311.pyc new file mode 100644 index 0000000..0f03f57 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkViewsCore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkViewsInfovis.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkViewsInfovis.cpython-311.pyc new file mode 100644 index 0000000..e4b2cea Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkViewsInfovis.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkWebCore.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkWebCore.cpython-311.pyc new file mode 100644 index 0000000..b752e73 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkWebCore.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkWebGLExporter.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkWebGLExporter.cpython-311.pyc new file mode 100644 index 0000000..cf94c75 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkWebGLExporter.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkpython.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkpython.cpython-311.pyc new file mode 100644 index 0000000..b4f0f5e Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkpython.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-wavefile.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-wavefile.cpython-311.pyc new file mode 100644 index 0000000..df174b4 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-wavefile.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-weasyprint.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-weasyprint.cpython-311.pyc new file mode 100644 index 0000000..628f582 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-weasyprint.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-web3.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-web3.cpython-311.pyc new file mode 100644 index 0000000..9670c69 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-web3.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-webassets.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-webassets.cpython-311.pyc new file mode 100644 index 0000000..2ec5c09 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-webassets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-webrtcvad.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-webrtcvad.cpython-311.pyc new file mode 100644 index 0000000..9077664 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-webrtcvad.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-websockets.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-websockets.cpython-311.pyc new file mode 100644 index 0000000..e26c0b4 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-websockets.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-webview.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-webview.cpython-311.pyc new file mode 100644 index 0000000..9413747 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-webview.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-win32com.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-win32com.cpython-311.pyc new file mode 100644 index 0000000..8eafbbd Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-win32com.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-wordcloud.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-wordcloud.cpython-311.pyc new file mode 100644 index 0000000..09cb01c Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-wordcloud.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-workflow.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-workflow.cpython-311.pyc new file mode 100644 index 0000000..7f55833 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-workflow.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-wx.lib.activex.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-wx.lib.activex.cpython-311.pyc new file mode 100644 index 0000000..8045df3 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-wx.lib.activex.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-wx.lib.pubsub.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-wx.lib.pubsub.cpython-311.pyc new file mode 100644 index 0000000..3c12c31 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-wx.lib.pubsub.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-wx.xrc.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-wx.xrc.cpython-311.pyc new file mode 100644 index 0000000..fef9aaa Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-wx.xrc.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xarray.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xarray.cpython-311.pyc new file mode 100644 index 0000000..12e1bd3 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xarray.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xml.dom.html.HTMLDocument.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xml.dom.html.HTMLDocument.cpython-311.pyc new file mode 100644 index 0000000..f3b1c3b Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xml.dom.html.HTMLDocument.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xml.sax.saxexts.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xml.sax.saxexts.cpython-311.pyc new file mode 100644 index 0000000..b9e2ff8 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xml.sax.saxexts.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xmldiff.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xmldiff.cpython-311.pyc new file mode 100644 index 0000000..cee09aa Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xmldiff.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xmlschema.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xmlschema.cpython-311.pyc new file mode 100644 index 0000000..c537ee5 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xmlschema.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xsge_gui.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xsge_gui.cpython-311.pyc new file mode 100644 index 0000000..32d8676 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xsge_gui.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xyzservices.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xyzservices.cpython-311.pyc new file mode 100644 index 0000000..b13bbf0 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xyzservices.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-yapf_third_party.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-yapf_third_party.cpython-311.pyc new file mode 100644 index 0000000..fc1f372 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-yapf_third_party.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-z3c.rml.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-z3c.rml.cpython-311.pyc new file mode 100644 index 0000000..af7cb88 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-z3c.rml.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-zarr.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-zarr.cpython-311.pyc new file mode 100644 index 0000000..c376a3a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-zarr.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-zeep.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-zeep.cpython-311.pyc new file mode 100644 index 0000000..ad05d2a Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-zeep.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-zmq.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-zmq.cpython-311.pyc new file mode 100644 index 0000000..7047e98 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-zmq.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-zoneinfo.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-zoneinfo.cpython-311.pyc new file mode 100644 index 0000000..0fa8619 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-zoneinfo.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-BTrees.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-BTrees.py new file mode 100644 index 0000000..1213dfd --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-BTrees.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for BTrees: https://pypi.org/project/BTrees/4.5.1/ + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules('BTrees') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-CTkMessagebox.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-CTkMessagebox.py new file mode 100644 index 0000000..dd43aad --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-CTkMessagebox.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# A fully customizable messagebox for customtkinter! +# (extension/add-on) +# ------------------------------------------------------------------ +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("CTkMessagebox") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-Crypto.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-Crypto.py new file mode 100644 index 0000000..a52de53 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-Crypto.py @@ -0,0 +1,62 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Hook for PyCryptodome library: https://pypi.python.org/pypi/pycryptodome + +PyCryptodome is an almost drop-in replacement for the now unmaintained +PyCrypto library. The two are mutually exclusive as they live under +the same package ("Crypto"). + +PyCryptodome distributes dynamic libraries and builds them as if they were +Python C extensions (even though they are not extensions - as they can't be +imported by Python). It might sound a bit weird, but this decision is rooted +in PyPy and its partial and slow support for C extensions. However, this also +invalidates several of the existing methods used by PyInstaller to decide the +right files to pull in. + +Even though this hook is meant to help with PyCryptodome only, it will be +triggered also when PyCrypto is installed, so it must be tested with both. + +Tested with PyCryptodome 3.5.1, PyCrypto 2.6.1, Python 2.7 & 3.6, Fedora & Windows +""" + +import os +import glob + +from PyInstaller.compat import EXTENSION_SUFFIXES +from PyInstaller.utils.hooks import get_module_file_attribute + +# Include the modules as binaries in a subfolder named like the package. +# Cryptodome's loader expects to find them inside the package directory for +# the main module. We cannot use hiddenimports because that would add the +# modules outside the package. + +binaries = [] +binary_module_names = [ + 'Crypto.Math', # First in the list + 'Crypto.Cipher', + 'Crypto.Util', + 'Crypto.Hash', + 'Crypto.Protocol', + 'Crypto.PublicKey', +] + +try: + for module_name in binary_module_names: + m_dir = os.path.dirname(get_module_file_attribute(module_name)) + for ext in EXTENSION_SUFFIXES: + module_bin = glob.glob(os.path.join(m_dir, '_*%s' % ext)) + for f in module_bin: + binaries.append((f, module_name.replace('.', os.sep))) +except ImportError: + # Do nothing for PyCrypto (Crypto.Math does not exist there) + pass diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-Cryptodome.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-Cryptodome.py new file mode 100644 index 0000000..3a88482 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-Cryptodome.py @@ -0,0 +1,44 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Hook for Cryptodome module: https://pypi.python.org/pypi/pycryptodomex + +Tested with Cryptodomex 3.4.2, Python 2.7 & 3.5, Windows +""" + +import os +import glob + +from PyInstaller.compat import EXTENSION_SUFFIXES +from PyInstaller.utils.hooks import get_module_file_attribute + +# Include the modules as binaries in a subfolder named like the package. +# Cryptodome's loader expects to find them inside the package directory for +# the main module. We cannot use hiddenimports because that would add the +# modules outside the package. + +binaries = [] +binary_module_names = [ + 'Cryptodome.Cipher', + 'Cryptodome.Util', + 'Cryptodome.Hash', + 'Cryptodome.Protocol', + 'Cryptodome.Math', + 'Cryptodome.PublicKey', +] + +for module_name in binary_module_names: + m_dir = os.path.dirname(get_module_file_attribute(module_name)) + for ext in EXTENSION_SUFFIXES: + module_bin = glob.glob(os.path.join(m_dir, '_*%s' % ext)) + for f in module_bin: + binaries.append((f, module_name.replace('.', '/'))) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-HtmlTestRunner.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-HtmlTestRunner.py new file mode 100644 index 0000000..56abec9 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-HtmlTestRunner.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for HtmlTestRunner: https://pypi.org/project/html-testRunner//1.2.1 + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('HtmlTestRunner') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-IPython.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-IPython.py new file mode 100644 index 0000000..8fec50b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-IPython.py @@ -0,0 +1,42 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Tested with IPython 4.0.0. + +from PyInstaller.compat import is_win, is_darwin +from PyInstaller.utils.hooks import collect_data_files + +# Ignore 'matplotlib'. IPython contains support for matplotlib. +# Ignore GUI libraries. IPython supports integration with GUI frameworks. +# Assume that it will be imported by any other module when the user really +# uses it. +excludedimports = [ + 'gtk', + 'matplotlib', + 'PySide', + 'PyQt4', + 'PySide2', + 'PyQt5', + 'PySide6', + 'PyQt6', +] + +# IPython uses 'tkinter' for clipboard access on Linux/Unix. Exclude it on Windows and OS X. +if is_win or is_darwin: + excludedimports.append('tkinter') + +datas = collect_data_files('IPython') + +# IPython imports extensions by changing to the extensions directory and using +# importlib.import_module, so we need to copy over the extensions as if they +# were data files. +datas += collect_data_files('IPython.extensions', include_py_files=True) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-OpenGL.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-OpenGL.py new file mode 100644 index 0000000..f959702 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-OpenGL.py @@ -0,0 +1,65 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Hook for PyOpenGL 3.x versions from 3.0.0b6 up. Previous versions have a +plugin system based on pkg_resources which is problematic to handle correctly +under pyinstaller; 2.x versions used to run fine without hooks, so this one +shouldn't hurt. +""" + +from PyInstaller.compat import is_win, is_darwin +from PyInstaller.utils.hooks import collect_data_files, exec_statement +import os +import glob + + +def opengl_arrays_modules(): + """ + Return list of array modules for OpenGL module. + e.g. 'OpenGL.arrays.vbo' + """ + statement = 'import OpenGL; print(OpenGL.__path__[0])' + opengl_mod_path = exec_statement(statement) + arrays_mod_path = os.path.join(opengl_mod_path, 'arrays') + files = glob.glob(arrays_mod_path + '/*.py') + modules = [] + + for f in files: + mod = os.path.splitext(os.path.basename(f))[0] + # Skip __init__ module. + if mod == '__init__': + continue + modules.append('OpenGL.arrays.' + mod) + + return modules + + +# PlatformPlugin performs a conditional import based on os.name and +# sys.platform. PyInstaller misses this so let's add it ourselves... +if is_win: + hiddenimports = ['OpenGL.platform.win32'] +elif is_darwin: + hiddenimports = ['OpenGL.platform.darwin'] +# Use glx for other platforms (Linux, ...) +else: + hiddenimports = ['OpenGL.platform.glx'] + +# Arrays modules are needed too. +hiddenimports += opengl_arrays_modules() + +# PyOpenGL 3.x uses ctypes to load DLL libraries. PyOpenGL windows installer +# adds necessary dll files to +# DLL_DIRECTORY = os.path.join( os.path.dirname( OpenGL.__file__ ), 'DLLS') +# PyInstaller is not able to find these dlls. Just include them all as data +# files. +if is_win: + datas = collect_data_files('OpenGL') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-OpenGL_accelerate.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-OpenGL_accelerate.py new file mode 100644 index 0000000..5d6998b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-OpenGL_accelerate.py @@ -0,0 +1,22 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +OpenGL_accelerate contais modules written in cython. This module +should speed up some functions from OpenGL module. The following +hiddenimports are not resolved by PyInstaller because OpenGL_accelerate +is compiled to native Python modules. +""" + +hiddenimports = [ + 'OpenGL_accelerate.wrapper', + 'OpenGL_accelerate.formathandler', +] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-PyTaskbar.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-PyTaskbar.py new file mode 100644 index 0000000..55a82a1 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-PyTaskbar.py @@ -0,0 +1,14 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("PyTaskbar") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-Xlib.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-Xlib.py new file mode 100644 index 0000000..8ce588e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-Xlib.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules('Xlib') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-_mssql.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-_mssql.py new file mode 100644 index 0000000..356a314 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-_mssql.py @@ -0,0 +1,13 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +hiddenimports = ['uuid'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-_mysql.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-_mysql.py new file mode 100644 index 0000000..252fd2a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-_mysql.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Hook for _mysql, required if higher-level pure python module is not imported +""" + +hiddenimports = ['_mysql_exceptions'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-accessible_output2.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-accessible_output2.py new file mode 100644 index 0000000..8d69536 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-accessible_output2.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +accessible_output2: http://hg.q-continuum.net/accessible_output2 +""" + +from PyInstaller.utils.hooks import collect_dynamic_libs + +binaries = collect_dynamic_libs('accessible_output2') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-adbutils.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-adbutils.py new file mode 100644 index 0000000..302439e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-adbutils.py @@ -0,0 +1,23 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files, is_module_satisfies + +# adb.exe is not automatically collected by collect_dynamic_libs() +datas = collect_data_files("adbutils", subdir="binaries", includes=["adb*"]) + +# adbutils v2.2.2 replaced `pkg_resources` with `importlib.resources`, and now uses the following code to determine the +# path to the `adbutils.binaries` sub-package directory: +# https://github.com/openatx/adbutils/blob/2.2.2/adbutils/_utils.py#L78-L87 +# As `adbutils.binaries` is not directly imported anywhere, we need a hidden import. +if is_module_satisfies('adbutils >= 2.2.2'): + hiddenimports = ['adbutils.binaries'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-adios.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-adios.py new file mode 100644 index 0000000..761de00 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-adios.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Hook for http://pypi.python.org/pypi/adios/ +""" + +hiddenimports = ['adios._hl.selections'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-afmformats.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-afmformats.py new file mode 100644 index 0000000..79eafa6 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-afmformats.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for afmformats: https://pypi.python.org/pypi/afmformats + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('afmformats') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-aliyunsdkcore.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-aliyunsdkcore.py new file mode 100644 index 0000000..50b0d96 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-aliyunsdkcore.py @@ -0,0 +1,14 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("aliyunsdkcore") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-altair.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-altair.py new file mode 100644 index 0000000..126115b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-altair.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("altair") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-amazonproduct.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-amazonproduct.py new file mode 100644 index 0000000..46b8467 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-amazonproduct.py @@ -0,0 +1,26 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Hook for Python bindings for Amazon's Product Advertising API. +https://bitbucket.org/basti/python-amazon-product-api +""" + +hiddenimports = ['amazonproduct.processors.__init__', + 'amazonproduct.processors._lxml', + 'amazonproduct.processors.objectify', + 'amazonproduct.processors.elementtree', + 'amazonproduct.processors.etree', + 'amazonproduct.processors.minidom', + 'amazonproduct.contrib.__init__', + 'amazonproduct.contrib.cart', + 'amazonproduct.contrib.caching', + 'amazonproduct.contrib.retry'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-anyio.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-anyio.py new file mode 100644 index 0000000..c19fb44 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-anyio.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +AnyIO contains a number of back-ends as dynamically imported modules. +This hook was tested against AnyIO v1.4.0. +""" + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules('anyio._backends') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-apkutils.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-apkutils.py new file mode 100644 index 0000000..a8804bc --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-apkutils.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("apkutils") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-appdirs.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-appdirs.py new file mode 100644 index 0000000..d49d5ba --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-appdirs.py @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Import hook for appdirs. + +On Windows, appdirs tries 2 different methods to get well-known directories +from the system: First with win32com, then with ctypes. Excluding win32com here +avoids including all the win32com related DLLs in programs that don't include +them otherwise. +""" + +excludedimports = ['win32com'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-appy.pod.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-appy.pod.py new file mode 100644 index 0000000..056aea2 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-appy.pod.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for appy.pod: https://pypi.python.org/pypi/appy/0.9.1 + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('appy.pod', True) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-apscheduler.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-apscheduler.py new file mode 100644 index 0000000..4ac1838 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-apscheduler.py @@ -0,0 +1,27 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +APScheduler uses entry points to dynamically load executors, job +stores and triggers. +This hook was tested against APScheduler 3.6.3. +""" + +from PyInstaller.utils.hooks import (collect_submodules, copy_metadata, + is_module_satisfies) + +if is_module_satisfies("apscheduler < 4"): + if is_module_satisfies("pyinstaller >= 4.4"): + datas = copy_metadata('APScheduler', recursive=True) + else: + datas = copy_metadata('APScheduler') + + hiddenimports = collect_submodules('apscheduler') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-argon2.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-argon2.py new file mode 100644 index 0000000..505639a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-argon2.py @@ -0,0 +1,13 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +hiddenimports = ["_cffi_backend"] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-astor.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-astor.py new file mode 100644 index 0000000..93452da --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-astor.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('astor') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-astroid.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-astroid.py new file mode 100644 index 0000000..22323cd --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-astroid.py @@ -0,0 +1,48 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# +# *************************************************** +# hook-astriod.py - PyInstaller hook file for astriod +# *************************************************** +# The astriod package, in __pkginfo__.py, is version 1.1.1. Looking at its +# source: +# +# From __init__.py, starting at line 111:: +# +# BRAIN_MODULES_DIR = join(dirname(__file__), 'brain') +# if BRAIN_MODULES_DIR not in sys.path: +# # add it to the end of the list so user path take precedence +# sys.path.append(BRAIN_MODULES_DIR) +# # load modules in this directory +# for module in listdir(BRAIN_MODULES_DIR): +# if module.endswith('.py'): +# __import__(module[:-3]) +# +# So, we need all the Python source in the ``brain/`` subdirectory, +# since this is run-time discovered and loaded. Therefore, these +# files are all data files. + +from PyInstaller.utils.hooks import collect_data_files, collect_submodules, \ + is_module_or_submodule + +# Note that brain/ isn't a module (it lacks an __init__.py, so it can't be +# referred to as astroid.brain; instead, locate it as package astriod, +# subdirectory brain/. +datas = collect_data_files('astroid', True, 'brain') + +# Update: in astroid v 1.4.1, the brain/ module import parts of astroid. Since +# everything in brain/ is dynamically imported, these are hidden imports. For +# simplicity, include everything in astroid. Exclude all the test/ subpackage +# contents and the test_util module. +hiddenimports = ['six'] + collect_submodules('astroid', + lambda name: (not is_module_or_submodule(name, 'astroid.tests')) and + (not name == 'test_util')) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-astropy.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-astropy.py new file mode 100644 index 0000000..925ca4d --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-astropy.py @@ -0,0 +1,42 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files, collect_submodules, \ + copy_metadata, is_module_satisfies + +# Astropy includes a number of non-Python files that need to be present +# at runtime, so we include these explicitly here. +datas = collect_data_files('astropy') + +# In a number of places, astropy imports other sub-modules in a way that is not +# always auto-discovered by pyinstaller, so we always include all submodules. +hiddenimports = collect_submodules('astropy') + +# We now need to include the *_parsetab.py and *_lextab.py files for unit and +# coordinate parsing, since these are loaded as files rather than imported as +# sub-modules. We leverage collect_data_files to get all files in astropy then +# filter these. +ply_files = [] +for path, target in collect_data_files('astropy', include_py_files=True): + if path.endswith(('_parsetab.py', '_lextab.py')): + ply_files.append((path, target)) + +datas += ply_files + +# Astropy version >= 5.0 queries metadata to get version information. +if is_module_satisfies('astropy >= 5.0'): + datas += copy_metadata('astropy') + datas += copy_metadata('numpy') + +# In the Cython code, Astropy imports numpy.lib.recfunctions which isn't +# automatically discovered by pyinstaller, so we add this as a hidden import. +hiddenimports += ['numpy.lib.recfunctions'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-astropy_iers_data.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-astropy_iers_data.py new file mode 100644 index 0000000..828dd45 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-astropy_iers_data.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for https://github.com/astropy/astropy-iers-data + +from PyInstaller.utils.hooks import collect_data_files +datas = collect_data_files("astropy_iers_data") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-av.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-av.py new file mode 100644 index 0000000..8770d6d --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-av.py @@ -0,0 +1,44 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +import os + +from PyInstaller.compat import is_win +from PyInstaller.utils.hooks import collect_submodules, is_module_satisfies, get_package_paths + +hiddenimports = ['fractions'] + collect_submodules("av") + +# Starting with av 9.1.1, the DLLs shipped with Windows PyPI wheels are stored +# in site-packages/av.libs instead of directly in the site-packages/av. +if is_module_satisfies("av >= 9.1.1") and is_win: + pkg_base, pkg_dir = get_package_paths("av") + lib_dir = os.path.join(pkg_base, "av.libs") + if os.path.isdir(lib_dir): + # We collect DLLs as data files instead of binaries to suppress binary + # analysis, which would result in duplicates (because it collects a copy + # into the top-level directory instead of preserving the original layout). + # In addition to DLls, this also collects .load-order* file (required on + # python < 3.8), and ensures that Shapely.libs directory exists (required + # on python >= 3.8 due to os.add_dll_directory call). + datas = [ + (os.path.join(lib_dir, lib_file), 'av.libs') + for lib_file in os.listdir(lib_dir) + ] + +# With av 13.0.0, one of the cythonized modules (`av.audio.layout`) started using `dataclasses`. Add it to hidden +# imports to ensure it is collected in cases when it is not referenced from anywhere else. +if is_module_satisfies("av >= 13.0.0"): + hiddenimports += ['dataclasses'] + +# av 13.1.0 added a cythonized `av.opaque` module that uses `uuid`; add it to hidden imports to ensure it is collected +# in cases when it is not referenced from anywhere else. +if is_module_satisfies("av >= 13.1.0"): + hiddenimports += ['uuid'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-avro.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-avro.py new file mode 100644 index 0000000..178fa29 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-avro.py @@ -0,0 +1,27 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Avro is a serialization and RPC framework. +""" + +import os +from PyInstaller.utils.hooks import get_module_file_attribute + +res_loc = os.path.dirname(get_module_file_attribute("avro")) +# see https://github.com/apache/avro/blob/master/lang/py3/setup.py +datas = [ + # Include the version.txt file, used to set __version__ + (os.path.join(res_loc, "VERSION.txt"), "avro"), + # The handshake schema is needed for IPC communication + (os.path.join(res_loc, "HandshakeRequest.avsc"), "avro"), + (os.path.join(res_loc, "HandshakeResponse.avsc"), "avro"), +] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-azurerm.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-azurerm.py new file mode 100644 index 0000000..52e9c51 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-azurerm.py @@ -0,0 +1,22 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# Azurerm is a lite api to microsoft azure. +# Azurerm is using pkg_resources internally which is not supported by py-installer. +# This hook will collect the module metadata. +# Tested with Azurerm 0.10.0 + +from PyInstaller.utils.hooks import copy_metadata, is_module_satisfies + +if is_module_satisfies("pyinstaller >= 4.4"): + datas = copy_metadata("azurerm", recursive=True) +else: + datas = copy_metadata("azurerm") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-backports.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-backports.py new file mode 100644 index 0000000..af9ead4 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-backports.py @@ -0,0 +1,20 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Some of jaraco's backports packages (backports.functools-lru-cache, backports.tarfile) use pkgutil-style `backports` +# namespace package, with `__init__.py` file that contains: +# +# __path__ = __import__('pkgutil').extend_path(__path__, __name__) +# +# This import via `__import__` function slips past PyInstaller's modulegraph analysis; so add a hidden import, in case +# the user's program (and its dependencies) have no other direct imports of `pkgutil`. +hiddenimports = ['pkgutil'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-backports.zoneinfo.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-backports.zoneinfo.py new file mode 100644 index 0000000..03a5e41 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-backports.zoneinfo.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.compat import is_win + +# On Windows, timezone data is provided by the tzdata package that is +# not directly loaded. +if is_win: + hiddenimports = ['tzdata'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-bacon.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-bacon.py new file mode 100644 index 0000000..febf11b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-bacon.py @@ -0,0 +1,50 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for Bacon (https://github.com/aholkner/bacon) +# Bacon requires its native DLLs to be copied alongside frozen executable. + +import os +import ctypes + +from PyInstaller.compat import is_win, is_darwin +from PyInstaller.utils.hooks import get_package_paths + + +def collect_native_files(package, files): + pkg_base, pkg_dir = get_package_paths(package) + return [(os.path.join(pkg_dir, file), '.') for file in files] + + +if is_win: + files = ['Bacon.dll', + 'd3dcompiler_46.dll', + 'libEGL.dll', + 'libGLESv2.dll', + 'msvcp110.dll', + 'msvcr110.dll', + 'vccorllib110.dll'] + if ctypes.sizeof(ctypes.c_void_p) == 4: + hiddenimports = ["bacon.windows32"] + datas = collect_native_files('bacon.windows32', files) + else: + hiddenimports = ["bacon.windows64"] + datas = collect_native_files('bacon.windows64', files) +elif is_darwin: + if ctypes.sizeof(ctypes.c_void_p) == 4: + hiddenimports = ["bacon.darwin32"] + files = ['Bacon.dylib'] + datas = collect_native_files('bacon.darwin32', files) + else: + hiddenimports = ["bacon.darwin64"] + files = ['Bacon64.dylib'] + datas = collect_native_files('bacon.darwin64', files) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-bcrypt.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-bcrypt.py new file mode 100644 index 0000000..adbb592 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-bcrypt.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Hook for https://pypi.org/project/bcrypt/ +""" + +hiddenimports = ['_cffi_backend'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-bitsandbytes.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-bitsandbytes.py new file mode 100644 index 0000000..7897cf3 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-bitsandbytes.py @@ -0,0 +1,23 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# --------------------------------------------------- + +from PyInstaller.utils.hooks import collect_dynamic_libs + +# bitsandbytes contains several extensions for CPU and different CUDA versions: libbitsandbytes_cpu.so, +# libbitsandbytes_cuda110_nocublaslt.so, libbitsandbytes_cuda110.so, etc. At build-time, we could query the +# `bitsandbytes.cextension.setup` and its `binary_name` attribute for the extension that is in use. However, if the +# build system does not have CUDA available, this would automatically mean that we will not collect any of the CUDA +# libs. So for now, we collect them all. +binaries = collect_dynamic_libs("bitsandbytes") + +# bitsandbytes uses triton's JIT module, which requires access to source .py files. +module_collection_mode = 'pyz+py' diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-black.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-black.py new file mode 100644 index 0000000..25ba19c --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-black.py @@ -0,0 +1,29 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +from PyInstaller.utils.hooks import collect_submodules, collect_data_files + +# These are all imported from cythonized extensions. +hiddenimports = [ + 'json', + 'platform', + 'click', + 'mypy_extensions', + 'pathspec', + '_black_version', + 'platformdirs', + *collect_submodules('black'), + # blib2to3.pytree, blib2to3.pygen, various submodules from blib2to3.pgen2; best to just collect all submodules. + *collect_submodules('blib2to3'), +] + +# Ensure that `black/resources/black.schema.json` is collected, in case someone tries to call `black.schema.get_schema`. +datas = collect_data_files('black') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-bleak.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-bleak.py new file mode 100644 index 0000000..9fa261e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-bleak.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# hook for https://github.com/hbldh/bleak + +from PyInstaller.utils.hooks import collect_data_files, collect_dynamic_libs +from PyInstaller.compat import is_win + +if is_win: + datas = collect_data_files('bleak', subdir=r'backends\dotnet') + binaries = collect_dynamic_libs('bleak') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-blib2to3.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-blib2to3.py new file mode 100644 index 0000000..9aaf0a9 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-blib2to3.py @@ -0,0 +1,35 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +from PyInstaller.utils.hooks import collect_submodules, collect_data_files +from _pyinstaller_hooks_contrib.compat import importlib_metadata + + +# Find the mypyc extension module for `black`, which is called something like `30fcd23745efe32ce681__mypyc`. The prefix +# changes with each `black` version, so we need to obtain the name by looking at distribution's list of files. +def _find_mypyc_module(): + try: + dist = importlib_metadata.distribution("black") + except importlib_metadata.PackageNotFoundError: + return [] + return [entry.name.split('.')[0] for entry in dist.files if '__mypyc' in entry.name] + + +hiddenimports = [ + *_find_mypyc_module(), + 'dataclasses', + 'pkgutil', + 'tempfile', + *collect_submodules('blib2to3') +] + +# Ensure that data files, such as `PatternGrammar.txt` and `Grammar.txt`, are collected. +datas = collect_data_files('blib2to3') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-blspy.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-blspy.py new file mode 100644 index 0000000..18cbca2 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-blspy.py @@ -0,0 +1,35 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +import os +import glob + +from PyInstaller.utils.hooks import get_module_file_attribute +from PyInstaller.compat import is_win + +# blspy comes as a stand-alone extension module that's placed directly +# in site-packages. +# +# On macOS and Linux, it is linked against the GMP library, whose shared +# library is stored in blspy.libs and .dylibsblspy, respectively. As this +# is a linked dependency, it is collected properly by PyInstaller and +# no further work is needed. +# +# On Windows, however, the blspy extension is linked against MPIR library, +# whose DLLs are placed directly into site-packages. The mpir.dll is +# linked dependency and is picked up automatically, but it in turn +# dynamically loads CPU-specific backends that are named mpir_*.dll. +# We need to colllect these manually. +if is_win: + blspy_dir = os.path.dirname(get_module_file_attribute('blspy')) + mpir_dlls = glob.glob(os.path.join(blspy_dir, 'mpir_*.dll')) + binaries = [(mpir_dll, '.') for mpir_dll in mpir_dlls] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-bokeh.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-bokeh.py new file mode 100644 index 0000000..8c42be6 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-bokeh.py @@ -0,0 +1,27 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files, copy_metadata, is_module_satisfies + +# core/_templates/* +# server/static/**/* +# subcommands/*.py +# bokeh/_sri.json + +datas = collect_data_files('bokeh.core') + \ + collect_data_files('bokeh.server') + \ + collect_data_files('bokeh.command.subcommands', include_py_files=True) + \ + collect_data_files('bokeh') + +# bokeh >= 3.0.0 sets its __version__ from metadata +if is_module_satisfies('bokeh >= 3.0.0'): + datas += copy_metadata('bokeh') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-boto.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-boto.py new file mode 100644 index 0000000..4ee2144 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-boto.py @@ -0,0 +1,25 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# +# Boto3, the next version of Boto, is now stable and recommended for general +# use. +# +# Boto is an integrated interface to current and future infrastructural +# services offered by Amazon Web Services. +# +# http://boto.readthedocs.org/en/latest/ +# +# Tested with boto 2.38.0 + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('boto') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-boto3.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-boto3.py new file mode 100644 index 0000000..579463c --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-boto3.py @@ -0,0 +1,29 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# +# Boto is the Amazon Web Services (AWS) SDK for Python, which allows Python +# developers to write software that makes use of Amazon services like S3 and +# EC2. Boto provides an easy to use, object-oriented API as well as low-level +# direct service access. +# +# http://boto3.readthedocs.org/en/latest/ +# +# Tested with boto3 1.2.1 + +from PyInstaller.utils.hooks import collect_data_files, collect_submodules + +hiddenimports = ( + collect_submodules('boto3.dynamodb') + + collect_submodules('boto3.ec2') + + collect_submodules('boto3.s3') +) +datas = collect_data_files('boto3') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-botocore.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-botocore.py new file mode 100644 index 0000000..47ab1a0 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-botocore.py @@ -0,0 +1,30 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# +# Botocore is a low-level interface to a growing number of Amazon Web Services. +# Botocore serves as the foundation for the AWS-CLI command line utilities. It +# will also play an important role in the boto3.x project. +# +# The botocore package is compatible with Python versions 2.6.5, Python 2.7.x, +# and Python 3.3.x and higher. +# +# https://botocore.readthedocs.org/en/latest/ +# +# Tested with botocore 1.4.36 + +from PyInstaller.utils.hooks import collect_data_files +from PyInstaller.utils.hooks import is_module_satisfies + +if is_module_satisfies('botocore >= 1.4.36'): + hiddenimports = ['html.parser'] + +datas = collect_data_files('botocore') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-branca.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-branca.py new file mode 100644 index 0000000..9cb01f9 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-branca.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("branca") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cairocffi.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cairocffi.py new file mode 100644 index 0000000..c7db979 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cairocffi.py @@ -0,0 +1,45 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +import ctypes.util +import os + +from PyInstaller.depend.utils import _resolveCtypesImports +from PyInstaller.utils.hooks import collect_data_files, is_module_satisfies, logger + +datas = collect_data_files("cairocffi") + +binaries = [] + +# NOTE: Update this if cairocffi requires more libraries +libs = ["cairo-2", "cairo", "libcairo-2"] + +try: + lib_basenames = [] + for lib in libs: + libname = ctypes.util.find_library(lib) + if libname is not None: + lib_basenames += [os.path.basename(libname)] + + if lib_basenames: + resolved_libs = _resolveCtypesImports(lib_basenames) + for resolved_lib in resolved_libs: + binaries.append((resolved_lib[1], '.')) +except Exception as e: + logger.warning("Error while trying to find system-installed Cairo library: %s", e) + +if not binaries: + logger.warning("Cairo library not found - cairocffi will likely fail to work!") + +# cairocffi 1.6.0 requires cairocffi/constants.py source file, so make sure it is collected. +# The module collection mode setting requires PyInstaller >= 5.3. +if is_module_satisfies('cairocffi >= 1.6.0'): + module_collection_mode = {'cairocffi.constants': 'pyz+py'} diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cairosvg.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cairosvg.py new file mode 100644 index 0000000..6098bf2 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cairosvg.py @@ -0,0 +1,40 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +import ctypes.util +import os + +from PyInstaller.depend.utils import _resolveCtypesImports +from PyInstaller.utils.hooks import collect_data_files, logger + +datas = collect_data_files("cairosvg") + +binaries = [] + +# NOTE: Update this if cairosvg requires more libraries +libs = ["cairo-2", "cairo", "libcairo-2"] + +try: + lib_basenames = [] + for lib in libs: + libname = ctypes.util.find_library(lib) + if libname is not None: + lib_basenames += [os.path.basename(libname)] + + if lib_basenames: + resolved_libs = _resolveCtypesImports(lib_basenames) + for resolved_lib in resolved_libs: + binaries.append((resolved_lib[1], '.')) +except Exception as e: + logger.warning("Error while trying to find system-installed Cairo library: %s", e) + +if not binaries: + logger.warning("Cairo library not found - cairosvg will likely fail to work!") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-capstone.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-capstone.py new file mode 100644 index 0000000..3f18043 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-capstone.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +from PyInstaller.utils.hooks import collect_dynamic_libs + +# Collect needed libraries for capstone +binaries = collect_dynamic_libs('capstone') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cassandra.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cassandra.py new file mode 100644 index 0000000..1ebd1dd --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cassandra.py @@ -0,0 +1,22 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# +# A modern, feature-rich and highly-tunable Python client library for Apache Cassandra (2.1+) and +# DataStax Enterprise (4.7+) using exclusively Cassandra's binary protocol and Cassandra Query Language v3. +# +# http://datastax.github.io/python-driver/api/index.html +# +# Tested with cassandra-driver 3.25.0 + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules('cassandra') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-celpy.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-celpy.py new file mode 100644 index 0000000..6d66a0e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-celpy.py @@ -0,0 +1,24 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# +# cel-python is Pure Python implementation of Google Common Expression Language, +# https://opensource.google/projects/cel +# This implementation has minimal dependencies, runs quickly, and can be embedded into Python-based applications. +# Specifically, the intent is to be part of Cloud Custodian, C7N, as part of the security policy filter. +# https://github.com/cloud-custodian/cel-python +# +# Tested with cel-python 0.1.5 + +from PyInstaller.utils.hooks import collect_data_files + +# Collect *.lark file(s) from the package +datas = collect_data_files('celpy') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-certifi.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-certifi.py new file mode 100644 index 0000000..22c3d0b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-certifi.py @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Certifi is a carefully curated collection of Root Certificates for +# validating the trustworthiness of SSL certificates while verifying +# the identity of TLS hosts. + +# It has been extracted from the Requests project. + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('certifi') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cf_units.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cf_units.py new file mode 100644 index 0000000..e8c1f3f --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cf_units.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +# Include data files from cf_units/etc sub-directory. +datas = collect_data_files('cf_units', includes=['etc/**']) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cftime.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cftime.py new file mode 100644 index 0000000..20cfc82 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cftime.py @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# The cftime._cftime is a cython exension with following hidden imports: +hiddenimports = [ + 're', + 'time', + 'datetime', + 'warnings', + 'numpy', + 'cftime._strptime', +] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-charset_normalizer.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-charset_normalizer.py new file mode 100644 index 0000000..17618ac --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-charset_normalizer.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies + +if is_module_satisfies("charset_normalizer >= 3.0.1"): + hiddenimports = ["charset_normalizer.md__mypyc"] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cloudpickle.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cloudpickle.py new file mode 100644 index 0000000..bfaff37 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cloudpickle.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies + +# cloudpickle to 3.0.0 keeps `cloudpickle_fast` module around for backward compatibility with existing pickled data, +# but does not import it directly anymore. Ensure it is collected nevertheless. +if is_module_satisfies("cloudpickle >= 3.0.0"): + hiddenimports = ["cloudpickle.cloudpickle_fast"] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cloudscraper.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cloudscraper.py new file mode 100644 index 0000000..3656f24 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cloudscraper.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('cloudscraper') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-clr.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-clr.py new file mode 100644 index 0000000..3004f1d --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-clr.py @@ -0,0 +1,60 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# There is a name clash between pythonnet's clr module/extension (which this hooks is for) and clr package that provides +# the terminal styling library (https://pypi.org/project/clr/). Therefore, we must first check if pythonnet is actually +# available... +from PyInstaller.utils.hooks import is_module_satisfies +from PyInstaller.compat import is_win + +if is_module_satisfies("pythonnet"): + # pythonnet requires both clr.pyd and Python.Runtime.dll, but the latter isn't found by PyInstaller. + import ctypes.util + from PyInstaller.log import logger + + try: + import importlib.metadata as importlib_metadata + except ImportError: + import importlib_metadata + + collected_runtime_files = [] + + # Try finding Python.Runtime.dll via distribution's file list + dist_files = importlib_metadata.files('pythonnet') + if dist_files is not None: + runtime_dll_files = [f for f in dist_files if f.match('Python.Runtime.dll')] + if len(runtime_dll_files) == 1: + runtime_dll_file = runtime_dll_files[0] + collected_runtime_files = [(runtime_dll_file.locate(), runtime_dll_file.parent.as_posix())] + logger.debug("hook-clr: Python.Runtime.dll discovered via metadata.") + elif len(runtime_dll_files) > 1: + logger.warning("hook-clr: multiple instances of Python.Runtime.dll listed in metadata - cannot resolve.") + + # Fall back to the legacy way + if not collected_runtime_files: + runtime_dll_file = ctypes.util.find_library('Python.Runtime') + if runtime_dll_file: + collected_runtime_files = [(runtime_dll_file, '.')] + logger.debug('hook-clr: Python.Runtime.dll discovered via legacy method.') + + if not collected_runtime_files: + raise Exception('Python.Runtime.dll not found') + + # On Windows, collect runtime DLL file(s) as binaries; on other OSes, collect them as data files, to prevent fatal + # errors in binary dependency analysis. + if is_win: + binaries = collected_runtime_files + else: + datas = collected_runtime_files + + # These modules are imported inside Python.Runtime.dll + hiddenimports = ["platform", "warnings"] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-clr_loader.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-clr_loader.py new file mode 100644 index 0000000..e997c41 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-clr_loader.py @@ -0,0 +1,22 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.compat import is_win, is_cygwin +from PyInstaller.utils.hooks import collect_dynamic_libs + +# The clr-loader is used by pythonnet 3.x to load CLR (.NET) runtime. +# On Windows, the default runtime is the .NET Framework, and its corresponding +# loader requires DLLs from clr_loader\ffi\dlls to be collected. This runtime +# is supported only on Windows, so we do not have to worry about it on other +# OSes (where Mono or .NET Core are supported). +if is_win or is_cygwin: + binaries = collect_dynamic_libs("clr_loader") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cmocean.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cmocean.py new file mode 100644 index 0000000..d7201b5 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cmocean.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("cmocean", subdir="rgb") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-compliance_checker.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-compliance_checker.py new file mode 100644 index 0000000..d8fb4be --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-compliance_checker.py @@ -0,0 +1,22 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules, copy_metadata, collect_data_files + +# Collect submodules to ensure that checker plugins are collected. but avoid collecting tests sub-package. +hiddenimports = collect_submodules('compliance_checker', filter=lambda name: name != 'compliance_checker.tests') + +# Copy metadata, because checker plugins are discovered via entry-points +datas = copy_metadata('compliance_checker') + +# Include data files from compliance_checker/data sub-directory. +datas += collect_data_files('compliance_checker', includes=['data/**']) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-comtypes.client.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-comtypes.client.py new file mode 100644 index 0000000..a96e16d --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-comtypes.client.py @@ -0,0 +1,22 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# https://github.com/enthought/comtypes/blob/1.4.5/comtypes/client/_generate.py#L271-L280 +hiddenimports = [ + "comtypes.persist", + "comtypes.typeinfo", + "comtypes.automation", + "comtypes.stream", + "comtypes", + "ctypes.wintypes", + "ctypes", +] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-countrycode.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-countrycode.py new file mode 100644 index 0000000..535105d --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-countrycode.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('countrycode') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-countryinfo.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-countryinfo.py new file mode 100644 index 0000000..aa05a06 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-countryinfo.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata, collect_data_files + +datas = copy_metadata("countryinfo") + collect_data_files("countryinfo") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cryptography.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cryptography.py new file mode 100644 index 0000000..4e55d49 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cryptography.py @@ -0,0 +1,132 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Hook for cryptography module from the Python Cryptography Authority. +""" + +import os +import glob +import pathlib + +from PyInstaller import compat +from PyInstaller import isolated +from PyInstaller.utils.hooks import ( + collect_submodules, + copy_metadata, + get_module_file_attribute, + is_module_satisfies, + logger, +) + +# get the package data so we can load the backends +datas = copy_metadata('cryptography') + +# Add the backends as hidden imports +hiddenimports = collect_submodules('cryptography.hazmat.backends') + +# Add the OpenSSL FFI binding modules as hidden imports +hiddenimports += collect_submodules('cryptography.hazmat.bindings.openssl') + ['_cffi_backend'] + + +# Include the cffi extensions as binaries in a subfolder named like the package. +# The cffi verifier expects to find them inside the package directory for +# the main module. We cannot use hiddenimports because that would add the modules +# outside the package. +# NOTE: this is not true anymore with PyInstaller >= 6.0, but we keep it like this for compatibility with 5.x series. +binaries = [] +cryptography_dir = os.path.dirname(get_module_file_attribute('cryptography')) +for ext in compat.EXTENSION_SUFFIXES: + ffimods = glob.glob(os.path.join(cryptography_dir, '*_cffi_*%s*' % ext)) + for f in ffimods: + binaries.append((f, 'cryptography')) + + +# Check if `cryptography` is dynamically linked against OpenSSL >= 3.0.0. In that case, we might need to collect +# external OpenSSL modules, if OpenSSL was built with modules support. It seems the best indication of this is the +# presence of `ossl-modules` directory next to the OpenSSL shared library. +# +# NOTE: PyPI wheels ship with extensions statically linked against OpenSSL, so this is mostly catering alternative +# installation methods (Anaconda on all OSes, Homebrew on macOS, various linux distributions). +try: + @isolated.decorate + def _check_cryptography_openssl3(): + # Check if OpenSSL 3 is used. + from cryptography.hazmat.backends.openssl.backend import backend + openssl_version = backend.openssl_version_number() + if openssl_version < 0x30000000: + return False, None + + # Obtain path to the bindings module for binary dependency analysis. Under older versions of cryptography, + # this was a separate `_openssl` module; in contemporary versions, it is `_rust` module. + try: + import cryptography.hazmat.bindings._openssl as bindings_module + except ImportError: + import cryptography.hazmat.bindings._rust as bindings_module + + return True, str(bindings_module.__file__) + + uses_openssl3, bindings_module = _check_cryptography_openssl3() +except Exception: + logger.warning( + "hook-cryptography: failed to determine whether cryptography is using OpenSSL >= 3.0.0", exc_info=True + ) + uses_openssl3, bindings_module = False, None + +if uses_openssl3: + # Determine location of OpenSSL shared library, provided that extension module is dynamically linked against it. + # This requires the new PyInstaller.bindepend API from PyInstaller >= 6.0. + openssl_lib = None + if is_module_satisfies("PyInstaller >= 6.0"): + from PyInstaller.depend import bindepend + + if compat.is_win: + SSL_LIB_NAME = 'libssl-3-x64.dll' if compat.is_64bits else 'libssl-3.dll' + elif compat.is_darwin: + SSL_LIB_NAME = 'libssl.3.dylib' + else: + SSL_LIB_NAME = 'libssl.so.3' + + linked_libs = bindepend.get_imports(bindings_module) + openssl_lib = [ + # Compare the basename of lib_name, because lib_fullpath is None if we fail to resolve the library. + lib_fullpath for lib_name, lib_fullpath in linked_libs if os.path.basename(lib_name) == SSL_LIB_NAME + ] + openssl_lib = openssl_lib[0] if openssl_lib else None + else: + logger.warning( + "hook-cryptography: full support for cryptography + OpenSSL >= 3.0.0 requires PyInstaller >= 6.0" + ) + + # Check for presence of ossl-modules directory next to the OpenSSL shared library. + if openssl_lib: + logger.info("hook-cryptography: cryptography uses dynamically-linked OpenSSL: %r", openssl_lib) + + openssl_lib_dir = pathlib.Path(openssl_lib).parent + + # Collect whole ossl-modules directory, if it exists. + ossl_modules_dir = openssl_lib_dir / 'ossl-modules' + + # Msys2/MinGW installations on Windows put the shared library into `bin` directory, but the modules are + # located in `lib` directory. Account for that possibility. + if not ossl_modules_dir.is_dir() and openssl_lib_dir.name == 'bin': + ossl_modules_dir = openssl_lib_dir.parent / 'lib' / 'ossl-modules' + + # On Alpine linux, the true location of shared library is /lib directory, but the modules' directory is located + # in /usr/lib instead. Account for that possibility. + if not ossl_modules_dir.is_dir() and openssl_lib_dir == pathlib.Path('/lib'): + ossl_modules_dir = pathlib.Path('/usr/lib/ossl-modules') + + if ossl_modules_dir.is_dir(): + logger.debug("hook-cryptography: collecting OpenSSL modules directory: %r", str(ossl_modules_dir)) + binaries.append((str(ossl_modules_dir), 'ossl-modules')) + else: + logger.info("hook-cryptography: cryptography does not seem to be using dynamically linked OpenSSL.") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-customtkinter.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-customtkinter.py new file mode 100644 index 0000000..0247ad6 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-customtkinter.py @@ -0,0 +1,14 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("customtkinter") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cv2.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cv2.py new file mode 100644 index 0000000..d6573c1 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cv2.py @@ -0,0 +1,168 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +import sys +import os +import glob +import pathlib + +import PyInstaller.utils.hooks as hookutils +from PyInstaller import compat + +hiddenimports = ['numpy'] + +# On Windows, make sure that opencv_videoio_ffmpeg*.dll is bundled +binaries = [] +if compat.is_win: + # If conda is active, look for the DLL in its library path + if compat.is_conda: + libdir = os.path.join(compat.base_prefix, 'Library', 'bin') + pattern = os.path.join(libdir, 'opencv_videoio_ffmpeg*.dll') + for f in glob.glob(pattern): + + binaries.append((f, '.')) + + # Include any DLLs from site-packages/cv2 (opencv_videoio_ffmpeg*.dll + # can be found there in the PyPI version) + binaries += hookutils.collect_dynamic_libs('cv2') + +# Collect auxiliary sub-packages, such as `cv2.gapi`, `cv2.mat_wrapper`, `cv2.misc`, and `cv2.utils`. This also +# picks up submodules with valid module names, such as `cv2.config`, `cv2.load_config_py2`, and `cv2.load_config_py3`. +# Therefore, filter out `cv2.load_config_py2`. +hiddenimports += hookutils.collect_submodules('cv2', filter=lambda name: name != 'cv2.load_config_py2') + +# We also need to explicitly exclude `cv2.load_config_py2` due to it being imported in `cv2.__init__`. +excludedimports = ['cv2.load_config_py2'] + +# OpenCV loader from 4.5.4.60 requires extra config files and modules. +# We need to collect `config.py` and `load_config_py3`; to improve compatibility with PyInstaller < 5.2, where +# `module_collection_mode` (see below) is not implemented. +# We also need to collect `config-3.py` or `config-3.X.py`, whichever is available (the former is usually +# provided by PyPI wheels, while the latter seems to be used when user builds OpenCV from source). +datas = hookutils.collect_data_files( + 'cv2', + include_py_files=True, + includes=[ + 'config.py', + f'config-{sys.version_info[0]}.{sys.version_info[1]}.py', + 'config-3.py', + 'load_config_py3.py', + ], +) + + +# The OpenCV versions that attempt to perform module substitution via sys.path manipulation (== 4.5.4.58, >= 4.6.0.66) +# do not directly import the cv2.cv2 extension anymore, so in order to ensure it is collected, we would need to add it +# to hidden imports. However, when OpenCV is built by user from source, the extension is not located in the package's +# root directory, but in python-3.X sub-directory, which precludes referencing via module name due to sub-directory +# not being a valid subpackage name. Hence, emulate the OpenCV's loader and execute `config-3.py` or `config-3.X.py` +# to obtain the search path. +def find_cv2_extension(config_file): + # Prepare environment + PYTHON_EXTENSIONS_PATHS = [] + LOADER_DIR = os.path.dirname(os.path.abspath(os.path.realpath(config_file))) + + global_vars = globals().copy() + local_vars = locals().copy() + + # Exec the config file + with open(config_file) as fp: + code = compile(fp.read(), os.path.basename(config_file), 'exec') + exec(code, global_vars, local_vars) + + # Read the modified PYTHON_EXTENSIONS_PATHS + PYTHON_EXTENSIONS_PATHS = local_vars['PYTHON_EXTENSIONS_PATHS'] + if not PYTHON_EXTENSIONS_PATHS: + return None + + # Search for extension file + for extension_path in PYTHON_EXTENSIONS_PATHS: + extension_path = pathlib.Path(extension_path) + if compat.is_win: + extension_files = list(extension_path.glob('cv2*.pyd')) + else: + extension_files = list(extension_path.glob('cv2*.so')) + if extension_files: + if len(extension_files) > 1: + hookutils.logger.warning("Found multiple cv2 extension candidates: %s", extension_files) + extension_file = extension_files[0] # Take first (or hopefully the only one) + + hookutils.logger.debug("Found cv2 extension module: %s", extension_file) + + # Compute path relative to parent of config file (which should be the package's root) + dest_dir = pathlib.Path("cv2") / extension_file.parent.relative_to(LOADER_DIR) + return str(extension_file), str(dest_dir) + + hookutils.logger.warning( + "Could not find cv2 extension module! Config file: %s, search paths: %s", + config_file, PYTHON_EXTENSIONS_PATHS) + + return None + + +config_file = [ + src_path for src_path, _ in datas + if os.path.basename(src_path) in (f'config-{sys.version_info[0]}.{sys.version_info[1]}.py', 'config-3.py') +] + +if config_file: + try: + extension_info = find_cv2_extension(config_file[0]) + if extension_info: + ext_src, ext_dst = extension_info + # Due to bug in PyInstaller's TOC structure implementation (affecting PyInstaller up to latest version at + # the time of writing, 5.9), we fail to properly resolve `cv2.cv2` EXTENSION entry's destination name if + # we already have a BINARY entry with the same destination name. This results in verbatim `cv2.cv2` file + # created in application directory in addition to the proper copy in the `cv2` sub-directoy. + # Therefoe, if destination directory of the cv2 extension module is the top-level package directory, fall + # back to using hiddenimports instead. + if ext_dst == 'cv2': + # Extension found in top-level package directory; likely a PyPI wheel. + hiddenimports += ['cv2.cv2'] + else: + # Extension found in sub-directory; use BINARY entry + binaries += [extension_info] + except Exception: + hookutils.logger.warning("Failed to determine location of cv2 extension module!", exc_info=True) + + +# Mark the cv2 package to be collected in source form, bypassing PyInstaller's PYZ archive and FrozenImporter. This is +# necessary because recent versions of cv2 package attempt to perform module substritution via sys.path manipulation, +# which is incompatible with the way that FrozenImporter works. This requires pyinstaller/pyinstaller#6945, i.e., +# PyInstaller >= 5.3. On earlier versions, the following statement does nothing, and problematic cv2 versions +# (== 4.5.4.58, >= 4.6.0.66) will not work. +# +# Note that the collect_data_files() above is still necessary, because some of the cv2 loader's config scripts are not +# valid module names (e.g., config-3.py). So the two collection approaches are complementary, and any overlap in files +# (e.g., __init__.py) is handled gracefully due to PyInstaller's uniqueness constraints on collected files. +module_collection_mode = 'py' + +# In linux PyPI opencv-python wheels, the cv2 extension is linked against Qt, and the wheel bundles a basic subset of Qt +# shared libraries, plugins, and font files. This is not the case on other OSes (presumably native UI APIs are used by +# OpenCV HighGUI module), nor in the headless PyPI wheels (opencv-python-headless). +# The bundled Qt shared libraries should be picked up automatically due to binary dependency analysis, but we need to +# collect plugins and font files from the `qt` subdirectory. +if compat.is_linux: + pkg_path = pathlib.Path(hookutils.get_module_file_attribute('cv2')).parent + # Collect .ttf files fron fonts directory. + # NOTE: since we are using glob, we can skip checks for (sub)directories' existence. + qt_fonts_dir = pkg_path / 'qt' / 'fonts' + datas += [ + (str(font_file), str(font_file.parent.relative_to(pkg_path.parent))) + for font_file in qt_fonts_dir.rglob('*.ttf') + ] + # Collect .so files from plugins directory. + qt_plugins_dir = pkg_path / 'qt' / 'plugins' + binaries += [ + (str(plugin_file), str(plugin_file.parent.relative_to(pkg_path.parent))) + for plugin_file in qt_plugins_dir.rglob('*.so') + ] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cx_Oracle.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cx_Oracle.py new file mode 100644 index 0000000..ae5daa8 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cx_Oracle.py @@ -0,0 +1,13 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +hiddenimports = ['decimal'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cytoolz.itertoolz.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cytoolz.itertoolz.py new file mode 100644 index 0000000..fcba975 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-cytoolz.itertoolz.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for the cytoolz package: https://pypi.python.org/pypi/cytoolz +# Tested with cytoolz 0.9.0 and Python 3.5.2, on Ubuntu Linux x64 + +hiddenimports = ['cytoolz.utils', 'cytoolz._signatures'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dash.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dash.py new file mode 100644 index 0000000..07a3fe8 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dash.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('dash') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dash_bootstrap_components.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dash_bootstrap_components.py new file mode 100644 index 0000000..8028d14 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dash_bootstrap_components.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('dash_bootstrap_components') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dash_core_components.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dash_core_components.py new file mode 100644 index 0000000..a41fe5a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dash_core_components.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('dash_core_components') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dash_html_components.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dash_html_components.py new file mode 100644 index 0000000..077d8a5 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dash_html_components.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('dash_html_components') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dash_renderer.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dash_renderer.py new file mode 100644 index 0000000..854f87e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dash_renderer.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('dash_renderer') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dash_table.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dash_table.py new file mode 100644 index 0000000..b7bb600 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dash_table.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('dash_table') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dash_uploader.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dash_uploader.py new file mode 100644 index 0000000..f9bf99b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dash_uploader.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('dash_uploader') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dask.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dask.py new file mode 100644 index 0000000..a11f7b7 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dask.py @@ -0,0 +1,19 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2020, PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import collect_data_files + +# Collect data files: +# - dask.yaml +# - dask-schema.yaml +# - widgets/templates/*.html.j2 (but avoid collecting files from `widgets/tests/templates`!) +datas = collect_data_files('dask', includes=['*.yml', '*.yaml', 'widgets/templates/*.html.j2']) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-datasets.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-datasets.py new file mode 100644 index 0000000..1ff1a61 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-datasets.py @@ -0,0 +1,14 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Collect source .py files for JIT/torchscript. Requires PyInstaller >= 5.3, no-op in older versions. +module_collection_mode = 'pyz+py' diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dateparser.utils.strptime.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dateparser.utils.strptime.py new file mode 100644 index 0000000..35e6c92 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dateparser.utils.strptime.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for dateparser: https://pypi.org/project/dateparser/ + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = ["_strptime"] + collect_submodules('dateparser.data') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dateutil.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dateutil.py new file mode 100644 index 0000000..54abddf --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dateutil.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("dateutil") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dbus_fast.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dbus_fast.py new file mode 100644 index 0000000..4e2eb72 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dbus_fast.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules + +# Collect all submodules to handle imports made from cythonized extensions. +hiddenimports = collect_submodules('dbus_fast') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dclab.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dclab.py new file mode 100644 index 0000000..3179a16 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dclab.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for dclab: https://pypi.python.org/pypi/dclab + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('dclab') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-detectron2.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-detectron2.py new file mode 100644 index 0000000..1ff1a61 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-detectron2.py @@ -0,0 +1,14 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Collect source .py files for JIT/torchscript. Requires PyInstaller >= 5.3, no-op in older versions. +module_collection_mode = 'pyz+py' diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-discid.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-discid.py new file mode 100644 index 0000000..37cba62 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-discid.py @@ -0,0 +1,40 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +import os + +from PyInstaller.utils.hooks import get_module_attribute, logger +from PyInstaller.depend.utils import _resolveCtypesImports + +binaries = [] + +# Use the _LIB_NAME attribute of discid.libdiscid to resolve the shared library name. This saves us from having to +# duplicate the name guessing logic from discid.libdiscid. +# On error, PyInstaller >= 5.0 raises exception, earlier versions return an empty string. +try: + lib_name = get_module_attribute("discid.libdiscid", "_LIB_NAME") +except Exception: + lib_name = None + +if lib_name: + lib_name = os.path.basename(lib_name) + try: + resolved_binary = _resolveCtypesImports([lib_name]) + lib_file = resolved_binary[0][1] + except Exception as e: + lib_file = None + logger.warning("Error while trying to resolve %s: %s", lib_name, e) + + if lib_file: + binaries += [(lib_file, '.')] +else: + logger.warning("Failed to determine name of libdiscid shared library from _LIB_NAME attribute of discid.libdiscid!") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-distorm3.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-distorm3.py new file mode 100644 index 0000000..b2fb731 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-distorm3.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for the diStorm3 module: https://pypi.python.org/pypi/distorm3 +# Tested with distorm3 3.3.0, Python 2.7, Windows + +from PyInstaller.utils.hooks import collect_dynamic_libs + +# distorm3 dynamic library should be in the path with other dynamic libraries. +binaries = collect_dynamic_libs('distorm3', destdir='.') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-distributed.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-distributed.py new file mode 100644 index 0000000..d1072d9 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-distributed.py @@ -0,0 +1,29 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2025, PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import collect_data_files, collect_submodules + +# Collect submodules of distributed.http, many of which are imported indirectly. +hiddenimports = collect_submodules("distributed.http") + +# Collect data files (distributed.yaml, distributed-schema.yaml, templates). +datas = collect_data_files("distributed") + +# `distributed.dashboard.components.scheduler` attempts to refer to data files relative to its parent directory, but +# with non-normalized '..' elements in the path (e.g., `_MEIPASS/distributed/dashboard/components/../theme.yaml`). On +# POSIX systems, such paths are treated as non-existent if a component does not exist, even if the file exists at the +# normalized location (i.e., if `_MEIPASS/distributed/dashboard/theme.yaml` file exists but +# `_MEIPASS/distributed/dashboard/components` directory does not). As a work around, collect source .py files from +# `distributed.dashboard.components` to ensure existence of the `components` directory. +module_collection_mode = { + 'distributed.dashboard.components': 'pyz+py', +} diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dns.rdata.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dns.rdata.py new file mode 100644 index 0000000..a185ad9 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dns.rdata.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# This is hook for DNS python package dnspython. + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules('dns.rdtypes') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-docutils.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-docutils.py new file mode 100644 index 0000000..9d4ee79 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-docutils.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules, collect_data_files + +hiddenimports = (collect_submodules('docutils.languages') + + collect_submodules('docutils.writers') + + collect_submodules('docutils.parsers.rst.languages') + + collect_submodules('docutils.parsers.rst.directives')) +datas = collect_data_files('docutils') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-docx.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-docx.py new file mode 100644 index 0000000..aefe64e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-docx.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("docx") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-docx2pdf.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-docx2pdf.py new file mode 100644 index 0000000..c746417 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-docx2pdf.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later. +# ------------------------------------------------------------------ + +# Hook for docx2pdf: https://pypi.org/project/docx2pdf/ + +from PyInstaller.utils.hooks import copy_metadata, collect_data_files + +datas = copy_metadata('docx2pdf') +datas += collect_data_files('docx2pdf') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dynaconf.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dynaconf.py new file mode 100644 index 0000000..08c809a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-dynaconf.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +hiddenimports = ['dynaconf.loaders.env_loader', + 'dynaconf.loaders.redis_loader', + 'dynaconf.loaders.vault.loader'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-easyocr.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-easyocr.py new file mode 100644 index 0000000..a868875 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-easyocr.py @@ -0,0 +1,18 @@ +from PyInstaller.utils.hooks import collect_data_files, get_hook_config + +# Recognition backends are imported with `importlib.import_module()`. +hiddenimports = ['easyocr.model.vgg_model', 'easyocr.model.model'] + + +def hook(hook_api): + lang_codes = get_hook_config(hook_api, 'easyocr', 'lang_codes') + if not lang_codes: + lang_codes = ['*'] + + extra_datas = list() + extra_datas += collect_data_files('easyocr', include_py_files=False, subdir='character', + includes=[f'{lang_code}_char.txt' for lang_code in lang_codes]) + extra_datas += collect_data_files('easyocr', include_py_files=False, subdir='dict', + includes=[f'{lang_code}.txt' for lang_code in lang_codes]) + + hook_api.add_datas(extra_datas) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eccodeslib.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eccodeslib.py new file mode 100644 index 0000000..b04e500 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eccodeslib.py @@ -0,0 +1,20 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_dynamic_libs + +# Collect bundled dynamic libraries. +binaries = collect_dynamic_libs('eccodeslib') + +# `eccodeslib` depends on `eckitlib` and `fckitlib`, and when libraries are being imported at run-time by +# `findlibs.find()` user warnings are emitted if these packages cannot be imported. +hiddenimports = ['eckitlib', 'fckitlib'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eckitlib.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eckitlib.py new file mode 100644 index 0000000..99a8786 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eckitlib.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_dynamic_libs + +# Collect bundled dynamic libraries. +binaries = collect_dynamic_libs('eckitlib') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eel.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eel.py new file mode 100644 index 0000000..ceeb974 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eel.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('eel') +hiddenimports = ['bottle_websocket'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-emoji.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-emoji.py new file mode 100644 index 0000000..ecdf1fd --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-emoji.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('emoji') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-enchant.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-enchant.py new file mode 100644 index 0000000..ef1aa8a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-enchant.py @@ -0,0 +1,65 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Import hook for PyEnchant. + +Tested with PyEnchant 1.6.6. +""" + +import os + +from PyInstaller.compat import is_darwin +from PyInstaller.utils.hooks import exec_statement, collect_data_files, \ + collect_dynamic_libs, get_installer + +# TODO Add Linux support +# Collect first all files that were installed directly into pyenchant +# package directory and this includes: +# - Windows: libenchat-1.dll, libenchat_ispell.dll, libenchant_myspell.dll, other +# dependent dlls and dictionaries for several languages (de, en, fr) +# - Mac OS X: usually libenchant.dylib and several dictionaries when installed via pip. +binaries = collect_dynamic_libs('enchant') +datas = collect_data_files('enchant') +excludedimports = ['enchant.tests'] + +# On OS X try to find files from Homebrew or Macports environments. +if is_darwin: + # Note: env. var. ENCHANT_PREFIX_DIR is implemented only in the development version: + # https://github.com/AbiWord/enchant + # https://github.com/AbiWord/enchant/pull/2 + # TODO Test this hook with development version of enchant. + libenchant = exec_statement(""" + from enchant._enchant import e + print(e._name) + """).strip() + + installer = get_installer('enchant') + if installer != 'pip': + # Note: Name of detected enchant library is 'libenchant.dylib'. However, it + # is just symlink to 'libenchant.1.dylib'. + binaries.append((libenchant, '.')) + + # Collect enchant backends from Macports. Using same file structure as on Windows. + backends = exec_statement(""" + from enchant import Broker + for provider in Broker().describe(): + print(provider.file)""").strip().split() + binaries.extend([(b, 'enchant/lib/enchant') for b in backends]) + + # Collect all available dictionaries from Macports. Using same file structure as on Windows. + # In Macports are available mostly hunspell (myspell) and aspell dictionaries. + libdir = os.path.dirname(libenchant) # e.g. /opt/local/lib + sharedir = os.path.join(os.path.dirname(libdir), 'share') # e.g. /opt/local/share + if os.path.exists(os.path.join(sharedir, 'enchant')): + datas.append((os.path.join(sharedir, 'enchant'), 'enchant/share/enchant')) + if os.path.exists(os.path.join(sharedir, 'enchant-2')): + datas.append((os.path.join(sharedir, 'enchant-2'), 'enchant/share/enchant-2')) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eng_to_ipa.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eng_to_ipa.py new file mode 100644 index 0000000..5a78114 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eng_to_ipa.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('eng_to_ipa') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ens.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ens.py new file mode 100644 index 0000000..89e496e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ens.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("ens") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-enzyme.parsers.ebml.core.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-enzyme.parsers.ebml.core.py new file mode 100644 index 0000000..047274c --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-enzyme.parsers.ebml.core.py @@ -0,0 +1,25 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +enzyme: +https://github.com/Diaoul/enzyme +""" + +import os +from PyInstaller.utils.hooks import get_package_paths + +# get path of enzyme +ep = get_package_paths('enzyme') + +# add the data +data = os.path.join(ep[1], 'parsers', 'ebml', 'specs', 'matroska.xml') +datas = [(data, "enzyme/parsers/ebml/specs")] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_abi.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_abi.py new file mode 100644 index 0000000..75c26f0 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_abi.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata("eth_abi") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_account.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_account.py new file mode 100644 index 0000000..1a9c8f5 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_account.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata("eth_account") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_hash.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_hash.py new file mode 100644 index 0000000..0c9d50e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_hash.py @@ -0,0 +1,20 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules, copy_metadata, is_module_satisfies + +# The ``eth_hash.utils.load_backend`` function does a dynamic import. +hiddenimports = collect_submodules('eth_hash.backends') + +# As of eth-hash 0.6.0, it uses importlib.metadata.version() set its __version__ attribute +if is_module_satisfies("eth-hash >= 0.6.0"): + datas = copy_metadata("eth-hash") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_keyfile.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_keyfile.py new file mode 100644 index 0000000..2d9453a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_keyfile.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata("eth_keyfile") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_keys.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_keys.py new file mode 100644 index 0000000..d96535e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_keys.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata, is_module_satisfies + +# As of eth-keys 0.5.0, it uses importlib.metadata.version() set its __version__ attribute +if is_module_satisfies("eth-keys >= 0.5.0"): + datas = copy_metadata("eth-keys") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_rlp.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_rlp.py new file mode 100644 index 0000000..01943a6 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_rlp.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies, copy_metadata + +# Starting with v1.0.0, `eth_rlp` queries its version from metadata. +if is_module_satisfies("eth-rlp >= 1.0.0"): + datas = copy_metadata('eth-rlp') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_typing.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_typing.py new file mode 100644 index 0000000..f31e4ca --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_typing.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata + +# eth-typing queries it's own version using importlib.metadata/pkg_resources. +datas = copy_metadata("eth-typing") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_utils.network.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_utils.network.py new file mode 100644 index 0000000..3bd88f9 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_utils.network.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("eth_utils") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_utils.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_utils.py new file mode 100644 index 0000000..a87ec3c --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-eth_utils.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata("eth_utils") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-exchangelib.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-exchangelib.py new file mode 100644 index 0000000..0c46bcc --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-exchangelib.py @@ -0,0 +1,12 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +hiddenimports = ['tzdata'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fabric.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fabric.py new file mode 100644 index 0000000..3367c0c --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fabric.py @@ -0,0 +1,22 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# +# Fabric is a high level Python (2.7, 3.4+) library designed to execute shell commands remotely over SSH, +# yielding useful Python objects in return +# +# https://docs.fabfile.org/en/latest +# +# Tested with fabric 2.6.0 + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('fabric') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fairscale.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fairscale.py new file mode 100644 index 0000000..8b5d53d --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fairscale.py @@ -0,0 +1,14 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Collect source .py files for JIT/torchscript. Requires PyInstaller >= 5.3, no-op in older versions. +module_collection_mode = 'pyz+py' diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-faker.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-faker.py new file mode 100644 index 0000000..1d5b039 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-faker.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules, collect_data_files + +hiddenimports = collect_submodules('faker.providers') +datas = ( + collect_data_files('text_unidecode') + # noqa: W504 + collect_data_files('faker.providers', include_py_files=True) +) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-falcon.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-falcon.py new file mode 100644 index 0000000..1c1d2b1 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-falcon.py @@ -0,0 +1,41 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.compat import is_py311 +from PyInstaller.utils.hooks import is_module_satisfies + +hiddenimports = [ + 'cgi', + 'falcon.app_helpers', + 'falcon.forwarded', + 'falcon.media', + 'falcon.request_helpers', + 'falcon.responders', + 'falcon.response_helpers', + 'falcon.routing', + 'falcon.vendor.mimeparse', + 'falcon.vendor', + 'uuid', + 'xml.etree.ElementTree', + 'xml.etree' +] + +# falcon v4.0.0 added couple of more cythonized modules that depend on the following stdlib modules. +if is_module_satisfies('falcon >= 4.0.0'): + hiddenimports += [ + 'dataclasses', + 'json', + ] + + # `wsgiref.types` is available (and thus referenced) only under python >= 3.11. + if is_py311: + hiddenimports += ['wsgiref.types'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fastai.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fastai.py new file mode 100644 index 0000000..1ff1a61 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fastai.py @@ -0,0 +1,14 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Collect source .py files for JIT/torchscript. Requires PyInstaller >= 5.3, no-op in older versions. +module_collection_mode = 'pyz+py' diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fastparquet.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fastparquet.py new file mode 100644 index 0000000..b43bbb4 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fastparquet.py @@ -0,0 +1,32 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +import os + +from PyInstaller.compat import is_win +from PyInstaller.utils.hooks import get_package_paths + +# In all versions for which fastparquet provides Windows wheels (>= 0.7.0), delvewheel is used, +# so we need to collect the external site-packages/fastparquet.libs directory. +if is_win: + pkg_base, pkg_dir = get_package_paths("fastparquet") + lib_dir = os.path.join(pkg_base, "fastparquet.libs") + if os.path.isdir(lib_dir): + # We collect DLLs as data files instead of binaries to suppress binary + # analysis, which would result in duplicates (because it collects a copy + # into the top-level directory instead of preserving the original layout). + # In addition to DLls, this also collects .load-order* file (required on + # python < 3.8), and ensures that fastparquet.libs directory exists (required + # on python >= 3.8 due to os.add_dll_directory call). + datas = [ + (os.path.join(lib_dir, lib_file), 'fastparquet.libs') + for lib_file in os.listdir(lib_dir) + ] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fckitlib.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fckitlib.py new file mode 100644 index 0000000..22fe17f --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fckitlib.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_dynamic_libs + +# Collect bundled dynamic libraries. +binaries = collect_dynamic_libs('fckitlib') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ffpyplayer.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ffpyplayer.py new file mode 100644 index 0000000..993d8b2 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ffpyplayer.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import eval_statement, collect_submodules + +hiddenimports = collect_submodules("ffpyplayer") +binaries = [] +# ffpyplayer has an internal variable tells us where the libraries it was using +for bin in eval_statement("import ffpyplayer; print(ffpyplayer.dep_bins)"): + binaries += [(bin, '.')] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fiona.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fiona.py new file mode 100644 index 0000000..1e6d3fa --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fiona.py @@ -0,0 +1,26 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files, is_module_satisfies + +hiddenimports = [ + "fiona._shim", + "fiona.schema", + "json", +] + +# As of fiona 1.9.0, `fiona.enums` is also a hidden import, made in cythonized `fiona.crs`. +if is_module_satisfies("fiona >= 1.9.0"): + hiddenimports.append("fiona.enums") + +# Collect data files that are part of the package (e.g., projections database) +datas = collect_data_files("fiona") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-flask_compress.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-flask_compress.py new file mode 100644 index 0000000..9e04195 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-flask_compress.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata('flask_compress') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-flask_restx.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-flask_restx.py new file mode 100644 index 0000000..c83b5b3 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-flask_restx.py @@ -0,0 +1,14 @@ +# ----------------------------------------------------------------------------- +# Copyright (c) 2005-2020, PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ----------------------------------------------------------------------------- +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('flask_restx') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-flex.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-flex.py new file mode 100644 index 0000000..3faaa82 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-flex.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# hook for https://github.com/pipermerriam/flex + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata('flex') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-flirpy.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-flirpy.py new file mode 100644 index 0000000..4c51397 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-flirpy.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Hook for flirpy, a library to interact with FLIR thermal imaging cameras and images. +https://github.com/LJMUAstroEcology/flirpy +""" + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('flirpy') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fmpy.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fmpy.py new file mode 100644 index 0000000..daeb3c6 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fmpy.py @@ -0,0 +1,25 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Hook for FMPy, a library to simulate Functional Mockup Units (FMUs) +https://github.com/CATIA-Systems/FMPy + +Adds the data files that are required at runtime: + +- XSD schema files +- dynamic libraries for the CVode solver +- source and header files for the compilation of c-code FMUs +""" + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('fmpy') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-folium.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-folium.py new file mode 100644 index 0000000..a6af178 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-folium.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +# Collect data files (templates) +datas = collect_data_files("folium") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-freetype.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-freetype.py new file mode 100644 index 0000000..0ae5c04 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-freetype.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_dynamic_libs + +# Collect the bundled freetype shared library, if available. +binaries = collect_dynamic_libs('freetype') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-frictionless.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-frictionless.py new file mode 100644 index 0000000..fc0ff20 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-frictionless.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files, collect_submodules + +# Collect data files in frictionless/assets +datas = collect_data_files('frictionless') + +# Collect modules from `frictionless.plugins` (programmatic imports). +hiddenimports = collect_submodules('frictionless.plugins') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fsspec.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fsspec.py new file mode 100644 index 0000000..e57a32d --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fsspec.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules('fsspec') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fvcore.nn.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fvcore.nn.py new file mode 100644 index 0000000..1ff1a61 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-fvcore.nn.py @@ -0,0 +1,14 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Collect source .py files for JIT/torchscript. Requires PyInstaller >= 5.3, no-op in older versions. +module_collection_mode = 'pyz+py' diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gadfly.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gadfly.py new file mode 100644 index 0000000..1bf2314 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gadfly.py @@ -0,0 +1,13 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +hiddenimports = ["sql_mar"] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gbulb.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gbulb.py new file mode 100644 index 0000000..68116a1 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gbulb.py @@ -0,0 +1,14 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Prevent this package from pulling `setuptools_scm` into frozen application, as it makes no sense in that context. +excludedimports = ["setuptools_scm"] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gcloud.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gcloud.py new file mode 100644 index 0000000..051d61c --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gcloud.py @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata + +# This hook was written for `gcloud` - https://pypi.org/project/gcloud +# Suppress package-not-found errors when the hook is triggered by `gcloud` namespace package from `gcloud-aio-*` and +# `gcloud-rest-*` dists (https://github.com/talkiq/gcloud-aio). +try: + datas = copy_metadata('gcloud') +except Exception: + pass diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-geopandas.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-geopandas.py new file mode 100644 index 0000000..44d9001 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-geopandas.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("geopandas", subdir="datasets") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gitlab.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gitlab.py new file mode 100644 index 0000000..8adf54b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gitlab.py @@ -0,0 +1,22 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# +# python-gitlab is a Python package providing access to the GitLab server API. +# It supports the v4 API of GitLab, and provides a CLI tool (gitlab). +# +# https://python-gitlab.readthedocs.io +# +# Tested with gitlab 3.2.0 + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('gitlab') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gmplot.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gmplot.py new file mode 100644 index 0000000..ce2d5ce --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gmplot.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2005-2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('gmplot') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gmsh.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gmsh.py new file mode 100644 index 0000000..d9755d0 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gmsh.py @@ -0,0 +1,28 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +import os + +from PyInstaller.utils.hooks import logger, get_module_attribute + +# Query the `libpath` attribute of the `gmsh` module to obtain the path to shared library. This way, we do not need to +# duplicate the discovery logic. +try: + lib_file = get_module_attribute('gmsh', 'libpath') +except Exception: + logger.warning("Failed to query gmsh.libpath!", exc_info=True) + lib_file = None + +if lib_file and os.path.isfile(lib_file): + binaries = [(lib_file, '.')] +else: + logger.warning("Could not find gmsh shared library - gmsh will likely fail to load at run-time!") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gooey.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gooey.py new file mode 100644 index 0000000..8861b47 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gooey.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Gooey GUI carries some language and images for it's UI to function. +""" + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('gooey') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.api_core.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.api_core.py new file mode 100644 index 0000000..641bdf0 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.api_core.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata('google-api-core') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.bigquery.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.bigquery.py new file mode 100644 index 0000000..1bbfa4a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.bigquery.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata +datas = (copy_metadata('google-cloud-bigquery') + + # the pakcage queries meta-data about ``request`` + copy_metadata('requests')) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.core.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.core.py new file mode 100644 index 0000000..db7c20e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.core.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata('google-cloud-core') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.kms_v1.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.kms_v1.py new file mode 100644 index 0000000..116d7f4 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.kms_v1.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Client library URL: https://googleapis.dev/python/cloudkms/latest/ +# Import Example for client library: +# https://cloud.google.com/kms/docs/reference/libraries#client-libraries-install-python + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata('google-cloud-kms') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.pubsub_v1.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.pubsub_v1.py new file mode 100644 index 0000000..d022668 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.pubsub_v1.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata('google-cloud-pubsub') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.speech.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.speech.py new file mode 100644 index 0000000..7fed599 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.speech.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata('google-cloud-speech') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.storage.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.storage.py new file mode 100644 index 0000000..29866bc --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.storage.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata('google-cloud-storage') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.translate.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.translate.py new file mode 100644 index 0000000..465b8e9 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.translate.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata('google-cloud-translate') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-googleapiclient.model.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-googleapiclient.model.py new file mode 100644 index 0000000..d1a2293 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-googleapiclient.model.py @@ -0,0 +1,20 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata +from PyInstaller.utils.hooks import collect_data_files + +# googleapiclient.model queries the library version via +# pkg_resources.get_distribution("google-api-python-client").version, +# so we need to collect that package's metadata +datas = copy_metadata('google_api_python_client') +datas += collect_data_files('googleapiclient.discovery_cache', excludes=['*.txt', '**/__pycache__']) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-grapheme.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-grapheme.py new file mode 100644 index 0000000..fbe2a4b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-grapheme.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('grapheme') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-graphql_query.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-graphql_query.py new file mode 100644 index 0000000..f5a0f80 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-graphql_query.py @@ -0,0 +1,18 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +#----------------------------------------------------------------------------- +""" +PyInstaller hook file for graphql_query. Tested with version 1.0.3. +""" + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('graphql_query') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-great_expectations.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-great_expectations.py new file mode 100644 index 0000000..a19b7c4 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-great_expectations.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('great_expectations') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gribapi.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gribapi.py new file mode 100644 index 0000000..984a989 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gribapi.py @@ -0,0 +1,89 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +import os +import pathlib + +from PyInstaller import isolated +from PyInstaller.utils.hooks import collect_data_files, logger + +# Collect the headers (eccodes.h, gribapi.h) that are bundled with the package. +datas = collect_data_files('gribapi') + +# Collect the eccodes shared library. Starting with eccodes 2.37.0, binary wheels with bundled shared library are +# provided for linux and macOS, and since 2.39.0, also for Windows. + + +# NOTE: custom isolated function is used here instead of `get_module_attribute('gribapi.bindings', 'library_path')` +# hook utility function because with eccodes 2.37.0, `eccodes` needs to be imported before `gribapi` to avoid circular +# imports... Also, this way, we can obtain the root directory of eccodes package at the same time. +@isolated.decorate +def get_eccodes_library_path(): + import eccodes + import gribapi.bindings + + return ( + # Path to eccodes shared library used by the gribapi bindings. + str(gribapi.bindings.library_path), + # Path to eccodes package (implicitly assumed to be next to the gribapi package, since they are part of the + # same eccodes dist). + str(eccodes.__path__[0]), + ) + + +binaries = [] +hiddenimports = [] + +try: + library_path, package_path = get_eccodes_library_path() +except Exception: + logger.warning("hook-gribapi: failed to query gribapi.bindings.library_path!", exc_info=True) + library_path = None + +if library_path: + if not os.path.isabs(library_path): + from PyInstaller.depend.utils import _resolveCtypesImports + resolved_binary = _resolveCtypesImports([os.path.basename(library_path)]) + if resolved_binary: + library_path = resolved_binary[0][1] + else: + logger.warning("hook-gribapi: failed to resolve shared library name %r!", library_path) + library_path = None +else: + logger.warning("hook-gribapi: could not determine path to eccodes shared library!") + +if library_path: + # If we are collecting eccodes shared library that is bundled with eccodes >= 2.37.0 binary wheel, attempt to + # preserve its parent directory layout. This ensures that the library is found at run-time, but implicitly requires + # PyInstaller 6.x, whose binary dependency analysis (that might also pick up this shared library) also preserves the + # parent directory layout of discovered shared libraries. With PyInstaller 5.x, this will result in duplication + # because binary dependency analysis collects into top-level application directory, but that copy will not be + # discovered at run-time, so duplication is unavoidable. + library_parent_path = pathlib.PurePath(library_path).parent + package_parent_path = pathlib.PurePath(package_path).parent + + if package_parent_path in library_parent_path.parents: + # Should end up being `eccodes.libs` on Linux, `eccodes/.dylib` on macOS, and `eccodes` on Windows. + dest_dir = str(library_parent_path.relative_to(package_parent_path)) + else: + # External copy; collect into top-level application directory. + dest_dir = '.' + + logger.info( + "hook-gribapi: collecting eccodes shared library %r to destination directory %r", library_path, dest_dir + ) + binaries.append((library_path, dest_dir)) + + # If the shared library is available in the stand-alone `eccodeslib` package, add this package to to hidden imports, + # so that `findlibs.find()` can import it and query its `__file__` attribute. + if 'eccodeslib' in library_parent_path.parts: + hiddenimports += ['eccodeslib'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-grpc.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-grpc.py new file mode 100644 index 0000000..a592be2 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-grpc.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('grpc') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gst._gst.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gst._gst.py new file mode 100644 index 0000000..5b4f109 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gst._gst.py @@ -0,0 +1,45 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# GStreamer contains a lot of plugins. We need to collect them and bundle +# them wih the exe file. +# We also need to resolve binary dependencies of these GStreamer plugins. + +import glob +import os +from PyInstaller.compat import is_win +from PyInstaller.utils.hooks import exec_statement + +hiddenimports = ['gmodule', 'gobject'] + +statement = """ +import os +import gst +reg = gst.registry_get_default() +plug = reg.find_plugin('coreelements') +path = plug.get_filename() +print(os.path.dirname(path)) +""" + +plugin_path = exec_statement(statement) + +if is_win: + # TODO Verify that on Windows gst plugins really end with .dll. + pattern = os.path.join(plugin_path, '*.dll') +else: + # Even on OSX plugins end with '.so'. + pattern = os.path.join(plugin_path, '*.so') + +binaries = [ + (os.path.join('gst_plugins', os.path.basename(f)), f) + # 'f' contains the absolute path + for f in glob.glob(pattern)] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gtk.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gtk.py new file mode 100644 index 0000000..64b3a4b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-gtk.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +hiddenimports = ['gtkglext', 'gdkgl', 'gdkglext', 'gdk', 'gtk.gdk', 'gtk.gtkgl', + 'gtk.gtkgl._gtkgl', 'gtkgl', 'pangocairo', 'pango', 'atk', + 'gobject', 'gtk.glade', 'cairo', 'gio', + 'gtk.keysyms'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-h3.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-h3.py new file mode 100644 index 0000000..89f112b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-h3.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies, copy_metadata + +# Starting with v4.0.0, h3 determines its version from its metadata. +if is_module_satisfies("h3 >= 4.0.0"): + datas = copy_metadata("h3") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-h5py.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-h5py.py new file mode 100644 index 0000000..fcc002f --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-h5py.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Hook for http://pypi.python.org/pypi/h5py/ +""" + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules("h5py", lambda x: "tests" not in x) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-hdf5plugin.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-hdf5plugin.py new file mode 100644 index 0000000..b3ef44d --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-hdf5plugin.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for hdf5plugin: https://pypi.org/project/hdf5plugin/ + +from PyInstaller.utils.hooks import collect_dynamic_libs + +datas = collect_dynamic_libs("hdf5plugin") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-hexbytes.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-hexbytes.py new file mode 100644 index 0000000..8e29e8c --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-hexbytes.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies, copy_metadata + +# Starting with v1.1.0, `hexbytes` queries its version from metadata. +if is_module_satisfies("hexbytes >= 1.1.0"): + datas = copy_metadata('hexbytes') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-httplib2.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-httplib2.py new file mode 100644 index 0000000..7789c1f --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-httplib2.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# This is needed to bundle cacerts.txt that comes with httplib2 module + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('httplib2') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-humanize.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-humanize.py new file mode 100644 index 0000000..598dac7 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-humanize.py @@ -0,0 +1,23 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +This modest package contains various common humanization utilities, like turning a number into a fuzzy human +readable duration ("3 minutes ago") or into a human readable size or throughput. + +https://pypi.org/project/humanize + +This hook was tested against humanize 3.5.0. +""" + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata('humanize') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-hydra.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-hydra.py new file mode 100644 index 0000000..0c61977 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-hydra.py @@ -0,0 +1,36 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.compat import is_py310 +from PyInstaller.utils.hooks import collect_submodules, collect_data_files, is_module_satisfies + +# Collect core plugins. +hiddenimports = collect_submodules('hydra._internal.core_plugins') + +# Hydra's plugin manager (`hydra.core.plugins.Plugins`) uses PEP-302 `find_module` / `load_module`, which has been +# deprecated since python 3.4, and has been removed from PyInstaller's frozen importer in PyInstaller 5.8. For python +# 3.10 and newer, they implemented new codepath that uses `find_spec`, but for earlier python versions, they opted to +# keep using the old codepath. +# +# See: https://github.com/facebookresearch/hydra/pull/2531 +# +# To work around the incompatibility with PyInstaller >= 5.8 when using python < 3.10, force collection of plugins as +# source .py files. This way, they end up handled by python's built-in finder/importer instead of PyInstaller's +# frozen importer. +if not is_py310 and is_module_satisfies("PyInstaller >= 5.8"): + module_collection_mode = { + 'hydra._internal.core_plugins': 'py', + 'hydra_plugins': 'py', + } + +# Collect package's data files, such as default configuration files. +datas = collect_data_files('hydra') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ijson.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ijson.py new file mode 100644 index 0000000..60fa40c --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ijson.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules("ijson.backends") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-imageio.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-imageio.py new file mode 100644 index 0000000..1cf0e6e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-imageio.py @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for imageio: http://imageio.github.io/ + +from PyInstaller.utils.hooks import collect_data_files, collect_submodules + +datas = collect_data_files('imageio', subdir="resources") + +# imageio plugins are imported lazily since ImageIO version 2.11.0. +# They are very light-weight, so we can safely include all of them. +hiddenimports = collect_submodules('imageio.plugins') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-imageio_ffmpeg.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-imageio_ffmpeg.py new file mode 100644 index 0000000..4fd469b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-imageio_ffmpeg.py @@ -0,0 +1,22 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for imageio: http://imageio.github.io/ + +from PyInstaller.utils.hooks import collect_data_files, is_module_satisfies + +datas = collect_data_files('imageio_ffmpeg', subdir="binaries") + +# Starting with imageio_ffmpeg 0.5.0, `imageio_ffmpeg.binaries` is a package accessed via `importlib.resources`. Since +# it is not directly imported anywhere, we need to add it to hidden imports. +if is_module_satisfies('imageio_ffmpeg >= 0.5.0'): + hiddenimports = ['imageio_ffmpeg.binaries'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-iminuit.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-iminuit.py new file mode 100644 index 0000000..4cbb6cb --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-iminuit.py @@ -0,0 +1,25 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# add hooks for iminuit: https://github.com/scikit-hep/iminuit + +# iminuit imports subpackages through a cython module which aren't +# found by default + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = [] + +# the iminuit package contains tests which aren't needed when distributing +for mod in collect_submodules('iminuit'): + if not mod.startswith('iminuit.tests'): + hiddenimports.append(mod) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-intake.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-intake.py new file mode 100644 index 0000000..84a52a8 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-intake.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_entry_point + +datas, hiddenimports = collect_entry_point('intake.drivers') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-iso639.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-iso639.py new file mode 100644 index 0000000..974e73e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-iso639.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +# Collect data files for iso639 +datas = collect_data_files("iso639") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-itk.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-itk.py new file mode 100644 index 0000000..54bf624 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-itk.py @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules("itk.Configuration") + +# `itk` requires `itk/Configuration` directory to exist on filesystem; collect source .py files from `itk.Configuration` +# as a work-around that ensures the existence of this directory. +module_collection_mode = { + "itk.Configuration": "pyz+py", +} diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jaraco.text.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jaraco.text.py new file mode 100644 index 0000000..7126079 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jaraco.text.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for jaraco: https://pypi.python.org/pypi/jaraco.text/3.2.0 + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('jaraco.text') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jedi.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jedi.py new file mode 100644 index 0000000..9601dbe --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jedi.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for Jedi, a static analysis tool https://pypi.org/project/jedi/ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('jedi') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jieba.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jieba.py new file mode 100644 index 0000000..cc53edf --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jieba.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('jieba') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jinja2.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jinja2.py new file mode 100644 index 0000000..f017894 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jinja2.py @@ -0,0 +1,13 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +hiddenimports = ['jinja2.ext'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jinxed.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jinxed.py new file mode 100644 index 0000000..28e7f36 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jinxed.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +hiddenimports = [ + 'jinxed.terminfo.ansicon', 'jinxed.terminfo.vtwin10' +] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jira.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jira.py new file mode 100644 index 0000000..dd64b1e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jira.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Hook for https://pypi.python.org/pypi/jira/ +""" + +from PyInstaller.utils.hooks import copy_metadata, collect_submodules + +datas = copy_metadata('jira') +hiddenimports = collect_submodules('jira') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jsonpath_rw_ext.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jsonpath_rw_ext.py new file mode 100644 index 0000000..1914af4 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jsonpath_rw_ext.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata('jsonpath_rw_ext') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jsonrpcserver.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jsonrpcserver.py new file mode 100644 index 0000000..71947a1 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jsonrpcserver.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# This is needed to bundle request-schema.json file needed by +# jsonrpcserver package + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('jsonrpcserver') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jsonschema.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jsonschema.py new file mode 100644 index 0000000..ca1289c --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jsonschema.py @@ -0,0 +1,20 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# This is needed to bundle draft3.json and draft4.json files that come with jsonschema module. +# NOTE: with jsonschema >= 4.18.0, the specification files are part of jsonschema_specifications package, and are +# handled by the corresponding hook-jsonschema. + +from PyInstaller.utils.hooks import collect_data_files, copy_metadata + +datas = collect_data_files('jsonschema') +datas += copy_metadata('jsonschema') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jsonschema_specifications.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jsonschema_specifications.py new file mode 100644 index 0000000..bbbdafb --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jsonschema_specifications.py @@ -0,0 +1,14 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files +datas = collect_data_files('jsonschema_specifications') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jupyterlab.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jupyterlab.py new file mode 100644 index 0000000..ba77523 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-jupyterlab.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('jupyterlab') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-kaleido.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-kaleido.py new file mode 100644 index 0000000..e21c5eb --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-kaleido.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('kaleido') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-khmernltk.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-khmernltk.py new file mode 100644 index 0000000..021d23c --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-khmernltk.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('khmernltk') +hiddenimports = ['sklearn_crfsuite'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-kinterbasdb.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-kinterbasdb.py new file mode 100644 index 0000000..dff9f4b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-kinterbasdb.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# kinterbasdb +hiddenimports = ['k_exceptions', 'services', 'typeconv_naked', + 'typeconv_backcompat', 'typeconv_23plus', + 'typeconv_datetime_stdlib', 'typeconv_datetime_mx', + 'typeconv_datetime_naked', 'typeconv_fixed_fixedpoint', + 'typeconv_fixed_stdlib', 'typeconv_text_unicode', + 'typeconv_util_isinstance', '_kinterbasdb', '_kiservices'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-langchain.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-langchain.py new file mode 100644 index 0000000..93cc206 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-langchain.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('langchain') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-langcodes.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-langcodes.py new file mode 100644 index 0000000..65c4723 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-langcodes.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('langcodes') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-langdetect.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-langdetect.py new file mode 100644 index 0000000..2bfe9ac --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-langdetect.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("langdetect") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-laonlp.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-laonlp.py new file mode 100644 index 0000000..2c8b577 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-laonlp.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('laonlp') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lark.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lark.py new file mode 100644 index 0000000..653f810 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lark.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("lark") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ldfparser.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ldfparser.py new file mode 100644 index 0000000..42e9033 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ldfparser.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +#----------------------------------------------------------------------------- + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('ldfparser') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lensfunpy.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lensfunpy.py new file mode 100644 index 0000000..a44d5e4 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lensfunpy.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files +# bundle xml DB files, skip other files (like DLL files on Windows) +datas = list(filter(lambda p: p[0].endswith('.xml'), collect_data_files('lensfunpy'))) +hiddenimports = ['numpy', 'enum'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-libaudioverse.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-libaudioverse.py new file mode 100644 index 0000000..9d28d60 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-libaudioverse.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Libaudioverse: https://github.com/libaudioverse/libaudioverse +""" + +from PyInstaller.utils.hooks import collect_dynamic_libs + +binaries = collect_dynamic_libs('libaudioverse') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-librosa.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-librosa.py new file mode 100644 index 0000000..2767038 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-librosa.py @@ -0,0 +1,25 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files, collect_submodules + +# Collect all data files from the package. These include: +# - package's and subpackages' .pyi files for `lazy_loader` +# - example data in librosa/util, required by `librosa.util.files` +# - librosa/core/intervals.msgpack, required by `librosa.core.intervals` +# +# We explicitly exclude `__pycache__` because it might contain .nbi and .nbc files from `numba` cache, which are not +# re-used by `numba` codepaths in the frozen application and are instead re-compiled in user-global cache directory. +datas = collect_data_files("librosa", excludes=['**/__pycache__']) + +# And because modules are lazily loaded, we need to collect them all. +hiddenimports = collect_submodules("librosa") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lightgbm.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lightgbm.py new file mode 100644 index 0000000..3718cc4 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lightgbm.py @@ -0,0 +1,27 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# +# A fast, distributed, high performance gradient boosting +# (GBT, GBDT, GBRT, GBM or MART) framework based on decision +# tree algorithms, used for ranking, classification and +# many other machine learning tasks. +# +# https://github.com/microsoft/LightGBM +# +# Tested with: +# Tested on Windows 10 & macOS 10.14 with Python 3.7.5 + +from PyInstaller.utils.hooks import collect_dynamic_libs + +binaries = collect_dynamic_libs('lightgbm') +binaries += collect_dynamic_libs('sklearn') +binaries += collect_dynamic_libs('scipy') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lightning.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lightning.py new file mode 100644 index 0000000..840bdb9 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lightning.py @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +# Collect version.info (which is read during package import at run-time). Avoid collecting data from `lightning.app`, +# which likely does not work with PyInstaller without additional tricks (if we need to collect that data, it should +# be done in separate `lightning.app` hook). +datas = collect_data_files( + 'lightning', + includes=['version.info'], +) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-limits.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-limits.py new file mode 100644 index 0000000..3bd9810 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-limits.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("limits") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-linear_operator.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-linear_operator.py new file mode 100644 index 0000000..73c8621 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-linear_operator.py @@ -0,0 +1,14 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# --------------------------------------------------- + +# Collect source .py files for JIT/torchscript. Requires PyInstaller >= 5.3, no-op in older versions. +module_collection_mode = 'pyz+py' diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lingua.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lingua.py new file mode 100644 index 0000000..2d6fbb5 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lingua.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('lingua') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-litestar.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-litestar.py new file mode 100644 index 0000000..ca35e5a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-litestar.py @@ -0,0 +1,14 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules +hiddenimports = collect_submodules('litestar.logging') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-llvmlite.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-llvmlite.py new file mode 100644 index 0000000..108f521 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-llvmlite.py @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# +# A lightweight LLVM python binding for writing JIT compilers +# https://github.com/numba/llvmlite +# +# Tested with: +# llvmlite 0.11 (Anaconda 4.1.1, Windows), llvmlite 0.13 (Linux) + +from PyInstaller.utils.hooks import collect_dynamic_libs + +binaries = collect_dynamic_libs("llvmlite") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-logilab.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-logilab.py new file mode 100644 index 0000000..074fc40 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-logilab.py @@ -0,0 +1,26 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# +# *************************************************** +# hook-logilab.py - PyInstaller hook file for logilab +# *************************************************** +# The following was written about logilab, version 1.1.0, based on executing +# ``pip show logilab-common``. +# +# In logilab.common, line 33:: +# +# __version__ = pkg_resources.get_distribution('logilab-common').version +# +# Therefore, we need metadata for logilab. +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata('logilab-common') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lxml.etree.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lxml.etree.py new file mode 100644 index 0000000..b53e89e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lxml.etree.py @@ -0,0 +1,13 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +hiddenimports = ['lxml._elementpath', 'gzip', 'contextlib'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lxml.isoschematron.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lxml.isoschematron.py new file mode 100644 index 0000000..8ed7659 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lxml.isoschematron.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files +import os + +# Auxiliary data for isoschematron +datas = collect_data_files('lxml', subdir=os.path.join('isoschematron', 'resources')) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lxml.objectify.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lxml.objectify.py new file mode 100644 index 0000000..e8cb2bf --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lxml.objectify.py @@ -0,0 +1,13 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +hiddenimports = ['lxml.etree'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lxml.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lxml.py new file mode 100644 index 0000000..4a70af6 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lxml.py @@ -0,0 +1,20 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# +# lxml is not fully embedded when using standard hiddenimports +# see https://github.com/pyinstaller/pyinstaller/issues/5306 +# +# Tested with lxml 4.6.1 + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules('lxml') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lz4.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lz4.py new file mode 100644 index 0000000..1b01cd4 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-lz4.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# hook for https://github.com/python-lz4/python-lz4 + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata('lz4') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-magic.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-magic.py new file mode 100644 index 0000000..e5efe63 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-magic.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# hook for https://pypi.org/project/python-magic-bin + +from PyInstaller.utils.hooks import collect_data_files, collect_dynamic_libs + +datas = collect_data_files('magic') +binaries = collect_dynamic_libs('magic') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-mako.codegen.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-mako.codegen.py new file mode 100644 index 0000000..dcaefa3 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-mako.codegen.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +codegen generates Python code that is then executed through exec(). +This Python code imports the following modules. +""" + +hiddenimports = ['mako.cache', 'mako.runtime', 'mako.filters'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-mariadb.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-mariadb.py new file mode 100644 index 0000000..6466ba1 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-mariadb.py @@ -0,0 +1,25 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies, collect_submodules + +# The MariaDB uses a .pyd file that imports ``decimal`` module within its +# module initialization function. On recent python versions (> 3.8), the decimal +# module seems to be picked up nevertheless (presumably due to import in some +# other module), but it is better not to rely on that, and ensure it is always +# collected as a hidden import. +hiddenimports = ['decimal'] + +# mariadb >= 1.1.0 requires several hidden imports from mariadb.constants. +# Collect them all, just to be on the safe side... +if is_module_satisfies("mariadb >= 1.1.0"): + hiddenimports += collect_submodules("mariadb.constants") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-markdown.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-markdown.py new file mode 100644 index 0000000..9918feb --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-markdown.py @@ -0,0 +1,28 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import ( + collect_submodules, + copy_metadata, + is_module_satisfies, +) + +hiddenimports = collect_submodules('markdown.extensions') + +# Markdown 3.3 introduced markdown.htmlparser submodule with hidden +# dependency on html.parser +if is_module_satisfies("markdown >= 3.3"): + hiddenimports += ['html.parser'] + +# Extensions can be referenced by short names, e.g. "extra", through a mechanism +# using entry-points. Thus we need to collect the package metadata as well. +datas = copy_metadata("markdown") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-mecab.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-mecab.py new file mode 100644 index 0000000..2b30f86 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-mecab.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('mecab') +datas += collect_data_files('mecab_ko_dic') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-metpy.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-metpy.py new file mode 100644 index 0000000..be84bb9 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-metpy.py @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata, collect_data_files + +# MetPy requires metadata, because it queries its version via +# pkg_resources.get_distribution(__package__).version or, in newer +# versions, importlib.metadata.version(__package__) +datas = copy_metadata('metpy') + +# Collect data files +datas += collect_data_files('metpy') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-migrate.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-migrate.py new file mode 100644 index 0000000..b1ec0c9 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-migrate.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# hook for https://github.com/openstack/sqlalchemy-migrate +# Since v0.12.0 importing migrate requires metadata to resolve __version__ +# attribute + +from PyInstaller.utils.hooks import copy_metadata, is_module_satisfies + +if is_module_satisfies('sqlalchemy-migrate >= 0.12.0'): + datas = copy_metadata('sqlalchemy-migrate') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-mimesis.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-mimesis.py new file mode 100644 index 0000000..5accde1 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-mimesis.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# The bundled 'data/' directory containing locale .json files needs to be collected (as data file). + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('mimesis') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-minecraft_launcher_lib.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-minecraft_launcher_lib.py new file mode 100644 index 0000000..e06a0a9 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-minecraft_launcher_lib.py @@ -0,0 +1,14 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("minecraft_launcher_lib") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-mistune.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-mistune.py new file mode 100644 index 0000000..ea9a804 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-mistune.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for nanite: https://pypi.python.org/pypi/nanite + +from PyInstaller.utils.hooks import is_module_satisfies, collect_submodules + +# As of version 3.0.0, mistune loads its plugins indirectly (but does so during package import nevertheless). +if is_module_satisfies("mistune >= 3.0.0"): + hiddenimports = collect_submodules("mistune.plugins") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-mnemonic.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-mnemonic.py new file mode 100644 index 0000000..68c56e5 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-mnemonic.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('mnemonic') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-monai.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-monai.py new file mode 100644 index 0000000..82676db --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-monai.py @@ -0,0 +1,14 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Collect source .py files for JIT/torchscript. Requires PyInstaller >= 5.3, no-op in older versions. +module_collection_mode = "pyz+py" diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-moviepy.audio.fx.all.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-moviepy.audio.fx.all.py new file mode 100644 index 0000000..4bb9c78 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-moviepy.audio.fx.all.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# `moviepy.audio.fx.all` programmatically imports and forwards all submodules of `moviepy.audio.fx`, so we need to +# collect those as hidden imports. +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules('moviepy.audio.fx') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-moviepy.video.fx.all.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-moviepy.video.fx.all.py new file mode 100644 index 0000000..cc0b924 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-moviepy.video.fx.all.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# `moviepy.video.fx.all` programmatically imports and forwards all submodules of `moviepy.video.fx`, so we need to +# collect those as hidden imports. +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules('moviepy.video.fx') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-mpl_toolkits.basemap.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-mpl_toolkits.basemap.py new file mode 100644 index 0000000..839b072 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-mpl_toolkits.basemap.py @@ -0,0 +1,36 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files +from PyInstaller.compat import is_win, base_prefix + +import os + +# mpl_toolkits.basemap (tested with v.1.0.7) is shipped with auxiliary data, +# usually stored in mpl_toolkits\basemap\data and used to plot maps +datas = collect_data_files('mpl_toolkits.basemap', subdir='data') + +# check if the data has been effectively found +if len(datas) == 0: + + # - conda-specific + + if is_win: + tgt_basemap_data = os.path.join('Library', 'share', 'basemap') + src_basemap_data = os.path.join(base_prefix, 'Library', 'share', 'basemap') + + else: # both linux and darwin + tgt_basemap_data = os.path.join('share', 'basemap') + src_basemap_data = os.path.join(base_prefix, 'share', 'basemap') + + if os.path.exists(src_basemap_data): + datas.append((src_basemap_data, tgt_basemap_data)) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-msoffcrypto.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-msoffcrypto.py new file mode 100644 index 0000000..74f75e0 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-msoffcrypto.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +msoffcrypto contains hidden metadata as of v4.12.0 +""" + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata('msoffcrypto-tool') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nacl.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nacl.py new file mode 100644 index 0000000..9694133 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nacl.py @@ -0,0 +1,30 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Tested with PyNaCl 0.3.0 on Mac OS X. + +import os.path +import glob + +from PyInstaller.compat import EXTENSION_SUFFIXES +from PyInstaller.utils.hooks import collect_data_files, get_module_file_attribute + +datas = collect_data_files('nacl') + +# Include the cffi extensions as binaries in a subfolder named like the package. +binaries = [] +nacl_dir = os.path.dirname(get_module_file_attribute('nacl')) +for ext in EXTENSION_SUFFIXES: + ffimods = glob.glob(os.path.join(nacl_dir, '_lib', '*_cffi_*%s*' % ext)) + dest_dir = os.path.join('nacl', '_lib') + for f in ffimods: + binaries.append((f, dest_dir)) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-names.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-names.py new file mode 100644 index 0000000..ff33b59 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-names.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# names: generate random names +# Module PyPI Homepage: https://pypi.python.org/pypi/names/0.3.0 + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('names') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nanite.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nanite.py new file mode 100644 index 0000000..9d37ecc --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nanite.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for nanite: https://pypi.python.org/pypi/nanite + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('nanite') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-narwhals.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-narwhals.py new file mode 100644 index 0000000..0c8109f --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-narwhals.py @@ -0,0 +1,22 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +import sys +from PyInstaller.utils.hooks import can_import_module, copy_metadata, is_module_satisfies + +# Starting with narwhals 1.35.0, we need to collect metadata for `typing_extensions` if the module is available. +# The codepath that checks metadata for `typing_extensions` is not executed under python >= 3.13, so we can avoid +# collection there. +datas = [] +if sys.version_info < (3, 13): # PyInstaller.compat.is_py313 is available only in PyInstaller >= 6.10.0. + if is_module_satisfies("narwhals >= 1.35.0") and can_import_module("typing_extensions"): + datas += copy_metadata("typing_extensions") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nbconvert.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nbconvert.py new file mode 100644 index 0000000..fefb5ae --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nbconvert.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files, copy_metadata + +datas = collect_data_files('nbconvert') + +# nbconvert uses entrypoints to read nbconvert.exporters from metadata file entry_points.txt. +datas += copy_metadata('nbconvert') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nbdime.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nbdime.py new file mode 100644 index 0000000..38452ca --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nbdime.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('nbdime') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nbformat.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nbformat.py new file mode 100644 index 0000000..d193864 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nbformat.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('nbformat') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nbt.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nbt.py new file mode 100644 index 0000000..676ee32 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nbt.py @@ -0,0 +1,12 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +hiddenimports = ["nbt.nbt", "nbt.world", "nbt.region", "nbt.chunk"] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ncclient.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ncclient.py new file mode 100644 index 0000000..d41c061 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ncclient.py @@ -0,0 +1,23 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Hook for ncclient. ncclient is a Python library that facilitates client-side +scripting and application development around the NETCONF protocol. +https://pypi.python.org/pypi/ncclient + +This hook was tested with ncclient 0.4.3. +""" +from PyInstaller.utils.hooks import collect_submodules + +# Modules 'ncclient.devices.*' are dynamically loaded and PyInstaller +# is not able to find them. +hiddenimports = collect_submodules('ncclient.devices') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-netCDF4.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-netCDF4.py new file mode 100644 index 0000000..259d71c --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-netCDF4.py @@ -0,0 +1,37 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.compat import is_win +from PyInstaller.utils.hooks import is_module_satisfies + +# netCDF4 (tested with v.1.1.9) has some hidden imports +hiddenimports = ['netCDF4.utils'] + +# Around netCDF4 1.4.0, netcdftime changed name to cftime +if is_module_satisfies("netCDF4 < 1.4.0"): + hiddenimports += ['netcdftime'] +else: + hiddenimports += ['cftime'] + +# Starting with netCDF 1.6.4, certifi is a hidden import made in +# netCDF4/_netCDF4.pyx. +if is_module_satisfies("netCDF4 >= 1.6.4"): + hiddenimports += ['certifi'] + +# netCDF 1.6.2 is the first version that uses `delvewheel` for bundling DLLs in Windows PyPI wheels. While contemporary +# PyInstaller versions automatically pick up DLLs from external `netCDF4.libs` directory, this does not work on Anaconda +# python 3.8 and 3.9 due to defunct `os.add_dll_directory`, which forces `delvewheel` to use the old load-order file +# approach. So we need to explicitly ensure that load-order file as well as DLLs are collected. +if is_win and is_module_satisfies("netCDF4 >= 1.6.2"): + if is_module_satisfies("PyInstaller >= 5.6"): + from PyInstaller.utils.hooks import collect_delvewheel_libs_directory + datas, binaries = collect_delvewheel_libs_directory("netCDF4") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-niquests.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-niquests.py new file mode 100644 index 0000000..b9ec1d0 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-niquests.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules("niquests") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nltk.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nltk.py new file mode 100644 index 0000000..fa1cf2b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nltk.py @@ -0,0 +1,27 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# hook for nltk +import nltk +import os +from PyInstaller.utils.hooks import collect_data_files + +# add datas for nltk +datas = collect_data_files('nltk', False) + +# loop through the data directories and add them +for p in nltk.data.path: + if os.path.exists(p): + datas.append((p, "nltk_data")) + +# nltk.chunk.named_entity should be included +hiddenimports = ["nltk.chunk.named_entity"] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nnpy.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nnpy.py new file mode 100644 index 0000000..e4d3951 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nnpy.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Hook for https://pypi.org/project/nnpy/ +""" + +hiddenimports = ['_cffi_backend'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-notebook.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-notebook.py new file mode 100644 index 0000000..ea91dec --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-notebook.py @@ -0,0 +1,27 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +import os +from PyInstaller.utils.hooks import collect_data_files, collect_submodules +from jupyter_core.paths import jupyter_config_path, jupyter_path + +# collect modules for handlers +hiddenimports = collect_submodules('notebook', filter=lambda name: name.endswith('.handles')) +hiddenimports.append('notebook.services.shutdown') + +datas = collect_data_files('notebook') + +# Collect share and etc folder for pre-installed extensions +datas += [(path, 'share/jupyter') + for path in jupyter_path() if os.path.exists(path)] +datas += [(path, 'etc/jupyter') + for path in jupyter_config_path() if os.path.exists(path)] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-numba.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-numba.py new file mode 100644 index 0000000..fa6a3d3 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-numba.py @@ -0,0 +1,54 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# +# NumPy aware dynamic Python compiler using LLVM +# https://github.com/numba/numba +# +# Tested with: +# numba 0.26 (Anaconda 4.1.1, Windows), numba 0.28 (Linux) + +from PyInstaller.utils.hooks import is_module_satisfies + +excludedimports = ["IPython", "scipy"] +hiddenimports = ["llvmlite"] + +# numba 0.59.0 updated its vendored version of cloudpickle to 3.0.0; this version keeps `cloudpickle_fast` module +# around for backward compatibility with existing pickled data, but does not import it directly anymore. +if is_module_satisfies("numba >= 0.59.0"): + hiddenimports += ["numba.cloudpickle.cloudpickle_fast"] + +# numba 0.61 introduced new type system with several dynamic redirects using `numba.core.utils._RedirectSubpackage`; +# depending on the run-time value of `numba.config.USE_LEGACY_TYPE_SYSTEM`, either "old" or "new" module variant is +# loaded. All of these seem to be loaded when `numba` is imported, so there is no need for finer granularity. Also, +# as the config value might be manipulated at run-time (e.g., via environment variable), we need to collect both old +# and new module variants. +if is_module_satisfies("numba >= 0.61.0rc1"): + # NOTE: `numba.core.typing` is also referenced indirectly via `_RedirectSubpackage`, but we do not need a + # hidden import entry for it, because we have entries for its submodules. + modules_old = [ + 'numba.core.datamodel.old_models', + 'numba.core.old_boxing', + 'numba.core.types.old_scalars', + 'numba.core.typing.old_builtins', + 'numba.core.typing.old_cmathdecl', + 'numba.core.typing.old_mathdecl', + 'numba.cpython.old_builtins', + 'numba.cpython.old_hashing', + 'numba.cpython.old_mathimpl', + 'numba.cpython.old_numbers', + 'numba.cpython.old_tupleobj', + 'numba.np.old_arraymath', + 'numba.np.random.old_distributions', + 'numba.np.random.old_random_methods', + ] + modules_new = [name.replace('.old_', '.new_') for name in modules_old] + hiddenimports += modules_old + modules_new diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-numbers_parser.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-numbers_parser.py new file mode 100644 index 0000000..d6fd535 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-numbers_parser.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +# Ensure that `numbers_parser/data/empty.numbers` is collected. +datas = collect_data_files('numbers_parser') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-numcodecs.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-numcodecs.py new file mode 100644 index 0000000..7a6f6fd --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-numcodecs.py @@ -0,0 +1,20 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies + +# compat_ext is only imported from pyx files, so it is missed +hiddenimports = ['numcodecs.compat_ext'] + +# numcodecs v0.15.0 added an import of `deprecated` (from `Deprecated` dist) in one of its cythonized extension. +if is_module_satisfies('numcodecs >= 0.15.0'): + hiddenimports += ['deprecated'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cublas.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cublas.py new file mode 100644 index 0000000..3404162 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cublas.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.nvidia_cuda import ( + collect_nvidia_cuda_binaries, + create_symlink_suppression_patterns, +) + +binaries = collect_nvidia_cuda_binaries(__file__) +bindepend_symlink_suppression = create_symlink_suppression_patterns(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cuda_cupti.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cuda_cupti.py new file mode 100644 index 0000000..3404162 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cuda_cupti.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.nvidia_cuda import ( + collect_nvidia_cuda_binaries, + create_symlink_suppression_patterns, +) + +binaries = collect_nvidia_cuda_binaries(__file__) +bindepend_symlink_suppression = create_symlink_suppression_patterns(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cuda_nvcc.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cuda_nvcc.py new file mode 100644 index 0000000..13172ae --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cuda_nvcc.py @@ -0,0 +1,30 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files +from _pyinstaller_hooks_contrib.utils.nvidia_cuda import ( + collect_nvidia_cuda_binaries, + create_symlink_suppression_patterns, +) + +# Ensures that versioned .so files are collected +binaries = collect_nvidia_cuda_binaries(__file__) + +# Prevent binary dependency analysis from creating symlinks to top-level application directory for shared libraries +# from this package. Requires PyInstaller >= 6.11.0; no-op in earlier versions. +bindepend_symlink_suppression = create_symlink_suppression_patterns(__file__) + +# Collect additional resources: +# - ptxas executable (which strictly speaking, should be collected as a binary) +# - nvvm/libdevice/libdevice.10.bc file +# - C headers; assuming ptxas requires them - if that is not the case, we could filter them out. +datas = collect_data_files('nvidia.cuda_nvcc') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cuda_nvrtc.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cuda_nvrtc.py new file mode 100644 index 0000000..3404162 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cuda_nvrtc.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.nvidia_cuda import ( + collect_nvidia_cuda_binaries, + create_symlink_suppression_patterns, +) + +binaries = collect_nvidia_cuda_binaries(__file__) +bindepend_symlink_suppression = create_symlink_suppression_patterns(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cuda_runtime.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cuda_runtime.py new file mode 100644 index 0000000..3404162 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cuda_runtime.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.nvidia_cuda import ( + collect_nvidia_cuda_binaries, + create_symlink_suppression_patterns, +) + +binaries = collect_nvidia_cuda_binaries(__file__) +bindepend_symlink_suppression = create_symlink_suppression_patterns(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cudnn.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cudnn.py new file mode 100644 index 0000000..3404162 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cudnn.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.nvidia_cuda import ( + collect_nvidia_cuda_binaries, + create_symlink_suppression_patterns, +) + +binaries = collect_nvidia_cuda_binaries(__file__) +bindepend_symlink_suppression = create_symlink_suppression_patterns(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cufft.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cufft.py new file mode 100644 index 0000000..3404162 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cufft.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.nvidia_cuda import ( + collect_nvidia_cuda_binaries, + create_symlink_suppression_patterns, +) + +binaries = collect_nvidia_cuda_binaries(__file__) +bindepend_symlink_suppression = create_symlink_suppression_patterns(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.curand.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.curand.py new file mode 100644 index 0000000..3404162 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.curand.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.nvidia_cuda import ( + collect_nvidia_cuda_binaries, + create_symlink_suppression_patterns, +) + +binaries = collect_nvidia_cuda_binaries(__file__) +bindepend_symlink_suppression = create_symlink_suppression_patterns(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cusolver.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cusolver.py new file mode 100644 index 0000000..3404162 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cusolver.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.nvidia_cuda import ( + collect_nvidia_cuda_binaries, + create_symlink_suppression_patterns, +) + +binaries = collect_nvidia_cuda_binaries(__file__) +bindepend_symlink_suppression = create_symlink_suppression_patterns(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cusparse.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cusparse.py new file mode 100644 index 0000000..3404162 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cusparse.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.nvidia_cuda import ( + collect_nvidia_cuda_binaries, + create_symlink_suppression_patterns, +) + +binaries = collect_nvidia_cuda_binaries(__file__) +bindepend_symlink_suppression = create_symlink_suppression_patterns(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.nccl.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.nccl.py new file mode 100644 index 0000000..3404162 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.nccl.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.nvidia_cuda import ( + collect_nvidia_cuda_binaries, + create_symlink_suppression_patterns, +) + +binaries = collect_nvidia_cuda_binaries(__file__) +bindepend_symlink_suppression = create_symlink_suppression_patterns(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.nvjitlink.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.nvjitlink.py new file mode 100644 index 0000000..3404162 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.nvjitlink.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.nvidia_cuda import ( + collect_nvidia_cuda_binaries, + create_symlink_suppression_patterns, +) + +binaries = collect_nvidia_cuda_binaries(__file__) +bindepend_symlink_suppression = create_symlink_suppression_patterns(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.nvtx.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.nvtx.py new file mode 100644 index 0000000..3404162 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.nvtx.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.nvidia_cuda import ( + collect_nvidia_cuda_binaries, + create_symlink_suppression_patterns, +) + +binaries = collect_nvidia_cuda_binaries(__file__) +bindepend_symlink_suppression = create_symlink_suppression_patterns(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-office365.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-office365.py new file mode 100644 index 0000000..37a007f --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-office365.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Office365-REST-Python-Client contains xml templates that are needed by some methods +This hook ensures that all of the data used by the package is bundled +""" + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("office365") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-onnxruntime.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-onnxruntime.py new file mode 100644 index 0000000..9c7e807 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-onnxruntime.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_dynamic_libs + +# Collect provider plugins from onnxruntime/capi. +binaries = collect_dynamic_libs("onnxruntime") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-opencc.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-opencc.py new file mode 100644 index 0000000..9204053 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-opencc.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('opencc') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-openpyxl.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-openpyxl.py new file mode 100644 index 0000000..299a1be --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-openpyxl.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for the openpyxl module: https://pypi.python.org/pypi/openpyxl +# Tested with openpyxl 2.3.4, Python 2.7, Windows + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('openpyxl') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-opentelemetry.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-opentelemetry.py new file mode 100644 index 0000000..d8e3e9e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-opentelemetry.py @@ -0,0 +1,41 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_entry_point + +# All known `opentelementry_` entry-point groups +ENTRY_POINT_GROUPS = ( + 'opentelemetry_context', + 'opentelemetry_environment_variables', + 'opentelemetry_id_generator', + 'opentelemetry_logger_provider', + 'opentelemetry_logs_exporter', + 'opentelemetry_meter_provider', + 'opentelemetry_metrics_exporter', + 'opentelemetry_propagator', + 'opentelemetry_resource_detector', + 'opentelemetry_tracer_provider', + 'opentelemetry_traces_exporter', + 'opentelemetry_traces_sampler', +) + +# Collect entry points +datas = set() +hiddenimports = set() + +for entry_point_group in ENTRY_POINT_GROUPS: + ep_datas, ep_hiddenimports = collect_entry_point(entry_point_group) + datas.update(ep_datas) + hiddenimports.update(ep_hiddenimports) + +datas = list(datas) +hiddenimports = list(hiddenimports) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-orjson.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-orjson.py new file mode 100644 index 0000000..04092dc --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-orjson.py @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Forced import of these modules happens on first orjson import +# and orjson is a compiled extension module. +hiddenimports = [ + 'uuid', + 'zoneinfo', + 'enum', + 'json', + 'dataclasses', +] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-osgeo.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-osgeo.py new file mode 100644 index 0000000..dbc0b4a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-osgeo.py @@ -0,0 +1,81 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files +from PyInstaller.compat import is_win, is_darwin + +import os +import sys + +# The osgeo libraries require auxiliary data and may have hidden dependencies. +# There are several possible configurations on how these libraries can be +# deployed. +# This hook evaluates the cases when: +# - the `data` folder is present "in-source" (sharing the same namespace folder +# as the code libraries) +# - the `data` folder is present "out-source" (for instance, on Anaconda for +# Windows, in PYTHONHOME/Library/data) +# In this latter case, the hook also checks for the presence of `proj` library +# (e.g., on Windows in PYTHONHOME) for being added to the bundle. +# +# This hook has been tested with gdal (v.1.11.2 and 1.11.3) on: +# - Win 7 and 10 64bit +# - Ubuntu 15.04 64bit +# - Mac OS X Yosemite 10.10 +# +# TODO: Fix for gdal>=2.0.0, <2.0.3: 'NameError: global name 'help' is not defined' + +# flag used to identify an Anaconda environment +is_conda = False + +# Auxiliary data: +# +# - general case (data in 'osgeo/data'): +datas = collect_data_files('osgeo', subdir='data') + +# check if the data has been effectively found in 'osgeo/data/gdal' +if len(datas) == 0: + + if hasattr(sys, 'real_prefix'): # check if in a virtual environment + root_path = sys.real_prefix + else: + root_path = sys.prefix + + # - conda-specific + if is_win: + tgt_gdal_data = os.path.join('Library', 'share', 'gdal') + src_gdal_data = os.path.join(root_path, 'Library', 'share', 'gdal') + if not os.path.exists(src_gdal_data): + tgt_gdal_data = os.path.join('Library', 'data') + src_gdal_data = os.path.join(root_path, 'Library', 'data') + + else: # both linux and darwin + tgt_gdal_data = os.path.join('share', 'gdal') + src_gdal_data = os.path.join(root_path, 'share', 'gdal') + + if os.path.exists(src_gdal_data): + is_conda = True + datas.append((src_gdal_data, tgt_gdal_data)) + # a real-time hook takes case to define the path for `GDAL_DATA` + +# Hidden dependencies +if is_conda: + # if `proj.4` is present, it provides additional functionalities + if is_win: + proj4_lib = os.path.join(root_path, 'proj.dll') + elif is_darwin: + proj4_lib = os.path.join(root_path, 'lib', 'libproj.dylib') + else: # assumed linux-like settings + proj4_lib = os.path.join(root_path, 'lib', 'libproj.so') + + if os.path.exists(proj4_lib): + binaries = [(proj4_lib, ".")] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pandas_flavor.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pandas_flavor.py new file mode 100644 index 0000000..a41c36a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pandas_flavor.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies + +# As of version 0.3.0, pandas_flavor uses lazy loader to import `register` and `xarray` sub-modules. In earlier +# versions, these used to be imported directly. This was removed in 0.7.0. +if is_module_satisfies("pandas_flavor >= 0.3.0, < 0.7.0"): + hiddenimports = ['pandas_flavor.register', 'pandas_flavor.xarray'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-panel.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-panel.py new file mode 100644 index 0000000..51c411f --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-panel.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files, collect_submodules + +datas = collect_data_files("panel") + +# Some models are lazy-loaded on runtime, so we need to collect them +hiddenimports = collect_submodules("panel.models") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-parsedatetime.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-parsedatetime.py new file mode 100644 index 0000000..5392a72 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-parsedatetime.py @@ -0,0 +1,29 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2020, PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +#----------------------------------------------------------------------------- +""" +Fixes https://github.com/pyinstaller/pyinstaller/issues/4995 + +Modules under parsedatetime.pdt_locales.* are lazily loaded using __import__. +But they are conviniently listed in parsedatetime.pdt_locales.locales. + +Tested on versions: + +- 1.1.1 +- 1.5 +- 2.0 +- 2.6 (latest) + +""" + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules("parsedatetime.pdt_locales") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-parso.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-parso.py new file mode 100644 index 0000000..c00caf1 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-parso.py @@ -0,0 +1,17 @@ +# ----------------------------------------------------------------------------- +# Copyright (c) 2013-2018, PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ----------------------------------------------------------------------------- + +# Hook for Parso, a static analysis tool https://pypi.org/project/jedi/ (IPython dependency) + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('parso') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-passlib.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-passlib.py new file mode 100644 index 0000000..9189b8e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-passlib.py @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Handlers are imported by a lazy-load proxy, based on a +# name-to-package mapping. Collect all handlers to ease packaging. +# If you want to reduce the size of your application, used +# `--exclude-module` to remove unused ones. +hiddenimports = [ + "passlib.handlers", + "passlib.handlers.digests", + "configparser", +] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-paste.exceptions.reporter.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-paste.exceptions.reporter.py new file mode 100644 index 0000000..9b80044 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-paste.exceptions.reporter.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Some modules use the old-style import: explicitly include +the new module when the old one is referenced. +""" + +hiddenimports = ["email.mime.text", "email.mime.multipart"] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-patoolib.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-patoolib.py new file mode 100644 index 0000000..57d1aa6 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-patoolib.py @@ -0,0 +1,19 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2017-2024, PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +#----------------------------------------------------------------------------- + + +""" +patoolib uses importlib and pyinstaller doesn't find it and add it to the list of needed modules +""" + +from PyInstaller.utils.hooks import collect_submodules +hiddenimports = collect_submodules('patoolib.programs') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-patsy.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-patsy.py new file mode 100644 index 0000000..39dbf7b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-patsy.py @@ -0,0 +1,13 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +hiddenimports = ['patsy.builtins'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pdfminer.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pdfminer.py new file mode 100644 index 0000000..e4da9a7 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pdfminer.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('pdfminer') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pendulum.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pendulum.py new file mode 100644 index 0000000..5649b4a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pendulum.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files, collect_submodules + +# Pendulum checks for locale modules via os.path.exists before import. +# If the include_py_files option is turned off, this check fails, pendulum +# will raise a ValueError. +datas = collect_data_files("pendulum.locales", include_py_files=True) +hiddenimports = collect_submodules("pendulum.locales") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-phonenumbers.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-phonenumbers.py new file mode 100644 index 0000000..1494a21 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-phonenumbers.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# +# Hook for the phonenumbers package: https://pypi.org/project/phonenumbers/ +# +# Tested with phonenumbers 8.9.7 and Python 3.6.1, on Ubuntu 16.04 64bit. + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules('phonenumbers') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pingouin.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pingouin.py new file mode 100644 index 0000000..dd9989b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pingouin.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('pingouin') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pint.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pint.py new file mode 100644 index 0000000..49d2dee --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pint.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files, copy_metadata + +datas = collect_data_files('pint') +datas += copy_metadata('pint') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pinyin.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pinyin.py new file mode 100644 index 0000000..ad8c547 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pinyin.py @@ -0,0 +1,20 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for the pinyin package: https://pypi.python.org/pypi/pinyin +# Tested with pinyin 0.4.0 and Python 3.6.2, on Windows 10 x64. + +from PyInstaller.utils.hooks import collect_data_files + +# pinyin relies on 'Mandarin.dat' and 'cedict.txt.gz' +# for character and word translation. +datas = collect_data_files('pinyin') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-platformdirs.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-platformdirs.py new file mode 100644 index 0000000..4d6b250 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-platformdirs.py @@ -0,0 +1,27 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.compat import is_darwin, is_win + +modules = ["platformdirs"] + +# platfromdirs contains dynamically loaded per-platform submodules. +if is_darwin: + modules.append("platformdirs.macos") +elif is_win: + modules.append("platformdirs.windows") +else: + # default to unix for all other platforms + # this includes unix, cygwin, and msys2 + modules.append("platformdirs.unix") + +hiddenimports = modules diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-plotly.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-plotly.py new file mode 100644 index 0000000..be8714e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-plotly.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files +from PyInstaller.utils.hooks import collect_submodules + +datas = collect_data_files('plotly', includes=['package_data/**/*.*', 'validators/**/*.*']) +hiddenimports = collect_submodules('plotly.validators') + ['pandas', 'cmath'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pptx.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pptx.py new file mode 100644 index 0000000..fae9505 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pptx.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('pptx.templates') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-prettytable.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-prettytable.py new file mode 100644 index 0000000..d049b3a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-prettytable.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata, is_module_satisfies + +# Starting with v3.12.0, `prettytable` does not query its version from metadata. +if is_module_satisfies('prettytable < 3.12.0'): + datas = copy_metadata('prettytable') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-psutil.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-psutil.py new file mode 100644 index 0000000..a886d96 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-psutil.py @@ -0,0 +1,50 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +import os +import sys + +# see https://github.com/giampaolo/psutil/blob/release-5.9.5/psutil/_common.py#L82 +WINDOWS = os.name == "nt" +LINUX = sys.platform.startswith("linux") +MACOS = sys.platform.startswith("darwin") +FREEBSD = sys.platform.startswith(("freebsd", "midnightbsd")) +OPENBSD = sys.platform.startswith("openbsd") +NETBSD = sys.platform.startswith("netbsd") +BSD = FREEBSD or OPENBSD or NETBSD +SUNOS = sys.platform.startswith(("sunos", "solaris")) +AIX = sys.platform.startswith("aix") + +excludedimports = [ + "psutil._pslinux", + "psutil._pswindows", + "psutil._psosx", + "psutil._psbsd", + "psutil._pssunos", + "psutil._psaix", +] + +# see https://github.com/giampaolo/psutil/blob/release-5.9.5/psutil/__init__.py#L97 +if LINUX: + excludedimports.remove("psutil._pslinux") +elif WINDOWS: + excludedimports.remove("psutil._pswindows") + # see https://github.com/giampaolo/psutil/blob/release-5.9.5/psutil/_common.py#L856 + # This will exclude `curses` for windows + excludedimports.append("curses") +elif MACOS: + excludedimports.remove("psutil._psosx") +elif BSD: + excludedimports.remove("psutil._psbsd") +elif SUNOS: + excludedimports.remove("psutil._pssunos") +elif AIX: + excludedimports.remove("psutil._psaix") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-psychopy.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-psychopy.py new file mode 100644 index 0000000..4bee8d6 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-psychopy.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Tested on Windows 7 64bit with python 2.7.6 and PsychoPy 1.81.03 + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('psychopy') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-psycopg2.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-psycopg2.py new file mode 100644 index 0000000..7698bbb --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-psycopg2.py @@ -0,0 +1,13 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +hiddenimports = ['mx.DateTime'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-publicsuffix2.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-publicsuffix2.py new file mode 100644 index 0000000..01a5ec2 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-publicsuffix2.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('publicsuffix2') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pubsub.core.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pubsub.core.py new file mode 100644 index 0000000..dea0737 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pubsub.core.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('pubsub.core', include_py_files=True, excludes=['*.txt', '**/__pycache__']) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-puremagic.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-puremagic.py new file mode 100644 index 0000000..8aa599f --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-puremagic.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("puremagic") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-py.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-py.py new file mode 100644 index 0000000..b3bd685 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-py.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules("py._path") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyarrow.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyarrow.py new file mode 100644 index 0000000..ef98062 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyarrow.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for https://pypi.org/project/pyarrow/ + +from PyInstaller.utils.hooks import collect_submodules, collect_data_files, collect_dynamic_libs + +hiddenimports = collect_submodules('pyarrow', filter=lambda x: "tests" not in x) +datas = collect_data_files('pyarrow') +binaries = collect_dynamic_libs('pyarrow') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pycountry.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pycountry.py new file mode 100644 index 0000000..9dd4f9a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pycountry.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files, copy_metadata + +# pycountry requires the ISO databases for country data. +# Tested v1.15 on Linux/Ubuntu. +# https://pypi.python.org/pypi/pycountry +datas = copy_metadata('pycountry') + collect_data_files('pycountry') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pycparser.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pycparser.py new file mode 100644 index 0000000..1f2e968 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pycparser.py @@ -0,0 +1,23 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# pycparser needs two modules -- lextab.py and yacctab.py -- which it +# generates at runtime if they cannot be imported. +# +# Those modules are written to the current working directory for which +# the running process may not have write permissions, leading to a runtime +# exception. +# +# This hook tells pyinstaller about those hidden imports, avoiding the +# possibility of such runtime failures. + +hiddenimports = ['pycparser.lextab', 'pycparser.yacctab'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pycrfsuite.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pycrfsuite.py new file mode 100644 index 0000000..8b64162 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pycrfsuite.py @@ -0,0 +1,13 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +hiddenimports = ['pycrfsuite._dumpparser', 'pycrfsuite._logparser', 'tempfile'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pydantic.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pydantic.py new file mode 100644 index 0000000..2e2d288 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pydantic.py @@ -0,0 +1,49 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import get_module_attribute, collect_submodules +from PyInstaller.utils.hooks import is_module_satisfies + +# By default, PyPi wheels for pydantic < 2.0.0 come with all modules compiled as cython extensions, which prevents +# PyInstaller from automatically picking up the submodules. +if is_module_satisfies('pydantic >= 2.0.0'): + # The `pydantic.compiled` attribute was removed in v2. + is_compiled = False +else: + # NOTE: in PyInstaller 4.x and earlier, get_module_attribute() returns the string representation of the value + # ('True'), while in PyInstaller 5.x and later, the actual value is returned (True). + is_compiled = get_module_attribute('pydantic', 'compiled') in {'True', True} + +# Collect submodules from pydantic; even if the package is not compiled, contemporary versions (2.11.1 at the time +# of writing) contain redirections and programmatic imports. +hiddenimports = collect_submodules('pydantic') + +if is_compiled: + # In compiled version, we need to collect the following modules from the standard library. + hiddenimports += [ + 'colorsys', + 'dataclasses', + 'decimal', + 'json', + 'ipaddress', + 'pathlib', + 'uuid', + # Optional dependencies. + 'dotenv', + 'email_validator' + ] + # Older releases (prior 1.4) also import distutils.version + if not is_module_satisfies('pydantic >= 1.4'): + hiddenimports += ['distutils.version'] + # Version 1.8.0 introduced additional dependency on typing_extensions + if is_module_satisfies('pydantic >= 1.8'): + hiddenimports += ['typing_extensions'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pydicom.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pydicom.py new file mode 100644 index 0000000..8b3d497 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pydicom.py @@ -0,0 +1,69 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies, collect_data_files + +hiddenimports = [] +datas = [] + +# In pydicom 3.0.0, the `pydicom.encoders` plugins were renamed to `pydicom.pixels.encoders`, and +# `pydicom.pixels.decoders` were also added. We need to collect them all, because they are loaded during +# `pydicom` module initialization. We intentionally avoid using `collect_submodules` here, because that causes +# import of `pydicom` with logging framework initialized, which results in error tracebacks being logged for all plugins +# with missing libraries (see https://github.com/pydicom/pydicom/issues/2128). +if is_module_satisfies('pydicom >= 3.0.0'): + hiddenimports += [ + "pydicom.pixels.decoders.gdcm", + "pydicom.pixels.decoders.pylibjpeg", + "pydicom.pixels.decoders.pillow", + "pydicom.pixels.decoders.pyjpegls", + "pydicom.pixels.decoders.rle", + "pydicom.pixels.encoders.gdcm", + "pydicom.pixels.encoders.pylibjpeg", + "pydicom.pixels.encoders.native", + "pydicom.pixels.encoders.pyjpegls", + ] + + # With pydicom 3.0.0, initialization of `pydicom` (unnecessarily) imports `pydicom.examples`, which attempts to set + # up several test datasets: https://github.com/pydicom/pydicom/blob/v3.0.0/src/pydicom/examples/__init__.py#L10-L24 + # Some of those are bundled with the package itself, some are downloaded (into `.pydicom/data` directory in user's + # home directory) on he first `pydicom.examples` import. + # + # The download code requires `pydicom/data/urls.json` and `pydicom/data/hashes.json`; the lack of former results in + # run-time error, while the lack of latter results in warnings about dataset download failure. + # + # The test data files that are bundled with the package are not listed in `urls.json`, so if they are missing, there + # is not attempt to download them. Therefore, try to get away without collecting them here - if anyone actually + # requires them in the frozen application, let them explicitly collect them. + additional_data_patterns = [ + 'urls.json', + 'hashes.json', + ] +else: + hiddenimports += [ + "pydicom.encoders.gdcm", + "pydicom.encoders.pylibjpeg", + "pydicom.encoders.native", + ] + additional_data_patterns = [] + +# Collect data files from `pydicom.data`; charset files and palettes might be needed during processing, so always +# collect them. Some other data files became required in v3.0.0 - the corresponding patterns are set accordingly in +# `additional_data_patterns` in the above if/else block. +datas += collect_data_files( + 'pydicom.data', + includes=[ + 'charset_files/*', + 'palettes/*', + *additional_data_patterns, + ], +) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pydivert.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pydivert.py new file mode 100644 index 0000000..dab32b8 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pydivert.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('pydivert.windivert_dll') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-io.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-io.py new file mode 100644 index 0000000..55fd56a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-io.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# This hook was tested with pyexcel-io 0.5.18: +# https://github.com/pyexcel/pyexcel-io + +hiddenimports = ['pyexcel_io'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-ods.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-ods.py new file mode 100644 index 0000000..160e1b2 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-ods.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# This hook was tested with pyexcel-ods 0.5.6: +# https://github.com/pyexcel/pyexcel-ods + +hiddenimports = ['pyexcel_ods'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-ods3.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-ods3.py new file mode 100644 index 0000000..a01beed --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-ods3.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# This hook was tested with pyexcel-ods3 0.5.3: +# https://github.com/pyexcel/pyexcel-ods3 + +hiddenimports = ['pyexcel_ods3'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-odsr.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-odsr.py new file mode 100644 index 0000000..0d10d71 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-odsr.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# This hook was tested with pyexcel-io 0.5.2: +# https://github.com/pyexcel/pyexcel-io + +hiddenimports = ['pyexcel_odsr'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-xls.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-xls.py new file mode 100644 index 0000000..60acc3f --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-xls.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# This hook was tested with pyexcel-xls 0.5.8: +# https://github.com/pyexcel/pyexcel-xls + +hiddenimports = ['pyexcel_xls'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-xlsx.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-xlsx.py new file mode 100644 index 0000000..1f12497 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-xlsx.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# This hook was tested with pyexcel-xlsx 0.4.2: +# https://github.com/pyexcel/pyexcel-xlsx + +hiddenimports = ['pyexcel_xlsx'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-xlsxw.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-xlsxw.py new file mode 100644 index 0000000..c0b6778 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-xlsxw.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# This hook was tested with pyexcel-xlsxw 0.4.2: +# https://github.com/pyexcel/pyexcel-xlsxw + +hiddenimports = ['pyexcel_xlsxw'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel.py new file mode 100644 index 0000000..f000b2d --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel.py @@ -0,0 +1,29 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# This hook was tested with pyexcel 0.5.13: +# https://github.com/pyexcel/pyexcel + +hiddenimports = [ + 'pyexcel.plugins.renderers.sqlalchemy', 'pyexcel.plugins.renderers.django', + 'pyexcel.plugins.renderers.excel', 'pyexcel.plugins.renderers._texttable', + 'pyexcel.plugins.parsers.excel', 'pyexcel.plugins.parsers.sqlalchemy', + 'pyexcel.plugins.sources.http', 'pyexcel.plugins.sources.file_input', + 'pyexcel.plugins.sources.memory_input', + 'pyexcel.plugins.sources.file_output', + 'pyexcel.plugins.sources.output_to_memory', + 'pyexcel.plugins.sources.pydata.bookdict', + 'pyexcel.plugins.sources.pydata.dictsource', + 'pyexcel.plugins.sources.pydata.arraysource', + 'pyexcel.plugins.sources.pydata.records', 'pyexcel.plugins.sources.django', + 'pyexcel.plugins.sources.sqlalchemy', 'pyexcel.plugins.sources.querysets' +] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_io.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_io.py new file mode 100644 index 0000000..2096a74 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_io.py @@ -0,0 +1,26 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# This hook was tested with pyexcel-io 0.5.18: +# https://github.com/pyexcel/pyexcel-io + +hiddenimports = [ + 'pyexcel_io.readers.csvr', 'pyexcel_io.readers.csvz', + 'pyexcel_io.readers.tsv', 'pyexcel_io.readers.tsvz', + 'pyexcel_io.writers.csvw', 'pyexcel_io.writers.csvz', + 'pyexcel_io.writers.tsv', 'pyexcel_io.writers.tsvz', + 'pyexcel_io.readers.csvz', 'pyexcel_io.readers.tsv', + 'pyexcel_io.readers.tsvz', 'pyexcel_io.database.importers.django', + 'pyexcel_io.database.importers.sqlalchemy', + 'pyexcel_io.database.exporters.django', + 'pyexcel_io.database.exporters.sqlalchemy' +] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_ods.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_ods.py new file mode 100644 index 0000000..f856a0e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_ods.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# This hook was tested with pyexcel-ods 0.5.6: +# https://github.com/pyexcel/pyexcel-ods + +hiddenimports = ['pyexcel_ods', 'pyexcel_ods.odsr', 'pyexcel_ods.odsw', "pyexcel_io.writers"] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_ods3.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_ods3.py new file mode 100644 index 0000000..c4f54eb --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_ods3.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# This hook was tested with pyexcel-ods3 0.5.3: +# https://github.com/pyexcel/pyexcel-ods3 + +hiddenimports = ['pyexcel_ods3', 'pyexcel_ods3.odsr', 'pyexcel_ods3.odsw'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_odsr.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_odsr.py new file mode 100644 index 0000000..d895ed1 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_odsr.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# This hook was tested with pyexcel-io 0.5.2: +# https://github.com/pyexcel/pyexcel-io + +hiddenimports = ['pyexcel_odsr', 'pyexcel_odsr.odsr'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_xls.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_xls.py new file mode 100644 index 0000000..4875412 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_xls.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# This hook was tested with pyexcel-xls 0.5.8: +# https://github.com/pyexcel/pyexcel-xls + +hiddenimports = ['pyexcel_xls', 'pyexcel_xls.xlsr', 'pyexcel_xls.xlsw'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_xlsx.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_xlsx.py new file mode 100644 index 0000000..438aab6 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_xlsx.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# This hook was tested with pyexcel-xlsx 0.4.2: +# https://github.com/pyexcel/pyexcel-xlsx + +hiddenimports = ['pyexcel_xlsx', 'pyexcel_xlsx.xlsxr', 'pyexcel_xlsx.xlsxw'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_xlsxw.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_xlsxw.py new file mode 100644 index 0000000..72f7593 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_xlsxw.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# This hook was tested with pyexcel-xlsxw 0.4.2: +# https://github.com/pyexcel/pyexcel-xlsxw + +hiddenimports = ['pyexcel_xlsxw', 'pyexcel_xlsxw.xlsxw'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcelerate.Writer.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcelerate.Writer.py new file mode 100644 index 0000000..ff9dbc8 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyexcelerate.Writer.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('pyexcelerate') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pygraphviz.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pygraphviz.py new file mode 100644 index 0000000..7a6028f --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pygraphviz.py @@ -0,0 +1,145 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +import os +import pathlib +import shutil + +from PyInstaller import compat +from PyInstaller.depend import bindepend +from PyInstaller.utils.hooks import logger + + +def _collect_graphviz_files(): + binaries = [] + datas = [] + + # A working `pygraphviz` installation requires graphviz programs in PATH. Attempt to resolve the `dot` executable to + # see if this is the case. + dot_binary = shutil.which('dot') + if not dot_binary: + logger.warning( + "hook-pygraphviz: 'dot' program not found in PATH!" + ) + return binaries, datas + logger.info("hook-pygraphviz: found 'dot' program: %r", dot_binary) + bin_dir = pathlib.Path(dot_binary).parent + + # Collect graphviz programs that might be called from `pygaphviz.agraph.AGraph`: + # https://github.com/pygraphviz/pygraphviz/blob/pygraphviz-1.14/pygraphviz/agraph.py#L1330-L1348 + # On macOS and on Linux, several of these are symbolic links to a single executable. + progs = ( + "neato", + "dot", + "twopi", + "circo", + "fdp", + "nop", + "osage", + "patchwork", + "gc", + "acyclic", + "gvpr", + "gvcolor", + "ccomps", + "sccmap", + "tred", + "sfdp", + "unflatten", + ) + + logger.debug("hook-pygraphviz: collecting graphviz program executables...") + for program_name in progs: + program_binary = shutil.which(program_name) + if not program_binary: + logger.debug("hook-pygaphviz: graphviz program %r not found!", program_name) + continue + + # Ensure that the program executable was found in the same directory as the `dot` executable. This should + # prevent us from falling back to other graphviz installations that happen to be in PATH. + if pathlib.Path(program_binary).parent != bin_dir: + logger.debug( + "hook-pygraphviz: found program %r (%r) outside of directory %r - ignoring!", + program_name, program_binary, str(bin_dir) + ) + continue + + logger.debug("hook-pygraphviz: collecting graphviz program %r: %r", program_name, program_binary) + binaries += [(program_binary, '.')] + + # Graphviz shared libraries should be automatically collected when PyInstaller performs binary dependency + # analysis of the collected program executables as part of the main build process. However, we need to manually + # collect plugins and their accompanying config file. + logger.debug("hook-pygraphviz: looking for graphviz plugin directory...") + if compat.is_win: + # Under Windows, we have several installation variants: + # - official installers and builds from https://gitlab.com/graphviz/graphviz/-/releases + # - chocolatey + # - msys2 + # - Anaconda + # In all variants, the plugins and the config file are located in the `bin` directory, next to the program + # executables. + plugin_dir = bin_dir + plugin_dest_dir = '.' # Collect into top-level application directory. + # Official builds and Anaconda use unversioned `gvplugin-{name}.dll` plugin names, while msys2 uses + # versioned `libgvplugin-{name}-{version}.dll` plugin names (with "lib" prefix). + plugin_pattern = '*gvplugin*.dll' + else: + # Perform binary dependency analysis on the `dot` executable to obtain the path to graphiz shared libraries. + # These need to be in the library search path for the programs to work, or discoverable via run-paths + # (e.g., Anaconda on Linux and macOS, Homebrew on macOS). + graphviz_lib_candidates = ['cdt', 'gvc', 'cgraph'] + + if hasattr(bindepend, 'get_imports'): + # PyInstaller >= 6.0 + dot_imports = [path for name, path in bindepend.get_imports(dot_binary) if path is not None] + else: + # PyInstaller < 6.0 + dot_imports = bindepend.getImports(dot_binary) + + graphviz_lib_paths = [ + path for path in dot_imports + if any(candidate in os.path.basename(path) for candidate in graphviz_lib_candidates) + ] + + if not graphviz_lib_paths: + logger.warning("hook-pygraphviz: could not determine location of graphviz shared libraries!") + return binaries, datas + + graphviz_lib_dir = pathlib.Path(graphviz_lib_paths[0]).parent + logger.debug("hook-pygraphviz: location of graphviz shared libraries: %r", str(graphviz_lib_dir)) + + # Plugins should be located in `graphviz` directory next to shared libraries. + plugin_dir = graphviz_lib_dir / 'graphviz' + plugin_dest_dir = 'graphviz' # Collect into graphviz sub-directory. + + if compat.is_darwin: + plugin_pattern = '*gvplugin*.dylib' + else: + # Collect only versioned .so library files (for example, `/lib64/graphviz/libgvplugin_core.so.6` and + # `/lib64/graphviz/libgvplugin_core.so.6.0.0`; the former usually being a symbolic link to the latter). + # The unversioned .so library files (such as `lib64/graphviz/libgvplugin_core.so`), if available, are + # meant for linking (and are usually installed as part of development package). + plugin_pattern = '*gvplugin*.so.*' + + if not plugin_dir.is_dir(): + logger.warning("hook-pygraphviz: could not determine location of graphviz plugins!") + return binaries, datas + + logger.info("hook-pygraphviz: collecting graphviz plugins from directory: %r", str(plugin_dir)) + + binaries += [(str(file), plugin_dest_dir) for file in plugin_dir.glob(plugin_pattern)] + datas += [(str(file), plugin_dest_dir) for file in plugin_dir.glob("config*")] # e.g., `config6` + + return binaries, datas + + +binaries, datas = _collect_graphviz_files() diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pygwalker.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pygwalker.py new file mode 100644 index 0000000..9e78db1 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pygwalker.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('pygwalker') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pylibmagic.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pylibmagic.py new file mode 100644 index 0000000..5fb8024 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pylibmagic.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Pylibmagic contains data files (libmagic compiled and configurations) required to use the python-magic package. +""" + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("pylibmagic") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pylint.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pylint.py new file mode 100644 index 0000000..3e2e804 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pylint.py @@ -0,0 +1,75 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# +# ************************************************* +# hook-pylint.py - PyInstaller hook file for pylint +# ************************************************* +# The pylint package, in __pkginfo__.py, is version 1.4.3. Looking at its +# source: +# +# From checkers/__init__.py, starting at line 122:: +# +# def initialize(linter): +# """initialize linter with checkers in this package """ +# register_plugins(linter, __path__[0]) +# +# From reporters/__init__.py, starting at line 131:: +# +# def initialize(linter): +# """initialize linter with reporters in this package """ +# utils.register_plugins(linter, __path__[0]) +# +# From utils.py, starting at line 881:: +# +# def register_plugins(linter, directory): +# """load all module and package in the given directory, looking for a +# 'register' function in each one, used to register pylint checkers +# """ +# imported = {} +# for filename in os.listdir(directory): +# base, extension = splitext(filename) +# if base in imported or base == '__pycache__': +# continue +# if extension in PY_EXTS and base != '__init__' or ( +# not extension and isdir(join(directory, base))): +# try: +# module = load_module_from_file(join(directory, filename)) +# +# +# So, we need all the Python source in the ``checkers/`` and ``reporters/`` +# subdirectories, since these are run-time discovered and loaded. Therefore, +# these files are all data files. In addition, since this is a module, the +# pylint/__init__.py file must be included, since submodules must be children of +# a module. + +from PyInstaller.utils.hooks import ( + collect_data_files, collect_submodules, is_module_or_submodule, get_module_file_attribute +) + +datas = ( + [(get_module_file_attribute('pylint.__init__'), 'pylint')] + + collect_data_files('pylint.checkers', True) + + collect_data_files('pylint.reporters', True) +) + + +# Add imports from dynamically loaded modules, excluding pylint.test +# subpackage (pylint <= 2.3) and pylint.testutils submodule (pylint < 2.7) +# or subpackage (pylint >= 2.7) +def _filter_func(name): + return ( + not is_module_or_submodule(name, 'pylint.test') and + not is_module_or_submodule(name, 'pylint.testutils') + ) + + +hiddenimports = collect_submodules('pylint', _filter_func) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pylsl.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pylsl.py new file mode 100644 index 0000000..f3c7960 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pylsl.py @@ -0,0 +1,42 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +import os +from PyInstaller.utils.hooks import logger, isolated + + +def find_library(): + # Try importing pylsl - this will fail if the shared library is unavailable. + try: + import pylsl # noqa: F401 + except Exception: + return None + + # Return the path to shared library that is used by pylsl. + try: + from pylsl.lib import lib as cdll # pylsl >= 0.17.0 + except ImportError: + from pylsl.pylsl import lib as cdll # older versions + + return cdll._name + + +# whenever a hook needs to load a 3rd party library, it needs to be done in an isolated subprocess +libfile = isolated.call(find_library) + +if libfile: + # add the liblsl library to the binaries + # it gets packaged in pylsl/lib, which is where pylsl will look first + binaries = [(libfile, os.path.join('pylsl', 'lib'))] +else: + logger.warning("liblsl shared library not found - pylsl will likely fail to work!") + binaries = [] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pymediainfo.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pymediainfo.py new file mode 100644 index 0000000..6b39abc --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pymediainfo.py @@ -0,0 +1,44 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.compat import is_win, is_darwin +from PyInstaller.utils.hooks import collect_dynamic_libs, logger + +# Collect bundled mediainfo shared library (available in Windows and macOS wheels on PyPI). +binaries = collect_dynamic_libs("pymediainfo") + +# On linux, no wheels are available, and pymediainfo uses system shared library. +if not binaries and not (is_win or is_darwin): + + def _find_system_mediainfo_library(): + import os + import ctypes.util + from PyInstaller.depend.utils import _resolveCtypesImports + + libname = ctypes.util.find_library("mediainfo") + if libname is not None: + resolved_binary = _resolveCtypesImports([os.path.basename(libname)]) + if resolved_binary: + return resolved_binary[0][1] + + try: + mediainfo_lib = _find_system_mediainfo_library() + except Exception as e: + logger.warning("Error while trying to find system-installed MediaInfo library: %s", e) + mediainfo_lib = None + + if mediainfo_lib: + # Put the library into pymediainfo sub-directory, to keep layout consistent with that of wheels. + binaries += [(mediainfo_lib, 'pymediainfo')] + +if not binaries: + logger.warning("MediaInfo shared library not found - pymediainfo will likely fail to work!") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pymorphy3.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pymorphy3.py new file mode 100644 index 0000000..7282272 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pymorphy3.py @@ -0,0 +1,25 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import can_import_module, copy_metadata, collect_data_files + +datas = copy_metadata('pymorphy3_dicts_ru') +datas += collect_data_files('pymorphy3_dicts_ru') + +hiddenimports = ['pymorphy3_dicts_ru'] + +# Check if the Ukrainian model is installed +if can_import_module('pymorphy3_dicts_uk'): + datas += copy_metadata('pymorphy3_dicts_uk') + datas += collect_data_files('pymorphy3_dicts_uk') + + hiddenimports += ['pymorphy3_dicts_uk'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pymssql.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pymssql.py new file mode 100644 index 0000000..f3a3c96 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pymssql.py @@ -0,0 +1,20 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020-2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies + +hiddenimports = ["decimal"] +# In newer versions of pymssql, the _mssql was under pymssql +if is_module_satisfies("pymssql > 2.1.5"): + hiddenimports += ["pymssql._mssql", "uuid"] +else: + hiddenimports += ["_mssql"] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pynng.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pynng.py new file mode 100644 index 0000000..f3b7499 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pynng.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Hook for https://pypi.org/project/pynng/ +""" + +hiddenimports = ['_cffi_backend'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pynput.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pynput.py new file mode 100644 index 0000000..0776e1d --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pynput.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules("pynput") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyodbc.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyodbc.py new file mode 100644 index 0000000..bfa2f42 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyodbc.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import get_pyextension_imports + +# It's hard to detect imports of binary Python module without importing it. +# Let's try importing that module in a subprocess. +# TODO function get_pyextension_imports() is experimental and we need +# to evaluate its usage here and its suitability for other hooks. +hiddenimports = get_pyextension_imports('pyodbc') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyopencl.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyopencl.py new file mode 100644 index 0000000..9646426 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyopencl.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for the pyopencl module: https://github.com/pyopencl/pyopencl + +from PyInstaller.utils.hooks import copy_metadata, collect_data_files + +datas = copy_metadata('pyopencl') +datas += collect_data_files('pyopencl') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pypdfium2.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pypdfium2.py new file mode 100644 index 0000000..1005a8b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pypdfium2.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +# Collect `version.json`. +datas = collect_data_files("pypdfium2") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pypdfium2_raw.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pypdfium2_raw.py new file mode 100644 index 0000000..01a349d --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pypdfium2_raw.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_dynamic_libs, collect_data_files + +# Collect the bundled pdfium shared library. +binaries = collect_dynamic_libs('pypdfium2_raw') + +# Collect `version.json`. +datas = collect_data_files("pypdfium2_raw") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pypemicro.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pypemicro.py new file mode 100644 index 0000000..7a6e873 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pypemicro.py @@ -0,0 +1,43 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for the pypemicro module: https://github.com/nxpmicro/pypemicro + +import os +from PyInstaller.utils.hooks import get_package_paths, is_module_satisfies +from PyInstaller.log import logger +from PyInstaller.compat import is_darwin + +binaries = list() +if is_module_satisfies('pyinstaller >= 5.0'): + from PyInstaller import isolated + + @isolated.decorate + def get_safe_libs(): + from pypemicro import PyPemicro + libs = PyPemicro.get_pemicro_lib_list() + return libs + + pkg_base, pkg_dir = get_package_paths("pypemicro") + for lib in get_safe_libs(): + source_path = lib['path'] + source_name = lib['name'] + dest = os.path.relpath(source_path, pkg_base) + binaries.append((os.path.join(source_path, source_name), dest)) + if is_darwin: + libusb = os.path.join(source_path, 'libusb.dylib') + if os.path.exists(libusb): + binaries.append((libusb, dest)) + else: + logger.warning("libusb.dylib was not found for Mac OS, ignored") +else: + logger.warning("hook-pypemicro requires pyinstaller >= 5.0") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyphen.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyphen.py new file mode 100644 index 0000000..9f0be6f --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyphen.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('pyphen') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyppeteer.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyppeteer.py new file mode 100644 index 0000000..8c15c18 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyppeteer.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata + +# pyppeteer uses importlib.metadata to query its own version. +datas = copy_metadata("pyppeteer") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyproj.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyproj.py new file mode 100644 index 0000000..83390ef --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyproj.py @@ -0,0 +1,72 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +import os +import sys +from PyInstaller.utils.hooks import collect_data_files, is_module_satisfies, copy_metadata +from PyInstaller.compat import is_win + +hiddenimports = [ + "pyproj.datadir" +] + +binaries = [] + +# Versions prior to 2.3.0 also require pyproj._datadir +if not is_module_satisfies("pyproj >= 2.3.0"): + hiddenimports += ["pyproj._datadir"] + +# Starting with version 3.0.0, pyproj._compat is needed +if is_module_satisfies("pyproj >= 3.0.0"): + hiddenimports += ["pyproj._compat"] + # Linux and macOS also require distutils. + if not is_win: + hiddenimports += ["distutils.util"] + +# Data collection +datas = collect_data_files('pyproj') + +# Repackagers may de-vendor the proj data directory (Conda, Debian) +if not any(dest.startswith("pyproj/proj_dir") for (_, dest) in datas): + if hasattr(sys, 'real_prefix'): # check if in a virtual environment + root_path = sys.real_prefix + else: + root_path = sys.prefix + + if is_win: + tgt_proj_data = os.path.join('Library', 'share', 'proj') + src_proj_data = os.path.join(root_path, 'Library', 'share', 'proj') + + else: # both linux and darwin + tgt_proj_data = os.path.join('share', 'proj') + src_proj_data = os.path.join(root_path, 'share', 'proj') + + if os.path.exists(src_proj_data): + datas.append((src_proj_data, tgt_proj_data)) + # A runtime hook defines the path for `PROJ_LIB` + else: + from PyInstaller.utils.hooks import logger + logger.warning("Datas for pyproj not found at:\n{}".format(src_proj_data)) + +# With pyproj 3.4.0, we need to collect package's metadata due to `importlib.metadata.version(__package__)` call in +# `__init__.py`. This change was reverted in subsequent releases of pyproj, so we collect metadata only for 3.4.0. +if is_module_satisfies("pyproj == 3.4.0"): + datas += copy_metadata("pyproj") + +# pyproj 3.4.0 was also the first release that used `delvewheel` for its Windows PyPI wheels. While contemporary +# PyInstaller versions automatically pick up DLLs from external `pyproj.libs` directory, this does not work on Anaconda +# python 3.8 and 3.9 due to defunct `os.add_dll_directory`, which forces `delvewheel` to use the old load-order file +# approach. So we need to explicitly ensure that load-order file as well as DLLs are collected. +if is_win and is_module_satisfies("pyproj >= 3.4.0"): + if is_module_satisfies("PyInstaller >= 5.6"): + from PyInstaller.utils.hooks import collect_delvewheel_libs_directory + datas, binaries = collect_delvewheel_libs_directory("pyproj", datas=datas, binaries=binaries) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pypsexec.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pypsexec.py new file mode 100644 index 0000000..c96a56e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pypsexec.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# The bundled paexec.exe file needs to be collected (as data file; on any platform) +# because it is deployed to the remote side during execution. + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('pypsexec') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pypylon.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pypylon.py new file mode 100644 index 0000000..395aaf9 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pypylon.py @@ -0,0 +1,48 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# PyPylon is a tricky library to bundle. It encapsulates the pylon C++ SDK inside +# it with modified library references to make the module relocatable. +# PyInstaller is able to find those libraries and preserve the linkage for almost +# all of them. However - there is an additional linking step happening at runtime, +# when the library is creating the transport layer for the camera. This linking +# will fail with the library files modified by pyinstaller. +# As the module is already relocatable, we circumvent this issue by bundling +# pypylon as-is - for pyinstaller we treat the shared library files as just data. + +import os + +from PyInstaller.utils.hooks import ( + collect_data_files, + collect_dynamic_libs, + is_module_satisfies +) + +# Collect dynamic libs as data (to prevent pyinstaller from modifying them). +# NOTE: under PyInstaller 6.x, these files end up re-classified as binaries anyway. +datas = collect_dynamic_libs('pypylon') + +# Collect data files, looking for pypylon/pylonCXP/bin/ProducerCXP.cti, but other files may also be needed +datas += collect_data_files('pypylon') + +# NOTE: the part below is incompatible with PyInstaller 6.x, because `collect_data_files(..., include_py_files=True)` +# does not include binary extensions anymore. In addition, `pyinstaller/pyinstaller@ecc218c` in PyInstaller 6.2 fixed +# the module exclusion for relative imports, so the modules listed below actually end up excluded. Presumably this +# part was necessary with older PyInstaller versions, so we keep it around, but disable it for PyInstaller >= 6.0. +if is_module_satisfies('PyInstaller < 6.0'): + # Exclude the C++-extensions from automatic search, add them manually as data files + # their dependencies were already handled with collect_dynamic_libs + excludedimports = ['pypylon._pylon', 'pypylon._genicam'] + for filename, module in collect_data_files('pypylon', include_py_files=True): + if (os.path.basename(filename).startswith('_pylon.') + or os.path.basename(filename).startswith('_genicam.')): + datas += [(filename, module)] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyqtgraph.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyqtgraph.py new file mode 100644 index 0000000..0d8bf9c --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyqtgraph.py @@ -0,0 +1,56 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files, collect_submodules + +# Collect all data files, excluding the examples' data +datas = collect_data_files('pyqtgraph', excludes=['**/examples/*']) + +# pyqtgraph uses Qt-version-specific templates for the UI elements. +# There are templates for different versions of PySide and PyQt, e.g. +# +# - pyqtgraph.graphicsItems.ViewBox.axisCtrlTemplate_pyqt5 +# - pyqtgraph.graphicsItems.ViewBox.axisCtrlTemplate_pyqt6 +# - pyqtgraph.graphicsItems.ViewBox.axisCtrlTemplate_pyside2 +# - pyqtgraph.graphicsItems.ViewBox.axisCtrlTemplate_pyside6 +# - pyqtgraph.graphicsItems.PlotItem.plotConfigTemplate_pyqt5 +# - pyqtgraph.graphicsItems.PlotItem.plotConfigTemplate_pyqt6 +# - pyqtgraph.graphicsItems.PlotItem.plotConfigTemplate_pyside2 +# - pyqtgraph.graphicsItems.PlotItem.plotConfigTemplate_pyside6 +# +# To be future-proof, we collect all modules by +# using collect-submodules, and filtering the modules +# which appear to be templates. +# We need to avoid recursing into `pyqtgraph.examples`, because that +# triggers instantiation of `QApplication` (which requires X/Wayland +# session on linux). +# Tested with pyqtgraph master branch (commit c1900aa). +all_imports = collect_submodules("pyqtgraph", filter=lambda name: name != "pyqtgraph.examples") +hiddenimports = [name for name in all_imports if "Template" in name] + +# Collect the pyqtgraph/multiprocess/bootstrap.py as a module; this is required by our pyqtgraph.multiprocess runtime +# hook to handle the pyqtgraph's multiprocessing implementation. The pyqtgraph.multiprocess seems to be imported +# automatically on the import of pyqtgraph itself, so there is no point in creating a separate hook for this. +hiddenimports += ['pyqtgraph.multiprocess.bootstrap'] + +# Attempt to auto-select applicable Qt bindings and exclude extraneous Qt bindings. +# Available in PyInstaller >= 6.5, which has `PyInstaller.utils.hooks.qt.exclude_extraneous_qt_bindings` helper. +try: + from PyInstaller.utils.hooks.qt import exclude_extraneous_qt_bindings +except ImportError: + pass +else: + # Use the helper's default preference order, to keep it consistent across multiple hooks that use the same helper. + excludedimports = exclude_extraneous_qt_bindings( + hook_name="hook-pyqtgraph", + qt_bindings_order=None, + ) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyshark.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyshark.py new file mode 100644 index 0000000..46aae20 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyshark.py @@ -0,0 +1,25 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Python wrapper for pyshark(https://pypi.org/project/pyshark/) +# Tested with version 0.4.5 + +from PyInstaller.utils.hooks import collect_data_files, is_module_satisfies + +hiddenimports = ['pyshark.config'] + +if is_module_satisfies("pyshark < 0.6"): + hiddenimports += ['py._path.local', 'py._vendored_packages.iniconfig'] + if is_module_satisfies("pyshark >= 0.5"): + hiddenimports += ["py._io.terminalwriter", "py._builtin"] + +datas = collect_data_files('pyshark') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pysnmp.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pysnmp.py new file mode 100644 index 0000000..5824b58 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pysnmp.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules, collect_data_files + +hiddenimports = collect_submodules('pysnmp.smi.mibs') +datas = collect_data_files('pysnmp.smi.mibs', include_py_files=True) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pystray.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pystray.py new file mode 100644 index 0000000..835b0be --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pystray.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules +# https://github.com/moses-palmer/pystray/tree/feature-explicit-backends +# if this get merged then we don't need this hook +hiddenimports = collect_submodules("pystray") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pytest.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pytest.py new file mode 100644 index 0000000..080d2e7 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pytest.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Hook for http://pypi.python.org/pypi/pytest/ +""" + +import pytest + +hiddenimports = pytest.freeze_includes() diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pythainlp.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pythainlp.py new file mode 100644 index 0000000..d5bdcc5 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pythainlp.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('pythainlp') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pythoncom.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pythoncom.py new file mode 100644 index 0000000..05b0c1d --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pythoncom.py @@ -0,0 +1,31 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# pywin32 supports frozen mode; in that mode, it is looking at sys.path for pythoncomXY.dll. However, as of +# PyInstaller 5.4, we may collect that DLL into its original pywin32_system32 sub-directory as part of the +# binary dependency analysis (and add it to sys.path by means of a runtime hook). + +import pathlib + +from PyInstaller.utils.hooks import is_module_satisfies, get_pywin32_module_file_attribute + +dll_filename = get_pywin32_module_file_attribute('pythoncom') +dst_dir = '.' # Top-level application directory + +if is_module_satisfies('PyInstaller >= 5.4'): + # Try preserving the original pywin32_system directory, if applicable (it is not applicable in Anaconda, + # where the DLL is located in Library/bin). + dll_path = pathlib.Path(dll_filename) + if dll_path.parent.name == 'pywin32_system32': + dst_dir = 'pywin32_system32' + +binaries = [(dll_filename, dst_dir)] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyttsx.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyttsx.py new file mode 100644 index 0000000..36fceb2 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyttsx.py @@ -0,0 +1,23 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +pyttsx imports drivers module based on specific platform. +Found at http://mrmekon.tumblr.com/post/5272210442/pyinstaller-and-pyttsx +""" + +hiddenimports = [ + 'drivers', + 'drivers.dummy', + 'drivers.espeak', + 'drivers.nsss', + 'drivers.sapi5', +] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyttsx3.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyttsx3.py new file mode 100644 index 0000000..ac3edf8 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyttsx3.py @@ -0,0 +1,30 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# pyttsx3 conditionally imports drivers module based on specific platform. +# https://github.com/nateshmbhat/pyttsx3/blob/5a19376a94fdef6bfaef8795539e755b1f363fbf/pyttsx3/driver.py#L40-L50 + +import sys + +hiddenimports = ["pyttsx3.drivers", "pyttsx3.drivers.dummy"] + +# Take directly from the link above. +if sys.platform == 'darwin': + driverName = 'nsss' +elif sys.platform == 'win32': + driverName = 'sapi5' +else: + driverName = 'espeak' +# import driver module +name = 'pyttsx3.drivers.%s' % driverName + +hiddenimports.append(name) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyviz_comms.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyviz_comms.py new file mode 100644 index 0000000..5a882c9 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyviz_comms.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("pyviz_comms") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyvjoy.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyvjoy.py new file mode 100644 index 0000000..d72e13e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pyvjoy.py @@ -0,0 +1,14 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +from PyInstaller.utils.hooks import collect_dynamic_libs + +binaries = collect_dynamic_libs("pyvjoy") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pywintypes.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pywintypes.py new file mode 100644 index 0000000..b452e93 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pywintypes.py @@ -0,0 +1,31 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# pywin32 supports frozen mode; in that mode, it is looking at sys.path for pywintypesXY.dll. However, as of +# PyInstaller 5.4, we may collect that DLL into its original pywin32_system32 sub-directory as part of the +# binary dependency analysis (and add it to sys.path by means of a runtime hook). + +import pathlib + +from PyInstaller.utils.hooks import is_module_satisfies, get_pywin32_module_file_attribute + +dll_filename = get_pywin32_module_file_attribute('pywintypes') +dst_dir = '.' # Top-level application directory + +if is_module_satisfies('PyInstaller >= 5.4'): + # Try preserving the original pywin32_system directory, if applicable (it is not applicable in Anaconda, + # where the DLL is located in Library/bin). + dll_path = pathlib.Path(dll_filename) + if dll_path.parent.name == 'pywin32_system32': + dst_dir = 'pywin32_system32' + +binaries = [(dll_filename, dst_dir)] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pywt.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pywt.py new file mode 100644 index 0000000..e1b5f36 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-pywt.py @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for https://github.com/PyWavelets/pywt + +hiddenimports = ['pywt._extensions._cwt'] + +# NOTE: There is another project `https://github.com/Knapstad/pywt installing +# a packagre `pywt`, too. This name clash is not much of a problem, even if +# this hook is picked up for the other package, since PyInstaller will simply +# skip any module added by this hook but acutally missing. If the other project +# requires a hook, too, simply add it to this file. diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-qtmodern.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-qtmodern.py new file mode 100644 index 0000000..2adb2b7 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-qtmodern.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("qtmodern", includes=["**/*.qss"]) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-radicale.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-radicale.py new file mode 100644 index 0000000..56b487a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-radicale.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata, collect_data_files + +datas = copy_metadata('radicale') +datas += collect_data_files('radicale') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-raven.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-raven.py new file mode 100644 index 0000000..fe6f8e6 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-raven.py @@ -0,0 +1,13 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +hiddenimports = ['raven.events', 'raven.processors'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-rawpy.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-rawpy.py new file mode 100644 index 0000000..7daf325 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-rawpy.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Python wrapper for LibRaw (https://pypi.python.org/pypi/rawpy) +# Tested with version 0.3.5 + +hiddenimports = ['numpy', 'enum'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-rdflib.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-rdflib.py new file mode 100644 index 0000000..7fc6631 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-rdflib.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules('rdflib.plugins') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-redmine.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-redmine.py new file mode 100644 index 0000000..1291095 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-redmine.py @@ -0,0 +1,13 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +hiddenimports = ['redmine.resources'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-regex.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-regex.py new file mode 100644 index 0000000..e55764e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-regex.py @@ -0,0 +1,13 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +hiddenimports = ['warnings'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-reportlab.lib.utils.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-reportlab.lib.utils.py new file mode 100644 index 0000000..eb3ce68 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-reportlab.lib.utils.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Needed for ReportLab 3 +hiddenimports = [ + 'reportlab.rl_settings', +] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-reportlab.pdfbase._fontdata.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-reportlab.pdfbase._fontdata.py new file mode 100644 index 0000000..e4e8e9a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-reportlab.pdfbase._fontdata.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules + +# Tested on Windows 7 x64 with Python 2.7.6 x32 using ReportLab 3.0 +# This has been observed to *not* work on ReportLab 2.7 +hiddenimports = collect_submodules('reportlab.pdfbase', + lambda name: name.startswith('reportlab.pdfbase._fontdata_')) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-resampy.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-resampy.py new file mode 100644 index 0000000..8b45d2c --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-resampy.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for resampy +from PyInstaller.utils.hooks import collect_data_files + +# resampy has two data files that need to be included. +datas = collect_data_files('resampy', False) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-rlp.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-rlp.py new file mode 100644 index 0000000..c59c1b6 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-rlp.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies, copy_metadata + +# Starting with v4.0.0, `rlp` queries its version from metadata. +if is_module_satisfies("rlp >= 4.0.0"): + datas = copy_metadata('rlp') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-rpy2.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-rpy2.py new file mode 100644 index 0000000..f37c2b6 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-rpy2.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +hiddenimports = [ + "rpy2", + "rpy2.robjects", + "rpy2.robjects.packages", + "rpy2.situation", +] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-rtree.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-rtree.py new file mode 100644 index 0000000..67899d3 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-rtree.py @@ -0,0 +1,46 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +import pathlib + +from PyInstaller import compat +from PyInstaller.utils.hooks import collect_dynamic_libs, get_installer, get_package_paths + + +# Query the installer of the `rtree` package; in PyInstaller prior to 6.0, this might raise an exception, whereas in +# later versions, None is returned. +try: + package_installer = get_installer('rtree') +except Exception: + package_installer = None + +if package_installer == 'conda': + from PyInstaller.utils.hooks import conda + + # In Anaconda-packaged `rtree`, `libspatialindex` and `libspatialindex_c` shared libs are packaged in a separate + # `libspatialindex` package. Collect the libraries into `rtree/lib` sub-directory to simulate PyPI wheel layout. + binaries = conda.collect_dynamic_libs('libspatialindex', dest='rtree/lib', dependencies=False) +else: + # pip-installed package. The shared libs are usually placed in `rtree/lib` directory. + binaries = collect_dynamic_libs('rtree') + + # With rtree >= 1.1.0, Linux PyPI wheels place the shared library in a `Rtree.libs` top-level directory. + # In rtree 1.4.0, the directory was renamed to `rtree.libs` + if compat.is_linux: + _, rtree_dir = get_package_paths('rtree') + for candidate_dir_name in ('rtree.libs', 'Rtree.libs'): + rtree_libs_dir = pathlib.Path(rtree_dir).parent / candidate_dir_name + if not rtree_libs_dir.is_dir(): + continue + binaries += [ + (str(lib_file), candidate_dir_name) for lib_file in rtree_libs_dir.glob("libspatialindex*.so*") + ] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ruamel.yaml.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ruamel.yaml.py new file mode 100644 index 0000000..23339e9 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ruamel.yaml.py @@ -0,0 +1,39 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# `ruamel.yaml` offers several optional plugins that can be installed via additional packages +# (e.g., `runamel.yaml.string`). Unfortunately, the discovery of these plugins is predicated on their `__plug_in__.py` +# files being visible on filesystem. +# See: https://sourceforge.net/p/ruamel-yaml/code/ci/0bef9fa8b3c43637cd90ce3f2e299e81c2122128/tree/main.py#l757 + +import pathlib + +from PyInstaller.utils.hooks import get_module_file_attribute, logger + +ruamel_path = pathlib.Path(get_module_file_attribute('ruamel.yaml')).parent + +plugin_files = ruamel_path.glob('*/__plug_in__.py') +plugin_names = [plugin_file.parent.name for plugin_file in plugin_files] +logger.debug("hook-ruamel.yaml: found plugins: %r", plugin_names) + +# Add `__plug_in__` modules to hiddenimports to ensure they are collected and scanned for imports. This also implicitly +# collects the plugin's `__init__` module. +plugin_modules = [f"ruamel.yaml.{plugin_name}.__plug_in__" for plugin_name in plugin_names] + +hiddenimports = plugin_modules + +# Collect the plugins' `__plug_in__` modules both as byte-compiled .pyc in PYZ archive (to be actually loaded) and +# source .py file (which allows plugin to be discovered). +module_collection_mode = { + plugin_module: "pyz+py" + for plugin_module in plugin_modules +} diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-rubicon.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-rubicon.py new file mode 100644 index 0000000..68116a1 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-rubicon.py @@ -0,0 +1,14 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Prevent this package from pulling `setuptools_scm` into frozen application, as it makes no sense in that context. +excludedimports = ["setuptools_scm"] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sacremoses.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sacremoses.py new file mode 100644 index 0000000..23b00db --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sacremoses.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('sacremoses') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sam2.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sam2.py new file mode 100644 index 0000000..321da39 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sam2.py @@ -0,0 +1,30 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for Segment Anything Model 2 (SAM 2): https://pypi.org/project/sam2 + +from PyInstaller.utils.hooks import collect_data_files, collect_submodules + +# Collect config .yaml files. +datas = collect_data_files('sam2') + +# Ensure that all indirectly-imported modules are collected (e.g., `sam2.modeling.backbones`). +hiddenimports = collect_submodules('sam2') + +# Due to use of `torch.script`, we need to collect source .py files for `sam2`. The `sam2/__init__.py` also seems to be +# required by `hydra`. Furthermore, the source-based introspection attempts to load the source of stdlib `enum` module. +# The module collection mode support and run-time discovery of source .py files for modules that are collected into +# `base_library.zip` archive was added in pyinstaller/pyinstaller#8971 (i.e., PyInstaller > 6.11.1). +module_collection_mode = { + 'sam2': 'pyz+py', + 'enum': 'pyz+py', # requires PyInstaller > 6.11.1; no-op in earlier versions +} diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-saml2.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-saml2.py new file mode 100644 index 0000000..244944a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-saml2.py @@ -0,0 +1,25 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for https://github.com/IdentityPython/pysaml2 +from PyInstaller.utils.hooks import collect_data_files, copy_metadata, collect_submodules + +datas = copy_metadata("pysaml2") + +# The library contains a bunch of XSD schemas that are loaded by the code: +# https://github.com/IdentityPython/pysaml2/blob/7cb4f09dce87a7e8098b9c7552ebab8bc77bc896/src/saml2/xml/schema/__init__.py#L23 +# On the other hand, runtime tools are not needed. +datas += collect_data_files("saml2", excludes=["**/tools"]) + +# Submodules are loaded dynamically by: +# https://github.com/IdentityPython/pysaml2/blob/7cb4f09dce87a7e8098b9c7552ebab8bc77bc896/src/saml2/attribute_converter.py#L52 +hiddenimports = collect_submodules("saml2.attributemaps") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-schwifty.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-schwifty.py new file mode 100644 index 0000000..a8b30ca --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-schwifty.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata, collect_data_files + +datas = copy_metadata('schwifty') +datas += collect_data_files('schwifty') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-seedir.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-seedir.py new file mode 100644 index 0000000..28ed6b5 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-seedir.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('seedir') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-selectolax.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-selectolax.py new file mode 100644 index 0000000..53b3086 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-selectolax.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("selectolax") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-selenium.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-selenium.py new file mode 100644 index 0000000..13a312a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-selenium.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('selenium') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sentry_sdk.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sentry_sdk.py new file mode 100644 index 0000000..b7ee95c --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sentry_sdk.py @@ -0,0 +1,40 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +import json +from PyInstaller.utils.hooks import exec_statement + +hiddenimports = ["sentry_sdk.integrations.stdlib", + "sentry_sdk.integrations.excepthook", + "sentry_sdk.integrations.dedupe", + "sentry_sdk.integrations.atexit", + "sentry_sdk.integrations.modules", + "sentry_sdk.integrations.argv", + "sentry_sdk.integrations.logging", + "sentry_sdk.integrations.threading"] + +statement = """ +import json +import sentry_sdk.integrations as si + +integrations = [] +if hasattr(si, '_AUTO_ENABLING_INTEGRATIONS'): + # _AUTO_ENABLING_INTEGRATIONS is a list of strings with default enabled integrations + # https://github.com/getsentry/sentry-python/blob/c6b6f2086b58ffc674df5c25a600b8a615079fb5/sentry_sdk/integrations/__init__.py#L54-L66 + + def make_integration_name(integration_name: str): + return integration_name.rsplit(".", maxsplit=1)[0] + + integrations.extend(map(make_integration_name, si._AUTO_ENABLING_INTEGRATIONS)) +print(json.dumps(integrations)) +""" + +hiddenimports.extend(json.loads(exec_statement(statement))) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-setuptools_scm.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-setuptools_scm.py new file mode 100644 index 0000000..8e22d91 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-setuptools_scm.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata + +# Ensure `metadata of setuptools` dist is collected, to avoid run-time warning about unknown/incompatible `setuptools` +# version. +datas = copy_metadata('setuptools') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-shapely.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-shapely.py new file mode 100644 index 0000000..6899367 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-shapely.py @@ -0,0 +1,105 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +import os +from ctypes.util import find_library + +from PyInstaller.utils.hooks import get_package_paths +from PyInstaller.utils.hooks import is_module_satisfies +from PyInstaller import compat + +# Necessary when using the vectorized subpackage +hiddenimports = ['shapely.prepared'] + +if is_module_satisfies('shapely >= 2.0.0'): + # An import made in the `shapely.geometry_helpers` extension; both `shapely.geometry_helpers` and `shapely._geos` + # extensions were introduced in v2.0.0. + hiddenimports += ['shapely._geos'] + +pkg_base, pkg_dir = get_package_paths('shapely') + +binaries = [] +datas = [] +if compat.is_win: + geos_c_dll_found = False + + # Search conda directory if conda is active, then search standard + # directory. This is the same order of precidence used in shapely. + standard_path = os.path.join(pkg_dir, 'DLLs') + lib_paths = [standard_path, os.environ['PATH']] + if compat.is_conda: + conda_path = os.path.join(compat.base_prefix, 'Library', 'bin') + lib_paths.insert(0, conda_path) + original_path = os.environ['PATH'] + try: + os.environ['PATH'] = os.pathsep.join(lib_paths) + dll_path = find_library('geos_c') or find_library('libgeos_c') + finally: + os.environ['PATH'] = original_path + if dll_path is not None: + binaries += [(dll_path, '.')] + geos_c_dll_found = True + + # Starting with shapely 1.8.1, the DLLs shipped with PyPI wheels are stored in + # site-packages/Shapely.libs instead of sub-directory in site-packages/shapely. + if is_module_satisfies("shapely >= 1.8.1"): + lib_dir = os.path.join(pkg_base, "Shapely.libs") + if os.path.isdir(lib_dir): + # We collect DLLs as data files instead of binaries to suppress binary + # analysis, which would result in duplicates (because it collects a copy + # into the top-level directory instead of preserving the original layout). + # In addition to DLls, this also collects .load-order* file (required on + # python < 3.8), and ensures that Shapely.libs directory exists (required + # on python >= 3.8 due to os.add_dll_directory call). + datas += [ + (os.path.join(lib_dir, lib_file), 'Shapely.libs') + for lib_file in os.listdir(lib_dir) + ] + + geos_c_dll_found |= any([ + os.path.basename(lib_file).startswith("geos_c") + for lib_file, _ in datas + ]) + + if not geos_c_dll_found: + raise SystemExit( + "Error: geos_c.dll not found, required by hook-shapely.py.\n" + "Please check your installation or provide a pull request to " + "PyInstaller to update hook-shapely.py.") +elif compat.is_linux and is_module_satisfies('shapely < 1.7'): + # This duplicates the libgeos*.so* files in the build. PyInstaller will + # copy them into the root of the build by default, but shapely cannot load + # them from there in linux IF shapely was installed via a whl file. The + # whl bundles its own libgeos with a different name, something like + # libgeos_c-*.so.* but shapely tries to load libgeos_c.so if there isn't a + # ./libs directory under its package. + # + # The fix for this (https://github.com/Toblerity/Shapely/pull/485) has + # been available in shapely since version 1.7. + lib_dir = os.path.join(pkg_dir, '.libs') + dest_dir = os.path.join('shapely', '.libs') + + binaries += [(os.path.join(lib_dir, f), dest_dir) for f in os.listdir(lib_dir)] +elif compat.is_darwin and is_module_satisfies('shapely >= 1.8.1'): + # In shapely 1.8.1, the libgeos_c library bundled in macOS PyPI wheels is not + # called libgeos.1.dylib anymore, but rather has a fullly-versioned name + # (e.g., libgeos_c.1.16.0.dylib). + # Shapely fails to find such a library unless it is located in the .dylibs + # directory. So we need to ensure that the libraries are collected into + # .dylibs directory; however, this will result in duplication due to binary + # analysis of the python extensions that are linked against these libraries + # as well (as that will copy the libraries to top-level directory). + lib_dir = os.path.join(pkg_dir, '.dylibs') + dest_dir = os.path.join('shapely', '.dylibs') + + if os.path.isdir(lib_dir): + binaries += [(os.path.join(lib_dir, f), dest_dir) for f in os.listdir(lib_dir)] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-shotgun_api3.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-shotgun_api3.py new file mode 100644 index 0000000..3ccf68a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-shotgun_api3.py @@ -0,0 +1,23 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +# Shotgun is using "six" to import these and +# PyInstaller does not seem to catch them correctly. +hiddenimports = ["xmlrpc", "xmlrpc.client"] + +# Collect the following files: +# /shotgun_api3/lib/httplib2/python2/cacerts.txt +# /shotgun_api3/lib/httplib2/python3/cacerts.txt +# /shotgun_api3/lib/certifi/cacert.pem +datas = collect_data_files("shotgun_api3") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-simplemma.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-simplemma.py new file mode 100644 index 0000000..a233c66 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-simplemma.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('simplemma') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.color.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.color.py new file mode 100644 index 0000000..d79f3fd --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.color.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies, collect_data_files, collect_submodules + +# As of scikit-image 0.21.0, we need to collect the __init__.pyi file for `lazy_loader`, as well as collect submodules +# due to lazy loading. +if is_module_satisfies("scikit-image >= 0.21.0"): + datas = collect_data_files("skimage.color", includes=["*.pyi"]) + hiddenimports = collect_submodules('skimage.color', filter=lambda name: name != 'skimage.color.tests') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.data.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.data.py new file mode 100644 index 0000000..8f59def --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.data.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies, collect_data_files, collect_submodules + +# As of scikit-image 0.20.0, we need to collect the __init__.pyi file for `lazy_loader`, as well as collect submodules +# due to lazy loading. +if is_module_satisfies('scikit-image >= 0.20.0'): + datas = collect_data_files("skimage.data", includes=["*.pyi"]) + hiddenimports = collect_submodules('skimage.data', filter=lambda name: name != 'skimage.data.tests') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.draw.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.draw.py new file mode 100644 index 0000000..e52d351 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.draw.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies, collect_data_files, collect_submodules + +# As of scikit-image 0.21.0, we need to collect the __init__.pyi file for `lazy_loader`, as well as collect submodules +# due to lazy loading. +if is_module_satisfies("scikit-image >= 0.21.0"): + datas = collect_data_files("skimage.draw", includes=["*.pyi"]) + hiddenimports = collect_submodules('skimage.draw', filter=lambda name: name != 'skimage.draw.tests') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.exposure.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.exposure.py new file mode 100644 index 0000000..e737efb --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.exposure.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies, collect_data_files, collect_submodules + +# As of scikit-image 0.21.0, we need to collect the __init__.pyi file for `lazy_loader`, as well as collect submodules +# due to lazy loading. +if is_module_satisfies("scikit-image >= 0.21.0"): + datas = collect_data_files("skimage.exposure", includes=["*.pyi"]) + hiddenimports = collect_submodules('skimage.exposure', filter=lambda name: name != 'skimage.exposure.tests') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.feature.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.feature.py new file mode 100644 index 0000000..29d376d --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.feature.py @@ -0,0 +1,26 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies, collect_data_files, collect_submodules + +# The following missing module prevents import of skimage.feature with skimage 0.17.x. +hiddenimports = ['skimage.feature._orb_descriptor_positions', ] + +# Collect the data file with ORB descriptor positions. In earlier versions of scikit-image, this file was in +# `skimage/data` directory, and it was moved to `skimage/feature` in v0.17.0. Collect if from wherever it is. +datas = collect_data_files('skimage', includes=['**/orb_descriptor_positions.txt']) + +# As of scikit-image 0.22.0, we need to collect the __init__.pyi file for `lazy_loader`, as well as collect submodules +# due to lazy loading. +if is_module_satisfies("scikit-image >= 0.22.0"): + datas += collect_data_files("skimage.feature", includes=["*.pyi"]) + hiddenimports = collect_submodules('skimage.feature', filter=lambda name: name != 'skimage.feature.tests') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.filters.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.filters.py new file mode 100644 index 0000000..e88726c --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.filters.py @@ -0,0 +1,24 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies, collect_data_files, collect_submodules + +if is_module_satisfies("scikit-image >= 0.19.0"): + # In scikit-image 0.19.x, `skimage.filters` switched to lazy module loading, so we need to collect all submodules. + hiddenimports = collect_submodules('skimage.filters', filter=lambda name: name != 'skimage.filters.tests') + + # In scikit-image 0.20.0, `lazy_loader` is used, so we need to collect `__init__.pyi` file. + if is_module_satisfies("scikit-image >= 0.20.0"): + datas = collect_data_files("skimage.filters", includes=["*.pyi"]) +elif is_module_satisfies("scikit-image >= 0.18.0"): + # The following missing module prevents import of skimage.feature with skimage 0.18.x. + hiddenimports = ['skimage.filters.rank.core_cy_3d', ] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.future.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.future.py new file mode 100644 index 0000000..41905d4 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.future.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies, collect_data_files, collect_submodules + +# As of scikit-image 0.21.0, we need to collect the __init__.pyi file for `lazy_loader`, as well as collect submodules +# due to lazy loading. +if is_module_satisfies("scikit-image >= 0.21.0"): + datas = collect_data_files("skimage.future", includes=["*.pyi"]) + hiddenimports = collect_submodules('skimage.future', filter=lambda name: name != 'skimage.future.tests') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.graph.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.graph.py new file mode 100644 index 0000000..2caffd4 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.graph.py @@ -0,0 +1,22 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies, collect_data_files, collect_submodules + +# The following missing module prevents import of skimage.graph with skimage 0.17.x. +hiddenimports = ['skimage.graph.heap', ] + +# As of scikit-image 0.22.0, we need to collect the __init__.pyi file for `lazy_loader`, as well as collect submodules +# due to lazy loading. +if is_module_satisfies("scikit-image >= 0.22.0"): + datas = collect_data_files("skimage.graph", includes=["*.pyi"]) + hiddenimports = collect_submodules('skimage.graph', filter=lambda name: name != 'skimage.graph.tests') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.io.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.io.py new file mode 100644 index 0000000..45d6663 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.io.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# This hook was tested with scikit-image (skimage) 0.14.1: +# https://scikit-image.org + +from PyInstaller.utils.hooks import collect_data_files, collect_submodules + +datas = collect_data_files("skimage.io._plugins") +hiddenimports = collect_submodules('skimage.io._plugins') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.measure.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.measure.py new file mode 100644 index 0000000..1cdaa2c --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.measure.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies, collect_data_files, collect_submodules + +# As of scikit-image 0.22.0, we need to collect the __init__.pyi file for `lazy_loader`, as well as collect submodules +# due to lazy loading. +if is_module_satisfies("scikit-image >= 0.22.0"): + datas = collect_data_files("skimage.measure", includes=["*.pyi"]) + hiddenimports = collect_submodules('skimage.measure', filter=lambda name: name != 'skimage.measure.tests') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.metrics.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.metrics.py new file mode 100644 index 0000000..7d575f5 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.metrics.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies, collect_data_files, collect_submodules + +# As of scikit-image 0.23.0, we need to collect the __init__.pyi file for `lazy_loader`, as well as collect submodules +# due to lazy loading. +if is_module_satisfies("scikit-image >= 0.23.0"): + datas = collect_data_files("skimage.metrics", includes=["*.pyi"]) + hiddenimports = collect_submodules('skimage.metrics', filter=lambda name: name != 'skimage.metrics.tests') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.morphology.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.morphology.py new file mode 100644 index 0000000..dc5c6c2 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.morphology.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files, is_module_satisfies + +# As of scikit-image 0.20.0, we need to collect .npy data files for `skimage.morphology` +if is_module_satisfies('scikit-image >= 0.20'): + datas = collect_data_files("skimage.morphology", includes=["*.npy"]) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.py new file mode 100644 index 0000000..03e3ec0 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files, is_module_satisfies + +# As of scikit-image 0.20.0, we need to collect the __init__.pyi file for `lazy_loader`. +if is_module_satisfies('scikit-image >= 0.20.0'): + datas = collect_data_files("skimage", includes=["*.pyi"]) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.registration.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.registration.py new file mode 100644 index 0000000..0ffeee8 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.registration.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies, collect_data_files, collect_submodules + +# As of scikit-image 0.22.0, we need to collect the __init__.pyi file for `lazy_loader`, as well as collect submodules +# due to lazy loading. +if is_module_satisfies("scikit-image >= 0.22.0"): + datas = collect_data_files("skimage.registration", includes=["*.pyi"]) + hiddenimports = collect_submodules('skimage.registration', filter=lambda name: name != 'skimage.registration.tests') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.restoration.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.restoration.py new file mode 100644 index 0000000..a048738 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.restoration.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies, collect_data_files, collect_submodules + +# As of scikit-image 0.22.0, we need to collect the __init__.pyi file for `lazy_loader`, as well as collect submodules +# due to lazy loading. +if is_module_satisfies("scikit-image >= 0.22.0"): + datas = collect_data_files("skimage.restoration", includes=["*.pyi"]) + hiddenimports = collect_submodules('skimage.restoration', filter=lambda name: name != 'skimage.restoration.tests') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.transform.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.transform.py new file mode 100644 index 0000000..3841a4e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skimage.transform.py @@ -0,0 +1,24 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +from PyInstaller.utils.hooks import is_module_satisfies, collect_data_files, collect_submodules + +# Hook tested with scikit-image (skimage) 0.9.3 on Mac OS 10.9 and Windows 7 64-bit +hiddenimports = ['skimage.draw.draw', + 'skimage._shared.geometry', + 'skimage._shared.transform', + 'skimage.filters.rank.core_cy'] + +# As of scikit-image 0.22.0, we need to collect the __init__.pyi file for `lazy_loader`, as well as collect submodules +# due to lazy loading. +if is_module_satisfies("scikit-image >= 0.22.0"): + datas = collect_data_files("skimage.transform", includes=["*.pyi"]) + hiddenimports += collect_submodules('skimage.transform', filter=lambda name: name != 'skimage.transform.tests') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.cluster.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.cluster.py new file mode 100644 index 0000000..a855309 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.cluster.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies + +# sklearn.cluster in scikit-learn 0.23.x has a hidden import of +# threadpoolctl +if is_module_satisfies("scikit_learn >= 0.23"): + hiddenimports = ['threadpoolctl', ] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.externals.array_api_compat.cupy.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.externals.array_api_compat.cupy.py new file mode 100644 index 0000000..4c2275a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.externals.array_api_compat.cupy.py @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# These hidden imports are required due to the following statements found in the package's `__init__.py`: +# ``` +# __import__(__package__ + '.linalg') +# __import__(__package__ + '.fft') +# ``` +hiddenimports = [ + 'sklearn.externals.array_api_compat.cupy.fft', + 'sklearn.externals.array_api_compat.cupy.linalg', +] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.externals.array_api_compat.dask.array.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.externals.array_api_compat.dask.array.py new file mode 100644 index 0000000..7779374 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.externals.array_api_compat.dask.array.py @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# These hidden imports are required due to the following statements found in the package's `__init__.py`: +# ``` +# __import__(__package__ + '.linalg') +# __import__(__package__ + '.fft') +# ``` +hiddenimports = [ + 'sklearn.externals.array_api_compat.dask.array.fft', + 'sklearn.externals.array_api_compat.dask.array.linalg', +] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.externals.array_api_compat.numpy.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.externals.array_api_compat.numpy.py new file mode 100644 index 0000000..042a73a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.externals.array_api_compat.numpy.py @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# These hidden imports are required due to the following statements found in the package's `__init__.py`: +# ``` +# __import__(__package__ + '.linalg') +# __import__(__package__ + '.fft') +# ``` +hiddenimports = [ + 'sklearn.externals.array_api_compat.numpy.fft', + 'sklearn.externals.array_api_compat.numpy.linalg', +] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.externals.array_api_compat.torch.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.externals.array_api_compat.torch.py new file mode 100644 index 0000000..207bb3d --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.externals.array_api_compat.torch.py @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# These hidden imports are required due to the following statements found in the package's `__init__.py`: +# ``` +# __import__(__package__ + '.linalg') +# __import__(__package__ + '.fft') +# ``` +hiddenimports = [ + 'sklearn.externals.array_api_compat.torch.fft', + 'sklearn.externals.array_api_compat.torch.linalg', +] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.linear_model.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.linear_model.py new file mode 100644 index 0000000..ce5a884 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.linear_model.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies + +# sklearn.linear_model in scikit-learn 0.24.x has a hidden import of +# sklearn.utils._weight_vector +if is_module_satisfies("scikit_learn >= 0.24"): + hiddenimports = ['sklearn.utils._weight_vector', ] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.metrics.cluster.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.metrics.cluster.py new file mode 100644 index 0000000..3cbeb64 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.metrics.cluster.py @@ -0,0 +1,27 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Required by scikit-learn 0.21 +from PyInstaller.utils.hooks import is_module_satisfies + +if is_module_satisfies("scikit-learn < 0.22"): + hiddenimports = [ + 'sklearn.utils.lgamma', + 'sklearn.utils.weight_vector' + ] +else: + # lgamma was removed and weight_vector privatised in 0.22. + # https://github.com/scikit-learn/scikit-learn/commit/58be9a671b0b8fcb4b75f4ae99f4469ca33a2158#diff-dbca16040fd2b85a499ba59833b37f1785c58e52d2e89ce5cdfc7fff164bd5f3 + # https://github.com/scikit-learn/scikit-learn/commit/150e82b52bf28c88c5a8b1a10f9777d0452b3ef2 + hiddenimports = [ + 'sklearn.utils._weight_vector' + ] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.metrics.pairwise.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.metrics.pairwise.py new file mode 100644 index 0000000..188c1af --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.metrics.pairwise.py @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Required by scikit-learn 1.1.0 +from PyInstaller.utils.hooks import is_module_satisfies + +if is_module_satisfies("scikit-learn >= 1.1.0"): + hiddenimports = [ + 'sklearn.utils._heap', + 'sklearn.utils._sorting', + 'sklearn.utils._vector_sentinel', + ] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.metrics.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.metrics.py new file mode 100644 index 0000000..8bdea5f --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.metrics.py @@ -0,0 +1,25 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies, collect_submodules + +hiddenimports = [] + +# Required by scikit-learn 1.0.0 +if is_module_satisfies("scikit-learn >= 1.0.0"): + hiddenimports += [ + 'sklearn.utils._typedefs', + ] + +# Required by scikit-learn 1.2.0 +if is_module_satisfies("scikit-learn >= 1.2.0"): + hiddenimports += collect_submodules("sklearn.metrics._pairwise_distances_reduction") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.neighbors.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.neighbors.py new file mode 100644 index 0000000..937fe75 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.neighbors.py @@ -0,0 +1,41 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies + +hiddenimports = [] + +if is_module_satisfies("scikit_learn > 1.0.1"): + # 1.0.2 and later + hiddenimports += [ + 'sklearn.neighbors._quad_tree', + ] +elif is_module_satisfies("scikit_learn < 0.22 "): + # 0.21 and below + hiddenimports += [ + 'sklearn.neighbors.typedefs', + 'sklearn.neighbors.quad_tree', + ] +else: + # between and including 0.22 and 1.0.1 + hiddenimports += [ + 'sklearn.neighbors._typedefs', + 'sklearn.neighbors._quad_tree', + ] + +# The following hidden import must be added here +# (as opposed to sklearn.tree) +hiddenimports += ['sklearn.tree._criterion'] + +# Additional hidden imports introduced in v1.0.0 +if is_module_satisfies("scikit_learn >= 1.0.0"): + hiddenimports += ["sklearn.neighbors._partition_nodes"] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.py new file mode 100644 index 0000000..25724f3 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Tested on Windows 10 64bit with python 3.7.1 + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('sklearn') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.tree.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.tree.py new file mode 100644 index 0000000..7a222e2 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.tree.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies + +hiddenimports = ['sklearn.tree._utils'] + +if is_module_satisfies('scikit-learn >= 1.6.0'): + hiddenimports += ['sklearn.tree._partitioner'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.utils.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.utils.py new file mode 100644 index 0000000..10f44d7 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.utils.py @@ -0,0 +1,20 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies + +hiddenimports = ['sklearn.utils._cython_blas'] + +# As of scikit-learn 1.7.1, the `sklearn.utils._isfinite` extension started to depend on newly-introduced +# `sklearn._cyutility`. +if is_module_satisfies('scikit-learn >= 1.7.1'): + hiddenimports += ['sklearn._cyutility'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skyfield.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skyfield.py new file mode 100644 index 0000000..8394b34 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-skyfield.py @@ -0,0 +1,14 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files +datas = collect_data_files('skyfield') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-slixmpp.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-slixmpp.py new file mode 100644 index 0000000..93bd8a1 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-slixmpp.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules("slixmpp.features") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sound_lib.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sound_lib.py new file mode 100644 index 0000000..ed290ea --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sound_lib.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +sound_lib: http://hg.q-continuum.net/sound_lib +""" + +from PyInstaller.utils.hooks import collect_dynamic_libs + +binaries = collect_dynamic_libs('sound_lib') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sounddevice.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sounddevice.py new file mode 100644 index 0000000..6316b03 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sounddevice.py @@ -0,0 +1,62 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +sounddevice: +https://github.com/spatialaudio/python-sounddevice/ +""" + +import pathlib + +from PyInstaller.utils.hooks import get_module_file_attribute, logger + +binaries = [] +datas = [] + +# PyPI wheels for Windows and macOS ship the sndfile shared library in _sounddevice_data directory, +# located next to the sounddevice.py module file (i.e., in the site-packages directory). +module_dir = pathlib.Path(get_module_file_attribute('sounddevice')).parent +data_dir = module_dir / '_sounddevice_data' / 'portaudio-binaries' +if data_dir.is_dir(): + destdir = str(data_dir.relative_to(module_dir)) + + # Collect the shared library (known variants: libportaudio64bit.dll, libportaudio32bit.dll, libportaudio.dylib) + for lib_file in data_dir.glob("libportaudio*.*"): + binaries += [(str(lib_file), destdir)] + + # Collect the README.md file + readme_file = data_dir / "README.md" + if readme_file.is_file(): + datas += [(str(readme_file), destdir)] +else: + # On linux and in Anaconda in all OSes, the system-installed portaudio library needs to be collected. + def _find_system_portaudio_library(): + import os + import ctypes.util + from PyInstaller.depend.utils import _resolveCtypesImports + + libname = ctypes.util.find_library("portaudio") + if libname is not None: + resolved_binary = _resolveCtypesImports([os.path.basename(libname)]) + if resolved_binary: + return resolved_binary[0][1] + + try: + lib_file = _find_system_portaudio_library() + except Exception as e: + logger.warning("Error while trying to find system-installed portaudio library: %s", e) + lib_file = None + + if lib_file: + binaries += [(lib_file, '.')] + +if not binaries: + logger.warning("portaudio shared library not found - sounddevice will likely fail to work!") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-soundfile.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-soundfile.py new file mode 100644 index 0000000..f788c38 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-soundfile.py @@ -0,0 +1,62 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +pysoundfile: +https://github.com/bastibe/SoundFile +""" + +import pathlib + +from PyInstaller.utils.hooks import get_module_file_attribute, logger + +binaries = [] +datas = [] + +# PyPI wheels for Windows and macOS ship the sndfile shared library in _soundfile_data directory, +# located next to the soundfile.py module file (i.e., in the site-packages directory). +module_dir = pathlib.Path(get_module_file_attribute('soundfile')).parent +data_dir = module_dir / '_soundfile_data' +if data_dir.is_dir(): + destdir = str(data_dir.relative_to(module_dir)) + + # Collect the shared library (known variants: libsndfile64bit.dll, libsndfile32bit.dll, libsndfile.dylib) + for lib_file in data_dir.glob("libsndfile*.*"): + binaries += [(str(lib_file), destdir)] + + # Collect the COPYING file + copying_file = data_dir / "COPYING" + if copying_file.is_file(): + datas += [(str(copying_file), destdir)] +else: + # On linux and in Anaconda in all OSes, the system-installed sndfile library needs to be collected. + def _find_system_sndfile_library(): + import os + import ctypes.util + from PyInstaller.depend.utils import _resolveCtypesImports + + libname = ctypes.util.find_library("sndfile") + if libname is not None: + resolved_binary = _resolveCtypesImports([os.path.basename(libname)]) + if resolved_binary: + return resolved_binary[0][1] + + try: + lib_file = _find_system_sndfile_library() + except Exception as e: + logger.warning("Error while trying to find system-installed sndfile library: %s", e) + lib_file = None + + if lib_file: + binaries += [(lib_file, '.')] + +if not binaries: + logger.warning("sndfile shared library not found - soundfile will likely fail to work!") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-spacy.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-spacy.py new file mode 100644 index 0000000..25ee44e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-spacy.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Spacy contains hidden imports and data files which are needed to import it +""" + +from PyInstaller.utils.hooks import collect_data_files, collect_submodules + +datas = collect_data_files("spacy") +hiddenimports = collect_submodules("spacy") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-speech_recognition.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-speech_recognition.py new file mode 100644 index 0000000..fb7d179 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-speech_recognition.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for speech_recognition: https://pypi.python.org/pypi/SpeechRecognition/ +# Tested on Windows 8.1 x64 with SpeechRecognition 1.5 + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("speech_recognition") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-spiceypy.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-spiceypy.py new file mode 100644 index 0000000..3444d93 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-spiceypy.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for spiceypy: https://pypi.org/project/spiceypy/ +# Tested on Ubuntu 20.04 with spiceypy 5.1.1 + +from PyInstaller.utils.hooks import collect_dynamic_libs + +binaries = collect_dynamic_libs("spiceypy") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-spnego.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-spnego.py new file mode 100644 index 0000000..b038573 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-spnego.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules('spnego') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-srsly.msgpack._packer.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-srsly.msgpack._packer.py new file mode 100644 index 0000000..519cd0b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-srsly.msgpack._packer.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +srsly.msgpack._packer contains hidden imports which are needed to import it +This hook was created to make spacy work correctly. +""" + +hiddenimports = ['srsly.msgpack.util'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sspilib.raw.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sspilib.raw.py new file mode 100644 index 0000000..7fbd239 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sspilib.raw.py @@ -0,0 +1,20 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules + +# This seems to be required in python <= 3.9; in later versions, the `dataclasses` module ends up included via a +# different import chain. But for the sake of consistency, keep the hiddenimport for all python versions. +hiddenimports = ['dataclasses'] + +# Collect submodules of `sspilib.raw` - most of which are cythonized extensions. +hiddenimports += collect_submodules('sspilib.raw') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-statsmodels.tsa.statespace.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-statsmodels.tsa.statespace.py new file mode 100644 index 0000000..547d706 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-statsmodels.tsa.statespace.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules('statsmodels.tsa.statespace._filters') \ + + collect_submodules('statsmodels.tsa.statespace._smoothers') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-stdnum.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-stdnum.py new file mode 100644 index 0000000..068e960 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-stdnum.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2022 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Collect data files that are required by some of the stdnum's sub-modules +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("stdnum") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-storm.database.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-storm.database.py new file mode 100644 index 0000000..1cde580 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-storm.database.py @@ -0,0 +1,20 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Hook for storm ORM. +""" + +hiddenimports = [ + 'storm.databases.sqlite', + 'storm.databases.postgres', + 'storm.databases.mysql' +] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sudachipy.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sudachipy.py new file mode 100644 index 0000000..1abb48e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sudachipy.py @@ -0,0 +1,30 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import can_import_module, collect_data_files, is_module_satisfies + +datas = collect_data_files('sudachipy') +hiddenimports = [] + +# In v0.6.8, `sudachipy.config` and `sudachipy.errors` modules were added, and are referenced from binary extension. +if is_module_satisfies('sudachipy >= 0.6.8'): + hiddenimports += [ + 'sudachipy.config', + 'sudachipy.errors', + ] + +# Check which types of dictionary are installed +for sudachi_dict in ['sudachidict_small', 'sudachidict_core', 'sudachidict_full']: + if can_import_module(sudachi_dict): + datas += collect_data_files(sudachi_dict) + + hiddenimports += [sudachi_dict] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sunpy.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sunpy.py new file mode 100644 index 0000000..4a069e4 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sunpy.py @@ -0,0 +1,20 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files, collect_submodules, copy_metadata + +hiddenimports = collect_submodules("sunpy", filter=lambda x: "tests" not in x.split(".")) +datas = collect_data_files("sunpy", excludes=['**/tests/', '**/test/']) +datas += collect_data_files("drms") +datas += copy_metadata("sunpy") + +# Note : sunpy > 3.1.0 comes with it's own hook for running tests. diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sv_ttk.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sv_ttk.py new file mode 100644 index 0000000..0f37e32 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-sv_ttk.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +# Collect all files in the sv_ttk package +datas = collect_data_files(package="sv_ttk") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-swagger_spec_validator.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-swagger_spec_validator.py new file mode 100644 index 0000000..bb4b4d1 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-swagger_spec_validator.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("swagger_spec_validator") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tableauhyperapi.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tableauhyperapi.py new file mode 100644 index 0000000..210daef --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tableauhyperapi.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_dynamic_libs + +binaries = collect_dynamic_libs("tableauhyperapi") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tables.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tables.py new file mode 100644 index 0000000..440c6a1 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tables.py @@ -0,0 +1,30 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.compat import is_win +from PyInstaller.utils.hooks import collect_dynamic_libs, is_module_satisfies + +# PyTables is a package for managing hierarchical datasets +hiddenimports = ["tables._comp_lzo", "tables._comp_bzip2"] + +# Collect the bundled copy of blosc2 shared library. +binaries = collect_dynamic_libs('tables') +datas = [] + +# tables 3.7.0 started using `delvewheel` for its Windows PyPI wheels. While contemporary PyInstaller versions +# automatically pick up DLLs from external `pyproj.libs` directory, this does not work on Anaconda python 3.8 and 3.9 +# due to defunct `os.add_dll_directory`, which forces `delvewheel` to use the old load-order file approach. So we need +# to explicitly ensure that load-order file as well as DLLs are collected. +if is_win and is_module_satisfies("tables >= 3.7.0"): + if is_module_satisfies("PyInstaller >= 5.6"): + from PyInstaller.utils.hooks import collect_delvewheel_libs_directory + datas, binaries = collect_delvewheel_libs_directory("tables", datas=datas, binaries=binaries) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tcod.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tcod.py new file mode 100644 index 0000000..d5b076e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tcod.py @@ -0,0 +1,20 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Hook for https://github.com/libtcod/python-tcod +""" +from PyInstaller.utils.hooks import collect_dynamic_libs + +hiddenimports = ['_cffi_backend'] + +# Install shared libraries to the working directory. +binaries = collect_dynamic_libs('tcod', destdir='.') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tensorflow.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tensorflow.py new file mode 100644 index 0000000..6a7a50a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tensorflow.py @@ -0,0 +1,188 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.compat import importlib_metadata +from packaging.version import Version + +from PyInstaller.compat import is_linux +from PyInstaller.utils.hooks import ( + collect_data_files, + collect_dynamic_libs, + collect_submodules, + get_module_attribute, + is_module_satisfies, + logger, +) + +# Determine the name of `tensorflow` dist; this is available under different names (releases vs. nightly, plus build +# variants). We need to determine the dist that we are dealing with, so we can query its version and metadata. +_CANDIDATE_DIST_NAMES = ( + "tensorflow", + "tensorflow-cpu", + "tensorflow-gpu", + "tensorflow-intel", + "tensorflow-rocm", + "tensorflow-macos", + "tensorflow-aarch64", + "tensorflow-cpu-aws", + "tf-nightly", + "tf-nightly-cpu", + "tf-nightly-gpu", + "tf-nightly-rocm", + "intel-tensorflow", + "intel-tensorflow-avx512", +) +dist = None +for candidate_dist_name in _CANDIDATE_DIST_NAMES: + try: + dist = importlib_metadata.distribution(candidate_dist_name) + break + except importlib_metadata.PackageNotFoundError: + continue + +version = None +if dist is None: + logger.warning( + "hook-tensorflow: failed to determine tensorflow dist name! Reading version from tensorflow.__version__!" + ) + try: + version = get_module_attribute("tensorflow", "__version__") + except Exception as e: + raise Exception("Failed to read tensorflow.__version__") from e +else: + logger.info("hook-tensorflow: tensorflow dist name: %s", dist.name) + version = dist.version + +# Parse version +logger.info("hook-tensorflow: tensorflow version: %s", version) +try: + version = Version(version) +except Exception as e: + raise Exception("Failed to parse tensorflow version!") from e + +# Exclude from data collection: +# - development headers in include subdirectory +# - XLA AOT runtime sources +# - libtensorflow_framework and libtensorflow_cc (since TF 2.12) shared libraries (to avoid duplication) +# - import library (.lib) files (Windows-only) +data_excludes = [ + "include", + "xla_aot_runtime_src", + "libtensorflow_framework.*", + "libtensorflow_cc.*", + "**/*.lib", +] + +# Under tensorflow 2.3.0 (the most recent version at the time of writing), _pywrap_tensorflow_internal extension module +# ends up duplicated; once as an extension, and once as a shared library. In addition to increasing program size, this +# also causes problems on macOS, so we try to prevent the extension module "variant" from being picked up. +# +# See pyinstaller/pyinstaller-hooks-contrib#49 for details. +# +# With PyInstaller >= 6.0, this issue is alleviated, because the binary dependency analysis (which picks up the +# extension in question as a shared library that other extensions are linked against) now preserves the parent directory +# layout, and creates a symbolic link to the top-level application directory. +if is_module_satisfies('PyInstaller >= 6.0'): + excluded_submodules = [] +else: + excluded_submodules = ['tensorflow.python._pywrap_tensorflow_internal'] + + +def _submodules_filter(x): + return x not in excluded_submodules + + +if version < Version("1.15.0a0"): + # 1.14.x and earlier: collect everything from tensorflow + hiddenimports = collect_submodules('tensorflow', filter=_submodules_filter) + datas = collect_data_files('tensorflow', excludes=data_excludes) +elif version >= Version("1.15.0a0") and version < Version("2.2.0a0"): + # 1.15.x - 2.1.x: collect everything from tensorflow_core + hiddenimports = collect_submodules('tensorflow_core', filter=_submodules_filter) + datas = collect_data_files('tensorflow_core', excludes=data_excludes) + + # Under 1.15.x, we seem to fail collecting a specific submodule, and need to add it manually... + if version < Version("2.0.0a0"): + hiddenimports += ['tensorflow_core._api.v1.compat.v2.summary.experimental'] +else: + # 2.2.0 and newer: collect everything from tensorflow again + hiddenimports = collect_submodules('tensorflow', filter=_submodules_filter) + datas = collect_data_files('tensorflow', excludes=data_excludes) + + # From 2.6.0 on, we also need to explicitly collect keras (due to lazy mapping of tensorflow.keras.xyz -> keras.xyz) + if version >= Version("2.6.0a0"): + hiddenimports += collect_submodules('keras') + + # Starting with 2.14.0, we need `ml_dtypes` among hidden imports. + if version >= Version("2.14.0"): + hiddenimports += ['ml_dtypes'] + +binaries = [] +excludedimports = excluded_submodules + +# Suppress warnings for missing hidden imports generated by this hook. +# Requires PyInstaller > 5.1 (with pyinstaller/pyinstaller#6914 merged); no-op otherwise. +warn_on_missing_hiddenimports = False + +# Collect the AutoGraph part of `tensorflow` code, to avoid a run-time warning about AutoGraph being unavailable: +# `WARNING:tensorflow:AutoGraph is not available in this environment: functions lack code information. ...` +# The warning is emitted if source for `log` function from `tensorflow.python.autograph.utils.ag_logging` cannot be +# looked up. Not sure if we need sources for other parts of `tesnorflow`, though. +# Requires PyInstaller >= 5.3, no-op in older versions. +module_collection_mode = { + 'tensorflow.python.autograph': 'py+pyz', +} + +# Linux builds of tensorflow can optionally use CUDA from nvidia-* packages. If we managed to obtain dist, query the +# requirements from metadata (the `and-cuda` extra marker), and convert them to module names. +# +# NOTE: while the installation of nvidia-* packages via `and-cuda` extra marker is not gated by the OS version check, +# it is effectively available only on Linux (last Windows-native build that supported GPU is v2.10.0, and assumed that +# CUDA is externally available). +if is_linux and dist is not None: + def _infer_nvidia_hiddenimports(): + import packaging.requirements + from _pyinstaller_hooks_contrib.utils import nvidia_cuda as cudautils + + requirements = [packaging.requirements.Requirement(req) for req in dist.requires or []] + env = {'extra': 'and-cuda'} + requirements = [req.name for req in requirements if req.marker is None or req.marker.evaluate(env)] + + return cudautils.infer_hiddenimports_from_requirements(requirements) + + try: + nvidia_hiddenimports = _infer_nvidia_hiddenimports() + except Exception: + # Log the exception, but make it non-fatal + logger.warning("hook-tensorflow: failed to infer NVIDIA CUDA hidden imports!", exc_info=True) + nvidia_hiddenimports = [] + logger.info("hook-tensorflow: inferred hidden imports for CUDA libraries: %r", nvidia_hiddenimports) + hiddenimports += nvidia_hiddenimports + + +# Collect the tensorflow-plugins (pluggable device plugins) +hiddenimports += ['tensorflow-plugins'] +binaries += collect_dynamic_libs('tensorflow-plugins') + +# On Linux, prevent binary dependency analysis from generating symbolic links for libtensorflow_cc.so.2, +# libtensorflow_framework.so.2, and _pywrap_tensorflow_internal.so to the top-level application directory. These +# symbolic links seem to confuse tensorflow about its location (likely because code in one of the libraries looks up the +# library file's location, but does not fully resolve it), which in turn prevents it from finding the collected CUDA +# libraries in the nvidia/cu* package directories. +# +# The `bindepend_symlink_suppression` hook attribute requires PyInstaller >= 6.11, and is no-op in earlier versions. +if is_linux: + bindepend_symlink_suppression = [ + '**/libtensorflow_cc.so*', + '**/libtensorflow_framework.so*', + '**/_pywrap_tensorflow_internal.so', + ] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-text_unidecode.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-text_unidecode.py new file mode 100644 index 0000000..68902ca --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-text_unidecode.py @@ -0,0 +1,25 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# ----------------------------------------------------------------------------- +""" +text-unidecode: +https://github.com/kmike/text-unidecode/ +""" + +import os +from PyInstaller.utils.hooks import get_package_paths + +package_path = get_package_paths("text_unidecode") +data_bin_path = os.path.join(package_path[1], "data.bin") + +if os.path.exists(data_bin_path): + datas = [(data_bin_path, 'text_unidecode')] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-textdistance.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-textdistance.py new file mode 100644 index 0000000..4859014 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-textdistance.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for textdistance: https://pypi.org/project/textdistance/4.1.3/ + +from PyInstaller.utils.hooks import collect_all + +datas, binaries, hiddenimports = collect_all('textdistance') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-thinc.backends.numpy_ops.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-thinc.backends.numpy_ops.py new file mode 100644 index 0000000..fcb3e88 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-thinc.backends.numpy_ops.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +thinc.banckends.numpy_ops contains hidden imports which are needed to import it +This hook was created to make spacy work correctly. +""" + +hiddenimports = ['cymem.cymem', 'preshed.maps', 'blis.py'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-thinc.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-thinc.py new file mode 100644 index 0000000..7623253 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-thinc.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Thinc contains data files and hidden imports. This hook was created to make spacy work correctly. +""" +from PyInstaller.utils.hooks import collect_data_files, collect_submodules + +datas = collect_data_files("thinc") +hiddenimports = collect_submodules("thinc") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-timezonefinder.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-timezonefinder.py new file mode 100644 index 0000000..e5cd309 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-timezonefinder.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('timezonefinder') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-timm.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-timm.py new file mode 100644 index 0000000..1ff1a61 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-timm.py @@ -0,0 +1,14 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Collect source .py files for JIT/torchscript. Requires PyInstaller >= 5.3, no-op in older versions. +module_collection_mode = 'pyz+py' diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tinycss2.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tinycss2.py new file mode 100644 index 0000000..d06ab79 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tinycss2.py @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Hook for tinycss2. tinycss2 is a low-level CSS parser and generator. +https://github.com/Kozea/tinycss2 +""" +from PyInstaller.utils.hooks import collect_data_files + + +# Hook no longer required for tinycss2 >= 1.0.0 +def hook(hook_api): + hook_api.add_datas(collect_data_files(hook_api.__name__)) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tkinterdnd2.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tkinterdnd2.py new file mode 100644 index 0000000..4b07d33 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tkinterdnd2.py @@ -0,0 +1,90 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +import os +import pathlib +import platform + +from PyInstaller.utils.hooks import get_package_paths, logger + + +# tkinterdnd2 contains a tkdnd sub-directory which contains platform-specific directories with shared library and .tcl +# files. Collect only the relevant directory, by matching the decision logic from: +# https://github.com/Eliav2/tkinterdnd2/blob/9a55907e430234bf8ab72ea614f84af9cc89598c/tkinterdnd2/TkinterDnD.py#L33-L51 +def _collect_platform_subdir(system, machine): + datas = [] + binaries = [] + + # Under Windows, `platform.machine()` returns the identifier of the *host* architecture, which does not necessarily + # match the architecture of the running process (for example, when running x86 process under x64 Windows, or when + # running either x86 or x64 process under arm64 Windows). The architecture of the running process can be obtained + # from the `PROCESSOR_ARCHITECTURE` environment variable, which is automatically set by Windows / WOW64 subsystem. + # + # NOTE: at the time of writing (tkinterdnd2 v0.4.2), tkinterdnd2 does not account for this, and attempts to load + # the shared library from incorrect directory; as this fails due to architecture mismatch, there is no point in + # us trying to collect that (incorrect) directory. + if system == "Windows": + machine = os.environ.get("PROCESSOR_ARCHITECTURE", machine) + + # Resolve the platform-specific sub-directory name and shared library suffix. + DIR_NAMES = { + "Darwin": { + "arm64": "osx-arm64", + "x86_64": "osx-x64", + }, + "Linux": { + "aarch64": "linux-arm64", + "x86_64": "linux-x64", + }, + "Windows": { + "ARM64": "win-arm64", + "AMD64": "win-x64", + "x86": "win-x86", + } + } + dir_name = DIR_NAMES.get(system, {}).get(machine, None) + + LIB_SUFFICES = { + "Darwin": "*.dylib", + "Linux": "*.so", + "Windows": "*.dll", + } + lib_suffix = LIB_SUFFICES.get(system, None) + + if dir_name is None or lib_suffix is None: + logger.warning( + "hook-tkinterdnd2: unsupported platform (%s, %s)! Platform-specific directory will not be collected!", + system, machine + ) + return datas, binaries + + pkg_base, pkg_dir = get_package_paths("tkinterdnd2") + + dest_dir = os.path.join("tkinterdnd2", "tkdnd", dir_name) + src_path = pathlib.Path(pkg_dir) / "tkdnd" / dir_name + + if not src_path.is_dir(): + logger.warning("hook-tkinterdnd2: platform-specific sub-directory %r does not exist!", str(src_path)) + return datas, binaries + + # Collect the shared library. + for entry in src_path.glob(lib_suffix): + binaries.append((str(entry), dest_dir)) + + # Collect the .tcl files. + for entry in src_path.glob("*.tcl"): + datas.append((str(entry), dest_dir)) + + return datas, binaries + + +datas, binaries = _collect_platform_subdir(platform.system(), platform.machine()) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tkinterweb.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tkinterweb.py new file mode 100644 index 0000000..bb02c6c --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tkinterweb.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +# Collect files from 'resources' +datas = collect_data_files('tkinterweb') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tkinterweb_tkhtml.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tkinterweb_tkhtml.py new file mode 100644 index 0000000..33c6374 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tkinterweb_tkhtml.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files, collect_dynamic_libs + +# Collect files from 'tkhtml' +datas = collect_data_files('tkinterweb_tkhtml') + +# Collect binaries from 'tkhtml' +binaries = collect_dynamic_libs('tkinterweb_tkhtml') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-toga.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-toga.py new file mode 100644 index 0000000..be80488 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-toga.py @@ -0,0 +1,44 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller import compat +from PyInstaller.utils.hooks import collect_data_files, collect_submodules, copy_metadata, is_module_satisfies + +hiddenimports = [] + +# Select the platform-specific backend. +if compat.is_darwin: + backend = 'cocoa' +elif compat.is_linux: + backend = 'gtk' +elif compat.is_win: + backend = 'winforms' +else: + backend = None + +if backend is not None: + hiddenimports += [f'toga_{backend}', f'toga_{backend}.factory'] + +# Collect metadata for toga-core dist, which is used by toga module to determine its version. +datas = copy_metadata("toga-core") + +# Prevent `toga` from pulling `setuptools_scm` into frozen application, as it makes no sense in that context. +excludedimports = ["setuptools_scm"] + +# `toga` 0.5.0 refactored its `__init__.py` to lazy-load its core modules. Therefore, we now need to collect +# submodules via `collect_submodules`... +if is_module_satisfies("toga >= 0.5.0"): + hiddenimports += collect_submodules("toga") + +# Starting with `toga` 0.5.2, we need to collect .pyi files. +if is_module_satisfies("toga >= 0.5.2"): + datas += collect_data_files("toga") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-toga_cocoa.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-toga_cocoa.py new file mode 100644 index 0000000..c6142f4 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-toga_cocoa.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files, copy_metadata + +# Collect icons from `resources`. +datas = collect_data_files('toga_cocoa') + +# Collect metadata so that the backend can be discovered via `toga.backends` entry-point. +datas += copy_metadata("toga-cocoa") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-toga_gtk.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-toga_gtk.py new file mode 100644 index 0000000..2e0353e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-toga_gtk.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files, copy_metadata + +# Collect default icon from `resources`. +datas = collect_data_files('toga_gtk') + +# Collect metadata so that the backend can be discovered via `toga.backends` entry-point. +datas += copy_metadata("toga-gtk") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-toga_winforms.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-toga_winforms.py new file mode 100644 index 0000000..adebb9a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-toga_winforms.py @@ -0,0 +1,40 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +import os + +from PyInstaller.utils.hooks import collect_data_files, copy_metadata + +# Collect default icon from `resources`, and license/readme file from `toga_winforms/libs/WebView2`. Use the same call +# to also collect bundled WebView2 DLLs from `toga_winforms/libs/WebView2`. +include_patterns = [ + 'resources/*', + 'libs/WebView2/*.md', + 'libs/WebView2/*.dll', +] + +# The package seems to bundle WebView2 runtimes for x86, x64, and arm64. We need to collect only the one for the +# running platform, which can be reliably identified by `PROCESSOR_ARCHITECTURE` environment variable, which properly +# reflects the processor architecture of running process (even if running x86 python on x64 machine, or x64 python on +# arm64 machine). +machine = os.environ["PROCESSOR_ARCHITECTURE"].lower() +if machine == 'x86': + include_patterns += ['libs/WebView2/runtimes/win-x86/*'] +elif machine == 'amd64': + include_patterns += ['libs/WebView2/runtimes/win-x64/*'] +elif machine == 'arm64': + include_patterns += ['libs/WebView2/runtimes/win-arm64/*'] + +datas = collect_data_files('toga_winforms', includes=include_patterns) + +# Collect metadata so that the backend can be discovered via `toga.backends` entry-point. +datas += copy_metadata("toga-winforms") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-torch.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-torch.py new file mode 100644 index 0000000..ec0a605 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-torch.py @@ -0,0 +1,151 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +import os + +from PyInstaller.utils.hooks import ( + logger, + collect_data_files, + is_module_satisfies, + collect_dynamic_libs, + collect_submodules, + get_package_paths, +) + +if is_module_satisfies("PyInstaller >= 6.0"): + from PyInstaller.compat import is_linux, is_win + from PyInstaller.utils.hooks import PY_DYLIB_PATTERNS + + module_collection_mode = "pyz+py" + warn_on_missing_hiddenimports = False + + datas = collect_data_files( + "torch", + excludes=[ + "**/*.h", + "**/*.hpp", + "**/*.cuh", + "**/*.lib", + "**/*.cpp", + "**/*.pyi", + "**/*.cmake", + ], + ) + hiddenimports = collect_submodules("torch") + binaries = collect_dynamic_libs( + "torch", + # Ensure we pick up fully-versioned .so files as well + search_patterns=PY_DYLIB_PATTERNS + ['*.so.*'], + ) + + # On Linux, torch wheels built with non-default CUDA version bundle CUDA libraries themselves (and should be handled + # by the above `collect_dynamic_libs`). Wheels built with default CUDA version (which are available on PyPI), on the + # other hand, use CUDA libraries provided by nvidia-* packages. Due to all possible combinations (CUDA libs from + # nvidia-* packages, torch-bundled CUDA libs, CPU-only CUDA libs) we do not add hidden imports directly, but instead + # attempt to infer them from requirements listed in the `torch` metadata. + if is_linux: + def _infer_nvidia_hiddenimports(): + import packaging.requirements + from _pyinstaller_hooks_contrib.compat import importlib_metadata + from _pyinstaller_hooks_contrib.utils import nvidia_cuda as cudautils + + dist = importlib_metadata.distribution("torch") + requirements = [packaging.requirements.Requirement(req) for req in dist.requires or []] + requirements = [req.name for req in requirements if req.marker is None or req.marker.evaluate()] + + return cudautils.infer_hiddenimports_from_requirements(requirements) + + try: + nvidia_hiddenimports = _infer_nvidia_hiddenimports() + except Exception: + # Log the exception, but make it non-fatal + logger.warning("hook-torch: failed to infer NVIDIA CUDA hidden imports!", exc_info=True) + nvidia_hiddenimports = [] + logger.info("hook-torch: inferred hidden imports for CUDA libraries: %r", nvidia_hiddenimports) + hiddenimports += nvidia_hiddenimports + + # On Linux, prevent binary dependency analysis from generating symbolic links for libraries from `torch/lib` to + # the top-level application directory. These symbolic links seem to confuse `torch` about location of its shared + # libraries (likely because code in one of the libraries looks up the library file's location, but does not + # fully resolve it), and prevent it from finding dynamically-loaded libraries in `torch/lib` directory, such as + # `torch/lib/libtorch_cuda_linalg.so`. The issue was observed with earlier versions of `torch` builds provided + # by https://download.pytorch.org/whl/torch, specifically 1.13.1+cu117, 2.0.1+cu117, and 2.1.2+cu118; later + # versions do not seem to be affected. The wheels provided on PyPI do not seem to be affected, either, even + # for torch 1.13.1, 2.01, and 2.1.2. However, these symlinks should be not necessary on linux in general, so + # there should be no harm in suppressing them for all versions. + # + # The `bindepend_symlink_suppression` hook attribute requires PyInstaller >= 6.11, and is no-op in earlier + # versions. + bindepend_symlink_suppression = ['**/torch/lib/*.so*'] + + # The Windows nightly build for torch 2.3.0 added dependency on MKL. The `mkl` distribution does not provide an + # importable package, but rather installs the DLLs in /Library/bin directory. Therefore, we cannot write a + # separate hook for it, and must collect the DLLs here. (Most of these DLLs are missed by PyInstaller's binary + # dependency analysis due to being dynamically loaded at run-time). + if is_win: + def _collect_mkl_dlls(): + import packaging.requirements + from _pyinstaller_hooks_contrib.compat import importlib_metadata + + # Check if torch depends on `mkl` + dist = importlib_metadata.distribution("torch") + requirements = [packaging.requirements.Requirement(req) for req in dist.requires or []] + requirements = [req.name for req in requirements if req.marker is None or req.marker.evaluate()] + if 'mkl' not in requirements: + logger.info('hook-torch: this torch build does not depend on MKL...') + return [] # This torch build does not depend on MKL + + # Find requirements of mkl - this should yield `intel-openmp` and `tbb`, which install DLLs in the same + # way as `mkl`. + try: + dist = importlib_metadata.distribution("mkl") + except importlib_metadata.PackageNotFoundError: + return [] # For some reason, `mkl` distribution is unavailable. + requirements = [packaging.requirements.Requirement(req) for req in dist.requires or []] + requirements = [req.name for req in requirements if req.marker is None or req.marker.evaluate()] + + requirements = ['mkl'] + requirements + + mkl_binaries = [] + logger.info('hook-torch: collecting DLLs from MKL and its dependencies: %r', requirements) + for requirement in requirements: + try: + dist = importlib_metadata.distribution(requirement) + except importlib_metadata.PackageNotFoundError: + continue + + # Go over files, and match DLLs in /Library/bin directory + for dist_file in dist.files: + # NOTE: `importlib_metadata.PackagePath.match()` does not seem to properly normalize the separator, + # and on Windows, RECORD can apparently end up with entries that use either Windows or POSIX-style + # separators (see pyinstaller/pyinstaller-hooks-contrib#879). This is why we first resolve the + # file's location (which yields a `pathlib.Path` instance), and perform matching on resolved path. + dll_file = dist.locate_file(dist_file).resolve() + if not dll_file.match('**/Library/bin/*.dll'): + continue + mkl_binaries.append((str(dll_file), '.')) + + logger.info( + 'hook-torch: found MKL DLLs: %r', + sorted([os.path.basename(src_name) for src_name, dest_name in mkl_binaries]) + ) + return mkl_binaries + + try: + mkl_binaries = _collect_mkl_dlls() + except Exception: + # Log the exception, but make it non-fatal + logger.warning("hook-torch: failed to collect MKL DLLs!", exc_info=True) + mkl_binaries = [] + binaries += mkl_binaries +else: + datas = [(get_package_paths("torch")[1], "torch")] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-torchao.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-torchao.py new file mode 100644 index 0000000..5d36ef1 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-torchao.py @@ -0,0 +1,14 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Collect source .py files for JIT/torchscript. +module_collection_mode = 'pyz+py' diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-torchaudio.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-torchaudio.py new file mode 100644 index 0000000..57e570e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-torchaudio.py @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_dynamic_libs, collect_submodules + +# Collect dynamic extensions from torchaudio/lib - some of them are loaded dynamically, and are thus not automatically +# collected. +binaries = collect_dynamic_libs('torchaudio') +hiddenimports = collect_submodules('torchaudio.lib') + +# Collect source .py files for JIT/torchscript. Requires PyInstaller >= 5.3, no-op in older versions. +module_collection_mode = 'pyz+py' diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-torchtext.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-torchtext.py new file mode 100644 index 0000000..5ada443 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-torchtext.py @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_dynamic_libs, collect_submodules + +# Collect dynamic extensions from torchtext/lib - some of them are loaded dynamically, and are thus not automatically +# collected. +binaries = collect_dynamic_libs('torchtext') +hiddenimports = collect_submodules('torchtext.lib') + +# Collect source .py files for JIT/torchscript. Requires PyInstaller >= 5.3, no-op in older versions. +module_collection_mode = 'pyz+py' diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-torchvision.io.image.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-torchvision.io.image.py new file mode 100644 index 0000000..ba4a894 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-torchvision.io.image.py @@ -0,0 +1,14 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# torchivison.io.image attempts to dynamically load the torchvision.image extension. +hiddenimports = ['torchvision.image'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-torchvision.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-torchvision.py new file mode 100644 index 0000000..f0ce8e4 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-torchvision.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Functions from torchvision.ops.* modules require torchvision._C extension module, which PyInstaller fails to pick up +# automatically due to indirect load. +hiddenimports = ['torchvision._C'] + +# Collect source .py files for JIT/torchscript. Requires PyInstaller >= 5.3, no-op in older versions. +module_collection_mode = 'pyz+py' diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame.py new file mode 100644 index 0000000..404221a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame.py @@ -0,0 +1,13 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +hiddenimports = ["pkgutil"] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_client.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_client.py new file mode 100644 index 0000000..c134034 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_client.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("trame_client", subdir="module") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_code.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_code.py new file mode 100644 index 0000000..333020b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_code.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = [*collect_data_files("trame_code", subdir="module")] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_components.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_components.py new file mode 100644 index 0000000..d49cfb4 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_components.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("trame_components", subdir="module") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_datagrid.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_datagrid.py new file mode 100644 index 0000000..601481c --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_datagrid.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("trame_datagrid", subdir="module") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_deckgl.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_deckgl.py new file mode 100644 index 0000000..091566e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_deckgl.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("trame_deckgl", subdir="module") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_formkit.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_formkit.py new file mode 100644 index 0000000..f677965 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_formkit.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = [*collect_data_files("trame_formkit", subdir="module")] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_grid.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_grid.py new file mode 100644 index 0000000..0373131 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_grid.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = [*collect_data_files("trame_grid", subdir="module")] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_iframe.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_iframe.py new file mode 100644 index 0000000..5ee77f7 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_iframe.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("trame_iframe", subdir="module") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_keycloak.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_keycloak.py new file mode 100644 index 0000000..89413a6 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_keycloak.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("trame_keycloak", subdir="module") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_leaflet.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_leaflet.py new file mode 100644 index 0000000..9e2f295 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_leaflet.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = [*collect_data_files("trame_leaflet", subdir="module")] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_markdown.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_markdown.py new file mode 100644 index 0000000..7107379 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_markdown.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = [*collect_data_files("trame_markdown", subdir="module")] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_matplotlib.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_matplotlib.py new file mode 100644 index 0000000..63e6e66 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_matplotlib.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = [*collect_data_files("trame_matplotlib", subdir="module")] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_mesh_streamer.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_mesh_streamer.py new file mode 100644 index 0000000..b782f7a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_mesh_streamer.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +hiddenimports = ["vtk"] +datas = collect_data_files("trame_mesh_streamer", subdir="module") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_plotly.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_plotly.py new file mode 100644 index 0000000..eaa2ecd --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_plotly.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("trame_plotly", subdir="module") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_pvui.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_pvui.py new file mode 100644 index 0000000..209cd63 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_pvui.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("trame_pvui", subdir="module") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_quasar.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_quasar.py new file mode 100644 index 0000000..3dc1c26 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_quasar.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = [*collect_data_files("trame_quasar", subdir="module")] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_rca.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_rca.py new file mode 100644 index 0000000..b9e5da9 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_rca.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("trame_rca", subdir="module") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_router.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_router.py new file mode 100644 index 0000000..a756569 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_router.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("trame_router", subdir="module") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_simput.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_simput.py new file mode 100644 index 0000000..d80a7ec --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_simput.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("trame_simput", subdir="module") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_tauri.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_tauri.py new file mode 100644 index 0000000..af47491 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_tauri.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("trame_tauri", subdir="module") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_tweakpane.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_tweakpane.py new file mode 100644 index 0000000..81c9190 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_tweakpane.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = [*collect_data_files("trame_tweakpane", subdir="module")] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_vega.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_vega.py new file mode 100644 index 0000000..fe157d2 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_vega.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("trame_vega", subdir="module") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_vtk.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_vtk.py new file mode 100644 index 0000000..865cbd9 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_vtk.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = [ + *collect_data_files("trame_vtk", subdir="modules"), + *collect_data_files("trame_vtk", subdir="tools"), +] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_vtk3d.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_vtk3d.py new file mode 100644 index 0000000..1c85729 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_vtk3d.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("trame_vtk3d", subdir="module") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_vtklocal.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_vtklocal.py new file mode 100644 index 0000000..288e1e8 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_vtklocal.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +hiddenimports = ["vtk"] +datas = collect_data_files("trame_vtklocal", subdir="module") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_vuetify.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_vuetify.py new file mode 100644 index 0000000..4ea24fc --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_vuetify.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("trame_vuetify", subdir="module") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_xterm.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_xterm.py new file mode 100644 index 0000000..39c3a72 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trame_xterm.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("trame_xterm", subdir="module") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-transformers.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-transformers.py new file mode 100644 index 0000000..6fd7a35 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-transformers.py @@ -0,0 +1,37 @@ +from PyInstaller.utils.hooks import ( + copy_metadata, + get_module_attribute, + is_module_satisfies, + logger, +) + +datas = [] + +# At run-time, `transformers` queries the metadata of several packages to check for their presence. The list of required +# (core) packages is stored as `transformers.dependency_versions_check.pkgs_to_check_at_runtime`. However, there is more +# comprehensive list of dependencies and their versions available in `transformers.dependency_versions_table.deps`, +# which includes non-core dependencies. Unfortunately, we cannot foresee which of those the user will actually require, +# so we collect metadata for all listed dists that are available in the build environment, in order to make them visible +# to `transformers` at run-time. +try: + dependencies = get_module_attribute( + 'transformers.dependency_versions_table', + 'deps', + ) +except Exception: + logger.warning( + "hook-transformers: failed to query dependency table (transformers.dependency_versions_table.deps)!", + exc_info=True, + ) + dependencies = {} + +for dependency_name, dependency_req in dependencies.items(): + if not is_module_satisfies(dependency_req): + continue + try: + datas += copy_metadata(dependency_name) + except Exception: + pass + +# Collect source .py files for JIT/torchscript. Requires PyInstaller >= 5.3, no-op in older versions. +module_collection_mode = 'pyz+py' diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-travertino.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-travertino.py new file mode 100644 index 0000000..6afc577 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-travertino.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata + +# Prevent this package from pulling `setuptools_scm` into frozen application, as it makes no sense in that context. +excludedimports = ["setuptools_scm"] + +# Collect metadata to allow package to infer its version at run-time. +datas = copy_metadata("travertino") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trimesh.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trimesh.py new file mode 100644 index 0000000..90ebfda --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-trimesh.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +# Collect the *.json resource file. +# This issue is reported in here: https://github.com/mikedh/trimesh/issues/412 +datas = collect_data_files('trimesh') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-triton.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-triton.py new file mode 100644 index 0000000..a1e006c --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-triton.py @@ -0,0 +1,47 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# --------------------------------------------------- + +from PyInstaller.utils.hooks import collect_data_files, collect_dynamic_libs, collect_submodules, is_module_satisfies + +hiddenimports = [] +datas = [] + +# Ensure that triton/_C/libtriton.so is collected +binaries = collect_dynamic_libs('triton') + +# triton has a JIT module that requires its source .py files. For some god-forsaken reason, this JIT module +# (`triton.runtime.jit` attempts to directly read the contents of file pointed to by its `__file__` attribute (assuming +# it is a source file). Therefore, `triton.runtime.jit` must not be collected into PYZ. Same goes for `compiler` and +# `language` sub-packages. +module_collection_mode = { + 'triton': 'pyz+py', + 'triton.runtime.jit': 'py', + 'triton.compiler': 'py', + 'triton.language': 'py', +} + +# triton 3.0.0 introduced `triton.backends` sub-package with backend-specific files. +if is_module_satisfies('triton >= 3.0.0'): + # Collect backend sub-modules/packages. + hiddenimports += collect_submodules('triton.backends') + + # At the time of writing (triton v3.1.0), `triton.backends.amd` is a namespace package, and is not captured by the + # above `collect_submodules` call. + hiddenimports += collect_submodules('triton.backends.amd') + + # Collect ptxas compiler files from `triton/backends/nvidia`, and the HIP/ROCm files from `triton/backends/amd`. + datas += collect_data_files('triton.backends') +else: + # Collect ptxas compiler files from triton/third_party/cuda directory. Strictly speaking, the ptxas executable from + # bin directory should be collected as a binary, but in this case, it makes no difference (plus, PyInstaller >= 6.0 + # has automatic binary-vs-data reclassification). + datas += collect_data_files('triton.third_party.cuda') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ttkthemes.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ttkthemes.py new file mode 100644 index 0000000..87c731b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ttkthemes.py @@ -0,0 +1,56 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Hook for use with the ttkthemes package + +ttkthemes depends on a large set of image and Tcl-code files contained +within its package directory. These are not imported, and thus this hook +is required so they are copied. + +The file structure of the ttkthemes package folder is: +ttkthemes +├───advanced +| └───*.tcl +├───themes +| ├───theme1 +| | ├───theme1 +| | | └───*.gif +| | └───theme1.tcl +| ├───theme2 +| ├───... +| └───pkgIndex.tcl +├───png +└───gif + +The ``themes`` directory contains themes which only have a universal +image version (either base64 encoded in the theme files or GIF), while +``png`` and ``gif`` contain the PNG and GIF versions of the themes which +support both respectively. + +All of this must be copied, as the package expects all the data to be +present and only checks what themes to load at runtime. + +Tested hook on Linux (Ubuntu 18.04, Python 3.6 minimal venv) and on +Windows 7 (Python 3.7, minimal system-wide installation). + +>>> from tkinter import ttk +>>> from ttkthemes import ThemedTk +>>> +>>> +>>> if __name__ == '__main__': +>>> window = ThemedTk(theme="plastik") +>>> ttk.Button(window, text="Quit", command=window.destroy).pack() +>>> window.mainloop() +""" +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("ttkthemes") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ttkwidgets.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ttkwidgets.py new file mode 100644 index 0000000..94c65e3 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ttkwidgets.py @@ -0,0 +1,38 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Hook for use with the ttkwidgets package + +ttkwidgets provides a set of cross-platform widgets for Tkinter/ttk, +some of which depend on image files in order to function properly. + +These images files are all provided in the `ttkwidgets/assets` folder, +which has to be copied by PyInstaller. + +This hook has been tested on Ubuntu 18.04 (Python 3.6.8 venv) and +Windows 7 (Python 3.5.4 system-wide). + +>>> import tkinter as tk +>>> from ttkwidgets import CheckboxTreeview +>>> +>>> window = tk.Tk() +>>> tree = CheckboxTreeview(window) +>>> tree.insert("", tk.END, "test", text="Hello World!") +>>> tree.insert("test", tk.END, "test2", text="Hello World again!") +>>> tree.insert("test", tk.END, "test3", text="Hello World again again!") +>>> tree.pack() +>>> window.mainloop() +""" + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files("ttkwidgets") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tzdata.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tzdata.py new file mode 100644 index 0000000..2f540db --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tzdata.py @@ -0,0 +1,22 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files, collect_submodules + +# Collect timezone data files +datas = collect_data_files("tzdata") + +# Collect submodules; each data subdirectory is in fact a package +# (e.g., zoneinfo.Europe), so we need its __init__.py for data files +# (e.g., zoneinfo/Europe/Ljubljana) to be discoverable via +# importlib.resources +hiddenimports = collect_submodules("tzdata") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tzwhere.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tzwhere.py new file mode 100644 index 0000000..5c583af --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-tzwhere.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('tzwhere') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-u1db.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-u1db.py new file mode 100644 index 0000000..ddd32c9 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-u1db.py @@ -0,0 +1,31 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Pyinstaller hook for u1db module + +This hook was tested with: +- u1db 0.1.4 : https://launchpad.net/u1db +- Python 2.7.10 +- Linux Debian GNU/Linux unstable (sid) + +Test script used for testing: + + import u1db + db = u1db.open("mydb1.u1db", create=True) + doc = db.create_doc({"key": "value"}, doc_id="testdoc") + print doc.content + print doc.doc_id +""" + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('u1db') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ultralytics.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ultralytics.py new file mode 100644 index 0000000..c49eac3 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-ultralytics.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +# Collect config .yaml files from ultralytics/cfg directory. +datas = collect_data_files('ultralytics') + +# Collect source .py files for JIT/torchscript. Requires PyInstaller >= 5.3, no-op in older versions. +module_collection_mode = 'pyz+py' diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-umap.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-umap.py new file mode 100644 index 0000000..5ae0d4d --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-umap.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata('umap-learn') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-unidecode.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-unidecode.py new file mode 100644 index 0000000..a51d89d --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-unidecode.py @@ -0,0 +1,20 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for the unidecode package: https://pypi.python.org/pypi/unidecode +# Tested with Unidecode 0.4.21 and Python 3.6.2, on Windows 10 x64. + +from PyInstaller.utils.hooks import collect_submodules + +# Unidecode dynamically imports modules with relevant character mappings. +# Non-ASCII characters are ignored if the mapping files are not found. +hiddenimports = collect_submodules('unidecode') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-uniseg.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-uniseg.py new file mode 100644 index 0000000..af28f0f --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-uniseg.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for the uniseg module: https://pypi.python.org/pypi/uniseg + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('uniseg') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-urllib3.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-urllib3.py new file mode 100644 index 0000000..cafd1b0 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-urllib3.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules, is_module_satisfies + +# If this is `urllib3` from `urllib3-future`, collect submodules in order to avoid missing modules due to indirect +# imports. With `urllib3` from "classic" `urllib3`, this does not seem to be necessary. +if is_module_satisfies("urllib3-future"): + hiddenimports = collect_submodules("urllib3") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-urllib3_future.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-urllib3_future.py new file mode 100644 index 0000000..0baa1d7 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-urllib3_future.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules + +# Collect submodules in order to avoid missing modules due to indirect imports. +hiddenimports = collect_submodules("urllib3_future") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-usb.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-usb.py new file mode 100644 index 0000000..5721eaa --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-usb.py @@ -0,0 +1,91 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +import ctypes.util +import os + +from PyInstaller.depend.utils import _resolveCtypesImports +from PyInstaller.compat import is_cygwin, getenv +from PyInstaller.utils.hooks import logger + +# Include glob for library lookup in run-time hook. +hiddenimports = ['glob'] + +# https://github.com/walac/pyusb/blob/master/docs/faq.rst +# https://github.com/walac/pyusb/blob/master/docs/tutorial.rst + +binaries = [] + +# Running usb.core.find() in this script crashes Ubuntu 14.04LTS, +# let users circumvent pyusb discovery with an environment variable. +skip_pyusb_discovery = \ + bool(getenv('PYINSTALLER_USB_HOOK_SKIP_PYUSB_DISCOVERY')) + +# Try to use pyusb's library locator. +if not skip_pyusb_discovery: + import usb.core + import usb.backend + try: + # get the backend symbols before find + backend_contents_before_discovery = set(dir(usb.backend)) + # perform find, which will load a usb library if found + usb.core.find() + # get the backend symbols which have been added (loaded) + backends = set(dir(usb.backend)) - backend_contents_before_discovery + for usblib in [getattr(usb.backend, be)._lib for be in backends]: + if usblib is not None: + if os.path.isabs(usblib._name): + binaries.append((os.path.basename(usblib._name), usblib._name, "BINARY")) + else: + # OSX returns the full path, Linux only the filename. + # try to resolve the library names to absolute paths. + backend_lib_full_paths = _resolveCtypesImports([os.path.basename(usblib._name)]) + if backend_lib_full_paths: + binaries.append(backend_lib_full_paths[0]) + except (ValueError, usb.core.USBError) as exc: + logger.warning("%s", exc) + +# If pyusb didn't find a backend, manually search for usb libraries. +if not binaries: + # NOTE: Update these lists when adding further libs. + if is_cygwin: + libusb_candidates = ['cygusb-1.0-0.dll', 'cygusb0.dll'] + else: + libusb_candidates = [ + # libusb10 + 'usb-1.0', + 'usb', + 'libusb-1.0', + # libusb01 + 'usb-0.1', + 'libusb0', + # openusb + 'openusb', + ] + + backend_library_basenames = [] + for candidate in libusb_candidates: + libname = ctypes.util.find_library(candidate) + if libname is not None: + if os.path.isabs(libname): + binaries.append((os.path.basename(libname), libname, "BINARY")) + else: + backend_lib_full_paths = _resolveCtypesImports([os.path.basename(libname)]) + if backend_lib_full_paths: + binaries.append(backend_lib_full_paths[0]) + +# Validate and normalize the first found usb library. +if binaries: + # `_resolveCtypesImports` returns a 3-tuple, but `binaries` are only + # 2-tuples, so remove the last element: + assert len(binaries[0]) == 3 + binaries = [(binaries[0][1], '.')] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-uuid6.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-uuid6.py new file mode 100644 index 0000000..8a85018 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-uuid6.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import is_module_satisfies, copy_metadata + +# Starting with version 2025.0.1, uuid6 queries its metadata for version information. +if is_module_satisfies('uuid6 >= 2025.0.1'): + datas = copy_metadata('uuid6') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-uvicorn.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-uvicorn.py new file mode 100644 index 0000000..0acdd3c --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-uvicorn.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules('uvicorn') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-uvloop.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-uvloop.py new file mode 100644 index 0000000..4c4280c --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-uvloop.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# +# Hook for the uvloop package: https://pypi.python.org/pypi/uvloop +# +# Tested with uvloop 0.8.1 and Python 3.6.2, on Ubuntu 16.04.1 64bit. + +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules('uvloop') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vaderSentiment.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vaderSentiment.py new file mode 100644 index 0000000..0879fff --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vaderSentiment.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('vaderSentiment') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkAcceleratorsVTKmCore.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkAcceleratorsVTKmCore.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkAcceleratorsVTKmCore.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkAcceleratorsVTKmDataModel.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkAcceleratorsVTKmDataModel.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkAcceleratorsVTKmDataModel.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkAcceleratorsVTKmFilters.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkAcceleratorsVTKmFilters.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkAcceleratorsVTKmFilters.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkChartsCore.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkChartsCore.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkChartsCore.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonColor.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonColor.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonColor.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonComputationalGeometry.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonComputationalGeometry.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonComputationalGeometry.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonDataModel.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonDataModel.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonDataModel.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonExecutionModel.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonExecutionModel.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonExecutionModel.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonMath.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonMath.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonMath.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonMisc.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonMisc.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonMisc.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonPython.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonPython.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonPython.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonSystem.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonSystem.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonSystem.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonTransforms.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonTransforms.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonTransforms.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkDomainsChemistry.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkDomainsChemistry.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkDomainsChemistry.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkDomainsChemistryOpenGL2.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkDomainsChemistryOpenGL2.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkDomainsChemistryOpenGL2.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersAMR.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersAMR.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersAMR.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersCellGrid.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersCellGrid.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersCellGrid.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersCore.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersCore.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersCore.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersExtraction.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersExtraction.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersExtraction.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersFlowPaths.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersFlowPaths.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersFlowPaths.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersGeneral.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersGeneral.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersGeneral.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersGeneric.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersGeneric.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersGeneric.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersGeometry.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersGeometry.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersGeometry.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersGeometryPreview.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersGeometryPreview.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersGeometryPreview.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersHybrid.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersHybrid.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersHybrid.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersHyperTree.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersHyperTree.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersHyperTree.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersImaging.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersImaging.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersImaging.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersModeling.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersModeling.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersModeling.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersParallel.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersParallel.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersParallel.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersParallelDIY2.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersParallelDIY2.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersParallelDIY2.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersParallelImaging.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersParallelImaging.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersParallelImaging.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersParallelStatistics.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersParallelStatistics.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersParallelStatistics.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersPoints.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersPoints.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersPoints.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersProgrammable.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersProgrammable.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersProgrammable.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersPython.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersPython.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersPython.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersReduction.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersReduction.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersReduction.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersSMP.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersSMP.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersSMP.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersSelection.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersSelection.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersSelection.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersSources.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersSources.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersSources.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersStatistics.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersStatistics.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersStatistics.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersTemporal.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersTemporal.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersTemporal.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersTensor.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersTensor.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersTensor.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersTexture.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersTexture.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersTexture.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersTopology.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersTopology.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersTopology.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersVerdict.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersVerdict.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersVerdict.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkGeovisCore.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkGeovisCore.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkGeovisCore.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOAMR.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOAMR.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOAMR.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOAsynchronous.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOAsynchronous.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOAsynchronous.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOAvmesh.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOAvmesh.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOAvmesh.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCGNSReader.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCGNSReader.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCGNSReader.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCONVERGECFD.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCONVERGECFD.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCONVERGECFD.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCellGrid.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCellGrid.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCellGrid.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCesium3DTiles.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCesium3DTiles.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCesium3DTiles.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOChemistry.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOChemistry.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOChemistry.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCityGML.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCityGML.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCityGML.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCore.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCore.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCore.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOERF.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOERF.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOERF.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOEnSight.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOEnSight.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOEnSight.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOEngys.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOEngys.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOEngys.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOExodus.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOExodus.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOExodus.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOExport.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOExport.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOExport.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOExportGL2PS.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOExportGL2PS.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOExportGL2PS.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOExportPDF.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOExportPDF.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOExportPDF.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOFDS.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOFDS.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOFDS.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOFLUENTCFF.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOFLUENTCFF.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOFLUENTCFF.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOGeoJSON.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOGeoJSON.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOGeoJSON.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOGeometry.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOGeometry.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOGeometry.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOH5Rage.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOH5Rage.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOH5Rage.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOH5part.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOH5part.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOH5part.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOHDF.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOHDF.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOHDF.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOIOSS.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOIOSS.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOIOSS.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOImage.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOImage.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOImage.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOImport.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOImport.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOImport.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOInfovis.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOInfovis.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOInfovis.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOLANLX3D.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOLANLX3D.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOLANLX3D.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOLSDyna.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOLSDyna.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOLSDyna.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOLegacy.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOLegacy.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOLegacy.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOMINC.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOMINC.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOMINC.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOMotionFX.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOMotionFX.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOMotionFX.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOMovie.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOMovie.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOMovie.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIONetCDF.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIONetCDF.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIONetCDF.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOOMF.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOOMF.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOOMF.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOOggTheora.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOOggTheora.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOOggTheora.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOPIO.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOPIO.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOPIO.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOPLY.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOPLY.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOPLY.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOParallel.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOParallel.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOParallel.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOParallelExodus.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOParallelExodus.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOParallelExodus.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOParallelLSDyna.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOParallelLSDyna.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOParallelLSDyna.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOParallelXML.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOParallelXML.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOParallelXML.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOSQL.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOSQL.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOSQL.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOSegY.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOSegY.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOSegY.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOTRUCHAS.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOTRUCHAS.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOTRUCHAS.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOTecplotTable.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOTecplotTable.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOTecplotTable.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOVPIC.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOVPIC.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOVPIC.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOVeraOut.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOVeraOut.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOVeraOut.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOVideo.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOVideo.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOVideo.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOXML.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOXML.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOXML.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOXMLParser.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOXMLParser.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOXMLParser.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOXdmf2.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOXdmf2.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOXdmf2.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingColor.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingColor.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingColor.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingCore.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingCore.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingCore.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingFourier.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingFourier.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingFourier.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingGeneral.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingGeneral.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingGeneral.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingHybrid.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingHybrid.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingHybrid.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingMath.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingMath.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingMath.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingMorphological.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingMorphological.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingMorphological.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingOpenGL2.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingOpenGL2.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingOpenGL2.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingSources.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingSources.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingSources.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingStatistics.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingStatistics.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingStatistics.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingStencil.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingStencil.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingStencil.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkInfovisCore.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkInfovisCore.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkInfovisCore.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkInfovisLayout.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkInfovisLayout.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkInfovisLayout.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkInteractionImage.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkInteractionImage.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkInteractionImage.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkInteractionStyle.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkInteractionStyle.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkInteractionStyle.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkInteractionWidgets.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkInteractionWidgets.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkInteractionWidgets.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkParallelCore.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkParallelCore.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkParallelCore.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkPythonContext2D.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkPythonContext2D.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkPythonContext2D.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingAnnotation.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingAnnotation.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingAnnotation.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingCellGrid.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingCellGrid.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingCellGrid.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingContext2D.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingContext2D.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingContext2D.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingContextOpenGL2.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingContextOpenGL2.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingContextOpenGL2.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingCore.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingCore.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingCore.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingExternal.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingExternal.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingExternal.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingFreeType.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingFreeType.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingFreeType.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingGL2PSOpenGL2.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingGL2PSOpenGL2.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingGL2PSOpenGL2.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingGridAxes.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingGridAxes.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingGridAxes.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingHyperTreeGrid.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingHyperTreeGrid.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingHyperTreeGrid.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingImage.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingImage.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingImage.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingLICOpenGL2.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingLICOpenGL2.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingLICOpenGL2.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingLOD.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingLOD.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingLOD.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingLabel.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingLabel.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingLabel.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingMatplotlib.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingMatplotlib.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingMatplotlib.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingOpenGL2.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingOpenGL2.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingOpenGL2.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingParallel.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingParallel.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingParallel.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingSceneGraph.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingSceneGraph.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingSceneGraph.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingUI.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingUI.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingUI.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVR.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVR.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVR.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVRModels.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVRModels.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVRModels.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVolume.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVolume.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVolume.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVolumeAMR.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVolumeAMR.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVolumeAMR.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVolumeOpenGL2.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVolumeOpenGL2.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVolumeOpenGL2.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVtkJS.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVtkJS.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVtkJS.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkSerializationManager.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkSerializationManager.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkSerializationManager.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkTestingRendering.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkTestingRendering.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkTestingRendering.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkTestingSerialization.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkTestingSerialization.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkTestingSerialization.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkViewsContext2D.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkViewsContext2D.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkViewsContext2D.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkViewsCore.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkViewsCore.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkViewsCore.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkViewsInfovis.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkViewsInfovis.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkViewsInfovis.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkWebCore.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkWebCore.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkWebCore.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkWebGLExporter.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkWebGLExporter.py new file mode 100644 index 0000000..960187b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkWebGLExporter.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from _pyinstaller_hooks_contrib.utils.vtkmodules import add_vtkmodules_dependencies + +hiddenimports = add_vtkmodules_dependencies(__file__) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkpython.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkpython.py new file mode 100644 index 0000000..76c1e60 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-vtkpython.py @@ -0,0 +1,25 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +import os +if os.name == 'posix': + hiddenimports = [ + 'libvtkCommonPython', 'libvtkFilteringPython', 'libvtkIOPython', + 'libvtkImagingPython', 'libvtkGraphicsPython', 'libvtkRenderingPython', + 'libvtkHybridPython', 'libvtkParallelPython', 'libvtkPatentedPython' + ] +else: + hiddenimports = [ + 'vtkCommonPython', 'vtkFilteringPython', 'vtkIOPython', + 'vtkImagingPython', 'vtkGraphicsPython', 'vtkRenderingPython', + 'vtkHybridPython', 'vtkParallelPython', 'vtkPatentedPython' + ] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-wavefile.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-wavefile.py new file mode 100644 index 0000000..11dc973 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-wavefile.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +python-wavefile: https://github.com/vokimon/python-wavefile +""" + +from PyInstaller.utils.hooks import collect_dynamic_libs + +binaries = collect_dynamic_libs('wavefile') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-weasyprint.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-weasyprint.py new file mode 100644 index 0000000..e0814ea --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-weasyprint.py @@ -0,0 +1,85 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for weasyprint: https://pypi.python.org/pypi/WeasyPrint +# Tested on version weasyprint 54.0 using Windows 10 and python 3.8 +# Note that weasyprint < 54.0 does not work on python 3.8 due to https://github.com/Kozea/WeasyPrint/issues/1435 +# For weasyprint < 53.0 the required libs are +# libs = [ +# 'gobject-2.0', 'libgobject-2.0-0', 'libgobject-2.0.so.0', 'libgobject-2.0.dylib', +# 'pango-1.0', 'libpango-1.0-0', 'libpango-1.0.so.0', 'libpango-1.0.dylib', +# 'pangocairo-1.0', 'libpangocairo-1.0-0', 'libpangocairo-1.0.so.0', 'libpangocairo-1.0.dylib', +# 'fontconfig', 'libfontconfig', 'libfontconfig-1.dll', 'libfontconfig.so.1', 'libfontconfig-1.dylib', +# 'pangoft2-1.0', 'libpangoft2-1.0-0', 'libpangoft2-1.0.so.0', 'libpangoft2-1.0.dylib' +# ] + +import ctypes.util +import os +from pathlib import Path + +from PyInstaller.compat import is_win +from PyInstaller.depend.utils import _resolveCtypesImports +from PyInstaller.utils.hooks import collect_data_files, logger + +datas = collect_data_files('weasyprint') +binaries = [] +fontconfig_config_dir_found = False + +# On Windows, a GTK3-installation provides fontconfig and the corresponding fontconfig conf files. We have to add these +# for weasyprint to correctly use fonts. +# NOTE: Update these lists if weasyprint requires more libraries +fontconfig_libs = [ + 'fontconfig-1', 'fontconfig', 'libfontconfig', 'libfontconfig-1.dll', 'libfontconfig.so.1', 'libfontconfig-1.dylib' +] +libs = [ + 'gobject-2.0-0', 'gobject-2.0', 'libgobject-2.0-0', 'libgobject-2.0.so.0', 'libgobject-2.0.dylib', + 'pango-1.0-0', 'pango-1.0', 'libpango-1.0-0', 'libpango-1.0.so.0', 'libpango-1.0.dylib', + 'harfbuzz', 'harfbuzz-0.0', 'libharfbuzz-0', 'libharfbuzz.so.0', 'libharfbuzz.so.0', 'libharfbuzz.0.dylib', + 'pangoft2-1.0-0', 'pangoft2-1.0', 'libpangoft2-1.0-0', 'libpangoft2-1.0.so.0', 'libpangoft2-1.0.dylib' +] + +try: + lib_basenames = [] + for lib in libs: + libname = ctypes.util.find_library(lib) + if libname is not None: + lib_basenames += [os.path.basename(libname)] + for lib in fontconfig_libs: + libname = ctypes.util.find_library(lib) + if libname is not None: + lib_basenames += [os.path.basename(libname)] + # Try to load fontconfig config files on Windows from a GTK-installation + if is_win: + fontconfig_config_dir = Path(libname).parent.parent / 'etc/fonts' + if fontconfig_config_dir.exists() and fontconfig_config_dir.is_dir(): + datas += [(str(fontconfig_config_dir), 'etc/fonts')] + fontconfig_config_dir_found = True + if lib_basenames: + resolved_libs = _resolveCtypesImports(lib_basenames) + for resolved_lib in resolved_libs: + binaries.append((resolved_lib[1], '.')) + # Try to load fontconfig config files on other OS + fontconfig_config_dir = Path('/etc/fonts') + if fontconfig_config_dir.exists() and fontconfig_config_dir.is_dir(): + datas += [(str(fontconfig_config_dir), 'etc/fonts')] + fontconfig_config_dir_found = True + +except Exception as e: + logger.warning('Error while trying to find system-installed depending libraries: %s', e) + +if not binaries: + logger.warning('Depending libraries not found - weasyprint will likely fail to work!') + +if not fontconfig_config_dir_found: + logger.warning( + 'Fontconfig configuration files not found - weasyprint will likely throw warnings and use default fonts!' + ) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-web3.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-web3.py new file mode 100644 index 0000000..bc5c97e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-web3.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata("web3") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-webassets.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-webassets.py new file mode 100644 index 0000000..8a4b983 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-webassets.py @@ -0,0 +1,14 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('webassets', include_py_files=True) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-webrtcvad.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-webrtcvad.py new file mode 100644 index 0000000..853ead1 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-webrtcvad.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata('webrtcvad') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-websockets.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-websockets.py new file mode 100644 index 0000000..84e0ec2 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-websockets.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_submodules + +# Websockets lazily loads its submodules. +hiddenimports = collect_submodules("websockets") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-webview.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-webview.py new file mode 100644 index 0000000..e465a66 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-webview.py @@ -0,0 +1,20 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# hook for https://github.com/r0x0r/pywebview + +from PyInstaller.utils.hooks import collect_data_files, collect_dynamic_libs +from PyInstaller.compat import is_win + +if is_win: + datas = collect_data_files('webview', subdir='lib') + binaries = collect_dynamic_libs('webview') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-win32com.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-win32com.py new file mode 100644 index 0000000..346d133 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-win32com.py @@ -0,0 +1,20 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +hiddenimports = [ + # win32com client and server util + # modules could be hidden imports + # of some modules using win32com. + # Included for completeness. + 'win32com.client.util', + 'win32com.server.util', +] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-wordcloud.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-wordcloud.py new file mode 100644 index 0000000..831a3f6 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-wordcloud.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('wordcloud') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-workflow.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-workflow.py new file mode 100644 index 0000000..43de8d7 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-workflow.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata('workflow') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-wx.lib.activex.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-wx.lib.activex.py new file mode 100644 index 0000000..1ca9cf9 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-wx.lib.activex.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import exec_statement + +# This needed because comtypes wx.lib.activex generates some stuff. +exec_statement("import wx.lib.activex") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-wx.lib.pubsub.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-wx.lib.pubsub.py new file mode 100644 index 0000000..c95f591 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-wx.lib.pubsub.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('wx.lib.pubsub', include_py_files=True, excludes=['*.txt', '**/__pycache__']) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-wx.xrc.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-wx.xrc.py new file mode 100644 index 0000000..10c86a3 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-wx.xrc.py @@ -0,0 +1,13 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +hiddenimports = ['wx._xml', 'wx'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-xarray.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-xarray.py new file mode 100644 index 0000000..79a1da5 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-xarray.py @@ -0,0 +1,30 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata, collect_entry_point + +datas = [] +hiddenimports = [] + +# Collect additional backend plugins that are registered via `xarray.backends` entry-point. +ep_datas, ep_hiddenimports = collect_entry_point('xarray.backends') +datas += ep_datas +hiddenimports += ep_hiddenimports + +# Similarly, collect chunk manager entry-points. +ep_datas, ep_hiddenimports = collect_entry_point('xarray.chunkmanagers') +datas += ep_datas +hiddenimports += ep_hiddenimports + +# `xarray` requires `numpy` metadata due to several calls to its `xarray.core.utils.module_available` with specified +# `minversion` argument, which end up calling `importlib.metadata.version`. +datas += copy_metadata('numpy') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-xml.dom.html.HTMLDocument.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-xml.dom.html.HTMLDocument.py new file mode 100644 index 0000000..97c7f4d --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-xml.dom.html.HTMLDocument.py @@ -0,0 +1,67 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# xml.dom.html.HTMLDocument +hiddenimports = ['xml.dom.html.HTMLAnchorElement', + 'xml.dom.html.HTMLAppletElement', + 'xml.dom.html.HTMLAreaElement', + 'xml.dom.html.HTMLBaseElement', + 'xml.dom.html.HTMLBaseFontElement', + 'xml.dom.html.HTMLBodyElement', + 'xml.dom.html.HTMLBRElement', + 'xml.dom.html.HTMLButtonElement', + 'xml.dom.html.HTMLDirectoryElement', + 'xml.dom.html.HTMLDivElement', + 'xml.dom.html.HTMLDListElement', + 'xml.dom.html.HTMLElement', + 'xml.dom.html.HTMLFieldSetElement', + 'xml.dom.html.HTMLFontElement', + 'xml.dom.html.HTMLFormElement', + 'xml.dom.html.HTMLFrameElement', + 'xml.dom.html.HTMLFrameSetElement', + 'xml.dom.html.HTMLHeadElement', + 'xml.dom.html.HTMLHeadingElement', + 'xml.dom.html.HTMLHRElement', + 'xml.dom.html.HTMLHtmlElement', + 'xml.dom.html.HTMLIFrameElement', + 'xml.dom.html.HTMLImageElement', + 'xml.dom.html.HTMLInputElement', + 'xml.dom.html.HTMLIsIndexElement', + 'xml.dom.html.HTMLLabelElement', + 'xml.dom.html.HTMLLegendElement', + 'xml.dom.html.HTMLLIElement', + 'xml.dom.html.HTMLLinkElement', + 'xml.dom.html.HTMLMapElement', + 'xml.dom.html.HTMLMenuElement', + 'xml.dom.html.HTMLMetaElement', + 'xml.dom.html.HTMLModElement', + 'xml.dom.html.HTMLObjectElement', + 'xml.dom.html.HTMLOListElement', + 'xml.dom.html.HTMLOptGroupElement', + 'xml.dom.html.HTMLOptionElement', + 'xml.dom.html.HTMLParagraphElement', + 'xml.dom.html.HTMLParamElement', + 'xml.dom.html.HTMLPreElement', + 'xml.dom.html.HTMLQuoteElement', + 'xml.dom.html.HTMLScriptElement', + 'xml.dom.html.HTMLSelectElement', + 'xml.dom.html.HTMLStyleElement', + 'xml.dom.html.HTMLTableCaptionElement', + 'xml.dom.html.HTMLTableCellElement', + 'xml.dom.html.HTMLTableColElement', + 'xml.dom.html.HTMLTableElement', + 'xml.dom.html.HTMLTableRowElement', + 'xml.dom.html.HTMLTableSectionElement', + 'xml.dom.html.HTMLTextAreaElement', + 'xml.dom.html.HTMLTitleElement', + 'xml.dom.html.HTMLUListElement', + ] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-xml.sax.saxexts.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-xml.sax.saxexts.py new file mode 100644 index 0000000..5be293b --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-xml.sax.saxexts.py @@ -0,0 +1,25 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# xml.sax.saxexts +hiddenimports = ["xml.sax.drivers2.drv_pyexpat", + "xml.sax.drivers.drv_xmltok", + 'xml.sax.drivers2.drv_xmlproc', + "xml.sax.drivers.drv_xmltoolkit", + "xml.sax.drivers.drv_xmllib", + "xml.sax.drivers.drv_xmldc", + 'xml.sax.drivers.drv_pyexpat', + 'xml.sax.drivers.drv_xmlproc_val', + 'xml.sax.drivers.drv_htmllib', + 'xml.sax.drivers.drv_sgmlop', + "xml.sax.drivers.drv_sgmllib", + ] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-xmldiff.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-xmldiff.py new file mode 100644 index 0000000..eb2b966 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-xmldiff.py @@ -0,0 +1,16 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# Hook for https://github.com/Shoobx/xmldiff + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata('xmldiff') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-xmlschema.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-xmlschema.py new file mode 100644 index 0000000..05a777c --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-xmlschema.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# hook for https://github.com/sissaschool/xmlschema +from PyInstaller.utils.hooks import collect_data_files + +# the library contains a bunch of XSD schemas which are loaded in run time +datas = collect_data_files("xmlschema") diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-xsge_gui.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-xsge_gui.py new file mode 100644 index 0000000..068781e --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-xsge_gui.py @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for the xsge_gui module: https://pypi.python.org/pypi/xsge_gui + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('xsge_gui') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-xyzservices.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-xyzservices.py new file mode 100644 index 0000000..d7b0ecf --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-xyzservices.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('xyzservices') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-yapf_third_party.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-yapf_third_party.py new file mode 100644 index 0000000..d138c53 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-yapf_third_party.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('yapf_third_party') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-z3c.rml.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-z3c.rml.py new file mode 100644 index 0000000..658e44f --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-z3c.rml.py @@ -0,0 +1,25 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +# `z3c.rml` uses Bitstream Vera TTF fonts from the `reportlab` package. As that package can be used without the bundled +# fonts and as some of the bundled fonts have restrictive license (e.g., DarkGarden), we collect the required subset +# of fonts here, instead of collecting them all in a hook for `reportlab`. +datas = collect_data_files( + "reportlab", + includes=[ + "fonts/00readme.txt", + "fonts/bitstream-vera-license.txt", + "fonts/Vera*.ttf", + ], +) diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-zarr.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-zarr.py new file mode 100644 index 0000000..0aefa8a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-zarr.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2025 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata('zarr') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-zeep.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-zeep.py new file mode 100644 index 0000000..002e106 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-zeep.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +# Hook for the zeep module: https://pypi.python.org/pypi/zeep +# Tested with zeep 0.13.0, Python 2.7, Windows + +from PyInstaller.utils.hooks import copy_metadata + +datas = copy_metadata('zeep') diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-zmq.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-zmq.py new file mode 100644 index 0000000..5a9f833 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-zmq.py @@ -0,0 +1,63 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +""" +Hook for PyZMQ. Cython based Python bindings for messaging library ZeroMQ. +http://www.zeromq.org/ +""" +import os +import glob +from PyInstaller.utils.hooks import collect_submodules +from PyInstaller.utils.hooks import is_module_satisfies, get_module_file_attribute +from PyInstaller.compat import is_win + +binaries = [] +datas = [] +hiddenimports = ['zmq.utils.garbage'] + +# PyZMQ comes with two backends, cython and cffi. Calling collect_submodules() +# on zmq.backend seems to trigger attempt at compilation of C extension +# module for cffi backend, which will fail if ZeroMQ development files +# are not installed on the system. On non-English locales, the resulting +# localized error messages may cause UnicodeDecodeError. Collecting each +# backend individually, however, does not seem to cause any problems. +hiddenimports += ['zmq.backend'] + +# cython backend +hiddenimports += collect_submodules('zmq.backend.cython') + +# cffi backend: contains extra data that needs to be collected +# (e.g., _cdefs.h) +# +# NOTE: the cffi backend requires compilation of C extension at runtime, +# which appears to be broken in frozen program. So avoid collecting +# it altogether... +if False: + from PyInstaller.utils.hooks import collect_data_files + + hiddenimports += collect_submodules('zmq.backend.cffi') + datas += collect_data_files('zmq.backend.cffi', excludes=['**/__pycache__', ]) + +# Starting with pyzmq 22.0.0, the DLLs in Windows wheel are located in +# site-packages/pyzmq.libs directory along with a .load_order file. This +# file is required on python 3.7 and earlier. On later versions of python, +# the pyzmq.libs is required to exist. +if is_win and is_module_satisfies('pyzmq >= 22.0.0'): + zmq_root = os.path.dirname(get_module_file_attribute('zmq')) + libs_dir = os.path.join(zmq_root, os.path.pardir, 'pyzmq.libs') + # .load_order file (22.0.3 replaced underscore with dash and added + # version suffix on this file, hence the glob) + load_order_file = glob.glob(os.path.join(libs_dir, '.load*')) + datas += [(filename, 'pyzmq.libs') for filename in load_order_file] + # We need to collect DLLs into _MEIPASS, to avoid duplication due to + # subsequent binary analysis + dll_files = glob.glob(os.path.join(libs_dir, "*.dll")) + binaries += [(dll_file, '.') for dll_file in dll_files] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-zoneinfo.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-zoneinfo.py new file mode 100644 index 0000000..03a5e41 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-zoneinfo.py @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.compat import is_win + +# On Windows, timezone data is provided by the tzdata package that is +# not directly loaded. +if is_win: + hiddenimports = ['tzdata'] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/utils/__init__.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/utils/__init__.py new file mode 100644 index 0000000..792d600 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/utils/__init__.py @@ -0,0 +1 @@ +# diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/utils/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/utils/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..980a906 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/utils/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/utils/__pycache__/nvidia_cuda.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/utils/__pycache__/nvidia_cuda.cpython-311.pyc new file mode 100644 index 0000000..b45dc62 Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/utils/__pycache__/nvidia_cuda.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/utils/__pycache__/vtkmodules.cpython-311.pyc b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/utils/__pycache__/vtkmodules.cpython-311.pyc new file mode 100644 index 0000000..f33e62d Binary files /dev/null and b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/utils/__pycache__/vtkmodules.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/utils/nvidia_cuda.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/utils/nvidia_cuda.py new file mode 100644 index 0000000..b93064a --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/utils/nvidia_cuda.py @@ -0,0 +1,77 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2023 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +import os +import re + +from PyInstaller import compat +from PyInstaller.utils.hooks import ( + logger, + is_module_satisfies, +) + + +# Helper for collecting shared libraries from NVIDIA CUDA packages on linux. +def collect_nvidia_cuda_binaries(hook_file): + # Find the module underlying this nvidia.something hook; i.e., change ``/path/to/hook-nvidia.something.py`` to + # ``nvidia.something``. + hook_name, hook_ext = os.path.splitext(os.path.basename(hook_file)) + assert hook_ext.startswith('.py') + assert hook_name.startswith('hook-') + module_name = hook_name[5:] + + # `search_patterns` was added to `collect_dynamic_libs` in PyInstaller 5.8, so that is the minimum required version. + binaries = [] + if is_module_satisfies('PyInstaller >= 5.8'): + from PyInstaller.utils.hooks import collect_dynamic_libs, PY_DYLIB_PATTERNS + binaries = collect_dynamic_libs( + module_name, + # Collect fully-versioned .so files (not included in default search patterns). + search_patterns=PY_DYLIB_PATTERNS + ["lib*.so.*"], + ) + else: + logger.warning("hook-%s: this hook requires PyInstaller >= 5.8!", module_name) + + return binaries + + +# Helper to turn list of requirements (e.g., ['nvidia-cublas-cu12', 'nvidia-nccl-cu12', 'nvidia-cudnn-cu12']) into +# list of corresponding nvidia.* module names (e.g., ['nvidia.cublas', 'nvidia.nccl', 'nvidia-cudnn']), while ignoring +# unrecognized requirements. Intended for use in hooks for frameworks, such as `torch` and `tensorflow`. +def infer_hiddenimports_from_requirements(requirements): + # All nvidia-* packages install to nvidia top-level package, so we cannot query top-level module via + # metadata. Instead, we manually translate them from dist name to package name. + _PATTERN = r'^nvidia-(?P.+)-cu[\d]+$' + nvidia_hiddenimports = [] + + for req in requirements: + m = re.match(_PATTERN, req) + if m is not None: + # Convert + package_name = "nvidia." + m.group('subpackage').replace('-', '_') + nvidia_hiddenimports.append(package_name) + + return nvidia_hiddenimports + + +def create_symlink_suppression_patterns(hook_file): + hook_name, hook_ext = os.path.splitext(os.path.basename(hook_file)) + assert hook_ext.startswith('.py') + assert hook_name.startswith('hook-') + module_name = hook_name[5:] + + # Applicable only to Linux + if not compat.is_linux: + return [] + + # Pattern: **/{module_dir}/lib/lib*.so* + return [os.path.join('**', *module_name.split('.'), 'lib', 'lib*.so*')] diff --git a/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/utils/vtkmodules.py b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/utils/vtkmodules.py new file mode 100644 index 0000000..6f9a5a7 --- /dev/null +++ b/.venv/Lib/site-packages/_pyinstaller_hooks_contrib/utils/vtkmodules.py @@ -0,0 +1,604 @@ +import os + +# This list of dependencies was obtained via analysis based on code in `vtkmodules/generate_pyi.py` and augmented with +# missing entries until all tests from `test_vtkmodules` pass. Instead of a pre-computed list, we could dynamically +# analyze each module when the hook is executed; however, such approach would be slower, and would also not account +# for all dependencies that had to be added manually. +# +# NOTE: `vtkmodules.vtkCommonCore` is a dependency of every module, so do not list it here. Modules with no additional +# dependencies are also not listed. +_module_dependencies = { + 'vtkmodules.vtkAcceleratorsVTKmDataModel': [ + 'vtkmodules.vtkAcceleratorsVTKmCore', + 'vtkmodules.vtkCommonDataModel', + ], + 'vtkmodules.vtkAcceleratorsVTKmFilters': [ + 'vtkmodules.vtkAcceleratorsVTKmCore', + 'vtkmodules.vtkAcceleratorsVTKmDataModel', + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkFiltersCore', + 'vtkmodules.vtkFiltersGeneral', + 'vtkmodules.vtkFiltersGeometry', + 'vtkmodules.vtkImagingCore', + ], + 'vtkmodules.vtkChartsCore': [ + 'vtkmodules.vtkRenderingContext2D', + 'vtkmodules.vtkFiltersGeneral', + ], + 'vtkmodules.vtkCommonColor': [ + 'vtkmodules.vtkCommonDataModel', + ], + 'vtkmodules.vtkCommonComputationalGeometry': [ + 'vtkmodules.vtkCommonDataModel', + ], + 'vtkmodules.vtkCommonDataModel': [ + 'vtkmodules.vtkCommonMath', + 'vtkmodules.vtkCommonTransforms', + 'vtkmodules.util.data_model', + ], + 'vtkmodules.vtkCommonExecutionModel': [ + 'vtkmodules.vtkCommonDataModel', + 'vtkmodules.util.execution_model', + ], + 'vtkmodules.vtkCommonMisc': [ + 'vtkmodules.vtkCommonMath', + ], + 'vtkmodules.vtkCommonTransforms': [ + 'vtkmodules.vtkCommonMath', + ], + 'vtkmodules.vtkDomainsChemistry': [ + 'vtkmodules.vtkCommonDataModel', + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkIOLegacy', + 'vtkmodules.vtkIOXMLParser', + 'vtkmodules.vtkRenderingCore', + ], + 'vtkmodules.vtkDomainsChemistryOpenGL2': [ + 'vtkmodules.vtkDomainsChemistry', + 'vtkmodules.vtkRenderingOpenGL2', + ], + 'vtkmodules.vtkFiltersAMR': [ + 'vtkmodules.vtkCommonDataModel', + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkFiltersCellGrid': [ + 'vtkmodules.vtkCommonDataModel', + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkFiltersCore': [ + 'vtkmodules.vtkCommonDataModel', + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkCommonMisc', + ], + 'vtkmodules.vtkFiltersExtraction': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkFiltersGeneral', + ], + 'vtkmodules.vtkFiltersFlowPaths': [ + 'vtkmodules.vtkCommonComputationalGeometry', + 'vtkmodules.vtkCommonDataModel', + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkCommonMath', + ], + 'vtkmodules.vtkFiltersGeneral': [ + 'vtkmodules.vtkCommonDataModel', + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkFiltersCore', + ], + 'vtkmodules.vtkFiltersGeneric': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkFiltersGeometry': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkFiltersGeometryPreview': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkFiltersHybrid': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkCommonTransforms', + 'vtkmodules.vtkFiltersGeometry', + ], + 'vtkmodules.vtkFiltersHyperTree': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkFiltersCore', + 'vtkmodules.vtkFiltersGeneral', + ], + 'vtkmodules.vtkFiltersImaging': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkFiltersStatistics', + ], + 'vtkmodules.vtkFiltersModeling': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkFiltersGeneral', + ], + 'vtkmodules.vtkFiltersParallel': [ + 'vtkmodules.vtkCommonDataModel', + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkFiltersCore', + 'vtkmodules.vtkFiltersExtraction', + 'vtkmodules.vtkFiltersGeneral', + 'vtkmodules.vtkFiltersGeometry', + 'vtkmodules.vtkFiltersHybrid', + 'vtkmodules.vtkFiltersHyperTree', + 'vtkmodules.vtkFiltersModeling', + 'vtkmodules.vtkFiltersSources', + 'vtkmodules.vtkFiltersTexture', + ], + 'vtkmodules.vtkFiltersParallelDIY2': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkFiltersCore', + 'vtkmodules.vtkFiltersParallel', + ], + 'vtkmodules.vtkFiltersParallelImaging': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkFiltersImaging', + 'vtkmodules.vtkFiltersParallel', + 'vtkmodules.vtkImagingCore', + ], + 'vtkmodules.vtkFiltersParallelStatistics': [ + 'vtkmodules.vtkFiltersStatistics', + ], + 'vtkmodules.vtkFiltersPoints': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkFiltersModeling', + ], + 'vtkmodules.vtkFiltersProgrammable': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkFiltersPython': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkFiltersReduction': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkFiltersSMP': [ + 'vtkmodules.vtkCommonDataModel', + 'vtkmodules.vtkFiltersCore', + 'vtkmodules.vtkFiltersGeneral', + ], + 'vtkmodules.vtkFiltersSelection': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkFiltersSources': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkFiltersStatistics': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkFiltersTemporal': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkFiltersCore', + ], + 'vtkmodules.vtkFiltersTensor': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkFiltersTexture': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkFiltersTopology': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkFiltersVerdict': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkGeovisCore': [ + 'vtkmodules.vtkCommonTransforms', + ], + 'vtkmodules.vtkIOAMR': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkIOAsynchronous': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkIOCore', + 'vtkmodules.vtkIOImage', + 'vtkmodules.vtkIOXML', + ], + 'vtkmodules.vtkIOAvmesh': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkIOCore', + ], + 'vtkmodules.vtkIOCGNSReader': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkIOCONVERGECFD': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkIOCellGrid': [ + 'vtkmodules.vtkCommonDataModel', + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkFiltersCellGrid', + 'vtkmodules.vtkIOCore', + ], + 'vtkmodules.vtkIOCesium3DTiles': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkIOCore', + ], + 'vtkmodules.vtkIOChemistry': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkIOCore', + ], + 'vtkmodules.vtkIOCityGML': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkIOCore': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkIOERF': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkIOEnSight': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkIOEngys': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkIOExodus': [ + 'vtkmodules.vtkCommonDataModel', + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkIOCore', + 'vtkmodules.vtkIOXMLParser', + ], + 'vtkmodules.vtkIOExport': [ + 'vtkmodules.vtkIOCore', + 'vtkmodules.vtkIOImage', + 'vtkmodules.vtkIOXML', + 'vtkmodules.vtkRenderingContext2D', + 'vtkmodules.vtkRenderingCore', + 'vtkmodules.vtkRenderingFreeType', + 'vtkmodules.vtkRenderingVtkJS', + ], + 'vtkmodules.vtkIOExportGL2PS': [ + 'vtkmodules.vtkIOExport', + 'vtkmodules.vtkRenderingGL2PSOpenGL2', + ], + 'vtkmodules.vtkIOExportPDF': [ + 'vtkmodules.vtkIOExport', + 'vtkmodules.vtkRenderingContext2D', + ], + 'vtkmodules.vtkIOFDS': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkIOFLUENTCFF': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkIOGeoJSON': [ + 'vtkmodules.vtkCommonDataModel', + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkIOCore', + ], + 'vtkmodules.vtkIOGeometry': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkIOCore', + 'vtkmodules.vtkIOLegacy', + ], + 'vtkmodules.vtkIOH5Rage': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkIOH5part': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkIOHDF': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkIOCore', + ], + 'vtkmodules.vtkIOIOSS': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkFiltersCellGrid', + 'vtkmodules.vtkIOCore', + ], + 'vtkmodules.vtkIOImport': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkIOCore', + 'vtkmodules.vtkRenderingCore', + ], + 'vtkmodules.vtkIOImage': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkImagingCore', + ], + 'vtkmodules.vtkIOInfovis': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkIOLegacy', + 'vtkmodules.vtkIOXML', + ], + 'vtkmodules.vtkIOLANLX3D': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkIOLSDyna': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkIOXMLParser', + ], + 'vtkmodules.vtkIOLegacy': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkIOCellGrid', + 'vtkmodules.vtkIOCore', + ], + 'vtkmodules.vtkIOMINC': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkIOCore', + 'vtkmodules.vtkIOImage', + ], + 'vtkmodules.vtkIOMotionFX': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkIOMovie': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkIONetCDF': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkIOCore', + ], + 'vtkmodules.vtkIOOMF': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkIOOggTheora': [ + 'vtkmodules.vtkIOMovie', + ], + 'vtkmodules.vtkIOPIO': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkIOPLY': [ + 'vtkmodules.vtkIOCore', + ], + 'vtkmodules.vtkIOParallel': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkIOCore', + 'vtkmodules.vtkIOGeometry', + 'vtkmodules.vtkIOImage', + 'vtkmodules.vtkIOLegacy', + ], + 'vtkmodules.vtkIOParallelExodus': [ + 'vtkmodules.vtkIOExodus', + ], + 'vtkmodules.vtkIOParallelLSDyna': [ + 'vtkmodules.vtkIOLSDyna', + ], + 'vtkmodules.vtkIOParallelXML': [ + 'vtkmodules.vtkIOXML', + ], + 'vtkmodules.vtkIOSQL': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkIOCore', + ], + 'vtkmodules.vtkIOSegY': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkIOImage', + ], + 'vtkmodules.vtkIOTRUCHAS': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkIOTecplotTable': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkIOVPIC': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkIOVeraOut': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkIOVideo': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkIOXML': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkIOXMLParser', + ], + 'vtkmodules.vtkIOXMLParser': [ + 'vtkmodules.vtkCommonDataModel', + ], + 'vtkmodules.vtkIOXdmf2': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkIOLegacy', + ], + 'vtkmodules.vtkImagingColor': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkImagingCore', + ], + 'vtkmodules.vtkImagingCore': [ + 'vtkmodules.vtkCommonDataModel', + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkImagingFourier': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkImagingCore', + ], + 'vtkmodules.vtkImagingGeneral': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkImagingCore', + ], + 'vtkmodules.vtkImagingHybrid': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkImagingMath': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkImagingMorphological': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkImagingCore', + 'vtkmodules.vtkImagingGeneral', + ], + 'vtkmodules.vtkImagingOpenGL2': [ + 'vtkmodules.vtkImagingGeneral', + 'vtkmodules.vtkRenderingOpenGL2', + ], + 'vtkmodules.vtkImagingSources': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkImagingStatistics': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkImagingStencil': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkImagingCore', + ], + 'vtkmodules.vtkInfovisCore': [ + 'vtkmodules.vtkCommonColor', + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkImagingSources', + 'vtkmodules.vtkIOImage', + 'vtkmodules.vtkRenderingFreeType', + ], + 'vtkmodules.vtkInfovisLayout': [ + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkInteractionImage': [ + 'vtkmodules.vtkRenderingCore', + ], + 'vtkmodules.vtkInteractionStyle': [ + 'vtkmodules.vtkRenderingCore', + ], + 'vtkmodules.vtkInteractionWidgets': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkFiltersGeneral', + 'vtkmodules.vtkFiltersSources', + 'vtkmodules.vtkRenderingContext2D', + 'vtkmodules.vtkRenderingCore', + ], + 'vtkmodules.vtkPythonContext2D': [ + 'vtkmodules.vtkRenderingContext2D', + ], + 'vtkmodules.vtkRenderingAnnotation': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkRenderingCore', + ], + 'vtkmodules.vtkRenderingCellGrid': [ + 'vtkmodules.vtkFiltersCellGrid', + 'vtkmodules.vtkRenderingCore', + 'vtkmodules.vtkRenderingOpenGL2', + ], + 'vtkmodules.vtkRenderingContext2D': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkRenderingCore', + ], + 'vtkmodules.vtkRenderingContextOpenGL2': [ + 'vtkmodules.vtkRenderingContext2D', + 'vtkmodules.vtkRenderingFreeType', + 'vtkmodules.vtkRenderingOpenGL2', + ], + 'vtkmodules.vtkRenderingCore': [ + 'vtkmodules.vtkCommonDataModel', + 'vtkmodules.vtkCommonExecutionModel', + ], + 'vtkmodules.vtkRenderingExternal': [ + 'vtkmodules.vtkRenderingCore', + 'vtkmodules.vtkRenderingOpenGL2', + ], + 'vtkmodules.vtkRenderingFreeType': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkRenderingCore', + ], + 'vtkmodules.vtkRenderingGridAxes': [ + 'vtkmodules.vtkChartsCore', + 'vtkmodules.vtkRenderingCore', + ], + 'vtkmodules.vtkRenderingGL2PSOpenGL2': [ + 'vtkmodules.vtkRenderingOpenGL2', + ], + 'vtkmodules.vtkRenderingHyperTreeGrid': [ + 'vtkmodules.vtkRenderingCore', + ], + 'vtkmodules.vtkRenderingImage': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkRenderingCore', + ], + 'vtkmodules.vtkRenderingLICOpenGL2': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkRenderingCore', + 'vtkmodules.vtkRenderingOpenGL2', + ], + 'vtkmodules.vtkRenderingLOD': [ + 'vtkmodules.vtkRenderingCore', + ], + 'vtkmodules.vtkRenderingLabel': [ + 'vtkmodules.vtkCommonDataModel', + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkRenderingCore', + 'vtkmodules.vtkRenderingFreeType', + ], + 'vtkmodules.vtkRenderingMatplotlib': [ + 'vtkmodules.vtkRenderingFreeType', + ], + 'vtkmodules.vtkRenderingOpenGL2': [ + 'vtkmodules.vtkFiltersGeneral', + 'vtkmodules.vtkIOImage', + 'vtkmodules.vtkRenderingCore', + 'vtkmodules.vtkRenderingHyperTreeGrid', + 'vtkmodules.vtkRenderingUI', + ], + 'vtkmodules.vtkRenderingParallel': [ + 'vtkmodules.vtkRenderingCore', + 'vtkmodules.vtkRenderingOpenGL2', + ], + 'vtkmodules.vtkRenderingUI': [ + 'vtkmodules.vtkRenderingCore', + ], + 'vtkmodules.vtkRenderingVR': [ + 'vtkmodules.vtkInteractionStyle', + 'vtkmodules.vtkInteractionWidgets', + 'vtkmodules.vtkIOXMLParser', + 'vtkmodules.vtkRenderingCore', + 'vtkmodules.vtkRenderingOpenGL2', + 'vtkmodules.vtkRenderingVolumeOpenGL2', + 'vtkmodules.vtkRenderingVRModels', + ], + 'vtkmodules.vtkRenderingVRModels': [ + 'vtkmodules.vtkRenderingCore', + 'vtkmodules.vtkRenderingOpenGL2', + ], + 'vtkmodules.vtkRenderingVolume': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkRenderingCore', + ], + 'vtkmodules.vtkRenderingVolumeAMR': [ + 'vtkmodules.vtkImagingCore', + 'vtkmodules.vtkRenderingVolume', + 'vtkmodules.vtkRenderingVolumeOpenGL2', + ], + 'vtkmodules.vtkRenderingVolumeOpenGL2': [ + 'vtkmodules.vtkImagingCore', + 'vtkmodules.vtkImagingMath', + 'vtkmodules.vtkRenderingOpenGL2', + 'vtkmodules.vtkRenderingVolume', + ], + 'vtkmodules.vtkRenderingVtkJS': [ + 'vtkmodules.vtkRenderingSceneGraph', + ], + 'vtkmodules.vtkTestingRendering': [ + 'vtkmodules.vtkImagingColor', + 'vtkmodules.vtkIOXML', + 'vtkmodules.vtkRenderingCore', + ], + 'vtkmodules.vtkTestingSerialization': [ + 'vtkmodules.vtkCommonDataModel', + 'vtkmodules.vtkSerializationManager', + ], + 'vtkmodules.vtkViewsContext2D': [ + 'vtkmodules.vtkRenderingCore', + 'vtkmodules.vtkViewsCore', + ], + 'vtkmodules.vtkViewsCore': [ + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkInteractionWidgets', + ], + 'vtkmodules.vtkViewsInfovis': [ + 'vtkmodules.vtkCommonDataModel', + 'vtkmodules.vtkCommonExecutionModel', + 'vtkmodules.vtkInteractionStyle', + 'vtkmodules.vtkRenderingContext2D', + 'vtkmodules.vtkViewsCore', + ], + 'vtkmodules.vtkWebGLExporter': [ + 'vtkmodules.vtkIOExport', + ], +} + + +def add_vtkmodules_dependencies(hook_file): + # Find the module underlying this vtkmodules hook: change `/path/to/hook-vtkmodules.blah.py` to `vtkmodules.blah`. + hook_name, hook_ext = os.path.splitext(os.path.basename(hook_file)) + assert hook_ext.startswith('.py') + assert hook_name.startswith('hook-') + module_name = hook_name[5:] + + # Look up the list of hidden imports. + return ["vtkmodules.vtkCommonCore", *_module_dependencies.get(module_name, [])] diff --git a/.venv/Lib/site-packages/pip-24.0.dist-info/INSTALLER b/.venv/Lib/site-packages/altgraph-0.17.4.dist-info/INSTALLER similarity index 100% rename from .venv/Lib/site-packages/pip-24.0.dist-info/INSTALLER rename to .venv/Lib/site-packages/altgraph-0.17.4.dist-info/INSTALLER diff --git a/.venv/Lib/site-packages/altgraph-0.17.4.dist-info/LICENSE b/.venv/Lib/site-packages/altgraph-0.17.4.dist-info/LICENSE new file mode 100644 index 0000000..6013a21 --- /dev/null +++ b/.venv/Lib/site-packages/altgraph-0.17.4.dist-info/LICENSE @@ -0,0 +1,18 @@ +Copyright (c) 2004 Istvan Albert unless otherwise noted. +Copyright (c) 2006-2010 Bob Ippolito +Copyright (2) 2010-2020 Ronald Oussoren, et. al. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. diff --git a/.venv/Lib/site-packages/altgraph-0.17.4.dist-info/METADATA b/.venv/Lib/site-packages/altgraph-0.17.4.dist-info/METADATA new file mode 100644 index 0000000..589d1f5 --- /dev/null +++ b/.venv/Lib/site-packages/altgraph-0.17.4.dist-info/METADATA @@ -0,0 +1,293 @@ +Metadata-Version: 2.1 +Name: altgraph +Version: 0.17.4 +Summary: Python graph (network) package +Home-page: https://altgraph.readthedocs.io +Download-URL: http://pypi.python.org/pypi/altgraph +Author: Ronald Oussoren +Author-email: ronaldoussoren@mac.com +Maintainer: Ronald Oussoren +Maintainer-email: ronaldoussoren@mac.com +License: MIT +Keywords: graph +Platform: any +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved :: MIT License +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 2 +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.4 +Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 +Classifier: Topic :: Software Development :: Libraries :: Python Modules +Classifier: Topic :: Scientific/Engineering :: Mathematics +Classifier: Topic :: Scientific/Engineering :: Visualization +Description-Content-Type: text/x-rst; charset=UTF-8 +License-File: LICENSE +Project-URL: Documentation, https://altgraph.readthedocs.io/en/latest/ +Project-URL: Issue tracker, https://github.com/ronaldoussoren/altgraph/issues +Project-URL: Repository, https://github.com/ronaldoussoren/altgraph + +altgraph is a fork of graphlib: a graph (network) package for constructing +graphs, BFS and DFS traversals, topological sort, shortest paths, etc. with +graphviz output. + +altgraph includes some additional usage of Python 2.6+ features and +enhancements related to modulegraph and macholib. + +Project links +------------- + +* `Documentation `_ + +* `Issue Tracker `_ + +* `Repository `_ + + +Release history +=============== + +0.17.3 +------ + +* Update classifiers for Python 3.11 + +0.17.2 +------ + +* Change in setup.py to fix the sidebar links on PyPI + +0.17.1 +------ + +* Explicitly mark Python 3.10 as supported in wheel metadata. + +0.17 +---- + +* Explicitly mark Python 3.8 as supported in wheel metadata. + +* Migrate from Bitbucket to GitHub + +* Run black on the entire repository + +0.16.1 +------ + +* Explicitly mark Python 3.7 as supported in wheel metadata. + +0.16 +---- + +* Add LICENSE file + +0.15 +---- + +* ``ObjectGraph.get_edges``, ``ObjectGraph.getEdgeData`` and ``ObjectGraph.updateEdgeData`` + accept *None* as the node to get and treat this as an alias for *self* (as other + methods already did). + +0.14 +---- + +- Issue #7: Remove use of ``iteritems`` in altgraph.GraphAlgo code + +0.13 +---- + +- Issue #4: Graph._bfs_subgraph and back_bfs_subgraph return subgraphs with reversed edges + + Fix by "pombredanne" on bitbucket. + + +0.12 +---- + +- Added ``ObjectGraph.edgeData`` to retrieve the edge data + from a specific edge. + +- Added ``AltGraph.update_edge_data`` and ``ObjectGraph.updateEdgeData`` + to update the data associated with a graph edge. + +0.11 +---- + +- Stabilize the order of elements in dot file exports, + patch from bitbucket user 'pombredanne'. + +- Tweak setup.py file to remove dependency on distribute (but + keep the dependency on setuptools) + + +0.10.2 +------ + +- There where no classifiers in the package metadata due to a bug + in setup.py + +0.10.1 +------ + +This is a bugfix release + +Bug fixes: + +- Issue #3: The source archive contains a README.txt + while the setup file refers to ReadMe.txt. + + This is caused by a misfeature in distutils, as a + workaround I've renamed ReadMe.txt to README.txt + in the source tree and setup file. + + +0.10 +----- + +This is a minor feature release + +Features: + +- Do not use "2to3" to support Python 3. + + As a side effect of this altgraph now supports + Python 2.6 and later, and no longer supports + earlier releases of Python. + +- The order of attributes in the Dot output + is now always alphabetical. + + With this change the output will be consistent + between runs and Python versions. + +0.9 +--- + +This is a minor bugfix release + +Features: + +- Added ``altgraph.ObjectGraph.ObjectGraph.nodes``, a method + yielding all nodes in an object graph. + +Bugfixes: + +- The 0.8 release didn't work with py2app when using + python 3.x. + + +0.8 +----- + +This is a minor feature release. The major new feature +is a extensive set of unittests, which explains almost +all other changes in this release. + +Bugfixes: + +- Installing failed with Python 2.5 due to using a distutils + class that isn't available in that version of Python + (issue #1 on the issue tracker) + +- ``altgraph.GraphStat.degree_dist`` now actually works + +- ``altgraph.Graph.add_edge(a, b, create_nodes=False)`` will + no longer create the edge when one of the nodes doesn't + exist. + +- ``altgraph.Graph.forw_topo_sort`` failed for some sparse graphs. + +- ``altgraph.Graph.back_topo_sort`` was completely broken in + previous releases. + +- ``altgraph.Graph.forw_bfs_subgraph`` now actually works. + +- ``altgraph.Graph.back_bfs_subgraph`` now actually works. + +- ``altgraph.Graph.iterdfs`` now returns the correct result + when the ``forward`` argument is ``False``. + +- ``altgraph.Graph.iterdata`` now returns the correct result + when the ``forward`` argument is ``False``. + + +Features: + +- The ``altgraph.Graph`` constructor now accepts an argument + that contains 2- and 3-tuples instead of requireing that + all items have the same size. The (optional) argument can now + also be any iterator. + +- ``altgraph.Graph.Graph.add_node`` has no effect when you + add a hidden node. + +- The private method ``altgraph.Graph._bfs`` is no longer + present. + +- The private method ``altgraph.Graph._dfs`` is no longer + present. + +- ``altgraph.ObjectGraph`` now has a ``__contains__`` methods, + which means you can use the ``in`` operator to check if a + node is part of a graph. + +- ``altgraph.GraphUtil.generate_random_graph`` will raise + ``GraphError`` instead of looping forever when it is + impossible to create the requested graph. + +- ``altgraph.Dot.edge_style`` raises ``GraphError`` when + one of the nodes is not present in the graph. The method + silently added the tail in the past, but without ensuring + a consistent graph state. + +- ``altgraph.Dot.save_img`` now works when the mode is + ``"neato"``. + +0.7.2 +----- + +This is a minor bugfix release + +Bugfixes: + +- distutils didn't include the documentation subtree + +0.7.1 +----- + +This is a minor feature release + +Features: + +- Documentation is now generated using `sphinx `_ + and can be viewed at . + +- The repository has moved to bitbucket + +- ``altgraph.GraphStat.avg_hops`` is no longer present, the function had no + implementation and no specified behaviour. + +- the module ``altgraph.compat`` is gone, which means altgraph will no + longer work with Python 2.3. + + +0.7.0 +----- + +This is a minor feature release. + +Features: + +- Support for Python 3 + +- It is now possible to run tests using 'python setup.py test' + + (The actual testsuite is still very minimal though) diff --git a/.venv/Lib/site-packages/altgraph-0.17.4.dist-info/RECORD b/.venv/Lib/site-packages/altgraph-0.17.4.dist-info/RECORD new file mode 100644 index 0000000..c2388c0 --- /dev/null +++ b/.venv/Lib/site-packages/altgraph-0.17.4.dist-info/RECORD @@ -0,0 +1,21 @@ +altgraph-0.17.4.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 +altgraph-0.17.4.dist-info/LICENSE,sha256=bBlNbbDGTUVTXRDJUUK5sM2nt9zH8d3uMCs9U289vkY,1002 +altgraph-0.17.4.dist-info/METADATA,sha256=aREWy2Dksd1VVAd4BJMv0CkDVxIPyZIfA9J2ZFJrEpU,7264 +altgraph-0.17.4.dist-info/RECORD,, +altgraph-0.17.4.dist-info/WHEEL,sha256=a-zpFRIJzOq5QfuhBzbhiA1eHTzNCJn8OdRvhdNX0Rk,110 +altgraph-0.17.4.dist-info/top_level.txt,sha256=HEBeRWf5ItVPc7Y9hW7hGlrLXZjPoL4by6CAhBV_BwA,9 +altgraph-0.17.4.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1 +altgraph/Dot.py,sha256=gKEp6Su_CoOWQYt5HIVs_7MBYK1BEOhKX0RLAAA-vQs,9929 +altgraph/Graph.py,sha256=6b6fSHLA5QSqMDnSHIO7_WJnBYIdq3K5Bt8VipRODwg,20788 +altgraph/GraphAlgo.py,sha256=Uu9aTjSKWi38iQ_e9ZrwCnzQaI1WWFDhJ6kfmu0jxAA,5645 +altgraph/GraphStat.py,sha256=LKya4BKXJ5GZi5-sNYU17aOBTLxqn_tVgbiw4sWGYIU,1888 +altgraph/GraphUtil.py,sha256=1T4DJc2bJn6EIU_Ct4m0oiKlXWkXvqcXE8CGL2K9en8,3990 +altgraph/ObjectGraph.py,sha256=o7fPJtyBEgJSXAkUjzvj35B-FOY4uKzfLGqSvTitx8c,6490 +altgraph/__init__.py,sha256=YtY-rHf6X_lYk8820da2uVZT-C-B9KGpGXvBg1oZ0Fc,5015 +altgraph/__pycache__/Dot.cpython-311.pyc,, +altgraph/__pycache__/Graph.cpython-311.pyc,, +altgraph/__pycache__/GraphAlgo.cpython-311.pyc,, +altgraph/__pycache__/GraphStat.cpython-311.pyc,, +altgraph/__pycache__/GraphUtil.cpython-311.pyc,, +altgraph/__pycache__/ObjectGraph.cpython-311.pyc,, +altgraph/__pycache__/__init__.cpython-311.pyc,, diff --git a/.venv/Lib/site-packages/altgraph-0.17.4.dist-info/WHEEL b/.venv/Lib/site-packages/altgraph-0.17.4.dist-info/WHEEL new file mode 100644 index 0000000..f771c29 --- /dev/null +++ b/.venv/Lib/site-packages/altgraph-0.17.4.dist-info/WHEEL @@ -0,0 +1,6 @@ +Wheel-Version: 1.0 +Generator: bdist_wheel (0.40.0) +Root-Is-Purelib: true +Tag: py2-none-any +Tag: py3-none-any + diff --git a/.venv/Lib/site-packages/altgraph-0.17.4.dist-info/top_level.txt b/.venv/Lib/site-packages/altgraph-0.17.4.dist-info/top_level.txt new file mode 100644 index 0000000..5ad6b8a --- /dev/null +++ b/.venv/Lib/site-packages/altgraph-0.17.4.dist-info/top_level.txt @@ -0,0 +1 @@ +altgraph diff --git a/.venv/Lib/site-packages/altgraph-0.17.4.dist-info/zip-safe b/.venv/Lib/site-packages/altgraph-0.17.4.dist-info/zip-safe new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/.venv/Lib/site-packages/altgraph-0.17.4.dist-info/zip-safe @@ -0,0 +1 @@ + diff --git a/.venv/Lib/site-packages/altgraph/Dot.py b/.venv/Lib/site-packages/altgraph/Dot.py new file mode 100644 index 0000000..1d19cb1 --- /dev/null +++ b/.venv/Lib/site-packages/altgraph/Dot.py @@ -0,0 +1,321 @@ +""" +altgraph.Dot - Interface to the dot language +============================================ + +The :py:mod:`~altgraph.Dot` module provides a simple interface to the +file format used in the +`graphviz `_ +program. The module is intended to offload the most tedious part of the process +(the **dot** file generation) while transparently exposing most of its +features. + +To display the graphs or to generate image files the +`graphviz `_ +package needs to be installed on the system, moreover the :command:`dot` and +:command:`dotty` programs must be accesible in the program path so that they +can be ran from processes spawned within the module. + +Example usage +------------- + +Here is a typical usage:: + + from altgraph import Graph, Dot + + # create a graph + edges = [ (1,2), (1,3), (3,4), (3,5), (4,5), (5,4) ] + graph = Graph.Graph(edges) + + # create a dot representation of the graph + dot = Dot.Dot(graph) + + # display the graph + dot.display() + + # save the dot representation into the mydot.dot file + dot.save_dot(file_name='mydot.dot') + + # save dot file as gif image into the graph.gif file + dot.save_img(file_name='graph', file_type='gif') + +Directed graph and non-directed graph +------------------------------------- + +Dot class can use for both directed graph and non-directed graph +by passing ``graphtype`` parameter. + +Example:: + + # create directed graph(default) + dot = Dot.Dot(graph, graphtype="digraph") + + # create non-directed graph + dot = Dot.Dot(graph, graphtype="graph") + +Customizing the output +---------------------- + +The graph drawing process may be customized by passing +valid :command:`dot` parameters for the nodes and edges. For a list of all +parameters see the `graphviz `_ +documentation. + +Example:: + + # customizing the way the overall graph is drawn + dot.style(size='10,10', rankdir='RL', page='5, 5' , ranksep=0.75) + + # customizing node drawing + dot.node_style(1, label='BASE_NODE',shape='box', color='blue' ) + dot.node_style(2, style='filled', fillcolor='red') + + # customizing edge drawing + dot.edge_style(1, 2, style='dotted') + dot.edge_style(3, 5, arrowhead='dot', label='binds', labelangle='90') + dot.edge_style(4, 5, arrowsize=2, style='bold') + + +.. note:: + + dotty (invoked via :py:func:`~altgraph.Dot.display`) may not be able to + display all graphics styles. To verify the output save it to an image file + and look at it that way. + +Valid attributes +---------------- + + - dot styles, passed via the :py:meth:`Dot.style` method:: + + rankdir = 'LR' (draws the graph horizontally, left to right) + ranksep = number (rank separation in inches) + + - node attributes, passed via the :py:meth:`Dot.node_style` method:: + + style = 'filled' | 'invisible' | 'diagonals' | 'rounded' + shape = 'box' | 'ellipse' | 'circle' | 'point' | 'triangle' + + - edge attributes, passed via the :py:meth:`Dot.edge_style` method:: + + style = 'dashed' | 'dotted' | 'solid' | 'invis' | 'bold' + arrowhead = 'box' | 'crow' | 'diamond' | 'dot' | 'inv' | 'none' + | 'tee' | 'vee' + weight = number (the larger the number the closer the nodes will be) + + - valid `graphviz colors + `_ + + - for more details on how to control the graph drawing process see the + `graphviz reference + `_. +""" +import os +import warnings + +from altgraph import GraphError + + +class Dot(object): + """ + A class providing a **graphviz** (dot language) representation + allowing a fine grained control over how the graph is being + displayed. + + If the :command:`dot` and :command:`dotty` programs are not in the current + system path their location needs to be specified in the contructor. + """ + + def __init__( + self, + graph=None, + nodes=None, + edgefn=None, + nodevisitor=None, + edgevisitor=None, + name="G", + dot="dot", + dotty="dotty", + neato="neato", + graphtype="digraph", + ): + """ + Initialization. + """ + self.name, self.attr = name, {} + + assert graphtype in ["graph", "digraph"] + self.type = graphtype + + self.temp_dot = "tmp_dot.dot" + self.temp_neo = "tmp_neo.dot" + + self.dot, self.dotty, self.neato = dot, dotty, neato + + # self.nodes: node styles + # self.edges: edge styles + self.nodes, self.edges = {}, {} + + if graph is not None and nodes is None: + nodes = graph + if graph is not None and edgefn is None: + + def edgefn(node, graph=graph): + return graph.out_nbrs(node) + + if nodes is None: + nodes = () + + seen = set() + for node in nodes: + if nodevisitor is None: + style = {} + else: + style = nodevisitor(node) + if style is not None: + self.nodes[node] = {} + self.node_style(node, **style) + seen.add(node) + if edgefn is not None: + for head in seen: + for tail in (n for n in edgefn(head) if n in seen): + if edgevisitor is None: + edgestyle = {} + else: + edgestyle = edgevisitor(head, tail) + if edgestyle is not None: + if head not in self.edges: + self.edges[head] = {} + self.edges[head][tail] = {} + self.edge_style(head, tail, **edgestyle) + + def style(self, **attr): + """ + Changes the overall style + """ + self.attr = attr + + def display(self, mode="dot"): + """ + Displays the current graph via dotty + """ + + if mode == "neato": + self.save_dot(self.temp_neo) + neato_cmd = "%s -o %s %s" % (self.neato, self.temp_dot, self.temp_neo) + os.system(neato_cmd) + else: + self.save_dot(self.temp_dot) + + plot_cmd = "%s %s" % (self.dotty, self.temp_dot) + os.system(plot_cmd) + + def node_style(self, node, **kwargs): + """ + Modifies a node style to the dot representation. + """ + if node not in self.edges: + self.edges[node] = {} + self.nodes[node] = kwargs + + def all_node_style(self, **kwargs): + """ + Modifies all node styles + """ + for node in self.nodes: + self.node_style(node, **kwargs) + + def edge_style(self, head, tail, **kwargs): + """ + Modifies an edge style to the dot representation. + """ + if tail not in self.nodes: + raise GraphError("invalid node %s" % (tail,)) + + try: + if tail not in self.edges[head]: + self.edges[head][tail] = {} + self.edges[head][tail] = kwargs + except KeyError: + raise GraphError("invalid edge %s -> %s " % (head, tail)) + + def iterdot(self): + # write graph title + if self.type == "digraph": + yield "digraph %s {\n" % (self.name,) + elif self.type == "graph": + yield "graph %s {\n" % (self.name,) + + else: + raise GraphError("unsupported graphtype %s" % (self.type,)) + + # write overall graph attributes + for attr_name, attr_value in sorted(self.attr.items()): + yield '%s="%s";' % (attr_name, attr_value) + yield "\n" + + # some reusable patterns + cpatt = '%s="%s",' # to separate attributes + epatt = "];\n" # to end attributes + + # write node attributes + for node_name, node_attr in sorted(self.nodes.items()): + yield '\t"%s" [' % (node_name,) + for attr_name, attr_value in sorted(node_attr.items()): + yield cpatt % (attr_name, attr_value) + yield epatt + + # write edge attributes + for head in sorted(self.edges): + for tail in sorted(self.edges[head]): + if self.type == "digraph": + yield '\t"%s" -> "%s" [' % (head, tail) + else: + yield '\t"%s" -- "%s" [' % (head, tail) + for attr_name, attr_value in sorted(self.edges[head][tail].items()): + yield cpatt % (attr_name, attr_value) + yield epatt + + # finish file + yield "}\n" + + def __iter__(self): + return self.iterdot() + + def save_dot(self, file_name=None): + """ + Saves the current graph representation into a file + """ + + if not file_name: + warnings.warn(DeprecationWarning, "always pass a file_name", stacklevel=2) + file_name = self.temp_dot + + with open(file_name, "w") as fp: + for chunk in self.iterdot(): + fp.write(chunk) + + def save_img(self, file_name=None, file_type="gif", mode="dot"): + """ + Saves the dot file as an image file + """ + + if not file_name: + warnings.warn(DeprecationWarning, "always pass a file_name", stacklevel=2) + file_name = "out" + + if mode == "neato": + self.save_dot(self.temp_neo) + neato_cmd = "%s -o %s %s" % (self.neato, self.temp_dot, self.temp_neo) + os.system(neato_cmd) + plot_cmd = self.dot + else: + self.save_dot(self.temp_dot) + plot_cmd = self.dot + + file_name = "%s.%s" % (file_name, file_type) + create_cmd = "%s -T%s %s -o %s" % ( + plot_cmd, + file_type, + self.temp_dot, + file_name, + ) + os.system(create_cmd) diff --git a/.venv/Lib/site-packages/altgraph/Graph.py b/.venv/Lib/site-packages/altgraph/Graph.py new file mode 100644 index 0000000..8088007 --- /dev/null +++ b/.venv/Lib/site-packages/altgraph/Graph.py @@ -0,0 +1,682 @@ +""" +altgraph.Graph - Base Graph class +================================= + +.. + #--Version 2.1 + #--Bob Ippolito October, 2004 + + #--Version 2.0 + #--Istvan Albert June, 2004 + + #--Version 1.0 + #--Nathan Denny, May 27, 1999 +""" + +from collections import deque + +from altgraph import GraphError + + +class Graph(object): + """ + The Graph class represents a directed graph with *N* nodes and *E* edges. + + Naming conventions: + + - the prefixes such as *out*, *inc* and *all* will refer to methods + that operate on the outgoing, incoming or all edges of that node. + + For example: :py:meth:`inc_degree` will refer to the degree of the node + computed over the incoming edges (the number of neighbours linking to + the node). + + - the prefixes such as *forw* and *back* will refer to the + orientation of the edges used in the method with respect to the node. + + For example: :py:meth:`forw_bfs` will start at the node then use the + outgoing edges to traverse the graph (goes forward). + """ + + def __init__(self, edges=None): + """ + Initialization + """ + + self.next_edge = 0 + self.nodes, self.edges = {}, {} + self.hidden_edges, self.hidden_nodes = {}, {} + + if edges is not None: + for item in edges: + if len(item) == 2: + head, tail = item + self.add_edge(head, tail) + elif len(item) == 3: + head, tail, data = item + self.add_edge(head, tail, data) + else: + raise GraphError("Cannot create edge from %s" % (item,)) + + def __repr__(self): + return "" % ( + self.number_of_nodes(), + self.number_of_edges(), + ) + + def add_node(self, node, node_data=None): + """ + Adds a new node to the graph. Arbitrary data can be attached to the + node via the node_data parameter. Adding the same node twice will be + silently ignored. + + The node must be a hashable value. + """ + # + # the nodes will contain tuples that will store incoming edges, + # outgoing edges and data + # + # index 0 -> incoming edges + # index 1 -> outgoing edges + + if node in self.hidden_nodes: + # Node is present, but hidden + return + + if node not in self.nodes: + self.nodes[node] = ([], [], node_data) + + def add_edge(self, head_id, tail_id, edge_data=1, create_nodes=True): + """ + Adds a directed edge going from head_id to tail_id. + Arbitrary data can be attached to the edge via edge_data. + It may create the nodes if adding edges between nonexisting ones. + + :param head_id: head node + :param tail_id: tail node + :param edge_data: (optional) data attached to the edge + :param create_nodes: (optional) creates the head_id or tail_id + node in case they did not exist + """ + # shorcut + edge = self.next_edge + + # add nodes if on automatic node creation + if create_nodes: + self.add_node(head_id) + self.add_node(tail_id) + + # update the corresponding incoming and outgoing lists in the nodes + # index 0 -> incoming edges + # index 1 -> outgoing edges + + try: + self.nodes[tail_id][0].append(edge) + self.nodes[head_id][1].append(edge) + except KeyError: + raise GraphError("Invalid nodes %s -> %s" % (head_id, tail_id)) + + # store edge information + self.edges[edge] = (head_id, tail_id, edge_data) + + self.next_edge += 1 + + def hide_edge(self, edge): + """ + Hides an edge from the graph. The edge may be unhidden at some later + time. + """ + try: + head_id, tail_id, edge_data = self.hidden_edges[edge] = self.edges[edge] + self.nodes[tail_id][0].remove(edge) + self.nodes[head_id][1].remove(edge) + del self.edges[edge] + except KeyError: + raise GraphError("Invalid edge %s" % edge) + + def hide_node(self, node): + """ + Hides a node from the graph. The incoming and outgoing edges of the + node will also be hidden. The node may be unhidden at some later time. + """ + try: + all_edges = self.all_edges(node) + self.hidden_nodes[node] = (self.nodes[node], all_edges) + for edge in all_edges: + self.hide_edge(edge) + del self.nodes[node] + except KeyError: + raise GraphError("Invalid node %s" % node) + + def restore_node(self, node): + """ + Restores a previously hidden node back into the graph and restores + all of its incoming and outgoing edges. + """ + try: + self.nodes[node], all_edges = self.hidden_nodes[node] + for edge in all_edges: + self.restore_edge(edge) + del self.hidden_nodes[node] + except KeyError: + raise GraphError("Invalid node %s" % node) + + def restore_edge(self, edge): + """ + Restores a previously hidden edge back into the graph. + """ + try: + head_id, tail_id, data = self.hidden_edges[edge] + self.nodes[tail_id][0].append(edge) + self.nodes[head_id][1].append(edge) + self.edges[edge] = head_id, tail_id, data + del self.hidden_edges[edge] + except KeyError: + raise GraphError("Invalid edge %s" % edge) + + def restore_all_edges(self): + """ + Restores all hidden edges. + """ + for edge in list(self.hidden_edges.keys()): + try: + self.restore_edge(edge) + except GraphError: + pass + + def restore_all_nodes(self): + """ + Restores all hidden nodes. + """ + for node in list(self.hidden_nodes.keys()): + self.restore_node(node) + + def __contains__(self, node): + """ + Test whether a node is in the graph + """ + return node in self.nodes + + def edge_by_id(self, edge): + """ + Returns the edge that connects the head_id and tail_id nodes + """ + try: + head, tail, data = self.edges[edge] + except KeyError: + head, tail = None, None + raise GraphError("Invalid edge %s" % edge) + + return (head, tail) + + def edge_by_node(self, head, tail): + """ + Returns the edge that connects the head_id and tail_id nodes + """ + for edge in self.out_edges(head): + if self.tail(edge) == tail: + return edge + return None + + def number_of_nodes(self): + """ + Returns the number of nodes + """ + return len(self.nodes) + + def number_of_edges(self): + """ + Returns the number of edges + """ + return len(self.edges) + + def __iter__(self): + """ + Iterates over all nodes in the graph + """ + return iter(self.nodes) + + def node_list(self): + """ + Return a list of the node ids for all visible nodes in the graph. + """ + return list(self.nodes.keys()) + + def edge_list(self): + """ + Returns an iterator for all visible nodes in the graph. + """ + return list(self.edges.keys()) + + def number_of_hidden_edges(self): + """ + Returns the number of hidden edges + """ + return len(self.hidden_edges) + + def number_of_hidden_nodes(self): + """ + Returns the number of hidden nodes + """ + return len(self.hidden_nodes) + + def hidden_node_list(self): + """ + Returns the list with the hidden nodes + """ + return list(self.hidden_nodes.keys()) + + def hidden_edge_list(self): + """ + Returns a list with the hidden edges + """ + return list(self.hidden_edges.keys()) + + def describe_node(self, node): + """ + return node, node data, outgoing edges, incoming edges for node + """ + incoming, outgoing, data = self.nodes[node] + return node, data, outgoing, incoming + + def describe_edge(self, edge): + """ + return edge, edge data, head, tail for edge + """ + head, tail, data = self.edges[edge] + return edge, data, head, tail + + def node_data(self, node): + """ + Returns the data associated with a node + """ + return self.nodes[node][2] + + def edge_data(self, edge): + """ + Returns the data associated with an edge + """ + return self.edges[edge][2] + + def update_edge_data(self, edge, edge_data): + """ + Replace the edge data for a specific edge + """ + self.edges[edge] = self.edges[edge][0:2] + (edge_data,) + + def head(self, edge): + """ + Returns the node of the head of the edge. + """ + return self.edges[edge][0] + + def tail(self, edge): + """ + Returns node of the tail of the edge. + """ + return self.edges[edge][1] + + def out_nbrs(self, node): + """ + List of nodes connected by outgoing edges + """ + return [self.tail(n) for n in self.out_edges(node)] + + def inc_nbrs(self, node): + """ + List of nodes connected by incoming edges + """ + return [self.head(n) for n in self.inc_edges(node)] + + def all_nbrs(self, node): + """ + List of nodes connected by incoming and outgoing edges + """ + return list(dict.fromkeys(self.inc_nbrs(node) + self.out_nbrs(node))) + + def out_edges(self, node): + """ + Returns a list of the outgoing edges + """ + try: + return list(self.nodes[node][1]) + except KeyError: + raise GraphError("Invalid node %s" % node) + + def inc_edges(self, node): + """ + Returns a list of the incoming edges + """ + try: + return list(self.nodes[node][0]) + except KeyError: + raise GraphError("Invalid node %s" % node) + + def all_edges(self, node): + """ + Returns a list of incoming and outging edges. + """ + return set(self.inc_edges(node) + self.out_edges(node)) + + def out_degree(self, node): + """ + Returns the number of outgoing edges + """ + return len(self.out_edges(node)) + + def inc_degree(self, node): + """ + Returns the number of incoming edges + """ + return len(self.inc_edges(node)) + + def all_degree(self, node): + """ + The total degree of a node + """ + return self.inc_degree(node) + self.out_degree(node) + + def _topo_sort(self, forward=True): + """ + Topological sort. + + Returns a list of nodes where the successors (based on outgoing and + incoming edges selected by the forward parameter) of any given node + appear in the sequence after that node. + """ + topo_list = [] + queue = deque() + indeg = {} + + # select the operation that will be performed + if forward: + get_edges = self.out_edges + get_degree = self.inc_degree + get_next = self.tail + else: + get_edges = self.inc_edges + get_degree = self.out_degree + get_next = self.head + + for node in self.node_list(): + degree = get_degree(node) + if degree: + indeg[node] = degree + else: + queue.append(node) + + while queue: + curr_node = queue.popleft() + topo_list.append(curr_node) + for edge in get_edges(curr_node): + tail_id = get_next(edge) + if tail_id in indeg: + indeg[tail_id] -= 1 + if indeg[tail_id] == 0: + queue.append(tail_id) + + if len(topo_list) == len(self.node_list()): + valid = True + else: + # the graph has cycles, invalid topological sort + valid = False + + return (valid, topo_list) + + def forw_topo_sort(self): + """ + Topological sort. + + Returns a list of nodes where the successors (based on outgoing edges) + of any given node appear in the sequence after that node. + """ + return self._topo_sort(forward=True) + + def back_topo_sort(self): + """ + Reverse topological sort. + + Returns a list of nodes where the successors (based on incoming edges) + of any given node appear in the sequence after that node. + """ + return self._topo_sort(forward=False) + + def _bfs_subgraph(self, start_id, forward=True): + """ + Private method creates a subgraph in a bfs order. + + The forward parameter specifies whether it is a forward or backward + traversal. + """ + if forward: + get_bfs = self.forw_bfs + get_nbrs = self.out_nbrs + else: + get_bfs = self.back_bfs + get_nbrs = self.inc_nbrs + + g = Graph() + bfs_list = get_bfs(start_id) + for node in bfs_list: + g.add_node(node) + + for node in bfs_list: + for nbr_id in get_nbrs(node): + if forward: + g.add_edge(node, nbr_id) + else: + g.add_edge(nbr_id, node) + + return g + + def forw_bfs_subgraph(self, start_id): + """ + Creates and returns a subgraph consisting of the breadth first + reachable nodes based on their outgoing edges. + """ + return self._bfs_subgraph(start_id, forward=True) + + def back_bfs_subgraph(self, start_id): + """ + Creates and returns a subgraph consisting of the breadth first + reachable nodes based on the incoming edges. + """ + return self._bfs_subgraph(start_id, forward=False) + + def iterdfs(self, start, end=None, forward=True): + """ + Collecting nodes in some depth first traversal. + + The forward parameter specifies whether it is a forward or backward + traversal. + """ + visited, stack = {start}, deque([start]) + + if forward: + get_edges = self.out_edges + get_next = self.tail + else: + get_edges = self.inc_edges + get_next = self.head + + while stack: + curr_node = stack.pop() + yield curr_node + if curr_node == end: + break + for edge in sorted(get_edges(curr_node)): + tail = get_next(edge) + if tail not in visited: + visited.add(tail) + stack.append(tail) + + def iterdata(self, start, end=None, forward=True, condition=None): + """ + Perform a depth-first walk of the graph (as ``iterdfs``) + and yield the item data of every node where condition matches. The + condition callback is only called when node_data is not None. + """ + + visited, stack = {start}, deque([start]) + + if forward: + get_edges = self.out_edges + get_next = self.tail + else: + get_edges = self.inc_edges + get_next = self.head + + get_data = self.node_data + + while stack: + curr_node = stack.pop() + curr_data = get_data(curr_node) + if curr_data is not None: + if condition is not None and not condition(curr_data): + continue + yield curr_data + if curr_node == end: + break + for edge in get_edges(curr_node): + tail = get_next(edge) + if tail not in visited: + visited.add(tail) + stack.append(tail) + + def _iterbfs(self, start, end=None, forward=True): + """ + The forward parameter specifies whether it is a forward or backward + traversal. Returns a list of tuples where the first value is the hop + value the second value is the node id. + """ + queue, visited = deque([(start, 0)]), {start} + + # the direction of the bfs depends on the edges that are sampled + if forward: + get_edges = self.out_edges + get_next = self.tail + else: + get_edges = self.inc_edges + get_next = self.head + + while queue: + curr_node, curr_step = queue.popleft() + yield (curr_node, curr_step) + if curr_node == end: + break + for edge in get_edges(curr_node): + tail = get_next(edge) + if tail not in visited: + visited.add(tail) + queue.append((tail, curr_step + 1)) + + def forw_bfs(self, start, end=None): + """ + Returns a list of nodes in some forward BFS order. + + Starting from the start node the breadth first search proceeds along + outgoing edges. + """ + return [node for node, step in self._iterbfs(start, end, forward=True)] + + def back_bfs(self, start, end=None): + """ + Returns a list of nodes in some backward BFS order. + + Starting from the start node the breadth first search proceeds along + incoming edges. + """ + return [node for node, _ in self._iterbfs(start, end, forward=False)] + + def forw_dfs(self, start, end=None): + """ + Returns a list of nodes in some forward DFS order. + + Starting with the start node the depth first search proceeds along + outgoing edges. + """ + return list(self.iterdfs(start, end, forward=True)) + + def back_dfs(self, start, end=None): + """ + Returns a list of nodes in some backward DFS order. + + Starting from the start node the depth first search proceeds along + incoming edges. + """ + return list(self.iterdfs(start, end, forward=False)) + + def connected(self): + """ + Returns :py:data:`True` if the graph's every node can be reached from + every other node. + """ + node_list = self.node_list() + for node in node_list: + bfs_list = self.forw_bfs(node) + if len(bfs_list) != len(node_list): + return False + return True + + def clust_coef(self, node): + """ + Computes and returns the local clustering coefficient of node. + + The local cluster coefficient is proportion of the actual number of + edges between neighbours of node and the maximum number of edges + between those neighbours. + + See "Local Clustering Coefficient" on + + for a formal definition. + """ + num = 0 + nbr_set = set(self.out_nbrs(node)) + + if node in nbr_set: + nbr_set.remove(node) # loop defense + + for nbr in nbr_set: + sec_set = set(self.out_nbrs(nbr)) + if nbr in sec_set: + sec_set.remove(nbr) # loop defense + num += len(nbr_set & sec_set) + + nbr_num = len(nbr_set) + if nbr_num: + clust_coef = float(num) / (nbr_num * (nbr_num - 1)) + else: + clust_coef = 0.0 + return clust_coef + + def get_hops(self, start, end=None, forward=True): + """ + Computes the hop distance to all nodes centered around a node. + + First order neighbours are at hop 1, their neigbours are at hop 2 etc. + Uses :py:meth:`forw_bfs` or :py:meth:`back_bfs` depending on the value + of the forward parameter. If the distance between all neighbouring + nodes is 1 the hop number corresponds to the shortest distance between + the nodes. + + :param start: the starting node + :param end: ending node (optional). When not specified will search the + whole graph. + :param forward: directionality parameter (optional). + If C{True} (default) it uses L{forw_bfs} otherwise L{back_bfs}. + :return: returns a list of tuples where each tuple contains the + node and the hop. + + Typical usage:: + + >>> print (graph.get_hops(1, 8)) + >>> [(1, 0), (2, 1), (3, 1), (4, 2), (5, 3), (7, 4), (8, 5)] + # node 1 is at 0 hops + # node 2 is at 1 hop + # ... + # node 8 is at 5 hops + """ + if forward: + return list(self._iterbfs(start=start, end=end, forward=True)) + else: + return list(self._iterbfs(start=start, end=end, forward=False)) diff --git a/.venv/Lib/site-packages/altgraph/GraphAlgo.py b/.venv/Lib/site-packages/altgraph/GraphAlgo.py new file mode 100644 index 0000000..f93e73d --- /dev/null +++ b/.venv/Lib/site-packages/altgraph/GraphAlgo.py @@ -0,0 +1,171 @@ +""" +altgraph.GraphAlgo - Graph algorithms +===================================== +""" +from altgraph import GraphError + + +def dijkstra(graph, start, end=None): + """ + Dijkstra's algorithm for shortest paths + + `David Eppstein, UC Irvine, 4 April 2002 + `_ + + `Python Cookbook Recipe + `_ + + Find shortest paths from the start node to all nodes nearer than or + equal to the end node. + + Dijkstra's algorithm is only guaranteed to work correctly when all edge + lengths are positive. This code does not verify this property for all + edges (only the edges examined until the end vertex is reached), but will + correctly compute shortest paths even for some graphs with negative edges, + and will raise an exception if it discovers that a negative edge has + caused it to make a mistake. + + Adapted to altgraph by Istvan Albert, Pennsylvania State University - + June, 9 2004 + """ + D = {} # dictionary of final distances + P = {} # dictionary of predecessors + Q = _priorityDictionary() # estimated distances of non-final vertices + Q[start] = 0 + + for v in Q: + D[v] = Q[v] + if v == end: + break + + for w in graph.out_nbrs(v): + edge_id = graph.edge_by_node(v, w) + vwLength = D[v] + graph.edge_data(edge_id) + if w in D: + if vwLength < D[w]: + raise GraphError( + "Dijkstra: found better path to already-final vertex" + ) + elif w not in Q or vwLength < Q[w]: + Q[w] = vwLength + P[w] = v + + return (D, P) + + +def shortest_path(graph, start, end): + """ + Find a single shortest path from the *start* node to the *end* node. + The input has the same conventions as dijkstra(). The output is a list of + the nodes in order along the shortest path. + + **Note that the distances must be stored in the edge data as numeric data** + """ + + D, P = dijkstra(graph, start, end) + Path = [] + while 1: + Path.append(end) + if end == start: + break + end = P[end] + Path.reverse() + return Path + + +# +# Utility classes and functions +# +class _priorityDictionary(dict): + """ + Priority dictionary using binary heaps (internal use only) + + David Eppstein, UC Irvine, 8 Mar 2002 + + Implements a data structure that acts almost like a dictionary, with + two modifications: + + 1. D.smallest() returns the value x minimizing D[x]. For this to + work correctly, all values D[x] stored in the dictionary must be + comparable. + + 2. iterating "for x in D" finds and removes the items from D in sorted + order. Each item is not removed until the next item is requested, + so D[x] will still return a useful value until the next iteration + of the for-loop. Each operation takes logarithmic amortized time. + """ + + def __init__(self): + """ + Initialize priorityDictionary by creating binary heap of pairs + (value,key). Note that changing or removing a dict entry will not + remove the old pair from the heap until it is found by smallest() + or until the heap is rebuilt. + """ + self.__heap = [] + dict.__init__(self) + + def smallest(self): + """ + Find smallest item after removing deleted items from front of heap. + """ + if len(self) == 0: + raise IndexError("smallest of empty priorityDictionary") + heap = self.__heap + while heap[0][1] not in self or self[heap[0][1]] != heap[0][0]: + lastItem = heap.pop() + insertionPoint = 0 + while 1: + smallChild = 2 * insertionPoint + 1 + if ( + smallChild + 1 < len(heap) + and heap[smallChild] > heap[smallChild + 1] + ): + smallChild += 1 + if smallChild >= len(heap) or lastItem <= heap[smallChild]: + heap[insertionPoint] = lastItem + break + heap[insertionPoint] = heap[smallChild] + insertionPoint = smallChild + return heap[0][1] + + def __iter__(self): + """ + Create destructive sorted iterator of priorityDictionary. + """ + + def iterfn(): + while len(self) > 0: + x = self.smallest() + yield x + del self[x] + + return iterfn() + + def __setitem__(self, key, val): + """ + Change value stored in dictionary and add corresponding pair to heap. + Rebuilds the heap if the number of deleted items gets large, to avoid + memory leakage. + """ + dict.__setitem__(self, key, val) + heap = self.__heap + if len(heap) > 2 * len(self): + self.__heap = [(v, k) for k, v in self.items()] + self.__heap.sort() + else: + newPair = (val, key) + insertionPoint = len(heap) + heap.append(None) + while insertionPoint > 0 and newPair < heap[(insertionPoint - 1) // 2]: + heap[insertionPoint] = heap[(insertionPoint - 1) // 2] + insertionPoint = (insertionPoint - 1) // 2 + heap[insertionPoint] = newPair + + def setdefault(self, key, val): + """ + Reimplement setdefault to pass through our customized __setitem__. + """ + if key not in self: + self[key] = val + return self[key] diff --git a/.venv/Lib/site-packages/altgraph/GraphStat.py b/.venv/Lib/site-packages/altgraph/GraphStat.py new file mode 100644 index 0000000..cccc66d --- /dev/null +++ b/.venv/Lib/site-packages/altgraph/GraphStat.py @@ -0,0 +1,73 @@ +""" +altgraph.GraphStat - Functions providing various graph statistics +================================================================= +""" + + +def degree_dist(graph, limits=(0, 0), bin_num=10, mode="out"): + """ + Computes the degree distribution for a graph. + + Returns a list of tuples where the first element of the tuple is the + center of the bin representing a range of degrees and the second element + of the tuple are the number of nodes with the degree falling in the range. + + Example:: + + .... + """ + + deg = [] + if mode == "inc": + get_deg = graph.inc_degree + else: + get_deg = graph.out_degree + + for node in graph: + deg.append(get_deg(node)) + + if not deg: + return [] + + results = _binning(values=deg, limits=limits, bin_num=bin_num) + + return results + + +_EPS = 1.0 / (2.0**32) + + +def _binning(values, limits=(0, 0), bin_num=10): + """ + Bins data that falls between certain limits, if the limits are (0, 0) the + minimum and maximum values are used. + + Returns a list of tuples where the first element of the tuple is the + center of the bin and the second element of the tuple are the counts. + """ + if limits == (0, 0): + min_val, max_val = min(values) - _EPS, max(values) + _EPS + else: + min_val, max_val = limits + + # get bin size + bin_size = (max_val - min_val) / float(bin_num) + bins = [0] * (bin_num) + + # will ignore these outliers for now + for value in values: + try: + if (value - min_val) >= 0: + index = int((value - min_val) / float(bin_size)) + bins[index] += 1 + except IndexError: + pass + + # make it ready for an x,y plot + result = [] + center = (bin_size / 2) + min_val + for i, y in enumerate(bins): + x = center + bin_size * i + result.append((x, y)) + + return result diff --git a/.venv/Lib/site-packages/altgraph/GraphUtil.py b/.venv/Lib/site-packages/altgraph/GraphUtil.py new file mode 100644 index 0000000..cfd6a34 --- /dev/null +++ b/.venv/Lib/site-packages/altgraph/GraphUtil.py @@ -0,0 +1,139 @@ +""" +altgraph.GraphUtil - Utility classes and functions +================================================== +""" + +import random +from collections import deque + +from altgraph import Graph, GraphError + + +def generate_random_graph(node_num, edge_num, self_loops=False, multi_edges=False): + """ + Generates and returns a :py:class:`~altgraph.Graph.Graph` instance with + *node_num* nodes randomly connected by *edge_num* edges. + """ + g = Graph.Graph() + + if not multi_edges: + if self_loops: + max_edges = node_num * node_num + else: + max_edges = node_num * (node_num - 1) + + if edge_num > max_edges: + raise GraphError("inconsistent arguments to 'generate_random_graph'") + + nodes = range(node_num) + + for node in nodes: + g.add_node(node) + + while 1: + head = random.choice(nodes) + tail = random.choice(nodes) + + # loop defense + if head == tail and not self_loops: + continue + + # multiple edge defense + if g.edge_by_node(head, tail) is not None and not multi_edges: + continue + + # add the edge + g.add_edge(head, tail) + if g.number_of_edges() >= edge_num: + break + + return g + + +def generate_scale_free_graph(steps, growth_num, self_loops=False, multi_edges=False): + """ + Generates and returns a :py:class:`~altgraph.Graph.Graph` instance that + will have *steps* \\* *growth_num* nodes and a scale free (powerlaw) + connectivity. Starting with a fully connected graph with *growth_num* + nodes at every step *growth_num* nodes are added to the graph and are + connected to existing nodes with a probability proportional to the degree + of these existing nodes. + """ + # The code doesn't seem to do what the documentation claims. + graph = Graph.Graph() + + # initialize the graph + store = [] + for i in range(growth_num): + for j in range(i + 1, growth_num): + store.append(i) + store.append(j) + graph.add_edge(i, j) + + # generate + for node in range(growth_num, steps * growth_num): + graph.add_node(node) + while graph.out_degree(node) < growth_num: + nbr = random.choice(store) + + # loop defense + if node == nbr and not self_loops: + continue + + # multi edge defense + if graph.edge_by_node(node, nbr) and not multi_edges: + continue + + graph.add_edge(node, nbr) + + for nbr in graph.out_nbrs(node): + store.append(node) + store.append(nbr) + + return graph + + +def filter_stack(graph, head, filters): + """ + Perform a walk in a depth-first order starting + at *head*. + + Returns (visited, removes, orphans). + + * visited: the set of visited nodes + * removes: the list of nodes where the node + data does not all *filters* + * orphans: tuples of (last_good, node), + where node is not in removes, is directly + reachable from a node in *removes* and + *last_good* is the closest upstream node that is not + in *removes*. + """ + + visited, removes, orphans = {head}, set(), set() + stack = deque([(head, head)]) + get_data = graph.node_data + get_edges = graph.out_edges + get_tail = graph.tail + + while stack: + last_good, node = stack.pop() + data = get_data(node) + if data is not None: + for filtfunc in filters: + if not filtfunc(data): + removes.add(node) + break + else: + last_good = node + for edge in get_edges(node): + tail = get_tail(edge) + if last_good is not node: + orphans.add((last_good, tail)) + if tail not in visited: + visited.add(tail) + stack.append((last_good, tail)) + + orphans = [(lg, tl) for (lg, tl) in orphans if tl not in removes] + + return visited, removes, orphans diff --git a/.venv/Lib/site-packages/altgraph/ObjectGraph.py b/.venv/Lib/site-packages/altgraph/ObjectGraph.py new file mode 100644 index 0000000..379b05b --- /dev/null +++ b/.venv/Lib/site-packages/altgraph/ObjectGraph.py @@ -0,0 +1,212 @@ +""" +altgraph.ObjectGraph - Graph of objects with an identifier +========================================================== + +A graph of objects that have a "graphident" attribute. +graphident is the key for the object in the graph +""" + +from altgraph import GraphError +from altgraph.Graph import Graph +from altgraph.GraphUtil import filter_stack + + +class ObjectGraph(object): + """ + A graph of objects that have a "graphident" attribute. + graphident is the key for the object in the graph + """ + + def __init__(self, graph=None, debug=0): + if graph is None: + graph = Graph() + self.graphident = self + self.graph = graph + self.debug = debug + self.indent = 0 + graph.add_node(self, None) + + def __repr__(self): + return "<%s>" % (type(self).__name__,) + + def flatten(self, condition=None, start=None): + """ + Iterate over the subgraph that is entirely reachable by condition + starting from the given start node or the ObjectGraph root + """ + if start is None: + start = self + start = self.getRawIdent(start) + return self.graph.iterdata(start=start, condition=condition) + + def nodes(self): + for ident in self.graph: + node = self.graph.node_data(ident) + if node is not None: + yield self.graph.node_data(ident) + + def get_edges(self, node): + if node is None: + node = self + start = self.getRawIdent(node) + _, _, outraw, incraw = self.graph.describe_node(start) + + def iter_edges(lst, n): + seen = set() + for tpl in (self.graph.describe_edge(e) for e in lst): + ident = tpl[n] + if ident not in seen: + yield self.findNode(ident) + seen.add(ident) + + return iter_edges(outraw, 3), iter_edges(incraw, 2) + + def edgeData(self, fromNode, toNode): + if fromNode is None: + fromNode = self + start = self.getRawIdent(fromNode) + stop = self.getRawIdent(toNode) + edge = self.graph.edge_by_node(start, stop) + return self.graph.edge_data(edge) + + def updateEdgeData(self, fromNode, toNode, edgeData): + if fromNode is None: + fromNode = self + start = self.getRawIdent(fromNode) + stop = self.getRawIdent(toNode) + edge = self.graph.edge_by_node(start, stop) + self.graph.update_edge_data(edge, edgeData) + + def filterStack(self, filters): + """ + Filter the ObjectGraph in-place by removing all edges to nodes that + do not match every filter in the given filter list + + Returns a tuple containing the number of: + (nodes_visited, nodes_removed, nodes_orphaned) + """ + visited, removes, orphans = filter_stack(self.graph, self, filters) + + for last_good, tail in orphans: + self.graph.add_edge(last_good, tail, edge_data="orphan") + + for node in removes: + self.graph.hide_node(node) + + return len(visited) - 1, len(removes), len(orphans) + + def removeNode(self, node): + """ + Remove the given node from the graph if it exists + """ + ident = self.getIdent(node) + if ident is not None: + self.graph.hide_node(ident) + + def removeReference(self, fromnode, tonode): + """ + Remove all edges from fromnode to tonode + """ + if fromnode is None: + fromnode = self + fromident = self.getIdent(fromnode) + toident = self.getIdent(tonode) + if fromident is not None and toident is not None: + while True: + edge = self.graph.edge_by_node(fromident, toident) + if edge is None: + break + self.graph.hide_edge(edge) + + def getIdent(self, node): + """ + Get the graph identifier for a node + """ + ident = self.getRawIdent(node) + if ident is not None: + return ident + node = self.findNode(node) + if node is None: + return None + return node.graphident + + def getRawIdent(self, node): + """ + Get the identifier for a node object + """ + if node is self: + return node + ident = getattr(node, "graphident", None) + return ident + + def __contains__(self, node): + return self.findNode(node) is not None + + def findNode(self, node): + """ + Find the node on the graph + """ + ident = self.getRawIdent(node) + if ident is None: + ident = node + try: + return self.graph.node_data(ident) + except KeyError: + return None + + def addNode(self, node): + """ + Add a node to the graph referenced by the root + """ + self.msg(4, "addNode", node) + + try: + self.graph.restore_node(node.graphident) + except GraphError: + self.graph.add_node(node.graphident, node) + + def createReference(self, fromnode, tonode, edge_data=None): + """ + Create a reference from fromnode to tonode + """ + if fromnode is None: + fromnode = self + fromident, toident = self.getIdent(fromnode), self.getIdent(tonode) + if fromident is None or toident is None: + return + self.msg(4, "createReference", fromnode, tonode, edge_data) + self.graph.add_edge(fromident, toident, edge_data=edge_data) + + def createNode(self, cls, name, *args, **kw): + """ + Add a node of type cls to the graph if it does not already exist + by the given name + """ + m = self.findNode(name) + if m is None: + m = cls(name, *args, **kw) + self.addNode(m) + return m + + def msg(self, level, s, *args): + """ + Print a debug message with the given level + """ + if s and level <= self.debug: + print("%s%s %s" % (" " * self.indent, s, " ".join(map(repr, args)))) + + def msgin(self, level, s, *args): + """ + Print a debug message and indent + """ + if level <= self.debug: + self.msg(level, s, *args) + self.indent = self.indent + 1 + + def msgout(self, level, s, *args): + """ + Dedent and print a debug message + """ + if level <= self.debug: + self.indent = self.indent - 1 + self.msg(level, s, *args) diff --git a/.venv/Lib/site-packages/altgraph/__init__.py b/.venv/Lib/site-packages/altgraph/__init__.py new file mode 100644 index 0000000..a563424 --- /dev/null +++ b/.venv/Lib/site-packages/altgraph/__init__.py @@ -0,0 +1,148 @@ +""" +altgraph - a python graph library +================================= + +altgraph is a fork of `graphlib `_ tailored +to use newer Python 2.3+ features, including additional support used by the +py2app suite (modulegraph and macholib, specifically). + +altgraph is a python based graph (network) representation and manipulation +package. It has started out as an extension to the +`graph_lib module +`_ +written by Nathan Denny it has been significantly optimized and expanded. + +The :class:`altgraph.Graph.Graph` class is loosely modeled after the +`LEDA `_ +(Library of Efficient Datatypes) representation. The library +includes methods for constructing graphs, BFS and DFS traversals, +topological sort, finding connected components, shortest paths as well as a +number graph statistics functions. The library can also visualize graphs +via `graphviz `_. + +The package contains the following modules: + + - the :py:mod:`altgraph.Graph` module contains the + :class:`~altgraph.Graph.Graph` class that stores the graph data + + - the :py:mod:`altgraph.GraphAlgo` module implements graph algorithms + operating on graphs (:py:class:`~altgraph.Graph.Graph`} instances) + + - the :py:mod:`altgraph.GraphStat` module contains functions for + computing statistical measures on graphs + + - the :py:mod:`altgraph.GraphUtil` module contains functions for + generating, reading and saving graphs + + - the :py:mod:`altgraph.Dot` module contains functions for displaying + graphs via `graphviz `_ + + - the :py:mod:`altgraph.ObjectGraph` module implements a graph of + objects with a unique identifier + +Installation +------------ + +Download and unpack the archive then type:: + + python setup.py install + +This will install the library in the default location. For instructions on +how to customize the install procedure read the output of:: + + python setup.py --help install + +To verify that the code works run the test suite:: + + python setup.py test + +Example usage +------------- + +Lets assume that we want to analyze the graph below (links to the full picture) +GRAPH_IMG. Our script then might look the following way:: + + from altgraph import Graph, GraphAlgo, Dot + + # these are the edges + edges = [ (1,2), (2,4), (1,3), (2,4), (3,4), (4,5), (6,5), + (6,14), (14,15), (6, 15), (5,7), (7, 8), (7,13), (12,8), + (8,13), (11,12), (11,9), (13,11), (9,13), (13,10) ] + + # creates the graph + graph = Graph.Graph() + for head, tail in edges: + graph.add_edge(head, tail) + + # do a forward bfs from 1 at most to 20 + print(graph.forw_bfs(1)) + +This will print the nodes in some breadth first order:: + + [1, 2, 3, 4, 5, 7, 8, 13, 11, 10, 12, 9] + +If we wanted to get the hop-distance from node 1 to node 8 +we coud write:: + + print(graph.get_hops(1, 8)) + +This will print the following:: + + [(1, 0), (2, 1), (3, 1), (4, 2), (5, 3), (7, 4), (8, 5)] + +Node 1 is at 0 hops since it is the starting node, nodes 2,3 are 1 hop away ... +node 8 is 5 hops away. To find the shortest distance between two nodes you +can use:: + + print(GraphAlgo.shortest_path(graph, 1, 12)) + +It will print the nodes on one (if there are more) the shortest paths:: + + [1, 2, 4, 5, 7, 13, 11, 12] + +To display the graph we can use the GraphViz backend:: + + dot = Dot.Dot(graph) + + # display the graph on the monitor + dot.display() + + # save it in an image file + dot.save_img(file_name='graph', file_type='gif') + + + +.. + @author: U{Istvan Albert} + + @license: MIT License + + Copyright (c) 2004 Istvan Albert unless otherwise noted. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + @requires: Python 2.3 or higher + + @newfield contributor: Contributors: + @contributor: U{Reka Albert } + +""" +import pkg_resources + +__version__ = pkg_resources.require("altgraph")[0].version + + +class GraphError(ValueError): + pass diff --git a/.venv/Lib/site-packages/altgraph/__pycache__/Dot.cpython-311.pyc b/.venv/Lib/site-packages/altgraph/__pycache__/Dot.cpython-311.pyc new file mode 100644 index 0000000..70d1186 Binary files /dev/null and b/.venv/Lib/site-packages/altgraph/__pycache__/Dot.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/altgraph/__pycache__/Graph.cpython-311.pyc b/.venv/Lib/site-packages/altgraph/__pycache__/Graph.cpython-311.pyc new file mode 100644 index 0000000..3833af1 Binary files /dev/null and b/.venv/Lib/site-packages/altgraph/__pycache__/Graph.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/altgraph/__pycache__/GraphAlgo.cpython-311.pyc b/.venv/Lib/site-packages/altgraph/__pycache__/GraphAlgo.cpython-311.pyc new file mode 100644 index 0000000..f6cc2cc Binary files /dev/null and b/.venv/Lib/site-packages/altgraph/__pycache__/GraphAlgo.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/altgraph/__pycache__/GraphStat.cpython-311.pyc b/.venv/Lib/site-packages/altgraph/__pycache__/GraphStat.cpython-311.pyc new file mode 100644 index 0000000..8c2cd48 Binary files /dev/null and b/.venv/Lib/site-packages/altgraph/__pycache__/GraphStat.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/altgraph/__pycache__/GraphUtil.cpython-311.pyc b/.venv/Lib/site-packages/altgraph/__pycache__/GraphUtil.cpython-311.pyc new file mode 100644 index 0000000..95de6ec Binary files /dev/null and b/.venv/Lib/site-packages/altgraph/__pycache__/GraphUtil.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/altgraph/__pycache__/ObjectGraph.cpython-311.pyc b/.venv/Lib/site-packages/altgraph/__pycache__/ObjectGraph.cpython-311.pyc new file mode 100644 index 0000000..ff75477 Binary files /dev/null and b/.venv/Lib/site-packages/altgraph/__pycache__/ObjectGraph.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/altgraph/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/altgraph/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..8591502 Binary files /dev/null and b/.venv/Lib/site-packages/altgraph/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/ordlookup/__init__.py b/.venv/Lib/site-packages/ordlookup/__init__.py new file mode 100644 index 0000000..8841d74 --- /dev/null +++ b/.venv/Lib/site-packages/ordlookup/__init__.py @@ -0,0 +1,34 @@ +from . import ws2_32 +from . import oleaut32 + +""" +A small module for keeping a database of ordinal to symbol +mappings for DLLs which frequently get linked without symbolic +infoz. +""" + +ords = { + b"ws2_32.dll": ws2_32.ord_names, + b"wsock32.dll": ws2_32.ord_names, + b"oleaut32.dll": oleaut32.ord_names, +} + + +def formatOrdString(ord_val): + return "ord{}".format(ord_val).encode() + + +def ordLookup(libname, ord_val, make_name=False): + """ + Lookup a name for the given ordinal if it's in our + database. + """ + names = ords.get(libname.lower()) + if names is None: + if make_name is True: + return formatOrdString(ord_val) + return None + name = names.get(ord_val) + if name is None: + return formatOrdString(ord_val) + return name diff --git a/.venv/Lib/site-packages/ordlookup/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/ordlookup/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..dcd17e9 Binary files /dev/null and b/.venv/Lib/site-packages/ordlookup/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/ordlookup/__pycache__/oleaut32.cpython-311.pyc b/.venv/Lib/site-packages/ordlookup/__pycache__/oleaut32.cpython-311.pyc new file mode 100644 index 0000000..a713ee1 Binary files /dev/null and b/.venv/Lib/site-packages/ordlookup/__pycache__/oleaut32.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/ordlookup/__pycache__/ws2_32.cpython-311.pyc b/.venv/Lib/site-packages/ordlookup/__pycache__/ws2_32.cpython-311.pyc new file mode 100644 index 0000000..8e5c2e1 Binary files /dev/null and b/.venv/Lib/site-packages/ordlookup/__pycache__/ws2_32.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/ordlookup/oleaut32.py b/.venv/Lib/site-packages/ordlookup/oleaut32.py new file mode 100644 index 0000000..9b49b1d --- /dev/null +++ b/.venv/Lib/site-packages/ordlookup/oleaut32.py @@ -0,0 +1,400 @@ +ord_names = { + 2: b"SysAllocString", + 3: b"SysReAllocString", + 4: b"SysAllocStringLen", + 5: b"SysReAllocStringLen", + 6: b"SysFreeString", + 7: b"SysStringLen", + 8: b"VariantInit", + 9: b"VariantClear", + 10: b"VariantCopy", + 11: b"VariantCopyInd", + 12: b"VariantChangeType", + 13: b"VariantTimeToDosDateTime", + 14: b"DosDateTimeToVariantTime", + 15: b"SafeArrayCreate", + 16: b"SafeArrayDestroy", + 17: b"SafeArrayGetDim", + 18: b"SafeArrayGetElemsize", + 19: b"SafeArrayGetUBound", + 20: b"SafeArrayGetLBound", + 21: b"SafeArrayLock", + 22: b"SafeArrayUnlock", + 23: b"SafeArrayAccessData", + 24: b"SafeArrayUnaccessData", + 25: b"SafeArrayGetElement", + 26: b"SafeArrayPutElement", + 27: b"SafeArrayCopy", + 28: b"DispGetParam", + 29: b"DispGetIDsOfNames", + 30: b"DispInvoke", + 31: b"CreateDispTypeInfo", + 32: b"CreateStdDispatch", + 33: b"RegisterActiveObject", + 34: b"RevokeActiveObject", + 35: b"GetActiveObject", + 36: b"SafeArrayAllocDescriptor", + 37: b"SafeArrayAllocData", + 38: b"SafeArrayDestroyDescriptor", + 39: b"SafeArrayDestroyData", + 40: b"SafeArrayRedim", + 41: b"SafeArrayAllocDescriptorEx", + 42: b"SafeArrayCreateEx", + 43: b"SafeArrayCreateVectorEx", + 44: b"SafeArraySetRecordInfo", + 45: b"SafeArrayGetRecordInfo", + 46: b"VarParseNumFromStr", + 47: b"VarNumFromParseNum", + 48: b"VarI2FromUI1", + 49: b"VarI2FromI4", + 50: b"VarI2FromR4", + 51: b"VarI2FromR8", + 52: b"VarI2FromCy", + 53: b"VarI2FromDate", + 54: b"VarI2FromStr", + 55: b"VarI2FromDisp", + 56: b"VarI2FromBool", + 57: b"SafeArraySetIID", + 58: b"VarI4FromUI1", + 59: b"VarI4FromI2", + 60: b"VarI4FromR4", + 61: b"VarI4FromR8", + 62: b"VarI4FromCy", + 63: b"VarI4FromDate", + 64: b"VarI4FromStr", + 65: b"VarI4FromDisp", + 66: b"VarI4FromBool", + 67: b"SafeArrayGetIID", + 68: b"VarR4FromUI1", + 69: b"VarR4FromI2", + 70: b"VarR4FromI4", + 71: b"VarR4FromR8", + 72: b"VarR4FromCy", + 73: b"VarR4FromDate", + 74: b"VarR4FromStr", + 75: b"VarR4FromDisp", + 76: b"VarR4FromBool", + 77: b"SafeArrayGetVartype", + 78: b"VarR8FromUI1", + 79: b"VarR8FromI2", + 80: b"VarR8FromI4", + 81: b"VarR8FromR4", + 82: b"VarR8FromCy", + 83: b"VarR8FromDate", + 84: b"VarR8FromStr", + 85: b"VarR8FromDisp", + 86: b"VarR8FromBool", + 87: b"VarFormat", + 88: b"VarDateFromUI1", + 89: b"VarDateFromI2", + 90: b"VarDateFromI4", + 91: b"VarDateFromR4", + 92: b"VarDateFromR8", + 93: b"VarDateFromCy", + 94: b"VarDateFromStr", + 95: b"VarDateFromDisp", + 96: b"VarDateFromBool", + 97: b"VarFormatDateTime", + 98: b"VarCyFromUI1", + 99: b"VarCyFromI2", + 100: b"VarCyFromI4", + 101: b"VarCyFromR4", + 102: b"VarCyFromR8", + 103: b"VarCyFromDate", + 104: b"VarCyFromStr", + 105: b"VarCyFromDisp", + 106: b"VarCyFromBool", + 107: b"VarFormatNumber", + 108: b"VarBstrFromUI1", + 109: b"VarBstrFromI2", + 110: b"VarBstrFromI4", + 111: b"VarBstrFromR4", + 112: b"VarBstrFromR8", + 113: b"VarBstrFromCy", + 114: b"VarBstrFromDate", + 115: b"VarBstrFromDisp", + 116: b"VarBstrFromBool", + 117: b"VarFormatPercent", + 118: b"VarBoolFromUI1", + 119: b"VarBoolFromI2", + 120: b"VarBoolFromI4", + 121: b"VarBoolFromR4", + 122: b"VarBoolFromR8", + 123: b"VarBoolFromDate", + 124: b"VarBoolFromCy", + 125: b"VarBoolFromStr", + 126: b"VarBoolFromDisp", + 127: b"VarFormatCurrency", + 128: b"VarWeekdayName", + 129: b"VarMonthName", + 130: b"VarUI1FromI2", + 131: b"VarUI1FromI4", + 132: b"VarUI1FromR4", + 133: b"VarUI1FromR8", + 134: b"VarUI1FromCy", + 135: b"VarUI1FromDate", + 136: b"VarUI1FromStr", + 137: b"VarUI1FromDisp", + 138: b"VarUI1FromBool", + 139: b"VarFormatFromTokens", + 140: b"VarTokenizeFormatString", + 141: b"VarAdd", + 142: b"VarAnd", + 143: b"VarDiv", + 144: b"DllCanUnloadNow", + 145: b"DllGetClassObject", + 146: b"DispCallFunc", + 147: b"VariantChangeTypeEx", + 148: b"SafeArrayPtrOfIndex", + 149: b"SysStringByteLen", + 150: b"SysAllocStringByteLen", + 151: b"DllRegisterServer", + 152: b"VarEqv", + 153: b"VarIdiv", + 154: b"VarImp", + 155: b"VarMod", + 156: b"VarMul", + 157: b"VarOr", + 158: b"VarPow", + 159: b"VarSub", + 160: b"CreateTypeLib", + 161: b"LoadTypeLib", + 162: b"LoadRegTypeLib", + 163: b"RegisterTypeLib", + 164: b"QueryPathOfRegTypeLib", + 165: b"LHashValOfNameSys", + 166: b"LHashValOfNameSysA", + 167: b"VarXor", + 168: b"VarAbs", + 169: b"VarFix", + 170: b"OaBuildVersion", + 171: b"ClearCustData", + 172: b"VarInt", + 173: b"VarNeg", + 174: b"VarNot", + 175: b"VarRound", + 176: b"VarCmp", + 177: b"VarDecAdd", + 178: b"VarDecDiv", + 179: b"VarDecMul", + 180: b"CreateTypeLib2", + 181: b"VarDecSub", + 182: b"VarDecAbs", + 183: b"LoadTypeLibEx", + 184: b"SystemTimeToVariantTime", + 185: b"VariantTimeToSystemTime", + 186: b"UnRegisterTypeLib", + 187: b"VarDecFix", + 188: b"VarDecInt", + 189: b"VarDecNeg", + 190: b"VarDecFromUI1", + 191: b"VarDecFromI2", + 192: b"VarDecFromI4", + 193: b"VarDecFromR4", + 194: b"VarDecFromR8", + 195: b"VarDecFromDate", + 196: b"VarDecFromCy", + 197: b"VarDecFromStr", + 198: b"VarDecFromDisp", + 199: b"VarDecFromBool", + 200: b"GetErrorInfo", + 201: b"SetErrorInfo", + 202: b"CreateErrorInfo", + 203: b"VarDecRound", + 204: b"VarDecCmp", + 205: b"VarI2FromI1", + 206: b"VarI2FromUI2", + 207: b"VarI2FromUI4", + 208: b"VarI2FromDec", + 209: b"VarI4FromI1", + 210: b"VarI4FromUI2", + 211: b"VarI4FromUI4", + 212: b"VarI4FromDec", + 213: b"VarR4FromI1", + 214: b"VarR4FromUI2", + 215: b"VarR4FromUI4", + 216: b"VarR4FromDec", + 217: b"VarR8FromI1", + 218: b"VarR8FromUI2", + 219: b"VarR8FromUI4", + 220: b"VarR8FromDec", + 221: b"VarDateFromI1", + 222: b"VarDateFromUI2", + 223: b"VarDateFromUI4", + 224: b"VarDateFromDec", + 225: b"VarCyFromI1", + 226: b"VarCyFromUI2", + 227: b"VarCyFromUI4", + 228: b"VarCyFromDec", + 229: b"VarBstrFromI1", + 230: b"VarBstrFromUI2", + 231: b"VarBstrFromUI4", + 232: b"VarBstrFromDec", + 233: b"VarBoolFromI1", + 234: b"VarBoolFromUI2", + 235: b"VarBoolFromUI4", + 236: b"VarBoolFromDec", + 237: b"VarUI1FromI1", + 238: b"VarUI1FromUI2", + 239: b"VarUI1FromUI4", + 240: b"VarUI1FromDec", + 241: b"VarDecFromI1", + 242: b"VarDecFromUI2", + 243: b"VarDecFromUI4", + 244: b"VarI1FromUI1", + 245: b"VarI1FromI2", + 246: b"VarI1FromI4", + 247: b"VarI1FromR4", + 248: b"VarI1FromR8", + 249: b"VarI1FromDate", + 250: b"VarI1FromCy", + 251: b"VarI1FromStr", + 252: b"VarI1FromDisp", + 253: b"VarI1FromBool", + 254: b"VarI1FromUI2", + 255: b"VarI1FromUI4", + 256: b"VarI1FromDec", + 257: b"VarUI2FromUI1", + 258: b"VarUI2FromI2", + 259: b"VarUI2FromI4", + 260: b"VarUI2FromR4", + 261: b"VarUI2FromR8", + 262: b"VarUI2FromDate", + 263: b"VarUI2FromCy", + 264: b"VarUI2FromStr", + 265: b"VarUI2FromDisp", + 266: b"VarUI2FromBool", + 267: b"VarUI2FromI1", + 268: b"VarUI2FromUI4", + 269: b"VarUI2FromDec", + 270: b"VarUI4FromUI1", + 271: b"VarUI4FromI2", + 272: b"VarUI4FromI4", + 273: b"VarUI4FromR4", + 274: b"VarUI4FromR8", + 275: b"VarUI4FromDate", + 276: b"VarUI4FromCy", + 277: b"VarUI4FromStr", + 278: b"VarUI4FromDisp", + 279: b"VarUI4FromBool", + 280: b"VarUI4FromI1", + 281: b"VarUI4FromUI2", + 282: b"VarUI4FromDec", + 283: b"BSTR_UserSize", + 284: b"BSTR_UserMarshal", + 285: b"BSTR_UserUnmarshal", + 286: b"BSTR_UserFree", + 287: b"VARIANT_UserSize", + 288: b"VARIANT_UserMarshal", + 289: b"VARIANT_UserUnmarshal", + 290: b"VARIANT_UserFree", + 291: b"LPSAFEARRAY_UserSize", + 292: b"LPSAFEARRAY_UserMarshal", + 293: b"LPSAFEARRAY_UserUnmarshal", + 294: b"LPSAFEARRAY_UserFree", + 295: b"LPSAFEARRAY_Size", + 296: b"LPSAFEARRAY_Marshal", + 297: b"LPSAFEARRAY_Unmarshal", + 298: b"VarDecCmpR8", + 299: b"VarCyAdd", + 300: b"DllUnregisterServer", + 301: b"OACreateTypeLib2", + 303: b"VarCyMul", + 304: b"VarCyMulI4", + 305: b"VarCySub", + 306: b"VarCyAbs", + 307: b"VarCyFix", + 308: b"VarCyInt", + 309: b"VarCyNeg", + 310: b"VarCyRound", + 311: b"VarCyCmp", + 312: b"VarCyCmpR8", + 313: b"VarBstrCat", + 314: b"VarBstrCmp", + 315: b"VarR8Pow", + 316: b"VarR4CmpR8", + 317: b"VarR8Round", + 318: b"VarCat", + 319: b"VarDateFromUdateEx", + 322: b"GetRecordInfoFromGuids", + 323: b"GetRecordInfoFromTypeInfo", + 325: b"SetVarConversionLocaleSetting", + 326: b"GetVarConversionLocaleSetting", + 327: b"SetOaNoCache", + 329: b"VarCyMulI8", + 330: b"VarDateFromUdate", + 331: b"VarUdateFromDate", + 332: b"GetAltMonthNames", + 333: b"VarI8FromUI1", + 334: b"VarI8FromI2", + 335: b"VarI8FromR4", + 336: b"VarI8FromR8", + 337: b"VarI8FromCy", + 338: b"VarI8FromDate", + 339: b"VarI8FromStr", + 340: b"VarI8FromDisp", + 341: b"VarI8FromBool", + 342: b"VarI8FromI1", + 343: b"VarI8FromUI2", + 344: b"VarI8FromUI4", + 345: b"VarI8FromDec", + 346: b"VarI2FromI8", + 347: b"VarI2FromUI8", + 348: b"VarI4FromI8", + 349: b"VarI4FromUI8", + 360: b"VarR4FromI8", + 361: b"VarR4FromUI8", + 362: b"VarR8FromI8", + 363: b"VarR8FromUI8", + 364: b"VarDateFromI8", + 365: b"VarDateFromUI8", + 366: b"VarCyFromI8", + 367: b"VarCyFromUI8", + 368: b"VarBstrFromI8", + 369: b"VarBstrFromUI8", + 370: b"VarBoolFromI8", + 371: b"VarBoolFromUI8", + 372: b"VarUI1FromI8", + 373: b"VarUI1FromUI8", + 374: b"VarDecFromI8", + 375: b"VarDecFromUI8", + 376: b"VarI1FromI8", + 377: b"VarI1FromUI8", + 378: b"VarUI2FromI8", + 379: b"VarUI2FromUI8", + 401: b"OleLoadPictureEx", + 402: b"OleLoadPictureFileEx", + 411: b"SafeArrayCreateVector", + 412: b"SafeArrayCopyData", + 413: b"VectorFromBstr", + 414: b"BstrFromVector", + 415: b"OleIconToCursor", + 416: b"OleCreatePropertyFrameIndirect", + 417: b"OleCreatePropertyFrame", + 418: b"OleLoadPicture", + 419: b"OleCreatePictureIndirect", + 420: b"OleCreateFontIndirect", + 421: b"OleTranslateColor", + 422: b"OleLoadPictureFile", + 423: b"OleSavePictureFile", + 424: b"OleLoadPicturePath", + 425: b"VarUI4FromI8", + 426: b"VarUI4FromUI8", + 427: b"VarI8FromUI8", + 428: b"VarUI8FromI8", + 429: b"VarUI8FromUI1", + 430: b"VarUI8FromI2", + 431: b"VarUI8FromR4", + 432: b"VarUI8FromR8", + 433: b"VarUI8FromCy", + 434: b"VarUI8FromDate", + 435: b"VarUI8FromStr", + 436: b"VarUI8FromDisp", + 437: b"VarUI8FromBool", + 438: b"VarUI8FromI1", + 439: b"VarUI8FromUI2", + 440: b"VarUI8FromUI4", + 441: b"VarUI8FromDec", + 442: b"RegisterTypeLibForUser", + 443: b"UnRegisterTypeLibForUser", +} diff --git a/.venv/Lib/site-packages/ordlookup/ws2_32.py b/.venv/Lib/site-packages/ordlookup/ws2_32.py new file mode 100644 index 0000000..a655e0d --- /dev/null +++ b/.venv/Lib/site-packages/ordlookup/ws2_32.py @@ -0,0 +1,119 @@ +ord_names = { + 1: b"accept", + 2: b"bind", + 3: b"closesocket", + 4: b"connect", + 5: b"getpeername", + 6: b"getsockname", + 7: b"getsockopt", + 8: b"htonl", + 9: b"htons", + 10: b"ioctlsocket", + 11: b"inet_addr", + 12: b"inet_ntoa", + 13: b"listen", + 14: b"ntohl", + 15: b"ntohs", + 16: b"recv", + 17: b"recvfrom", + 18: b"select", + 19: b"send", + 20: b"sendto", + 21: b"setsockopt", + 22: b"shutdown", + 23: b"socket", + 24: b"GetAddrInfoW", + 25: b"GetNameInfoW", + 26: b"WSApSetPostRoutine", + 27: b"FreeAddrInfoW", + 28: b"WPUCompleteOverlappedRequest", + 29: b"WSAAccept", + 30: b"WSAAddressToStringA", + 31: b"WSAAddressToStringW", + 32: b"WSACloseEvent", + 33: b"WSAConnect", + 34: b"WSACreateEvent", + 35: b"WSADuplicateSocketA", + 36: b"WSADuplicateSocketW", + 37: b"WSAEnumNameSpaceProvidersA", + 38: b"WSAEnumNameSpaceProvidersW", + 39: b"WSAEnumNetworkEvents", + 40: b"WSAEnumProtocolsA", + 41: b"WSAEnumProtocolsW", + 42: b"WSAEventSelect", + 43: b"WSAGetOverlappedResult", + 44: b"WSAGetQOSByName", + 45: b"WSAGetServiceClassInfoA", + 46: b"WSAGetServiceClassInfoW", + 47: b"WSAGetServiceClassNameByClassIdA", + 48: b"WSAGetServiceClassNameByClassIdW", + 49: b"WSAHtonl", + 50: b"WSAHtons", + 51: b"gethostbyaddr", + 52: b"gethostbyname", + 53: b"getprotobyname", + 54: b"getprotobynumber", + 55: b"getservbyname", + 56: b"getservbyport", + 57: b"gethostname", + 58: b"WSAInstallServiceClassA", + 59: b"WSAInstallServiceClassW", + 60: b"WSAIoctl", + 61: b"WSAJoinLeaf", + 62: b"WSALookupServiceBeginA", + 63: b"WSALookupServiceBeginW", + 64: b"WSALookupServiceEnd", + 65: b"WSALookupServiceNextA", + 66: b"WSALookupServiceNextW", + 67: b"WSANSPIoctl", + 68: b"WSANtohl", + 69: b"WSANtohs", + 70: b"WSAProviderConfigChange", + 71: b"WSARecv", + 72: b"WSARecvDisconnect", + 73: b"WSARecvFrom", + 74: b"WSARemoveServiceClass", + 75: b"WSAResetEvent", + 76: b"WSASend", + 77: b"WSASendDisconnect", + 78: b"WSASendTo", + 79: b"WSASetEvent", + 80: b"WSASetServiceA", + 81: b"WSASetServiceW", + 82: b"WSASocketA", + 83: b"WSASocketW", + 84: b"WSAStringToAddressA", + 85: b"WSAStringToAddressW", + 86: b"WSAWaitForMultipleEvents", + 87: b"WSCDeinstallProvider", + 88: b"WSCEnableNSProvider", + 89: b"WSCEnumProtocols", + 90: b"WSCGetProviderPath", + 91: b"WSCInstallNameSpace", + 92: b"WSCInstallProvider", + 93: b"WSCUnInstallNameSpace", + 94: b"WSCUpdateProvider", + 95: b"WSCWriteNameSpaceOrder", + 96: b"WSCWriteProviderOrder", + 97: b"freeaddrinfo", + 98: b"getaddrinfo", + 99: b"getnameinfo", + 101: b"WSAAsyncSelect", + 102: b"WSAAsyncGetHostByAddr", + 103: b"WSAAsyncGetHostByName", + 104: b"WSAAsyncGetProtoByNumber", + 105: b"WSAAsyncGetProtoByName", + 106: b"WSAAsyncGetServByPort", + 107: b"WSAAsyncGetServByName", + 108: b"WSACancelAsyncRequest", + 109: b"WSASetBlockingHook", + 110: b"WSAUnhookBlockingHook", + 111: b"WSAGetLastError", + 112: b"WSASetLastError", + 113: b"WSACancelBlockingCall", + 114: b"WSAIsBlocking", + 115: b"WSAStartup", + 116: b"WSACleanup", + 151: b"__WSAFDIsSet", + 500: b"WEP", +} diff --git a/.venv/Lib/site-packages/pip-24.0.dist-info/top_level.txt b/.venv/Lib/site-packages/packaging-25.0.dist-info/INSTALLER similarity index 100% rename from .venv/Lib/site-packages/pip-24.0.dist-info/top_level.txt rename to .venv/Lib/site-packages/packaging-25.0.dist-info/INSTALLER diff --git a/.venv/Lib/site-packages/packaging-25.0.dist-info/METADATA b/.venv/Lib/site-packages/packaging-25.0.dist-info/METADATA new file mode 100644 index 0000000..10b290a --- /dev/null +++ b/.venv/Lib/site-packages/packaging-25.0.dist-info/METADATA @@ -0,0 +1,105 @@ +Metadata-Version: 2.4 +Name: packaging +Version: 25.0 +Summary: Core utilities for Python packages +Author-email: Donald Stufft +Requires-Python: >=3.8 +Description-Content-Type: text/x-rst +Classifier: Development Status :: 5 - Production/Stable +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved :: Apache Software License +Classifier: License :: OSI Approved :: BSD License +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3 :: Only +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 +Classifier: Programming Language :: Python :: 3.13 +Classifier: Programming Language :: Python :: Implementation :: CPython +Classifier: Programming Language :: Python :: Implementation :: PyPy +Classifier: Typing :: Typed +License-File: LICENSE +License-File: LICENSE.APACHE +License-File: LICENSE.BSD +Project-URL: Documentation, https://packaging.pypa.io/ +Project-URL: Source, https://github.com/pypa/packaging + +packaging +========= + +.. start-intro + +Reusable core utilities for various Python Packaging +`interoperability specifications `_. + +This library provides utilities that implement the interoperability +specifications which have clearly one correct behaviour (eg: :pep:`440`) +or benefit greatly from having a single shared implementation (eg: :pep:`425`). + +.. end-intro + +The ``packaging`` project includes the following: version handling, specifiers, +markers, requirements, tags, utilities. + +Documentation +------------- + +The `documentation`_ provides information and the API for the following: + +- Version Handling +- Specifiers +- Markers +- Requirements +- Tags +- Utilities + +Installation +------------ + +Use ``pip`` to install these utilities:: + + pip install packaging + +The ``packaging`` library uses calendar-based versioning (``YY.N``). + +Discussion +---------- + +If you run into bugs, you can file them in our `issue tracker`_. + +You can also join ``#pypa`` on Freenode to ask questions or get involved. + + +.. _`documentation`: https://packaging.pypa.io/ +.. _`issue tracker`: https://github.com/pypa/packaging/issues + + +Code of Conduct +--------------- + +Everyone interacting in the packaging project's codebases, issue trackers, chat +rooms, and mailing lists is expected to follow the `PSF Code of Conduct`_. + +.. _PSF Code of Conduct: https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md + +Contributing +------------ + +The ``CONTRIBUTING.rst`` file outlines how to contribute to this project as +well as how to report a potential security issue. The documentation for this +project also covers information about `project development`_ and `security`_. + +.. _`project development`: https://packaging.pypa.io/en/latest/development/ +.. _`security`: https://packaging.pypa.io/en/latest/security/ + +Project History +--------------- + +Please review the ``CHANGELOG.rst`` file or the `Changelog documentation`_ for +recent changes and project history. + +.. _`Changelog documentation`: https://packaging.pypa.io/en/latest/changelog/ + diff --git a/.venv/Lib/site-packages/packaging-25.0.dist-info/RECORD b/.venv/Lib/site-packages/packaging-25.0.dist-info/RECORD new file mode 100644 index 0000000..723120f --- /dev/null +++ b/.venv/Lib/site-packages/packaging-25.0.dist-info/RECORD @@ -0,0 +1,40 @@ +packaging-25.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 +packaging-25.0.dist-info/METADATA,sha256=W2EaYJw4_vw9YWv0XSCuyY-31T8kXayp4sMPyFx6woI,3281 +packaging-25.0.dist-info/RECORD,, +packaging-25.0.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82 +packaging-25.0.dist-info/licenses/LICENSE,sha256=ytHvW9NA1z4HS6YU0m996spceUDD2MNIUuZcSQlobEg,197 +packaging-25.0.dist-info/licenses/LICENSE.APACHE,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174 +packaging-25.0.dist-info/licenses/LICENSE.BSD,sha256=tw5-m3QvHMb5SLNMFqo5_-zpQZY2S8iP8NIYDwAo-sU,1344 +packaging/__init__.py,sha256=_0cDiPVf2S-bNfVmZguxxzmrIYWlyASxpqph4qsJWUc,494 +packaging/__pycache__/__init__.cpython-311.pyc,, +packaging/__pycache__/_elffile.cpython-311.pyc,, +packaging/__pycache__/_manylinux.cpython-311.pyc,, +packaging/__pycache__/_musllinux.cpython-311.pyc,, +packaging/__pycache__/_parser.cpython-311.pyc,, +packaging/__pycache__/_structures.cpython-311.pyc,, +packaging/__pycache__/_tokenizer.cpython-311.pyc,, +packaging/__pycache__/markers.cpython-311.pyc,, +packaging/__pycache__/metadata.cpython-311.pyc,, +packaging/__pycache__/requirements.cpython-311.pyc,, +packaging/__pycache__/specifiers.cpython-311.pyc,, +packaging/__pycache__/tags.cpython-311.pyc,, +packaging/__pycache__/utils.cpython-311.pyc,, +packaging/__pycache__/version.cpython-311.pyc,, +packaging/_elffile.py,sha256=UkrbDtW7aeq3qqoAfU16ojyHZ1xsTvGke_WqMTKAKd0,3286 +packaging/_manylinux.py,sha256=t4y_-dTOcfr36gLY-ztiOpxxJFGO2ikC11HgfysGxiM,9596 +packaging/_musllinux.py,sha256=p9ZqNYiOItGee8KcZFeHF_YcdhVwGHdK6r-8lgixvGQ,2694 +packaging/_parser.py,sha256=gYfnj0pRHflVc4RHZit13KNTyN9iiVcU2RUCGi22BwM,10221 +packaging/_structures.py,sha256=q3eVNmbWJGG_S0Dit_S3Ao8qQqz_5PYTXFAKBZe5yr4,1431 +packaging/_tokenizer.py,sha256=OYzt7qKxylOAJ-q0XyK1qAycyPRYLfMPdGQKRXkZWyI,5310 +packaging/licenses/__init__.py,sha256=VsK4o27CJXWfTi8r2ybJmsBoCdhpnBWuNrskaCVKP7U,5715 +packaging/licenses/__pycache__/__init__.cpython-311.pyc,, +packaging/licenses/__pycache__/_spdx.cpython-311.pyc,, +packaging/licenses/_spdx.py,sha256=oAm1ztPFwlsmCKe7lAAsv_OIOfS1cWDu9bNBkeu-2ns,48398 +packaging/markers.py,sha256=P0we27jm1xUzgGMJxBjtUFCIWeBxTsMeJTOJ6chZmAY,12049 +packaging/metadata.py,sha256=8IZErqQQnNm53dZZuYq4FGU4_dpyinMeH1QFBIWIkfE,34739 +packaging/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 +packaging/requirements.py,sha256=gYyRSAdbrIyKDY66ugIDUQjRMvxkH2ALioTmX3tnL6o,2947 +packaging/specifiers.py,sha256=gtPu5DTc-F9baLq3FTGEK6dPhHGCuwwZetaY0PSV2gs,40055 +packaging/tags.py,sha256=41s97W9Zatrq2Ed7Rc3qeBDaHe8pKKvYq2mGjwahfXk,22745 +packaging/utils.py,sha256=0F3Hh9OFuRgrhTgGZUl5K22Fv1YP2tZl1z_2gO6kJiA,5050 +packaging/version.py,sha256=olfyuk_DPbflNkJ4wBWetXQ17c74x3DB501degUv7DY,16676 diff --git a/.venv/Lib/site-packages/packaging-25.0.dist-info/WHEEL b/.venv/Lib/site-packages/packaging-25.0.dist-info/WHEEL new file mode 100644 index 0000000..d8b9936 --- /dev/null +++ b/.venv/Lib/site-packages/packaging-25.0.dist-info/WHEEL @@ -0,0 +1,4 @@ +Wheel-Version: 1.0 +Generator: flit 3.12.0 +Root-Is-Purelib: true +Tag: py3-none-any diff --git a/.venv/Lib/site-packages/packaging-25.0.dist-info/licenses/LICENSE b/.venv/Lib/site-packages/packaging-25.0.dist-info/licenses/LICENSE new file mode 100644 index 0000000..6f62d44 --- /dev/null +++ b/.venv/Lib/site-packages/packaging-25.0.dist-info/licenses/LICENSE @@ -0,0 +1,3 @@ +This software is made available under the terms of *either* of the licenses +found in LICENSE.APACHE or LICENSE.BSD. Contributions to this software is made +under the terms of *both* these licenses. diff --git a/.venv/Lib/site-packages/packaging-25.0.dist-info/licenses/LICENSE.APACHE b/.venv/Lib/site-packages/packaging-25.0.dist-info/licenses/LICENSE.APACHE new file mode 100644 index 0000000..f433b1a --- /dev/null +++ b/.venv/Lib/site-packages/packaging-25.0.dist-info/licenses/LICENSE.APACHE @@ -0,0 +1,177 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS diff --git a/.venv/Lib/site-packages/packaging-25.0.dist-info/licenses/LICENSE.BSD b/.venv/Lib/site-packages/packaging-25.0.dist-info/licenses/LICENSE.BSD new file mode 100644 index 0000000..42ce7b7 --- /dev/null +++ b/.venv/Lib/site-packages/packaging-25.0.dist-info/licenses/LICENSE.BSD @@ -0,0 +1,23 @@ +Copyright (c) Donald Stufft and individual contributors. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/__about__.py b/.venv/Lib/site-packages/packaging/__init__.py similarity index 65% rename from .venv/Lib/site-packages/pip/_vendor/packaging/__about__.py rename to .venv/Lib/site-packages/packaging/__init__.py index 3551bc2..d45c22c 100644 --- a/.venv/Lib/site-packages/pip/_vendor/packaging/__about__.py +++ b/.venv/Lib/site-packages/packaging/__init__.py @@ -2,25 +2,14 @@ # 2.0, and the BSD License. See the LICENSE file in the root of this repository # for complete details. -__all__ = [ - "__title__", - "__summary__", - "__uri__", - "__version__", - "__author__", - "__email__", - "__license__", - "__copyright__", -] - __title__ = "packaging" __summary__ = "Core utilities for Python packages" __uri__ = "https://github.com/pypa/packaging" -__version__ = "21.3" +__version__ = "25.0" __author__ = "Donald Stufft and individual contributors" __email__ = "donald@stufft.io" __license__ = "BSD-2-Clause or Apache-2.0" -__copyright__ = "2014-2019 %s" % __author__ +__copyright__ = f"2014 {__author__}" diff --git a/.venv/Lib/site-packages/packaging/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/packaging/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..2354e39 Binary files /dev/null and b/.venv/Lib/site-packages/packaging/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/packaging/__pycache__/_elffile.cpython-311.pyc b/.venv/Lib/site-packages/packaging/__pycache__/_elffile.cpython-311.pyc new file mode 100644 index 0000000..af213c9 Binary files /dev/null and b/.venv/Lib/site-packages/packaging/__pycache__/_elffile.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/packaging/__pycache__/_manylinux.cpython-311.pyc b/.venv/Lib/site-packages/packaging/__pycache__/_manylinux.cpython-311.pyc new file mode 100644 index 0000000..ce2c349 Binary files /dev/null and b/.venv/Lib/site-packages/packaging/__pycache__/_manylinux.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/packaging/__pycache__/_musllinux.cpython-311.pyc b/.venv/Lib/site-packages/packaging/__pycache__/_musllinux.cpython-311.pyc new file mode 100644 index 0000000..c3ee468 Binary files /dev/null and b/.venv/Lib/site-packages/packaging/__pycache__/_musllinux.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/packaging/__pycache__/_parser.cpython-311.pyc b/.venv/Lib/site-packages/packaging/__pycache__/_parser.cpython-311.pyc new file mode 100644 index 0000000..de816fa Binary files /dev/null and b/.venv/Lib/site-packages/packaging/__pycache__/_parser.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/packaging/__pycache__/_structures.cpython-311.pyc b/.venv/Lib/site-packages/packaging/__pycache__/_structures.cpython-311.pyc new file mode 100644 index 0000000..b49e773 Binary files /dev/null and b/.venv/Lib/site-packages/packaging/__pycache__/_structures.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/packaging/__pycache__/_tokenizer.cpython-311.pyc b/.venv/Lib/site-packages/packaging/__pycache__/_tokenizer.cpython-311.pyc new file mode 100644 index 0000000..3a7185d Binary files /dev/null and b/.venv/Lib/site-packages/packaging/__pycache__/_tokenizer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/packaging/__pycache__/markers.cpython-311.pyc b/.venv/Lib/site-packages/packaging/__pycache__/markers.cpython-311.pyc new file mode 100644 index 0000000..1ac6d8d Binary files /dev/null and b/.venv/Lib/site-packages/packaging/__pycache__/markers.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/packaging/__pycache__/metadata.cpython-311.pyc b/.venv/Lib/site-packages/packaging/__pycache__/metadata.cpython-311.pyc new file mode 100644 index 0000000..165d870 Binary files /dev/null and b/.venv/Lib/site-packages/packaging/__pycache__/metadata.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/packaging/__pycache__/requirements.cpython-311.pyc b/.venv/Lib/site-packages/packaging/__pycache__/requirements.cpython-311.pyc new file mode 100644 index 0000000..69940a9 Binary files /dev/null and b/.venv/Lib/site-packages/packaging/__pycache__/requirements.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/packaging/__pycache__/specifiers.cpython-311.pyc b/.venv/Lib/site-packages/packaging/__pycache__/specifiers.cpython-311.pyc new file mode 100644 index 0000000..13af5d8 Binary files /dev/null and b/.venv/Lib/site-packages/packaging/__pycache__/specifiers.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/packaging/__pycache__/tags.cpython-311.pyc b/.venv/Lib/site-packages/packaging/__pycache__/tags.cpython-311.pyc new file mode 100644 index 0000000..c178eb3 Binary files /dev/null and b/.venv/Lib/site-packages/packaging/__pycache__/tags.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/packaging/__pycache__/utils.cpython-311.pyc b/.venv/Lib/site-packages/packaging/__pycache__/utils.cpython-311.pyc new file mode 100644 index 0000000..ebe034c Binary files /dev/null and b/.venv/Lib/site-packages/packaging/__pycache__/utils.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/packaging/__pycache__/version.cpython-311.pyc b/.venv/Lib/site-packages/packaging/__pycache__/version.cpython-311.pyc new file mode 100644 index 0000000..2f89444 Binary files /dev/null and b/.venv/Lib/site-packages/packaging/__pycache__/version.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/packaging/_elffile.py b/.venv/Lib/site-packages/packaging/_elffile.py new file mode 100644 index 0000000..7a5afc3 --- /dev/null +++ b/.venv/Lib/site-packages/packaging/_elffile.py @@ -0,0 +1,109 @@ +""" +ELF file parser. + +This provides a class ``ELFFile`` that parses an ELF executable in a similar +interface to ``ZipFile``. Only the read interface is implemented. + +Based on: https://gist.github.com/lyssdod/f51579ae8d93c8657a5564aefc2ffbca +ELF header: https://refspecs.linuxfoundation.org/elf/gabi4+/ch4.eheader.html +""" + +from __future__ import annotations + +import enum +import os +import struct +from typing import IO + + +class ELFInvalid(ValueError): + pass + + +class EIClass(enum.IntEnum): + C32 = 1 + C64 = 2 + + +class EIData(enum.IntEnum): + Lsb = 1 + Msb = 2 + + +class EMachine(enum.IntEnum): + I386 = 3 + S390 = 22 + Arm = 40 + X8664 = 62 + AArc64 = 183 + + +class ELFFile: + """ + Representation of an ELF executable. + """ + + def __init__(self, f: IO[bytes]) -> None: + self._f = f + + try: + ident = self._read("16B") + except struct.error as e: + raise ELFInvalid("unable to parse identification") from e + magic = bytes(ident[:4]) + if magic != b"\x7fELF": + raise ELFInvalid(f"invalid magic: {magic!r}") + + self.capacity = ident[4] # Format for program header (bitness). + self.encoding = ident[5] # Data structure encoding (endianness). + + try: + # e_fmt: Format for program header. + # p_fmt: Format for section header. + # p_idx: Indexes to find p_type, p_offset, and p_filesz. + e_fmt, self._p_fmt, self._p_idx = { + (1, 1): ("HHIIIIIHHH", ">IIIIIIII", (0, 1, 4)), # 32-bit MSB. + (2, 1): ("HHIQQQIHHH", ">IIQQQQQQ", (0, 2, 5)), # 64-bit MSB. + }[(self.capacity, self.encoding)] + except KeyError as e: + raise ELFInvalid( + f"unrecognized capacity ({self.capacity}) or encoding ({self.encoding})" + ) from e + + try: + ( + _, + self.machine, # Architecture type. + _, + _, + self._e_phoff, # Offset of program header. + _, + self.flags, # Processor-specific flags. + _, + self._e_phentsize, # Size of section. + self._e_phnum, # Number of sections. + ) = self._read(e_fmt) + except struct.error as e: + raise ELFInvalid("unable to parse machine and section information") from e + + def _read(self, fmt: str) -> tuple[int, ...]: + return struct.unpack(fmt, self._f.read(struct.calcsize(fmt))) + + @property + def interpreter(self) -> str | None: + """ + The path recorded in the ``PT_INTERP`` section header. + """ + for index in range(self._e_phnum): + self._f.seek(self._e_phoff + self._e_phentsize * index) + try: + data = self._read(self._p_fmt) + except struct.error: + continue + if data[self._p_idx[0]] != 3: # Not PT_INTERP. + continue + self._f.seek(data[self._p_idx[1]]) + return os.fsdecode(self._f.read(data[self._p_idx[2]])).strip("\0") + return None diff --git a/.venv/Lib/site-packages/packaging/_manylinux.py b/.venv/Lib/site-packages/packaging/_manylinux.py new file mode 100644 index 0000000..95f5576 --- /dev/null +++ b/.venv/Lib/site-packages/packaging/_manylinux.py @@ -0,0 +1,262 @@ +from __future__ import annotations + +import collections +import contextlib +import functools +import os +import re +import sys +import warnings +from typing import Generator, Iterator, NamedTuple, Sequence + +from ._elffile import EIClass, EIData, ELFFile, EMachine + +EF_ARM_ABIMASK = 0xFF000000 +EF_ARM_ABI_VER5 = 0x05000000 +EF_ARM_ABI_FLOAT_HARD = 0x00000400 + + +# `os.PathLike` not a generic type until Python 3.9, so sticking with `str` +# as the type for `path` until then. +@contextlib.contextmanager +def _parse_elf(path: str) -> Generator[ELFFile | None, None, None]: + try: + with open(path, "rb") as f: + yield ELFFile(f) + except (OSError, TypeError, ValueError): + yield None + + +def _is_linux_armhf(executable: str) -> bool: + # hard-float ABI can be detected from the ELF header of the running + # process + # https://static.docs.arm.com/ihi0044/g/aaelf32.pdf + with _parse_elf(executable) as f: + return ( + f is not None + and f.capacity == EIClass.C32 + and f.encoding == EIData.Lsb + and f.machine == EMachine.Arm + and f.flags & EF_ARM_ABIMASK == EF_ARM_ABI_VER5 + and f.flags & EF_ARM_ABI_FLOAT_HARD == EF_ARM_ABI_FLOAT_HARD + ) + + +def _is_linux_i686(executable: str) -> bool: + with _parse_elf(executable) as f: + return ( + f is not None + and f.capacity == EIClass.C32 + and f.encoding == EIData.Lsb + and f.machine == EMachine.I386 + ) + + +def _have_compatible_abi(executable: str, archs: Sequence[str]) -> bool: + if "armv7l" in archs: + return _is_linux_armhf(executable) + if "i686" in archs: + return _is_linux_i686(executable) + allowed_archs = { + "x86_64", + "aarch64", + "ppc64", + "ppc64le", + "s390x", + "loongarch64", + "riscv64", + } + return any(arch in allowed_archs for arch in archs) + + +# If glibc ever changes its major version, we need to know what the last +# minor version was, so we can build the complete list of all versions. +# For now, guess what the highest minor version might be, assume it will +# be 50 for testing. Once this actually happens, update the dictionary +# with the actual value. +_LAST_GLIBC_MINOR: dict[int, int] = collections.defaultdict(lambda: 50) + + +class _GLibCVersion(NamedTuple): + major: int + minor: int + + +def _glibc_version_string_confstr() -> str | None: + """ + Primary implementation of glibc_version_string using os.confstr. + """ + # os.confstr is quite a bit faster than ctypes.DLL. It's also less likely + # to be broken or missing. This strategy is used in the standard library + # platform module. + # https://github.com/python/cpython/blob/fcf1d003bf4f0100c/Lib/platform.py#L175-L183 + try: + # Should be a string like "glibc 2.17". + version_string: str | None = os.confstr("CS_GNU_LIBC_VERSION") + assert version_string is not None + _, version = version_string.rsplit() + except (AssertionError, AttributeError, OSError, ValueError): + # os.confstr() or CS_GNU_LIBC_VERSION not available (or a bad value)... + return None + return version + + +def _glibc_version_string_ctypes() -> str | None: + """ + Fallback implementation of glibc_version_string using ctypes. + """ + try: + import ctypes + except ImportError: + return None + + # ctypes.CDLL(None) internally calls dlopen(NULL), and as the dlopen + # manpage says, "If filename is NULL, then the returned handle is for the + # main program". This way we can let the linker do the work to figure out + # which libc our process is actually using. + # + # We must also handle the special case where the executable is not a + # dynamically linked executable. This can occur when using musl libc, + # for example. In this situation, dlopen() will error, leading to an + # OSError. Interestingly, at least in the case of musl, there is no + # errno set on the OSError. The single string argument used to construct + # OSError comes from libc itself and is therefore not portable to + # hard code here. In any case, failure to call dlopen() means we + # can proceed, so we bail on our attempt. + try: + process_namespace = ctypes.CDLL(None) + except OSError: + return None + + try: + gnu_get_libc_version = process_namespace.gnu_get_libc_version + except AttributeError: + # Symbol doesn't exist -> therefore, we are not linked to + # glibc. + return None + + # Call gnu_get_libc_version, which returns a string like "2.5" + gnu_get_libc_version.restype = ctypes.c_char_p + version_str: str = gnu_get_libc_version() + # py2 / py3 compatibility: + if not isinstance(version_str, str): + version_str = version_str.decode("ascii") + + return version_str + + +def _glibc_version_string() -> str | None: + """Returns glibc version string, or None if not using glibc.""" + return _glibc_version_string_confstr() or _glibc_version_string_ctypes() + + +def _parse_glibc_version(version_str: str) -> tuple[int, int]: + """Parse glibc version. + + We use a regexp instead of str.split because we want to discard any + random junk that might come after the minor version -- this might happen + in patched/forked versions of glibc (e.g. Linaro's version of glibc + uses version strings like "2.20-2014.11"). See gh-3588. + """ + m = re.match(r"(?P[0-9]+)\.(?P[0-9]+)", version_str) + if not m: + warnings.warn( + f"Expected glibc version with 2 components major.minor, got: {version_str}", + RuntimeWarning, + stacklevel=2, + ) + return -1, -1 + return int(m.group("major")), int(m.group("minor")) + + +@functools.lru_cache +def _get_glibc_version() -> tuple[int, int]: + version_str = _glibc_version_string() + if version_str is None: + return (-1, -1) + return _parse_glibc_version(version_str) + + +# From PEP 513, PEP 600 +def _is_compatible(arch: str, version: _GLibCVersion) -> bool: + sys_glibc = _get_glibc_version() + if sys_glibc < version: + return False + # Check for presence of _manylinux module. + try: + import _manylinux + except ImportError: + return True + if hasattr(_manylinux, "manylinux_compatible"): + result = _manylinux.manylinux_compatible(version[0], version[1], arch) + if result is not None: + return bool(result) + return True + if version == _GLibCVersion(2, 5): + if hasattr(_manylinux, "manylinux1_compatible"): + return bool(_manylinux.manylinux1_compatible) + if version == _GLibCVersion(2, 12): + if hasattr(_manylinux, "manylinux2010_compatible"): + return bool(_manylinux.manylinux2010_compatible) + if version == _GLibCVersion(2, 17): + if hasattr(_manylinux, "manylinux2014_compatible"): + return bool(_manylinux.manylinux2014_compatible) + return True + + +_LEGACY_MANYLINUX_MAP = { + # CentOS 7 w/ glibc 2.17 (PEP 599) + (2, 17): "manylinux2014", + # CentOS 6 w/ glibc 2.12 (PEP 571) + (2, 12): "manylinux2010", + # CentOS 5 w/ glibc 2.5 (PEP 513) + (2, 5): "manylinux1", +} + + +def platform_tags(archs: Sequence[str]) -> Iterator[str]: + """Generate manylinux tags compatible to the current platform. + + :param archs: Sequence of compatible architectures. + The first one shall be the closest to the actual architecture and be the part of + platform tag after the ``linux_`` prefix, e.g. ``x86_64``. + The ``linux_`` prefix is assumed as a prerequisite for the current platform to + be manylinux-compatible. + + :returns: An iterator of compatible manylinux tags. + """ + if not _have_compatible_abi(sys.executable, archs): + return + # Oldest glibc to be supported regardless of architecture is (2, 17). + too_old_glibc2 = _GLibCVersion(2, 16) + if set(archs) & {"x86_64", "i686"}: + # On x86/i686 also oldest glibc to be supported is (2, 5). + too_old_glibc2 = _GLibCVersion(2, 4) + current_glibc = _GLibCVersion(*_get_glibc_version()) + glibc_max_list = [current_glibc] + # We can assume compatibility across glibc major versions. + # https://sourceware.org/bugzilla/show_bug.cgi?id=24636 + # + # Build a list of maximum glibc versions so that we can + # output the canonical list of all glibc from current_glibc + # down to too_old_glibc2, including all intermediary versions. + for glibc_major in range(current_glibc.major - 1, 1, -1): + glibc_minor = _LAST_GLIBC_MINOR[glibc_major] + glibc_max_list.append(_GLibCVersion(glibc_major, glibc_minor)) + for arch in archs: + for glibc_max in glibc_max_list: + if glibc_max.major == too_old_glibc2.major: + min_minor = too_old_glibc2.minor + else: + # For other glibc major versions oldest supported is (x, 0). + min_minor = -1 + for glibc_minor in range(glibc_max.minor, min_minor, -1): + glibc_version = _GLibCVersion(glibc_max.major, glibc_minor) + tag = "manylinux_{}_{}".format(*glibc_version) + if _is_compatible(arch, glibc_version): + yield f"{tag}_{arch}" + # Handle the legacy manylinux1, manylinux2010, manylinux2014 tags. + if glibc_version in _LEGACY_MANYLINUX_MAP: + legacy_tag = _LEGACY_MANYLINUX_MAP[glibc_version] + if _is_compatible(arch, glibc_version): + yield f"{legacy_tag}_{arch}" diff --git a/.venv/Lib/site-packages/packaging/_musllinux.py b/.venv/Lib/site-packages/packaging/_musllinux.py new file mode 100644 index 0000000..d2bf30b --- /dev/null +++ b/.venv/Lib/site-packages/packaging/_musllinux.py @@ -0,0 +1,85 @@ +"""PEP 656 support. + +This module implements logic to detect if the currently running Python is +linked against musl, and what musl version is used. +""" + +from __future__ import annotations + +import functools +import re +import subprocess +import sys +from typing import Iterator, NamedTuple, Sequence + +from ._elffile import ELFFile + + +class _MuslVersion(NamedTuple): + major: int + minor: int + + +def _parse_musl_version(output: str) -> _MuslVersion | None: + lines = [n for n in (n.strip() for n in output.splitlines()) if n] + if len(lines) < 2 or lines[0][:4] != "musl": + return None + m = re.match(r"Version (\d+)\.(\d+)", lines[1]) + if not m: + return None + return _MuslVersion(major=int(m.group(1)), minor=int(m.group(2))) + + +@functools.lru_cache +def _get_musl_version(executable: str) -> _MuslVersion | None: + """Detect currently-running musl runtime version. + + This is done by checking the specified executable's dynamic linking + information, and invoking the loader to parse its output for a version + string. If the loader is musl, the output would be something like:: + + musl libc (x86_64) + Version 1.2.2 + Dynamic Program Loader + """ + try: + with open(executable, "rb") as f: + ld = ELFFile(f).interpreter + except (OSError, TypeError, ValueError): + return None + if ld is None or "musl" not in ld: + return None + proc = subprocess.run([ld], stderr=subprocess.PIPE, text=True) + return _parse_musl_version(proc.stderr) + + +def platform_tags(archs: Sequence[str]) -> Iterator[str]: + """Generate musllinux tags compatible to the current platform. + + :param archs: Sequence of compatible architectures. + The first one shall be the closest to the actual architecture and be the part of + platform tag after the ``linux_`` prefix, e.g. ``x86_64``. + The ``linux_`` prefix is assumed as a prerequisite for the current platform to + be musllinux-compatible. + + :returns: An iterator of compatible musllinux tags. + """ + sys_musl = _get_musl_version(sys.executable) + if sys_musl is None: # Python not dynamically linked against musl. + return + for arch in archs: + for minor in range(sys_musl.minor, -1, -1): + yield f"musllinux_{sys_musl.major}_{minor}_{arch}" + + +if __name__ == "__main__": # pragma: no cover + import sysconfig + + plat = sysconfig.get_platform() + assert plat.startswith("linux-"), "not linux" + + print("plat:", plat) + print("musl:", _get_musl_version(sys.executable)) + print("tags:", end=" ") + for t in platform_tags(re.sub(r"[.-]", "_", plat.split("-", 1)[-1])): + print(t, end="\n ") diff --git a/.venv/Lib/site-packages/packaging/_parser.py b/.venv/Lib/site-packages/packaging/_parser.py new file mode 100644 index 0000000..0007c0a --- /dev/null +++ b/.venv/Lib/site-packages/packaging/_parser.py @@ -0,0 +1,353 @@ +"""Handwritten parser of dependency specifiers. + +The docstring for each __parse_* function contains EBNF-inspired grammar representing +the implementation. +""" + +from __future__ import annotations + +import ast +from typing import NamedTuple, Sequence, Tuple, Union + +from ._tokenizer import DEFAULT_RULES, Tokenizer + + +class Node: + def __init__(self, value: str) -> None: + self.value = value + + def __str__(self) -> str: + return self.value + + def __repr__(self) -> str: + return f"<{self.__class__.__name__}('{self}')>" + + def serialize(self) -> str: + raise NotImplementedError + + +class Variable(Node): + def serialize(self) -> str: + return str(self) + + +class Value(Node): + def serialize(self) -> str: + return f'"{self}"' + + +class Op(Node): + def serialize(self) -> str: + return str(self) + + +MarkerVar = Union[Variable, Value] +MarkerItem = Tuple[MarkerVar, Op, MarkerVar] +MarkerAtom = Union[MarkerItem, Sequence["MarkerAtom"]] +MarkerList = Sequence[Union["MarkerList", MarkerAtom, str]] + + +class ParsedRequirement(NamedTuple): + name: str + url: str + extras: list[str] + specifier: str + marker: MarkerList | None + + +# -------------------------------------------------------------------------------------- +# Recursive descent parser for dependency specifier +# -------------------------------------------------------------------------------------- +def parse_requirement(source: str) -> ParsedRequirement: + return _parse_requirement(Tokenizer(source, rules=DEFAULT_RULES)) + + +def _parse_requirement(tokenizer: Tokenizer) -> ParsedRequirement: + """ + requirement = WS? IDENTIFIER WS? extras WS? requirement_details + """ + tokenizer.consume("WS") + + name_token = tokenizer.expect( + "IDENTIFIER", expected="package name at the start of dependency specifier" + ) + name = name_token.text + tokenizer.consume("WS") + + extras = _parse_extras(tokenizer) + tokenizer.consume("WS") + + url, specifier, marker = _parse_requirement_details(tokenizer) + tokenizer.expect("END", expected="end of dependency specifier") + + return ParsedRequirement(name, url, extras, specifier, marker) + + +def _parse_requirement_details( + tokenizer: Tokenizer, +) -> tuple[str, str, MarkerList | None]: + """ + requirement_details = AT URL (WS requirement_marker?)? + | specifier WS? (requirement_marker)? + """ + + specifier = "" + url = "" + marker = None + + if tokenizer.check("AT"): + tokenizer.read() + tokenizer.consume("WS") + + url_start = tokenizer.position + url = tokenizer.expect("URL", expected="URL after @").text + if tokenizer.check("END", peek=True): + return (url, specifier, marker) + + tokenizer.expect("WS", expected="whitespace after URL") + + # The input might end after whitespace. + if tokenizer.check("END", peek=True): + return (url, specifier, marker) + + marker = _parse_requirement_marker( + tokenizer, span_start=url_start, after="URL and whitespace" + ) + else: + specifier_start = tokenizer.position + specifier = _parse_specifier(tokenizer) + tokenizer.consume("WS") + + if tokenizer.check("END", peek=True): + return (url, specifier, marker) + + marker = _parse_requirement_marker( + tokenizer, + span_start=specifier_start, + after=( + "version specifier" + if specifier + else "name and no valid version specifier" + ), + ) + + return (url, specifier, marker) + + +def _parse_requirement_marker( + tokenizer: Tokenizer, *, span_start: int, after: str +) -> MarkerList: + """ + requirement_marker = SEMICOLON marker WS? + """ + + if not tokenizer.check("SEMICOLON"): + tokenizer.raise_syntax_error( + f"Expected end or semicolon (after {after})", + span_start=span_start, + ) + tokenizer.read() + + marker = _parse_marker(tokenizer) + tokenizer.consume("WS") + + return marker + + +def _parse_extras(tokenizer: Tokenizer) -> list[str]: + """ + extras = (LEFT_BRACKET wsp* extras_list? wsp* RIGHT_BRACKET)? + """ + if not tokenizer.check("LEFT_BRACKET", peek=True): + return [] + + with tokenizer.enclosing_tokens( + "LEFT_BRACKET", + "RIGHT_BRACKET", + around="extras", + ): + tokenizer.consume("WS") + extras = _parse_extras_list(tokenizer) + tokenizer.consume("WS") + + return extras + + +def _parse_extras_list(tokenizer: Tokenizer) -> list[str]: + """ + extras_list = identifier (wsp* ',' wsp* identifier)* + """ + extras: list[str] = [] + + if not tokenizer.check("IDENTIFIER"): + return extras + + extras.append(tokenizer.read().text) + + while True: + tokenizer.consume("WS") + if tokenizer.check("IDENTIFIER", peek=True): + tokenizer.raise_syntax_error("Expected comma between extra names") + elif not tokenizer.check("COMMA"): + break + + tokenizer.read() + tokenizer.consume("WS") + + extra_token = tokenizer.expect("IDENTIFIER", expected="extra name after comma") + extras.append(extra_token.text) + + return extras + + +def _parse_specifier(tokenizer: Tokenizer) -> str: + """ + specifier = LEFT_PARENTHESIS WS? version_many WS? RIGHT_PARENTHESIS + | WS? version_many WS? + """ + with tokenizer.enclosing_tokens( + "LEFT_PARENTHESIS", + "RIGHT_PARENTHESIS", + around="version specifier", + ): + tokenizer.consume("WS") + parsed_specifiers = _parse_version_many(tokenizer) + tokenizer.consume("WS") + + return parsed_specifiers + + +def _parse_version_many(tokenizer: Tokenizer) -> str: + """ + version_many = (SPECIFIER (WS? COMMA WS? SPECIFIER)*)? + """ + parsed_specifiers = "" + while tokenizer.check("SPECIFIER"): + span_start = tokenizer.position + parsed_specifiers += tokenizer.read().text + if tokenizer.check("VERSION_PREFIX_TRAIL", peek=True): + tokenizer.raise_syntax_error( + ".* suffix can only be used with `==` or `!=` operators", + span_start=span_start, + span_end=tokenizer.position + 1, + ) + if tokenizer.check("VERSION_LOCAL_LABEL_TRAIL", peek=True): + tokenizer.raise_syntax_error( + "Local version label can only be used with `==` or `!=` operators", + span_start=span_start, + span_end=tokenizer.position, + ) + tokenizer.consume("WS") + if not tokenizer.check("COMMA"): + break + parsed_specifiers += tokenizer.read().text + tokenizer.consume("WS") + + return parsed_specifiers + + +# -------------------------------------------------------------------------------------- +# Recursive descent parser for marker expression +# -------------------------------------------------------------------------------------- +def parse_marker(source: str) -> MarkerList: + return _parse_full_marker(Tokenizer(source, rules=DEFAULT_RULES)) + + +def _parse_full_marker(tokenizer: Tokenizer) -> MarkerList: + retval = _parse_marker(tokenizer) + tokenizer.expect("END", expected="end of marker expression") + return retval + + +def _parse_marker(tokenizer: Tokenizer) -> MarkerList: + """ + marker = marker_atom (BOOLOP marker_atom)+ + """ + expression = [_parse_marker_atom(tokenizer)] + while tokenizer.check("BOOLOP"): + token = tokenizer.read() + expr_right = _parse_marker_atom(tokenizer) + expression.extend((token.text, expr_right)) + return expression + + +def _parse_marker_atom(tokenizer: Tokenizer) -> MarkerAtom: + """ + marker_atom = WS? LEFT_PARENTHESIS WS? marker WS? RIGHT_PARENTHESIS WS? + | WS? marker_item WS? + """ + + tokenizer.consume("WS") + if tokenizer.check("LEFT_PARENTHESIS", peek=True): + with tokenizer.enclosing_tokens( + "LEFT_PARENTHESIS", + "RIGHT_PARENTHESIS", + around="marker expression", + ): + tokenizer.consume("WS") + marker: MarkerAtom = _parse_marker(tokenizer) + tokenizer.consume("WS") + else: + marker = _parse_marker_item(tokenizer) + tokenizer.consume("WS") + return marker + + +def _parse_marker_item(tokenizer: Tokenizer) -> MarkerItem: + """ + marker_item = WS? marker_var WS? marker_op WS? marker_var WS? + """ + tokenizer.consume("WS") + marker_var_left = _parse_marker_var(tokenizer) + tokenizer.consume("WS") + marker_op = _parse_marker_op(tokenizer) + tokenizer.consume("WS") + marker_var_right = _parse_marker_var(tokenizer) + tokenizer.consume("WS") + return (marker_var_left, marker_op, marker_var_right) + + +def _parse_marker_var(tokenizer: Tokenizer) -> MarkerVar: + """ + marker_var = VARIABLE | QUOTED_STRING + """ + if tokenizer.check("VARIABLE"): + return process_env_var(tokenizer.read().text.replace(".", "_")) + elif tokenizer.check("QUOTED_STRING"): + return process_python_str(tokenizer.read().text) + else: + tokenizer.raise_syntax_error( + message="Expected a marker variable or quoted string" + ) + + +def process_env_var(env_var: str) -> Variable: + if env_var in ("platform_python_implementation", "python_implementation"): + return Variable("platform_python_implementation") + else: + return Variable(env_var) + + +def process_python_str(python_str: str) -> Value: + value = ast.literal_eval(python_str) + return Value(str(value)) + + +def _parse_marker_op(tokenizer: Tokenizer) -> Op: + """ + marker_op = IN | NOT IN | OP + """ + if tokenizer.check("IN"): + tokenizer.read() + return Op("in") + elif tokenizer.check("NOT"): + tokenizer.read() + tokenizer.expect("WS", expected="whitespace after 'not'") + tokenizer.expect("IN", expected="'in' after 'not'") + return Op("not in") + elif tokenizer.check("OP"): + return Op(tokenizer.read().text) + else: + return tokenizer.raise_syntax_error( + "Expected marker operator, one of <=, <, !=, ==, >=, >, ~=, ===, in, not in" + ) diff --git a/.venv/Lib/site-packages/packaging/_structures.py b/.venv/Lib/site-packages/packaging/_structures.py new file mode 100644 index 0000000..90a6465 --- /dev/null +++ b/.venv/Lib/site-packages/packaging/_structures.py @@ -0,0 +1,61 @@ +# This file is dual licensed under the terms of the Apache License, Version +# 2.0, and the BSD License. See the LICENSE file in the root of this repository +# for complete details. + + +class InfinityType: + def __repr__(self) -> str: + return "Infinity" + + def __hash__(self) -> int: + return hash(repr(self)) + + def __lt__(self, other: object) -> bool: + return False + + def __le__(self, other: object) -> bool: + return False + + def __eq__(self, other: object) -> bool: + return isinstance(other, self.__class__) + + def __gt__(self, other: object) -> bool: + return True + + def __ge__(self, other: object) -> bool: + return True + + def __neg__(self: object) -> "NegativeInfinityType": + return NegativeInfinity + + +Infinity = InfinityType() + + +class NegativeInfinityType: + def __repr__(self) -> str: + return "-Infinity" + + def __hash__(self) -> int: + return hash(repr(self)) + + def __lt__(self, other: object) -> bool: + return True + + def __le__(self, other: object) -> bool: + return True + + def __eq__(self, other: object) -> bool: + return isinstance(other, self.__class__) + + def __gt__(self, other: object) -> bool: + return False + + def __ge__(self, other: object) -> bool: + return False + + def __neg__(self: object) -> InfinityType: + return Infinity + + +NegativeInfinity = NegativeInfinityType() diff --git a/.venv/Lib/site-packages/packaging/_tokenizer.py b/.venv/Lib/site-packages/packaging/_tokenizer.py new file mode 100644 index 0000000..d28a9b6 --- /dev/null +++ b/.venv/Lib/site-packages/packaging/_tokenizer.py @@ -0,0 +1,195 @@ +from __future__ import annotations + +import contextlib +import re +from dataclasses import dataclass +from typing import Iterator, NoReturn + +from .specifiers import Specifier + + +@dataclass +class Token: + name: str + text: str + position: int + + +class ParserSyntaxError(Exception): + """The provided source text could not be parsed correctly.""" + + def __init__( + self, + message: str, + *, + source: str, + span: tuple[int, int], + ) -> None: + self.span = span + self.message = message + self.source = source + + super().__init__() + + def __str__(self) -> str: + marker = " " * self.span[0] + "~" * (self.span[1] - self.span[0]) + "^" + return "\n ".join([self.message, self.source, marker]) + + +DEFAULT_RULES: dict[str, str | re.Pattern[str]] = { + "LEFT_PARENTHESIS": r"\(", + "RIGHT_PARENTHESIS": r"\)", + "LEFT_BRACKET": r"\[", + "RIGHT_BRACKET": r"\]", + "SEMICOLON": r";", + "COMMA": r",", + "QUOTED_STRING": re.compile( + r""" + ( + ('[^']*') + | + ("[^"]*") + ) + """, + re.VERBOSE, + ), + "OP": r"(===|==|~=|!=|<=|>=|<|>)", + "BOOLOP": r"\b(or|and)\b", + "IN": r"\bin\b", + "NOT": r"\bnot\b", + "VARIABLE": re.compile( + r""" + \b( + python_version + |python_full_version + |os[._]name + |sys[._]platform + |platform_(release|system) + |platform[._](version|machine|python_implementation) + |python_implementation + |implementation_(name|version) + |extras? + |dependency_groups + )\b + """, + re.VERBOSE, + ), + "SPECIFIER": re.compile( + Specifier._operator_regex_str + Specifier._version_regex_str, + re.VERBOSE | re.IGNORECASE, + ), + "AT": r"\@", + "URL": r"[^ \t]+", + "IDENTIFIER": r"\b[a-zA-Z0-9][a-zA-Z0-9._-]*\b", + "VERSION_PREFIX_TRAIL": r"\.\*", + "VERSION_LOCAL_LABEL_TRAIL": r"\+[a-z0-9]+(?:[-_\.][a-z0-9]+)*", + "WS": r"[ \t]+", + "END": r"$", +} + + +class Tokenizer: + """Context-sensitive token parsing. + + Provides methods to examine the input stream to check whether the next token + matches. + """ + + def __init__( + self, + source: str, + *, + rules: dict[str, str | re.Pattern[str]], + ) -> None: + self.source = source + self.rules: dict[str, re.Pattern[str]] = { + name: re.compile(pattern) for name, pattern in rules.items() + } + self.next_token: Token | None = None + self.position = 0 + + def consume(self, name: str) -> None: + """Move beyond provided token name, if at current position.""" + if self.check(name): + self.read() + + def check(self, name: str, *, peek: bool = False) -> bool: + """Check whether the next token has the provided name. + + By default, if the check succeeds, the token *must* be read before + another check. If `peek` is set to `True`, the token is not loaded and + would need to be checked again. + """ + assert self.next_token is None, ( + f"Cannot check for {name!r}, already have {self.next_token!r}" + ) + assert name in self.rules, f"Unknown token name: {name!r}" + + expression = self.rules[name] + + match = expression.match(self.source, self.position) + if match is None: + return False + if not peek: + self.next_token = Token(name, match[0], self.position) + return True + + def expect(self, name: str, *, expected: str) -> Token: + """Expect a certain token name next, failing with a syntax error otherwise. + + The token is *not* read. + """ + if not self.check(name): + raise self.raise_syntax_error(f"Expected {expected}") + return self.read() + + def read(self) -> Token: + """Consume the next token and return it.""" + token = self.next_token + assert token is not None + + self.position += len(token.text) + self.next_token = None + + return token + + def raise_syntax_error( + self, + message: str, + *, + span_start: int | None = None, + span_end: int | None = None, + ) -> NoReturn: + """Raise ParserSyntaxError at the given position.""" + span = ( + self.position if span_start is None else span_start, + self.position if span_end is None else span_end, + ) + raise ParserSyntaxError( + message, + source=self.source, + span=span, + ) + + @contextlib.contextmanager + def enclosing_tokens( + self, open_token: str, close_token: str, *, around: str + ) -> Iterator[None]: + if self.check(open_token): + open_position = self.position + self.read() + else: + open_position = None + + yield + + if open_position is None: + return + + if not self.check(close_token): + self.raise_syntax_error( + f"Expected matching {close_token} for {open_token}, after {around}", + span_start=open_position, + ) + + self.read() diff --git a/.venv/Lib/site-packages/packaging/licenses/__init__.py b/.venv/Lib/site-packages/packaging/licenses/__init__.py new file mode 100644 index 0000000..6f7f9e6 --- /dev/null +++ b/.venv/Lib/site-packages/packaging/licenses/__init__.py @@ -0,0 +1,145 @@ +####################################################################################### +# +# Adapted from: +# https://github.com/pypa/hatch/blob/5352e44/backend/src/hatchling/licenses/parse.py +# +# MIT License +# +# Copyright (c) 2017-present Ofek Lev +# +# Permission is hereby granted, free of charge, to any person obtaining a copy of this +# software and associated documentation files (the "Software"), to deal in the Software +# without restriction, including without limitation the rights to use, copy, modify, +# merge, publish, distribute, sublicense, and/or sell copies of the Software, and to +# permit persons to whom the Software is furnished to do so, subject to the following +# conditions: +# +# The above copyright notice and this permission notice shall be included in all copies +# or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +# PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF +# CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE +# OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# +# +# With additional allowance of arbitrary `LicenseRef-` identifiers, not just +# `LicenseRef-Public-Domain` and `LicenseRef-Proprietary`. +# +####################################################################################### +from __future__ import annotations + +import re +from typing import NewType, cast + +from packaging.licenses._spdx import EXCEPTIONS, LICENSES + +__all__ = [ + "InvalidLicenseExpression", + "NormalizedLicenseExpression", + "canonicalize_license_expression", +] + +license_ref_allowed = re.compile("^[A-Za-z0-9.-]*$") + +NormalizedLicenseExpression = NewType("NormalizedLicenseExpression", str) + + +class InvalidLicenseExpression(ValueError): + """Raised when a license-expression string is invalid + + >>> canonicalize_license_expression("invalid") + Traceback (most recent call last): + ... + packaging.licenses.InvalidLicenseExpression: Invalid license expression: 'invalid' + """ + + +def canonicalize_license_expression( + raw_license_expression: str, +) -> NormalizedLicenseExpression: + if not raw_license_expression: + message = f"Invalid license expression: {raw_license_expression!r}" + raise InvalidLicenseExpression(message) + + # Pad any parentheses so tokenization can be achieved by merely splitting on + # whitespace. + license_expression = raw_license_expression.replace("(", " ( ").replace(")", " ) ") + licenseref_prefix = "LicenseRef-" + license_refs = { + ref.lower(): "LicenseRef-" + ref[len(licenseref_prefix) :] + for ref in license_expression.split() + if ref.lower().startswith(licenseref_prefix.lower()) + } + + # Normalize to lower case so we can look up licenses/exceptions + # and so boolean operators are Python-compatible. + license_expression = license_expression.lower() + + tokens = license_expression.split() + + # Rather than implementing boolean logic, we create an expression that Python can + # parse. Everything that is not involved with the grammar itself is treated as + # `False` and the expression should evaluate as such. + python_tokens = [] + for token in tokens: + if token not in {"or", "and", "with", "(", ")"}: + python_tokens.append("False") + elif token == "with": + python_tokens.append("or") + elif token == "(" and python_tokens and python_tokens[-1] not in {"or", "and"}: + message = f"Invalid license expression: {raw_license_expression!r}" + raise InvalidLicenseExpression(message) + else: + python_tokens.append(token) + + python_expression = " ".join(python_tokens) + try: + invalid = eval(python_expression, globals(), locals()) + except Exception: + invalid = True + + if invalid is not False: + message = f"Invalid license expression: {raw_license_expression!r}" + raise InvalidLicenseExpression(message) from None + + # Take a final pass to check for unknown licenses/exceptions. + normalized_tokens = [] + for token in tokens: + if token in {"or", "and", "with", "(", ")"}: + normalized_tokens.append(token.upper()) + continue + + if normalized_tokens and normalized_tokens[-1] == "WITH": + if token not in EXCEPTIONS: + message = f"Unknown license exception: {token!r}" + raise InvalidLicenseExpression(message) + + normalized_tokens.append(EXCEPTIONS[token]["id"]) + else: + if token.endswith("+"): + final_token = token[:-1] + suffix = "+" + else: + final_token = token + suffix = "" + + if final_token.startswith("licenseref-"): + if not license_ref_allowed.match(final_token): + message = f"Invalid licenseref: {final_token!r}" + raise InvalidLicenseExpression(message) + normalized_tokens.append(license_refs[final_token] + suffix) + else: + if final_token not in LICENSES: + message = f"Unknown license: {final_token!r}" + raise InvalidLicenseExpression(message) + normalized_tokens.append(LICENSES[final_token]["id"] + suffix) + + normalized_expression = " ".join(normalized_tokens) + + return cast( + NormalizedLicenseExpression, + normalized_expression.replace("( ", "(").replace(" )", ")"), + ) diff --git a/.venv/Lib/site-packages/packaging/licenses/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/packaging/licenses/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..b6c54da Binary files /dev/null and b/.venv/Lib/site-packages/packaging/licenses/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/packaging/licenses/__pycache__/_spdx.cpython-311.pyc b/.venv/Lib/site-packages/packaging/licenses/__pycache__/_spdx.cpython-311.pyc new file mode 100644 index 0000000..0791673 Binary files /dev/null and b/.venv/Lib/site-packages/packaging/licenses/__pycache__/_spdx.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/packaging/licenses/_spdx.py b/.venv/Lib/site-packages/packaging/licenses/_spdx.py new file mode 100644 index 0000000..eac2227 --- /dev/null +++ b/.venv/Lib/site-packages/packaging/licenses/_spdx.py @@ -0,0 +1,759 @@ + +from __future__ import annotations + +from typing import TypedDict + +class SPDXLicense(TypedDict): + id: str + deprecated: bool + +class SPDXException(TypedDict): + id: str + deprecated: bool + + +VERSION = '3.25.0' + +LICENSES: dict[str, SPDXLicense] = { + '0bsd': {'id': '0BSD', 'deprecated': False}, + '3d-slicer-1.0': {'id': '3D-Slicer-1.0', 'deprecated': False}, + 'aal': {'id': 'AAL', 'deprecated': False}, + 'abstyles': {'id': 'Abstyles', 'deprecated': False}, + 'adacore-doc': {'id': 'AdaCore-doc', 'deprecated': False}, + 'adobe-2006': {'id': 'Adobe-2006', 'deprecated': False}, + 'adobe-display-postscript': {'id': 'Adobe-Display-PostScript', 'deprecated': False}, + 'adobe-glyph': {'id': 'Adobe-Glyph', 'deprecated': False}, + 'adobe-utopia': {'id': 'Adobe-Utopia', 'deprecated': False}, + 'adsl': {'id': 'ADSL', 'deprecated': False}, + 'afl-1.1': {'id': 'AFL-1.1', 'deprecated': False}, + 'afl-1.2': {'id': 'AFL-1.2', 'deprecated': False}, + 'afl-2.0': {'id': 'AFL-2.0', 'deprecated': False}, + 'afl-2.1': {'id': 'AFL-2.1', 'deprecated': False}, + 'afl-3.0': {'id': 'AFL-3.0', 'deprecated': False}, + 'afmparse': {'id': 'Afmparse', 'deprecated': False}, + 'agpl-1.0': {'id': 'AGPL-1.0', 'deprecated': True}, + 'agpl-1.0-only': {'id': 'AGPL-1.0-only', 'deprecated': False}, + 'agpl-1.0-or-later': {'id': 'AGPL-1.0-or-later', 'deprecated': False}, + 'agpl-3.0': {'id': 'AGPL-3.0', 'deprecated': True}, + 'agpl-3.0-only': {'id': 'AGPL-3.0-only', 'deprecated': False}, + 'agpl-3.0-or-later': {'id': 'AGPL-3.0-or-later', 'deprecated': False}, + 'aladdin': {'id': 'Aladdin', 'deprecated': False}, + 'amd-newlib': {'id': 'AMD-newlib', 'deprecated': False}, + 'amdplpa': {'id': 'AMDPLPA', 'deprecated': False}, + 'aml': {'id': 'AML', 'deprecated': False}, + 'aml-glslang': {'id': 'AML-glslang', 'deprecated': False}, + 'ampas': {'id': 'AMPAS', 'deprecated': False}, + 'antlr-pd': {'id': 'ANTLR-PD', 'deprecated': False}, + 'antlr-pd-fallback': {'id': 'ANTLR-PD-fallback', 'deprecated': False}, + 'any-osi': {'id': 'any-OSI', 'deprecated': False}, + 'apache-1.0': {'id': 'Apache-1.0', 'deprecated': False}, + 'apache-1.1': {'id': 'Apache-1.1', 'deprecated': False}, + 'apache-2.0': {'id': 'Apache-2.0', 'deprecated': False}, + 'apafml': {'id': 'APAFML', 'deprecated': False}, + 'apl-1.0': {'id': 'APL-1.0', 'deprecated': False}, + 'app-s2p': {'id': 'App-s2p', 'deprecated': False}, + 'apsl-1.0': {'id': 'APSL-1.0', 'deprecated': False}, + 'apsl-1.1': {'id': 'APSL-1.1', 'deprecated': False}, + 'apsl-1.2': {'id': 'APSL-1.2', 'deprecated': False}, + 'apsl-2.0': {'id': 'APSL-2.0', 'deprecated': False}, + 'arphic-1999': {'id': 'Arphic-1999', 'deprecated': False}, + 'artistic-1.0': {'id': 'Artistic-1.0', 'deprecated': False}, + 'artistic-1.0-cl8': {'id': 'Artistic-1.0-cl8', 'deprecated': False}, + 'artistic-1.0-perl': {'id': 'Artistic-1.0-Perl', 'deprecated': False}, + 'artistic-2.0': {'id': 'Artistic-2.0', 'deprecated': False}, + 'aswf-digital-assets-1.0': {'id': 'ASWF-Digital-Assets-1.0', 'deprecated': False}, + 'aswf-digital-assets-1.1': {'id': 'ASWF-Digital-Assets-1.1', 'deprecated': False}, + 'baekmuk': {'id': 'Baekmuk', 'deprecated': False}, + 'bahyph': {'id': 'Bahyph', 'deprecated': False}, + 'barr': {'id': 'Barr', 'deprecated': False}, + 'bcrypt-solar-designer': {'id': 'bcrypt-Solar-Designer', 'deprecated': False}, + 'beerware': {'id': 'Beerware', 'deprecated': False}, + 'bitstream-charter': {'id': 'Bitstream-Charter', 'deprecated': False}, + 'bitstream-vera': {'id': 'Bitstream-Vera', 'deprecated': False}, + 'bittorrent-1.0': {'id': 'BitTorrent-1.0', 'deprecated': False}, + 'bittorrent-1.1': {'id': 'BitTorrent-1.1', 'deprecated': False}, + 'blessing': {'id': 'blessing', 'deprecated': False}, + 'blueoak-1.0.0': {'id': 'BlueOak-1.0.0', 'deprecated': False}, + 'boehm-gc': {'id': 'Boehm-GC', 'deprecated': False}, + 'borceux': {'id': 'Borceux', 'deprecated': False}, + 'brian-gladman-2-clause': {'id': 'Brian-Gladman-2-Clause', 'deprecated': False}, + 'brian-gladman-3-clause': {'id': 'Brian-Gladman-3-Clause', 'deprecated': False}, + 'bsd-1-clause': {'id': 'BSD-1-Clause', 'deprecated': False}, + 'bsd-2-clause': {'id': 'BSD-2-Clause', 'deprecated': False}, + 'bsd-2-clause-darwin': {'id': 'BSD-2-Clause-Darwin', 'deprecated': False}, + 'bsd-2-clause-first-lines': {'id': 'BSD-2-Clause-first-lines', 'deprecated': False}, + 'bsd-2-clause-freebsd': {'id': 'BSD-2-Clause-FreeBSD', 'deprecated': True}, + 'bsd-2-clause-netbsd': {'id': 'BSD-2-Clause-NetBSD', 'deprecated': True}, + 'bsd-2-clause-patent': {'id': 'BSD-2-Clause-Patent', 'deprecated': False}, + 'bsd-2-clause-views': {'id': 'BSD-2-Clause-Views', 'deprecated': False}, + 'bsd-3-clause': {'id': 'BSD-3-Clause', 'deprecated': False}, + 'bsd-3-clause-acpica': {'id': 'BSD-3-Clause-acpica', 'deprecated': False}, + 'bsd-3-clause-attribution': {'id': 'BSD-3-Clause-Attribution', 'deprecated': False}, + 'bsd-3-clause-clear': {'id': 'BSD-3-Clause-Clear', 'deprecated': False}, + 'bsd-3-clause-flex': {'id': 'BSD-3-Clause-flex', 'deprecated': False}, + 'bsd-3-clause-hp': {'id': 'BSD-3-Clause-HP', 'deprecated': False}, + 'bsd-3-clause-lbnl': {'id': 'BSD-3-Clause-LBNL', 'deprecated': False}, + 'bsd-3-clause-modification': {'id': 'BSD-3-Clause-Modification', 'deprecated': False}, + 'bsd-3-clause-no-military-license': {'id': 'BSD-3-Clause-No-Military-License', 'deprecated': False}, + 'bsd-3-clause-no-nuclear-license': {'id': 'BSD-3-Clause-No-Nuclear-License', 'deprecated': False}, + 'bsd-3-clause-no-nuclear-license-2014': {'id': 'BSD-3-Clause-No-Nuclear-License-2014', 'deprecated': False}, + 'bsd-3-clause-no-nuclear-warranty': {'id': 'BSD-3-Clause-No-Nuclear-Warranty', 'deprecated': False}, + 'bsd-3-clause-open-mpi': {'id': 'BSD-3-Clause-Open-MPI', 'deprecated': False}, + 'bsd-3-clause-sun': {'id': 'BSD-3-Clause-Sun', 'deprecated': False}, + 'bsd-4-clause': {'id': 'BSD-4-Clause', 'deprecated': False}, + 'bsd-4-clause-shortened': {'id': 'BSD-4-Clause-Shortened', 'deprecated': False}, + 'bsd-4-clause-uc': {'id': 'BSD-4-Clause-UC', 'deprecated': False}, + 'bsd-4.3reno': {'id': 'BSD-4.3RENO', 'deprecated': False}, + 'bsd-4.3tahoe': {'id': 'BSD-4.3TAHOE', 'deprecated': False}, + 'bsd-advertising-acknowledgement': {'id': 'BSD-Advertising-Acknowledgement', 'deprecated': False}, + 'bsd-attribution-hpnd-disclaimer': {'id': 'BSD-Attribution-HPND-disclaimer', 'deprecated': False}, + 'bsd-inferno-nettverk': {'id': 'BSD-Inferno-Nettverk', 'deprecated': False}, + 'bsd-protection': {'id': 'BSD-Protection', 'deprecated': False}, + 'bsd-source-beginning-file': {'id': 'BSD-Source-beginning-file', 'deprecated': False}, + 'bsd-source-code': {'id': 'BSD-Source-Code', 'deprecated': False}, + 'bsd-systemics': {'id': 'BSD-Systemics', 'deprecated': False}, + 'bsd-systemics-w3works': {'id': 'BSD-Systemics-W3Works', 'deprecated': False}, + 'bsl-1.0': {'id': 'BSL-1.0', 'deprecated': False}, + 'busl-1.1': {'id': 'BUSL-1.1', 'deprecated': False}, + 'bzip2-1.0.5': {'id': 'bzip2-1.0.5', 'deprecated': True}, + 'bzip2-1.0.6': {'id': 'bzip2-1.0.6', 'deprecated': False}, + 'c-uda-1.0': {'id': 'C-UDA-1.0', 'deprecated': False}, + 'cal-1.0': {'id': 'CAL-1.0', 'deprecated': False}, + 'cal-1.0-combined-work-exception': {'id': 'CAL-1.0-Combined-Work-Exception', 'deprecated': False}, + 'caldera': {'id': 'Caldera', 'deprecated': False}, + 'caldera-no-preamble': {'id': 'Caldera-no-preamble', 'deprecated': False}, + 'catharon': {'id': 'Catharon', 'deprecated': False}, + 'catosl-1.1': {'id': 'CATOSL-1.1', 'deprecated': False}, + 'cc-by-1.0': {'id': 'CC-BY-1.0', 'deprecated': False}, + 'cc-by-2.0': {'id': 'CC-BY-2.0', 'deprecated': False}, + 'cc-by-2.5': {'id': 'CC-BY-2.5', 'deprecated': False}, + 'cc-by-2.5-au': {'id': 'CC-BY-2.5-AU', 'deprecated': False}, + 'cc-by-3.0': {'id': 'CC-BY-3.0', 'deprecated': False}, + 'cc-by-3.0-at': {'id': 'CC-BY-3.0-AT', 'deprecated': False}, + 'cc-by-3.0-au': {'id': 'CC-BY-3.0-AU', 'deprecated': False}, + 'cc-by-3.0-de': {'id': 'CC-BY-3.0-DE', 'deprecated': False}, + 'cc-by-3.0-igo': {'id': 'CC-BY-3.0-IGO', 'deprecated': False}, + 'cc-by-3.0-nl': {'id': 'CC-BY-3.0-NL', 'deprecated': False}, + 'cc-by-3.0-us': {'id': 'CC-BY-3.0-US', 'deprecated': False}, + 'cc-by-4.0': {'id': 'CC-BY-4.0', 'deprecated': False}, + 'cc-by-nc-1.0': {'id': 'CC-BY-NC-1.0', 'deprecated': False}, + 'cc-by-nc-2.0': {'id': 'CC-BY-NC-2.0', 'deprecated': False}, + 'cc-by-nc-2.5': {'id': 'CC-BY-NC-2.5', 'deprecated': False}, + 'cc-by-nc-3.0': {'id': 'CC-BY-NC-3.0', 'deprecated': False}, + 'cc-by-nc-3.0-de': {'id': 'CC-BY-NC-3.0-DE', 'deprecated': False}, + 'cc-by-nc-4.0': {'id': 'CC-BY-NC-4.0', 'deprecated': False}, + 'cc-by-nc-nd-1.0': {'id': 'CC-BY-NC-ND-1.0', 'deprecated': False}, + 'cc-by-nc-nd-2.0': {'id': 'CC-BY-NC-ND-2.0', 'deprecated': False}, + 'cc-by-nc-nd-2.5': {'id': 'CC-BY-NC-ND-2.5', 'deprecated': False}, + 'cc-by-nc-nd-3.0': {'id': 'CC-BY-NC-ND-3.0', 'deprecated': False}, + 'cc-by-nc-nd-3.0-de': {'id': 'CC-BY-NC-ND-3.0-DE', 'deprecated': False}, + 'cc-by-nc-nd-3.0-igo': {'id': 'CC-BY-NC-ND-3.0-IGO', 'deprecated': False}, + 'cc-by-nc-nd-4.0': {'id': 'CC-BY-NC-ND-4.0', 'deprecated': False}, + 'cc-by-nc-sa-1.0': {'id': 'CC-BY-NC-SA-1.0', 'deprecated': False}, + 'cc-by-nc-sa-2.0': {'id': 'CC-BY-NC-SA-2.0', 'deprecated': False}, + 'cc-by-nc-sa-2.0-de': {'id': 'CC-BY-NC-SA-2.0-DE', 'deprecated': False}, + 'cc-by-nc-sa-2.0-fr': {'id': 'CC-BY-NC-SA-2.0-FR', 'deprecated': False}, + 'cc-by-nc-sa-2.0-uk': {'id': 'CC-BY-NC-SA-2.0-UK', 'deprecated': False}, + 'cc-by-nc-sa-2.5': {'id': 'CC-BY-NC-SA-2.5', 'deprecated': False}, + 'cc-by-nc-sa-3.0': {'id': 'CC-BY-NC-SA-3.0', 'deprecated': False}, + 'cc-by-nc-sa-3.0-de': {'id': 'CC-BY-NC-SA-3.0-DE', 'deprecated': False}, + 'cc-by-nc-sa-3.0-igo': {'id': 'CC-BY-NC-SA-3.0-IGO', 'deprecated': False}, + 'cc-by-nc-sa-4.0': {'id': 'CC-BY-NC-SA-4.0', 'deprecated': False}, + 'cc-by-nd-1.0': {'id': 'CC-BY-ND-1.0', 'deprecated': False}, + 'cc-by-nd-2.0': {'id': 'CC-BY-ND-2.0', 'deprecated': False}, + 'cc-by-nd-2.5': {'id': 'CC-BY-ND-2.5', 'deprecated': False}, + 'cc-by-nd-3.0': {'id': 'CC-BY-ND-3.0', 'deprecated': False}, + 'cc-by-nd-3.0-de': {'id': 'CC-BY-ND-3.0-DE', 'deprecated': False}, + 'cc-by-nd-4.0': {'id': 'CC-BY-ND-4.0', 'deprecated': False}, + 'cc-by-sa-1.0': {'id': 'CC-BY-SA-1.0', 'deprecated': False}, + 'cc-by-sa-2.0': {'id': 'CC-BY-SA-2.0', 'deprecated': False}, + 'cc-by-sa-2.0-uk': {'id': 'CC-BY-SA-2.0-UK', 'deprecated': False}, + 'cc-by-sa-2.1-jp': {'id': 'CC-BY-SA-2.1-JP', 'deprecated': False}, + 'cc-by-sa-2.5': {'id': 'CC-BY-SA-2.5', 'deprecated': False}, + 'cc-by-sa-3.0': {'id': 'CC-BY-SA-3.0', 'deprecated': False}, + 'cc-by-sa-3.0-at': {'id': 'CC-BY-SA-3.0-AT', 'deprecated': False}, + 'cc-by-sa-3.0-de': {'id': 'CC-BY-SA-3.0-DE', 'deprecated': False}, + 'cc-by-sa-3.0-igo': {'id': 'CC-BY-SA-3.0-IGO', 'deprecated': False}, + 'cc-by-sa-4.0': {'id': 'CC-BY-SA-4.0', 'deprecated': False}, + 'cc-pddc': {'id': 'CC-PDDC', 'deprecated': False}, + 'cc0-1.0': {'id': 'CC0-1.0', 'deprecated': False}, + 'cddl-1.0': {'id': 'CDDL-1.0', 'deprecated': False}, + 'cddl-1.1': {'id': 'CDDL-1.1', 'deprecated': False}, + 'cdl-1.0': {'id': 'CDL-1.0', 'deprecated': False}, + 'cdla-permissive-1.0': {'id': 'CDLA-Permissive-1.0', 'deprecated': False}, + 'cdla-permissive-2.0': {'id': 'CDLA-Permissive-2.0', 'deprecated': False}, + 'cdla-sharing-1.0': {'id': 'CDLA-Sharing-1.0', 'deprecated': False}, + 'cecill-1.0': {'id': 'CECILL-1.0', 'deprecated': False}, + 'cecill-1.1': {'id': 'CECILL-1.1', 'deprecated': False}, + 'cecill-2.0': {'id': 'CECILL-2.0', 'deprecated': False}, + 'cecill-2.1': {'id': 'CECILL-2.1', 'deprecated': False}, + 'cecill-b': {'id': 'CECILL-B', 'deprecated': False}, + 'cecill-c': {'id': 'CECILL-C', 'deprecated': False}, + 'cern-ohl-1.1': {'id': 'CERN-OHL-1.1', 'deprecated': False}, + 'cern-ohl-1.2': {'id': 'CERN-OHL-1.2', 'deprecated': False}, + 'cern-ohl-p-2.0': {'id': 'CERN-OHL-P-2.0', 'deprecated': False}, + 'cern-ohl-s-2.0': {'id': 'CERN-OHL-S-2.0', 'deprecated': False}, + 'cern-ohl-w-2.0': {'id': 'CERN-OHL-W-2.0', 'deprecated': False}, + 'cfitsio': {'id': 'CFITSIO', 'deprecated': False}, + 'check-cvs': {'id': 'check-cvs', 'deprecated': False}, + 'checkmk': {'id': 'checkmk', 'deprecated': False}, + 'clartistic': {'id': 'ClArtistic', 'deprecated': False}, + 'clips': {'id': 'Clips', 'deprecated': False}, + 'cmu-mach': {'id': 'CMU-Mach', 'deprecated': False}, + 'cmu-mach-nodoc': {'id': 'CMU-Mach-nodoc', 'deprecated': False}, + 'cnri-jython': {'id': 'CNRI-Jython', 'deprecated': False}, + 'cnri-python': {'id': 'CNRI-Python', 'deprecated': False}, + 'cnri-python-gpl-compatible': {'id': 'CNRI-Python-GPL-Compatible', 'deprecated': False}, + 'coil-1.0': {'id': 'COIL-1.0', 'deprecated': False}, + 'community-spec-1.0': {'id': 'Community-Spec-1.0', 'deprecated': False}, + 'condor-1.1': {'id': 'Condor-1.1', 'deprecated': False}, + 'copyleft-next-0.3.0': {'id': 'copyleft-next-0.3.0', 'deprecated': False}, + 'copyleft-next-0.3.1': {'id': 'copyleft-next-0.3.1', 'deprecated': False}, + 'cornell-lossless-jpeg': {'id': 'Cornell-Lossless-JPEG', 'deprecated': False}, + 'cpal-1.0': {'id': 'CPAL-1.0', 'deprecated': False}, + 'cpl-1.0': {'id': 'CPL-1.0', 'deprecated': False}, + 'cpol-1.02': {'id': 'CPOL-1.02', 'deprecated': False}, + 'cronyx': {'id': 'Cronyx', 'deprecated': False}, + 'crossword': {'id': 'Crossword', 'deprecated': False}, + 'crystalstacker': {'id': 'CrystalStacker', 'deprecated': False}, + 'cua-opl-1.0': {'id': 'CUA-OPL-1.0', 'deprecated': False}, + 'cube': {'id': 'Cube', 'deprecated': False}, + 'curl': {'id': 'curl', 'deprecated': False}, + 'cve-tou': {'id': 'cve-tou', 'deprecated': False}, + 'd-fsl-1.0': {'id': 'D-FSL-1.0', 'deprecated': False}, + 'dec-3-clause': {'id': 'DEC-3-Clause', 'deprecated': False}, + 'diffmark': {'id': 'diffmark', 'deprecated': False}, + 'dl-de-by-2.0': {'id': 'DL-DE-BY-2.0', 'deprecated': False}, + 'dl-de-zero-2.0': {'id': 'DL-DE-ZERO-2.0', 'deprecated': False}, + 'doc': {'id': 'DOC', 'deprecated': False}, + 'docbook-schema': {'id': 'DocBook-Schema', 'deprecated': False}, + 'docbook-xml': {'id': 'DocBook-XML', 'deprecated': False}, + 'dotseqn': {'id': 'Dotseqn', 'deprecated': False}, + 'drl-1.0': {'id': 'DRL-1.0', 'deprecated': False}, + 'drl-1.1': {'id': 'DRL-1.1', 'deprecated': False}, + 'dsdp': {'id': 'DSDP', 'deprecated': False}, + 'dtoa': {'id': 'dtoa', 'deprecated': False}, + 'dvipdfm': {'id': 'dvipdfm', 'deprecated': False}, + 'ecl-1.0': {'id': 'ECL-1.0', 'deprecated': False}, + 'ecl-2.0': {'id': 'ECL-2.0', 'deprecated': False}, + 'ecos-2.0': {'id': 'eCos-2.0', 'deprecated': True}, + 'efl-1.0': {'id': 'EFL-1.0', 'deprecated': False}, + 'efl-2.0': {'id': 'EFL-2.0', 'deprecated': False}, + 'egenix': {'id': 'eGenix', 'deprecated': False}, + 'elastic-2.0': {'id': 'Elastic-2.0', 'deprecated': False}, + 'entessa': {'id': 'Entessa', 'deprecated': False}, + 'epics': {'id': 'EPICS', 'deprecated': False}, + 'epl-1.0': {'id': 'EPL-1.0', 'deprecated': False}, + 'epl-2.0': {'id': 'EPL-2.0', 'deprecated': False}, + 'erlpl-1.1': {'id': 'ErlPL-1.1', 'deprecated': False}, + 'etalab-2.0': {'id': 'etalab-2.0', 'deprecated': False}, + 'eudatagrid': {'id': 'EUDatagrid', 'deprecated': False}, + 'eupl-1.0': {'id': 'EUPL-1.0', 'deprecated': False}, + 'eupl-1.1': {'id': 'EUPL-1.1', 'deprecated': False}, + 'eupl-1.2': {'id': 'EUPL-1.2', 'deprecated': False}, + 'eurosym': {'id': 'Eurosym', 'deprecated': False}, + 'fair': {'id': 'Fair', 'deprecated': False}, + 'fbm': {'id': 'FBM', 'deprecated': False}, + 'fdk-aac': {'id': 'FDK-AAC', 'deprecated': False}, + 'ferguson-twofish': {'id': 'Ferguson-Twofish', 'deprecated': False}, + 'frameworx-1.0': {'id': 'Frameworx-1.0', 'deprecated': False}, + 'freebsd-doc': {'id': 'FreeBSD-DOC', 'deprecated': False}, + 'freeimage': {'id': 'FreeImage', 'deprecated': False}, + 'fsfap': {'id': 'FSFAP', 'deprecated': False}, + 'fsfap-no-warranty-disclaimer': {'id': 'FSFAP-no-warranty-disclaimer', 'deprecated': False}, + 'fsful': {'id': 'FSFUL', 'deprecated': False}, + 'fsfullr': {'id': 'FSFULLR', 'deprecated': False}, + 'fsfullrwd': {'id': 'FSFULLRWD', 'deprecated': False}, + 'ftl': {'id': 'FTL', 'deprecated': False}, + 'furuseth': {'id': 'Furuseth', 'deprecated': False}, + 'fwlw': {'id': 'fwlw', 'deprecated': False}, + 'gcr-docs': {'id': 'GCR-docs', 'deprecated': False}, + 'gd': {'id': 'GD', 'deprecated': False}, + 'gfdl-1.1': {'id': 'GFDL-1.1', 'deprecated': True}, + 'gfdl-1.1-invariants-only': {'id': 'GFDL-1.1-invariants-only', 'deprecated': False}, + 'gfdl-1.1-invariants-or-later': {'id': 'GFDL-1.1-invariants-or-later', 'deprecated': False}, + 'gfdl-1.1-no-invariants-only': {'id': 'GFDL-1.1-no-invariants-only', 'deprecated': False}, + 'gfdl-1.1-no-invariants-or-later': {'id': 'GFDL-1.1-no-invariants-or-later', 'deprecated': False}, + 'gfdl-1.1-only': {'id': 'GFDL-1.1-only', 'deprecated': False}, + 'gfdl-1.1-or-later': {'id': 'GFDL-1.1-or-later', 'deprecated': False}, + 'gfdl-1.2': {'id': 'GFDL-1.2', 'deprecated': True}, + 'gfdl-1.2-invariants-only': {'id': 'GFDL-1.2-invariants-only', 'deprecated': False}, + 'gfdl-1.2-invariants-or-later': {'id': 'GFDL-1.2-invariants-or-later', 'deprecated': False}, + 'gfdl-1.2-no-invariants-only': {'id': 'GFDL-1.2-no-invariants-only', 'deprecated': False}, + 'gfdl-1.2-no-invariants-or-later': {'id': 'GFDL-1.2-no-invariants-or-later', 'deprecated': False}, + 'gfdl-1.2-only': {'id': 'GFDL-1.2-only', 'deprecated': False}, + 'gfdl-1.2-or-later': {'id': 'GFDL-1.2-or-later', 'deprecated': False}, + 'gfdl-1.3': {'id': 'GFDL-1.3', 'deprecated': True}, + 'gfdl-1.3-invariants-only': {'id': 'GFDL-1.3-invariants-only', 'deprecated': False}, + 'gfdl-1.3-invariants-or-later': {'id': 'GFDL-1.3-invariants-or-later', 'deprecated': False}, + 'gfdl-1.3-no-invariants-only': {'id': 'GFDL-1.3-no-invariants-only', 'deprecated': False}, + 'gfdl-1.3-no-invariants-or-later': {'id': 'GFDL-1.3-no-invariants-or-later', 'deprecated': False}, + 'gfdl-1.3-only': {'id': 'GFDL-1.3-only', 'deprecated': False}, + 'gfdl-1.3-or-later': {'id': 'GFDL-1.3-or-later', 'deprecated': False}, + 'giftware': {'id': 'Giftware', 'deprecated': False}, + 'gl2ps': {'id': 'GL2PS', 'deprecated': False}, + 'glide': {'id': 'Glide', 'deprecated': False}, + 'glulxe': {'id': 'Glulxe', 'deprecated': False}, + 'glwtpl': {'id': 'GLWTPL', 'deprecated': False}, + 'gnuplot': {'id': 'gnuplot', 'deprecated': False}, + 'gpl-1.0': {'id': 'GPL-1.0', 'deprecated': True}, + 'gpl-1.0+': {'id': 'GPL-1.0+', 'deprecated': True}, + 'gpl-1.0-only': {'id': 'GPL-1.0-only', 'deprecated': False}, + 'gpl-1.0-or-later': {'id': 'GPL-1.0-or-later', 'deprecated': False}, + 'gpl-2.0': {'id': 'GPL-2.0', 'deprecated': True}, + 'gpl-2.0+': {'id': 'GPL-2.0+', 'deprecated': True}, + 'gpl-2.0-only': {'id': 'GPL-2.0-only', 'deprecated': False}, + 'gpl-2.0-or-later': {'id': 'GPL-2.0-or-later', 'deprecated': False}, + 'gpl-2.0-with-autoconf-exception': {'id': 'GPL-2.0-with-autoconf-exception', 'deprecated': True}, + 'gpl-2.0-with-bison-exception': {'id': 'GPL-2.0-with-bison-exception', 'deprecated': True}, + 'gpl-2.0-with-classpath-exception': {'id': 'GPL-2.0-with-classpath-exception', 'deprecated': True}, + 'gpl-2.0-with-font-exception': {'id': 'GPL-2.0-with-font-exception', 'deprecated': True}, + 'gpl-2.0-with-gcc-exception': {'id': 'GPL-2.0-with-GCC-exception', 'deprecated': True}, + 'gpl-3.0': {'id': 'GPL-3.0', 'deprecated': True}, + 'gpl-3.0+': {'id': 'GPL-3.0+', 'deprecated': True}, + 'gpl-3.0-only': {'id': 'GPL-3.0-only', 'deprecated': False}, + 'gpl-3.0-or-later': {'id': 'GPL-3.0-or-later', 'deprecated': False}, + 'gpl-3.0-with-autoconf-exception': {'id': 'GPL-3.0-with-autoconf-exception', 'deprecated': True}, + 'gpl-3.0-with-gcc-exception': {'id': 'GPL-3.0-with-GCC-exception', 'deprecated': True}, + 'graphics-gems': {'id': 'Graphics-Gems', 'deprecated': False}, + 'gsoap-1.3b': {'id': 'gSOAP-1.3b', 'deprecated': False}, + 'gtkbook': {'id': 'gtkbook', 'deprecated': False}, + 'gutmann': {'id': 'Gutmann', 'deprecated': False}, + 'haskellreport': {'id': 'HaskellReport', 'deprecated': False}, + 'hdparm': {'id': 'hdparm', 'deprecated': False}, + 'hidapi': {'id': 'HIDAPI', 'deprecated': False}, + 'hippocratic-2.1': {'id': 'Hippocratic-2.1', 'deprecated': False}, + 'hp-1986': {'id': 'HP-1986', 'deprecated': False}, + 'hp-1989': {'id': 'HP-1989', 'deprecated': False}, + 'hpnd': {'id': 'HPND', 'deprecated': False}, + 'hpnd-dec': {'id': 'HPND-DEC', 'deprecated': False}, + 'hpnd-doc': {'id': 'HPND-doc', 'deprecated': False}, + 'hpnd-doc-sell': {'id': 'HPND-doc-sell', 'deprecated': False}, + 'hpnd-export-us': {'id': 'HPND-export-US', 'deprecated': False}, + 'hpnd-export-us-acknowledgement': {'id': 'HPND-export-US-acknowledgement', 'deprecated': False}, + 'hpnd-export-us-modify': {'id': 'HPND-export-US-modify', 'deprecated': False}, + 'hpnd-export2-us': {'id': 'HPND-export2-US', 'deprecated': False}, + 'hpnd-fenneberg-livingston': {'id': 'HPND-Fenneberg-Livingston', 'deprecated': False}, + 'hpnd-inria-imag': {'id': 'HPND-INRIA-IMAG', 'deprecated': False}, + 'hpnd-intel': {'id': 'HPND-Intel', 'deprecated': False}, + 'hpnd-kevlin-henney': {'id': 'HPND-Kevlin-Henney', 'deprecated': False}, + 'hpnd-markus-kuhn': {'id': 'HPND-Markus-Kuhn', 'deprecated': False}, + 'hpnd-merchantability-variant': {'id': 'HPND-merchantability-variant', 'deprecated': False}, + 'hpnd-mit-disclaimer': {'id': 'HPND-MIT-disclaimer', 'deprecated': False}, + 'hpnd-netrek': {'id': 'HPND-Netrek', 'deprecated': False}, + 'hpnd-pbmplus': {'id': 'HPND-Pbmplus', 'deprecated': False}, + 'hpnd-sell-mit-disclaimer-xserver': {'id': 'HPND-sell-MIT-disclaimer-xserver', 'deprecated': False}, + 'hpnd-sell-regexpr': {'id': 'HPND-sell-regexpr', 'deprecated': False}, + 'hpnd-sell-variant': {'id': 'HPND-sell-variant', 'deprecated': False}, + 'hpnd-sell-variant-mit-disclaimer': {'id': 'HPND-sell-variant-MIT-disclaimer', 'deprecated': False}, + 'hpnd-sell-variant-mit-disclaimer-rev': {'id': 'HPND-sell-variant-MIT-disclaimer-rev', 'deprecated': False}, + 'hpnd-uc': {'id': 'HPND-UC', 'deprecated': False}, + 'hpnd-uc-export-us': {'id': 'HPND-UC-export-US', 'deprecated': False}, + 'htmltidy': {'id': 'HTMLTIDY', 'deprecated': False}, + 'ibm-pibs': {'id': 'IBM-pibs', 'deprecated': False}, + 'icu': {'id': 'ICU', 'deprecated': False}, + 'iec-code-components-eula': {'id': 'IEC-Code-Components-EULA', 'deprecated': False}, + 'ijg': {'id': 'IJG', 'deprecated': False}, + 'ijg-short': {'id': 'IJG-short', 'deprecated': False}, + 'imagemagick': {'id': 'ImageMagick', 'deprecated': False}, + 'imatix': {'id': 'iMatix', 'deprecated': False}, + 'imlib2': {'id': 'Imlib2', 'deprecated': False}, + 'info-zip': {'id': 'Info-ZIP', 'deprecated': False}, + 'inner-net-2.0': {'id': 'Inner-Net-2.0', 'deprecated': False}, + 'intel': {'id': 'Intel', 'deprecated': False}, + 'intel-acpi': {'id': 'Intel-ACPI', 'deprecated': False}, + 'interbase-1.0': {'id': 'Interbase-1.0', 'deprecated': False}, + 'ipa': {'id': 'IPA', 'deprecated': False}, + 'ipl-1.0': {'id': 'IPL-1.0', 'deprecated': False}, + 'isc': {'id': 'ISC', 'deprecated': False}, + 'isc-veillard': {'id': 'ISC-Veillard', 'deprecated': False}, + 'jam': {'id': 'Jam', 'deprecated': False}, + 'jasper-2.0': {'id': 'JasPer-2.0', 'deprecated': False}, + 'jpl-image': {'id': 'JPL-image', 'deprecated': False}, + 'jpnic': {'id': 'JPNIC', 'deprecated': False}, + 'json': {'id': 'JSON', 'deprecated': False}, + 'kastrup': {'id': 'Kastrup', 'deprecated': False}, + 'kazlib': {'id': 'Kazlib', 'deprecated': False}, + 'knuth-ctan': {'id': 'Knuth-CTAN', 'deprecated': False}, + 'lal-1.2': {'id': 'LAL-1.2', 'deprecated': False}, + 'lal-1.3': {'id': 'LAL-1.3', 'deprecated': False}, + 'latex2e': {'id': 'Latex2e', 'deprecated': False}, + 'latex2e-translated-notice': {'id': 'Latex2e-translated-notice', 'deprecated': False}, + 'leptonica': {'id': 'Leptonica', 'deprecated': False}, + 'lgpl-2.0': {'id': 'LGPL-2.0', 'deprecated': True}, + 'lgpl-2.0+': {'id': 'LGPL-2.0+', 'deprecated': True}, + 'lgpl-2.0-only': {'id': 'LGPL-2.0-only', 'deprecated': False}, + 'lgpl-2.0-or-later': {'id': 'LGPL-2.0-or-later', 'deprecated': False}, + 'lgpl-2.1': {'id': 'LGPL-2.1', 'deprecated': True}, + 'lgpl-2.1+': {'id': 'LGPL-2.1+', 'deprecated': True}, + 'lgpl-2.1-only': {'id': 'LGPL-2.1-only', 'deprecated': False}, + 'lgpl-2.1-or-later': {'id': 'LGPL-2.1-or-later', 'deprecated': False}, + 'lgpl-3.0': {'id': 'LGPL-3.0', 'deprecated': True}, + 'lgpl-3.0+': {'id': 'LGPL-3.0+', 'deprecated': True}, + 'lgpl-3.0-only': {'id': 'LGPL-3.0-only', 'deprecated': False}, + 'lgpl-3.0-or-later': {'id': 'LGPL-3.0-or-later', 'deprecated': False}, + 'lgpllr': {'id': 'LGPLLR', 'deprecated': False}, + 'libpng': {'id': 'Libpng', 'deprecated': False}, + 'libpng-2.0': {'id': 'libpng-2.0', 'deprecated': False}, + 'libselinux-1.0': {'id': 'libselinux-1.0', 'deprecated': False}, + 'libtiff': {'id': 'libtiff', 'deprecated': False}, + 'libutil-david-nugent': {'id': 'libutil-David-Nugent', 'deprecated': False}, + 'liliq-p-1.1': {'id': 'LiLiQ-P-1.1', 'deprecated': False}, + 'liliq-r-1.1': {'id': 'LiLiQ-R-1.1', 'deprecated': False}, + 'liliq-rplus-1.1': {'id': 'LiLiQ-Rplus-1.1', 'deprecated': False}, + 'linux-man-pages-1-para': {'id': 'Linux-man-pages-1-para', 'deprecated': False}, + 'linux-man-pages-copyleft': {'id': 'Linux-man-pages-copyleft', 'deprecated': False}, + 'linux-man-pages-copyleft-2-para': {'id': 'Linux-man-pages-copyleft-2-para', 'deprecated': False}, + 'linux-man-pages-copyleft-var': {'id': 'Linux-man-pages-copyleft-var', 'deprecated': False}, + 'linux-openib': {'id': 'Linux-OpenIB', 'deprecated': False}, + 'loop': {'id': 'LOOP', 'deprecated': False}, + 'lpd-document': {'id': 'LPD-document', 'deprecated': False}, + 'lpl-1.0': {'id': 'LPL-1.0', 'deprecated': False}, + 'lpl-1.02': {'id': 'LPL-1.02', 'deprecated': False}, + 'lppl-1.0': {'id': 'LPPL-1.0', 'deprecated': False}, + 'lppl-1.1': {'id': 'LPPL-1.1', 'deprecated': False}, + 'lppl-1.2': {'id': 'LPPL-1.2', 'deprecated': False}, + 'lppl-1.3a': {'id': 'LPPL-1.3a', 'deprecated': False}, + 'lppl-1.3c': {'id': 'LPPL-1.3c', 'deprecated': False}, + 'lsof': {'id': 'lsof', 'deprecated': False}, + 'lucida-bitmap-fonts': {'id': 'Lucida-Bitmap-Fonts', 'deprecated': False}, + 'lzma-sdk-9.11-to-9.20': {'id': 'LZMA-SDK-9.11-to-9.20', 'deprecated': False}, + 'lzma-sdk-9.22': {'id': 'LZMA-SDK-9.22', 'deprecated': False}, + 'mackerras-3-clause': {'id': 'Mackerras-3-Clause', 'deprecated': False}, + 'mackerras-3-clause-acknowledgment': {'id': 'Mackerras-3-Clause-acknowledgment', 'deprecated': False}, + 'magaz': {'id': 'magaz', 'deprecated': False}, + 'mailprio': {'id': 'mailprio', 'deprecated': False}, + 'makeindex': {'id': 'MakeIndex', 'deprecated': False}, + 'martin-birgmeier': {'id': 'Martin-Birgmeier', 'deprecated': False}, + 'mcphee-slideshow': {'id': 'McPhee-slideshow', 'deprecated': False}, + 'metamail': {'id': 'metamail', 'deprecated': False}, + 'minpack': {'id': 'Minpack', 'deprecated': False}, + 'miros': {'id': 'MirOS', 'deprecated': False}, + 'mit': {'id': 'MIT', 'deprecated': False}, + 'mit-0': {'id': 'MIT-0', 'deprecated': False}, + 'mit-advertising': {'id': 'MIT-advertising', 'deprecated': False}, + 'mit-cmu': {'id': 'MIT-CMU', 'deprecated': False}, + 'mit-enna': {'id': 'MIT-enna', 'deprecated': False}, + 'mit-feh': {'id': 'MIT-feh', 'deprecated': False}, + 'mit-festival': {'id': 'MIT-Festival', 'deprecated': False}, + 'mit-khronos-old': {'id': 'MIT-Khronos-old', 'deprecated': False}, + 'mit-modern-variant': {'id': 'MIT-Modern-Variant', 'deprecated': False}, + 'mit-open-group': {'id': 'MIT-open-group', 'deprecated': False}, + 'mit-testregex': {'id': 'MIT-testregex', 'deprecated': False}, + 'mit-wu': {'id': 'MIT-Wu', 'deprecated': False}, + 'mitnfa': {'id': 'MITNFA', 'deprecated': False}, + 'mmixware': {'id': 'MMIXware', 'deprecated': False}, + 'motosoto': {'id': 'Motosoto', 'deprecated': False}, + 'mpeg-ssg': {'id': 'MPEG-SSG', 'deprecated': False}, + 'mpi-permissive': {'id': 'mpi-permissive', 'deprecated': False}, + 'mpich2': {'id': 'mpich2', 'deprecated': False}, + 'mpl-1.0': {'id': 'MPL-1.0', 'deprecated': False}, + 'mpl-1.1': {'id': 'MPL-1.1', 'deprecated': False}, + 'mpl-2.0': {'id': 'MPL-2.0', 'deprecated': False}, + 'mpl-2.0-no-copyleft-exception': {'id': 'MPL-2.0-no-copyleft-exception', 'deprecated': False}, + 'mplus': {'id': 'mplus', 'deprecated': False}, + 'ms-lpl': {'id': 'MS-LPL', 'deprecated': False}, + 'ms-pl': {'id': 'MS-PL', 'deprecated': False}, + 'ms-rl': {'id': 'MS-RL', 'deprecated': False}, + 'mtll': {'id': 'MTLL', 'deprecated': False}, + 'mulanpsl-1.0': {'id': 'MulanPSL-1.0', 'deprecated': False}, + 'mulanpsl-2.0': {'id': 'MulanPSL-2.0', 'deprecated': False}, + 'multics': {'id': 'Multics', 'deprecated': False}, + 'mup': {'id': 'Mup', 'deprecated': False}, + 'naist-2003': {'id': 'NAIST-2003', 'deprecated': False}, + 'nasa-1.3': {'id': 'NASA-1.3', 'deprecated': False}, + 'naumen': {'id': 'Naumen', 'deprecated': False}, + 'nbpl-1.0': {'id': 'NBPL-1.0', 'deprecated': False}, + 'ncbi-pd': {'id': 'NCBI-PD', 'deprecated': False}, + 'ncgl-uk-2.0': {'id': 'NCGL-UK-2.0', 'deprecated': False}, + 'ncl': {'id': 'NCL', 'deprecated': False}, + 'ncsa': {'id': 'NCSA', 'deprecated': False}, + 'net-snmp': {'id': 'Net-SNMP', 'deprecated': True}, + 'netcdf': {'id': 'NetCDF', 'deprecated': False}, + 'newsletr': {'id': 'Newsletr', 'deprecated': False}, + 'ngpl': {'id': 'NGPL', 'deprecated': False}, + 'nicta-1.0': {'id': 'NICTA-1.0', 'deprecated': False}, + 'nist-pd': {'id': 'NIST-PD', 'deprecated': False}, + 'nist-pd-fallback': {'id': 'NIST-PD-fallback', 'deprecated': False}, + 'nist-software': {'id': 'NIST-Software', 'deprecated': False}, + 'nlod-1.0': {'id': 'NLOD-1.0', 'deprecated': False}, + 'nlod-2.0': {'id': 'NLOD-2.0', 'deprecated': False}, + 'nlpl': {'id': 'NLPL', 'deprecated': False}, + 'nokia': {'id': 'Nokia', 'deprecated': False}, + 'nosl': {'id': 'NOSL', 'deprecated': False}, + 'noweb': {'id': 'Noweb', 'deprecated': False}, + 'npl-1.0': {'id': 'NPL-1.0', 'deprecated': False}, + 'npl-1.1': {'id': 'NPL-1.1', 'deprecated': False}, + 'nposl-3.0': {'id': 'NPOSL-3.0', 'deprecated': False}, + 'nrl': {'id': 'NRL', 'deprecated': False}, + 'ntp': {'id': 'NTP', 'deprecated': False}, + 'ntp-0': {'id': 'NTP-0', 'deprecated': False}, + 'nunit': {'id': 'Nunit', 'deprecated': True}, + 'o-uda-1.0': {'id': 'O-UDA-1.0', 'deprecated': False}, + 'oar': {'id': 'OAR', 'deprecated': False}, + 'occt-pl': {'id': 'OCCT-PL', 'deprecated': False}, + 'oclc-2.0': {'id': 'OCLC-2.0', 'deprecated': False}, + 'odbl-1.0': {'id': 'ODbL-1.0', 'deprecated': False}, + 'odc-by-1.0': {'id': 'ODC-By-1.0', 'deprecated': False}, + 'offis': {'id': 'OFFIS', 'deprecated': False}, + 'ofl-1.0': {'id': 'OFL-1.0', 'deprecated': False}, + 'ofl-1.0-no-rfn': {'id': 'OFL-1.0-no-RFN', 'deprecated': False}, + 'ofl-1.0-rfn': {'id': 'OFL-1.0-RFN', 'deprecated': False}, + 'ofl-1.1': {'id': 'OFL-1.1', 'deprecated': False}, + 'ofl-1.1-no-rfn': {'id': 'OFL-1.1-no-RFN', 'deprecated': False}, + 'ofl-1.1-rfn': {'id': 'OFL-1.1-RFN', 'deprecated': False}, + 'ogc-1.0': {'id': 'OGC-1.0', 'deprecated': False}, + 'ogdl-taiwan-1.0': {'id': 'OGDL-Taiwan-1.0', 'deprecated': False}, + 'ogl-canada-2.0': {'id': 'OGL-Canada-2.0', 'deprecated': False}, + 'ogl-uk-1.0': {'id': 'OGL-UK-1.0', 'deprecated': False}, + 'ogl-uk-2.0': {'id': 'OGL-UK-2.0', 'deprecated': False}, + 'ogl-uk-3.0': {'id': 'OGL-UK-3.0', 'deprecated': False}, + 'ogtsl': {'id': 'OGTSL', 'deprecated': False}, + 'oldap-1.1': {'id': 'OLDAP-1.1', 'deprecated': False}, + 'oldap-1.2': {'id': 'OLDAP-1.2', 'deprecated': False}, + 'oldap-1.3': {'id': 'OLDAP-1.3', 'deprecated': False}, + 'oldap-1.4': {'id': 'OLDAP-1.4', 'deprecated': False}, + 'oldap-2.0': {'id': 'OLDAP-2.0', 'deprecated': False}, + 'oldap-2.0.1': {'id': 'OLDAP-2.0.1', 'deprecated': False}, + 'oldap-2.1': {'id': 'OLDAP-2.1', 'deprecated': False}, + 'oldap-2.2': {'id': 'OLDAP-2.2', 'deprecated': False}, + 'oldap-2.2.1': {'id': 'OLDAP-2.2.1', 'deprecated': False}, + 'oldap-2.2.2': {'id': 'OLDAP-2.2.2', 'deprecated': False}, + 'oldap-2.3': {'id': 'OLDAP-2.3', 'deprecated': False}, + 'oldap-2.4': {'id': 'OLDAP-2.4', 'deprecated': False}, + 'oldap-2.5': {'id': 'OLDAP-2.5', 'deprecated': False}, + 'oldap-2.6': {'id': 'OLDAP-2.6', 'deprecated': False}, + 'oldap-2.7': {'id': 'OLDAP-2.7', 'deprecated': False}, + 'oldap-2.8': {'id': 'OLDAP-2.8', 'deprecated': False}, + 'olfl-1.3': {'id': 'OLFL-1.3', 'deprecated': False}, + 'oml': {'id': 'OML', 'deprecated': False}, + 'openpbs-2.3': {'id': 'OpenPBS-2.3', 'deprecated': False}, + 'openssl': {'id': 'OpenSSL', 'deprecated': False}, + 'openssl-standalone': {'id': 'OpenSSL-standalone', 'deprecated': False}, + 'openvision': {'id': 'OpenVision', 'deprecated': False}, + 'opl-1.0': {'id': 'OPL-1.0', 'deprecated': False}, + 'opl-uk-3.0': {'id': 'OPL-UK-3.0', 'deprecated': False}, + 'opubl-1.0': {'id': 'OPUBL-1.0', 'deprecated': False}, + 'oset-pl-2.1': {'id': 'OSET-PL-2.1', 'deprecated': False}, + 'osl-1.0': {'id': 'OSL-1.0', 'deprecated': False}, + 'osl-1.1': {'id': 'OSL-1.1', 'deprecated': False}, + 'osl-2.0': {'id': 'OSL-2.0', 'deprecated': False}, + 'osl-2.1': {'id': 'OSL-2.1', 'deprecated': False}, + 'osl-3.0': {'id': 'OSL-3.0', 'deprecated': False}, + 'padl': {'id': 'PADL', 'deprecated': False}, + 'parity-6.0.0': {'id': 'Parity-6.0.0', 'deprecated': False}, + 'parity-7.0.0': {'id': 'Parity-7.0.0', 'deprecated': False}, + 'pddl-1.0': {'id': 'PDDL-1.0', 'deprecated': False}, + 'php-3.0': {'id': 'PHP-3.0', 'deprecated': False}, + 'php-3.01': {'id': 'PHP-3.01', 'deprecated': False}, + 'pixar': {'id': 'Pixar', 'deprecated': False}, + 'pkgconf': {'id': 'pkgconf', 'deprecated': False}, + 'plexus': {'id': 'Plexus', 'deprecated': False}, + 'pnmstitch': {'id': 'pnmstitch', 'deprecated': False}, + 'polyform-noncommercial-1.0.0': {'id': 'PolyForm-Noncommercial-1.0.0', 'deprecated': False}, + 'polyform-small-business-1.0.0': {'id': 'PolyForm-Small-Business-1.0.0', 'deprecated': False}, + 'postgresql': {'id': 'PostgreSQL', 'deprecated': False}, + 'ppl': {'id': 'PPL', 'deprecated': False}, + 'psf-2.0': {'id': 'PSF-2.0', 'deprecated': False}, + 'psfrag': {'id': 'psfrag', 'deprecated': False}, + 'psutils': {'id': 'psutils', 'deprecated': False}, + 'python-2.0': {'id': 'Python-2.0', 'deprecated': False}, + 'python-2.0.1': {'id': 'Python-2.0.1', 'deprecated': False}, + 'python-ldap': {'id': 'python-ldap', 'deprecated': False}, + 'qhull': {'id': 'Qhull', 'deprecated': False}, + 'qpl-1.0': {'id': 'QPL-1.0', 'deprecated': False}, + 'qpl-1.0-inria-2004': {'id': 'QPL-1.0-INRIA-2004', 'deprecated': False}, + 'radvd': {'id': 'radvd', 'deprecated': False}, + 'rdisc': {'id': 'Rdisc', 'deprecated': False}, + 'rhecos-1.1': {'id': 'RHeCos-1.1', 'deprecated': False}, + 'rpl-1.1': {'id': 'RPL-1.1', 'deprecated': False}, + 'rpl-1.5': {'id': 'RPL-1.5', 'deprecated': False}, + 'rpsl-1.0': {'id': 'RPSL-1.0', 'deprecated': False}, + 'rsa-md': {'id': 'RSA-MD', 'deprecated': False}, + 'rscpl': {'id': 'RSCPL', 'deprecated': False}, + 'ruby': {'id': 'Ruby', 'deprecated': False}, + 'ruby-pty': {'id': 'Ruby-pty', 'deprecated': False}, + 'sax-pd': {'id': 'SAX-PD', 'deprecated': False}, + 'sax-pd-2.0': {'id': 'SAX-PD-2.0', 'deprecated': False}, + 'saxpath': {'id': 'Saxpath', 'deprecated': False}, + 'scea': {'id': 'SCEA', 'deprecated': False}, + 'schemereport': {'id': 'SchemeReport', 'deprecated': False}, + 'sendmail': {'id': 'Sendmail', 'deprecated': False}, + 'sendmail-8.23': {'id': 'Sendmail-8.23', 'deprecated': False}, + 'sgi-b-1.0': {'id': 'SGI-B-1.0', 'deprecated': False}, + 'sgi-b-1.1': {'id': 'SGI-B-1.1', 'deprecated': False}, + 'sgi-b-2.0': {'id': 'SGI-B-2.0', 'deprecated': False}, + 'sgi-opengl': {'id': 'SGI-OpenGL', 'deprecated': False}, + 'sgp4': {'id': 'SGP4', 'deprecated': False}, + 'shl-0.5': {'id': 'SHL-0.5', 'deprecated': False}, + 'shl-0.51': {'id': 'SHL-0.51', 'deprecated': False}, + 'simpl-2.0': {'id': 'SimPL-2.0', 'deprecated': False}, + 'sissl': {'id': 'SISSL', 'deprecated': False}, + 'sissl-1.2': {'id': 'SISSL-1.2', 'deprecated': False}, + 'sl': {'id': 'SL', 'deprecated': False}, + 'sleepycat': {'id': 'Sleepycat', 'deprecated': False}, + 'smlnj': {'id': 'SMLNJ', 'deprecated': False}, + 'smppl': {'id': 'SMPPL', 'deprecated': False}, + 'snia': {'id': 'SNIA', 'deprecated': False}, + 'snprintf': {'id': 'snprintf', 'deprecated': False}, + 'softsurfer': {'id': 'softSurfer', 'deprecated': False}, + 'soundex': {'id': 'Soundex', 'deprecated': False}, + 'spencer-86': {'id': 'Spencer-86', 'deprecated': False}, + 'spencer-94': {'id': 'Spencer-94', 'deprecated': False}, + 'spencer-99': {'id': 'Spencer-99', 'deprecated': False}, + 'spl-1.0': {'id': 'SPL-1.0', 'deprecated': False}, + 'ssh-keyscan': {'id': 'ssh-keyscan', 'deprecated': False}, + 'ssh-openssh': {'id': 'SSH-OpenSSH', 'deprecated': False}, + 'ssh-short': {'id': 'SSH-short', 'deprecated': False}, + 'ssleay-standalone': {'id': 'SSLeay-standalone', 'deprecated': False}, + 'sspl-1.0': {'id': 'SSPL-1.0', 'deprecated': False}, + 'standardml-nj': {'id': 'StandardML-NJ', 'deprecated': True}, + 'sugarcrm-1.1.3': {'id': 'SugarCRM-1.1.3', 'deprecated': False}, + 'sun-ppp': {'id': 'Sun-PPP', 'deprecated': False}, + 'sun-ppp-2000': {'id': 'Sun-PPP-2000', 'deprecated': False}, + 'sunpro': {'id': 'SunPro', 'deprecated': False}, + 'swl': {'id': 'SWL', 'deprecated': False}, + 'swrule': {'id': 'swrule', 'deprecated': False}, + 'symlinks': {'id': 'Symlinks', 'deprecated': False}, + 'tapr-ohl-1.0': {'id': 'TAPR-OHL-1.0', 'deprecated': False}, + 'tcl': {'id': 'TCL', 'deprecated': False}, + 'tcp-wrappers': {'id': 'TCP-wrappers', 'deprecated': False}, + 'termreadkey': {'id': 'TermReadKey', 'deprecated': False}, + 'tgppl-1.0': {'id': 'TGPPL-1.0', 'deprecated': False}, + 'threeparttable': {'id': 'threeparttable', 'deprecated': False}, + 'tmate': {'id': 'TMate', 'deprecated': False}, + 'torque-1.1': {'id': 'TORQUE-1.1', 'deprecated': False}, + 'tosl': {'id': 'TOSL', 'deprecated': False}, + 'tpdl': {'id': 'TPDL', 'deprecated': False}, + 'tpl-1.0': {'id': 'TPL-1.0', 'deprecated': False}, + 'ttwl': {'id': 'TTWL', 'deprecated': False}, + 'ttyp0': {'id': 'TTYP0', 'deprecated': False}, + 'tu-berlin-1.0': {'id': 'TU-Berlin-1.0', 'deprecated': False}, + 'tu-berlin-2.0': {'id': 'TU-Berlin-2.0', 'deprecated': False}, + 'ubuntu-font-1.0': {'id': 'Ubuntu-font-1.0', 'deprecated': False}, + 'ucar': {'id': 'UCAR', 'deprecated': False}, + 'ucl-1.0': {'id': 'UCL-1.0', 'deprecated': False}, + 'ulem': {'id': 'ulem', 'deprecated': False}, + 'umich-merit': {'id': 'UMich-Merit', 'deprecated': False}, + 'unicode-3.0': {'id': 'Unicode-3.0', 'deprecated': False}, + 'unicode-dfs-2015': {'id': 'Unicode-DFS-2015', 'deprecated': False}, + 'unicode-dfs-2016': {'id': 'Unicode-DFS-2016', 'deprecated': False}, + 'unicode-tou': {'id': 'Unicode-TOU', 'deprecated': False}, + 'unixcrypt': {'id': 'UnixCrypt', 'deprecated': False}, + 'unlicense': {'id': 'Unlicense', 'deprecated': False}, + 'upl-1.0': {'id': 'UPL-1.0', 'deprecated': False}, + 'urt-rle': {'id': 'URT-RLE', 'deprecated': False}, + 'vim': {'id': 'Vim', 'deprecated': False}, + 'vostrom': {'id': 'VOSTROM', 'deprecated': False}, + 'vsl-1.0': {'id': 'VSL-1.0', 'deprecated': False}, + 'w3c': {'id': 'W3C', 'deprecated': False}, + 'w3c-19980720': {'id': 'W3C-19980720', 'deprecated': False}, + 'w3c-20150513': {'id': 'W3C-20150513', 'deprecated': False}, + 'w3m': {'id': 'w3m', 'deprecated': False}, + 'watcom-1.0': {'id': 'Watcom-1.0', 'deprecated': False}, + 'widget-workshop': {'id': 'Widget-Workshop', 'deprecated': False}, + 'wsuipa': {'id': 'Wsuipa', 'deprecated': False}, + 'wtfpl': {'id': 'WTFPL', 'deprecated': False}, + 'wxwindows': {'id': 'wxWindows', 'deprecated': True}, + 'x11': {'id': 'X11', 'deprecated': False}, + 'x11-distribute-modifications-variant': {'id': 'X11-distribute-modifications-variant', 'deprecated': False}, + 'x11-swapped': {'id': 'X11-swapped', 'deprecated': False}, + 'xdebug-1.03': {'id': 'Xdebug-1.03', 'deprecated': False}, + 'xerox': {'id': 'Xerox', 'deprecated': False}, + 'xfig': {'id': 'Xfig', 'deprecated': False}, + 'xfree86-1.1': {'id': 'XFree86-1.1', 'deprecated': False}, + 'xinetd': {'id': 'xinetd', 'deprecated': False}, + 'xkeyboard-config-zinoviev': {'id': 'xkeyboard-config-Zinoviev', 'deprecated': False}, + 'xlock': {'id': 'xlock', 'deprecated': False}, + 'xnet': {'id': 'Xnet', 'deprecated': False}, + 'xpp': {'id': 'xpp', 'deprecated': False}, + 'xskat': {'id': 'XSkat', 'deprecated': False}, + 'xzoom': {'id': 'xzoom', 'deprecated': False}, + 'ypl-1.0': {'id': 'YPL-1.0', 'deprecated': False}, + 'ypl-1.1': {'id': 'YPL-1.1', 'deprecated': False}, + 'zed': {'id': 'Zed', 'deprecated': False}, + 'zeeff': {'id': 'Zeeff', 'deprecated': False}, + 'zend-2.0': {'id': 'Zend-2.0', 'deprecated': False}, + 'zimbra-1.3': {'id': 'Zimbra-1.3', 'deprecated': False}, + 'zimbra-1.4': {'id': 'Zimbra-1.4', 'deprecated': False}, + 'zlib': {'id': 'Zlib', 'deprecated': False}, + 'zlib-acknowledgement': {'id': 'zlib-acknowledgement', 'deprecated': False}, + 'zpl-1.1': {'id': 'ZPL-1.1', 'deprecated': False}, + 'zpl-2.0': {'id': 'ZPL-2.0', 'deprecated': False}, + 'zpl-2.1': {'id': 'ZPL-2.1', 'deprecated': False}, +} + +EXCEPTIONS: dict[str, SPDXException] = { + '389-exception': {'id': '389-exception', 'deprecated': False}, + 'asterisk-exception': {'id': 'Asterisk-exception', 'deprecated': False}, + 'asterisk-linking-protocols-exception': {'id': 'Asterisk-linking-protocols-exception', 'deprecated': False}, + 'autoconf-exception-2.0': {'id': 'Autoconf-exception-2.0', 'deprecated': False}, + 'autoconf-exception-3.0': {'id': 'Autoconf-exception-3.0', 'deprecated': False}, + 'autoconf-exception-generic': {'id': 'Autoconf-exception-generic', 'deprecated': False}, + 'autoconf-exception-generic-3.0': {'id': 'Autoconf-exception-generic-3.0', 'deprecated': False}, + 'autoconf-exception-macro': {'id': 'Autoconf-exception-macro', 'deprecated': False}, + 'bison-exception-1.24': {'id': 'Bison-exception-1.24', 'deprecated': False}, + 'bison-exception-2.2': {'id': 'Bison-exception-2.2', 'deprecated': False}, + 'bootloader-exception': {'id': 'Bootloader-exception', 'deprecated': False}, + 'classpath-exception-2.0': {'id': 'Classpath-exception-2.0', 'deprecated': False}, + 'clisp-exception-2.0': {'id': 'CLISP-exception-2.0', 'deprecated': False}, + 'cryptsetup-openssl-exception': {'id': 'cryptsetup-OpenSSL-exception', 'deprecated': False}, + 'digirule-foss-exception': {'id': 'DigiRule-FOSS-exception', 'deprecated': False}, + 'ecos-exception-2.0': {'id': 'eCos-exception-2.0', 'deprecated': False}, + 'erlang-otp-linking-exception': {'id': 'erlang-otp-linking-exception', 'deprecated': False}, + 'fawkes-runtime-exception': {'id': 'Fawkes-Runtime-exception', 'deprecated': False}, + 'fltk-exception': {'id': 'FLTK-exception', 'deprecated': False}, + 'fmt-exception': {'id': 'fmt-exception', 'deprecated': False}, + 'font-exception-2.0': {'id': 'Font-exception-2.0', 'deprecated': False}, + 'freertos-exception-2.0': {'id': 'freertos-exception-2.0', 'deprecated': False}, + 'gcc-exception-2.0': {'id': 'GCC-exception-2.0', 'deprecated': False}, + 'gcc-exception-2.0-note': {'id': 'GCC-exception-2.0-note', 'deprecated': False}, + 'gcc-exception-3.1': {'id': 'GCC-exception-3.1', 'deprecated': False}, + 'gmsh-exception': {'id': 'Gmsh-exception', 'deprecated': False}, + 'gnat-exception': {'id': 'GNAT-exception', 'deprecated': False}, + 'gnome-examples-exception': {'id': 'GNOME-examples-exception', 'deprecated': False}, + 'gnu-compiler-exception': {'id': 'GNU-compiler-exception', 'deprecated': False}, + 'gnu-javamail-exception': {'id': 'gnu-javamail-exception', 'deprecated': False}, + 'gpl-3.0-interface-exception': {'id': 'GPL-3.0-interface-exception', 'deprecated': False}, + 'gpl-3.0-linking-exception': {'id': 'GPL-3.0-linking-exception', 'deprecated': False}, + 'gpl-3.0-linking-source-exception': {'id': 'GPL-3.0-linking-source-exception', 'deprecated': False}, + 'gpl-cc-1.0': {'id': 'GPL-CC-1.0', 'deprecated': False}, + 'gstreamer-exception-2005': {'id': 'GStreamer-exception-2005', 'deprecated': False}, + 'gstreamer-exception-2008': {'id': 'GStreamer-exception-2008', 'deprecated': False}, + 'i2p-gpl-java-exception': {'id': 'i2p-gpl-java-exception', 'deprecated': False}, + 'kicad-libraries-exception': {'id': 'KiCad-libraries-exception', 'deprecated': False}, + 'lgpl-3.0-linking-exception': {'id': 'LGPL-3.0-linking-exception', 'deprecated': False}, + 'libpri-openh323-exception': {'id': 'libpri-OpenH323-exception', 'deprecated': False}, + 'libtool-exception': {'id': 'Libtool-exception', 'deprecated': False}, + 'linux-syscall-note': {'id': 'Linux-syscall-note', 'deprecated': False}, + 'llgpl': {'id': 'LLGPL', 'deprecated': False}, + 'llvm-exception': {'id': 'LLVM-exception', 'deprecated': False}, + 'lzma-exception': {'id': 'LZMA-exception', 'deprecated': False}, + 'mif-exception': {'id': 'mif-exception', 'deprecated': False}, + 'nokia-qt-exception-1.1': {'id': 'Nokia-Qt-exception-1.1', 'deprecated': True}, + 'ocaml-lgpl-linking-exception': {'id': 'OCaml-LGPL-linking-exception', 'deprecated': False}, + 'occt-exception-1.0': {'id': 'OCCT-exception-1.0', 'deprecated': False}, + 'openjdk-assembly-exception-1.0': {'id': 'OpenJDK-assembly-exception-1.0', 'deprecated': False}, + 'openvpn-openssl-exception': {'id': 'openvpn-openssl-exception', 'deprecated': False}, + 'pcre2-exception': {'id': 'PCRE2-exception', 'deprecated': False}, + 'ps-or-pdf-font-exception-20170817': {'id': 'PS-or-PDF-font-exception-20170817', 'deprecated': False}, + 'qpl-1.0-inria-2004-exception': {'id': 'QPL-1.0-INRIA-2004-exception', 'deprecated': False}, + 'qt-gpl-exception-1.0': {'id': 'Qt-GPL-exception-1.0', 'deprecated': False}, + 'qt-lgpl-exception-1.1': {'id': 'Qt-LGPL-exception-1.1', 'deprecated': False}, + 'qwt-exception-1.0': {'id': 'Qwt-exception-1.0', 'deprecated': False}, + 'romic-exception': {'id': 'romic-exception', 'deprecated': False}, + 'rrdtool-floss-exception-2.0': {'id': 'RRDtool-FLOSS-exception-2.0', 'deprecated': False}, + 'sane-exception': {'id': 'SANE-exception', 'deprecated': False}, + 'shl-2.0': {'id': 'SHL-2.0', 'deprecated': False}, + 'shl-2.1': {'id': 'SHL-2.1', 'deprecated': False}, + 'stunnel-exception': {'id': 'stunnel-exception', 'deprecated': False}, + 'swi-exception': {'id': 'SWI-exception', 'deprecated': False}, + 'swift-exception': {'id': 'Swift-exception', 'deprecated': False}, + 'texinfo-exception': {'id': 'Texinfo-exception', 'deprecated': False}, + 'u-boot-exception-2.0': {'id': 'u-boot-exception-2.0', 'deprecated': False}, + 'ubdl-exception': {'id': 'UBDL-exception', 'deprecated': False}, + 'universal-foss-exception-1.0': {'id': 'Universal-FOSS-exception-1.0', 'deprecated': False}, + 'vsftpd-openssl-exception': {'id': 'vsftpd-openssl-exception', 'deprecated': False}, + 'wxwindows-exception-3.1': {'id': 'WxWindows-exception-3.1', 'deprecated': False}, + 'x11vnc-openssl-exception': {'id': 'x11vnc-openssl-exception', 'deprecated': False}, +} diff --git a/.venv/Lib/site-packages/packaging/markers.py b/.venv/Lib/site-packages/packaging/markers.py new file mode 100644 index 0000000..e7cea57 --- /dev/null +++ b/.venv/Lib/site-packages/packaging/markers.py @@ -0,0 +1,362 @@ +# This file is dual licensed under the terms of the Apache License, Version +# 2.0, and the BSD License. See the LICENSE file in the root of this repository +# for complete details. + +from __future__ import annotations + +import operator +import os +import platform +import sys +from typing import AbstractSet, Any, Callable, Literal, TypedDict, Union, cast + +from ._parser import MarkerAtom, MarkerList, Op, Value, Variable +from ._parser import parse_marker as _parse_marker +from ._tokenizer import ParserSyntaxError +from .specifiers import InvalidSpecifier, Specifier +from .utils import canonicalize_name + +__all__ = [ + "EvaluateContext", + "InvalidMarker", + "Marker", + "UndefinedComparison", + "UndefinedEnvironmentName", + "default_environment", +] + +Operator = Callable[[str, Union[str, AbstractSet[str]]], bool] +EvaluateContext = Literal["metadata", "lock_file", "requirement"] +MARKERS_ALLOWING_SET = {"extras", "dependency_groups"} + + +class InvalidMarker(ValueError): + """ + An invalid marker was found, users should refer to PEP 508. + """ + + +class UndefinedComparison(ValueError): + """ + An invalid operation was attempted on a value that doesn't support it. + """ + + +class UndefinedEnvironmentName(ValueError): + """ + A name was attempted to be used that does not exist inside of the + environment. + """ + + +class Environment(TypedDict): + implementation_name: str + """The implementation's identifier, e.g. ``'cpython'``.""" + + implementation_version: str + """ + The implementation's version, e.g. ``'3.13.0a2'`` for CPython 3.13.0a2, or + ``'7.3.13'`` for PyPy3.10 v7.3.13. + """ + + os_name: str + """ + The value of :py:data:`os.name`. The name of the operating system dependent module + imported, e.g. ``'posix'``. + """ + + platform_machine: str + """ + Returns the machine type, e.g. ``'i386'``. + + An empty string if the value cannot be determined. + """ + + platform_release: str + """ + The system's release, e.g. ``'2.2.0'`` or ``'NT'``. + + An empty string if the value cannot be determined. + """ + + platform_system: str + """ + The system/OS name, e.g. ``'Linux'``, ``'Windows'`` or ``'Java'``. + + An empty string if the value cannot be determined. + """ + + platform_version: str + """ + The system's release version, e.g. ``'#3 on degas'``. + + An empty string if the value cannot be determined. + """ + + python_full_version: str + """ + The Python version as string ``'major.minor.patchlevel'``. + + Note that unlike the Python :py:data:`sys.version`, this value will always include + the patchlevel (it defaults to 0). + """ + + platform_python_implementation: str + """ + A string identifying the Python implementation, e.g. ``'CPython'``. + """ + + python_version: str + """The Python version as string ``'major.minor'``.""" + + sys_platform: str + """ + This string contains a platform identifier that can be used to append + platform-specific components to :py:data:`sys.path`, for instance. + + For Unix systems, except on Linux and AIX, this is the lowercased OS name as + returned by ``uname -s`` with the first part of the version as returned by + ``uname -r`` appended, e.g. ``'sunos5'`` or ``'freebsd8'``, at the time when Python + was built. + """ + + +def _normalize_extra_values(results: Any) -> Any: + """ + Normalize extra values. + """ + if isinstance(results[0], tuple): + lhs, op, rhs = results[0] + if isinstance(lhs, Variable) and lhs.value == "extra": + normalized_extra = canonicalize_name(rhs.value) + rhs = Value(normalized_extra) + elif isinstance(rhs, Variable) and rhs.value == "extra": + normalized_extra = canonicalize_name(lhs.value) + lhs = Value(normalized_extra) + results[0] = lhs, op, rhs + return results + + +def _format_marker( + marker: list[str] | MarkerAtom | str, first: bool | None = True +) -> str: + assert isinstance(marker, (list, tuple, str)) + + # Sometimes we have a structure like [[...]] which is a single item list + # where the single item is itself it's own list. In that case we want skip + # the rest of this function so that we don't get extraneous () on the + # outside. + if ( + isinstance(marker, list) + and len(marker) == 1 + and isinstance(marker[0], (list, tuple)) + ): + return _format_marker(marker[0]) + + if isinstance(marker, list): + inner = (_format_marker(m, first=False) for m in marker) + if first: + return " ".join(inner) + else: + return "(" + " ".join(inner) + ")" + elif isinstance(marker, tuple): + return " ".join([m.serialize() for m in marker]) + else: + return marker + + +_operators: dict[str, Operator] = { + "in": lambda lhs, rhs: lhs in rhs, + "not in": lambda lhs, rhs: lhs not in rhs, + "<": operator.lt, + "<=": operator.le, + "==": operator.eq, + "!=": operator.ne, + ">=": operator.ge, + ">": operator.gt, +} + + +def _eval_op(lhs: str, op: Op, rhs: str | AbstractSet[str]) -> bool: + if isinstance(rhs, str): + try: + spec = Specifier("".join([op.serialize(), rhs])) + except InvalidSpecifier: + pass + else: + return spec.contains(lhs, prereleases=True) + + oper: Operator | None = _operators.get(op.serialize()) + if oper is None: + raise UndefinedComparison(f"Undefined {op!r} on {lhs!r} and {rhs!r}.") + + return oper(lhs, rhs) + + +def _normalize( + lhs: str, rhs: str | AbstractSet[str], key: str +) -> tuple[str, str | AbstractSet[str]]: + # PEP 685 – Comparison of extra names for optional distribution dependencies + # https://peps.python.org/pep-0685/ + # > When comparing extra names, tools MUST normalize the names being + # > compared using the semantics outlined in PEP 503 for names + if key == "extra": + assert isinstance(rhs, str), "extra value must be a string" + return (canonicalize_name(lhs), canonicalize_name(rhs)) + if key in MARKERS_ALLOWING_SET: + if isinstance(rhs, str): # pragma: no cover + return (canonicalize_name(lhs), canonicalize_name(rhs)) + else: + return (canonicalize_name(lhs), {canonicalize_name(v) for v in rhs}) + + # other environment markers don't have such standards + return lhs, rhs + + +def _evaluate_markers( + markers: MarkerList, environment: dict[str, str | AbstractSet[str]] +) -> bool: + groups: list[list[bool]] = [[]] + + for marker in markers: + assert isinstance(marker, (list, tuple, str)) + + if isinstance(marker, list): + groups[-1].append(_evaluate_markers(marker, environment)) + elif isinstance(marker, tuple): + lhs, op, rhs = marker + + if isinstance(lhs, Variable): + environment_key = lhs.value + lhs_value = environment[environment_key] + rhs_value = rhs.value + else: + lhs_value = lhs.value + environment_key = rhs.value + rhs_value = environment[environment_key] + assert isinstance(lhs_value, str), "lhs must be a string" + lhs_value, rhs_value = _normalize(lhs_value, rhs_value, key=environment_key) + groups[-1].append(_eval_op(lhs_value, op, rhs_value)) + else: + assert marker in ["and", "or"] + if marker == "or": + groups.append([]) + + return any(all(item) for item in groups) + + +def format_full_version(info: sys._version_info) -> str: + version = f"{info.major}.{info.minor}.{info.micro}" + kind = info.releaselevel + if kind != "final": + version += kind[0] + str(info.serial) + return version + + +def default_environment() -> Environment: + iver = format_full_version(sys.implementation.version) + implementation_name = sys.implementation.name + return { + "implementation_name": implementation_name, + "implementation_version": iver, + "os_name": os.name, + "platform_machine": platform.machine(), + "platform_release": platform.release(), + "platform_system": platform.system(), + "platform_version": platform.version(), + "python_full_version": platform.python_version(), + "platform_python_implementation": platform.python_implementation(), + "python_version": ".".join(platform.python_version_tuple()[:2]), + "sys_platform": sys.platform, + } + + +class Marker: + def __init__(self, marker: str) -> None: + # Note: We create a Marker object without calling this constructor in + # packaging.requirements.Requirement. If any additional logic is + # added here, make sure to mirror/adapt Requirement. + try: + self._markers = _normalize_extra_values(_parse_marker(marker)) + # The attribute `_markers` can be described in terms of a recursive type: + # MarkerList = List[Union[Tuple[Node, ...], str, MarkerList]] + # + # For example, the following expression: + # python_version > "3.6" or (python_version == "3.6" and os_name == "unix") + # + # is parsed into: + # [ + # (, ')>, ), + # 'and', + # [ + # (, , ), + # 'or', + # (, , ) + # ] + # ] + except ParserSyntaxError as e: + raise InvalidMarker(str(e)) from e + + def __str__(self) -> str: + return _format_marker(self._markers) + + def __repr__(self) -> str: + return f"" + + def __hash__(self) -> int: + return hash((self.__class__.__name__, str(self))) + + def __eq__(self, other: Any) -> bool: + if not isinstance(other, Marker): + return NotImplemented + + return str(self) == str(other) + + def evaluate( + self, + environment: dict[str, str] | None = None, + context: EvaluateContext = "metadata", + ) -> bool: + """Evaluate a marker. + + Return the boolean from evaluating the given marker against the + environment. environment is an optional argument to override all or + part of the determined environment. The *context* parameter specifies what + context the markers are being evaluated for, which influences what markers + are considered valid. Acceptable values are "metadata" (for core metadata; + default), "lock_file", and "requirement" (i.e. all other situations). + + The environment is determined from the current Python process. + """ + current_environment = cast( + "dict[str, str | AbstractSet[str]]", default_environment() + ) + if context == "lock_file": + current_environment.update( + extras=frozenset(), dependency_groups=frozenset() + ) + elif context == "metadata": + current_environment["extra"] = "" + if environment is not None: + current_environment.update(environment) + # The API used to allow setting extra to None. We need to handle this + # case for backwards compatibility. + if "extra" in current_environment and current_environment["extra"] is None: + current_environment["extra"] = "" + + return _evaluate_markers( + self._markers, _repair_python_full_version(current_environment) + ) + + +def _repair_python_full_version( + env: dict[str, str | AbstractSet[str]], +) -> dict[str, str | AbstractSet[str]]: + """ + Work around platform.python_version() returning something that is not PEP 440 + compliant for non-tagged Python builds. + """ + python_full_version = cast(str, env["python_full_version"]) + if python_full_version.endswith("+"): + env["python_full_version"] = f"{python_full_version}local" + return env diff --git a/.venv/Lib/site-packages/packaging/metadata.py b/.venv/Lib/site-packages/packaging/metadata.py new file mode 100644 index 0000000..3bd8602 --- /dev/null +++ b/.venv/Lib/site-packages/packaging/metadata.py @@ -0,0 +1,862 @@ +from __future__ import annotations + +import email.feedparser +import email.header +import email.message +import email.parser +import email.policy +import pathlib +import sys +import typing +from typing import ( + Any, + Callable, + Generic, + Literal, + TypedDict, + cast, +) + +from . import licenses, requirements, specifiers, utils +from . import version as version_module +from .licenses import NormalizedLicenseExpression + +T = typing.TypeVar("T") + + +if sys.version_info >= (3, 11): # pragma: no cover + ExceptionGroup = ExceptionGroup +else: # pragma: no cover + + class ExceptionGroup(Exception): + """A minimal implementation of :external:exc:`ExceptionGroup` from Python 3.11. + + If :external:exc:`ExceptionGroup` is already defined by Python itself, + that version is used instead. + """ + + message: str + exceptions: list[Exception] + + def __init__(self, message: str, exceptions: list[Exception]) -> None: + self.message = message + self.exceptions = exceptions + + def __repr__(self) -> str: + return f"{self.__class__.__name__}({self.message!r}, {self.exceptions!r})" + + +class InvalidMetadata(ValueError): + """A metadata field contains invalid data.""" + + field: str + """The name of the field that contains invalid data.""" + + def __init__(self, field: str, message: str) -> None: + self.field = field + super().__init__(message) + + +# The RawMetadata class attempts to make as few assumptions about the underlying +# serialization formats as possible. The idea is that as long as a serialization +# formats offer some very basic primitives in *some* way then we can support +# serializing to and from that format. +class RawMetadata(TypedDict, total=False): + """A dictionary of raw core metadata. + + Each field in core metadata maps to a key of this dictionary (when data is + provided). The key is lower-case and underscores are used instead of dashes + compared to the equivalent core metadata field. Any core metadata field that + can be specified multiple times or can hold multiple values in a single + field have a key with a plural name. See :class:`Metadata` whose attributes + match the keys of this dictionary. + + Core metadata fields that can be specified multiple times are stored as a + list or dict depending on which is appropriate for the field. Any fields + which hold multiple values in a single field are stored as a list. + + """ + + # Metadata 1.0 - PEP 241 + metadata_version: str + name: str + version: str + platforms: list[str] + summary: str + description: str + keywords: list[str] + home_page: str + author: str + author_email: str + license: str + + # Metadata 1.1 - PEP 314 + supported_platforms: list[str] + download_url: str + classifiers: list[str] + requires: list[str] + provides: list[str] + obsoletes: list[str] + + # Metadata 1.2 - PEP 345 + maintainer: str + maintainer_email: str + requires_dist: list[str] + provides_dist: list[str] + obsoletes_dist: list[str] + requires_python: str + requires_external: list[str] + project_urls: dict[str, str] + + # Metadata 2.0 + # PEP 426 attempted to completely revamp the metadata format + # but got stuck without ever being able to build consensus on + # it and ultimately ended up withdrawn. + # + # However, a number of tools had started emitting METADATA with + # `2.0` Metadata-Version, so for historical reasons, this version + # was skipped. + + # Metadata 2.1 - PEP 566 + description_content_type: str + provides_extra: list[str] + + # Metadata 2.2 - PEP 643 + dynamic: list[str] + + # Metadata 2.3 - PEP 685 + # No new fields were added in PEP 685, just some edge case were + # tightened up to provide better interoptability. + + # Metadata 2.4 - PEP 639 + license_expression: str + license_files: list[str] + + +_STRING_FIELDS = { + "author", + "author_email", + "description", + "description_content_type", + "download_url", + "home_page", + "license", + "license_expression", + "maintainer", + "maintainer_email", + "metadata_version", + "name", + "requires_python", + "summary", + "version", +} + +_LIST_FIELDS = { + "classifiers", + "dynamic", + "license_files", + "obsoletes", + "obsoletes_dist", + "platforms", + "provides", + "provides_dist", + "provides_extra", + "requires", + "requires_dist", + "requires_external", + "supported_platforms", +} + +_DICT_FIELDS = { + "project_urls", +} + + +def _parse_keywords(data: str) -> list[str]: + """Split a string of comma-separated keywords into a list of keywords.""" + return [k.strip() for k in data.split(",")] + + +def _parse_project_urls(data: list[str]) -> dict[str, str]: + """Parse a list of label/URL string pairings separated by a comma.""" + urls = {} + for pair in data: + # Our logic is slightly tricky here as we want to try and do + # *something* reasonable with malformed data. + # + # The main thing that we have to worry about, is data that does + # not have a ',' at all to split the label from the Value. There + # isn't a singular right answer here, and we will fail validation + # later on (if the caller is validating) so it doesn't *really* + # matter, but since the missing value has to be an empty str + # and our return value is dict[str, str], if we let the key + # be the missing value, then they'd have multiple '' values that + # overwrite each other in a accumulating dict. + # + # The other potentional issue is that it's possible to have the + # same label multiple times in the metadata, with no solid "right" + # answer with what to do in that case. As such, we'll do the only + # thing we can, which is treat the field as unparseable and add it + # to our list of unparsed fields. + parts = [p.strip() for p in pair.split(",", 1)] + parts.extend([""] * (max(0, 2 - len(parts)))) # Ensure 2 items + + # TODO: The spec doesn't say anything about if the keys should be + # considered case sensitive or not... logically they should + # be case-preserving and case-insensitive, but doing that + # would open up more cases where we might have duplicate + # entries. + label, url = parts + if label in urls: + # The label already exists in our set of urls, so this field + # is unparseable, and we can just add the whole thing to our + # unparseable data and stop processing it. + raise KeyError("duplicate labels in project urls") + urls[label] = url + + return urls + + +def _get_payload(msg: email.message.Message, source: bytes | str) -> str: + """Get the body of the message.""" + # If our source is a str, then our caller has managed encodings for us, + # and we don't need to deal with it. + if isinstance(source, str): + payload = msg.get_payload() + assert isinstance(payload, str) + return payload + # If our source is a bytes, then we're managing the encoding and we need + # to deal with it. + else: + bpayload = msg.get_payload(decode=True) + assert isinstance(bpayload, bytes) + try: + return bpayload.decode("utf8", "strict") + except UnicodeDecodeError as exc: + raise ValueError("payload in an invalid encoding") from exc + + +# The various parse_FORMAT functions here are intended to be as lenient as +# possible in their parsing, while still returning a correctly typed +# RawMetadata. +# +# To aid in this, we also generally want to do as little touching of the +# data as possible, except where there are possibly some historic holdovers +# that make valid data awkward to work with. +# +# While this is a lower level, intermediate format than our ``Metadata`` +# class, some light touch ups can make a massive difference in usability. + +# Map METADATA fields to RawMetadata. +_EMAIL_TO_RAW_MAPPING = { + "author": "author", + "author-email": "author_email", + "classifier": "classifiers", + "description": "description", + "description-content-type": "description_content_type", + "download-url": "download_url", + "dynamic": "dynamic", + "home-page": "home_page", + "keywords": "keywords", + "license": "license", + "license-expression": "license_expression", + "license-file": "license_files", + "maintainer": "maintainer", + "maintainer-email": "maintainer_email", + "metadata-version": "metadata_version", + "name": "name", + "obsoletes": "obsoletes", + "obsoletes-dist": "obsoletes_dist", + "platform": "platforms", + "project-url": "project_urls", + "provides": "provides", + "provides-dist": "provides_dist", + "provides-extra": "provides_extra", + "requires": "requires", + "requires-dist": "requires_dist", + "requires-external": "requires_external", + "requires-python": "requires_python", + "summary": "summary", + "supported-platform": "supported_platforms", + "version": "version", +} +_RAW_TO_EMAIL_MAPPING = {raw: email for email, raw in _EMAIL_TO_RAW_MAPPING.items()} + + +def parse_email(data: bytes | str) -> tuple[RawMetadata, dict[str, list[str]]]: + """Parse a distribution's metadata stored as email headers (e.g. from ``METADATA``). + + This function returns a two-item tuple of dicts. The first dict is of + recognized fields from the core metadata specification. Fields that can be + parsed and translated into Python's built-in types are converted + appropriately. All other fields are left as-is. Fields that are allowed to + appear multiple times are stored as lists. + + The second dict contains all other fields from the metadata. This includes + any unrecognized fields. It also includes any fields which are expected to + be parsed into a built-in type but were not formatted appropriately. Finally, + any fields that are expected to appear only once but are repeated are + included in this dict. + + """ + raw: dict[str, str | list[str] | dict[str, str]] = {} + unparsed: dict[str, list[str]] = {} + + if isinstance(data, str): + parsed = email.parser.Parser(policy=email.policy.compat32).parsestr(data) + else: + parsed = email.parser.BytesParser(policy=email.policy.compat32).parsebytes(data) + + # We have to wrap parsed.keys() in a set, because in the case of multiple + # values for a key (a list), the key will appear multiple times in the + # list of keys, but we're avoiding that by using get_all(). + for name in frozenset(parsed.keys()): + # Header names in RFC are case insensitive, so we'll normalize to all + # lower case to make comparisons easier. + name = name.lower() + + # We use get_all() here, even for fields that aren't multiple use, + # because otherwise someone could have e.g. two Name fields, and we + # would just silently ignore it rather than doing something about it. + headers = parsed.get_all(name) or [] + + # The way the email module works when parsing bytes is that it + # unconditionally decodes the bytes as ascii using the surrogateescape + # handler. When you pull that data back out (such as with get_all() ), + # it looks to see if the str has any surrogate escapes, and if it does + # it wraps it in a Header object instead of returning the string. + # + # As such, we'll look for those Header objects, and fix up the encoding. + value = [] + # Flag if we have run into any issues processing the headers, thus + # signalling that the data belongs in 'unparsed'. + valid_encoding = True + for h in headers: + # It's unclear if this can return more types than just a Header or + # a str, so we'll just assert here to make sure. + assert isinstance(h, (email.header.Header, str)) + + # If it's a header object, we need to do our little dance to get + # the real data out of it. In cases where there is invalid data + # we're going to end up with mojibake, but there's no obvious, good + # way around that without reimplementing parts of the Header object + # ourselves. + # + # That should be fine since, if mojibacked happens, this key is + # going into the unparsed dict anyways. + if isinstance(h, email.header.Header): + # The Header object stores it's data as chunks, and each chunk + # can be independently encoded, so we'll need to check each + # of them. + chunks: list[tuple[bytes, str | None]] = [] + for bin, encoding in email.header.decode_header(h): + try: + bin.decode("utf8", "strict") + except UnicodeDecodeError: + # Enable mojibake. + encoding = "latin1" + valid_encoding = False + else: + encoding = "utf8" + chunks.append((bin, encoding)) + + # Turn our chunks back into a Header object, then let that + # Header object do the right thing to turn them into a + # string for us. + value.append(str(email.header.make_header(chunks))) + # This is already a string, so just add it. + else: + value.append(h) + + # We've processed all of our values to get them into a list of str, + # but we may have mojibake data, in which case this is an unparsed + # field. + if not valid_encoding: + unparsed[name] = value + continue + + raw_name = _EMAIL_TO_RAW_MAPPING.get(name) + if raw_name is None: + # This is a bit of a weird situation, we've encountered a key that + # we don't know what it means, so we don't know whether it's meant + # to be a list or not. + # + # Since we can't really tell one way or another, we'll just leave it + # as a list, even though it may be a single item list, because that's + # what makes the most sense for email headers. + unparsed[name] = value + continue + + # If this is one of our string fields, then we'll check to see if our + # value is a list of a single item. If it is then we'll assume that + # it was emitted as a single string, and unwrap the str from inside + # the list. + # + # If it's any other kind of data, then we haven't the faintest clue + # what we should parse it as, and we have to just add it to our list + # of unparsed stuff. + if raw_name in _STRING_FIELDS and len(value) == 1: + raw[raw_name] = value[0] + # If this is one of our list of string fields, then we can just assign + # the value, since email *only* has strings, and our get_all() call + # above ensures that this is a list. + elif raw_name in _LIST_FIELDS: + raw[raw_name] = value + # Special Case: Keywords + # The keywords field is implemented in the metadata spec as a str, + # but it conceptually is a list of strings, and is serialized using + # ", ".join(keywords), so we'll do some light data massaging to turn + # this into what it logically is. + elif raw_name == "keywords" and len(value) == 1: + raw[raw_name] = _parse_keywords(value[0]) + # Special Case: Project-URL + # The project urls is implemented in the metadata spec as a list of + # specially-formatted strings that represent a key and a value, which + # is fundamentally a mapping, however the email format doesn't support + # mappings in a sane way, so it was crammed into a list of strings + # instead. + # + # We will do a little light data massaging to turn this into a map as + # it logically should be. + elif raw_name == "project_urls": + try: + raw[raw_name] = _parse_project_urls(value) + except KeyError: + unparsed[name] = value + # Nothing that we've done has managed to parse this, so it'll just + # throw it in our unparseable data and move on. + else: + unparsed[name] = value + + # We need to support getting the Description from the message payload in + # addition to getting it from the the headers. This does mean, though, there + # is the possibility of it being set both ways, in which case we put both + # in 'unparsed' since we don't know which is right. + try: + payload = _get_payload(parsed, data) + except ValueError: + unparsed.setdefault("description", []).append( + parsed.get_payload(decode=isinstance(data, bytes)) # type: ignore[call-overload] + ) + else: + if payload: + # Check to see if we've already got a description, if so then both + # it, and this body move to unparseable. + if "description" in raw: + description_header = cast(str, raw.pop("description")) + unparsed.setdefault("description", []).extend( + [description_header, payload] + ) + elif "description" in unparsed: + unparsed["description"].append(payload) + else: + raw["description"] = payload + + # We need to cast our `raw` to a metadata, because a TypedDict only support + # literal key names, but we're computing our key names on purpose, but the + # way this function is implemented, our `TypedDict` can only have valid key + # names. + return cast(RawMetadata, raw), unparsed + + +_NOT_FOUND = object() + + +# Keep the two values in sync. +_VALID_METADATA_VERSIONS = ["1.0", "1.1", "1.2", "2.1", "2.2", "2.3", "2.4"] +_MetadataVersion = Literal["1.0", "1.1", "1.2", "2.1", "2.2", "2.3", "2.4"] + +_REQUIRED_ATTRS = frozenset(["metadata_version", "name", "version"]) + + +class _Validator(Generic[T]): + """Validate a metadata field. + + All _process_*() methods correspond to a core metadata field. The method is + called with the field's raw value. If the raw value is valid it is returned + in its "enriched" form (e.g. ``version.Version`` for the ``Version`` field). + If the raw value is invalid, :exc:`InvalidMetadata` is raised (with a cause + as appropriate). + """ + + name: str + raw_name: str + added: _MetadataVersion + + def __init__( + self, + *, + added: _MetadataVersion = "1.0", + ) -> None: + self.added = added + + def __set_name__(self, _owner: Metadata, name: str) -> None: + self.name = name + self.raw_name = _RAW_TO_EMAIL_MAPPING[name] + + def __get__(self, instance: Metadata, _owner: type[Metadata]) -> T: + # With Python 3.8, the caching can be replaced with functools.cached_property(). + # No need to check the cache as attribute lookup will resolve into the + # instance's __dict__ before __get__ is called. + cache = instance.__dict__ + value = instance._raw.get(self.name) + + # To make the _process_* methods easier, we'll check if the value is None + # and if this field is NOT a required attribute, and if both of those + # things are true, we'll skip the the converter. This will mean that the + # converters never have to deal with the None union. + if self.name in _REQUIRED_ATTRS or value is not None: + try: + converter: Callable[[Any], T] = getattr(self, f"_process_{self.name}") + except AttributeError: + pass + else: + value = converter(value) + + cache[self.name] = value + try: + del instance._raw[self.name] # type: ignore[misc] + except KeyError: + pass + + return cast(T, value) + + def _invalid_metadata( + self, msg: str, cause: Exception | None = None + ) -> InvalidMetadata: + exc = InvalidMetadata( + self.raw_name, msg.format_map({"field": repr(self.raw_name)}) + ) + exc.__cause__ = cause + return exc + + def _process_metadata_version(self, value: str) -> _MetadataVersion: + # Implicitly makes Metadata-Version required. + if value not in _VALID_METADATA_VERSIONS: + raise self._invalid_metadata(f"{value!r} is not a valid metadata version") + return cast(_MetadataVersion, value) + + def _process_name(self, value: str) -> str: + if not value: + raise self._invalid_metadata("{field} is a required field") + # Validate the name as a side-effect. + try: + utils.canonicalize_name(value, validate=True) + except utils.InvalidName as exc: + raise self._invalid_metadata( + f"{value!r} is invalid for {{field}}", cause=exc + ) from exc + else: + return value + + def _process_version(self, value: str) -> version_module.Version: + if not value: + raise self._invalid_metadata("{field} is a required field") + try: + return version_module.parse(value) + except version_module.InvalidVersion as exc: + raise self._invalid_metadata( + f"{value!r} is invalid for {{field}}", cause=exc + ) from exc + + def _process_summary(self, value: str) -> str: + """Check the field contains no newlines.""" + if "\n" in value: + raise self._invalid_metadata("{field} must be a single line") + return value + + def _process_description_content_type(self, value: str) -> str: + content_types = {"text/plain", "text/x-rst", "text/markdown"} + message = email.message.EmailMessage() + message["content-type"] = value + + content_type, parameters = ( + # Defaults to `text/plain` if parsing failed. + message.get_content_type().lower(), + message["content-type"].params, + ) + # Check if content-type is valid or defaulted to `text/plain` and thus was + # not parseable. + if content_type not in content_types or content_type not in value.lower(): + raise self._invalid_metadata( + f"{{field}} must be one of {list(content_types)}, not {value!r}" + ) + + charset = parameters.get("charset", "UTF-8") + if charset != "UTF-8": + raise self._invalid_metadata( + f"{{field}} can only specify the UTF-8 charset, not {list(charset)}" + ) + + markdown_variants = {"GFM", "CommonMark"} + variant = parameters.get("variant", "GFM") # Use an acceptable default. + if content_type == "text/markdown" and variant not in markdown_variants: + raise self._invalid_metadata( + f"valid Markdown variants for {{field}} are {list(markdown_variants)}, " + f"not {variant!r}", + ) + return value + + def _process_dynamic(self, value: list[str]) -> list[str]: + for dynamic_field in map(str.lower, value): + if dynamic_field in {"name", "version", "metadata-version"}: + raise self._invalid_metadata( + f"{dynamic_field!r} is not allowed as a dynamic field" + ) + elif dynamic_field not in _EMAIL_TO_RAW_MAPPING: + raise self._invalid_metadata( + f"{dynamic_field!r} is not a valid dynamic field" + ) + return list(map(str.lower, value)) + + def _process_provides_extra( + self, + value: list[str], + ) -> list[utils.NormalizedName]: + normalized_names = [] + try: + for name in value: + normalized_names.append(utils.canonicalize_name(name, validate=True)) + except utils.InvalidName as exc: + raise self._invalid_metadata( + f"{name!r} is invalid for {{field}}", cause=exc + ) from exc + else: + return normalized_names + + def _process_requires_python(self, value: str) -> specifiers.SpecifierSet: + try: + return specifiers.SpecifierSet(value) + except specifiers.InvalidSpecifier as exc: + raise self._invalid_metadata( + f"{value!r} is invalid for {{field}}", cause=exc + ) from exc + + def _process_requires_dist( + self, + value: list[str], + ) -> list[requirements.Requirement]: + reqs = [] + try: + for req in value: + reqs.append(requirements.Requirement(req)) + except requirements.InvalidRequirement as exc: + raise self._invalid_metadata( + f"{req!r} is invalid for {{field}}", cause=exc + ) from exc + else: + return reqs + + def _process_license_expression( + self, value: str + ) -> NormalizedLicenseExpression | None: + try: + return licenses.canonicalize_license_expression(value) + except ValueError as exc: + raise self._invalid_metadata( + f"{value!r} is invalid for {{field}}", cause=exc + ) from exc + + def _process_license_files(self, value: list[str]) -> list[str]: + paths = [] + for path in value: + if ".." in path: + raise self._invalid_metadata( + f"{path!r} is invalid for {{field}}, " + "parent directory indicators are not allowed" + ) + if "*" in path: + raise self._invalid_metadata( + f"{path!r} is invalid for {{field}}, paths must be resolved" + ) + if ( + pathlib.PurePosixPath(path).is_absolute() + or pathlib.PureWindowsPath(path).is_absolute() + ): + raise self._invalid_metadata( + f"{path!r} is invalid for {{field}}, paths must be relative" + ) + if pathlib.PureWindowsPath(path).as_posix() != path: + raise self._invalid_metadata( + f"{path!r} is invalid for {{field}}, paths must use '/' delimiter" + ) + paths.append(path) + return paths + + +class Metadata: + """Representation of distribution metadata. + + Compared to :class:`RawMetadata`, this class provides objects representing + metadata fields instead of only using built-in types. Any invalid metadata + will cause :exc:`InvalidMetadata` to be raised (with a + :py:attr:`~BaseException.__cause__` attribute as appropriate). + """ + + _raw: RawMetadata + + @classmethod + def from_raw(cls, data: RawMetadata, *, validate: bool = True) -> Metadata: + """Create an instance from :class:`RawMetadata`. + + If *validate* is true, all metadata will be validated. All exceptions + related to validation will be gathered and raised as an :class:`ExceptionGroup`. + """ + ins = cls() + ins._raw = data.copy() # Mutations occur due to caching enriched values. + + if validate: + exceptions: list[Exception] = [] + try: + metadata_version = ins.metadata_version + metadata_age = _VALID_METADATA_VERSIONS.index(metadata_version) + except InvalidMetadata as metadata_version_exc: + exceptions.append(metadata_version_exc) + metadata_version = None + + # Make sure to check for the fields that are present, the required + # fields (so their absence can be reported). + fields_to_check = frozenset(ins._raw) | _REQUIRED_ATTRS + # Remove fields that have already been checked. + fields_to_check -= {"metadata_version"} + + for key in fields_to_check: + try: + if metadata_version: + # Can't use getattr() as that triggers descriptor protocol which + # will fail due to no value for the instance argument. + try: + field_metadata_version = cls.__dict__[key].added + except KeyError: + exc = InvalidMetadata(key, f"unrecognized field: {key!r}") + exceptions.append(exc) + continue + field_age = _VALID_METADATA_VERSIONS.index( + field_metadata_version + ) + if field_age > metadata_age: + field = _RAW_TO_EMAIL_MAPPING[key] + exc = InvalidMetadata( + field, + f"{field} introduced in metadata version " + f"{field_metadata_version}, not {metadata_version}", + ) + exceptions.append(exc) + continue + getattr(ins, key) + except InvalidMetadata as exc: + exceptions.append(exc) + + if exceptions: + raise ExceptionGroup("invalid metadata", exceptions) + + return ins + + @classmethod + def from_email(cls, data: bytes | str, *, validate: bool = True) -> Metadata: + """Parse metadata from email headers. + + If *validate* is true, the metadata will be validated. All exceptions + related to validation will be gathered and raised as an :class:`ExceptionGroup`. + """ + raw, unparsed = parse_email(data) + + if validate: + exceptions: list[Exception] = [] + for unparsed_key in unparsed: + if unparsed_key in _EMAIL_TO_RAW_MAPPING: + message = f"{unparsed_key!r} has invalid data" + else: + message = f"unrecognized field: {unparsed_key!r}" + exceptions.append(InvalidMetadata(unparsed_key, message)) + + if exceptions: + raise ExceptionGroup("unparsed", exceptions) + + try: + return cls.from_raw(raw, validate=validate) + except ExceptionGroup as exc_group: + raise ExceptionGroup( + "invalid or unparsed metadata", exc_group.exceptions + ) from None + + metadata_version: _Validator[_MetadataVersion] = _Validator() + """:external:ref:`core-metadata-metadata-version` + (required; validated to be a valid metadata version)""" + # `name` is not normalized/typed to NormalizedName so as to provide access to + # the original/raw name. + name: _Validator[str] = _Validator() + """:external:ref:`core-metadata-name` + (required; validated using :func:`~packaging.utils.canonicalize_name` and its + *validate* parameter)""" + version: _Validator[version_module.Version] = _Validator() + """:external:ref:`core-metadata-version` (required)""" + dynamic: _Validator[list[str] | None] = _Validator( + added="2.2", + ) + """:external:ref:`core-metadata-dynamic` + (validated against core metadata field names and lowercased)""" + platforms: _Validator[list[str] | None] = _Validator() + """:external:ref:`core-metadata-platform`""" + supported_platforms: _Validator[list[str] | None] = _Validator(added="1.1") + """:external:ref:`core-metadata-supported-platform`""" + summary: _Validator[str | None] = _Validator() + """:external:ref:`core-metadata-summary` (validated to contain no newlines)""" + description: _Validator[str | None] = _Validator() # TODO 2.1: can be in body + """:external:ref:`core-metadata-description`""" + description_content_type: _Validator[str | None] = _Validator(added="2.1") + """:external:ref:`core-metadata-description-content-type` (validated)""" + keywords: _Validator[list[str] | None] = _Validator() + """:external:ref:`core-metadata-keywords`""" + home_page: _Validator[str | None] = _Validator() + """:external:ref:`core-metadata-home-page`""" + download_url: _Validator[str | None] = _Validator(added="1.1") + """:external:ref:`core-metadata-download-url`""" + author: _Validator[str | None] = _Validator() + """:external:ref:`core-metadata-author`""" + author_email: _Validator[str | None] = _Validator() + """:external:ref:`core-metadata-author-email`""" + maintainer: _Validator[str | None] = _Validator(added="1.2") + """:external:ref:`core-metadata-maintainer`""" + maintainer_email: _Validator[str | None] = _Validator(added="1.2") + """:external:ref:`core-metadata-maintainer-email`""" + license: _Validator[str | None] = _Validator() + """:external:ref:`core-metadata-license`""" + license_expression: _Validator[NormalizedLicenseExpression | None] = _Validator( + added="2.4" + ) + """:external:ref:`core-metadata-license-expression`""" + license_files: _Validator[list[str] | None] = _Validator(added="2.4") + """:external:ref:`core-metadata-license-file`""" + classifiers: _Validator[list[str] | None] = _Validator(added="1.1") + """:external:ref:`core-metadata-classifier`""" + requires_dist: _Validator[list[requirements.Requirement] | None] = _Validator( + added="1.2" + ) + """:external:ref:`core-metadata-requires-dist`""" + requires_python: _Validator[specifiers.SpecifierSet | None] = _Validator( + added="1.2" + ) + """:external:ref:`core-metadata-requires-python`""" + # Because `Requires-External` allows for non-PEP 440 version specifiers, we + # don't do any processing on the values. + requires_external: _Validator[list[str] | None] = _Validator(added="1.2") + """:external:ref:`core-metadata-requires-external`""" + project_urls: _Validator[dict[str, str] | None] = _Validator(added="1.2") + """:external:ref:`core-metadata-project-url`""" + # PEP 685 lets us raise an error if an extra doesn't pass `Name` validation + # regardless of metadata version. + provides_extra: _Validator[list[utils.NormalizedName] | None] = _Validator( + added="2.1", + ) + """:external:ref:`core-metadata-provides-extra`""" + provides_dist: _Validator[list[str] | None] = _Validator(added="1.2") + """:external:ref:`core-metadata-provides-dist`""" + obsoletes_dist: _Validator[list[str] | None] = _Validator(added="1.2") + """:external:ref:`core-metadata-obsoletes-dist`""" + requires: _Validator[list[str] | None] = _Validator(added="1.1") + """``Requires`` (deprecated)""" + provides: _Validator[list[str] | None] = _Validator(added="1.1") + """``Provides`` (deprecated)""" + obsoletes: _Validator[list[str] | None] = _Validator(added="1.1") + """``Obsoletes`` (deprecated)""" diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/py.typed b/.venv/Lib/site-packages/packaging/py.typed similarity index 100% rename from .venv/Lib/site-packages/pip/_vendor/chardet/py.typed rename to .venv/Lib/site-packages/packaging/py.typed diff --git a/.venv/Lib/site-packages/packaging/requirements.py b/.venv/Lib/site-packages/packaging/requirements.py new file mode 100644 index 0000000..4e068c9 --- /dev/null +++ b/.venv/Lib/site-packages/packaging/requirements.py @@ -0,0 +1,91 @@ +# This file is dual licensed under the terms of the Apache License, Version +# 2.0, and the BSD License. See the LICENSE file in the root of this repository +# for complete details. +from __future__ import annotations + +from typing import Any, Iterator + +from ._parser import parse_requirement as _parse_requirement +from ._tokenizer import ParserSyntaxError +from .markers import Marker, _normalize_extra_values +from .specifiers import SpecifierSet +from .utils import canonicalize_name + + +class InvalidRequirement(ValueError): + """ + An invalid requirement was found, users should refer to PEP 508. + """ + + +class Requirement: + """Parse a requirement. + + Parse a given requirement string into its parts, such as name, specifier, + URL, and extras. Raises InvalidRequirement on a badly-formed requirement + string. + """ + + # TODO: Can we test whether something is contained within a requirement? + # If so how do we do that? Do we need to test against the _name_ of + # the thing as well as the version? What about the markers? + # TODO: Can we normalize the name and extra name? + + def __init__(self, requirement_string: str) -> None: + try: + parsed = _parse_requirement(requirement_string) + except ParserSyntaxError as e: + raise InvalidRequirement(str(e)) from e + + self.name: str = parsed.name + self.url: str | None = parsed.url or None + self.extras: set[str] = set(parsed.extras or []) + self.specifier: SpecifierSet = SpecifierSet(parsed.specifier) + self.marker: Marker | None = None + if parsed.marker is not None: + self.marker = Marker.__new__(Marker) + self.marker._markers = _normalize_extra_values(parsed.marker) + + def _iter_parts(self, name: str) -> Iterator[str]: + yield name + + if self.extras: + formatted_extras = ",".join(sorted(self.extras)) + yield f"[{formatted_extras}]" + + if self.specifier: + yield str(self.specifier) + + if self.url: + yield f"@ {self.url}" + if self.marker: + yield " " + + if self.marker: + yield f"; {self.marker}" + + def __str__(self) -> str: + return "".join(self._iter_parts(self.name)) + + def __repr__(self) -> str: + return f"" + + def __hash__(self) -> int: + return hash( + ( + self.__class__.__name__, + *self._iter_parts(canonicalize_name(self.name)), + ) + ) + + def __eq__(self, other: Any) -> bool: + if not isinstance(other, Requirement): + return NotImplemented + + return ( + canonicalize_name(self.name) == canonicalize_name(other.name) + and self.extras == other.extras + and self.specifier == other.specifier + and self.url == other.url + and self.marker == other.marker + ) diff --git a/.venv/Lib/site-packages/packaging/specifiers.py b/.venv/Lib/site-packages/packaging/specifiers.py new file mode 100644 index 0000000..c844804 --- /dev/null +++ b/.venv/Lib/site-packages/packaging/specifiers.py @@ -0,0 +1,1019 @@ +# This file is dual licensed under the terms of the Apache License, Version +# 2.0, and the BSD License. See the LICENSE file in the root of this repository +# for complete details. +""" +.. testsetup:: + + from packaging.specifiers import Specifier, SpecifierSet, InvalidSpecifier + from packaging.version import Version +""" + +from __future__ import annotations + +import abc +import itertools +import re +from typing import Callable, Iterable, Iterator, TypeVar, Union + +from .utils import canonicalize_version +from .version import Version + +UnparsedVersion = Union[Version, str] +UnparsedVersionVar = TypeVar("UnparsedVersionVar", bound=UnparsedVersion) +CallableOperator = Callable[[Version, str], bool] + + +def _coerce_version(version: UnparsedVersion) -> Version: + if not isinstance(version, Version): + version = Version(version) + return version + + +class InvalidSpecifier(ValueError): + """ + Raised when attempting to create a :class:`Specifier` with a specifier + string that is invalid. + + >>> Specifier("lolwat") + Traceback (most recent call last): + ... + packaging.specifiers.InvalidSpecifier: Invalid specifier: 'lolwat' + """ + + +class BaseSpecifier(metaclass=abc.ABCMeta): + @abc.abstractmethod + def __str__(self) -> str: + """ + Returns the str representation of this Specifier-like object. This + should be representative of the Specifier itself. + """ + + @abc.abstractmethod + def __hash__(self) -> int: + """ + Returns a hash value for this Specifier-like object. + """ + + @abc.abstractmethod + def __eq__(self, other: object) -> bool: + """ + Returns a boolean representing whether or not the two Specifier-like + objects are equal. + + :param other: The other object to check against. + """ + + @property + @abc.abstractmethod + def prereleases(self) -> bool | None: + """Whether or not pre-releases as a whole are allowed. + + This can be set to either ``True`` or ``False`` to explicitly enable or disable + prereleases or it can be set to ``None`` (the default) to use default semantics. + """ + + @prereleases.setter + def prereleases(self, value: bool) -> None: + """Setter for :attr:`prereleases`. + + :param value: The value to set. + """ + + @abc.abstractmethod + def contains(self, item: str, prereleases: bool | None = None) -> bool: + """ + Determines if the given item is contained within this specifier. + """ + + @abc.abstractmethod + def filter( + self, iterable: Iterable[UnparsedVersionVar], prereleases: bool | None = None + ) -> Iterator[UnparsedVersionVar]: + """ + Takes an iterable of items and filters them so that only items which + are contained within this specifier are allowed in it. + """ + + +class Specifier(BaseSpecifier): + """This class abstracts handling of version specifiers. + + .. tip:: + + It is generally not required to instantiate this manually. You should instead + prefer to work with :class:`SpecifierSet` instead, which can parse + comma-separated version specifiers (which is what package metadata contains). + """ + + _operator_regex_str = r""" + (?P(~=|==|!=|<=|>=|<|>|===)) + """ + _version_regex_str = r""" + (?P + (?: + # The identity operators allow for an escape hatch that will + # do an exact string match of the version you wish to install. + # This will not be parsed by PEP 440 and we cannot determine + # any semantic meaning from it. This operator is discouraged + # but included entirely as an escape hatch. + (?<====) # Only match for the identity operator + \s* + [^\s;)]* # The arbitrary version can be just about anything, + # we match everything except for whitespace, a + # semi-colon for marker support, and a closing paren + # since versions can be enclosed in them. + ) + | + (?: + # The (non)equality operators allow for wild card and local + # versions to be specified so we have to define these two + # operators separately to enable that. + (?<===|!=) # Only match for equals and not equals + + \s* + v? + (?:[0-9]+!)? # epoch + [0-9]+(?:\.[0-9]+)* # release + + # You cannot use a wild card and a pre-release, post-release, a dev or + # local version together so group them with a | and make them optional. + (?: + \.\* # Wild card syntax of .* + | + (?: # pre release + [-_\.]? + (alpha|beta|preview|pre|a|b|c|rc) + [-_\.]? + [0-9]* + )? + (?: # post release + (?:-[0-9]+)|(?:[-_\.]?(post|rev|r)[-_\.]?[0-9]*) + )? + (?:[-_\.]?dev[-_\.]?[0-9]*)? # dev release + (?:\+[a-z0-9]+(?:[-_\.][a-z0-9]+)*)? # local + )? + ) + | + (?: + # The compatible operator requires at least two digits in the + # release segment. + (?<=~=) # Only match for the compatible operator + + \s* + v? + (?:[0-9]+!)? # epoch + [0-9]+(?:\.[0-9]+)+ # release (We have a + instead of a *) + (?: # pre release + [-_\.]? + (alpha|beta|preview|pre|a|b|c|rc) + [-_\.]? + [0-9]* + )? + (?: # post release + (?:-[0-9]+)|(?:[-_\.]?(post|rev|r)[-_\.]?[0-9]*) + )? + (?:[-_\.]?dev[-_\.]?[0-9]*)? # dev release + ) + | + (?: + # All other operators only allow a sub set of what the + # (non)equality operators do. Specifically they do not allow + # local versions to be specified nor do they allow the prefix + # matching wild cards. + (?=": "greater_than_equal", + "<": "less_than", + ">": "greater_than", + "===": "arbitrary", + } + + def __init__(self, spec: str = "", prereleases: bool | None = None) -> None: + """Initialize a Specifier instance. + + :param spec: + The string representation of a specifier which will be parsed and + normalized before use. + :param prereleases: + This tells the specifier if it should accept prerelease versions if + applicable or not. The default of ``None`` will autodetect it from the + given specifiers. + :raises InvalidSpecifier: + If the given specifier is invalid (i.e. bad syntax). + """ + match = self._regex.search(spec) + if not match: + raise InvalidSpecifier(f"Invalid specifier: {spec!r}") + + self._spec: tuple[str, str] = ( + match.group("operator").strip(), + match.group("version").strip(), + ) + + # Store whether or not this Specifier should accept prereleases + self._prereleases = prereleases + + # https://github.com/python/mypy/pull/13475#pullrequestreview-1079784515 + @property # type: ignore[override] + def prereleases(self) -> bool: + # If there is an explicit prereleases set for this, then we'll just + # blindly use that. + if self._prereleases is not None: + return self._prereleases + + # Look at all of our specifiers and determine if they are inclusive + # operators, and if they are if they are including an explicit + # prerelease. + operator, version = self._spec + if operator in ["==", ">=", "<=", "~=", "===", ">", "<"]: + # The == specifier can include a trailing .*, if it does we + # want to remove before parsing. + if operator == "==" and version.endswith(".*"): + version = version[:-2] + + # Parse the version, and if it is a pre-release than this + # specifier allows pre-releases. + if Version(version).is_prerelease: + return True + + return False + + @prereleases.setter + def prereleases(self, value: bool) -> None: + self._prereleases = value + + @property + def operator(self) -> str: + """The operator of this specifier. + + >>> Specifier("==1.2.3").operator + '==' + """ + return self._spec[0] + + @property + def version(self) -> str: + """The version of this specifier. + + >>> Specifier("==1.2.3").version + '1.2.3' + """ + return self._spec[1] + + def __repr__(self) -> str: + """A representation of the Specifier that shows all internal state. + + >>> Specifier('>=1.0.0') + =1.0.0')> + >>> Specifier('>=1.0.0', prereleases=False) + =1.0.0', prereleases=False)> + >>> Specifier('>=1.0.0', prereleases=True) + =1.0.0', prereleases=True)> + """ + pre = ( + f", prereleases={self.prereleases!r}" + if self._prereleases is not None + else "" + ) + + return f"<{self.__class__.__name__}({str(self)!r}{pre})>" + + def __str__(self) -> str: + """A string representation of the Specifier that can be round-tripped. + + >>> str(Specifier('>=1.0.0')) + '>=1.0.0' + >>> str(Specifier('>=1.0.0', prereleases=False)) + '>=1.0.0' + """ + return "{}{}".format(*self._spec) + + @property + def _canonical_spec(self) -> tuple[str, str]: + canonical_version = canonicalize_version( + self._spec[1], + strip_trailing_zero=(self._spec[0] != "~="), + ) + return self._spec[0], canonical_version + + def __hash__(self) -> int: + return hash(self._canonical_spec) + + def __eq__(self, other: object) -> bool: + """Whether or not the two Specifier-like objects are equal. + + :param other: The other object to check against. + + The value of :attr:`prereleases` is ignored. + + >>> Specifier("==1.2.3") == Specifier("== 1.2.3.0") + True + >>> (Specifier("==1.2.3", prereleases=False) == + ... Specifier("==1.2.3", prereleases=True)) + True + >>> Specifier("==1.2.3") == "==1.2.3" + True + >>> Specifier("==1.2.3") == Specifier("==1.2.4") + False + >>> Specifier("==1.2.3") == Specifier("~=1.2.3") + False + """ + if isinstance(other, str): + try: + other = self.__class__(str(other)) + except InvalidSpecifier: + return NotImplemented + elif not isinstance(other, self.__class__): + return NotImplemented + + return self._canonical_spec == other._canonical_spec + + def _get_operator(self, op: str) -> CallableOperator: + operator_callable: CallableOperator = getattr( + self, f"_compare_{self._operators[op]}" + ) + return operator_callable + + def _compare_compatible(self, prospective: Version, spec: str) -> bool: + # Compatible releases have an equivalent combination of >= and ==. That + # is that ~=2.2 is equivalent to >=2.2,==2.*. This allows us to + # implement this in terms of the other specifiers instead of + # implementing it ourselves. The only thing we need to do is construct + # the other specifiers. + + # We want everything but the last item in the version, but we want to + # ignore suffix segments. + prefix = _version_join( + list(itertools.takewhile(_is_not_suffix, _version_split(spec)))[:-1] + ) + + # Add the prefix notation to the end of our string + prefix += ".*" + + return self._get_operator(">=")(prospective, spec) and self._get_operator("==")( + prospective, prefix + ) + + def _compare_equal(self, prospective: Version, spec: str) -> bool: + # We need special logic to handle prefix matching + if spec.endswith(".*"): + # In the case of prefix matching we want to ignore local segment. + normalized_prospective = canonicalize_version( + prospective.public, strip_trailing_zero=False + ) + # Get the normalized version string ignoring the trailing .* + normalized_spec = canonicalize_version(spec[:-2], strip_trailing_zero=False) + # Split the spec out by bangs and dots, and pretend that there is + # an implicit dot in between a release segment and a pre-release segment. + split_spec = _version_split(normalized_spec) + + # Split the prospective version out by bangs and dots, and pretend + # that there is an implicit dot in between a release segment and + # a pre-release segment. + split_prospective = _version_split(normalized_prospective) + + # 0-pad the prospective version before shortening it to get the correct + # shortened version. + padded_prospective, _ = _pad_version(split_prospective, split_spec) + + # Shorten the prospective version to be the same length as the spec + # so that we can determine if the specifier is a prefix of the + # prospective version or not. + shortened_prospective = padded_prospective[: len(split_spec)] + + return shortened_prospective == split_spec + else: + # Convert our spec string into a Version + spec_version = Version(spec) + + # If the specifier does not have a local segment, then we want to + # act as if the prospective version also does not have a local + # segment. + if not spec_version.local: + prospective = Version(prospective.public) + + return prospective == spec_version + + def _compare_not_equal(self, prospective: Version, spec: str) -> bool: + return not self._compare_equal(prospective, spec) + + def _compare_less_than_equal(self, prospective: Version, spec: str) -> bool: + # NB: Local version identifiers are NOT permitted in the version + # specifier, so local version labels can be universally removed from + # the prospective version. + return Version(prospective.public) <= Version(spec) + + def _compare_greater_than_equal(self, prospective: Version, spec: str) -> bool: + # NB: Local version identifiers are NOT permitted in the version + # specifier, so local version labels can be universally removed from + # the prospective version. + return Version(prospective.public) >= Version(spec) + + def _compare_less_than(self, prospective: Version, spec_str: str) -> bool: + # Convert our spec to a Version instance, since we'll want to work with + # it as a version. + spec = Version(spec_str) + + # Check to see if the prospective version is less than the spec + # version. If it's not we can short circuit and just return False now + # instead of doing extra unneeded work. + if not prospective < spec: + return False + + # This special case is here so that, unless the specifier itself + # includes is a pre-release version, that we do not accept pre-release + # versions for the version mentioned in the specifier (e.g. <3.1 should + # not match 3.1.dev0, but should match 3.0.dev0). + if not spec.is_prerelease and prospective.is_prerelease: + if Version(prospective.base_version) == Version(spec.base_version): + return False + + # If we've gotten to here, it means that prospective version is both + # less than the spec version *and* it's not a pre-release of the same + # version in the spec. + return True + + def _compare_greater_than(self, prospective: Version, spec_str: str) -> bool: + # Convert our spec to a Version instance, since we'll want to work with + # it as a version. + spec = Version(spec_str) + + # Check to see if the prospective version is greater than the spec + # version. If it's not we can short circuit and just return False now + # instead of doing extra unneeded work. + if not prospective > spec: + return False + + # This special case is here so that, unless the specifier itself + # includes is a post-release version, that we do not accept + # post-release versions for the version mentioned in the specifier + # (e.g. >3.1 should not match 3.0.post0, but should match 3.2.post0). + if not spec.is_postrelease and prospective.is_postrelease: + if Version(prospective.base_version) == Version(spec.base_version): + return False + + # Ensure that we do not allow a local version of the version mentioned + # in the specifier, which is technically greater than, to match. + if prospective.local is not None: + if Version(prospective.base_version) == Version(spec.base_version): + return False + + # If we've gotten to here, it means that prospective version is both + # greater than the spec version *and* it's not a pre-release of the + # same version in the spec. + return True + + def _compare_arbitrary(self, prospective: Version, spec: str) -> bool: + return str(prospective).lower() == str(spec).lower() + + def __contains__(self, item: str | Version) -> bool: + """Return whether or not the item is contained in this specifier. + + :param item: The item to check for. + + This is used for the ``in`` operator and behaves the same as + :meth:`contains` with no ``prereleases`` argument passed. + + >>> "1.2.3" in Specifier(">=1.2.3") + True + >>> Version("1.2.3") in Specifier(">=1.2.3") + True + >>> "1.0.0" in Specifier(">=1.2.3") + False + >>> "1.3.0a1" in Specifier(">=1.2.3") + False + >>> "1.3.0a1" in Specifier(">=1.2.3", prereleases=True) + True + """ + return self.contains(item) + + def contains(self, item: UnparsedVersion, prereleases: bool | None = None) -> bool: + """Return whether or not the item is contained in this specifier. + + :param item: + The item to check for, which can be a version string or a + :class:`Version` instance. + :param prereleases: + Whether or not to match prereleases with this Specifier. If set to + ``None`` (the default), it uses :attr:`prereleases` to determine + whether or not prereleases are allowed. + + >>> Specifier(">=1.2.3").contains("1.2.3") + True + >>> Specifier(">=1.2.3").contains(Version("1.2.3")) + True + >>> Specifier(">=1.2.3").contains("1.0.0") + False + >>> Specifier(">=1.2.3").contains("1.3.0a1") + False + >>> Specifier(">=1.2.3", prereleases=True).contains("1.3.0a1") + True + >>> Specifier(">=1.2.3").contains("1.3.0a1", prereleases=True) + True + """ + + # Determine if prereleases are to be allowed or not. + if prereleases is None: + prereleases = self.prereleases + + # Normalize item to a Version, this allows us to have a shortcut for + # "2.0" in Specifier(">=2") + normalized_item = _coerce_version(item) + + # Determine if we should be supporting prereleases in this specifier + # or not, if we do not support prereleases than we can short circuit + # logic if this version is a prereleases. + if normalized_item.is_prerelease and not prereleases: + return False + + # Actually do the comparison to determine if this item is contained + # within this Specifier or not. + operator_callable: CallableOperator = self._get_operator(self.operator) + return operator_callable(normalized_item, self.version) + + def filter( + self, iterable: Iterable[UnparsedVersionVar], prereleases: bool | None = None + ) -> Iterator[UnparsedVersionVar]: + """Filter items in the given iterable, that match the specifier. + + :param iterable: + An iterable that can contain version strings and :class:`Version` instances. + The items in the iterable will be filtered according to the specifier. + :param prereleases: + Whether or not to allow prereleases in the returned iterator. If set to + ``None`` (the default), it will be intelligently decide whether to allow + prereleases or not (based on the :attr:`prereleases` attribute, and + whether the only versions matching are prereleases). + + This method is smarter than just ``filter(Specifier().contains, [...])`` + because it implements the rule from :pep:`440` that a prerelease item + SHOULD be accepted if no other versions match the given specifier. + + >>> list(Specifier(">=1.2.3").filter(["1.2", "1.3", "1.5a1"])) + ['1.3'] + >>> list(Specifier(">=1.2.3").filter(["1.2", "1.2.3", "1.3", Version("1.4")])) + ['1.2.3', '1.3', ] + >>> list(Specifier(">=1.2.3").filter(["1.2", "1.5a1"])) + ['1.5a1'] + >>> list(Specifier(">=1.2.3").filter(["1.3", "1.5a1"], prereleases=True)) + ['1.3', '1.5a1'] + >>> list(Specifier(">=1.2.3", prereleases=True).filter(["1.3", "1.5a1"])) + ['1.3', '1.5a1'] + """ + + yielded = False + found_prereleases = [] + + kw = {"prereleases": prereleases if prereleases is not None else True} + + # Attempt to iterate over all the values in the iterable and if any of + # them match, yield them. + for version in iterable: + parsed_version = _coerce_version(version) + + if self.contains(parsed_version, **kw): + # If our version is a prerelease, and we were not set to allow + # prereleases, then we'll store it for later in case nothing + # else matches this specifier. + if parsed_version.is_prerelease and not ( + prereleases or self.prereleases + ): + found_prereleases.append(version) + # Either this is not a prerelease, or we should have been + # accepting prereleases from the beginning. + else: + yielded = True + yield version + + # Now that we've iterated over everything, determine if we've yielded + # any values, and if we have not and we have any prereleases stored up + # then we will go ahead and yield the prereleases. + if not yielded and found_prereleases: + for version in found_prereleases: + yield version + + +_prefix_regex = re.compile(r"^([0-9]+)((?:a|b|c|rc)[0-9]+)$") + + +def _version_split(version: str) -> list[str]: + """Split version into components. + + The split components are intended for version comparison. The logic does + not attempt to retain the original version string, so joining the + components back with :func:`_version_join` may not produce the original + version string. + """ + result: list[str] = [] + + epoch, _, rest = version.rpartition("!") + result.append(epoch or "0") + + for item in rest.split("."): + match = _prefix_regex.search(item) + if match: + result.extend(match.groups()) + else: + result.append(item) + return result + + +def _version_join(components: list[str]) -> str: + """Join split version components into a version string. + + This function assumes the input came from :func:`_version_split`, where the + first component must be the epoch (either empty or numeric), and all other + components numeric. + """ + epoch, *rest = components + return f"{epoch}!{'.'.join(rest)}" + + +def _is_not_suffix(segment: str) -> bool: + return not any( + segment.startswith(prefix) for prefix in ("dev", "a", "b", "rc", "post") + ) + + +def _pad_version(left: list[str], right: list[str]) -> tuple[list[str], list[str]]: + left_split, right_split = [], [] + + # Get the release segment of our versions + left_split.append(list(itertools.takewhile(lambda x: x.isdigit(), left))) + right_split.append(list(itertools.takewhile(lambda x: x.isdigit(), right))) + + # Get the rest of our versions + left_split.append(left[len(left_split[0]) :]) + right_split.append(right[len(right_split[0]) :]) + + # Insert our padding + left_split.insert(1, ["0"] * max(0, len(right_split[0]) - len(left_split[0]))) + right_split.insert(1, ["0"] * max(0, len(left_split[0]) - len(right_split[0]))) + + return ( + list(itertools.chain.from_iterable(left_split)), + list(itertools.chain.from_iterable(right_split)), + ) + + +class SpecifierSet(BaseSpecifier): + """This class abstracts handling of a set of version specifiers. + + It can be passed a single specifier (``>=3.0``), a comma-separated list of + specifiers (``>=3.0,!=3.1``), or no specifier at all. + """ + + def __init__( + self, + specifiers: str | Iterable[Specifier] = "", + prereleases: bool | None = None, + ) -> None: + """Initialize a SpecifierSet instance. + + :param specifiers: + The string representation of a specifier or a comma-separated list of + specifiers which will be parsed and normalized before use. + May also be an iterable of ``Specifier`` instances, which will be used + as is. + :param prereleases: + This tells the SpecifierSet if it should accept prerelease versions if + applicable or not. The default of ``None`` will autodetect it from the + given specifiers. + + :raises InvalidSpecifier: + If the given ``specifiers`` are not parseable than this exception will be + raised. + """ + + if isinstance(specifiers, str): + # Split on `,` to break each individual specifier into its own item, and + # strip each item to remove leading/trailing whitespace. + split_specifiers = [s.strip() for s in specifiers.split(",") if s.strip()] + + # Make each individual specifier a Specifier and save in a frozen set + # for later. + self._specs = frozenset(map(Specifier, split_specifiers)) + else: + # Save the supplied specifiers in a frozen set. + self._specs = frozenset(specifiers) + + # Store our prereleases value so we can use it later to determine if + # we accept prereleases or not. + self._prereleases = prereleases + + @property + def prereleases(self) -> bool | None: + # If we have been given an explicit prerelease modifier, then we'll + # pass that through here. + if self._prereleases is not None: + return self._prereleases + + # If we don't have any specifiers, and we don't have a forced value, + # then we'll just return None since we don't know if this should have + # pre-releases or not. + if not self._specs: + return None + + # Otherwise we'll see if any of the given specifiers accept + # prereleases, if any of them do we'll return True, otherwise False. + return any(s.prereleases for s in self._specs) + + @prereleases.setter + def prereleases(self, value: bool) -> None: + self._prereleases = value + + def __repr__(self) -> str: + """A representation of the specifier set that shows all internal state. + + Note that the ordering of the individual specifiers within the set may not + match the input string. + + >>> SpecifierSet('>=1.0.0,!=2.0.0') + =1.0.0')> + >>> SpecifierSet('>=1.0.0,!=2.0.0', prereleases=False) + =1.0.0', prereleases=False)> + >>> SpecifierSet('>=1.0.0,!=2.0.0', prereleases=True) + =1.0.0', prereleases=True)> + """ + pre = ( + f", prereleases={self.prereleases!r}" + if self._prereleases is not None + else "" + ) + + return f"" + + def __str__(self) -> str: + """A string representation of the specifier set that can be round-tripped. + + Note that the ordering of the individual specifiers within the set may not + match the input string. + + >>> str(SpecifierSet(">=1.0.0,!=1.0.1")) + '!=1.0.1,>=1.0.0' + >>> str(SpecifierSet(">=1.0.0,!=1.0.1", prereleases=False)) + '!=1.0.1,>=1.0.0' + """ + return ",".join(sorted(str(s) for s in self._specs)) + + def __hash__(self) -> int: + return hash(self._specs) + + def __and__(self, other: SpecifierSet | str) -> SpecifierSet: + """Return a SpecifierSet which is a combination of the two sets. + + :param other: The other object to combine with. + + >>> SpecifierSet(">=1.0.0,!=1.0.1") & '<=2.0.0,!=2.0.1' + =1.0.0')> + >>> SpecifierSet(">=1.0.0,!=1.0.1") & SpecifierSet('<=2.0.0,!=2.0.1') + =1.0.0')> + """ + if isinstance(other, str): + other = SpecifierSet(other) + elif not isinstance(other, SpecifierSet): + return NotImplemented + + specifier = SpecifierSet() + specifier._specs = frozenset(self._specs | other._specs) + + if self._prereleases is None and other._prereleases is not None: + specifier._prereleases = other._prereleases + elif self._prereleases is not None and other._prereleases is None: + specifier._prereleases = self._prereleases + elif self._prereleases == other._prereleases: + specifier._prereleases = self._prereleases + else: + raise ValueError( + "Cannot combine SpecifierSets with True and False prerelease overrides." + ) + + return specifier + + def __eq__(self, other: object) -> bool: + """Whether or not the two SpecifierSet-like objects are equal. + + :param other: The other object to check against. + + The value of :attr:`prereleases` is ignored. + + >>> SpecifierSet(">=1.0.0,!=1.0.1") == SpecifierSet(">=1.0.0,!=1.0.1") + True + >>> (SpecifierSet(">=1.0.0,!=1.0.1", prereleases=False) == + ... SpecifierSet(">=1.0.0,!=1.0.1", prereleases=True)) + True + >>> SpecifierSet(">=1.0.0,!=1.0.1") == ">=1.0.0,!=1.0.1" + True + >>> SpecifierSet(">=1.0.0,!=1.0.1") == SpecifierSet(">=1.0.0") + False + >>> SpecifierSet(">=1.0.0,!=1.0.1") == SpecifierSet(">=1.0.0,!=1.0.2") + False + """ + if isinstance(other, (str, Specifier)): + other = SpecifierSet(str(other)) + elif not isinstance(other, SpecifierSet): + return NotImplemented + + return self._specs == other._specs + + def __len__(self) -> int: + """Returns the number of specifiers in this specifier set.""" + return len(self._specs) + + def __iter__(self) -> Iterator[Specifier]: + """ + Returns an iterator over all the underlying :class:`Specifier` instances + in this specifier set. + + >>> sorted(SpecifierSet(">=1.0.0,!=1.0.1"), key=str) + [, =1.0.0')>] + """ + return iter(self._specs) + + def __contains__(self, item: UnparsedVersion) -> bool: + """Return whether or not the item is contained in this specifier. + + :param item: The item to check for. + + This is used for the ``in`` operator and behaves the same as + :meth:`contains` with no ``prereleases`` argument passed. + + >>> "1.2.3" in SpecifierSet(">=1.0.0,!=1.0.1") + True + >>> Version("1.2.3") in SpecifierSet(">=1.0.0,!=1.0.1") + True + >>> "1.0.1" in SpecifierSet(">=1.0.0,!=1.0.1") + False + >>> "1.3.0a1" in SpecifierSet(">=1.0.0,!=1.0.1") + False + >>> "1.3.0a1" in SpecifierSet(">=1.0.0,!=1.0.1", prereleases=True) + True + """ + return self.contains(item) + + def contains( + self, + item: UnparsedVersion, + prereleases: bool | None = None, + installed: bool | None = None, + ) -> bool: + """Return whether or not the item is contained in this SpecifierSet. + + :param item: + The item to check for, which can be a version string or a + :class:`Version` instance. + :param prereleases: + Whether or not to match prereleases with this SpecifierSet. If set to + ``None`` (the default), it uses :attr:`prereleases` to determine + whether or not prereleases are allowed. + + >>> SpecifierSet(">=1.0.0,!=1.0.1").contains("1.2.3") + True + >>> SpecifierSet(">=1.0.0,!=1.0.1").contains(Version("1.2.3")) + True + >>> SpecifierSet(">=1.0.0,!=1.0.1").contains("1.0.1") + False + >>> SpecifierSet(">=1.0.0,!=1.0.1").contains("1.3.0a1") + False + >>> SpecifierSet(">=1.0.0,!=1.0.1", prereleases=True).contains("1.3.0a1") + True + >>> SpecifierSet(">=1.0.0,!=1.0.1").contains("1.3.0a1", prereleases=True) + True + """ + # Ensure that our item is a Version instance. + if not isinstance(item, Version): + item = Version(item) + + # Determine if we're forcing a prerelease or not, if we're not forcing + # one for this particular filter call, then we'll use whatever the + # SpecifierSet thinks for whether or not we should support prereleases. + if prereleases is None: + prereleases = self.prereleases + + # We can determine if we're going to allow pre-releases by looking to + # see if any of the underlying items supports them. If none of them do + # and this item is a pre-release then we do not allow it and we can + # short circuit that here. + # Note: This means that 1.0.dev1 would not be contained in something + # like >=1.0.devabc however it would be in >=1.0.debabc,>0.0.dev0 + if not prereleases and item.is_prerelease: + return False + + if installed and item.is_prerelease: + item = Version(item.base_version) + + # We simply dispatch to the underlying specs here to make sure that the + # given version is contained within all of them. + # Note: This use of all() here means that an empty set of specifiers + # will always return True, this is an explicit design decision. + return all(s.contains(item, prereleases=prereleases) for s in self._specs) + + def filter( + self, iterable: Iterable[UnparsedVersionVar], prereleases: bool | None = None + ) -> Iterator[UnparsedVersionVar]: + """Filter items in the given iterable, that match the specifiers in this set. + + :param iterable: + An iterable that can contain version strings and :class:`Version` instances. + The items in the iterable will be filtered according to the specifier. + :param prereleases: + Whether or not to allow prereleases in the returned iterator. If set to + ``None`` (the default), it will be intelligently decide whether to allow + prereleases or not (based on the :attr:`prereleases` attribute, and + whether the only versions matching are prereleases). + + This method is smarter than just ``filter(SpecifierSet(...).contains, [...])`` + because it implements the rule from :pep:`440` that a prerelease item + SHOULD be accepted if no other versions match the given specifier. + + >>> list(SpecifierSet(">=1.2.3").filter(["1.2", "1.3", "1.5a1"])) + ['1.3'] + >>> list(SpecifierSet(">=1.2.3").filter(["1.2", "1.3", Version("1.4")])) + ['1.3', ] + >>> list(SpecifierSet(">=1.2.3").filter(["1.2", "1.5a1"])) + [] + >>> list(SpecifierSet(">=1.2.3").filter(["1.3", "1.5a1"], prereleases=True)) + ['1.3', '1.5a1'] + >>> list(SpecifierSet(">=1.2.3", prereleases=True).filter(["1.3", "1.5a1"])) + ['1.3', '1.5a1'] + + An "empty" SpecifierSet will filter items based on the presence of prerelease + versions in the set. + + >>> list(SpecifierSet("").filter(["1.3", "1.5a1"])) + ['1.3'] + >>> list(SpecifierSet("").filter(["1.5a1"])) + ['1.5a1'] + >>> list(SpecifierSet("", prereleases=True).filter(["1.3", "1.5a1"])) + ['1.3', '1.5a1'] + >>> list(SpecifierSet("").filter(["1.3", "1.5a1"], prereleases=True)) + ['1.3', '1.5a1'] + """ + # Determine if we're forcing a prerelease or not, if we're not forcing + # one for this particular filter call, then we'll use whatever the + # SpecifierSet thinks for whether or not we should support prereleases. + if prereleases is None: + prereleases = self.prereleases + + # If we have any specifiers, then we want to wrap our iterable in the + # filter method for each one, this will act as a logical AND amongst + # each specifier. + if self._specs: + for spec in self._specs: + iterable = spec.filter(iterable, prereleases=bool(prereleases)) + return iter(iterable) + # If we do not have any specifiers, then we need to have a rough filter + # which will filter out any pre-releases, unless there are no final + # releases. + else: + filtered: list[UnparsedVersionVar] = [] + found_prereleases: list[UnparsedVersionVar] = [] + + for item in iterable: + parsed_version = _coerce_version(item) + + # Store any item which is a pre-release for later unless we've + # already found a final version or we are accepting prereleases + if parsed_version.is_prerelease and not prereleases: + if not filtered: + found_prereleases.append(item) + else: + filtered.append(item) + + # If we've found no items except for pre-releases, then we'll go + # ahead and use the pre-releases + if not filtered and found_prereleases and prereleases is None: + return iter(found_prereleases) + + return iter(filtered) diff --git a/.venv/Lib/site-packages/packaging/tags.py b/.venv/Lib/site-packages/packaging/tags.py new file mode 100644 index 0000000..8522f59 --- /dev/null +++ b/.venv/Lib/site-packages/packaging/tags.py @@ -0,0 +1,656 @@ +# This file is dual licensed under the terms of the Apache License, Version +# 2.0, and the BSD License. See the LICENSE file in the root of this repository +# for complete details. + +from __future__ import annotations + +import logging +import platform +import re +import struct +import subprocess +import sys +import sysconfig +from importlib.machinery import EXTENSION_SUFFIXES +from typing import ( + Iterable, + Iterator, + Sequence, + Tuple, + cast, +) + +from . import _manylinux, _musllinux + +logger = logging.getLogger(__name__) + +PythonVersion = Sequence[int] +AppleVersion = Tuple[int, int] + +INTERPRETER_SHORT_NAMES: dict[str, str] = { + "python": "py", # Generic. + "cpython": "cp", + "pypy": "pp", + "ironpython": "ip", + "jython": "jy", +} + + +_32_BIT_INTERPRETER = struct.calcsize("P") == 4 + + +class Tag: + """ + A representation of the tag triple for a wheel. + + Instances are considered immutable and thus are hashable. Equality checking + is also supported. + """ + + __slots__ = ["_abi", "_hash", "_interpreter", "_platform"] + + def __init__(self, interpreter: str, abi: str, platform: str) -> None: + self._interpreter = interpreter.lower() + self._abi = abi.lower() + self._platform = platform.lower() + # The __hash__ of every single element in a Set[Tag] will be evaluated each time + # that a set calls its `.disjoint()` method, which may be called hundreds of + # times when scanning a page of links for packages with tags matching that + # Set[Tag]. Pre-computing the value here produces significant speedups for + # downstream consumers. + self._hash = hash((self._interpreter, self._abi, self._platform)) + + @property + def interpreter(self) -> str: + return self._interpreter + + @property + def abi(self) -> str: + return self._abi + + @property + def platform(self) -> str: + return self._platform + + def __eq__(self, other: object) -> bool: + if not isinstance(other, Tag): + return NotImplemented + + return ( + (self._hash == other._hash) # Short-circuit ASAP for perf reasons. + and (self._platform == other._platform) + and (self._abi == other._abi) + and (self._interpreter == other._interpreter) + ) + + def __hash__(self) -> int: + return self._hash + + def __str__(self) -> str: + return f"{self._interpreter}-{self._abi}-{self._platform}" + + def __repr__(self) -> str: + return f"<{self} @ {id(self)}>" + + +def parse_tag(tag: str) -> frozenset[Tag]: + """ + Parses the provided tag (e.g. `py3-none-any`) into a frozenset of Tag instances. + + Returning a set is required due to the possibility that the tag is a + compressed tag set. + """ + tags = set() + interpreters, abis, platforms = tag.split("-") + for interpreter in interpreters.split("."): + for abi in abis.split("."): + for platform_ in platforms.split("."): + tags.add(Tag(interpreter, abi, platform_)) + return frozenset(tags) + + +def _get_config_var(name: str, warn: bool = False) -> int | str | None: + value: int | str | None = sysconfig.get_config_var(name) + if value is None and warn: + logger.debug( + "Config variable '%s' is unset, Python ABI tag may be incorrect", name + ) + return value + + +def _normalize_string(string: str) -> str: + return string.replace(".", "_").replace("-", "_").replace(" ", "_") + + +def _is_threaded_cpython(abis: list[str]) -> bool: + """ + Determine if the ABI corresponds to a threaded (`--disable-gil`) build. + + The threaded builds are indicated by a "t" in the abiflags. + """ + if len(abis) == 0: + return False + # expect e.g., cp313 + m = re.match(r"cp\d+(.*)", abis[0]) + if not m: + return False + abiflags = m.group(1) + return "t" in abiflags + + +def _abi3_applies(python_version: PythonVersion, threading: bool) -> bool: + """ + Determine if the Python version supports abi3. + + PEP 384 was first implemented in Python 3.2. The threaded (`--disable-gil`) + builds do not support abi3. + """ + return len(python_version) > 1 and tuple(python_version) >= (3, 2) and not threading + + +def _cpython_abis(py_version: PythonVersion, warn: bool = False) -> list[str]: + py_version = tuple(py_version) # To allow for version comparison. + abis = [] + version = _version_nodot(py_version[:2]) + threading = debug = pymalloc = ucs4 = "" + with_debug = _get_config_var("Py_DEBUG", warn) + has_refcount = hasattr(sys, "gettotalrefcount") + # Windows doesn't set Py_DEBUG, so checking for support of debug-compiled + # extension modules is the best option. + # https://github.com/pypa/pip/issues/3383#issuecomment-173267692 + has_ext = "_d.pyd" in EXTENSION_SUFFIXES + if with_debug or (with_debug is None and (has_refcount or has_ext)): + debug = "d" + if py_version >= (3, 13) and _get_config_var("Py_GIL_DISABLED", warn): + threading = "t" + if py_version < (3, 8): + with_pymalloc = _get_config_var("WITH_PYMALLOC", warn) + if with_pymalloc or with_pymalloc is None: + pymalloc = "m" + if py_version < (3, 3): + unicode_size = _get_config_var("Py_UNICODE_SIZE", warn) + if unicode_size == 4 or ( + unicode_size is None and sys.maxunicode == 0x10FFFF + ): + ucs4 = "u" + elif debug: + # Debug builds can also load "normal" extension modules. + # We can also assume no UCS-4 or pymalloc requirement. + abis.append(f"cp{version}{threading}") + abis.insert(0, f"cp{version}{threading}{debug}{pymalloc}{ucs4}") + return abis + + +def cpython_tags( + python_version: PythonVersion | None = None, + abis: Iterable[str] | None = None, + platforms: Iterable[str] | None = None, + *, + warn: bool = False, +) -> Iterator[Tag]: + """ + Yields the tags for a CPython interpreter. + + The tags consist of: + - cp-- + - cp-abi3- + - cp-none- + - cp-abi3- # Older Python versions down to 3.2. + + If python_version only specifies a major version then user-provided ABIs and + the 'none' ABItag will be used. + + If 'abi3' or 'none' are specified in 'abis' then they will be yielded at + their normal position and not at the beginning. + """ + if not python_version: + python_version = sys.version_info[:2] + + interpreter = f"cp{_version_nodot(python_version[:2])}" + + if abis is None: + if len(python_version) > 1: + abis = _cpython_abis(python_version, warn) + else: + abis = [] + abis = list(abis) + # 'abi3' and 'none' are explicitly handled later. + for explicit_abi in ("abi3", "none"): + try: + abis.remove(explicit_abi) + except ValueError: + pass + + platforms = list(platforms or platform_tags()) + for abi in abis: + for platform_ in platforms: + yield Tag(interpreter, abi, platform_) + + threading = _is_threaded_cpython(abis) + use_abi3 = _abi3_applies(python_version, threading) + if use_abi3: + yield from (Tag(interpreter, "abi3", platform_) for platform_ in platforms) + yield from (Tag(interpreter, "none", platform_) for platform_ in platforms) + + if use_abi3: + for minor_version in range(python_version[1] - 1, 1, -1): + for platform_ in platforms: + version = _version_nodot((python_version[0], minor_version)) + interpreter = f"cp{version}" + yield Tag(interpreter, "abi3", platform_) + + +def _generic_abi() -> list[str]: + """ + Return the ABI tag based on EXT_SUFFIX. + """ + # The following are examples of `EXT_SUFFIX`. + # We want to keep the parts which are related to the ABI and remove the + # parts which are related to the platform: + # - linux: '.cpython-310-x86_64-linux-gnu.so' => cp310 + # - mac: '.cpython-310-darwin.so' => cp310 + # - win: '.cp310-win_amd64.pyd' => cp310 + # - win: '.pyd' => cp37 (uses _cpython_abis()) + # - pypy: '.pypy38-pp73-x86_64-linux-gnu.so' => pypy38_pp73 + # - graalpy: '.graalpy-38-native-x86_64-darwin.dylib' + # => graalpy_38_native + + ext_suffix = _get_config_var("EXT_SUFFIX", warn=True) + if not isinstance(ext_suffix, str) or ext_suffix[0] != ".": + raise SystemError("invalid sysconfig.get_config_var('EXT_SUFFIX')") + parts = ext_suffix.split(".") + if len(parts) < 3: + # CPython3.7 and earlier uses ".pyd" on Windows. + return _cpython_abis(sys.version_info[:2]) + soabi = parts[1] + if soabi.startswith("cpython"): + # non-windows + abi = "cp" + soabi.split("-")[1] + elif soabi.startswith("cp"): + # windows + abi = soabi.split("-")[0] + elif soabi.startswith("pypy"): + abi = "-".join(soabi.split("-")[:2]) + elif soabi.startswith("graalpy"): + abi = "-".join(soabi.split("-")[:3]) + elif soabi: + # pyston, ironpython, others? + abi = soabi + else: + return [] + return [_normalize_string(abi)] + + +def generic_tags( + interpreter: str | None = None, + abis: Iterable[str] | None = None, + platforms: Iterable[str] | None = None, + *, + warn: bool = False, +) -> Iterator[Tag]: + """ + Yields the tags for a generic interpreter. + + The tags consist of: + - -- + + The "none" ABI will be added if it was not explicitly provided. + """ + if not interpreter: + interp_name = interpreter_name() + interp_version = interpreter_version(warn=warn) + interpreter = "".join([interp_name, interp_version]) + if abis is None: + abis = _generic_abi() + else: + abis = list(abis) + platforms = list(platforms or platform_tags()) + if "none" not in abis: + abis.append("none") + for abi in abis: + for platform_ in platforms: + yield Tag(interpreter, abi, platform_) + + +def _py_interpreter_range(py_version: PythonVersion) -> Iterator[str]: + """ + Yields Python versions in descending order. + + After the latest version, the major-only version will be yielded, and then + all previous versions of that major version. + """ + if len(py_version) > 1: + yield f"py{_version_nodot(py_version[:2])}" + yield f"py{py_version[0]}" + if len(py_version) > 1: + for minor in range(py_version[1] - 1, -1, -1): + yield f"py{_version_nodot((py_version[0], minor))}" + + +def compatible_tags( + python_version: PythonVersion | None = None, + interpreter: str | None = None, + platforms: Iterable[str] | None = None, +) -> Iterator[Tag]: + """ + Yields the sequence of tags that are compatible with a specific version of Python. + + The tags consist of: + - py*-none- + - -none-any # ... if `interpreter` is provided. + - py*-none-any + """ + if not python_version: + python_version = sys.version_info[:2] + platforms = list(platforms or platform_tags()) + for version in _py_interpreter_range(python_version): + for platform_ in platforms: + yield Tag(version, "none", platform_) + if interpreter: + yield Tag(interpreter, "none", "any") + for version in _py_interpreter_range(python_version): + yield Tag(version, "none", "any") + + +def _mac_arch(arch: str, is_32bit: bool = _32_BIT_INTERPRETER) -> str: + if not is_32bit: + return arch + + if arch.startswith("ppc"): + return "ppc" + + return "i386" + + +def _mac_binary_formats(version: AppleVersion, cpu_arch: str) -> list[str]: + formats = [cpu_arch] + if cpu_arch == "x86_64": + if version < (10, 4): + return [] + formats.extend(["intel", "fat64", "fat32"]) + + elif cpu_arch == "i386": + if version < (10, 4): + return [] + formats.extend(["intel", "fat32", "fat"]) + + elif cpu_arch == "ppc64": + # TODO: Need to care about 32-bit PPC for ppc64 through 10.2? + if version > (10, 5) or version < (10, 4): + return [] + formats.append("fat64") + + elif cpu_arch == "ppc": + if version > (10, 6): + return [] + formats.extend(["fat32", "fat"]) + + if cpu_arch in {"arm64", "x86_64"}: + formats.append("universal2") + + if cpu_arch in {"x86_64", "i386", "ppc64", "ppc", "intel"}: + formats.append("universal") + + return formats + + +def mac_platforms( + version: AppleVersion | None = None, arch: str | None = None +) -> Iterator[str]: + """ + Yields the platform tags for a macOS system. + + The `version` parameter is a two-item tuple specifying the macOS version to + generate platform tags for. The `arch` parameter is the CPU architecture to + generate platform tags for. Both parameters default to the appropriate value + for the current system. + """ + version_str, _, cpu_arch = platform.mac_ver() + if version is None: + version = cast("AppleVersion", tuple(map(int, version_str.split(".")[:2]))) + if version == (10, 16): + # When built against an older macOS SDK, Python will report macOS 10.16 + # instead of the real version. + version_str = subprocess.run( + [ + sys.executable, + "-sS", + "-c", + "import platform; print(platform.mac_ver()[0])", + ], + check=True, + env={"SYSTEM_VERSION_COMPAT": "0"}, + stdout=subprocess.PIPE, + text=True, + ).stdout + version = cast("AppleVersion", tuple(map(int, version_str.split(".")[:2]))) + else: + version = version + if arch is None: + arch = _mac_arch(cpu_arch) + else: + arch = arch + + if (10, 0) <= version and version < (11, 0): + # Prior to Mac OS 11, each yearly release of Mac OS bumped the + # "minor" version number. The major version was always 10. + major_version = 10 + for minor_version in range(version[1], -1, -1): + compat_version = major_version, minor_version + binary_formats = _mac_binary_formats(compat_version, arch) + for binary_format in binary_formats: + yield f"macosx_{major_version}_{minor_version}_{binary_format}" + + if version >= (11, 0): + # Starting with Mac OS 11, each yearly release bumps the major version + # number. The minor versions are now the midyear updates. + minor_version = 0 + for major_version in range(version[0], 10, -1): + compat_version = major_version, minor_version + binary_formats = _mac_binary_formats(compat_version, arch) + for binary_format in binary_formats: + yield f"macosx_{major_version}_{minor_version}_{binary_format}" + + if version >= (11, 0): + # Mac OS 11 on x86_64 is compatible with binaries from previous releases. + # Arm64 support was introduced in 11.0, so no Arm binaries from previous + # releases exist. + # + # However, the "universal2" binary format can have a + # macOS version earlier than 11.0 when the x86_64 part of the binary supports + # that version of macOS. + major_version = 10 + if arch == "x86_64": + for minor_version in range(16, 3, -1): + compat_version = major_version, minor_version + binary_formats = _mac_binary_formats(compat_version, arch) + for binary_format in binary_formats: + yield f"macosx_{major_version}_{minor_version}_{binary_format}" + else: + for minor_version in range(16, 3, -1): + compat_version = major_version, minor_version + binary_format = "universal2" + yield f"macosx_{major_version}_{minor_version}_{binary_format}" + + +def ios_platforms( + version: AppleVersion | None = None, multiarch: str | None = None +) -> Iterator[str]: + """ + Yields the platform tags for an iOS system. + + :param version: A two-item tuple specifying the iOS version to generate + platform tags for. Defaults to the current iOS version. + :param multiarch: The CPU architecture+ABI to generate platform tags for - + (the value used by `sys.implementation._multiarch` e.g., + `arm64_iphoneos` or `x84_64_iphonesimulator`). Defaults to the current + multiarch value. + """ + if version is None: + # if iOS is the current platform, ios_ver *must* be defined. However, + # it won't exist for CPython versions before 3.13, which causes a mypy + # error. + _, release, _, _ = platform.ios_ver() # type: ignore[attr-defined, unused-ignore] + version = cast("AppleVersion", tuple(map(int, release.split(".")[:2]))) + + if multiarch is None: + multiarch = sys.implementation._multiarch + multiarch = multiarch.replace("-", "_") + + ios_platform_template = "ios_{major}_{minor}_{multiarch}" + + # Consider any iOS major.minor version from the version requested, down to + # 12.0. 12.0 is the first iOS version that is known to have enough features + # to support CPython. Consider every possible minor release up to X.9. There + # highest the minor has ever gone is 8 (14.8 and 15.8) but having some extra + # candidates that won't ever match doesn't really hurt, and it saves us from + # having to keep an explicit list of known iOS versions in the code. Return + # the results descending order of version number. + + # If the requested major version is less than 12, there won't be any matches. + if version[0] < 12: + return + + # Consider the actual X.Y version that was requested. + yield ios_platform_template.format( + major=version[0], minor=version[1], multiarch=multiarch + ) + + # Consider every minor version from X.0 to the minor version prior to the + # version requested by the platform. + for minor in range(version[1] - 1, -1, -1): + yield ios_platform_template.format( + major=version[0], minor=minor, multiarch=multiarch + ) + + for major in range(version[0] - 1, 11, -1): + for minor in range(9, -1, -1): + yield ios_platform_template.format( + major=major, minor=minor, multiarch=multiarch + ) + + +def android_platforms( + api_level: int | None = None, abi: str | None = None +) -> Iterator[str]: + """ + Yields the :attr:`~Tag.platform` tags for Android. If this function is invoked on + non-Android platforms, the ``api_level`` and ``abi`` arguments are required. + + :param int api_level: The maximum `API level + `__ to return. Defaults + to the current system's version, as returned by ``platform.android_ver``. + :param str abi: The `Android ABI `__, + e.g. ``arm64_v8a``. Defaults to the current system's ABI , as returned by + ``sysconfig.get_platform``. Hyphens and periods will be replaced with + underscores. + """ + if platform.system() != "Android" and (api_level is None or abi is None): + raise TypeError( + "on non-Android platforms, the api_level and abi arguments are required" + ) + + if api_level is None: + # Python 3.13 was the first version to return platform.system() == "Android", + # and also the first version to define platform.android_ver(). + api_level = platform.android_ver().api_level # type: ignore[attr-defined] + + if abi is None: + abi = sysconfig.get_platform().split("-")[-1] + abi = _normalize_string(abi) + + # 16 is the minimum API level known to have enough features to support CPython + # without major patching. Yield every API level from the maximum down to the + # minimum, inclusive. + min_api_level = 16 + for ver in range(api_level, min_api_level - 1, -1): + yield f"android_{ver}_{abi}" + + +def _linux_platforms(is_32bit: bool = _32_BIT_INTERPRETER) -> Iterator[str]: + linux = _normalize_string(sysconfig.get_platform()) + if not linux.startswith("linux_"): + # we should never be here, just yield the sysconfig one and return + yield linux + return + if is_32bit: + if linux == "linux_x86_64": + linux = "linux_i686" + elif linux == "linux_aarch64": + linux = "linux_armv8l" + _, arch = linux.split("_", 1) + archs = {"armv8l": ["armv8l", "armv7l"]}.get(arch, [arch]) + yield from _manylinux.platform_tags(archs) + yield from _musllinux.platform_tags(archs) + for arch in archs: + yield f"linux_{arch}" + + +def _generic_platforms() -> Iterator[str]: + yield _normalize_string(sysconfig.get_platform()) + + +def platform_tags() -> Iterator[str]: + """ + Provides the platform tags for this installation. + """ + if platform.system() == "Darwin": + return mac_platforms() + elif platform.system() == "iOS": + return ios_platforms() + elif platform.system() == "Android": + return android_platforms() + elif platform.system() == "Linux": + return _linux_platforms() + else: + return _generic_platforms() + + +def interpreter_name() -> str: + """ + Returns the name of the running interpreter. + + Some implementations have a reserved, two-letter abbreviation which will + be returned when appropriate. + """ + name = sys.implementation.name + return INTERPRETER_SHORT_NAMES.get(name) or name + + +def interpreter_version(*, warn: bool = False) -> str: + """ + Returns the version of the running interpreter. + """ + version = _get_config_var("py_version_nodot", warn=warn) + if version: + version = str(version) + else: + version = _version_nodot(sys.version_info[:2]) + return version + + +def _version_nodot(version: PythonVersion) -> str: + return "".join(map(str, version)) + + +def sys_tags(*, warn: bool = False) -> Iterator[Tag]: + """ + Returns the sequence of tag triples for the running interpreter. + + The order of the sequence corresponds to priority order for the + interpreter, from most to least important. + """ + + interp_name = interpreter_name() + if interp_name == "cp": + yield from cpython_tags(warn=warn) + else: + yield from generic_tags() + + if interp_name == "pp": + interp = "pp3" + elif interp_name == "cp": + interp = "cp" + interpreter_version(warn=warn) + else: + interp = None + yield from compatible_tags(interpreter=interp) diff --git a/.venv/Lib/site-packages/packaging/utils.py b/.venv/Lib/site-packages/packaging/utils.py new file mode 100644 index 0000000..2345095 --- /dev/null +++ b/.venv/Lib/site-packages/packaging/utils.py @@ -0,0 +1,163 @@ +# This file is dual licensed under the terms of the Apache License, Version +# 2.0, and the BSD License. See the LICENSE file in the root of this repository +# for complete details. + +from __future__ import annotations + +import functools +import re +from typing import NewType, Tuple, Union, cast + +from .tags import Tag, parse_tag +from .version import InvalidVersion, Version, _TrimmedRelease + +BuildTag = Union[Tuple[()], Tuple[int, str]] +NormalizedName = NewType("NormalizedName", str) + + +class InvalidName(ValueError): + """ + An invalid distribution name; users should refer to the packaging user guide. + """ + + +class InvalidWheelFilename(ValueError): + """ + An invalid wheel filename was found, users should refer to PEP 427. + """ + + +class InvalidSdistFilename(ValueError): + """ + An invalid sdist filename was found, users should refer to the packaging user guide. + """ + + +# Core metadata spec for `Name` +_validate_regex = re.compile( + r"^([A-Z0-9]|[A-Z0-9][A-Z0-9._-]*[A-Z0-9])$", re.IGNORECASE +) +_canonicalize_regex = re.compile(r"[-_.]+") +_normalized_regex = re.compile(r"^([a-z0-9]|[a-z0-9]([a-z0-9-](?!--))*[a-z0-9])$") +# PEP 427: The build number must start with a digit. +_build_tag_regex = re.compile(r"(\d+)(.*)") + + +def canonicalize_name(name: str, *, validate: bool = False) -> NormalizedName: + if validate and not _validate_regex.match(name): + raise InvalidName(f"name is invalid: {name!r}") + # This is taken from PEP 503. + value = _canonicalize_regex.sub("-", name).lower() + return cast(NormalizedName, value) + + +def is_normalized_name(name: str) -> bool: + return _normalized_regex.match(name) is not None + + +@functools.singledispatch +def canonicalize_version( + version: Version | str, *, strip_trailing_zero: bool = True +) -> str: + """ + Return a canonical form of a version as a string. + + >>> canonicalize_version('1.0.1') + '1.0.1' + + Per PEP 625, versions may have multiple canonical forms, differing + only by trailing zeros. + + >>> canonicalize_version('1.0.0') + '1' + >>> canonicalize_version('1.0.0', strip_trailing_zero=False) + '1.0.0' + + Invalid versions are returned unaltered. + + >>> canonicalize_version('foo bar baz') + 'foo bar baz' + """ + return str(_TrimmedRelease(str(version)) if strip_trailing_zero else version) + + +@canonicalize_version.register +def _(version: str, *, strip_trailing_zero: bool = True) -> str: + try: + parsed = Version(version) + except InvalidVersion: + # Legacy versions cannot be normalized + return version + return canonicalize_version(parsed, strip_trailing_zero=strip_trailing_zero) + + +def parse_wheel_filename( + filename: str, +) -> tuple[NormalizedName, Version, BuildTag, frozenset[Tag]]: + if not filename.endswith(".whl"): + raise InvalidWheelFilename( + f"Invalid wheel filename (extension must be '.whl'): {filename!r}" + ) + + filename = filename[:-4] + dashes = filename.count("-") + if dashes not in (4, 5): + raise InvalidWheelFilename( + f"Invalid wheel filename (wrong number of parts): {filename!r}" + ) + + parts = filename.split("-", dashes - 2) + name_part = parts[0] + # See PEP 427 for the rules on escaping the project name. + if "__" in name_part or re.match(r"^[\w\d._]*$", name_part, re.UNICODE) is None: + raise InvalidWheelFilename(f"Invalid project name: {filename!r}") + name = canonicalize_name(name_part) + + try: + version = Version(parts[1]) + except InvalidVersion as e: + raise InvalidWheelFilename( + f"Invalid wheel filename (invalid version): {filename!r}" + ) from e + + if dashes == 5: + build_part = parts[2] + build_match = _build_tag_regex.match(build_part) + if build_match is None: + raise InvalidWheelFilename( + f"Invalid build number: {build_part} in {filename!r}" + ) + build = cast(BuildTag, (int(build_match.group(1)), build_match.group(2))) + else: + build = () + tags = parse_tag(parts[-1]) + return (name, version, build, tags) + + +def parse_sdist_filename(filename: str) -> tuple[NormalizedName, Version]: + if filename.endswith(".tar.gz"): + file_stem = filename[: -len(".tar.gz")] + elif filename.endswith(".zip"): + file_stem = filename[: -len(".zip")] + else: + raise InvalidSdistFilename( + f"Invalid sdist filename (extension must be '.tar.gz' or '.zip'):" + f" {filename!r}" + ) + + # We are requiring a PEP 440 version, which cannot contain dashes, + # so we split on the last dash. + name_part, sep, version_part = file_stem.rpartition("-") + if not sep: + raise InvalidSdistFilename(f"Invalid sdist filename: {filename!r}") + + name = canonicalize_name(name_part) + + try: + version = Version(version_part) + except InvalidVersion as e: + raise InvalidSdistFilename( + f"Invalid sdist filename (invalid version): {filename!r}" + ) from e + + return (name, version) diff --git a/.venv/Lib/site-packages/packaging/version.py b/.venv/Lib/site-packages/packaging/version.py new file mode 100644 index 0000000..c9bbda2 --- /dev/null +++ b/.venv/Lib/site-packages/packaging/version.py @@ -0,0 +1,582 @@ +# This file is dual licensed under the terms of the Apache License, Version +# 2.0, and the BSD License. See the LICENSE file in the root of this repository +# for complete details. +""" +.. testsetup:: + + from packaging.version import parse, Version +""" + +from __future__ import annotations + +import itertools +import re +from typing import Any, Callable, NamedTuple, SupportsInt, Tuple, Union + +from ._structures import Infinity, InfinityType, NegativeInfinity, NegativeInfinityType + +__all__ = ["VERSION_PATTERN", "InvalidVersion", "Version", "parse"] + +LocalType = Tuple[Union[int, str], ...] + +CmpPrePostDevType = Union[InfinityType, NegativeInfinityType, Tuple[str, int]] +CmpLocalType = Union[ + NegativeInfinityType, + Tuple[Union[Tuple[int, str], Tuple[NegativeInfinityType, Union[int, str]]], ...], +] +CmpKey = Tuple[ + int, + Tuple[int, ...], + CmpPrePostDevType, + CmpPrePostDevType, + CmpPrePostDevType, + CmpLocalType, +] +VersionComparisonMethod = Callable[[CmpKey, CmpKey], bool] + + +class _Version(NamedTuple): + epoch: int + release: tuple[int, ...] + dev: tuple[str, int] | None + pre: tuple[str, int] | None + post: tuple[str, int] | None + local: LocalType | None + + +def parse(version: str) -> Version: + """Parse the given version string. + + >>> parse('1.0.dev1') + + + :param version: The version string to parse. + :raises InvalidVersion: When the version string is not a valid version. + """ + return Version(version) + + +class InvalidVersion(ValueError): + """Raised when a version string is not a valid version. + + >>> Version("invalid") + Traceback (most recent call last): + ... + packaging.version.InvalidVersion: Invalid version: 'invalid' + """ + + +class _BaseVersion: + _key: tuple[Any, ...] + + def __hash__(self) -> int: + return hash(self._key) + + # Please keep the duplicated `isinstance` check + # in the six comparisons hereunder + # unless you find a way to avoid adding overhead function calls. + def __lt__(self, other: _BaseVersion) -> bool: + if not isinstance(other, _BaseVersion): + return NotImplemented + + return self._key < other._key + + def __le__(self, other: _BaseVersion) -> bool: + if not isinstance(other, _BaseVersion): + return NotImplemented + + return self._key <= other._key + + def __eq__(self, other: object) -> bool: + if not isinstance(other, _BaseVersion): + return NotImplemented + + return self._key == other._key + + def __ge__(self, other: _BaseVersion) -> bool: + if not isinstance(other, _BaseVersion): + return NotImplemented + + return self._key >= other._key + + def __gt__(self, other: _BaseVersion) -> bool: + if not isinstance(other, _BaseVersion): + return NotImplemented + + return self._key > other._key + + def __ne__(self, other: object) -> bool: + if not isinstance(other, _BaseVersion): + return NotImplemented + + return self._key != other._key + + +# Deliberately not anchored to the start and end of the string, to make it +# easier for 3rd party code to reuse +_VERSION_PATTERN = r""" + v? + (?: + (?:(?P[0-9]+)!)? # epoch + (?P[0-9]+(?:\.[0-9]+)*) # release segment + (?P
                                          # pre-release
+            [-_\.]?
+            (?Palpha|a|beta|b|preview|pre|c|rc)
+            [-_\.]?
+            (?P[0-9]+)?
+        )?
+        (?P                                         # post release
+            (?:-(?P[0-9]+))
+            |
+            (?:
+                [-_\.]?
+                (?Ppost|rev|r)
+                [-_\.]?
+                (?P[0-9]+)?
+            )
+        )?
+        (?P                                          # dev release
+            [-_\.]?
+            (?Pdev)
+            [-_\.]?
+            (?P[0-9]+)?
+        )?
+    )
+    (?:\+(?P[a-z0-9]+(?:[-_\.][a-z0-9]+)*))?       # local version
+"""
+
+VERSION_PATTERN = _VERSION_PATTERN
+"""
+A string containing the regular expression used to match a valid version.
+
+The pattern is not anchored at either end, and is intended for embedding in larger
+expressions (for example, matching a version number as part of a file name). The
+regular expression should be compiled with the ``re.VERBOSE`` and ``re.IGNORECASE``
+flags set.
+
+:meta hide-value:
+"""
+
+
+class Version(_BaseVersion):
+    """This class abstracts handling of a project's versions.
+
+    A :class:`Version` instance is comparison aware and can be compared and
+    sorted using the standard Python interfaces.
+
+    >>> v1 = Version("1.0a5")
+    >>> v2 = Version("1.0")
+    >>> v1
+    
+    >>> v2
+    
+    >>> v1 < v2
+    True
+    >>> v1 == v2
+    False
+    >>> v1 > v2
+    False
+    >>> v1 >= v2
+    False
+    >>> v1 <= v2
+    True
+    """
+
+    _regex = re.compile(r"^\s*" + VERSION_PATTERN + r"\s*$", re.VERBOSE | re.IGNORECASE)
+    _key: CmpKey
+
+    def __init__(self, version: str) -> None:
+        """Initialize a Version object.
+
+        :param version:
+            The string representation of a version which will be parsed and normalized
+            before use.
+        :raises InvalidVersion:
+            If the ``version`` does not conform to PEP 440 in any way then this
+            exception will be raised.
+        """
+
+        # Validate the version and parse it into pieces
+        match = self._regex.search(version)
+        if not match:
+            raise InvalidVersion(f"Invalid version: {version!r}")
+
+        # Store the parsed out pieces of the version
+        self._version = _Version(
+            epoch=int(match.group("epoch")) if match.group("epoch") else 0,
+            release=tuple(int(i) for i in match.group("release").split(".")),
+            pre=_parse_letter_version(match.group("pre_l"), match.group("pre_n")),
+            post=_parse_letter_version(
+                match.group("post_l"), match.group("post_n1") or match.group("post_n2")
+            ),
+            dev=_parse_letter_version(match.group("dev_l"), match.group("dev_n")),
+            local=_parse_local_version(match.group("local")),
+        )
+
+        # Generate a key which will be used for sorting
+        self._key = _cmpkey(
+            self._version.epoch,
+            self._version.release,
+            self._version.pre,
+            self._version.post,
+            self._version.dev,
+            self._version.local,
+        )
+
+    def __repr__(self) -> str:
+        """A representation of the Version that shows all internal state.
+
+        >>> Version('1.0.0')
+        
+        """
+        return f""
+
+    def __str__(self) -> str:
+        """A string representation of the version that can be round-tripped.
+
+        >>> str(Version("1.0a5"))
+        '1.0a5'
+        """
+        parts = []
+
+        # Epoch
+        if self.epoch != 0:
+            parts.append(f"{self.epoch}!")
+
+        # Release segment
+        parts.append(".".join(str(x) for x in self.release))
+
+        # Pre-release
+        if self.pre is not None:
+            parts.append("".join(str(x) for x in self.pre))
+
+        # Post-release
+        if self.post is not None:
+            parts.append(f".post{self.post}")
+
+        # Development release
+        if self.dev is not None:
+            parts.append(f".dev{self.dev}")
+
+        # Local version segment
+        if self.local is not None:
+            parts.append(f"+{self.local}")
+
+        return "".join(parts)
+
+    @property
+    def epoch(self) -> int:
+        """The epoch of the version.
+
+        >>> Version("2.0.0").epoch
+        0
+        >>> Version("1!2.0.0").epoch
+        1
+        """
+        return self._version.epoch
+
+    @property
+    def release(self) -> tuple[int, ...]:
+        """The components of the "release" segment of the version.
+
+        >>> Version("1.2.3").release
+        (1, 2, 3)
+        >>> Version("2.0.0").release
+        (2, 0, 0)
+        >>> Version("1!2.0.0.post0").release
+        (2, 0, 0)
+
+        Includes trailing zeroes but not the epoch or any pre-release / development /
+        post-release suffixes.
+        """
+        return self._version.release
+
+    @property
+    def pre(self) -> tuple[str, int] | None:
+        """The pre-release segment of the version.
+
+        >>> print(Version("1.2.3").pre)
+        None
+        >>> Version("1.2.3a1").pre
+        ('a', 1)
+        >>> Version("1.2.3b1").pre
+        ('b', 1)
+        >>> Version("1.2.3rc1").pre
+        ('rc', 1)
+        """
+        return self._version.pre
+
+    @property
+    def post(self) -> int | None:
+        """The post-release number of the version.
+
+        >>> print(Version("1.2.3").post)
+        None
+        >>> Version("1.2.3.post1").post
+        1
+        """
+        return self._version.post[1] if self._version.post else None
+
+    @property
+    def dev(self) -> int | None:
+        """The development number of the version.
+
+        >>> print(Version("1.2.3").dev)
+        None
+        >>> Version("1.2.3.dev1").dev
+        1
+        """
+        return self._version.dev[1] if self._version.dev else None
+
+    @property
+    def local(self) -> str | None:
+        """The local version segment of the version.
+
+        >>> print(Version("1.2.3").local)
+        None
+        >>> Version("1.2.3+abc").local
+        'abc'
+        """
+        if self._version.local:
+            return ".".join(str(x) for x in self._version.local)
+        else:
+            return None
+
+    @property
+    def public(self) -> str:
+        """The public portion of the version.
+
+        >>> Version("1.2.3").public
+        '1.2.3'
+        >>> Version("1.2.3+abc").public
+        '1.2.3'
+        >>> Version("1!1.2.3dev1+abc").public
+        '1!1.2.3.dev1'
+        """
+        return str(self).split("+", 1)[0]
+
+    @property
+    def base_version(self) -> str:
+        """The "base version" of the version.
+
+        >>> Version("1.2.3").base_version
+        '1.2.3'
+        >>> Version("1.2.3+abc").base_version
+        '1.2.3'
+        >>> Version("1!1.2.3dev1+abc").base_version
+        '1!1.2.3'
+
+        The "base version" is the public version of the project without any pre or post
+        release markers.
+        """
+        parts = []
+
+        # Epoch
+        if self.epoch != 0:
+            parts.append(f"{self.epoch}!")
+
+        # Release segment
+        parts.append(".".join(str(x) for x in self.release))
+
+        return "".join(parts)
+
+    @property
+    def is_prerelease(self) -> bool:
+        """Whether this version is a pre-release.
+
+        >>> Version("1.2.3").is_prerelease
+        False
+        >>> Version("1.2.3a1").is_prerelease
+        True
+        >>> Version("1.2.3b1").is_prerelease
+        True
+        >>> Version("1.2.3rc1").is_prerelease
+        True
+        >>> Version("1.2.3dev1").is_prerelease
+        True
+        """
+        return self.dev is not None or self.pre is not None
+
+    @property
+    def is_postrelease(self) -> bool:
+        """Whether this version is a post-release.
+
+        >>> Version("1.2.3").is_postrelease
+        False
+        >>> Version("1.2.3.post1").is_postrelease
+        True
+        """
+        return self.post is not None
+
+    @property
+    def is_devrelease(self) -> bool:
+        """Whether this version is a development release.
+
+        >>> Version("1.2.3").is_devrelease
+        False
+        >>> Version("1.2.3.dev1").is_devrelease
+        True
+        """
+        return self.dev is not None
+
+    @property
+    def major(self) -> int:
+        """The first item of :attr:`release` or ``0`` if unavailable.
+
+        >>> Version("1.2.3").major
+        1
+        """
+        return self.release[0] if len(self.release) >= 1 else 0
+
+    @property
+    def minor(self) -> int:
+        """The second item of :attr:`release` or ``0`` if unavailable.
+
+        >>> Version("1.2.3").minor
+        2
+        >>> Version("1").minor
+        0
+        """
+        return self.release[1] if len(self.release) >= 2 else 0
+
+    @property
+    def micro(self) -> int:
+        """The third item of :attr:`release` or ``0`` if unavailable.
+
+        >>> Version("1.2.3").micro
+        3
+        >>> Version("1").micro
+        0
+        """
+        return self.release[2] if len(self.release) >= 3 else 0
+
+
+class _TrimmedRelease(Version):
+    @property
+    def release(self) -> tuple[int, ...]:
+        """
+        Release segment without any trailing zeros.
+
+        >>> _TrimmedRelease('1.0.0').release
+        (1,)
+        >>> _TrimmedRelease('0.0').release
+        (0,)
+        """
+        rel = super().release
+        nonzeros = (index for index, val in enumerate(rel) if val)
+        last_nonzero = max(nonzeros, default=0)
+        return rel[: last_nonzero + 1]
+
+
+def _parse_letter_version(
+    letter: str | None, number: str | bytes | SupportsInt | None
+) -> tuple[str, int] | None:
+    if letter:
+        # We consider there to be an implicit 0 in a pre-release if there is
+        # not a numeral associated with it.
+        if number is None:
+            number = 0
+
+        # We normalize any letters to their lower case form
+        letter = letter.lower()
+
+        # We consider some words to be alternate spellings of other words and
+        # in those cases we want to normalize the spellings to our preferred
+        # spelling.
+        if letter == "alpha":
+            letter = "a"
+        elif letter == "beta":
+            letter = "b"
+        elif letter in ["c", "pre", "preview"]:
+            letter = "rc"
+        elif letter in ["rev", "r"]:
+            letter = "post"
+
+        return letter, int(number)
+
+    assert not letter
+    if number:
+        # We assume if we are given a number, but we are not given a letter
+        # then this is using the implicit post release syntax (e.g. 1.0-1)
+        letter = "post"
+
+        return letter, int(number)
+
+    return None
+
+
+_local_version_separators = re.compile(r"[\._-]")
+
+
+def _parse_local_version(local: str | None) -> LocalType | None:
+    """
+    Takes a string like abc.1.twelve and turns it into ("abc", 1, "twelve").
+    """
+    if local is not None:
+        return tuple(
+            part.lower() if not part.isdigit() else int(part)
+            for part in _local_version_separators.split(local)
+        )
+    return None
+
+
+def _cmpkey(
+    epoch: int,
+    release: tuple[int, ...],
+    pre: tuple[str, int] | None,
+    post: tuple[str, int] | None,
+    dev: tuple[str, int] | None,
+    local: LocalType | None,
+) -> CmpKey:
+    # When we compare a release version, we want to compare it with all of the
+    # trailing zeros removed. So we'll use a reverse the list, drop all the now
+    # leading zeros until we come to something non zero, then take the rest
+    # re-reverse it back into the correct order and make it a tuple and use
+    # that for our sorting key.
+    _release = tuple(
+        reversed(list(itertools.dropwhile(lambda x: x == 0, reversed(release))))
+    )
+
+    # We need to "trick" the sorting algorithm to put 1.0.dev0 before 1.0a0.
+    # We'll do this by abusing the pre segment, but we _only_ want to do this
+    # if there is not a pre or a post segment. If we have one of those then
+    # the normal sorting rules will handle this case correctly.
+    if pre is None and post is None and dev is not None:
+        _pre: CmpPrePostDevType = NegativeInfinity
+    # Versions without a pre-release (except as noted above) should sort after
+    # those with one.
+    elif pre is None:
+        _pre = Infinity
+    else:
+        _pre = pre
+
+    # Versions without a post segment should sort before those with one.
+    if post is None:
+        _post: CmpPrePostDevType = NegativeInfinity
+
+    else:
+        _post = post
+
+    # Versions without a development segment should sort after those with one.
+    if dev is None:
+        _dev: CmpPrePostDevType = Infinity
+
+    else:
+        _dev = dev
+
+    if local is None:
+        # Versions without a local segment should sort before those with one.
+        _local: CmpLocalType = NegativeInfinity
+    else:
+        # Versions with a local segment need that segment parsed to implement
+        # the sorting rules in PEP440.
+        # - Alpha numeric segments sort before numeric segments
+        # - Alpha numeric segments sort lexicographically
+        # - Numeric segments sort numerically
+        # - Shorter versions sort before longer versions when the prefixes
+        #   match exactly
+        _local = tuple(
+            (i, "") if isinstance(i, int) else (NegativeInfinity, i) for i in local
+        )
+
+    return epoch, _release, _pre, _post, _dev, _local
diff --git a/.venv/Lib/site-packages/pefile-2023.2.7.dist-info/INSTALLER b/.venv/Lib/site-packages/pefile-2023.2.7.dist-info/INSTALLER
new file mode 100644
index 0000000..a1b589e
--- /dev/null
+++ b/.venv/Lib/site-packages/pefile-2023.2.7.dist-info/INSTALLER
@@ -0,0 +1 @@
+pip
diff --git a/.venv/Lib/site-packages/pefile-2023.2.7.dist-info/LICENSE b/.venv/Lib/site-packages/pefile-2023.2.7.dist-info/LICENSE
new file mode 100644
index 0000000..ddd7342
--- /dev/null
+++ b/.venv/Lib/site-packages/pefile-2023.2.7.dist-info/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2004-2023 Ero Carrera
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/.venv/Lib/site-packages/pefile-2023.2.7.dist-info/METADATA b/.venv/Lib/site-packages/pefile-2023.2.7.dist-info/METADATA
new file mode 100644
index 0000000..fefd6a3
--- /dev/null
+++ b/.venv/Lib/site-packages/pefile-2023.2.7.dist-info/METADATA
@@ -0,0 +1,34 @@
+Metadata-Version: 2.1
+Name: pefile
+Version: 2023.2.7
+Summary: Python PE parsing module
+Home-page: https://github.com/erocarrera/pefile
+Download-URL: https://github.com/erocarrera/pefile/releases/download/v2023.2.7/pefile-2023.2.7.tar.gz
+Author: Ero Carrera
+Author-email: ero.carrera@gmail.com
+License: MIT
+Keywords: pe,exe,dll,pefile,pecoff
+Classifier: Development Status :: 5 - Production/Stable
+Classifier: Intended Audience :: Developers
+Classifier: Intended Audience :: Science/Research
+Classifier: Natural Language :: English
+Classifier: Operating System :: OS Independent
+Classifier: Programming Language :: Python
+Classifier: Topic :: Software Development :: Libraries :: Python Modules
+Requires-Python: >=3.6.0
+License-File: LICENSE
+
+pefile, Portable Executable reader module
+
+All the PE file basic structures are available with their default names as
+attributes of the instance returned.
+
+Processed elements such as the import table are made available with lowercase
+names, to differentiate them from the upper case basic structure names.
+
+pefile has been tested against many edge cases such as corrupted and malformed
+PEs as well as malware, which often attempts to abuse the format way beyond its
+standard use. To the best of my knowledge most of the abuse is handled
+gracefully.
+
+Copyright (c) 2005-2023 Ero Carrera 
diff --git a/.venv/Lib/site-packages/pefile-2023.2.7.dist-info/RECORD b/.venv/Lib/site-packages/pefile-2023.2.7.dist-info/RECORD
new file mode 100644
index 0000000..acc4d8e
--- /dev/null
+++ b/.venv/Lib/site-packages/pefile-2023.2.7.dist-info/RECORD
@@ -0,0 +1,16 @@
+__pycache__/pefile.cpython-311.pyc,,
+__pycache__/peutils.cpython-311.pyc,,
+ordlookup/__init__.py,sha256=qV325Dvqk9HYGlF2BXkjSAU8NiAqGk9wg6bcGA7DMCY,784
+ordlookup/__pycache__/__init__.cpython-311.pyc,,
+ordlookup/__pycache__/oleaut32.cpython-311.pyc,,
+ordlookup/__pycache__/ws2_32.cpython-311.pyc,,
+ordlookup/oleaut32.py,sha256=g0bNcHLRuH_nW75xqZbtZZNWTrOVBbdEV8W7vxz0Ouc,10877
+ordlookup/ws2_32.py,sha256=gy-Vnrt6yVmzN8sbqLQESaNwFnZ2ojh4LsiAq5IDruA,3265
+pefile-2023.2.7.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
+pefile-2023.2.7.dist-info/LICENSE,sha256=v9S15PipnJYf1vlNcI44OWzBRr_o-8XSqG5jqin7Qgg,1083
+pefile-2023.2.7.dist-info/METADATA,sha256=Nj9cLDBVi_AkWhZ26GqGr5QYbkgh4f6azj7_HX75EgQ,1352
+pefile-2023.2.7.dist-info/RECORD,,
+pefile-2023.2.7.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
+pefile-2023.2.7.dist-info/top_level.txt,sha256=e_EleSuZUOQKcXHJLs2sSeGkxG4OZghULcCc_v6kQbo,25
+pefile.py,sha256=-ZRoz-0ZMOjpA2pL9Py5sjrLKMTlQh4hXONSpczcgR8,292005
+peutils.py,sha256=KmQ2JO3osgXgugJRGM__CdwNVcM3X6xzhuHucI_5v0g,18361
diff --git a/.venv/Lib/site-packages/pip-24.0.dist-info/WHEEL b/.venv/Lib/site-packages/pefile-2023.2.7.dist-info/WHEEL
similarity index 65%
rename from .venv/Lib/site-packages/pip-24.0.dist-info/WHEEL
rename to .venv/Lib/site-packages/pefile-2023.2.7.dist-info/WHEEL
index 98c0d20..becc9a6 100644
--- a/.venv/Lib/site-packages/pip-24.0.dist-info/WHEEL
+++ b/.venv/Lib/site-packages/pefile-2023.2.7.dist-info/WHEEL
@@ -1,5 +1,5 @@
 Wheel-Version: 1.0
-Generator: bdist_wheel (0.42.0)
+Generator: bdist_wheel (0.37.1)
 Root-Is-Purelib: true
 Tag: py3-none-any
 
diff --git a/.venv/Lib/site-packages/pefile-2023.2.7.dist-info/top_level.txt b/.venv/Lib/site-packages/pefile-2023.2.7.dist-info/top_level.txt
new file mode 100644
index 0000000..a9ab08d
--- /dev/null
+++ b/.venv/Lib/site-packages/pefile-2023.2.7.dist-info/top_level.txt
@@ -0,0 +1,3 @@
+ordlookup
+pefile
+peutils
diff --git a/.venv/Lib/site-packages/pefile.py b/.venv/Lib/site-packages/pefile.py
new file mode 100644
index 0000000..f3052aa
--- /dev/null
+++ b/.venv/Lib/site-packages/pefile.py
@@ -0,0 +1,7853 @@
+#!/usr/bin/python
+
+"""pefile, Portable Executable reader module
+
+All the PE file basic structures are available with their default names as
+attributes of the instance returned.
+
+Processed elements such as the import table are made available with lowercase
+names, to differentiate them from the upper case basic structure names.
+
+pefile has been tested against many edge cases such as corrupted and malformed
+PEs as well as malware, which often attempts to abuse the format way beyond its
+standard use. To the best of my knowledge most of the abuse is handled
+gracefully.
+
+Copyright (c) 2005-2023 Ero Carrera 
+"""
+
+__author__ = "Ero Carrera"
+__version__ = "2023.2.7"
+__contact__ = "ero.carrera@gmail.com"
+
+import collections
+import os
+import struct
+import codecs
+import time
+import math
+import string
+import mmap
+import uuid
+
+from collections import Counter
+from typing import Union
+from hashlib import sha1
+from hashlib import sha256
+from hashlib import sha512
+from hashlib import md5
+
+import functools
+import copy as copymod
+
+import ordlookup
+
+codecs.register_error("backslashreplace_", codecs.lookup_error("backslashreplace"))
+
+long = int
+# lru_cache with a shallow copy of the objects returned (list, dicts, ..)
+# we don't use deepcopy as it's _really_ slow and the data we retrieved using
+# this is enough with copy.copy taken from
+# https://stackoverflow.com/questions/54909357
+def lru_cache(maxsize=128, typed=False, copy=False):
+    if not copy:
+        return functools.lru_cache(maxsize, typed)
+
+    def decorator(f):
+        cached_func = functools.lru_cache(maxsize, typed)(f)
+
+        @functools.wraps(f)
+        def wrapper(*args, **kwargs):
+            # return copymod.deepcopy(cached_func(*args, **kwargs))
+            return copymod.copy(cached_func(*args, **kwargs))
+
+        return wrapper
+
+    return decorator
+
+
+@lru_cache(maxsize=2048)
+def cache_adjust_FileAlignment(val, file_alignment):
+    if file_alignment < FILE_ALIGNMENT_HARDCODED_VALUE:
+        return val
+    return (int(val / 0x200)) * 0x200
+
+
+@lru_cache(maxsize=2048)
+def cache_adjust_SectionAlignment(val, section_alignment, file_alignment):
+    if section_alignment < 0x1000:  # page size
+        section_alignment = file_alignment
+
+    # 0x200 is the minimum valid FileAlignment according to the documentation
+    # although ntoskrnl.exe has an alignment of 0x80 in some Windows versions
+    #
+    # elif section_alignment < 0x80:
+    #    section_alignment = 0x80
+
+    if section_alignment and val % section_alignment:
+        return section_alignment * (int(val / section_alignment))
+    return val
+
+
+def count_zeroes(data):
+    return data.count(0)
+
+
+fast_load = False
+
+# This will set a maximum length of a string to be retrieved from the file.
+# It's there to prevent loading massive amounts of data from memory mapped
+# files. Strings longer than 1MB should be rather rare.
+MAX_STRING_LENGTH = 0x100000  # 2^20
+
+# Maximum number of imports to parse.
+MAX_IMPORT_SYMBOLS = 0x2000
+
+# Limit maximum length for specific string types separately
+MAX_IMPORT_NAME_LENGTH = 0x200
+MAX_DLL_LENGTH = 0x200
+MAX_SYMBOL_NAME_LENGTH = 0x200
+
+# Limit maximum number of sections before processing of sections will stop
+MAX_SECTIONS = 0x800
+
+# The global maximum number of resource entries to parse per file
+MAX_RESOURCE_ENTRIES = 0x8000
+
+# The maximum depth of nested resource tables
+MAX_RESOURCE_DEPTH = 32
+
+# Limit number of exported symbols
+MAX_SYMBOL_EXPORT_COUNT = 0x2000
+
+IMAGE_DOS_SIGNATURE = 0x5A4D
+IMAGE_DOSZM_SIGNATURE = 0x4D5A
+IMAGE_NE_SIGNATURE = 0x454E
+IMAGE_LE_SIGNATURE = 0x454C
+IMAGE_LX_SIGNATURE = 0x584C
+IMAGE_TE_SIGNATURE = 0x5A56  # Terse Executables have a 'VZ' signature
+
+IMAGE_NT_SIGNATURE = 0x00004550
+IMAGE_NUMBEROF_DIRECTORY_ENTRIES = 16
+IMAGE_ORDINAL_FLAG = 0x80000000
+IMAGE_ORDINAL_FLAG64 = 0x8000000000000000
+OPTIONAL_HEADER_MAGIC_PE = 0x10B
+OPTIONAL_HEADER_MAGIC_PE_PLUS = 0x20B
+
+
+def two_way_dict(pairs):
+    return dict([(e[1], e[0]) for e in pairs] + pairs)
+
+
+directory_entry_types = [
+    ("IMAGE_DIRECTORY_ENTRY_EXPORT", 0),
+    ("IMAGE_DIRECTORY_ENTRY_IMPORT", 1),
+    ("IMAGE_DIRECTORY_ENTRY_RESOURCE", 2),
+    ("IMAGE_DIRECTORY_ENTRY_EXCEPTION", 3),
+    ("IMAGE_DIRECTORY_ENTRY_SECURITY", 4),
+    ("IMAGE_DIRECTORY_ENTRY_BASERELOC", 5),
+    ("IMAGE_DIRECTORY_ENTRY_DEBUG", 6),
+    # Architecture on non-x86 platforms
+    ("IMAGE_DIRECTORY_ENTRY_COPYRIGHT", 7),
+    ("IMAGE_DIRECTORY_ENTRY_GLOBALPTR", 8),
+    ("IMAGE_DIRECTORY_ENTRY_TLS", 9),
+    ("IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG", 10),
+    ("IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT", 11),
+    ("IMAGE_DIRECTORY_ENTRY_IAT", 12),
+    ("IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT", 13),
+    ("IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR", 14),
+    ("IMAGE_DIRECTORY_ENTRY_RESERVED", 15),
+]
+
+DIRECTORY_ENTRY = two_way_dict(directory_entry_types)
+
+image_characteristics = [
+    ("IMAGE_FILE_RELOCS_STRIPPED", 0x0001),
+    ("IMAGE_FILE_EXECUTABLE_IMAGE", 0x0002),
+    ("IMAGE_FILE_LINE_NUMS_STRIPPED", 0x0004),
+    ("IMAGE_FILE_LOCAL_SYMS_STRIPPED", 0x0008),
+    ("IMAGE_FILE_AGGRESIVE_WS_TRIM", 0x0010),
+    ("IMAGE_FILE_LARGE_ADDRESS_AWARE", 0x0020),
+    ("IMAGE_FILE_16BIT_MACHINE", 0x0040),
+    ("IMAGE_FILE_BYTES_REVERSED_LO", 0x0080),
+    ("IMAGE_FILE_32BIT_MACHINE", 0x0100),
+    ("IMAGE_FILE_DEBUG_STRIPPED", 0x0200),
+    ("IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP", 0x0400),
+    ("IMAGE_FILE_NET_RUN_FROM_SWAP", 0x0800),
+    ("IMAGE_FILE_SYSTEM", 0x1000),
+    ("IMAGE_FILE_DLL", 0x2000),
+    ("IMAGE_FILE_UP_SYSTEM_ONLY", 0x4000),
+    ("IMAGE_FILE_BYTES_REVERSED_HI", 0x8000),
+]
+
+IMAGE_CHARACTERISTICS = two_way_dict(image_characteristics)
+
+
+section_characteristics = [
+    ("IMAGE_SCN_TYPE_REG", 0x00000000),  # reserved
+    ("IMAGE_SCN_TYPE_DSECT", 0x00000001),  # reserved
+    ("IMAGE_SCN_TYPE_NOLOAD", 0x00000002),  # reserved
+    ("IMAGE_SCN_TYPE_GROUP", 0x00000004),  # reserved
+    ("IMAGE_SCN_TYPE_NO_PAD", 0x00000008),  # reserved
+    ("IMAGE_SCN_TYPE_COPY", 0x00000010),  # reserved
+    ("IMAGE_SCN_CNT_CODE", 0x00000020),
+    ("IMAGE_SCN_CNT_INITIALIZED_DATA", 0x00000040),
+    ("IMAGE_SCN_CNT_UNINITIALIZED_DATA", 0x00000080),
+    ("IMAGE_SCN_LNK_OTHER", 0x00000100),
+    ("IMAGE_SCN_LNK_INFO", 0x00000200),
+    ("IMAGE_SCN_LNK_OVER", 0x00000400),  # reserved
+    ("IMAGE_SCN_LNK_REMOVE", 0x00000800),
+    ("IMAGE_SCN_LNK_COMDAT", 0x00001000),
+    ("IMAGE_SCN_MEM_PROTECTED", 0x00004000),  # obsolete
+    ("IMAGE_SCN_NO_DEFER_SPEC_EXC", 0x00004000),
+    ("IMAGE_SCN_GPREL", 0x00008000),
+    ("IMAGE_SCN_MEM_FARDATA", 0x00008000),
+    ("IMAGE_SCN_MEM_SYSHEAP", 0x00010000),  # obsolete
+    ("IMAGE_SCN_MEM_PURGEABLE", 0x00020000),
+    ("IMAGE_SCN_MEM_16BIT", 0x00020000),
+    ("IMAGE_SCN_MEM_LOCKED", 0x00040000),
+    ("IMAGE_SCN_MEM_PRELOAD", 0x00080000),
+    ("IMAGE_SCN_ALIGN_1BYTES", 0x00100000),
+    ("IMAGE_SCN_ALIGN_2BYTES", 0x00200000),
+    ("IMAGE_SCN_ALIGN_4BYTES", 0x00300000),
+    ("IMAGE_SCN_ALIGN_8BYTES", 0x00400000),
+    ("IMAGE_SCN_ALIGN_16BYTES", 0x00500000),  # default alignment
+    ("IMAGE_SCN_ALIGN_32BYTES", 0x00600000),
+    ("IMAGE_SCN_ALIGN_64BYTES", 0x00700000),
+    ("IMAGE_SCN_ALIGN_128BYTES", 0x00800000),
+    ("IMAGE_SCN_ALIGN_256BYTES", 0x00900000),
+    ("IMAGE_SCN_ALIGN_512BYTES", 0x00A00000),
+    ("IMAGE_SCN_ALIGN_1024BYTES", 0x00B00000),
+    ("IMAGE_SCN_ALIGN_2048BYTES", 0x00C00000),
+    ("IMAGE_SCN_ALIGN_4096BYTES", 0x00D00000),
+    ("IMAGE_SCN_ALIGN_8192BYTES", 0x00E00000),
+    ("IMAGE_SCN_ALIGN_MASK", 0x00F00000),
+    ("IMAGE_SCN_LNK_NRELOC_OVFL", 0x01000000),
+    ("IMAGE_SCN_MEM_DISCARDABLE", 0x02000000),
+    ("IMAGE_SCN_MEM_NOT_CACHED", 0x04000000),
+    ("IMAGE_SCN_MEM_NOT_PAGED", 0x08000000),
+    ("IMAGE_SCN_MEM_SHARED", 0x10000000),
+    ("IMAGE_SCN_MEM_EXECUTE", 0x20000000),
+    ("IMAGE_SCN_MEM_READ", 0x40000000),
+    ("IMAGE_SCN_MEM_WRITE", 0x80000000),
+]
+
+SECTION_CHARACTERISTICS = two_way_dict(section_characteristics)
+
+
+debug_types = [
+    ("IMAGE_DEBUG_TYPE_UNKNOWN", 0),
+    ("IMAGE_DEBUG_TYPE_COFF", 1),
+    ("IMAGE_DEBUG_TYPE_CODEVIEW", 2),
+    ("IMAGE_DEBUG_TYPE_FPO", 3),
+    ("IMAGE_DEBUG_TYPE_MISC", 4),
+    ("IMAGE_DEBUG_TYPE_EXCEPTION", 5),
+    ("IMAGE_DEBUG_TYPE_FIXUP", 6),
+    ("IMAGE_DEBUG_TYPE_OMAP_TO_SRC", 7),
+    ("IMAGE_DEBUG_TYPE_OMAP_FROM_SRC", 8),
+    ("IMAGE_DEBUG_TYPE_BORLAND", 9),
+    ("IMAGE_DEBUG_TYPE_RESERVED10", 10),
+    ("IMAGE_DEBUG_TYPE_CLSID", 11),
+    ("IMAGE_DEBUG_TYPE_VC_FEATURE", 12),
+    ("IMAGE_DEBUG_TYPE_POGO", 13),
+    ("IMAGE_DEBUG_TYPE_ILTCG", 14),
+    ("IMAGE_DEBUG_TYPE_MPX", 15),
+    ("IMAGE_DEBUG_TYPE_REPRO", 16),
+    ("IMAGE_DEBUG_TYPE_EX_DLLCHARACTERISTICS", 20),
+]
+
+DEBUG_TYPE = two_way_dict(debug_types)
+
+
+subsystem_types = [
+    ("IMAGE_SUBSYSTEM_UNKNOWN", 0),
+    ("IMAGE_SUBSYSTEM_NATIVE", 1),
+    ("IMAGE_SUBSYSTEM_WINDOWS_GUI", 2),
+    ("IMAGE_SUBSYSTEM_WINDOWS_CUI", 3),
+    ("IMAGE_SUBSYSTEM_OS2_CUI", 5),
+    ("IMAGE_SUBSYSTEM_POSIX_CUI", 7),
+    ("IMAGE_SUBSYSTEM_NATIVE_WINDOWS", 8),
+    ("IMAGE_SUBSYSTEM_WINDOWS_CE_GUI", 9),
+    ("IMAGE_SUBSYSTEM_EFI_APPLICATION", 10),
+    ("IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER", 11),
+    ("IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER", 12),
+    ("IMAGE_SUBSYSTEM_EFI_ROM", 13),
+    ("IMAGE_SUBSYSTEM_XBOX", 14),
+    ("IMAGE_SUBSYSTEM_WINDOWS_BOOT_APPLICATION", 16),
+]
+
+SUBSYSTEM_TYPE = two_way_dict(subsystem_types)
+
+
+machine_types = [
+    ("IMAGE_FILE_MACHINE_UNKNOWN", 0x0),
+    ("IMAGE_FILE_MACHINE_I386", 0x014C),
+    ("IMAGE_FILE_MACHINE_R3000", 0x0162),
+    ("IMAGE_FILE_MACHINE_R4000", 0x0166),
+    ("IMAGE_FILE_MACHINE_R10000", 0x0168),
+    ("IMAGE_FILE_MACHINE_WCEMIPSV2", 0x0169),
+    ("IMAGE_FILE_MACHINE_ALPHA", 0x0184),
+    ("IMAGE_FILE_MACHINE_SH3", 0x01A2),
+    ("IMAGE_FILE_MACHINE_SH3DSP", 0x01A3),
+    ("IMAGE_FILE_MACHINE_SH3E", 0x01A4),
+    ("IMAGE_FILE_MACHINE_SH4", 0x01A6),
+    ("IMAGE_FILE_MACHINE_SH5", 0x01A8),
+    ("IMAGE_FILE_MACHINE_ARM", 0x01C0),
+    ("IMAGE_FILE_MACHINE_THUMB", 0x01C2),
+    ("IMAGE_FILE_MACHINE_ARMNT", 0x01C4),
+    ("IMAGE_FILE_MACHINE_AM33", 0x01D3),
+    ("IMAGE_FILE_MACHINE_POWERPC", 0x01F0),
+    ("IMAGE_FILE_MACHINE_POWERPCFP", 0x01F1),
+    ("IMAGE_FILE_MACHINE_IA64", 0x0200),
+    ("IMAGE_FILE_MACHINE_MIPS16", 0x0266),
+    ("IMAGE_FILE_MACHINE_ALPHA64", 0x0284),
+    ("IMAGE_FILE_MACHINE_AXP64", 0x0284),  # same
+    ("IMAGE_FILE_MACHINE_MIPSFPU", 0x0366),
+    ("IMAGE_FILE_MACHINE_MIPSFPU16", 0x0466),
+    ("IMAGE_FILE_MACHINE_TRICORE", 0x0520),
+    ("IMAGE_FILE_MACHINE_CEF", 0x0CEF),
+    ("IMAGE_FILE_MACHINE_EBC", 0x0EBC),
+    ("IMAGE_FILE_MACHINE_RISCV32", 0x5032),
+    ("IMAGE_FILE_MACHINE_RISCV64", 0x5064),
+    ("IMAGE_FILE_MACHINE_RISCV128", 0x5128),
+    ("IMAGE_FILE_MACHINE_LOONGARCH32", 0x6232),
+    ("IMAGE_FILE_MACHINE_LOONGARCH64", 0x6264),
+    ("IMAGE_FILE_MACHINE_AMD64", 0x8664),
+    ("IMAGE_FILE_MACHINE_M32R", 0x9041),
+    ("IMAGE_FILE_MACHINE_ARM64", 0xAA64),
+    ("IMAGE_FILE_MACHINE_CEE", 0xC0EE),
+]
+
+MACHINE_TYPE = two_way_dict(machine_types)
+
+
+relocation_types = [
+    ("IMAGE_REL_BASED_ABSOLUTE", 0),
+    ("IMAGE_REL_BASED_HIGH", 1),
+    ("IMAGE_REL_BASED_LOW", 2),
+    ("IMAGE_REL_BASED_HIGHLOW", 3),
+    ("IMAGE_REL_BASED_HIGHADJ", 4),
+    ("IMAGE_REL_BASED_MIPS_JMPADDR", 5),
+    ("IMAGE_REL_BASED_SECTION", 6),
+    ("IMAGE_REL_BASED_REL", 7),
+    ("IMAGE_REL_BASED_MIPS_JMPADDR16", 9),
+    ("IMAGE_REL_BASED_IA64_IMM64", 9),
+    ("IMAGE_REL_BASED_DIR64", 10),
+    ("IMAGE_REL_BASED_HIGH3ADJ", 11),
+]
+
+RELOCATION_TYPE = two_way_dict(relocation_types)
+
+
+dll_characteristics = [
+    ("IMAGE_LIBRARY_PROCESS_INIT", 0x0001),  # reserved
+    ("IMAGE_LIBRARY_PROCESS_TERM", 0x0002),  # reserved
+    ("IMAGE_LIBRARY_THREAD_INIT", 0x0004),  # reserved
+    ("IMAGE_LIBRARY_THREAD_TERM", 0x0008),  # reserved
+    ("IMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA", 0x0020),
+    ("IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE", 0x0040),
+    ("IMAGE_DLLCHARACTERISTICS_FORCE_INTEGRITY", 0x0080),
+    ("IMAGE_DLLCHARACTERISTICS_NX_COMPAT", 0x0100),
+    ("IMAGE_DLLCHARACTERISTICS_NO_ISOLATION", 0x0200),
+    ("IMAGE_DLLCHARACTERISTICS_NO_SEH", 0x0400),
+    ("IMAGE_DLLCHARACTERISTICS_NO_BIND", 0x0800),
+    ("IMAGE_DLLCHARACTERISTICS_APPCONTAINER", 0x1000),
+    ("IMAGE_DLLCHARACTERISTICS_WDM_DRIVER", 0x2000),
+    ("IMAGE_DLLCHARACTERISTICS_GUARD_CF", 0x4000),
+    ("IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE", 0x8000),
+]
+
+DLL_CHARACTERISTICS = two_way_dict(dll_characteristics)
+
+FILE_ALIGNMENT_HARDCODED_VALUE = 0x200
+
+
+# Unwind info-related enums
+
+unwind_info_flags = [
+    ("UNW_FLAG_EHANDLER", 0x01),
+    ("UNW_FLAG_UHANDLER", 0x02),
+    ("UNW_FLAG_CHAININFO", 0x04),
+]
+
+UNWIND_INFO_FLAGS = two_way_dict(unwind_info_flags)
+
+registers = [
+    ("RAX", 0),
+    ("RCX", 1),
+    ("RDX", 2),
+    ("RBX", 3),
+    ("RSP", 4),
+    ("RBP", 5),
+    ("RSI", 6),
+    ("RDI", 7),
+    ("R8", 8),
+    ("R9", 9),
+    ("R10", 10),
+    ("R11", 11),
+    ("R12", 12),
+    ("R13", 13),
+    ("R14", 14),
+    ("R15", 15),
+]
+
+REGISTERS = two_way_dict(registers)
+
+# enum _UNWIND_OP_CODES
+UWOP_PUSH_NONVOL = 0
+UWOP_ALLOC_LARGE = 1
+UWOP_ALLOC_SMALL = 2
+UWOP_SET_FPREG = 3
+UWOP_SAVE_NONVOL = 4
+UWOP_SAVE_NONVOL_FAR = 5
+UWOP_EPILOG = 6
+UWOP_SAVE_XMM128 = 8
+UWOP_SAVE_XMM128_FAR = 9
+UWOP_PUSH_MACHFRAME = 10
+
+
+# Resource types
+resource_type = [
+    ("RT_CURSOR", 1),
+    ("RT_BITMAP", 2),
+    ("RT_ICON", 3),
+    ("RT_MENU", 4),
+    ("RT_DIALOG", 5),
+    ("RT_STRING", 6),
+    ("RT_FONTDIR", 7),
+    ("RT_FONT", 8),
+    ("RT_ACCELERATOR", 9),
+    ("RT_RCDATA", 10),
+    ("RT_MESSAGETABLE", 11),
+    ("RT_GROUP_CURSOR", 12),
+    ("RT_GROUP_ICON", 14),
+    ("RT_VERSION", 16),
+    ("RT_DLGINCLUDE", 17),
+    ("RT_PLUGPLAY", 19),
+    ("RT_VXD", 20),
+    ("RT_ANICURSOR", 21),
+    ("RT_ANIICON", 22),
+    ("RT_HTML", 23),
+    ("RT_MANIFEST", 24),
+]
+
+RESOURCE_TYPE = two_way_dict(resource_type)
+
+
+# Language definitions
+lang = [
+    ("LANG_NEUTRAL", 0x00),
+    ("LANG_INVARIANT", 0x7F),
+    ("LANG_AFRIKAANS", 0x36),
+    ("LANG_ALBANIAN", 0x1C),
+    ("LANG_ARABIC", 0x01),
+    ("LANG_ARMENIAN", 0x2B),
+    ("LANG_ASSAMESE", 0x4D),
+    ("LANG_AZERI", 0x2C),
+    ("LANG_BASQUE", 0x2D),
+    ("LANG_BELARUSIAN", 0x23),
+    ("LANG_BENGALI", 0x45),
+    ("LANG_BULGARIAN", 0x02),
+    ("LANG_CATALAN", 0x03),
+    ("LANG_CHINESE", 0x04),
+    ("LANG_CROATIAN", 0x1A),
+    ("LANG_CZECH", 0x05),
+    ("LANG_DANISH", 0x06),
+    ("LANG_DIVEHI", 0x65),
+    ("LANG_DUTCH", 0x13),
+    ("LANG_ENGLISH", 0x09),
+    ("LANG_ESTONIAN", 0x25),
+    ("LANG_FAEROESE", 0x38),
+    ("LANG_FARSI", 0x29),
+    ("LANG_FINNISH", 0x0B),
+    ("LANG_FRENCH", 0x0C),
+    ("LANG_GALICIAN", 0x56),
+    ("LANG_GEORGIAN", 0x37),
+    ("LANG_GERMAN", 0x07),
+    ("LANG_GREEK", 0x08),
+    ("LANG_GUJARATI", 0x47),
+    ("LANG_HEBREW", 0x0D),
+    ("LANG_HINDI", 0x39),
+    ("LANG_HUNGARIAN", 0x0E),
+    ("LANG_ICELANDIC", 0x0F),
+    ("LANG_INDONESIAN", 0x21),
+    ("LANG_ITALIAN", 0x10),
+    ("LANG_JAPANESE", 0x11),
+    ("LANG_KANNADA", 0x4B),
+    ("LANG_KASHMIRI", 0x60),
+    ("LANG_KAZAK", 0x3F),
+    ("LANG_KONKANI", 0x57),
+    ("LANG_KOREAN", 0x12),
+    ("LANG_KYRGYZ", 0x40),
+    ("LANG_LATVIAN", 0x26),
+    ("LANG_LITHUANIAN", 0x27),
+    ("LANG_MACEDONIAN", 0x2F),
+    ("LANG_MALAY", 0x3E),
+    ("LANG_MALAYALAM", 0x4C),
+    ("LANG_MANIPURI", 0x58),
+    ("LANG_MARATHI", 0x4E),
+    ("LANG_MONGOLIAN", 0x50),
+    ("LANG_NEPALI", 0x61),
+    ("LANG_NORWEGIAN", 0x14),
+    ("LANG_ORIYA", 0x48),
+    ("LANG_POLISH", 0x15),
+    ("LANG_PORTUGUESE", 0x16),
+    ("LANG_PUNJABI", 0x46),
+    ("LANG_ROMANIAN", 0x18),
+    ("LANG_RUSSIAN", 0x19),
+    ("LANG_SANSKRIT", 0x4F),
+    ("LANG_SERBIAN", 0x1A),
+    ("LANG_SINDHI", 0x59),
+    ("LANG_SLOVAK", 0x1B),
+    ("LANG_SLOVENIAN", 0x24),
+    ("LANG_SPANISH", 0x0A),
+    ("LANG_SWAHILI", 0x41),
+    ("LANG_SWEDISH", 0x1D),
+    ("LANG_SYRIAC", 0x5A),
+    ("LANG_TAMIL", 0x49),
+    ("LANG_TATAR", 0x44),
+    ("LANG_TELUGU", 0x4A),
+    ("LANG_THAI", 0x1E),
+    ("LANG_TURKISH", 0x1F),
+    ("LANG_UKRAINIAN", 0x22),
+    ("LANG_URDU", 0x20),
+    ("LANG_UZBEK", 0x43),
+    ("LANG_VIETNAMESE", 0x2A),
+    ("LANG_GAELIC", 0x3C),
+    ("LANG_MALTESE", 0x3A),
+    ("LANG_MAORI", 0x28),
+    ("LANG_RHAETO_ROMANCE", 0x17),
+    ("LANG_SAAMI", 0x3B),
+    ("LANG_SORBIAN", 0x2E),
+    ("LANG_SUTU", 0x30),
+    ("LANG_TSONGA", 0x31),
+    ("LANG_TSWANA", 0x32),
+    ("LANG_VENDA", 0x33),
+    ("LANG_XHOSA", 0x34),
+    ("LANG_ZULU", 0x35),
+    ("LANG_ESPERANTO", 0x8F),
+    ("LANG_WALON", 0x90),
+    ("LANG_CORNISH", 0x91),
+    ("LANG_WELSH", 0x92),
+    ("LANG_BRETON", 0x93),
+]
+
+LANG = two_way_dict(lang)
+
+
+# Sublanguage definitions
+sublang = [
+    ("SUBLANG_NEUTRAL", 0x00),
+    ("SUBLANG_DEFAULT", 0x01),
+    ("SUBLANG_SYS_DEFAULT", 0x02),
+    ("SUBLANG_ARABIC_SAUDI_ARABIA", 0x01),
+    ("SUBLANG_ARABIC_IRAQ", 0x02),
+    ("SUBLANG_ARABIC_EGYPT", 0x03),
+    ("SUBLANG_ARABIC_LIBYA", 0x04),
+    ("SUBLANG_ARABIC_ALGERIA", 0x05),
+    ("SUBLANG_ARABIC_MOROCCO", 0x06),
+    ("SUBLANG_ARABIC_TUNISIA", 0x07),
+    ("SUBLANG_ARABIC_OMAN", 0x08),
+    ("SUBLANG_ARABIC_YEMEN", 0x09),
+    ("SUBLANG_ARABIC_SYRIA", 0x0A),
+    ("SUBLANG_ARABIC_JORDAN", 0x0B),
+    ("SUBLANG_ARABIC_LEBANON", 0x0C),
+    ("SUBLANG_ARABIC_KUWAIT", 0x0D),
+    ("SUBLANG_ARABIC_UAE", 0x0E),
+    ("SUBLANG_ARABIC_BAHRAIN", 0x0F),
+    ("SUBLANG_ARABIC_QATAR", 0x10),
+    ("SUBLANG_AZERI_LATIN", 0x01),
+    ("SUBLANG_AZERI_CYRILLIC", 0x02),
+    ("SUBLANG_CHINESE_TRADITIONAL", 0x01),
+    ("SUBLANG_CHINESE_SIMPLIFIED", 0x02),
+    ("SUBLANG_CHINESE_HONGKONG", 0x03),
+    ("SUBLANG_CHINESE_SINGAPORE", 0x04),
+    ("SUBLANG_CHINESE_MACAU", 0x05),
+    ("SUBLANG_DUTCH", 0x01),
+    ("SUBLANG_DUTCH_BELGIAN", 0x02),
+    ("SUBLANG_ENGLISH_US", 0x01),
+    ("SUBLANG_ENGLISH_UK", 0x02),
+    ("SUBLANG_ENGLISH_AUS", 0x03),
+    ("SUBLANG_ENGLISH_CAN", 0x04),
+    ("SUBLANG_ENGLISH_NZ", 0x05),
+    ("SUBLANG_ENGLISH_EIRE", 0x06),
+    ("SUBLANG_ENGLISH_SOUTH_AFRICA", 0x07),
+    ("SUBLANG_ENGLISH_JAMAICA", 0x08),
+    ("SUBLANG_ENGLISH_CARIBBEAN", 0x09),
+    ("SUBLANG_ENGLISH_BELIZE", 0x0A),
+    ("SUBLANG_ENGLISH_TRINIDAD", 0x0B),
+    ("SUBLANG_ENGLISH_ZIMBABWE", 0x0C),
+    ("SUBLANG_ENGLISH_PHILIPPINES", 0x0D),
+    ("SUBLANG_FRENCH", 0x01),
+    ("SUBLANG_FRENCH_BELGIAN", 0x02),
+    ("SUBLANG_FRENCH_CANADIAN", 0x03),
+    ("SUBLANG_FRENCH_SWISS", 0x04),
+    ("SUBLANG_FRENCH_LUXEMBOURG", 0x05),
+    ("SUBLANG_FRENCH_MONACO", 0x06),
+    ("SUBLANG_GERMAN", 0x01),
+    ("SUBLANG_GERMAN_SWISS", 0x02),
+    ("SUBLANG_GERMAN_AUSTRIAN", 0x03),
+    ("SUBLANG_GERMAN_LUXEMBOURG", 0x04),
+    ("SUBLANG_GERMAN_LIECHTENSTEIN", 0x05),
+    ("SUBLANG_ITALIAN", 0x01),
+    ("SUBLANG_ITALIAN_SWISS", 0x02),
+    ("SUBLANG_KASHMIRI_SASIA", 0x02),
+    ("SUBLANG_KASHMIRI_INDIA", 0x02),
+    ("SUBLANG_KOREAN", 0x01),
+    ("SUBLANG_LITHUANIAN", 0x01),
+    ("SUBLANG_MALAY_MALAYSIA", 0x01),
+    ("SUBLANG_MALAY_BRUNEI_DARUSSALAM", 0x02),
+    ("SUBLANG_NEPALI_INDIA", 0x02),
+    ("SUBLANG_NORWEGIAN_BOKMAL", 0x01),
+    ("SUBLANG_NORWEGIAN_NYNORSK", 0x02),
+    ("SUBLANG_PORTUGUESE", 0x02),
+    ("SUBLANG_PORTUGUESE_BRAZILIAN", 0x01),
+    ("SUBLANG_SERBIAN_LATIN", 0x02),
+    ("SUBLANG_SERBIAN_CYRILLIC", 0x03),
+    ("SUBLANG_SPANISH", 0x01),
+    ("SUBLANG_SPANISH_MEXICAN", 0x02),
+    ("SUBLANG_SPANISH_MODERN", 0x03),
+    ("SUBLANG_SPANISH_GUATEMALA", 0x04),
+    ("SUBLANG_SPANISH_COSTA_RICA", 0x05),
+    ("SUBLANG_SPANISH_PANAMA", 0x06),
+    ("SUBLANG_SPANISH_DOMINICAN_REPUBLIC", 0x07),
+    ("SUBLANG_SPANISH_VENEZUELA", 0x08),
+    ("SUBLANG_SPANISH_COLOMBIA", 0x09),
+    ("SUBLANG_SPANISH_PERU", 0x0A),
+    ("SUBLANG_SPANISH_ARGENTINA", 0x0B),
+    ("SUBLANG_SPANISH_ECUADOR", 0x0C),
+    ("SUBLANG_SPANISH_CHILE", 0x0D),
+    ("SUBLANG_SPANISH_URUGUAY", 0x0E),
+    ("SUBLANG_SPANISH_PARAGUAY", 0x0F),
+    ("SUBLANG_SPANISH_BOLIVIA", 0x10),
+    ("SUBLANG_SPANISH_EL_SALVADOR", 0x11),
+    ("SUBLANG_SPANISH_HONDURAS", 0x12),
+    ("SUBLANG_SPANISH_NICARAGUA", 0x13),
+    ("SUBLANG_SPANISH_PUERTO_RICO", 0x14),
+    ("SUBLANG_SWEDISH", 0x01),
+    ("SUBLANG_SWEDISH_FINLAND", 0x02),
+    ("SUBLANG_URDU_PAKISTAN", 0x01),
+    ("SUBLANG_URDU_INDIA", 0x02),
+    ("SUBLANG_UZBEK_LATIN", 0x01),
+    ("SUBLANG_UZBEK_CYRILLIC", 0x02),
+    ("SUBLANG_DUTCH_SURINAM", 0x03),
+    ("SUBLANG_ROMANIAN", 0x01),
+    ("SUBLANG_ROMANIAN_MOLDAVIA", 0x02),
+    ("SUBLANG_RUSSIAN", 0x01),
+    ("SUBLANG_RUSSIAN_MOLDAVIA", 0x02),
+    ("SUBLANG_CROATIAN", 0x01),
+    ("SUBLANG_LITHUANIAN_CLASSIC", 0x02),
+    ("SUBLANG_GAELIC", 0x01),
+    ("SUBLANG_GAELIC_SCOTTISH", 0x02),
+    ("SUBLANG_GAELIC_MANX", 0x03),
+]
+
+SUBLANG = two_way_dict(sublang)
+
+# Initialize the dictionary with all the name->value pairs
+SUBLANG = dict(sublang)
+# Now add all the value->name information, handling duplicates appropriately
+for sublang_name, sublang_value in sublang:
+    if sublang_value in SUBLANG:
+        SUBLANG[sublang_value].append(sublang_name)
+    else:
+        SUBLANG[sublang_value] = [sublang_name]
+
+# Resolve a sublang name given the main lang name
+#
+def get_sublang_name_for_lang(lang_value, sublang_value):
+    lang_name = LANG.get(lang_value, "*unknown*")
+    for sublang_name in SUBLANG.get(sublang_value, []):
+        # if the main language is a substring of sublang's name, then
+        # return that
+        if lang_name in sublang_name:
+            return sublang_name
+    # otherwise return the first sublang name
+    return SUBLANG.get(sublang_value, ["*unknown*"])[0]
+
+
+# Ange Albertini's code to process resources' strings
+#
+def parse_strings(data, counter, l):
+    i = 0
+    error_count = 0
+    while i < len(data):
+
+        data_slice = data[i : i + 2]
+        if len(data_slice) < 2:
+            break
+
+        len_ = struct.unpack("= 3:
+                break
+            i += len_ * 2
+        counter += 1
+
+
+def retrieve_flags(flag_dict, flag_filter):
+    """Read the flags from a dictionary and return them in a usable form.
+
+    Will return a list of (flag, value) for all flags in "flag_dict"
+    matching the filter "flag_filter".
+    """
+
+    return [
+        (flag, flag_dict[flag])
+        for flag in flag_dict.keys()
+        if isinstance(flag, (str, bytes)) and flag.startswith(flag_filter)
+    ]
+
+
+def set_flags(obj, flag_field, flags):
+    """Will process the flags and set attributes in the object accordingly.
+
+    The object "obj" will gain attributes named after the flags provided in
+    "flags" and valued True/False, matching the results of applying each
+    flag value from "flags" to flag_field.
+    """
+
+    for flag, value in flags:
+        if value & flag_field:
+            obj.__dict__[flag] = True
+        else:
+            obj.__dict__[flag] = False
+
+
+def power_of_two(val):
+    return val != 0 and (val & (val - 1)) == 0
+
+
+def b(x):
+    if isinstance(x, bytes):
+        return x
+    elif isinstance(x, bytearray):
+        return bytes(x)
+    else:
+        return codecs.encode(x, "cp1252")
+
+
+class AddressSet(set):
+    def __init__(self):
+        super().__init__()
+        self.min = None
+        self.max = None
+
+    def add(self, value):
+        super().add(value)
+        self.min = value if self.min is None else min(self.min, value)
+        self.max = value if self.max is None else max(self.max, value)
+
+    def diff(self):
+        return 0 if self.min is None or self.max is None else self.max - self.min
+
+
+class UnicodeStringWrapperPostProcessor:
+    """This class attempts to help the process of identifying strings
+    that might be plain Unicode or Pascal. A list of strings will be
+    wrapped on it with the hope the overlappings will help make the
+    decision about their type."""
+
+    def __init__(self, pe, rva_ptr):
+        self.pe = pe
+        self.rva_ptr = rva_ptr
+        self.string = None
+
+    def get_rva(self):
+        """Get the RVA of the string."""
+        return self.rva_ptr
+
+    def __str__(self):
+        """Return the escaped UTF-8 representation of the string."""
+        return self.decode("utf-8", "backslashreplace_")
+
+    def decode(self, *args):
+        if not self.string:
+            return ""
+        return self.string.decode(*args)
+
+    def invalidate(self):
+        """Make this instance None, to express it's no known string type."""
+        self = None
+
+    def render_pascal_16(self):
+        try:
+            self.string = self.pe.get_string_u_at_rva(
+                self.rva_ptr + 2, max_length=self.get_pascal_16_length()
+            )
+        except PEFormatError:
+            self.pe.get_warnings().append(
+                "Failed rendering pascal string, "
+                "attempting to read from RVA 0x{0:x}".format(self.rva_ptr + 2)
+            )
+
+    def get_pascal_16_length(self):
+        return self.__get_word_value_at_rva(self.rva_ptr)
+
+    def __get_word_value_at_rva(self, rva):
+        try:
+            data = self.pe.get_data(rva, 2)
+        except PEFormatError:
+            return False
+
+        if len(data) < 2:
+            return False
+
+        return struct.unpack(" str:
+        return self.__format_str__
+
+    def get_field_absolute_offset(self, field_name):
+        """Return the offset within the field for the requested field in the structure."""
+        return self.__file_offset__ + self.__field_offsets__[field_name]
+
+    def get_field_relative_offset(self, field_name):
+        """Return the offset within the structure for the requested field."""
+        return self.__field_offsets__[field_name]
+
+    def get_file_offset(self):
+        return self.__file_offset__
+
+    def set_file_offset(self, offset):
+        self.__file_offset__ = offset
+
+    def all_zeroes(self):
+        """Returns true is the unpacked data is all zeros."""
+
+        return self.__all_zeroes__
+
+    def sizeof(self):
+        """Return size of the structure."""
+
+        return self.__format_length__
+
+    def __unpack__(self, data):
+
+        data = b(data)
+
+        if len(data) > self.__format_length__:
+            data = data[: self.__format_length__]
+
+        # OC Patch:
+        # Some malware have incorrect header lengths.
+        # Fail gracefully if this occurs
+        # Buggy malware: a29b0118af8b7408444df81701ad5a7f
+        #
+        elif len(data) < self.__format_length__:
+            raise PEFormatError("Data length less than expected header length.")
+
+        if count_zeroes(data) == len(data):
+            self.__all_zeroes__ = True
+
+        self.__unpacked_data_elms__ = struct.unpack(self.__format_str__, data)
+        for idx, val in enumerate(self.__unpacked_data_elms__):
+            for key in self.__keys__[idx]:
+                setattr(self, key, val)
+
+    def __pack__(self):
+
+        new_values = []
+
+        for idx, val in enumerate(self.__unpacked_data_elms__):
+            new_val = None
+            for key in self.__keys__[idx]:
+                new_val = getattr(self, key)
+                # In the case of unions, when the first changed value
+                # is picked the loop is exited
+                if new_val != val:
+                    break
+            new_values.append(new_val)
+
+        return struct.pack(self.__format_str__, *new_values)
+
+    def __str__(self):
+        return "\n".join(self.dump())
+
+    def __repr__(self):
+        return "" % (
+            " ".join([" ".join(s.split()) for s in self.dump()])
+        )
+
+    def dump(self, indentation=0):
+        """Returns a string representation of the structure."""
+
+        dump = []
+
+        dump.append("[{0}]".format(self.name))
+
+        printable_bytes = [
+            ord(i) for i in string.printable if i not in string.whitespace
+        ]
+
+        # Refer to the __set_format__ method for an explanation
+        # of the following construct.
+        for keys in self.__keys__:
+            for key in keys:
+
+                val = getattr(self, key)
+                if isinstance(val, (int, long)):
+                    if key.startswith("Signature_"):
+                        val_str = "{:<8X}".format(val)
+                    else:
+                        val_str = "0x{:<8X}".format(val)
+                    if key == "TimeDateStamp" or key == "dwTimeStamp":
+                        try:
+                            val_str += " [%s UTC]" % time.asctime(time.gmtime(val))
+                        except ValueError:
+                            val_str += " [INVALID TIME]"
+                else:
+                    val_str = bytearray(val)
+                    if key.startswith("Signature"):
+                        val_str = "".join(
+                            ["{:02X}".format(i) for i in val_str.rstrip(b"\x00")]
+                        )
+                    else:
+                        val_str = "".join(
+                            [
+                                chr(i)
+                                if (i in printable_bytes)
+                                else "\\x{0:02x}".format(i)
+                                for i in val_str.rstrip(b"\x00")
+                            ]
+                        )
+
+                dump.append(
+                    "0x%-8X 0x%-3X %-30s %s"
+                    % (
+                        self.__field_offsets__[key] + self.__file_offset__,
+                        self.__field_offsets__[key],
+                        key + ":",
+                        val_str,
+                    )
+                )
+
+        return dump
+
+    def dump_dict(self):
+        """Returns a dictionary representation of the structure."""
+
+        dump_dict = {}
+
+        dump_dict["Structure"] = self.name
+
+        # Refer to the __set_format__ method for an explanation
+        # of the following construct.
+        for keys in self.__keys__:
+            for key in keys:
+
+                val = getattr(self, key)
+                if isinstance(val, (int, long)):
+                    if key == "TimeDateStamp" or key == "dwTimeStamp":
+                        try:
+                            val = "0x%-8X [%s UTC]" % (
+                                val,
+                                time.asctime(time.gmtime(val)),
+                            )
+                        except ValueError:
+                            val = "0x%-8X [INVALID TIME]" % val
+                else:
+                    val = "".join(
+                        chr(d) if chr(d) in string.printable else "\\x%02x" % d
+                        for d in [ord(c) if not isinstance(c, int) else c for c in val]
+                    )
+
+                dump_dict[key] = {
+                    "FileOffset": self.__field_offsets__[key] + self.__file_offset__,
+                    "Offset": self.__field_offsets__[key],
+                    "Value": val,
+                }
+
+        return dump_dict
+
+
+class SectionStructure(Structure):
+    """Convenience section handling class."""
+
+    def __init__(self, *argl, **argd):
+        if "pe" in argd:
+            self.pe = argd["pe"]
+            del argd["pe"]
+
+        self.PointerToRawData = None
+        self.VirtualAddress = None
+        self.SizeOfRawData = None
+        self.Misc_VirtualSize = None
+        Structure.__init__(self, *argl, **argd)
+        self.PointerToRawData_adj = None
+        self.VirtualAddress_adj = None
+        self.section_min_addr = None
+        self.section_max_addr = None
+
+    def get_PointerToRawData_adj(self):
+        if self.PointerToRawData_adj is None:
+            if self.PointerToRawData is not None:
+                self.PointerToRawData_adj = self.pe.adjust_FileAlignment(
+                    self.PointerToRawData, self.pe.OPTIONAL_HEADER.FileAlignment
+                )
+        return self.PointerToRawData_adj
+
+    def get_VirtualAddress_adj(self):
+        if self.VirtualAddress_adj is None:
+            if self.VirtualAddress is not None:
+                self.VirtualAddress_adj = self.pe.adjust_SectionAlignment(
+                    self.VirtualAddress,
+                    self.pe.OPTIONAL_HEADER.SectionAlignment,
+                    self.pe.OPTIONAL_HEADER.FileAlignment,
+                )
+        return self.VirtualAddress_adj
+
+    def get_data(self, start=None, length=None, ignore_padding=False):
+        """Get data chunk from a section.
+
+        Allows to query data from the section by passing the
+        addresses where the PE file would be loaded by default.
+        It is then possible to retrieve code and data by their real
+        addresses as they would be if loaded.
+
+        Note that sections on disk can include padding that would
+        not be loaded to memory. That is the case if `section.SizeOfRawData`
+        is greater than `section.Misc_VirtualSize`, and that means
+        that data past `section.Misc_VirtualSize` is padding.
+        In case you are not interested in this padding, passing
+        `ignore_padding=True` will truncate the result in order
+        not to return the padding (if any).
+
+        Returns bytes() under Python 3.x and set() under Python 2.7
+        """
+
+        if start is None:
+            offset = self.get_PointerToRawData_adj()
+        else:
+            offset = (
+                start - self.get_VirtualAddress_adj()
+            ) + self.get_PointerToRawData_adj()
+
+        if length is not None:
+            end = offset + length
+        elif self.SizeOfRawData is not None:
+            end = offset + self.SizeOfRawData
+        else:
+            end = offset
+
+        if ignore_padding and end is not None and offset is not None:
+            end = min(end, offset + self.Misc_VirtualSize)
+
+        # PointerToRawData is not adjusted here as we might want to read any possible
+        # extra bytes that might get cut off by aligning the start (and hence cutting
+        # something off the end)
+        if self.PointerToRawData is not None and self.SizeOfRawData is not None:
+            if end > self.PointerToRawData + self.SizeOfRawData:
+                end = self.PointerToRawData + self.SizeOfRawData
+        return self.pe.__data__[offset:end]
+
+    def __setattr__(self, name, val):
+
+        if name == "Characteristics":
+            section_flags = retrieve_flags(SECTION_CHARACTERISTICS, "IMAGE_SCN_")
+
+            # Set the section's flags according to the Characteristics member
+            set_flags(self, val, section_flags)
+
+        elif "IMAGE_SCN_" in name and hasattr(self, name):
+            if val:
+                self.__dict__["Characteristics"] |= SECTION_CHARACTERISTICS[name]
+            else:
+                self.__dict__["Characteristics"] ^= SECTION_CHARACTERISTICS[name]
+
+        self.__dict__[name] = val
+
+    def get_rva_from_offset(self, offset):
+        return offset - self.get_PointerToRawData_adj() + self.get_VirtualAddress_adj()
+
+    def get_offset_from_rva(self, rva):
+        return rva - self.get_VirtualAddress_adj() + self.get_PointerToRawData_adj()
+
+    def contains_offset(self, offset):
+        """Check whether the section contains the file offset provided."""
+
+        if self.PointerToRawData is None:
+            # bss and other sections containing only uninitialized data must have 0
+            # and do not take space in the file
+            return False
+        PointerToRawData_adj = self.get_PointerToRawData_adj()
+        return (
+            PointerToRawData_adj <= offset < PointerToRawData_adj + self.SizeOfRawData
+        )
+
+    def contains_rva(self, rva):
+        """Check whether the section contains the address provided."""
+
+        # speedup
+        if self.section_min_addr is not None and self.section_max_addr is not None:
+            return self.section_min_addr <= rva < self.section_max_addr
+
+        VirtualAddress_adj = self.get_VirtualAddress_adj()
+        # Check if the SizeOfRawData is realistic. If it's bigger than the size of
+        # the whole PE file minus the start address of the section it could be
+        # either truncated or the SizeOfRawData contains a misleading value.
+        # In either of those cases we take the VirtualSize
+        #
+        if len(self.pe.__data__) - self.get_PointerToRawData_adj() < self.SizeOfRawData:
+            # PECOFF documentation v8 says:
+            # VirtualSize: The total size of the section when loaded into memory.
+            # If this value is greater than SizeOfRawData, the section is zero-padded.
+            # This field is valid only for executable images and should be set to zero
+            # for object files.
+            #
+            size = self.Misc_VirtualSize
+        else:
+            size = max(self.SizeOfRawData, self.Misc_VirtualSize)
+
+        # Check whether there's any section after the current one that starts before
+        # the calculated end for the current one. If so, cut the current section's size
+        # to fit in the range up to where the next section starts.
+        if (
+            self.next_section_virtual_address is not None
+            and self.next_section_virtual_address > self.VirtualAddress
+            and VirtualAddress_adj + size > self.next_section_virtual_address
+        ):
+            size = self.next_section_virtual_address - VirtualAddress_adj
+
+        self.section_min_addr = VirtualAddress_adj
+        self.section_max_addr = VirtualAddress_adj + size
+        return VirtualAddress_adj <= rva < VirtualAddress_adj + size
+
+    def contains(self, rva):
+        return self.contains_rva(rva)
+
+    def get_entropy(self):
+        """Calculate and return the entropy for the section."""
+
+        return self.entropy_H(self.get_data())
+
+    def get_hash_sha1(self):
+        """Get the SHA-1 hex-digest of the section's data."""
+
+        if sha1 is not None:
+            return sha1(self.get_data()).hexdigest()
+
+    def get_hash_sha256(self):
+        """Get the SHA-256 hex-digest of the section's data."""
+
+        if sha256 is not None:
+            return sha256(self.get_data()).hexdigest()
+
+    def get_hash_sha512(self):
+        """Get the SHA-512 hex-digest of the section's data."""
+
+        if sha512 is not None:
+            return sha512(self.get_data()).hexdigest()
+
+    def get_hash_md5(self):
+        """Get the MD5 hex-digest of the section's data."""
+
+        if md5 is not None:
+            return md5(self.get_data()).hexdigest()
+
+    def entropy_H(self, data):
+        """Calculate the entropy of a chunk of data."""
+
+        if not data:
+            return 0.0
+
+        occurences = Counter(bytearray(data))
+
+        entropy = 0
+        for x in occurences.values():
+            p_x = float(x) / len(data)
+            entropy -= p_x * math.log(p_x, 2)
+
+        return entropy
+
+
+@lru_cache(maxsize=2048, copy=False)
+def set_bitfields_format(format):
+    class Accumulator:
+        def __init__(self, fmt, comp_fields):
+            self._subfields = []
+            # add a prefix to distinguish the artificially created compoud field
+            # from regular fields
+            self._name = "~"
+            self._type = None
+            self._bits_left = 0
+            self._comp_fields = comp_fields
+            self._format = fmt
+
+        def wrap_up(self):
+            if self._type is None:
+                return
+            self._format.append(self._type + "," + self._name)
+            self._comp_fields[len(self._format) - 1] = (self._type, self._subfields)
+            self._name = "~"
+            self._type = None
+            self._subfields = []
+
+        def new_type(self, tp):
+            self._bits_left = STRUCT_SIZEOF_TYPES[tp] * 8
+            self._type = tp
+
+        def add_subfield(self, name, bitcnt):
+            self._name += name
+            self._bits_left -= bitcnt
+            self._subfields.append((name, bitcnt))
+
+        def get_type(self):
+            return self._type
+
+        def get_name(self):
+            return self._name
+
+        def get_bits_left(self):
+            return self._bits_left
+
+    old_fmt = []
+    comp_fields = {}
+    ac = Accumulator(old_fmt, comp_fields)
+
+    for elm in format[1]:
+        if not ":" in elm:
+            ac.wrap_up()
+            old_fmt.append(elm)
+            continue
+
+        elm_type, elm_name = elm.split(",", 1)
+
+        if "," in elm_name:
+            raise NotImplementedError(
+                "Structures with bitfields do not support unions yet"
+            )
+
+        elm_type, elm_bits = elm_type.split(":", 1)
+        elm_bits = int(elm_bits)
+        if elm_type != ac.get_type() or elm_bits > ac.get_bits_left():
+            ac.wrap_up()
+            ac.new_type(elm_type)
+
+        ac.add_subfield(elm_name, elm_bits)
+    ac.wrap_up()
+
+    format_str, _, field_offsets, keys, format_length = set_format(tuple(old_fmt))
+
+    extended_keys = []
+    for idx, val in enumerate(keys):
+        if not idx in comp_fields:
+            extended_keys.append(val)
+            continue
+        _, sbf = comp_fields[idx]
+        bf_names = [[f[StructureWithBitfields.BTF_NAME_IDX]] for f in sbf]
+        extended_keys.extend(bf_names)
+        for n in bf_names:
+            field_offsets[n[0]] = field_offsets[val[0]]
+
+    return (format_str, format_length, field_offsets, keys, extended_keys, comp_fields)
+
+
+class StructureWithBitfields(Structure):
+    """
+    Extends Structure's functionality with support for bitfields such as:
+        ('B:4,LowerHalf', 'B:4,UpperHalf')
+    To this end, two lists are maintained:
+        * self.__keys__ that contains compound fields, for example
+          ('B,~LowerHalfUpperHalf'), and is used during packing/unpaking
+        * self.__keys_ext__ containing a separate key for each field (ex., LowerHalf,
+          UpperHalf) to simplify implementation of dump()
+    This way the implementation of unpacking/packing and dump() from Structure can be
+    reused.
+
+    In addition, we create a dictionary:
+         -->
+            (data type, [ (subfield name, length in bits)+ ] )
+    that facilitates bitfield paking and unpacking.
+
+    With lru_cache() creating only once instance per format string, the memory
+    overhead is negligible.
+    """
+
+    BTF_NAME_IDX = 0
+    BTF_BITCNT_IDX = 1
+    CF_TYPE_IDX = 0
+    CF_SUBFLD_IDX = 1
+
+    def __init__(self, format, name=None, file_offset=None):
+        (
+            self.__format_str__,
+            self.__format_length__,
+            self.__field_offsets__,
+            self.__keys__,
+            self.__keys_ext__,
+            self.__compound_fields__,
+        ) = set_bitfields_format(format)
+        # create our own unpacked_data_elms to ensure they are not shared among
+        # StructureWithBitfields instances with the same format string
+        self.__unpacked_data_elms__ = [None for i in range(self.__format_length__)]
+        self.__all_zeroes__ = False
+        self.__file_offset__ = file_offset
+        self.name = name if name != None else format[0]
+
+    def __unpack__(self, data):
+        # calling the original routine to deal with special cases/spurious data
+        # structures
+        super(StructureWithBitfields, self).__unpack__(data)
+        self._unpack_bitfield_attributes()
+
+    def __pack__(self):
+        self._pack_bitfield_attributes()
+        try:
+            data = super(StructureWithBitfields, self).__pack__()
+        finally:
+            self._unpack_bitfield_attributes()
+        return data
+
+    def dump(self, indentation=0):
+        tk = self.__keys__
+        self.__keys__ = self.__keys_ext__
+        try:
+            ret = super(StructureWithBitfields, self).dump(indentation)
+        finally:
+            self.__keys__ = tk
+        return ret
+
+    def dump_dict(self):
+        tk = self.__keys__
+        self.__keys__ = self.__keys_ext__
+        try:
+            ret = super(StructureWithBitfields, self).dump_dict()
+        finally:
+            self.__keys__ = tk
+        return ret
+
+    def _unpack_bitfield_attributes(self):
+        """Replace compound attributes corresponding to bitfields with separate
+        sub-fields.
+        """
+        for i in self.__compound_fields__.keys():
+            cf_name = self.__keys__[i][0]
+            cval = getattr(self, cf_name)
+            delattr(self, cf_name)
+            offst = 0
+            for sf in self.__compound_fields__[i][StructureWithBitfields.CF_SUBFLD_IDX]:
+                mask = (1 << sf[StructureWithBitfields.BTF_BITCNT_IDX]) - 1
+                mask <<= offst
+                setattr(
+                    self,
+                    sf[StructureWithBitfields.BTF_NAME_IDX],
+                    (cval & mask) >> offst,
+                )
+                offst += sf[StructureWithBitfields.BTF_BITCNT_IDX]
+
+    def _pack_bitfield_attributes(self):
+        """Pack attributes into a compound bitfield"""
+        for i in self.__compound_fields__.keys():
+            cf_name = self.__keys__[i][0]
+            offst, acc_val = 0, 0
+            for sf in self.__compound_fields__[i][StructureWithBitfields.CF_SUBFLD_IDX]:
+                mask = (1 << sf[StructureWithBitfields.BTF_BITCNT_IDX]) - 1
+                field_val = (
+                    getattr(self, sf[StructureWithBitfields.BTF_NAME_IDX]) & mask
+                )
+                acc_val |= field_val << offst
+                offst += sf[StructureWithBitfields.BTF_BITCNT_IDX]
+            setattr(self, cf_name, acc_val)
+
+
+class DataContainer:
+    """Generic data container."""
+
+    def __init__(self, **args):
+        bare_setattr = super(DataContainer, self).__setattr__
+        for key, value in args.items():
+            bare_setattr(key, value)
+
+
+class ImportDescData(DataContainer):
+    """Holds import descriptor information.
+
+    dll:        name of the imported DLL
+    imports:    list of imported symbols (ImportData instances)
+    struct:     IMAGE_IMPORT_DESCRIPTOR structure
+    """
+
+
+class ImportData(DataContainer):
+    """Holds imported symbol's information.
+
+    ordinal:    Ordinal of the symbol
+    name:       Name of the symbol
+    bound:      If the symbol is bound, this contains
+                the address.
+    """
+
+    def __setattr__(self, name, val):
+
+        # If the instance doesn't yet have an ordinal attribute
+        # it's not fully initialized so can't do any of the
+        # following
+        #
+        if (
+            hasattr(self, "ordinal")
+            and hasattr(self, "bound")
+            and hasattr(self, "name")
+        ):
+
+            if name == "ordinal":
+
+                if self.pe.PE_TYPE == OPTIONAL_HEADER_MAGIC_PE:
+                    ordinal_flag = IMAGE_ORDINAL_FLAG
+                elif self.pe.PE_TYPE == OPTIONAL_HEADER_MAGIC_PE_PLUS:
+                    ordinal_flag = IMAGE_ORDINAL_FLAG64
+
+                # Set the ordinal and flag the entry as importing by ordinal
+                self.struct_table.Ordinal = ordinal_flag | (val & 0xFFFF)
+                self.struct_table.AddressOfData = self.struct_table.Ordinal
+                self.struct_table.Function = self.struct_table.Ordinal
+                self.struct_table.ForwarderString = self.struct_table.Ordinal
+            elif name == "bound":
+                if self.struct_iat is not None:
+                    self.struct_iat.AddressOfData = val
+                    self.struct_iat.AddressOfData = self.struct_iat.AddressOfData
+                    self.struct_iat.Function = self.struct_iat.AddressOfData
+                    self.struct_iat.ForwarderString = self.struct_iat.AddressOfData
+            elif name == "address":
+                self.struct_table.AddressOfData = val
+                self.struct_table.Ordinal = self.struct_table.AddressOfData
+                self.struct_table.Function = self.struct_table.AddressOfData
+                self.struct_table.ForwarderString = self.struct_table.AddressOfData
+            elif name == "name":
+                # Make sure we reset the entry in case the import had been set to
+                # import by ordinal
+                if self.name_offset:
+
+                    name_rva = self.pe.get_rva_from_offset(self.name_offset)
+                    self.pe.set_dword_at_offset(
+                        self.ordinal_offset, (0 << 31) | name_rva
+                    )
+
+                    # Complain if the length of the new name is longer than the
+                    # existing one
+                    if len(val) > len(self.name):
+                        raise PEFormatError(
+                            "The export name provided is longer than the existing one."
+                        )
+                        pass
+                    self.pe.set_bytes_at_offset(self.name_offset, val)
+
+        self.__dict__[name] = val
+
+
+class ExportDirData(DataContainer):
+    """Holds export directory information.
+
+    struct:     IMAGE_EXPORT_DIRECTORY structure
+    symbols:    list of exported symbols (ExportData instances)"""
+
+
+class ExportData(DataContainer):
+    """Holds exported symbols' information.
+
+    ordinal:    ordinal of the symbol
+    address:    address of the symbol
+    name:       name of the symbol (None if the symbol is
+                exported by ordinal only)
+    forwarder:  if the symbol is forwarded it will
+                contain the name of the target symbol,
+                None otherwise.
+    """
+
+    def __setattr__(self, name, val):
+
+        # If the instance doesn't yet have an ordinal attribute
+        # it's not fully initialized so can't do any of the
+        # following
+        #
+        if (
+            hasattr(self, "ordinal")
+            and hasattr(self, "address")
+            and hasattr(self, "forwarder")
+            and hasattr(self, "name")
+        ):
+
+            if name == "ordinal":
+                self.pe.set_word_at_offset(self.ordinal_offset, val)
+            elif name == "address":
+                self.pe.set_dword_at_offset(self.address_offset, val)
+            elif name == "name":
+                # Complain if the length of the new name is longer than the
+                # existing one
+                if len(val) > len(self.name):
+                    raise PEFormatError(
+                        "The export name provided is longer than the existing one."
+                    )
+                self.pe.set_bytes_at_offset(self.name_offset, val)
+            elif name == "forwarder":
+                # Complain if the length of the new name is longer than the
+                # existing one
+                if len(val) > len(self.forwarder):
+                    raise PEFormatError(
+                        "The forwarder name provided is longer than the existing one."
+                    )
+                self.pe.set_bytes_at_offset(self.forwarder_offset, val)
+
+        self.__dict__[name] = val
+
+
+class ResourceDirData(DataContainer):
+    """Holds resource directory information.
+
+    struct:     IMAGE_RESOURCE_DIRECTORY structure
+    entries:    list of entries (ResourceDirEntryData instances)
+    """
+
+
+class ResourceDirEntryData(DataContainer):
+    """Holds resource directory entry data.
+
+    struct:     IMAGE_RESOURCE_DIRECTORY_ENTRY structure
+    name:       If the resource is identified by name this
+                attribute will contain the name string. None
+                otherwise. If identified by id, the id is
+                available at 'struct.Id'
+    id:         the id, also in struct.Id
+    directory:  If this entry has a lower level directory
+                this attribute will point to the
+                ResourceDirData instance representing it.
+    data:       If this entry has no further lower directories
+                and points to the actual resource data, this
+                attribute will reference the corresponding
+                ResourceDataEntryData instance.
+    (Either of the 'directory' or 'data' attribute will exist,
+    but not both.)
+    """
+
+
+class ResourceDataEntryData(DataContainer):
+    """Holds resource data entry information.
+
+    struct:     IMAGE_RESOURCE_DATA_ENTRY structure
+    lang:       Primary language ID
+    sublang:    Sublanguage ID
+    """
+
+
+class DebugData(DataContainer):
+    """Holds debug information.
+
+    struct:     IMAGE_DEBUG_DIRECTORY structure
+    entries:    list of entries (IMAGE_DEBUG_TYPE instances)
+    """
+
+
+class DynamicRelocationData(DataContainer):
+    """Holds dynamic relocation information.
+
+    struct:        IMAGE_DYNAMIC_RELOCATION structure
+    symbol:        Symbol to which dynamic relocations must be applied
+    relocations:   List of dynamic relocations for this symbol (BaseRelocationData instances)
+    """
+
+
+class BaseRelocationData(DataContainer):
+    """Holds base relocation information.
+
+    struct:     IMAGE_BASE_RELOCATION structure
+    entries:    list of relocation data (RelocationData instances)
+    """
+
+
+class RelocationData(DataContainer):
+    """Holds relocation information.
+
+    type:       Type of relocation
+                The type string can be obtained by
+                RELOCATION_TYPE[type]
+    rva:        RVA of the relocation
+    """
+
+    def __setattr__(self, name, val):
+
+        # If the instance doesn't yet have a struct attribute
+        # it's not fully initialized so can't do any of the
+        # following
+        #
+        if hasattr(self, "struct"):
+            # Get the word containing the type and data
+            #
+            word = self.struct.Data
+
+            if name == "type":
+                word = (val << 12) | (word & 0xFFF)
+            elif name == "rva":
+                offset = max(val - self.base_rva, 0)
+                word = (word & 0xF000) | (offset & 0xFFF)
+
+            # Store the modified data
+            #
+            self.struct.Data = word
+
+        self.__dict__[name] = val
+
+
+class TlsData(DataContainer):
+    """Holds TLS information.
+
+    struct:     IMAGE_TLS_DIRECTORY structure
+    """
+
+
+class BoundImportDescData(DataContainer):
+    """Holds bound import descriptor data.
+
+    This directory entry will provide information on the
+    DLLs this PE file has been bound to (if bound at all).
+    The structure will contain the name and timestamp of the
+    DLL at the time of binding so that the loader can know
+    whether it differs from the one currently present in the
+    system and must, therefore, re-bind the PE's imports.
+
+    struct:     IMAGE_BOUND_IMPORT_DESCRIPTOR structure
+    name:       DLL name
+    entries:    list of entries (BoundImportRefData instances)
+                the entries will exist if this DLL has forwarded
+                symbols. If so, the destination DLL will have an
+                entry in this list.
+    """
+
+
+class LoadConfigData(DataContainer):
+    """Holds Load Config data.
+
+    struct:     IMAGE_LOAD_CONFIG_DIRECTORY structure
+    name:       dll name
+    dynamic_relocations: dynamic relocation information, if present
+    """
+
+
+class BoundImportRefData(DataContainer):
+    """Holds bound import forwarder reference data.
+
+    Contains the same information as the bound descriptor but
+    for forwarded DLLs, if any.
+
+    struct:     IMAGE_BOUND_FORWARDER_REF structure
+    name:       dll name
+    """
+
+
+class ExceptionsDirEntryData(DataContainer):
+    """Holds the data related to SEH (and stack unwinding, in particular)
+
+    struct      an instance of RUNTIME_FUNTION
+    unwindinfo  an instance of UNWIND_INFO
+    """
+
+
+class UnwindInfo(StructureWithBitfields):
+    """Handles the complexities of UNWIND_INFO structure:
+    * variable number of UWIND_CODEs
+    * optional ExceptionHandler and FunctionEntry fields
+    """
+
+    def __init__(self, file_offset=0):
+        super(UnwindInfo, self).__init__(
+            (
+                "UNWIND_INFO",
+                (
+                    "B:3,Version",
+                    "B:5,Flags",
+                    "B,SizeOfProlog",
+                    "B,CountOfCodes",
+                    "B:4,FrameRegister",
+                    "B:4,FrameOffset",
+                ),
+            ),
+            file_offset=file_offset,
+        )
+        self._full_size = super(UnwindInfo, self).sizeof()
+        self._opt_field_name = None
+        self._code_info = StructureWithBitfields(
+            ("UNWIND_CODE", ("B,CodeOffset", "B:4,UnwindOp", "B:4,OpInfo")),
+            file_offset=0,
+        )
+        self._chained_entry = None
+        self._finished_unpacking = False
+
+    def unpack_in_stages(self, data):
+        """Unpacks the UNWIND_INFO "in two calls", with the first call establishing
+        a full size of the structure and the second, performing the actual unpacking.
+        """
+        if self._finished_unpacking:
+            return None
+
+        super(UnwindInfo, self).__unpack__(data)
+        codes_cnt_max = (self.CountOfCodes + 1) & ~1
+        hdlr_offset = (
+            super(UnwindInfo, self).sizeof() + codes_cnt_max * self._code_info.sizeof()
+        )
+        self._full_size = hdlr_offset + (
+            0 if self.Flags == 0 else STRUCT_SIZEOF_TYPES["I"]
+        )
+
+        if len(data) < self._full_size:
+            return None
+
+        if self.Version != 1 and self.Version != 2:
+            return "Unsupported version of UNWIND_INFO at " + hex(self.__file_offset__)
+
+        self.UnwindCodes = []
+        ro = super(UnwindInfo, self).sizeof()
+        codes_left = self.CountOfCodes
+        while codes_left > 0:
+            self._code_info.__unpack__(data[ro : ro + self._code_info.sizeof()])
+            ucode = PrologEpilogOpsFactory.create(self._code_info)
+            if ucode is None:
+                return "Unknown UNWIND_CODE at " + hex(self.__file_offset__ + ro)
+
+            len_in_codes = ucode.length_in_code_structures(self._code_info, self)
+            opc_size = self._code_info.sizeof() * len_in_codes
+            ucode.initialize(
+                self._code_info,
+                data[ro : ro + opc_size],
+                self,
+                self.__file_offset__ + ro,
+            )
+            ro += opc_size
+            codes_left -= len_in_codes
+            self.UnwindCodes.append(ucode)
+
+        if self.UNW_FLAG_EHANDLER or self.UNW_FLAG_UHANDLER:
+            self._opt_field_name = "ExceptionHandler"
+
+        if self.UNW_FLAG_CHAININFO:
+            self._opt_field_name = "FunctionEntry"
+
+        if self._opt_field_name != None:
+            setattr(
+                self,
+                self._opt_field_name,
+                struct.unpack(
+                    " self._full_size:
+                break
+            data[cur_offset : cur_offset + uc.struct.sizeof()] = uc.struct.__pack__()
+            cur_offset += uc.struct.sizeof()
+
+        if self._opt_field_name != None:
+            data[
+                self._full_size - STRUCT_SIZEOF_TYPES["I"] : self._full_size
+            ] = struct.pack("" if self.struct.OpInfo else "")
+
+
+class PrologEpilogOpEpilogMarker(PrologEpilogOp):
+    """UWOP_EPILOG"""
+
+    def initialize(self, unw_code, data, unw_info, file_offset):
+        self._long_offst = True
+        self._first = not hasattr(unw_info, "SizeOfEpilog")
+        super(PrologEpilogOpEpilogMarker, self).initialize(
+            unw_code, data, unw_info, file_offset
+        )
+        if self._first:
+            setattr(unw_info, "SizeOfEpilog", self.struct.Size)
+            self._long_offst = unw_code.OpInfo & 1 == 0
+        self._epilog_size = unw_info.SizeOfEpilog
+
+    def _get_format(self, unw_code):
+        # check if it is the first epilog code among encountered; then its record
+        # will contain size of the epilog
+        if self._first:
+            return (
+                "UNWIND_CODE_EPILOG",
+                ("B,OffsetLow,Size", "B:4,UnwindOp", "B:4,Flags")
+                if unw_code.OpInfo & 1 == 1
+                else (
+                    "B,Size",
+                    "B:4,UnwindOp",
+                    "B:4,Flags",
+                    "B,OffsetLow",
+                    "B:4,Unused",
+                    "B:4,OffsetHigh",
+                ),
+            )
+        else:
+            return (
+                "UNWIND_CODE_EPILOG",
+                ("B,OffsetLow", "B:4,UnwindOp", "B:4,OffsetHigh"),
+            )
+
+    def length_in_code_structures(self, unw_code, unw_info):
+        return (
+            2
+            if not hasattr(unw_info, "SizeOfEpilog") and (unw_code.OpInfo & 1) == 0
+            else 1
+        )
+
+    def get_offset(self):
+        return self.struct.OffsetLow | (
+            self.struct.OffsetHigh << 8 if self._long_offst else 0
+        )
+
+    def is_valid(self):
+        return self.get_offset() > 0
+
+    def __str__(self):
+        # the EPILOG sequence may have a terminating all-zeros entry
+        return (
+            "EPILOG: size="
+            + hex(self._epilog_size)
+            + ", offset from the end=-"
+            + hex(self.get_offset())
+            if self.get_offset() > 0
+            else ""
+        )
+
+
+class PrologEpilogOpsFactory:
+    """A factory for creating unwind codes based on the value of UnwindOp"""
+
+    _class_dict = {
+        UWOP_PUSH_NONVOL: PrologEpilogOpPushReg,
+        UWOP_ALLOC_LARGE: PrologEpilogOpAllocLarge,
+        UWOP_ALLOC_SMALL: PrologEpilogOpAllocSmall,
+        UWOP_SET_FPREG: PrologEpilogOpSetFP,
+        UWOP_SAVE_NONVOL: PrologEpilogOpSaveReg,
+        UWOP_SAVE_NONVOL_FAR: PrologEpilogOpSaveRegFar,
+        UWOP_SAVE_XMM128: PrologEpilogOpSaveXMM,
+        UWOP_SAVE_XMM128_FAR: PrologEpilogOpSaveXMMFar,
+        UWOP_PUSH_MACHFRAME: PrologEpilogOpPushFrame,
+        UWOP_EPILOG: PrologEpilogOpEpilogMarker,
+    }
+
+    @staticmethod
+    def create(unwcode):
+        code = unwcode.UnwindOp
+        return (
+            PrologEpilogOpsFactory._class_dict[code]()
+            if code in PrologEpilogOpsFactory._class_dict
+            else None
+        )
+
+
+# Valid FAT32 8.3 short filename characters according to:
+#  http://en.wikipedia.org/wiki/8.3_filename
+# This will help decide whether DLL ASCII names are likely
+# to be valid or otherwise corrupt data
+#
+# The filename length is not checked because the DLLs filename
+# can be longer that the 8.3
+
+allowed_filename = b(
+    string.ascii_lowercase
+    + string.ascii_uppercase
+    + string.digits
+    + "!#$%&'()-@^_`{}~+,.;=[]"
+)
+
+
+def is_valid_dos_filename(s):
+    if s is None or not isinstance(s, (str, bytes, bytearray)):
+        return False
+    # Allow path separators as import names can contain directories.
+    allowed = allowed_filename + b"\\/"
+    return all(c in allowed for c in set(s))
+
+
+# Check if an imported name uses the valid accepted characters expected in
+# mangled function names. If the symbol's characters don't fall within this
+# charset we will assume the name is invalid.
+# The dot "." character comes from: https://github.com/erocarrera/pefile/pull/346
+# All other symbols can be inserted by adding a name with that symbol to a .def file,
+# and passing it to link.exe (See export_test.py)
+allowed_function_name = b(
+    string.ascii_lowercase + string.ascii_uppercase + string.digits
+)
+
+
+@lru_cache(maxsize=2048)
+def is_valid_function_name(
+    s: Union[str, bytes, bytearray], relax_allowed_characters: bool = False
+) -> bool:
+    allowed_extra = b"._?@$()<>"
+    if relax_allowed_characters:
+        allowed_extra = b"!\"#$%&'()*+,-./:<>?[\\]^_`{|}~@"
+    return (
+        s is not None
+        and isinstance(s, (str, bytes, bytearray))
+        and all((c in allowed_function_name or c in allowed_extra) for c in set(s))
+    )
+
+
+class PE:
+    """A Portable Executable representation.
+
+    This class provides access to most of the information in a PE file.
+
+    It expects to be supplied the name of the file to load or PE data
+    to process and an optional argument 'fast_load' (False by default)
+    which controls whether to load all the directories information,
+    which can be quite time consuming.
+
+    pe = pefile.PE('module.dll')
+    pe = pefile.PE(name='module.dll')
+
+    would load 'module.dll' and process it. If the data is already
+    available in a buffer the same can be achieved with:
+
+    pe = pefile.PE(data=module_dll_data)
+
+    The "fast_load" can be set to a default by setting its value in the
+    module itself by means, for instance, of a "pefile.fast_load = True".
+    That will make all the subsequent instances not to load the
+    whole PE structure. The "full_load" method can be used to parse
+    the missing data at a later stage.
+
+    Basic headers information will be available in the attributes:
+
+    DOS_HEADER
+    NT_HEADERS
+    FILE_HEADER
+    OPTIONAL_HEADER
+
+    All of them will contain among their attributes the members of the
+    corresponding structures as defined in WINNT.H
+
+    The raw data corresponding to the header (from the beginning of the
+    file up to the start of the first section) will be available in the
+    instance's attribute 'header' as a string.
+
+    The sections will be available as a list in the 'sections' attribute.
+    Each entry will contain as attributes all the structure's members.
+
+    Directory entries will be available as attributes (if they exist):
+    (no other entries are processed at this point)
+
+    DIRECTORY_ENTRY_IMPORT (list of ImportDescData instances)
+    DIRECTORY_ENTRY_EXPORT (ExportDirData instance)
+    DIRECTORY_ENTRY_RESOURCE (ResourceDirData instance)
+    DIRECTORY_ENTRY_DEBUG (list of DebugData instances)
+    DIRECTORY_ENTRY_BASERELOC (list of BaseRelocationData instances)
+    DIRECTORY_ENTRY_TLS
+    DIRECTORY_ENTRY_BOUND_IMPORT (list of BoundImportData instances)
+
+    The following dictionary attributes provide ways of mapping different
+    constants. They will accept the numeric value and return the string
+    representation and the opposite, feed in the string and get the
+    numeric constant:
+
+    DIRECTORY_ENTRY
+    IMAGE_CHARACTERISTICS
+    SECTION_CHARACTERISTICS
+    DEBUG_TYPE
+    SUBSYSTEM_TYPE
+    MACHINE_TYPE
+    RELOCATION_TYPE
+    RESOURCE_TYPE
+    LANG
+    SUBLANG
+    """
+
+    #
+    # Format specifications for PE structures.
+    #
+
+    __IMAGE_DOS_HEADER_format__ = (
+        "IMAGE_DOS_HEADER",
+        (
+            "H,e_magic",
+            "H,e_cblp",
+            "H,e_cp",
+            "H,e_crlc",
+            "H,e_cparhdr",
+            "H,e_minalloc",
+            "H,e_maxalloc",
+            "H,e_ss",
+            "H,e_sp",
+            "H,e_csum",
+            "H,e_ip",
+            "H,e_cs",
+            "H,e_lfarlc",
+            "H,e_ovno",
+            "8s,e_res",
+            "H,e_oemid",
+            "H,e_oeminfo",
+            "20s,e_res2",
+            "I,e_lfanew",
+        ),
+    )
+
+    __IMAGE_FILE_HEADER_format__ = (
+        "IMAGE_FILE_HEADER",
+        (
+            "H,Machine",
+            "H,NumberOfSections",
+            "I,TimeDateStamp",
+            "I,PointerToSymbolTable",
+            "I,NumberOfSymbols",
+            "H,SizeOfOptionalHeader",
+            "H,Characteristics",
+        ),
+    )
+
+    __IMAGE_DATA_DIRECTORY_format__ = (
+        "IMAGE_DATA_DIRECTORY",
+        ("I,VirtualAddress", "I,Size"),
+    )
+
+    __IMAGE_OPTIONAL_HEADER_format__ = (
+        "IMAGE_OPTIONAL_HEADER",
+        (
+            "H,Magic",
+            "B,MajorLinkerVersion",
+            "B,MinorLinkerVersion",
+            "I,SizeOfCode",
+            "I,SizeOfInitializedData",
+            "I,SizeOfUninitializedData",
+            "I,AddressOfEntryPoint",
+            "I,BaseOfCode",
+            "I,BaseOfData",
+            "I,ImageBase",
+            "I,SectionAlignment",
+            "I,FileAlignment",
+            "H,MajorOperatingSystemVersion",
+            "H,MinorOperatingSystemVersion",
+            "H,MajorImageVersion",
+            "H,MinorImageVersion",
+            "H,MajorSubsystemVersion",
+            "H,MinorSubsystemVersion",
+            "I,Reserved1",
+            "I,SizeOfImage",
+            "I,SizeOfHeaders",
+            "I,CheckSum",
+            "H,Subsystem",
+            "H,DllCharacteristics",
+            "I,SizeOfStackReserve",
+            "I,SizeOfStackCommit",
+            "I,SizeOfHeapReserve",
+            "I,SizeOfHeapCommit",
+            "I,LoaderFlags",
+            "I,NumberOfRvaAndSizes",
+        ),
+    )
+
+    __IMAGE_OPTIONAL_HEADER64_format__ = (
+        "IMAGE_OPTIONAL_HEADER64",
+        (
+            "H,Magic",
+            "B,MajorLinkerVersion",
+            "B,MinorLinkerVersion",
+            "I,SizeOfCode",
+            "I,SizeOfInitializedData",
+            "I,SizeOfUninitializedData",
+            "I,AddressOfEntryPoint",
+            "I,BaseOfCode",
+            "Q,ImageBase",
+            "I,SectionAlignment",
+            "I,FileAlignment",
+            "H,MajorOperatingSystemVersion",
+            "H,MinorOperatingSystemVersion",
+            "H,MajorImageVersion",
+            "H,MinorImageVersion",
+            "H,MajorSubsystemVersion",
+            "H,MinorSubsystemVersion",
+            "I,Reserved1",
+            "I,SizeOfImage",
+            "I,SizeOfHeaders",
+            "I,CheckSum",
+            "H,Subsystem",
+            "H,DllCharacteristics",
+            "Q,SizeOfStackReserve",
+            "Q,SizeOfStackCommit",
+            "Q,SizeOfHeapReserve",
+            "Q,SizeOfHeapCommit",
+            "I,LoaderFlags",
+            "I,NumberOfRvaAndSizes",
+        ),
+    )
+
+    __IMAGE_NT_HEADERS_format__ = ("IMAGE_NT_HEADERS", ("I,Signature",))
+
+    __IMAGE_SECTION_HEADER_format__ = (
+        "IMAGE_SECTION_HEADER",
+        (
+            "8s,Name",
+            "I,Misc,Misc_PhysicalAddress,Misc_VirtualSize",
+            "I,VirtualAddress",
+            "I,SizeOfRawData",
+            "I,PointerToRawData",
+            "I,PointerToRelocations",
+            "I,PointerToLinenumbers",
+            "H,NumberOfRelocations",
+            "H,NumberOfLinenumbers",
+            "I,Characteristics",
+        ),
+    )
+
+    __IMAGE_DELAY_IMPORT_DESCRIPTOR_format__ = (
+        "IMAGE_DELAY_IMPORT_DESCRIPTOR",
+        (
+            "I,grAttrs",
+            "I,szName",
+            "I,phmod",
+            "I,pIAT",
+            "I,pINT",
+            "I,pBoundIAT",
+            "I,pUnloadIAT",
+            "I,dwTimeStamp",
+        ),
+    )
+
+    __IMAGE_IMPORT_DESCRIPTOR_format__ = (
+        "IMAGE_IMPORT_DESCRIPTOR",
+        (
+            "I,OriginalFirstThunk,Characteristics",
+            "I,TimeDateStamp",
+            "I,ForwarderChain",
+            "I,Name",
+            "I,FirstThunk",
+        ),
+    )
+
+    __IMAGE_EXPORT_DIRECTORY_format__ = (
+        "IMAGE_EXPORT_DIRECTORY",
+        (
+            "I,Characteristics",
+            "I,TimeDateStamp",
+            "H,MajorVersion",
+            "H,MinorVersion",
+            "I,Name",
+            "I,Base",
+            "I,NumberOfFunctions",
+            "I,NumberOfNames",
+            "I,AddressOfFunctions",
+            "I,AddressOfNames",
+            "I,AddressOfNameOrdinals",
+        ),
+    )
+
+    __IMAGE_RESOURCE_DIRECTORY_format__ = (
+        "IMAGE_RESOURCE_DIRECTORY",
+        (
+            "I,Characteristics",
+            "I,TimeDateStamp",
+            "H,MajorVersion",
+            "H,MinorVersion",
+            "H,NumberOfNamedEntries",
+            "H,NumberOfIdEntries",
+        ),
+    )
+
+    __IMAGE_RESOURCE_DIRECTORY_ENTRY_format__ = (
+        "IMAGE_RESOURCE_DIRECTORY_ENTRY",
+        ("I,Name", "I,OffsetToData"),
+    )
+
+    __IMAGE_RESOURCE_DATA_ENTRY_format__ = (
+        "IMAGE_RESOURCE_DATA_ENTRY",
+        ("I,OffsetToData", "I,Size", "I,CodePage", "I,Reserved"),
+    )
+
+    __VS_VERSIONINFO_format__ = (
+        "VS_VERSIONINFO",
+        ("H,Length", "H,ValueLength", "H,Type"),
+    )
+
+    __VS_FIXEDFILEINFO_format__ = (
+        "VS_FIXEDFILEINFO",
+        (
+            "I,Signature",
+            "I,StrucVersion",
+            "I,FileVersionMS",
+            "I,FileVersionLS",
+            "I,ProductVersionMS",
+            "I,ProductVersionLS",
+            "I,FileFlagsMask",
+            "I,FileFlags",
+            "I,FileOS",
+            "I,FileType",
+            "I,FileSubtype",
+            "I,FileDateMS",
+            "I,FileDateLS",
+        ),
+    )
+
+    __StringFileInfo_format__ = (
+        "StringFileInfo",
+        ("H,Length", "H,ValueLength", "H,Type"),
+    )
+
+    __StringTable_format__ = ("StringTable", ("H,Length", "H,ValueLength", "H,Type"))
+
+    __String_format__ = ("String", ("H,Length", "H,ValueLength", "H,Type"))
+
+    __Var_format__ = ("Var", ("H,Length", "H,ValueLength", "H,Type"))
+
+    __IMAGE_THUNK_DATA_format__ = (
+        "IMAGE_THUNK_DATA",
+        ("I,ForwarderString,Function,Ordinal,AddressOfData",),
+    )
+
+    __IMAGE_THUNK_DATA64_format__ = (
+        "IMAGE_THUNK_DATA",
+        ("Q,ForwarderString,Function,Ordinal,AddressOfData",),
+    )
+
+    __IMAGE_DEBUG_DIRECTORY_format__ = (
+        "IMAGE_DEBUG_DIRECTORY",
+        (
+            "I,Characteristics",
+            "I,TimeDateStamp",
+            "H,MajorVersion",
+            "H,MinorVersion",
+            "I,Type",
+            "I,SizeOfData",
+            "I,AddressOfRawData",
+            "I,PointerToRawData",
+        ),
+    )
+
+    __IMAGE_BASE_RELOCATION_format__ = (
+        "IMAGE_BASE_RELOCATION",
+        ("I,VirtualAddress", "I,SizeOfBlock"),
+    )
+
+    __IMAGE_BASE_RELOCATION_ENTRY_format__ = (
+        "IMAGE_BASE_RELOCATION_ENTRY",
+        ("H,Data",),
+    )
+
+    __IMAGE_IMPORT_CONTROL_TRANSFER_DYNAMIC_RELOCATION_format__ = (
+        "IMAGE_IMPORT_CONTROL_TRANSFER_DYNAMIC_RELOCATION",
+        ("I:12,PageRelativeOffset", "I:1,IndirectCall", "I:19,IATIndex"),
+    )
+
+    __IMAGE_INDIR_CONTROL_TRANSFER_DYNAMIC_RELOCATION_format__ = (
+        "IMAGE_INDIR_CONTROL_TRANSFER_DYNAMIC_RELOCATION",
+        (
+            "I:12,PageRelativeOffset",
+            "I:1,IndirectCall",
+            "I:1,RexWPrefix",
+            "I:1,CfgCheck",
+            "I:1,Reserved",
+        ),
+    )
+
+    __IMAGE_SWITCHTABLE_BRANCH_DYNAMIC_RELOCATION_format__ = (
+        "IMAGE_SWITCHTABLE_BRANCH_DYNAMIC_RELOCATION",
+        ("I:12,PageRelativeOffset", "I:4,RegisterNumber"),
+    )
+
+    __IMAGE_TLS_DIRECTORY_format__ = (
+        "IMAGE_TLS_DIRECTORY",
+        (
+            "I,StartAddressOfRawData",
+            "I,EndAddressOfRawData",
+            "I,AddressOfIndex",
+            "I,AddressOfCallBacks",
+            "I,SizeOfZeroFill",
+            "I,Characteristics",
+        ),
+    )
+
+    __IMAGE_TLS_DIRECTORY64_format__ = (
+        "IMAGE_TLS_DIRECTORY",
+        (
+            "Q,StartAddressOfRawData",
+            "Q,EndAddressOfRawData",
+            "Q,AddressOfIndex",
+            "Q,AddressOfCallBacks",
+            "I,SizeOfZeroFill",
+            "I,Characteristics",
+        ),
+    )
+
+    __IMAGE_LOAD_CONFIG_DIRECTORY_format__ = (
+        "IMAGE_LOAD_CONFIG_DIRECTORY",
+        (
+            "I,Size",
+            "I,TimeDateStamp",
+            "H,MajorVersion",
+            "H,MinorVersion",
+            "I,GlobalFlagsClear",
+            "I,GlobalFlagsSet",
+            "I,CriticalSectionDefaultTimeout",
+            "I,DeCommitFreeBlockThreshold",
+            "I,DeCommitTotalFreeThreshold",
+            "I,LockPrefixTable",
+            "I,MaximumAllocationSize",
+            "I,VirtualMemoryThreshold",
+            "I,ProcessHeapFlags",
+            "I,ProcessAffinityMask",
+            "H,CSDVersion",
+            "H,Reserved1",
+            "I,EditList",
+            "I,SecurityCookie",
+            "I,SEHandlerTable",
+            "I,SEHandlerCount",
+            "I,GuardCFCheckFunctionPointer",
+            "I,GuardCFDispatchFunctionPointer",
+            "I,GuardCFFunctionTable",
+            "I,GuardCFFunctionCount",
+            "I,GuardFlags",
+            "H,CodeIntegrityFlags",
+            "H,CodeIntegrityCatalog",
+            "I,CodeIntegrityCatalogOffset",
+            "I,CodeIntegrityReserved",
+            "I,GuardAddressTakenIatEntryTable",
+            "I,GuardAddressTakenIatEntryCount",
+            "I,GuardLongJumpTargetTable",
+            "I,GuardLongJumpTargetCount",
+            "I,DynamicValueRelocTable",
+            "I,CHPEMetadataPointer",
+            "I,GuardRFFailureRoutine",
+            "I,GuardRFFailureRoutineFunctionPointer",
+            "I,DynamicValueRelocTableOffset",
+            "H,DynamicValueRelocTableSection",
+            "H,Reserved2",
+            "I,GuardRFVerifyStackPointerFunctionPointer" "I,HotPatchTableOffset",
+            "I,Reserved3",
+            "I,EnclaveConfigurationPointer",
+        ),
+    )
+
+    __IMAGE_LOAD_CONFIG_DIRECTORY64_format__ = (
+        "IMAGE_LOAD_CONFIG_DIRECTORY",
+        (
+            "I,Size",
+            "I,TimeDateStamp",
+            "H,MajorVersion",
+            "H,MinorVersion",
+            "I,GlobalFlagsClear",
+            "I,GlobalFlagsSet",
+            "I,CriticalSectionDefaultTimeout",
+            "Q,DeCommitFreeBlockThreshold",
+            "Q,DeCommitTotalFreeThreshold",
+            "Q,LockPrefixTable",
+            "Q,MaximumAllocationSize",
+            "Q,VirtualMemoryThreshold",
+            "Q,ProcessAffinityMask",
+            "I,ProcessHeapFlags",
+            "H,CSDVersion",
+            "H,Reserved1",
+            "Q,EditList",
+            "Q,SecurityCookie",
+            "Q,SEHandlerTable",
+            "Q,SEHandlerCount",
+            "Q,GuardCFCheckFunctionPointer",
+            "Q,GuardCFDispatchFunctionPointer",
+            "Q,GuardCFFunctionTable",
+            "Q,GuardCFFunctionCount",
+            "I,GuardFlags",
+            "H,CodeIntegrityFlags",
+            "H,CodeIntegrityCatalog",
+            "I,CodeIntegrityCatalogOffset",
+            "I,CodeIntegrityReserved",
+            "Q,GuardAddressTakenIatEntryTable",
+            "Q,GuardAddressTakenIatEntryCount",
+            "Q,GuardLongJumpTargetTable",
+            "Q,GuardLongJumpTargetCount",
+            "Q,DynamicValueRelocTable",
+            "Q,CHPEMetadataPointer",
+            "Q,GuardRFFailureRoutine",
+            "Q,GuardRFFailureRoutineFunctionPointer",
+            "I,DynamicValueRelocTableOffset",
+            "H,DynamicValueRelocTableSection",
+            "H,Reserved2",
+            "Q,GuardRFVerifyStackPointerFunctionPointer",
+            "I,HotPatchTableOffset",
+            "I,Reserved3",
+            "Q,EnclaveConfigurationPointer",
+        ),
+    )
+
+    __IMAGE_DYNAMIC_RELOCATION_TABLE_format__ = (
+        "IMAGE_DYNAMIC_RELOCATION_TABLE",
+        ("I,Version", "I,Size"),
+    )
+
+    __IMAGE_DYNAMIC_RELOCATION_format__ = (
+        "IMAGE_DYNAMIC_RELOCATION",
+        ("I,Symbol", "I,BaseRelocSize"),
+    )
+
+    __IMAGE_DYNAMIC_RELOCATION64_format__ = (
+        "IMAGE_DYNAMIC_RELOCATION64",
+        ("Q,Symbol", "I,BaseRelocSize"),
+    )
+
+    __IMAGE_DYNAMIC_RELOCATION_V2_format__ = (
+        "IMAGE_DYNAMIC_RELOCATION_V2",
+        ("I,HeaderSize", "I,FixupInfoSize", "I,Symbol", "I,SymbolGroup", "I,Flags"),
+    )
+
+    __IMAGE_DYNAMIC_RELOCATION64_V2_format__ = (
+        "IMAGE_DYNAMIC_RELOCATION64_V2",
+        ("I,HeaderSize", "I,FixupInfoSize", "Q,Symbol", "I,SymbolGroup", "I,Flags"),
+    )
+
+    __IMAGE_BOUND_IMPORT_DESCRIPTOR_format__ = (
+        "IMAGE_BOUND_IMPORT_DESCRIPTOR",
+        ("I,TimeDateStamp", "H,OffsetModuleName", "H,NumberOfModuleForwarderRefs"),
+    )
+
+    __IMAGE_BOUND_FORWARDER_REF_format__ = (
+        "IMAGE_BOUND_FORWARDER_REF",
+        ("I,TimeDateStamp", "H,OffsetModuleName", "H,Reserved"),
+    )
+
+    __RUNTIME_FUNCTION_format__ = (
+        "RUNTIME_FUNCTION",
+        ("I,BeginAddress", "I,EndAddress", "I,UnwindData"),
+    )
+
+    def __init__(
+        self,
+        name=None,
+        data=None,
+        fast_load=None,
+        max_symbol_exports=MAX_SYMBOL_EXPORT_COUNT,
+        max_repeated_symbol=120,
+    ):
+
+        self.max_symbol_exports = max_symbol_exports
+        self.max_repeated_symbol = max_repeated_symbol
+
+        self._get_section_by_rva_last_used = None
+
+        self.sections = []
+
+        self.__warnings = []
+
+        self.PE_TYPE = None
+
+        if name is None and data is None:
+            raise ValueError("Must supply either name or data")
+
+        # This list will keep track of all the structures created.
+        # That will allow for an easy iteration through the list
+        # in order to save the modifications made
+        self.__structures__ = []
+        self.__from_file = None
+
+        # We only want to print these warnings once
+        self.FileAlignment_Warning = False
+        self.SectionAlignment_Warning = False
+
+        # Count of total resource entries across nested tables
+        self.__total_resource_entries_count = 0
+        # Sum of the size of all resource entries parsed, which should not
+        # exceed the file size.
+        self.__total_resource_bytes = 0
+        # The number of imports parsed in this file
+        self.__total_import_symbols = 0
+
+        self.dynamic_relocation_format_by_symbol = {
+            3: PE.__IMAGE_IMPORT_CONTROL_TRANSFER_DYNAMIC_RELOCATION_format__,
+            4: PE.__IMAGE_INDIR_CONTROL_TRANSFER_DYNAMIC_RELOCATION_format__,
+            5: PE.__IMAGE_SWITCHTABLE_BRANCH_DYNAMIC_RELOCATION_format__,
+        }
+
+        fast_load = fast_load if fast_load is not None else globals()["fast_load"]
+        try:
+            self.__parse__(name, data, fast_load)
+        except:
+            self.close()
+            raise
+
+    def __enter__(self):
+        return self
+
+    def __exit__(self, type, value, traceback):
+        self.close()
+
+    def close(self):
+        if (
+            self.__from_file is True
+            and hasattr(self, "__data__")
+            and (
+                (isinstance(mmap.mmap, type) and isinstance(self.__data__, mmap.mmap))
+                or "mmap.mmap" in repr(type(self.__data__))
+            )
+        ):
+            self.__data__.close()
+            del self.__data__
+
+    def __unpack_data__(self, format, data, file_offset):
+        """Apply structure format to raw data.
+
+        Returns an unpacked structure object if successful, None otherwise.
+        """
+
+        structure = Structure(format, file_offset=file_offset)
+
+        try:
+            structure.__unpack__(data)
+        except PEFormatError as err:
+            self.__warnings.append(
+                'Corrupt header "{0}" at file offset {1}. Exception: {2}'.format(
+                    format[0], file_offset, err
+                )
+            )
+            return None
+
+        self.__structures__.append(structure)
+
+        return structure
+
+    def __unpack_data_with_bitfields__(self, format, data, file_offset):
+        """Apply structure format to raw data.
+
+        Returns an unpacked structure object if successful, None otherwise.
+        """
+
+        structure = StructureWithBitfields(format, file_offset=file_offset)
+
+        try:
+            structure.__unpack__(data)
+        except PEFormatError as err:
+            self.__warnings.append(
+                'Corrupt header "{0}" at file offset {1}. Exception: {2}'.format(
+                    format[0], file_offset, err
+                )
+            )
+            return None
+
+        self.__structures__.append(structure)
+
+        return structure
+
+    def __parse__(self, fname, data, fast_load):
+        """Parse a Portable Executable file.
+
+        Loads a PE file, parsing all its structures and making them available
+        through the instance's attributes.
+        """
+
+        if fname is not None:
+            stat = os.stat(fname)
+            if stat.st_size == 0:
+                raise PEFormatError("The file is empty")
+            fd = None
+            try:
+                fd = open(fname, "rb")
+                self.fileno = fd.fileno()
+                if hasattr(mmap, "MAP_PRIVATE"):
+                    # Unix
+                    self.__data__ = mmap.mmap(self.fileno, 0, mmap.MAP_PRIVATE)
+                else:
+                    # Windows
+                    self.__data__ = mmap.mmap(self.fileno, 0, access=mmap.ACCESS_READ)
+                self.__from_file = True
+            except IOError as excp:
+                exception_msg = "{0}".format(excp)
+                exception_msg = exception_msg and (": %s" % exception_msg)
+                raise Exception(
+                    "Unable to access file '{0}'{1}".format(fname, exception_msg)
+                )
+            finally:
+                if fd is not None:
+                    fd.close()
+        elif data is not None:
+            self.__data__ = data
+            self.__from_file = False
+
+        # Resources should not overlap each other, so they should not exceed the
+        # file size.
+        self.__resource_size_limit_upperbounds = len(self.__data__)
+        self.__resource_size_limit_reached = False
+
+        if not fast_load:
+            for byte, byte_count in Counter(bytearray(self.__data__)).items():
+                # Only report the cases where a byte makes up for more than 50% (if
+                # zero) or 15% (if non-zero) of the file's contents. There are
+                # legitimate PEs where 0x00 bytes are close to 50% of the whole
+                # file's contents.
+                if (byte == 0 and byte_count / len(self.__data__) > 0.5) or (
+                    byte != 0 and byte_count / len(self.__data__) > 0.15
+                ):
+                    self.__warnings.append(
+                        (
+                            "Byte 0x{0:02x} makes up {1:.4f}% of the file's contents."
+                            " This may indicate truncation / malformation."
+                        ).format(byte, 100.0 * byte_count / len(self.__data__))
+                    )
+
+        dos_header_data = self.__data__[:64]
+        if len(dos_header_data) != 64:
+            raise PEFormatError(
+                "Unable to read the DOS Header, possibly a truncated file."
+            )
+
+        self.DOS_HEADER = self.__unpack_data__(
+            self.__IMAGE_DOS_HEADER_format__, dos_header_data, file_offset=0
+        )
+
+        if self.DOS_HEADER.e_magic == IMAGE_DOSZM_SIGNATURE:
+            raise PEFormatError("Probably a ZM Executable (not a PE file).")
+        if not self.DOS_HEADER or self.DOS_HEADER.e_magic != IMAGE_DOS_SIGNATURE:
+            raise PEFormatError("DOS Header magic not found.")
+
+        # OC Patch:
+        # Check for sane value in e_lfanew
+        #
+        if self.DOS_HEADER.e_lfanew > len(self.__data__):
+            raise PEFormatError("Invalid e_lfanew value, probably not a PE file")
+
+        nt_headers_offset = self.DOS_HEADER.e_lfanew
+
+        self.NT_HEADERS = self.__unpack_data__(
+            self.__IMAGE_NT_HEADERS_format__,
+            self.__data__[nt_headers_offset : nt_headers_offset + 8],
+            file_offset=nt_headers_offset,
+        )
+
+        # We better check the signature right here, before the file screws
+        # around with sections:
+        # OC Patch:
+        # Some malware will cause the Signature value to not exist at all
+        if not self.NT_HEADERS or not self.NT_HEADERS.Signature:
+            raise PEFormatError("NT Headers not found.")
+
+        if (0xFFFF & self.NT_HEADERS.Signature) == IMAGE_NE_SIGNATURE:
+            raise PEFormatError("Invalid NT Headers signature. Probably a NE file")
+        if (0xFFFF & self.NT_HEADERS.Signature) == IMAGE_LE_SIGNATURE:
+            raise PEFormatError("Invalid NT Headers signature. Probably a LE file")
+        if (0xFFFF & self.NT_HEADERS.Signature) == IMAGE_LX_SIGNATURE:
+            raise PEFormatError("Invalid NT Headers signature. Probably a LX file")
+        if (0xFFFF & self.NT_HEADERS.Signature) == IMAGE_TE_SIGNATURE:
+            raise PEFormatError("Invalid NT Headers signature. Probably a TE file")
+        if self.NT_HEADERS.Signature != IMAGE_NT_SIGNATURE:
+            raise PEFormatError("Invalid NT Headers signature.")
+
+        self.FILE_HEADER = self.__unpack_data__(
+            self.__IMAGE_FILE_HEADER_format__,
+            self.__data__[nt_headers_offset + 4 : nt_headers_offset + 4 + 32],
+            file_offset=nt_headers_offset + 4,
+        )
+        image_flags = retrieve_flags(IMAGE_CHARACTERISTICS, "IMAGE_FILE_")
+
+        if not self.FILE_HEADER:
+            raise PEFormatError("File Header missing")
+
+        # Set the image's flags according the the Characteristics member
+        set_flags(self.FILE_HEADER, self.FILE_HEADER.Characteristics, image_flags)
+
+        optional_header_offset = nt_headers_offset + 4 + self.FILE_HEADER.sizeof()
+
+        # Note: location of sections can be controlled from PE header:
+        sections_offset = optional_header_offset + self.FILE_HEADER.SizeOfOptionalHeader
+
+        self.OPTIONAL_HEADER = self.__unpack_data__(
+            self.__IMAGE_OPTIONAL_HEADER_format__,
+            # Read up to 256 bytes to allow creating a copy of too much data
+            self.__data__[optional_header_offset : optional_header_offset + 256],
+            file_offset=optional_header_offset,
+        )
+
+        # According to solardesigner's findings for his
+        # Tiny PE project, the optional header does not
+        # need fields beyond "Subsystem" in order to be
+        # loadable by the Windows loader (given that zeros
+        # are acceptable values and the header is loaded
+        # in a zeroed memory page)
+        # If trying to parse a full Optional Header fails
+        # we try to parse it again with some 0 padding
+        #
+        MINIMUM_VALID_OPTIONAL_HEADER_RAW_SIZE = 69
+
+        if (
+            self.OPTIONAL_HEADER is None
+            and len(
+                self.__data__[optional_header_offset : optional_header_offset + 0x200]
+            )
+            >= MINIMUM_VALID_OPTIONAL_HEADER_RAW_SIZE
+        ):
+
+            # Add enough zeros to make up for the unused fields
+            #
+            padding_length = 128
+
+            # Create padding
+            #
+            padded_data = self.__data__[
+                optional_header_offset : optional_header_offset + 0x200
+            ] + (b"\0" * padding_length)
+
+            self.OPTIONAL_HEADER = self.__unpack_data__(
+                self.__IMAGE_OPTIONAL_HEADER_format__,
+                padded_data,
+                file_offset=optional_header_offset,
+            )
+
+        # Check the Magic in the OPTIONAL_HEADER and set the PE file
+        # type accordingly
+        #
+        if self.OPTIONAL_HEADER is not None:
+
+            if self.OPTIONAL_HEADER.Magic == OPTIONAL_HEADER_MAGIC_PE:
+
+                self.PE_TYPE = OPTIONAL_HEADER_MAGIC_PE
+
+            elif self.OPTIONAL_HEADER.Magic == OPTIONAL_HEADER_MAGIC_PE_PLUS:
+
+                self.PE_TYPE = OPTIONAL_HEADER_MAGIC_PE_PLUS
+
+                self.OPTIONAL_HEADER = self.__unpack_data__(
+                    self.__IMAGE_OPTIONAL_HEADER64_format__,
+                    self.__data__[
+                        optional_header_offset : optional_header_offset + 0x200
+                    ],
+                    file_offset=optional_header_offset,
+                )
+
+                # Again, as explained above, we try to parse
+                # a reduced form of the Optional Header which
+                # is still valid despite not including all
+                # structure members
+                #
+                MINIMUM_VALID_OPTIONAL_HEADER_RAW_SIZE = 69 + 4
+
+                if (
+                    self.OPTIONAL_HEADER is None
+                    and len(
+                        self.__data__[
+                            optional_header_offset : optional_header_offset + 0x200
+                        ]
+                    )
+                    >= MINIMUM_VALID_OPTIONAL_HEADER_RAW_SIZE
+                ):
+
+                    padding_length = 128
+                    padded_data = self.__data__[
+                        optional_header_offset : optional_header_offset + 0x200
+                    ] + (b"\0" * padding_length)
+                    self.OPTIONAL_HEADER = self.__unpack_data__(
+                        self.__IMAGE_OPTIONAL_HEADER64_format__,
+                        padded_data,
+                        file_offset=optional_header_offset,
+                    )
+
+        if not self.FILE_HEADER:
+            raise PEFormatError("File Header missing")
+
+        # OC Patch:
+        # Die gracefully if there is no OPTIONAL_HEADER field
+        # 975440f5ad5e2e4a92c4d9a5f22f75c1
+        if self.OPTIONAL_HEADER is None:
+            raise PEFormatError("No Optional Header found, invalid PE32 or PE32+ file.")
+        if self.PE_TYPE is None:
+            self.__warnings.append(
+                "Invalid type 0x{0:04x} in Optional Header.".format(
+                    self.OPTIONAL_HEADER.Magic
+                )
+            )
+
+        dll_characteristics_flags = retrieve_flags(
+            DLL_CHARACTERISTICS, "IMAGE_DLLCHARACTERISTICS_"
+        )
+
+        # Set the Dll Characteristics flags according the the DllCharacteristics member
+        set_flags(
+            self.OPTIONAL_HEADER,
+            self.OPTIONAL_HEADER.DllCharacteristics,
+            dll_characteristics_flags,
+        )
+
+        self.OPTIONAL_HEADER.DATA_DIRECTORY = []
+        # offset = (optional_header_offset + self.FILE_HEADER.SizeOfOptionalHeader)
+        offset = optional_header_offset + self.OPTIONAL_HEADER.sizeof()
+
+        self.NT_HEADERS.FILE_HEADER = self.FILE_HEADER
+        self.NT_HEADERS.OPTIONAL_HEADER = self.OPTIONAL_HEADER
+
+        # Windows 8 specific check
+        #
+        if (
+            self.OPTIONAL_HEADER.AddressOfEntryPoint
+            < self.OPTIONAL_HEADER.SizeOfHeaders
+        ):
+            self.__warnings.append(
+                "SizeOfHeaders is smaller than AddressOfEntryPoint: this file "
+                "cannot run under Windows 8."
+            )
+
+        # The NumberOfRvaAndSizes is sanitized to stay within
+        # reasonable limits so can be casted to an int
+        #
+        if self.OPTIONAL_HEADER.NumberOfRvaAndSizes > 0x10:
+            self.__warnings.append(
+                "Suspicious NumberOfRvaAndSizes in the Optional Header. "
+                "Normal values are never larger than 0x10, the value is: 0x%x"
+                % self.OPTIONAL_HEADER.NumberOfRvaAndSizes
+            )
+
+        MAX_ASSUMED_VALID_NUMBER_OF_RVA_AND_SIZES = 0x100
+        for i in range(int(0x7FFFFFFF & self.OPTIONAL_HEADER.NumberOfRvaAndSizes)):
+
+            if len(self.__data__) - offset == 0:
+                break
+
+            if len(self.__data__) - offset < 8:
+                data = self.__data__[offset:] + b"\0" * 8
+            else:
+                data = self.__data__[
+                    offset : offset + MAX_ASSUMED_VALID_NUMBER_OF_RVA_AND_SIZES
+                ]
+
+            dir_entry = self.__unpack_data__(
+                self.__IMAGE_DATA_DIRECTORY_format__, data, file_offset=offset
+            )
+
+            if dir_entry is None:
+                break
+
+            # Would fail if missing an entry
+            # 1d4937b2fa4d84ad1bce0309857e70ca offending sample
+            try:
+                dir_entry.name = DIRECTORY_ENTRY[i]
+            except (KeyError, AttributeError):
+                break
+
+            offset += dir_entry.sizeof()
+
+            self.OPTIONAL_HEADER.DATA_DIRECTORY.append(dir_entry)
+
+            # If the offset goes outside the optional header,
+            # the loop is broken, regardless of how many directories
+            # NumberOfRvaAndSizes says there are
+            #
+            # We assume a normally sized optional header, hence that we do
+            # a sizeof() instead of reading SizeOfOptionalHeader.
+            # Then we add a default number of directories times their size,
+            # if we go beyond that, we assume the number of directories
+            # is wrong and stop processing
+            if offset >= (
+                optional_header_offset + self.OPTIONAL_HEADER.sizeof() + 8 * 16
+            ):
+
+                break
+
+        offset = self.parse_sections(sections_offset)
+
+        # OC Patch:
+        # There could be a problem if there are no raw data sections
+        # greater than 0
+        # fc91013eb72529da005110a3403541b6 example
+        # Should this throw an exception in the minimum header offset
+        # can't be found?
+        #
+        rawDataPointers = [
+            self.adjust_FileAlignment(
+                s.PointerToRawData, self.OPTIONAL_HEADER.FileAlignment
+            )
+            for s in self.sections
+            if s.PointerToRawData > 0
+        ]
+
+        if len(rawDataPointers) > 0:
+            lowest_section_offset = min(rawDataPointers)
+        else:
+            lowest_section_offset = None
+
+        if not lowest_section_offset or lowest_section_offset < offset:
+            self.header = self.__data__[:offset]
+        else:
+            self.header = self.__data__[:lowest_section_offset]
+
+        # Check whether the entry point lies within a section
+        #
+        if (
+            self.get_section_by_rva(self.OPTIONAL_HEADER.AddressOfEntryPoint)
+            is not None
+        ):
+
+            # Check whether the entry point lies within the file
+            #
+            ep_offset = self.get_offset_from_rva(
+                self.OPTIONAL_HEADER.AddressOfEntryPoint
+            )
+            if ep_offset > len(self.__data__):
+
+                self.__warnings.append(
+                    "Possibly corrupt file. AddressOfEntryPoint lies outside the"
+                    " file. AddressOfEntryPoint: 0x%x"
+                    % self.OPTIONAL_HEADER.AddressOfEntryPoint
+                )
+
+        else:
+
+            self.__warnings.append(
+                "AddressOfEntryPoint lies outside the sections' boundaries. "
+                "AddressOfEntryPoint: 0x%x" % self.OPTIONAL_HEADER.AddressOfEntryPoint
+            )
+
+        if not fast_load:
+            self.full_load()
+
+    def parse_rich_header(self):
+        """Parses the rich header
+        see http://www.ntcore.com/files/richsign.htm for more information
+
+        Structure:
+        00 DanS ^ checksum, checksum, checksum, checksum
+        10 Symbol RVA ^ checksum, Symbol size ^ checksum...
+        ...
+        XX Rich, checksum, 0, 0,...
+        """
+
+        # Rich Header constants
+        #
+        DANS = 0x536E6144  # 'DanS' as dword
+        RICH = 0x68636952  # 'Rich' as dword
+
+        rich_index = self.__data__.find(
+            b"Rich", 0x80, self.OPTIONAL_HEADER.get_file_offset()
+        )
+        if rich_index == -1:
+            return None
+
+        # Read a block of data
+        try:
+            # The end of the structure is 8 bytes after the start of the Rich
+            # string.
+            rich_data = self.__data__[0x80 : rich_index + 8]
+            # Make the data have length a multiple of 4, otherwise the
+            # subsequent parsing will fail. It's not impossible that we retrieve
+            # truncated data that it's not a multiple.
+            rich_data = rich_data[: 4 * int(len(rich_data) / 4)]
+            data = list(
+                struct.unpack("<{0}I".format(int(len(rich_data) / 4)), rich_data)
+            )
+            if RICH not in data:
+                return None
+        except PEFormatError:
+            return None
+
+        # get key, raw_data and clear_data
+        key = struct.pack("", warning)
+
+    def full_load(self):
+        """Process the data directories.
+
+        This method will load the data directories which might not have
+        been loaded if the "fast_load" option was used.
+        """
+
+        self.parse_data_directories()
+
+        class RichHeader:
+            pass
+
+        rich_header = self.parse_rich_header()
+        if rich_header:
+            self.RICH_HEADER = RichHeader()
+            self.RICH_HEADER.checksum = rich_header.get("checksum", None)
+            self.RICH_HEADER.values = rich_header.get("values", None)
+            self.RICH_HEADER.key = rich_header.get("key", None)
+            self.RICH_HEADER.raw_data = rich_header.get("raw_data", None)
+            self.RICH_HEADER.clear_data = rich_header.get("clear_data", None)
+        else:
+            self.RICH_HEADER = None
+
+    def write(self, filename=None):
+        """Write the PE file.
+
+        This function will process all headers and components
+        of the PE file and include all changes made (by just
+        assigning to attributes in the PE objects) and write
+        the changes back to a file whose name is provided as
+        an argument. The filename is optional, if not
+        provided the data will be returned as a 'str' object.
+        """
+
+        file_data = bytearray(self.__data__)
+
+        for structure in self.__structures__:
+            struct_data = bytearray(structure.__pack__())
+            offset = structure.get_file_offset()
+            file_data[offset : offset + len(struct_data)] = struct_data
+
+        if hasattr(self, "VS_VERSIONINFO"):
+            if hasattr(self, "FileInfo"):
+                for finfo in self.FileInfo:
+                    for entry in finfo:
+                        if hasattr(entry, "StringTable"):
+                            for st_entry in entry.StringTable:
+                                for key, entry in list(st_entry.entries.items()):
+
+                                    # Offsets and lengths of the keys and values.
+                                    # Each value in the dictionary is a tuple:
+                                    #  (key length, value length)
+                                    # The lengths are in characters, not in bytes.
+                                    offsets = st_entry.entries_offsets[key]
+                                    lengths = st_entry.entries_lengths[key]
+
+                                    if len(entry) > lengths[1]:
+                                        l = entry.decode("utf-8").encode("utf-16le")
+                                        file_data[
+                                            offsets[1] : offsets[1] + lengths[1] * 2
+                                        ] = l[: lengths[1] * 2]
+                                    else:
+                                        encoded_data = entry.decode("utf-8").encode(
+                                            "utf-16le"
+                                        )
+                                        file_data[
+                                            offsets[1] : offsets[1] + len(encoded_data)
+                                        ] = encoded_data
+
+        new_file_data = file_data
+        if not filename:
+            return new_file_data
+
+        f = open(filename, "wb+")
+        f.write(new_file_data)
+        f.close()
+        return
+
+    def parse_sections(self, offset):
+        """Fetch the PE file sections.
+
+        The sections will be readily available in the "sections" attribute.
+        Its attributes will contain all the section information plus "data"
+        a buffer containing the section's data.
+
+        The "Characteristics" member will be processed and attributes
+        representing the section characteristics (with the 'IMAGE_SCN_'
+        string trimmed from the constant's names) will be added to the
+        section instance.
+
+        Refer to the SectionStructure class for additional info.
+        """
+
+        self.sections = []
+        MAX_SIMULTANEOUS_ERRORS = 3
+        for i in range(self.FILE_HEADER.NumberOfSections):
+            if i >= MAX_SECTIONS:
+                self.__warnings.append(
+                    "Too many sections {0} (>={1})".format(
+                        self.FILE_HEADER.NumberOfSections, MAX_SECTIONS
+                    )
+                )
+                break
+            simultaneous_errors = 0
+            section = SectionStructure(self.__IMAGE_SECTION_HEADER_format__, pe=self)
+            if not section:
+                break
+            section_offset = offset + section.sizeof() * i
+            section.set_file_offset(section_offset)
+            section_data = self.__data__[
+                section_offset : section_offset + section.sizeof()
+            ]
+            # Check if the section is all nulls and stop if so.
+            if count_zeroes(section_data) == section.sizeof():
+                self.__warnings.append(f"Invalid section {i}. Contents are null-bytes.")
+                break
+            if not section_data:
+                self.__warnings.append(
+                    f"Invalid section {i}. No data in the file (is this corkami's "
+                    "virtsectblXP?)."
+                )
+                break
+            section.__unpack__(section_data)
+            self.__structures__.append(section)
+
+            if section.SizeOfRawData + section.PointerToRawData > len(self.__data__):
+                simultaneous_errors += 1
+                self.__warnings.append(
+                    f"Error parsing section {i}. SizeOfRawData is larger than file."
+                )
+
+            if self.adjust_FileAlignment(
+                section.PointerToRawData, self.OPTIONAL_HEADER.FileAlignment
+            ) > len(self.__data__):
+                simultaneous_errors += 1
+                self.__warnings.append(
+                    f"Error parsing section {i}. PointerToRawData points beyond "
+                    "the end of the file."
+                )
+
+            if section.Misc_VirtualSize > 0x10000000:
+                simultaneous_errors += 1
+                self.__warnings.append(
+                    f"Suspicious value found parsing section {i}. VirtualSize is "
+                    "extremely large > 256MiB."
+                )
+
+            if (
+                self.adjust_SectionAlignment(
+                    section.VirtualAddress,
+                    self.OPTIONAL_HEADER.SectionAlignment,
+                    self.OPTIONAL_HEADER.FileAlignment,
+                )
+                > 0x10000000
+            ):
+                simultaneous_errors += 1
+                self.__warnings.append(
+                    f"Suspicious value found parsing section {i}. VirtualAddress is "
+                    "beyond 0x10000000."
+                )
+
+            if (
+                self.OPTIONAL_HEADER.FileAlignment != 0
+                and (section.PointerToRawData % self.OPTIONAL_HEADER.FileAlignment) != 0
+            ):
+                simultaneous_errors += 1
+                self.__warnings.append(
+                    (
+                        f"Error parsing section {i}. "
+                        "PointerToRawData should normally be "
+                        "a multiple of FileAlignment, this might imply the file "
+                        "is trying to confuse tools which parse this incorrectly."
+                    )
+                )
+
+            if simultaneous_errors >= MAX_SIMULTANEOUS_ERRORS:
+                self.__warnings.append("Too many warnings parsing section. Aborting.")
+                break
+
+            section_flags = retrieve_flags(SECTION_CHARACTERISTICS, "IMAGE_SCN_")
+
+            # Set the section's flags according the the Characteristics member
+            set_flags(section, section.Characteristics, section_flags)
+
+            if section.__dict__.get(
+                "IMAGE_SCN_MEM_WRITE", False
+            ) and section.__dict__.get("IMAGE_SCN_MEM_EXECUTE", False):
+
+                if section.Name.rstrip(b"\x00") == b"PAGE" and self.is_driver():
+                    # Drivers can have a PAGE section with those flags set without
+                    # implying that it is malicious
+                    pass
+                else:
+                    self.__warnings.append(
+                        f"Suspicious flags set for section {i}. "
+                        "Both IMAGE_SCN_MEM_WRITE and IMAGE_SCN_MEM_EXECUTE are set. "
+                        "This might indicate a packed executable."
+                    )
+
+            self.sections.append(section)
+
+        # Sort the sections by their VirtualAddress and add a field to each of them
+        # with the VirtualAddress of the next section. This will allow to check
+        # for potentially overlapping sections in badly constructed PEs.
+        self.sections.sort(key=lambda a: a.VirtualAddress)
+        for idx, section in enumerate(self.sections):
+            if idx == len(self.sections) - 1:
+                section.next_section_virtual_address = None
+            else:
+                section.next_section_virtual_address = self.sections[
+                    idx + 1
+                ].VirtualAddress
+
+        if self.FILE_HEADER.NumberOfSections > 0 and self.sections:
+            return (
+                offset + self.sections[0].sizeof() * self.FILE_HEADER.NumberOfSections
+            )
+        else:
+            return offset
+
+    def parse_data_directories(
+        self, directories=None, forwarded_exports_only=False, import_dllnames_only=False
+    ):
+        """Parse and process the PE file's data directories.
+
+        If the optional argument 'directories' is given, only
+        the directories at the specified indexes will be parsed.
+        Such functionality allows parsing of areas of interest
+        without the burden of having to parse all others.
+        The directories can then be specified as:
+
+        For export / import only:
+
+          directories = [ 0, 1 ]
+
+        or (more verbosely):
+
+          directories = [ DIRECTORY_ENTRY['IMAGE_DIRECTORY_ENTRY_IMPORT'],
+            DIRECTORY_ENTRY['IMAGE_DIRECTORY_ENTRY_EXPORT'] ]
+
+        If 'directories' is a list, the ones that are processed will be removed,
+        leaving only the ones that are not present in the image.
+
+        If `forwarded_exports_only` is True, the IMAGE_DIRECTORY_ENTRY_EXPORT
+        attribute will only contain exports that are forwarded to another DLL.
+
+        If `import_dllnames_only` is True, symbols will not be parsed from
+        the import table and the entries in the IMAGE_DIRECTORY_ENTRY_IMPORT
+        attribute will not have a `symbols` attribute.
+        """
+
+        directory_parsing = (
+            ("IMAGE_DIRECTORY_ENTRY_IMPORT", self.parse_import_directory),
+            ("IMAGE_DIRECTORY_ENTRY_EXPORT", self.parse_export_directory),
+            ("IMAGE_DIRECTORY_ENTRY_RESOURCE", self.parse_resources_directory),
+            ("IMAGE_DIRECTORY_ENTRY_DEBUG", self.parse_debug_directory),
+            ("IMAGE_DIRECTORY_ENTRY_BASERELOC", self.parse_relocations_directory),
+            ("IMAGE_DIRECTORY_ENTRY_TLS", self.parse_directory_tls),
+            ("IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG", self.parse_directory_load_config),
+            ("IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT", self.parse_delay_import_directory),
+            ("IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT", self.parse_directory_bound_imports),
+            ("IMAGE_DIRECTORY_ENTRY_EXCEPTION", self.parse_exceptions_directory),
+        )
+
+        if directories is not None:
+            if not isinstance(directories, (tuple, list)):
+                directories = [directories]
+
+        for entry in directory_parsing:
+            # OC Patch:
+            #
+            try:
+                directory_index = DIRECTORY_ENTRY[entry[0]]
+                dir_entry = self.OPTIONAL_HEADER.DATA_DIRECTORY[directory_index]
+            except IndexError:
+                break
+
+            # Only process all the directories if no individual ones have
+            # been chosen
+            #
+            if directories is None or directory_index in directories:
+
+                value = None
+                if dir_entry.VirtualAddress:
+                    if (
+                        forwarded_exports_only
+                        and entry[0] == "IMAGE_DIRECTORY_ENTRY_EXPORT"
+                    ):
+                        value = entry[1](
+                            dir_entry.VirtualAddress,
+                            dir_entry.Size,
+                            forwarded_only=True,
+                        )
+                    elif (
+                        import_dllnames_only
+                        and entry[0] == "IMAGE_DIRECTORY_ENTRY_IMPORT"
+                    ):
+                        value = entry[1](
+                            dir_entry.VirtualAddress, dir_entry.Size, dllnames_only=True
+                        )
+
+                    else:
+                        try:
+                            value = entry[1](dir_entry.VirtualAddress, dir_entry.Size)
+                        except PEFormatError as excp:
+                            self.__warnings.append(
+                                f'Failed to process directoty "{entry[0]}": {excp}'
+                            )
+                    if value:
+                        setattr(self, entry[0][6:], value)
+
+            if (
+                (directories is not None)
+                and isinstance(directories, list)
+                and (entry[0] in directories)
+            ):
+                directories.remove(directory_index)
+
+    def parse_exceptions_directory(self, rva, size):
+        """Parses exception directory
+
+        All the code related to handling exception directories is documented in
+        https://auscitte.github.io/systems%20blog/Exception-Directory-pefile#implementation-details
+        """
+
+        # "For x64 and Itanium platforms; the format is different for other platforms"
+        if (
+            self.FILE_HEADER.Machine != MACHINE_TYPE["IMAGE_FILE_MACHINE_AMD64"]
+            and self.FILE_HEADER.Machine != MACHINE_TYPE["IMAGE_FILE_MACHINE_IA64"]
+        ):
+            return None
+
+        rf = Structure(self.__RUNTIME_FUNCTION_format__)
+        rf_size = rf.sizeof()
+        rva2rt = {}
+        rt_funcs = []
+        rva2infos = {}
+        for _ in range(size // rf_size):
+            rf = self.__unpack_data__(
+                self.__RUNTIME_FUNCTION_format__,
+                self.get_data(rva, rf_size),
+                file_offset=self.get_offset_from_rva(rva),
+            )
+
+            if rf is None:
+                break
+
+            ui = None
+
+            if (rf.UnwindData & 0x1) == 0:
+                # according to "Improving Automated Analysis of Windows x64 Binaries",
+                # if the lowest bit is set, (UnwindData & ~0x1) should point to the
+                # chained RUNTIME_FUNCTION instead of UNWIND_INFO
+
+                if (
+                    rf.UnwindData in rva2infos
+                ):  # unwind info data structures can be shared among functions
+                    ui = rva2infos[rf.UnwindData]
+                else:
+                    ui = UnwindInfo(file_offset=self.get_offset_from_rva(rf.UnwindData))
+                    rva2infos[rf.UnwindData] = ui
+
+                ws = ui.unpack_in_stages(self.get_data(rf.UnwindData, ui.sizeof()))
+                if ws != None:
+                    self.__warnings.append(ws)
+                    break
+                ws = ui.unpack_in_stages(self.get_data(rf.UnwindData, ui.sizeof()))
+                if ws != None:
+                    self.__warnings.append(ws)
+                    break
+
+                self.__structures__.append(ui)
+
+            entry = ExceptionsDirEntryData(struct=rf, unwindinfo=ui)
+            rt_funcs.append(entry)
+
+            rva2rt[rf.BeginAddress] = entry
+            rva += rf_size
+
+        # each chained function entry holds a reference to the function first in chain
+        for rf in rt_funcs:
+            if rf.unwindinfo is None:
+                # TODO: have not encountered such a binary yet;
+                # in theory, (UnwindData & ~0x1) should point to the chained
+                # RUNTIME_FUNCTION which could be used to locate the corresponding
+                # ExceptionsDirEntryData and set_chained_function_entry()
+                continue
+            if not hasattr(rf.unwindinfo, "FunctionEntry"):
+                continue
+            if not rf.unwindinfo.FunctionEntry in rva2rt:
+                self.__warnings.append(
+                    f"FunctionEntry of UNWIND_INFO at {rf.struct.get_file_offset():x}"
+                    " points to an entry that does not exist"
+                )
+                continue
+            try:
+                rf.unwindinfo.set_chained_function_entry(
+                    rva2rt[rf.unwindinfo.FunctionEntry]
+                )
+            except PEFormatError as excp:
+                self.__warnings.append(
+                    "Failed parsing FunctionEntry of UNWIND_INFO at "
+                    f"{rf.struct.get_file_offset():x}: {excp}"
+                )
+                continue
+
+        return rt_funcs
+
+    def parse_directory_bound_imports(self, rva, size):
+        """"""
+
+        bnd_descr = Structure(self.__IMAGE_BOUND_IMPORT_DESCRIPTOR_format__)
+        bnd_descr_size = bnd_descr.sizeof()
+        start = rva
+
+        bound_imports = []
+        while True:
+            bnd_descr = self.__unpack_data__(
+                self.__IMAGE_BOUND_IMPORT_DESCRIPTOR_format__,
+                self.__data__[rva : rva + bnd_descr_size],
+                file_offset=rva,
+            )
+            if bnd_descr is None:
+                # If can't parse directory then silently return.
+                # This directory does not necessarily have to be valid to
+                # still have a valid PE file
+
+                self.__warnings.append(
+                    "The Bound Imports directory exists but can't be parsed."
+                )
+
+                return
+
+            if bnd_descr.all_zeroes():
+                break
+
+            rva += bnd_descr.sizeof()
+
+            section = self.get_section_by_offset(rva)
+            file_offset = self.get_offset_from_rva(rva)
+            if section is None:
+                safety_boundary = len(self.__data__) - file_offset
+                sections_after_offset = [
+                    s.PointerToRawData
+                    for s in self.sections
+                    if s.PointerToRawData > file_offset
+                ]
+                if sections_after_offset:
+                    # Find the first section starting at a later offset than that
+                    # specified by 'rva'
+                    first_section_after_offset = min(sections_after_offset)
+                    section = self.get_section_by_offset(first_section_after_offset)
+                    if section is not None:
+                        safety_boundary = section.PointerToRawData - file_offset
+            else:
+                safety_boundary = (
+                    section.PointerToRawData + len(section.get_data()) - file_offset
+                )
+            if not section:
+                self.__warnings.append(
+                    (
+                        "RVA of IMAGE_BOUND_IMPORT_DESCRIPTOR points "
+                        "to an invalid address: {0:x}"
+                    ).format(rva)
+                )
+                return
+
+            forwarder_refs = []
+            # 8 is the size of __IMAGE_BOUND_IMPORT_DESCRIPTOR_format__
+            for _ in range(
+                min(bnd_descr.NumberOfModuleForwarderRefs, int(safety_boundary / 8))
+            ):
+                # Both structures IMAGE_BOUND_IMPORT_DESCRIPTOR and
+                # IMAGE_BOUND_FORWARDER_REF have the same size.
+                bnd_frwd_ref = self.__unpack_data__(
+                    self.__IMAGE_BOUND_FORWARDER_REF_format__,
+                    self.__data__[rva : rva + bnd_descr_size],
+                    file_offset=rva,
+                )
+                # OC Patch:
+                if not bnd_frwd_ref:
+                    raise PEFormatError("IMAGE_BOUND_FORWARDER_REF cannot be read")
+                rva += bnd_frwd_ref.sizeof()
+
+                offset = start + bnd_frwd_ref.OffsetModuleName
+                name_str = self.get_string_from_data(
+                    0, self.__data__[offset : offset + MAX_STRING_LENGTH]
+                )
+
+                # OffsetModuleName points to a DLL name. These shouldn't be too long.
+                # Anything longer than a safety length of 128 will be taken to indicate
+                # a corrupt entry and abort the processing of these entries.
+                # Names shorter than 4 characters will be taken as invalid as well.
+
+                if name_str:
+                    invalid_chars = [
+                        c for c in bytearray(name_str) if chr(c) not in string.printable
+                    ]
+                    if len(name_str) > 256 or invalid_chars:
+                        break
+
+                forwarder_refs.append(
+                    BoundImportRefData(struct=bnd_frwd_ref, name=name_str)
+                )
+
+            offset = start + bnd_descr.OffsetModuleName
+            name_str = self.get_string_from_data(
+                0, self.__data__[offset : offset + MAX_STRING_LENGTH]
+            )
+
+            if name_str:
+                invalid_chars = [
+                    c for c in bytearray(name_str) if chr(c) not in string.printable
+                ]
+                if len(name_str) > 256 or invalid_chars:
+                    break
+
+            if not name_str:
+                break
+            bound_imports.append(
+                BoundImportDescData(
+                    struct=bnd_descr, name=name_str, entries=forwarder_refs
+                )
+            )
+
+        return bound_imports
+
+    def parse_directory_tls(self, rva, size):
+        """"""
+
+        # By default let's pretend the format is a 32-bit PE. It may help
+        # produce some output for files where the Magic in the Optional Header
+        # is incorrect.
+        format = self.__IMAGE_TLS_DIRECTORY_format__
+
+        if self.PE_TYPE == OPTIONAL_HEADER_MAGIC_PE_PLUS:
+            format = self.__IMAGE_TLS_DIRECTORY64_format__
+
+        try:
+            tls_struct = self.__unpack_data__(
+                format,
+                self.get_data(rva, Structure(format).sizeof()),
+                file_offset=self.get_offset_from_rva(rva),
+            )
+        except PEFormatError:
+            self.__warnings.append(
+                "Invalid TLS information. Can't read " "data at RVA: 0x%x" % rva
+            )
+            tls_struct = None
+
+        if not tls_struct:
+            return None
+
+        return TlsData(struct=tls_struct)
+
+    def parse_directory_load_config(self, rva, size):
+        """"""
+
+        if self.PE_TYPE == OPTIONAL_HEADER_MAGIC_PE:
+            load_config_dir_sz = self.get_dword_at_rva(rva)
+            format = self.__IMAGE_LOAD_CONFIG_DIRECTORY_format__
+        elif self.PE_TYPE == OPTIONAL_HEADER_MAGIC_PE_PLUS:
+            load_config_dir_sz = self.get_dword_at_rva(rva)
+            format = self.__IMAGE_LOAD_CONFIG_DIRECTORY64_format__
+        else:
+            self.__warnings.append(
+                "Don't know how to parse LOAD_CONFIG information for non-PE32/"
+                "PE32+ file"
+            )
+            return None
+
+        # load config directory size can be less than represented by 'format' variable,
+        # generate truncated format which correspond load config directory size
+        fields_counter = 0
+        cumulative_sz = 0
+        for field in format[1]:
+            fields_counter += 1
+            cumulative_sz += STRUCT_SIZEOF_TYPES[field.split(",")[0]]
+            if cumulative_sz == load_config_dir_sz:
+                break
+        format = (format[0], format[1][:fields_counter])
+
+        load_config_struct = None
+        try:
+            load_config_struct = self.__unpack_data__(
+                format,
+                self.get_data(rva, Structure(format).sizeof()),
+                file_offset=self.get_offset_from_rva(rva),
+            )
+        except PEFormatError:
+            self.__warnings.append(
+                "Invalid LOAD_CONFIG information. Can't read " "data at RVA: 0x%x" % rva
+            )
+
+        if not load_config_struct:
+            return None
+
+        dynamic_relocations = None
+        if fields_counter > 35:
+            dynamic_relocations = self.parse_dynamic_relocations(
+                load_config_struct.DynamicValueRelocTableOffset,
+                load_config_struct.DynamicValueRelocTableSection,
+            )
+
+        return LoadConfigData(
+            struct=load_config_struct, dynamic_relocations=dynamic_relocations
+        )
+
+    def parse_dynamic_relocations(
+        self, dynamic_value_reloc_table_offset, dynamic_value_reloc_table_section
+    ):
+        if not dynamic_value_reloc_table_offset:
+            return None
+        if not dynamic_value_reloc_table_section:
+            return None
+
+        if dynamic_value_reloc_table_section > len(self.sections):
+            return None
+
+        section = self.sections[dynamic_value_reloc_table_section - 1]
+        rva = section.VirtualAddress + dynamic_value_reloc_table_offset
+        image_dynamic_reloc_table_struct = None
+        reloc_table_size = Structure(
+            self.__IMAGE_DYNAMIC_RELOCATION_TABLE_format__
+        ).sizeof()
+        try:
+            image_dynamic_reloc_table_struct = self.__unpack_data__(
+                self.__IMAGE_DYNAMIC_RELOCATION_TABLE_format__,
+                self.get_data(rva, reloc_table_size),
+                file_offset=self.get_offset_from_rva(rva),
+            )
+        except PEFormatError:
+            self.__warnings.append(
+                "Invalid IMAGE_DYNAMIC_RELOCATION_TABLE information. Can't read "
+                "data at RVA: 0x%x" % rva
+            )
+
+        if image_dynamic_reloc_table_struct.Version != 1:
+            self.__warnings.append(
+                "No pasring available for IMAGE_DYNAMIC_RELOCATION_TABLE.Version = %d",
+                image_dynamic_reloc_table_struct.Version,
+            )
+            return None
+
+        rva += reloc_table_size
+        end = rva + image_dynamic_reloc_table_struct.Size
+        dynamic_relocations = []
+
+        while rva < end:
+            format = self.__IMAGE_DYNAMIC_RELOCATION_format__
+
+            if self.PE_TYPE == OPTIONAL_HEADER_MAGIC_PE_PLUS:
+                format = self.__IMAGE_DYNAMIC_RELOCATION64_format__
+
+            rlc_size = Structure(format).sizeof()
+
+            try:
+                dynamic_rlc = self.__unpack_data__(
+                    format,
+                    self.get_data(rva, rlc_size),
+                    file_offset=self.get_offset_from_rva(rva),
+                )
+            except PEFormatError:
+                self.__warnings.append(
+                    "Invalid relocation information. Can't read "
+                    "data at RVA: 0x%x" % rva
+                )
+                dynamic_rlc = None
+
+            if not dynamic_rlc:
+                break
+
+            rva += rlc_size
+            symbol = dynamic_rlc.Symbol
+            size = dynamic_rlc.BaseRelocSize
+
+            if 3 <= symbol <= 5:
+                relocations = self.parse_image_base_relocation_list(
+                    rva, size, self.dynamic_relocation_format_by_symbol[symbol]
+                )
+                dynamic_relocations.append(
+                    DynamicRelocationData(
+                        struct=dynamic_rlc, symbol=symbol, relocations=relocations
+                    )
+                )
+
+            if symbol > 5:
+                relocations = self.parse_image_base_relocation_list(rva, size)
+                dynamic_relocations.append(
+                    DynamicRelocationData(
+                        struct=dynamic_rlc, symbol=symbol, relocations=relocations
+                    )
+                )
+
+            rva += size
+
+        return dynamic_relocations
+
+    def parse_relocations_directory(self, rva, size):
+        """"""
+
+        return self.parse_image_base_relocation_list(rva, size)
+
+    def parse_image_base_relocation_list(self, rva, size, fmt=None):
+        rlc_size = Structure(self.__IMAGE_BASE_RELOCATION_format__).sizeof()
+        end = rva + size
+
+        relocations = []
+        while rva < end:
+
+            # OC Patch:
+            # Malware that has bad RVA entries will cause an error.
+            # Just continue on after an exception
+            #
+            try:
+                rlc = self.__unpack_data__(
+                    self.__IMAGE_BASE_RELOCATION_format__,
+                    self.get_data(rva, rlc_size),
+                    file_offset=self.get_offset_from_rva(rva),
+                )
+            except PEFormatError:
+                self.__warnings.append(
+                    "Invalid relocation information. Can't read "
+                    "data at RVA: 0x%x" % rva
+                )
+                rlc = None
+
+            if not rlc:
+                break
+
+            # rlc.VirtualAddress must lie within the Image
+            if rlc.VirtualAddress > self.OPTIONAL_HEADER.SizeOfImage:
+                self.__warnings.append(
+                    "Invalid relocation information. VirtualAddress outside"
+                    " of Image: 0x%x" % rlc.VirtualAddress
+                )
+                break
+
+            # rlc.SizeOfBlock must be less or equal than the size of the image
+            # (It's a rather loose sanity test)
+            if rlc.SizeOfBlock > self.OPTIONAL_HEADER.SizeOfImage:
+                self.__warnings.append(
+                    "Invalid relocation information. SizeOfBlock too large"
+                    ": %d" % rlc.SizeOfBlock
+                )
+                break
+
+            if fmt is None:
+                reloc_entries = self.parse_relocations(
+                    rva + rlc_size, rlc.VirtualAddress, rlc.SizeOfBlock - rlc_size
+                )
+            else:
+                reloc_entries = self.parse_relocations_with_format(
+                    rva + rlc_size, rlc.VirtualAddress, rlc.SizeOfBlock - rlc_size, fmt
+                )
+
+            relocations.append(BaseRelocationData(struct=rlc, entries=reloc_entries))
+
+            if not rlc.SizeOfBlock:
+                break
+            rva += rlc.SizeOfBlock
+
+        return relocations
+
+    def parse_relocations(self, data_rva, rva, size):
+        """"""
+
+        try:
+            data = self.get_data(data_rva, size)
+            file_offset = self.get_offset_from_rva(data_rva)
+        except PEFormatError:
+            self.__warnings.append(f"Bad RVA in relocation data: 0x{data_rva:x}")
+            return []
+
+        entries = []
+        offsets_and_type = set()
+        for idx in range(int(len(data) / 2)):
+
+            entry = self.__unpack_data__(
+                self.__IMAGE_BASE_RELOCATION_ENTRY_format__,
+                data[idx * 2 : (idx + 1) * 2],
+                file_offset=file_offset,
+            )
+
+            if not entry:
+                break
+            word = entry.Data
+
+            reloc_type = word >> 12
+            reloc_offset = word & 0x0FFF
+            if (reloc_offset, reloc_type) in offsets_and_type:
+                self.__warnings.append(
+                    "Overlapping offsets in relocation data "
+                    "at RVA: 0x%x" % (reloc_offset + rva)
+                )
+                break
+
+            offsets_and_type.add((reloc_offset, reloc_type))
+
+            entries.append(
+                RelocationData(
+                    struct=entry, type=reloc_type, base_rva=rva, rva=reloc_offset + rva
+                )
+            )
+            file_offset += entry.sizeof()
+
+        return entries
+
+    def parse_relocations_with_format(self, data_rva, rva, size, format):
+        """"""
+
+        try:
+            data = self.get_data(data_rva, size)
+            file_offset = self.get_offset_from_rva(data_rva)
+        except PEFormatError:
+            self.__warnings.append(f"Bad RVA in relocation data: 0x{data_rva:x}")
+            return []
+
+        entry_size = StructureWithBitfields(format).sizeof()
+        entries = []
+        offsets = set()
+        for idx in range(int(len(data) / entry_size)):
+
+            entry = self.__unpack_data_with_bitfields__(
+                format,
+                data[idx * entry_size : (idx + 1) * entry_size],
+                file_offset=file_offset,
+            )
+
+            if not entry:
+                break
+
+            reloc_offset = entry.PageRelativeOffset
+            if reloc_offset in offsets:
+                self.__warnings.append(
+                    "Overlapping offsets in relocation data "
+                    "at RVA: 0x%x" % (reloc_offset + rva)
+                )
+                break
+            offsets.add(reloc_offset)
+
+            entries.append(
+                RelocationData(struct=entry, base_rva=rva, rva=reloc_offset + rva)
+            )
+            file_offset += entry_size
+
+        return entries
+
+    def parse_debug_directory(self, rva, size):
+        """"""
+
+        dbg_size = Structure(self.__IMAGE_DEBUG_DIRECTORY_format__).sizeof()
+
+        debug = []
+        for idx in range(int(size / dbg_size)):
+            try:
+                data = self.get_data(rva + dbg_size * idx, dbg_size)
+            except PEFormatError:
+                self.__warnings.append(
+                    "Invalid debug information. Can't read " "data at RVA: 0x%x" % rva
+                )
+                return None
+
+            dbg = self.__unpack_data__(
+                self.__IMAGE_DEBUG_DIRECTORY_format__,
+                data,
+                file_offset=self.get_offset_from_rva(rva + dbg_size * idx),
+            )
+
+            if not dbg:
+                return None
+
+            # apply structure according to DEBUG_TYPE
+            # http://www.debuginfo.com/articles/debuginfomatch.html
+            #
+            dbg_type = None
+
+            if dbg.Type == 1:
+                # IMAGE_DEBUG_TYPE_COFF
+                pass
+
+            elif dbg.Type == 2:
+                # if IMAGE_DEBUG_TYPE_CODEVIEW
+                dbg_type_offset = dbg.PointerToRawData
+                dbg_type_size = dbg.SizeOfData
+                dbg_type_data = self.__data__[
+                    dbg_type_offset : dbg_type_offset + dbg_type_size
+                ]
+
+                if dbg_type_data[:4] == b"RSDS":
+                    # pdb7.0
+                    __CV_INFO_PDB70_format__ = [
+                        "CV_INFO_PDB70",
+                        [
+                            "4s,CvSignature",
+                            "I,Signature_Data1",  # Signature is of GUID type
+                            "H,Signature_Data2",
+                            "H,Signature_Data3",
+                            "B,Signature_Data4",
+                            "B,Signature_Data5",
+                            "6s,Signature_Data6",
+                            "I,Age",
+                        ],
+                    ]
+                    pdbFileName_size = (
+                        dbg_type_size - Structure(__CV_INFO_PDB70_format__).sizeof()
+                    )
+
+                    # pdbFileName_size can be negative here, as seen in the malware
+                    # sample with hash
+                    # MD5: 7c297600870d026c014d42596bb9b5fd
+                    # SHA256:
+                    #   83f4e63681fcba8a9d7bbb1688c71981b1837446514a1773597e0192bba9fac3
+                    # Checking for positive size here to ensure proper parsing.
+                    if pdbFileName_size > 0:
+                        __CV_INFO_PDB70_format__[1].append(
+                            "{0}s,PdbFileName".format(pdbFileName_size)
+                        )
+                    dbg_type = self.__unpack_data__(
+                        __CV_INFO_PDB70_format__, dbg_type_data, dbg_type_offset
+                    )
+                    if dbg_type is not None:
+                        dbg_type.Signature_Data6_value = struct.unpack(
+                            ">Q", b"\0\0" + dbg_type.Signature_Data6
+                        )[0]
+                        dbg_type.Signature_String = (
+                            str(
+                                uuid.UUID(
+                                    fields=(
+                                        dbg_type.Signature_Data1,
+                                        dbg_type.Signature_Data2,
+                                        dbg_type.Signature_Data3,
+                                        dbg_type.Signature_Data4,
+                                        dbg_type.Signature_Data5,
+                                        dbg_type.Signature_Data6_value,
+                                    )
+                                )
+                            )
+                            .replace("-", "")
+                            .upper()
+                            + f"{dbg_type.Age:X}"
+                        )
+
+                elif dbg_type_data[:4] == b"NB10":
+                    # pdb2.0
+                    __CV_INFO_PDB20_format__ = [
+                        "CV_INFO_PDB20",
+                        [
+                            "I,CvHeaderSignature",
+                            "I,CvHeaderOffset",
+                            "I,Signature",
+                            "I,Age",
+                        ],
+                    ]
+                    pdbFileName_size = (
+                        dbg_type_size - Structure(__CV_INFO_PDB20_format__).sizeof()
+                    )
+
+                    # As with the PDB 7.0 case, ensuring a positive size for
+                    # pdbFileName_size to ensure proper parsing.
+                    if pdbFileName_size > 0:
+                        # Add the last variable-length string field.
+                        __CV_INFO_PDB20_format__[1].append(
+                            "{0}s,PdbFileName".format(pdbFileName_size)
+                        )
+                    dbg_type = self.__unpack_data__(
+                        __CV_INFO_PDB20_format__, dbg_type_data, dbg_type_offset
+                    )
+
+            elif dbg.Type == 4:
+                # IMAGE_DEBUG_TYPE_MISC
+                dbg_type_offset = dbg.PointerToRawData
+                dbg_type_size = dbg.SizeOfData
+                dbg_type_data = self.__data__[
+                    dbg_type_offset : dbg_type_offset + dbg_type_size
+                ]
+                ___IMAGE_DEBUG_MISC_format__ = [
+                    "IMAGE_DEBUG_MISC",
+                    [
+                        "I,DataType",
+                        "I,Length",
+                        "B,Unicode",
+                        "B,Reserved1",
+                        "H,Reserved2",
+                    ],
+                ]
+                dbg_type_partial = self.__unpack_data__(
+                    ___IMAGE_DEBUG_MISC_format__, dbg_type_data, dbg_type_offset
+                )
+
+                # Need to check that dbg_type_partial contains a correctly unpacked data
+                # structure, as the malware sample with the following hash
+                # MD5:    5e7d6707d693108de5a303045c17d95b
+                # SHA256:
+                #  5dd94a95025f3b6e3dd440d52f7c6d2964fdd1aa119e0ee92e38c7bf83829e5c
+                # contains a value of None for dbg_type_partial after unpacking,
+                # presumably due to a malformed DEBUG entry.
+                if dbg_type_partial:
+                    # The Unicode bool should be set to 0 or 1.
+                    if dbg_type_partial.Unicode in (0, 1):
+                        data_size = (
+                            dbg_type_size
+                            - Structure(___IMAGE_DEBUG_MISC_format__).sizeof()
+                        )
+
+                        # As with the PDB case, ensuring a positive size for data_size
+                        # here to ensure proper parsing.
+                        if data_size > 0:
+                            ___IMAGE_DEBUG_MISC_format__[1].append(
+                                "{0}s,Data".format(data_size)
+                            )
+                        dbg_type = self.__unpack_data__(
+                            ___IMAGE_DEBUG_MISC_format__, dbg_type_data, dbg_type_offset
+                        )
+
+            debug.append(DebugData(struct=dbg, entry=dbg_type))
+
+        return debug
+
+    def parse_resources_directory(self, rva, size=0, base_rva=None, level=0, dirs=None):
+        """Parse the resources directory.
+
+        Given the RVA of the resources directory, it will process all
+        its entries.
+
+        The root will have the corresponding member of its structure,
+        IMAGE_RESOURCE_DIRECTORY plus 'entries', a list of all the
+        entries in the directory.
+
+        Those entries will have, correspondingly, all the structure's
+        members (IMAGE_RESOURCE_DIRECTORY_ENTRY) and an additional one,
+        "directory", pointing to the IMAGE_RESOURCE_DIRECTORY structure
+        representing upper layers of the tree. This one will also have
+        an 'entries' attribute, pointing to the 3rd, and last, level.
+        Another directory with more entries. Those last entries will
+        have a new attribute (both 'leaf' or 'data_entry' can be used to
+        access it). This structure finally points to the resource data.
+        All the members of this structure, IMAGE_RESOURCE_DATA_ENTRY,
+        are available as its attributes.
+        """
+
+        # OC Patch:
+        if dirs is None:
+            dirs = [rva]
+
+        if base_rva is None:
+            base_rva = rva
+
+        if level > MAX_RESOURCE_DEPTH:
+            self.__warnings.append(
+                "Error parsing the resources directory. "
+                "Excessively nested table depth %d (>%s)" % (level, MAX_RESOURCE_DEPTH)
+            )
+            return None
+
+        try:
+            # If the RVA is invalid all would blow up. Some EXEs seem to be
+            # specially nasty and have an invalid RVA.
+            data = self.get_data(
+                rva, Structure(self.__IMAGE_RESOURCE_DIRECTORY_format__).sizeof()
+            )
+        except PEFormatError:
+            self.__warnings.append(
+                "Invalid resources directory. Can't read "
+                "directory data at RVA: 0x%x" % rva
+            )
+            return None
+
+        # Get the resource directory structure, that is, the header
+        # of the table preceding the actual entries
+        #
+        resource_dir = self.__unpack_data__(
+            self.__IMAGE_RESOURCE_DIRECTORY_format__,
+            data,
+            file_offset=self.get_offset_from_rva(rva),
+        )
+        if resource_dir is None:
+            # If we can't parse resources directory then silently return.
+            # This directory does not necessarily have to be valid to
+            # still have a valid PE file
+            self.__warnings.append(
+                "Invalid resources directory. Can't parse "
+                "directory data at RVA: 0x%x" % rva
+            )
+            return None
+
+        dir_entries = []
+
+        # Advance the RVA to the position immediately following the directory
+        # table header and pointing to the first entry in the table
+        #
+        rva += resource_dir.sizeof()
+
+        number_of_entries = (
+            resource_dir.NumberOfNamedEntries + resource_dir.NumberOfIdEntries
+        )
+
+        # Set a hard limit on the maximum reasonable number of entries
+        MAX_ALLOWED_ENTRIES = 4096
+        if number_of_entries > MAX_ALLOWED_ENTRIES:
+            self.__warnings.append(
+                "Error parsing the resources directory. "
+                "The directory contains %d entries (>%s)"
+                % (number_of_entries, MAX_ALLOWED_ENTRIES)
+            )
+            return None
+
+        self.__total_resource_entries_count += number_of_entries
+        if self.__total_resource_entries_count > MAX_RESOURCE_ENTRIES:
+            self.__warnings.append(
+                "Error parsing the resources directory. "
+                "The file contains at least %d entries (>%d)"
+                % (self.__total_resource_entries_count, MAX_RESOURCE_ENTRIES)
+            )
+            return None
+
+        strings_to_postprocess = []
+
+        # Keep track of the last name's start and end offsets in order
+        # to be able to detect overlapping entries that might suggest
+        # and invalid or corrupt directory.
+        last_name_begin_end = None
+        for idx in range(number_of_entries):
+            if (
+                not self.__resource_size_limit_reached
+                and self.__total_resource_bytes > self.__resource_size_limit_upperbounds
+            ):
+
+                self.__resource_size_limit_reached = True
+                self.__warnings.append(
+                    "Resource size 0x%x exceeds file size 0x%x, overlapping "
+                    "resources found."
+                    % (
+                        self.__total_resource_bytes,
+                        self.__resource_size_limit_upperbounds,
+                    )
+                )
+
+            res = self.parse_resource_entry(rva)
+            if res is None:
+                self.__warnings.append(
+                    "Error parsing the resources directory, "
+                    "Entry %d is invalid, RVA = 0x%x. " % (idx, rva)
+                )
+                break
+
+            entry_name = None
+            entry_id = None
+
+            name_is_string = (res.Name & 0x80000000) >> 31
+            if not name_is_string:
+                entry_id = res.Name
+            else:
+                ustr_offset = base_rva + res.NameOffset
+                try:
+                    entry_name = UnicodeStringWrapperPostProcessor(self, ustr_offset)
+                    self.__total_resource_bytes += entry_name.get_pascal_16_length()
+                    # If the last entry's offset points before the current's but its end
+                    # is past the current's beginning, assume the overlap indicates a
+                    # corrupt name.
+                    if last_name_begin_end and (
+                        last_name_begin_end[0] < ustr_offset
+                        and last_name_begin_end[1] >= ustr_offset
+                    ):
+                        # Remove the previous overlapping entry as it's likely to be
+                        # already corrupt data.
+                        strings_to_postprocess.pop()
+                        self.__warnings.append(
+                            "Error parsing the resources directory, "
+                            "attempting to read entry name. "
+                            "Entry names overlap 0x%x" % (ustr_offset)
+                        )
+                        break
+
+                    last_name_begin_end = (
+                        ustr_offset,
+                        ustr_offset + entry_name.get_pascal_16_length(),
+                    )
+
+                    strings_to_postprocess.append(entry_name)
+
+                except PEFormatError:
+                    self.__warnings.append(
+                        "Error parsing the resources directory, "
+                        "attempting to read entry name. "
+                        "Can't read unicode string at offset 0x%x" % (ustr_offset)
+                    )
+
+            if res.DataIsDirectory:
+                # OC Patch:
+                #
+                # One trick malware can do is to recursively reference
+                # the next directory. This causes hilarity to ensue when
+                # trying to parse everything correctly.
+                # If the original RVA given to this function is equal to
+                # the next one to parse, we assume that it's a trick.
+                # Instead of raising a PEFormatError this would skip some
+                # reasonable data so we just break.
+                #
+                # 9ee4d0a0caf095314fd7041a3e4404dc is the offending sample
+                if base_rva + res.OffsetToDirectory in dirs:
+                    break
+
+                entry_directory = self.parse_resources_directory(
+                    base_rva + res.OffsetToDirectory,
+                    size - (rva - base_rva),  # size
+                    base_rva=base_rva,
+                    level=level + 1,
+                    dirs=dirs + [base_rva + res.OffsetToDirectory],
+                )
+
+                if not entry_directory:
+                    break
+
+                # Ange Albertini's code to process resources' strings
+                #
+                strings = None
+                if entry_id == RESOURCE_TYPE["RT_STRING"]:
+                    strings = {}
+                    for resource_id in entry_directory.entries:
+                        if hasattr(resource_id, "directory"):
+
+                            resource_strings = {}
+
+                            for resource_lang in resource_id.directory.entries:
+
+                                if (
+                                    resource_lang is None
+                                    or not hasattr(resource_lang, "data")
+                                    or resource_lang.data.struct.Size is None
+                                    or resource_id.id is None
+                                ):
+                                    continue
+
+                                string_entry_rva = (
+                                    resource_lang.data.struct.OffsetToData
+                                )
+                                string_entry_size = resource_lang.data.struct.Size
+                                string_entry_id = resource_id.id
+
+                                # XXX: has been raising exceptions preventing parsing
+                                try:
+                                    string_entry_data = self.get_data(
+                                        string_entry_rva, string_entry_size
+                                    )
+                                except PEFormatError:
+                                    self.__warnings.append(
+                                        f"Error parsing resource of type RT_STRING at "
+                                        f"RVA 0x{string_entry_rva:x} with "
+                                        f"size {string_entry_size}"
+                                    )
+                                    continue
+
+                                parse_strings(
+                                    string_entry_data,
+                                    (int(string_entry_id) - 1) * 16,
+                                    resource_strings,
+                                )
+                                strings.update(resource_strings)
+
+                            resource_id.directory.strings = resource_strings
+
+                dir_entries.append(
+                    ResourceDirEntryData(
+                        struct=res,
+                        name=entry_name,
+                        id=entry_id,
+                        directory=entry_directory,
+                    )
+                )
+
+            else:
+                struct = self.parse_resource_data_entry(
+                    base_rva + res.OffsetToDirectory
+                )
+
+                if struct:
+                    self.__total_resource_bytes += struct.Size
+                    entry_data = ResourceDataEntryData(
+                        struct=struct, lang=res.Name & 0x3FF, sublang=res.Name >> 10
+                    )
+
+                    dir_entries.append(
+                        ResourceDirEntryData(
+                            struct=res, name=entry_name, id=entry_id, data=entry_data
+                        )
+                    )
+
+                else:
+                    break
+
+            # Check if this entry contains version information
+            #
+            if level == 0 and res.Id == RESOURCE_TYPE["RT_VERSION"]:
+                if dir_entries:
+                    last_entry = dir_entries[-1]
+
+                try:
+                    version_entries = last_entry.directory.entries[0].directory.entries
+                except:
+                    # Maybe a malformed directory structure...?
+                    # Let's ignore it
+                    pass
+                else:
+                    for version_entry in version_entries:
+                        rt_version_struct = None
+                        try:
+                            rt_version_struct = version_entry.data.struct
+                        except:
+                            # Maybe a malformed directory structure...?
+                            # Let's ignore it
+                            pass
+
+                        if rt_version_struct is not None:
+                            self.parse_version_information(rt_version_struct)
+
+            rva += res.sizeof()
+
+        string_rvas = [s.get_rva() for s in strings_to_postprocess]
+        string_rvas.sort()
+
+        for idx, s in enumerate(strings_to_postprocess):
+            s.render_pascal_16()
+
+        resource_directory_data = ResourceDirData(
+            struct=resource_dir, entries=dir_entries
+        )
+
+        return resource_directory_data
+
+    def parse_resource_data_entry(self, rva):
+        """Parse a data entry from the resources directory."""
+
+        try:
+            # If the RVA is invalid all would blow up. Some EXEs seem to be
+            # specially nasty and have an invalid RVA.
+            data = self.get_data(
+                rva, Structure(self.__IMAGE_RESOURCE_DATA_ENTRY_format__).sizeof()
+            )
+        except PEFormatError:
+            self.__warnings.append(
+                "Error parsing a resource directory data entry, "
+                "the RVA is invalid: 0x%x" % (rva)
+            )
+            return None
+
+        data_entry = self.__unpack_data__(
+            self.__IMAGE_RESOURCE_DATA_ENTRY_format__,
+            data,
+            file_offset=self.get_offset_from_rva(rva),
+        )
+
+        return data_entry
+
+    def parse_resource_entry(self, rva):
+        """Parse a directory entry from the resources directory."""
+
+        try:
+            data = self.get_data(
+                rva, Structure(self.__IMAGE_RESOURCE_DIRECTORY_ENTRY_format__).sizeof()
+            )
+        except PEFormatError:
+            # A warning will be added by the caller if this method returns None
+            return None
+
+        resource = self.__unpack_data__(
+            self.__IMAGE_RESOURCE_DIRECTORY_ENTRY_format__,
+            data,
+            file_offset=self.get_offset_from_rva(rva),
+        )
+
+        if resource is None:
+            return None
+
+        # resource.NameIsString = (resource.Name & 0x80000000L) >> 31
+        resource.NameOffset = resource.Name & 0x7FFFFFFF
+
+        resource.__pad = resource.Name & 0xFFFF0000
+        resource.Id = resource.Name & 0x0000FFFF
+
+        resource.DataIsDirectory = (resource.OffsetToData & 0x80000000) >> 31
+        resource.OffsetToDirectory = resource.OffsetToData & 0x7FFFFFFF
+
+        return resource
+
+    def parse_version_information(self, version_struct):
+        """Parse version information structure.
+
+        The date will be made available in three attributes of the PE object.
+
+        VS_VERSIONINFO   will contain the first three fields of the main structure:
+            'Length', 'ValueLength', and 'Type'
+
+        VS_FIXEDFILEINFO will hold the rest of the fields, accessible as sub-attributes:
+            'Signature', 'StrucVersion', 'FileVersionMS', 'FileVersionLS',
+            'ProductVersionMS', 'ProductVersionLS', 'FileFlagsMask', 'FileFlags',
+            'FileOS', 'FileType', 'FileSubtype', 'FileDateMS', 'FileDateLS'
+
+        FileInfo    is a list of all StringFileInfo and VarFileInfo structures.
+
+        StringFileInfo structures will have a list as an attribute named 'StringTable'
+        containing all the StringTable structures. Each of those structures contains a
+        dictionary 'entries' with all the key / value version information string pairs.
+
+        VarFileInfo structures will have a list as an attribute named 'Var' containing
+        all Var structures. Each Var structure will have a dictionary as an attribute
+        named 'entry' which will contain the name and value of the Var.
+        """
+
+        # Retrieve the data for the version info resource
+        #
+        try:
+            start_offset = self.get_offset_from_rva(version_struct.OffsetToData)
+        except PEFormatError:
+            self.__warnings.append(
+                "Error parsing the version information, "
+                "attempting to read OffsetToData with RVA: 0x{:x}".format(
+                    version_struct.OffsetToData
+                )
+            )
+            return
+        raw_data = self.__data__[start_offset : start_offset + version_struct.Size]
+
+        # Map the main structure and the subsequent string
+        #
+        versioninfo_struct = self.__unpack_data__(
+            self.__VS_VERSIONINFO_format__, raw_data, file_offset=start_offset
+        )
+
+        if versioninfo_struct is None:
+            return
+
+        ustr_offset = version_struct.OffsetToData + versioninfo_struct.sizeof()
+        section = self.get_section_by_rva(ustr_offset)
+        section_end = None
+        if section:
+            section_end = section.VirtualAddress + max(
+                section.SizeOfRawData, section.Misc_VirtualSize
+            )
+
+        versioninfo_string = None
+        # These should return 'ascii' decoded data. For the case when it's
+        # garbled data the ascii string will retain the byte values while
+        # encoding it to something else may yield values that don't match the
+        # file's contents.
+        try:
+            if section_end is None:
+                versioninfo_string = self.get_string_u_at_rva(
+                    ustr_offset, encoding="ascii"
+                )
+            else:
+                versioninfo_string = self.get_string_u_at_rva(
+                    ustr_offset, (section_end - ustr_offset) >> 1, encoding="ascii"
+                )
+        except PEFormatError:
+            self.__warnings.append(
+                "Error parsing the version information, "
+                "attempting to read VS_VERSION_INFO string. Can't "
+                "read unicode string at offset 0x%x" % (ustr_offset)
+            )
+
+        if versioninfo_string is None:
+            self.__warnings.append(
+                "Invalid VS_VERSION_INFO block: {0}".format(versioninfo_string)
+            )
+            return
+
+        # If the structure does not contain the expected name, it's assumed to
+        # be invalid
+        if versioninfo_string is not None and versioninfo_string != b"VS_VERSION_INFO":
+            if len(versioninfo_string) > 128:
+                excerpt = versioninfo_string[:128].decode("ascii")
+                # Don't leave any half-escaped characters
+                excerpt = excerpt[: excerpt.rfind("\\u")]
+                versioninfo_string = b(
+                    "{0} ... ({1} bytes, too long to display)".format(
+                        excerpt, len(versioninfo_string)
+                    )
+                )
+            self.__warnings.append(
+                "Invalid VS_VERSION_INFO block: {0}".format(
+                    versioninfo_string.decode("ascii").replace("\00", "\\00")
+                )
+            )
+            return
+
+        if not hasattr(self, "VS_VERSIONINFO"):
+            self.VS_VERSIONINFO = []
+
+        # Set the PE object's VS_VERSIONINFO to this one
+        vinfo = versioninfo_struct
+
+        # Set the Key attribute to point to the unicode string identifying the structure
+        vinfo.Key = versioninfo_string
+
+        self.VS_VERSIONINFO.append(vinfo)
+
+        if versioninfo_string is None:
+            versioninfo_string = ""
+        # Process the fixed version information, get the offset and structure
+        fixedfileinfo_offset = self.dword_align(
+            versioninfo_struct.sizeof() + 2 * (len(versioninfo_string) + 1),
+            version_struct.OffsetToData,
+        )
+        fixedfileinfo_struct = self.__unpack_data__(
+            self.__VS_FIXEDFILEINFO_format__,
+            raw_data[fixedfileinfo_offset:],
+            file_offset=start_offset + fixedfileinfo_offset,
+        )
+
+        if not fixedfileinfo_struct:
+            return
+
+        if not hasattr(self, "VS_FIXEDFILEINFO"):
+            self.VS_FIXEDFILEINFO = []
+
+        # Set the PE object's VS_FIXEDFILEINFO to this one
+        self.VS_FIXEDFILEINFO.append(fixedfileinfo_struct)
+
+        # Start parsing all the StringFileInfo and VarFileInfo structures
+
+        # Get the first one
+        stringfileinfo_offset = self.dword_align(
+            fixedfileinfo_offset + fixedfileinfo_struct.sizeof(),
+            version_struct.OffsetToData,
+        )
+
+        # Set the PE object's attribute that will contain them all.
+        if not hasattr(self, "FileInfo"):
+            self.FileInfo = []
+
+        finfo = []
+        while True:
+
+            # Process the StringFileInfo/VarFileInfo structure
+            stringfileinfo_struct = self.__unpack_data__(
+                self.__StringFileInfo_format__,
+                raw_data[stringfileinfo_offset:],
+                file_offset=start_offset + stringfileinfo_offset,
+            )
+
+            if stringfileinfo_struct is None:
+                self.__warnings.append(
+                    "Error parsing StringFileInfo/VarFileInfo struct"
+                )
+                return None
+
+            # Get the subsequent string defining the structure.
+            ustr_offset = (
+                version_struct.OffsetToData
+                + stringfileinfo_offset
+                + versioninfo_struct.sizeof()
+            )
+            try:
+                stringfileinfo_string = self.get_string_u_at_rva(ustr_offset)
+            except PEFormatError:
+                self.__warnings.append(
+                    "Error parsing the version information, "
+                    "attempting to read StringFileInfo string. Can't "
+                    "read unicode string at offset 0x{0:x}".format(ustr_offset)
+                )
+                break
+
+            # Set such string as the Key attribute
+            stringfileinfo_struct.Key = stringfileinfo_string
+
+            # Append the structure to the PE object's list
+            finfo.append(stringfileinfo_struct)
+
+            # Parse a StringFileInfo entry
+            if stringfileinfo_string and stringfileinfo_string.startswith(
+                b"StringFileInfo"
+            ):
+
+                if (
+                    stringfileinfo_struct.Type in (0, 1)
+                    and stringfileinfo_struct.ValueLength == 0
+                ):
+
+                    stringtable_offset = self.dword_align(
+                        stringfileinfo_offset
+                        + stringfileinfo_struct.sizeof()
+                        + 2 * (len(stringfileinfo_string) + 1),
+                        version_struct.OffsetToData,
+                    )
+
+                    stringfileinfo_struct.StringTable = []
+
+                    # Process the String Table entries
+                    while True:
+
+                        stringtable_struct = self.__unpack_data__(
+                            self.__StringTable_format__,
+                            raw_data[stringtable_offset:],
+                            file_offset=start_offset + stringtable_offset,
+                        )
+
+                        if not stringtable_struct:
+                            break
+
+                        ustr_offset = (
+                            version_struct.OffsetToData
+                            + stringtable_offset
+                            + stringtable_struct.sizeof()
+                        )
+                        try:
+                            stringtable_string = self.get_string_u_at_rva(ustr_offset)
+                        except PEFormatError:
+                            self.__warnings.append(
+                                "Error parsing the version information, "
+                                "attempting to read StringTable string. Can't "
+                                "read unicode string at offset 0x{0:x}".format(
+                                    ustr_offset
+                                )
+                            )
+                            break
+
+                        stringtable_struct.LangID = stringtable_string
+                        stringtable_struct.entries = {}
+                        stringtable_struct.entries_offsets = {}
+                        stringtable_struct.entries_lengths = {}
+                        stringfileinfo_struct.StringTable.append(stringtable_struct)
+
+                        entry_offset = self.dword_align(
+                            stringtable_offset
+                            + stringtable_struct.sizeof()
+                            + 2 * (len(stringtable_string) + 1),
+                            version_struct.OffsetToData,
+                        )
+
+                        # Process all entries in the string table
+
+                        while (
+                            entry_offset
+                            < stringtable_offset + stringtable_struct.Length
+                        ):
+
+                            string_struct = self.__unpack_data__(
+                                self.__String_format__,
+                                raw_data[entry_offset:],
+                                file_offset=start_offset + entry_offset,
+                            )
+
+                            if not string_struct:
+                                break
+
+                            ustr_offset = (
+                                version_struct.OffsetToData
+                                + entry_offset
+                                + string_struct.sizeof()
+                            )
+                            try:
+                                key = self.get_string_u_at_rva(ustr_offset)
+                                key_offset = self.get_offset_from_rva(ustr_offset)
+                            except PEFormatError:
+                                self.__warnings.append(
+                                    "Error parsing the version information, "
+                                    "attempting to read StringTable Key string. Can't "
+                                    "read unicode string at offset 0x{0:x}".format(
+                                        ustr_offset
+                                    )
+                                )
+                                break
+
+                            value_offset = self.dword_align(
+                                2 * (len(key) + 1)
+                                + entry_offset
+                                + string_struct.sizeof(),
+                                version_struct.OffsetToData,
+                            )
+
+                            ustr_offset = version_struct.OffsetToData + value_offset
+                            try:
+                                value = self.get_string_u_at_rva(
+                                    ustr_offset, max_length=string_struct.ValueLength
+                                )
+                                value_offset = self.get_offset_from_rva(ustr_offset)
+                            except PEFormatError:
+                                self.__warnings.append(
+                                    "Error parsing the version information, attempting "
+                                    "to read StringTable Value string. Can't read "
+                                    f"unicode string at offset 0x{ustr_offset:x}"
+                                )
+                                break
+
+                            if string_struct.Length == 0:
+                                entry_offset = (
+                                    stringtable_offset + stringtable_struct.Length
+                                )
+                            else:
+                                entry_offset = self.dword_align(
+                                    string_struct.Length + entry_offset,
+                                    version_struct.OffsetToData,
+                                )
+
+                            stringtable_struct.entries[key] = value
+                            stringtable_struct.entries_offsets[key] = (
+                                key_offset,
+                                value_offset,
+                            )
+                            stringtable_struct.entries_lengths[key] = (
+                                len(key),
+                                len(value),
+                            )
+
+                        new_stringtable_offset = self.dword_align(
+                            stringtable_struct.Length + stringtable_offset,
+                            version_struct.OffsetToData,
+                        )
+
+                        # Check if the entry is crafted in a way that would lead
+                        # to an infinite loop and break if so.
+                        if new_stringtable_offset == stringtable_offset:
+                            break
+                        stringtable_offset = new_stringtable_offset
+
+                        if stringtable_offset >= stringfileinfo_struct.Length:
+                            break
+
+            # Parse a VarFileInfo entry
+            elif stringfileinfo_string and stringfileinfo_string.startswith(
+                b"VarFileInfo"
+            ):
+
+                varfileinfo_struct = stringfileinfo_struct
+                varfileinfo_struct.name = "VarFileInfo"
+
+                if (
+                    varfileinfo_struct.Type in (0, 1)
+                    and varfileinfo_struct.ValueLength == 0
+                ):
+
+                    var_offset = self.dword_align(
+                        stringfileinfo_offset
+                        + varfileinfo_struct.sizeof()
+                        + 2 * (len(stringfileinfo_string) + 1),
+                        version_struct.OffsetToData,
+                    )
+
+                    varfileinfo_struct.Var = []
+
+                    # Process all entries
+
+                    while True:
+                        var_struct = self.__unpack_data__(
+                            self.__Var_format__,
+                            raw_data[var_offset:],
+                            file_offset=start_offset + var_offset,
+                        )
+
+                        if not var_struct:
+                            break
+
+                        ustr_offset = (
+                            version_struct.OffsetToData
+                            + var_offset
+                            + var_struct.sizeof()
+                        )
+                        try:
+                            var_string = self.get_string_u_at_rva(ustr_offset)
+                        except PEFormatError:
+                            self.__warnings.append(
+                                "Error parsing the version information, "
+                                "attempting to read VarFileInfo Var string. "
+                                "Can't read unicode string at offset 0x{0:x}".format(
+                                    ustr_offset
+                                )
+                            )
+                            break
+
+                        if var_string is None:
+                            break
+
+                        varfileinfo_struct.Var.append(var_struct)
+
+                        varword_offset = self.dword_align(
+                            2 * (len(var_string) + 1)
+                            + var_offset
+                            + var_struct.sizeof(),
+                            version_struct.OffsetToData,
+                        )
+                        orig_varword_offset = varword_offset
+
+                        while (
+                            varword_offset
+                            < orig_varword_offset + var_struct.ValueLength
+                        ):
+                            word1 = self.get_word_from_data(
+                                raw_data[varword_offset : varword_offset + 2], 0
+                            )
+                            word2 = self.get_word_from_data(
+                                raw_data[varword_offset + 2 : varword_offset + 4], 0
+                            )
+                            varword_offset += 4
+
+                            if isinstance(word1, int) and isinstance(word2, int):
+                                var_struct.entry = {
+                                    var_string: "0x%04x 0x%04x" % (word1, word2)
+                                }
+
+                        var_offset = self.dword_align(
+                            var_offset + var_struct.Length, version_struct.OffsetToData
+                        )
+
+                        if var_offset <= var_offset + var_struct.Length:
+                            break
+
+            # Increment and align the offset
+            stringfileinfo_offset = self.dword_align(
+                stringfileinfo_struct.Length + stringfileinfo_offset,
+                version_struct.OffsetToData,
+            )
+
+            # Check if all the StringFileInfo and VarFileInfo items have been processed
+            if (
+                stringfileinfo_struct.Length == 0
+                or stringfileinfo_offset >= versioninfo_struct.Length
+            ):
+                break
+
+        self.FileInfo.append(finfo)
+
+    def parse_export_directory(self, rva, size, forwarded_only=False):
+        """Parse the export directory.
+
+        Given the RVA of the export directory, it will process all
+        its entries.
+
+        The exports will be made available as a list of ExportData
+        instances in the 'IMAGE_DIRECTORY_ENTRY_EXPORT' PE attribute.
+        """
+
+        try:
+            export_dir = self.__unpack_data__(
+                self.__IMAGE_EXPORT_DIRECTORY_format__,
+                self.get_data(
+                    rva, Structure(self.__IMAGE_EXPORT_DIRECTORY_format__).sizeof()
+                ),
+                file_offset=self.get_offset_from_rva(rva),
+            )
+        except PEFormatError:
+            self.__warnings.append(
+                "Error parsing export directory at RVA: 0x%x" % (rva)
+            )
+            return
+
+        if not export_dir:
+            return
+
+        # We keep track of the bytes left in the file and use it to set a upper
+        # bound in the number of items that can be read from the different
+        # arrays.
+        def length_until_eof(rva):
+            return len(self.__data__) - self.get_offset_from_rva(rva)
+
+        try:
+            address_of_names = self.get_data(
+                export_dir.AddressOfNames,
+                min(
+                    length_until_eof(export_dir.AddressOfNames),
+                    export_dir.NumberOfNames * 4,
+                ),
+            )
+            address_of_name_ordinals = self.get_data(
+                export_dir.AddressOfNameOrdinals,
+                min(
+                    length_until_eof(export_dir.AddressOfNameOrdinals),
+                    export_dir.NumberOfNames * 4,
+                ),
+            )
+            address_of_functions = self.get_data(
+                export_dir.AddressOfFunctions,
+                min(
+                    length_until_eof(export_dir.AddressOfFunctions),
+                    export_dir.NumberOfFunctions * 4,
+                ),
+            )
+        except PEFormatError:
+            self.__warnings.append(
+                "Error parsing export directory at RVA: 0x%x" % (rva)
+            )
+            return
+
+        exports = []
+
+        max_failed_entries_before_giving_up = 10
+
+        section = self.get_section_by_rva(export_dir.AddressOfNames)
+        # Overly generous upper bound
+        safety_boundary = len(self.__data__)
+        if section:
+            safety_boundary = (
+                section.VirtualAddress
+                + len(section.get_data())
+                - export_dir.AddressOfNames
+            )
+
+        symbol_counts = collections.defaultdict(int)
+        export_parsing_loop_completed_normally = True
+        for i in range(min(export_dir.NumberOfNames, int(safety_boundary / 4))):
+            symbol_ordinal = self.get_word_from_data(address_of_name_ordinals, i)
+
+            if symbol_ordinal is not None and symbol_ordinal * 4 < len(
+                address_of_functions
+            ):
+                symbol_address = self.get_dword_from_data(
+                    address_of_functions, symbol_ordinal
+                )
+            else:
+                # Corrupt? a bad pointer... we assume it's all
+                # useless, no exports
+                return None
+            if symbol_address is None or symbol_address == 0:
+                continue
+
+            # If the function's RVA points within the export directory
+            # it will point to a string with the forwarded symbol's string
+            # instead of pointing the the function start address.
+            if symbol_address >= rva and symbol_address < rva + size:
+                forwarder_str = self.get_string_at_rva(symbol_address)
+                try:
+                    forwarder_offset = self.get_offset_from_rva(symbol_address)
+                except PEFormatError:
+                    continue
+            else:
+                if forwarded_only:
+                    continue
+                forwarder_str = None
+                forwarder_offset = None
+
+            symbol_name_address = self.get_dword_from_data(address_of_names, i)
+            if symbol_name_address is None:
+                max_failed_entries_before_giving_up -= 1
+                if max_failed_entries_before_giving_up <= 0:
+                    export_parsing_loop_completed_normally = False
+                    break
+
+            symbol_name = self.get_string_at_rva(
+                symbol_name_address, MAX_SYMBOL_NAME_LENGTH
+            )
+            if not is_valid_function_name(symbol_name, relax_allowed_characters=True):
+                export_parsing_loop_completed_normally = False
+                break
+            try:
+                symbol_name_offset = self.get_offset_from_rva(symbol_name_address)
+            except PEFormatError:
+                max_failed_entries_before_giving_up -= 1
+                if max_failed_entries_before_giving_up <= 0:
+                    export_parsing_loop_completed_normally = False
+                    break
+                try:
+                    symbol_name_offset = self.get_offset_from_rva(symbol_name_address)
+                except PEFormatError:
+                    max_failed_entries_before_giving_up -= 1
+                    if max_failed_entries_before_giving_up <= 0:
+                        export_parsing_loop_completed_normally = False
+                        break
+                    continue
+
+            # File 0b1d3d3664915577ab9a32188d29bbf3542b86c7b9ce333e245496c3018819f1
+            # was being parsed as potentially containing millions of exports.
+            # Checking for duplicates addresses the issue.
+            symbol_counts[(symbol_name, symbol_address)] += 1
+            if symbol_counts[(symbol_name, symbol_address)] > 10:
+                self.__warnings.append(
+                    f"Export directory contains more than 10 repeated entries "
+                    f"({symbol_name}, {symbol_address:#02x}). Assuming corrupt."
+                )
+                break
+            elif len(symbol_counts) > self.max_symbol_exports:
+                self.__warnings.append(
+                    "Export directory contains more than {} symbol entries. "
+                    "Assuming corrupt.".format(self.max_symbol_exports)
+                )
+                break
+
+            exports.append(
+                ExportData(
+                    pe=self,
+                    ordinal=export_dir.Base + symbol_ordinal,
+                    ordinal_offset=self.get_offset_from_rva(
+                        export_dir.AddressOfNameOrdinals + 2 * i
+                    ),
+                    address=symbol_address,
+                    address_offset=self.get_offset_from_rva(
+                        export_dir.AddressOfFunctions + 4 * symbol_ordinal
+                    ),
+                    name=symbol_name,
+                    name_offset=symbol_name_offset,
+                    forwarder=forwarder_str,
+                    forwarder_offset=forwarder_offset,
+                )
+            )
+
+        if not export_parsing_loop_completed_normally:
+            self.__warnings.append(
+                f"RVA AddressOfNames in the export directory points to an invalid "
+                f"address: {export_dir.AddressOfNames:x}"
+            )
+
+        ordinals = {exp.ordinal for exp in exports}
+
+        max_failed_entries_before_giving_up = 10
+
+        section = self.get_section_by_rva(export_dir.AddressOfFunctions)
+        # Overly generous upper bound
+        safety_boundary = len(self.__data__)
+        if section:
+            safety_boundary = (
+                section.VirtualAddress
+                + len(section.get_data())
+                - export_dir.AddressOfFunctions
+            )
+
+        symbol_counts = collections.defaultdict(int)
+        export_parsing_loop_completed_normally = True
+        for idx in range(min(export_dir.NumberOfFunctions, int(safety_boundary / 4))):
+
+            if not idx + export_dir.Base in ordinals:
+                try:
+                    symbol_address = self.get_dword_from_data(address_of_functions, idx)
+                except PEFormatError:
+                    symbol_address = None
+
+                if symbol_address is None:
+                    max_failed_entries_before_giving_up -= 1
+                    if max_failed_entries_before_giving_up <= 0:
+                        export_parsing_loop_completed_normally = False
+                        break
+
+                if symbol_address == 0:
+                    continue
+
+                # Checking for forwarder again.
+                if (
+                    symbol_address is not None
+                    and symbol_address >= rva
+                    and symbol_address < rva + size
+                ):
+                    forwarder_str = self.get_string_at_rva(symbol_address)
+                else:
+                    forwarder_str = None
+
+                # File 0b1d3d3664915577ab9a32188d29bbf3542b86c7b9ce333e245496c3018819f1
+                # was being parsed as potentially containing millions of exports.
+                # Checking for duplicates addresses the issue.
+                symbol_counts[symbol_address] += 1
+                if symbol_counts[symbol_address] > self.max_repeated_symbol:
+                    # if most_common and most_common[0][1] > 10:
+                    self.__warnings.append(
+                        "Export directory contains more than {} repeated "
+                        "ordinal entries (0x{:x}). Assuming corrupt.".format(
+                            self.max_repeated_symbol, symbol_address
+                        )
+                    )
+                    break
+                elif len(symbol_counts) > self.max_symbol_exports:
+                    self.__warnings.append(
+                        "Export directory contains more than "
+                        f"{self.max_symbol_exports} ordinal entries. Assuming corrupt."
+                    )
+                    break
+
+                exports.append(
+                    ExportData(
+                        ordinal=export_dir.Base + idx,
+                        address=symbol_address,
+                        name=None,
+                        forwarder=forwarder_str,
+                    )
+                )
+
+        if not export_parsing_loop_completed_normally:
+            self.__warnings.append(
+                "RVA AddressOfFunctions in the export directory points to an invalid "
+                f"address: {export_dir.AddressOfFunctions:x}"
+            )
+            return
+
+        if not exports and export_dir.all_zeroes():
+            return None
+        return ExportDirData(
+            struct=export_dir,
+            symbols=exports,
+            name=self.get_string_at_rva(export_dir.Name),
+        )
+
+    def dword_align(self, offset, base):
+        return ((offset + base + 3) & 0xFFFFFFFC) - (base & 0xFFFFFFFC)
+
+    def normalize_import_va(self, va):
+
+        # Setup image range
+        begin_of_image = self.OPTIONAL_HEADER.ImageBase
+        end_of_image = self.OPTIONAL_HEADER.ImageBase + self.OPTIONAL_HEADER.SizeOfImage
+
+        # Try to avoid bogus VAs, which are out of the image.
+        # This also filters out entries that are zero
+        if begin_of_image <= va and va < end_of_image:
+            va -= begin_of_image
+        return va
+
+    def parse_delay_import_directory(self, rva, size):
+        """Walk and parse the delay import directory."""
+
+        import_descs = []
+        error_count = 0
+        while True:
+            try:
+                # If the RVA is invalid all would blow up. Some PEs seem to be
+                # specially nasty and have an invalid RVA.
+                data = self.get_data(
+                    rva,
+                    Structure(self.__IMAGE_DELAY_IMPORT_DESCRIPTOR_format__).sizeof(),
+                )
+            except PEFormatError:
+                self.__warnings.append(
+                    "Error parsing the Delay import directory at RVA: 0x%x" % (rva)
+                )
+                break
+
+            file_offset = self.get_offset_from_rva(rva)
+            import_desc = self.__unpack_data__(
+                self.__IMAGE_DELAY_IMPORT_DESCRIPTOR_format__,
+                data,
+                file_offset=file_offset,
+            )
+
+            # If the structure is all zeros, we reached the end of the list
+            if not import_desc or import_desc.all_zeroes():
+                break
+            contains_addresses = False
+
+            # Handle old import descriptor that has Virtual Addresses instead of RVAs
+            # This version of import descriptor is created by old Visual Studio versions
+            # (pre 6.0)
+            # Can only be present in 32-bit binaries (no 64-bit compiler existed at the
+            # time)
+            # Sample: e8d3bff0c1a9a6955993f7a441121a2692261421e82fdfadaaded45d3bea9980
+            if (
+                import_desc.grAttrs == 0
+                and self.FILE_HEADER.Machine == MACHINE_TYPE["IMAGE_FILE_MACHINE_I386"]
+            ):
+                import_desc.pBoundIAT = self.normalize_import_va(import_desc.pBoundIAT)
+                import_desc.pIAT = self.normalize_import_va(import_desc.pIAT)
+                import_desc.pINT = self.normalize_import_va(import_desc.pINT)
+                import_desc.pUnloadIAT = self.normalize_import_va(
+                    import_desc.pUnloadIAT
+                )
+                import_desc.phmod = self.normalize_import_va(import_desc.pUnloadIAT)
+                import_desc.szName = self.normalize_import_va(import_desc.szName)
+                contains_addresses = True
+
+            rva += import_desc.sizeof()
+
+            # If the array of thunks is somewhere earlier than the import
+            # descriptor we can set a maximum length for the array. Otherwise
+            # just set a maximum length of the size of the file
+            max_len = len(self.__data__) - file_offset
+            if rva > import_desc.pINT or rva > import_desc.pIAT:
+                max_len = max(rva - import_desc.pINT, rva - import_desc.pIAT)
+
+            import_data = []
+            try:
+                import_data = self.parse_imports(
+                    import_desc.pINT,
+                    import_desc.pIAT,
+                    None,
+                    max_len,
+                    contains_addresses,
+                )
+            except PEFormatError as excp:
+                self.__warnings.append(
+                    "Error parsing the Delay import directory. "
+                    "Invalid import data at RVA: 0x{0:x} ({1})".format(rva, excp.value)
+                )
+
+            if error_count > 5:
+                self.__warnings.append(
+                    "Too many errors parsing the Delay import directory. "
+                    "Invalid import data at RVA: 0x{0:x}".format(rva)
+                )
+                break
+
+            if not import_data:
+                error_count += 1
+                continue
+
+            if self.__total_import_symbols > MAX_IMPORT_SYMBOLS:
+                self.__warnings.append(
+                    "Error, too many imported symbols %d (>%s)"
+                    % (self.__total_import_symbols, MAX_IMPORT_SYMBOLS)
+                )
+                break
+
+            dll = self.get_string_at_rva(import_desc.szName, MAX_DLL_LENGTH)
+            if not is_valid_dos_filename(dll):
+                dll = b("*invalid*")
+
+            if dll:
+                for symbol in import_data:
+                    if symbol.name is None:
+                        funcname = ordlookup.ordLookup(dll.lower(), symbol.ordinal)
+                        if funcname:
+                            symbol.name = funcname
+                import_descs.append(
+                    ImportDescData(struct=import_desc, imports=import_data, dll=dll)
+                )
+
+        return import_descs
+
+    def get_rich_header_hash(self, algorithm="md5"):
+        if not hasattr(self, "RICH_HEADER") or self.RICH_HEADER is None:
+            return ""
+
+        if algorithm == "md5":
+            return md5(self.RICH_HEADER.clear_data).hexdigest()
+        elif algorithm == "sha1":
+            return sha1(self.RICH_HEADER.clear_data).hexdigest()
+        elif algorithm == "sha256":
+            return sha256(self.RICH_HEADER.clear_data).hexdigest()
+        elif algorithm == "sha512":
+            return sha512(self.RICH_HEADER.clear_data).hexdigest()
+
+        raise Exception("Invalid hashing algorithm specified")
+
+    def get_imphash(self):
+        """Return the imphash of the PE file.
+
+        Creates a hash based on imported symbol names and their specific order within
+        the executable:
+        https://www.mandiant.com/resources/blog/tracking-malware-import-hashing
+
+        Returns:
+            the hexdigest of the MD5 hash of the exported symbols.
+        """
+
+        impstrs = []
+        exts = ["ocx", "sys", "dll"]
+        if not hasattr(self, "DIRECTORY_ENTRY_IMPORT"):
+            return ""
+        for entry in self.DIRECTORY_ENTRY_IMPORT:
+            if isinstance(entry.dll, bytes):
+                libname = entry.dll.decode().lower()
+            else:
+                libname = entry.dll.lower()
+            parts = libname.rsplit(".", 1)
+
+            if len(parts) > 1 and parts[1] in exts:
+                libname = parts[0]
+
+            entry_dll_lower = entry.dll.lower()
+            for imp in entry.imports:
+                funcname = None
+                if not imp.name:
+                    funcname = ordlookup.ordLookup(
+                        entry_dll_lower, imp.ordinal, make_name=True
+                    )
+                    if not funcname:
+                        raise PEFormatError(
+                            f"Unable to look up ordinal {entry.dll}:{imp.ordinal:04x}"
+                        )
+                else:
+                    funcname = imp.name
+
+                if not funcname:
+                    continue
+
+                if isinstance(funcname, bytes):
+                    funcname = funcname.decode()
+                impstrs.append("%s.%s" % (libname.lower(), funcname.lower()))
+
+        return md5(",".join(impstrs).encode()).hexdigest()
+
+    def get_exphash(self):
+        """Return the exphash of the PE file.
+
+        Similar to imphash, but based on exported symbol names and their specific order.
+
+        Returns:
+            the hexdigest of the SHA256 hash of the exported symbols.
+        """
+
+        if not hasattr(self, "DIRECTORY_ENTRY_EXPORT"):
+            return ""
+
+        if not hasattr(self.DIRECTORY_ENTRY_EXPORT, "symbols"):
+            return ""
+
+        export_list = [
+            e.name.decode().lower()
+            for e in self.DIRECTORY_ENTRY_EXPORT.symbols
+            if e and e.name is not None
+        ]
+        if len(export_list) == 0:
+            return ""
+
+        return sha256(",".join(export_list).encode()).hexdigest()
+
+    def parse_import_directory(self, rva, size, dllnames_only=False):
+        """Walk and parse the import directory."""
+
+        import_descs = []
+        error_count = 0
+        image_import_descriptor_size = Structure(
+            self.__IMAGE_IMPORT_DESCRIPTOR_format__
+        ).sizeof()
+        while True:
+            try:
+                # If the RVA is invalid all would blow up. Some EXEs seem to be
+                # specially nasty and have an invalid RVA.
+                data = self.get_data(rva, image_import_descriptor_size)
+            except PEFormatError:
+                self.__warnings.append(
+                    f"Error parsing the import directory at RVA: 0x{rva:x}"
+                )
+                break
+
+            file_offset = self.get_offset_from_rva(rva)
+            import_desc = self.__unpack_data__(
+                self.__IMAGE_IMPORT_DESCRIPTOR_format__, data, file_offset=file_offset
+            )
+
+            # If the structure is all zeros, we reached the end of the list
+            if not import_desc or import_desc.all_zeroes():
+                break
+
+            rva += import_desc.sizeof()
+
+            # If the array of thunks is somewhere earlier than the import
+            # descriptor we can set a maximum length for the array. Otherwise
+            # just set a maximum length of the size of the file
+            max_len = len(self.__data__) - file_offset
+            if rva > import_desc.OriginalFirstThunk or rva > import_desc.FirstThunk:
+                max_len = max(
+                    rva - import_desc.OriginalFirstThunk, rva - import_desc.FirstThunk
+                )
+
+            import_data = []
+            if not dllnames_only:
+                try:
+                    import_data = self.parse_imports(
+                        import_desc.OriginalFirstThunk,
+                        import_desc.FirstThunk,
+                        import_desc.ForwarderChain,
+                        max_length=max_len,
+                    )
+                except PEFormatError as e:
+                    self.__warnings.append(
+                        "Error parsing the import directory. "
+                        f"Invalid Import data at RVA: 0x{rva:x} ({e.value})"
+                    )
+
+                if error_count > 5:
+                    self.__warnings.append(
+                        "Too many errors parsing the import directory. "
+                        f"Invalid import data at RVA: 0x{rva:x}"
+                    )
+                    break
+
+                if not import_data:
+                    error_count += 1
+                    # TODO: do not continue here
+                    continue
+
+            dll = self.get_string_at_rva(import_desc.Name, MAX_DLL_LENGTH)
+            if not is_valid_dos_filename(dll):
+                dll = b("*invalid*")
+
+            if dll:
+                for symbol in import_data:
+                    if symbol.name is None:
+                        funcname = ordlookup.ordLookup(dll.lower(), symbol.ordinal)
+                        if funcname:
+                            symbol.name = funcname
+                import_descs.append(
+                    ImportDescData(struct=import_desc, imports=import_data, dll=dll)
+                )
+
+        if not dllnames_only:
+            suspicious_imports = set(["LoadLibrary", "GetProcAddress"])
+            suspicious_imports_count = 0
+            total_symbols = 0
+            for imp_dll in import_descs:
+                for symbol in imp_dll.imports:
+                    for suspicious_symbol in suspicious_imports:
+                        if not symbol or not symbol.name:
+                            continue
+                        name = symbol.name
+                        if type(symbol.name) == bytes:
+                            name = symbol.name.decode("utf-8")
+                        if name.startswith(suspicious_symbol):
+                            suspicious_imports_count += 1
+                            break
+                    total_symbols += 1
+            if (
+                suspicious_imports_count == len(suspicious_imports)
+                and total_symbols < 20
+            ):
+                self.__warnings.append(
+                    "Imported symbols contain entries typical of packed executables."
+                )
+
+        return import_descs
+
+    def parse_imports(
+        self,
+        original_first_thunk,
+        first_thunk,
+        forwarder_chain,
+        max_length=None,
+        contains_addresses=False,
+    ):
+        """Parse the imported symbols.
+
+        It will fill a list, which will be available as the dictionary
+        attribute "imports". Its keys will be the DLL names and the values
+        of all the symbols imported from that object.
+        """
+
+        imported_symbols = []
+
+        # Import Lookup Table. Contains ordinals or pointers to strings.
+        ilt = self.get_import_table(
+            original_first_thunk, max_length, contains_addresses
+        )
+        # Import Address Table. May have identical content to ILT if
+        # PE file is not bound. It will contain the address of the
+        # imported symbols once the binary is loaded or if it is already
+        # bound.
+        iat = self.get_import_table(first_thunk, max_length, contains_addresses)
+
+        # OC Patch:
+        # Would crash if IAT or ILT had None type
+        if (not iat or len(iat) == 0) and (not ilt or len(ilt) == 0):
+            self.__warnings.append(
+                "Damaged Import Table information. "
+                "ILT and/or IAT appear to be broken. "
+                f"OriginalFirstThunk: 0x{original_first_thunk:x} "
+                f"FirstThunk: 0x{first_thunk:x}"
+            )
+            return []
+
+        table = None
+        if ilt:
+            table = ilt
+        elif iat:
+            table = iat
+        else:
+            return None
+
+        imp_offset = 4
+        address_mask = 0x7FFFFFFF
+        if self.PE_TYPE == OPTIONAL_HEADER_MAGIC_PE:
+            ordinal_flag = IMAGE_ORDINAL_FLAG
+        elif self.PE_TYPE == OPTIONAL_HEADER_MAGIC_PE_PLUS:
+            ordinal_flag = IMAGE_ORDINAL_FLAG64
+            imp_offset = 8
+            address_mask = 0x7FFFFFFFFFFFFFFF
+        else:
+            # Some PEs may have an invalid value in the Magic field of the
+            # Optional Header. Just in case the remaining file is parseable
+            # let's pretend it's a 32bit PE32 by default.
+            ordinal_flag = IMAGE_ORDINAL_FLAG
+
+        num_invalid = 0
+        for idx, tbl_entry in enumerate(table):
+            imp_ord = None
+            imp_hint = None
+            imp_name = None
+            name_offset = None
+            hint_name_table_rva = None
+            import_by_ordinal = False  # declare it here first
+
+            if tbl_entry.AddressOfData:
+                # If imported by ordinal, we will append the ordinal number
+                #
+                if tbl_entry.AddressOfData & ordinal_flag:
+                    import_by_ordinal = True
+                    imp_ord = tbl_entry.AddressOfData & 0xFFFF
+                    imp_name = None
+                    name_offset = None
+                else:
+                    import_by_ordinal = False
+                    try:
+                        hint_name_table_rva = tbl_entry.AddressOfData & address_mask
+                        data = self.get_data(hint_name_table_rva, 2)
+                        # Get the Hint
+                        imp_hint = self.get_word_from_data(data, 0)
+                        imp_name = self.get_string_at_rva(
+                            tbl_entry.AddressOfData + 2, MAX_IMPORT_NAME_LENGTH
+                        )
+                        if not is_valid_function_name(imp_name):
+                            imp_name = b("*invalid*")
+
+                        name_offset = self.get_offset_from_rva(
+                            tbl_entry.AddressOfData + 2
+                        )
+                    except PEFormatError:
+                        pass
+
+                # by nriva: we want the ThunkRVA and ThunkOffset
+                thunk_offset = tbl_entry.get_file_offset()
+                thunk_rva = self.get_rva_from_offset(thunk_offset)
+
+            imp_address = (
+                first_thunk + self.OPTIONAL_HEADER.ImageBase + idx * imp_offset
+            )
+
+            struct_iat = None
+            try:
+                if iat and ilt and ilt[idx].AddressOfData != iat[idx].AddressOfData:
+                    imp_bound = iat[idx].AddressOfData
+                    struct_iat = iat[idx]
+                else:
+                    imp_bound = None
+            except IndexError:
+                imp_bound = None
+
+            # The file with hashes:
+            #
+            # MD5: bfe97192e8107d52dd7b4010d12b2924
+            # SHA256: 3d22f8b001423cb460811ab4f4789f277b35838d45c62ec0454c877e7c82c7f5
+            #
+            # has an invalid table built in a way that it's parseable but contains
+            # invalid entries that lead pefile to take extremely long amounts of time to
+            # parse. It also leads to extreme memory consumption.
+            # To prevent similar cases, if invalid entries are found in the middle of a
+            # table the parsing will be aborted
+            #
+            if imp_ord is None and imp_name is None:
+                raise PEFormatError("Invalid entries, aborting parsing.")
+
+            # Some PEs appear to interleave valid and invalid imports. Instead of
+            # aborting the parsing altogether we will simply skip the invalid entries.
+            # Although if we see 1000 invalid entries and no legit ones, we abort.
+            if imp_name == b("*invalid*"):
+                if num_invalid > 1000 and num_invalid == idx:
+                    raise PEFormatError("Too many invalid names, aborting parsing.")
+                num_invalid += 1
+                continue
+
+            if imp_ord or imp_name:
+                imported_symbols.append(
+                    ImportData(
+                        pe=self,
+                        struct_table=tbl_entry,
+                        struct_iat=struct_iat,  # for bound imports if any
+                        import_by_ordinal=import_by_ordinal,
+                        ordinal=imp_ord,
+                        ordinal_offset=tbl_entry.get_file_offset(),
+                        hint=imp_hint,
+                        name=imp_name,
+                        name_offset=name_offset,
+                        bound=imp_bound,
+                        address=imp_address,
+                        hint_name_table_rva=hint_name_table_rva,
+                        thunk_offset=thunk_offset,
+                        thunk_rva=thunk_rva,
+                    )
+                )
+
+        return imported_symbols
+
+    def get_import_table(self, rva, max_length=None, contains_addresses=False):
+
+        table = []
+
+        # We need the ordinal flag for a simple heuristic
+        # we're implementing within the loop
+        #
+        if self.PE_TYPE == OPTIONAL_HEADER_MAGIC_PE:
+            ordinal_flag = IMAGE_ORDINAL_FLAG
+            format = self.__IMAGE_THUNK_DATA_format__
+        elif self.PE_TYPE == OPTIONAL_HEADER_MAGIC_PE_PLUS:
+            ordinal_flag = IMAGE_ORDINAL_FLAG64
+            format = self.__IMAGE_THUNK_DATA64_format__
+        else:
+            # Some PEs may have an invalid value in the Magic field of the
+            # Optional Header. Just in case the remaining file is parseable
+            # let's pretend it's a 32bit PE32 by default.
+            ordinal_flag = IMAGE_ORDINAL_FLAG
+            format = self.__IMAGE_THUNK_DATA_format__
+
+        expected_size = Structure(format).sizeof()
+        MAX_ADDRESS_SPREAD = 128 * 2**20  # 128 MB
+        ADDR_4GB = 2**32
+        MAX_REPEATED_ADDRESSES = 15
+        repeated_address = 0
+        addresses_of_data_set_64 = AddressSet()
+        addresses_of_data_set_32 = AddressSet()
+        start_rva = rva
+        while rva:
+            if max_length is not None and rva >= start_rva + max_length:
+                self.__warnings.append(
+                    "Error parsing the import table. Entries go beyond bounds."
+                )
+                break
+            # Enforce an upper bounds on import symbols.
+            if self.__total_import_symbols > MAX_IMPORT_SYMBOLS:
+                self.__warnings.append(
+                    "Excessive number of imports %d (>%s)"
+                    % (self.__total_import_symbols, MAX_IMPORT_SYMBOLS)
+                )
+                break
+
+            self.__total_import_symbols += 1
+
+            # if we see too many times the same entry we assume it could be
+            # a table containing bogus data (with malicious intent or otherwise)
+            if repeated_address >= MAX_REPEATED_ADDRESSES:
+                return []
+
+            # if the addresses point somewhere but the difference between the highest
+            # and lowest address is larger than MAX_ADDRESS_SPREAD we assume a bogus
+            # table as the addresses should be contained within a module
+            if addresses_of_data_set_32.diff() > MAX_ADDRESS_SPREAD:
+                return []
+            if addresses_of_data_set_64.diff() > MAX_ADDRESS_SPREAD:
+                return []
+
+            failed = False
+            try:
+                data = self.get_data(rva, expected_size)
+            except PEFormatError:
+                failed = True
+
+            if failed or len(data) != expected_size:
+                self.__warnings.append(
+                    "Error parsing the import table. " "Invalid data at RVA: 0x%x" % rva
+                )
+                return None
+
+            thunk_data = self.__unpack_data__(
+                format, data, file_offset=self.get_offset_from_rva(rva)
+            )
+
+            # If the thunk data contains VAs instead of RVAs, we need to normalize them
+            if contains_addresses:
+                thunk_data.AddressOfData = self.normalize_import_va(
+                    thunk_data.AddressOfData
+                )
+                thunk_data.ForwarderString = self.normalize_import_va(
+                    thunk_data.ForwarderString
+                )
+                thunk_data.Function = self.normalize_import_va(thunk_data.Function)
+                thunk_data.Ordinal = self.normalize_import_va(thunk_data.Ordinal)
+
+            # Check if the AddressOfData lies within the range of RVAs that it's
+            # being scanned, abort if that is the case, as it is very unlikely
+            # to be legitimate data.
+            # Seen in PE with SHA256:
+            # 5945bb6f0ac879ddf61b1c284f3b8d20c06b228e75ae4f571fa87f5b9512902c
+            if (
+                thunk_data
+                and thunk_data.AddressOfData >= start_rva
+                and thunk_data.AddressOfData <= rva
+            ):
+                self.__warnings.append(
+                    "Error parsing the import table. "
+                    "AddressOfData overlaps with THUNK_DATA for "
+                    "THUNK at RVA 0x%x" % (rva)
+                )
+                break
+
+            if thunk_data and thunk_data.AddressOfData:
+                addr_of_data = thunk_data.AddressOfData
+                # If the entry looks like could be an ordinal...
+                if addr_of_data & ordinal_flag:
+                    # but its value is beyond 2^16, we will assume it's a
+                    # corrupted and ignore it altogether
+                    if addr_of_data & 0x7FFFFFFF > 0xFFFF:
+                        return []
+                # and if it looks like it should be an RVA
+                else:
+                    # keep track of the RVAs seen and store them to study their
+                    # properties. When certain non-standard features are detected
+                    # the parsing will be aborted
+                    if addr_of_data >= ADDR_4GB:
+                        the_set = addresses_of_data_set_64
+                    else:
+                        the_set = addresses_of_data_set_32
+
+                    if addr_of_data in the_set:
+                        repeated_address += 1
+                    the_set.add(addr_of_data)
+
+            if not thunk_data or thunk_data.all_zeroes():
+                break
+
+            rva += thunk_data.sizeof()
+
+            table.append(thunk_data)
+
+        return table
+
+    def get_memory_mapped_image(self, max_virtual_address=0x10000000, ImageBase=None):
+        """Returns the data corresponding to the memory layout of the PE file.
+
+        The data includes the PE header and the sections loaded at offsets
+        corresponding to their relative virtual addresses. (the VirtualAddress
+        section header member).
+        Any offset in this data corresponds to the absolute memory address
+        ImageBase+offset.
+
+        The optional argument 'max_virtual_address' provides with means of limiting
+        which sections are processed.
+        Any section with their VirtualAddress beyond this value will be skipped.
+        Normally, sections with values beyond this range are just there to confuse
+        tools. It's a common trick to see in packed executables.
+
+        If the 'ImageBase' optional argument is supplied, the file's relocations
+        will be applied to the image by calling the 'relocate_image()' method. Beware
+        that the relocation information is applied permanently.
+        """
+
+        # Rebase if requested
+        #
+        if ImageBase is not None:
+
+            # Keep a copy of the image's data before modifying it by rebasing it
+            #
+            original_data = self.__data__
+
+            self.relocate_image(ImageBase)
+
+        # Collect all sections in one code block
+        mapped_data = self.__data__[:]
+        for section in self.sections:
+
+            # Miscellaneous integrity tests.
+            # Some packer will set these to bogus values to make tools go nuts.
+            if section.Misc_VirtualSize == 0 and section.SizeOfRawData == 0:
+                continue
+
+            srd = section.SizeOfRawData
+            prd = self.adjust_FileAlignment(
+                section.PointerToRawData, self.OPTIONAL_HEADER.FileAlignment
+            )
+            VirtualAddress_adj = self.adjust_SectionAlignment(
+                section.VirtualAddress,
+                self.OPTIONAL_HEADER.SectionAlignment,
+                self.OPTIONAL_HEADER.FileAlignment,
+            )
+
+            if (
+                srd > len(self.__data__)
+                or prd > len(self.__data__)
+                or srd + prd > len(self.__data__)
+                or VirtualAddress_adj >= max_virtual_address
+            ):
+                continue
+
+            padding_length = VirtualAddress_adj - len(mapped_data)
+
+            if padding_length > 0:
+                mapped_data += b"\0" * padding_length
+            elif padding_length < 0:
+                mapped_data = mapped_data[:padding_length]
+
+            mapped_data += section.get_data()
+
+        # If the image was rebased, restore it to its original form
+        #
+        if ImageBase is not None:
+            self.__data__ = original_data
+
+        return mapped_data
+
+    def get_resources_strings(self):
+        """Returns a list of all the strings found withing the resources (if any).
+
+        This method will scan all entries in the resources directory of the PE, if
+        there is one, and will return a [] with the strings.
+
+        An empty list will be returned otherwise.
+        """
+
+        resources_strings = []
+
+        if hasattr(self, "DIRECTORY_ENTRY_RESOURCE"):
+
+            for res_type in self.DIRECTORY_ENTRY_RESOURCE.entries:
+                if hasattr(res_type, "directory"):
+                    for resource_id in res_type.directory.entries:
+                        if hasattr(resource_id, "directory"):
+                            if (
+                                hasattr(resource_id.directory, "strings")
+                                and resource_id.directory.strings
+                            ):
+                                for res_string in list(
+                                    resource_id.directory.strings.values()
+                                ):
+                                    resources_strings.append(res_string)
+
+        return resources_strings
+
+    def get_data(self, rva=0, length=None):
+        """Get data regardless of the section where it lies on.
+
+        Given a RVA and the size of the chunk to retrieve, this method
+        will find the section where the data lies and return the data.
+        """
+
+        s = self.get_section_by_rva(rva)
+
+        if length:
+            end = rva + length
+        else:
+            end = None
+
+        if not s:
+            if rva < len(self.header):
+                return self.header[rva:end]
+
+            # Before we give up we check whether the file might
+            # contain the data anyway. There are cases of PE files
+            # without sections that rely on windows loading the first
+            # 8291 bytes into memory and assume the data will be
+            # there
+            # A functional file with these characteristics is:
+            # MD5: 0008892cdfbc3bda5ce047c565e52295
+            # SHA-1: c7116b9ff950f86af256defb95b5d4859d4752a9
+            #
+            if rva < len(self.__data__):
+                return self.__data__[rva:end]
+
+            raise PEFormatError("data at RVA can't be fetched. Corrupt header?")
+
+        return s.get_data(rva, length)
+
+    def get_rva_from_offset(self, offset):
+        """Get the RVA corresponding to this file offset."""
+
+        s = self.get_section_by_offset(offset)
+        if not s:
+            if self.sections:
+                lowest_rva = min(
+                    [
+                        self.adjust_SectionAlignment(
+                            s.VirtualAddress,
+                            self.OPTIONAL_HEADER.SectionAlignment,
+                            self.OPTIONAL_HEADER.FileAlignment,
+                        )
+                        for s in self.sections
+                    ]
+                )
+                if offset < lowest_rva:
+                    # We will assume that the offset lies within the headers, or
+                    # at least points before where the earliest section starts
+                    # and we will simply return the offset as the RVA
+                    #
+                    # The case illustrating this behavior can be found at:
+                    # http://corkami.blogspot.com/2010/01/hey-hey-hey-whats-in-your-head.html
+                    # where the import table is not contained by any section
+                    # hence the RVA needs to be resolved to a raw offset
+                    return offset
+                return None
+            else:
+                return offset
+        return s.get_rva_from_offset(offset)
+
+    def get_offset_from_rva(self, rva):
+        """Get the file offset corresponding to this RVA.
+
+        Given a RVA , this method will find the section where the
+        data lies and return the offset within the file.
+        """
+
+        s = self.get_section_by_rva(rva)
+        if not s:
+
+            # If not found within a section assume it might
+            # point to overlay data or otherwise data present
+            # but not contained in any section. In those
+            # cases the RVA should equal the offset
+            if rva < len(self.__data__):
+                return rva
+
+            raise PEFormatError(f"data at RVA 0x{rva:x} can't be fetched")
+
+        return s.get_offset_from_rva(rva)
+
+    def get_string_at_rva(self, rva, max_length=MAX_STRING_LENGTH):
+        """Get an ASCII string located at the given address."""
+
+        if rva is None:
+            return None
+
+        s = self.get_section_by_rva(rva)
+        if not s:
+            return self.get_string_from_data(0, self.__data__[rva : rva + max_length])
+        return self.get_string_from_data(0, s.get_data(rva, length=max_length))
+
+    def get_bytes_from_data(self, offset, data):
+        """."""
+        if offset > len(data):
+            return b""
+        d = data[offset:]
+        if isinstance(d, bytearray):
+            return bytes(d)
+        return d
+
+    def get_string_from_data(self, offset, data):
+        """Get an ASCII string from data."""
+        s = self.get_bytes_from_data(offset, data)
+        end = s.find(b"\0")
+        if end >= 0:
+            s = s[:end]
+        return s
+
+    def get_string_u_at_rva(self, rva, max_length=2**16, encoding=None):
+        """Get an Unicode string located at the given address."""
+
+        if max_length == 0:
+            return b""
+
+        # If the RVA is invalid let the exception reach the callers. All
+        # call-sites of get_string_u_at_rva() will handle it.
+        data = self.get_data(rva, 2)
+        # max_length is the maximum count of 16bit characters needs to be
+        # doubled to get size in bytes
+        max_length <<= 1
+
+        requested = min(max_length, 256)
+        data = self.get_data(rva, requested)
+        # try to find null-termination
+        null_index = -1
+        while True:
+            null_index = data.find(b"\x00\x00", null_index + 1)
+            if null_index == -1:
+                data_length = len(data)
+                if data_length < requested or data_length == max_length:
+                    null_index = len(data) >> 1
+                    break
+
+                # Request remaining part of data limited by max_length
+                data += self.get_data(rva + data_length, max_length - data_length)
+                null_index = requested - 1
+                requested = max_length
+
+            elif null_index % 2 == 0:
+                null_index >>= 1
+                break
+
+        # convert selected part of the string to unicode
+        uchrs = struct.unpack("<{:d}H".format(null_index), data[: null_index * 2])
+        s = "".join(map(chr, uchrs))
+
+        if encoding:
+            return b(s.encode(encoding, "backslashreplace_"))
+
+        return b(s.encode("utf-8", "backslashreplace_"))
+
+    def get_section_by_offset(self, offset):
+        """Get the section containing the given file offset."""
+
+        for section in self.sections:
+            if section.contains_offset(offset):
+                return section
+
+        return None
+
+    def get_section_by_rva(self, rva):
+        """Get the section containing the given address."""
+
+        # if we look a lot of times at RVA in the same section, "cache" the last used section
+        # to speedup lookups (very useful when parsing import table)
+        if self._get_section_by_rva_last_used is not None:
+            if self._get_section_by_rva_last_used.contains_rva(rva):
+                return self._get_section_by_rva_last_used
+
+        for section in self.sections:
+            if section.contains_rva(rva):
+                self._get_section_by_rva_last_used = section
+                return section
+
+        return None
+
+    def __str__(self):
+        return self.dump_info()
+
+    def has_relocs(self):
+        """Checks if the PE file has relocation directory"""
+        return hasattr(self, "DIRECTORY_ENTRY_BASERELOC")
+
+    def has_dynamic_relocs(self):
+        if hasattr(self, "DIRECTORY_ENTRY_LOAD_CONFIG"):
+            if self.DIRECTORY_ENTRY_LOAD_CONFIG.dynamic_relocations:
+                return True
+
+        return False
+
+    def print_info(self, encoding="utf-8"):
+        """Print all the PE header information in a human readable from."""
+        print(self.dump_info(encoding=encoding))
+
+    def dump_info(self, dump=None, encoding="ascii"):
+        """Dump all the PE header information into human readable string."""
+
+        if dump is None:
+            dump = Dump()
+
+        warnings = self.get_warnings()
+        if warnings:
+            dump.add_header("Parsing Warnings")
+            for warning in warnings:
+                dump.add_line(warning)
+                dump.add_newline()
+
+        dump.add_header("DOS_HEADER")
+        dump.add_lines(self.DOS_HEADER.dump())
+        dump.add_newline()
+
+        dump.add_header("NT_HEADERS")
+        dump.add_lines(self.NT_HEADERS.dump())
+        dump.add_newline()
+
+        dump.add_header("FILE_HEADER")
+        dump.add_lines(self.FILE_HEADER.dump())
+
+        image_flags = retrieve_flags(IMAGE_CHARACTERISTICS, "IMAGE_FILE_")
+
+        dump.add("Flags: ")
+        flags = []
+        for flag in sorted(image_flags):
+            if getattr(self.FILE_HEADER, flag[0]):
+                flags.append(flag[0])
+        dump.add_line(", ".join(flags))
+        dump.add_newline()
+
+        if hasattr(self, "OPTIONAL_HEADER") and self.OPTIONAL_HEADER is not None:
+            dump.add_header("OPTIONAL_HEADER")
+            dump.add_lines(self.OPTIONAL_HEADER.dump())
+
+        dll_characteristics_flags = retrieve_flags(
+            DLL_CHARACTERISTICS, "IMAGE_DLLCHARACTERISTICS_"
+        )
+
+        dump.add("DllCharacteristics: ")
+        flags = []
+        for flag in sorted(dll_characteristics_flags):
+            if getattr(self.OPTIONAL_HEADER, flag[0]):
+                flags.append(flag[0])
+        dump.add_line(", ".join(flags))
+        dump.add_newline()
+
+        dump.add_header("PE Sections")
+
+        section_flags = retrieve_flags(SECTION_CHARACTERISTICS, "IMAGE_SCN_")
+
+        for section in self.sections:
+            dump.add_lines(section.dump())
+            dump.add("Flags: ")
+            flags = []
+            for flag in sorted(section_flags):
+                if getattr(section, flag[0]):
+                    flags.append(flag[0])
+            dump.add_line(", ".join(flags))
+            dump.add_line(
+                "Entropy: {0:f} (Min=0.0, Max=8.0)".format(section.get_entropy())
+            )
+            if md5 is not None:
+                dump.add_line("MD5     hash: {0}".format(section.get_hash_md5()))
+            if sha1 is not None:
+                dump.add_line("SHA-1   hash: %s" % section.get_hash_sha1())
+            if sha256 is not None:
+                dump.add_line("SHA-256 hash: %s" % section.get_hash_sha256())
+            if sha512 is not None:
+                dump.add_line("SHA-512 hash: %s" % section.get_hash_sha512())
+            dump.add_newline()
+
+        if hasattr(self, "OPTIONAL_HEADER") and hasattr(
+            self.OPTIONAL_HEADER, "DATA_DIRECTORY"
+        ):
+
+            dump.add_header("Directories")
+            for directory in self.OPTIONAL_HEADER.DATA_DIRECTORY:
+                if directory is not None:
+                    dump.add_lines(directory.dump())
+            dump.add_newline()
+
+        if hasattr(self, "VS_VERSIONINFO"):
+            for idx, vinfo_entry in enumerate(self.VS_VERSIONINFO):
+                if len(self.VS_VERSIONINFO) > 1:
+                    dump.add_header(f"Version Information {idx + 1}")
+                else:
+                    dump.add_header("Version Information")
+                if vinfo_entry is not None:
+                    dump.add_lines(vinfo_entry.dump())
+                dump.add_newline()
+
+                if hasattr(self, "VS_FIXEDFILEINFO"):
+                    dump.add_lines(self.VS_FIXEDFILEINFO[idx].dump())
+                    dump.add_newline()
+
+                if hasattr(self, "FileInfo") and len(self.FileInfo) > idx:
+                    for entry in self.FileInfo[idx]:
+                        dump.add_lines(entry.dump())
+                        dump.add_newline()
+
+                        if hasattr(entry, "StringTable"):
+                            for st_entry in entry.StringTable:
+                                [dump.add_line("  " + line) for line in st_entry.dump()]
+                                dump.add_line(
+                                    "  LangID: {0}".format(
+                                        st_entry.LangID.decode(
+                                            encoding, "backslashreplace_"
+                                        )
+                                    )
+                                )
+                                dump.add_newline()
+                                for str_entry in sorted(list(st_entry.entries.items())):
+                                    # try:
+                                    dump.add_line(
+                                        "    {0}: {1}".format(
+                                            str_entry[0].decode(
+                                                encoding, "backslashreplace_"
+                                            ),
+                                            str_entry[1].decode(
+                                                encoding, "backslashreplace_"
+                                            ),
+                                        )
+                                    )
+
+                            dump.add_newline()
+
+                        elif hasattr(entry, "Var"):
+                            for var_entry in entry.Var:
+                                if hasattr(var_entry, "entry"):
+                                    [
+                                        dump.add_line("  " + line)
+                                        for line in var_entry.dump()
+                                    ]
+                                    dump.add_line(
+                                        "    {0}: {1}".format(
+                                            list(var_entry.entry.keys())[0].decode(
+                                                "utf-8", "backslashreplace_"
+                                            ),
+                                            list(var_entry.entry.values())[0],
+                                        )
+                                    )
+
+                            dump.add_newline()
+
+        if hasattr(self, "DIRECTORY_ENTRY_EXPORT"):
+            dump.add_header("Exported symbols")
+            dump.add_lines(self.DIRECTORY_ENTRY_EXPORT.struct.dump())
+            dump.add_newline()
+            dump.add_line("%-10s   %-10s  %s" % ("Ordinal", "RVA", "Name"))
+            for export in self.DIRECTORY_ENTRY_EXPORT.symbols:
+                if export.address is not None:
+                    name = b("None")
+                    if export.name:
+                        name = export.name
+                    dump.add(
+                        "%-10d 0x%08X    %s"
+                        % (export.ordinal, export.address, name.decode(encoding))
+                    )
+                    if export.forwarder:
+                        dump.add_line(
+                            " forwarder: {0}".format(
+                                export.forwarder.decode(encoding, "backslashreplace_")
+                            )
+                        )
+                    else:
+                        dump.add_newline()
+
+            dump.add_newline()
+
+        if hasattr(self, "DIRECTORY_ENTRY_IMPORT"):
+            dump.add_header("Imported symbols")
+            for module in self.DIRECTORY_ENTRY_IMPORT:
+                dump.add_lines(module.struct.dump())
+                # Print the name of the DLL if there are no imports.
+                if not module.imports:
+                    dump.add(
+                        "  Name -> {0}".format(
+                            self.get_string_at_rva(module.struct.Name).decode(
+                                encoding, "backslashreplace_"
+                            )
+                        )
+                    )
+                    dump.add_newline()
+                dump.add_newline()
+                for symbol in module.imports:
+                    if symbol.import_by_ordinal is True:
+                        if symbol.name is not None:
+                            dump.add(
+                                "{0}.{1} Ordinal[{2}] (Imported by Ordinal)".format(
+                                    module.dll.decode("utf-8"),
+                                    symbol.name.decode("utf-8"),
+                                    symbol.ordinal,
+                                )
+                            )
+                        else:
+                            dump.add(
+                                "{0} Ordinal[{1}] (Imported by Ordinal)".format(
+                                    module.dll.decode("utf-8"), symbol.ordinal
+                                )
+                            )
+                    else:
+                        dump.add(
+                            "{0}.{1} Hint[{2:d}]".format(
+                                module.dll.decode(encoding, "backslashreplace_"),
+                                symbol.name.decode(encoding, "backslashreplace_"),
+                                symbol.hint,
+                            )
+                        )
+
+                    if symbol.bound:
+                        dump.add_line(" Bound: 0x{0:08X}".format(symbol.bound))
+                    else:
+                        dump.add_newline()
+                dump.add_newline()
+
+        if hasattr(self, "DIRECTORY_ENTRY_BOUND_IMPORT"):
+            dump.add_header("Bound imports")
+            for bound_imp_desc in self.DIRECTORY_ENTRY_BOUND_IMPORT:
+
+                dump.add_lines(bound_imp_desc.struct.dump())
+                dump.add_line(
+                    "DLL: {0}".format(
+                        bound_imp_desc.name.decode(encoding, "backslashreplace_")
+                    )
+                )
+                dump.add_newline()
+
+                for bound_imp_ref in bound_imp_desc.entries:
+                    dump.add_lines(bound_imp_ref.struct.dump(), 4)
+                    dump.add_line(
+                        "DLL: {0}".format(
+                            bound_imp_ref.name.decode(encoding, "backslashreplace_")
+                        ),
+                        4,
+                    )
+                    dump.add_newline()
+
+        if hasattr(self, "DIRECTORY_ENTRY_DELAY_IMPORT"):
+            dump.add_header("Delay Imported symbols")
+            for module in self.DIRECTORY_ENTRY_DELAY_IMPORT:
+
+                dump.add_lines(module.struct.dump())
+                dump.add_newline()
+
+                for symbol in module.imports:
+                    if symbol.import_by_ordinal is True:
+                        dump.add(
+                            "{0} Ordinal[{1:d}] (Imported by Ordinal)".format(
+                                module.dll.decode(encoding, "backslashreplace_"),
+                                symbol.ordinal,
+                            )
+                        )
+                    else:
+                        dump.add(
+                            "{0}.{1} Hint[{2}]".format(
+                                module.dll.decode(encoding, "backslashreplace_"),
+                                symbol.name.decode(encoding, "backslashreplace_"),
+                                symbol.hint,
+                            )
+                        )
+
+                    if symbol.bound:
+                        dump.add_line(" Bound: 0x{0:08X}".format(symbol.bound))
+                    else:
+                        dump.add_newline()
+                dump.add_newline()
+
+        if hasattr(self, "DIRECTORY_ENTRY_RESOURCE"):
+            dump.add_header("Resource directory")
+
+            dump.add_lines(self.DIRECTORY_ENTRY_RESOURCE.struct.dump())
+
+            for res_type in self.DIRECTORY_ENTRY_RESOURCE.entries:
+
+                if res_type.name is not None:
+                    name = res_type.name.decode(encoding, "backslashreplace_")
+                    dump.add_line(
+                        f"Name: [{name}]",
+                        2,
+                    )
+                else:
+                    res_type_id = RESOURCE_TYPE.get(res_type.struct.Id, "-")
+                    dump.add_line(
+                        f"Id: [0x{res_type.struct.Id:X}] ({res_type_id})",
+                        2,
+                    )
+
+                dump.add_lines(res_type.struct.dump(), 2)
+
+                if hasattr(res_type, "directory"):
+
+                    dump.add_lines(res_type.directory.struct.dump(), 4)
+
+                    for resource_id in res_type.directory.entries:
+
+                        if resource_id.name is not None:
+                            name = resource_id.name.decode("utf-8", "backslashreplace_")
+                            dump.add_line(
+                                f"Name: [{name}]",
+                                6,
+                            )
+                        else:
+                            dump.add_line(f"Id: [0x{resource_id.struct.Id:X}]", 6)
+
+                        dump.add_lines(resource_id.struct.dump(), 6)
+
+                        if hasattr(resource_id, "directory"):
+                            dump.add_lines(resource_id.directory.struct.dump(), 8)
+
+                            for resource_lang in resource_id.directory.entries:
+                                if hasattr(resource_lang, "data"):
+                                    dump.add_line(
+                                        "\\--- LANG [%d,%d][%s,%s]"
+                                        % (
+                                            resource_lang.data.lang,
+                                            resource_lang.data.sublang,
+                                            LANG.get(
+                                                resource_lang.data.lang, "*unknown*"
+                                            ),
+                                            get_sublang_name_for_lang(
+                                                resource_lang.data.lang,
+                                                resource_lang.data.sublang,
+                                            ),
+                                        ),
+                                        8,
+                                    )
+                                    dump.add_lines(resource_lang.struct.dump(), 10)
+                                    dump.add_lines(resource_lang.data.struct.dump(), 12)
+                            if (
+                                hasattr(resource_id.directory, "strings")
+                                and resource_id.directory.strings
+                            ):
+                                dump.add_line("[STRINGS]", 10)
+                                for idx, res_string in list(
+                                    sorted(resource_id.directory.strings.items())
+                                ):
+                                    dump.add_line(
+                                        "{0:6d}: {1}".format(
+                                            idx,
+                                            res_string.encode(
+                                                "unicode-escape", "backslashreplace"
+                                            ).decode("ascii"),
+                                        ),
+                                        12,
+                                    )
+
+                dump.add_newline()
+
+            dump.add_newline()
+
+        if (
+            hasattr(self, "DIRECTORY_ENTRY_TLS")
+            and self.DIRECTORY_ENTRY_TLS
+            and self.DIRECTORY_ENTRY_TLS.struct
+        ):
+
+            dump.add_header("TLS")
+            dump.add_lines(self.DIRECTORY_ENTRY_TLS.struct.dump())
+            dump.add_newline()
+
+        if (
+            hasattr(self, "DIRECTORY_ENTRY_LOAD_CONFIG")
+            and self.DIRECTORY_ENTRY_LOAD_CONFIG
+            and self.DIRECTORY_ENTRY_LOAD_CONFIG.struct
+        ):
+
+            dump.add_header("LOAD_CONFIG")
+            dump.add_lines(self.DIRECTORY_ENTRY_LOAD_CONFIG.struct.dump())
+            dump.add_newline()
+
+        if hasattr(self, "DIRECTORY_ENTRY_DEBUG"):
+            dump.add_header("Debug information")
+            for dbg in self.DIRECTORY_ENTRY_DEBUG:
+                dump.add_lines(dbg.struct.dump())
+                try:
+                    dump.add_line("Type: " + DEBUG_TYPE[dbg.struct.Type])
+                except KeyError:
+                    dump.add_line("Type: 0x{0:x}(Unknown)".format(dbg.struct.Type))
+                dump.add_newline()
+                if dbg.entry:
+                    dump.add_lines(dbg.entry.dump(), 4)
+                    dump.add_newline()
+
+        if self.has_relocs():
+            dump.add_header("Base relocations")
+            for base_reloc in self.DIRECTORY_ENTRY_BASERELOC:
+                dump.add_lines(base_reloc.struct.dump())
+                for reloc in base_reloc.entries:
+                    try:
+                        dump.add_line(
+                            "%08Xh %s" % (reloc.rva, RELOCATION_TYPE[reloc.type][16:]),
+                            4,
+                        )
+                    except KeyError:
+                        dump.add_line(
+                            "0x%08X 0x%x(Unknown)" % (reloc.rva, reloc.type), 4
+                        )
+                dump.add_newline()
+
+        if (
+            hasattr(self, "DIRECTORY_ENTRY_EXCEPTION")
+            and len(self.DIRECTORY_ENTRY_EXCEPTION) > 0
+        ):
+            dump.add_header("Unwind data for exception handling")
+            for rf in self.DIRECTORY_ENTRY_EXCEPTION:
+                dump.add_lines(rf.struct.dump())
+                if hasattr(rf, "unwindinfo") and rf.unwindinfo is not None:
+                    dump.add_lines(rf.unwindinfo.dump(), 4)
+
+        return dump.get_text()
+
+    def dump_dict(self):
+        """Dump all the PE header information into a dictionary."""
+
+        dump_dict = {}
+
+        warnings = self.get_warnings()
+        if warnings:
+            dump_dict["Parsing Warnings"] = warnings
+
+        dump_dict["DOS_HEADER"] = self.DOS_HEADER.dump_dict()
+        dump_dict["NT_HEADERS"] = self.NT_HEADERS.dump_dict()
+        dump_dict["FILE_HEADER"] = self.FILE_HEADER.dump_dict()
+
+        image_flags = retrieve_flags(IMAGE_CHARACTERISTICS, "IMAGE_FILE_")
+
+        dump_dict["Flags"] = []
+        for flag in image_flags:
+            if getattr(self.FILE_HEADER, flag[0]):
+                dump_dict["Flags"].append(flag[0])
+
+        if hasattr(self, "OPTIONAL_HEADER") and self.OPTIONAL_HEADER is not None:
+            dump_dict["OPTIONAL_HEADER"] = self.OPTIONAL_HEADER.dump_dict()
+
+        dll_characteristics_flags = retrieve_flags(
+            DLL_CHARACTERISTICS, "IMAGE_DLLCHARACTERISTICS_"
+        )
+
+        dump_dict["DllCharacteristics"] = []
+        for flag in dll_characteristics_flags:
+            if getattr(self.OPTIONAL_HEADER, flag[0]):
+                dump_dict["DllCharacteristics"].append(flag[0])
+
+        dump_dict["PE Sections"] = []
+
+        section_flags = retrieve_flags(SECTION_CHARACTERISTICS, "IMAGE_SCN_")
+        for section in self.sections:
+            section_dict = section.dump_dict()
+            dump_dict["PE Sections"].append(section_dict)
+            section_dict["Flags"] = []
+            for flag in section_flags:
+                if getattr(section, flag[0]):
+                    section_dict["Flags"].append(flag[0])
+
+            section_dict["Entropy"] = section.get_entropy()
+            if md5 is not None:
+                section_dict["MD5"] = section.get_hash_md5()
+            if sha1 is not None:
+                section_dict["SHA1"] = section.get_hash_sha1()
+            if sha256 is not None:
+                section_dict["SHA256"] = section.get_hash_sha256()
+            if sha512 is not None:
+                section_dict["SHA512"] = section.get_hash_sha512()
+
+        if hasattr(self, "OPTIONAL_HEADER") and hasattr(
+            self.OPTIONAL_HEADER, "DATA_DIRECTORY"
+        ):
+
+            dump_dict["Directories"] = []
+
+            for idx, directory in enumerate(self.OPTIONAL_HEADER.DATA_DIRECTORY):
+                if directory is not None:
+                    dump_dict["Directories"].append(directory.dump_dict())
+
+        if hasattr(self, "VS_VERSIONINFO"):
+            dump_dict["Version Information"] = []
+            for idx, vs_vinfo in enumerate(self.VS_VERSIONINFO):
+                version_info_list = []
+                version_info_list.append(vs_vinfo.dump_dict())
+
+                if hasattr(self, "VS_FIXEDFILEINFO"):
+                    version_info_list.append(self.VS_FIXEDFILEINFO[idx].dump_dict())
+
+                if hasattr(self, "FileInfo") and len(self.FileInfo) > idx:
+                    fileinfo_list = []
+                    version_info_list.append(fileinfo_list)
+                    for entry in self.FileInfo[idx]:
+                        fileinfo_list.append(entry.dump_dict())
+
+                        if hasattr(entry, "StringTable"):
+                            stringtable_dict = {}
+                            for st_entry in entry.StringTable:
+                                fileinfo_list.extend(st_entry.dump_dict())
+                                stringtable_dict["LangID"] = st_entry.LangID
+                                for str_entry in list(st_entry.entries.items()):
+                                    stringtable_dict[str_entry[0]] = str_entry[1]
+                            fileinfo_list.append(stringtable_dict)
+
+                        elif hasattr(entry, "Var"):
+                            for var_entry in entry.Var:
+                                var_dict = {}
+                                if hasattr(var_entry, "entry"):
+                                    fileinfo_list.extend(var_entry.dump_dict())
+                                    var_dict[list(var_entry.entry.keys())[0]] = list(
+                                        var_entry.entry.values()
+                                    )[0]
+                                    fileinfo_list.append(var_dict)
+
+                dump_dict["Version Information"].append(version_info_list)
+
+        if hasattr(self, "DIRECTORY_ENTRY_EXPORT"):
+            dump_dict["Exported symbols"] = []
+            dump_dict["Exported symbols"].append(
+                self.DIRECTORY_ENTRY_EXPORT.struct.dump_dict()
+            )
+            for export in self.DIRECTORY_ENTRY_EXPORT.symbols:
+                export_dict = {}
+                if export.address is not None:
+                    export_dict.update(
+                        {
+                            "Ordinal": export.ordinal,
+                            "RVA": export.address,
+                            "Name": export.name,
+                        }
+                    )
+                    if export.forwarder:
+                        export_dict["forwarder"] = export.forwarder
+                dump_dict["Exported symbols"].append(export_dict)
+
+        if hasattr(self, "DIRECTORY_ENTRY_IMPORT"):
+            dump_dict["Imported symbols"] = []
+            for module in self.DIRECTORY_ENTRY_IMPORT:
+                import_list = []
+                dump_dict["Imported symbols"].append(import_list)
+                import_list.append(module.struct.dump_dict())
+                for symbol in module.imports:
+                    symbol_dict = {}
+                    if symbol.import_by_ordinal is True:
+                        symbol_dict["DLL"] = module.dll
+                        symbol_dict["Ordinal"] = symbol.ordinal
+                    else:
+                        symbol_dict["DLL"] = module.dll
+                        symbol_dict["Name"] = symbol.name
+                        symbol_dict["Hint"] = symbol.hint
+
+                    if symbol.bound:
+                        symbol_dict["Bound"] = symbol.bound
+                    import_list.append(symbol_dict)
+
+        if hasattr(self, "DIRECTORY_ENTRY_BOUND_IMPORT"):
+            dump_dict["Bound imports"] = []
+            for bound_imp_desc in self.DIRECTORY_ENTRY_BOUND_IMPORT:
+                bound_imp_desc_dict = {}
+                dump_dict["Bound imports"].append(bound_imp_desc_dict)
+
+                bound_imp_desc_dict.update(bound_imp_desc.struct.dump_dict())
+                bound_imp_desc_dict["DLL"] = bound_imp_desc.name
+
+                for bound_imp_ref in bound_imp_desc.entries:
+                    bound_imp_ref_dict = {}
+                    bound_imp_ref_dict.update(bound_imp_ref.struct.dump_dict())
+                    bound_imp_ref_dict["DLL"] = bound_imp_ref.name
+
+        if hasattr(self, "DIRECTORY_ENTRY_DELAY_IMPORT"):
+            dump_dict["Delay Imported symbols"] = []
+            for module in self.DIRECTORY_ENTRY_DELAY_IMPORT:
+                module_list = []
+                dump_dict["Delay Imported symbols"].append(module_list)
+                module_list.append(module.struct.dump_dict())
+
+                for symbol in module.imports:
+                    symbol_dict = {}
+                    if symbol.import_by_ordinal is True:
+                        symbol_dict["DLL"] = module.dll
+                        symbol_dict["Ordinal"] = symbol.ordinal
+                    else:
+                        symbol_dict["DLL"] = module.dll
+                        symbol_dict["Name"] = symbol.name
+                        symbol_dict["Hint"] = symbol.hint
+
+                    if symbol.bound:
+                        symbol_dict["Bound"] = symbol.bound
+                    module_list.append(symbol_dict)
+
+        if hasattr(self, "DIRECTORY_ENTRY_RESOURCE"):
+            dump_dict["Resource directory"] = []
+            dump_dict["Resource directory"].append(
+                self.DIRECTORY_ENTRY_RESOURCE.struct.dump_dict()
+            )
+
+            for res_type in self.DIRECTORY_ENTRY_RESOURCE.entries:
+                resource_type_dict = {}
+
+                if res_type.name is not None:
+                    resource_type_dict["Name"] = res_type.name
+                else:
+                    resource_type_dict["Id"] = (
+                        res_type.struct.Id,
+                        RESOURCE_TYPE.get(res_type.struct.Id, "-"),
+                    )
+
+                resource_type_dict.update(res_type.struct.dump_dict())
+                dump_dict["Resource directory"].append(resource_type_dict)
+
+                if hasattr(res_type, "directory"):
+                    directory_list = []
+                    directory_list.append(res_type.directory.struct.dump_dict())
+                    dump_dict["Resource directory"].append(directory_list)
+
+                    for resource_id in res_type.directory.entries:
+                        resource_id_dict = {}
+
+                        if resource_id.name is not None:
+                            resource_id_dict["Name"] = resource_id.name
+                        else:
+                            resource_id_dict["Id"] = resource_id.struct.Id
+
+                        resource_id_dict.update(resource_id.struct.dump_dict())
+                        directory_list.append(resource_id_dict)
+
+                        if hasattr(resource_id, "directory"):
+                            resource_id_list = []
+                            resource_id_list.append(
+                                resource_id.directory.struct.dump_dict()
+                            )
+                            directory_list.append(resource_id_list)
+
+                            for resource_lang in resource_id.directory.entries:
+                                if hasattr(resource_lang, "data"):
+                                    resource_lang_dict = {}
+                                    resource_lang_dict["LANG"] = resource_lang.data.lang
+                                    resource_lang_dict[
+                                        "SUBLANG"
+                                    ] = resource_lang.data.sublang
+                                    resource_lang_dict["LANG_NAME"] = LANG.get(
+                                        resource_lang.data.lang, "*unknown*"
+                                    )
+                                    resource_lang_dict[
+                                        "SUBLANG_NAME"
+                                    ] = get_sublang_name_for_lang(
+                                        resource_lang.data.lang,
+                                        resource_lang.data.sublang,
+                                    )
+                                    resource_lang_dict.update(
+                                        resource_lang.struct.dump_dict()
+                                    )
+                                    resource_lang_dict.update(
+                                        resource_lang.data.struct.dump_dict()
+                                    )
+                                    resource_id_list.append(resource_lang_dict)
+                            if (
+                                hasattr(resource_id.directory, "strings")
+                                and resource_id.directory.strings
+                            ):
+                                for idx, res_string in list(
+                                    resource_id.directory.strings.items()
+                                ):
+                                    resource_id_list.append(
+                                        res_string.encode(
+                                            "unicode-escape", "backslashreplace"
+                                        ).decode("ascii")
+                                    )
+
+        if (
+            hasattr(self, "DIRECTORY_ENTRY_TLS")
+            and self.DIRECTORY_ENTRY_TLS
+            and self.DIRECTORY_ENTRY_TLS.struct
+        ):
+            dump_dict["TLS"] = self.DIRECTORY_ENTRY_TLS.struct.dump_dict()
+
+        if (
+            hasattr(self, "DIRECTORY_ENTRY_LOAD_CONFIG")
+            and self.DIRECTORY_ENTRY_LOAD_CONFIG
+            and self.DIRECTORY_ENTRY_LOAD_CONFIG.struct
+        ):
+            dump_dict[
+                "LOAD_CONFIG"
+            ] = self.DIRECTORY_ENTRY_LOAD_CONFIG.struct.dump_dict()
+
+        if hasattr(self, "DIRECTORY_ENTRY_DEBUG"):
+            dump_dict["Debug information"] = []
+            for dbg in self.DIRECTORY_ENTRY_DEBUG:
+                dbg_dict = {}
+                dump_dict["Debug information"].append(dbg_dict)
+                dbg_dict.update(dbg.struct.dump_dict())
+                dbg_dict["Type"] = DEBUG_TYPE.get(dbg.struct.Type, dbg.struct.Type)
+
+        if self.has_relocs():
+            dump_dict["Base relocations"] = []
+            for base_reloc in self.DIRECTORY_ENTRY_BASERELOC:
+                base_reloc_list = []
+                dump_dict["Base relocations"].append(base_reloc_list)
+                base_reloc_list.append(base_reloc.struct.dump_dict())
+                for reloc in base_reloc.entries:
+                    reloc_dict = {}
+                    base_reloc_list.append(reloc_dict)
+                    reloc_dict["RVA"] = reloc.rva
+                    try:
+                        reloc_dict["Type"] = RELOCATION_TYPE[reloc.type][16:]
+                    except KeyError:
+                        reloc_dict["Type"] = reloc.type
+
+        return dump_dict
+
+    # OC Patch
+    def get_physical_by_rva(self, rva):
+        """Gets the physical address in the PE file from an RVA value."""
+        try:
+            return self.get_offset_from_rva(rva)
+        except Exception:
+            return None
+
+    ##
+    # Double-Word get / set
+    ##
+
+    def get_data_from_dword(self, dword):
+        """Return a four byte string representing the double word value (little endian)."""
+        return struct.pack(" len(data):
+            return None
+
+        return struct.unpack(" len(self.__data__):
+            return None
+
+        return self.get_dword_from_data(self.__data__[offset : offset + 4], 0)
+
+    def set_dword_at_rva(self, rva, dword):
+        """Set the double word value at the file offset corresponding to the given RVA."""
+        return self.set_bytes_at_rva(rva, self.get_data_from_dword(dword))
+
+    def set_dword_at_offset(self, offset, dword):
+        """Set the double word value at the given file offset."""
+        return self.set_bytes_at_offset(offset, self.get_data_from_dword(dword))
+
+    ##
+    # Word get / set
+    ##
+
+    def get_data_from_word(self, word):
+        """Return a two byte string representing the word value. (little endian)."""
+        return struct.pack(" len(data):
+            return None
+
+        return struct.unpack(" len(self.__data__):
+            return None
+
+        return self.get_word_from_data(self.__data__[offset : offset + 2], 0)
+
+    def set_word_at_rva(self, rva, word):
+        """Set the word value at the file offset corresponding to the given RVA."""
+        return self.set_bytes_at_rva(rva, self.get_data_from_word(word))
+
+    def set_word_at_offset(self, offset, word):
+        """Set the word value at the given file offset."""
+        return self.set_bytes_at_offset(offset, self.get_data_from_word(word))
+
+    ##
+    # Quad-Word get / set
+    ##
+
+    def get_data_from_qword(self, word):
+        """Return an eight byte string representing the quad-word value (little endian)."""
+        return struct.pack(" len(data):
+            return None
+
+        return struct.unpack(" len(self.__data__):
+            return None
+
+        return self.get_qword_from_data(self.__data__[offset : offset + 8], 0)
+
+    def set_qword_at_rva(self, rva, qword):
+        """Set the quad-word value at the file offset corresponding to the given RVA."""
+        return self.set_bytes_at_rva(rva, self.get_data_from_qword(qword))
+
+    def set_qword_at_offset(self, offset, qword):
+        """Set the quad-word value at the given file offset."""
+        return self.set_bytes_at_offset(offset, self.get_data_from_qword(qword))
+
+    ##
+    # Set bytes
+    ##
+
+    def set_bytes_at_rva(self, rva, data):
+        """Overwrite, with the given string, the bytes at the file offset corresponding
+        to the given RVA.
+
+        Return True if successful, False otherwise. It can fail if the
+        offset is outside the file's boundaries.
+        """
+
+        if not isinstance(data, bytes):
+            raise TypeError("data should be of type: bytes")
+
+        offset = self.get_physical_by_rva(rva)
+        if not offset:
+            return False
+
+        return self.set_bytes_at_offset(offset, data)
+
+    def set_bytes_at_offset(self, offset, data):
+        """Overwrite the bytes at the given file offset with the given string.
+
+        Return True if successful, False otherwise. It can fail if the
+        offset is outside the file's boundaries.
+        """
+
+        if not isinstance(data, bytes):
+            raise TypeError("data should be of type: bytes")
+
+        if 0 <= offset < len(self.__data__):
+            self.set_data_bytes(offset, data)
+        else:
+            return False
+
+        return True
+
+    def set_data_bytes(self, offset: int, data: bytes):
+        if not isinstance(self.__data__, bytearray):
+            self.__data__ = bytearray(self.__data__)
+
+        self.__data__[offset : offset + len(data)] = data
+
+    def merge_modified_section_data(self):
+        """Update the PE image content with any individual section data that has been
+        modified.
+        """
+
+        for section in self.sections:
+            section_data_start = self.adjust_FileAlignment(
+                section.PointerToRawData, self.OPTIONAL_HEADER.FileAlignment
+            )
+            section_data_end = section_data_start + section.SizeOfRawData
+            if section_data_start < len(self.__data__) and section_data_end < len(
+                self.__data__
+            ):
+                self.set_data_bytes(section_data_start, section.get_data())
+
+    def relocate_image(self, new_ImageBase):
+        """Apply the relocation information to the image using the provided image base.
+
+        This method will apply the relocation information to the image. Given the new
+        base, all the relocations will be processed and both the raw data and the
+        section's data will be fixed accordingly.
+        The resulting image can be retrieved as well through the method:
+
+            get_memory_mapped_image()
+
+        In order to get something that would more closely match what could be found in
+        memory once the Windows loader finished its work.
+        """
+
+        relocation_difference = new_ImageBase - self.OPTIONAL_HEADER.ImageBase
+
+        if (
+            len(self.OPTIONAL_HEADER.DATA_DIRECTORY) >= 6
+            and self.OPTIONAL_HEADER.DATA_DIRECTORY[5].Size
+        ):
+            if not hasattr(self, "DIRECTORY_ENTRY_BASERELOC"):
+                self.parse_data_directories(
+                    directories=[DIRECTORY_ENTRY["IMAGE_DIRECTORY_ENTRY_BASERELOC"]]
+                )
+            if not hasattr(self, "DIRECTORY_ENTRY_BASERELOC"):
+                self.__warnings.append(
+                    "Relocating image but PE does not have (or pefile cannot "
+                    "parse) a DIRECTORY_ENTRY_BASERELOC"
+                )
+            else:
+                for reloc in self.DIRECTORY_ENTRY_BASERELOC:
+
+                    # We iterate with an index because if the relocation is of type
+                    # IMAGE_REL_BASED_HIGHADJ we need to also process the next entry
+                    # at once and skip it for the next iteration
+                    #
+                    entry_idx = 0
+                    while entry_idx < len(reloc.entries):
+
+                        entry = reloc.entries[entry_idx]
+                        entry_idx += 1
+
+                        if entry.type == RELOCATION_TYPE["IMAGE_REL_BASED_ABSOLUTE"]:
+                            # Nothing to do for this type of relocation
+                            pass
+
+                        elif entry.type == RELOCATION_TYPE["IMAGE_REL_BASED_HIGH"]:
+                            # Fix the high 16-bits of a relocation
+                            #
+                            # Add high 16-bits of relocation_difference to the
+                            # 16-bit value at RVA=entry.rva
+
+                            self.set_word_at_rva(
+                                entry.rva,
+                                (
+                                    self.get_word_at_rva(entry.rva)
+                                    + relocation_difference
+                                    >> 16
+                                )
+                                & 0xFFFF,
+                            )
+
+                        elif entry.type == RELOCATION_TYPE["IMAGE_REL_BASED_LOW"]:
+                            # Fix the low 16-bits of a relocation
+                            #
+                            # Add low 16 bits of relocation_difference to the 16-bit
+                            # value at RVA=entry.rva
+
+                            self.set_word_at_rva(
+                                entry.rva,
+                                (
+                                    self.get_word_at_rva(entry.rva)
+                                    + relocation_difference
+                                )
+                                & 0xFFFF,
+                            )
+
+                        elif entry.type == RELOCATION_TYPE["IMAGE_REL_BASED_HIGHLOW"]:
+                            # Handle all high and low parts of a 32-bit relocation
+                            #
+                            # Add relocation_difference to the value at RVA=entry.rva
+
+                            self.set_dword_at_rva(
+                                entry.rva,
+                                self.get_dword_at_rva(entry.rva)
+                                + relocation_difference,
+                            )
+
+                        elif entry.type == RELOCATION_TYPE["IMAGE_REL_BASED_HIGHADJ"]:
+                            # Fix the high 16-bits of a relocation and adjust
+                            #
+                            # Add high 16-bits of relocation_difference to the 32-bit
+                            # value composed from the (16-bit value at
+                            # RVA=entry.rva)<<16 plus the 16-bit value at the next
+                            # relocation entry.
+
+                            # If the next entry is beyond the array's limits,
+                            # abort... the table is corrupt
+                            if entry_idx == len(reloc.entries):
+                                break
+
+                            next_entry = reloc.entries[entry_idx]
+                            entry_idx += 1
+                            self.set_word_at_rva(
+                                entry.rva,
+                                (
+                                    (self.get_word_at_rva(entry.rva) << 16)
+                                    + next_entry.rva
+                                    + relocation_difference
+                                    & 0xFFFF0000
+                                )
+                                >> 16,
+                            )
+
+                        elif entry.type == RELOCATION_TYPE["IMAGE_REL_BASED_DIR64"]:
+                            # Apply the difference to the 64-bit value at the offset
+                            # RVA=entry.rva
+
+                            self.set_qword_at_rva(
+                                entry.rva,
+                                self.get_qword_at_rva(entry.rva)
+                                + relocation_difference,
+                            )
+
+            self.OPTIONAL_HEADER.ImageBase = new_ImageBase
+
+            # correct VAs(virtual addresses) occurrences in directory information
+            if hasattr(self, "DIRECTORY_ENTRY_IMPORT"):
+                for dll in self.DIRECTORY_ENTRY_IMPORT:
+                    for func in dll.imports:
+                        func.address += relocation_difference
+            if hasattr(self, "DIRECTORY_ENTRY_TLS"):
+                self.DIRECTORY_ENTRY_TLS.struct.StartAddressOfRawData += (
+                    relocation_difference
+                )
+                self.DIRECTORY_ENTRY_TLS.struct.EndAddressOfRawData += (
+                    relocation_difference
+                )
+                self.DIRECTORY_ENTRY_TLS.struct.AddressOfIndex += relocation_difference
+                self.DIRECTORY_ENTRY_TLS.struct.AddressOfCallBacks += (
+                    relocation_difference
+                )
+            if hasattr(self, "DIRECTORY_ENTRY_LOAD_CONFIG"):
+                load_config = self.DIRECTORY_ENTRY_LOAD_CONFIG.struct
+                if (
+                    hasattr(load_config, "LockPrefixTable")
+                    and load_config.LockPrefixTable
+                ):
+                    load_config.LockPrefixTable += relocation_difference
+                if hasattr(load_config, "EditList") and load_config.EditList:
+                    load_config.EditList += relocation_difference
+                if (
+                    hasattr(load_config, "SecurityCookie")
+                    and load_config.SecurityCookie
+                ):
+                    load_config.SecurityCookie += relocation_difference
+                if (
+                    hasattr(load_config, "SEHandlerTable")
+                    and load_config.SEHandlerTable
+                ):
+                    load_config.SEHandlerTable += relocation_difference
+                if (
+                    hasattr(load_config, "GuardCFCheckFunctionPointer")
+                    and load_config.GuardCFCheckFunctionPointer
+                ):
+                    load_config.GuardCFCheckFunctionPointer += relocation_difference
+                if (
+                    hasattr(load_config, "GuardCFDispatchFunctionPointer")
+                    and load_config.GuardCFDispatchFunctionPointer
+                ):
+                    load_config.GuardCFDispatchFunctionPointer += relocation_difference
+                if (
+                    hasattr(load_config, "GuardCFFunctionTable")
+                    and load_config.GuardCFFunctionTable
+                ):
+                    load_config.GuardCFFunctionTable += relocation_difference
+                if (
+                    hasattr(load_config, "GuardAddressTakenIatEntryTable")
+                    and load_config.GuardAddressTakenIatEntryTable
+                ):
+                    load_config.GuardAddressTakenIatEntryTable += relocation_difference
+                if (
+                    hasattr(load_config, "GuardLongJumpTargetTable")
+                    and load_config.GuardLongJumpTargetTable
+                ):
+                    load_config.GuardLongJumpTargetTable += relocation_difference
+                if (
+                    hasattr(load_config, "DynamicValueRelocTable")
+                    and load_config.DynamicValueRelocTable
+                ):
+                    load_config.DynamicValueRelocTable += relocation_difference
+                if (
+                    self.PE_TYPE == OPTIONAL_HEADER_MAGIC_PE_PLUS
+                    and hasattr(load_config, "CHPEMetadataPointer")
+                    and load_config.CHPEMetadataPointer
+                ):
+                    load_config.CHPEMetadataPointer += relocation_difference
+                if (
+                    hasattr(load_config, "GuardRFFailureRoutine")
+                    and load_config.GuardRFFailureRoutine
+                ):
+                    load_config.GuardRFFailureRoutine += relocation_difference
+                if (
+                    hasattr(load_config, "GuardRFFailureRoutineFunctionPointer")
+                    and load_config.GuardRFFailureRoutineFunctionPointer
+                ):
+                    load_config.GuardRFVerifyStackPointerFunctionPointer += (
+                        relocation_difference
+                    )
+                if (
+                    hasattr(load_config, "GuardRFVerifyStackPointerFunctionPointer")
+                    and load_config.GuardRFVerifyStackPointerFunctionPointer
+                ):
+                    load_config.GuardRFVerifyStackPointerFunctionPointer += (
+                        relocation_difference
+                    )
+                if (
+                    hasattr(load_config, "EnclaveConfigurationPointer")
+                    and load_config.EnclaveConfigurationPointer
+                ):
+                    load_config.EnclaveConfigurationPointer += relocation_difference
+
+    def verify_checksum(self):
+
+        return self.OPTIONAL_HEADER.CheckSum == self.generate_checksum()
+
+    def generate_checksum(self):
+        # This will make sure that the data representing the PE image
+        # is updated with any changes that might have been made by
+        # assigning values to header fields as those are not automatically
+        # updated upon assignment.
+        #
+        # data = self.write()
+        # print('{0}'.format(len(data)))
+        # for idx, b in enumerate(data):
+        #     if b != ord(self.__data__[idx]) or (idx > 1244440 and idx < 1244460):
+        #         print('Idx: {0} G {1:02x} {3} B {2:02x}'.format(
+        #             idx, ord(self.__data__[idx]), b,
+        #             self.__data__[idx], chr(b)))
+        self.__data__ = self.write()
+
+        # Get the offset to the CheckSum field in the OptionalHeader
+        # (The offset is the same in PE32 and PE32+)
+        checksum_offset = self.OPTIONAL_HEADER.get_file_offset() + 0x40  # 64
+
+        checksum = 0
+        # Verify the data is dword-aligned. Add padding if needed
+        #
+        remainder = len(self.__data__) % 4
+        data_len = len(self.__data__) + ((4 - remainder) * (remainder != 0))
+
+        for i in range(int(data_len / 4)):
+            # Skip the checksum field
+            if i == int(checksum_offset / 4):
+                continue
+            if i + 1 == (int(data_len / 4)) and remainder:
+                dword = struct.unpack(
+                    "I", self.__data__[i * 4 :] + (b"\0" * (4 - remainder))
+                )[0]
+            else:
+                dword = struct.unpack("I", self.__data__[i * 4 : i * 4 + 4])[0]
+            # Optimized the calculation (thanks to Emmanuel Bourg for pointing it out!)
+            checksum += dword
+            if checksum >= 2**32:
+                checksum = (checksum & 0xFFFFFFFF) + (checksum >> 32)
+
+        checksum = (checksum & 0xFFFF) + (checksum >> 16)
+        checksum = (checksum) + (checksum >> 16)
+        checksum = checksum & 0xFFFF
+
+        # The length is the one of the original data, not the padded one
+        #
+        return checksum + len(self.__data__)
+
+    def is_exe(self):
+        """Check whether the file is a standard executable.
+
+        This will return true only if the file has the IMAGE_FILE_EXECUTABLE_IMAGE flag
+        set and the IMAGE_FILE_DLL not set and the file does not appear to be a driver
+        either.
+        """
+
+        EXE_flag = IMAGE_CHARACTERISTICS["IMAGE_FILE_EXECUTABLE_IMAGE"]
+
+        if (
+            (not self.is_dll())
+            and (not self.is_driver())
+            and (EXE_flag & self.FILE_HEADER.Characteristics) == EXE_flag
+        ):
+            return True
+
+        return False
+
+    def is_dll(self):
+        """Check whether the file is a standard DLL.
+
+        This will return true only if the image has the IMAGE_FILE_DLL flag set.
+        """
+
+        DLL_flag = IMAGE_CHARACTERISTICS["IMAGE_FILE_DLL"]
+
+        if (DLL_flag & self.FILE_HEADER.Characteristics) == DLL_flag:
+            return True
+
+        return False
+
+    def is_driver(self):
+        """Check whether the file is a Windows driver.
+
+        This will return true only if there are reliable indicators of the image
+        being a driver.
+        """
+
+        # Checking that the ImageBase field of the OptionalHeader is above or
+        # equal to 0x80000000 (that is, whether it lies in the upper 2GB of
+        # the address space, normally belonging to the kernel) is not a
+        # reliable enough indicator.  For instance, PEs that play the invalid
+        # ImageBase trick to get relocated could be incorrectly assumed to be
+        # drivers.
+
+        # This is not reliable either...
+        #
+        # if any((section.Characteristics &
+        #           SECTION_CHARACTERISTICS['IMAGE_SCN_MEM_NOT_PAGED']) for
+        #        section in self.sections ):
+        #    return True
+
+        # If the import directory was not parsed (fast_load = True); do it now.
+        if not hasattr(self, "DIRECTORY_ENTRY_IMPORT"):
+            self.parse_data_directories(
+                directories=[DIRECTORY_ENTRY["IMAGE_DIRECTORY_ENTRY_IMPORT"]]
+            )
+
+        # If there's still no import directory (the PE doesn't have one or it's
+        # malformed), give up.
+        if not hasattr(self, "DIRECTORY_ENTRY_IMPORT"):
+            return False
+
+        # self.DIRECTORY_ENTRY_IMPORT will now exist, although it may be empty.
+        # If it imports from "ntoskrnl.exe" or other kernel components it should
+        # be a driver
+        #
+        system_DLLs = set(
+            (b"ntoskrnl.exe", b"hal.dll", b"ndis.sys", b"bootvid.dll", b"kdcom.dll")
+        )
+        if system_DLLs.intersection(
+            [imp.dll.lower() for imp in self.DIRECTORY_ENTRY_IMPORT]
+        ):
+            return True
+
+        driver_like_section_names = set((b"page", b"paged"))
+        if driver_like_section_names.intersection(
+            [section.Name.lower().rstrip(b"\x00") for section in self.sections]
+        ) and (
+            self.OPTIONAL_HEADER.Subsystem
+            in (
+                SUBSYSTEM_TYPE["IMAGE_SUBSYSTEM_NATIVE"],
+                SUBSYSTEM_TYPE["IMAGE_SUBSYSTEM_NATIVE_WINDOWS"],
+            )
+        ):
+            return True
+
+        return False
+
+    def get_overlay_data_start_offset(self):
+        """Get the offset of data appended to the file and not contained within
+        the area described in the headers."""
+
+        largest_offset_and_size = (0, 0)
+
+        def update_if_sum_is_larger_and_within_file(
+            offset_and_size, file_size=len(self.__data__)
+        ):
+            if sum(offset_and_size) <= file_size and sum(offset_and_size) > sum(
+                largest_offset_and_size
+            ):
+                return offset_and_size
+            return largest_offset_and_size
+
+        if hasattr(self, "OPTIONAL_HEADER"):
+            largest_offset_and_size = update_if_sum_is_larger_and_within_file(
+                (
+                    self.OPTIONAL_HEADER.get_file_offset(),
+                    self.FILE_HEADER.SizeOfOptionalHeader,
+                )
+            )
+
+        for section in self.sections:
+            largest_offset_and_size = update_if_sum_is_larger_and_within_file(
+                (section.PointerToRawData, section.SizeOfRawData)
+            )
+
+        skip_directories = [DIRECTORY_ENTRY["IMAGE_DIRECTORY_ENTRY_SECURITY"]]
+
+        for idx, directory in enumerate(self.OPTIONAL_HEADER.DATA_DIRECTORY):
+            if idx in skip_directories:
+                continue
+            try:
+                largest_offset_and_size = update_if_sum_is_larger_and_within_file(
+                    (self.get_offset_from_rva(directory.VirtualAddress), directory.Size)
+                )
+            # Ignore directories with RVA out of file
+            except PEFormatError:
+                continue
+
+        if len(self.__data__) > sum(largest_offset_and_size):
+            return sum(largest_offset_and_size)
+
+        return None
+
+    def get_overlay(self):
+        """Get the data appended to the file and not contained within the area described
+        in the headers."""
+
+        overlay_data_offset = self.get_overlay_data_start_offset()
+
+        if overlay_data_offset is not None:
+            return self.__data__[overlay_data_offset:]
+
+        return None
+
+    def trim(self):
+        """Return the just data defined by the PE headers, removing any overlaid data."""
+
+        overlay_data_offset = self.get_overlay_data_start_offset()
+
+        if overlay_data_offset is not None:
+            return self.__data__[:overlay_data_offset]
+
+        return self.__data__[:]
+
+    # According to http://corkami.blogspot.com/2010/01/parce-que-la-planche-aura-brule.html
+    # if PointerToRawData is less that 0x200 it's rounded to zero. Loading the test file
+    # in a debugger it's easy to verify that the PointerToRawData value of 1 is rounded
+    # to zero. Hence we reproduce the behavior
+    #
+    # According to the document:
+    # [ Microsoft Portable Executable and Common Object File Format Specification ]
+    # "The alignment factor (in bytes) that is used to align the raw data of sections in
+    #  the image file. The value should be a power of 2 between 512 and 64 K, inclusive.
+    #  The default is 512. If the SectionAlignment is less than the architecture's page
+    #  size, then FileAlignment must match SectionAlignment."
+    #
+    # The following is a hard-coded constant if the Windows loader
+    def adjust_FileAlignment(self, val, file_alignment):
+        if file_alignment > FILE_ALIGNMENT_HARDCODED_VALUE:
+            # If it's not a power of two, report it:
+            if self.FileAlignment_Warning is False and not power_of_two(file_alignment):
+                self.__warnings.append(
+                    "If FileAlignment > 0x200 it should be a power of 2. Value: %x"
+                    % (file_alignment)
+                )
+                self.FileAlignment_Warning = True
+
+        return cache_adjust_FileAlignment(val, file_alignment)
+
+    # According to the document:
+    # [ Microsoft Portable Executable and Common Object File Format Specification ]
+    # "The alignment (in bytes) of sections when they are loaded into memory. It must be
+    #  greater than or equal to FileAlignment. The default is the page size for the
+    #  architecture."
+    #
+    def adjust_SectionAlignment(self, val, section_alignment, file_alignment):
+        if file_alignment < FILE_ALIGNMENT_HARDCODED_VALUE:
+            if (
+                file_alignment != section_alignment
+                and self.SectionAlignment_Warning is False
+            ):
+                self.__warnings.append(
+                    "If FileAlignment(%x) < 0x200 it should equal SectionAlignment(%x)"
+                    % (file_alignment, section_alignment)
+                )
+                self.SectionAlignment_Warning = True
+
+        return cache_adjust_SectionAlignment(val, section_alignment, file_alignment)
+
+
+def main():
+    import sys
+
+    usage = """\
+pefile.py 
+pefile.py exports """
+
+    if not sys.argv[1:]:
+        print(usage)
+    elif sys.argv[1] == "exports":
+        if not sys.argv[2:]:
+            sys.exit("error:  required")
+        pe = PE(sys.argv[2])
+        for exp in pe.DIRECTORY_ENTRY_EXPORT.symbols:
+            print(
+                hex(pe.OPTIONAL_HEADER.ImageBase + exp.address), exp.name, exp.ordinal
+            )
+    else:
+        print(PE(sys.argv[1]).dump_info())
+
+
+if __name__ == "__main__":
+    main()
diff --git a/.venv/Lib/site-packages/peutils.py b/.venv/Lib/site-packages/peutils.py
new file mode 100644
index 0000000..9170cb9
--- /dev/null
+++ b/.venv/Lib/site-packages/peutils.py
@@ -0,0 +1,585 @@
+
+"""peutils, Portable Executable utilities module
+
+
+Copyright (c) 2005-2023 Ero Carrera 
+
+All rights reserved.
+"""
+import os
+import re
+import string
+import urllib.request, urllib.parse, urllib.error
+import pefile
+
+__author__ = "Ero Carrera"
+__version__ = pefile.__version__
+__contact__ = "ero.carrera@gmail.com"
+
+
+class SignatureDatabase(object):
+    """This class loads and keeps a parsed PEiD signature database.
+
+    Usage:
+
+        sig_db = SignatureDatabase('/path/to/signature/file')
+
+    and/or
+
+        sig_db = SignatureDatabase()
+        sig_db.load('/path/to/signature/file')
+
+    Signature databases can be combined by performing multiple loads.
+
+    The filename parameter can be a URL too. In that case the
+    signature database will be downloaded from that location.
+    """
+
+    def __init__(self, filename=None, data=None):
+
+        # RegExp to match a signature block
+        #
+        self.parse_sig = re.compile(
+            "\[(.*?)\]\s+?signature\s*=\s*(.*?)(\s+\?\?)*\s*ep_only\s*=\s*(\w+)(?:\s*section_start_only\s*=\s*(\w+)|)",
+            re.S,
+        )
+
+        # Signature information
+        #
+        # Signatures are stored as trees using dictionaries
+        # The keys are the byte values while the values for
+        # each key are either:
+        #
+        # - Other dictionaries of the same form for further
+        #   bytes in the signature
+        #
+        # - A dictionary with a string as a key (packer name)
+        #   and None as value to indicate a full signature
+        #
+        self.signature_tree_eponly_true = dict()
+        self.signature_count_eponly_true = 0
+        self.signature_tree_eponly_false = dict()
+        self.signature_count_eponly_false = 0
+        self.signature_tree_section_start = dict()
+        self.signature_count_section_start = 0
+
+        # The depth (length) of the longest signature
+        #
+        self.max_depth = 0
+
+        self.__load(filename=filename, data=data)
+
+    def generate_section_signatures(self, pe, name, sig_length=512):
+        """Generates signatures for all the sections in a PE file.
+
+        If the section contains any data a signature will be created
+        for it. The signature name will be a combination of the
+        parameter 'name' and the section number and its name.
+        """
+
+        section_signatures = list()
+
+        for idx, section in enumerate(pe.sections):
+
+            if section.SizeOfRawData < sig_length:
+                continue
+
+            # offset = pe.get_offset_from_rva(section.VirtualAddress)
+            offset = section.PointerToRawData
+
+            sig_name = "%s Section(%d/%d,%s)" % (
+                name,
+                idx + 1,
+                len(pe.sections),
+                "".join([c for c in section.Name if c in string.printable]),
+            )
+
+            section_signatures.append(
+                self.__generate_signature(
+                    pe,
+                    offset,
+                    sig_name,
+                    ep_only=False,
+                    section_start_only=True,
+                    sig_length=sig_length,
+                )
+            )
+
+        return "\n".join(section_signatures) + "\n"
+
+    def generate_ep_signature(self, pe, name, sig_length=512):
+        """Generate signatures for the entry point of a PE file.
+
+        Creates a signature whose name will be the parameter 'name'
+        and the section number and its name.
+        """
+
+        offset = pe.get_offset_from_rva(pe.OPTIONAL_HEADER.AddressOfEntryPoint)
+
+        return self.__generate_signature(
+            pe, offset, name, ep_only=True, sig_length=sig_length
+        )
+
+    def __generate_signature(
+        self, pe, offset, name, ep_only=False, section_start_only=False, sig_length=512
+    ):
+
+        data = pe.__data__[offset : offset + sig_length]
+
+        signature_bytes = " ".join(["%02x" % ord(c) for c in data])
+
+        if ep_only == True:
+            ep_only = "true"
+        else:
+            ep_only = "false"
+
+        if section_start_only == True:
+            section_start_only = "true"
+        else:
+            section_start_only = "false"
+
+        signature = "[%s]\nsignature = %s\nep_only = %s\nsection_start_only = %s\n" % (
+            name,
+            signature_bytes,
+            ep_only,
+            section_start_only,
+        )
+
+        return signature
+
+    def match(self, pe, ep_only=True, section_start_only=False):
+        """Matches and returns the exact match(es).
+
+        If ep_only is True the result will be a string with
+        the packer name. Otherwise it will be a list of the
+        form (file_offset, packer_name) specifying where
+        in the file the signature was found.
+        """
+
+        matches = self.__match(pe, ep_only, section_start_only)
+
+        # The last match (the most precise) from the
+        # list of matches (if any) is returned
+        #
+        if matches:
+            if ep_only == False:
+                # Get the most exact match for each list of matches
+                # at a given offset
+                #
+                return [(match[0], match[1][-1]) for match in matches]
+
+            return matches[1][-1]
+
+        return None
+
+    def match_all(self, pe, ep_only=True, section_start_only=False):
+        """Matches and returns all the likely matches."""
+
+        matches = self.__match(pe, ep_only, section_start_only)
+
+        if matches:
+            if ep_only == False:
+                # Get the most exact match for each list of matches
+                # at a given offset
+                #
+                return matches
+
+            return matches[1]
+
+        return None
+
+    def __match(self, pe, ep_only, section_start_only):
+
+        # Load the corresponding set of signatures
+        # Either the one for ep_only equal to True or
+        # to False
+        #
+        if section_start_only is True:
+
+            # Fetch the data of the executable as it'd
+            # look once loaded in memory
+            #
+            try:
+                data = pe.__data__
+            except Exception as excp:
+                raise
+
+            # Load the corresponding tree of signatures
+            #
+            signatures = self.signature_tree_section_start
+
+            # Set the starting address to start scanning from
+            #
+            scan_addresses = [section.PointerToRawData for section in pe.sections]
+
+        elif ep_only is True:
+
+            # Fetch the data of the executable as it'd
+            # look once loaded in memory
+            #
+            try:
+                data = pe.get_memory_mapped_image()
+            except Exception as excp:
+                raise
+
+            # Load the corresponding tree of signatures
+            #
+            signatures = self.signature_tree_eponly_true
+
+            # Fetch the entry point of the PE file and the data
+            # at the entry point
+            #
+            ep = pe.OPTIONAL_HEADER.AddressOfEntryPoint
+
+            # Set the starting address to start scanning from
+            #
+            scan_addresses = [ep]
+
+        else:
+
+            data = pe.__data__
+
+            signatures = self.signature_tree_eponly_false
+
+            scan_addresses = range(len(data))
+
+        # For each start address, check if any signature matches
+        #
+        matches = []
+        for idx in scan_addresses:
+            result = self.__match_signature_tree(
+                signatures, data[idx : idx + self.max_depth]
+            )
+            if result:
+                matches.append((idx, result))
+
+        # Return only the matched items found at the entry point if
+        # ep_only is True (matches will have only one element in that
+        # case)
+        #
+        if ep_only is True:
+            if matches:
+                return matches[0]
+
+        return matches
+
+    def match_data(self, code_data, ep_only=True, section_start_only=False):
+
+        data = code_data
+        scan_addresses = [0]
+
+        # Load the corresponding set of signatures
+        # Either the one for ep_only equal to True or
+        # to False
+        #
+        if section_start_only is True:
+
+            # Load the corresponding tree of signatures
+            #
+            signatures = self.signature_tree_section_start
+
+            # Set the starting address to start scanning from
+            #
+
+        elif ep_only is True:
+
+            # Load the corresponding tree of signatures
+            #
+            signatures = self.signature_tree_eponly_true
+
+        # For each start address, check if any signature matches
+        #
+        matches = []
+        for idx in scan_addresses:
+            result = self.__match_signature_tree(
+                signatures, data[idx : idx + self.max_depth]
+            )
+            if result:
+                matches.append((idx, result))
+
+        # Return only the matched items found at the entry point if
+        # ep_only is True (matches will have only one element in that
+        # case)
+        #
+        if ep_only is True:
+            if matches:
+                return matches[0]
+
+        return matches
+
+    def __match_signature_tree(self, signature_tree, data, depth=0):
+        """Recursive function to find matches along the signature tree.
+
+        signature_tree  is the part of the tree left to walk
+        data    is the data being checked against the signature tree
+        depth   keeps track of how far we have gone down the tree
+        """
+
+        matched_names = list()
+        match = signature_tree
+
+        # Walk the bytes in the data and match them
+        # against the signature
+        #
+        for idx, byte in enumerate([b if isinstance(b, int) else ord(b) for b in data]):
+
+            # If the tree is exhausted...
+            #
+            if match is None:
+                break
+
+            # Get the next byte in the tree
+            #
+            match_next = match.get(byte, None)
+
+            # If None is among the values for the key
+            # it means that a signature in the database
+            # ends here and that there's an exact match.
+            #
+            if None in list(match.values()):
+                # idx represent how deep we are in the tree
+                #
+                # names = [idx+depth]
+                names = list()
+
+                # For each of the item pairs we check
+                # if it has an element other than None,
+                # if not then we have an exact signature
+                #
+                for item in list(match.items()):
+                    if item[1] is None:
+                        names.append(item[0])
+                matched_names.append(names)
+
+            # If a wildcard is found keep scanning the signature
+            # ignoring the byte.
+            #
+            if "??" in match:
+                match_tree_alternate = match.get("??", None)
+                data_remaining = data[idx + 1 :]
+                if data_remaining:
+                    matched_names.extend(
+                        self.__match_signature_tree(
+                            match_tree_alternate, data_remaining, idx + depth + 1
+                        )
+                    )
+
+            match = match_next
+
+        # If we have any more packer name in the end of the signature tree
+        # add them to the matches
+        #
+        if match is not None and None in list(match.values()):
+            # names = [idx + depth + 1]
+            names = list()
+            for item in list(match.items()):
+                if item[1] is None:
+                    names.append(item[0])
+            matched_names.append(names)
+
+        return matched_names
+
+    def load(self, filename=None, data=None):
+        """Load a PEiD signature file.
+
+        Invoking this method on different files combines the signatures.
+        """
+
+        self.__load(filename=filename, data=data)
+
+    def __load(self, filename=None, data=None):
+
+        if filename is not None:
+            # If the path does not exist, attempt to open a URL
+            #
+            if not os.path.exists(filename):
+                try:
+                    sig_f = urllib.request.urlopen(filename)
+                    sig_data = sig_f.read()
+                    sig_f.close()
+                except IOError:
+                    # Let this be raised back to the user...
+                    raise
+            else:
+                # Get the data for a file
+                #
+                try:
+                    sig_f = open(filename, "rt")
+                    sig_data = sig_f.read()
+                    sig_f.close()
+                except IOError:
+                    # Let this be raised back to the user...
+                    raise
+        else:
+            sig_data = data
+
+        # If the file/URL could not be read or no "raw" data
+        # was provided there's nothing else to do
+        #
+        if not sig_data:
+            return
+
+        # Helper function to parse the signature bytes
+        #
+        def to_byte(value):
+            if "?" in value:
+                return value
+            return int(value, 16)
+
+        # Parse all the signatures in the file
+        #
+        matches = self.parse_sig.findall(sig_data)
+
+        # For each signature, get the details and load it into the
+        # signature tree
+        #
+        for (
+            packer_name,
+            signature,
+            superfluous_wildcards,
+            ep_only,
+            section_start_only,
+        ) in matches:
+
+            ep_only = ep_only.strip().lower()
+
+            signature = signature.replace("\\n", "").strip()
+
+            signature_bytes = [to_byte(b) for b in signature.split()]
+
+            if ep_only == "true":
+                ep_only = True
+            else:
+                ep_only = False
+
+            if section_start_only == "true":
+                section_start_only = True
+            else:
+                section_start_only = False
+
+            depth = 0
+
+            if section_start_only is True:
+
+                tree = self.signature_tree_section_start
+                self.signature_count_section_start += 1
+
+            else:
+                if ep_only is True:
+                    tree = self.signature_tree_eponly_true
+                    self.signature_count_eponly_true += 1
+                else:
+                    tree = self.signature_tree_eponly_false
+                    self.signature_count_eponly_false += 1
+
+            for idx, byte in enumerate(signature_bytes):
+
+                if idx + 1 == len(signature_bytes):
+
+                    tree[byte] = tree.get(byte, dict())
+                    tree[byte][packer_name] = None
+
+                else:
+
+                    tree[byte] = tree.get(byte, dict())
+
+                tree = tree[byte]
+                depth += 1
+
+            if depth > self.max_depth:
+                self.max_depth = depth
+
+
+def is_valid(pe):
+    """"""
+    pass
+
+
+def is_suspicious(pe):
+    """
+    unusual locations of import tables
+    non recognized section names
+    presence of long ASCII strings
+    """
+
+    relocations_overlap_entry_point = False
+    sequential_relocs = 0
+
+    # If relocation data is found and the entries go over the entry point, and also are very
+    # continuous or point outside section's boundaries => it might imply that an obfuscation
+    # trick is being used or the relocations are corrupt (maybe intentionally)
+    #
+    if hasattr(pe, "DIRECTORY_ENTRY_BASERELOC"):
+        for base_reloc in pe.DIRECTORY_ENTRY_BASERELOC:
+            last_reloc_rva = None
+            for reloc in base_reloc.entries:
+                if reloc.rva <= pe.OPTIONAL_HEADER.AddressOfEntryPoint <= reloc.rva + 4:
+                    relocations_overlap_entry_point = True
+
+                if (
+                    last_reloc_rva is not None
+                    and last_reloc_rva <= reloc.rva <= last_reloc_rva + 4
+                ):
+                    sequential_relocs += 1
+
+                last_reloc_rva = reloc.rva
+
+    # If import tables or strings exist (are pointed to) to within the header or in the area
+    # between the PE header and the first section that's suspicious
+    #
+    # IMPLEMENT
+
+    warnings_while_parsing = False
+    # If we have warnings, that's suspicious, some of those will be because of out-of-ordinary
+    # values are found in the PE header fields
+    # Things that are reported in warnings:
+    # (parsing problems, special section characteristics i.e. W & X, uncommon values of fields,
+    # unusual entrypoint, suspicious imports)
+    #
+    warnings = pe.get_warnings()
+    if warnings:
+        warnings_while_parsing
+
+    # If there are few or none (should come with a standard "density" of strings/kilobytes of data) longer (>8)
+    # ascii sequences that might indicate packed data, (this is similar to the entropy test in some ways but
+    # might help to discard cases of legitimate installer or compressed data)
+
+    # If compressed data (high entropy) and is_driver => uuuuhhh, nasty
+
+    pass
+
+
+def is_probably_packed(pe):
+    """Returns True is there is a high likelihood that a file is packed or contains compressed data.
+
+    The sections of the PE file will be analyzed, if enough sections
+    look like containing compressed data and the data makes
+    up for more than 20% of the total file size, the function will
+    return True.
+    """
+
+    # Calculate the length of the data up to the end of the last section in the
+    # file. Overlay data won't be taken into account
+    #
+    total_pe_data_length = len(pe.trim())
+    # Assume that the file is packed when no data is available
+    if not total_pe_data_length:
+        return True
+    has_significant_amount_of_compressed_data = False
+
+    # If some of the sections have high entropy and they make for more than 20% of the file's size
+    # it's assumed that it could be an installer or a packed file
+
+    total_compressed_data = 0
+    for section in pe.sections:
+        s_entropy = section.get_entropy()
+        s_length = len(section.get_data())
+        # The value of 7.4 is empirical, based on looking at a few files packed
+        # by different packers
+        if s_entropy > 7.4:
+            total_compressed_data += s_length
+
+    if (total_compressed_data / total_pe_data_length) > 0.2:
+        has_significant_amount_of_compressed_data = True
+
+    return has_significant_amount_of_compressed_data
diff --git a/.venv/Lib/site-packages/pip-24.0.dist-info/RECORD b/.venv/Lib/site-packages/pip-24.0.dist-info/RECORD
deleted file mode 100644
index d789d36..0000000
--- a/.venv/Lib/site-packages/pip-24.0.dist-info/RECORD
+++ /dev/null
@@ -1,1024 +0,0 @@
-../../Scripts/pip.exe,sha256=n-WeAn32qEL_6rveWp9B1g7nU75HumtthWLG5ZxVCKU,108424
-../../Scripts/pip3.11.exe,sha256=n-WeAn32qEL_6rveWp9B1g7nU75HumtthWLG5ZxVCKU,108424
-../../Scripts/pip3.exe,sha256=n-WeAn32qEL_6rveWp9B1g7nU75HumtthWLG5ZxVCKU,108424
-pip-24.0.dist-info/AUTHORS.txt,sha256=SwXm4nkwRkmtnO1ZY-dLy7EPeoQNXMNLby5CN3GlNhY,10388
-pip-24.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
-pip-24.0.dist-info/LICENSE.txt,sha256=Y0MApmnUmurmWxLGxIySTFGkzfPR_whtw0VtyLyqIQQ,1093
-pip-24.0.dist-info/METADATA,sha256=kNEfJ3_Vho2mee4lfJdlbd5RHIqsfQJSMUB-bOkIOeI,3581
-pip-24.0.dist-info/RECORD,,
-pip-24.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip-24.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
-pip-24.0.dist-info/entry_points.txt,sha256=ynZN1_707_L23Oa8_O5LOxEoccj1nDa4xHT5galfN7o,125
-pip-24.0.dist-info/top_level.txt,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
-pip/__init__.py,sha256=oAk1nFpLmUVS5Ln7NxvNoGUn5Vkn6FGQjPaNDf8Q8pk,355
-pip/__main__.py,sha256=WzbhHXTbSE6gBY19mNN9m4s5o_365LOvTYSgqgbdBhE,854
-pip/__pip-runner__.py,sha256=EnrfKmKMzWAdqg_JicLCOP9Y95Ux7zHh4ObvqLtQcjo,1444
-pip/__pycache__/__init__.cpython-311.pyc,,
-pip/__pycache__/__main__.cpython-311.pyc,,
-pip/__pycache__/__pip-runner__.cpython-311.pyc,,
-pip/_internal/__init__.py,sha256=iqZ5-YQsQV08tkUc7L806Reop6tguLFWf70ySF6be0Y,515
-pip/_internal/__pycache__/__init__.cpython-311.pyc,,
-pip/_internal/__pycache__/build_env.cpython-311.pyc,,
-pip/_internal/__pycache__/cache.cpython-311.pyc,,
-pip/_internal/__pycache__/configuration.cpython-311.pyc,,
-pip/_internal/__pycache__/exceptions.cpython-311.pyc,,
-pip/_internal/__pycache__/main.cpython-311.pyc,,
-pip/_internal/__pycache__/pyproject.cpython-311.pyc,,
-pip/_internal/__pycache__/self_outdated_check.cpython-311.pyc,,
-pip/_internal/__pycache__/wheel_builder.cpython-311.pyc,,
-pip/_internal/build_env.py,sha256=1ESpqw0iupS_K7phZK5zshVE5Czy9BtGLFU4W6Enva8,10243
-pip/_internal/cache.py,sha256=uiYD-9F0Bv1C8ZyWE85lpzDmQf7hcUkgL99GmI8I41Q,10370
-pip/_internal/cli/__init__.py,sha256=FkHBgpxxb-_gd6r1FjnNhfMOzAUYyXoXKJ6abijfcFU,132
-pip/_internal/cli/__pycache__/__init__.cpython-311.pyc,,
-pip/_internal/cli/__pycache__/autocompletion.cpython-311.pyc,,
-pip/_internal/cli/__pycache__/base_command.cpython-311.pyc,,
-pip/_internal/cli/__pycache__/cmdoptions.cpython-311.pyc,,
-pip/_internal/cli/__pycache__/command_context.cpython-311.pyc,,
-pip/_internal/cli/__pycache__/main.cpython-311.pyc,,
-pip/_internal/cli/__pycache__/main_parser.cpython-311.pyc,,
-pip/_internal/cli/__pycache__/parser.cpython-311.pyc,,
-pip/_internal/cli/__pycache__/progress_bars.cpython-311.pyc,,
-pip/_internal/cli/__pycache__/req_command.cpython-311.pyc,,
-pip/_internal/cli/__pycache__/spinners.cpython-311.pyc,,
-pip/_internal/cli/__pycache__/status_codes.cpython-311.pyc,,
-pip/_internal/cli/autocompletion.py,sha256=_br_5NgSxSuvPjMF0MLHzS5s6BpSkQAQHKrLK89VauM,6690
-pip/_internal/cli/base_command.py,sha256=iuVWGa2oTq7gBReo0er3Z0tXJ2oqBIC6QjDHcnDhKXY,8733
-pip/_internal/cli/cmdoptions.py,sha256=1EIm8yMixQMELO4QzogdIoWkvIlQqlAW0YnPeOmnvEA,30064
-pip/_internal/cli/command_context.py,sha256=RHgIPwtObh5KhMrd3YZTkl8zbVG-6Okml7YbFX4Ehg0,774
-pip/_internal/cli/main.py,sha256=Uzxt_YD1hIvB1AW5mxt6IVcht5G712AtMqdo51UMhmQ,2816
-pip/_internal/cli/main_parser.py,sha256=laDpsuBDl6kyfywp9eMMA9s84jfH2TJJn-vmL0GG90w,4338
-pip/_internal/cli/parser.py,sha256=KW6C3-7-4ErTNB0TfLTKwOdHcd-qefCeGnrOoE2r0RQ,10781
-pip/_internal/cli/progress_bars.py,sha256=So4mPoSjXkXiSHiTzzquH3VVyVD_njXlHJSExYPXAow,1968
-pip/_internal/cli/req_command.py,sha256=c7_XHABnXmD3_qlK9-r37KqdKBAcgmVKvQ2WcTrNLfc,18369
-pip/_internal/cli/spinners.py,sha256=hIJ83GerdFgFCdobIA23Jggetegl_uC4Sp586nzFbPE,5118
-pip/_internal/cli/status_codes.py,sha256=sEFHUaUJbqv8iArL3HAtcztWZmGOFX01hTesSytDEh0,116
-pip/_internal/commands/__init__.py,sha256=5oRO9O3dM2vGuh0bFw4HOVletryrz5HHMmmPWwJrH9U,3882
-pip/_internal/commands/__pycache__/__init__.cpython-311.pyc,,
-pip/_internal/commands/__pycache__/cache.cpython-311.pyc,,
-pip/_internal/commands/__pycache__/check.cpython-311.pyc,,
-pip/_internal/commands/__pycache__/completion.cpython-311.pyc,,
-pip/_internal/commands/__pycache__/configuration.cpython-311.pyc,,
-pip/_internal/commands/__pycache__/debug.cpython-311.pyc,,
-pip/_internal/commands/__pycache__/download.cpython-311.pyc,,
-pip/_internal/commands/__pycache__/freeze.cpython-311.pyc,,
-pip/_internal/commands/__pycache__/hash.cpython-311.pyc,,
-pip/_internal/commands/__pycache__/help.cpython-311.pyc,,
-pip/_internal/commands/__pycache__/index.cpython-311.pyc,,
-pip/_internal/commands/__pycache__/inspect.cpython-311.pyc,,
-pip/_internal/commands/__pycache__/install.cpython-311.pyc,,
-pip/_internal/commands/__pycache__/list.cpython-311.pyc,,
-pip/_internal/commands/__pycache__/search.cpython-311.pyc,,
-pip/_internal/commands/__pycache__/show.cpython-311.pyc,,
-pip/_internal/commands/__pycache__/uninstall.cpython-311.pyc,,
-pip/_internal/commands/__pycache__/wheel.cpython-311.pyc,,
-pip/_internal/commands/cache.py,sha256=xg76_ZFEBC6zoQ3gXLRfMZJft4z2a0RwH4GEFZC6nnU,7944
-pip/_internal/commands/check.py,sha256=Rb13Q28yoLh0j1gpx5SU0jlResNct21eQCRsnaO9xKA,1782
-pip/_internal/commands/completion.py,sha256=HT4lD0bgsflHq2IDgYfiEdp7IGGtE7s6MgI3xn0VQEw,4287
-pip/_internal/commands/configuration.py,sha256=n98enwp6y0b5G6fiRQjaZo43FlJKYve_daMhN-4BRNc,9766
-pip/_internal/commands/debug.py,sha256=63972uUCeMIGOdMMVeIUGrOjTOqTVWplFC82a-hcKyA,6777
-pip/_internal/commands/download.py,sha256=e4hw088zGo26WmJaMIRvCniLlLmoOjqolGyfHjsCkCQ,5335
-pip/_internal/commands/freeze.py,sha256=2qjQrH9KWi5Roav0CuR7vc7hWm4uOi_0l6tp3ESKDHM,3172
-pip/_internal/commands/hash.py,sha256=EVVOuvGtoPEdFi8SNnmdqlCQrhCxV-kJsdwtdcCnXGQ,1703
-pip/_internal/commands/help.py,sha256=gcc6QDkcgHMOuAn5UxaZwAStsRBrnGSn_yxjS57JIoM,1132
-pip/_internal/commands/index.py,sha256=CNXQer_PeZKSJooURcCFCBEKGfwyNoUWYP_MWczAcOM,4775
-pip/_internal/commands/inspect.py,sha256=2wSPt9yfr3r6g-s2S5L6PvRtaHNVyb4TuodMStJ39cw,3188
-pip/_internal/commands/install.py,sha256=VxDd-BD3a27ApeE2OK34rfBXS6Zo2wtemK9-HCwPqxM,28782
-pip/_internal/commands/list.py,sha256=7wRUUmdyyOknl-WZYbO_LtFQxHlWod3pjOY9yYH435o,12450
-pip/_internal/commands/search.py,sha256=sbBZiARRc050QquOKcCvOr2K3XLsoYebLKZGRi__iUI,5697
-pip/_internal/commands/show.py,sha256=t5jia4zcYJRJZy4U_Von7zMl03hJmmcofj6oDNTnj7Y,6419
-pip/_internal/commands/uninstall.py,sha256=OIqO9tqadY8kM4HwhFf1Q62fUIp7v8KDrTRo8yWMz7Y,3886
-pip/_internal/commands/wheel.py,sha256=CSnX8Pmf1oPCnd7j7bn1_f58G9KHNiAblvVJ5zykN-A,6476
-pip/_internal/configuration.py,sha256=XkAiBS0hpzsM-LF0Qu5hvPWO_Bs67-oQKRYFBuMbESs,14006
-pip/_internal/distributions/__init__.py,sha256=Hq6kt6gXBgjNit5hTTWLAzeCNOKoB-N0pGYSqehrli8,858
-pip/_internal/distributions/__pycache__/__init__.cpython-311.pyc,,
-pip/_internal/distributions/__pycache__/base.cpython-311.pyc,,
-pip/_internal/distributions/__pycache__/installed.cpython-311.pyc,,
-pip/_internal/distributions/__pycache__/sdist.cpython-311.pyc,,
-pip/_internal/distributions/__pycache__/wheel.cpython-311.pyc,,
-pip/_internal/distributions/base.py,sha256=oRSEvnv2ZjBnargamnv2fcJa1n6gUDKaW0g6CWSEpWs,1743
-pip/_internal/distributions/installed.py,sha256=QinHFbWAQ8oE0pbD8MFZWkwlnfU1QYTccA1vnhrlYOU,842
-pip/_internal/distributions/sdist.py,sha256=4K3V0VNMllHbBzCJibjwd_tylUKpmIdu2AQyhplvCQo,6709
-pip/_internal/distributions/wheel.py,sha256=-ma3sOtUQj0AxXCEb6_Fhmjl3nh4k3A0HC2taAb2N-4,1277
-pip/_internal/exceptions.py,sha256=TmF1iNFEneSWaemwlg6a5bpPuq2cMHK7d1-SvjsQHb0,23634
-pip/_internal/index/__init__.py,sha256=vpt-JeTZefh8a-FC22ZeBSXFVbuBcXSGiILhQZJaNpQ,30
-pip/_internal/index/__pycache__/__init__.cpython-311.pyc,,
-pip/_internal/index/__pycache__/collector.cpython-311.pyc,,
-pip/_internal/index/__pycache__/package_finder.cpython-311.pyc,,
-pip/_internal/index/__pycache__/sources.cpython-311.pyc,,
-pip/_internal/index/collector.py,sha256=sH0tL_cOoCk6pLLfCSGVjFM4rPEJtllF-VobvAvLSH4,16590
-pip/_internal/index/package_finder.py,sha256=S_nC8gzVIMY6ikWfKoSOzRtoesUqnfNhAPl_BwSOusA,37843
-pip/_internal/index/sources.py,sha256=dJegiR9f86kslaAHcv9-R5L_XBf5Rzm_FkyPteDuPxI,8688
-pip/_internal/locations/__init__.py,sha256=Dh8LJWG8LRlDK4JIj9sfRF96TREzE--N_AIlx7Tqoe4,15365
-pip/_internal/locations/__pycache__/__init__.cpython-311.pyc,,
-pip/_internal/locations/__pycache__/_distutils.cpython-311.pyc,,
-pip/_internal/locations/__pycache__/_sysconfig.cpython-311.pyc,,
-pip/_internal/locations/__pycache__/base.cpython-311.pyc,,
-pip/_internal/locations/_distutils.py,sha256=H9ZHK_35rdDV1Qsmi4QeaBULjFT4Mbu6QuoVGkJ6QHI,6009
-pip/_internal/locations/_sysconfig.py,sha256=jyNVtUfMIf0mtyY-Xp1m9yQ8iwECozSVVFmjkN9a2yw,7680
-pip/_internal/locations/base.py,sha256=RQiPi1d4FVM2Bxk04dQhXZ2PqkeljEL2fZZ9SYqIQ78,2556
-pip/_internal/main.py,sha256=r-UnUe8HLo5XFJz8inTcOOTiu_sxNhgHb6VwlGUllOI,340
-pip/_internal/metadata/__init__.py,sha256=9pU3W3s-6HtjFuYhWcLTYVmSaziklPv7k2x8p7X1GmA,4339
-pip/_internal/metadata/__pycache__/__init__.cpython-311.pyc,,
-pip/_internal/metadata/__pycache__/_json.cpython-311.pyc,,
-pip/_internal/metadata/__pycache__/base.cpython-311.pyc,,
-pip/_internal/metadata/__pycache__/pkg_resources.cpython-311.pyc,,
-pip/_internal/metadata/_json.py,sha256=Rz5M5ciSNvITwaTQR6NfN8TgKgM5WfTws4D6CFknovE,2627
-pip/_internal/metadata/base.py,sha256=l3Wgku4xlgr8s4p6fS-3qQ4QKOpPbWLRwi5d9omEFG4,25907
-pip/_internal/metadata/importlib/__init__.py,sha256=jUUidoxnHcfITHHaAWG1G2i5fdBYklv_uJcjo2x7VYE,135
-pip/_internal/metadata/importlib/__pycache__/__init__.cpython-311.pyc,,
-pip/_internal/metadata/importlib/__pycache__/_compat.cpython-311.pyc,,
-pip/_internal/metadata/importlib/__pycache__/_dists.cpython-311.pyc,,
-pip/_internal/metadata/importlib/__pycache__/_envs.cpython-311.pyc,,
-pip/_internal/metadata/importlib/_compat.py,sha256=GAe_prIfCE4iUylrnr_2dJRlkkBVRUbOidEoID7LPoE,1882
-pip/_internal/metadata/importlib/_dists.py,sha256=UPl1wUujFqiwiltRJ1tMF42WRINO1sSpNNlYQ2mX0mk,8297
-pip/_internal/metadata/importlib/_envs.py,sha256=XTaFIYERP2JF0QUZuPx2ETiugXbPEcZ8q8ZKeht6Lpc,7456
-pip/_internal/metadata/pkg_resources.py,sha256=opjw4IBSqHvie6sXJ_cbT42meygoPEUfNURJuWZY7sk,10035
-pip/_internal/models/__init__.py,sha256=3DHUd_qxpPozfzouoqa9g9ts1Czr5qaHfFxbnxriepM,63
-pip/_internal/models/__pycache__/__init__.cpython-311.pyc,,
-pip/_internal/models/__pycache__/candidate.cpython-311.pyc,,
-pip/_internal/models/__pycache__/direct_url.cpython-311.pyc,,
-pip/_internal/models/__pycache__/format_control.cpython-311.pyc,,
-pip/_internal/models/__pycache__/index.cpython-311.pyc,,
-pip/_internal/models/__pycache__/installation_report.cpython-311.pyc,,
-pip/_internal/models/__pycache__/link.cpython-311.pyc,,
-pip/_internal/models/__pycache__/scheme.cpython-311.pyc,,
-pip/_internal/models/__pycache__/search_scope.cpython-311.pyc,,
-pip/_internal/models/__pycache__/selection_prefs.cpython-311.pyc,,
-pip/_internal/models/__pycache__/target_python.cpython-311.pyc,,
-pip/_internal/models/__pycache__/wheel.cpython-311.pyc,,
-pip/_internal/models/candidate.py,sha256=hEPu8VdGE5qVASv6vLz-R-Rgh5-7LMbai1jgthMCd8M,931
-pip/_internal/models/direct_url.py,sha256=FwouYBKcqckh7B-k2H3HVgRhhFTukFwqiS3kfvtFLSk,6889
-pip/_internal/models/format_control.py,sha256=wtsQqSK9HaUiNxQEuB-C62eVimw6G4_VQFxV9-_KDBE,2486
-pip/_internal/models/index.py,sha256=tYnL8oxGi4aSNWur0mG8DAP7rC6yuha_MwJO8xw0crI,1030
-pip/_internal/models/installation_report.py,sha256=zRVZoaz-2vsrezj_H3hLOhMZCK9c7TbzWgC-jOalD00,2818
-pip/_internal/models/link.py,sha256=XirOAGv1jgMu7vu87kuPbohGj7VHpwVrd2q3KUgVQNg,20777
-pip/_internal/models/scheme.py,sha256=3EFQp_ICu_shH1-TBqhl0QAusKCPDFOlgHFeN4XowWs,738
-pip/_internal/models/search_scope.py,sha256=ASVyyZxiJILw7bTIVVpJx8J293M3Hk5F33ilGn0e80c,4643
-pip/_internal/models/selection_prefs.py,sha256=KZdi66gsR-_RUXUr9uejssk3rmTHrQVJWeNA2sV-VSY,1907
-pip/_internal/models/target_python.py,sha256=34EkorrMuRvRp-bjqHKJ-bOO71m9xdjN2b8WWFEC2HU,4272
-pip/_internal/models/wheel.py,sha256=YqazoIZyma_Q1ejFa1C7NHKQRRWlvWkdK96VRKmDBeI,3600
-pip/_internal/network/__init__.py,sha256=jf6Tt5nV_7zkARBrKojIXItgejvoegVJVKUbhAa5Ioc,50
-pip/_internal/network/__pycache__/__init__.cpython-311.pyc,,
-pip/_internal/network/__pycache__/auth.cpython-311.pyc,,
-pip/_internal/network/__pycache__/cache.cpython-311.pyc,,
-pip/_internal/network/__pycache__/download.cpython-311.pyc,,
-pip/_internal/network/__pycache__/lazy_wheel.cpython-311.pyc,,
-pip/_internal/network/__pycache__/session.cpython-311.pyc,,
-pip/_internal/network/__pycache__/utils.cpython-311.pyc,,
-pip/_internal/network/__pycache__/xmlrpc.cpython-311.pyc,,
-pip/_internal/network/auth.py,sha256=TC-OcW2KU4W6R1hU4qPgQXvVH54adACpZz6sWq-R9NA,20541
-pip/_internal/network/cache.py,sha256=48A971qCzKNFvkb57uGEk7-0xaqPS0HWj2711QNTxkU,3935
-pip/_internal/network/download.py,sha256=i0Tn55CD5D7XYEFY3TxiYaCf0OaaTQ6SScNgCsSeV14,6086
-pip/_internal/network/lazy_wheel.py,sha256=2PXVduYZPCPZkkQFe1J1GbfHJWeCU--FXonGyIfw9eU,7638
-pip/_internal/network/session.py,sha256=9tqEDD8JiVaFdplOEXJxNo9cjRfBZ6RIa0yQQ_qBNiM,18698
-pip/_internal/network/utils.py,sha256=6A5SrUJEEUHxbGtbscwU2NpCyz-3ztiDlGWHpRRhsJ8,4073
-pip/_internal/network/xmlrpc.py,sha256=sAxzOacJ-N1NXGPvap9jC3zuYWSnnv3GXtgR2-E2APA,1838
-pip/_internal/operations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_internal/operations/__pycache__/__init__.cpython-311.pyc,,
-pip/_internal/operations/__pycache__/check.cpython-311.pyc,,
-pip/_internal/operations/__pycache__/freeze.cpython-311.pyc,,
-pip/_internal/operations/__pycache__/prepare.cpython-311.pyc,,
-pip/_internal/operations/build/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_internal/operations/build/__pycache__/__init__.cpython-311.pyc,,
-pip/_internal/operations/build/__pycache__/build_tracker.cpython-311.pyc,,
-pip/_internal/operations/build/__pycache__/metadata.cpython-311.pyc,,
-pip/_internal/operations/build/__pycache__/metadata_editable.cpython-311.pyc,,
-pip/_internal/operations/build/__pycache__/metadata_legacy.cpython-311.pyc,,
-pip/_internal/operations/build/__pycache__/wheel.cpython-311.pyc,,
-pip/_internal/operations/build/__pycache__/wheel_editable.cpython-311.pyc,,
-pip/_internal/operations/build/__pycache__/wheel_legacy.cpython-311.pyc,,
-pip/_internal/operations/build/build_tracker.py,sha256=z-H5DOknZdBa3dh2Vq6VBMY5qLYIKmlj2p6CGZK5Lc8,4832
-pip/_internal/operations/build/metadata.py,sha256=9S0CUD8U3QqZeXp-Zyt8HxwU90lE4QrnYDgrqZDzBnc,1422
-pip/_internal/operations/build/metadata_editable.py,sha256=VLL7LvntKE8qxdhUdEJhcotFzUsOSI8NNS043xULKew,1474
-pip/_internal/operations/build/metadata_legacy.py,sha256=o-eU21As175hDC7dluM1fJJ_FqokTIShyWpjKaIpHZw,2198
-pip/_internal/operations/build/wheel.py,sha256=sT12FBLAxDC6wyrDorh8kvcZ1jG5qInCRWzzP-UkJiQ,1075
-pip/_internal/operations/build/wheel_editable.py,sha256=yOtoH6zpAkoKYEUtr8FhzrYnkNHQaQBjWQ2HYae1MQg,1417
-pip/_internal/operations/build/wheel_legacy.py,sha256=C9j6rukgQI1n_JeQLoZGuDdfUwzCXShyIdPTp6edbMQ,3064
-pip/_internal/operations/check.py,sha256=fsqA88iGaqftCr2tlP3sSU202CSkoODRtW0O-JU9M4Y,6806
-pip/_internal/operations/freeze.py,sha256=uqoeTAf6HOYVMR2UgAT8N85UZoGEVEoQdan_Ao6SOfk,9816
-pip/_internal/operations/install/__init__.py,sha256=mX7hyD2GNBO2mFGokDQ30r_GXv7Y_PLdtxcUv144e-s,51
-pip/_internal/operations/install/__pycache__/__init__.cpython-311.pyc,,
-pip/_internal/operations/install/__pycache__/editable_legacy.cpython-311.pyc,,
-pip/_internal/operations/install/__pycache__/wheel.cpython-311.pyc,,
-pip/_internal/operations/install/editable_legacy.py,sha256=YeR0KadWXw_ZheC1NtAG1qVIEkOgRGHc23x-YtGW7NU,1282
-pip/_internal/operations/install/wheel.py,sha256=9hGb1c4bRnPIb2FG7CtUSPfPxqprmHQBtwIAlWPNTtE,27311
-pip/_internal/operations/prepare.py,sha256=57Oq87HfunX3Rbqp47FdaJr9cHbAKUm_3gv7WhBAqbE,28128
-pip/_internal/pyproject.py,sha256=4Xszp11xgr126yzG6BbJA0oaQ9WXuhb0jyUb-y_6lPQ,7152
-pip/_internal/req/__init__.py,sha256=TELFgZOof3lhMmaICVWL9U7PlhXo9OufokbMAJ6J2GI,2738
-pip/_internal/req/__pycache__/__init__.cpython-311.pyc,,
-pip/_internal/req/__pycache__/constructors.cpython-311.pyc,,
-pip/_internal/req/__pycache__/req_file.cpython-311.pyc,,
-pip/_internal/req/__pycache__/req_install.cpython-311.pyc,,
-pip/_internal/req/__pycache__/req_set.cpython-311.pyc,,
-pip/_internal/req/__pycache__/req_uninstall.cpython-311.pyc,,
-pip/_internal/req/constructors.py,sha256=8hlY56imEthLORRwmloyKz3YOyXymIaKsNB6P9ewvNI,19018
-pip/_internal/req/req_file.py,sha256=M8ttOZL-PwAj7scPElhW3ZD2hiD9mm_6FJAGIbwAzEI,17790
-pip/_internal/req/req_install.py,sha256=wtOPxkyRSM8comTks8oL1Gp2oyGqbH7JwIDRci2QiPk,35460
-pip/_internal/req/req_set.py,sha256=iMYDUToSgkxFyrP_OrTtPSgw4dwjRyGRDpGooTqeA4Y,4704
-pip/_internal/req/req_uninstall.py,sha256=nmvTQaRCC0iu-5Tw0djlXJhSj6WmqHRvT3qkkEdC35E,24551
-pip/_internal/resolution/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_internal/resolution/__pycache__/__init__.cpython-311.pyc,,
-pip/_internal/resolution/__pycache__/base.cpython-311.pyc,,
-pip/_internal/resolution/base.py,sha256=qlmh325SBVfvG6Me9gc5Nsh5sdwHBwzHBq6aEXtKsLA,583
-pip/_internal/resolution/legacy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_internal/resolution/legacy/__pycache__/__init__.cpython-311.pyc,,
-pip/_internal/resolution/legacy/__pycache__/resolver.cpython-311.pyc,,
-pip/_internal/resolution/legacy/resolver.py,sha256=Xk24jQ62GvLr4Mc7IjN_qiO88qp0BImzVmPIFz9QLOE,24025
-pip/_internal/resolution/resolvelib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-311.pyc,,
-pip/_internal/resolution/resolvelib/__pycache__/base.cpython-311.pyc,,
-pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-311.pyc,,
-pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-311.pyc,,
-pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-311.pyc,,
-pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-311.pyc,,
-pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-311.pyc,,
-pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-311.pyc,,
-pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-311.pyc,,
-pip/_internal/resolution/resolvelib/base.py,sha256=jg5COmHLhmBIKOR-4spdJD3jyULYa1BdsqiBu2YJnJ4,5173
-pip/_internal/resolution/resolvelib/candidates.py,sha256=19Ki91Po-MSxBknGIfOGkaWkFdOznN0W_nKv7jL28L0,21052
-pip/_internal/resolution/resolvelib/factory.py,sha256=vqqk-hjchdhShwWVdeW2_A-5ZblLhE_nC_v3Mhz4Svc,32292
-pip/_internal/resolution/resolvelib/found_candidates.py,sha256=hvL3Hoa9VaYo-qEOZkBi2Iqw251UDxPz-uMHVaWmLpE,5705
-pip/_internal/resolution/resolvelib/provider.py,sha256=4t23ivjruqM6hKBX1KpGiTt-M4HGhRcZnGLV0c01K7U,9824
-pip/_internal/resolution/resolvelib/reporter.py,sha256=YFm9hQvz4DFCbjZeFTQ56hTz3Ac-mDBnHkeNRVvMHLY,3100
-pip/_internal/resolution/resolvelib/requirements.py,sha256=-kJONP0WjDfdTvBAs2vUXPgAnOyNIBEAXY4b72ogtPE,5696
-pip/_internal/resolution/resolvelib/resolver.py,sha256=nLJOsVMEVi2gQUVJoUFKMZAeu2f7GRMjGMvNSWyz0Bc,12592
-pip/_internal/self_outdated_check.py,sha256=saxQLB8UzIFtMScquytG10TOTsYVFJQ_mkW1NY-46wE,8378
-pip/_internal/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_internal/utils/__pycache__/__init__.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/_jaraco_text.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/_log.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/appdirs.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/compat.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/compatibility_tags.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/datetime.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/deprecation.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/direct_url_helpers.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/egg_link.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/encoding.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/entrypoints.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/filesystem.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/filetypes.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/glibc.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/hashes.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/logging.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/misc.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/models.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/packaging.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/setuptools_build.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/subprocess.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/temp_dir.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/unpacking.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/urls.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/virtualenv.cpython-311.pyc,,
-pip/_internal/utils/__pycache__/wheel.cpython-311.pyc,,
-pip/_internal/utils/_jaraco_text.py,sha256=yvDGelTVugRayPaOF2k4ab0Ky4d3uOkAfuOQjASjImY,3351
-pip/_internal/utils/_log.py,sha256=-jHLOE_THaZz5BFcCnoSL9EYAtJ0nXem49s9of4jvKw,1015
-pip/_internal/utils/appdirs.py,sha256=swgcTKOm3daLeXTW6v5BUS2Ti2RvEnGRQYH_yDXklAo,1665
-pip/_internal/utils/compat.py,sha256=ACyBfLgj3_XG-iA5omEDrXqDM0cQKzi8h8HRBInzG6Q,1884
-pip/_internal/utils/compatibility_tags.py,sha256=ydin8QG8BHqYRsPY4OL6cmb44CbqXl1T0xxS97VhHkk,5377
-pip/_internal/utils/datetime.py,sha256=m21Y3wAtQc-ji6Veb6k_M5g6A0ZyFI4egchTdnwh-pQ,242
-pip/_internal/utils/deprecation.py,sha256=NKo8VqLioJ4nnXXGmW4KdasxF90EFHkZaHeX1fT08C8,3627
-pip/_internal/utils/direct_url_helpers.py,sha256=6F1tc2rcKaCZmgfVwsE6ObIe_Pux23mUVYA-2D9wCFc,3206
-pip/_internal/utils/egg_link.py,sha256=0FePZoUYKv4RGQ2t6x7w5Z427wbA_Uo3WZnAkrgsuqo,2463
-pip/_internal/utils/encoding.py,sha256=qqsXDtiwMIjXMEiIVSaOjwH5YmirCaK-dIzb6-XJsL0,1169
-pip/_internal/utils/entrypoints.py,sha256=YlhLTRl2oHBAuqhc-zmL7USS67TPWVHImjeAQHreZTQ,3064
-pip/_internal/utils/filesystem.py,sha256=RhMIXUaNVMGjc3rhsDahWQ4MavvEQDdqXqgq-F6fpw8,5122
-pip/_internal/utils/filetypes.py,sha256=i8XAQ0eFCog26Fw9yV0Yb1ygAqKYB1w9Cz9n0fj8gZU,716
-pip/_internal/utils/glibc.py,sha256=Mesxxgg3BLxheLZx-dSf30b6gKpOgdVXw6W--uHSszQ,3113
-pip/_internal/utils/hashes.py,sha256=MjOigC75z6qoRMkgHiHqot7eqxfwDZSrEflJMPm-bHE,5118
-pip/_internal/utils/logging.py,sha256=fdtuZJ-AKkqwDTANDvGcBEpssL8el7T1jnwk1CnZl3Y,11603
-pip/_internal/utils/misc.py,sha256=fNXwaeeikvnUt4CPMFIL4-IQbZDxxjj4jDpzCi4ZsOw,23623
-pip/_internal/utils/models.py,sha256=5GoYU586SrxURMvDn_jBMJInitviJg4O5-iOU-6I0WY,1193
-pip/_internal/utils/packaging.py,sha256=5Wm6_x7lKrlqVjPI5MBN_RurcRHwVYoQ7Ksrs84de7s,2108
-pip/_internal/utils/setuptools_build.py,sha256=ouXpud-jeS8xPyTPsXJ-m34NPvK5os45otAzdSV_IJE,4435
-pip/_internal/utils/subprocess.py,sha256=zzdimb75jVLE1GU4WlTZ055gczhD7n1y1xTcNc7vNZQ,9207
-pip/_internal/utils/temp_dir.py,sha256=DUAw22uFruQdK43i2L2K53C-CDjRCPeAsBKJpu-rHQ4,9312
-pip/_internal/utils/unpacking.py,sha256=SBb2iV1crb89MDRTEKY86R4A_UOWApTQn9VQVcMDOlE,8821
-pip/_internal/utils/urls.py,sha256=AhaesUGl-9it6uvG6fsFPOr9ynFpGaTMk4t5XTX7Z_Q,1759
-pip/_internal/utils/virtualenv.py,sha256=S6f7csYorRpiD6cvn3jISZYc3I8PJC43H5iMFpRAEDU,3456
-pip/_internal/utils/wheel.py,sha256=i4BwUNHattzN0ixy3HBAF04tZPRh2CcxaT6t86viwkE,4499
-pip/_internal/vcs/__init__.py,sha256=UAqvzpbi0VbZo3Ub6skEeZAw-ooIZR-zX_WpCbxyCoU,596
-pip/_internal/vcs/__pycache__/__init__.cpython-311.pyc,,
-pip/_internal/vcs/__pycache__/bazaar.cpython-311.pyc,,
-pip/_internal/vcs/__pycache__/git.cpython-311.pyc,,
-pip/_internal/vcs/__pycache__/mercurial.cpython-311.pyc,,
-pip/_internal/vcs/__pycache__/subversion.cpython-311.pyc,,
-pip/_internal/vcs/__pycache__/versioncontrol.cpython-311.pyc,,
-pip/_internal/vcs/bazaar.py,sha256=j0oin0fpGRHcCFCxEcpPCQoFEvA-DMLULKdGP8Nv76o,3519
-pip/_internal/vcs/git.py,sha256=CeKBGJnl6uskvvjkAUXrJVxbHJrpS_B_pyfFdjL3CRc,18121
-pip/_internal/vcs/mercurial.py,sha256=oULOhzJ2Uie-06d1omkL-_Gc6meGaUkyogvqG9ZCyPs,5249
-pip/_internal/vcs/subversion.py,sha256=vhZs8L-TNggXqM1bbhl-FpbxE3TrIB6Tgnx8fh3S2HE,11729
-pip/_internal/vcs/versioncontrol.py,sha256=3eIjtOMYvOY5qP6BMYIYDZ375CSuec6kSEB0bOo1cSs,22787
-pip/_internal/wheel_builder.py,sha256=qTTzQV8F6b1jNsFCda1TRQC8J7gK-m7iuRNgKo7Dj68,11801
-pip/_vendor/__init__.py,sha256=U51NPwXdA-wXOiANIQncYjcMp6txgeOL5nHxksJeyas,4993
-pip/_vendor/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/__pycache__/six.cpython-311.pyc,,
-pip/_vendor/__pycache__/typing_extensions.cpython-311.pyc,,
-pip/_vendor/cachecontrol/__init__.py,sha256=ctHagMhQXuvQDdm4TirZrwDOT5H8oBNAJqzdKI6sovk,676
-pip/_vendor/cachecontrol/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-311.pyc,,
-pip/_vendor/cachecontrol/__pycache__/adapter.cpython-311.pyc,,
-pip/_vendor/cachecontrol/__pycache__/cache.cpython-311.pyc,,
-pip/_vendor/cachecontrol/__pycache__/controller.cpython-311.pyc,,
-pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-311.pyc,,
-pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-311.pyc,,
-pip/_vendor/cachecontrol/__pycache__/serialize.cpython-311.pyc,,
-pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-311.pyc,,
-pip/_vendor/cachecontrol/_cmd.py,sha256=iist2EpzJvDVIhMAxXq8iFnTBsiZAd6iplxfmNboNyk,1737
-pip/_vendor/cachecontrol/adapter.py,sha256=_CcWvUP9048qAZjsNqViaHbdcLs9mmFNixVfpO7oebE,6392
-pip/_vendor/cachecontrol/cache.py,sha256=OTQj72tUf8C1uEgczdl3Gc8vkldSzsTITKtDGKMx4z8,1952
-pip/_vendor/cachecontrol/caches/__init__.py,sha256=dtrrroK5BnADR1GWjCZ19aZ0tFsMfvFBtLQQU1sp_ag,303
-pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-311.pyc,,
-pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-311.pyc,,
-pip/_vendor/cachecontrol/caches/file_cache.py,sha256=3z8AWKD-vfKeiJqIzLmJyIYtR2yd6Tsh3u1TyLRQoIQ,5352
-pip/_vendor/cachecontrol/caches/redis_cache.py,sha256=9rmqwtYu_ljVkW6_oLqbC7EaX_a8YT_yLuna-eS0dgo,1386
-pip/_vendor/cachecontrol/controller.py,sha256=keCFA3ZaNVaWTwHd6F1zqWhb4vyvNx_UvZuo5iIYMfo,18384
-pip/_vendor/cachecontrol/filewrapper.py,sha256=STttGmIPBvZzt2b51dUOwoWX5crcMCpKZOisM3f5BNc,4292
-pip/_vendor/cachecontrol/heuristics.py,sha256=fdFbk9W8IeLrjteIz_fK4mj2HD_Y7COXF2Uc8TgjT1c,4828
-pip/_vendor/cachecontrol/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_vendor/cachecontrol/serialize.py,sha256=0dHeMaDwysVAAnGVlhMOP4tDliohgNK0Jxk_zsOiWxw,7173
-pip/_vendor/cachecontrol/wrapper.py,sha256=hsGc7g8QGQTT-4f8tgz3AM5qwScg6FO0BSdLSRdEvpU,1417
-pip/_vendor/certifi/__init__.py,sha256=L_j-d0kYuA_MzA2_2hraF1ovf6KT6DTquRdV3paQwOk,94
-pip/_vendor/certifi/__main__.py,sha256=1k3Cr95vCxxGRGDljrW3wMdpZdL3Nhf0u1n-k2qdsCY,255
-pip/_vendor/certifi/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/certifi/__pycache__/__main__.cpython-311.pyc,,
-pip/_vendor/certifi/__pycache__/core.cpython-311.pyc,,
-pip/_vendor/certifi/cacert.pem,sha256=eU0Dn_3yd8BH4m8sfVj4Glhl2KDrcCSg-sEWT-pNJ88,281617
-pip/_vendor/certifi/core.py,sha256=ZwiOsv-sD_ouU1ft8wy_xZ3LQ7UbcVzyqj2XNyrsZis,4279
-pip/_vendor/certifi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_vendor/chardet/__init__.py,sha256=57R-HSxj0PWmILMN0GFmUNqEMfrEVSamXyjD-W6_fbs,4797
-pip/_vendor/chardet/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/big5freq.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/big5prober.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/chardistribution.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/charsetgroupprober.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/charsetprober.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/codingstatemachine.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/codingstatemachinedict.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/cp949prober.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/enums.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/escprober.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/escsm.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/eucjpprober.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/euckrfreq.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/euckrprober.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/euctwfreq.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/euctwprober.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/gb2312freq.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/gb2312prober.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/hebrewprober.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/jisfreq.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/johabfreq.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/johabprober.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/jpcntx.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/langbulgarianmodel.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/langgreekmodel.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/langhebrewmodel.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/langhungarianmodel.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/langrussianmodel.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/langthaimodel.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/langturkishmodel.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/latin1prober.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/macromanprober.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/mbcharsetprober.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/mbcsgroupprober.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/mbcssm.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/resultdict.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/sbcharsetprober.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/sbcsgroupprober.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/sjisprober.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/universaldetector.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/utf1632prober.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/utf8prober.cpython-311.pyc,,
-pip/_vendor/chardet/__pycache__/version.cpython-311.pyc,,
-pip/_vendor/chardet/big5freq.py,sha256=ltcfP-3PjlNHCoo5e4a7C4z-2DhBTXRfY6jbMbB7P30,31274
-pip/_vendor/chardet/big5prober.py,sha256=lPMfwCX6v2AaPgvFh_cSWZcgLDbWiFCHLZ_p9RQ9uxE,1763
-pip/_vendor/chardet/chardistribution.py,sha256=13B8XUG4oXDuLdXvfbIWwLFeR-ZU21AqTS1zcdON8bU,10032
-pip/_vendor/chardet/charsetgroupprober.py,sha256=UKK3SaIZB2PCdKSIS0gnvMtLR9JJX62M-fZJu3OlWyg,3915
-pip/_vendor/chardet/charsetprober.py,sha256=L3t8_wIOov8em-vZWOcbkdsrwe43N6_gqNh5pH7WPd4,5420
-pip/_vendor/chardet/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_vendor/chardet/cli/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/chardet/cli/__pycache__/chardetect.cpython-311.pyc,,
-pip/_vendor/chardet/cli/chardetect.py,sha256=zibMVg5RpKb-ME9_7EYG4ZM2Sf07NHcQzZ12U-rYJho,3242
-pip/_vendor/chardet/codingstatemachine.py,sha256=K7k69sw3jY5DmTXoSJQVsUtFIQKYPQVOSJJhBuGv_yE,3732
-pip/_vendor/chardet/codingstatemachinedict.py,sha256=0GY3Hi2qIZvDrOOJ3AtqppM1RsYxr_66ER4EHjuMiMc,542
-pip/_vendor/chardet/cp949prober.py,sha256=0jKRV7fECuWI16rNnks0ZECKA1iZYCIEaP8A1ZvjUSI,1860
-pip/_vendor/chardet/enums.py,sha256=TzECiZoCKNMqgwU76cPCeKWFBqaWvAdLMev5_bCkhY8,1683
-pip/_vendor/chardet/escprober.py,sha256=Kho48X65xE0scFylIdeJjM2bcbvRvv0h0WUbMWrJD3A,4006
-pip/_vendor/chardet/escsm.py,sha256=AqyXpA2FQFD7k-buBty_7itGEYkhmVa8X09NLRul3QM,12176
-pip/_vendor/chardet/eucjpprober.py,sha256=5KYaM9fsxkRYzw1b5k0fL-j_-ezIw-ij9r97a9MHxLY,3934
-pip/_vendor/chardet/euckrfreq.py,sha256=3mHuRvXfsq_QcQysDQFb8qSudvTiol71C6Ic2w57tKM,13566
-pip/_vendor/chardet/euckrprober.py,sha256=hiFT6wM174GIwRvqDsIcuOc-dDsq2uPKMKbyV8-1Xnc,1753
-pip/_vendor/chardet/euctwfreq.py,sha256=2alILE1Lh5eqiFJZjzRkMQXolNJRHY5oBQd-vmZYFFM,36913
-pip/_vendor/chardet/euctwprober.py,sha256=NxbpNdBtU0VFI0bKfGfDkpP7S2_8_6FlO87dVH0ogws,1753
-pip/_vendor/chardet/gb2312freq.py,sha256=49OrdXzD-HXqwavkqjo8Z7gvs58hONNzDhAyMENNkvY,20735
-pip/_vendor/chardet/gb2312prober.py,sha256=KPEBueaSLSvBpFeINMu0D6TgHcR90e5PaQawifzF4o0,1759
-pip/_vendor/chardet/hebrewprober.py,sha256=96T_Lj_OmW-fK7JrSHojYjyG3fsGgbzkoTNleZ3kfYE,14537
-pip/_vendor/chardet/jisfreq.py,sha256=mm8tfrwqhpOd3wzZKS4NJqkYBQVcDfTM2JiQ5aW932E,25796
-pip/_vendor/chardet/johabfreq.py,sha256=dBpOYG34GRX6SL8k_LbS9rxZPMjLjoMlgZ03Pz5Hmqc,42498
-pip/_vendor/chardet/johabprober.py,sha256=O1Qw9nVzRnun7vZp4UZM7wvJSv9W941mEU9uDMnY3DU,1752
-pip/_vendor/chardet/jpcntx.py,sha256=uhHrYWkLxE_rF5OkHKInm0HUsrjgKHHVQvtt3UcvotA,27055
-pip/_vendor/chardet/langbulgarianmodel.py,sha256=vmbvYFP8SZkSxoBvLkFqKiH1sjma5ihk3PTpdy71Rr4,104562
-pip/_vendor/chardet/langgreekmodel.py,sha256=JfB7bupjjJH2w3X_mYnQr9cJA_7EuITC2cRW13fUjeI,98484
-pip/_vendor/chardet/langhebrewmodel.py,sha256=3HXHaLQPNAGcXnJjkIJfozNZLTvTJmf4W5Awi6zRRKc,98196
-pip/_vendor/chardet/langhungarianmodel.py,sha256=WxbeQIxkv8YtApiNqxQcvj-tMycsoI4Xy-fwkDHpP_Y,101363
-pip/_vendor/chardet/langrussianmodel.py,sha256=s395bTZ87ESTrZCOdgXbEjZ9P1iGPwCl_8xSsac_DLY,128035
-pip/_vendor/chardet/langthaimodel.py,sha256=7bJlQitRpTnVGABmbSznHnJwOHDy3InkTvtFUx13WQI,102774
-pip/_vendor/chardet/langturkishmodel.py,sha256=XY0eGdTIy4eQ9Xg1LVPZacb-UBhHBR-cq0IpPVHowKc,95372
-pip/_vendor/chardet/latin1prober.py,sha256=p15EEmFbmQUwbKLC7lOJVGHEZwcG45ubEZYTGu01J5g,5380
-pip/_vendor/chardet/macromanprober.py,sha256=9anfzmY6TBfUPDyBDOdY07kqmTHpZ1tK0jL-p1JWcOY,6077
-pip/_vendor/chardet/mbcharsetprober.py,sha256=Wr04WNI4F3X_VxEverNG-H25g7u-MDDKlNt-JGj-_uU,3715
-pip/_vendor/chardet/mbcsgroupprober.py,sha256=iRpaNBjV0DNwYPu_z6TiHgRpwYahiM7ztI_4kZ4Uz9A,2131
-pip/_vendor/chardet/mbcssm.py,sha256=hUtPvDYgWDaA2dWdgLsshbwRfm3Q5YRlRogdmeRUNQw,30391
-pip/_vendor/chardet/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_vendor/chardet/metadata/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/chardet/metadata/__pycache__/languages.cpython-311.pyc,,
-pip/_vendor/chardet/metadata/languages.py,sha256=FhvBIdZFxRQ-dTwkb_0madRKgVBCaUMQz9I5xqjE5iQ,13560
-pip/_vendor/chardet/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_vendor/chardet/resultdict.py,sha256=ez4FRvN5KaSosJeJ2WzUyKdDdg35HDy_SSLPXKCdt5M,402
-pip/_vendor/chardet/sbcharsetprober.py,sha256=-nd3F90i7GpXLjehLVHqVBE0KlWzGvQUPETLBNn4o6U,6400
-pip/_vendor/chardet/sbcsgroupprober.py,sha256=gcgI0fOfgw_3YTClpbra_MNxwyEyJ3eUXraoLHYb59E,4137
-pip/_vendor/chardet/sjisprober.py,sha256=aqQufMzRw46ZpFlzmYaYeT2-nzmKb-hmcrApppJ862k,4007
-pip/_vendor/chardet/universaldetector.py,sha256=xYBrg4x0dd9WnT8qclfADVD9ondrUNkqPmvte1pa520,14848
-pip/_vendor/chardet/utf1632prober.py,sha256=pw1epGdMj1hDGiCu1AHqqzOEfjX8MVdiW7O1BlT8-eQ,8505
-pip/_vendor/chardet/utf8prober.py,sha256=8m08Ub5490H4jQ6LYXvFysGtgKoKsHUd2zH_i8_TnVw,2812
-pip/_vendor/chardet/version.py,sha256=lGtJcxGM44Qz4Cbk4rbbmrKxnNr1-97U25TameLehZw,244
-pip/_vendor/colorama/__init__.py,sha256=wePQA4U20tKgYARySLEC047ucNX-g8pRLpYBuiHlLb8,266
-pip/_vendor/colorama/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/colorama/__pycache__/ansi.cpython-311.pyc,,
-pip/_vendor/colorama/__pycache__/ansitowin32.cpython-311.pyc,,
-pip/_vendor/colorama/__pycache__/initialise.cpython-311.pyc,,
-pip/_vendor/colorama/__pycache__/win32.cpython-311.pyc,,
-pip/_vendor/colorama/__pycache__/winterm.cpython-311.pyc,,
-pip/_vendor/colorama/ansi.py,sha256=Top4EeEuaQdBWdteKMEcGOTeKeF19Q-Wo_6_Cj5kOzQ,2522
-pip/_vendor/colorama/ansitowin32.py,sha256=vPNYa3OZbxjbuFyaVo0Tmhmy1FZ1lKMWCnT7odXpItk,11128
-pip/_vendor/colorama/initialise.py,sha256=-hIny86ClXo39ixh5iSCfUIa2f_h_bgKRDW7gqs-KLU,3325
-pip/_vendor/colorama/tests/__init__.py,sha256=MkgPAEzGQd-Rq0w0PZXSX2LadRWhUECcisJY8lSrm4Q,75
-pip/_vendor/colorama/tests/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/colorama/tests/__pycache__/ansi_test.cpython-311.pyc,,
-pip/_vendor/colorama/tests/__pycache__/ansitowin32_test.cpython-311.pyc,,
-pip/_vendor/colorama/tests/__pycache__/initialise_test.cpython-311.pyc,,
-pip/_vendor/colorama/tests/__pycache__/isatty_test.cpython-311.pyc,,
-pip/_vendor/colorama/tests/__pycache__/utils.cpython-311.pyc,,
-pip/_vendor/colorama/tests/__pycache__/winterm_test.cpython-311.pyc,,
-pip/_vendor/colorama/tests/ansi_test.py,sha256=FeViDrUINIZcr505PAxvU4AjXz1asEiALs9GXMhwRaE,2839
-pip/_vendor/colorama/tests/ansitowin32_test.py,sha256=RN7AIhMJ5EqDsYaCjVo-o4u8JzDD4ukJbmevWKS70rY,10678
-pip/_vendor/colorama/tests/initialise_test.py,sha256=BbPy-XfyHwJ6zKozuQOvNvQZzsx9vdb_0bYXn7hsBTc,6741
-pip/_vendor/colorama/tests/isatty_test.py,sha256=Pg26LRpv0yQDB5Ac-sxgVXG7hsA1NYvapFgApZfYzZg,1866
-pip/_vendor/colorama/tests/utils.py,sha256=1IIRylG39z5-dzq09R_ngufxyPZxgldNbrxKxUGwGKE,1079
-pip/_vendor/colorama/tests/winterm_test.py,sha256=qoWFPEjym5gm2RuMwpf3pOis3a5r_PJZFCzK254JL8A,3709
-pip/_vendor/colorama/win32.py,sha256=YQOKwMTwtGBbsY4dL5HYTvwTeP9wIQra5MvPNddpxZs,6181
-pip/_vendor/colorama/winterm.py,sha256=XCQFDHjPi6AHYNdZwy0tA02H-Jh48Jp-HvCjeLeLp3U,7134
-pip/_vendor/distlib/__init__.py,sha256=hJKF7FHoqbmGckncDuEINWo_OYkDNiHODtYXSMcvjcc,625
-pip/_vendor/distlib/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/distlib/__pycache__/compat.cpython-311.pyc,,
-pip/_vendor/distlib/__pycache__/database.cpython-311.pyc,,
-pip/_vendor/distlib/__pycache__/index.cpython-311.pyc,,
-pip/_vendor/distlib/__pycache__/locators.cpython-311.pyc,,
-pip/_vendor/distlib/__pycache__/manifest.cpython-311.pyc,,
-pip/_vendor/distlib/__pycache__/markers.cpython-311.pyc,,
-pip/_vendor/distlib/__pycache__/metadata.cpython-311.pyc,,
-pip/_vendor/distlib/__pycache__/resources.cpython-311.pyc,,
-pip/_vendor/distlib/__pycache__/scripts.cpython-311.pyc,,
-pip/_vendor/distlib/__pycache__/util.cpython-311.pyc,,
-pip/_vendor/distlib/__pycache__/version.cpython-311.pyc,,
-pip/_vendor/distlib/__pycache__/wheel.cpython-311.pyc,,
-pip/_vendor/distlib/compat.py,sha256=Un-uIBvy02w-D267OG4VEhuddqWgKj9nNkxVltAb75w,41487
-pip/_vendor/distlib/database.py,sha256=0V9Qvs0Vrxa2F_-hLWitIyVyRifJ0pCxyOI-kEOBwsA,51965
-pip/_vendor/distlib/index.py,sha256=lTbw268rRhj8dw1sib3VZ_0EhSGgoJO3FKJzSFMOaeA,20797
-pip/_vendor/distlib/locators.py,sha256=o1r_M86_bRLafSpetmyfX8KRtFu-_Q58abvQrnOSnbA,51767
-pip/_vendor/distlib/manifest.py,sha256=3qfmAmVwxRqU1o23AlfXrQGZzh6g_GGzTAP_Hb9C5zQ,14168
-pip/_vendor/distlib/markers.py,sha256=n3DfOh1yvZ_8EW7atMyoYeZFXjYla0Nz0itQlojCd0A,5268
-pip/_vendor/distlib/metadata.py,sha256=pB9WZ9mBfmQxc9OVIldLS5CjOoQRvKAvUwwQyKwKQtQ,39693
-pip/_vendor/distlib/resources.py,sha256=LwbPksc0A1JMbi6XnuPdMBUn83X7BPuFNWqPGEKI698,10820
-pip/_vendor/distlib/scripts.py,sha256=nQFXN6G7nOWNDUyxirUep-3WOlJhB7McvCs9zOnkGTI,18315
-pip/_vendor/distlib/t32.exe,sha256=a0GV5kCoWsMutvliiCKmIgV98eRZ33wXoS-XrqvJQVs,97792
-pip/_vendor/distlib/t64-arm.exe,sha256=68TAa32V504xVBnufojh0PcenpR3U4wAqTqf-MZqbPw,182784
-pip/_vendor/distlib/t64.exe,sha256=gaYY8hy4fbkHYTTnA4i26ct8IQZzkBG2pRdy0iyuBrc,108032
-pip/_vendor/distlib/util.py,sha256=XSznxEi_i3T20UJuaVc0qXHz5ksGUCW1khYlBprN_QE,67530
-pip/_vendor/distlib/version.py,sha256=9pXkduchve_aN7JG6iL9VTYV_kqNSGoc2Dwl8JuySnQ,23747
-pip/_vendor/distlib/w32.exe,sha256=R4csx3-OGM9kL4aPIzQKRo5TfmRSHZo6QWyLhDhNBks,91648
-pip/_vendor/distlib/w64-arm.exe,sha256=xdyYhKj0WDcVUOCb05blQYvzdYIKMbmJn2SZvzkcey4,168448
-pip/_vendor/distlib/w64.exe,sha256=ejGf-rojoBfXseGLpya6bFTFPWRG21X5KvU8J5iU-K0,101888
-pip/_vendor/distlib/wheel.py,sha256=FVQCve8u-L0QYk5-YTZc7s4WmNQdvjRWTK08KXzZVX4,43958
-pip/_vendor/distro/__init__.py,sha256=2fHjF-SfgPvjyNZ1iHh_wjqWdR_Yo5ODHwZC0jLBPhc,981
-pip/_vendor/distro/__main__.py,sha256=bu9d3TifoKciZFcqRBuygV3GSuThnVD_m2IK4cz96Vs,64
-pip/_vendor/distro/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/distro/__pycache__/__main__.cpython-311.pyc,,
-pip/_vendor/distro/__pycache__/distro.cpython-311.pyc,,
-pip/_vendor/distro/distro.py,sha256=UZO1LjIhtFCMdlbiz39gj3raV-Amf3SBwzGzfApiMHw,49330
-pip/_vendor/distro/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_vendor/idna/__init__.py,sha256=KJQN1eQBr8iIK5SKrJ47lXvxG0BJ7Lm38W4zT0v_8lk,849
-pip/_vendor/idna/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/idna/__pycache__/codec.cpython-311.pyc,,
-pip/_vendor/idna/__pycache__/compat.cpython-311.pyc,,
-pip/_vendor/idna/__pycache__/core.cpython-311.pyc,,
-pip/_vendor/idna/__pycache__/idnadata.cpython-311.pyc,,
-pip/_vendor/idna/__pycache__/intranges.cpython-311.pyc,,
-pip/_vendor/idna/__pycache__/package_data.cpython-311.pyc,,
-pip/_vendor/idna/__pycache__/uts46data.cpython-311.pyc,,
-pip/_vendor/idna/codec.py,sha256=6ly5odKfqrytKT9_7UrlGklHnf1DSK2r9C6cSM4sa28,3374
-pip/_vendor/idna/compat.py,sha256=0_sOEUMT4CVw9doD3vyRhX80X19PwqFoUBs7gWsFME4,321
-pip/_vendor/idna/core.py,sha256=1JxchwKzkxBSn7R_oCE12oBu3eVux0VzdxolmIad24M,12950
-pip/_vendor/idna/idnadata.py,sha256=xUjqKqiJV8Ho_XzBpAtv5JFoVPSupK-SUXvtjygUHqw,44375
-pip/_vendor/idna/intranges.py,sha256=YBr4fRYuWH7kTKS2tXlFjM24ZF1Pdvcir-aywniInqg,1881
-pip/_vendor/idna/package_data.py,sha256=C_jHJzmX8PI4xq0jpzmcTMxpb5lDsq4o5VyxQzlVrZE,21
-pip/_vendor/idna/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_vendor/idna/uts46data.py,sha256=zvjZU24s58_uAS850Mcd0NnD0X7_gCMAMjzWNIeUJdc,206539
-pip/_vendor/msgpack/__init__.py,sha256=hyGhlnmcJkxryJBKC3X5FnEph375kQoL_mG8LZUuXgY,1132
-pip/_vendor/msgpack/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/msgpack/__pycache__/exceptions.cpython-311.pyc,,
-pip/_vendor/msgpack/__pycache__/ext.cpython-311.pyc,,
-pip/_vendor/msgpack/__pycache__/fallback.cpython-311.pyc,,
-pip/_vendor/msgpack/exceptions.py,sha256=dCTWei8dpkrMsQDcjQk74ATl9HsIBH0ybt8zOPNqMYc,1081
-pip/_vendor/msgpack/ext.py,sha256=C5MK8JhVYGYFWPvxsORsqZAnvOXefYQ57m1Ym0luW5M,6079
-pip/_vendor/msgpack/fallback.py,sha256=tvNBHyxxFbuVlC8GZShETClJxjLiDMOja4XwwyvNm2g,34544
-pip/_vendor/packaging/__about__.py,sha256=ugASIO2w1oUyH8_COqQ2X_s0rDhjbhQC3yJocD03h2c,661
-pip/_vendor/packaging/__init__.py,sha256=b9Kk5MF7KxhhLgcDmiUWukN-LatWFxPdNug0joPhHSk,497
-pip/_vendor/packaging/__pycache__/__about__.cpython-311.pyc,,
-pip/_vendor/packaging/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/packaging/__pycache__/_manylinux.cpython-311.pyc,,
-pip/_vendor/packaging/__pycache__/_musllinux.cpython-311.pyc,,
-pip/_vendor/packaging/__pycache__/_structures.cpython-311.pyc,,
-pip/_vendor/packaging/__pycache__/markers.cpython-311.pyc,,
-pip/_vendor/packaging/__pycache__/requirements.cpython-311.pyc,,
-pip/_vendor/packaging/__pycache__/specifiers.cpython-311.pyc,,
-pip/_vendor/packaging/__pycache__/tags.cpython-311.pyc,,
-pip/_vendor/packaging/__pycache__/utils.cpython-311.pyc,,
-pip/_vendor/packaging/__pycache__/version.cpython-311.pyc,,
-pip/_vendor/packaging/_manylinux.py,sha256=XcbiXB-qcjv3bcohp6N98TMpOP4_j3m-iOA8ptK2GWY,11488
-pip/_vendor/packaging/_musllinux.py,sha256=_KGgY_qc7vhMGpoqss25n2hiLCNKRtvz9mCrS7gkqyc,4378
-pip/_vendor/packaging/_structures.py,sha256=q3eVNmbWJGG_S0Dit_S3Ao8qQqz_5PYTXFAKBZe5yr4,1431
-pip/_vendor/packaging/markers.py,sha256=AJBOcY8Oq0kYc570KuuPTkvuqjAlhufaE2c9sCUbm64,8487
-pip/_vendor/packaging/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_vendor/packaging/requirements.py,sha256=NtDlPBtojpn1IUC85iMjPNsUmufjpSlwnNA-Xb4m5NA,4676
-pip/_vendor/packaging/specifiers.py,sha256=LRQ0kFsHrl5qfcFNEEJrIFYsnIHQUJXY9fIsakTrrqE,30110
-pip/_vendor/packaging/tags.py,sha256=lmsnGNiJ8C4D_Pf9PbM0qgbZvD9kmB9lpZBQUZa3R_Y,15699
-pip/_vendor/packaging/utils.py,sha256=dJjeat3BS-TYn1RrUFVwufUMasbtzLfYRoy_HXENeFQ,4200
-pip/_vendor/packaging/version.py,sha256=_fLRNrFrxYcHVfyo8vk9j8s6JM8N_xsSxVFr6RJyco8,14665
-pip/_vendor/pkg_resources/__init__.py,sha256=hTAeJCNYb7dJseIDVsYK3mPQep_gphj4tQh-bspX8bg,109364
-pip/_vendor/pkg_resources/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/platformdirs/__init__.py,sha256=SkhEYVyC_HUHC6KX7n4M_6coyRMtEB38QMyOYIAX6Yk,20155
-pip/_vendor/platformdirs/__main__.py,sha256=fVvSiTzr2-RM6IsjWjj4fkaOtDOgDhUWv6sA99do4CQ,1476
-pip/_vendor/platformdirs/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/platformdirs/__pycache__/__main__.cpython-311.pyc,,
-pip/_vendor/platformdirs/__pycache__/android.cpython-311.pyc,,
-pip/_vendor/platformdirs/__pycache__/api.cpython-311.pyc,,
-pip/_vendor/platformdirs/__pycache__/macos.cpython-311.pyc,,
-pip/_vendor/platformdirs/__pycache__/unix.cpython-311.pyc,,
-pip/_vendor/platformdirs/__pycache__/version.cpython-311.pyc,,
-pip/_vendor/platformdirs/__pycache__/windows.cpython-311.pyc,,
-pip/_vendor/platformdirs/android.py,sha256=y_EEMKwYl2-bzYBDovksSn8m76on0Lda8eyJksVQE9U,7211
-pip/_vendor/platformdirs/api.py,sha256=jWtX06jAJytYrkJDOqEls97mCkyHRSZkoqUlbMK5Qew,7132
-pip/_vendor/platformdirs/macos.py,sha256=LueVOoVgGWDBwQb8OFwXkVKfVn33CM1Lkwf1-A86tRQ,3678
-pip/_vendor/platformdirs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_vendor/platformdirs/unix.py,sha256=22JhR8ZY0aLxSVCFnKrc6f1iz6Gv42K24Daj7aTjfSg,8809
-pip/_vendor/platformdirs/version.py,sha256=mavZTQIJIXfdewEaSTn7EWrNfPZWeRofb-74xqW5f2M,160
-pip/_vendor/platformdirs/windows.py,sha256=4TtbPGoWG2PRgI11uquDa7eRk8TcxvnUNuuMGZItnXc,9573
-pip/_vendor/pygments/__init__.py,sha256=6AuDljQtvf89DTNUyWM7k3oUlP_lq70NU-INKKteOBY,2983
-pip/_vendor/pygments/__main__.py,sha256=es8EKMvXj5yToIfQ-pf3Dv5TnIeeM6sME0LW-n4ecHo,353
-pip/_vendor/pygments/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/pygments/__pycache__/__main__.cpython-311.pyc,,
-pip/_vendor/pygments/__pycache__/cmdline.cpython-311.pyc,,
-pip/_vendor/pygments/__pycache__/console.cpython-311.pyc,,
-pip/_vendor/pygments/__pycache__/filter.cpython-311.pyc,,
-pip/_vendor/pygments/__pycache__/formatter.cpython-311.pyc,,
-pip/_vendor/pygments/__pycache__/lexer.cpython-311.pyc,,
-pip/_vendor/pygments/__pycache__/modeline.cpython-311.pyc,,
-pip/_vendor/pygments/__pycache__/plugin.cpython-311.pyc,,
-pip/_vendor/pygments/__pycache__/regexopt.cpython-311.pyc,,
-pip/_vendor/pygments/__pycache__/scanner.cpython-311.pyc,,
-pip/_vendor/pygments/__pycache__/sphinxext.cpython-311.pyc,,
-pip/_vendor/pygments/__pycache__/style.cpython-311.pyc,,
-pip/_vendor/pygments/__pycache__/token.cpython-311.pyc,,
-pip/_vendor/pygments/__pycache__/unistring.cpython-311.pyc,,
-pip/_vendor/pygments/__pycache__/util.cpython-311.pyc,,
-pip/_vendor/pygments/cmdline.py,sha256=byxYJp9gnjVeyhRlZ3UTMgo_LhkXh1afvN8wJBtAcc8,23685
-pip/_vendor/pygments/console.py,sha256=2wZ5W-U6TudJD1_NLUwjclMpbomFM91lNv11_60sfGY,1697
-pip/_vendor/pygments/filter.py,sha256=j5aLM9a9wSx6eH1oy473oSkJ02hGWNptBlVo4s1g_30,1938
-pip/_vendor/pygments/filters/__init__.py,sha256=h_koYkUFo-FFUxjs564JHUAz7O3yJpVwI6fKN3MYzG0,40386
-pip/_vendor/pygments/filters/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/pygments/formatter.py,sha256=J9OL9hXLJKZk7moUgKwpjW9HNf4WlJFg_o_-Z_S_tTY,4178
-pip/_vendor/pygments/formatters/__init__.py,sha256=_xgAcdFKr0QNYwh_i98AU9hvfP3X2wAkhElFcRRF3Uo,5424
-pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-311.pyc,,
-pip/_vendor/pygments/formatters/__pycache__/bbcode.cpython-311.pyc,,
-pip/_vendor/pygments/formatters/__pycache__/groff.cpython-311.pyc,,
-pip/_vendor/pygments/formatters/__pycache__/html.cpython-311.pyc,,
-pip/_vendor/pygments/formatters/__pycache__/img.cpython-311.pyc,,
-pip/_vendor/pygments/formatters/__pycache__/irc.cpython-311.pyc,,
-pip/_vendor/pygments/formatters/__pycache__/latex.cpython-311.pyc,,
-pip/_vendor/pygments/formatters/__pycache__/other.cpython-311.pyc,,
-pip/_vendor/pygments/formatters/__pycache__/pangomarkup.cpython-311.pyc,,
-pip/_vendor/pygments/formatters/__pycache__/rtf.cpython-311.pyc,,
-pip/_vendor/pygments/formatters/__pycache__/svg.cpython-311.pyc,,
-pip/_vendor/pygments/formatters/__pycache__/terminal.cpython-311.pyc,,
-pip/_vendor/pygments/formatters/__pycache__/terminal256.cpython-311.pyc,,
-pip/_vendor/pygments/formatters/_mapping.py,sha256=1Cw37FuQlNacnxRKmtlPX4nyLoX9_ttko5ZwscNUZZ4,4176
-pip/_vendor/pygments/formatters/bbcode.py,sha256=r1b7wzWTJouADDLh-Z11iRi4iQxD0JKJ1qHl6mOYxsA,3314
-pip/_vendor/pygments/formatters/groff.py,sha256=xy8Zf3tXOo6MWrXh7yPGWx3lVEkg_DhY4CxmsDb0IVo,5094
-pip/_vendor/pygments/formatters/html.py,sha256=PIzAyilNqaTzSSP2slDG2VDLE3qNioWy2rgtSSoviuI,35610
-pip/_vendor/pygments/formatters/img.py,sha256=XKXmg2_XONrR4mtq2jfEU8XCsoln3VSGTw-UYiEokys,21938
-pip/_vendor/pygments/formatters/irc.py,sha256=Ep-m8jd3voFO6Fv57cUGFmz6JVA67IEgyiBOwv0N4a0,4981
-pip/_vendor/pygments/formatters/latex.py,sha256=FGzJ-YqSTE8z_voWPdzvLY5Tq8jE_ygjGjM6dXZJ8-k,19351
-pip/_vendor/pygments/formatters/other.py,sha256=gPxkk5BdAzWTCgbEHg1lpLi-1F6ZPh5A_aotgLXHnzg,5073
-pip/_vendor/pygments/formatters/pangomarkup.py,sha256=6LKnQc8yh49f802bF0sPvbzck4QivMYqqoXAPaYP8uU,2212
-pip/_vendor/pygments/formatters/rtf.py,sha256=aA0v_psW6KZI3N18TKDifxeL6mcF8EDXcPXDWI4vhVQ,5014
-pip/_vendor/pygments/formatters/svg.py,sha256=dQONWypbzfvzGCDtdp3M_NJawScJvM2DiHbx1k-ww7g,7335
-pip/_vendor/pygments/formatters/terminal.py,sha256=FG-rpjRpFmNpiGB4NzIucvxq6sQIXB3HOTo2meTKtrU,4674
-pip/_vendor/pygments/formatters/terminal256.py,sha256=13SJ3D5pFdqZ9zROE6HbWnBDwHvOGE8GlsmqGhprRp4,11753
-pip/_vendor/pygments/lexer.py,sha256=2BpqLlT2ExvOOi7vnjK5nB4Fp-m52ldiPaXMox5uwug,34618
-pip/_vendor/pygments/lexers/__init__.py,sha256=j5KEi5O_VQ5GS59H49l-10gzUOkWKxlwGeVMlGO2MMk,12130
-pip/_vendor/pygments/lexers/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/pygments/lexers/__pycache__/_mapping.cpython-311.pyc,,
-pip/_vendor/pygments/lexers/__pycache__/python.cpython-311.pyc,,
-pip/_vendor/pygments/lexers/_mapping.py,sha256=Hts4r_ZQ8icftGM7gkBPeED5lyVSv4affFgXYE6Ap04,72281
-pip/_vendor/pygments/lexers/python.py,sha256=c7jnmKFU9DLxTJW0UbwXt6Z9FJqbBlVsWA1Qr9xSA_w,53424
-pip/_vendor/pygments/modeline.py,sha256=eF2vO4LpOGoPvIKKkbPfnyut8hT4UiebZPpb-BYGQdI,986
-pip/_vendor/pygments/plugin.py,sha256=j1Fh310RbV2DQ9nvkmkqvlj38gdyuYKllLnGxbc8sJM,2591
-pip/_vendor/pygments/regexopt.py,sha256=jg1ALogcYGU96TQS9isBl6dCrvw5y5--BP_K-uFk_8s,3072
-pip/_vendor/pygments/scanner.py,sha256=b_nu5_f3HCgSdp5S_aNRBQ1MSCm4ZjDwec2OmTRickw,3092
-pip/_vendor/pygments/sphinxext.py,sha256=wBFYm180qea9JKt__UzhRlNRNhczPDFDaqGD21sbuso,6882
-pip/_vendor/pygments/style.py,sha256=C4qyoJrUTkq-OV3iO-8Vz3UtWYpJwSTdh5_vlGCGdNQ,6257
-pip/_vendor/pygments/styles/__init__.py,sha256=he7HjQx7sC0d2kfTVLjUs0J15mtToJM6M1brwIm9--Q,3700
-pip/_vendor/pygments/styles/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/pygments/token.py,sha256=seNsmcch9OEHXYirh8Ool7w8xDhfNTbLj5rHAC-gc_o,6184
-pip/_vendor/pygments/unistring.py,sha256=FaUfG14NBJEKLQoY9qj6JYeXrpYcLmKulghdxOGFaOc,63223
-pip/_vendor/pygments/util.py,sha256=AEVY0qonyyEMgv4Do2dINrrqUAwUk2XYSqHM650uzek,10230
-pip/_vendor/pyparsing/__init__.py,sha256=9m1JbE2JTLdBG0Mb6B0lEaZj181Wx5cuPXZpsbHEYgE,9116
-pip/_vendor/pyparsing/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/pyparsing/__pycache__/actions.cpython-311.pyc,,
-pip/_vendor/pyparsing/__pycache__/common.cpython-311.pyc,,
-pip/_vendor/pyparsing/__pycache__/core.cpython-311.pyc,,
-pip/_vendor/pyparsing/__pycache__/exceptions.cpython-311.pyc,,
-pip/_vendor/pyparsing/__pycache__/helpers.cpython-311.pyc,,
-pip/_vendor/pyparsing/__pycache__/results.cpython-311.pyc,,
-pip/_vendor/pyparsing/__pycache__/testing.cpython-311.pyc,,
-pip/_vendor/pyparsing/__pycache__/unicode.cpython-311.pyc,,
-pip/_vendor/pyparsing/__pycache__/util.cpython-311.pyc,,
-pip/_vendor/pyparsing/actions.py,sha256=05uaIPOznJPQ7VgRdmGCmG4sDnUPtwgv5qOYIqbL2UY,6567
-pip/_vendor/pyparsing/common.py,sha256=p-3c83E5-DjlkF35G0O9-kjQRpoejP-2_z0hxZ-eol4,13387
-pip/_vendor/pyparsing/core.py,sha256=yvuRlLpXSF8mgk-QhiW3OVLqD9T0rsj9tbibhRH4Yaw,224445
-pip/_vendor/pyparsing/diagram/__init__.py,sha256=nxmDOoYF9NXuLaGYy01tKFjkNReWJlrGFuJNWEiTo84,24215
-pip/_vendor/pyparsing/diagram/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/pyparsing/exceptions.py,sha256=6Jc6W1eDZBzyFu1J0YrcdNFVBC-RINujZmveSnB8Rxw,9523
-pip/_vendor/pyparsing/helpers.py,sha256=BZJHCA8SS0pYio30KGQTc9w2qMOaK4YpZ7hcvHbnTgk,38646
-pip/_vendor/pyparsing/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_vendor/pyparsing/results.py,sha256=9dyqQ-w3MjfmxWbFt8KEPU6IfXeyRdoWp2Og802rUQY,26692
-pip/_vendor/pyparsing/testing.py,sha256=eJncg0p83zm1FTPvM9auNT6oavIvXaibmRFDf1qmwkY,13488
-pip/_vendor/pyparsing/unicode.py,sha256=fAPdsJiARFbkPAih6NkYry0dpj4jPqelGVMlE4wWFW8,10646
-pip/_vendor/pyparsing/util.py,sha256=vTMzTdwSDyV8d_dSgquUTdWgBFoA_W30nfxEJDsshRQ,8670
-pip/_vendor/pyproject_hooks/__init__.py,sha256=kCehmy0UaBa9oVMD7ZIZrnswfnP3LXZ5lvnNJAL5JBM,491
-pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/pyproject_hooks/__pycache__/_compat.cpython-311.pyc,,
-pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-311.pyc,,
-pip/_vendor/pyproject_hooks/_compat.py,sha256=by6evrYnqkisiM-MQcvOKs5bgDMzlOSgZqRHNqf04zE,138
-pip/_vendor/pyproject_hooks/_impl.py,sha256=61GJxzQip0IInhuO69ZI5GbNQ82XEDUB_1Gg5_KtUoc,11920
-pip/_vendor/pyproject_hooks/_in_process/__init__.py,sha256=9gQATptbFkelkIy0OfWFEACzqxXJMQDWCH9rBOAZVwQ,546
-pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-311.pyc,,
-pip/_vendor/pyproject_hooks/_in_process/_in_process.py,sha256=m2b34c917IW5o-Q_6TYIHlsK9lSUlNiyrITTUH_zwew,10927
-pip/_vendor/requests/__init__.py,sha256=owujob4dk45Siy4EYtbCKR6wcFph7E04a_v_OuAacBA,5169
-pip/_vendor/requests/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/requests/__pycache__/__version__.cpython-311.pyc,,
-pip/_vendor/requests/__pycache__/_internal_utils.cpython-311.pyc,,
-pip/_vendor/requests/__pycache__/adapters.cpython-311.pyc,,
-pip/_vendor/requests/__pycache__/api.cpython-311.pyc,,
-pip/_vendor/requests/__pycache__/auth.cpython-311.pyc,,
-pip/_vendor/requests/__pycache__/certs.cpython-311.pyc,,
-pip/_vendor/requests/__pycache__/compat.cpython-311.pyc,,
-pip/_vendor/requests/__pycache__/cookies.cpython-311.pyc,,
-pip/_vendor/requests/__pycache__/exceptions.cpython-311.pyc,,
-pip/_vendor/requests/__pycache__/help.cpython-311.pyc,,
-pip/_vendor/requests/__pycache__/hooks.cpython-311.pyc,,
-pip/_vendor/requests/__pycache__/models.cpython-311.pyc,,
-pip/_vendor/requests/__pycache__/packages.cpython-311.pyc,,
-pip/_vendor/requests/__pycache__/sessions.cpython-311.pyc,,
-pip/_vendor/requests/__pycache__/status_codes.cpython-311.pyc,,
-pip/_vendor/requests/__pycache__/structures.cpython-311.pyc,,
-pip/_vendor/requests/__pycache__/utils.cpython-311.pyc,,
-pip/_vendor/requests/__version__.py,sha256=ssI3Ezt7PaxgkOW45GhtwPUclo_SO_ygtIm4A74IOfw,435
-pip/_vendor/requests/_internal_utils.py,sha256=nMQymr4hs32TqVo5AbCrmcJEhvPUh7xXlluyqwslLiQ,1495
-pip/_vendor/requests/adapters.py,sha256=idj6cZcId3L5xNNeJ7ieOLtw3awJk5A64xUfetHwq3M,19697
-pip/_vendor/requests/api.py,sha256=q61xcXq4tmiImrvcSVLTbFyCiD2F-L_-hWKGbz4y8vg,6449
-pip/_vendor/requests/auth.py,sha256=h-HLlVx9j8rKV5hfSAycP2ApOSglTz77R0tz7qCbbEE,10187
-pip/_vendor/requests/certs.py,sha256=PVPooB0jP5hkZEULSCwC074532UFbR2Ptgu0I5zwmCs,575
-pip/_vendor/requests/compat.py,sha256=IhK9quyX0RRuWTNcg6d2JGSAOUbM6mym2p_2XjLTwf4,1286
-pip/_vendor/requests/cookies.py,sha256=kD3kNEcCj-mxbtf5fJsSaT86eGoEYpD3X0CSgpzl7BM,18560
-pip/_vendor/requests/exceptions.py,sha256=FA-_kVwBZ2jhXauRctN_ewHVK25b-fj0Azyz1THQ0Kk,3823
-pip/_vendor/requests/help.py,sha256=FnAAklv8MGm_qb2UilDQgS6l0cUttiCFKUjx0zn2XNA,3879
-pip/_vendor/requests/hooks.py,sha256=CiuysiHA39V5UfcCBXFIx83IrDpuwfN9RcTUgv28ftQ,733
-pip/_vendor/requests/models.py,sha256=dDZ-iThotky-Noq9yy97cUEJhr3wnY6mv-xR_ePg_lk,35288
-pip/_vendor/requests/packages.py,sha256=njJmVifY4aSctuW3PP5EFRCxjEwMRDO6J_feG2dKWsI,695
-pip/_vendor/requests/sessions.py,sha256=-LvTzrPtetSTrR3buxu4XhdgMrJFLB1q5D7P--L2Xhw,30373
-pip/_vendor/requests/status_codes.py,sha256=FvHmT5uH-_uimtRz5hH9VCbt7VV-Nei2J9upbej6j8g,4235
-pip/_vendor/requests/structures.py,sha256=-IbmhVz06S-5aPSZuUthZ6-6D9XOjRuTXHOabY041XM,2912
-pip/_vendor/requests/utils.py,sha256=kOPn0qYD6xRTzaxbqTdYiSInBZHl6379AJsyIgzYGLY,33460
-pip/_vendor/resolvelib/__init__.py,sha256=h509TdEcpb5-44JonaU3ex2TM15GVBLjM9CNCPwnTTs,537
-pip/_vendor/resolvelib/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/resolvelib/__pycache__/providers.cpython-311.pyc,,
-pip/_vendor/resolvelib/__pycache__/reporters.cpython-311.pyc,,
-pip/_vendor/resolvelib/__pycache__/resolvers.cpython-311.pyc,,
-pip/_vendor/resolvelib/__pycache__/structs.cpython-311.pyc,,
-pip/_vendor/resolvelib/compat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_vendor/resolvelib/compat/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/resolvelib/compat/__pycache__/collections_abc.cpython-311.pyc,,
-pip/_vendor/resolvelib/compat/collections_abc.py,sha256=uy8xUZ-NDEw916tugUXm8HgwCGiMO0f-RcdnpkfXfOs,156
-pip/_vendor/resolvelib/providers.py,sha256=fuuvVrCetu5gsxPB43ERyjfO8aReS3rFQHpDgiItbs4,5871
-pip/_vendor/resolvelib/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_vendor/resolvelib/reporters.py,sha256=TSbRmWzTc26w0ggsV1bxVpeWDB8QNIre6twYl7GIZBE,1601
-pip/_vendor/resolvelib/resolvers.py,sha256=G8rsLZSq64g5VmIq-lB7UcIJ1gjAxIQJmTF4REZleQ0,20511
-pip/_vendor/resolvelib/structs.py,sha256=0_1_XO8z_CLhegP3Vpf9VJ3zJcfLm0NOHRM-i0Ykz3o,4963
-pip/_vendor/rich/__init__.py,sha256=dRxjIL-SbFVY0q3IjSMrfgBTHrm1LZDgLOygVBwiYZc,6090
-pip/_vendor/rich/__main__.py,sha256=TT8sb9PTnsnKhhrGuHkLN0jdN0dtKhtPkEr9CidDbPM,8478
-pip/_vendor/rich/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/__main__.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/_cell_widths.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/_emoji_codes.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/_emoji_replace.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/_export_format.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/_extension.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/_fileno.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/_inspect.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/_log_render.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/_loop.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/_null_file.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/_palettes.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/_pick.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/_ratio.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/_spinners.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/_stack.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/_timer.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/_win32_console.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/_windows.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/_windows_renderer.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/_wrap.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/abc.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/align.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/ansi.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/bar.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/box.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/cells.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/color.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/color_triplet.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/columns.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/console.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/constrain.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/containers.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/control.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/default_styles.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/diagnose.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/emoji.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/errors.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/file_proxy.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/filesize.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/highlighter.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/json.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/jupyter.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/layout.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/live.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/live_render.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/logging.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/markup.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/measure.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/padding.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/pager.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/palette.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/panel.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/pretty.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/progress.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/progress_bar.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/prompt.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/protocol.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/region.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/repr.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/rule.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/scope.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/screen.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/segment.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/spinner.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/status.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/style.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/styled.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/syntax.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/table.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/terminal_theme.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/text.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/theme.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/themes.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/traceback.cpython-311.pyc,,
-pip/_vendor/rich/__pycache__/tree.cpython-311.pyc,,
-pip/_vendor/rich/_cell_widths.py,sha256=2n4EiJi3X9sqIq0O16kUZ_zy6UYMd3xFfChlKfnW1Hc,10096
-pip/_vendor/rich/_emoji_codes.py,sha256=hu1VL9nbVdppJrVoijVshRlcRRe_v3dju3Mmd2sKZdY,140235
-pip/_vendor/rich/_emoji_replace.py,sha256=n-kcetsEUx2ZUmhQrfeMNc-teeGhpuSQ5F8VPBsyvDo,1064
-pip/_vendor/rich/_export_format.py,sha256=qxgV3nKnXQu1hfbnRVswPYy-AwIg1X0LSC47cK5s8jk,2100
-pip/_vendor/rich/_extension.py,sha256=Xt47QacCKwYruzjDi-gOBq724JReDj9Cm9xUi5fr-34,265
-pip/_vendor/rich/_fileno.py,sha256=HWZxP5C2ajMbHryvAQZseflVfQoGzsKOHzKGsLD8ynQ,799
-pip/_vendor/rich/_inspect.py,sha256=oZJGw31e64dwXSCmrDnvZbwVb1ZKhWfU8wI3VWohjJk,9695
-pip/_vendor/rich/_log_render.py,sha256=1ByI0PA1ZpxZY3CGJOK54hjlq4X-Bz_boIjIqCd8Kns,3225
-pip/_vendor/rich/_loop.py,sha256=hV_6CLdoPm0va22Wpw4zKqM0RYsz3TZxXj0PoS-9eDQ,1236
-pip/_vendor/rich/_null_file.py,sha256=tGSXk_v-IZmbj1GAzHit8A3kYIQMiCpVsCFfsC-_KJ4,1387
-pip/_vendor/rich/_palettes.py,sha256=cdev1JQKZ0JvlguV9ipHgznTdnvlIzUFDBb0It2PzjI,7063
-pip/_vendor/rich/_pick.py,sha256=evDt8QN4lF5CiwrUIXlOJCntitBCOsI3ZLPEIAVRLJU,423
-pip/_vendor/rich/_ratio.py,sha256=2lLSliL025Y-YMfdfGbutkQDevhcyDqc-DtUYW9mU70,5472
-pip/_vendor/rich/_spinners.py,sha256=U2r1_g_1zSjsjiUdAESc2iAMc3i4ri_S8PYP6kQ5z1I,19919
-pip/_vendor/rich/_stack.py,sha256=-C8OK7rxn3sIUdVwxZBBpeHhIzX0eI-VM3MemYfaXm0,351
-pip/_vendor/rich/_timer.py,sha256=zelxbT6oPFZnNrwWPpc1ktUeAT-Vc4fuFcRZLQGLtMI,417
-pip/_vendor/rich/_win32_console.py,sha256=P0vxI2fcndym1UU1S37XAzQzQnkyY7YqAKmxm24_gug,22820
-pip/_vendor/rich/_windows.py,sha256=dvNl9TmfPzNVxiKk5WDFihErZ5796g2UC9-KGGyfXmk,1926
-pip/_vendor/rich/_windows_renderer.py,sha256=t74ZL3xuDCP3nmTp9pH1L5LiI2cakJuQRQleHCJerlk,2783
-pip/_vendor/rich/_wrap.py,sha256=xfV_9t0Sg6rzimmrDru8fCVmUlalYAcHLDfrJZnbbwQ,1840
-pip/_vendor/rich/abc.py,sha256=ON-E-ZqSSheZ88VrKX2M3PXpFbGEUUZPMa_Af0l-4f0,890
-pip/_vendor/rich/align.py,sha256=Ji-Yokfkhnfe_xMmr4ISjZB07TJXggBCOYoYa-HDAr8,10368
-pip/_vendor/rich/ansi.py,sha256=iD6532QYqnBm6hADulKjrV8l8kFJ-9fEVooHJHH3hMg,6906
-pip/_vendor/rich/bar.py,sha256=a7UD303BccRCrEhGjfMElpv5RFYIinaAhAuqYqhUvmw,3264
-pip/_vendor/rich/box.py,sha256=FJ6nI3jD7h2XNFU138bJUt2HYmWOlRbltoCEuIAZhew,9842
-pip/_vendor/rich/cells.py,sha256=627ztJs9zOL-38HJ7kXBerR-gT8KBfYC8UzEwMJDYYo,4509
-pip/_vendor/rich/color.py,sha256=9Gh958U3f75WVdLTeC0U9nkGTn2n0wnojKpJ6jQEkIE,18224
-pip/_vendor/rich/color_triplet.py,sha256=3lhQkdJbvWPoLDO-AnYImAWmJvV5dlgYNCVZ97ORaN4,1054
-pip/_vendor/rich/columns.py,sha256=HUX0KcMm9dsKNi11fTbiM_h2iDtl8ySCaVcxlalEzq8,7131
-pip/_vendor/rich/console.py,sha256=pDvkbLkvtZIMIwQx_jkZ-seyNl4zGBLviXoWXte9fwg,99218
-pip/_vendor/rich/constrain.py,sha256=1VIPuC8AgtKWrcncQrjBdYqA3JVWysu6jZo1rrh7c7Q,1288
-pip/_vendor/rich/containers.py,sha256=aKgm5UDHn5Nmui6IJaKdsZhbHClh_X7D-_Wg8Ehrr7s,5497
-pip/_vendor/rich/control.py,sha256=DSkHTUQLorfSERAKE_oTAEUFefZnZp4bQb4q8rHbKws,6630
-pip/_vendor/rich/default_styles.py,sha256=-Fe318kMVI_IwciK5POpThcO0-9DYJ67TZAN6DlmlmM,8082
-pip/_vendor/rich/diagnose.py,sha256=an6uouwhKPAlvQhYpNNpGq9EJysfMIOvvCbO3oSoR24,972
-pip/_vendor/rich/emoji.py,sha256=omTF9asaAnsM4yLY94eR_9dgRRSm1lHUszX20D1yYCQ,2501
-pip/_vendor/rich/errors.py,sha256=5pP3Kc5d4QJ_c0KFsxrfyhjiPVe7J1zOqSFbFAzcV-Y,642
-pip/_vendor/rich/file_proxy.py,sha256=Tl9THMDZ-Pk5Wm8sI1gGg_U5DhusmxD-FZ0fUbcU0W0,1683
-pip/_vendor/rich/filesize.py,sha256=9fTLAPCAwHmBXdRv7KZU194jSgNrRb6Wx7RIoBgqeKY,2508
-pip/_vendor/rich/highlighter.py,sha256=p3C1g4QYzezFKdR7NF9EhPbzQDvdPUhGRgSyGGEmPko,9584
-pip/_vendor/rich/json.py,sha256=EYp9ucj-nDjYDkHCV6Mk1ve8nUOpuFLaW76X50Mis2M,5032
-pip/_vendor/rich/jupyter.py,sha256=QyoKoE_8IdCbrtiSHp9TsTSNyTHY0FO5whE7jOTd9UE,3252
-pip/_vendor/rich/layout.py,sha256=RFYL6HdCFsHf9WRpcvi3w-fpj-8O5dMZ8W96VdKNdbI,14007
-pip/_vendor/rich/live.py,sha256=vZzYvu7fqwlv3Gthl2xiw1Dc_O80VlGcCV0DOHwCyDM,14273
-pip/_vendor/rich/live_render.py,sha256=zElm3PrfSIvjOce28zETHMIUf9pFYSUA5o0AflgUP64,3667
-pip/_vendor/rich/logging.py,sha256=uB-cB-3Q4bmXDLLpbOWkmFviw-Fde39zyMV6tKJ2WHQ,11903
-pip/_vendor/rich/markup.py,sha256=xzF4uAafiEeEYDJYt_vUnJOGoTU8RrH-PH7WcWYXjCg,8198
-pip/_vendor/rich/measure.py,sha256=HmrIJX8sWRTHbgh8MxEay_83VkqNW_70s8aKP5ZcYI8,5305
-pip/_vendor/rich/padding.py,sha256=kTFGsdGe0os7tXLnHKpwTI90CXEvrceeZGCshmJy5zw,4970
-pip/_vendor/rich/pager.py,sha256=SO_ETBFKbg3n_AgOzXm41Sv36YxXAyI3_R-KOY2_uSc,828
-pip/_vendor/rich/palette.py,sha256=lInvR1ODDT2f3UZMfL1grq7dY_pDdKHw4bdUgOGaM4Y,3396
-pip/_vendor/rich/panel.py,sha256=wGMe40J8KCGgQoM0LyjRErmGIkv2bsYA71RCXThD0xE,10574
-pip/_vendor/rich/pretty.py,sha256=eLEYN9xVaMNuA6EJVYm4li7HdOHxCqmVKvnOqJpyFt0,35852
-pip/_vendor/rich/progress.py,sha256=n4KF9vky8_5iYeXcyZPEvzyLplWlDvFLkM5JI0Bs08A,59706
-pip/_vendor/rich/progress_bar.py,sha256=cEoBfkc3lLwqba4XKsUpy4vSQKDh2QQ5J2J94-ACFoo,8165
-pip/_vendor/rich/prompt.py,sha256=x0mW-pIPodJM4ry6grgmmLrl8VZp99kqcmdnBe70YYA,11303
-pip/_vendor/rich/protocol.py,sha256=5hHHDDNHckdk8iWH5zEbi-zuIVSF5hbU2jIo47R7lTE,1391
-pip/_vendor/rich/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_vendor/rich/region.py,sha256=rNT9xZrVZTYIXZC0NYn41CJQwYNbR-KecPOxTgQvB8Y,166
-pip/_vendor/rich/repr.py,sha256=9Z8otOmM-tyxnyTodvXlectP60lwahjGiDTrbrxPSTg,4431
-pip/_vendor/rich/rule.py,sha256=0fNaS_aERa3UMRc3T5WMpN_sumtDxfaor2y3of1ftBk,4602
-pip/_vendor/rich/scope.py,sha256=TMUU8qo17thyqQCPqjDLYpg_UU1k5qVd-WwiJvnJVas,2843
-pip/_vendor/rich/screen.py,sha256=YoeReESUhx74grqb0mSSb9lghhysWmFHYhsbMVQjXO8,1591
-pip/_vendor/rich/segment.py,sha256=XLnJEFvcV3bjaVzMNUJiem3n8lvvI9TJ5PTu-IG2uTg,24247
-pip/_vendor/rich/spinner.py,sha256=15koCmF0DQeD8-k28Lpt6X_zJQUlzEhgo_6A6uy47lc,4339
-pip/_vendor/rich/status.py,sha256=gJsIXIZeSo3urOyxRUjs6VrhX5CZrA0NxIQ-dxhCnwo,4425
-pip/_vendor/rich/style.py,sha256=3hiocH_4N8vwRm3-8yFWzM7tSwjjEven69XqWasSQwM,27073
-pip/_vendor/rich/styled.py,sha256=eZNnzGrI4ki_54pgY3Oj0T-x3lxdXTYh4_ryDB24wBU,1258
-pip/_vendor/rich/syntax.py,sha256=jgDiVCK6cpR0NmBOpZmIu-Ud4eaW7fHvjJZkDbjpcSA,35173
-pip/_vendor/rich/table.py,sha256=-WzesL-VJKsaiDU3uyczpJMHy6VCaSewBYJwx8RudI8,39684
-pip/_vendor/rich/terminal_theme.py,sha256=1j5-ufJfnvlAo5Qsi_ACZiXDmwMXzqgmFByObT9-yJY,3370
-pip/_vendor/rich/text.py,sha256=_8JBlSau0c2z8ENOZMi1hJ7M1ZGY408E4-hXjHyyg1A,45525
-pip/_vendor/rich/theme.py,sha256=belFJogzA0W0HysQabKaHOc3RWH2ko3fQAJhoN-AFdo,3777
-pip/_vendor/rich/themes.py,sha256=0xgTLozfabebYtcJtDdC5QkX5IVUEaviqDUJJh4YVFk,102
-pip/_vendor/rich/traceback.py,sha256=yCLVrCtyoFNENd9mkm2xeG3KmqkTwH9xpFOO7p2Bq0A,29604
-pip/_vendor/rich/tree.py,sha256=BMbUYNjS9uodNPfvtY_odmU09GA5QzcMbQ5cJZhllQI,9169
-pip/_vendor/six.py,sha256=TOOfQi7nFGfMrIvtdr6wX4wyHH8M7aknmuLfo2cBBrM,34549
-pip/_vendor/tenacity/__init__.py,sha256=3kvAL6KClq8GFo2KFhmOzskRKSDQI-ubrlfZ8AQEEI0,20493
-pip/_vendor/tenacity/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/tenacity/__pycache__/_asyncio.cpython-311.pyc,,
-pip/_vendor/tenacity/__pycache__/_utils.cpython-311.pyc,,
-pip/_vendor/tenacity/__pycache__/after.cpython-311.pyc,,
-pip/_vendor/tenacity/__pycache__/before.cpython-311.pyc,,
-pip/_vendor/tenacity/__pycache__/before_sleep.cpython-311.pyc,,
-pip/_vendor/tenacity/__pycache__/nap.cpython-311.pyc,,
-pip/_vendor/tenacity/__pycache__/retry.cpython-311.pyc,,
-pip/_vendor/tenacity/__pycache__/stop.cpython-311.pyc,,
-pip/_vendor/tenacity/__pycache__/tornadoweb.cpython-311.pyc,,
-pip/_vendor/tenacity/__pycache__/wait.cpython-311.pyc,,
-pip/_vendor/tenacity/_asyncio.py,sha256=Qi6wgQsGa9MQibYRy3OXqcDQswIZZ00dLOoSUGN-6o8,3551
-pip/_vendor/tenacity/_utils.py,sha256=ubs6a7sxj3JDNRKWCyCU2j5r1CB7rgyONgZzYZq6D_4,2179
-pip/_vendor/tenacity/after.py,sha256=S5NCISScPeIrKwIeXRwdJl3kV9Q4nqZfnNPDx6Hf__g,1682
-pip/_vendor/tenacity/before.py,sha256=dIZE9gmBTffisfwNkK0F1xFwGPV41u5GK70UY4Pi5Kc,1562
-pip/_vendor/tenacity/before_sleep.py,sha256=YmpgN9Y7HGlH97U24vvq_YWb5deaK4_DbiD8ZuFmy-E,2372
-pip/_vendor/tenacity/nap.py,sha256=fRWvnz1aIzbIq9Ap3gAkAZgDH6oo5zxMrU6ZOVByq0I,1383
-pip/_vendor/tenacity/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_vendor/tenacity/retry.py,sha256=jrzD_mxA5mSTUEdiYB7SHpxltjhPSYZSnSRATb-ggRc,8746
-pip/_vendor/tenacity/stop.py,sha256=YMJs7ZgZfND65PRLqlGB_agpfGXlemx_5Hm4PKnBqpQ,3086
-pip/_vendor/tenacity/tornadoweb.py,sha256=po29_F1Mt8qZpsFjX7EVwAT0ydC_NbVia9gVi7R_wXA,2142
-pip/_vendor/tenacity/wait.py,sha256=3FcBJoCDgym12_dN6xfK8C1gROY0Hn4NSI2u8xv50uE,8024
-pip/_vendor/tomli/__init__.py,sha256=JhUwV66DB1g4Hvt1UQCVMdfCu-IgAV8FXmvDU9onxd4,396
-pip/_vendor/tomli/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/tomli/__pycache__/_parser.cpython-311.pyc,,
-pip/_vendor/tomli/__pycache__/_re.cpython-311.pyc,,
-pip/_vendor/tomli/__pycache__/_types.cpython-311.pyc,,
-pip/_vendor/tomli/_parser.py,sha256=g9-ENaALS-B8dokYpCuzUFalWlog7T-SIYMjLZSWrtM,22633
-pip/_vendor/tomli/_re.py,sha256=dbjg5ChZT23Ka9z9DHOXfdtSpPwUfdgMXnj8NOoly-w,2943
-pip/_vendor/tomli/_types.py,sha256=-GTG2VUqkpxwMqzmVO4F7ybKddIbAnuAHXfmWQcTi3Q,254
-pip/_vendor/tomli/py.typed,sha256=8PjyZ1aVoQpRVvt71muvuq5qE-jTFZkK-GLHkhdebmc,26
-pip/_vendor/truststore/__init__.py,sha256=qzTLSH8PvAkY1fr6QQ2vV-KwE_M83wdXugtpJaP_AbM,403
-pip/_vendor/truststore/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/truststore/__pycache__/_api.cpython-311.pyc,,
-pip/_vendor/truststore/__pycache__/_macos.cpython-311.pyc,,
-pip/_vendor/truststore/__pycache__/_openssl.cpython-311.pyc,,
-pip/_vendor/truststore/__pycache__/_ssl_constants.cpython-311.pyc,,
-pip/_vendor/truststore/__pycache__/_windows.cpython-311.pyc,,
-pip/_vendor/truststore/_api.py,sha256=xjuEu_rlH4hcdJTROImEyOEqdw-F8t5vO2H2BToY0Ro,9893
-pip/_vendor/truststore/_macos.py,sha256=BjvAKoAjXhdIPuxpY124HJIFswDb0pq8DjynzJOVwqc,17694
-pip/_vendor/truststore/_openssl.py,sha256=LLUZ7ZGaio-i5dpKKjKCSeSufmn6T8pi9lDcFnvSyq0,2324
-pip/_vendor/truststore/_ssl_constants.py,sha256=NUD4fVKdSD02ri7-db0tnO0VqLP9aHuzmStcW7tAl08,1130
-pip/_vendor/truststore/_windows.py,sha256=1x_EhROeJ9QK1sMAjfnZC7awYI8UnBJYL-TjACUYI4A,17468
-pip/_vendor/truststore/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_vendor/typing_extensions.py,sha256=EWpcpyQnVmc48E9fSyPGs-vXgHcAk9tQABQIxmMsCGk,111130
-pip/_vendor/urllib3/__init__.py,sha256=iXLcYiJySn0GNbWOOZDDApgBL1JgP44EZ8i1760S8Mc,3333
-pip/_vendor/urllib3/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/urllib3/__pycache__/_collections.cpython-311.pyc,,
-pip/_vendor/urllib3/__pycache__/_version.cpython-311.pyc,,
-pip/_vendor/urllib3/__pycache__/connection.cpython-311.pyc,,
-pip/_vendor/urllib3/__pycache__/connectionpool.cpython-311.pyc,,
-pip/_vendor/urllib3/__pycache__/exceptions.cpython-311.pyc,,
-pip/_vendor/urllib3/__pycache__/fields.cpython-311.pyc,,
-pip/_vendor/urllib3/__pycache__/filepost.cpython-311.pyc,,
-pip/_vendor/urllib3/__pycache__/poolmanager.cpython-311.pyc,,
-pip/_vendor/urllib3/__pycache__/request.cpython-311.pyc,,
-pip/_vendor/urllib3/__pycache__/response.cpython-311.pyc,,
-pip/_vendor/urllib3/_collections.py,sha256=Rp1mVyBgc_UlAcp6M3at1skJBXR5J43NawRTvW2g_XY,10811
-pip/_vendor/urllib3/_version.py,sha256=azoM7M7BUADl2kBhMVR6PPf2GhBDI90me1fcnzTwdcw,64
-pip/_vendor/urllib3/connection.py,sha256=92k9td_y4PEiTIjNufCUa1NzMB3J3w0LEdyokYgXnW8,20300
-pip/_vendor/urllib3/connectionpool.py,sha256=ItVDasDnPRPP9R8bNxY7tPBlC724nJ9nlxVgXG_SLbI,39990
-pip/_vendor/urllib3/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/urllib3/contrib/__pycache__/_appengine_environ.cpython-311.pyc,,
-pip/_vendor/urllib3/contrib/__pycache__/appengine.cpython-311.pyc,,
-pip/_vendor/urllib3/contrib/__pycache__/ntlmpool.cpython-311.pyc,,
-pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-311.pyc,,
-pip/_vendor/urllib3/contrib/__pycache__/securetransport.cpython-311.pyc,,
-pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-311.pyc,,
-pip/_vendor/urllib3/contrib/_appengine_environ.py,sha256=bDbyOEhW2CKLJcQqAKAyrEHN-aklsyHFKq6vF8ZFsmk,957
-pip/_vendor/urllib3/contrib/_securetransport/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_vendor/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-311.pyc,,
-pip/_vendor/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-311.pyc,,
-pip/_vendor/urllib3/contrib/_securetransport/bindings.py,sha256=4Xk64qIkPBt09A5q-RIFUuDhNc9mXilVapm7WnYnzRw,17632
-pip/_vendor/urllib3/contrib/_securetransport/low_level.py,sha256=B2JBB2_NRP02xK6DCa1Pa9IuxrPwxzDzZbixQkb7U9M,13922
-pip/_vendor/urllib3/contrib/appengine.py,sha256=VR68eAVE137lxTgjBDwCna5UiBZTOKa01Aj_-5BaCz4,11036
-pip/_vendor/urllib3/contrib/ntlmpool.py,sha256=NlfkW7WMdW8ziqudopjHoW299og1BTWi0IeIibquFwk,4528
-pip/_vendor/urllib3/contrib/pyopenssl.py,sha256=hDJh4MhyY_p-oKlFcYcQaVQRDv6GMmBGuW9yjxyeejM,17081
-pip/_vendor/urllib3/contrib/securetransport.py,sha256=yhZdmVjY6PI6EeFbp7qYOp6-vp1Rkv2NMuOGaEj7pmc,34448
-pip/_vendor/urllib3/contrib/socks.py,sha256=aRi9eWXo9ZEb95XUxef4Z21CFlnnjbEiAo9HOseoMt4,7097
-pip/_vendor/urllib3/exceptions.py,sha256=0Mnno3KHTNfXRfY7638NufOPkUb6mXOm-Lqj-4x2w8A,8217
-pip/_vendor/urllib3/fields.py,sha256=kvLDCg_JmH1lLjUUEY_FLS8UhY7hBvDPuVETbY8mdrM,8579
-pip/_vendor/urllib3/filepost.py,sha256=5b_qqgRHVlL7uLtdAYBzBh-GHmU5AfJVt_2N0XS3PeY,2440
-pip/_vendor/urllib3/packages/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_vendor/urllib3/packages/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/urllib3/packages/__pycache__/six.cpython-311.pyc,,
-pip/_vendor/urllib3/packages/backports/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-pip/_vendor/urllib3/packages/backports/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/urllib3/packages/backports/__pycache__/makefile.cpython-311.pyc,,
-pip/_vendor/urllib3/packages/backports/__pycache__/weakref_finalize.cpython-311.pyc,,
-pip/_vendor/urllib3/packages/backports/makefile.py,sha256=nbzt3i0agPVP07jqqgjhaYjMmuAi_W5E0EywZivVO8E,1417
-pip/_vendor/urllib3/packages/backports/weakref_finalize.py,sha256=tRCal5OAhNSRyb0DhHp-38AtIlCsRP8BxF3NX-6rqIA,5343
-pip/_vendor/urllib3/packages/six.py,sha256=b9LM0wBXv7E7SrbCjAm4wwN-hrH-iNxv18LgWNMMKPo,34665
-pip/_vendor/urllib3/poolmanager.py,sha256=0i8cJgrqupza67IBPZ_u9jXvnSxr5UBlVEiUqdkPtYI,19752
-pip/_vendor/urllib3/request.py,sha256=YTWFNr7QIwh7E1W9dde9LM77v2VWTJ5V78XuTTw7D1A,6691
-pip/_vendor/urllib3/response.py,sha256=fmDJAFkG71uFTn-sVSTh2Iw0WmcXQYqkbRjihvwBjU8,30641
-pip/_vendor/urllib3/util/__init__.py,sha256=JEmSmmqqLyaw8P51gUImZh8Gwg9i1zSe-DoqAitn2nc,1155
-pip/_vendor/urllib3/util/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/urllib3/util/__pycache__/connection.cpython-311.pyc,,
-pip/_vendor/urllib3/util/__pycache__/proxy.cpython-311.pyc,,
-pip/_vendor/urllib3/util/__pycache__/queue.cpython-311.pyc,,
-pip/_vendor/urllib3/util/__pycache__/request.cpython-311.pyc,,
-pip/_vendor/urllib3/util/__pycache__/response.cpython-311.pyc,,
-pip/_vendor/urllib3/util/__pycache__/retry.cpython-311.pyc,,
-pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-311.pyc,,
-pip/_vendor/urllib3/util/__pycache__/ssl_match_hostname.cpython-311.pyc,,
-pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-311.pyc,,
-pip/_vendor/urllib3/util/__pycache__/timeout.cpython-311.pyc,,
-pip/_vendor/urllib3/util/__pycache__/url.cpython-311.pyc,,
-pip/_vendor/urllib3/util/__pycache__/wait.cpython-311.pyc,,
-pip/_vendor/urllib3/util/connection.py,sha256=5Lx2B1PW29KxBn2T0xkN1CBgRBa3gGVJBKoQoRogEVk,4901
-pip/_vendor/urllib3/util/proxy.py,sha256=zUvPPCJrp6dOF0N4GAVbOcl6o-4uXKSrGiTkkr5vUS4,1605
-pip/_vendor/urllib3/util/queue.py,sha256=nRgX8_eX-_VkvxoX096QWoz8Ps0QHUAExILCY_7PncM,498
-pip/_vendor/urllib3/util/request.py,sha256=C0OUt2tcU6LRiQJ7YYNP9GvPrSvl7ziIBekQ-5nlBZk,3997
-pip/_vendor/urllib3/util/response.py,sha256=GJpg3Egi9qaJXRwBh5wv-MNuRWan5BIu40oReoxWP28,3510
-pip/_vendor/urllib3/util/retry.py,sha256=Z6WEf518eTOXP5jr5QSQ9gqJI0DVYt3Xs3EKnYaTmus,22013
-pip/_vendor/urllib3/util/ssl_.py,sha256=X4-AqW91aYPhPx6-xbf66yHFQKbqqfC_5Zt4WkLX1Hc,17177
-pip/_vendor/urllib3/util/ssl_match_hostname.py,sha256=Ir4cZVEjmAk8gUAIHWSi7wtOO83UCYABY2xFD1Ql_WA,5758
-pip/_vendor/urllib3/util/ssltransport.py,sha256=NA-u5rMTrDFDFC8QzRKUEKMG0561hOD4qBTr3Z4pv6E,6895
-pip/_vendor/urllib3/util/timeout.py,sha256=cwq4dMk87mJHSBktK1miYJ-85G-3T3RmT20v7SFCpno,10168
-pip/_vendor/urllib3/util/url.py,sha256=lCAE7M5myA8EDdW0sJuyyZhVB9K_j38ljWhHAnFaWoE,14296
-pip/_vendor/urllib3/util/wait.py,sha256=fOX0_faozG2P7iVojQoE1mbydweNyTcm-hXEfFrTtLI,5403
-pip/_vendor/vendor.txt,sha256=4NKk7fQhVsZw0U-0zmm9Q2LgGyaPXacFbnJAaS0Q6EY,493
-pip/_vendor/webencodings/__init__.py,sha256=qOBJIuPy_4ByYH6W_bNgJF-qYQ2DoU-dKsDu5yRWCXg,10579
-pip/_vendor/webencodings/__pycache__/__init__.cpython-311.pyc,,
-pip/_vendor/webencodings/__pycache__/labels.cpython-311.pyc,,
-pip/_vendor/webencodings/__pycache__/mklabels.cpython-311.pyc,,
-pip/_vendor/webencodings/__pycache__/tests.cpython-311.pyc,,
-pip/_vendor/webencodings/__pycache__/x_user_defined.cpython-311.pyc,,
-pip/_vendor/webencodings/labels.py,sha256=4AO_KxTddqGtrL9ns7kAPjb0CcN6xsCIxbK37HY9r3E,8979
-pip/_vendor/webencodings/mklabels.py,sha256=GYIeywnpaLnP0GSic8LFWgd0UVvO_l1Nc6YoF-87R_4,1305
-pip/_vendor/webencodings/tests.py,sha256=OtGLyjhNY1fvkW1GvLJ_FV9ZoqC9Anyjr7q3kxTbzNs,6563
-pip/_vendor/webencodings/x_user_defined.py,sha256=yOqWSdmpytGfUgh_Z6JYgDNhoc-BAHyyeeT15Fr42tM,4307
-pip/py.typed,sha256=EBVvvPRTn_eIpz5e5QztSCdrMX7Qwd7VP93RSoIlZ2I,286
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/INSTALLER b/.venv/Lib/site-packages/pip-25.2.dist-info/INSTALLER
new file mode 100644
index 0000000..a1b589e
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/INSTALLER
@@ -0,0 +1 @@
+pip
diff --git a/.venv/Lib/site-packages/pip-24.0.dist-info/METADATA b/.venv/Lib/site-packages/pip-25.2.dist-info/METADATA
similarity index 67%
rename from .venv/Lib/site-packages/pip-24.0.dist-info/METADATA
rename to .venv/Lib/site-packages/pip-25.2.dist-info/METADATA
index e5b45bd..2cf904b 100644
--- a/.venv/Lib/site-packages/pip-24.0.dist-info/METADATA
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/METADATA
@@ -1,48 +1,72 @@
-Metadata-Version: 2.1
+Metadata-Version: 2.4
 Name: pip
-Version: 24.0
+Version: 25.2
 Summary: The PyPA recommended tool for installing Python packages.
 Author-email: The pip developers 
-License: MIT
+License-Expression: MIT
 Project-URL: Homepage, https://pip.pypa.io/
 Project-URL: Documentation, https://pip.pypa.io
 Project-URL: Source, https://github.com/pypa/pip
 Project-URL: Changelog, https://pip.pypa.io/en/stable/news/
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Intended Audience :: Developers
-Classifier: License :: OSI Approved :: MIT License
 Classifier: Topic :: Software Development :: Build Tools
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3 :: Only
-Classifier: Programming Language :: Python :: 3.7
-Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
 Classifier: Programming Language :: Python :: 3.11
 Classifier: Programming Language :: Python :: 3.12
+Classifier: Programming Language :: Python :: 3.13
+Classifier: Programming Language :: Python :: 3.14
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
-Requires-Python: >=3.7
+Requires-Python: >=3.9
 Description-Content-Type: text/x-rst
-License-File: LICENSE.txt
 License-File: AUTHORS.txt
+License-File: LICENSE.txt
+License-File: src/pip/_vendor/msgpack/COPYING
+License-File: src/pip/_vendor/cachecontrol/LICENSE.txt
+License-File: src/pip/_vendor/certifi/LICENSE
+License-File: src/pip/_vendor/dependency_groups/LICENSE.txt
+License-File: src/pip/_vendor/distlib/LICENSE.txt
+License-File: src/pip/_vendor/distro/LICENSE
+License-File: src/pip/_vendor/idna/LICENSE.md
+License-File: src/pip/_vendor/packaging/LICENSE
+License-File: src/pip/_vendor/packaging/LICENSE.APACHE
+License-File: src/pip/_vendor/packaging/LICENSE.BSD
+License-File: src/pip/_vendor/pkg_resources/LICENSE
+License-File: src/pip/_vendor/platformdirs/LICENSE
+License-File: src/pip/_vendor/pygments/LICENSE
+License-File: src/pip/_vendor/pyproject_hooks/LICENSE
+License-File: src/pip/_vendor/requests/LICENSE
+License-File: src/pip/_vendor/resolvelib/LICENSE
+License-File: src/pip/_vendor/rich/LICENSE
+License-File: src/pip/_vendor/tomli/LICENSE
+License-File: src/pip/_vendor/tomli/LICENSE-HEADER
+License-File: src/pip/_vendor/tomli_w/LICENSE
+License-File: src/pip/_vendor/truststore/LICENSE
+License-File: src/pip/_vendor/urllib3/LICENSE.txt
+Dynamic: license-file
 
 pip - The Python Package Installer
 ==================================
 
-.. image:: https://img.shields.io/pypi/v/pip.svg
+.. |pypi-version| image:: https://img.shields.io/pypi/v/pip.svg
    :target: https://pypi.org/project/pip/
    :alt: PyPI
 
-.. image:: https://img.shields.io/pypi/pyversions/pip
+.. |python-versions| image:: https://img.shields.io/pypi/pyversions/pip
    :target: https://pypi.org/project/pip
    :alt: PyPI - Python Version
 
-.. image:: https://readthedocs.org/projects/pip/badge/?version=latest
+.. |docs-badge| image:: https://readthedocs.org/projects/pip/badge/?version=latest
    :target: https://pip.pypa.io/en/latest
    :alt: Documentation
 
+|pypi-version| |python-versions| |docs-badge|
+
 pip is the `package installer`_ for Python. You can use pip to install packages from the `Python Package Index`_ and other indexes.
 
 Please take a look at our documentation for how to install and use pip:
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/RECORD b/.venv/Lib/site-packages/pip-25.2.dist-info/RECORD
new file mode 100644
index 0000000..53584d6
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/RECORD
@@ -0,0 +1,860 @@
+../../Scripts/pip.exe,sha256=5Lpt6WsF3FkfiYEJdIU2WecwCjBZMdqGXpjixkm7BFA,108424
+../../Scripts/pip3.11.exe,sha256=5Lpt6WsF3FkfiYEJdIU2WecwCjBZMdqGXpjixkm7BFA,108424
+../../Scripts/pip3.exe,sha256=5Lpt6WsF3FkfiYEJdIU2WecwCjBZMdqGXpjixkm7BFA,108424
+pip-25.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
+pip-25.2.dist-info/METADATA,sha256=l6OtFNcf2JFKOPJK9bMaH5-usFrqZqSvQNl51tetIp8,4744
+pip-25.2.dist-info/RECORD,,
+pip-25.2.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+pip-25.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
+pip-25.2.dist-info/entry_points.txt,sha256=eeIjuzfnfR2PrhbjnbzFU6MnSS70kZLxwaHHq6M-bD0,87
+pip-25.2.dist-info/licenses/AUTHORS.txt,sha256=ioEfMGkkizcTcIPdvjh-kYymO1E9I9dvzHjLUlKS5m8,11385
+pip-25.2.dist-info/licenses/LICENSE.txt,sha256=Y0MApmnUmurmWxLGxIySTFGkzfPR_whtw0VtyLyqIQQ,1093
+pip-25.2.dist-info/licenses/src/pip/_vendor/cachecontrol/LICENSE.txt,sha256=hu7uh74qQ_P_H1ZJb0UfaSQ5JvAl_tuwM2ZsMExMFhs,558
+pip-25.2.dist-info/licenses/src/pip/_vendor/certifi/LICENSE,sha256=6TcW2mucDVpKHfYP5pWzcPBpVgPSH2-D8FPkLPwQyvc,989
+pip-25.2.dist-info/licenses/src/pip/_vendor/dependency_groups/LICENSE.txt,sha256=GrNuPipLqGMWJThPh-ngkdsfrtA0xbIzJbMjmr8sxSU,1099
+pip-25.2.dist-info/licenses/src/pip/_vendor/distlib/LICENSE.txt,sha256=gI4QyKarjesUn_mz-xn0R6gICUYG1xKpylf-rTVSWZ0,14531
+pip-25.2.dist-info/licenses/src/pip/_vendor/distro/LICENSE,sha256=y16Ofl9KOYjhBjwULGDcLfdWBfTEZRXnduOspt-XbhQ,11325
+pip-25.2.dist-info/licenses/src/pip/_vendor/idna/LICENSE.md,sha256=pZ8LDvNjWHQQmkRhykT_enDVBpboFHZ7-vch1Mmw2w8,1541
+pip-25.2.dist-info/licenses/src/pip/_vendor/msgpack/COPYING,sha256=SS3tuoXaWHL3jmCRvNH-pHTWYNNay03ulkuKqz8AdCc,614
+pip-25.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE,sha256=ytHvW9NA1z4HS6YU0m996spceUDD2MNIUuZcSQlobEg,197
+pip-25.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.APACHE,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174
+pip-25.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.BSD,sha256=tw5-m3QvHMb5SLNMFqo5_-zpQZY2S8iP8NIYDwAo-sU,1344
+pip-25.2.dist-info/licenses/src/pip/_vendor/pkg_resources/LICENSE,sha256=htoPAa6uRjSKPD1GUZXcHOzN55956HdppkuNoEsqR0E,1023
+pip-25.2.dist-info/licenses/src/pip/_vendor/platformdirs/LICENSE,sha256=KeD9YukphQ6G6yjD_czwzv30-pSHkBHP-z0NS-1tTbY,1089
+pip-25.2.dist-info/licenses/src/pip/_vendor/pygments/LICENSE,sha256=qdZvHVJt8C4p3Oc0NtNOVuhjL0bCdbvf_HBWnogvnxc,1331
+pip-25.2.dist-info/licenses/src/pip/_vendor/pyproject_hooks/LICENSE,sha256=GyKwSbUmfW38I6Z79KhNjsBLn9-xpR02DkK0NCyLQVQ,1081
+pip-25.2.dist-info/licenses/src/pip/_vendor/requests/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
+pip-25.2.dist-info/licenses/src/pip/_vendor/resolvelib/LICENSE,sha256=84j9OMrRMRLB3A9mm76A5_hFQe26-3LzAw0sp2QsPJ0,751
+pip-25.2.dist-info/licenses/src/pip/_vendor/rich/LICENSE,sha256=3u18F6QxgVgZCj6iOcyHmlpQJxzruYrnAl9I--WNyhU,1056
+pip-25.2.dist-info/licenses/src/pip/_vendor/tomli/LICENSE,sha256=uAgWsNUwuKzLTCIReDeQmEpuO2GSLCte6S8zcqsnQv4,1072
+pip-25.2.dist-info/licenses/src/pip/_vendor/tomli/LICENSE-HEADER,sha256=l86TMJBaFy3ehw7gNh2Jvrlbo70PRUV5aqkajAGkNTE,121
+pip-25.2.dist-info/licenses/src/pip/_vendor/tomli_w/LICENSE,sha256=uAgWsNUwuKzLTCIReDeQmEpuO2GSLCte6S8zcqsnQv4,1072
+pip-25.2.dist-info/licenses/src/pip/_vendor/truststore/LICENSE,sha256=M757fo-k_Rmxdg4ajtimaL2rhSyRtpLdQUJLy3Jan8o,1086
+pip-25.2.dist-info/licenses/src/pip/_vendor/urllib3/LICENSE.txt,sha256=w3vxhuJ8-dvpYZ5V7f486nswCRzrPaY8fay-Dm13kHs,1115
+pip-25.2.dist-info/top_level.txt,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
+pip/__init__.py,sha256=_lgs5Mfp0t7AGtI7sTVwxKWquz_vahWWH9kKO1cJusA,353
+pip/__main__.py,sha256=WzbhHXTbSE6gBY19mNN9m4s5o_365LOvTYSgqgbdBhE,854
+pip/__pip-runner__.py,sha256=JOoEZTwrtv7jRaXBkgSQKAE04yNyfFmGHxqpHiGHvL0,1450
+pip/__pycache__/__init__.cpython-311.pyc,,
+pip/__pycache__/__main__.cpython-311.pyc,,
+pip/__pycache__/__pip-runner__.cpython-311.pyc,,
+pip/_internal/__init__.py,sha256=S7i9Dn9aSZS0MG-2Wrve3dV9TImPzvQn5jjhp9t_uf0,511
+pip/_internal/__pycache__/__init__.cpython-311.pyc,,
+pip/_internal/__pycache__/build_env.cpython-311.pyc,,
+pip/_internal/__pycache__/cache.cpython-311.pyc,,
+pip/_internal/__pycache__/configuration.cpython-311.pyc,,
+pip/_internal/__pycache__/exceptions.cpython-311.pyc,,
+pip/_internal/__pycache__/main.cpython-311.pyc,,
+pip/_internal/__pycache__/pyproject.cpython-311.pyc,,
+pip/_internal/__pycache__/self_outdated_check.cpython-311.pyc,,
+pip/_internal/__pycache__/wheel_builder.cpython-311.pyc,,
+pip/_internal/build_env.py,sha256=5_-O5G0QtCeFKHAezqAz0IZ5_O7qCYZ-Bxddu9idpYs,11566
+pip/_internal/cache.py,sha256=rWXvsuFY7GgPERhiNp3yZHFGKdvDvkZRn2n4mXn8lAg,10364
+pip/_internal/cli/__init__.py,sha256=Iqg_tKA771XuMO1P4t_sDHnSKPzkUb9D0DqunAmw_ko,131
+pip/_internal/cli/__pycache__/__init__.cpython-311.pyc,,
+pip/_internal/cli/__pycache__/autocompletion.cpython-311.pyc,,
+pip/_internal/cli/__pycache__/base_command.cpython-311.pyc,,
+pip/_internal/cli/__pycache__/cmdoptions.cpython-311.pyc,,
+pip/_internal/cli/__pycache__/command_context.cpython-311.pyc,,
+pip/_internal/cli/__pycache__/index_command.cpython-311.pyc,,
+pip/_internal/cli/__pycache__/main.cpython-311.pyc,,
+pip/_internal/cli/__pycache__/main_parser.cpython-311.pyc,,
+pip/_internal/cli/__pycache__/parser.cpython-311.pyc,,
+pip/_internal/cli/__pycache__/progress_bars.cpython-311.pyc,,
+pip/_internal/cli/__pycache__/req_command.cpython-311.pyc,,
+pip/_internal/cli/__pycache__/spinners.cpython-311.pyc,,
+pip/_internal/cli/__pycache__/status_codes.cpython-311.pyc,,
+pip/_internal/cli/autocompletion.py,sha256=ZG2cM03nlcNrs-WG_SFTW46isx9s2Go5lUD_8-iv70o,7193
+pip/_internal/cli/base_command.py,sha256=1Nx919JRFlgURLis9XYJwtbyEEjRJa_NdHwM6iBkZvY,8716
+pip/_internal/cli/cmdoptions.py,sha256=99bW3xpXJ8Mr59OGbG7d7vN7CGPLPwi1nTmE3eMc8lE,32032
+pip/_internal/cli/command_context.py,sha256=kmu3EWZbfBega1oDamnGJTA_UaejhIQNuMj2CVmMXu0,817
+pip/_internal/cli/index_command.py,sha256=AHk6eSqboaxTXbG3v9mBrVd0dCK1MtW4w3PVudnj0WE,5717
+pip/_internal/cli/main.py,sha256=K9PtpRdg6uBrVKk8S2VZ14fAN0kP-cnA1o-FtJCN_OQ,2815
+pip/_internal/cli/main_parser.py,sha256=UugPD-hF1WtNQdow_WWduDLUH1DvElpc7EeUWjUkcNo,4329
+pip/_internal/cli/parser.py,sha256=sAOebBa5_0rRAlmBy8myMPFHQZb-bbCH1xpIJDaXaLs,10928
+pip/_internal/cli/progress_bars.py,sha256=nRTWNof-FjHfvirvECXIh7T7eAynTUVPTyHENfpbWiU,4668
+pip/_internal/cli/req_command.py,sha256=pXT_jAwcmO9PjJ1-Pl1VevBgr5pnxHsyPZUBzAfqQg8,13081
+pip/_internal/cli/spinners.py,sha256=EJzZIZNyUtJljp3-WjcsyIrqxW-HUsfWzhuW84n_Tqw,7362
+pip/_internal/cli/status_codes.py,sha256=sEFHUaUJbqv8iArL3HAtcztWZmGOFX01hTesSytDEh0,116
+pip/_internal/commands/__init__.py,sha256=aNeCbQurGWihfhQq7BqaLXHqWDQ0i3I04OS7kxK6plQ,4026
+pip/_internal/commands/__pycache__/__init__.cpython-311.pyc,,
+pip/_internal/commands/__pycache__/cache.cpython-311.pyc,,
+pip/_internal/commands/__pycache__/check.cpython-311.pyc,,
+pip/_internal/commands/__pycache__/completion.cpython-311.pyc,,
+pip/_internal/commands/__pycache__/configuration.cpython-311.pyc,,
+pip/_internal/commands/__pycache__/debug.cpython-311.pyc,,
+pip/_internal/commands/__pycache__/download.cpython-311.pyc,,
+pip/_internal/commands/__pycache__/freeze.cpython-311.pyc,,
+pip/_internal/commands/__pycache__/hash.cpython-311.pyc,,
+pip/_internal/commands/__pycache__/help.cpython-311.pyc,,
+pip/_internal/commands/__pycache__/index.cpython-311.pyc,,
+pip/_internal/commands/__pycache__/inspect.cpython-311.pyc,,
+pip/_internal/commands/__pycache__/install.cpython-311.pyc,,
+pip/_internal/commands/__pycache__/list.cpython-311.pyc,,
+pip/_internal/commands/__pycache__/lock.cpython-311.pyc,,
+pip/_internal/commands/__pycache__/search.cpython-311.pyc,,
+pip/_internal/commands/__pycache__/show.cpython-311.pyc,,
+pip/_internal/commands/__pycache__/uninstall.cpython-311.pyc,,
+pip/_internal/commands/__pycache__/wheel.cpython-311.pyc,,
+pip/_internal/commands/cache.py,sha256=OrrLS6EJEha_55yPa9fTaOaonw-VpH4_lVhjxuOTChQ,8230
+pip/_internal/commands/check.py,sha256=hVFBQezQ3zj4EydoWbFQj_afPUppMt7r9JPAlY22U6Y,2244
+pip/_internal/commands/completion.py,sha256=MDwhTOBjlM4WEbOhgbhrWnlDm710i4FMjop3RBXXXCc,4530
+pip/_internal/commands/configuration.py,sha256=6gNOGrVWnOLU15zUnAiNuOMhf76RRIZvCdVD0degPRk,10105
+pip/_internal/commands/debug.py,sha256=_8IqM8Fx1_lY2STu_qspr63tufF7zyFJCyYAXtxz0N4,6805
+pip/_internal/commands/download.py,sha256=GGBSxhORV0mrad8STgORfvjRGh1qS2plvpXFNbxgcps,5249
+pip/_internal/commands/freeze.py,sha256=fxoW8AAc-bAqB_fXdNq2VnZ3JfWkFMg-bR6LcdDVO7A,3099
+pip/_internal/commands/hash.py,sha256=GO9pRN3wXC2kQaovK57TaLYBMc3IltOH92O6QEw6YE0,1679
+pip/_internal/commands/help.py,sha256=Bz3LcjNQXkz4Cu__pL4CZ86o4-HNLZj1NZWdlJhjuu0,1108
+pip/_internal/commands/index.py,sha256=8GMBVI5NvhRRHBSUq27YxDIE02DpvdJ_6qiBFgGd1co,5243
+pip/_internal/commands/inspect.py,sha256=ogm4UT7LRo8bIQcWUS1IiA25QdD4VHLa7JaPAodDttM,3177
+pip/_internal/commands/install.py,sha256=AIO-Um49e3GqMOk2SmHCt45A0W0-YhKXcpr5okjHh80,30080
+pip/_internal/commands/list.py,sha256=I4ZH604E5gpcROxEXA7eyaNEFhXx3VFVqvpscz_Ps_A,13514
+pip/_internal/commands/lock.py,sha256=SxXGnU2EH-TG-fs9fuZHAuMOH15Lzy1K7e_KJ4vtSr0,5917
+pip/_internal/commands/search.py,sha256=zbMsX_YASj6kXA6XIBgTDv0bGK51xG-CV3IynZJcE-c,5782
+pip/_internal/commands/show.py,sha256=oLVJIfKWmDKm0SsQGEi3pozNiqrXjTras_fbBSYKpBA,8066
+pip/_internal/commands/uninstall.py,sha256=CsOihqvb6ZA6O67L70oXeoLHeOfNzMM88H9g-9aocgw,3868
+pip/_internal/commands/wheel.py,sha256=vcNgnhxwilocRQJEBdWQvJ8qvO0RfWmz9LwrUBadvYE,6322
+pip/_internal/configuration.py,sha256=BomQ3pC84J6zCXDQpND_OmFY7mubE9cMBZVohNUzMvY,14587
+pip/_internal/distributions/__init__.py,sha256=Hq6kt6gXBgjNit5hTTWLAzeCNOKoB-N0pGYSqehrli8,858
+pip/_internal/distributions/__pycache__/__init__.cpython-311.pyc,,
+pip/_internal/distributions/__pycache__/base.cpython-311.pyc,,
+pip/_internal/distributions/__pycache__/installed.cpython-311.pyc,,
+pip/_internal/distributions/__pycache__/sdist.cpython-311.pyc,,
+pip/_internal/distributions/__pycache__/wheel.cpython-311.pyc,,
+pip/_internal/distributions/base.py,sha256=l-OTCAIs25lsapejA6IYpPZxSM5-BET4sdZDkql8jiY,1830
+pip/_internal/distributions/installed.py,sha256=kgIEE_1NzjZxLBSC-v5s64uOFZlVEt3aPrjTtL6x2XY,929
+pip/_internal/distributions/sdist.py,sha256=gYgrzI0lstHJRKweOdL_m6LtqDxtfuo_yCL9HjmH-xw,6952
+pip/_internal/distributions/wheel.py,sha256=_HbG0OehF8dwj4UX-xV__tXLwgPus9OjMEf2NTRqBbE,1364
+pip/_internal/exceptions.py,sha256=bRTEn6Jlw-vxHjixtiu0K79jXJu0X5FVC0L62Bdb0KI,28974
+pip/_internal/index/__init__.py,sha256=tzwMH_fhQeubwMqHdSivasg1cRgTSbNg2CiMVnzMmyU,29
+pip/_internal/index/__pycache__/__init__.cpython-311.pyc,,
+pip/_internal/index/__pycache__/collector.cpython-311.pyc,,
+pip/_internal/index/__pycache__/package_finder.cpython-311.pyc,,
+pip/_internal/index/__pycache__/sources.cpython-311.pyc,,
+pip/_internal/index/collector.py,sha256=PCB3thVWRiSBowGtpv1elIPFc-GvEqhZiNgZD7b0vBc,16185
+pip/_internal/index/package_finder.py,sha256=Kd2FmWJFAcEg2Sy2pTGQX8WPFC8B9U_3b1VK7i8sx9o,38827
+pip/_internal/index/sources.py,sha256=nXJkOjhLy-O2FsrKU9RIqCOqgY2PsoKWybtZjjRgqU0,8639
+pip/_internal/locations/__init__.py,sha256=2SADX0Gr9BIpx19AO7Feq89nOmBQGEbl1IWjBpnaE9E,14185
+pip/_internal/locations/__pycache__/__init__.cpython-311.pyc,,
+pip/_internal/locations/__pycache__/_distutils.cpython-311.pyc,,
+pip/_internal/locations/__pycache__/_sysconfig.cpython-311.pyc,,
+pip/_internal/locations/__pycache__/base.cpython-311.pyc,,
+pip/_internal/locations/_distutils.py,sha256=jpFj4V00rD9IR3vA9TqrGkwcdNVFc58LsChZavge9JY,5975
+pip/_internal/locations/_sysconfig.py,sha256=NhcEi1_25w9cTTcH4RyOjD4UHW6Ijks0uKy1PL1_j_8,7716
+pip/_internal/locations/base.py,sha256=AImjYJWxOtDkc0KKc6Y4Gz677cg91caMA4L94B9FZEg,2550
+pip/_internal/main.py,sha256=1cHqjsfFCrMFf3B5twzocxTJUdHMLoXUpy5lJoFqUi8,338
+pip/_internal/metadata/__init__.py,sha256=a19B00IsX25khBt8oWWy6_kKgjCM4zeh-FqYteCOFwA,5714
+pip/_internal/metadata/__pycache__/__init__.cpython-311.pyc,,
+pip/_internal/metadata/__pycache__/_json.cpython-311.pyc,,
+pip/_internal/metadata/__pycache__/base.cpython-311.pyc,,
+pip/_internal/metadata/__pycache__/pkg_resources.cpython-311.pyc,,
+pip/_internal/metadata/_json.py,sha256=hNvnMHOXLAyNlzirWhPL9Nx2CvCqa1iRma6Osq1YfV8,2711
+pip/_internal/metadata/base.py,sha256=BGuMenlcQT8i7j9iclrfdC3vSwgvhr8gjn955cCy16s,25420
+pip/_internal/metadata/importlib/__init__.py,sha256=jUUidoxnHcfITHHaAWG1G2i5fdBYklv_uJcjo2x7VYE,135
+pip/_internal/metadata/importlib/__pycache__/__init__.cpython-311.pyc,,
+pip/_internal/metadata/importlib/__pycache__/_compat.cpython-311.pyc,,
+pip/_internal/metadata/importlib/__pycache__/_dists.cpython-311.pyc,,
+pip/_internal/metadata/importlib/__pycache__/_envs.cpython-311.pyc,,
+pip/_internal/metadata/importlib/_compat.py,sha256=sneVh4_6WxQZK4ljdl3ylVuP-q0ttSqbgl9mWt0HnOg,2804
+pip/_internal/metadata/importlib/_dists.py,sha256=aOUgCX_AtA8B-lWLu-HfXA-ivMJWNxHPAohVcpQj2g4,8259
+pip/_internal/metadata/importlib/_envs.py,sha256=H3qVLXVh4LWvrPvu_ekXf3dfbtwnlhNJQP2pxXpccfU,5333
+pip/_internal/metadata/pkg_resources.py,sha256=NO76ZrfR2-LKJTyaXrmQoGhmJMArALvacrlZHViSDT8,10544
+pip/_internal/models/__init__.py,sha256=AjmCEBxX_MH9f_jVjIGNCFJKYCYeSEe18yyvNx4uRKQ,62
+pip/_internal/models/__pycache__/__init__.cpython-311.pyc,,
+pip/_internal/models/__pycache__/candidate.cpython-311.pyc,,
+pip/_internal/models/__pycache__/direct_url.cpython-311.pyc,,
+pip/_internal/models/__pycache__/format_control.cpython-311.pyc,,
+pip/_internal/models/__pycache__/index.cpython-311.pyc,,
+pip/_internal/models/__pycache__/installation_report.cpython-311.pyc,,
+pip/_internal/models/__pycache__/link.cpython-311.pyc,,
+pip/_internal/models/__pycache__/pylock.cpython-311.pyc,,
+pip/_internal/models/__pycache__/scheme.cpython-311.pyc,,
+pip/_internal/models/__pycache__/search_scope.cpython-311.pyc,,
+pip/_internal/models/__pycache__/selection_prefs.cpython-311.pyc,,
+pip/_internal/models/__pycache__/target_python.cpython-311.pyc,,
+pip/_internal/models/__pycache__/wheel.cpython-311.pyc,,
+pip/_internal/models/candidate.py,sha256=zzgFRuw_kWPjKpGw7LC0ZUMD2CQ2EberUIYs8izjdCA,753
+pip/_internal/models/direct_url.py,sha256=4NMWacu_QzPPWREC1te7v6Wfv-2HkI4tvSJF-CBgLh4,6555
+pip/_internal/models/format_control.py,sha256=PwemYG1L27BM0f1KP61rm24wShENFyxqlD1TWu34alc,2471
+pip/_internal/models/index.py,sha256=tYnL8oxGi4aSNWur0mG8DAP7rC6yuha_MwJO8xw0crI,1030
+pip/_internal/models/installation_report.py,sha256=cqfWJ93ThCxjcacqSWryOCD2XtIn1CZrgzZxAv5FQZ0,2839
+pip/_internal/models/link.py,sha256=h4lI8MaDA7DTIxIJ_NgDE64EE4h1sX3AB23Y1Qu8W-k,21793
+pip/_internal/models/pylock.py,sha256=Vmaa71gOSV0ZYzRgWiIm4KwVbClaahMcuvKCkP_ZznA,6211
+pip/_internal/models/scheme.py,sha256=PakmHJM3e8OOWSZFtfz1Az7f1meONJnkGuQxFlt3wBE,575
+pip/_internal/models/search_scope.py,sha256=1hxU2IVsAaLZVjp0CbzJbYaYzCxv72_Qbg3JL0qhXo0,4507
+pip/_internal/models/selection_prefs.py,sha256=lgYyo4W8lb22wsYx2ElBBB0cvSNlBVgucwBzL43dfzE,2016
+pip/_internal/models/target_python.py,sha256=I0eFS-eia3kwhrOvgsphFZtNAB2IwXZ9Sr9fp6IjBP4,4243
+pip/_internal/models/wheel.py,sha256=xWO0K-YanSL3OfMZUN1gHlEUV0YJOVYMQ4wrwmA9Zis,5526
+pip/_internal/network/__init__.py,sha256=FMy06P__y6jMjUc8z3ZcQdKF-pmZ2zM14_vBeHPGhUI,49
+pip/_internal/network/__pycache__/__init__.cpython-311.pyc,,
+pip/_internal/network/__pycache__/auth.cpython-311.pyc,,
+pip/_internal/network/__pycache__/cache.cpython-311.pyc,,
+pip/_internal/network/__pycache__/download.cpython-311.pyc,,
+pip/_internal/network/__pycache__/lazy_wheel.cpython-311.pyc,,
+pip/_internal/network/__pycache__/session.cpython-311.pyc,,
+pip/_internal/network/__pycache__/utils.cpython-311.pyc,,
+pip/_internal/network/__pycache__/xmlrpc.cpython-311.pyc,,
+pip/_internal/network/auth.py,sha256=uAwRGAYnVtgNSZm4HMC3BMACkgA7ku4m8wupiX6LpK8,20681
+pip/_internal/network/cache.py,sha256=u5LtQbnCzMU6vFT0eUUcYe6iKiwALMqrn1jUZj4CqaY,5302
+pip/_internal/network/download.py,sha256=HgsFvTkPDdgg0zUehose_J-542-9R0FpyipRw5BhxAM,12682
+pip/_internal/network/lazy_wheel.py,sha256=5H7_s-_AK6br1K5NFcyUsiocK9E6vwrJY5kzwjMv0EM,7651
+pip/_internal/network/session.py,sha256=eE-VUIJGU9YeeaVy7tVAvMRWigMsyuAMpxkjlbptbjo,19188
+pip/_internal/network/utils.py,sha256=ACsXd1msqNCidHVXsu7LHUSr8NgaypcOKQ4KG-Z_wJM,4091
+pip/_internal/network/xmlrpc.py,sha256=_-Rnk3vOff8uF9hAGmT6SLALflY1gMBcbGwS12fb_Y4,1830
+pip/_internal/operations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+pip/_internal/operations/__pycache__/__init__.cpython-311.pyc,,
+pip/_internal/operations/__pycache__/check.cpython-311.pyc,,
+pip/_internal/operations/__pycache__/freeze.cpython-311.pyc,,
+pip/_internal/operations/__pycache__/prepare.cpython-311.pyc,,
+pip/_internal/operations/build/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+pip/_internal/operations/build/__pycache__/__init__.cpython-311.pyc,,
+pip/_internal/operations/build/__pycache__/build_tracker.cpython-311.pyc,,
+pip/_internal/operations/build/__pycache__/metadata.cpython-311.pyc,,
+pip/_internal/operations/build/__pycache__/metadata_editable.cpython-311.pyc,,
+pip/_internal/operations/build/__pycache__/metadata_legacy.cpython-311.pyc,,
+pip/_internal/operations/build/__pycache__/wheel.cpython-311.pyc,,
+pip/_internal/operations/build/__pycache__/wheel_editable.cpython-311.pyc,,
+pip/_internal/operations/build/__pycache__/wheel_legacy.cpython-311.pyc,,
+pip/_internal/operations/build/build_tracker.py,sha256=W3b5cmkMWPaE6QIwfzsTayJo7-OlxFHWDxfPuax1KcE,4771
+pip/_internal/operations/build/metadata.py,sha256=INHaeiRfOiLYCXApfDNRo9Cw2xI4VwTc0KItvfdfOjk,1421
+pip/_internal/operations/build/metadata_editable.py,sha256=oWudMsnjy4loO_Jy7g4N9nxsnaEX_iDlVRgCy7pu1rs,1509
+pip/_internal/operations/build/metadata_legacy.py,sha256=wv8cFA0wTqF62Jlm9QwloYZsofOyQ7sWBBmvCcVvn1k,2189
+pip/_internal/operations/build/wheel.py,sha256=toBJE5atKJGsSckY5ztVAQpRss25f049f-nJaiJsiD8,1080
+pip/_internal/operations/build/wheel_editable.py,sha256=Djx7hZqhejgYUcdQD5p4mn7AVFN3VQ7bOSs7b90TtOI,1422
+pip/_internal/operations/build/wheel_legacy.py,sha256=LaHpG4_s6415iLjuTb6seO3JIJ7097yQUIthcmpqaOY,3616
+pip/_internal/operations/check.py,sha256=yC2XWth6iehGGE_fj7XRJLjVKBsTIG3ZoWRkFi3rOwc,5894
+pip/_internal/operations/freeze.py,sha256=PDdY-y_ZtZZJLAKcaWPIGRKAGW7DXR48f0aMRU0j7BA,9854
+pip/_internal/operations/install/__init__.py,sha256=ak-UETcQPKlFZaWoYKWu5QVXbpFBvg0sXc3i0O4vSYY,50
+pip/_internal/operations/install/__pycache__/__init__.cpython-311.pyc,,
+pip/_internal/operations/install/__pycache__/editable_legacy.cpython-311.pyc,,
+pip/_internal/operations/install/__pycache__/wheel.cpython-311.pyc,,
+pip/_internal/operations/install/editable_legacy.py,sha256=zS6Hm-9SHcrVuA_9Irc9Qc8CIoFLDMZiSvi5rizZe34,1311
+pip/_internal/operations/install/wheel.py,sha256=8aepxxAFmnzZFtcMCv-1I4T_maEkQd4hXZztYWE4yR0,27956
+pip/_internal/operations/prepare.py,sha256=gdbQUAjxLqqz8P2KFem2OEJ_6V3aTuozQkiBLfCCVAU,28613
+pip/_internal/pyproject.py,sha256=T72qz0buaY0s-mgrXLUU1sONf4Rk97dJu0qpniBCGU8,7233
+pip/_internal/req/__init__.py,sha256=vM0bWAl3By5ALRIXWmKdkMca18KQfbGXVJZm3Igpwmg,3122
+pip/_internal/req/__pycache__/__init__.cpython-311.pyc,,
+pip/_internal/req/__pycache__/constructors.cpython-311.pyc,,
+pip/_internal/req/__pycache__/req_dependency_group.cpython-311.pyc,,
+pip/_internal/req/__pycache__/req_file.cpython-311.pyc,,
+pip/_internal/req/__pycache__/req_install.cpython-311.pyc,,
+pip/_internal/req/__pycache__/req_set.cpython-311.pyc,,
+pip/_internal/req/__pycache__/req_uninstall.cpython-311.pyc,,
+pip/_internal/req/constructors.py,sha256=QlLjBIg5xPxyQx_hGGB7Fz527ruAXC6nbVMoGfXzNnM,18320
+pip/_internal/req/req_dependency_group.py,sha256=0yEQCUaO5Bza66Y3D5o9JRf0qII5QgCRugn1x5aRivA,2618
+pip/_internal/req/req_file.py,sha256=j_1PcBDO0aKb8pjjRMsZQrwts5YNrKsrHjPyV56XoHo,20161
+pip/_internal/req/req_install.py,sha256=N4LxV9LHimgle5zEkNFk9WSfi51KXvK9y73mvYl9uig,35718
+pip/_internal/req/req_set.py,sha256=awkqIXnYA4Prmsj0Qb3zhqdbYUmXd-1o0P-KZ3mvRQs,2828
+pip/_internal/req/req_uninstall.py,sha256=dCmOHt-9RaJBq921L4tMH3PmIBDetGplnbjRKXmGt00,24099
+pip/_internal/resolution/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+pip/_internal/resolution/__pycache__/__init__.cpython-311.pyc,,
+pip/_internal/resolution/__pycache__/base.cpython-311.pyc,,
+pip/_internal/resolution/base.py,sha256=RIsqSP79olPdOgtPKW-oOQ364ICVopehA6RfGkRfe2s,577
+pip/_internal/resolution/legacy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+pip/_internal/resolution/legacy/__pycache__/__init__.cpython-311.pyc,,
+pip/_internal/resolution/legacy/__pycache__/resolver.cpython-311.pyc,,
+pip/_internal/resolution/legacy/resolver.py,sha256=bwUqE66etz2bcPabqxed18-iyqqb-kx3Er2aT6GeUJY,24060
+pip/_internal/resolution/resolvelib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-311.pyc,,
+pip/_internal/resolution/resolvelib/__pycache__/base.cpython-311.pyc,,
+pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-311.pyc,,
+pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-311.pyc,,
+pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-311.pyc,,
+pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-311.pyc,,
+pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-311.pyc,,
+pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-311.pyc,,
+pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-311.pyc,,
+pip/_internal/resolution/resolvelib/base.py,sha256=_AoP0ZWlaSct8CRDn2ol3CbNn4zDtnh_0zQGjXASDKI,5047
+pip/_internal/resolution/resolvelib/candidates.py,sha256=dblosDcMumdT075Y8D1yXiJrWF_wDgIGe_8hUQIneTw,20208
+pip/_internal/resolution/resolvelib/factory.py,sha256=XdCpLq59oVIHMMekc2cgD7imcVD00_ioTnu9_k3iq3E,32577
+pip/_internal/resolution/resolvelib/found_candidates.py,sha256=8bZYDCZLXSdLHy_s1o5f4r15HmKvqFUhzBUQOF21Lr4,6018
+pip/_internal/resolution/resolvelib/provider.py,sha256=1TJC2o7F02aTMaoqa0Ayz45PrE-pQ5XshgGUmweESkk,11144
+pip/_internal/resolution/resolvelib/reporter.py,sha256=atiTh1bnKc-KfG841nRw3dk0WbOhr_L8luJHcY0JoSs,3270
+pip/_internal/resolution/resolvelib/requirements.py,sha256=z0gXmWfo03ynOnhF8kpj5SycgroerDhQV0VWzmAKAfg,8076
+pip/_internal/resolution/resolvelib/resolver.py,sha256=f0fmYzB9G4wWxssfj4qerDi_F_8vjAaYPbGLb7N7tQw,13617
+pip/_internal/self_outdated_check.py,sha256=wfikZmcGVIrnepL413-0rnQ3jeOA0unOKPle0Ovwoho,8326
+pip/_internal/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+pip/_internal/utils/__pycache__/__init__.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/_jaraco_text.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/_log.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/appdirs.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/compat.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/compatibility_tags.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/datetime.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/deprecation.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/direct_url_helpers.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/egg_link.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/entrypoints.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/filesystem.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/filetypes.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/glibc.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/hashes.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/logging.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/misc.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/packaging.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/retry.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/setuptools_build.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/subprocess.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/temp_dir.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/unpacking.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/urls.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/virtualenv.cpython-311.pyc,,
+pip/_internal/utils/__pycache__/wheel.cpython-311.pyc,,
+pip/_internal/utils/_jaraco_text.py,sha256=M15uUPIh5NpP1tdUGBxRau6q1ZAEtI8-XyLEETscFfE,3350
+pip/_internal/utils/_log.py,sha256=-jHLOE_THaZz5BFcCnoSL9EYAtJ0nXem49s9of4jvKw,1015
+pip/_internal/utils/appdirs.py,sha256=LrzDPZMKVh0rubtCx9vu3XlZbLCSug6VSj4Qsvt66BA,1681
+pip/_internal/utils/compat.py,sha256=C9LHXJAKkwAH8Hn3nPkz9EYK3rqPBeO_IXkOG2zzsdQ,2514
+pip/_internal/utils/compatibility_tags.py,sha256=DiNSLqpuruXUamGQwOJ2WZByDGLTGaXi9O-Xf8fOi34,6630
+pip/_internal/utils/datetime.py,sha256=Gt29Ml4ToPSM88j54iu43WKtrU9A-moP4QmMiiqzedU,241
+pip/_internal/utils/deprecation.py,sha256=HVhvyO5qiRFcG88PhZlp_87qdKQNwPTUIIHWtsTR2yI,3696
+pip/_internal/utils/direct_url_helpers.py,sha256=ttKv4GMUqlRwPPog9_CUopy6SDgoxVILzeBJzgfn2tg,3200
+pip/_internal/utils/egg_link.py,sha256=YWfsrbmfcrfWgqQYy6OuIjsyb9IfL1q_2v4zsms1WjI,2459
+pip/_internal/utils/entrypoints.py,sha256=uPjAyShKObdotjQjJUzprQ6r3xQvDIZwUYfHHqZ7Dok,3324
+pip/_internal/utils/filesystem.py,sha256=du4lOOlTOBq22V5kf0yXMydo1KU2Cs-cMtYs3bEk13c,4988
+pip/_internal/utils/filetypes.py,sha256=sEMa38qaqjvx1Zid3OCAUja31BOBU-USuSMPBvU3yjo,689
+pip/_internal/utils/glibc.py,sha256=sEh8RJJLYSdRvTqAO4THVPPA-YSDVLD4SI9So-bxX1U,3726
+pip/_internal/utils/hashes.py,sha256=d32UI1en8nyqZzdZQvxUVdfeBoe4ADWx7HtrIM4-XQ4,4998
+pip/_internal/utils/logging.py,sha256=RtRe7Vp0COC4UBewYdfKicXjCTmHXpDZHdReTzJvB78,12108
+pip/_internal/utils/misc.py,sha256=1jEpqjfqYmQ6K3D4_O8xXSPn8aEfH2uMOlNM7KPvSrg,23374
+pip/_internal/utils/packaging.py,sha256=s5tpUmFumwV0H9JSTzryrIY4JwQM8paGt7Sm7eNwt2Y,1601
+pip/_internal/utils/retry.py,sha256=83wReEB2rcntMZ5VLd7ascaYSjn_kLdlQCqxILxWkPM,1461
+pip/_internal/utils/setuptools_build.py,sha256=0RK4K07qpaBgnYm50_f5d5VdedYPk1fl9QNKaOa60XM,4499
+pip/_internal/utils/subprocess.py,sha256=r4-Ba_Yc3uZXQpi0K4pZFsCT_QqdSvtF3XJ-204QWaA,8983
+pip/_internal/utils/temp_dir.py,sha256=D9c8D7WOProOO8GGDqpBeVSj10NGFmunG0o2TodjjIU,9307
+pip/_internal/utils/unpacking.py,sha256=4tY2D-sbtBt2Lcws98Em3MPAPdHnXSBXnpSU0LoGUZQ,11939
+pip/_internal/utils/urls.py,sha256=aF_eg9ul5d8bMCxfSSSxQcfs-OpJdbStYqZHoy2K1RE,1601
+pip/_internal/utils/virtualenv.py,sha256=mX-UPyw1MPxhwUxKhbqWWX70J6PHXAJjVVrRnG0h9mc,3455
+pip/_internal/utils/wheel.py,sha256=YdRuj6MicG-Q9Mg03FbUv1WTLam6Lc7AgijY4voVyis,4468
+pip/_internal/vcs/__init__.py,sha256=UAqvzpbi0VbZo3Ub6skEeZAw-ooIZR-zX_WpCbxyCoU,596
+pip/_internal/vcs/__pycache__/__init__.cpython-311.pyc,,
+pip/_internal/vcs/__pycache__/bazaar.cpython-311.pyc,,
+pip/_internal/vcs/__pycache__/git.cpython-311.pyc,,
+pip/_internal/vcs/__pycache__/mercurial.cpython-311.pyc,,
+pip/_internal/vcs/__pycache__/subversion.cpython-311.pyc,,
+pip/_internal/vcs/__pycache__/versioncontrol.cpython-311.pyc,,
+pip/_internal/vcs/bazaar.py,sha256=3W1eHjkYx2vc6boeb2NBh4I_rlGAXM-vrzfNhLm1Rxg,3734
+pip/_internal/vcs/git.py,sha256=TTeqDuzS-_BFSNuUStVWmE2nGDpKuvUhBBJk_CCQXV0,19144
+pip/_internal/vcs/mercurial.py,sha256=w1ZJWLKqNP1onEjkfjlwBVnMqPZNSIER8ayjQcnTq4w,5575
+pip/_internal/vcs/subversion.py,sha256=uUgdPvxmvEB8Qwtjr0Hc0XgFjbiNi5cbvI4vARLOJXo,11787
+pip/_internal/vcs/versioncontrol.py,sha256=d-v1mcLxofg2FaIqBrV-e-ZcjOgQhS0oxXpki1v1yXs,22502
+pip/_internal/wheel_builder.py,sha256=PDF2w6pxeec5skP3gLIrR_VrJrAO4pHRpUnkNbJ8R5Q,11225
+pip/_vendor/__init__.py,sha256=WzusPTGWIMeQQWSVJ0h2rafGkVTa9WKJ2HT-2-EoZrU,4907
+pip/_vendor/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/cachecontrol/__init__.py,sha256=BF2n5OeQz1QW2xSey2LxfNCtwbjnTadXdIH2toqJecg,677
+pip/_vendor/cachecontrol/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-311.pyc,,
+pip/_vendor/cachecontrol/__pycache__/adapter.cpython-311.pyc,,
+pip/_vendor/cachecontrol/__pycache__/cache.cpython-311.pyc,,
+pip/_vendor/cachecontrol/__pycache__/controller.cpython-311.pyc,,
+pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-311.pyc,,
+pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-311.pyc,,
+pip/_vendor/cachecontrol/__pycache__/serialize.cpython-311.pyc,,
+pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-311.pyc,,
+pip/_vendor/cachecontrol/_cmd.py,sha256=iist2EpzJvDVIhMAxXq8iFnTBsiZAd6iplxfmNboNyk,1737
+pip/_vendor/cachecontrol/adapter.py,sha256=8y6rTPXOzVHmDKCW5CR9sivLVuDv-cpdGcZYdRWNaPw,6599
+pip/_vendor/cachecontrol/cache.py,sha256=OXwv7Fn2AwnKNiahJHnjtvaKLndvVLv_-zO-ltlV9qI,1953
+pip/_vendor/cachecontrol/caches/__init__.py,sha256=dtrrroK5BnADR1GWjCZ19aZ0tFsMfvFBtLQQU1sp_ag,303
+pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-311.pyc,,
+pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-311.pyc,,
+pip/_vendor/cachecontrol/caches/file_cache.py,sha256=d8upFmy_zwaCmlbWEVBlLXFddt8Zw8c5SFpxeOZsdfw,4117
+pip/_vendor/cachecontrol/caches/redis_cache.py,sha256=9rmqwtYu_ljVkW6_oLqbC7EaX_a8YT_yLuna-eS0dgo,1386
+pip/_vendor/cachecontrol/controller.py,sha256=cx0Hl8xLZgUuXuy78Gih9AYjCtqurmYjVJxyA4yWt7w,19101
+pip/_vendor/cachecontrol/filewrapper.py,sha256=2ktXNPE0KqnyzF24aOsKCA58HQq1xeC6l2g6_zwjghc,4291
+pip/_vendor/cachecontrol/heuristics.py,sha256=gqMXU8w0gQuEQiSdu3Yg-0vd9kW7nrWKbLca75rheGE,4881
+pip/_vendor/cachecontrol/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+pip/_vendor/cachecontrol/serialize.py,sha256=HQd2IllQ05HzPkVLMXTF2uX5mjEQjDBkxCqUJUODpZk,5163
+pip/_vendor/cachecontrol/wrapper.py,sha256=hsGc7g8QGQTT-4f8tgz3AM5qwScg6FO0BSdLSRdEvpU,1417
+pip/_vendor/certifi/__init__.py,sha256=dvNDUdAXp-hzoYcf09PXzLmHIlPfypaBQPFp5esDXyo,94
+pip/_vendor/certifi/__main__.py,sha256=1k3Cr95vCxxGRGDljrW3wMdpZdL3Nhf0u1n-k2qdsCY,255
+pip/_vendor/certifi/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/certifi/__pycache__/__main__.cpython-311.pyc,,
+pip/_vendor/certifi/__pycache__/core.cpython-311.pyc,,
+pip/_vendor/certifi/cacert.pem,sha256=lm3cYJxEv9SoAx4Atc3NiT1D92d965vcID6H39f_93o,290057
+pip/_vendor/certifi/core.py,sha256=gu_ECVI1m3Rq0ytpsNE61hgQGcKaOAt9Rs9G8KsTCOI,3442
+pip/_vendor/certifi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+pip/_vendor/dependency_groups/__init__.py,sha256=C3OFu0NGwDzQ4LOmmSOFPsRSvkbBn-mdd4j_5YqJw-s,250
+pip/_vendor/dependency_groups/__main__.py,sha256=UNTM7P5mfVtT7wDi9kOTXWgV3fu3e8bTrt1Qp1jvjKo,1709
+pip/_vendor/dependency_groups/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/dependency_groups/__pycache__/__main__.cpython-311.pyc,,
+pip/_vendor/dependency_groups/__pycache__/_implementation.cpython-311.pyc,,
+pip/_vendor/dependency_groups/__pycache__/_lint_dependency_groups.cpython-311.pyc,,
+pip/_vendor/dependency_groups/__pycache__/_pip_wrapper.cpython-311.pyc,,
+pip/_vendor/dependency_groups/__pycache__/_toml_compat.cpython-311.pyc,,
+pip/_vendor/dependency_groups/_implementation.py,sha256=Gqb2DlQELRakeHlKf6QtQSW0M-bcEomxHw4JsvID1ls,8041
+pip/_vendor/dependency_groups/_lint_dependency_groups.py,sha256=yp-DDqKXtbkDTNa0ifa-FmOA8ra24lPZEXftW-R5AuI,1710
+pip/_vendor/dependency_groups/_pip_wrapper.py,sha256=nuVW_w_ntVxpE26ELEvngMY0N04sFLsijXRyZZROFG8,1865
+pip/_vendor/dependency_groups/_toml_compat.py,sha256=BHnXnFacm3DeolsA35GjI6qkDApvua-1F20kv3BfZWE,285
+pip/_vendor/dependency_groups/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+pip/_vendor/distlib/__init__.py,sha256=Deo3uo98aUyIfdKJNqofeSEFWwDzrV2QeGLXLsgq0Ag,625
+pip/_vendor/distlib/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/distlib/__pycache__/compat.cpython-311.pyc,,
+pip/_vendor/distlib/__pycache__/resources.cpython-311.pyc,,
+pip/_vendor/distlib/__pycache__/scripts.cpython-311.pyc,,
+pip/_vendor/distlib/__pycache__/util.cpython-311.pyc,,
+pip/_vendor/distlib/compat.py,sha256=2jRSjRI4o-vlXeTK2BCGIUhkc6e9ZGhSsacRM5oseTw,41467
+pip/_vendor/distlib/resources.py,sha256=LwbPksc0A1JMbi6XnuPdMBUn83X7BPuFNWqPGEKI698,10820
+pip/_vendor/distlib/scripts.py,sha256=Qvp76E9Jc3IgyYubnpqI9fS7eseGOe4FjpeVKqKt9Iw,18612
+pip/_vendor/distlib/t32.exe,sha256=a0GV5kCoWsMutvliiCKmIgV98eRZ33wXoS-XrqvJQVs,97792
+pip/_vendor/distlib/t64-arm.exe,sha256=68TAa32V504xVBnufojh0PcenpR3U4wAqTqf-MZqbPw,182784
+pip/_vendor/distlib/t64.exe,sha256=gaYY8hy4fbkHYTTnA4i26ct8IQZzkBG2pRdy0iyuBrc,108032
+pip/_vendor/distlib/util.py,sha256=vMPGvsS4j9hF6Y9k3Tyom1aaHLb0rFmZAEyzeAdel9w,66682
+pip/_vendor/distlib/w32.exe,sha256=R4csx3-OGM9kL4aPIzQKRo5TfmRSHZo6QWyLhDhNBks,91648
+pip/_vendor/distlib/w64-arm.exe,sha256=xdyYhKj0WDcVUOCb05blQYvzdYIKMbmJn2SZvzkcey4,168448
+pip/_vendor/distlib/w64.exe,sha256=ejGf-rojoBfXseGLpya6bFTFPWRG21X5KvU8J5iU-K0,101888
+pip/_vendor/distro/__init__.py,sha256=2fHjF-SfgPvjyNZ1iHh_wjqWdR_Yo5ODHwZC0jLBPhc,981
+pip/_vendor/distro/__main__.py,sha256=bu9d3TifoKciZFcqRBuygV3GSuThnVD_m2IK4cz96Vs,64
+pip/_vendor/distro/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/distro/__pycache__/__main__.cpython-311.pyc,,
+pip/_vendor/distro/__pycache__/distro.cpython-311.pyc,,
+pip/_vendor/distro/distro.py,sha256=XqbefacAhDT4zr_trnbA15eY8vdK4GTghgmvUGrEM_4,49430
+pip/_vendor/distro/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+pip/_vendor/idna/__init__.py,sha256=MPqNDLZbXqGaNdXxAFhiqFPKEQXju2jNQhCey6-5eJM,868
+pip/_vendor/idna/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/idna/__pycache__/codec.cpython-311.pyc,,
+pip/_vendor/idna/__pycache__/compat.cpython-311.pyc,,
+pip/_vendor/idna/__pycache__/core.cpython-311.pyc,,
+pip/_vendor/idna/__pycache__/idnadata.cpython-311.pyc,,
+pip/_vendor/idna/__pycache__/intranges.cpython-311.pyc,,
+pip/_vendor/idna/__pycache__/package_data.cpython-311.pyc,,
+pip/_vendor/idna/__pycache__/uts46data.cpython-311.pyc,,
+pip/_vendor/idna/codec.py,sha256=PEew3ItwzjW4hymbasnty2N2OXvNcgHB-JjrBuxHPYY,3422
+pip/_vendor/idna/compat.py,sha256=RzLy6QQCdl9784aFhb2EX9EKGCJjg0P3PilGdeXXcx8,316
+pip/_vendor/idna/core.py,sha256=YJYyAMnwiQEPjVC4-Fqu_p4CJ6yKKuDGmppBNQNQpFs,13239
+pip/_vendor/idna/idnadata.py,sha256=W30GcIGvtOWYwAjZj4ZjuouUutC6ffgNuyjJy7fZ-lo,78306
+pip/_vendor/idna/intranges.py,sha256=amUtkdhYcQG8Zr-CoMM_kVRacxkivC1WgxN1b63KKdU,1898
+pip/_vendor/idna/package_data.py,sha256=q59S3OXsc5VI8j6vSD0sGBMyk6zZ4vWFREE88yCJYKs,21
+pip/_vendor/idna/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+pip/_vendor/idna/uts46data.py,sha256=rt90K9J40gUSwppDPCrhjgi5AA6pWM65dEGRSf6rIhM,239289
+pip/_vendor/msgpack/__init__.py,sha256=q2T5PRsITVpeytgS0WiSqok9IY8V_aFiC8VVlXTCTgA,1109
+pip/_vendor/msgpack/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/msgpack/__pycache__/exceptions.cpython-311.pyc,,
+pip/_vendor/msgpack/__pycache__/ext.cpython-311.pyc,,
+pip/_vendor/msgpack/__pycache__/fallback.cpython-311.pyc,,
+pip/_vendor/msgpack/exceptions.py,sha256=dCTWei8dpkrMsQDcjQk74ATl9HsIBH0ybt8zOPNqMYc,1081
+pip/_vendor/msgpack/ext.py,sha256=kteJv03n9tYzd5oo3xYopVTo4vRaAxonBQQJhXohZZo,5726
+pip/_vendor/msgpack/fallback.py,sha256=0g1Pzp0vtmBEmJ5w9F3s_-JMVURP8RS4G1cc5TRaAsI,32390
+pip/_vendor/packaging/__init__.py,sha256=_0cDiPVf2S-bNfVmZguxxzmrIYWlyASxpqph4qsJWUc,494
+pip/_vendor/packaging/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/packaging/__pycache__/_elffile.cpython-311.pyc,,
+pip/_vendor/packaging/__pycache__/_manylinux.cpython-311.pyc,,
+pip/_vendor/packaging/__pycache__/_musllinux.cpython-311.pyc,,
+pip/_vendor/packaging/__pycache__/_parser.cpython-311.pyc,,
+pip/_vendor/packaging/__pycache__/_structures.cpython-311.pyc,,
+pip/_vendor/packaging/__pycache__/_tokenizer.cpython-311.pyc,,
+pip/_vendor/packaging/__pycache__/markers.cpython-311.pyc,,
+pip/_vendor/packaging/__pycache__/metadata.cpython-311.pyc,,
+pip/_vendor/packaging/__pycache__/requirements.cpython-311.pyc,,
+pip/_vendor/packaging/__pycache__/specifiers.cpython-311.pyc,,
+pip/_vendor/packaging/__pycache__/tags.cpython-311.pyc,,
+pip/_vendor/packaging/__pycache__/utils.cpython-311.pyc,,
+pip/_vendor/packaging/__pycache__/version.cpython-311.pyc,,
+pip/_vendor/packaging/_elffile.py,sha256=UkrbDtW7aeq3qqoAfU16ojyHZ1xsTvGke_WqMTKAKd0,3286
+pip/_vendor/packaging/_manylinux.py,sha256=t4y_-dTOcfr36gLY-ztiOpxxJFGO2ikC11HgfysGxiM,9596
+pip/_vendor/packaging/_musllinux.py,sha256=p9ZqNYiOItGee8KcZFeHF_YcdhVwGHdK6r-8lgixvGQ,2694
+pip/_vendor/packaging/_parser.py,sha256=gYfnj0pRHflVc4RHZit13KNTyN9iiVcU2RUCGi22BwM,10221
+pip/_vendor/packaging/_structures.py,sha256=q3eVNmbWJGG_S0Dit_S3Ao8qQqz_5PYTXFAKBZe5yr4,1431
+pip/_vendor/packaging/_tokenizer.py,sha256=OYzt7qKxylOAJ-q0XyK1qAycyPRYLfMPdGQKRXkZWyI,5310
+pip/_vendor/packaging/licenses/__init__.py,sha256=3bx-gryo4sRv5LsrwApouy65VIs3u6irSORJzALkrzU,5727
+pip/_vendor/packaging/licenses/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/packaging/licenses/__pycache__/_spdx.cpython-311.pyc,,
+pip/_vendor/packaging/licenses/_spdx.py,sha256=oAm1ztPFwlsmCKe7lAAsv_OIOfS1cWDu9bNBkeu-2ns,48398
+pip/_vendor/packaging/markers.py,sha256=P0we27jm1xUzgGMJxBjtUFCIWeBxTsMeJTOJ6chZmAY,12049
+pip/_vendor/packaging/metadata.py,sha256=8IZErqQQnNm53dZZuYq4FGU4_dpyinMeH1QFBIWIkfE,34739
+pip/_vendor/packaging/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+pip/_vendor/packaging/requirements.py,sha256=gYyRSAdbrIyKDY66ugIDUQjRMvxkH2ALioTmX3tnL6o,2947
+pip/_vendor/packaging/specifiers.py,sha256=yc9D_MycJEmwUpZvcs1OZL9HfiNFmyw0RZaeHRNHkPw,40079
+pip/_vendor/packaging/tags.py,sha256=41s97W9Zatrq2Ed7Rc3qeBDaHe8pKKvYq2mGjwahfXk,22745
+pip/_vendor/packaging/utils.py,sha256=0F3Hh9OFuRgrhTgGZUl5K22Fv1YP2tZl1z_2gO6kJiA,5050
+pip/_vendor/packaging/version.py,sha256=oiHqzTUv_p12hpjgsLDVcaF5hT7pDaSOViUNMD4GTW0,16688
+pip/_vendor/pkg_resources/__init__.py,sha256=vbTJ0_ruUgGxQjlEqsruFmiNPVyh2t9q-zyTDT053xI,124451
+pip/_vendor/pkg_resources/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/platformdirs/__init__.py,sha256=UfeSHWl8AeTtbOBOoHAxK4dODOWkZtfy-m_i7cWdJ8c,22344
+pip/_vendor/platformdirs/__main__.py,sha256=jBJ8zb7Mpx5ebcqF83xrpO94MaeCpNGHVf9cvDN2JLg,1505
+pip/_vendor/platformdirs/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/platformdirs/__pycache__/__main__.cpython-311.pyc,,
+pip/_vendor/platformdirs/__pycache__/android.cpython-311.pyc,,
+pip/_vendor/platformdirs/__pycache__/api.cpython-311.pyc,,
+pip/_vendor/platformdirs/__pycache__/macos.cpython-311.pyc,,
+pip/_vendor/platformdirs/__pycache__/unix.cpython-311.pyc,,
+pip/_vendor/platformdirs/__pycache__/version.cpython-311.pyc,,
+pip/_vendor/platformdirs/__pycache__/windows.cpython-311.pyc,,
+pip/_vendor/platformdirs/android.py,sha256=r0DshVBf-RO1jXJGX8C4Til7F1XWt-bkdWMgmvEiaYg,9013
+pip/_vendor/platformdirs/api.py,sha256=U9EzI3EYxcXWUCtIGRllqrcN99i2LSY1mq2-GtsUwEQ,9277
+pip/_vendor/platformdirs/macos.py,sha256=UlbyFZ8Rzu3xndCqQEHrfsYTeHwYdFap1Ioz-yxveT4,6154
+pip/_vendor/platformdirs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+pip/_vendor/platformdirs/unix.py,sha256=WZmkUA--L3JNRGmz32s35YfoD3ica6xKIPdCV_HhLcs,10458
+pip/_vendor/platformdirs/version.py,sha256=ddN3EcUPfer7CbqmyFNmg03R3u-qDn32T_fLsx25-Ck,511
+pip/_vendor/platformdirs/windows.py,sha256=IFpiohUBwxPtCzlyKwNtxyW4Jk8haa6W8o59mfrDXVo,10125
+pip/_vendor/pygments/__init__.py,sha256=8uNqJCCwXqbEx5aSsBr0FykUQOBDKBihO5mPqiw1aqo,2983
+pip/_vendor/pygments/__main__.py,sha256=WrndpSe6i1ckX_SQ1KaxD9CTKGzD0EuCOFxcbwFpoLU,353
+pip/_vendor/pygments/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/pygments/__pycache__/__main__.cpython-311.pyc,,
+pip/_vendor/pygments/__pycache__/console.cpython-311.pyc,,
+pip/_vendor/pygments/__pycache__/filter.cpython-311.pyc,,
+pip/_vendor/pygments/__pycache__/formatter.cpython-311.pyc,,
+pip/_vendor/pygments/__pycache__/lexer.cpython-311.pyc,,
+pip/_vendor/pygments/__pycache__/modeline.cpython-311.pyc,,
+pip/_vendor/pygments/__pycache__/plugin.cpython-311.pyc,,
+pip/_vendor/pygments/__pycache__/regexopt.cpython-311.pyc,,
+pip/_vendor/pygments/__pycache__/scanner.cpython-311.pyc,,
+pip/_vendor/pygments/__pycache__/sphinxext.cpython-311.pyc,,
+pip/_vendor/pygments/__pycache__/style.cpython-311.pyc,,
+pip/_vendor/pygments/__pycache__/token.cpython-311.pyc,,
+pip/_vendor/pygments/__pycache__/unistring.cpython-311.pyc,,
+pip/_vendor/pygments/__pycache__/util.cpython-311.pyc,,
+pip/_vendor/pygments/console.py,sha256=AagDWqwea2yBWf10KC9ptBgMpMjxKp8yABAmh-NQOVk,1718
+pip/_vendor/pygments/filter.py,sha256=YLtpTnZiu07nY3oK9nfR6E9Y1FBHhP5PX8gvkJWcfag,1910
+pip/_vendor/pygments/filters/__init__.py,sha256=4U4jtA0X3iP83uQnB9-TI-HDSw8E8y8zMYHa0UjbbaI,40392
+pip/_vendor/pygments/filters/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/pygments/formatter.py,sha256=KZQMmyo_xkOIkQG8g66LYEkBh1bx7a0HyGCBcvhI9Ew,4390
+pip/_vendor/pygments/formatters/__init__.py,sha256=KTwBmnXlaopJhQDOemVHYHskiDghuq-08YtP6xPNJPg,5385
+pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-311.pyc,,
+pip/_vendor/pygments/formatters/_mapping.py,sha256=1Cw37FuQlNacnxRKmtlPX4nyLoX9_ttko5ZwscNUZZ4,4176
+pip/_vendor/pygments/lexer.py,sha256=_kBrOJ_NT5Tl0IVM0rA9c8eysP6_yrlGzEQI0eVYB-A,35349
+pip/_vendor/pygments/lexers/__init__.py,sha256=wbIME35GH7bI1B9rNPJFqWT-ij_RApZDYPUlZycaLzA,12115
+pip/_vendor/pygments/lexers/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/pygments/lexers/__pycache__/_mapping.cpython-311.pyc,,
+pip/_vendor/pygments/lexers/__pycache__/python.cpython-311.pyc,,
+pip/_vendor/pygments/lexers/_mapping.py,sha256=l4tCXM8e9aPC2BD6sjIr0deT-J-z5tHgCwL-p1fS0PE,77602
+pip/_vendor/pygments/lexers/python.py,sha256=vxjn1cOHclIKJKxoyiBsQTY65GHbkZtZRuKQ2AVCKaw,53853
+pip/_vendor/pygments/modeline.py,sha256=K5eSkR8GS1r5OkXXTHOcV0aM_6xpk9eWNEIAW-OOJ2g,1005
+pip/_vendor/pygments/plugin.py,sha256=tPx0rJCTIZ9ioRgLNYG4pifCbAwTRUZddvLw-NfAk2w,1891
+pip/_vendor/pygments/regexopt.py,sha256=wXaP9Gjp_hKAdnICqoDkRxAOQJSc4v3X6mcxx3z-TNs,3072
+pip/_vendor/pygments/scanner.py,sha256=nNcETRR1tRuiTaHmHSTTECVYFPcLf6mDZu1e4u91A9E,3092
+pip/_vendor/pygments/sphinxext.py,sha256=5x7Zh9YlU6ISJ31dMwduiaanb5dWZnKg3MyEQsseNnQ,7981
+pip/_vendor/pygments/style.py,sha256=PlOZqlsnTVd58RGy50vkA2cXQ_lP5bF5EGMEBTno6DA,6420
+pip/_vendor/pygments/styles/__init__.py,sha256=x9ebctfyvCAFpMTlMJ5YxwcNYBzjgq6zJaKkNm78r4M,2042
+pip/_vendor/pygments/styles/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/pygments/styles/__pycache__/_mapping.cpython-311.pyc,,
+pip/_vendor/pygments/styles/_mapping.py,sha256=6lovFUE29tz6EsV3XYY4hgozJ7q1JL7cfO3UOlgnS8w,3312
+pip/_vendor/pygments/token.py,sha256=WbdWGhYm_Vosb0DDxW9lHNPgITXfWTsQmHt6cy9RbcM,6226
+pip/_vendor/pygments/unistring.py,sha256=al-_rBemRuGvinsrM6atNsHTmJ6DUbw24q2O2Ru1cBc,63208
+pip/_vendor/pygments/util.py,sha256=oRtSpiAo5jM9ulntkvVbgXUdiAW57jnuYGB7t9fYuhc,10031
+pip/_vendor/pyproject_hooks/__init__.py,sha256=cPB_a9LXz5xvsRbX1o2qyAdjLatZJdQ_Lc5McNX-X7Y,691
+pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-311.pyc,,
+pip/_vendor/pyproject_hooks/_impl.py,sha256=jY-raxnmyRyB57ruAitrJRUzEexuAhGTpgMygqx67Z4,14936
+pip/_vendor/pyproject_hooks/_in_process/__init__.py,sha256=MJNPpfIxcO-FghxpBbxkG1rFiQf6HOUbV4U5mq0HFns,557
+pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-311.pyc,,
+pip/_vendor/pyproject_hooks/_in_process/_in_process.py,sha256=qcXMhmx__MIJq10gGHW3mA4Tl8dy8YzHMccwnNoKlw0,12216
+pip/_vendor/pyproject_hooks/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+pip/_vendor/requests/__init__.py,sha256=HlB_HzhrzGtfD_aaYUwUh1zWXLZ75_YCLyit75d0Vz8,5057
+pip/_vendor/requests/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/requests/__pycache__/__version__.cpython-311.pyc,,
+pip/_vendor/requests/__pycache__/_internal_utils.cpython-311.pyc,,
+pip/_vendor/requests/__pycache__/adapters.cpython-311.pyc,,
+pip/_vendor/requests/__pycache__/api.cpython-311.pyc,,
+pip/_vendor/requests/__pycache__/auth.cpython-311.pyc,,
+pip/_vendor/requests/__pycache__/certs.cpython-311.pyc,,
+pip/_vendor/requests/__pycache__/compat.cpython-311.pyc,,
+pip/_vendor/requests/__pycache__/cookies.cpython-311.pyc,,
+pip/_vendor/requests/__pycache__/exceptions.cpython-311.pyc,,
+pip/_vendor/requests/__pycache__/help.cpython-311.pyc,,
+pip/_vendor/requests/__pycache__/hooks.cpython-311.pyc,,
+pip/_vendor/requests/__pycache__/models.cpython-311.pyc,,
+pip/_vendor/requests/__pycache__/packages.cpython-311.pyc,,
+pip/_vendor/requests/__pycache__/sessions.cpython-311.pyc,,
+pip/_vendor/requests/__pycache__/status_codes.cpython-311.pyc,,
+pip/_vendor/requests/__pycache__/structures.cpython-311.pyc,,
+pip/_vendor/requests/__pycache__/utils.cpython-311.pyc,,
+pip/_vendor/requests/__version__.py,sha256=FDq681Y3EvBjdDp5UqplMZ28uTTYlM_Jib0sAV-NpXc,435
+pip/_vendor/requests/_internal_utils.py,sha256=nMQymr4hs32TqVo5AbCrmcJEhvPUh7xXlluyqwslLiQ,1495
+pip/_vendor/requests/adapters.py,sha256=J7VeVxKBvawbtlX2DERVo05J9BXTcWYLMHNd1Baa-bk,27607
+pip/_vendor/requests/api.py,sha256=_Zb9Oa7tzVIizTKwFrPjDEY9ejtm_OnSRERnADxGsQs,6449
+pip/_vendor/requests/auth.py,sha256=kF75tqnLctZ9Mf_hm9TZIj4cQWnN5uxRz8oWsx5wmR0,10186
+pip/_vendor/requests/certs.py,sha256=kHDlkK_beuHXeMPc5jta2wgl8gdKeUWt5f2nTDVrvt8,441
+pip/_vendor/requests/compat.py,sha256=QfbmdTFiZzjSHMXiMrd4joCRU6RabtQ9zIcPoVaHIus,1822
+pip/_vendor/requests/cookies.py,sha256=bNi-iqEj4NPZ00-ob-rHvzkvObzN3lEpgw3g6paS3Xw,18590
+pip/_vendor/requests/exceptions.py,sha256=D1wqzYWne1mS2rU43tP9CeN1G7QAy7eqL9o1god6Ejw,4272
+pip/_vendor/requests/help.py,sha256=hRKaf9u0G7fdwrqMHtF3oG16RKktRf6KiwtSq2Fo1_0,3813
+pip/_vendor/requests/hooks.py,sha256=CiuysiHA39V5UfcCBXFIx83IrDpuwfN9RcTUgv28ftQ,733
+pip/_vendor/requests/models.py,sha256=taljlg6vJ4b-xMu2TaMNFFkaiwMex_VsEQ6qUTN3wzY,35575
+pip/_vendor/requests/packages.py,sha256=_ZQDCJTJ8SP3kVWunSqBsRZNPzj2c1WFVqbdr08pz3U,1057
+pip/_vendor/requests/sessions.py,sha256=ykTI8UWGSltOfH07HKollH7kTBGw4WhiBVaQGmckTw4,30495
+pip/_vendor/requests/status_codes.py,sha256=iJUAeA25baTdw-6PfD0eF4qhpINDJRJI-yaMqxs4LEI,4322
+pip/_vendor/requests/structures.py,sha256=-IbmhVz06S-5aPSZuUthZ6-6D9XOjRuTXHOabY041XM,2912
+pip/_vendor/requests/utils.py,sha256=WS3wHSQaaEfceu1syiFo5jf4e_CWKUTep_IabOVI_J0,33225
+pip/_vendor/resolvelib/__init__.py,sha256=T0LcAr9Sfai6ZXanpwavdHEea-Anw2QZGx16zd3lMKY,541
+pip/_vendor/resolvelib/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/resolvelib/__pycache__/providers.cpython-311.pyc,,
+pip/_vendor/resolvelib/__pycache__/reporters.cpython-311.pyc,,
+pip/_vendor/resolvelib/__pycache__/structs.cpython-311.pyc,,
+pip/_vendor/resolvelib/providers.py,sha256=pIWJbIdJJ9GFtNbtwTH0Ia43Vj6hYCEJj2DOLue15FM,8914
+pip/_vendor/resolvelib/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+pip/_vendor/resolvelib/reporters.py,sha256=pNJf4nFxLpAeKxlBUi2GEj0a2Ij1nikY0UabTKXesT4,2037
+pip/_vendor/resolvelib/resolvers/__init__.py,sha256=728M3EvmnPbVXS7ExXlv2kMu6b7wEsoPutEfl-uVk_I,640
+pip/_vendor/resolvelib/resolvers/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/resolvelib/resolvers/__pycache__/abstract.cpython-311.pyc,,
+pip/_vendor/resolvelib/resolvers/__pycache__/criterion.cpython-311.pyc,,
+pip/_vendor/resolvelib/resolvers/__pycache__/exceptions.cpython-311.pyc,,
+pip/_vendor/resolvelib/resolvers/__pycache__/resolution.cpython-311.pyc,,
+pip/_vendor/resolvelib/resolvers/abstract.py,sha256=jZOBVigE4PUub9i3F-bTvBwaIXX8S9EU3CGASBvFqEU,1558
+pip/_vendor/resolvelib/resolvers/criterion.py,sha256=lcmZGv5sKHOnFD_RzZwvlGSj19MeA-5rCMpdf2Sgw7Y,1768
+pip/_vendor/resolvelib/resolvers/exceptions.py,sha256=ln_jaQtgLlRUSFY627yiHG2gD7AgaXzRKaElFVh7fDQ,1768
+pip/_vendor/resolvelib/resolvers/resolution.py,sha256=qU64VKtN-HxoFynmnI6oP8aMPzaiKZtb_1hASH3HTHI,23994
+pip/_vendor/resolvelib/structs.py,sha256=pu-EJiR2IBITr2SQeNPRa0rXhjlStfmO_GEgAhr3004,6420
+pip/_vendor/rich/__init__.py,sha256=dRxjIL-SbFVY0q3IjSMrfgBTHrm1LZDgLOygVBwiYZc,6090
+pip/_vendor/rich/__main__.py,sha256=e_aVC-tDzarWQW9SuZMuCgBr6ODV_iDNV2Wh2xkxOlw,7896
+pip/_vendor/rich/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/__main__.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/_cell_widths.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/_emoji_codes.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/_emoji_replace.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/_export_format.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/_extension.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/_fileno.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/_inspect.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/_log_render.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/_loop.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/_null_file.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/_palettes.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/_pick.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/_ratio.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/_spinners.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/_stack.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/_timer.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/_win32_console.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/_windows.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/_windows_renderer.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/_wrap.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/abc.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/align.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/ansi.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/bar.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/box.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/cells.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/color.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/color_triplet.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/columns.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/console.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/constrain.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/containers.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/control.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/default_styles.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/diagnose.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/emoji.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/errors.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/file_proxy.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/filesize.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/highlighter.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/json.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/jupyter.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/layout.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/live.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/live_render.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/logging.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/markup.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/measure.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/padding.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/pager.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/palette.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/panel.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/pretty.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/progress.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/progress_bar.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/prompt.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/protocol.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/region.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/repr.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/rule.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/scope.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/screen.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/segment.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/spinner.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/status.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/style.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/styled.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/syntax.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/table.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/terminal_theme.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/text.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/theme.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/themes.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/traceback.cpython-311.pyc,,
+pip/_vendor/rich/__pycache__/tree.cpython-311.pyc,,
+pip/_vendor/rich/_cell_widths.py,sha256=fbmeyetEdHjzE_Vx2l1uK7tnPOhMs2X1lJfO3vsKDpA,10209
+pip/_vendor/rich/_emoji_codes.py,sha256=hu1VL9nbVdppJrVoijVshRlcRRe_v3dju3Mmd2sKZdY,140235
+pip/_vendor/rich/_emoji_replace.py,sha256=n-kcetsEUx2ZUmhQrfeMNc-teeGhpuSQ5F8VPBsyvDo,1064
+pip/_vendor/rich/_export_format.py,sha256=RI08pSrm5tBSzPMvnbTqbD9WIalaOoN5d4M1RTmLq1Y,2128
+pip/_vendor/rich/_extension.py,sha256=Xt47QacCKwYruzjDi-gOBq724JReDj9Cm9xUi5fr-34,265
+pip/_vendor/rich/_fileno.py,sha256=HWZxP5C2ajMbHryvAQZseflVfQoGzsKOHzKGsLD8ynQ,799
+pip/_vendor/rich/_inspect.py,sha256=ROT0PLC2GMWialWZkqJIjmYq7INRijQQkoSokWTaAiI,9656
+pip/_vendor/rich/_log_render.py,sha256=1ByI0PA1ZpxZY3CGJOK54hjlq4X-Bz_boIjIqCd8Kns,3225
+pip/_vendor/rich/_loop.py,sha256=hV_6CLdoPm0va22Wpw4zKqM0RYsz3TZxXj0PoS-9eDQ,1236
+pip/_vendor/rich/_null_file.py,sha256=ADGKp1yt-k70FMKV6tnqCqecB-rSJzp-WQsD7LPL-kg,1394
+pip/_vendor/rich/_palettes.py,sha256=cdev1JQKZ0JvlguV9ipHgznTdnvlIzUFDBb0It2PzjI,7063
+pip/_vendor/rich/_pick.py,sha256=evDt8QN4lF5CiwrUIXlOJCntitBCOsI3ZLPEIAVRLJU,423
+pip/_vendor/rich/_ratio.py,sha256=IOtl78sQCYZsmHyxhe45krkb68u9xVz7zFsXVJD-b2Y,5325
+pip/_vendor/rich/_spinners.py,sha256=U2r1_g_1zSjsjiUdAESc2iAMc3i4ri_S8PYP6kQ5z1I,19919
+pip/_vendor/rich/_stack.py,sha256=-C8OK7rxn3sIUdVwxZBBpeHhIzX0eI-VM3MemYfaXm0,351
+pip/_vendor/rich/_timer.py,sha256=zelxbT6oPFZnNrwWPpc1ktUeAT-Vc4fuFcRZLQGLtMI,417
+pip/_vendor/rich/_win32_console.py,sha256=BSaDRIMwBLITn_m0mTRLPqME5q-quGdSMuYMpYeYJwc,22755
+pip/_vendor/rich/_windows.py,sha256=aBwaD_S56SbgopIvayVmpk0Y28uwY2C5Bab1wl3Bp-I,1925
+pip/_vendor/rich/_windows_renderer.py,sha256=t74ZL3xuDCP3nmTp9pH1L5LiI2cakJuQRQleHCJerlk,2783
+pip/_vendor/rich/_wrap.py,sha256=FlSsom5EX0LVkA3KWy34yHnCfLtqX-ZIepXKh-70rpc,3404
+pip/_vendor/rich/abc.py,sha256=ON-E-ZqSSheZ88VrKX2M3PXpFbGEUUZPMa_Af0l-4f0,890
+pip/_vendor/rich/align.py,sha256=dg-7uY0ukMLLlUEsBDRLva22_sQgIJD4BK0dmZHFHug,10324
+pip/_vendor/rich/ansi.py,sha256=Avs1LHbSdcyOvDOdpELZUoULcBiYewY76eNBp6uFBhs,6921
+pip/_vendor/rich/bar.py,sha256=ldbVHOzKJOnflVNuv1xS7g6dLX2E3wMnXkdPbpzJTcs,3263
+pip/_vendor/rich/box.py,sha256=kmavBc_dn73L_g_8vxWSwYJD2uzBXOUFTtJOfpbczcM,10686
+pip/_vendor/rich/cells.py,sha256=KrQkj5-LghCCpJLSNQIyAZjndc4bnEqOEmi5YuZ9UCY,5130
+pip/_vendor/rich/color.py,sha256=3HSULVDj7qQkXUdFWv78JOiSZzfy5y1nkcYhna296V0,18211
+pip/_vendor/rich/color_triplet.py,sha256=3lhQkdJbvWPoLDO-AnYImAWmJvV5dlgYNCVZ97ORaN4,1054
+pip/_vendor/rich/columns.py,sha256=HUX0KcMm9dsKNi11fTbiM_h2iDtl8ySCaVcxlalEzq8,7131
+pip/_vendor/rich/console.py,sha256=t9azZpmRMVU5cphVBZSShNsmBxd2-IAWcTTlhor-E1s,100849
+pip/_vendor/rich/constrain.py,sha256=1VIPuC8AgtKWrcncQrjBdYqA3JVWysu6jZo1rrh7c7Q,1288
+pip/_vendor/rich/containers.py,sha256=c_56TxcedGYqDepHBMTuZdUIijitAQgnox-Qde0Z1qo,5502
+pip/_vendor/rich/control.py,sha256=EUTSUFLQbxY6Zmo_sdM-5Ls323vIHTBfN8TPulqeHUY,6487
+pip/_vendor/rich/default_styles.py,sha256=khQFqqaoDs3bprMqWpHw8nO5UpG2DN6QtuTd6LzZwYc,8257
+pip/_vendor/rich/diagnose.py,sha256=fJl1TItRn19gGwouqTg-8zPUW3YqQBqGltrfPQs1H9w,1025
+pip/_vendor/rich/emoji.py,sha256=Wd4bQubZdSy6-PyrRQNuMHtn2VkljK9uPZPVlu2cmx0,2367
+pip/_vendor/rich/errors.py,sha256=5pP3Kc5d4QJ_c0KFsxrfyhjiPVe7J1zOqSFbFAzcV-Y,642
+pip/_vendor/rich/file_proxy.py,sha256=Tl9THMDZ-Pk5Wm8sI1gGg_U5DhusmxD-FZ0fUbcU0W0,1683
+pip/_vendor/rich/filesize.py,sha256=_iz9lIpRgvW7MNSeCZnLg-HwzbP4GETg543WqD8SFs0,2484
+pip/_vendor/rich/highlighter.py,sha256=G_sn-8DKjM1sEjLG_oc4ovkWmiUpWvj8bXi0yed2LnY,9586
+pip/_vendor/rich/json.py,sha256=vVEoKdawoJRjAFayPwXkMBPLy7RSTs-f44wSQDR2nJ0,5031
+pip/_vendor/rich/jupyter.py,sha256=QyoKoE_8IdCbrtiSHp9TsTSNyTHY0FO5whE7jOTd9UE,3252
+pip/_vendor/rich/layout.py,sha256=ajkSFAtEVv9EFTcFs-w4uZfft7nEXhNzL7ZVdgrT5rI,14004
+pip/_vendor/rich/live.py,sha256=tF3ukAAJZ_N2ZbGclqZ-iwLoIoZ8f0HHUz79jAyJqj8,15180
+pip/_vendor/rich/live_render.py,sha256=It_39YdzrBm8o3LL0kaGorPFg-BfZWAcrBjLjFokbx4,3521
+pip/_vendor/rich/logging.py,sha256=5KaPPSMP9FxcXPBcKM4cGd_zW78PMgf-YbMVnvfSw0o,12468
+pip/_vendor/rich/markup.py,sha256=3euGKP5s41NCQwaSjTnJxus5iZMHjxpIM0W6fCxra38,8451
+pip/_vendor/rich/measure.py,sha256=HmrIJX8sWRTHbgh8MxEay_83VkqNW_70s8aKP5ZcYI8,5305
+pip/_vendor/rich/padding.py,sha256=KVEI3tOwo9sgK1YNSuH__M1_jUWmLZwRVV_KmOtVzyM,4908
+pip/_vendor/rich/pager.py,sha256=SO_ETBFKbg3n_AgOzXm41Sv36YxXAyI3_R-KOY2_uSc,828
+pip/_vendor/rich/palette.py,sha256=lInvR1ODDT2f3UZMfL1grq7dY_pDdKHw4bdUgOGaM4Y,3396
+pip/_vendor/rich/panel.py,sha256=9sQl00hPIqH5G2gALQo4NepFwpP0k9wT-s_gOms5pIc,11157
+pip/_vendor/rich/pretty.py,sha256=gy3S72u4FRg2ytoo7N1ZDWDIvB4unbzd5iUGdgm-8fc,36391
+pip/_vendor/rich/progress.py,sha256=CUc2lkU-X59mVdGfjMCBkZeiGPL3uxdONjhNJF2T7wY,60408
+pip/_vendor/rich/progress_bar.py,sha256=mZTPpJUwcfcdgQCTTz3kyY-fc79ddLwtx6Ghhxfo064,8162
+pip/_vendor/rich/prompt.py,sha256=l0RhQU-0UVTV9e08xW1BbIj0Jq2IXyChX4lC0lFNzt4,12447
+pip/_vendor/rich/protocol.py,sha256=5hHHDDNHckdk8iWH5zEbi-zuIVSF5hbU2jIo47R7lTE,1391
+pip/_vendor/rich/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+pip/_vendor/rich/region.py,sha256=rNT9xZrVZTYIXZC0NYn41CJQwYNbR-KecPOxTgQvB8Y,166
+pip/_vendor/rich/repr.py,sha256=5MZJZmONgC6kud-QW-_m1okXwL2aR6u6y-pUcUCJz28,4431
+pip/_vendor/rich/rule.py,sha256=0fNaS_aERa3UMRc3T5WMpN_sumtDxfaor2y3of1ftBk,4602
+pip/_vendor/rich/scope.py,sha256=TMUU8qo17thyqQCPqjDLYpg_UU1k5qVd-WwiJvnJVas,2843
+pip/_vendor/rich/screen.py,sha256=YoeReESUhx74grqb0mSSb9lghhysWmFHYhsbMVQjXO8,1591
+pip/_vendor/rich/segment.py,sha256=otnKeKGEV-WRlQVosfJVeFDcDxAKHpvJ_hLzSu5lumM,24743
+pip/_vendor/rich/spinner.py,sha256=onIhpKlljRHppTZasxO8kXgtYyCHUkpSgKglRJ3o51g,4214
+pip/_vendor/rich/status.py,sha256=kkPph3YeAZBo-X-4wPp8gTqZyU466NLwZBA4PZTTewo,4424
+pip/_vendor/rich/style.py,sha256=xpj4uMBZMtuNuNomfUiamigl3p1sDvTCZwrG1tcTVeg,27059
+pip/_vendor/rich/styled.py,sha256=eZNnzGrI4ki_54pgY3Oj0T-x3lxdXTYh4_ryDB24wBU,1258
+pip/_vendor/rich/syntax.py,sha256=eDKIRwl--eZ0Lwo2da2RRtfutXGavrJO61Cl5OkS59U,36371
+pip/_vendor/rich/table.py,sha256=ZmT7V7MMCOYKw7TGY9SZLyYDf6JdM-WVf07FdVuVhTI,40049
+pip/_vendor/rich/terminal_theme.py,sha256=1j5-ufJfnvlAo5Qsi_ACZiXDmwMXzqgmFByObT9-yJY,3370
+pip/_vendor/rich/text.py,sha256=AO7JPCz6-gaN1thVLXMBntEmDPVYFgFNG1oM61_sanU,47552
+pip/_vendor/rich/theme.py,sha256=oNyhXhGagtDlbDye3tVu3esWOWk0vNkuxFw-_unlaK0,3771
+pip/_vendor/rich/themes.py,sha256=0xgTLozfabebYtcJtDdC5QkX5IVUEaviqDUJJh4YVFk,102
+pip/_vendor/rich/traceback.py,sha256=c0WmB_L04_UfZbLaoH982_U_s7eosxKMUiAVmDPdRYU,35861
+pip/_vendor/rich/tree.py,sha256=yWnQ6rAvRGJ3qZGqBrxS2SW2TKBTNrP0SdY8QxOFPuw,9451
+pip/_vendor/tomli/__init__.py,sha256=PhNw_eyLgdn7McJ6nrAN8yIm3dXC75vr1sVGVVwDSpA,314
+pip/_vendor/tomli/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/tomli/__pycache__/_parser.cpython-311.pyc,,
+pip/_vendor/tomli/__pycache__/_re.cpython-311.pyc,,
+pip/_vendor/tomli/__pycache__/_types.cpython-311.pyc,,
+pip/_vendor/tomli/_parser.py,sha256=9w8LG0jB7fwmZZWB0vVXbeejDHcl4ANIJxB2scEnDlA,25591
+pip/_vendor/tomli/_re.py,sha256=sh4sBDRgO94KJZwNIrgdcyV_qQast50YvzOAUGpRDKA,3171
+pip/_vendor/tomli/_types.py,sha256=-GTG2VUqkpxwMqzmVO4F7ybKddIbAnuAHXfmWQcTi3Q,254
+pip/_vendor/tomli/py.typed,sha256=8PjyZ1aVoQpRVvt71muvuq5qE-jTFZkK-GLHkhdebmc,26
+pip/_vendor/tomli_w/__init__.py,sha256=0F8yDtXx3Uunhm874KrAcP76srsM98y7WyHQwCulZbo,169
+pip/_vendor/tomli_w/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/tomli_w/__pycache__/_writer.cpython-311.pyc,,
+pip/_vendor/tomli_w/_writer.py,sha256=dsifFS2xYf1i76mmRyfz9y125xC7Z_HQ845ZKhJsYXs,6961
+pip/_vendor/tomli_w/py.typed,sha256=8PjyZ1aVoQpRVvt71muvuq5qE-jTFZkK-GLHkhdebmc,26
+pip/_vendor/truststore/__init__.py,sha256=2wRSVijjRzPLVXUzWqvdZLNsEOhDfopKLd2EKAYLwKU,1320
+pip/_vendor/truststore/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/truststore/__pycache__/_api.cpython-311.pyc,,
+pip/_vendor/truststore/__pycache__/_macos.cpython-311.pyc,,
+pip/_vendor/truststore/__pycache__/_openssl.cpython-311.pyc,,
+pip/_vendor/truststore/__pycache__/_ssl_constants.cpython-311.pyc,,
+pip/_vendor/truststore/__pycache__/_windows.cpython-311.pyc,,
+pip/_vendor/truststore/_api.py,sha256=af8gEZG_vhsudia9vz4es3Vh8xAqhzQz4Cbjs6_rxus,11234
+pip/_vendor/truststore/_macos.py,sha256=nZlLkOmszUE0g6ryRwBVGY5COzPyudcsiJtDWarM5LQ,20503
+pip/_vendor/truststore/_openssl.py,sha256=LLUZ7ZGaio-i5dpKKjKCSeSufmn6T8pi9lDcFnvSyq0,2324
+pip/_vendor/truststore/_ssl_constants.py,sha256=NUD4fVKdSD02ri7-db0tnO0VqLP9aHuzmStcW7tAl08,1130
+pip/_vendor/truststore/_windows.py,sha256=rAHyKYD8M7t-bXfG8VgOVa3TpfhVhbt4rZQlO45YuP8,17993
+pip/_vendor/truststore/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+pip/_vendor/urllib3/__init__.py,sha256=iXLcYiJySn0GNbWOOZDDApgBL1JgP44EZ8i1760S8Mc,3333
+pip/_vendor/urllib3/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/urllib3/__pycache__/_collections.cpython-311.pyc,,
+pip/_vendor/urllib3/__pycache__/_version.cpython-311.pyc,,
+pip/_vendor/urllib3/__pycache__/connection.cpython-311.pyc,,
+pip/_vendor/urllib3/__pycache__/connectionpool.cpython-311.pyc,,
+pip/_vendor/urllib3/__pycache__/exceptions.cpython-311.pyc,,
+pip/_vendor/urllib3/__pycache__/fields.cpython-311.pyc,,
+pip/_vendor/urllib3/__pycache__/filepost.cpython-311.pyc,,
+pip/_vendor/urllib3/__pycache__/poolmanager.cpython-311.pyc,,
+pip/_vendor/urllib3/__pycache__/request.cpython-311.pyc,,
+pip/_vendor/urllib3/__pycache__/response.cpython-311.pyc,,
+pip/_vendor/urllib3/_collections.py,sha256=pyASJJhW7wdOpqJj9QJA8FyGRfr8E8uUUhqUvhF0728,11372
+pip/_vendor/urllib3/_version.py,sha256=t9wGB6ooOTXXgiY66K1m6BZS1CJyXHAU8EoWDTe6Shk,64
+pip/_vendor/urllib3/connection.py,sha256=ttIA909BrbTUzwkqEe_TzZVh4JOOj7g61Ysei2mrwGg,20314
+pip/_vendor/urllib3/connectionpool.py,sha256=e2eiAwNbFNCKxj4bwDKNK-w7HIdSz3OmMxU_TIt-evQ,40408
+pip/_vendor/urllib3/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/urllib3/contrib/__pycache__/_appengine_environ.cpython-311.pyc,,
+pip/_vendor/urllib3/contrib/__pycache__/appengine.cpython-311.pyc,,
+pip/_vendor/urllib3/contrib/__pycache__/ntlmpool.cpython-311.pyc,,
+pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-311.pyc,,
+pip/_vendor/urllib3/contrib/__pycache__/securetransport.cpython-311.pyc,,
+pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-311.pyc,,
+pip/_vendor/urllib3/contrib/_appengine_environ.py,sha256=bDbyOEhW2CKLJcQqAKAyrEHN-aklsyHFKq6vF8ZFsmk,957
+pip/_vendor/urllib3/contrib/_securetransport/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+pip/_vendor/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-311.pyc,,
+pip/_vendor/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-311.pyc,,
+pip/_vendor/urllib3/contrib/_securetransport/bindings.py,sha256=4Xk64qIkPBt09A5q-RIFUuDhNc9mXilVapm7WnYnzRw,17632
+pip/_vendor/urllib3/contrib/_securetransport/low_level.py,sha256=B2JBB2_NRP02xK6DCa1Pa9IuxrPwxzDzZbixQkb7U9M,13922
+pip/_vendor/urllib3/contrib/appengine.py,sha256=VR68eAVE137lxTgjBDwCna5UiBZTOKa01Aj_-5BaCz4,11036
+pip/_vendor/urllib3/contrib/ntlmpool.py,sha256=NlfkW7WMdW8ziqudopjHoW299og1BTWi0IeIibquFwk,4528
+pip/_vendor/urllib3/contrib/pyopenssl.py,sha256=hDJh4MhyY_p-oKlFcYcQaVQRDv6GMmBGuW9yjxyeejM,17081
+pip/_vendor/urllib3/contrib/securetransport.py,sha256=Fef1IIUUFHqpevzXiDPbIGkDKchY2FVKeVeLGR1Qq3g,34446
+pip/_vendor/urllib3/contrib/socks.py,sha256=aRi9eWXo9ZEb95XUxef4Z21CFlnnjbEiAo9HOseoMt4,7097
+pip/_vendor/urllib3/exceptions.py,sha256=0Mnno3KHTNfXRfY7638NufOPkUb6mXOm-Lqj-4x2w8A,8217
+pip/_vendor/urllib3/fields.py,sha256=kvLDCg_JmH1lLjUUEY_FLS8UhY7hBvDPuVETbY8mdrM,8579
+pip/_vendor/urllib3/filepost.py,sha256=5b_qqgRHVlL7uLtdAYBzBh-GHmU5AfJVt_2N0XS3PeY,2440
+pip/_vendor/urllib3/packages/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+pip/_vendor/urllib3/packages/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/urllib3/packages/__pycache__/six.cpython-311.pyc,,
+pip/_vendor/urllib3/packages/backports/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+pip/_vendor/urllib3/packages/backports/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/urllib3/packages/backports/__pycache__/makefile.cpython-311.pyc,,
+pip/_vendor/urllib3/packages/backports/__pycache__/weakref_finalize.cpython-311.pyc,,
+pip/_vendor/urllib3/packages/backports/makefile.py,sha256=nbzt3i0agPVP07jqqgjhaYjMmuAi_W5E0EywZivVO8E,1417
+pip/_vendor/urllib3/packages/backports/weakref_finalize.py,sha256=tRCal5OAhNSRyb0DhHp-38AtIlCsRP8BxF3NX-6rqIA,5343
+pip/_vendor/urllib3/packages/six.py,sha256=b9LM0wBXv7E7SrbCjAm4wwN-hrH-iNxv18LgWNMMKPo,34665
+pip/_vendor/urllib3/poolmanager.py,sha256=aWyhXRtNO4JUnCSVVqKTKQd8EXTvUm1VN9pgs2bcONo,19990
+pip/_vendor/urllib3/request.py,sha256=YTWFNr7QIwh7E1W9dde9LM77v2VWTJ5V78XuTTw7D1A,6691
+pip/_vendor/urllib3/response.py,sha256=fmDJAFkG71uFTn-sVSTh2Iw0WmcXQYqkbRjihvwBjU8,30641
+pip/_vendor/urllib3/util/__init__.py,sha256=JEmSmmqqLyaw8P51gUImZh8Gwg9i1zSe-DoqAitn2nc,1155
+pip/_vendor/urllib3/util/__pycache__/__init__.cpython-311.pyc,,
+pip/_vendor/urllib3/util/__pycache__/connection.cpython-311.pyc,,
+pip/_vendor/urllib3/util/__pycache__/proxy.cpython-311.pyc,,
+pip/_vendor/urllib3/util/__pycache__/queue.cpython-311.pyc,,
+pip/_vendor/urllib3/util/__pycache__/request.cpython-311.pyc,,
+pip/_vendor/urllib3/util/__pycache__/response.cpython-311.pyc,,
+pip/_vendor/urllib3/util/__pycache__/retry.cpython-311.pyc,,
+pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-311.pyc,,
+pip/_vendor/urllib3/util/__pycache__/ssl_match_hostname.cpython-311.pyc,,
+pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-311.pyc,,
+pip/_vendor/urllib3/util/__pycache__/timeout.cpython-311.pyc,,
+pip/_vendor/urllib3/util/__pycache__/url.cpython-311.pyc,,
+pip/_vendor/urllib3/util/__pycache__/wait.cpython-311.pyc,,
+pip/_vendor/urllib3/util/connection.py,sha256=5Lx2B1PW29KxBn2T0xkN1CBgRBa3gGVJBKoQoRogEVk,4901
+pip/_vendor/urllib3/util/proxy.py,sha256=zUvPPCJrp6dOF0N4GAVbOcl6o-4uXKSrGiTkkr5vUS4,1605
+pip/_vendor/urllib3/util/queue.py,sha256=nRgX8_eX-_VkvxoX096QWoz8Ps0QHUAExILCY_7PncM,498
+pip/_vendor/urllib3/util/request.py,sha256=C0OUt2tcU6LRiQJ7YYNP9GvPrSvl7ziIBekQ-5nlBZk,3997
+pip/_vendor/urllib3/util/response.py,sha256=GJpg3Egi9qaJXRwBh5wv-MNuRWan5BIu40oReoxWP28,3510
+pip/_vendor/urllib3/util/retry.py,sha256=6ENvOZ8PBDzh8kgixpql9lIrb2dxH-k7ZmBanJF2Ng4,22050
+pip/_vendor/urllib3/util/ssl_.py,sha256=QDuuTxPSCj1rYtZ4xpD7Ux-r20TD50aHyqKyhQ7Bq4A,17460
+pip/_vendor/urllib3/util/ssl_match_hostname.py,sha256=Ir4cZVEjmAk8gUAIHWSi7wtOO83UCYABY2xFD1Ql_WA,5758
+pip/_vendor/urllib3/util/ssltransport.py,sha256=NA-u5rMTrDFDFC8QzRKUEKMG0561hOD4qBTr3Z4pv6E,6895
+pip/_vendor/urllib3/util/timeout.py,sha256=cwq4dMk87mJHSBktK1miYJ-85G-3T3RmT20v7SFCpno,10168
+pip/_vendor/urllib3/util/url.py,sha256=lCAE7M5myA8EDdW0sJuyyZhVB9K_j38ljWhHAnFaWoE,14296
+pip/_vendor/urllib3/util/wait.py,sha256=fOX0_faozG2P7iVojQoE1mbydweNyTcm-hXEfFrTtLI,5403
+pip/_vendor/vendor.txt,sha256=fawq8T1XFfBhs4rjjSl4fUA3Px9P2mtG2evqqPyhbhc,343
+pip/py.typed,sha256=EBVvvPRTn_eIpz5e5QztSCdrMX7Qwd7VP93RSoIlZ2I,286
diff --git a/.venv/Lib/site-packages/pip-24.0.dist-info/REQUESTED b/.venv/Lib/site-packages/pip-25.2.dist-info/REQUESTED
similarity index 100%
rename from .venv/Lib/site-packages/pip-24.0.dist-info/REQUESTED
rename to .venv/Lib/site-packages/pip-25.2.dist-info/REQUESTED
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/WHEEL b/.venv/Lib/site-packages/pip-25.2.dist-info/WHEEL
new file mode 100644
index 0000000..e7fa31b
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/WHEEL
@@ -0,0 +1,5 @@
+Wheel-Version: 1.0
+Generator: setuptools (80.9.0)
+Root-Is-Purelib: true
+Tag: py3-none-any
+
diff --git a/.venv/Lib/site-packages/pip-24.0.dist-info/entry_points.txt b/.venv/Lib/site-packages/pip-25.2.dist-info/entry_points.txt
similarity index 69%
rename from .venv/Lib/site-packages/pip-24.0.dist-info/entry_points.txt
rename to .venv/Lib/site-packages/pip-25.2.dist-info/entry_points.txt
index 5367846..25fcf7e 100644
--- a/.venv/Lib/site-packages/pip-24.0.dist-info/entry_points.txt
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/entry_points.txt
@@ -1,4 +1,3 @@
 [console_scripts]
 pip = pip._internal.cli.main:main
 pip3 = pip._internal.cli.main:main
-pip3.10 = pip._internal.cli.main:main
diff --git a/.venv/Lib/site-packages/pip-24.0.dist-info/AUTHORS.txt b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/AUTHORS.txt
similarity index 90%
rename from .venv/Lib/site-packages/pip-24.0.dist-info/AUTHORS.txt
rename to .venv/Lib/site-packages/pip-25.2.dist-info/licenses/AUTHORS.txt
index 0e63548..c8a7c68 100644
--- a/.venv/Lib/site-packages/pip-24.0.dist-info/AUTHORS.txt
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/AUTHORS.txt
@@ -7,9 +7,12 @@ abs51295
 AceGentile
 Adam Chainz
 Adam Tse
+Adam Turner
 Adam Wentz
 admin
+Adolfo Ochagavía
 Adrien Morison
+Agus
 ahayrapetyan
 Ahilya
 AinsworthK
@@ -28,6 +31,7 @@ Alex Hedges
 Alex Loosley
 Alex Morega
 Alex Stachowiak
+Alexander Regueiro
 Alexander Shtyrov
 Alexandre Conrad
 Alexey Popravka
@@ -55,6 +59,7 @@ Anthony Sottile
 Antoine Musso
 Anton Ovchinnikov
 Anton Patrushev
+Anton Zelenov
 Antonio Alvarado Hernandez
 Antony Lee
 Antti Kaihola
@@ -63,8 +68,11 @@ Anudit Nagar
 Anuj Godase
 AQNOUCH Mohammed
 AraHaan
+arena
+arenasys
 Arindam Choudhury
 Armin Ronacher
+Arnon Yaari
 Artem
 Arun Babu Neelicattu
 Ashley Manton
@@ -100,8 +108,11 @@ Bogdan Opanchuk
 BorisZZZ
 Brad Erickson
 Bradley Ayers
+Bradley Reynolds
+Branch Vincent
 Brandon L. Reiss
 Brandt Bucher
+Brannon Dorsey
 Brett Randall
 Brett Rosen
 Brian Cristante
@@ -117,6 +128,7 @@ burrows
 Bussonnier Matthias
 bwoodsend
 c22
+Caleb Brown
 Caleb Martinez
 Calvin Smith
 Carl Meyer
@@ -125,11 +137,14 @@ Carol Willing
 Carter Thayer
 Cass
 Chandrasekhar Atina
+Charlie Marsh
+charwick
 Chih-Hsuan Yen
 Chris Brinker
 Chris Hunt
 Chris Jerdonek
 Chris Kuehl
+Chris Markiewicz
 Chris McDonough
 Chris Pawley
 Chris Pryer
@@ -140,6 +155,7 @@ Christian Oudard
 Christoph Reiter
 Christopher Hunt
 Christopher Snyder
+chrysle
 cjc7373
 Clark Boylan
 Claudio Jolowicz
@@ -157,6 +173,7 @@ Craig Kerstiens
 Cristian Sorinel
 Cristina
 Cristina Muñoz
+ctg123
 Curtis Doty
 cytolentino
 Daan De Meyer
@@ -194,6 +211,7 @@ David Evans
 David Hewitt
 David Linke
 David Poggi
+David Poznik
 David Pursehouse
 David Runge
 David Tucker
@@ -202,16 +220,21 @@ Davidovich
 ddelange
 Deepak Sharma
 Deepyaman Datta
+Denis Roussel (ACSONE)
 Denise Yu
 dependabot[bot]
 derwolfe
 Desetude
+developer
+Devesh Kumar
 Devesh Kumar Singh
+devsagul
 Diego Caraballo
 Diego Ramirez
 DiegoCaraballo
 Dimitri Merejkowsky
 Dimitri Papadopoulos
+Dimitri Papadopoulos Orfanos
 Dirk Stolle
 Dmitry Gladkov
 Dmitry Volodin
@@ -224,6 +247,7 @@ Dos Moonen
 Douglas Thor
 DrFeathers
 Dustin Ingram
+Dustin Rodrigues
 Dwayne Bailey
 Ed Morley
 Edgar Ramírez
@@ -265,13 +289,17 @@ Florian Briand
 Florian Rathgeber
 Francesco
 Francesco Montesano
+Fredrik Orderud
+Fredrik Roubert
 Frost Ming
 Gabriel Curio
 Gabriel de Perthuis
 Garry Polley
 gavin
 gdanielson
+Gene Wood
 Geoffrey Sneddon
+George Margaritis
 George Song
 Georgi Valkov
 Georgy Pchelkin
@@ -308,6 +336,7 @@ Hugo Lopes Tavares
 Hugo van Kemenade
 Hugues Bruant
 Hynek Schlawack
+iamsrp-deshaw
 Ian Bicking
 Ian Cordasco
 Ian Lee
@@ -315,6 +344,7 @@ Ian Stapleton Cordasco
 Ian Wienand
 Igor Kuzmitshov
 Igor Sobreira
+Ikko Ashimine
 Ilan Schnell
 Illia Volochii
 Ilya Baryshev
@@ -322,11 +352,13 @@ Inada Naoki
 Ionel Cristian Mărieș
 Ionel Maries Cristian
 Itamar Turner-Trauring
+iTrooz
 Ivan Pozdeev
 J. Nick Koston
 Jacob Kim
 Jacob Walls
 Jaime Sanz
+Jake Lishman
 jakirkham
 Jakub Kuczys
 Jakub Stasiak
@@ -353,17 +385,22 @@ Jeff Dairiki
 Jeff Widman
 Jelmer Vernooij
 jenix21
+Jeremy Fleischman
 Jeremy Stanley
 Jeremy Zafran
 Jesse Rittner
 Jiashuo Li
 Jim Fisher
 Jim Garrison
+Jinzhe Zeng
 Jiun Bae
 Jivan Amara
+Joa
 Joe Bylund
 Joe Michelini
+Johannes Altmanninger
 John Paton
+John Sirois
 John T. Wodder II
 John-Scott Atlakson
 johnthagen
@@ -378,21 +415,26 @@ Jorge Niedbalski
 Joseph Bylund
 Joseph Long
 Josh Bronson
+Josh Cannon
 Josh Hansen
 Josh Schneier
 Joshua
+JoshuaPerdue
 Juan Luis Cano Rodríguez
 Juanjo Bazán
 Judah Rand
 Julian Berman
 Julian Gethmann
 Julien Demoor
+July Tikhonov
 Jussi Kukkonen
+Justin van Heek
 jwg4
 Jyrki Pulliainen
 Kai Chen
 Kai Mueller
 Kamal Bin Mustafa
+Karolina Surma
 kasium
 kaustav haldar
 keanemind
@@ -408,9 +450,12 @@ Kexuan Sun
 Kit Randel
 Klaas van Schelven
 KOLANICH
+konstin
 kpinc
+Krishan Bhasin
 Krishna Oza
 Kumar McMillan
+Kuntal Majumder
 Kurt McKee
 Kyle Persohn
 lakshmanaram
@@ -428,6 +473,7 @@ lorddavidiii
 Loren Carvalho
 Lucas Cimon
 Ludovic Gasc
+Luis Medel
 Lukas Geiger
 Lukas Juhrich
 Luke Macken
@@ -436,16 +482,18 @@ luojiebin
 luz.paz
 László Kiss Kollár
 M00nL1ght
+Malcolm Smith
 Marc Abramowitz
 Marc Tamlyn
 Marcus Smith
 Mariatta
 Mark Kohler
+Mark McLoughlin
 Mark Williams
 Markus Hametner
 Martey Dodoo
 Martin Fischer
-Martin Häcker
+Martin Häcker
 Martin Pavlasek
 Masaki
 Masklinn
@@ -457,10 +505,12 @@ Matt Bacchi
 Matt Good
 Matt Maker
 Matt Robenolt
+Matt Wozniski
 matthew
 Matthew Einhorn
 Matthew Feickert
 Matthew Gilliard
+Matthew Hughes
 Matthew Iversen
 Matthew Treinish
 Matthew Trumbell
@@ -473,6 +523,7 @@ Maxim Kurnikov
 Maxime Rouyrre
 mayeut
 mbaluna
+Md Sujauddin Sekh
 mdebi
 memoselyk
 meowmeowcat
@@ -495,7 +546,9 @@ Miro Hrončok
 Monica Baluna
 montefra
 Monty Taylor
-Muha Ajjan‮
+morotti
+mrKazzila
+Muha Ajjan
 Nadav Wexler
 Nahuel Ambrosini
 Nate Coraor
@@ -522,10 +575,12 @@ Noah
 Noah Gorny
 Nowell Strite
 NtaleGrey
+nucccc
 nvdv
 OBITORASU
 Ofek Lev
 ofrinevo
+Oleg Burnaev
 Oliver Freund
 Oliver Jeeves
 Oliver Mannion
@@ -559,7 +614,9 @@ Paweł Szramowski
 Pekka Klärck
 Peter Gessler
 Peter Lisák
+Peter Shen
 Peter Waller
+Petr Viktorin
 petr-tik
 Phaneendra Chiruvella
 Phil Elson
@@ -587,11 +644,14 @@ Pulkit Goyal
 q0w
 Qiangning Hong
 Qiming Xu
+qraqras
 Quentin Lee
 Quentin Pradet
 R. David Murray
 Rafael Caricio
 Ralf Schmitt
+Ran Benita
+Randy Döring
 Razzi Abuissa
 rdb
 Reece Dunham
@@ -603,12 +663,14 @@ Richard Jones
 Richard Si
 Ricky Ng-Adam
 Rishi
+rmorotti
 RobberPhex
 Robert Collins
 Robert McGibbon
 Robert Pollak
 Robert T. McGibbon
 robin elisha robinson
+Rodney, Tiara
 Roey Berman
 Rohan Jain
 Roman Bogorodskiy
@@ -624,6 +686,8 @@ Russell Keith-Magee
 Ryan Shepherd
 Ryan Wooden
 ryneeverett
+Ryuma Asai
+S. Guliaev
 Sachi King
 Salvatore Rinchiera
 sandeepkiran-js
@@ -637,13 +701,17 @@ Sebastian Jordan
 Sebastian Schaetz
 Segev Finer
 SeongSoo Cho
+Sepehr Rasouli
+sepehrrasooli
 Sergey Vasilyev
 Seth Michael Larson
 Seth Woodworth
 Shahar Epstein
 Shantanu
+shenxianpeng
 shireenrao
 Shivansh-007
+Shixian Sheng
 Shlomi Fish
 Shovan Maity
 Simeon Visser
@@ -655,10 +723,12 @@ snook92
 socketubs
 Sorin Sbarnea
 Srinivas Nyayapati
+Srishti Hegde
 Stavros Korokithakis
 Stefan Scherfke
 Stefano Rivera
 Stephan Erb
+Stephen Payne
 Stephen Rosen
 stepshal
 Steve (Gadget) Barnes
@@ -675,6 +745,7 @@ Stéphane Klein
 Sumana Harihareswara
 Surbhi Sharma
 Sviatoslav Sydorenko
+Sviatoslav Sydorenko (Святослав Сидоренко)
 Swat009
 Sylvain
 Takayuki SHIMIZUKAWA
@@ -741,6 +812,7 @@ Wolfgang Maier
 Wu Zhenyu
 XAMES3
 Xavier Fernandez
+Xianpeng Shen
 xoviat
 xtreak
 YAMAMOTO Takashi
@@ -749,7 +821,9 @@ Yeray Diaz Diaz
 Yoval P
 Yu Jian
 Yuan Jing Vincent Yan
+Yuki Kobayashi
 Yusuke Hayashi
+zackzack38
 Zearin
 Zhiping Deng
 ziebam
@@ -757,4 +831,3 @@ Zvezdan Petkovic
 Łukasz Langa
 Роман Донченко
 Семён Марьясин
-‮rekcäH nitraM‮
diff --git a/.venv/Lib/site-packages/pip-24.0.dist-info/LICENSE.txt b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/LICENSE.txt
similarity index 100%
rename from .venv/Lib/site-packages/pip-24.0.dist-info/LICENSE.txt
rename to .venv/Lib/site-packages/pip-25.2.dist-info/licenses/LICENSE.txt
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/cachecontrol/LICENSE.txt b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/cachecontrol/LICENSE.txt
new file mode 100644
index 0000000..d8b3b56
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/cachecontrol/LICENSE.txt
@@ -0,0 +1,13 @@
+Copyright 2012-2021  Eric Larson
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/certifi/LICENSE b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/certifi/LICENSE
new file mode 100644
index 0000000..62b076c
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/certifi/LICENSE
@@ -0,0 +1,20 @@
+This package contains a modified version of ca-bundle.crt:
+
+ca-bundle.crt -- Bundle of CA Root Certificates
+
+This is a bundle of X.509 certificates of public Certificate Authorities
+(CA). These were automatically extracted from Mozilla's root certificates
+file (certdata.txt).  This file can be found in the mozilla source tree:
+https://hg.mozilla.org/mozilla-central/file/tip/security/nss/lib/ckfw/builtins/certdata.txt
+It contains the certificates in PEM format and therefore
+can be directly used with curl / libcurl / php_curl, or with
+an Apache+mod_ssl webserver for SSL client authentication.
+Just configure this file as the SSLCACertificateFile.#
+
+***** BEGIN LICENSE BLOCK *****
+This Source Code Form is subject to the terms of the Mozilla Public License,
+v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain
+one at http://mozilla.org/MPL/2.0/.
+
+***** END LICENSE BLOCK *****
+@(#) $RCSfile: certdata.txt,v $ $Revision: 1.80 $ $Date: 2011/11/03 15:11:58 $
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/dependency_groups/LICENSE.txt b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/dependency_groups/LICENSE.txt
new file mode 100644
index 0000000..b9723b8
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/dependency_groups/LICENSE.txt
@@ -0,0 +1,9 @@
+MIT License
+
+Copyright (c) 2024-present Stephen Rosen 
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/distlib/LICENSE.txt b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/distlib/LICENSE.txt
new file mode 100644
index 0000000..c31ac56
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/distlib/LICENSE.txt
@@ -0,0 +1,284 @@
+A. HISTORY OF THE SOFTWARE
+==========================
+
+Python was created in the early 1990s by Guido van Rossum at Stichting
+Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands
+as a successor of a language called ABC.  Guido remains Python's
+principal author, although it includes many contributions from others.
+
+In 1995, Guido continued his work on Python at the Corporation for
+National Research Initiatives (CNRI, see http://www.cnri.reston.va.us)
+in Reston, Virginia where he released several versions of the
+software.
+
+In May 2000, Guido and the Python core development team moved to
+BeOpen.com to form the BeOpen PythonLabs team.  In October of the same
+year, the PythonLabs team moved to Digital Creations (now Zope
+Corporation, see http://www.zope.com).  In 2001, the Python Software
+Foundation (PSF, see http://www.python.org/psf/) was formed, a
+non-profit organization created specifically to own Python-related
+Intellectual Property.  Zope Corporation is a sponsoring member of
+the PSF.
+
+All Python releases are Open Source (see http://www.opensource.org for
+the Open Source Definition).  Historically, most, but not all, Python
+releases have also been GPL-compatible; the table below summarizes
+the various releases.
+
+    Release         Derived     Year        Owner       GPL-
+                    from                                compatible? (1)
+
+    0.9.0 thru 1.2              1991-1995   CWI         yes
+    1.3 thru 1.5.2  1.2         1995-1999   CNRI        yes
+    1.6             1.5.2       2000        CNRI        no
+    2.0             1.6         2000        BeOpen.com  no
+    1.6.1           1.6         2001        CNRI        yes (2)
+    2.1             2.0+1.6.1   2001        PSF         no
+    2.0.1           2.0+1.6.1   2001        PSF         yes
+    2.1.1           2.1+2.0.1   2001        PSF         yes
+    2.2             2.1.1       2001        PSF         yes
+    2.1.2           2.1.1       2002        PSF         yes
+    2.1.3           2.1.2       2002        PSF         yes
+    2.2.1           2.2         2002        PSF         yes
+    2.2.2           2.2.1       2002        PSF         yes
+    2.2.3           2.2.2       2003        PSF         yes
+    2.3             2.2.2       2002-2003   PSF         yes
+    2.3.1           2.3         2002-2003   PSF         yes
+    2.3.2           2.3.1       2002-2003   PSF         yes
+    2.3.3           2.3.2       2002-2003   PSF         yes
+    2.3.4           2.3.3       2004        PSF         yes
+    2.3.5           2.3.4       2005        PSF         yes
+    2.4             2.3         2004        PSF         yes
+    2.4.1           2.4         2005        PSF         yes
+    2.4.2           2.4.1       2005        PSF         yes
+    2.4.3           2.4.2       2006        PSF         yes
+    2.4.4           2.4.3       2006        PSF         yes
+    2.5             2.4         2006        PSF         yes
+    2.5.1           2.5         2007        PSF         yes
+    2.5.2           2.5.1       2008        PSF         yes
+    2.5.3           2.5.2       2008        PSF         yes
+    2.6             2.5         2008        PSF         yes
+    2.6.1           2.6         2008        PSF         yes
+    2.6.2           2.6.1       2009        PSF         yes
+    2.6.3           2.6.2       2009        PSF         yes
+    2.6.4           2.6.3       2009        PSF         yes
+    2.6.5           2.6.4       2010        PSF         yes
+    3.0             2.6         2008        PSF         yes
+    3.0.1           3.0         2009        PSF         yes
+    3.1             3.0.1       2009        PSF         yes
+    3.1.1           3.1         2009        PSF         yes
+    3.1.2           3.1         2010        PSF         yes
+    3.2             3.1         2010        PSF         yes
+
+Footnotes:
+
+(1) GPL-compatible doesn't mean that we're distributing Python under
+    the GPL.  All Python licenses, unlike the GPL, let you distribute
+    a modified version without making your changes open source.  The
+    GPL-compatible licenses make it possible to combine Python with
+    other software that is released under the GPL; the others don't.
+
+(2) According to Richard Stallman, 1.6.1 is not GPL-compatible,
+    because its license has a choice of law clause.  According to
+    CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1
+    is "not incompatible" with the GPL.
+
+Thanks to the many outside volunteers who have worked under Guido's
+direction to make these releases possible.
+
+
+B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
+===============================================================
+
+PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
+--------------------------------------------
+
+1. This LICENSE AGREEMENT is between the Python Software Foundation
+("PSF"), and the Individual or Organization ("Licensee") accessing and
+otherwise using this software ("Python") in source or binary form and
+its associated documentation.
+
+2. Subject to the terms and conditions of this License Agreement, PSF hereby
+grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
+analyze, test, perform and/or display publicly, prepare derivative works,
+distribute, and otherwise use Python alone or in any derivative version,
+provided, however, that PSF's License Agreement and PSF's notice of copyright,
+i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+Python Software Foundation; All Rights Reserved" are retained in Python alone or
+in any derivative version prepared by Licensee.
+
+3. In the event Licensee prepares a derivative work that is based on
+or incorporates Python or any part thereof, and wants to make
+the derivative work available to others as provided herein, then
+Licensee hereby agrees to include in any such work a brief summary of
+the changes made to Python.
+
+4. PSF is making Python available to Licensee on an "AS IS"
+basis.  PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
+DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
+FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
+INFRINGE ANY THIRD PARTY RIGHTS.
+
+5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
+FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
+A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
+OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
+
+6. This License Agreement will automatically terminate upon a material
+breach of its terms and conditions.
+
+7. Nothing in this License Agreement shall be deemed to create any
+relationship of agency, partnership, or joint venture between PSF and
+Licensee.  This License Agreement does not grant permission to use PSF
+trademarks or trade name in a trademark sense to endorse or promote
+products or services of Licensee, or any third party.
+
+8. By copying, installing or otherwise using Python, Licensee
+agrees to be bound by the terms and conditions of this License
+Agreement.
+
+
+BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
+-------------------------------------------
+
+BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
+
+1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
+office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
+Individual or Organization ("Licensee") accessing and otherwise using
+this software in source or binary form and its associated
+documentation ("the Software").
+
+2. Subject to the terms and conditions of this BeOpen Python License
+Agreement, BeOpen hereby grants Licensee a non-exclusive,
+royalty-free, world-wide license to reproduce, analyze, test, perform
+and/or display publicly, prepare derivative works, distribute, and
+otherwise use the Software alone or in any derivative version,
+provided, however, that the BeOpen Python License is retained in the
+Software, alone or in any derivative version prepared by Licensee.
+
+3. BeOpen is making the Software available to Licensee on an "AS IS"
+basis.  BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
+DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
+FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
+INFRINGE ANY THIRD PARTY RIGHTS.
+
+4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
+SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
+AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
+DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
+
+5. This License Agreement will automatically terminate upon a material
+breach of its terms and conditions.
+
+6. This License Agreement shall be governed by and interpreted in all
+respects by the law of the State of California, excluding conflict of
+law provisions.  Nothing in this License Agreement shall be deemed to
+create any relationship of agency, partnership, or joint venture
+between BeOpen and Licensee.  This License Agreement does not grant
+permission to use BeOpen trademarks or trade names in a trademark
+sense to endorse or promote products or services of Licensee, or any
+third party.  As an exception, the "BeOpen Python" logos available at
+http://www.pythonlabs.com/logos.html may be used according to the
+permissions granted on that web page.
+
+7. By copying, installing or otherwise using the software, Licensee
+agrees to be bound by the terms and conditions of this License
+Agreement.
+
+
+CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
+---------------------------------------
+
+1. This LICENSE AGREEMENT is between the Corporation for National
+Research Initiatives, having an office at 1895 Preston White Drive,
+Reston, VA 20191 ("CNRI"), and the Individual or Organization
+("Licensee") accessing and otherwise using Python 1.6.1 software in
+source or binary form and its associated documentation.
+
+2. Subject to the terms and conditions of this License Agreement, CNRI
+hereby grants Licensee a nonexclusive, royalty-free, world-wide
+license to reproduce, analyze, test, perform and/or display publicly,
+prepare derivative works, distribute, and otherwise use Python 1.6.1
+alone or in any derivative version, provided, however, that CNRI's
+License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
+1995-2001 Corporation for National Research Initiatives; All Rights
+Reserved" are retained in Python 1.6.1 alone or in any derivative
+version prepared by Licensee.  Alternately, in lieu of CNRI's License
+Agreement, Licensee may substitute the following text (omitting the
+quotes): "Python 1.6.1 is made available subject to the terms and
+conditions in CNRI's License Agreement.  This Agreement together with
+Python 1.6.1 may be located on the Internet using the following
+unique, persistent identifier (known as a handle): 1895.22/1013.  This
+Agreement may also be obtained from a proxy server on the Internet
+using the following URL: http://hdl.handle.net/1895.22/1013".
+
+3. In the event Licensee prepares a derivative work that is based on
+or incorporates Python 1.6.1 or any part thereof, and wants to make
+the derivative work available to others as provided herein, then
+Licensee hereby agrees to include in any such work a brief summary of
+the changes made to Python 1.6.1.
+
+4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
+basis.  CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
+DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
+FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
+INFRINGE ANY THIRD PARTY RIGHTS.
+
+5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
+1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
+A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
+OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
+
+6. This License Agreement will automatically terminate upon a material
+breach of its terms and conditions.
+
+7. This License Agreement shall be governed by the federal
+intellectual property law of the United States, including without
+limitation the federal copyright law, and, to the extent such
+U.S. federal law does not apply, by the law of the Commonwealth of
+Virginia, excluding Virginia's conflict of law provisions.
+Notwithstanding the foregoing, with regard to derivative works based
+on Python 1.6.1 that incorporate non-separable material that was
+previously distributed under the GNU General Public License (GPL), the
+law of the Commonwealth of Virginia shall govern this License
+Agreement only as to issues arising under or with respect to
+Paragraphs 4, 5, and 7 of this License Agreement.  Nothing in this
+License Agreement shall be deemed to create any relationship of
+agency, partnership, or joint venture between CNRI and Licensee.  This
+License Agreement does not grant permission to use CNRI trademarks or
+trade name in a trademark sense to endorse or promote products or
+services of Licensee, or any third party.
+
+8. By clicking on the "ACCEPT" button where indicated, or by copying,
+installing or otherwise using Python 1.6.1, Licensee agrees to be
+bound by the terms and conditions of this License Agreement.
+
+        ACCEPT
+
+
+CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
+--------------------------------------------------
+
+Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
+The Netherlands.  All rights reserved.
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted,
+provided that the above copyright notice appear in all copies and that
+both that copyright notice and this permission notice appear in
+supporting documentation, and that the name of Stichting Mathematisch
+Centrum or CWI not be used in advertising or publicity pertaining to
+distribution of the software without specific, written prior
+permission.
+
+STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
+THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
+FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
+OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/distro/LICENSE b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/distro/LICENSE
new file mode 100644
index 0000000..e06d208
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/distro/LICENSE
@@ -0,0 +1,202 @@
+Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "{}"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright {yyyy} {name of copyright owner}
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/idna/LICENSE.md b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/idna/LICENSE.md
new file mode 100644
index 0000000..19b6b45
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/idna/LICENSE.md
@@ -0,0 +1,31 @@
+BSD 3-Clause License
+
+Copyright (c) 2013-2024, Kim Davies and contributors.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+1. Redistributions of source code must retain the above copyright
+   notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright
+   notice, this list of conditions and the following disclaimer in the
+   documentation and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its
+   contributors may be used to endorse or promote products derived from
+   this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/msgpack/COPYING b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/msgpack/COPYING
new file mode 100644
index 0000000..f067af3
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/msgpack/COPYING
@@ -0,0 +1,14 @@
+Copyright (C) 2008-2011 INADA Naoki 
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE
new file mode 100644
index 0000000..6f62d44
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE
@@ -0,0 +1,3 @@
+This software is made available under the terms of *either* of the licenses
+found in LICENSE.APACHE or LICENSE.BSD. Contributions to this software is made
+under the terms of *both* these licenses.
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.APACHE b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.APACHE
new file mode 100644
index 0000000..f433b1a
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.APACHE
@@ -0,0 +1,177 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.BSD b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.BSD
new file mode 100644
index 0000000..42ce7b7
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.BSD
@@ -0,0 +1,23 @@
+Copyright (c) Donald Stufft and individual contributors.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+    1. Redistributions of source code must retain the above copyright notice,
+       this list of conditions and the following disclaimer.
+
+    2. Redistributions in binary form must reproduce the above copyright
+       notice, this list of conditions and the following disclaimer in the
+       documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/pkg_resources/LICENSE b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/pkg_resources/LICENSE
new file mode 100644
index 0000000..1bb5a44
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/pkg_resources/LICENSE
@@ -0,0 +1,17 @@
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to
+deal in the Software without restriction, including without limitation the
+rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+sell copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+IN THE SOFTWARE.
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/platformdirs/LICENSE b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/platformdirs/LICENSE
new file mode 100644
index 0000000..f35fed9
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/platformdirs/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2010-202x The platformdirs developers
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/pygments/LICENSE b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/pygments/LICENSE
new file mode 100644
index 0000000..446a1a8
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/pygments/LICENSE
@@ -0,0 +1,25 @@
+Copyright (c) 2006-2022 by the respective authors (see AUTHORS file).
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+* Redistributions of source code must retain the above copyright
+  notice, this list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright
+  notice, this list of conditions and the following disclaimer in the
+  documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/pyproject_hooks/LICENSE b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/pyproject_hooks/LICENSE
new file mode 100644
index 0000000..b0ae9db
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/pyproject_hooks/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2017 Thomas Kluyver
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/requests/LICENSE b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/requests/LICENSE
new file mode 100644
index 0000000..67db858
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/requests/LICENSE
@@ -0,0 +1,175 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/resolvelib/LICENSE b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/resolvelib/LICENSE
new file mode 100644
index 0000000..b907776
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/resolvelib/LICENSE
@@ -0,0 +1,13 @@
+Copyright (c) 2018, Tzu-ping Chung 
+
+Permission to use, copy, modify, and distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/rich/LICENSE b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/rich/LICENSE
new file mode 100644
index 0000000..4415505
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/rich/LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2020 Will McGugan
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/tomli/LICENSE b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/tomli/LICENSE
new file mode 100644
index 0000000..e859590
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/tomli/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2021 Taneli Hukkinen
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/tomli/LICENSE-HEADER b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/tomli/LICENSE-HEADER
new file mode 100644
index 0000000..aba78dd
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/tomli/LICENSE-HEADER
@@ -0,0 +1,3 @@
+SPDX-License-Identifier: MIT
+SPDX-FileCopyrightText: 2021 Taneli Hukkinen
+Licensed to PSF under a Contributor Agreement.
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/tomli_w/LICENSE b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/tomli_w/LICENSE
new file mode 100644
index 0000000..e859590
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/tomli_w/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2021 Taneli Hukkinen
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/truststore/LICENSE b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/truststore/LICENSE
new file mode 100644
index 0000000..7ec568c
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/truststore/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2022 Seth Michael Larson
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/urllib3/LICENSE.txt b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/urllib3/LICENSE.txt
new file mode 100644
index 0000000..429a176
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/urllib3/LICENSE.txt
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2008-2020 Andrey Petrov and contributors (see CONTRIBUTORS.txt)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/.venv/Lib/site-packages/pip-25.2.dist-info/top_level.txt b/.venv/Lib/site-packages/pip-25.2.dist-info/top_level.txt
new file mode 100644
index 0000000..a1b589e
--- /dev/null
+++ b/.venv/Lib/site-packages/pip-25.2.dist-info/top_level.txt
@@ -0,0 +1 @@
+pip
diff --git a/.venv/Lib/site-packages/pip/__init__.py b/.venv/Lib/site-packages/pip/__init__.py
index be0e3ed..c81f381 100644
--- a/.venv/Lib/site-packages/pip/__init__.py
+++ b/.venv/Lib/site-packages/pip/__init__.py
@@ -1,9 +1,9 @@
-from typing import List, Optional
+from __future__ import annotations
 
-__version__ = "24.0"
+__version__ = "25.2"
 
 
-def main(args: Optional[List[str]] = None) -> int:
+def main(args: list[str] | None = None) -> int:
     """This is an internal API only meant for use by pip's own console scripts.
 
     For additional details, see https://github.com/pypa/pip/issues/7498.
diff --git a/.venv/Lib/site-packages/pip/__pip-runner__.py b/.venv/Lib/site-packages/pip/__pip-runner__.py
index 49a148a..d6be157 100644
--- a/.venv/Lib/site-packages/pip/__pip-runner__.py
+++ b/.venv/Lib/site-packages/pip/__pip-runner__.py
@@ -8,8 +8,8 @@ an import statement.
 
 import sys
 
-# Copied from setup.py
-PYTHON_REQUIRES = (3, 7)
+# Copied from pyproject.toml
+PYTHON_REQUIRES = (3, 9)
 
 
 def version_str(version):  # type: ignore
diff --git a/.venv/Lib/site-packages/pip/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/__pycache__/__init__.cpython-311.pyc
index 2cd32ff..3b90d5a 100644
Binary files a/.venv/Lib/site-packages/pip/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/__pycache__/__main__.cpython-311.pyc b/.venv/Lib/site-packages/pip/__pycache__/__main__.cpython-311.pyc
index 52c9755..b6c0fc0 100644
Binary files a/.venv/Lib/site-packages/pip/__pycache__/__main__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/__pycache__/__main__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/__pycache__/__pip-runner__.cpython-311.pyc b/.venv/Lib/site-packages/pip/__pycache__/__pip-runner__.cpython-311.pyc
index 0dd39e9..4b33fe2 100644
Binary files a/.venv/Lib/site-packages/pip/__pycache__/__pip-runner__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/__pycache__/__pip-runner__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/__init__.py b/.venv/Lib/site-packages/pip/_internal/__init__.py
index 96c6b88..24d0baf 100644
--- a/.venv/Lib/site-packages/pip/_internal/__init__.py
+++ b/.venv/Lib/site-packages/pip/_internal/__init__.py
@@ -1,4 +1,4 @@
-from typing import List, Optional
+from __future__ import annotations
 
 from pip._internal.utils import _log
 
@@ -7,7 +7,7 @@ from pip._internal.utils import _log
 _log.init_logging()
 
 
-def main(args: (Optional[List[str]]) = None) -> int:
+def main(args: list[str] | None = None) -> int:
     """This is preserved for old console scripts that may still be referencing
     it.
 
diff --git a/.venv/Lib/site-packages/pip/_internal/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/__pycache__/__init__.cpython-311.pyc
index 1e44dea..f9ae460 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/__pycache__/build_env.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/__pycache__/build_env.cpython-311.pyc
index e34596c..d89e334 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/__pycache__/build_env.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/__pycache__/build_env.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/__pycache__/cache.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/__pycache__/cache.cpython-311.pyc
index ed0c129..f3497c7 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/__pycache__/cache.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/__pycache__/cache.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/__pycache__/configuration.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/__pycache__/configuration.cpython-311.pyc
index 3a36dd0..ae9611b 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/__pycache__/configuration.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/__pycache__/configuration.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/__pycache__/exceptions.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/__pycache__/exceptions.cpython-311.pyc
index 56f6a34..3a68db2 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/__pycache__/exceptions.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/__pycache__/exceptions.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/__pycache__/main.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/__pycache__/main.cpython-311.pyc
index 5838601..97e2919 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/__pycache__/main.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/__pycache__/main.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/__pycache__/pyproject.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/__pycache__/pyproject.cpython-311.pyc
index 4b6c592..5e44ed4 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/__pycache__/pyproject.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/__pycache__/pyproject.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-311.pyc
index 2ceb34a..6f57f8d 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-311.pyc
index 185649f..2fb51f1 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/build_env.py b/.venv/Lib/site-packages/pip/_internal/build_env.py
index 4f704a3..3a246a1 100644
--- a/.venv/Lib/site-packages/pip/_internal/build_env.py
+++ b/.venv/Lib/site-packages/pip/_internal/build_env.py
@@ -1,5 +1,6 @@
-"""Build Environment used for isolation during sdist building
-"""
+"""Build Environment used for isolation during sdist building"""
+
+from __future__ import annotations
 
 import logging
 import os
@@ -8,27 +9,29 @@ import site
 import sys
 import textwrap
 from collections import OrderedDict
+from collections.abc import Iterable
 from types import TracebackType
-from typing import TYPE_CHECKING, Iterable, List, Optional, Set, Tuple, Type, Union
+from typing import TYPE_CHECKING, Protocol
 
-from pip._vendor.certifi import where
-from pip._vendor.packaging.requirements import Requirement
 from pip._vendor.packaging.version import Version
 
 from pip import __file__ as pip_location
 from pip._internal.cli.spinners import open_spinner
 from pip._internal.locations import get_platlib, get_purelib, get_scheme
 from pip._internal.metadata import get_default_environment, get_environment
+from pip._internal.utils.logging import VERBOSE
+from pip._internal.utils.packaging import get_requirement
 from pip._internal.utils.subprocess import call_subprocess
 from pip._internal.utils.temp_dir import TempDirectory, tempdir_kinds
 
 if TYPE_CHECKING:
     from pip._internal.index.package_finder import PackageFinder
+    from pip._internal.req.req_install import InstallRequirement
 
 logger = logging.getLogger(__name__)
 
 
-def _dedup(a: str, b: str) -> Union[Tuple[str], Tuple[str, str]]:
+def _dedup(a: str, b: str) -> tuple[str] | tuple[str, str]:
     return (a, b) if a != b else (a,)
 
 
@@ -57,7 +60,7 @@ def get_runnable_pip() -> str:
     return os.fsdecode(source / "__pip-runner__.py")
 
 
-def _get_system_sitepackages() -> Set[str]:
+def _get_system_sitepackages() -> set[str]:
     """Get system site packages
 
     Usually from site.getsitepackages,
@@ -77,10 +80,108 @@ def _get_system_sitepackages() -> Set[str]:
     return {os.path.normcase(path) for path in system_sites}
 
 
+class BuildEnvironmentInstaller(Protocol):
+    """
+    Interface for installing build dependencies into an isolated build
+    environment.
+    """
+
+    def install(
+        self,
+        requirements: Iterable[str],
+        prefix: _Prefix,
+        *,
+        kind: str,
+        for_req: InstallRequirement | None,
+    ) -> None: ...
+
+
+class SubprocessBuildEnvironmentInstaller:
+    """
+    Install build dependencies by calling pip in a subprocess.
+    """
+
+    def __init__(self, finder: PackageFinder) -> None:
+        self.finder = finder
+
+    def install(
+        self,
+        requirements: Iterable[str],
+        prefix: _Prefix,
+        *,
+        kind: str,
+        for_req: InstallRequirement | None,
+    ) -> None:
+        finder = self.finder
+        args: list[str] = [
+            sys.executable,
+            get_runnable_pip(),
+            "install",
+            "--ignore-installed",
+            "--no-user",
+            "--prefix",
+            prefix.path,
+            "--no-warn-script-location",
+            "--disable-pip-version-check",
+            # As the build environment is ephemeral, it's wasteful to
+            # pre-compile everything, especially as not every Python
+            # module will be used/compiled in most cases.
+            "--no-compile",
+            # The prefix specified two lines above, thus
+            # target from config file or env var should be ignored
+            "--target",
+            "",
+        ]
+        if logger.getEffectiveLevel() <= logging.DEBUG:
+            args.append("-vv")
+        elif logger.getEffectiveLevel() <= VERBOSE:
+            args.append("-v")
+        for format_control in ("no_binary", "only_binary"):
+            formats = getattr(finder.format_control, format_control)
+            args.extend(
+                (
+                    "--" + format_control.replace("_", "-"),
+                    ",".join(sorted(formats or {":none:"})),
+                )
+            )
+
+        index_urls = finder.index_urls
+        if index_urls:
+            args.extend(["-i", index_urls[0]])
+            for extra_index in index_urls[1:]:
+                args.extend(["--extra-index-url", extra_index])
+        else:
+            args.append("--no-index")
+        for link in finder.find_links:
+            args.extend(["--find-links", link])
+
+        if finder.proxy:
+            args.extend(["--proxy", finder.proxy])
+        for host in finder.trusted_hosts:
+            args.extend(["--trusted-host", host])
+        if finder.custom_cert:
+            args.extend(["--cert", finder.custom_cert])
+        if finder.client_cert:
+            args.extend(["--client-cert", finder.client_cert])
+        if finder.allow_all_prereleases:
+            args.append("--pre")
+        if finder.prefer_binary:
+            args.append("--prefer-binary")
+        args.append("--")
+        args.extend(requirements)
+        with open_spinner(f"Installing {kind}") as spinner:
+            call_subprocess(
+                args,
+                command_desc=f"pip subprocess to install {kind}",
+                spinner=spinner,
+            )
+
+
 class BuildEnvironment:
     """Creates and manages an isolated environment to install build deps"""
 
-    def __init__(self) -> None:
+    def __init__(self, installer: BuildEnvironmentInstaller) -> None:
+        self.installer = installer
         temp_dir = TempDirectory(kind=tempdir_kinds.BUILD_ENV, globally_managed=True)
 
         self._prefixes = OrderedDict(
@@ -88,8 +189,8 @@ class BuildEnvironment:
             for name in ("normal", "overlay")
         )
 
-        self._bin_dirs: List[str] = []
-        self._lib_dirs: List[str] = []
+        self._bin_dirs: list[str] = []
+        self._lib_dirs: list[str] = []
         for prefix in reversed(list(self._prefixes.values())):
             self._bin_dirs.append(prefix.bin_dir)
             self._lib_dirs.extend(prefix.lib_dirs)
@@ -157,9 +258,9 @@ class BuildEnvironment:
 
     def __exit__(
         self,
-        exc_type: Optional[Type[BaseException]],
-        exc_val: Optional[BaseException],
-        exc_tb: Optional[TracebackType],
+        exc_type: type[BaseException] | None,
+        exc_val: BaseException | None,
+        exc_tb: TracebackType | None,
     ) -> None:
         for varname, old_value in self._save_env.items():
             if old_value is None:
@@ -169,7 +270,7 @@ class BuildEnvironment:
 
     def check_requirements(
         self, reqs: Iterable[str]
-    ) -> Tuple[Set[Tuple[str, str]], Set[str]]:
+    ) -> tuple[set[tuple[str, str]], set[str]]:
         """Return 2 sets:
         - conflicting requirements: set of (installed, wanted) reqs tuples
         - missing requirements: set of reqs
@@ -183,7 +284,7 @@ class BuildEnvironment:
                 else get_default_environment()
             )
             for req_str in reqs:
-                req = Requirement(req_str)
+                req = get_requirement(req_str)
                 # We're explicitly evaluating with an empty extra value, since build
                 # environments are not provided any mechanism to select specific extras.
                 if req.marker is not None and not req.marker.evaluate({"extra": ""}):
@@ -203,81 +304,18 @@ class BuildEnvironment:
 
     def install_requirements(
         self,
-        finder: "PackageFinder",
         requirements: Iterable[str],
         prefix_as_string: str,
         *,
         kind: str,
+        for_req: InstallRequirement | None = None,
     ) -> None:
         prefix = self._prefixes[prefix_as_string]
         assert not prefix.setup
         prefix.setup = True
         if not requirements:
             return
-        self._install_requirements(
-            get_runnable_pip(),
-            finder,
-            requirements,
-            prefix,
-            kind=kind,
-        )
-
-    @staticmethod
-    def _install_requirements(
-        pip_runnable: str,
-        finder: "PackageFinder",
-        requirements: Iterable[str],
-        prefix: _Prefix,
-        *,
-        kind: str,
-    ) -> None:
-        args: List[str] = [
-            sys.executable,
-            pip_runnable,
-            "install",
-            "--ignore-installed",
-            "--no-user",
-            "--prefix",
-            prefix.path,
-            "--no-warn-script-location",
-        ]
-        if logger.getEffectiveLevel() <= logging.DEBUG:
-            args.append("-v")
-        for format_control in ("no_binary", "only_binary"):
-            formats = getattr(finder.format_control, format_control)
-            args.extend(
-                (
-                    "--" + format_control.replace("_", "-"),
-                    ",".join(sorted(formats or {":none:"})),
-                )
-            )
-
-        index_urls = finder.index_urls
-        if index_urls:
-            args.extend(["-i", index_urls[0]])
-            for extra_index in index_urls[1:]:
-                args.extend(["--extra-index-url", extra_index])
-        else:
-            args.append("--no-index")
-        for link in finder.find_links:
-            args.extend(["--find-links", link])
-
-        for host in finder.trusted_hosts:
-            args.extend(["--trusted-host", host])
-        if finder.allow_all_prereleases:
-            args.append("--pre")
-        if finder.prefer_binary:
-            args.append("--prefer-binary")
-        args.append("--")
-        args.extend(requirements)
-        extra_environ = {"_PIP_STANDALONE_CERT": where()}
-        with open_spinner(f"Installing {kind}") as spinner:
-            call_subprocess(
-                args,
-                command_desc=f"pip subprocess to install {kind}",
-                spinner=spinner,
-                extra_environ=extra_environ,
-            )
+        self.installer.install(requirements, prefix, kind=kind, for_req=for_req)
 
 
 class NoOpBuildEnvironment(BuildEnvironment):
@@ -291,9 +329,9 @@ class NoOpBuildEnvironment(BuildEnvironment):
 
     def __exit__(
         self,
-        exc_type: Optional[Type[BaseException]],
-        exc_val: Optional[BaseException],
-        exc_tb: Optional[TracebackType],
+        exc_type: type[BaseException] | None,
+        exc_val: BaseException | None,
+        exc_tb: TracebackType | None,
     ) -> None:
         pass
 
@@ -302,10 +340,10 @@ class NoOpBuildEnvironment(BuildEnvironment):
 
     def install_requirements(
         self,
-        finder: "PackageFinder",
         requirements: Iterable[str],
         prefix_as_string: str,
         *,
         kind: str,
+        for_req: InstallRequirement | None = None,
     ) -> None:
         raise NotImplementedError()
diff --git a/.venv/Lib/site-packages/pip/_internal/cache.py b/.venv/Lib/site-packages/pip/_internal/cache.py
index f45ac23..ce98f28 100644
--- a/.venv/Lib/site-packages/pip/_internal/cache.py
+++ b/.venv/Lib/site-packages/pip/_internal/cache.py
@@ -1,12 +1,13 @@
-"""Cache Management
-"""
+"""Cache Management"""
+
+from __future__ import annotations
 
 import hashlib
 import json
 import logging
 import os
 from pathlib import Path
-from typing import Any, Dict, List, Optional
+from typing import Any
 
 from pip._vendor.packaging.tags import Tag, interpreter_name, interpreter_version
 from pip._vendor.packaging.utils import canonicalize_name
@@ -23,7 +24,7 @@ logger = logging.getLogger(__name__)
 ORIGIN_JSON_NAME = "origin.json"
 
 
-def _hash_dict(d: Dict[str, str]) -> str:
+def _hash_dict(d: dict[str, str]) -> str:
     """Return a stable sha224 of a dictionary."""
     s = json.dumps(d, sort_keys=True, separators=(",", ":"), ensure_ascii=True)
     return hashlib.sha224(s.encode("ascii")).hexdigest()
@@ -40,11 +41,11 @@ class Cache:
         assert not cache_dir or os.path.isabs(cache_dir)
         self.cache_dir = cache_dir or None
 
-    def _get_cache_path_parts(self, link: Link) -> List[str]:
+    def _get_cache_path_parts(self, link: Link) -> list[str]:
         """Get parts of part that must be os.path.joined with cache_dir"""
 
         # We want to generate an url to use as our cache key, we don't want to
-        # just re-use the URL because it might have other items in the fragment
+        # just reuse the URL because it might have other items in the fragment
         # and we don't care about those.
         key_parts = {"url": link.url_without_fragment}
         if link.hash_name is not None and link.hash is not None:
@@ -73,7 +74,7 @@ class Cache:
 
         return parts
 
-    def _get_candidates(self, link: Link, canonical_package_name: str) -> List[Any]:
+    def _get_candidates(self, link: Link, canonical_package_name: str) -> list[Any]:
         can_not_cache = not self.cache_dir or not canonical_package_name or not link
         if can_not_cache:
             return []
@@ -90,8 +91,8 @@ class Cache:
     def get(
         self,
         link: Link,
-        package_name: Optional[str],
-        supported_tags: List[Tag],
+        package_name: str | None,
+        supported_tags: list[Tag],
     ) -> Link:
         """Returns a link to a cached item if it exists, otherwise returns the
         passed link.
@@ -128,8 +129,8 @@ class SimpleWheelCache(Cache):
     def get(
         self,
         link: Link,
-        package_name: Optional[str],
-        supported_tags: List[Tag],
+        package_name: str | None,
+        supported_tags: list[Tag],
     ) -> Link:
         candidates = []
 
@@ -189,7 +190,7 @@ class CacheEntry:
     ):
         self.link = link
         self.persistent = persistent
-        self.origin: Optional[DirectUrl] = None
+        self.origin: DirectUrl | None = None
         origin_direct_url_path = Path(self.link.file_path).parent / ORIGIN_JSON_NAME
         if origin_direct_url_path.exists():
             try:
@@ -226,8 +227,8 @@ class WheelCache(Cache):
     def get(
         self,
         link: Link,
-        package_name: Optional[str],
-        supported_tags: List[Tag],
+        package_name: str | None,
+        supported_tags: list[Tag],
     ) -> Link:
         cache_entry = self.get_cache_entry(link, package_name, supported_tags)
         if cache_entry is None:
@@ -237,9 +238,9 @@ class WheelCache(Cache):
     def get_cache_entry(
         self,
         link: Link,
-        package_name: Optional[str],
-        supported_tags: List[Tag],
-    ) -> Optional[CacheEntry]:
+        package_name: str | None,
+        supported_tags: list[Tag],
+    ) -> CacheEntry | None:
         """Returns a CacheEntry with a link to a cached item if it exists or
         None. The cache entry indicates if the item was found in the persistent
         or ephemeral cache.
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/__init__.py b/.venv/Lib/site-packages/pip/_internal/cli/__init__.py
index e589bb9..5fcddf5 100644
--- a/.venv/Lib/site-packages/pip/_internal/cli/__init__.py
+++ b/.venv/Lib/site-packages/pip/_internal/cli/__init__.py
@@ -1,4 +1,3 @@
-"""Subpackage containing all of pip's command line interface related code
-"""
+"""Subpackage containing all of pip's command line interface related code"""
 
 # This file intentionally does not import submodules
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-311.pyc
index dcfdda4..cc98fc5 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-311.pyc
index be09794..33c5cc9 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-311.pyc
index ce0a6f1..fd3f197 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-311.pyc
index 985e55c..5beca2c 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-311.pyc
index 02ed009..810c9ae 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/index_command.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/index_command.cpython-311.pyc
new file mode 100644
index 0000000..8b27467
Binary files /dev/null and b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/index_command.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/main.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/main.cpython-311.pyc
index 6525b5b..1a7e615 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/main.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/main.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-311.pyc
index 14781db..afb1499 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/parser.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/parser.cpython-311.pyc
index 5aad49e..cdfecde 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/parser.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/parser.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-311.pyc
index 6397d02..f722698 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-311.pyc
index c5b1426..00a1f66 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-311.pyc
index 468b6e4..597103b 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-311.pyc
index 3b2248f..661449c 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/autocompletion.py b/.venv/Lib/site-packages/pip/_internal/cli/autocompletion.py
index e5950b9..f22cd11 100644
--- a/.venv/Lib/site-packages/pip/_internal/cli/autocompletion.py
+++ b/.venv/Lib/site-packages/pip/_internal/cli/autocompletion.py
@@ -1,11 +1,13 @@
-"""Logic that powers autocompletion installed by ``pip completion``.
-"""
+"""Logic that powers autocompletion installed by ``pip completion``."""
+
+from __future__ import annotations
 
 import optparse
 import os
 import sys
+from collections.abc import Iterable
 from itertools import chain
-from typing import Any, Iterable, List, Optional
+from typing import Any
 
 from pip._internal.cli.main_parser import create_main_parser
 from pip._internal.commands import commands_dict, create_command
@@ -17,6 +19,10 @@ def autocomplete() -> None:
     # Don't complete if user hasn't sourced bash_completion file.
     if "PIP_AUTO_COMPLETE" not in os.environ:
         return
+    # Don't complete if autocompletion environment variables
+    # are not present
+    if not os.environ.get("COMP_WORDS") or not os.environ.get("COMP_CWORD"):
+        return
     cwords = os.environ["COMP_WORDS"].split()[1:]
     cword = int(os.environ["COMP_CWORD"])
     try:
@@ -29,7 +35,7 @@ def autocomplete() -> None:
     options = []
 
     # subcommand
-    subcommand_name: Optional[str] = None
+    subcommand_name: str | None = None
     for word in cwords:
         if word in subcommands:
             subcommand_name = word
@@ -97,6 +103,12 @@ def autocomplete() -> None:
             if option[1] and option[0][:2] == "--":
                 opt_label += "="
             print(opt_label)
+
+        # Complete sub-commands (unless one is already given).
+        if not any(name in cwords for name in subcommand.handler_map()):
+            for handler_name in subcommand.handler_map():
+                if handler_name.startswith(current):
+                    print(handler_name)
     else:
         # show main parser options only when necessary
 
@@ -118,8 +130,8 @@ def autocomplete() -> None:
 
 
 def get_path_completion_type(
-    cwords: List[str], cword: int, opts: Iterable[Any]
-) -> Optional[str]:
+    cwords: list[str], cword: int, opts: Iterable[Any]
+) -> str | None:
     """Get the type of path completion (``file``, ``dir``, ``path`` or None)
 
     :param cwords: same as the environmental variable ``COMP_WORDS``
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/base_command.py b/.venv/Lib/site-packages/pip/_internal/cli/base_command.py
index db9d5cc..7acc29c 100644
--- a/.venv/Lib/site-packages/pip/_internal/cli/base_command.py
+++ b/.venv/Lib/site-packages/pip/_internal/cli/base_command.py
@@ -1,6 +1,7 @@
 """Base Command class, and related routines"""
 
-import functools
+from __future__ import annotations
+
 import logging
 import logging.config
 import optparse
@@ -8,8 +9,9 @@ import os
 import sys
 import traceback
 from optparse import Values
-from typing import Any, Callable, List, Optional, Tuple
+from typing import Callable
 
+from pip._vendor.rich import reconfigure
 from pip._vendor.rich import traceback as rich_traceback
 
 from pip._internal.cli import cmdoptions
@@ -28,7 +30,6 @@ from pip._internal.exceptions import (
     InstallationError,
     NetworkConnectionError,
     PreviousBuildDirError,
-    UninstallationError,
 )
 from pip._internal.utils.filesystem import check_path_owner
 from pip._internal.utils.logging import BrokenStdoutLoggingError, setup_logging
@@ -61,7 +62,7 @@ class Command(CommandContextMixIn):
             isolated=isolated,
         )
 
-        self.tempdir_registry: Optional[TempDirRegistry] = None
+        self.tempdir_registry: TempDirRegistry | None = None
 
         # Commands should add options to this option group
         optgroup_name = f"{self.name.capitalize()} Options"
@@ -88,21 +89,78 @@ class Command(CommandContextMixIn):
         # are present.
         assert not hasattr(options, "no_index")
 
-    def run(self, options: Values, args: List[str]) -> int:
+    def run(self, options: Values, args: list[str]) -> int:
         raise NotImplementedError
 
-    def parse_args(self, args: List[str]) -> Tuple[Values, List[str]]:
+    def _run_wrapper(self, level_number: int, options: Values, args: list[str]) -> int:
+        def _inner_run() -> int:
+            try:
+                return self.run(options, args)
+            finally:
+                self.handle_pip_version_check(options)
+
+        if options.debug_mode:
+            rich_traceback.install(show_locals=True)
+            return _inner_run()
+
+        try:
+            status = _inner_run()
+            assert isinstance(status, int)
+            return status
+        except DiagnosticPipError as exc:
+            logger.error("%s", exc, extra={"rich": True})
+            logger.debug("Exception information:", exc_info=True)
+
+            return ERROR
+        except PreviousBuildDirError as exc:
+            logger.critical(str(exc))
+            logger.debug("Exception information:", exc_info=True)
+
+            return PREVIOUS_BUILD_DIR_ERROR
+        except (
+            InstallationError,
+            BadCommand,
+            NetworkConnectionError,
+        ) as exc:
+            logger.critical(str(exc))
+            logger.debug("Exception information:", exc_info=True)
+
+            return ERROR
+        except CommandError as exc:
+            logger.critical("%s", exc)
+            logger.debug("Exception information:", exc_info=True)
+
+            return ERROR
+        except BrokenStdoutLoggingError:
+            # Bypass our logger and write any remaining messages to
+            # stderr because stdout no longer works.
+            print("ERROR: Pipe to stdout was broken", file=sys.stderr)
+            if level_number <= logging.DEBUG:
+                traceback.print_exc(file=sys.stderr)
+
+            return ERROR
+        except KeyboardInterrupt:
+            logger.critical("Operation cancelled by user")
+            logger.debug("Exception information:", exc_info=True)
+
+            return ERROR
+        except BaseException:
+            logger.critical("Exception:", exc_info=True)
+
+            return UNKNOWN_ERROR
+
+    def parse_args(self, args: list[str]) -> tuple[Values, list[str]]:
         # factored out for testability
         return self.parser.parse_args(args)
 
-    def main(self, args: List[str]) -> int:
+    def main(self, args: list[str]) -> int:
         try:
             with self.main_context():
                 return self._main(args)
         finally:
             logging.shutdown()
 
-    def _main(self, args: List[str]) -> int:
+    def _main(self, args: list[str]) -> int:
         # We must initialize this before the tempdir manager, otherwise the
         # configuration would not be accessible by the time we clean up the
         # tempdir manager.
@@ -115,7 +173,13 @@ class Command(CommandContextMixIn):
 
         # Set verbosity so that it can be used elsewhere.
         self.verbosity = options.verbose - options.quiet
+        if options.debug_mode:
+            self.verbosity = 2
 
+        if hasattr(options, "progress_bar") and options.progress_bar == "auto":
+            options.progress_bar = "on" if self.verbosity >= 0 else "off"
+
+        reconfigure(no_color=options.no_color)
         level_number = setup_logging(
             verbosity=self.verbosity,
             no_color=options.no_color,
@@ -171,66 +235,10 @@ class Command(CommandContextMixIn):
                 )
                 options.cache_dir = None
 
-        def intercepts_unhandled_exc(
-            run_func: Callable[..., int]
-        ) -> Callable[..., int]:
-            @functools.wraps(run_func)
-            def exc_logging_wrapper(*args: Any) -> int:
-                try:
-                    status = run_func(*args)
-                    assert isinstance(status, int)
-                    return status
-                except DiagnosticPipError as exc:
-                    logger.error("%s", exc, extra={"rich": True})
-                    logger.debug("Exception information:", exc_info=True)
+        return self._run_wrapper(level_number, options, args)
 
-                    return ERROR
-                except PreviousBuildDirError as exc:
-                    logger.critical(str(exc))
-                    logger.debug("Exception information:", exc_info=True)
-
-                    return PREVIOUS_BUILD_DIR_ERROR
-                except (
-                    InstallationError,
-                    UninstallationError,
-                    BadCommand,
-                    NetworkConnectionError,
-                ) as exc:
-                    logger.critical(str(exc))
-                    logger.debug("Exception information:", exc_info=True)
-
-                    return ERROR
-                except CommandError as exc:
-                    logger.critical("%s", exc)
-                    logger.debug("Exception information:", exc_info=True)
-
-                    return ERROR
-                except BrokenStdoutLoggingError:
-                    # Bypass our logger and write any remaining messages to
-                    # stderr because stdout no longer works.
-                    print("ERROR: Pipe to stdout was broken", file=sys.stderr)
-                    if level_number <= logging.DEBUG:
-                        traceback.print_exc(file=sys.stderr)
-
-                    return ERROR
-                except KeyboardInterrupt:
-                    logger.critical("Operation cancelled by user")
-                    logger.debug("Exception information:", exc_info=True)
-
-                    return ERROR
-                except BaseException:
-                    logger.critical("Exception:", exc_info=True)
-
-                    return UNKNOWN_ERROR
-
-            return exc_logging_wrapper
-
-        try:
-            if not options.debug_mode:
-                run = intercepts_unhandled_exc(self.run)
-            else:
-                run = self.run
-                rich_traceback.install(show_locals=True)
-            return run(options, args)
-        finally:
-            self.handle_pip_version_check(options)
+    def handler_map(self) -> dict[str, Callable[[Values, list[str]], None]]:
+        """
+        map of names to handler actions for commands with sub-actions
+        """
+        return {}
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/cmdoptions.py b/.venv/Lib/site-packages/pip/_internal/cli/cmdoptions.py
index d05e502..3519dad 100644
--- a/.venv/Lib/site-packages/pip/_internal/cli/cmdoptions.py
+++ b/.venv/Lib/site-packages/pip/_internal/cli/cmdoptions.py
@@ -9,15 +9,17 @@ pass on state. To be consistent, all options will follow this design.
 
 # The following comment should be removed at some point in the future.
 # mypy: strict-optional=False
+from __future__ import annotations
 
 import importlib.util
 import logging
 import os
+import pathlib
 import textwrap
 from functools import partial
 from optparse import SUPPRESS_HELP, Option, OptionGroup, OptionParser, Values
 from textwrap import dedent
-from typing import Any, Callable, Dict, Optional, Tuple
+from typing import Any, Callable
 
 from pip._vendor.packaging.utils import canonicalize_name
 
@@ -47,7 +49,7 @@ def raise_option_error(parser: OptionParser, option: Option, msg: str) -> None:
     parser.error(msg)
 
 
-def make_option_group(group: Dict[str, Any], parser: ConfigOptionParser) -> OptionGroup:
+def make_option_group(group: dict[str, Any], parser: ConfigOptionParser) -> OptionGroup:
     """
     Return an OptionGroup object
     group  -- assumed to be dict with 'name' and 'options' keys
@@ -226,9 +228,13 @@ progress_bar: Callable[..., Option] = partial(
     "--progress-bar",
     dest="progress_bar",
     type="choice",
-    choices=["on", "off"],
-    default="on",
-    help="Specify whether the progress bar should be used [on, off] (default: on)",
+    choices=["auto", "on", "off", "raw"],
+    default="auto",
+    help=(
+        "Specify whether the progress bar should be used. In 'auto'"
+        " mode, --quiet will suppress all progress bars."
+        " [auto, on, off, raw] (default: auto)"
+    ),
 )
 
 log: Callable[..., Option] = partial(
@@ -260,8 +266,8 @@ keyring_provider: Callable[..., Option] = partial(
     default="auto",
     help=(
         "Enable the credential lookup via the keyring library if user input is allowed."
-        " Specify which mechanism to use [disabled, import, subprocess]."
-        " (default: disabled)"
+        " Specify which mechanism to use [auto, disabled, import, subprocess]."
+        " (default: %default)"
     ),
 )
 
@@ -280,8 +286,17 @@ retries: Callable[..., Option] = partial(
     dest="retries",
     type="int",
     default=5,
-    help="Maximum number of retries each connection should attempt "
-    "(default %default times).",
+    help="Maximum attempts to establish a new HTTP connection. (default: %default)",
+)
+
+resume_retries: Callable[..., Option] = partial(
+    Option,
+    "--resume-retries",
+    dest="resume_retries",
+    type="int",
+    default=5,
+    help="Maximum attempts to resume or restart an incomplete download. "
+    "(default: %default)",
 )
 
 timeout: Callable[..., Option] = partial(
@@ -545,7 +560,7 @@ platforms: Callable[..., Option] = partial(
 
 
 # This was made a separate function for unit-testing purposes.
-def _convert_python_version(value: str) -> Tuple[Tuple[int, ...], Optional[str]]:
+def _convert_python_version(value: str) -> tuple[tuple[int, ...], str | None]:
     """
     Convert a version string like "3", "37", or "3.7.3" into a tuple of ints.
 
@@ -733,6 +748,46 @@ no_deps: Callable[..., Option] = partial(
     help="Don't install package dependencies.",
 )
 
+
+def _handle_dependency_group(
+    option: Option, opt: str, value: str, parser: OptionParser
+) -> None:
+    """
+    Process a value provided for the --group option.
+
+    Splits on the rightmost ":", and validates that the path (if present) ends
+    in `pyproject.toml`. Defaults the path to `pyproject.toml` when one is not given.
+
+    `:` cannot appear in dependency group names, so this is a safe and simple parse.
+
+    This is an optparse.Option callback for the dependency_groups option.
+    """
+    path, sep, groupname = value.rpartition(":")
+    if not sep:
+        path = "pyproject.toml"
+    else:
+        # check for 'pyproject.toml' filenames using pathlib
+        if pathlib.PurePath(path).name != "pyproject.toml":
+            msg = "group paths use 'pyproject.toml' filenames"
+            raise_option_error(parser, option=option, msg=msg)
+
+    parser.values.dependency_groups.append((path, groupname))
+
+
+dependency_groups: Callable[..., Option] = partial(
+    Option,
+    "--group",
+    dest="dependency_groups",
+    default=[],
+    type=str,
+    action="callback",
+    callback=_handle_dependency_group,
+    metavar="[path:]group",
+    help='Install a named dependency-group from a "pyproject.toml" file. '
+    'If a path is given, the name of the file must be "pyproject.toml". '
+    'Defaults to using "pyproject.toml" in the current directory.',
+)
+
 ignore_requires_python: Callable[..., Option] = partial(
     Option,
     "--ignore-requires-python",
@@ -783,9 +838,9 @@ def _handle_no_use_pep517(
         """
         raise_option_error(parser, option=option, msg=msg)
 
-    # If user doesn't wish to use pep517, we check if setuptools and wheel are installed
+    # If user doesn't wish to use pep517, we check if setuptools is installed
     # and raise error if it is not.
-    packages = ("setuptools", "wheel")
+    packages = ("setuptools",)
     if not all(importlib.util.find_spec(package) for package in packages):
         msg = (
             f"It is not possible to use --no-use-pep517 "
@@ -887,6 +942,14 @@ pre: Callable[..., Option] = partial(
     "pip only finds stable versions.",
 )
 
+json: Callable[..., Option] = partial(
+    Option,
+    "--json",
+    action="store_true",
+    default=False,
+    help="Output data in a machine-readable JSON format.",
+)
+
 disable_pip_version_check: Callable[..., Option] = partial(
     Option,
     "--disable-pip-version-check",
@@ -903,7 +966,7 @@ root_user_action: Callable[..., Option] = partial(
     dest="root_user_action",
     default="warn",
     choices=["warn", "ignore"],
-    help="Action if pip is run as a root user. By default, a warning message is shown.",
+    help="Action if pip is run as a root user [warn, ignore] (default: warn)",
 )
 
 
@@ -990,12 +1053,13 @@ no_python_version_warning: Callable[..., Option] = partial(
     dest="no_python_version_warning",
     action="store_true",
     default=False,
-    help="Silence deprecation warnings for upcoming unsupported Pythons.",
+    help=SUPPRESS_HELP,  # No-op, a hold-over from the Python 2->3 transition.
 )
 
 
 # Features that are now always on. A warning is printed if they are used.
 ALWAYS_ENABLED_FEATURES = [
+    "truststore",  # always on since 24.2
     "no-binary-enable-wheel-cache",  # always on since 23.1
 ]
 
@@ -1008,7 +1072,6 @@ use_new_feature: Callable[..., Option] = partial(
     default=[],
     choices=[
         "fast-deps",
-        "truststore",
     ]
     + ALWAYS_ENABLED_FEATURES,
     help="Enable new functionality, that may be backward incompatible.",
@@ -1023,16 +1086,16 @@ use_deprecated_feature: Callable[..., Option] = partial(
     default=[],
     choices=[
         "legacy-resolver",
+        "legacy-certs",
     ],
     help=("Enable deprecated functionality, that will be removed in the future."),
 )
 
-
 ##########
 # groups #
 ##########
 
-general_group: Dict[str, Any] = {
+general_group: dict[str, Any] = {
     "name": "General Options",
     "options": [
         help_,
@@ -1060,10 +1123,11 @@ general_group: Dict[str, Any] = {
         no_python_version_warning,
         use_new_feature,
         use_deprecated_feature,
+        resume_retries,
     ],
 }
 
-index_group: Dict[str, Any] = {
+index_group: dict[str, Any] = {
     "name": "Package Index Options",
     "options": [
         index_url,
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/command_context.py b/.venv/Lib/site-packages/pip/_internal/cli/command_context.py
index 139995a..9c167bd 100644
--- a/.venv/Lib/site-packages/pip/_internal/cli/command_context.py
+++ b/.venv/Lib/site-packages/pip/_internal/cli/command_context.py
@@ -1,5 +1,6 @@
-from contextlib import ExitStack, contextmanager
-from typing import ContextManager, Generator, TypeVar
+from collections.abc import Generator
+from contextlib import AbstractContextManager, ExitStack, contextmanager
+from typing import TypeVar
 
 _T = TypeVar("_T", covariant=True)
 
@@ -21,7 +22,7 @@ class CommandContextMixIn:
         finally:
             self._in_main_context = False
 
-    def enter_context(self, context_provider: ContextManager[_T]) -> _T:
+    def enter_context(self, context_provider: AbstractContextManager[_T]) -> _T:
         assert self._in_main_context
 
         return self._main_context.enter_context(context_provider)
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/index_command.py b/.venv/Lib/site-packages/pip/_internal/cli/index_command.py
new file mode 100644
index 0000000..f6a82c8
--- /dev/null
+++ b/.venv/Lib/site-packages/pip/_internal/cli/index_command.py
@@ -0,0 +1,175 @@
+"""
+Contains command classes which may interact with an index / the network.
+
+Unlike its sister module, req_command, this module still uses lazy imports
+so commands which don't always hit the network (e.g. list w/o --outdated or
+--uptodate) don't need waste time importing PipSession and friends.
+"""
+
+from __future__ import annotations
+
+import logging
+import os
+import sys
+from functools import lru_cache
+from optparse import Values
+from typing import TYPE_CHECKING
+
+from pip._vendor import certifi
+
+from pip._internal.cli.base_command import Command
+from pip._internal.cli.command_context import CommandContextMixIn
+
+if TYPE_CHECKING:
+    from ssl import SSLContext
+
+    from pip._internal.network.session import PipSession
+
+logger = logging.getLogger(__name__)
+
+
+@lru_cache
+def _create_truststore_ssl_context() -> SSLContext | None:
+    if sys.version_info < (3, 10):
+        logger.debug("Disabling truststore because Python version isn't 3.10+")
+        return None
+
+    try:
+        import ssl
+    except ImportError:
+        logger.warning("Disabling truststore since ssl support is missing")
+        return None
+
+    try:
+        from pip._vendor import truststore
+    except ImportError:
+        logger.warning("Disabling truststore because platform isn't supported")
+        return None
+
+    ctx = truststore.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
+    ctx.load_verify_locations(certifi.where())
+    return ctx
+
+
+class SessionCommandMixin(CommandContextMixIn):
+    """
+    A class mixin for command classes needing _build_session().
+    """
+
+    def __init__(self) -> None:
+        super().__init__()
+        self._session: PipSession | None = None
+
+    @classmethod
+    def _get_index_urls(cls, options: Values) -> list[str] | None:
+        """Return a list of index urls from user-provided options."""
+        index_urls = []
+        if not getattr(options, "no_index", False):
+            url = getattr(options, "index_url", None)
+            if url:
+                index_urls.append(url)
+        urls = getattr(options, "extra_index_urls", None)
+        if urls:
+            index_urls.extend(urls)
+        # Return None rather than an empty list
+        return index_urls or None
+
+    def get_default_session(self, options: Values) -> PipSession:
+        """Get a default-managed session."""
+        if self._session is None:
+            self._session = self.enter_context(self._build_session(options))
+            # there's no type annotation on requests.Session, so it's
+            # automatically ContextManager[Any] and self._session becomes Any,
+            # then https://github.com/python/mypy/issues/7696 kicks in
+            assert self._session is not None
+        return self._session
+
+    def _build_session(
+        self,
+        options: Values,
+        retries: int | None = None,
+        timeout: int | None = None,
+    ) -> PipSession:
+        from pip._internal.network.session import PipSession
+
+        cache_dir = options.cache_dir
+        assert not cache_dir or os.path.isabs(cache_dir)
+
+        if "legacy-certs" not in options.deprecated_features_enabled:
+            ssl_context = _create_truststore_ssl_context()
+        else:
+            ssl_context = None
+
+        session = PipSession(
+            cache=os.path.join(cache_dir, "http-v2") if cache_dir else None,
+            retries=retries if retries is not None else options.retries,
+            trusted_hosts=options.trusted_hosts,
+            index_urls=self._get_index_urls(options),
+            ssl_context=ssl_context,
+        )
+
+        # Handle custom ca-bundles from the user
+        if options.cert:
+            session.verify = options.cert
+
+        # Handle SSL client certificate
+        if options.client_cert:
+            session.cert = options.client_cert
+
+        # Handle timeouts
+        if options.timeout or timeout:
+            session.timeout = timeout if timeout is not None else options.timeout
+
+        # Handle configured proxies
+        if options.proxy:
+            session.proxies = {
+                "http": options.proxy,
+                "https": options.proxy,
+            }
+            session.trust_env = False
+            session.pip_proxy = options.proxy
+
+        # Determine if we can prompt the user for authentication or not
+        session.auth.prompting = not options.no_input
+        session.auth.keyring_provider = options.keyring_provider
+
+        return session
+
+
+def _pip_self_version_check(session: PipSession, options: Values) -> None:
+    from pip._internal.self_outdated_check import pip_self_version_check as check
+
+    check(session, options)
+
+
+class IndexGroupCommand(Command, SessionCommandMixin):
+    """
+    Abstract base class for commands with the index_group options.
+
+    This also corresponds to the commands that permit the pip version check.
+    """
+
+    def handle_pip_version_check(self, options: Values) -> None:
+        """
+        Do the pip version check if not disabled.
+
+        This overrides the default behavior of not doing the check.
+        """
+        # Make sure the index_group options are present.
+        assert hasattr(options, "no_index")
+
+        if options.disable_pip_version_check or options.no_index:
+            return
+
+        try:
+            # Otherwise, check if we're using the latest version of pip available.
+            session = self._build_session(
+                options,
+                retries=0,
+                timeout=min(5, options.timeout),
+            )
+            with session:
+                _pip_self_version_check(session, options)
+        except Exception:
+            logger.warning("There was an error checking the latest version of pip.")
+            logger.debug("See below for error", exc_info=True)
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/main.py b/.venv/Lib/site-packages/pip/_internal/cli/main.py
index 7e061f5..9a161fd 100644
--- a/.venv/Lib/site-packages/pip/_internal/cli/main.py
+++ b/.venv/Lib/site-packages/pip/_internal/cli/main.py
@@ -1,11 +1,12 @@
-"""Primary application entrypoint.
-"""
+"""Primary application entrypoint."""
+
+from __future__ import annotations
+
 import locale
 import logging
 import os
 import sys
 import warnings
-from typing import List, Optional
 
 from pip._internal.cli.autocompletion import autocomplete
 from pip._internal.cli.main_parser import parse_command
@@ -43,7 +44,7 @@ logger = logging.getLogger(__name__)
 # main, this should not be an issue in practice.
 
 
-def main(args: Optional[List[str]] = None) -> int:
+def main(args: list[str] | None = None) -> int:
     if args is None:
         args = sys.argv[1:]
 
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/main_parser.py b/.venv/Lib/site-packages/pip/_internal/cli/main_parser.py
index 5ade356..5ce9f5a 100644
--- a/.venv/Lib/site-packages/pip/_internal/cli/main_parser.py
+++ b/.venv/Lib/site-packages/pip/_internal/cli/main_parser.py
@@ -1,10 +1,10 @@
-"""A single place for constructing and exposing the main parser
-"""
+"""A single place for constructing and exposing the main parser"""
+
+from __future__ import annotations
 
 import os
 import subprocess
 import sys
-from typing import List, Optional, Tuple
 
 from pip._internal.build_env import get_runnable_pip
 from pip._internal.cli import cmdoptions
@@ -47,7 +47,7 @@ def create_main_parser() -> ConfigOptionParser:
     return parser
 
 
-def identify_python_interpreter(python: str) -> Optional[str]:
+def identify_python_interpreter(python: str) -> str | None:
     # If the named file exists, use it.
     # If it's a directory, assume it's a virtual environment and
     # look for the environment's Python executable.
@@ -66,7 +66,7 @@ def identify_python_interpreter(python: str) -> Optional[str]:
     return None
 
 
-def parse_command(args: List[str]) -> Tuple[str, List[str]]:
+def parse_command(args: list[str]) -> tuple[str, list[str]]:
     parser = create_main_parser()
 
     # Note: parser calls disable_interspersed_args(), so the result of this
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/parser.py b/.venv/Lib/site-packages/pip/_internal/cli/parser.py
index ae554b2..f8b8ac4 100644
--- a/.venv/Lib/site-packages/pip/_internal/cli/parser.py
+++ b/.venv/Lib/site-packages/pip/_internal/cli/parser.py
@@ -1,12 +1,15 @@
 """Base option parser setup"""
 
+from __future__ import annotations
+
 import logging
 import optparse
 import shutil
 import sys
 import textwrap
+from collections.abc import Generator
 from contextlib import suppress
-from typing import Any, Dict, Generator, List, Tuple
+from typing import Any, NoReturn
 
 from pip._internal.cli.status_codes import UNKNOWN_ERROR
 from pip._internal.configuration import Configuration, ConfigurationError
@@ -67,7 +70,7 @@ class PrettyHelpFormatter(optparse.IndentedHelpFormatter):
         msg = "\nUsage: {}\n".format(self.indent_lines(textwrap.dedent(usage), "  "))
         return msg
 
-    def format_description(self, description: str) -> str:
+    def format_description(self, description: str | None) -> str:
         # leave full control over description to us
         if description:
             if hasattr(self.parser, "main"):
@@ -85,7 +88,7 @@ class PrettyHelpFormatter(optparse.IndentedHelpFormatter):
         else:
             return ""
 
-    def format_epilog(self, epilog: str) -> str:
+    def format_epilog(self, epilog: str | None) -> str:
         # leave full control over epilog to us
         if epilog:
             return epilog
@@ -142,7 +145,7 @@ class CustomOptionParser(optparse.OptionParser):
         return group
 
     @property
-    def option_list_all(self) -> List[optparse.Option]:
+    def option_list_all(self) -> list[optparse.Option]:
         """Get a list of all options, including those in option groups."""
         res = self.option_list[:]
         for i in self.option_groups:
@@ -177,33 +180,34 @@ class ConfigOptionParser(CustomOptionParser):
 
     def _get_ordered_configuration_items(
         self,
-    ) -> Generator[Tuple[str, Any], None, None]:
+    ) -> Generator[tuple[str, Any], None, None]:
         # Configuration gives keys in an unordered manner. Order them.
         override_order = ["global", self.name, ":env:"]
 
         # Pool the options into different groups
-        section_items: Dict[str, List[Tuple[str, Any]]] = {
+        section_items: dict[str, list[tuple[str, Any]]] = {
             name: [] for name in override_order
         }
-        for section_key, val in self.config.items():
-            # ignore empty values
-            if not val:
-                logger.debug(
-                    "Ignoring configuration key '%s' as it's value is empty.",
-                    section_key,
-                )
-                continue
 
-            section, key = section_key.split(".", 1)
-            if section in override_order:
-                section_items[section].append((key, val))
+        for _, value in self.config.items():  # noqa: PERF102
+            for section_key, val in value.items():
+                # ignore empty values
+                if not val:
+                    logger.debug(
+                        "Ignoring configuration key '%s' as its value is empty.",
+                        section_key,
+                    )
+                    continue
 
-        # Yield each group in their override order
-        for section in override_order:
-            for key, val in section_items[section]:
-                yield key, val
+                section, key = section_key.split(".", 1)
+                if section in override_order:
+                    section_items[section].append((key, val))
 
-    def _update_defaults(self, defaults: Dict[str, Any]) -> Dict[str, Any]:
+            # Yield each group in their override order
+            for section in override_order:
+                yield from section_items[section]
+
+    def _update_defaults(self, defaults: dict[str, Any]) -> dict[str, Any]:
         """Updates the given defaults with values from the config files and
         the environ. Does a little special handling for certain types of
         options (lists)."""
@@ -289,6 +293,6 @@ class ConfigOptionParser(CustomOptionParser):
                 defaults[option.dest] = option.check_value(opt_str, default)
         return optparse.Values(defaults)
 
-    def error(self, msg: str) -> None:
+    def error(self, msg: str) -> NoReturn:
         self.print_usage(sys.stderr)
         self.exit(UNKNOWN_ERROR, f"{msg}\n")
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/progress_bars.py b/.venv/Lib/site-packages/pip/_internal/cli/progress_bars.py
index 0ad1403..af1bb6a 100644
--- a/.venv/Lib/site-packages/pip/_internal/cli/progress_bars.py
+++ b/.venv/Lib/site-packages/pip/_internal/cli/progress_bars.py
@@ -1,10 +1,15 @@
+from __future__ import annotations
+
 import functools
-from typing import Callable, Generator, Iterable, Iterator, Optional, Tuple
+import sys
+from collections.abc import Generator, Iterable, Iterator
+from typing import Callable, Literal, TypeVar
 
 from pip._vendor.rich.progress import (
     BarColumn,
     DownloadColumn,
     FileSizeColumn,
+    MofNCompleteColumn,
     Progress,
     ProgressColumn,
     SpinnerColumn,
@@ -14,22 +19,27 @@ from pip._vendor.rich.progress import (
     TransferSpeedColumn,
 )
 
-from pip._internal.utils.logging import get_indentation
+from pip._internal.cli.spinners import RateLimiter
+from pip._internal.req.req_install import InstallRequirement
+from pip._internal.utils.logging import get_console, get_indentation
 
-DownloadProgressRenderer = Callable[[Iterable[bytes]], Iterator[bytes]]
+T = TypeVar("T")
+ProgressRenderer = Callable[[Iterable[T]], Iterator[T]]
+BarType = Literal["on", "off", "raw"]
 
 
-def _rich_progress_bar(
+def _rich_download_progress_bar(
     iterable: Iterable[bytes],
     *,
-    bar_type: str,
-    size: int,
+    bar_type: BarType,
+    size: int | None,
+    initial_progress: int | None = None,
 ) -> Generator[bytes, None, None]:
     assert bar_type == "on", "This should only be used in the default mode."
 
     if not size:
         total = float("inf")
-        columns: Tuple[ProgressColumn, ...] = (
+        columns: tuple[ProgressColumn, ...] = (
             TextColumn("[progress.description]{task.description}"),
             SpinnerColumn("line", speed=1.5),
             FileSizeColumn(),
@@ -43,26 +53,99 @@ def _rich_progress_bar(
             BarColumn(),
             DownloadColumn(),
             TransferSpeedColumn(),
-            TextColumn("eta"),
-            TimeRemainingColumn(),
+            TextColumn("{task.fields[time_description]}"),
+            TimeRemainingColumn(elapsed_when_finished=True),
         )
 
-    progress = Progress(*columns, refresh_per_second=30)
-    task_id = progress.add_task(" " * (get_indentation() + 2), total=total)
+    progress = Progress(*columns, refresh_per_second=5)
+    task_id = progress.add_task(
+        " " * (get_indentation() + 2), total=total, time_description="eta"
+    )
+    if initial_progress is not None:
+        progress.update(task_id, advance=initial_progress)
     with progress:
         for chunk in iterable:
             yield chunk
             progress.update(task_id, advance=len(chunk))
+        progress.update(task_id, time_description="")
+
+
+def _rich_install_progress_bar(
+    iterable: Iterable[InstallRequirement], *, total: int
+) -> Iterator[InstallRequirement]:
+    columns = (
+        TextColumn("{task.fields[indent]}"),
+        BarColumn(),
+        MofNCompleteColumn(),
+        TextColumn("{task.description}"),
+    )
+    console = get_console()
+
+    bar = Progress(*columns, refresh_per_second=6, console=console, transient=True)
+    # Hiding the progress bar at initialization forces a refresh cycle to occur
+    # until the bar appears, avoiding very short flashes.
+    task = bar.add_task("", total=total, indent=" " * get_indentation(), visible=False)
+    with bar:
+        for req in iterable:
+            bar.update(task, description=rf"\[{req.name}]", visible=True)
+            yield req
+            bar.advance(task)
+
+
+def _raw_progress_bar(
+    iterable: Iterable[bytes],
+    *,
+    size: int | None,
+    initial_progress: int | None = None,
+) -> Generator[bytes, None, None]:
+    def write_progress(current: int, total: int) -> None:
+        sys.stdout.write(f"Progress {current} of {total}\n")
+        sys.stdout.flush()
+
+    current = initial_progress or 0
+    total = size or 0
+    rate_limiter = RateLimiter(0.25)
+
+    write_progress(current, total)
+    for chunk in iterable:
+        current += len(chunk)
+        if rate_limiter.ready() or current == total:
+            write_progress(current, total)
+            rate_limiter.reset()
+        yield chunk
 
 
 def get_download_progress_renderer(
-    *, bar_type: str, size: Optional[int] = None
-) -> DownloadProgressRenderer:
+    *, bar_type: BarType, size: int | None = None, initial_progress: int | None = None
+) -> ProgressRenderer[bytes]:
     """Get an object that can be used to render the download progress.
 
     Returns a callable, that takes an iterable to "wrap".
     """
     if bar_type == "on":
-        return functools.partial(_rich_progress_bar, bar_type=bar_type, size=size)
+        return functools.partial(
+            _rich_download_progress_bar,
+            bar_type=bar_type,
+            size=size,
+            initial_progress=initial_progress,
+        )
+    elif bar_type == "raw":
+        return functools.partial(
+            _raw_progress_bar,
+            size=size,
+            initial_progress=initial_progress,
+        )
     else:
         return iter  # no-op, when passed an iterator
+
+
+def get_install_progress_renderer(
+    *, bar_type: BarType, total: int
+) -> ProgressRenderer[InstallRequirement]:
+    """Get an object that can be used to render the install progress.
+    Returns a callable, that takes an iterable to "wrap".
+    """
+    if bar_type == "on":
+        return functools.partial(_rich_install_progress_bar, total=total)
+    else:
+        return iter
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/req_command.py b/.venv/Lib/site-packages/pip/_internal/cli/req_command.py
index 6f2f79c..dc1328f 100644
--- a/.venv/Lib/site-packages/pip/_internal/cli/req_command.py
+++ b/.venv/Lib/site-packages/pip/_internal/cli/req_command.py
@@ -1,21 +1,22 @@
-"""Contains the Command base classes that depend on PipSession.
+"""Contains the RequirementCommand base class.
 
-The classes in this module are in a separate module so the commands not
-needing download / PackageFinder capability don't unnecessarily import the
+This class is in a separate module so the commands that do not always
+need PackageFinder capability don't unnecessarily import the
 PackageFinder machinery and all its vendored dependencies, etc.
 """
 
+from __future__ import annotations
+
 import logging
-import os
-import sys
 from functools import partial
 from optparse import Values
-from typing import TYPE_CHECKING, Any, List, Optional, Tuple
+from typing import Any
 
+from pip._internal.build_env import SubprocessBuildEnvironmentInstaller
 from pip._internal.cache import WheelCache
 from pip._internal.cli import cmdoptions
-from pip._internal.cli.base_command import Command
-from pip._internal.cli.command_context import CommandContextMixIn
+from pip._internal.cli.index_command import IndexGroupCommand
+from pip._internal.cli.index_command import SessionCommandMixin as SessionCommandMixin
 from pip._internal.exceptions import CommandError, PreviousBuildDirError
 from pip._internal.index.collector import LinkCollector
 from pip._internal.index.package_finder import PackageFinder
@@ -30,164 +31,19 @@ from pip._internal.req.constructors import (
     install_req_from_parsed_requirement,
     install_req_from_req_string,
 )
+from pip._internal.req.req_dependency_group import parse_dependency_groups
 from pip._internal.req.req_file import parse_requirements
 from pip._internal.req.req_install import InstallRequirement
 from pip._internal.resolution.base import BaseResolver
-from pip._internal.self_outdated_check import pip_self_version_check
 from pip._internal.utils.temp_dir import (
     TempDirectory,
     TempDirectoryTypeRegistry,
     tempdir_kinds,
 )
-from pip._internal.utils.virtualenv import running_under_virtualenv
-
-if TYPE_CHECKING:
-    from ssl import SSLContext
 
 logger = logging.getLogger(__name__)
 
 
-def _create_truststore_ssl_context() -> Optional["SSLContext"]:
-    if sys.version_info < (3, 10):
-        raise CommandError("The truststore feature is only available for Python 3.10+")
-
-    try:
-        import ssl
-    except ImportError:
-        logger.warning("Disabling truststore since ssl support is missing")
-        return None
-
-    try:
-        from pip._vendor import truststore
-    except ImportError as e:
-        raise CommandError(f"The truststore feature is unavailable: {e}")
-
-    return truststore.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
-
-
-class SessionCommandMixin(CommandContextMixIn):
-
-    """
-    A class mixin for command classes needing _build_session().
-    """
-
-    def __init__(self) -> None:
-        super().__init__()
-        self._session: Optional[PipSession] = None
-
-    @classmethod
-    def _get_index_urls(cls, options: Values) -> Optional[List[str]]:
-        """Return a list of index urls from user-provided options."""
-        index_urls = []
-        if not getattr(options, "no_index", False):
-            url = getattr(options, "index_url", None)
-            if url:
-                index_urls.append(url)
-        urls = getattr(options, "extra_index_urls", None)
-        if urls:
-            index_urls.extend(urls)
-        # Return None rather than an empty list
-        return index_urls or None
-
-    def get_default_session(self, options: Values) -> PipSession:
-        """Get a default-managed session."""
-        if self._session is None:
-            self._session = self.enter_context(self._build_session(options))
-            # there's no type annotation on requests.Session, so it's
-            # automatically ContextManager[Any] and self._session becomes Any,
-            # then https://github.com/python/mypy/issues/7696 kicks in
-            assert self._session is not None
-        return self._session
-
-    def _build_session(
-        self,
-        options: Values,
-        retries: Optional[int] = None,
-        timeout: Optional[int] = None,
-        fallback_to_certifi: bool = False,
-    ) -> PipSession:
-        cache_dir = options.cache_dir
-        assert not cache_dir or os.path.isabs(cache_dir)
-
-        if "truststore" in options.features_enabled:
-            try:
-                ssl_context = _create_truststore_ssl_context()
-            except Exception:
-                if not fallback_to_certifi:
-                    raise
-                ssl_context = None
-        else:
-            ssl_context = None
-
-        session = PipSession(
-            cache=os.path.join(cache_dir, "http-v2") if cache_dir else None,
-            retries=retries if retries is not None else options.retries,
-            trusted_hosts=options.trusted_hosts,
-            index_urls=self._get_index_urls(options),
-            ssl_context=ssl_context,
-        )
-
-        # Handle custom ca-bundles from the user
-        if options.cert:
-            session.verify = options.cert
-
-        # Handle SSL client certificate
-        if options.client_cert:
-            session.cert = options.client_cert
-
-        # Handle timeouts
-        if options.timeout or timeout:
-            session.timeout = timeout if timeout is not None else options.timeout
-
-        # Handle configured proxies
-        if options.proxy:
-            session.proxies = {
-                "http": options.proxy,
-                "https": options.proxy,
-            }
-
-        # Determine if we can prompt the user for authentication or not
-        session.auth.prompting = not options.no_input
-        session.auth.keyring_provider = options.keyring_provider
-
-        return session
-
-
-class IndexGroupCommand(Command, SessionCommandMixin):
-
-    """
-    Abstract base class for commands with the index_group options.
-
-    This also corresponds to the commands that permit the pip version check.
-    """
-
-    def handle_pip_version_check(self, options: Values) -> None:
-        """
-        Do the pip version check if not disabled.
-
-        This overrides the default behavior of not doing the check.
-        """
-        # Make sure the index_group options are present.
-        assert hasattr(options, "no_index")
-
-        if options.disable_pip_version_check or options.no_index:
-            return
-
-        # Otherwise, check if we're using the latest version of pip available.
-        session = self._build_session(
-            options,
-            retries=0,
-            timeout=min(5, options.timeout),
-            # This is set to ensure the function does not fail when truststore is
-            # specified in use-feature but cannot be loaded. This usually raises a
-            # CommandError and shows a nice user-facing error, but this function is not
-            # called in that try-except block.
-            fallback_to_certifi=True,
-        )
-        with session:
-            pip_self_version_check(session, options)
-
-
 KEEPABLE_TEMPDIR_TYPES = [
     tempdir_kinds.BUILD_ENV,
     tempdir_kinds.EPHEM_WHEEL_CACHE,
@@ -195,36 +51,6 @@ KEEPABLE_TEMPDIR_TYPES = [
 ]
 
 
-def warn_if_run_as_root() -> None:
-    """Output a warning for sudo users on Unix.
-
-    In a virtual environment, sudo pip still writes to virtualenv.
-    On Windows, users may run pip as Administrator without issues.
-    This warning only applies to Unix root users outside of virtualenv.
-    """
-    if running_under_virtualenv():
-        return
-    if not hasattr(os, "getuid"):
-        return
-    # On Windows, there are no "system managed" Python packages. Installing as
-    # Administrator via pip is the correct way of updating system environments.
-    #
-    # We choose sys.platform over utils.compat.WINDOWS here to enable Mypy platform
-    # checks: https://mypy.readthedocs.io/en/stable/common_issues.html
-    if sys.platform == "win32" or sys.platform == "cygwin":
-        return
-
-    if os.getuid() != 0:
-        return
-
-    logger.warning(
-        "Running pip as the 'root' user can result in broken permissions and "
-        "conflicting behaviour with the system package manager. "
-        "It is recommended to use a virtual environment instead: "
-        "https://pip.pypa.io/warnings/venv"
-    )
-
-
 def with_cleanup(func: Any) -> Any:
     """Decorator for common logic related to managing temporary
     directories.
@@ -235,8 +61,8 @@ def with_cleanup(func: Any) -> Any:
             registry.set_delete(t, False)
 
     def wrapper(
-        self: RequirementCommand, options: Values, args: List[Any]
-    ) -> Optional[int]:
+        self: RequirementCommand, options: Values, args: list[Any]
+    ) -> int | None:
         assert self.tempdir_registry is not None
         if options.no_clean:
             configure_tempdir_registry(self.tempdir_registry)
@@ -257,6 +83,7 @@ class RequirementCommand(IndexGroupCommand):
     def __init__(self, *args: Any, **kw: Any) -> None:
         super().__init__(*args, **kw)
 
+        self.cmd_opts.add_option(cmdoptions.dependency_groups())
         self.cmd_opts.add_option(cmdoptions.no_clean())
 
     @staticmethod
@@ -276,7 +103,7 @@ class RequirementCommand(IndexGroupCommand):
         session: PipSession,
         finder: PackageFinder,
         use_user_site: bool,
-        download_dir: Optional[str] = None,
+        download_dir: str | None = None,
         verbosity: int = 0,
     ) -> RequirementPreparer:
         """
@@ -310,6 +137,7 @@ class RequirementCommand(IndexGroupCommand):
             src_dir=options.src_dir,
             download_dir=download_dir,
             build_isolation=options.build_isolation,
+            build_isolation_installer=SubprocessBuildEnvironmentInstaller(finder),
             check_build_deps=options.check_build_deps,
             build_tracker=build_tracker,
             session=session,
@@ -320,6 +148,7 @@ class RequirementCommand(IndexGroupCommand):
             lazy_wheel=lazy_wheel,
             verbosity=verbosity,
             legacy_resolver=legacy_resolver,
+            resume_retries=options.resume_retries,
         )
 
     @classmethod
@@ -328,14 +157,14 @@ class RequirementCommand(IndexGroupCommand):
         preparer: RequirementPreparer,
         finder: PackageFinder,
         options: Values,
-        wheel_cache: Optional[WheelCache] = None,
+        wheel_cache: WheelCache | None = None,
         use_user_site: bool = False,
         ignore_installed: bool = True,
         ignore_requires_python: bool = False,
         force_reinstall: bool = False,
         upgrade_strategy: str = "to-satisfy-only",
-        use_pep517: Optional[bool] = None,
-        py_version_info: Optional[Tuple[int, ...]] = None,
+        use_pep517: bool | None = None,
+        py_version_info: tuple[int, ...] | None = None,
     ) -> BaseResolver:
         """
         Create a Resolver instance for the given parameters.
@@ -383,15 +212,15 @@ class RequirementCommand(IndexGroupCommand):
 
     def get_requirements(
         self,
-        args: List[str],
+        args: list[str],
         options: Values,
         finder: PackageFinder,
         session: PipSession,
-    ) -> List[InstallRequirement]:
+    ) -> list[InstallRequirement]:
         """
         Parse command-line arguments into the corresponding requirements.
         """
-        requirements: List[InstallRequirement] = []
+        requirements: list[InstallRequirement] = []
         for filename in options.constraints:
             for parsed_req in parse_requirements(
                 filename,
@@ -418,6 +247,16 @@ class RequirementCommand(IndexGroupCommand):
             )
             requirements.append(req_to_add)
 
+        if options.dependency_groups:
+            for req in parse_dependency_groups(options.dependency_groups):
+                req_to_add = install_req_from_req_string(
+                    req,
+                    isolated=options.isolated_mode,
+                    use_pep517=options.use_pep517,
+                    user_supplied=True,
+                )
+                requirements.append(req_to_add)
+
         for req in options.editables:
             req_to_add = install_req_from_editable(
                 req,
@@ -438,9 +277,11 @@ class RequirementCommand(IndexGroupCommand):
                     isolated=options.isolated_mode,
                     use_pep517=options.use_pep517,
                     user_supplied=True,
-                    config_settings=parsed_req.options.get("config_settings")
-                    if parsed_req.options
-                    else None,
+                    config_settings=(
+                        parsed_req.options.get("config_settings")
+                        if parsed_req.options
+                        else None
+                    ),
                 )
                 requirements.append(req_to_add)
 
@@ -448,7 +289,12 @@ class RequirementCommand(IndexGroupCommand):
         if any(req.has_hash_options for req in requirements):
             options.require_hashes = True
 
-        if not (args or options.editables or options.requirements):
+        if not (
+            args
+            or options.editables
+            or options.requirements
+            or options.dependency_groups
+        ):
             opts = {"name": self.name}
             if options.find_links:
                 raise CommandError(
@@ -480,8 +326,8 @@ class RequirementCommand(IndexGroupCommand):
         self,
         options: Values,
         session: PipSession,
-        target_python: Optional[TargetPython] = None,
-        ignore_requires_python: Optional[bool] = None,
+        target_python: TargetPython | None = None,
+        ignore_requires_python: bool | None = None,
     ) -> PackageFinder:
         """
         Create a package finder appropriate to this requirement command.
diff --git a/.venv/Lib/site-packages/pip/_internal/cli/spinners.py b/.venv/Lib/site-packages/pip/_internal/cli/spinners.py
index cf2b976..58aad28 100644
--- a/.venv/Lib/site-packages/pip/_internal/cli/spinners.py
+++ b/.venv/Lib/site-packages/pip/_internal/cli/spinners.py
@@ -1,15 +1,31 @@
+from __future__ import annotations
+
 import contextlib
 import itertools
 import logging
 import sys
 import time
-from typing import IO, Generator, Optional
+from collections.abc import Generator
+from typing import IO, Final
+
+from pip._vendor.rich.console import (
+    Console,
+    ConsoleOptions,
+    RenderableType,
+    RenderResult,
+)
+from pip._vendor.rich.live import Live
+from pip._vendor.rich.measure import Measurement
+from pip._vendor.rich.text import Text
 
 from pip._internal.utils.compat import WINDOWS
-from pip._internal.utils.logging import get_indentation
+from pip._internal.utils.logging import get_console, get_indentation
 
 logger = logging.getLogger(__name__)
 
+SPINNER_CHARS: Final = r"-\|/"
+SPINS_PER_SECOND: Final = 8
+
 
 class SpinnerInterface:
     def spin(self) -> None:
@@ -23,10 +39,10 @@ class InteractiveSpinner(SpinnerInterface):
     def __init__(
         self,
         message: str,
-        file: Optional[IO[str]] = None,
-        spin_chars: str = "-\\|/",
+        file: IO[str] | None = None,
+        spin_chars: str = SPINNER_CHARS,
         # Empirically, 8 updates/second looks nice
-        min_update_interval_seconds: float = 0.125,
+        min_update_interval_seconds: float = 1 / SPINS_PER_SECOND,
     ):
         self._message = message
         if file is None:
@@ -136,6 +152,66 @@ def open_spinner(message: str) -> Generator[SpinnerInterface, None, None]:
         spinner.finish("done")
 
 
+class _PipRichSpinner:
+    """
+    Custom rich spinner that matches the style of the legacy spinners.
+
+    (*) Updates will be handled in a background thread by a rich live panel
+        which will call render() automatically at the appropriate time.
+    """
+
+    def __init__(self, label: str) -> None:
+        self.label = label
+        self._spin_cycle = itertools.cycle(SPINNER_CHARS)
+        self._spinner_text = ""
+        self._finished = False
+        self._indent = get_indentation() * " "
+
+    def __rich_console__(
+        self, console: Console, options: ConsoleOptions
+    ) -> RenderResult:
+        yield self.render()
+
+    def __rich_measure__(
+        self, console: Console, options: ConsoleOptions
+    ) -> Measurement:
+        text = self.render()
+        return Measurement.get(console, options, text)
+
+    def render(self) -> RenderableType:
+        if not self._finished:
+            self._spinner_text = next(self._spin_cycle)
+
+        return Text.assemble(self._indent, self.label, " ... ", self._spinner_text)
+
+    def finish(self, status: str) -> None:
+        """Stop spinning and set a final status message."""
+        self._spinner_text = status
+        self._finished = True
+
+
+@contextlib.contextmanager
+def open_rich_spinner(label: str, console: Console | None = None) -> Generator[None]:
+    if not logger.isEnabledFor(logging.INFO):
+        # Don't show spinner if --quiet is given.
+        yield
+        return
+
+    console = console or get_console()
+    spinner = _PipRichSpinner(label)
+    with Live(spinner, refresh_per_second=SPINS_PER_SECOND, console=console):
+        try:
+            yield
+        except KeyboardInterrupt:
+            spinner.finish("canceled")
+            raise
+        except Exception:
+            spinner.finish("error")
+            raise
+        else:
+            spinner.finish("done")
+
+
 HIDE_CURSOR = "\x1b[?25l"
 SHOW_CURSOR = "\x1b[?25h"
 
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/__init__.py b/.venv/Lib/site-packages/pip/_internal/commands/__init__.py
index 858a410..bedeca9 100644
--- a/.venv/Lib/site-packages/pip/_internal/commands/__init__.py
+++ b/.venv/Lib/site-packages/pip/_internal/commands/__init__.py
@@ -2,9 +2,11 @@
 Package containing all pip commands
 """
 
+from __future__ import annotations
+
 import importlib
 from collections import namedtuple
-from typing import Any, Dict, Optional
+from typing import Any
 
 from pip._internal.cli.base_command import Command
 
@@ -17,12 +19,17 @@ CommandInfo = namedtuple("CommandInfo", "module_path, class_name, summary")
 # Even though the module path starts with the same "pip._internal.commands"
 # prefix, the full path makes testing easier (specifically when modifying
 # `commands_dict` in test setup / teardown).
-commands_dict: Dict[str, CommandInfo] = {
+commands_dict: dict[str, CommandInfo] = {
     "install": CommandInfo(
         "pip._internal.commands.install",
         "InstallCommand",
         "Install packages.",
     ),
+    "lock": CommandInfo(
+        "pip._internal.commands.lock",
+        "LockCommand",
+        "Generate a lock file.",
+    ),
     "download": CommandInfo(
         "pip._internal.commands.download",
         "DownloadCommand",
@@ -118,7 +125,7 @@ def create_command(name: str, **kwargs: Any) -> Command:
     return command
 
 
-def get_similar_commands(name: str) -> Optional[str]:
+def get_similar_commands(name: str) -> str | None:
     """Command name auto-correct."""
     from difflib import get_close_matches
 
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/__init__.cpython-311.pyc
index b35307c..3bf4915 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/cache.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/cache.cpython-311.pyc
index b8c599e..d0060e4 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/cache.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/cache.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/check.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/check.cpython-311.pyc
index 5ce5a6e..ec83261 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/check.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/check.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/completion.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/completion.cpython-311.pyc
index 499fb0d..a6e12e3 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/completion.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/completion.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/configuration.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/configuration.cpython-311.pyc
index c53fa6a..4bf65dc 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/configuration.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/configuration.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/debug.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/debug.cpython-311.pyc
index d8b9dc4..f418e51 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/debug.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/debug.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/download.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/download.cpython-311.pyc
index 9519911..d29936a 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/download.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/download.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/freeze.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/freeze.cpython-311.pyc
index 684ad0e..5a126e4 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/freeze.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/freeze.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/hash.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/hash.cpython-311.pyc
index 565ddbc..2c39cbc 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/hash.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/hash.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/help.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/help.cpython-311.pyc
index b074290..704f1f0 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/help.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/help.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/index.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/index.cpython-311.pyc
index 5d60ec8..c2a178d 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/index.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/index.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/inspect.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/inspect.cpython-311.pyc
index ed032aa..ca53bda 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/inspect.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/inspect.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/install.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/install.cpython-311.pyc
index 4ac0e58..92dffa7 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/install.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/install.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/list.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/list.cpython-311.pyc
index 8b56747..dbb6237 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/list.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/list.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/lock.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/lock.cpython-311.pyc
new file mode 100644
index 0000000..fccaad5
Binary files /dev/null and b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/lock.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/search.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/search.cpython-311.pyc
index 668254b..2f224f1 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/search.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/search.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/show.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/show.cpython-311.pyc
index 24fed26..e2b6b1b 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/show.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/show.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/uninstall.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/uninstall.cpython-311.pyc
index 94b5904..4174d74 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/uninstall.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/uninstall.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/wheel.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/wheel.cpython-311.pyc
index 42646c5..dda5b33 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/wheel.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/commands/__pycache__/wheel.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/cache.py b/.venv/Lib/site-packages/pip/_internal/commands/cache.py
index 3283361..c8e7aed 100644
--- a/.venv/Lib/site-packages/pip/_internal/commands/cache.py
+++ b/.venv/Lib/site-packages/pip/_internal/commands/cache.py
@@ -1,13 +1,14 @@
 import os
 import textwrap
 from optparse import Values
-from typing import Any, List
+from typing import Callable
 
 from pip._internal.cli.base_command import Command
 from pip._internal.cli.status_codes import ERROR, SUCCESS
 from pip._internal.exceptions import CommandError, PipError
 from pip._internal.utils import filesystem
 from pip._internal.utils.logging import getLogger
+from pip._internal.utils.misc import format_size
 
 logger = getLogger(__name__)
 
@@ -48,8 +49,8 @@ class CacheCommand(Command):
 
         self.parser.insert_option_group(0, self.cmd_opts)
 
-    def run(self, options: Values, args: List[str]) -> int:
-        handlers = {
+    def handler_map(self) -> dict[str, Callable[[Values, list[str]], None]]:
+        return {
             "dir": self.get_cache_dir,
             "info": self.get_cache_info,
             "list": self.list_cache_items,
@@ -57,15 +58,18 @@ class CacheCommand(Command):
             "purge": self.purge_cache,
         }
 
+    def run(self, options: Values, args: list[str]) -> int:
+        handler_map = self.handler_map()
+
         if not options.cache_dir:
             logger.error("pip cache commands can not function since cache is disabled.")
             return ERROR
 
         # Determine action
-        if not args or args[0] not in handlers:
+        if not args or args[0] not in handler_map:
             logger.error(
                 "Need an action (%s) to perform.",
-                ", ".join(sorted(handlers)),
+                ", ".join(sorted(handler_map)),
             )
             return ERROR
 
@@ -73,20 +77,20 @@ class CacheCommand(Command):
 
         # Error handling happens here, not in the action-handlers.
         try:
-            handlers[action](options, args[1:])
+            handler_map[action](options, args[1:])
         except PipError as e:
             logger.error(e.args[0])
             return ERROR
 
         return SUCCESS
 
-    def get_cache_dir(self, options: Values, args: List[Any]) -> None:
+    def get_cache_dir(self, options: Values, args: list[str]) -> None:
         if args:
             raise CommandError("Too many arguments")
 
         logger.info(options.cache_dir)
 
-    def get_cache_info(self, options: Values, args: List[Any]) -> None:
+    def get_cache_info(self, options: Values, args: list[str]) -> None:
         if args:
             raise CommandError("Too many arguments")
 
@@ -128,7 +132,7 @@ class CacheCommand(Command):
 
         logger.info(message)
 
-    def list_cache_items(self, options: Values, args: List[Any]) -> None:
+    def list_cache_items(self, options: Values, args: list[str]) -> None:
         if len(args) > 1:
             raise CommandError("Too many arguments")
 
@@ -143,7 +147,7 @@ class CacheCommand(Command):
         else:
             self.format_for_abspath(files)
 
-    def format_for_human(self, files: List[str]) -> None:
+    def format_for_human(self, files: list[str]) -> None:
         if not files:
             logger.info("No locally built wheels cached.")
             return
@@ -156,11 +160,11 @@ class CacheCommand(Command):
         logger.info("Cache contents:\n")
         logger.info("\n".join(sorted(results)))
 
-    def format_for_abspath(self, files: List[str]) -> None:
+    def format_for_abspath(self, files: list[str]) -> None:
         if files:
             logger.info("\n".join(sorted(files)))
 
-    def remove_cache_items(self, options: Values, args: List[Any]) -> None:
+    def remove_cache_items(self, options: Values, args: list[str]) -> None:
         if len(args) > 1:
             raise CommandError("Too many arguments")
 
@@ -180,12 +184,14 @@ class CacheCommand(Command):
         if not files:
             logger.warning(no_matching_msg)
 
+        bytes_removed = 0
         for filename in files:
+            bytes_removed += os.stat(filename).st_size
             os.unlink(filename)
             logger.verbose("Removed %s", filename)
-        logger.info("Files removed: %s", len(files))
+        logger.info("Files removed: %s (%s)", len(files), format_size(bytes_removed))
 
-    def purge_cache(self, options: Values, args: List[Any]) -> None:
+    def purge_cache(self, options: Values, args: list[str]) -> None:
         if args:
             raise CommandError("Too many arguments")
 
@@ -194,14 +200,14 @@ class CacheCommand(Command):
     def _cache_dir(self, options: Values, subdir: str) -> str:
         return os.path.join(options.cache_dir, subdir)
 
-    def _find_http_files(self, options: Values) -> List[str]:
+    def _find_http_files(self, options: Values) -> list[str]:
         old_http_dir = self._cache_dir(options, "http")
         new_http_dir = self._cache_dir(options, "http-v2")
         return filesystem.find_files(old_http_dir, "*") + filesystem.find_files(
             new_http_dir, "*"
         )
 
-    def _find_wheels(self, options: Values, pattern: str) -> List[str]:
+    def _find_wheels(self, options: Values, pattern: str) -> list[str]:
         wheel_dir = self._cache_dir(options, "wheels")
 
         # The wheel filename format, as specified in PEP 427, is:
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/check.py b/.venv/Lib/site-packages/pip/_internal/commands/check.py
index 5efd0a3..516757e 100644
--- a/.venv/Lib/site-packages/pip/_internal/commands/check.py
+++ b/.venv/Lib/site-packages/pip/_internal/commands/check.py
@@ -1,14 +1,15 @@
 import logging
 from optparse import Values
-from typing import List
 
 from pip._internal.cli.base_command import Command
 from pip._internal.cli.status_codes import ERROR, SUCCESS
+from pip._internal.metadata import get_default_environment
 from pip._internal.operations.check import (
     check_package_set,
+    check_unsupported,
     create_package_set_from_installed,
-    warn_legacy_versions_and_specifiers,
 )
+from pip._internal.utils.compatibility_tags import get_supported
 from pip._internal.utils.misc import write_output
 
 logger = logging.getLogger(__name__)
@@ -17,13 +18,19 @@ logger = logging.getLogger(__name__)
 class CheckCommand(Command):
     """Verify installed packages have compatible dependencies."""
 
+    ignore_require_venv = True
     usage = """
       %prog [options]"""
 
-    def run(self, options: Values, args: List[str]) -> int:
+    def run(self, options: Values, args: list[str]) -> int:
         package_set, parsing_probs = create_package_set_from_installed()
-        warn_legacy_versions_and_specifiers(package_set)
         missing, conflicting = check_package_set(package_set)
+        unsupported = list(
+            check_unsupported(
+                get_default_environment().iter_installed_distributions(),
+                get_supported(),
+            )
+        )
 
         for project_name in missing:
             version = package_set[project_name].version
@@ -46,8 +53,13 @@ class CheckCommand(Command):
                     dep_name,
                     dep_version,
                 )
-
-        if missing or conflicting or parsing_probs:
+        for package in unsupported:
+            write_output(
+                "%s %s is not supported on this platform",
+                package.raw_name,
+                package.version,
+            )
+        if missing or conflicting or parsing_probs or unsupported:
             return ERROR
         else:
             write_output("No broken requirements found.")
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/completion.py b/.venv/Lib/site-packages/pip/_internal/commands/completion.py
index 9e89e27..6d9597b 100644
--- a/.venv/Lib/site-packages/pip/_internal/commands/completion.py
+++ b/.venv/Lib/site-packages/pip/_internal/commands/completion.py
@@ -1,7 +1,6 @@
 import sys
 import textwrap
 from optparse import Values
-from typing import List
 
 from pip._internal.cli.base_command import Command
 from pip._internal.cli.status_codes import SUCCESS
@@ -38,12 +37,18 @@ COMPLETION_SCRIPTS = {
     """,
     "fish": """
         function __fish_complete_pip
-            set -lx COMP_WORDS (commandline -o) ""
-            set -lx COMP_CWORD ( \\
-                math (contains -i -- (commandline -t) $COMP_WORDS)-1 \\
-            )
+            set -lx COMP_WORDS \\
+                (commandline --current-process --tokenize --cut-at-cursor) \\
+                (commandline --current-token --cut-at-cursor)
+            set -lx COMP_CWORD (math (count $COMP_WORDS) - 1)
             set -lx PIP_AUTO_COMPLETE 1
-            string split \\  -- (eval $COMP_WORDS[1])
+            set -l completions
+            if string match -q '2.*' $version
+                set completions (eval $COMP_WORDS[1])
+            else
+                set completions ($COMP_WORDS[1])
+            end
+            string split \\  -- $completions
         end
         complete -fa "(__fish_complete_pip)" -c {prog}
     """,
@@ -113,7 +118,7 @@ class CompletionCommand(Command):
 
         self.parser.insert_option_group(0, self.cmd_opts)
 
-    def run(self, options: Values, args: List[str]) -> int:
+    def run(self, options: Values, args: list[str]) -> int:
         """Prints the completion code of the given shell"""
         shells = COMPLETION_SCRIPTS.keys()
         shell_options = ["--" + shell for shell in sorted(shells)]
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/configuration.py b/.venv/Lib/site-packages/pip/_internal/commands/configuration.py
index 1a1dc6b..7bcea04 100644
--- a/.venv/Lib/site-packages/pip/_internal/commands/configuration.py
+++ b/.venv/Lib/site-packages/pip/_internal/commands/configuration.py
@@ -1,8 +1,10 @@
+from __future__ import annotations
+
 import logging
 import os
 import subprocess
 from optparse import Values
-from typing import Any, List, Optional
+from typing import Any, Callable
 
 from pip._internal.cli.base_command import Command
 from pip._internal.cli.status_codes import ERROR, SUCCESS
@@ -93,8 +95,8 @@ class ConfigurationCommand(Command):
 
         self.parser.insert_option_group(0, self.cmd_opts)
 
-    def run(self, options: Values, args: List[str]) -> int:
-        handlers = {
+    def handler_map(self) -> dict[str, Callable[[Values, list[str]], None]]:
+        return {
             "list": self.list_values,
             "edit": self.open_in_editor,
             "get": self.get_name,
@@ -103,11 +105,14 @@ class ConfigurationCommand(Command):
             "debug": self.list_config_values,
         }
 
+    def run(self, options: Values, args: list[str]) -> int:
+        handler_map = self.handler_map()
+
         # Determine action
-        if not args or args[0] not in handlers:
+        if not args or args[0] not in handler_map:
             logger.error(
                 "Need an action (%s) to perform.",
-                ", ".join(sorted(handlers)),
+                ", ".join(sorted(handler_map)),
             )
             return ERROR
 
@@ -131,14 +136,14 @@ class ConfigurationCommand(Command):
 
         # Error handling happens here, not in the action-handlers.
         try:
-            handlers[action](options, args[1:])
+            handler_map[action](options, args[1:])
         except PipError as e:
             logger.error(e.args[0])
             return ERROR
 
         return SUCCESS
 
-    def _determine_file(self, options: Values, need_value: bool) -> Optional[Kind]:
+    def _determine_file(self, options: Values, need_value: bool) -> Kind | None:
         file_options = [
             key
             for key, value in (
@@ -168,31 +173,32 @@ class ConfigurationCommand(Command):
             "(--user, --site, --global) to perform."
         )
 
-    def list_values(self, options: Values, args: List[str]) -> None:
+    def list_values(self, options: Values, args: list[str]) -> None:
         self._get_n_args(args, "list", n=0)
 
         for key, value in sorted(self.configuration.items()):
-            write_output("%s=%r", key, value)
+            for key, value in sorted(value.items()):
+                write_output("%s=%r", key, value)
 
-    def get_name(self, options: Values, args: List[str]) -> None:
+    def get_name(self, options: Values, args: list[str]) -> None:
         key = self._get_n_args(args, "get [name]", n=1)
         value = self.configuration.get_value(key)
 
         write_output("%s", value)
 
-    def set_name_value(self, options: Values, args: List[str]) -> None:
+    def set_name_value(self, options: Values, args: list[str]) -> None:
         key, value = self._get_n_args(args, "set [name] [value]", n=2)
         self.configuration.set_value(key, value)
 
         self._save_configuration()
 
-    def unset_name(self, options: Values, args: List[str]) -> None:
+    def unset_name(self, options: Values, args: list[str]) -> None:
         key = self._get_n_args(args, "unset [name]", n=1)
         self.configuration.unset_value(key)
 
         self._save_configuration()
 
-    def list_config_values(self, options: Values, args: List[str]) -> None:
+    def list_config_values(self, options: Values, args: list[str]) -> None:
         """List config key-value pairs across different config files"""
         self._get_n_args(args, "debug", n=0)
 
@@ -206,13 +212,15 @@ class ConfigurationCommand(Command):
                     file_exists = os.path.exists(fname)
                     write_output("%s, exists: %r", fname, file_exists)
                     if file_exists:
-                        self.print_config_file_values(variant)
+                        self.print_config_file_values(variant, fname)
 
-    def print_config_file_values(self, variant: Kind) -> None:
+    def print_config_file_values(self, variant: Kind, fname: str) -> None:
         """Get key-value pairs from the file of a variant"""
         for name, value in self.configuration.get_values_in_config(variant).items():
             with indent_log():
-                write_output("%s: %s", name, value)
+                if name == fname:
+                    for confname, confvalue in value.items():
+                        write_output("%s: %s", confname, confvalue)
 
     def print_env_var_values(self) -> None:
         """Get key-values pairs present as environment variables"""
@@ -222,7 +230,7 @@ class ConfigurationCommand(Command):
                 env_var = f"PIP_{key.upper()}"
                 write_output("%s=%r", env_var, value)
 
-    def open_in_editor(self, options: Values, args: List[str]) -> None:
+    def open_in_editor(self, options: Values, args: list[str]) -> None:
         editor = self._determine_editor(options)
 
         fname = self.configuration.get_file_to_edit()
@@ -244,7 +252,7 @@ class ConfigurationCommand(Command):
         except subprocess.CalledProcessError as e:
             raise PipError(f"Editor Subprocess exited with exit code {e.returncode}")
 
-    def _get_n_args(self, args: List[str], example: str, n: int) -> Any:
+    def _get_n_args(self, args: list[str], example: str, n: int) -> Any:
         """Helper to make sure the command got the right number of arguments"""
         if len(args) != n:
             msg = (
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/debug.py b/.venv/Lib/site-packages/pip/_internal/commands/debug.py
index 7e5271c..0e187e7 100644
--- a/.venv/Lib/site-packages/pip/_internal/commands/debug.py
+++ b/.venv/Lib/site-packages/pip/_internal/commands/debug.py
@@ -1,11 +1,12 @@
-import importlib.resources
+from __future__ import annotations
+
 import locale
 import logging
 import os
 import sys
 from optparse import Values
 from types import ModuleType
-from typing import Any, Dict, List, Optional
+from typing import Any
 
 import pip._vendor
 from pip._vendor.certifi import where
@@ -17,6 +18,7 @@ from pip._internal.cli.cmdoptions import make_target_python
 from pip._internal.cli.status_codes import SUCCESS
 from pip._internal.configuration import Configuration
 from pip._internal.metadata import get_environment
+from pip._internal.utils.compat import open_text_resource
 from pip._internal.utils.logging import indent_log
 from pip._internal.utils.misc import get_pip_version
 
@@ -34,8 +36,8 @@ def show_sys_implementation() -> None:
         show_value("name", implementation_name)
 
 
-def create_vendor_txt_map() -> Dict[str, str]:
-    with importlib.resources.open_text("pip._vendor", "vendor.txt") as f:
+def create_vendor_txt_map() -> dict[str, str]:
+    with open_text_resource("pip._vendor", "vendor.txt") as f:
         # Purge non version specifying lines.
         # Also, remove any space prefix or suffixes (including comments).
         lines = [
@@ -46,7 +48,7 @@ def create_vendor_txt_map() -> Dict[str, str]:
     return dict(line.split("==", 1) for line in lines)
 
 
-def get_module_from_module_name(module_name: str) -> Optional[ModuleType]:
+def get_module_from_module_name(module_name: str) -> ModuleType | None:
     # Module name can be uppercase in vendor.txt for some reason...
     module_name = module_name.lower().replace("-", "_")
     # PATCH: setuptools is actually only pkg_resources.
@@ -64,7 +66,7 @@ def get_module_from_module_name(module_name: str) -> Optional[ModuleType]:
         raise
 
 
-def get_vendor_version_from_module(module_name: str) -> Optional[str]:
+def get_vendor_version_from_module(module_name: str) -> str | None:
     module = get_module_from_module_name(module_name)
     version = getattr(module, "__version__", None)
 
@@ -79,7 +81,7 @@ def get_vendor_version_from_module(module_name: str) -> Optional[str]:
     return version
 
 
-def show_actual_vendor_versions(vendor_txt_versions: Dict[str, str]) -> None:
+def show_actual_vendor_versions(vendor_txt_versions: dict[str, str]) -> None:
     """Log the actual version and print extra info if there is
     a conflict or if the actual version could not be imported.
     """
@@ -169,7 +171,7 @@ class DebugCommand(Command):
         self.parser.insert_option_group(0, self.cmd_opts)
         self.parser.config.load()
 
-    def run(self, options: Values, args: List[str]) -> int:
+    def run(self, options: Values, args: list[str]) -> int:
         logger.warning(
             "This command is only meant for debugging. "
             "Do not use this with automation for parsing and getting these "
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/download.py b/.venv/Lib/site-packages/pip/_internal/commands/download.py
index 54247a7..900fb40 100644
--- a/.venv/Lib/site-packages/pip/_internal/commands/download.py
+++ b/.venv/Lib/site-packages/pip/_internal/commands/download.py
@@ -1,7 +1,6 @@
 import logging
 import os
 from optparse import Values
-from typing import List
 
 from pip._internal.cli import cmdoptions
 from pip._internal.cli.cmdoptions import make_target_python
@@ -75,7 +74,7 @@ class DownloadCommand(RequirementCommand):
         self.parser.insert_option_group(0, self.cmd_opts)
 
     @with_cleanup
-    def run(self, options: Values, args: List[str]) -> int:
+    def run(self, options: Values, args: list[str]) -> int:
         options.ignore_installed = True
         # editable doesn't really make sense for `pip download`, but the bowels
         # of the RequirementSet code require that property.
@@ -131,7 +130,7 @@ class DownloadCommand(RequirementCommand):
 
         requirement_set = resolver.resolve(reqs, check_supported_wheels=True)
 
-        downloaded: List[str] = []
+        downloaded: list[str] = []
         for req in requirement_set.requirements.values():
             if req.satisfied_by is None:
                 assert req.name is not None
@@ -139,7 +138,6 @@ class DownloadCommand(RequirementCommand):
                 downloaded.append(req.name)
 
         preparer.prepare_linked_requirements_more(requirement_set.requirements.values())
-        requirement_set.warn_legacy_versions_and_specifiers()
 
         if downloaded:
             write_output("Successfully downloaded %s", " ".join(downloaded))
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/freeze.py b/.venv/Lib/site-packages/pip/_internal/commands/freeze.py
index fd9d88a..7794857 100644
--- a/.venv/Lib/site-packages/pip/_internal/commands/freeze.py
+++ b/.venv/Lib/site-packages/pip/_internal/commands/freeze.py
@@ -1,6 +1,5 @@
 import sys
 from optparse import Values
-from typing import AbstractSet, List
 
 from pip._internal.cli import cmdoptions
 from pip._internal.cli.base_command import Command
@@ -13,7 +12,7 @@ def _should_suppress_build_backends() -> bool:
     return sys.version_info < (3, 12)
 
 
-def _dev_pkgs() -> AbstractSet[str]:
+def _dev_pkgs() -> set[str]:
     pkgs = {"pip"}
 
     if _should_suppress_build_backends():
@@ -29,9 +28,9 @@ class FreezeCommand(Command):
     packages are listed in a case-insensitive sorted order.
     """
 
+    ignore_require_venv = True
     usage = """
       %prog [options]"""
-    log_streams = ("ext://sys.stderr", "ext://sys.stderr")
 
     def add_options(self) -> None:
         self.cmd_opts.add_option(
@@ -85,7 +84,7 @@ class FreezeCommand(Command):
 
         self.parser.insert_option_group(0, self.cmd_opts)
 
-    def run(self, options: Values, args: List[str]) -> int:
+    def run(self, options: Values, args: list[str]) -> int:
         skip = set(stdlib_pkgs)
         if not options.freeze_all:
             skip.update(_dev_pkgs())
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/hash.py b/.venv/Lib/site-packages/pip/_internal/commands/hash.py
index 042dac8..271a4c9 100644
--- a/.venv/Lib/site-packages/pip/_internal/commands/hash.py
+++ b/.venv/Lib/site-packages/pip/_internal/commands/hash.py
@@ -2,7 +2,6 @@ import hashlib
 import logging
 import sys
 from optparse import Values
-from typing import List
 
 from pip._internal.cli.base_command import Command
 from pip._internal.cli.status_codes import ERROR, SUCCESS
@@ -37,7 +36,7 @@ class HashCommand(Command):
         )
         self.parser.insert_option_group(0, self.cmd_opts)
 
-    def run(self, options: Values, args: List[str]) -> int:
+    def run(self, options: Values, args: list[str]) -> int:
         if not args:
             self.parser.print_usage(sys.stderr)
             return ERROR
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/help.py b/.venv/Lib/site-packages/pip/_internal/commands/help.py
index 6206631..2ae658f 100644
--- a/.venv/Lib/site-packages/pip/_internal/commands/help.py
+++ b/.venv/Lib/site-packages/pip/_internal/commands/help.py
@@ -1,5 +1,4 @@
 from optparse import Values
-from typing import List
 
 from pip._internal.cli.base_command import Command
 from pip._internal.cli.status_codes import SUCCESS
@@ -13,7 +12,7 @@ class HelpCommand(Command):
       %prog """
     ignore_require_venv = True
 
-    def run(self, options: Values, args: List[str]) -> int:
+    def run(self, options: Values, args: list[str]) -> int:
         from pip._internal.commands import (
             commands_dict,
             create_command,
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/index.py b/.venv/Lib/site-packages/pip/_internal/commands/index.py
index f55e9e4..ecac998 100644
--- a/.venv/Lib/site-packages/pip/_internal/commands/index.py
+++ b/.venv/Lib/site-packages/pip/_internal/commands/index.py
@@ -1,13 +1,20 @@
-import logging
-from optparse import Values
-from typing import Any, Iterable, List, Optional, Union
+from __future__ import annotations
 
-from pip._vendor.packaging.version import LegacyVersion, Version
+import json
+import logging
+from collections.abc import Iterable
+from optparse import Values
+from typing import Any, Callable
+
+from pip._vendor.packaging.version import Version
 
 from pip._internal.cli import cmdoptions
 from pip._internal.cli.req_command import IndexGroupCommand
 from pip._internal.cli.status_codes import ERROR, SUCCESS
-from pip._internal.commands.search import print_dist_installation_info
+from pip._internal.commands.search import (
+    get_installed_distribution,
+    print_dist_installation_info,
+)
 from pip._internal.exceptions import CommandError, DistributionNotFound, PipError
 from pip._internal.index.collector import LinkCollector
 from pip._internal.index.package_finder import PackageFinder
@@ -34,6 +41,7 @@ class IndexCommand(IndexGroupCommand):
 
         self.cmd_opts.add_option(cmdoptions.ignore_requires_python())
         self.cmd_opts.add_option(cmdoptions.pre())
+        self.cmd_opts.add_option(cmdoptions.json())
         self.cmd_opts.add_option(cmdoptions.no_binary())
         self.cmd_opts.add_option(cmdoptions.only_binary())
 
@@ -45,22 +53,19 @@ class IndexCommand(IndexGroupCommand):
         self.parser.insert_option_group(0, index_opts)
         self.parser.insert_option_group(0, self.cmd_opts)
 
-    def run(self, options: Values, args: List[str]) -> int:
-        handlers = {
+    def handler_map(self) -> dict[str, Callable[[Values, list[str]], None]]:
+        return {
             "versions": self.get_available_package_versions,
         }
 
-        logger.warning(
-            "pip index is currently an experimental command. "
-            "It may be removed/changed in a future release "
-            "without prior warning."
-        )
+    def run(self, options: Values, args: list[str]) -> int:
+        handler_map = self.handler_map()
 
         # Determine action
-        if not args or args[0] not in handlers:
+        if not args or args[0] not in handler_map:
             logger.error(
                 "Need an action (%s) to perform.",
-                ", ".join(sorted(handlers)),
+                ", ".join(sorted(handler_map)),
             )
             return ERROR
 
@@ -68,7 +73,7 @@ class IndexCommand(IndexGroupCommand):
 
         # Error handling happens here, not in the action-handlers.
         try:
-            handlers[action](options, args[1:])
+            handler_map[action](options, args[1:])
         except PipError as e:
             logger.error(e.args[0])
             return ERROR
@@ -79,8 +84,8 @@ class IndexCommand(IndexGroupCommand):
         self,
         options: Values,
         session: PipSession,
-        target_python: Optional[TargetPython] = None,
-        ignore_requires_python: Optional[bool] = None,
+        target_python: TargetPython | None = None,
+        ignore_requires_python: bool | None = None,
     ) -> PackageFinder:
         """
         Create a package finder appropriate to the index command.
@@ -100,7 +105,7 @@ class IndexCommand(IndexGroupCommand):
             target_python=target_python,
         )
 
-    def get_available_package_versions(self, options: Values, args: List[Any]) -> None:
+    def get_available_package_versions(self, options: Values, args: list[Any]) -> None:
         if len(args) != 1:
             raise CommandError("You need to specify exactly one argument")
 
@@ -115,7 +120,7 @@ class IndexCommand(IndexGroupCommand):
                 ignore_requires_python=options.ignore_requires_python,
             )
 
-            versions: Iterable[Union[LegacyVersion, Version]] = (
+            versions: Iterable[Version] = (
                 candidate.version for candidate in finder.find_all_candidates(query)
             )
 
@@ -134,6 +139,21 @@ class IndexCommand(IndexGroupCommand):
             formatted_versions = [str(ver) for ver in sorted(versions, reverse=True)]
             latest = formatted_versions[0]
 
-        write_output(f"{query} ({latest})")
-        write_output("Available versions: {}".format(", ".join(formatted_versions)))
-        print_dist_installation_info(query, latest)
+        dist = get_installed_distribution(query)
+
+        if options.json:
+            structured_output = {
+                "name": query,
+                "versions": formatted_versions,
+                "latest": latest,
+            }
+
+            if dist is not None:
+                structured_output["installed_version"] = str(dist.version)
+
+            write_output(json.dumps(structured_output))
+
+        else:
+            write_output(f"{query} ({latest})")
+            write_output("Available versions: {}".format(", ".join(formatted_versions)))
+            print_dist_installation_info(latest, dist)
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/inspect.py b/.venv/Lib/site-packages/pip/_internal/commands/inspect.py
index 27c8fa3..e262012 100644
--- a/.venv/Lib/site-packages/pip/_internal/commands/inspect.py
+++ b/.venv/Lib/site-packages/pip/_internal/commands/inspect.py
@@ -1,13 +1,13 @@
 import logging
 from optparse import Values
-from typing import Any, Dict, List
+from typing import Any
 
 from pip._vendor.packaging.markers import default_environment
 from pip._vendor.rich import print_json
 
 from pip import __version__
 from pip._internal.cli import cmdoptions
-from pip._internal.cli.req_command import Command
+from pip._internal.cli.base_command import Command
 from pip._internal.cli.status_codes import SUCCESS
 from pip._internal.metadata import BaseDistribution, get_environment
 from pip._internal.utils.compat import stdlib_pkgs
@@ -45,7 +45,7 @@ class InspectCommand(Command):
         self.cmd_opts.add_option(cmdoptions.list_path())
         self.parser.insert_option_group(0, self.cmd_opts)
 
-    def run(self, options: Values, args: List[str]) -> int:
+    def run(self, options: Values, args: list[str]) -> int:
         cmdoptions.check_list_path_option(options)
         dists = get_environment(options.path).iter_installed_distributions(
             local_only=options.local,
@@ -62,8 +62,8 @@ class InspectCommand(Command):
         print_json(data=output)
         return SUCCESS
 
-    def _dist_to_dict(self, dist: BaseDistribution) -> Dict[str, Any]:
-        res: Dict[str, Any] = {
+    def _dist_to_dict(self, dist: BaseDistribution) -> dict[str, Any]:
+        res: dict[str, Any] = {
             "metadata": dist.metadata_dict,
             "metadata_location": dist.info_location,
         }
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/install.py b/.venv/Lib/site-packages/pip/_internal/commands/install.py
index e944bb9..1ef7a0f 100644
--- a/.venv/Lib/site-packages/pip/_internal/commands/install.py
+++ b/.venv/Lib/site-packages/pip/_internal/commands/install.py
@@ -1,3 +1,5 @@
+from __future__ import annotations
+
 import errno
 import json
 import operator
@@ -5,20 +7,32 @@ import os
 import shutil
 import site
 from optparse import SUPPRESS_HELP, Values
-from typing import List, Optional
+from pathlib import Path
 
+from pip._vendor.packaging.utils import canonicalize_name
+from pip._vendor.requests.exceptions import InvalidProxyURL
 from pip._vendor.rich import print_json
 
+# Eagerly import self_outdated_check to avoid crashes. Otherwise,
+# this module would be imported *after* pip was replaced, resulting
+# in crashes if the new self_outdated_check module was incompatible
+# with the rest of pip that's already imported, or allowing a
+# wheel to execute arbitrary code on install by replacing
+# self_outdated_check.
+import pip._internal.self_outdated_check  # noqa: F401
 from pip._internal.cache import WheelCache
 from pip._internal.cli import cmdoptions
 from pip._internal.cli.cmdoptions import make_target_python
 from pip._internal.cli.req_command import (
     RequirementCommand,
-    warn_if_run_as_root,
     with_cleanup,
 )
 from pip._internal.cli.status_codes import ERROR, SUCCESS
-from pip._internal.exceptions import CommandError, InstallationError
+from pip._internal.exceptions import (
+    CommandError,
+    InstallationError,
+    InstallWheelBuildError,
+)
 from pip._internal.locations import get_scheme
 from pip._internal.metadata import get_environment
 from pip._internal.models.installation_report import InstallationReport
@@ -37,6 +51,7 @@ from pip._internal.utils.misc import (
     ensure_dir,
     get_pip_version,
     protect_pip_from_modification_on_windows,
+    warn_if_run_as_root,
     write_output,
 )
 from pip._internal.utils.temp_dir import TempDirectory
@@ -263,7 +278,7 @@ class InstallCommand(RequirementCommand):
         )
 
     @with_cleanup
-    def run(self, options: Values, args: List[str]) -> int:
+    def run(self, options: Values, args: list[str]) -> int:
         if options.use_user_site and options.target_dir is not None:
             raise CommandError("Can not combine '--user' and '--target'")
 
@@ -299,8 +314,8 @@ class InstallCommand(RequirementCommand):
             isolated_mode=options.isolated_mode,
         )
 
-        target_temp_dir: Optional[TempDirectory] = None
-        target_temp_dir_path: Optional[str] = None
+        target_temp_dir: TempDirectory | None = None
+        target_temp_dir_path: str | None = None
         if options.target_dir:
             options.ignore_installed = True
             options.target_dir = os.path.abspath(options.target_dir)
@@ -370,6 +385,7 @@ class InstallCommand(RequirementCommand):
                 force_reinstall=options.force_reinstall,
                 upgrade_strategy=upgrade_strategy,
                 use_pep517=options.use_pep517,
+                py_version_info=options.python_version,
             )
 
             self.trace_basic_info(finder)
@@ -387,9 +403,6 @@ class InstallCommand(RequirementCommand):
                         json.dump(report.to_dict(), f, indent=2, ensure_ascii=False)
 
             if options.dry_run:
-                # In non dry-run mode, the legacy versions and specifiers check
-                # will be done as part of conflict detection.
-                requirement_set.warn_legacy_versions_and_specifiers()
                 would_install_items = sorted(
                     (r.metadata["name"], r.metadata["version"])
                     for r in requirement_set.requirements_to_install
@@ -413,7 +426,7 @@ class InstallCommand(RequirementCommand):
 
             reqs_to_build = [
                 r
-                for r in requirement_set.requirements.values()
+                for r in requirement_set.requirements_to_install
                 if should_build_for_install_command(r)
             ]
 
@@ -426,17 +439,12 @@ class InstallCommand(RequirementCommand):
             )
 
             if build_failures:
-                raise InstallationError(
-                    "Could not build wheels for {}, which is required to "
-                    "install pyproject.toml-based projects".format(
-                        ", ".join(r.name for r in build_failures)  # type: ignore
-                    )
-                )
+                raise InstallWheelBuildError(build_failures)
 
             to_install = resolver.get_installation_order(requirement_set)
 
             # Check for conflicts in the package set we're installing.
-            conflicts: Optional[ConflictDetails] = None
+            conflicts: ConflictDetails | None = None
             should_warn_about_conflicts = (
                 not options.ignore_dependencies and options.warn_about_conflicts
             )
@@ -458,6 +466,7 @@ class InstallCommand(RequirementCommand):
                 warn_script_location=warn_script_location,
                 use_user_site=options.use_user_site,
                 pycompile=options.compile,
+                progress_bar=options.progress_bar,
             )
 
             lib_locations = get_lib_location_guesses(
@@ -469,17 +478,21 @@ class InstallCommand(RequirementCommand):
             )
             env = get_environment(lib_locations)
 
+            # Display a summary of installed packages, with extra care to
+            # display a package name as it was requested by the user.
             installed.sort(key=operator.attrgetter("name"))
-            items = []
-            for result in installed:
-                item = result.name
-                try:
-                    installed_dist = env.get_distribution(item)
-                    if installed_dist is not None:
-                        item = f"{item}-{installed_dist.version}"
-                except Exception:
-                    pass
-                items.append(item)
+            summary = []
+            installed_versions = {}
+            for distribution in env.iter_all_distributions():
+                installed_versions[distribution.canonical_name] = distribution.version
+            for package in installed:
+                display_name = package.name
+                version = installed_versions.get(canonicalize_name(display_name), None)
+                if version:
+                    text = f"{display_name}-{version}"
+                else:
+                    text = display_name
+                summary.append(text)
 
             if conflicts is not None:
                 self._warn_about_conflicts(
@@ -487,7 +500,7 @@ class InstallCommand(RequirementCommand):
                     resolver_variant=self.determine_resolver_variant(options),
                 )
 
-            installed_desc = " ".join(items)
+            installed_desc = " ".join(summary)
             if installed_desc:
                 write_output(
                     "Successfully installed %s",
@@ -569,8 +582,8 @@ class InstallCommand(RequirementCommand):
                 shutil.move(os.path.join(lib_dir, item), target_item_dir)
 
     def _determine_conflicts(
-        self, to_install: List[InstallRequirement]
-    ) -> Optional[ConflictDetails]:
+        self, to_install: list[InstallRequirement]
+    ) -> ConflictDetails | None:
         try:
             return check_install_conflicts(to_install)
         except Exception:
@@ -587,7 +600,7 @@ class InstallCommand(RequirementCommand):
         if not missing and not conflicting:
             return
 
-        parts: List[str] = []
+        parts: list[str] = []
         if resolver_variant == "legacy":
             parts.append(
                 "pip's legacy dependency resolver does not consider dependency "
@@ -633,11 +646,11 @@ class InstallCommand(RequirementCommand):
 
 def get_lib_location_guesses(
     user: bool = False,
-    home: Optional[str] = None,
-    root: Optional[str] = None,
+    home: str | None = None,
+    root: str | None = None,
     isolated: bool = False,
-    prefix: Optional[str] = None,
-) -> List[str]:
+    prefix: str | None = None,
+) -> list[str]:
     scheme = get_scheme(
         "",
         user=user,
@@ -649,7 +662,7 @@ def get_lib_location_guesses(
     return [scheme.purelib, scheme.platlib]
 
 
-def site_packages_writable(root: Optional[str], isolated: bool) -> bool:
+def site_packages_writable(root: str | None, isolated: bool) -> bool:
     return all(
         test_writable_dir(d)
         for d in set(get_lib_location_guesses(root=root, isolated=isolated))
@@ -657,10 +670,10 @@ def site_packages_writable(root: Optional[str], isolated: bool) -> bool:
 
 
 def decide_user_install(
-    use_user_site: Optional[bool],
-    prefix_path: Optional[str] = None,
-    target_dir: Optional[str] = None,
-    root_path: Optional[str] = None,
+    use_user_site: bool | None,
+    prefix_path: str | None = None,
+    target_dir: str | None = None,
+    root_path: str | None = None,
     isolated_mode: bool = False,
 ) -> bool:
     """Determine whether to do a user install based on the input options.
@@ -755,20 +768,31 @@ def create_os_error_message(
             parts.append(permissions_part)
         parts.append(".\n")
 
-    # Suggest the user to enable Long Paths if path length is
-    # more than 260
-    if (
-        WINDOWS
-        and error.errno == errno.ENOENT
-        and error.filename
-        and len(error.filename) > 260
-    ):
+    # Suggest to check "pip config debug" in case of invalid proxy
+    if type(error) is InvalidProxyURL:
         parts.append(
-            "HINT: This error might have occurred since "
-            "this system does not have Windows Long Path "
-            "support enabled. You can find information on "
-            "how to enable this at "
-            "https://pip.pypa.io/warnings/enable-long-paths\n"
+            'Consider checking your local proxy configuration with "pip config debug"'
         )
+        parts.append(".\n")
 
+    # On Windows, errors like EINVAL or ENOENT may occur
+    # if a file or folder name exceeds 255 characters,
+    # or if the full path exceeds 260 characters and long path support isn't enabled.
+    # This condition checks for such cases and adds a hint to the error output.
+
+    if WINDOWS and error.errno in (errno.EINVAL, errno.ENOENT) and error.filename:
+        if any(len(part) > 255 for part in Path(error.filename).parts):
+            parts.append(
+                "HINT: This error might be caused by a file or folder name exceeding "
+                "255 characters, which is a Windows limitation even if long paths "
+                "are enabled.\n "
+            )
+        if len(error.filename) > 260:
+            parts.append(
+                "HINT: This error might have occurred since "
+                "this system does not have Windows Long Path "
+                "support enabled. You can find information on "
+                "how to enable this at "
+                "https://pip.pypa.io/warnings/enable-long-paths\n"
+            )
     return "".join(parts).strip() + "\n"
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/list.py b/.venv/Lib/site-packages/pip/_internal/commands/list.py
index e551dda..ad27e45 100644
--- a/.venv/Lib/site-packages/pip/_internal/commands/list.py
+++ b/.venv/Lib/site-packages/pip/_internal/commands/list.py
@@ -1,24 +1,27 @@
+from __future__ import annotations
+
 import json
 import logging
+from collections.abc import Generator, Sequence
+from email.parser import Parser
 from optparse import Values
-from typing import TYPE_CHECKING, Generator, List, Optional, Sequence, Tuple, cast
+from typing import TYPE_CHECKING, cast
 
 from pip._vendor.packaging.utils import canonicalize_name
+from pip._vendor.packaging.version import InvalidVersion, Version
 
 from pip._internal.cli import cmdoptions
-from pip._internal.cli.req_command import IndexGroupCommand
+from pip._internal.cli.index_command import IndexGroupCommand
 from pip._internal.cli.status_codes import SUCCESS
 from pip._internal.exceptions import CommandError
-from pip._internal.index.collector import LinkCollector
-from pip._internal.index.package_finder import PackageFinder
 from pip._internal.metadata import BaseDistribution, get_environment
 from pip._internal.models.selection_prefs import SelectionPreferences
-from pip._internal.network.session import PipSession
 from pip._internal.utils.compat import stdlib_pkgs
 from pip._internal.utils.misc import tabulate, write_output
 
 if TYPE_CHECKING:
-    from pip._internal.metadata.base import DistributionVersion
+    from pip._internal.index.package_finder import PackageFinder
+    from pip._internal.network.session import PipSession
 
     class _DistWithLatestInfo(BaseDistribution):
         """Give the distribution object a couple of extra fields.
@@ -27,7 +30,7 @@ if TYPE_CHECKING:
         makes the rest of the code much cleaner.
         """
 
-        latest_version: DistributionVersion
+        latest_version: Version
         latest_filetype: str
 
     _ProcessedDists = Sequence[_DistWithLatestInfo]
@@ -126,7 +129,7 @@ class ListCommand(IndexGroupCommand):
             "--include-editable",
             action="store_true",
             dest="include_editable",
-            help="Include editable package from output.",
+            help="Include editable package in output.",
             default=True,
         )
         self.cmd_opts.add_option(cmdoptions.list_exclude())
@@ -135,12 +138,20 @@ class ListCommand(IndexGroupCommand):
         self.parser.insert_option_group(0, index_opts)
         self.parser.insert_option_group(0, self.cmd_opts)
 
+    def handle_pip_version_check(self, options: Values) -> None:
+        if options.outdated or options.uptodate:
+            super().handle_pip_version_check(options)
+
     def _build_package_finder(
         self, options: Values, session: PipSession
     ) -> PackageFinder:
         """
         Create a package finder appropriate to this list command.
         """
+        # Lazy import the heavy index modules as most list invocations won't need 'em.
+        from pip._internal.index.collector import LinkCollector
+        from pip._internal.index.package_finder import PackageFinder
+
         link_collector = LinkCollector.create(session, options=options)
 
         # Pass allow_yanked=False to ignore yanked versions.
@@ -154,7 +165,7 @@ class ListCommand(IndexGroupCommand):
             selection_prefs=selection_prefs,
         )
 
-    def run(self, options: Values, args: List[str]) -> int:
+    def run(self, options: Values, args: list[str]) -> int:
         if options.outdated and options.uptodate:
             raise CommandError("Options --outdated and --uptodate cannot be combined.")
 
@@ -169,7 +180,7 @@ class ListCommand(IndexGroupCommand):
         if options.excludes:
             skip.update(canonicalize_name(n) for n in options.excludes)
 
-        packages: "_ProcessedDists" = [
+        packages: _ProcessedDists = [
             cast("_DistWithLatestInfo", d)
             for d in get_environment(options.path).iter_installed_distributions(
                 local_only=options.local,
@@ -196,8 +207,8 @@ class ListCommand(IndexGroupCommand):
         return SUCCESS
 
     def get_outdated(
-        self, packages: "_ProcessedDists", options: Values
-    ) -> "_ProcessedDists":
+        self, packages: _ProcessedDists, options: Values
+    ) -> _ProcessedDists:
         return [
             dist
             for dist in self.iter_packages_latest_infos(packages, options)
@@ -205,8 +216,8 @@ class ListCommand(IndexGroupCommand):
         ]
 
     def get_uptodate(
-        self, packages: "_ProcessedDists", options: Values
-    ) -> "_ProcessedDists":
+        self, packages: _ProcessedDists, options: Values
+    ) -> _ProcessedDists:
         return [
             dist
             for dist in self.iter_packages_latest_infos(packages, options)
@@ -214,8 +225,8 @@ class ListCommand(IndexGroupCommand):
         ]
 
     def get_not_required(
-        self, packages: "_ProcessedDists", options: Values
-    ) -> "_ProcessedDists":
+        self, packages: _ProcessedDists, options: Values
+    ) -> _ProcessedDists:
         dep_keys = {
             canonicalize_name(dep.name)
             for dist in packages
@@ -228,14 +239,14 @@ class ListCommand(IndexGroupCommand):
         return list({pkg for pkg in packages if pkg.canonical_name not in dep_keys})
 
     def iter_packages_latest_infos(
-        self, packages: "_ProcessedDists", options: Values
-    ) -> Generator["_DistWithLatestInfo", None, None]:
+        self, packages: _ProcessedDists, options: Values
+    ) -> Generator[_DistWithLatestInfo, None, None]:
         with self._build_session(options) as session:
             finder = self._build_package_finder(options, session)
 
             def latest_info(
-                dist: "_DistWithLatestInfo",
-            ) -> Optional["_DistWithLatestInfo"]:
+                dist: _DistWithLatestInfo,
+            ) -> _DistWithLatestInfo | None:
                 all_candidates = finder.find_all_candidates(dist.canonical_name)
                 if not options.pre:
                     # Remove prereleases
@@ -266,7 +277,7 @@ class ListCommand(IndexGroupCommand):
                     yield dist
 
     def output_package_listing(
-        self, packages: "_ProcessedDists", options: Values
+        self, packages: _ProcessedDists, options: Values
     ) -> None:
         packages = sorted(
             packages,
@@ -277,17 +288,19 @@ class ListCommand(IndexGroupCommand):
             self.output_package_listing_columns(data, header)
         elif options.list_format == "freeze":
             for dist in packages:
+                try:
+                    req_string = f"{dist.raw_name}=={dist.version}"
+                except InvalidVersion:
+                    req_string = f"{dist.raw_name}==={dist.raw_version}"
                 if options.verbose >= 1:
-                    write_output(
-                        "%s==%s (%s)", dist.raw_name, dist.version, dist.location
-                    )
+                    write_output("%s (%s)", req_string, dist.location)
                 else:
-                    write_output("%s==%s", dist.raw_name, dist.version)
+                    write_output(req_string)
         elif options.list_format == "json":
             write_output(format_for_json(packages, options))
 
     def output_package_listing_columns(
-        self, data: List[List[str]], header: List[str]
+        self, data: list[list[str]], header: list[str]
     ) -> None:
         # insert the header first: we need to know the size of column names
         if len(data) > 0:
@@ -304,8 +317,8 @@ class ListCommand(IndexGroupCommand):
 
 
 def format_for_columns(
-    pkgs: "_ProcessedDists", options: Values
-) -> Tuple[List[List[str]], List[str]]:
+    pkgs: _ProcessedDists, options: Values
+) -> tuple[list[list[str]], list[str]]:
     """
     Convert the package data into something usable
     by output_package_listing_columns.
@@ -316,25 +329,40 @@ def format_for_columns(
     if running_outdated:
         header.extend(["Latest", "Type"])
 
-    has_editables = any(x.editable for x in pkgs)
-    if has_editables:
-        header.append("Editable project location")
+    def wheel_build_tag(dist: BaseDistribution) -> str | None:
+        try:
+            wheel_file = dist.read_text("WHEEL")
+        except FileNotFoundError:
+            return None
+        return Parser().parsestr(wheel_file).get("Build")
+
+    build_tags = [wheel_build_tag(p) for p in pkgs]
+    has_build_tags = any(build_tags)
+    if has_build_tags:
+        header.append("Build")
 
     if options.verbose >= 1:
         header.append("Location")
     if options.verbose >= 1:
         header.append("Installer")
 
+    has_editables = any(x.editable for x in pkgs)
+    if has_editables:
+        header.append("Editable project location")
+
     data = []
-    for proj in pkgs:
+    for i, proj in enumerate(pkgs):
         # if we're working on the 'outdated' list, separate out the
         # latest_version and type
-        row = [proj.raw_name, str(proj.version)]
+        row = [proj.raw_name, proj.raw_version]
 
         if running_outdated:
             row.append(str(proj.latest_version))
             row.append(proj.latest_filetype)
 
+        if has_build_tags:
+            row.append(build_tags[i] or "")
+
         if has_editables:
             row.append(proj.editable_project_location or "")
 
@@ -348,12 +376,16 @@ def format_for_columns(
     return data, header
 
 
-def format_for_json(packages: "_ProcessedDists", options: Values) -> str:
+def format_for_json(packages: _ProcessedDists, options: Values) -> str:
     data = []
     for dist in packages:
+        try:
+            version = str(dist.version)
+        except InvalidVersion:
+            version = dist.raw_version
         info = {
             "name": dist.raw_name,
-            "version": str(dist.version),
+            "version": version,
         }
         if options.verbose >= 1:
             info["location"] = dist.location or ""
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/lock.py b/.venv/Lib/site-packages/pip/_internal/commands/lock.py
new file mode 100644
index 0000000..e4a978d
--- /dev/null
+++ b/.venv/Lib/site-packages/pip/_internal/commands/lock.py
@@ -0,0 +1,170 @@
+import sys
+from optparse import Values
+from pathlib import Path
+
+from pip._internal.cache import WheelCache
+from pip._internal.cli import cmdoptions
+from pip._internal.cli.req_command import (
+    RequirementCommand,
+    with_cleanup,
+)
+from pip._internal.cli.status_codes import SUCCESS
+from pip._internal.models.pylock import Pylock, is_valid_pylock_file_name
+from pip._internal.operations.build.build_tracker import get_build_tracker
+from pip._internal.req.req_install import (
+    check_legacy_setup_py_options,
+)
+from pip._internal.utils.logging import getLogger
+from pip._internal.utils.misc import (
+    get_pip_version,
+)
+from pip._internal.utils.temp_dir import TempDirectory
+
+logger = getLogger(__name__)
+
+
+class LockCommand(RequirementCommand):
+    """
+    EXPERIMENTAL - Lock packages and their dependencies from:
+
+    - PyPI (and other indexes) using requirement specifiers.
+    - VCS project urls.
+    - Local project directories.
+    - Local or remote source archives.
+
+    pip also supports locking from "requirements files", which provide an easy
+    way to specify a whole environment to be installed.
+
+    The generated lock file is only guaranteed to be valid for the current
+    python version and platform.
+    """
+
+    usage = """
+      %prog [options] [-e]  ...
+      %prog [options]  [package-index-options] ...
+      %prog [options] -r  [package-index-options] ...
+      %prog [options]  ..."""
+
+    def add_options(self) -> None:
+        self.cmd_opts.add_option(
+            cmdoptions.PipOption(
+                "--output",
+                "-o",
+                dest="output_file",
+                metavar="path",
+                type="path",
+                default="pylock.toml",
+                help="Lock file name (default=pylock.toml). Use - for stdout.",
+            )
+        )
+        self.cmd_opts.add_option(cmdoptions.requirements())
+        self.cmd_opts.add_option(cmdoptions.constraints())
+        self.cmd_opts.add_option(cmdoptions.no_deps())
+        self.cmd_opts.add_option(cmdoptions.pre())
+
+        self.cmd_opts.add_option(cmdoptions.editable())
+
+        self.cmd_opts.add_option(cmdoptions.src())
+
+        self.cmd_opts.add_option(cmdoptions.ignore_requires_python())
+        self.cmd_opts.add_option(cmdoptions.no_build_isolation())
+        self.cmd_opts.add_option(cmdoptions.use_pep517())
+        self.cmd_opts.add_option(cmdoptions.no_use_pep517())
+        self.cmd_opts.add_option(cmdoptions.check_build_deps())
+
+        self.cmd_opts.add_option(cmdoptions.config_settings())
+
+        self.cmd_opts.add_option(cmdoptions.no_binary())
+        self.cmd_opts.add_option(cmdoptions.only_binary())
+        self.cmd_opts.add_option(cmdoptions.prefer_binary())
+        self.cmd_opts.add_option(cmdoptions.require_hashes())
+        self.cmd_opts.add_option(cmdoptions.progress_bar())
+
+        index_opts = cmdoptions.make_option_group(
+            cmdoptions.index_group,
+            self.parser,
+        )
+
+        self.parser.insert_option_group(0, index_opts)
+        self.parser.insert_option_group(0, self.cmd_opts)
+
+    @with_cleanup
+    def run(self, options: Values, args: list[str]) -> int:
+        logger.verbose("Using %s", get_pip_version())
+
+        logger.warning(
+            "pip lock is currently an experimental command. "
+            "It may be removed/changed in a future release "
+            "without prior warning."
+        )
+
+        session = self.get_default_session(options)
+
+        finder = self._build_package_finder(
+            options=options,
+            session=session,
+            ignore_requires_python=options.ignore_requires_python,
+        )
+        build_tracker = self.enter_context(get_build_tracker())
+
+        directory = TempDirectory(
+            delete=not options.no_clean,
+            kind="install",
+            globally_managed=True,
+        )
+
+        reqs = self.get_requirements(args, options, finder, session)
+        check_legacy_setup_py_options(options, reqs)
+
+        wheel_cache = WheelCache(options.cache_dir)
+
+        # Only when installing is it permitted to use PEP 660.
+        # In other circumstances (pip wheel, pip download) we generate
+        # regular (i.e. non editable) metadata and wheels.
+        for req in reqs:
+            req.permit_editable_wheels = True
+
+        preparer = self.make_requirement_preparer(
+            temp_build_dir=directory,
+            options=options,
+            build_tracker=build_tracker,
+            session=session,
+            finder=finder,
+            use_user_site=False,
+            verbosity=self.verbosity,
+        )
+        resolver = self.make_resolver(
+            preparer=preparer,
+            finder=finder,
+            options=options,
+            wheel_cache=wheel_cache,
+            use_user_site=False,
+            ignore_installed=True,
+            ignore_requires_python=options.ignore_requires_python,
+            upgrade_strategy="to-satisfy-only",
+            use_pep517=options.use_pep517,
+        )
+
+        self.trace_basic_info(finder)
+
+        requirement_set = resolver.resolve(reqs, check_supported_wheels=True)
+
+        if options.output_file == "-":
+            base_dir = Path.cwd()
+        else:
+            output_file_path = Path(options.output_file)
+            if not is_valid_pylock_file_name(output_file_path):
+                logger.warning(
+                    "%s is not a valid lock file name.",
+                    output_file_path,
+                )
+            base_dir = output_file_path.parent
+        pylock_toml = Pylock.from_install_requirements(
+            requirement_set.requirements.values(), base_dir=base_dir
+        ).as_toml()
+        if options.output_file == "-":
+            sys.stdout.write(pylock_toml)
+        else:
+            output_file_path.write_text(pylock_toml, encoding="utf-8")
+
+        return SUCCESS
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/search.py b/.venv/Lib/site-packages/pip/_internal/commands/search.py
index 03ed925..b8dbc27 100644
--- a/.venv/Lib/site-packages/pip/_internal/commands/search.py
+++ b/.venv/Lib/site-packages/pip/_internal/commands/search.py
@@ -1,3 +1,5 @@
+from __future__ import annotations
+
 import logging
 import shutil
 import sys
@@ -5,7 +7,7 @@ import textwrap
 import xmlrpc.client
 from collections import OrderedDict
 from optparse import Values
-from typing import TYPE_CHECKING, Dict, List, Optional
+from typing import TypedDict
 
 from pip._vendor.packaging.version import parse as parse_version
 
@@ -14,18 +16,17 @@ from pip._internal.cli.req_command import SessionCommandMixin
 from pip._internal.cli.status_codes import NO_MATCHES_FOUND, SUCCESS
 from pip._internal.exceptions import CommandError
 from pip._internal.metadata import get_default_environment
+from pip._internal.metadata.base import BaseDistribution
 from pip._internal.models.index import PyPI
 from pip._internal.network.xmlrpc import PipXmlrpcTransport
 from pip._internal.utils.logging import indent_log
 from pip._internal.utils.misc import write_output
 
-if TYPE_CHECKING:
-    from typing import TypedDict
 
-    class TransformedHit(TypedDict):
-        name: str
-        summary: str
-        versions: List[str]
+class TransformedHit(TypedDict):
+    name: str
+    summary: str
+    versions: list[str]
 
 
 logger = logging.getLogger(__name__)
@@ -50,7 +51,7 @@ class SearchCommand(Command, SessionCommandMixin):
 
         self.parser.insert_option_group(0, self.cmd_opts)
 
-    def run(self, options: Values, args: List[str]) -> int:
+    def run(self, options: Values, args: list[str]) -> int:
         if not args:
             raise CommandError("Missing required argument (search query).")
         query = args
@@ -66,7 +67,7 @@ class SearchCommand(Command, SessionCommandMixin):
             return SUCCESS
         return NO_MATCHES_FOUND
 
-    def search(self, query: List[str], options: Values) -> List[Dict[str, str]]:
+    def search(self, query: list[str], options: Values) -> list[dict[str, str]]:
         index_url = options.index
 
         session = self.get_default_session(options)
@@ -76,22 +77,21 @@ class SearchCommand(Command, SessionCommandMixin):
         try:
             hits = pypi.search({"name": query, "summary": query}, "or")
         except xmlrpc.client.Fault as fault:
-            message = "XMLRPC request failed [code: {code}]\n{string}".format(
-                code=fault.faultCode,
-                string=fault.faultString,
+            message = (
+                f"XMLRPC request failed [code: {fault.faultCode}]\n{fault.faultString}"
             )
             raise CommandError(message)
         assert isinstance(hits, list)
         return hits
 
 
-def transform_hits(hits: List[Dict[str, str]]) -> List["TransformedHit"]:
+def transform_hits(hits: list[dict[str, str]]) -> list[TransformedHit]:
     """
     The list from pypi is really a list of versions. We want a list of
     packages with the list of versions stored inline. This converts the
     list from pypi into one we can use.
     """
-    packages: Dict[str, "TransformedHit"] = OrderedDict()
+    packages: dict[str, TransformedHit] = OrderedDict()
     for hit in hits:
         name = hit["name"]
         summary = hit["summary"]
@@ -113,9 +113,7 @@ def transform_hits(hits: List[Dict[str, str]]) -> List["TransformedHit"]:
     return list(packages.values())
 
 
-def print_dist_installation_info(name: str, latest: str) -> None:
-    env = get_default_environment()
-    dist = env.get_distribution(name)
+def print_dist_installation_info(latest: str, dist: BaseDistribution | None) -> None:
     if dist is not None:
         with indent_log():
             if dist.version == latest:
@@ -132,10 +130,15 @@ def print_dist_installation_info(name: str, latest: str) -> None:
                     write_output("LATEST:    %s", latest)
 
 
+def get_installed_distribution(name: str) -> BaseDistribution | None:
+    env = get_default_environment()
+    return env.get_distribution(name)
+
+
 def print_results(
-    hits: List["TransformedHit"],
-    name_column_width: Optional[int] = None,
-    terminal_width: Optional[int] = None,
+    hits: list[TransformedHit],
+    name_column_width: int | None = None,
+    terminal_width: int | None = None,
 ) -> None:
     if not hits:
         return
@@ -165,10 +168,11 @@ def print_results(
         line = f"{name_latest:{name_column_width}} - {summary}"
         try:
             write_output(line)
-            print_dist_installation_info(name, latest)
+            dist = get_installed_distribution(name)
+            print_dist_installation_info(latest, dist)
         except UnicodeEncodeError:
             pass
 
 
-def highest_version(versions: List[str]) -> str:
+def highest_version(versions: list[str]) -> str:
     return max(versions, key=parse_version)
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/show.py b/.venv/Lib/site-packages/pip/_internal/commands/show.py
index 3f10701..f9fcfa6 100644
--- a/.venv/Lib/site-packages/pip/_internal/commands/show.py
+++ b/.venv/Lib/site-packages/pip/_internal/commands/show.py
@@ -1,7 +1,12 @@
-import logging
-from optparse import Values
-from typing import Generator, Iterable, Iterator, List, NamedTuple, Optional
+from __future__ import annotations
 
+import logging
+import string
+from collections.abc import Generator, Iterable, Iterator
+from optparse import Values
+from typing import NamedTuple
+
+from pip._vendor.packaging.requirements import InvalidRequirement
 from pip._vendor.packaging.utils import canonicalize_name
 
 from pip._internal.cli.base_command import Command
@@ -12,6 +17,13 @@ from pip._internal.utils.misc import write_output
 logger = logging.getLogger(__name__)
 
 
+def normalize_project_url_label(label: str) -> str:
+    # This logic is from PEP 753 (Well-known Project URLs in Metadata).
+    chars_to_remove = string.punctuation + string.whitespace
+    removal_map = str.maketrans("", "", chars_to_remove)
+    return label.translate(removal_map).lower()
+
+
 class ShowCommand(Command):
     """
     Show information about one or more installed packages.
@@ -35,7 +47,7 @@ class ShowCommand(Command):
 
         self.parser.insert_option_group(0, self.cmd_opts)
 
-    def run(self, options: Values, args: List[str]) -> int:
+    def run(self, options: Values, args: list[str]) -> int:
         if not args:
             logger.warning("ERROR: Please provide a package name or names.")
             return ERROR
@@ -53,23 +65,24 @@ class _PackageInfo(NamedTuple):
     name: str
     version: str
     location: str
-    editable_project_location: Optional[str]
-    requires: List[str]
-    required_by: List[str]
+    editable_project_location: str | None
+    requires: list[str]
+    required_by: list[str]
     installer: str
     metadata_version: str
-    classifiers: List[str]
+    classifiers: list[str]
     summary: str
     homepage: str
-    project_urls: List[str]
+    project_urls: list[str]
     author: str
     author_email: str
     license: str
-    entry_points: List[str]
-    files: Optional[List[str]]
+    license_expression: str
+    entry_points: list[str]
+    files: list[str] | None
 
 
-def search_packages_info(query: List[str]) -> Generator[_PackageInfo, None, None]:
+def search_packages_info(query: list[str]) -> Generator[_PackageInfo, None, None]:
     """
     Gather details from installed distributions. Print distribution name,
     version, location, and installed files. Installed files requires a
@@ -100,8 +113,19 @@ def search_packages_info(query: List[str]) -> Generator[_PackageInfo, None, None
         except KeyError:
             continue
 
-        requires = sorted((req.name for req in dist.iter_dependencies()), key=str.lower)
-        required_by = sorted(_get_requiring_packages(dist), key=str.lower)
+        try:
+            requires = sorted(
+                # Avoid duplicates in requirements (e.g. due to environment markers).
+                {req.name for req in dist.iter_dependencies()},
+                key=str.lower,
+            )
+        except InvalidRequirement:
+            requires = sorted(dist.iter_raw_dependencies(), key=str.lower)
+
+        try:
+            required_by = sorted(_get_requiring_packages(dist), key=str.lower)
+        except InvalidRequirement:
+            required_by = ["#N/A"]
 
         try:
             entry_points_text = dist.read_text("entry_points.txt")
@@ -111,15 +135,27 @@ def search_packages_info(query: List[str]) -> Generator[_PackageInfo, None, None
 
         files_iter = dist.iter_declared_entries()
         if files_iter is None:
-            files: Optional[List[str]] = None
+            files: list[str] | None = None
         else:
             files = sorted(files_iter)
 
         metadata = dist.metadata
 
+        project_urls = metadata.get_all("Project-URL", [])
+        homepage = metadata.get("Home-page", "")
+        if not homepage:
+            # It's common that there is a "homepage" Project-URL, but Home-page
+            # remains unset (especially as PEP 621 doesn't surface the field).
+            for url in project_urls:
+                url_label, url = url.split(",", maxsplit=1)
+                normalized_label = normalize_project_url_label(url_label)
+                if normalized_label == "homepage":
+                    homepage = url.strip()
+                    break
+
         yield _PackageInfo(
             name=dist.raw_name,
-            version=str(dist.version),
+            version=dist.raw_version,
             location=dist.location or "",
             editable_project_location=dist.editable_project_location,
             requires=requires,
@@ -128,11 +164,12 @@ def search_packages_info(query: List[str]) -> Generator[_PackageInfo, None, None
             metadata_version=dist.metadata_version or "",
             classifiers=metadata.get_all("Classifier", []),
             summary=metadata.get("Summary", ""),
-            homepage=metadata.get("Home-page", ""),
-            project_urls=metadata.get_all("Project-URL", []),
+            homepage=homepage,
+            project_urls=project_urls,
             author=metadata.get("Author", ""),
             author_email=metadata.get("Author-email", ""),
             license=metadata.get("License", ""),
+            license_expression=metadata.get("License-Expression", ""),
             entry_points=entry_points,
             files=files,
         )
@@ -152,13 +189,18 @@ def print_results(
         if i > 0:
             write_output("---")
 
+        metadata_version_tuple = tuple(map(int, dist.metadata_version.split(".")))
+
         write_output("Name: %s", dist.name)
         write_output("Version: %s", dist.version)
         write_output("Summary: %s", dist.summary)
         write_output("Home-page: %s", dist.homepage)
         write_output("Author: %s", dist.author)
         write_output("Author-email: %s", dist.author_email)
-        write_output("License: %s", dist.license)
+        if metadata_version_tuple >= (2, 4) and dist.license_expression:
+            write_output("License-Expression: %s", dist.license_expression)
+        else:
+            write_output("License: %s", dist.license)
         write_output("Location: %s", dist.location)
         if dist.editable_project_location is not None:
             write_output(
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/uninstall.py b/.venv/Lib/site-packages/pip/_internal/commands/uninstall.py
index f198fc3..9c4f031 100644
--- a/.venv/Lib/site-packages/pip/_internal/commands/uninstall.py
+++ b/.venv/Lib/site-packages/pip/_internal/commands/uninstall.py
@@ -1,12 +1,11 @@
 import logging
 from optparse import Values
-from typing import List
 
 from pip._vendor.packaging.utils import canonicalize_name
 
 from pip._internal.cli import cmdoptions
 from pip._internal.cli.base_command import Command
-from pip._internal.cli.req_command import SessionCommandMixin, warn_if_run_as_root
+from pip._internal.cli.index_command import SessionCommandMixin
 from pip._internal.cli.status_codes import SUCCESS
 from pip._internal.exceptions import InstallationError
 from pip._internal.req import parse_requirements
@@ -17,6 +16,7 @@ from pip._internal.req.constructors import (
 from pip._internal.utils.misc import (
     check_externally_managed,
     protect_pip_from_modification_on_windows,
+    warn_if_run_as_root,
 )
 
 logger = logging.getLogger(__name__)
@@ -61,7 +61,7 @@ class UninstallCommand(Command, SessionCommandMixin):
         self.cmd_opts.add_option(cmdoptions.override_externally_managed())
         self.parser.insert_option_group(0, self.cmd_opts)
 
-    def run(self, options: Values, args: List[str]) -> int:
+    def run(self, options: Values, args: list[str]) -> int:
         session = self.get_default_session(options)
 
         reqs_to_uninstall = {}
diff --git a/.venv/Lib/site-packages/pip/_internal/commands/wheel.py b/.venv/Lib/site-packages/pip/_internal/commands/wheel.py
index ed578aa..61be254 100644
--- a/.venv/Lib/site-packages/pip/_internal/commands/wheel.py
+++ b/.venv/Lib/site-packages/pip/_internal/commands/wheel.py
@@ -2,7 +2,6 @@ import logging
 import os
 import shutil
 from optparse import Values
-from typing import List
 
 from pip._internal.cache import WheelCache
 from pip._internal.cli import cmdoptions
@@ -16,7 +15,7 @@ from pip._internal.req.req_install import (
 )
 from pip._internal.utils.misc import ensure_dir, normalize_path
 from pip._internal.utils.temp_dir import TempDirectory
-from pip._internal.wheel_builder import build, should_build_for_wheel_command
+from pip._internal.wheel_builder import build
 
 logger = logging.getLogger(__name__)
 
@@ -101,7 +100,7 @@ class WheelCommand(RequirementCommand):
         self.parser.insert_option_group(0, self.cmd_opts)
 
     @with_cleanup
-    def run(self, options: Values, args: List[str]) -> int:
+    def run(self, options: Values, args: list[str]) -> int:
         session = self.get_default_session(options)
 
         finder = self._build_package_finder(options, session)
@@ -146,15 +145,14 @@ class WheelCommand(RequirementCommand):
 
         requirement_set = resolver.resolve(reqs, check_supported_wheels=True)
 
-        reqs_to_build: List[InstallRequirement] = []
+        reqs_to_build: list[InstallRequirement] = []
         for req in requirement_set.requirements.values():
             if req.is_wheel:
                 preparer.save_linked_requirement(req)
-            elif should_build_for_wheel_command(req):
+            else:
                 reqs_to_build.append(req)
 
         preparer.prepare_linked_requirements_more(requirement_set.requirements.values())
-        requirement_set.warn_legacy_versions_and_specifiers()
 
         # build wheels
         build_successes, build_failures = build(
diff --git a/.venv/Lib/site-packages/pip/_internal/configuration.py b/.venv/Lib/site-packages/pip/_internal/configuration.py
index c25273d..f581a2c 100644
--- a/.venv/Lib/site-packages/pip/_internal/configuration.py
+++ b/.venv/Lib/site-packages/pip/_internal/configuration.py
@@ -11,11 +11,14 @@ Some terminology:
   A single word describing where the configuration key-value pair came from
 """
 
+from __future__ import annotations
+
 import configparser
 import locale
 import os
 import sys
-from typing import Any, Dict, Iterable, List, NewType, Optional, Tuple
+from collections.abc import Iterable
+from typing import Any, NewType
 
 from pip._internal.exceptions import (
     ConfigurationError,
@@ -55,7 +58,7 @@ def _normalize_name(name: str) -> str:
     return name
 
 
-def _disassemble_key(name: str) -> List[str]:
+def _disassemble_key(name: str) -> list[str]:
     if "." not in name:
         error_message = (
             "Key does not contain dot separated section and key. "
@@ -65,7 +68,7 @@ def _disassemble_key(name: str) -> List[str]:
     return name.split(".", 1)
 
 
-def get_configuration_files() -> Dict[Kind, List[str]]:
+def get_configuration_files() -> dict[Kind, list[str]]:
     global_config_files = [
         os.path.join(path, CONFIG_BASENAME) for path in appdirs.site_config_dirs("pip")
     ]
@@ -98,7 +101,7 @@ class Configuration:
     and the data stored is also nice.
     """
 
-    def __init__(self, isolated: bool, load_only: Optional[Kind] = None) -> None:
+    def __init__(self, isolated: bool, load_only: Kind | None = None) -> None:
         super().__init__()
 
         if load_only is not None and load_only not in VALID_LOAD_ONLY:
@@ -111,13 +114,13 @@ class Configuration:
         self.load_only = load_only
 
         # Because we keep track of where we got the data from
-        self._parsers: Dict[Kind, List[Tuple[str, RawConfigParser]]] = {
+        self._parsers: dict[Kind, list[tuple[str, RawConfigParser]]] = {
             variant: [] for variant in OVERRIDE_ORDER
         }
-        self._config: Dict[Kind, Dict[str, Any]] = {
+        self._config: dict[Kind, dict[str, dict[str, Any]]] = {
             variant: {} for variant in OVERRIDE_ORDER
         }
-        self._modified_parsers: List[Tuple[str, RawConfigParser]] = []
+        self._modified_parsers: list[tuple[str, RawConfigParser]] = []
 
     def load(self) -> None:
         """Loads configuration from configuration files and environment"""
@@ -125,7 +128,7 @@ class Configuration:
         if not self.isolated:
             self._load_environment_vars()
 
-    def get_file_to_edit(self) -> Optional[str]:
+    def get_file_to_edit(self) -> str | None:
         """Returns the file with highest priority in configuration"""
         assert self.load_only is not None, "Need to be specified a file to be editing"
 
@@ -134,7 +137,7 @@ class Configuration:
         except IndexError:
             return None
 
-    def items(self) -> Iterable[Tuple[str, Any]]:
+    def items(self) -> Iterable[tuple[str, Any]]:
         """Returns key-value pairs like dict.items() representing the loaded
         configuration
         """
@@ -145,7 +148,10 @@ class Configuration:
         orig_key = key
         key = _normalize_name(key)
         try:
-            return self._dictionary[key]
+            clean_config: dict[str, Any] = {}
+            for file_values in self._dictionary.values():
+                clean_config.update(file_values)
+            return clean_config[key]
         except KeyError:
             # disassembling triggers a more useful error message than simply
             # "No such key" in the case that the key isn't in the form command.option
@@ -168,7 +174,8 @@ class Configuration:
                 parser.add_section(section)
             parser.set(section, name, value)
 
-        self._config[self.load_only][key] = value
+        self._config[self.load_only].setdefault(fname, {})
+        self._config[self.load_only][fname][key] = value
         self._mark_as_modified(fname, parser)
 
     def unset_value(self, key: str) -> None:
@@ -178,11 +185,14 @@ class Configuration:
         self._ensure_have_load_only()
 
         assert self.load_only
-        if key not in self._config[self.load_only]:
-            raise ConfigurationError(f"No such key - {orig_key}")
-
         fname, parser = self._get_parser_to_modify()
 
+        if (
+            key not in self._config[self.load_only][fname]
+            and key not in self._config[self.load_only]
+        ):
+            raise ConfigurationError(f"No such key - {orig_key}")
+
         if parser is not None:
             section, name = _disassemble_key(key)
             if not (
@@ -197,8 +207,10 @@ class Configuration:
             if not parser.items(section):
                 parser.remove_section(section)
             self._mark_as_modified(fname, parser)
-
-        del self._config[self.load_only][key]
+        try:
+            del self._config[self.load_only][fname][key]
+        except KeyError:
+            del self._config[self.load_only][key]
 
     def save(self) -> None:
         """Save the current in-memory state."""
@@ -230,7 +242,7 @@ class Configuration:
         logger.debug("Will be working with %s variant only", self.load_only)
 
     @property
-    def _dictionary(self) -> Dict[str, Any]:
+    def _dictionary(self) -> dict[str, dict[str, Any]]:
         """A dictionary representing the loaded configuration."""
         # NOTE: Dictionaries are not populated if not loaded. So, conditionals
         #       are not needed here.
@@ -270,7 +282,8 @@ class Configuration:
 
         for section in parser.sections():
             items = parser.items(section)
-            self._config[variant].update(self._normalized_keys(section, items))
+            self._config[variant].setdefault(fname, {})
+            self._config[variant][fname].update(self._normalized_keys(section, items))
 
         return parser
 
@@ -297,13 +310,14 @@ class Configuration:
 
     def _load_environment_vars(self) -> None:
         """Loads configuration from environment variables"""
-        self._config[kinds.ENV_VAR].update(
+        self._config[kinds.ENV_VAR].setdefault(":env:", {})
+        self._config[kinds.ENV_VAR][":env:"].update(
             self._normalized_keys(":env:", self.get_environ_vars())
         )
 
     def _normalized_keys(
-        self, section: str, items: Iterable[Tuple[str, Any]]
-    ) -> Dict[str, Any]:
+        self, section: str, items: Iterable[tuple[str, Any]]
+    ) -> dict[str, Any]:
         """Normalizes items to construct a dictionary with normalized keys.
 
         This routine is where the names become keys and are made the same
@@ -315,7 +329,7 @@ class Configuration:
             normalized[key] = val
         return normalized
 
-    def get_environ_vars(self) -> Iterable[Tuple[str, str]]:
+    def get_environ_vars(self) -> Iterable[tuple[str, str]]:
         """Returns a generator with all environmental vars with prefix PIP_"""
         for key, val in os.environ.items():
             if key.startswith("PIP_"):
@@ -324,13 +338,13 @@ class Configuration:
                     yield name, val
 
     # XXX: This is patched in the tests.
-    def iter_config_files(self) -> Iterable[Tuple[Kind, List[str]]]:
+    def iter_config_files(self) -> Iterable[tuple[Kind, list[str]]]:
         """Yields variant and configuration files associated with it.
 
         This should be treated like items of a dictionary. The order
         here doesn't affect what gets overridden. That is controlled
         by OVERRIDE_ORDER. However this does control the order they are
-        displayed to the user. It's probably most ergononmic to display
+        displayed to the user. It's probably most ergonomic to display
         things in the same order as OVERRIDE_ORDER
         """
         # SMELL: Move the conditions out of this function
@@ -356,11 +370,11 @@ class Configuration:
         else:
             yield kinds.ENV, []
 
-    def get_values_in_config(self, variant: Kind) -> Dict[str, Any]:
+    def get_values_in_config(self, variant: Kind) -> dict[str, Any]:
         """Get values present in a config file"""
         return self._config[variant]
 
-    def _get_parser_to_modify(self) -> Tuple[str, RawConfigParser]:
+    def _get_parser_to_modify(self) -> tuple[str, RawConfigParser]:
         # Determine which parser to modify
         assert self.load_only
         parsers = self._parsers[self.load_only]
diff --git a/.venv/Lib/site-packages/pip/_internal/distributions/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/distributions/__pycache__/__init__.cpython-311.pyc
index 544879b..c1bffab 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/distributions/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/distributions/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/distributions/__pycache__/base.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/distributions/__pycache__/base.cpython-311.pyc
index 6614afe..65c3fc8 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/distributions/__pycache__/base.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/distributions/__pycache__/base.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/distributions/__pycache__/installed.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/distributions/__pycache__/installed.cpython-311.pyc
index da8b7f2..f220d13 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/distributions/__pycache__/installed.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/distributions/__pycache__/installed.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/distributions/__pycache__/sdist.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/distributions/__pycache__/sdist.cpython-311.pyc
index 10179aa..e22d6a1 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/distributions/__pycache__/sdist.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/distributions/__pycache__/sdist.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/distributions/__pycache__/wheel.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/distributions/__pycache__/wheel.cpython-311.pyc
index 44c8e3f..dddddb3 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/distributions/__pycache__/wheel.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/distributions/__pycache__/wheel.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/distributions/base.py b/.venv/Lib/site-packages/pip/_internal/distributions/base.py
index 6fb0d7b..ea61f35 100644
--- a/.venv/Lib/site-packages/pip/_internal/distributions/base.py
+++ b/.venv/Lib/site-packages/pip/_internal/distributions/base.py
@@ -1,10 +1,14 @@
-import abc
-from typing import Optional
+from __future__ import annotations
+
+import abc
+from typing import TYPE_CHECKING
 
-from pip._internal.index.package_finder import PackageFinder
 from pip._internal.metadata.base import BaseDistribution
 from pip._internal.req import InstallRequirement
 
+if TYPE_CHECKING:
+    from pip._internal.build_env import BuildEnvironmentInstaller
+
 
 class AbstractDistribution(metaclass=abc.ABCMeta):
     """A base class for handling installable artifacts.
@@ -30,7 +34,7 @@ class AbstractDistribution(metaclass=abc.ABCMeta):
         self.req = req
 
     @abc.abstractproperty
-    def build_tracker_id(self) -> Optional[str]:
+    def build_tracker_id(self) -> str | None:
         """A string that uniquely identifies this requirement to the build tracker.
 
         If None, then this dist has no work to do in the build tracker, and
@@ -44,7 +48,7 @@ class AbstractDistribution(metaclass=abc.ABCMeta):
     @abc.abstractmethod
     def prepare_distribution_metadata(
         self,
-        finder: PackageFinder,
+        build_env_installer: BuildEnvironmentInstaller,
         build_isolation: bool,
         check_build_deps: bool,
     ) -> None:
diff --git a/.venv/Lib/site-packages/pip/_internal/distributions/installed.py b/.venv/Lib/site-packages/pip/_internal/distributions/installed.py
index ab8d53b..b6a67df 100644
--- a/.venv/Lib/site-packages/pip/_internal/distributions/installed.py
+++ b/.venv/Lib/site-packages/pip/_internal/distributions/installed.py
@@ -1,9 +1,13 @@
-from typing import Optional
+from __future__ import annotations
+
+from typing import TYPE_CHECKING
 
 from pip._internal.distributions.base import AbstractDistribution
-from pip._internal.index.package_finder import PackageFinder
 from pip._internal.metadata import BaseDistribution
 
+if TYPE_CHECKING:
+    from pip._internal.build_env import BuildEnvironmentInstaller
+
 
 class InstalledDistribution(AbstractDistribution):
     """Represents an installed package.
@@ -13,7 +17,7 @@ class InstalledDistribution(AbstractDistribution):
     """
 
     @property
-    def build_tracker_id(self) -> Optional[str]:
+    def build_tracker_id(self) -> str | None:
         return None
 
     def get_metadata_distribution(self) -> BaseDistribution:
@@ -22,7 +26,7 @@ class InstalledDistribution(AbstractDistribution):
 
     def prepare_distribution_metadata(
         self,
-        finder: PackageFinder,
+        build_env_installer: BuildEnvironmentInstaller,
         build_isolation: bool,
         check_build_deps: bool,
     ) -> None:
diff --git a/.venv/Lib/site-packages/pip/_internal/distributions/sdist.py b/.venv/Lib/site-packages/pip/_internal/distributions/sdist.py
index 15ff42b..e2821f8 100644
--- a/.venv/Lib/site-packages/pip/_internal/distributions/sdist.py
+++ b/.venv/Lib/site-packages/pip/_internal/distributions/sdist.py
@@ -1,13 +1,18 @@
+from __future__ import annotations
+
 import logging
-from typing import Iterable, Optional, Set, Tuple
+from collections.abc import Iterable
+from typing import TYPE_CHECKING
 
 from pip._internal.build_env import BuildEnvironment
 from pip._internal.distributions.base import AbstractDistribution
 from pip._internal.exceptions import InstallationError
-from pip._internal.index.package_finder import PackageFinder
 from pip._internal.metadata import BaseDistribution
 from pip._internal.utils.subprocess import runner_with_spinner_message
 
+if TYPE_CHECKING:
+    from pip._internal.build_env import BuildEnvironmentInstaller
+
 logger = logging.getLogger(__name__)
 
 
@@ -19,7 +24,7 @@ class SourceDistribution(AbstractDistribution):
     """
 
     @property
-    def build_tracker_id(self) -> Optional[str]:
+    def build_tracker_id(self) -> str | None:
         """Identify this requirement uniquely by its link."""
         assert self.req.link
         return self.req.link.url_without_fragment
@@ -29,7 +34,7 @@ class SourceDistribution(AbstractDistribution):
 
     def prepare_distribution_metadata(
         self,
-        finder: PackageFinder,
+        build_env_installer: BuildEnvironmentInstaller,
         build_isolation: bool,
         check_build_deps: bool,
     ) -> None:
@@ -41,7 +46,7 @@ class SourceDistribution(AbstractDistribution):
         if should_isolate:
             # Setup an isolated environment and install the build backend static
             # requirements in it.
-            self._prepare_build_backend(finder)
+            self._prepare_build_backend(build_env_installer)
             # Check that if the requirement is editable, it either supports PEP 660 or
             # has a setup.py or a setup.cfg. This cannot be done earlier because we need
             # to setup the build backend to verify it supports build_editable, nor can
@@ -51,7 +56,7 @@ class SourceDistribution(AbstractDistribution):
             # without setup.py nor setup.cfg.
             self.req.isolated_editable_sanity_check()
             # Install the dynamic build requirements.
-            self._install_build_reqs(finder)
+            self._install_build_reqs(build_env_installer)
         # Check if the current environment provides build dependencies
         should_check_deps = self.req.use_pep517 and check_build_deps
         if should_check_deps:
@@ -66,15 +71,17 @@ class SourceDistribution(AbstractDistribution):
                 self._raise_missing_reqs(missing)
         self.req.prepare_metadata()
 
-    def _prepare_build_backend(self, finder: PackageFinder) -> None:
+    def _prepare_build_backend(
+        self, build_env_installer: BuildEnvironmentInstaller
+    ) -> None:
         # Isolate in a BuildEnvironment and install the build-time
         # requirements.
         pyproject_requires = self.req.pyproject_requires
         assert pyproject_requires is not None
 
-        self.req.build_env = BuildEnvironment()
+        self.req.build_env = BuildEnvironment(build_env_installer)
         self.req.build_env.install_requirements(
-            finder, pyproject_requires, "overlay", kind="build dependencies"
+            pyproject_requires, "overlay", kind="build dependencies", for_req=self.req
         )
         conflicting, missing = self.req.build_env.check_requirements(
             self.req.requirements_to_check
@@ -110,14 +117,16 @@ class SourceDistribution(AbstractDistribution):
             with backend.subprocess_runner(runner):
                 return backend.get_requires_for_build_editable()
 
-    def _install_build_reqs(self, finder: PackageFinder) -> None:
+    def _install_build_reqs(
+        self, build_env_installer: BuildEnvironmentInstaller
+    ) -> None:
         # Install any extra build dependencies that the backend requests.
         # This must be done in a second pass, as the pyproject.toml
         # dependencies must be installed before we can call the backend.
         if (
             self.req.editable
             and self.req.permit_editable_wheels
-            and self.req.supports_pyproject_editable()
+            and self.req.supports_pyproject_editable
         ):
             build_reqs = self._get_build_requires_editable()
         else:
@@ -126,11 +135,11 @@ class SourceDistribution(AbstractDistribution):
         if conflicting:
             self._raise_conflicts("the backend dependencies", conflicting)
         self.req.build_env.install_requirements(
-            finder, missing, "normal", kind="backend dependencies"
+            missing, "normal", kind="backend dependencies", for_req=self.req
         )
 
     def _raise_conflicts(
-        self, conflicting_with: str, conflicting_reqs: Set[Tuple[str, str]]
+        self, conflicting_with: str, conflicting_reqs: set[tuple[str, str]]
     ) -> None:
         format_string = (
             "Some build dependencies for {requirement} "
@@ -146,7 +155,7 @@ class SourceDistribution(AbstractDistribution):
         )
         raise InstallationError(error_message)
 
-    def _raise_missing_reqs(self, missing: Set[str]) -> None:
+    def _raise_missing_reqs(self, missing: set[str]) -> None:
         format_string = (
             "Some build dependencies for {requirement} are missing: {missing}."
         )
diff --git a/.venv/Lib/site-packages/pip/_internal/distributions/wheel.py b/.venv/Lib/site-packages/pip/_internal/distributions/wheel.py
index eb16e25..ee12bfa 100644
--- a/.venv/Lib/site-packages/pip/_internal/distributions/wheel.py
+++ b/.venv/Lib/site-packages/pip/_internal/distributions/wheel.py
@@ -1,15 +1,19 @@
-from typing import Optional
+from __future__ import annotations
+
+from typing import TYPE_CHECKING
 
 from pip._vendor.packaging.utils import canonicalize_name
 
 from pip._internal.distributions.base import AbstractDistribution
-from pip._internal.index.package_finder import PackageFinder
 from pip._internal.metadata import (
     BaseDistribution,
     FilesystemWheel,
     get_wheel_distribution,
 )
 
+if TYPE_CHECKING:
+    from pip._internal.build_env import BuildEnvironmentInstaller
+
 
 class WheelDistribution(AbstractDistribution):
     """Represents a wheel distribution.
@@ -18,7 +22,7 @@ class WheelDistribution(AbstractDistribution):
     """
 
     @property
-    def build_tracker_id(self) -> Optional[str]:
+    def build_tracker_id(self) -> str | None:
         return None
 
     def get_metadata_distribution(self) -> BaseDistribution:
@@ -33,7 +37,7 @@ class WheelDistribution(AbstractDistribution):
 
     def prepare_distribution_metadata(
         self,
-        finder: PackageFinder,
+        build_env_installer: BuildEnvironmentInstaller,
         build_isolation: bool,
         check_build_deps: bool,
     ) -> None:
diff --git a/.venv/Lib/site-packages/pip/_internal/exceptions.py b/.venv/Lib/site-packages/pip/_internal/exceptions.py
index 5007a62..98f9549 100644
--- a/.venv/Lib/site-packages/pip/_internal/exceptions.py
+++ b/.venv/Lib/site-packages/pip/_internal/exceptions.py
@@ -5,6 +5,8 @@ operate. This is expected to be importable from any/all files within the
 subpackage and, thus, should not depend on them.
 """
 
+from __future__ import annotations
+
 import configparser
 import contextlib
 import locale
@@ -12,19 +14,23 @@ import logging
 import pathlib
 import re
 import sys
+from collections.abc import Iterator
 from itertools import chain, groupby, repeat
-from typing import TYPE_CHECKING, Dict, Iterator, List, Optional, Union
+from typing import TYPE_CHECKING, Literal
 
-from pip._vendor.requests.models import Request, Response
+from pip._vendor.packaging.requirements import InvalidRequirement
+from pip._vendor.packaging.version import InvalidVersion
 from pip._vendor.rich.console import Console, ConsoleOptions, RenderResult
 from pip._vendor.rich.markup import escape
 from pip._vendor.rich.text import Text
 
 if TYPE_CHECKING:
     from hashlib import _Hash
-    from typing import Literal
+
+    from pip._vendor.requests.models import Request, Response
 
     from pip._internal.metadata import BaseDistribution
+    from pip._internal.network.download import _FileDownload
     from pip._internal.req.req_install import InstallRequirement
 
 logger = logging.getLogger(__name__)
@@ -38,7 +44,7 @@ def _is_kebab_case(s: str) -> bool:
 
 
 def _prefix_with_indent(
-    s: Union[Text, str],
+    s: Text | str,
     console: Console,
     *,
     prefix: str,
@@ -74,13 +80,13 @@ class DiagnosticPipError(PipError):
     def __init__(
         self,
         *,
-        kind: 'Literal["error", "warning"]' = "error",
-        reference: Optional[str] = None,
-        message: Union[str, Text],
-        context: Optional[Union[str, Text]],
-        hint_stmt: Optional[Union[str, Text]],
-        note_stmt: Optional[Union[str, Text]] = None,
-        link: Optional[str] = None,
+        kind: Literal["error", "warning"] = "error",
+        reference: str | None = None,
+        message: str | Text,
+        context: str | Text | None,
+        hint_stmt: str | Text | None,
+        note_stmt: str | Text | None = None,
+        link: str | None = None,
     ) -> None:
         # Ensure a proper reference is provided.
         if reference is None:
@@ -184,10 +190,6 @@ class InstallationError(PipError):
     """General exception during installation"""
 
 
-class UninstallationError(PipError):
-    """General exception during uninstallation"""
-
-
 class MissingPyProjectBuildRequires(DiagnosticPipError):
     """Raised when pyproject.toml has `build-system`, but no `build-system.requires`."""
 
@@ -233,7 +235,7 @@ class NoneMetadataError(PipError):
 
     def __init__(
         self,
-        dist: "BaseDistribution",
+        dist: BaseDistribution,
         metadata_name: str,
     ) -> None:
         """
@@ -294,8 +296,8 @@ class NetworkConnectionError(PipError):
     def __init__(
         self,
         error_msg: str,
-        response: Optional[Response] = None,
-        request: Optional[Request] = None,
+        response: Response | None = None,
+        request: Request | None = None,
     ) -> None:
         """
         Initialize NetworkConnectionError with  `request` and `response`
@@ -344,7 +346,7 @@ class MetadataInconsistent(InstallationError):
     """
 
     def __init__(
-        self, ireq: "InstallRequirement", field: str, f_val: str, m_val: str
+        self, ireq: InstallRequirement, field: str, f_val: str, m_val: str
     ) -> None:
         self.ireq = ireq
         self.field = field
@@ -358,6 +360,17 @@ class MetadataInconsistent(InstallationError):
         )
 
 
+class MetadataInvalid(InstallationError):
+    """Metadata is invalid."""
+
+    def __init__(self, ireq: InstallRequirement, error: str) -> None:
+        self.ireq = ireq
+        self.error = error
+
+    def __str__(self) -> str:
+        return f"Requested {self.ireq} has invalid metadata: {self.error}"
+
+
 class InstallationSubprocessError(DiagnosticPipError, InstallationError):
     """A subprocess call failed."""
 
@@ -368,7 +381,7 @@ class InstallationSubprocessError(DiagnosticPipError, InstallationError):
         *,
         command_description: str,
         exit_code: int,
-        output_lines: Optional[List[str]],
+        output_lines: list[str] | None,
     ) -> None:
         if output_lines is None:
             output_prompt = Text("See above for output.")
@@ -422,9 +435,9 @@ class HashErrors(InstallationError):
     """Multiple HashError instances rolled into one for reporting"""
 
     def __init__(self) -> None:
-        self.errors: List["HashError"] = []
+        self.errors: list[HashError] = []
 
-    def append(self, error: "HashError") -> None:
+    def append(self, error: HashError) -> None:
         self.errors.append(error)
 
     def __str__(self) -> str:
@@ -458,7 +471,7 @@ class HashError(InstallationError):
 
     """
 
-    req: Optional["InstallRequirement"] = None
+    req: InstallRequirement | None = None
     head = ""
     order: int = -1
 
@@ -580,7 +593,7 @@ class HashMismatch(HashError):
         "someone may have tampered with them."
     )
 
-    def __init__(self, allowed: Dict[str, List[str]], gots: Dict[str, "_Hash"]) -> None:
+    def __init__(self, allowed: dict[str, list[str]], gots: dict[str, _Hash]) -> None:
         """
         :param allowed: A dict of algorithm names pointing to lists of allowed
             hex digests
@@ -605,12 +618,12 @@ class HashMismatch(HashError):
 
         """
 
-        def hash_then_or(hash_name: str) -> "chain[str]":
+        def hash_then_or(hash_name: str) -> chain[str]:
             # For now, all the decent hashes have 6-char names, so we can get
             # away with hard-coding space literals.
             return chain([hash_name], repeat("    or"))
 
-        lines: List[str] = []
+        lines: list[str] = []
         for hash_name, expecteds in self.allowed.items():
             prefix = hash_then_or(hash_name)
             lines.extend((f"        Expected {next(prefix)} {e}") for e in expecteds)
@@ -631,8 +644,8 @@ class ConfigurationFileCouldNotBeLoaded(ConfigurationError):
     def __init__(
         self,
         reason: str = "could not be loaded",
-        fname: Optional[str] = None,
-        error: Optional[configparser.Error] = None,
+        fname: str | None = None,
+        error: configparser.Error | None = None,
     ) -> None:
         super().__init__(error)
         self.reason = reason
@@ -667,7 +680,7 @@ class ExternallyManagedEnvironment(DiagnosticPipError):
 
     reference = "externally-managed-environment"
 
-    def __init__(self, error: Optional[str]) -> None:
+    def __init__(self, error: str | None) -> None:
         if error is None:
             context = Text(_DEFAULT_EXTERNALLY_MANAGED_ERROR)
         else:
@@ -694,7 +707,7 @@ class ExternallyManagedEnvironment(DiagnosticPipError):
         try:
             category = locale.LC_MESSAGES
         except AttributeError:
-            lang: Optional[str] = None
+            lang: str | None = None
         else:
             lang, _ = locale.getlocale(category)
         if lang is not None:
@@ -709,8 +722,8 @@ class ExternallyManagedEnvironment(DiagnosticPipError):
     @classmethod
     def from_config(
         cls,
-        config: Union[pathlib.Path, str],
-    ) -> "ExternallyManagedEnvironment":
+        config: pathlib.Path | str,
+    ) -> ExternallyManagedEnvironment:
         parser = configparser.ConfigParser(interpolation=None)
         try:
             parser.read(config, encoding="utf-8")
@@ -726,3 +739,143 @@ class ExternallyManagedEnvironment(DiagnosticPipError):
             exc_info = logger.isEnabledFor(VERBOSE)
             logger.warning("Failed to read %s", config, exc_info=exc_info)
         return cls(None)
+
+
+class UninstallMissingRecord(DiagnosticPipError):
+    reference = "uninstall-no-record-file"
+
+    def __init__(self, *, distribution: BaseDistribution) -> None:
+        installer = distribution.installer
+        if not installer or installer == "pip":
+            dep = f"{distribution.raw_name}=={distribution.version}"
+            hint = Text.assemble(
+                "You might be able to recover from this via: ",
+                (f"pip install --force-reinstall --no-deps {dep}", "green"),
+            )
+        else:
+            hint = Text(
+                f"The package was installed by {installer}. "
+                "You should check if it can uninstall the package."
+            )
+
+        super().__init__(
+            message=Text(f"Cannot uninstall {distribution}"),
+            context=(
+                "The package's contents are unknown: "
+                f"no RECORD file was found for {distribution.raw_name}."
+            ),
+            hint_stmt=hint,
+        )
+
+
+class LegacyDistutilsInstall(DiagnosticPipError):
+    reference = "uninstall-distutils-installed-package"
+
+    def __init__(self, *, distribution: BaseDistribution) -> None:
+        super().__init__(
+            message=Text(f"Cannot uninstall {distribution}"),
+            context=(
+                "It is a distutils installed project and thus we cannot accurately "
+                "determine which files belong to it which would lead to only a partial "
+                "uninstall."
+            ),
+            hint_stmt=None,
+        )
+
+
+class InvalidInstalledPackage(DiagnosticPipError):
+    reference = "invalid-installed-package"
+
+    def __init__(
+        self,
+        *,
+        dist: BaseDistribution,
+        invalid_exc: InvalidRequirement | InvalidVersion,
+    ) -> None:
+        installed_location = dist.installed_location
+
+        if isinstance(invalid_exc, InvalidRequirement):
+            invalid_type = "requirement"
+        else:
+            invalid_type = "version"
+
+        super().__init__(
+            message=Text(
+                f"Cannot process installed package {dist} "
+                + (f"in {installed_location!r} " if installed_location else "")
+                + f"because it has an invalid {invalid_type}:\n{invalid_exc.args[0]}"
+            ),
+            context=(
+                "Starting with pip 24.1, packages with invalid "
+                f"{invalid_type}s can not be processed."
+            ),
+            hint_stmt="To proceed this package must be uninstalled.",
+        )
+
+
+class IncompleteDownloadError(DiagnosticPipError):
+    """Raised when the downloader receives fewer bytes than advertised
+    in the Content-Length header."""
+
+    reference = "incomplete-download"
+
+    def __init__(self, download: _FileDownload) -> None:
+        # Dodge circular import.
+        from pip._internal.utils.misc import format_size
+
+        assert download.size is not None
+        download_status = (
+            f"{format_size(download.bytes_received)}/{format_size(download.size)}"
+        )
+        if download.reattempts:
+            retry_status = f"after {download.reattempts + 1} attempts "
+            hint = "Use --resume-retries to configure resume attempt limit."
+        else:
+            # Download retrying is not enabled.
+            retry_status = ""
+            hint = "Consider using --resume-retries to enable download resumption."
+        message = Text(
+            f"Download failed {retry_status}because not enough bytes "
+            f"were received ({download_status})"
+        )
+
+        super().__init__(
+            message=message,
+            context=f"URL: {download.link.redacted_url}",
+            hint_stmt=hint,
+            note_stmt="This is an issue with network connectivity, not pip.",
+        )
+
+
+class ResolutionTooDeepError(DiagnosticPipError):
+    """Raised when the dependency resolver exceeds the maximum recursion depth."""
+
+    reference = "resolution-too-deep"
+
+    def __init__(self) -> None:
+        super().__init__(
+            message="Dependency resolution exceeded maximum depth",
+            context=(
+                "Pip cannot resolve the current dependencies as the dependency graph "
+                "is too complex for pip to solve efficiently."
+            ),
+            hint_stmt=(
+                "Try adding lower bounds to constrain your dependencies, "
+                "for example: 'package>=2.0.0' instead of just 'package'. "
+            ),
+            link="https://pip.pypa.io/en/stable/topics/dependency-resolution/#handling-resolution-too-deep-errors",
+        )
+
+
+class InstallWheelBuildError(DiagnosticPipError):
+    reference = "failed-wheel-build-for-install"
+
+    def __init__(self, failed: list[InstallRequirement]) -> None:
+        super().__init__(
+            message=(
+                "Failed to build installable wheels for some "
+                "pyproject.toml based projects"
+            ),
+            context=", ".join(r.name for r in failed),  # type: ignore
+            hint_stmt=None,
+        )
diff --git a/.venv/Lib/site-packages/pip/_internal/index/__init__.py b/.venv/Lib/site-packages/pip/_internal/index/__init__.py
index 7a17b7b..197dd75 100644
--- a/.venv/Lib/site-packages/pip/_internal/index/__init__.py
+++ b/.venv/Lib/site-packages/pip/_internal/index/__init__.py
@@ -1,2 +1 @@
-"""Index interaction code
-"""
+"""Index interaction code"""
diff --git a/.venv/Lib/site-packages/pip/_internal/index/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/index/__pycache__/__init__.cpython-311.pyc
index 3abd832..fe30f79 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/index/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/index/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/index/__pycache__/collector.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/index/__pycache__/collector.cpython-311.pyc
index d7cfd4f..db09ab0 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/index/__pycache__/collector.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/index/__pycache__/collector.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/index/__pycache__/package_finder.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/index/__pycache__/package_finder.cpython-311.pyc
index 708b52d..bbbddc7 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/index/__pycache__/package_finder.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/index/__pycache__/package_finder.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/index/__pycache__/sources.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/index/__pycache__/sources.cpython-311.pyc
index 87ed5e6..4245944 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/index/__pycache__/sources.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/index/__pycache__/sources.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/index/collector.py b/.venv/Lib/site-packages/pip/_internal/index/collector.py
index 08c8bdd..00d66da 100644
--- a/.venv/Lib/site-packages/pip/_internal/index/collector.py
+++ b/.venv/Lib/site-packages/pip/_internal/index/collector.py
@@ -2,6 +2,8 @@
 The main purpose of this module is to expose LinkCollector.collect_sources().
 """
 
+from __future__ import annotations
+
 import collections
 import email.message
 import functools
@@ -11,20 +13,14 @@ import logging
 import os
 import urllib.parse
 import urllib.request
+from collections.abc import Iterable, MutableMapping, Sequence
+from dataclasses import dataclass
 from html.parser import HTMLParser
 from optparse import Values
 from typing import (
-    TYPE_CHECKING,
     Callable,
-    Dict,
-    Iterable,
-    List,
-    MutableMapping,
     NamedTuple,
-    Optional,
-    Sequence,
-    Tuple,
-    Union,
+    Protocol,
 )
 
 from pip._vendor import requests
@@ -42,17 +38,12 @@ from pip._internal.vcs import vcs
 
 from .sources import CandidatesFromPage, LinkSource, build_source
 
-if TYPE_CHECKING:
-    from typing import Protocol
-else:
-    Protocol = object
-
 logger = logging.getLogger(__name__)
 
 ResponseHeaders = MutableMapping[str, str]
 
 
-def _match_vcs_scheme(url: str) -> Optional[str]:
+def _match_vcs_scheme(url: str) -> str | None:
     """Look for VCS schemes in the URL.
 
     Returns the matched VCS scheme, or None if there's no match.
@@ -177,7 +168,7 @@ def _get_simple_response(url: str, session: PipSession) -> Response:
     return resp
 
 
-def _get_encoding_from_headers(headers: ResponseHeaders) -> Optional[str]:
+def _get_encoding_from_headers(headers: ResponseHeaders) -> str | None:
     """Determine if we have any encoding information in our headers."""
     if headers and "Content-Type" in headers:
         m = email.message.Message()
@@ -189,7 +180,7 @@ def _get_encoding_from_headers(headers: ResponseHeaders) -> Optional[str]:
 
 
 class CacheablePageContent:
-    def __init__(self, page: "IndexContent") -> None:
+    def __init__(self, page: IndexContent) -> None:
         assert page.cache_link_parsing
         self.page = page
 
@@ -201,8 +192,7 @@ class CacheablePageContent:
 
 
 class ParseLinks(Protocol):
-    def __call__(self, page: "IndexContent") -> Iterable[Link]:
-        ...
+    def __call__(self, page: IndexContent) -> Iterable[Link]: ...
 
 
 def with_cached_index_content(fn: ParseLinks) -> ParseLinks:
@@ -212,12 +202,12 @@ def with_cached_index_content(fn: ParseLinks) -> ParseLinks:
     `page` has `page.cache_link_parsing == False`.
     """
 
-    @functools.lru_cache(maxsize=None)
-    def wrapper(cacheable_page: CacheablePageContent) -> List[Link]:
+    @functools.cache
+    def wrapper(cacheable_page: CacheablePageContent) -> list[Link]:
         return list(fn(cacheable_page.page))
 
     @functools.wraps(fn)
-    def wrapper_wrapper(page: "IndexContent") -> List[Link]:
+    def wrapper_wrapper(page: IndexContent) -> list[Link]:
         if page.cache_link_parsing:
             return wrapper(CacheablePageContent(page))
         return list(fn(page))
@@ -226,7 +216,7 @@ def with_cached_index_content(fn: ParseLinks) -> ParseLinks:
 
 
 @with_cached_index_content
-def parse_links(page: "IndexContent") -> Iterable[Link]:
+def parse_links(page: IndexContent) -> Iterable[Link]:
     """
     Parse a Simple API's Index Content, and yield its anchor elements as Link objects.
     """
@@ -254,29 +244,22 @@ def parse_links(page: "IndexContent") -> Iterable[Link]:
         yield link
 
 
+@dataclass(frozen=True)
 class IndexContent:
-    """Represents one response (or page), along with its URL"""
+    """Represents one response (or page), along with its URL.
 
-    def __init__(
-        self,
-        content: bytes,
-        content_type: str,
-        encoding: Optional[str],
-        url: str,
-        cache_link_parsing: bool = True,
-    ) -> None:
-        """
-        :param encoding: the encoding to decode the given content.
-        :param url: the URL from which the HTML was downloaded.
-        :param cache_link_parsing: whether links parsed from this page's url
-                                   should be cached. PyPI index urls should
-                                   have this set to False, for example.
-        """
-        self.content = content
-        self.content_type = content_type
-        self.encoding = encoding
-        self.url = url
-        self.cache_link_parsing = cache_link_parsing
+    :param encoding: the encoding to decode the given content.
+    :param url: the URL from which the HTML was downloaded.
+    :param cache_link_parsing: whether links parsed from this page's url
+                               should be cached. PyPI index urls should
+                               have this set to False, for example.
+    """
+
+    content: bytes
+    content_type: str
+    encoding: str | None
+    url: str
+    cache_link_parsing: bool = True
 
     def __str__(self) -> str:
         return redact_auth_from_url(self.url)
@@ -292,10 +275,10 @@ class HTMLLinkParser(HTMLParser):
         super().__init__(convert_charrefs=True)
 
         self.url: str = url
-        self.base_url: Optional[str] = None
-        self.anchors: List[Dict[str, Optional[str]]] = []
+        self.base_url: str | None = None
+        self.anchors: list[dict[str, str | None]] = []
 
-    def handle_starttag(self, tag: str, attrs: List[Tuple[str, Optional[str]]]) -> None:
+    def handle_starttag(self, tag: str, attrs: list[tuple[str, str | None]]) -> None:
         if tag == "base" and self.base_url is None:
             href = self.get_href(attrs)
             if href is not None:
@@ -303,7 +286,7 @@ class HTMLLinkParser(HTMLParser):
         elif tag == "a":
             self.anchors.append(dict(attrs))
 
-    def get_href(self, attrs: List[Tuple[str, Optional[str]]]) -> Optional[str]:
+    def get_href(self, attrs: list[tuple[str, str | None]]) -> str | None:
         for name, value in attrs:
             if name == "href":
                 return value
@@ -312,8 +295,8 @@ class HTMLLinkParser(HTMLParser):
 
 def _handle_get_simple_fail(
     link: Link,
-    reason: Union[str, Exception],
-    meth: Optional[Callable[..., None]] = None,
+    reason: str | Exception,
+    meth: Callable[..., None] | None = None,
 ) -> None:
     if meth is None:
         meth = logger.debug
@@ -333,7 +316,7 @@ def _make_index_content(
     )
 
 
-def _get_index_content(link: Link, *, session: PipSession) -> Optional["IndexContent"]:
+def _get_index_content(link: Link, *, session: PipSession) -> IndexContent | None:
     url = link.url.split("#", 1)[0]
 
     # Check for VCS schemes that do not support lookup as web pages.
@@ -395,12 +378,11 @@ def _get_index_content(link: Link, *, session: PipSession) -> Optional["IndexCon
 
 
 class CollectedSources(NamedTuple):
-    find_links: Sequence[Optional[LinkSource]]
-    index_urls: Sequence[Optional[LinkSource]]
+    find_links: Sequence[LinkSource | None]
+    index_urls: Sequence[LinkSource | None]
 
 
 class LinkCollector:
-
     """
     Responsible for collecting Link objects from all configured locations,
     making network requests as needed.
@@ -422,7 +404,7 @@ class LinkCollector:
         session: PipSession,
         options: Values,
         suppress_no_index: bool = False,
-    ) -> "LinkCollector":
+    ) -> LinkCollector:
         """
         :param session: The Session to use to make requests.
         :param suppress_no_index: Whether to ignore the --no-index option
@@ -451,10 +433,10 @@ class LinkCollector:
         return link_collector
 
     @property
-    def find_links(self) -> List[str]:
+    def find_links(self) -> list[str]:
         return self.search_scope.find_links
 
-    def fetch_response(self, location: Link) -> Optional[IndexContent]:
+    def fetch_response(self, location: Link) -> IndexContent | None:
         """
         Fetch an HTML page containing package links.
         """
diff --git a/.venv/Lib/site-packages/pip/_internal/index/package_finder.py b/.venv/Lib/site-packages/pip/_internal/index/package_finder.py
index ec9ebc3..bc523cd 100644
--- a/.venv/Lib/site-packages/pip/_internal/index/package_finder.py
+++ b/.venv/Lib/site-packages/pip/_internal/index/package_finder.py
@@ -1,16 +1,24 @@
 """Routines related to PyPI, indexes"""
 
+from __future__ import annotations
+
 import enum
 import functools
 import itertools
 import logging
 import re
-from typing import TYPE_CHECKING, FrozenSet, Iterable, List, Optional, Set, Tuple, Union
+from collections.abc import Iterable
+from dataclasses import dataclass
+from typing import (
+    TYPE_CHECKING,
+    Optional,
+    Union,
+)
 
 from pip._vendor.packaging import specifiers
 from pip._vendor.packaging.tags import Tag
 from pip._vendor.packaging.utils import canonicalize_name
-from pip._vendor.packaging.version import _BaseVersion
+from pip._vendor.packaging.version import InvalidVersion, _BaseVersion
 from pip._vendor.packaging.version import parse as parse_version
 
 from pip._internal.exceptions import (
@@ -37,20 +45,20 @@ from pip._internal.utils.packaging import check_requires_python
 from pip._internal.utils.unpacking import SUPPORTED_EXTENSIONS
 
 if TYPE_CHECKING:
-    from pip._vendor.typing_extensions import TypeGuard
+    from typing_extensions import TypeGuard
 
 __all__ = ["FormatControl", "BestCandidateResult", "PackageFinder"]
 
 
 logger = getLogger(__name__)
 
-BuildTag = Union[Tuple[()], Tuple[int, str]]
-CandidateSortingKey = Tuple[int, int, int, _BaseVersion, Optional[int], BuildTag]
+BuildTag = Union[tuple[()], tuple[int, str]]
+CandidateSortingKey = tuple[int, int, int, _BaseVersion, Optional[int], BuildTag]
 
 
 def _check_link_requires_python(
     link: Link,
-    version_info: Tuple[int, int, int],
+    version_info: tuple[int, int, int],
     ignore_requires_python: bool = False,
 ) -> bool:
     """
@@ -106,7 +114,6 @@ class LinkType(enum.Enum):
 
 
 class LinkEvaluator:
-
     """
     Responsible for evaluating links for a particular project.
     """
@@ -121,10 +128,10 @@ class LinkEvaluator:
         self,
         project_name: str,
         canonical_name: str,
-        formats: FrozenSet[str],
+        formats: frozenset[str],
         target_python: TargetPython,
         allow_yanked: bool,
-        ignore_requires_python: Optional[bool] = None,
+        ignore_requires_python: bool | None = None,
     ) -> None:
         """
         :param project_name: The user supplied package name.
@@ -154,7 +161,7 @@ class LinkEvaluator:
 
         self.project_name = project_name
 
-    def evaluate_link(self, link: Link) -> Tuple[LinkType, str]:
+    def evaluate_link(self, link: Link) -> tuple[LinkType, str]:
         """
         Determine whether a link is a candidate for installation.
 
@@ -241,7 +248,19 @@ class LinkEvaluator:
             ignore_requires_python=self._ignore_requires_python,
         )
         if not supports_python:
-            reason = f"{version} Requires-Python {link.requires_python}"
+            requires_python = link.requires_python
+            if requires_python:
+
+                def get_version_sort_key(v: str) -> tuple[int, ...]:
+                    return tuple(int(s) for s in v.split(".") if s.isdigit())
+
+                requires_python = ",".join(
+                    sorted(
+                        (str(s) for s in specifiers.SpecifierSet(requires_python)),
+                        key=get_version_sort_key,
+                    )
+                )
+            reason = f"{version} Requires-Python {requires_python}"
             return (LinkType.requires_python_mismatch, reason)
 
         logger.debug("Found link %s, version: %s", link, version)
@@ -250,10 +269,10 @@ class LinkEvaluator:
 
 
 def filter_unallowed_hashes(
-    candidates: List[InstallationCandidate],
-    hashes: Optional[Hashes],
+    candidates: list[InstallationCandidate],
+    hashes: Hashes | None,
     project_name: str,
-) -> List[InstallationCandidate]:
+) -> list[InstallationCandidate]:
     """
     Filter out candidates whose hashes aren't allowed, and return a new
     list of candidates.
@@ -323,67 +342,44 @@ def filter_unallowed_hashes(
     return filtered
 
 
+@dataclass
 class CandidatePreferences:
-
     """
     Encapsulates some of the preferences for filtering and sorting
     InstallationCandidate objects.
     """
 
-    def __init__(
-        self,
-        prefer_binary: bool = False,
-        allow_all_prereleases: bool = False,
-    ) -> None:
-        """
-        :param allow_all_prereleases: Whether to allow all pre-releases.
-        """
-        self.allow_all_prereleases = allow_all_prereleases
-        self.prefer_binary = prefer_binary
+    prefer_binary: bool = False
+    allow_all_prereleases: bool = False
 
 
+@dataclass(frozen=True)
 class BestCandidateResult:
     """A collection of candidates, returned by `PackageFinder.find_best_candidate`.
 
     This class is only intended to be instantiated by CandidateEvaluator's
     `compute_best_candidate()` method.
+
+    :param all_candidates: A sequence of all available candidates found.
+    :param applicable_candidates: The applicable candidates.
+    :param best_candidate: The most preferred candidate found, or None
+        if no applicable candidates were found.
     """
 
-    def __init__(
-        self,
-        candidates: List[InstallationCandidate],
-        applicable_candidates: List[InstallationCandidate],
-        best_candidate: Optional[InstallationCandidate],
-    ) -> None:
-        """
-        :param candidates: A sequence of all available candidates found.
-        :param applicable_candidates: The applicable candidates.
-        :param best_candidate: The most preferred candidate found, or None
-            if no applicable candidates were found.
-        """
-        assert set(applicable_candidates) <= set(candidates)
+    all_candidates: list[InstallationCandidate]
+    applicable_candidates: list[InstallationCandidate]
+    best_candidate: InstallationCandidate | None
 
-        if best_candidate is None:
-            assert not applicable_candidates
+    def __post_init__(self) -> None:
+        assert set(self.applicable_candidates) <= set(self.all_candidates)
+
+        if self.best_candidate is None:
+            assert not self.applicable_candidates
         else:
-            assert best_candidate in applicable_candidates
-
-        self._applicable_candidates = applicable_candidates
-        self._candidates = candidates
-
-        self.best_candidate = best_candidate
-
-    def iter_all(self) -> Iterable[InstallationCandidate]:
-        """Iterate through all candidates."""
-        return iter(self._candidates)
-
-    def iter_applicable(self) -> Iterable[InstallationCandidate]:
-        """Iterate through the applicable candidates."""
-        return iter(self._applicable_candidates)
+            assert self.best_candidate in self.applicable_candidates
 
 
 class CandidateEvaluator:
-
     """
     Responsible for filtering and sorting candidates for installation based
     on what tags are valid.
@@ -393,12 +389,12 @@ class CandidateEvaluator:
     def create(
         cls,
         project_name: str,
-        target_python: Optional[TargetPython] = None,
+        target_python: TargetPython | None = None,
         prefer_binary: bool = False,
         allow_all_prereleases: bool = False,
-        specifier: Optional[specifiers.BaseSpecifier] = None,
-        hashes: Optional[Hashes] = None,
-    ) -> "CandidateEvaluator":
+        specifier: specifiers.BaseSpecifier | None = None,
+        hashes: Hashes | None = None,
+    ) -> CandidateEvaluator:
         """Create a CandidateEvaluator object.
 
         :param target_python: The target Python interpreter to use when
@@ -428,11 +424,11 @@ class CandidateEvaluator:
     def __init__(
         self,
         project_name: str,
-        supported_tags: List[Tag],
+        supported_tags: list[Tag],
         specifier: specifiers.BaseSpecifier,
         prefer_binary: bool = False,
         allow_all_prereleases: bool = False,
-        hashes: Optional[Hashes] = None,
+        hashes: Hashes | None = None,
     ) -> None:
         """
         :param supported_tags: The PEP 425 tags supported by the target
@@ -453,32 +449,31 @@ class CandidateEvaluator:
 
     def get_applicable_candidates(
         self,
-        candidates: List[InstallationCandidate],
-    ) -> List[InstallationCandidate]:
+        candidates: list[InstallationCandidate],
+    ) -> list[InstallationCandidate]:
         """
         Return the applicable candidates from a list of candidates.
         """
         # Using None infers from the specifier instead.
         allow_prereleases = self._allow_all_prereleases or None
         specifier = self._specifier
-        versions = {
-            str(v)
-            for v in specifier.filter(
-                # We turn the version object into a str here because otherwise
-                # when we're debundled but setuptools isn't, Python will see
-                # packaging.version.Version and
-                # pkg_resources._vendor.packaging.version.Version as different
-                # types. This way we'll use a str as a common data interchange
-                # format. If we stop using the pkg_resources provided specifier
-                # and start using our own, we can drop the cast to str().
-                (str(c.version) for c in candidates),
+
+        # We turn the version object into a str here because otherwise
+        # when we're debundled but setuptools isn't, Python will see
+        # packaging.version.Version and
+        # pkg_resources._vendor.packaging.version.Version as different
+        # types. This way we'll use a str as a common data interchange
+        # format. If we stop using the pkg_resources provided specifier
+        # and start using our own, we can drop the cast to str().
+        candidates_and_versions = [(c, str(c.version)) for c in candidates]
+        versions = set(
+            specifier.filter(
+                (v for _, v in candidates_and_versions),
                 prereleases=allow_prereleases,
             )
-        }
-
-        # Again, converting version to str to deal with debundling.
-        applicable_candidates = [c for c in candidates if str(c.version) in versions]
+        )
 
+        applicable_candidates = [c for c, v in candidates_and_versions if v in versions]
         filtered_applicable_candidates = filter_unallowed_hashes(
             candidates=applicable_candidates,
             hashes=self._hashes,
@@ -538,11 +533,7 @@ class CandidateEvaluator:
                 )
             if self._prefer_binary:
                 binary_preference = 1
-            if wheel.build_tag is not None:
-                match = re.match(r"^(\d+)(.*)$", wheel.build_tag)
-                assert match is not None, "guaranteed by filename validation"
-                build_tag_groups = match.groups()
-                build_tag = (int(build_tag_groups[0]), build_tag_groups[1])
+            build_tag = wheel.build_tag
         else:  # sdist
             pri = -(support_num)
         has_allowed_hash = int(link.is_hash_allowed(self._hashes))
@@ -558,8 +549,8 @@ class CandidateEvaluator:
 
     def sort_best_candidate(
         self,
-        candidates: List[InstallationCandidate],
-    ) -> Optional[InstallationCandidate]:
+        candidates: list[InstallationCandidate],
+    ) -> InstallationCandidate | None:
         """
         Return the best candidate per the instance's sort order, or None if
         no candidate is acceptable.
@@ -571,7 +562,7 @@ class CandidateEvaluator:
 
     def compute_best_candidate(
         self,
-        candidates: List[InstallationCandidate],
+        candidates: list[InstallationCandidate],
     ) -> BestCandidateResult:
         """
         Compute and return a `BestCandidateResult` instance.
@@ -599,9 +590,9 @@ class PackageFinder:
         link_collector: LinkCollector,
         target_python: TargetPython,
         allow_yanked: bool,
-        format_control: Optional[FormatControl] = None,
-        candidate_prefs: Optional[CandidatePreferences] = None,
-        ignore_requires_python: Optional[bool] = None,
+        format_control: FormatControl | None = None,
+        candidate_prefs: CandidatePreferences | None = None,
+        ignore_requires_python: bool | None = None,
     ) -> None:
         """
         This constructor is primarily meant to be used by the create() class
@@ -627,7 +618,14 @@ class PackageFinder:
         self.format_control = format_control
 
         # These are boring links that have already been logged somehow.
-        self._logged_links: Set[Tuple[Link, LinkType, str]] = set()
+        self._logged_links: set[tuple[Link, LinkType, str]] = set()
+
+        # Cache of the result of finding candidates
+        self._all_candidates: dict[str, list[InstallationCandidate]] = {}
+        self._best_candidates: dict[
+            tuple[str, specifiers.BaseSpecifier | None, Hashes | None],
+            BestCandidateResult,
+        ] = {}
 
     # Don't include an allow_yanked default value to make sure each call
     # site considers whether yanked releases are allowed. This also causes
@@ -638,8 +636,8 @@ class PackageFinder:
         cls,
         link_collector: LinkCollector,
         selection_prefs: SelectionPreferences,
-        target_python: Optional[TargetPython] = None,
-    ) -> "PackageFinder":
+        target_python: TargetPython | None = None,
+    ) -> PackageFinder:
         """Create a PackageFinder.
 
         :param selection_prefs: The candidate selection preferences, as a
@@ -678,18 +676,36 @@ class PackageFinder:
         self._link_collector.search_scope = search_scope
 
     @property
-    def find_links(self) -> List[str]:
+    def find_links(self) -> list[str]:
         return self._link_collector.find_links
 
     @property
-    def index_urls(self) -> List[str]:
+    def index_urls(self) -> list[str]:
         return self.search_scope.index_urls
 
+    @property
+    def proxy(self) -> str | None:
+        return self._link_collector.session.pip_proxy
+
     @property
     def trusted_hosts(self) -> Iterable[str]:
         for host_port in self._link_collector.session.pip_trusted_origins:
             yield build_netloc(*host_port)
 
+    @property
+    def custom_cert(self) -> str | None:
+        # session.verify is either a boolean (use default bundle/no SSL
+        # verification) or a string path to a custom CA bundle to use. We only
+        # care about the latter.
+        verify = self._link_collector.session.verify
+        return verify if isinstance(verify, str) else None
+
+    @property
+    def client_cert(self) -> str | None:
+        cert = self._link_collector.session.cert
+        assert not isinstance(cert, tuple), "pip only supports PEM client certs"
+        return cert
+
     @property
     def allow_all_prereleases(self) -> bool:
         return self._candidate_prefs.allow_all_prereleases
@@ -704,7 +720,7 @@ class PackageFinder:
     def set_prefer_binary(self) -> None:
         self._candidate_prefs.prefer_binary = True
 
-    def requires_python_skipped_reasons(self) -> List[str]:
+    def requires_python_skipped_reasons(self) -> list[str]:
         reasons = {
             detail
             for _, result, detail in self._logged_links
@@ -725,13 +741,13 @@ class PackageFinder:
             ignore_requires_python=self._ignore_requires_python,
         )
 
-    def _sort_links(self, links: Iterable[Link]) -> List[Link]:
+    def _sort_links(self, links: Iterable[Link]) -> list[Link]:
         """
         Returns elements of links in order, non-egg links first, egg links
         second, while eliminating duplicates
         """
         eggs, no_eggs = [], []
-        seen: Set[Link] = set()
+        seen: set[Link] = set()
         for link in links:
             if link not in seen:
                 seen.add(link)
@@ -751,7 +767,7 @@ class PackageFinder:
 
     def get_install_candidate(
         self, link_evaluator: LinkEvaluator, link: Link
-    ) -> Optional[InstallationCandidate]:
+    ) -> InstallationCandidate | None:
         """
         If the link is a candidate for install, convert it to an
         InstallationCandidate and return it. Otherwise, return None.
@@ -761,15 +777,18 @@ class PackageFinder:
             self._log_skipped_link(link, result, detail)
             return None
 
-        return InstallationCandidate(
-            name=link_evaluator.project_name,
-            link=link,
-            version=detail,
-        )
+        try:
+            return InstallationCandidate(
+                name=link_evaluator.project_name,
+                link=link,
+                version=detail,
+            )
+        except InvalidVersion:
+            return None
 
     def evaluate_links(
         self, link_evaluator: LinkEvaluator, links: Iterable[Link]
-    ) -> List[InstallationCandidate]:
+    ) -> list[InstallationCandidate]:
         """
         Convert links that are candidates to InstallationCandidate objects.
         """
@@ -783,7 +802,7 @@ class PackageFinder:
 
     def process_project_url(
         self, project_url: Link, link_evaluator: LinkEvaluator
-    ) -> List[InstallationCandidate]:
+    ) -> list[InstallationCandidate]:
         logger.debug(
             "Fetching project page and analyzing links: %s",
             project_url,
@@ -802,8 +821,7 @@ class PackageFinder:
 
         return package_links
 
-    @functools.lru_cache(maxsize=None)
-    def find_all_candidates(self, project_name: str) -> List[InstallationCandidate]:
+    def find_all_candidates(self, project_name: str) -> list[InstallationCandidate]:
         """Find all available InstallationCandidate for project_name
 
         This checks index_urls and find_links.
@@ -812,6 +830,9 @@ class PackageFinder:
         See LinkEvaluator.evaluate_link() for details on which files
         are accepted.
         """
+        if project_name in self._all_candidates:
+            return self._all_candidates[project_name]
+
         link_evaluator = self.make_link_evaluator(project_name)
 
         collected_sources = self._link_collector.collect_sources(
@@ -853,13 +874,15 @@ class PackageFinder:
             logger.debug("Local files found: %s", ", ".join(paths))
 
         # This is an intentional priority ordering
-        return file_candidates + page_candidates
+        self._all_candidates[project_name] = file_candidates + page_candidates
+
+        return self._all_candidates[project_name]
 
     def make_candidate_evaluator(
         self,
         project_name: str,
-        specifier: Optional[specifiers.BaseSpecifier] = None,
-        hashes: Optional[Hashes] = None,
+        specifier: specifiers.BaseSpecifier | None = None,
+        hashes: Hashes | None = None,
     ) -> CandidateEvaluator:
         """Create a CandidateEvaluator object to use."""
         candidate_prefs = self._candidate_prefs
@@ -872,12 +895,11 @@ class PackageFinder:
             hashes=hashes,
         )
 
-    @functools.lru_cache(maxsize=None)
     def find_best_candidate(
         self,
         project_name: str,
-        specifier: Optional[specifiers.BaseSpecifier] = None,
-        hashes: Optional[Hashes] = None,
+        specifier: specifiers.BaseSpecifier | None = None,
+        hashes: Hashes | None = None,
     ) -> BestCandidateResult:
         """Find matches for the given project and specifier.
 
@@ -887,32 +909,42 @@ class PackageFinder:
 
         :return: A `BestCandidateResult` instance.
         """
+        if (project_name, specifier, hashes) in self._best_candidates:
+            return self._best_candidates[project_name, specifier, hashes]
+
         candidates = self.find_all_candidates(project_name)
         candidate_evaluator = self.make_candidate_evaluator(
             project_name=project_name,
             specifier=specifier,
             hashes=hashes,
         )
-        return candidate_evaluator.compute_best_candidate(candidates)
+        self._best_candidates[project_name, specifier, hashes] = (
+            candidate_evaluator.compute_best_candidate(candidates)
+        )
+
+        return self._best_candidates[project_name, specifier, hashes]
 
     def find_requirement(
         self, req: InstallRequirement, upgrade: bool
-    ) -> Optional[InstallationCandidate]:
+    ) -> InstallationCandidate | None:
         """Try to find a Link matching req
 
         Expects req, an InstallRequirement and upgrade, a boolean
         Returns a InstallationCandidate if found,
         Raises DistributionNotFound or BestVersionAlreadyInstalled otherwise
         """
+        name = req.name
+        assert name is not None, "find_requirement() called with no name"
+
         hashes = req.hashes(trust_internet=False)
         best_candidate_result = self.find_best_candidate(
-            req.name,
+            name,
             specifier=req.specifier,
             hashes=hashes,
         )
         best_candidate = best_candidate_result.best_candidate
 
-        installed_version: Optional[_BaseVersion] = None
+        installed_version: _BaseVersion | None = None
         if req.satisfied_by is not None:
             installed_version = req.satisfied_by.version
 
@@ -936,14 +968,14 @@ class PackageFinder:
                 "Could not find a version that satisfies the requirement %s "
                 "(from versions: %s)",
                 req,
-                _format_versions(best_candidate_result.iter_all()),
+                _format_versions(best_candidate_result.all_candidates),
             )
 
             raise DistributionNotFound(f"No matching distribution found for {req}")
 
         def _should_install_candidate(
-            candidate: Optional[InstallationCandidate],
-        ) -> "TypeGuard[InstallationCandidate]":
+            candidate: InstallationCandidate | None,
+        ) -> TypeGuard[InstallationCandidate]:
             if installed_version is None:
                 return True
             if best_candidate is None:
@@ -970,7 +1002,7 @@ class PackageFinder:
             logger.debug(
                 "Using version %s (newest of versions: %s)",
                 best_candidate.version,
-                _format_versions(best_candidate_result.iter_applicable()),
+                _format_versions(best_candidate_result.applicable_candidates),
             )
             return best_candidate
 
@@ -978,7 +1010,7 @@ class PackageFinder:
         logger.debug(
             "Installed version (%s) is most up-to-date (past versions: %s)",
             installed_version,
-            _format_versions(best_candidate_result.iter_applicable()),
+            _format_versions(best_candidate_result.applicable_candidates),
         )
         raise BestVersionAlreadyInstalled
 
@@ -1009,7 +1041,7 @@ def _find_name_version_sep(fragment: str, canonical_name: str) -> int:
     raise ValueError(f"{fragment} does not match {canonical_name}")
 
 
-def _extract_version_from_fragment(fragment: str, canonical_name: str) -> Optional[str]:
+def _extract_version_from_fragment(fragment: str, canonical_name: str) -> str | None:
     """Parse the version string from a + filename
     "fragment" (stem) or egg fragment.
 
diff --git a/.venv/Lib/site-packages/pip/_internal/index/sources.py b/.venv/Lib/site-packages/pip/_internal/index/sources.py
index f4626d7..c67c4d7 100644
--- a/.venv/Lib/site-packages/pip/_internal/index/sources.py
+++ b/.venv/Lib/site-packages/pip/_internal/index/sources.py
@@ -1,12 +1,14 @@
+from __future__ import annotations
+
 import logging
 import mimetypes
 import os
 from collections import defaultdict
-from typing import Callable, Dict, Iterable, List, Optional, Tuple
+from collections.abc import Iterable
+from typing import Callable
 
 from pip._vendor.packaging.utils import (
     InvalidSdistFilename,
-    InvalidVersion,
     InvalidWheelFilename,
     canonicalize_name,
     parse_sdist_filename,
@@ -28,7 +30,7 @@ PageValidator = Callable[[Link], bool]
 
 class LinkSource:
     @property
-    def link(self) -> Optional[Link]:
+    def link(self) -> Link | None:
         """Returns the underlying link, if there's one."""
         raise NotImplementedError()
 
@@ -50,8 +52,8 @@ class _FlatDirectoryToUrls:
 
     def __init__(self, path: str) -> None:
         self._path = path
-        self._page_candidates: List[str] = []
-        self._project_name_to_urls: Dict[str, List[str]] = defaultdict(list)
+        self._page_candidates: list[str] = []
+        self._project_name_to_urls: dict[str, list[str]] = defaultdict(list)
         self._scanned_directory = False
 
     def _scan_directory(self) -> None:
@@ -68,24 +70,24 @@ class _FlatDirectoryToUrls:
             # otherwise not worth considering as a package
             try:
                 project_filename = parse_wheel_filename(entry.name)[0]
-            except (InvalidWheelFilename, InvalidVersion):
+            except InvalidWheelFilename:
                 try:
                     project_filename = parse_sdist_filename(entry.name)[0]
-                except (InvalidSdistFilename, InvalidVersion):
+                except InvalidSdistFilename:
                     continue
 
             self._project_name_to_urls[project_filename].append(url)
         self._scanned_directory = True
 
     @property
-    def page_candidates(self) -> List[str]:
+    def page_candidates(self) -> list[str]:
         if not self._scanned_directory:
             self._scan_directory()
 
         return self._page_candidates
 
     @property
-    def project_name_to_urls(self) -> Dict[str, List[str]]:
+    def project_name_to_urls(self) -> dict[str, list[str]]:
         if not self._scanned_directory:
             self._scan_directory()
 
@@ -101,7 +103,7 @@ class _FlatDirectorySource(LinkSource):
     * ``file_candidates``: Archives in the directory.
     """
 
-    _paths_to_urls: Dict[str, _FlatDirectoryToUrls] = {}
+    _paths_to_urls: dict[str, _FlatDirectoryToUrls] = {}
 
     def __init__(
         self,
@@ -120,7 +122,7 @@ class _FlatDirectorySource(LinkSource):
             self._paths_to_urls[path] = self._path_to_urls
 
     @property
-    def link(self) -> Optional[Link]:
+    def link(self) -> Link | None:
         return None
 
     def page_candidates(self) -> FoundCandidates:
@@ -151,7 +153,7 @@ class _LocalFileSource(LinkSource):
         self._link = link
 
     @property
-    def link(self) -> Optional[Link]:
+    def link(self) -> Link | None:
         return self._link
 
     def page_candidates(self) -> FoundCandidates:
@@ -185,7 +187,7 @@ class _RemoteFileSource(LinkSource):
         self._link = link
 
     @property
-    def link(self) -> Optional[Link]:
+    def link(self) -> Link | None:
         return self._link
 
     def page_candidates(self) -> FoundCandidates:
@@ -213,7 +215,7 @@ class _IndexDirectorySource(LinkSource):
         self._link = link
 
     @property
-    def link(self) -> Optional[Link]:
+    def link(self) -> Link | None:
         return self._link
 
     def page_candidates(self) -> FoundCandidates:
@@ -231,9 +233,9 @@ def build_source(
     expand_dir: bool,
     cache_link_parsing: bool,
     project_name: str,
-) -> Tuple[Optional[str], Optional[LinkSource]]:
-    path: Optional[str] = None
-    url: Optional[str] = None
+) -> tuple[str | None, LinkSource | None]:
+    path: str | None = None
+    url: str | None = None
     if os.path.exists(location):  # Is a local path.
         url = path_to_url(location)
         path = location
diff --git a/.venv/Lib/site-packages/pip/_internal/locations/__init__.py b/.venv/Lib/site-packages/pip/_internal/locations/__init__.py
index d54bc63..9f2c4fe 100644
--- a/.venv/Lib/site-packages/pip/_internal/locations/__init__.py
+++ b/.venv/Lib/site-packages/pip/_internal/locations/__init__.py
@@ -1,10 +1,12 @@
+from __future__ import annotations
+
 import functools
 import logging
 import os
 import pathlib
 import sys
 import sysconfig
-from typing import Any, Dict, Generator, Optional, Tuple
+from typing import Any
 
 from pip._internal.models.scheme import SCHEME_KEYS, Scheme
 from pip._internal.utils.compat import WINDOWS
@@ -87,7 +89,7 @@ def _looks_like_bpo_44860() -> bool:
     return unix_user_platlib == "$usersite"
 
 
-def _looks_like_red_hat_patched_platlib_purelib(scheme: Dict[str, str]) -> bool:
+def _looks_like_red_hat_patched_platlib_purelib(scheme: dict[str, str]) -> bool:
     platlib = scheme["platlib"]
     if "/$platlibdir/" in platlib:
         platlib = platlib.replace("/$platlibdir/", f"/{_PLATLIBDIR}/")
@@ -97,7 +99,7 @@ def _looks_like_red_hat_patched_platlib_purelib(scheme: Dict[str, str]) -> bool:
     return unpatched.replace("$platbase/", "$base/") == scheme["purelib"]
 
 
-@functools.lru_cache(maxsize=None)
+@functools.cache
 def _looks_like_red_hat_lib() -> bool:
     """Red Hat patches platlib in unix_prefix and unix_home, but not purelib.
 
@@ -112,7 +114,7 @@ def _looks_like_red_hat_lib() -> bool:
     )
 
 
-@functools.lru_cache(maxsize=None)
+@functools.cache
 def _looks_like_debian_scheme() -> bool:
     """Debian adds two additional schemes."""
     from distutils.command.install import INSTALL_SCHEMES
@@ -120,7 +122,7 @@ def _looks_like_debian_scheme() -> bool:
     return "deb_system" in INSTALL_SCHEMES and "unix_local" in INSTALL_SCHEMES
 
 
-@functools.lru_cache(maxsize=None)
+@functools.cache
 def _looks_like_red_hat_scheme() -> bool:
     """Red Hat patches ``sys.prefix`` and ``sys.exec_prefix``.
 
@@ -140,7 +142,7 @@ def _looks_like_red_hat_scheme() -> bool:
     )
 
 
-@functools.lru_cache(maxsize=None)
+@functools.cache
 def _looks_like_slackware_scheme() -> bool:
     """Slackware patches sysconfig but fails to patch distutils and site.
 
@@ -156,7 +158,7 @@ def _looks_like_slackware_scheme() -> bool:
     return "/lib64/" in paths["purelib"] and "/lib64/" not in user_site
 
 
-@functools.lru_cache(maxsize=None)
+@functools.cache
 def _looks_like_msys2_mingw_scheme() -> bool:
     """MSYS2 patches distutils and sysconfig to use a UNIX-like scheme.
 
@@ -174,23 +176,7 @@ def _looks_like_msys2_mingw_scheme() -> bool:
     )
 
 
-def _fix_abiflags(parts: Tuple[str]) -> Generator[str, None, None]:
-    ldversion = sysconfig.get_config_var("LDVERSION")
-    abiflags = getattr(sys, "abiflags", None)
-
-    # LDVERSION does not end with sys.abiflags. Just return the path unchanged.
-    if not ldversion or not abiflags or not ldversion.endswith(abiflags):
-        yield from parts
-        return
-
-    # Strip sys.abiflags from LDVERSION-based path components.
-    for part in parts:
-        if part.endswith(ldversion):
-            part = part[: (0 - len(abiflags))]
-        yield part
-
-
-@functools.lru_cache(maxsize=None)
+@functools.cache
 def _warn_mismatched(old: pathlib.Path, new: pathlib.Path, *, key: str) -> None:
     issue_url = "https://github.com/pypa/pip/issues/10151"
     message = (
@@ -208,13 +194,13 @@ def _warn_if_mismatch(old: pathlib.Path, new: pathlib.Path, *, key: str) -> bool
     return True
 
 
-@functools.lru_cache(maxsize=None)
+@functools.cache
 def _log_context(
     *,
     user: bool = False,
-    home: Optional[str] = None,
-    root: Optional[str] = None,
-    prefix: Optional[str] = None,
+    home: str | None = None,
+    root: str | None = None,
+    prefix: str | None = None,
 ) -> None:
     parts = [
         "Additional context:",
@@ -230,10 +216,10 @@ def _log_context(
 def get_scheme(
     dist_name: str,
     user: bool = False,
-    home: Optional[str] = None,
-    root: Optional[str] = None,
+    home: str | None = None,
+    root: str | None = None,
     isolated: bool = False,
-    prefix: Optional[str] = None,
+    prefix: str | None = None,
 ) -> Scheme:
     new = _sysconfig.get_scheme(
         dist_name,
@@ -297,14 +283,13 @@ def get_scheme(
             continue
 
         # On Python 3.9+, sysconfig's posix_user scheme sets platlib against
-        # sys.platlibdir, but distutils's unix_user incorrectly coninutes
+        # sys.platlibdir, but distutils's unix_user incorrectly continues
         # using the same $usersite for both platlib and purelib. This creates a
         # mismatch when sys.platlibdir is not "lib".
         skip_bpo_44860 = (
             user
             and k == "platlib"
             and not WINDOWS
-            and sys.version_info >= (3, 9)
             and _PLATLIBDIR != "lib"
             and _looks_like_bpo_44860()
         )
@@ -336,17 +321,6 @@ def get_scheme(
         if skip_linux_system_special_case:
             continue
 
-        # On Python 3.7 and earlier, sysconfig does not include sys.abiflags in
-        # the "pythonX.Y" part of the path, but distutils does.
-        skip_sysconfig_abiflag_bug = (
-            sys.version_info < (3, 8)
-            and not WINDOWS
-            and k in ("headers", "platlib", "purelib")
-            and tuple(_fix_abiflags(old_v.parts)) == new_v.parts
-        )
-        if skip_sysconfig_abiflag_bug:
-            continue
-
         # MSYS2 MINGW's sysconfig patch does not include the "site-packages"
         # part of the path. This is incorrect and will be fixed in MSYS.
         skip_msys2_mingw_bug = (
diff --git a/.venv/Lib/site-packages/pip/_internal/locations/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/locations/__pycache__/__init__.cpython-311.pyc
index f45f8b6..dacdfa6 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/locations/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/locations/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/locations/__pycache__/_distutils.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/locations/__pycache__/_distutils.cpython-311.pyc
index ed9a944..232ee1d 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/locations/__pycache__/_distutils.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/locations/__pycache__/_distutils.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/locations/__pycache__/_sysconfig.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/locations/__pycache__/_sysconfig.cpython-311.pyc
index 4f3e1c3..03cbbc3 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/locations/__pycache__/_sysconfig.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/locations/__pycache__/_sysconfig.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/locations/__pycache__/base.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/locations/__pycache__/base.cpython-311.pyc
index 5f06dde..cecc158 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/locations/__pycache__/base.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/locations/__pycache__/base.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/locations/_distutils.py b/.venv/Lib/site-packages/pip/_internal/locations/_distutils.py
index 0e18c6e..28c066b 100644
--- a/.venv/Lib/site-packages/pip/_internal/locations/_distutils.py
+++ b/.venv/Lib/site-packages/pip/_internal/locations/_distutils.py
@@ -9,6 +9,8 @@
 #
 # See https://github.com/pypa/pip/issues/8761 for the original discussion and
 # rationale for why this is done within pip.
+from __future__ import annotations
+
 try:
     __import__("_distutils_hack").remove_shim()
 except (ImportError, AttributeError):
@@ -21,7 +23,6 @@ from distutils.cmd import Command as DistutilsCommand
 from distutils.command.install import SCHEME_KEYS
 from distutils.command.install import install as distutils_install_command
 from distutils.sysconfig import get_python_lib
-from typing import Dict, List, Optional, Union, cast
 
 from pip._internal.models.scheme import Scheme
 from pip._internal.utils.compat import WINDOWS
@@ -35,19 +36,19 @@ logger = logging.getLogger(__name__)
 def distutils_scheme(
     dist_name: str,
     user: bool = False,
-    home: Optional[str] = None,
-    root: Optional[str] = None,
+    home: str | None = None,
+    root: str | None = None,
     isolated: bool = False,
-    prefix: Optional[str] = None,
+    prefix: str | None = None,
     *,
     ignore_config_files: bool = False,
-) -> Dict[str, str]:
+) -> dict[str, str]:
     """
     Return a distutils install scheme
     """
     from distutils.dist import Distribution
 
-    dist_args: Dict[str, Union[str, List[str]]] = {"name": dist_name}
+    dist_args: dict[str, str | list[str]] = {"name": dist_name}
     if isolated:
         dist_args["script_args"] = ["--no-user-cfg"]
 
@@ -61,10 +62,10 @@ def distutils_scheme(
                 "Ignore distutils configs in %s due to encoding errors.",
                 ", ".join(os.path.basename(p) for p in paths),
             )
-    obj: Optional[DistutilsCommand] = None
+    obj: DistutilsCommand | None = None
     obj = d.get_command_obj("install", create=True)
     assert obj is not None
-    i = cast(distutils_install_command, obj)
+    i: distutils_install_command = obj
     # NOTE: setting user or home has the side-effect of creating the home dir
     # or user base for installations during finalize_options()
     # ideally, we'd prefer a scheme class that has no side-effects.
@@ -78,7 +79,7 @@ def distutils_scheme(
     i.root = root or i.root
     i.finalize_options()
 
-    scheme = {}
+    scheme: dict[str, str] = {}
     for key in SCHEME_KEYS:
         scheme[key] = getattr(i, "install_" + key)
 
@@ -115,10 +116,10 @@ def distutils_scheme(
 def get_scheme(
     dist_name: str,
     user: bool = False,
-    home: Optional[str] = None,
-    root: Optional[str] = None,
+    home: str | None = None,
+    root: str | None = None,
     isolated: bool = False,
-    prefix: Optional[str] = None,
+    prefix: str | None = None,
 ) -> Scheme:
     """
     Get the "scheme" corresponding to the input parameters. The distutils
diff --git a/.venv/Lib/site-packages/pip/_internal/locations/_sysconfig.py b/.venv/Lib/site-packages/pip/_internal/locations/_sysconfig.py
index 97aef1f..d4a448e 100644
--- a/.venv/Lib/site-packages/pip/_internal/locations/_sysconfig.py
+++ b/.venv/Lib/site-packages/pip/_internal/locations/_sysconfig.py
@@ -1,8 +1,9 @@
+from __future__ import annotations
+
 import logging
 import os
 import sys
 import sysconfig
-import typing
 
 from pip._internal.exceptions import InvalidSchemeCombination, UserInstallationInvalid
 from pip._internal.models.scheme import SCHEME_KEYS, Scheme
@@ -124,10 +125,10 @@ if sysconfig.get_config_var("userbase") is not None:
 def get_scheme(
     dist_name: str,
     user: bool = False,
-    home: typing.Optional[str] = None,
-    root: typing.Optional[str] = None,
+    home: str | None = None,
+    root: str | None = None,
     isolated: bool = False,
-    prefix: typing.Optional[str] = None,
+    prefix: str | None = None,
 ) -> Scheme:
     """
     Get the "scheme" corresponding to the input parameters.
@@ -192,9 +193,10 @@ def get_scheme(
         data=paths["data"],
     )
     if root is not None:
+        converted_keys = {}
         for key in SCHEME_KEYS:
-            value = change_root(root, getattr(scheme, key))
-            setattr(scheme, key, value)
+            converted_keys[key] = change_root(root, getattr(scheme, key))
+        scheme = Scheme(**converted_keys)
     return scheme
 
 
diff --git a/.venv/Lib/site-packages/pip/_internal/locations/base.py b/.venv/Lib/site-packages/pip/_internal/locations/base.py
index 3f9f896..17cd0e8 100644
--- a/.venv/Lib/site-packages/pip/_internal/locations/base.py
+++ b/.venv/Lib/site-packages/pip/_internal/locations/base.py
@@ -1,9 +1,10 @@
+from __future__ import annotations
+
 import functools
 import os
 import site
 import sys
 import sysconfig
-import typing
 
 from pip._internal.exceptions import InstallationError
 from pip._internal.utils import appdirs
@@ -71,11 +72,11 @@ def get_src_prefix() -> str:
 try:
     # Use getusersitepackages if this is present, as it ensures that the
     # value is initialised properly.
-    user_site: typing.Optional[str] = site.getusersitepackages()
+    user_site: str | None = site.getusersitepackages()
 except AttributeError:
     user_site = site.USER_SITE
 
 
-@functools.lru_cache(maxsize=None)
+@functools.cache
 def is_osx_framework() -> bool:
     return bool(sysconfig.get_config_var("PYTHONFRAMEWORK"))
diff --git a/.venv/Lib/site-packages/pip/_internal/main.py b/.venv/Lib/site-packages/pip/_internal/main.py
index 33c6d24..ec52c4e 100644
--- a/.venv/Lib/site-packages/pip/_internal/main.py
+++ b/.venv/Lib/site-packages/pip/_internal/main.py
@@ -1,7 +1,7 @@
-from typing import List, Optional
+from __future__ import annotations
 
 
-def main(args: Optional[List[str]] = None) -> int:
+def main(args: list[str] | None = None) -> int:
     """This is preserved for old console scripts that may still be referencing
     it.
 
diff --git a/.venv/Lib/site-packages/pip/_internal/metadata/__init__.py b/.venv/Lib/site-packages/pip/_internal/metadata/__init__.py
index aa232b6..927e375 100644
--- a/.venv/Lib/site-packages/pip/_internal/metadata/__init__.py
+++ b/.venv/Lib/site-packages/pip/_internal/metadata/__init__.py
@@ -1,18 +1,16 @@
+from __future__ import annotations
+
 import contextlib
 import functools
 import os
 import sys
-from typing import TYPE_CHECKING, List, Optional, Type, cast
+from typing import Literal, Protocol, cast
 
+from pip._internal.utils.deprecation import deprecated
 from pip._internal.utils.misc import strtobool
 
 from .base import BaseDistribution, BaseEnvironment, FilesystemWheel, MemoryWheel, Wheel
 
-if TYPE_CHECKING:
-    from typing import Literal, Protocol
-else:
-    Protocol = object
-
 __all__ = [
     "BaseDistribution",
     "BaseEnvironment",
@@ -30,37 +28,75 @@ def _should_use_importlib_metadata() -> bool:
     """Whether to use the ``importlib.metadata`` or ``pkg_resources`` backend.
 
     By default, pip uses ``importlib.metadata`` on Python 3.11+, and
-    ``pkg_resourcess`` otherwise. This can be overridden by a couple of ways:
+    ``pkg_resources`` otherwise. Up to Python 3.13, This can be
+    overridden by a couple of ways:
 
     * If environment variable ``_PIP_USE_IMPORTLIB_METADATA`` is set, it
-      dictates whether ``importlib.metadata`` is used, regardless of Python
-      version.
-    * On Python 3.11+, Python distributors can patch ``importlib.metadata``
-      to add a global constant ``_PIP_USE_IMPORTLIB_METADATA = False``. This
-      makes pip use ``pkg_resources`` (unless the user set the aforementioned
-      environment variable to *True*).
+      dictates whether ``importlib.metadata`` is used, for Python <3.14.
+    * On Python 3.11, 3.12 and 3.13, Python distributors can patch
+      ``importlib.metadata`` to add a global constant
+      ``_PIP_USE_IMPORTLIB_METADATA = False``. This makes pip use
+      ``pkg_resources`` (unless the user set the aforementioned environment
+      variable to *True*).
+
+    On Python 3.14+, the ``pkg_resources`` backend cannot be used.
     """
+    if sys.version_info >= (3, 14):
+        # On Python >=3.14 we only support importlib.metadata.
+        return True
     with contextlib.suppress(KeyError, ValueError):
+        # On Python <3.14, if the environment variable is set, we obey what it says.
         return bool(strtobool(os.environ["_PIP_USE_IMPORTLIB_METADATA"]))
     if sys.version_info < (3, 11):
+        # On Python <3.11, we always use pkg_resources, unless the environment
+        # variable was set.
         return False
+    # On Python 3.11, 3.12 and 3.13, we check if the global constant is set.
     import importlib.metadata
 
     return bool(getattr(importlib.metadata, "_PIP_USE_IMPORTLIB_METADATA", True))
 
 
+def _emit_pkg_resources_deprecation_if_needed() -> None:
+    if sys.version_info < (3, 11):
+        # All pip versions supporting Python<=3.11 will support pkg_resources,
+        # and pkg_resources is the default for these, so let's not bother users.
+        return
+
+    import importlib.metadata
+
+    if hasattr(importlib.metadata, "_PIP_USE_IMPORTLIB_METADATA"):
+        # The Python distributor has set the global constant, so we don't
+        # warn, since it is not a user decision.
+        return
+
+    # The user has decided to use pkg_resources, so we warn.
+    deprecated(
+        reason="Using the pkg_resources metadata backend is deprecated.",
+        replacement=(
+            "to use the default importlib.metadata backend, "
+            "by unsetting the _PIP_USE_IMPORTLIB_METADATA environment variable"
+        ),
+        gone_in="26.3",
+        issue=13317,
+    )
+
+
 class Backend(Protocol):
-    NAME: 'Literal["importlib", "pkg_resources"]'
-    Distribution: Type[BaseDistribution]
-    Environment: Type[BaseEnvironment]
+    NAME: Literal["importlib", "pkg_resources"]
+    Distribution: type[BaseDistribution]
+    Environment: type[BaseEnvironment]
 
 
-@functools.lru_cache(maxsize=None)
+@functools.cache
 def select_backend() -> Backend:
     if _should_use_importlib_metadata():
         from . import importlib
 
         return cast(Backend, importlib)
+
+    _emit_pkg_resources_deprecation_if_needed()
+
     from . import pkg_resources
 
     return cast(Backend, pkg_resources)
@@ -71,12 +107,12 @@ def get_default_environment() -> BaseEnvironment:
 
     This returns an Environment instance from the chosen backend. The default
     Environment instance should be built from ``sys.path`` and may use caching
-    to share instance state accorss calls.
+    to share instance state across calls.
     """
     return select_backend().Environment.default()
 
 
-def get_environment(paths: Optional[List[str]]) -> BaseEnvironment:
+def get_environment(paths: list[str] | None) -> BaseEnvironment:
     """Get a representation of the environment specified by ``paths``.
 
     This returns an Environment instance from the chosen backend based on the
diff --git a/.venv/Lib/site-packages/pip/_internal/metadata/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/metadata/__pycache__/__init__.cpython-311.pyc
index 318df2e..38d6737 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/metadata/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/metadata/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/metadata/__pycache__/_json.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/metadata/__pycache__/_json.cpython-311.pyc
index 7b24370..a9d794f 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/metadata/__pycache__/_json.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/metadata/__pycache__/_json.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/metadata/__pycache__/base.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/metadata/__pycache__/base.cpython-311.pyc
index 0e8afc2..873c596 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/metadata/__pycache__/base.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/metadata/__pycache__/base.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/metadata/__pycache__/pkg_resources.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/metadata/__pycache__/pkg_resources.cpython-311.pyc
index 5e86e1e..78959f7 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/metadata/__pycache__/pkg_resources.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/metadata/__pycache__/pkg_resources.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/metadata/_json.py b/.venv/Lib/site-packages/pip/_internal/metadata/_json.py
index 27362fc..b39ac05 100644
--- a/.venv/Lib/site-packages/pip/_internal/metadata/_json.py
+++ b/.venv/Lib/site-packages/pip/_internal/metadata/_json.py
@@ -1,8 +1,9 @@
 # Extracted from https://github.com/pfmoore/pkg_metadata
+from __future__ import annotations
 
 from email.header import Header, decode_header, make_header
 from email.message import Message
-from typing import Any, Dict, List, Union
+from typing import Any, cast
 
 METADATA_FIELDS = [
     # Name, Multiple-Use
@@ -23,6 +24,8 @@ METADATA_FIELDS = [
     ("Maintainer", False),
     ("Maintainer-email", False),
     ("License", False),
+    ("License-Expression", False),
+    ("License-File", True),
     ("Classifier", True),
     ("Requires-Dist", True),
     ("Requires-Python", False),
@@ -38,10 +41,10 @@ def json_name(field: str) -> str:
     return field.lower().replace("-", "_")
 
 
-def msg_to_json(msg: Message) -> Dict[str, Any]:
+def msg_to_json(msg: Message) -> dict[str, Any]:
     """Convert a Message object into a JSON-compatible dictionary."""
 
-    def sanitise_header(h: Union[Header, str]) -> str:
+    def sanitise_header(h: Header | str) -> str:
         if isinstance(h, Header):
             chunks = []
             for bytes, encoding in decode_header(h):
@@ -63,7 +66,7 @@ def msg_to_json(msg: Message) -> Dict[str, Any]:
             continue
         key = json_name(field)
         if multi:
-            value: Union[str, List[str]] = [
+            value: str | list[str] = [
                 sanitise_header(v) for v in msg.get_all(field)  # type: ignore
             ]
         else:
@@ -77,7 +80,7 @@ def msg_to_json(msg: Message) -> Dict[str, Any]:
                     value = value.split()
         result[key] = value
 
-    payload = msg.get_payload()
+    payload = cast(str, msg.get_payload())
     if payload:
         result["description"] = payload
 
diff --git a/.venv/Lib/site-packages/pip/_internal/metadata/base.py b/.venv/Lib/site-packages/pip/_internal/metadata/base.py
index 9249124..230e114 100644
--- a/.venv/Lib/site-packages/pip/_internal/metadata/base.py
+++ b/.venv/Lib/site-packages/pip/_internal/metadata/base.py
@@ -1,3 +1,5 @@
+from __future__ import annotations
+
 import csv
 import email.message
 import functools
@@ -6,26 +8,19 @@ import logging
 import pathlib
 import re
 import zipfile
+from collections.abc import Collection, Container, Iterable, Iterator
 from typing import (
     IO,
-    TYPE_CHECKING,
     Any,
-    Collection,
-    Container,
-    Dict,
-    Iterable,
-    Iterator,
-    List,
     NamedTuple,
-    Optional,
-    Tuple,
+    Protocol,
     Union,
 )
 
 from pip._vendor.packaging.requirements import Requirement
 from pip._vendor.packaging.specifiers import InvalidSpecifier, SpecifierSet
 from pip._vendor.packaging.utils import NormalizedName, canonicalize_name
-from pip._vendor.packaging.version import LegacyVersion, Version
+from pip._vendor.packaging.version import Version
 
 from pip._internal.exceptions import NoneMetadataError
 from pip._internal.locations import site_packages, user_site
@@ -41,13 +36,6 @@ from pip._internal.utils.urls import url_to_path
 
 from ._json import msg_to_json
 
-if TYPE_CHECKING:
-    from typing import Protocol
-else:
-    Protocol = object
-
-DistributionVersion = Union[LegacyVersion, Version]
-
 InfoPath = Union[str, pathlib.PurePath]
 
 logger = logging.getLogger(__name__)
@@ -68,8 +56,8 @@ class BaseEntryPoint(Protocol):
 
 
 def _convert_installed_files_path(
-    entry: Tuple[str, ...],
-    info: Tuple[str, ...],
+    entry: tuple[str, ...],
+    info: tuple[str, ...],
 ) -> str:
     """Convert a legacy installed-files.txt path into modern RECORD path.
 
@@ -105,7 +93,7 @@ class RequiresEntry(NamedTuple):
 
 class BaseDistribution(Protocol):
     @classmethod
-    def from_directory(cls, directory: str) -> "BaseDistribution":
+    def from_directory(cls, directory: str) -> BaseDistribution:
         """Load the distribution from a metadata directory.
 
         :param directory: Path to a metadata directory, e.g. ``.dist-info``.
@@ -118,7 +106,7 @@ class BaseDistribution(Protocol):
         metadata_contents: bytes,
         filename: str,
         project_name: str,
-    ) -> "BaseDistribution":
+    ) -> BaseDistribution:
         """Load the distribution from the contents of a METADATA file.
 
         This is used to implement PEP 658 by generating a "shallow" dist object that can
@@ -131,7 +119,7 @@ class BaseDistribution(Protocol):
         raise NotImplementedError()
 
     @classmethod
-    def from_wheel(cls, wheel: "Wheel", name: str) -> "BaseDistribution":
+    def from_wheel(cls, wheel: Wheel, name: str) -> BaseDistribution:
         """Load the distribution from a given wheel.
 
         :param wheel: A concrete wheel definition.
@@ -145,13 +133,13 @@ class BaseDistribution(Protocol):
         raise NotImplementedError()
 
     def __repr__(self) -> str:
-        return f"{self.raw_name} {self.version} ({self.location})"
+        return f"{self.raw_name} {self.raw_version} ({self.location})"
 
     def __str__(self) -> str:
-        return f"{self.raw_name} {self.version}"
+        return f"{self.raw_name} {self.raw_version}"
 
     @property
-    def location(self) -> Optional[str]:
+    def location(self) -> str | None:
         """Where the distribution is loaded from.
 
         A string value is not necessarily a filesystem path, since distributions
@@ -165,7 +153,7 @@ class BaseDistribution(Protocol):
         raise NotImplementedError()
 
     @property
-    def editable_project_location(self) -> Optional[str]:
+    def editable_project_location(self) -> str | None:
         """The project location for editable distributions.
 
         This is the directory where pyproject.toml or setup.py is located.
@@ -187,7 +175,7 @@ class BaseDistribution(Protocol):
         return None
 
     @property
-    def installed_location(self) -> Optional[str]:
+    def installed_location(self) -> str | None:
         """The distribution's "installed" location.
 
         This should generally be a ``site-packages`` directory. This is
@@ -200,7 +188,7 @@ class BaseDistribution(Protocol):
         raise NotImplementedError()
 
     @property
-    def info_location(self) -> Optional[str]:
+    def info_location(self) -> str | None:
         """Location of the .[egg|dist]-info directory or file.
 
         Similarly to ``location``, a string value is not necessarily a
@@ -238,7 +226,9 @@ class BaseDistribution(Protocol):
         location = self.location
         if not location:
             return False
-        return location.endswith(".egg")
+        # XXX if the distribution is a zipped egg, location has a trailing /
+        # so we resort to pathlib.Path to check the suffix in a reliable way.
+        return pathlib.Path(location).suffix == ".egg"
 
     @property
     def installed_with_setuptools_egg_info(self) -> bool:
@@ -279,7 +269,11 @@ class BaseDistribution(Protocol):
         raise NotImplementedError()
 
     @property
-    def version(self) -> DistributionVersion:
+    def version(self) -> Version:
+        raise NotImplementedError()
+
+    @property
+    def raw_version(self) -> str:
         raise NotImplementedError()
 
     @property
@@ -291,7 +285,7 @@ class BaseDistribution(Protocol):
         return self.raw_name.replace("-", "_")
 
     @property
-    def direct_url(self) -> Optional[DirectUrl]:
+    def direct_url(self) -> DirectUrl | None:
         """Obtain a DirectUrl from this distribution.
 
         Returns None if the distribution has no `direct_url.json` metadata,
@@ -385,15 +379,7 @@ class BaseDistribution(Protocol):
     def _metadata_impl(self) -> email.message.Message:
         raise NotImplementedError()
 
-    @functools.lru_cache(maxsize=1)
-    def _metadata_cached(self) -> email.message.Message:
-        # When we drop python 3.7 support, move this to the metadata property and use
-        # functools.cached_property instead of lru_cache.
-        metadata = self._metadata_impl()
-        self._add_egg_info_requires(metadata)
-        return metadata
-
-    @property
+    @functools.cached_property
     def metadata(self) -> email.message.Message:
         """Metadata of distribution parsed from e.g. METADATA or PKG-INFO.
 
@@ -402,10 +388,12 @@ class BaseDistribution(Protocol):
         :raises NoneMetadataError: If the metadata file is available, but does
             not contain valid metadata.
         """
-        return self._metadata_cached()
+        metadata = self._metadata_impl()
+        self._add_egg_info_requires(metadata)
+        return metadata
 
     @property
-    def metadata_dict(self) -> Dict[str, Any]:
+    def metadata_dict(self) -> dict[str, Any]:
         """PEP 566 compliant JSON-serializable representation of METADATA or PKG-INFO.
 
         This should return an empty dict if the metadata file is unavailable.
@@ -416,7 +404,7 @@ class BaseDistribution(Protocol):
         return msg_to_json(self.metadata)
 
     @property
-    def metadata_version(self) -> Optional[str]:
+    def metadata_version(self) -> str | None:
         """Value of "Metadata-Version:" in distribution metadata, if available."""
         return self.metadata.get("Metadata-Version")
 
@@ -454,28 +442,23 @@ class BaseDistribution(Protocol):
         """
         raise NotImplementedError()
 
-    def iter_provided_extras(self) -> Iterable[str]:
+    def iter_raw_dependencies(self) -> Iterable[str]:
+        """Raw Requires-Dist metadata."""
+        return self.metadata.get_all("Requires-Dist", [])
+
+    def iter_provided_extras(self) -> Iterable[NormalizedName]:
         """Extras provided by this distribution.
 
         For modern .dist-info distributions, this is the collection of
         "Provides-Extra:" entries in distribution metadata.
 
-        The return value of this function is not particularly useful other than
-        display purposes due to backward compatibility issues and the extra
-        names being poorly normalized prior to PEP 685. If you want to perform
-        logic operations on extras, use :func:`is_extra_provided` instead.
+        The return value of this function is expected to be normalised names,
+        per PEP 685, with the returned value being handled appropriately by
+        `iter_dependencies`.
         """
         raise NotImplementedError()
 
-    def is_extra_provided(self, extra: str) -> bool:
-        """Check whether an extra is provided by this distribution.
-
-        This is needed mostly for compatibility issues with pkg_resources not
-        following the extra normalization rules defined in PEP 685.
-        """
-        raise NotImplementedError()
-
-    def _iter_declared_entries_from_record(self) -> Optional[Iterator[str]]:
+    def _iter_declared_entries_from_record(self) -> Iterator[str] | None:
         try:
             text = self.read_text("RECORD")
         except FileNotFoundError:
@@ -483,7 +466,7 @@ class BaseDistribution(Protocol):
         # This extra Path-str cast normalizes entries.
         return (str(pathlib.Path(row[0])) for row in csv.reader(text.splitlines()))
 
-    def _iter_declared_entries_from_legacy(self) -> Optional[Iterator[str]]:
+    def _iter_declared_entries_from_legacy(self) -> Iterator[str] | None:
         try:
             text = self.read_text("installed-files.txt")
         except FileNotFoundError:
@@ -504,7 +487,7 @@ class BaseDistribution(Protocol):
             for p in paths
         )
 
-    def iter_declared_entries(self) -> Optional[Iterator[str]]:
+    def iter_declared_entries(self) -> Iterator[str] | None:
         """Iterate through file entries declared in this distribution.
 
         For modern .dist-info distributions, this is the files listed in the
@@ -597,14 +580,14 @@ class BaseEnvironment:
     """An environment containing distributions to introspect."""
 
     @classmethod
-    def default(cls) -> "BaseEnvironment":
+    def default(cls) -> BaseEnvironment:
         raise NotImplementedError()
 
     @classmethod
-    def from_paths(cls, paths: Optional[List[str]]) -> "BaseEnvironment":
+    def from_paths(cls, paths: list[str] | None) -> BaseEnvironment:
         raise NotImplementedError()
 
-    def get_distribution(self, name: str) -> Optional["BaseDistribution"]:
+    def get_distribution(self, name: str) -> BaseDistribution | None:
         """Given a requirement name, return the installed distributions.
 
         The name may not be normalized. The implementation must canonicalize
@@ -612,7 +595,7 @@ class BaseEnvironment:
         """
         raise NotImplementedError()
 
-    def _iter_distributions(self) -> Iterator["BaseDistribution"]:
+    def _iter_distributions(self) -> Iterator[BaseDistribution]:
         """Iterate through installed distributions.
 
         This function should be implemented by subclass, but never called
diff --git a/.venv/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/__init__.cpython-311.pyc
index 188371b..cc25e51 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_compat.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_compat.cpython-311.pyc
index 3da4ab4..86ae8f3 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_compat.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_compat.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_dists.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_dists.cpython-311.pyc
index ceeabef..9b0aa45 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_dists.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_dists.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_envs.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_envs.cpython-311.pyc
index 015501c..64ade1c 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_envs.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_envs.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/metadata/importlib/_compat.py b/.venv/Lib/site-packages/pip/_internal/metadata/importlib/_compat.py
index 593bff2..7de614d 100644
--- a/.venv/Lib/site-packages/pip/_internal/metadata/importlib/_compat.py
+++ b/.venv/Lib/site-packages/pip/_internal/metadata/importlib/_compat.py
@@ -1,5 +1,10 @@
+from __future__ import annotations
+
 import importlib.metadata
-from typing import Any, Optional, Protocol, cast
+import os
+from typing import Any, Protocol, cast
+
+from pip._vendor.packaging.utils import NormalizedName, canonicalize_name
 
 
 class BadMetadata(ValueError):
@@ -27,11 +32,11 @@ class BasePath(Protocol):
         raise NotImplementedError()
 
     @property
-    def parent(self) -> "BasePath":
+    def parent(self) -> BasePath:
         raise NotImplementedError()
 
 
-def get_info_location(d: importlib.metadata.Distribution) -> Optional[BasePath]:
+def get_info_location(d: importlib.metadata.Distribution) -> BasePath | None:
     """Find the path to the distribution's metadata directory.
 
     HACK: This relies on importlib.metadata's private ``_path`` attribute. Not
@@ -43,13 +48,40 @@ def get_info_location(d: importlib.metadata.Distribution) -> Optional[BasePath]:
     return getattr(d, "_path", None)
 
 
-def get_dist_name(dist: importlib.metadata.Distribution) -> str:
-    """Get the distribution's project name.
+def parse_name_and_version_from_info_directory(
+    dist: importlib.metadata.Distribution,
+) -> tuple[str | None, str | None]:
+    """Get a name and version from the metadata directory name.
+
+    This is much faster than reading distribution metadata.
+    """
+    info_location = get_info_location(dist)
+    if info_location is None:
+        return None, None
+
+    stem, suffix = os.path.splitext(info_location.name)
+    if suffix == ".dist-info":
+        name, sep, version = stem.partition("-")
+        if sep:
+            return name, version
+
+    if suffix == ".egg-info":
+        name = stem.split("-", 1)[0]
+        return name, None
+
+    return None, None
+
+
+def get_dist_canonical_name(dist: importlib.metadata.Distribution) -> NormalizedName:
+    """Get the distribution's normalized name.
 
     The ``name`` attribute is only available in Python 3.10 or later. We are
     targeting exactly that, but Mypy does not know this.
     """
+    if name := parse_name_and_version_from_info_directory(dist)[0]:
+        return canonicalize_name(name)
+
     name = cast(Any, dist).name
     if not isinstance(name, str):
         raise BadMetadata(dist, reason="invalid metadata entry 'name'")
-    return name
+    return canonicalize_name(name)
diff --git a/.venv/Lib/site-packages/pip/_internal/metadata/importlib/_dists.py b/.venv/Lib/site-packages/pip/_internal/metadata/importlib/_dists.py
index 26370fa..97363af 100644
--- a/.venv/Lib/site-packages/pip/_internal/metadata/importlib/_dists.py
+++ b/.venv/Lib/site-packages/pip/_internal/metadata/importlib/_dists.py
@@ -1,36 +1,37 @@
+from __future__ import annotations
+
 import email.message
 import importlib.metadata
-import os
 import pathlib
 import zipfile
+from collections.abc import Collection, Iterable, Iterator, Mapping, Sequence
+from os import PathLike
 from typing import (
-    Collection,
-    Dict,
-    Iterable,
-    Iterator,
-    Mapping,
-    Optional,
-    Sequence,
     cast,
 )
 
 from pip._vendor.packaging.requirements import Requirement
 from pip._vendor.packaging.utils import NormalizedName, canonicalize_name
+from pip._vendor.packaging.version import Version
 from pip._vendor.packaging.version import parse as parse_version
 
 from pip._internal.exceptions import InvalidWheel, UnsupportedWheel
 from pip._internal.metadata.base import (
     BaseDistribution,
     BaseEntryPoint,
-    DistributionVersion,
     InfoPath,
     Wheel,
 )
 from pip._internal.utils.misc import normalize_path
+from pip._internal.utils.packaging import get_requirement
 from pip._internal.utils.temp_dir import TempDirectory
 from pip._internal.utils.wheel import parse_wheel, read_wheel_metadata_file
 
-from ._compat import BasePath, get_dist_name
+from ._compat import (
+    BasePath,
+    get_dist_canonical_name,
+    parse_name_and_version_from_info_directory,
+)
 
 
 class WheelDistribution(importlib.metadata.Distribution):
@@ -58,7 +59,7 @@ class WheelDistribution(importlib.metadata.Distribution):
         zf: zipfile.ZipFile,
         name: str,
         location: str,
-    ) -> "WheelDistribution":
+    ) -> WheelDistribution:
         info_dir, _ = parse_wheel(zf, name)
         paths = (
             (name, pathlib.PurePosixPath(name.split("/", 1)[-1]))
@@ -78,7 +79,7 @@ class WheelDistribution(importlib.metadata.Distribution):
             return iter(self._files)
         raise FileNotFoundError(path)
 
-    def read_text(self, filename: str) -> Optional[str]:
+    def read_text(self, filename: str) -> str | None:
         try:
             data = self._files[pathlib.PurePosixPath(filename)]
         except KeyError:
@@ -91,13 +92,18 @@ class WheelDistribution(importlib.metadata.Distribution):
             raise UnsupportedWheel(error)
         return text
 
+    def locate_file(self, path: str | PathLike[str]) -> pathlib.Path:
+        # This method doesn't make sense for our in-memory wheel, but the API
+        # requires us to define it.
+        raise NotImplementedError
+
 
 class Distribution(BaseDistribution):
     def __init__(
         self,
         dist: importlib.metadata.Distribution,
-        info_location: Optional[BasePath],
-        installed_location: Optional[BasePath],
+        info_location: BasePath | None,
+        installed_location: BasePath | None,
     ) -> None:
         self._dist = dist
         self._info_location = info_location
@@ -133,49 +139,40 @@ class Distribution(BaseDistribution):
                 dist = WheelDistribution.from_zipfile(zf, name, wheel.location)
         except zipfile.BadZipFile as e:
             raise InvalidWheel(wheel.location, name) from e
-        except UnsupportedWheel as e:
-            raise UnsupportedWheel(f"{name} has an invalid wheel, {e}")
         return cls(dist, dist.info_location, pathlib.PurePosixPath(wheel.location))
 
     @property
-    def location(self) -> Optional[str]:
+    def location(self) -> str | None:
         if self._info_location is None:
             return None
         return str(self._info_location.parent)
 
     @property
-    def info_location(self) -> Optional[str]:
+    def info_location(self) -> str | None:
         if self._info_location is None:
             return None
         return str(self._info_location)
 
     @property
-    def installed_location(self) -> Optional[str]:
+    def installed_location(self) -> str | None:
         if self._installed_location is None:
             return None
         return normalize_path(str(self._installed_location))
 
-    def _get_dist_name_from_location(self) -> Optional[str]:
-        """Try to get the name from the metadata directory name.
-
-        This is much faster than reading metadata.
-        """
-        if self._info_location is None:
-            return None
-        stem, suffix = os.path.splitext(self._info_location.name)
-        if suffix not in (".dist-info", ".egg-info"):
-            return None
-        return stem.split("-", 1)[0]
-
     @property
     def canonical_name(self) -> NormalizedName:
-        name = self._get_dist_name_from_location() or get_dist_name(self._dist)
-        return canonicalize_name(name)
+        return get_dist_canonical_name(self._dist)
 
     @property
-    def version(self) -> DistributionVersion:
+    def version(self) -> Version:
+        if version := parse_name_and_version_from_info_directory(self._dist)[1]:
+            return parse_version(version)
         return parse_version(self._dist.version)
 
+    @property
+    def raw_version(self) -> str:
+        return self._dist.version
+
     def is_file(self, path: InfoPath) -> bool:
         return self._dist.read_text(str(path)) is not None
 
@@ -195,7 +192,7 @@ class Distribution(BaseDistribution):
         return content
 
     def iter_entry_points(self) -> Iterable[BaseEntryPoint]:
-        # importlib.metadata's EntryPoint structure sasitfies BaseEntryPoint.
+        # importlib.metadata's EntryPoint structure satisfies BaseEntryPoint.
         return self._dist.entry_points
 
     def _metadata_impl(self) -> email.message.Message:
@@ -206,19 +203,18 @@ class Distribution(BaseDistribution):
         # until upstream can improve the protocol. (python/cpython#94952)
         return cast(email.message.Message, self._dist.metadata)
 
-    def iter_provided_extras(self) -> Iterable[str]:
-        return self.metadata.get_all("Provides-Extra", [])
-
-    def is_extra_provided(self, extra: str) -> bool:
-        return any(
-            canonicalize_name(provided_extra) == canonicalize_name(extra)
-            for provided_extra in self.metadata.get_all("Provides-Extra", [])
-        )
+    def iter_provided_extras(self) -> Iterable[NormalizedName]:
+        return [
+            canonicalize_name(extra)
+            for extra in self.metadata.get_all("Provides-Extra", [])
+        ]
 
     def iter_dependencies(self, extras: Collection[str] = ()) -> Iterable[Requirement]:
-        contexts: Sequence[Dict[str, str]] = [{"extra": e} for e in extras]
+        contexts: Sequence[dict[str, str]] = [{"extra": e} for e in extras]
         for req_string in self.metadata.get_all("Requires-Dist", []):
-            req = Requirement(req_string)
+            # strip() because email.message.Message.get_all() may return a leading \n
+            # in case a long header was wrapped.
+            req = get_requirement(req_string.strip())
             if not req.marker:
                 yield req
             elif not extras and req.marker.evaluate({"extra": ""}):
diff --git a/.venv/Lib/site-packages/pip/_internal/metadata/importlib/_envs.py b/.venv/Lib/site-packages/pip/_internal/metadata/importlib/_envs.py
index 048dc55..71a73b7 100644
--- a/.venv/Lib/site-packages/pip/_internal/metadata/importlib/_envs.py
+++ b/.venv/Lib/site-packages/pip/_internal/metadata/importlib/_envs.py
@@ -1,21 +1,25 @@
-import functools
+from __future__ import annotations
+
 import importlib.metadata
 import logging
 import os
 import pathlib
 import sys
 import zipfile
-import zipimport
-from typing import Iterator, List, Optional, Sequence, Set, Tuple
+from collections.abc import Iterator, Sequence
+from typing import Optional
 
-from pip._vendor.packaging.utils import NormalizedName, canonicalize_name
+from pip._vendor.packaging.utils import (
+    InvalidWheelFilename,
+    NormalizedName,
+    canonicalize_name,
+    parse_wheel_filename,
+)
 
 from pip._internal.metadata.base import BaseDistribution, BaseEnvironment
-from pip._internal.models.wheel import Wheel
-from pip._internal.utils.deprecation import deprecated
 from pip._internal.utils.filetypes import WHEEL_EXTENSION
 
-from ._compat import BadMetadata, BasePath, get_dist_name, get_info_location
+from ._compat import BadMetadata, BasePath, get_dist_canonical_name, get_info_location
 from ._dists import Distribution
 
 logger = logging.getLogger(__name__)
@@ -26,7 +30,9 @@ def _looks_like_wheel(location: str) -> bool:
         return False
     if not os.path.isfile(location):
         return False
-    if not Wheel.wheel_file_re.match(os.path.basename(location)):
+    try:
+        parse_wheel_filename(os.path.basename(location))
+    except InvalidWheelFilename:
         return False
     return zipfile.is_zipfile(location)
 
@@ -44,10 +50,10 @@ class _DistributionFinder:
     installations as well. It's useful feature, after all.
     """
 
-    FoundResult = Tuple[importlib.metadata.Distribution, Optional[BasePath]]
+    FoundResult = tuple[importlib.metadata.Distribution, Optional[BasePath]]
 
     def __init__(self) -> None:
-        self._found_names: Set[NormalizedName] = set()
+        self._found_names: set[NormalizedName] = set()
 
     def _find_impl(self, location: str) -> Iterator[FoundResult]:
         """Find distributions in a location."""
@@ -61,14 +67,13 @@ class _DistributionFinder:
         for dist in importlib.metadata.distributions(path=[location]):
             info_location = get_info_location(dist)
             try:
-                raw_name = get_dist_name(dist)
+                name = get_dist_canonical_name(dist)
             except BadMetadata as e:
                 logger.warning("Skipping %s due to %s", info_location, e.reason)
                 continue
-            normalized_name = canonicalize_name(raw_name)
-            if normalized_name in self._found_names:
+            if name in self._found_names:
                 continue
-            self._found_names.add(normalized_name)
+            self._found_names.add(name)
             yield dist, info_location
 
     def find(self, location: str) -> Iterator[BaseDistribution]:
@@ -78,12 +83,12 @@ class _DistributionFinder:
         """
         for dist, info_location in self._find_impl(location):
             if info_location is None:
-                installed_location: Optional[BasePath] = None
+                installed_location: BasePath | None = None
             else:
                 installed_location = info_location.parent
             yield Distribution(dist, info_location, installed_location)
 
-    def find_linked(self, location: str) -> Iterator[BaseDistribution]:
+    def find_legacy_editables(self, location: str) -> Iterator[BaseDistribution]:
         """Read location in egg-link files and return distributions in there.
 
         The path should be a directory; otherwise this returns nothing. This
@@ -107,54 +112,6 @@ class _DistributionFinder:
             for dist, info_location in self._find_impl(target_location):
                 yield Distribution(dist, info_location, path)
 
-    def _find_eggs_in_dir(self, location: str) -> Iterator[BaseDistribution]:
-        from pip._vendor.pkg_resources import find_distributions
-
-        from pip._internal.metadata import pkg_resources as legacy
-
-        with os.scandir(location) as it:
-            for entry in it:
-                if not entry.name.endswith(".egg"):
-                    continue
-                for dist in find_distributions(entry.path):
-                    yield legacy.Distribution(dist)
-
-    def _find_eggs_in_zip(self, location: str) -> Iterator[BaseDistribution]:
-        from pip._vendor.pkg_resources import find_eggs_in_zip
-
-        from pip._internal.metadata import pkg_resources as legacy
-
-        try:
-            importer = zipimport.zipimporter(location)
-        except zipimport.ZipImportError:
-            return
-        for dist in find_eggs_in_zip(importer, location):
-            yield legacy.Distribution(dist)
-
-    def find_eggs(self, location: str) -> Iterator[BaseDistribution]:
-        """Find eggs in a location.
-
-        This actually uses the old *pkg_resources* backend. We likely want to
-        deprecate this so we can eventually remove the *pkg_resources*
-        dependency entirely. Before that, this should first emit a deprecation
-        warning for some versions when using the fallback since importing
-        *pkg_resources* is slow for those who don't need it.
-        """
-        if os.path.isdir(location):
-            yield from self._find_eggs_in_dir(location)
-        if zipfile.is_zipfile(location):
-            yield from self._find_eggs_in_zip(location)
-
-
-@functools.lru_cache(maxsize=None)  # Warn a distribution exactly once.
-def _emit_egg_deprecation(location: Optional[str]) -> None:
-    deprecated(
-        reason=f"Loading egg at {location} is deprecated.",
-        replacement="to use pip for package installation.",
-        gone_in="24.3",
-        issue=12330,
-    )
-
 
 class Environment(BaseEnvironment):
     def __init__(self, paths: Sequence[str]) -> None:
@@ -165,7 +122,7 @@ class Environment(BaseEnvironment):
         return cls(sys.path)
 
     @classmethod
-    def from_paths(cls, paths: Optional[List[str]]) -> BaseEnvironment:
+    def from_paths(cls, paths: list[str] | None) -> BaseEnvironment:
         if paths is None:
             return cls(sys.path)
         return cls(paths)
@@ -174,16 +131,13 @@ class Environment(BaseEnvironment):
         finder = _DistributionFinder()
         for location in self._paths:
             yield from finder.find(location)
-            for dist in finder.find_eggs(location):
-                _emit_egg_deprecation(dist.location)
-                yield dist
-            # This must go last because that's how pkg_resources tie-breaks.
-            yield from finder.find_linked(location)
+            yield from finder.find_legacy_editables(location)
 
-    def get_distribution(self, name: str) -> Optional[BaseDistribution]:
+    def get_distribution(self, name: str) -> BaseDistribution | None:
+        canonical_name = canonicalize_name(name)
         matches = (
             distribution
             for distribution in self.iter_all_distributions()
-            if distribution.canonical_name == canonicalize_name(name)
+            if distribution.canonical_name == canonical_name
         )
         return next(matches, None)
diff --git a/.venv/Lib/site-packages/pip/_internal/metadata/pkg_resources.py b/.venv/Lib/site-packages/pip/_internal/metadata/pkg_resources.py
index bb11e5b..89fce8b 100644
--- a/.venv/Lib/site-packages/pip/_internal/metadata/pkg_resources.py
+++ b/.venv/Lib/site-packages/pip/_internal/metadata/pkg_resources.py
@@ -1,13 +1,19 @@
+from __future__ import annotations
+
 import email.message
 import email.parser
 import logging
 import os
 import zipfile
-from typing import Collection, Iterable, Iterator, List, Mapping, NamedTuple, Optional
+from collections.abc import Collection, Iterable, Iterator, Mapping
+from typing import (
+    NamedTuple,
+)
 
 from pip._vendor import pkg_resources
 from pip._vendor.packaging.requirements import Requirement
 from pip._vendor.packaging.utils import NormalizedName, canonicalize_name
+from pip._vendor.packaging.version import Version
 from pip._vendor.packaging.version import parse as parse_version
 
 from pip._internal.exceptions import InvalidWheel, NoneMetadataError, UnsupportedWheel
@@ -19,7 +25,6 @@ from .base import (
     BaseDistribution,
     BaseEntryPoint,
     BaseEnvironment,
-    DistributionVersion,
     InfoPath,
     Wheel,
 )
@@ -65,7 +70,7 @@ class InMemoryMetadata:
     def metadata_isdir(self, name: str) -> bool:
         return False
 
-    def metadata_listdir(self, name: str) -> List[str]:
+    def metadata_listdir(self, name: str) -> list[str]:
         return []
 
     def run_script(self, script_name: str, namespace: str) -> None:
@@ -75,6 +80,18 @@ class InMemoryMetadata:
 class Distribution(BaseDistribution):
     def __init__(self, dist: pkg_resources.Distribution) -> None:
         self._dist = dist
+        # This is populated lazily, to avoid loading metadata for all possible
+        # distributions eagerly.
+        self.__extra_mapping: Mapping[NormalizedName, str] | None = None
+
+    @property
+    def _extra_mapping(self) -> Mapping[NormalizedName, str]:
+        if self.__extra_mapping is None:
+            self.__extra_mapping = {
+                canonicalize_name(extra): extra for extra in self._dist.extras
+            }
+
+        return self.__extra_mapping
 
     @classmethod
     def from_directory(cls, directory: str) -> BaseDistribution:
@@ -135,11 +152,11 @@ class Distribution(BaseDistribution):
         return cls(dist)
 
     @property
-    def location(self) -> Optional[str]:
+    def location(self) -> str | None:
         return self._dist.location
 
     @property
-    def installed_location(self) -> Optional[str]:
+    def installed_location(self) -> str | None:
         egg_link = egg_link_path_from_location(self.raw_name)
         if egg_link:
             location = egg_link
@@ -150,7 +167,7 @@ class Distribution(BaseDistribution):
         return normalize_path(location)
 
     @property
-    def info_location(self) -> Optional[str]:
+    def info_location(self) -> str | None:
         return self._dist.egg_info
 
     @property
@@ -168,9 +185,13 @@ class Distribution(BaseDistribution):
         return canonicalize_name(self._dist.project_name)
 
     @property
-    def version(self) -> DistributionVersion:
+    def version(self) -> Version:
         return parse_version(self._dist.version)
 
+    @property
+    def raw_version(self) -> str:
+        return self._dist.version
+
     def is_file(self, path: InfoPath) -> bool:
         return self._dist.has_metadata(str(path))
 
@@ -215,16 +236,15 @@ class Distribution(BaseDistribution):
         return feed_parser.close()
 
     def iter_dependencies(self, extras: Collection[str] = ()) -> Iterable[Requirement]:
-        if extras:  # pkg_resources raises on invalid extras, so we sanitize.
-            extras = frozenset(pkg_resources.safe_extra(e) for e in extras)
-            extras = extras.intersection(self._dist.extras)
+        if extras:
+            relevant_extras = set(self._extra_mapping) & set(
+                map(canonicalize_name, extras)
+            )
+            extras = [self._extra_mapping[extra] for extra in relevant_extras]
         return self._dist.requires(extras)
 
-    def iter_provided_extras(self) -> Iterable[str]:
-        return self._dist.extras
-
-    def is_extra_provided(self, extra: str) -> bool:
-        return pkg_resources.safe_extra(extra) in self._dist.extras
+    def iter_provided_extras(self) -> Iterable[NormalizedName]:
+        return self._extra_mapping.keys()
 
 
 class Environment(BaseEnvironment):
@@ -236,14 +256,14 @@ class Environment(BaseEnvironment):
         return cls(pkg_resources.working_set)
 
     @classmethod
-    def from_paths(cls, paths: Optional[List[str]]) -> BaseEnvironment:
+    def from_paths(cls, paths: list[str] | None) -> BaseEnvironment:
         return cls(pkg_resources.WorkingSet(paths))
 
     def _iter_distributions(self) -> Iterator[BaseDistribution]:
         for dist in self._ws:
             yield Distribution(dist)
 
-    def _search_distribution(self, name: str) -> Optional[BaseDistribution]:
+    def _search_distribution(self, name: str) -> BaseDistribution | None:
         """Find a distribution matching the ``name`` in the environment.
 
         This searches from *all* distributions available in the environment, to
@@ -255,7 +275,7 @@ class Environment(BaseEnvironment):
                 return dist
         return None
 
-    def get_distribution(self, name: str) -> Optional[BaseDistribution]:
+    def get_distribution(self, name: str) -> BaseDistribution | None:
         # Search the distribution by looking through the working set.
         dist = self._search_distribution(name)
         if dist:
diff --git a/.venv/Lib/site-packages/pip/_internal/models/__init__.py b/.venv/Lib/site-packages/pip/_internal/models/__init__.py
index 7855226..7b1fc29 100644
--- a/.venv/Lib/site-packages/pip/_internal/models/__init__.py
+++ b/.venv/Lib/site-packages/pip/_internal/models/__init__.py
@@ -1,2 +1 @@
-"""A package that contains models that represent entities.
-"""
+"""A package that contains models that represent entities."""
diff --git a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/__init__.cpython-311.pyc
index 027a0bd..d83d929 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/candidate.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/candidate.cpython-311.pyc
index 3c2e0e3..638a676 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/candidate.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/candidate.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/direct_url.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/direct_url.cpython-311.pyc
index e51b62d..e8b3e36 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/direct_url.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/direct_url.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/format_control.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/format_control.cpython-311.pyc
index 9db7e7a..18d0dae 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/format_control.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/format_control.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/index.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/index.cpython-311.pyc
index 2f28945..536d1f6 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/index.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/index.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/installation_report.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/installation_report.cpython-311.pyc
index 573034d..5661acf 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/installation_report.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/installation_report.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/link.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/link.cpython-311.pyc
index 107bcdb..fe94d31 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/link.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/link.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/pylock.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/pylock.cpython-311.pyc
new file mode 100644
index 0000000..47b579e
Binary files /dev/null and b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/pylock.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/scheme.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/scheme.cpython-311.pyc
index e798b1d..2d8667a 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/scheme.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/scheme.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/search_scope.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/search_scope.cpython-311.pyc
index d5c19ac..d6b401a 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/search_scope.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/search_scope.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/selection_prefs.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/selection_prefs.cpython-311.pyc
index 8bbf3c8..a0c9f80 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/selection_prefs.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/selection_prefs.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/target_python.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/target_python.cpython-311.pyc
index bf7af8f..55df37c 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/target_python.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/target_python.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/wheel.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/wheel.cpython-311.pyc
index 8dc1707..f2a98cb 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/models/__pycache__/wheel.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/models/__pycache__/wheel.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/models/candidate.py b/.venv/Lib/site-packages/pip/_internal/models/candidate.py
index 9184a90..f27f283 100644
--- a/.venv/Lib/site-packages/pip/_internal/models/candidate.py
+++ b/.venv/Lib/site-packages/pip/_internal/models/candidate.py
@@ -1,30 +1,25 @@
+from dataclasses import dataclass
+
+from pip._vendor.packaging.version import Version
 from pip._vendor.packaging.version import parse as parse_version
 
 from pip._internal.models.link import Link
-from pip._internal.utils.models import KeyBasedCompareMixin
 
 
-class InstallationCandidate(KeyBasedCompareMixin):
+@dataclass(frozen=True)
+class InstallationCandidate:
     """Represents a potential "candidate" for installation."""
 
     __slots__ = ["name", "version", "link"]
 
+    name: str
+    version: Version
+    link: Link
+
     def __init__(self, name: str, version: str, link: Link) -> None:
-        self.name = name
-        self.version = parse_version(version)
-        self.link = link
-
-        super().__init__(
-            key=(self.name, self.version, self.link),
-            defining_class=InstallationCandidate,
-        )
-
-    def __repr__(self) -> str:
-        return "".format(
-            self.name,
-            self.version,
-            self.link,
-        )
+        object.__setattr__(self, "name", name)
+        object.__setattr__(self, "version", parse_version(version))
+        object.__setattr__(self, "link", link)
 
     def __str__(self) -> str:
         return f"{self.name!r} candidate (version {self.version} at {self.link})"
diff --git a/.venv/Lib/site-packages/pip/_internal/models/direct_url.py b/.venv/Lib/site-packages/pip/_internal/models/direct_url.py
index 0af884b..aefc670 100644
--- a/.venv/Lib/site-packages/pip/_internal/models/direct_url.py
+++ b/.venv/Lib/site-packages/pip/_internal/models/direct_url.py
@@ -1,8 +1,13 @@
-""" PEP 610 """
+"""PEP 610"""
+
+from __future__ import annotations
+
 import json
 import re
 import urllib.parse
-from typing import Any, Dict, Iterable, Optional, Type, TypeVar, Union
+from collections.abc import Iterable
+from dataclasses import dataclass
+from typing import Any, ClassVar, TypeVar, Union
 
 __all__ = [
     "DirectUrl",
@@ -23,8 +28,8 @@ class DirectUrlValidationError(Exception):
 
 
 def _get(
-    d: Dict[str, Any], expected_type: Type[T], key: str, default: Optional[T] = None
-) -> Optional[T]:
+    d: dict[str, Any], expected_type: type[T], key: str, default: T | None = None
+) -> T | None:
     """Get value from dictionary and verify expected type."""
     if key not in d:
         return default
@@ -37,7 +42,7 @@ def _get(
 
 
 def _get_required(
-    d: Dict[str, Any], expected_type: Type[T], key: str, default: Optional[T] = None
+    d: dict[str, Any], expected_type: type[T], key: str, default: T | None = None
 ) -> T:
     value = _get(d, expected_type, key, default)
     if value is None:
@@ -45,7 +50,7 @@ def _get_required(
     return value
 
 
-def _exactly_one_of(infos: Iterable[Optional["InfoType"]]) -> "InfoType":
+def _exactly_one_of(infos: Iterable[InfoType | None]) -> InfoType:
     infos = [info for info in infos if info is not None]
     if not infos:
         raise DirectUrlValidationError(
@@ -59,26 +64,21 @@ def _exactly_one_of(infos: Iterable[Optional["InfoType"]]) -> "InfoType":
     return infos[0]
 
 
-def _filter_none(**kwargs: Any) -> Dict[str, Any]:
+def _filter_none(**kwargs: Any) -> dict[str, Any]:
     """Make dict excluding None values."""
     return {k: v for k, v in kwargs.items() if v is not None}
 
 
+@dataclass
 class VcsInfo:
-    name = "vcs_info"
+    name: ClassVar = "vcs_info"
 
-    def __init__(
-        self,
-        vcs: str,
-        commit_id: str,
-        requested_revision: Optional[str] = None,
-    ) -> None:
-        self.vcs = vcs
-        self.requested_revision = requested_revision
-        self.commit_id = commit_id
+    vcs: str
+    commit_id: str
+    requested_revision: str | None = None
 
     @classmethod
-    def _from_dict(cls, d: Optional[Dict[str, Any]]) -> Optional["VcsInfo"]:
+    def _from_dict(cls, d: dict[str, Any] | None) -> VcsInfo | None:
         if d is None:
             return None
         return cls(
@@ -87,7 +87,7 @@ class VcsInfo:
             requested_revision=_get(d, str, "requested_revision"),
         )
 
-    def _to_dict(self) -> Dict[str, Any]:
+    def _to_dict(self) -> dict[str, Any]:
         return _filter_none(
             vcs=self.vcs,
             requested_revision=self.requested_revision,
@@ -100,19 +100,19 @@ class ArchiveInfo:
 
     def __init__(
         self,
-        hash: Optional[str] = None,
-        hashes: Optional[Dict[str, str]] = None,
+        hash: str | None = None,
+        hashes: dict[str, str] | None = None,
     ) -> None:
         # set hashes before hash, since the hash setter will further populate hashes
         self.hashes = hashes
         self.hash = hash
 
     @property
-    def hash(self) -> Optional[str]:
+    def hash(self) -> str | None:
         return self._hash
 
     @hash.setter
-    def hash(self, value: Optional[str]) -> None:
+    def hash(self, value: str | None) -> None:
         if value is not None:
             # Auto-populate the hashes key to upgrade to the new format automatically.
             # We don't back-populate the legacy hash key from hashes.
@@ -130,47 +130,39 @@ class ArchiveInfo:
         self._hash = value
 
     @classmethod
-    def _from_dict(cls, d: Optional[Dict[str, Any]]) -> Optional["ArchiveInfo"]:
+    def _from_dict(cls, d: dict[str, Any] | None) -> ArchiveInfo | None:
         if d is None:
             return None
         return cls(hash=_get(d, str, "hash"), hashes=_get(d, dict, "hashes"))
 
-    def _to_dict(self) -> Dict[str, Any]:
+    def _to_dict(self) -> dict[str, Any]:
         return _filter_none(hash=self.hash, hashes=self.hashes)
 
 
+@dataclass
 class DirInfo:
-    name = "dir_info"
+    name: ClassVar = "dir_info"
 
-    def __init__(
-        self,
-        editable: bool = False,
-    ) -> None:
-        self.editable = editable
+    editable: bool = False
 
     @classmethod
-    def _from_dict(cls, d: Optional[Dict[str, Any]]) -> Optional["DirInfo"]:
+    def _from_dict(cls, d: dict[str, Any] | None) -> DirInfo | None:
         if d is None:
             return None
         return cls(editable=_get_required(d, bool, "editable", default=False))
 
-    def _to_dict(self) -> Dict[str, Any]:
+    def _to_dict(self) -> dict[str, Any]:
         return _filter_none(editable=self.editable or None)
 
 
 InfoType = Union[ArchiveInfo, DirInfo, VcsInfo]
 
 
+@dataclass
 class DirectUrl:
-    def __init__(
-        self,
-        url: str,
-        info: InfoType,
-        subdirectory: Optional[str] = None,
-    ) -> None:
-        self.url = url
-        self.info = info
-        self.subdirectory = subdirectory
+    url: str
+    info: InfoType
+    subdirectory: str | None = None
 
     def _remove_auth_from_netloc(self, netloc: str) -> str:
         if "@" not in netloc:
@@ -203,7 +195,7 @@ class DirectUrl:
         self.from_dict(self.to_dict())
 
     @classmethod
-    def from_dict(cls, d: Dict[str, Any]) -> "DirectUrl":
+    def from_dict(cls, d: dict[str, Any]) -> DirectUrl:
         return DirectUrl(
             url=_get_required(d, str, "url"),
             subdirectory=_get(d, str, "subdirectory"),
@@ -216,7 +208,7 @@ class DirectUrl:
             ),
         )
 
-    def to_dict(self) -> Dict[str, Any]:
+    def to_dict(self) -> dict[str, Any]:
         res = _filter_none(
             url=self.redacted_url,
             subdirectory=self.subdirectory,
@@ -225,7 +217,7 @@ class DirectUrl:
         return res
 
     @classmethod
-    def from_json(cls, s: str) -> "DirectUrl":
+    def from_json(cls, s: str) -> DirectUrl:
         return cls.from_dict(json.loads(s))
 
     def to_json(self) -> str:
diff --git a/.venv/Lib/site-packages/pip/_internal/models/format_control.py b/.venv/Lib/site-packages/pip/_internal/models/format_control.py
index ccd1127..9f07e3f 100644
--- a/.venv/Lib/site-packages/pip/_internal/models/format_control.py
+++ b/.venv/Lib/site-packages/pip/_internal/models/format_control.py
@@ -1,4 +1,4 @@
-from typing import FrozenSet, Optional, Set
+from __future__ import annotations
 
 from pip._vendor.packaging.utils import canonicalize_name
 
@@ -12,8 +12,8 @@ class FormatControl:
 
     def __init__(
         self,
-        no_binary: Optional[Set[str]] = None,
-        only_binary: Optional[Set[str]] = None,
+        no_binary: set[str] | None = None,
+        only_binary: set[str] | None = None,
     ) -> None:
         if no_binary is None:
             no_binary = set()
@@ -36,7 +36,7 @@ class FormatControl:
         return f"{self.__class__.__name__}({self.no_binary}, {self.only_binary})"
 
     @staticmethod
-    def handle_mutual_excludes(value: str, target: Set[str], other: Set[str]) -> None:
+    def handle_mutual_excludes(value: str, target: set[str], other: set[str]) -> None:
         if value.startswith("-"):
             raise CommandError(
                 "--no-binary / --only-binary option requires 1 argument."
@@ -58,7 +58,7 @@ class FormatControl:
             other.discard(name)
             target.add(name)
 
-    def get_allowed_formats(self, canonical_name: str) -> FrozenSet[str]:
+    def get_allowed_formats(self, canonical_name: str) -> frozenset[str]:
         result = {"binary", "source"}
         if canonical_name in self.only_binary:
             result.discard("source")
diff --git a/.venv/Lib/site-packages/pip/_internal/models/installation_report.py b/.venv/Lib/site-packages/pip/_internal/models/installation_report.py
index b9c6330..3e8e968 100644
--- a/.venv/Lib/site-packages/pip/_internal/models/installation_report.py
+++ b/.venv/Lib/site-packages/pip/_internal/models/installation_report.py
@@ -1,4 +1,5 @@
-from typing import Any, Dict, Sequence
+from collections.abc import Sequence
+from typing import Any
 
 from pip._vendor.packaging.markers import default_environment
 
@@ -11,7 +12,7 @@ class InstallationReport:
         self._install_requirements = install_requirements
 
     @classmethod
-    def _install_req_to_dict(cls, ireq: InstallRequirement) -> Dict[str, Any]:
+    def _install_req_to_dict(cls, ireq: InstallRequirement) -> dict[str, Any]:
         assert ireq.download_info, f"No download_info for {ireq}"
         res = {
             # PEP 610 json for the download URL. download_info.archive_info.hashes may
@@ -39,7 +40,7 @@ class InstallationReport:
             res["requested_extras"] = sorted(ireq.extras)
         return res
 
-    def to_dict(self) -> Dict[str, Any]:
+    def to_dict(self) -> dict[str, Any]:
         return {
             "version": "1",
             "pip_version": __version__,
diff --git a/.venv/Lib/site-packages/pip/_internal/models/link.py b/.venv/Lib/site-packages/pip/_internal/models/link.py
index 73041b8..2e2c0f8 100644
--- a/.venv/Lib/site-packages/pip/_internal/models/link.py
+++ b/.venv/Lib/site-packages/pip/_internal/models/link.py
@@ -1,3 +1,5 @@
+from __future__ import annotations
+
 import functools
 import itertools
 import logging
@@ -5,17 +7,12 @@ import os
 import posixpath
 import re
 import urllib.parse
+from collections.abc import Mapping
 from dataclasses import dataclass
 from typing import (
     TYPE_CHECKING,
     Any,
-    Dict,
-    List,
-    Mapping,
     NamedTuple,
-    Optional,
-    Tuple,
-    Union,
 )
 
 from pip._internal.utils.deprecation import deprecated
@@ -27,7 +24,6 @@ from pip._internal.utils.misc import (
     split_auth_from_netloc,
     splitext,
 )
-from pip._internal.utils.models import KeyBasedCompareMixin
 from pip._internal.utils.urls import path_to_url, url_to_path
 
 if TYPE_CHECKING:
@@ -70,8 +66,8 @@ class LinkHash:
         assert self.name in _SUPPORTED_HASHES
 
     @classmethod
-    @functools.lru_cache(maxsize=None)
-    def find_hash_url_fragment(cls, url: str) -> Optional["LinkHash"]:
+    @functools.cache
+    def find_hash_url_fragment(cls, url: str) -> LinkHash | None:
         """Search a string for a checksum algorithm name and encoded output value."""
         match = cls._hash_url_fragment_re.search(url)
         if match is None:
@@ -79,14 +75,14 @@ class LinkHash:
         name, value = match.groups()
         return cls(name=name, value=value)
 
-    def as_dict(self) -> Dict[str, str]:
+    def as_dict(self) -> dict[str, str]:
         return {self.name: self.value}
 
     def as_hashes(self) -> Hashes:
         """Return a Hashes instance which checks only for the current hash."""
         return Hashes({self.name: [self.value]})
 
-    def is_hash_allowed(self, hashes: Optional[Hashes]) -> bool:
+    def is_hash_allowed(self, hashes: Hashes | None) -> bool:
         """
         Return True if the current hash is allowed by `hashes`.
         """
@@ -99,14 +95,14 @@ class LinkHash:
 class MetadataFile:
     """Information about a core metadata file associated with a distribution."""
 
-    hashes: Optional[Dict[str, str]]
+    hashes: dict[str, str] | None
 
     def __post_init__(self) -> None:
         if self.hashes is not None:
             assert all(name in _SUPPORTED_HASHES for name in self.hashes)
 
 
-def supported_hashes(hashes: Optional[Dict[str, str]]) -> Optional[Dict[str, str]]:
+def supported_hashes(hashes: dict[str, str] | None) -> dict[str, str] | None:
     # Remove any unsupported hash types from the mapping. If this leaves no
     # supported hashes, return None
     if hashes is None:
@@ -135,7 +131,11 @@ def _clean_file_url_path(part: str) -> str:
     # should not be quoted. On Linux where drive letters do not
     # exist, the colon should be quoted. We rely on urllib.request
     # to do the right thing here.
-    return urllib.request.pathname2url(urllib.request.url2pathname(part))
+    ret = urllib.request.pathname2url(urllib.request.url2pathname(part))
+    if ret.startswith("///"):
+        # Remove any URL authority section, leaving only the URL path.
+        ret = ret.removeprefix("//")
+    return ret
 
 
 # percent-encoded:                   /
@@ -171,20 +171,37 @@ def _ensure_quoted_url(url: str) -> str:
     and without double-quoting other characters.
     """
     # Split the URL into parts according to the general structure
-    # `scheme://netloc/path;parameters?query#fragment`.
-    result = urllib.parse.urlparse(url)
+    # `scheme://netloc/path?query#fragment`.
+    result = urllib.parse.urlsplit(url)
     # If the netloc is empty, then the URL refers to a local filesystem path.
     is_local_path = not result.netloc
     path = _clean_url_path(result.path, is_local_path=is_local_path)
-    return urllib.parse.urlunparse(result._replace(path=path))
+    # Temporarily replace scheme with file to ensure the URL generated by
+    # urlunsplit() contains an empty netloc (file://) as per RFC 1738.
+    ret = urllib.parse.urlunsplit(result._replace(scheme="file", path=path))
+    ret = result.scheme + ret[4:]  # Restore original scheme.
+    return ret
 
 
-class Link(KeyBasedCompareMixin):
+def _absolute_link_url(base_url: str, url: str) -> str:
+    """
+    A faster implementation of urllib.parse.urljoin with a shortcut
+    for absolute http/https URLs.
+    """
+    if url.startswith(("https://", "http://")):
+        return url
+    else:
+        return urllib.parse.urljoin(base_url, url)
+
+
+@functools.total_ordering
+class Link:
     """Represents a parsed link from a Package Index's simple URL"""
 
     __slots__ = [
         "_parsed_url",
         "_url",
+        "_path",
         "_hashes",
         "comes_from",
         "requires_python",
@@ -197,12 +214,12 @@ class Link(KeyBasedCompareMixin):
     def __init__(
         self,
         url: str,
-        comes_from: Optional[Union[str, "IndexContent"]] = None,
-        requires_python: Optional[str] = None,
-        yanked_reason: Optional[str] = None,
-        metadata_file_data: Optional[MetadataFile] = None,
+        comes_from: str | IndexContent | None = None,
+        requires_python: str | None = None,
+        yanked_reason: str | None = None,
+        metadata_file_data: MetadataFile | None = None,
         cache_link_parsing: bool = True,
-        hashes: Optional[Mapping[str, str]] = None,
+        hashes: Mapping[str, str] | None = None,
     ) -> None:
         """
         :param url: url of the resource pointed to (href of the link)
@@ -241,6 +258,8 @@ class Link(KeyBasedCompareMixin):
         # Store the url as a private attribute to prevent accidentally
         # trying to set a new value.
         self._url = url
+        # The .path property is hot, so calculate its value ahead of time.
+        self._path = urllib.parse.unquote(self._parsed_url.path)
 
         link_hash = LinkHash.find_hash_url_fragment(url)
         hashes_from_link = {} if link_hash is None else link_hash.as_dict()
@@ -254,17 +273,15 @@ class Link(KeyBasedCompareMixin):
         self.yanked_reason = yanked_reason
         self.metadata_file_data = metadata_file_data
 
-        super().__init__(key=url, defining_class=Link)
-
         self.cache_link_parsing = cache_link_parsing
         self.egg_fragment = self._egg_fragment()
 
     @classmethod
     def from_json(
         cls,
-        file_data: Dict[str, Any],
+        file_data: dict[str, Any],
         page_url: str,
-    ) -> Optional["Link"]:
+    ) -> Link | None:
         """
         Convert an pypi json document from a simple repository page into a Link.
         """
@@ -272,7 +289,7 @@ class Link(KeyBasedCompareMixin):
         if file_url is None:
             return None
 
-        url = _ensure_quoted_url(urllib.parse.urljoin(page_url, file_url))
+        url = _ensure_quoted_url(_absolute_link_url(page_url, file_url))
         pyrequire = file_data.get("requires-python")
         yanked_reason = file_data.get("yanked")
         hashes = file_data.get("hashes", {})
@@ -313,10 +330,10 @@ class Link(KeyBasedCompareMixin):
     @classmethod
     def from_element(
         cls,
-        anchor_attribs: Dict[str, Optional[str]],
+        anchor_attribs: dict[str, str | None],
         page_url: str,
         base_url: str,
-    ) -> Optional["Link"]:
+    ) -> Link | None:
         """
         Convert an anchor element's attributes in a simple repository page to a Link.
         """
@@ -324,7 +341,7 @@ class Link(KeyBasedCompareMixin):
         if not href:
             return None
 
-        url = _ensure_quoted_url(urllib.parse.urljoin(base_url, href))
+        url = _ensure_quoted_url(_absolute_link_url(base_url, href))
         pyrequire = anchor_attribs.get("data-requires-python")
         yanked_reason = anchor_attribs.get("data-yanked")
 
@@ -368,17 +385,34 @@ class Link(KeyBasedCompareMixin):
         else:
             rp = ""
         if self.comes_from:
-            return f"{redact_auth_from_url(self._url)} (from {self.comes_from}){rp}"
+            return f"{self.redacted_url} (from {self.comes_from}){rp}"
         else:
-            return redact_auth_from_url(str(self._url))
+            return self.redacted_url
 
     def __repr__(self) -> str:
         return f""
 
+    def __hash__(self) -> int:
+        return hash(self.url)
+
+    def __eq__(self, other: Any) -> bool:
+        if not isinstance(other, Link):
+            return NotImplemented
+        return self.url == other.url
+
+    def __lt__(self, other: Any) -> bool:
+        if not isinstance(other, Link):
+            return NotImplemented
+        return self.url < other.url
+
     @property
     def url(self) -> str:
         return self._url
 
+    @property
+    def redacted_url(self) -> str:
+        return redact_auth_from_url(self.url)
+
     @property
     def filename(self) -> str:
         path = self.path.rstrip("/")
@@ -410,9 +444,9 @@ class Link(KeyBasedCompareMixin):
 
     @property
     def path(self) -> str:
-        return urllib.parse.unquote(self._parsed_url.path)
+        return self._path
 
-    def splitext(self) -> Tuple[str, str]:
+    def splitext(self) -> tuple[str, str]:
         return splitext(posixpath.basename(self.path.rstrip("/")))
 
     @property
@@ -431,7 +465,7 @@ class Link(KeyBasedCompareMixin):
         r"^([A-Z0-9]|[A-Z0-9][A-Z0-9._-]*[A-Z0-9])$", re.IGNORECASE
     )
 
-    def _egg_fragment(self) -> Optional[str]:
+    def _egg_fragment(self) -> str | None:
         match = self._egg_fragment_re.search(self._url)
         if not match:
             return None
@@ -441,10 +475,10 @@ class Link(KeyBasedCompareMixin):
         project_name = match.group(1)
         if not self._project_name_re.match(project_name):
             deprecated(
-                reason=f"{self} contains an egg fragment with a non-PEP 508 name",
+                reason=f"{self} contains an egg fragment with a non-PEP 508 name.",
                 replacement="to use the req @ url syntax, and remove the egg fragment",
-                gone_in="25.0",
-                issue=11617,
+                gone_in="25.3",
+                issue=13157,
             )
 
         return project_name
@@ -452,13 +486,13 @@ class Link(KeyBasedCompareMixin):
     _subdirectory_fragment_re = re.compile(r"[#&]subdirectory=([^&]*)")
 
     @property
-    def subdirectory_fragment(self) -> Optional[str]:
+    def subdirectory_fragment(self) -> str | None:
         match = self._subdirectory_fragment_re.search(self._url)
         if not match:
             return None
         return match.group(1)
 
-    def metadata_link(self) -> Optional["Link"]:
+    def metadata_link(self) -> Link | None:
         """Return a link to the associated core metadata file (if any)."""
         if self.metadata_file_data is None:
             return None
@@ -471,11 +505,11 @@ class Link(KeyBasedCompareMixin):
         return Hashes({k: [v] for k, v in self._hashes.items()})
 
     @property
-    def hash(self) -> Optional[str]:
+    def hash(self) -> str | None:
         return next(iter(self._hashes.values()), None)
 
     @property
-    def hash_name(self) -> Optional[str]:
+    def hash_name(self) -> str | None:
         return next(iter(self._hashes), None)
 
     @property
@@ -507,7 +541,7 @@ class Link(KeyBasedCompareMixin):
     def has_hash(self) -> bool:
         return bool(self._hashes)
 
-    def is_hash_allowed(self, hashes: Optional[Hashes]) -> bool:
+    def is_hash_allowed(self, hashes: Hashes | None) -> bool:
         """
         Return True if the link has a hash and it is allowed by `hashes`.
         """
@@ -543,9 +577,9 @@ class _CleanResult(NamedTuple):
     """
 
     parsed: urllib.parse.SplitResult
-    query: Dict[str, List[str]]
+    query: dict[str, list[str]]
     subdirectory: str
-    hashes: Dict[str, str]
+    hashes: dict[str, str]
 
 
 def _clean_link(link: Link) -> _CleanResult:
@@ -574,6 +608,6 @@ def _clean_link(link: Link) -> _CleanResult:
     )
 
 
-@functools.lru_cache(maxsize=None)
+@functools.cache
 def links_equivalent(link1: Link, link2: Link) -> bool:
     return _clean_link(link1) == _clean_link(link2)
diff --git a/.venv/Lib/site-packages/pip/_internal/models/pylock.py b/.venv/Lib/site-packages/pip/_internal/models/pylock.py
new file mode 100644
index 0000000..1b6b8c1
--- /dev/null
+++ b/.venv/Lib/site-packages/pip/_internal/models/pylock.py
@@ -0,0 +1,188 @@
+from __future__ import annotations
+
+import dataclasses
+import re
+from collections.abc import Iterable
+from dataclasses import dataclass
+from pathlib import Path
+from typing import TYPE_CHECKING, Any
+
+from pip._vendor import tomli_w
+
+from pip._internal.models.direct_url import ArchiveInfo, DirInfo, VcsInfo
+from pip._internal.models.link import Link
+from pip._internal.req.req_install import InstallRequirement
+from pip._internal.utils.urls import url_to_path
+
+if TYPE_CHECKING:
+    from typing_extensions import Self
+
+PYLOCK_FILE_NAME_RE = re.compile(r"^pylock\.([^.]+)\.toml$")
+
+
+def is_valid_pylock_file_name(path: Path) -> bool:
+    return path.name == "pylock.toml" or bool(re.match(PYLOCK_FILE_NAME_RE, path.name))
+
+
+def _toml_dict_factory(data: list[tuple[str, Any]]) -> dict[str, Any]:
+    return {key.replace("_", "-"): value for key, value in data if value is not None}
+
+
+@dataclass
+class PackageVcs:
+    type: str
+    url: str | None
+    # (not supported) path: Optional[str]
+    requested_revision: str | None
+    commit_id: str
+    subdirectory: str | None
+
+
+@dataclass
+class PackageDirectory:
+    path: str
+    editable: bool | None
+    subdirectory: str | None
+
+
+@dataclass
+class PackageArchive:
+    url: str | None
+    # (not supported) path: Optional[str]
+    # (not supported) size: Optional[int]
+    # (not supported) upload_time: Optional[datetime]
+    hashes: dict[str, str]
+    subdirectory: str | None
+
+
+@dataclass
+class PackageSdist:
+    name: str
+    # (not supported) upload_time: Optional[datetime]
+    url: str | None
+    # (not supported) path: Optional[str]
+    # (not supported) size: Optional[int]
+    hashes: dict[str, str]
+
+
+@dataclass
+class PackageWheel:
+    name: str
+    # (not supported) upload_time: Optional[datetime]
+    url: str | None
+    # (not supported) path: Optional[str]
+    # (not supported) size: Optional[int]
+    hashes: dict[str, str]
+
+
+@dataclass
+class Package:
+    name: str
+    version: str | None = None
+    # (not supported) marker: Optional[str]
+    # (not supported) requires_python: Optional[str]
+    # (not supported) dependencies
+    vcs: PackageVcs | None = None
+    directory: PackageDirectory | None = None
+    archive: PackageArchive | None = None
+    # (not supported) index: Optional[str]
+    sdist: PackageSdist | None = None
+    wheels: list[PackageWheel] | None = None
+    # (not supported) attestation_identities: Optional[List[Dict[str, Any]]]
+    # (not supported) tool: Optional[Dict[str, Any]]
+
+    @classmethod
+    def from_install_requirement(cls, ireq: InstallRequirement, base_dir: Path) -> Self:
+        base_dir = base_dir.resolve()
+        dist = ireq.get_dist()
+        download_info = ireq.download_info
+        assert download_info
+        package = cls(name=dist.canonical_name)
+        if ireq.is_direct:
+            if isinstance(download_info.info, VcsInfo):
+                package.vcs = PackageVcs(
+                    type=download_info.info.vcs,
+                    url=download_info.url,
+                    requested_revision=download_info.info.requested_revision,
+                    commit_id=download_info.info.commit_id,
+                    subdirectory=download_info.subdirectory,
+                )
+            elif isinstance(download_info.info, DirInfo):
+                package.directory = PackageDirectory(
+                    path=(
+                        Path(url_to_path(download_info.url))
+                        .resolve()
+                        .relative_to(base_dir)
+                        .as_posix()
+                    ),
+                    editable=(
+                        download_info.info.editable
+                        if download_info.info.editable
+                        else None
+                    ),
+                    subdirectory=download_info.subdirectory,
+                )
+            elif isinstance(download_info.info, ArchiveInfo):
+                if not download_info.info.hashes:
+                    raise NotImplementedError()
+                package.archive = PackageArchive(
+                    url=download_info.url,
+                    hashes=download_info.info.hashes,
+                    subdirectory=download_info.subdirectory,
+                )
+            else:
+                # should never happen
+                raise NotImplementedError()
+        else:
+            package.version = str(dist.version)
+            if isinstance(download_info.info, ArchiveInfo):
+                if not download_info.info.hashes:
+                    raise NotImplementedError()
+                link = Link(download_info.url)
+                if link.is_wheel:
+                    package.wheels = [
+                        PackageWheel(
+                            name=link.filename,
+                            url=download_info.url,
+                            hashes=download_info.info.hashes,
+                        )
+                    ]
+                else:
+                    package.sdist = PackageSdist(
+                        name=link.filename,
+                        url=download_info.url,
+                        hashes=download_info.info.hashes,
+                    )
+            else:
+                # should never happen
+                raise NotImplementedError()
+        return package
+
+
+@dataclass
+class Pylock:
+    lock_version: str = "1.0"
+    # (not supported) environments: Optional[List[str]]
+    # (not supported) requires_python: Optional[str]
+    # (not supported) extras: List[str] = []
+    # (not supported) dependency_groups: List[str] = []
+    created_by: str = "pip"
+    packages: list[Package] = dataclasses.field(default_factory=list)
+    # (not supported) tool: Optional[Dict[str, Any]]
+
+    def as_toml(self) -> str:
+        return tomli_w.dumps(dataclasses.asdict(self, dict_factory=_toml_dict_factory))
+
+    @classmethod
+    def from_install_requirements(
+        cls, install_requirements: Iterable[InstallRequirement], base_dir: Path
+    ) -> Self:
+        return cls(
+            packages=sorted(
+                (
+                    Package.from_install_requirement(ireq, base_dir)
+                    for ireq in install_requirements
+                ),
+                key=lambda p: p.name,
+            )
+        )
diff --git a/.venv/Lib/site-packages/pip/_internal/models/scheme.py b/.venv/Lib/site-packages/pip/_internal/models/scheme.py
index f51190a..06a9a55 100644
--- a/.venv/Lib/site-packages/pip/_internal/models/scheme.py
+++ b/.venv/Lib/site-packages/pip/_internal/models/scheme.py
@@ -5,10 +5,12 @@ For a general overview of available schemes and their context, see
 https://docs.python.org/3/install/index.html#alternate-installation.
 """
 
+from dataclasses import dataclass
 
 SCHEME_KEYS = ["platlib", "purelib", "headers", "scripts", "data"]
 
 
+@dataclass(frozen=True)
 class Scheme:
     """A Scheme holds paths which are used as the base directories for
     artifacts associated with a Python package.
@@ -16,16 +18,8 @@ class Scheme:
 
     __slots__ = SCHEME_KEYS
 
-    def __init__(
-        self,
-        platlib: str,
-        purelib: str,
-        headers: str,
-        scripts: str,
-        data: str,
-    ) -> None:
-        self.platlib = platlib
-        self.purelib = purelib
-        self.headers = headers
-        self.scripts = scripts
-        self.data = data
+    platlib: str
+    purelib: str
+    headers: str
+    scripts: str
+    data: str
diff --git a/.venv/Lib/site-packages/pip/_internal/models/search_scope.py b/.venv/Lib/site-packages/pip/_internal/models/search_scope.py
index fe61e81..136163c 100644
--- a/.venv/Lib/site-packages/pip/_internal/models/search_scope.py
+++ b/.venv/Lib/site-packages/pip/_internal/models/search_scope.py
@@ -3,7 +3,7 @@ import logging
 import os
 import posixpath
 import urllib.parse
-from typing import List
+from dataclasses import dataclass
 
 from pip._vendor.packaging.utils import canonicalize_name
 
@@ -14,19 +14,23 @@ from pip._internal.utils.misc import normalize_path, redact_auth_from_url
 logger = logging.getLogger(__name__)
 
 
+@dataclass(frozen=True)
 class SearchScope:
-
     """
     Encapsulates the locations that pip is configured to search.
     """
 
     __slots__ = ["find_links", "index_urls", "no_index"]
 
+    find_links: list[str]
+    index_urls: list[str]
+    no_index: bool
+
     @classmethod
     def create(
         cls,
-        find_links: List[str],
-        index_urls: List[str],
+        find_links: list[str],
+        index_urls: list[str],
         no_index: bool,
     ) -> "SearchScope":
         """
@@ -37,7 +41,7 @@ class SearchScope:
         # it and if it exists, use the normalized version.
         # This is deliberately conservative - it might be fine just to
         # blindly normalize anything starting with a ~...
-        built_find_links: List[str] = []
+        built_find_links: list[str] = []
         for link in find_links:
             if link.startswith("~"):
                 new_link = normalize_path(link)
@@ -64,16 +68,6 @@ class SearchScope:
             no_index=no_index,
         )
 
-    def __init__(
-        self,
-        find_links: List[str],
-        index_urls: List[str],
-        no_index: bool,
-    ) -> None:
-        self.find_links = find_links
-        self.index_urls = index_urls
-        self.no_index = no_index
-
     def get_formatted_locations(self) -> str:
         lines = []
         redacted_index_urls = []
@@ -109,7 +103,7 @@ class SearchScope:
             )
         return "\n".join(lines)
 
-    def get_index_urls_locations(self, project_name: str) -> List[str]:
+    def get_index_urls_locations(self, project_name: str) -> list[str]:
         """Returns the locations found via self.index_urls
 
         Checks the url_name on the main (first in the list) index and
diff --git a/.venv/Lib/site-packages/pip/_internal/models/selection_prefs.py b/.venv/Lib/site-packages/pip/_internal/models/selection_prefs.py
index 977bc4c..8d5b42d 100644
--- a/.venv/Lib/site-packages/pip/_internal/models/selection_prefs.py
+++ b/.venv/Lib/site-packages/pip/_internal/models/selection_prefs.py
@@ -1,8 +1,10 @@
-from typing import Optional
+from __future__ import annotations
 
 from pip._internal.models.format_control import FormatControl
 
 
+# TODO: This needs Python 3.10's improved slots support for dataclasses
+# to be converted into a dataclass.
 class SelectionPreferences:
     """
     Encapsulates the candidate selection preferences for downloading
@@ -25,9 +27,9 @@ class SelectionPreferences:
         self,
         allow_yanked: bool,
         allow_all_prereleases: bool = False,
-        format_control: Optional[FormatControl] = None,
+        format_control: FormatControl | None = None,
         prefer_binary: bool = False,
-        ignore_requires_python: Optional[bool] = None,
+        ignore_requires_python: bool | None = None,
     ) -> None:
         """Create a SelectionPreferences object.
 
diff --git a/.venv/Lib/site-packages/pip/_internal/models/target_python.py b/.venv/Lib/site-packages/pip/_internal/models/target_python.py
index 67ea5da..8c38392 100644
--- a/.venv/Lib/site-packages/pip/_internal/models/target_python.py
+++ b/.venv/Lib/site-packages/pip/_internal/models/target_python.py
@@ -1,5 +1,6 @@
+from __future__ import annotations
+
 import sys
-from typing import List, Optional, Set, Tuple
 
 from pip._vendor.packaging.tags import Tag
 
@@ -8,7 +9,6 @@ from pip._internal.utils.misc import normalize_version_info
 
 
 class TargetPython:
-
     """
     Encapsulates the properties of a Python interpreter one is targeting
     for a package install, download, etc.
@@ -27,10 +27,10 @@ class TargetPython:
 
     def __init__(
         self,
-        platforms: Optional[List[str]] = None,
-        py_version_info: Optional[Tuple[int, ...]] = None,
-        abis: Optional[List[str]] = None,
-        implementation: Optional[str] = None,
+        platforms: list[str] | None = None,
+        py_version_info: tuple[int, ...] | None = None,
+        abis: list[str] | None = None,
+        implementation: str | None = None,
     ) -> None:
         """
         :param platforms: A list of strings or None. If None, searches for
@@ -63,8 +63,8 @@ class TargetPython:
         self.py_version_info = py_version_info
 
         # This is used to cache the return value of get_(un)sorted_tags.
-        self._valid_tags: Optional[List[Tag]] = None
-        self._valid_tags_set: Optional[Set[Tag]] = None
+        self._valid_tags: list[Tag] | None = None
+        self._valid_tags_set: set[Tag] | None = None
 
     def format_given(self) -> str:
         """
@@ -86,7 +86,7 @@ class TargetPython:
             f"{key}={value!r}" for key, value in key_values if value is not None
         )
 
-    def get_sorted_tags(self) -> List[Tag]:
+    def get_sorted_tags(self) -> list[Tag]:
         """
         Return the supported PEP 425 tags to check wheel candidates against.
 
@@ -111,7 +111,7 @@ class TargetPython:
 
         return self._valid_tags
 
-    def get_unsorted_tags(self) -> Set[Tag]:
+    def get_unsorted_tags(self) -> set[Tag]:
         """Exactly the same as get_sorted_tags, but returns a set.
 
         This is important for performance.
diff --git a/.venv/Lib/site-packages/pip/_internal/models/wheel.py b/.venv/Lib/site-packages/pip/_internal/models/wheel.py
index a5dc12b..60e97cb 100644
--- a/.venv/Lib/site-packages/pip/_internal/models/wheel.py
+++ b/.venv/Lib/site-packages/pip/_internal/models/wheel.py
@@ -1,18 +1,26 @@
 """Represents a wheel file and provides access to the various parts of the
 name that have meaning.
 """
+
+from __future__ import annotations
+
 import re
-from typing import Dict, Iterable, List
+from collections.abc import Iterable
 
 from pip._vendor.packaging.tags import Tag
+from pip._vendor.packaging.utils import BuildTag, parse_wheel_filename
+from pip._vendor.packaging.utils import (
+    InvalidWheelFilename as _PackagingInvalidWheelFilename,
+)
 
 from pip._internal.exceptions import InvalidWheelFilename
+from pip._internal.utils.deprecation import deprecated
 
 
 class Wheel:
     """A wheel file"""
 
-    wheel_file_re = re.compile(
+    legacy_wheel_file_re = re.compile(
         r"""^(?P(?P[^\s-]+?)-(?P[^\s-]*?))
         ((-(?P\d[^-]*?))?-(?P[^\s-]+?)-(?P[^\s-]+?)-(?P[^\s-]+?)
         \.whl|\.dist-info)$""",
@@ -20,32 +28,73 @@ class Wheel:
     )
 
     def __init__(self, filename: str) -> None:
-        """
-        :raises InvalidWheelFilename: when the filename is invalid for a wheel
-        """
-        wheel_info = self.wheel_file_re.match(filename)
-        if not wheel_info:
-            raise InvalidWheelFilename(f"{filename} is not a valid wheel filename.")
         self.filename = filename
-        self.name = wheel_info.group("name").replace("_", "-")
-        # we'll assume "_" means "-" due to wheel naming scheme
-        # (https://github.com/pypa/pip/issues/1150)
-        self.version = wheel_info.group("ver").replace("_", "-")
-        self.build_tag = wheel_info.group("build")
-        self.pyversions = wheel_info.group("pyver").split(".")
-        self.abis = wheel_info.group("abi").split(".")
-        self.plats = wheel_info.group("plat").split(".")
 
-        # All the tag combinations from this file
-        self.file_tags = {
-            Tag(x, y, z) for x in self.pyversions for y in self.abis for z in self.plats
-        }
+        # To make mypy happy specify type hints that can come from either
+        # parse_wheel_filename or the legacy_wheel_file_re match.
+        self.name: str
+        self._build_tag: BuildTag | None = None
 
-    def get_formatted_file_tags(self) -> List[str]:
+        try:
+            wheel_info = parse_wheel_filename(filename)
+            self.name, _version, self._build_tag, self.file_tags = wheel_info
+            self.version = str(_version)
+        except _PackagingInvalidWheelFilename as e:
+            # Check if the wheel filename is in the legacy format
+            legacy_wheel_info = self.legacy_wheel_file_re.match(filename)
+            if not legacy_wheel_info:
+                raise InvalidWheelFilename(e.args[0]) from None
+
+            deprecated(
+                reason=(
+                    f"Wheel filename {filename!r} is not correctly normalised. "
+                    "Future versions of pip will raise the following error:\n"
+                    f"{e.args[0]}\n\n"
+                ),
+                replacement=(
+                    "to rename the wheel to use a correctly normalised "
+                    "name (this may require updating the version in "
+                    "the project metadata)"
+                ),
+                gone_in="25.3",
+                issue=12938,
+            )
+
+            self.name = legacy_wheel_info.group("name").replace("_", "-")
+            self.version = legacy_wheel_info.group("ver").replace("_", "-")
+
+            # Generate the file tags from the legacy wheel filename
+            pyversions = legacy_wheel_info.group("pyver").split(".")
+            abis = legacy_wheel_info.group("abi").split(".")
+            plats = legacy_wheel_info.group("plat").split(".")
+            self.file_tags = frozenset(
+                Tag(interpreter=py, abi=abi, platform=plat)
+                for py in pyversions
+                for abi in abis
+                for plat in plats
+            )
+
+    @property
+    def build_tag(self) -> BuildTag:
+        if self._build_tag is not None:
+            return self._build_tag
+
+        # Parse the build tag from the legacy wheel filename
+        legacy_wheel_info = self.legacy_wheel_file_re.match(self.filename)
+        assert legacy_wheel_info is not None, "guaranteed by filename validation"
+        build_tag = legacy_wheel_info.group("build")
+        match = re.match(r"^(\d+)(.*)$", build_tag)
+        assert match is not None, "guaranteed by filename validation"
+        build_tag_groups = match.groups()
+        self._build_tag = (int(build_tag_groups[0]), build_tag_groups[1])
+
+        return self._build_tag
+
+    def get_formatted_file_tags(self) -> list[str]:
         """Return the wheel's tags as a sorted list of strings."""
         return sorted(str(tag) for tag in self.file_tags)
 
-    def support_index_min(self, tags: List[Tag]) -> int:
+    def support_index_min(self, tags: list[Tag]) -> int:
         """Return the lowest index that one of the wheel's file_tag combinations
         achieves in the given list of supported tags.
 
@@ -64,7 +113,7 @@ class Wheel:
             raise ValueError()
 
     def find_most_preferred_tag(
-        self, tags: List[Tag], tag_to_priority: Dict[Tag, int]
+        self, tags: list[Tag], tag_to_priority: dict[Tag, int]
     ) -> int:
         """Return the priority of the most preferred tag that one of the wheel's file
         tag combinations achieves in the given list of supported tags using the given
diff --git a/.venv/Lib/site-packages/pip/_internal/network/__init__.py b/.venv/Lib/site-packages/pip/_internal/network/__init__.py
index b51bde9..0ae1f56 100644
--- a/.venv/Lib/site-packages/pip/_internal/network/__init__.py
+++ b/.venv/Lib/site-packages/pip/_internal/network/__init__.py
@@ -1,2 +1 @@
-"""Contains purely network-related utilities.
-"""
+"""Contains purely network-related utilities."""
diff --git a/.venv/Lib/site-packages/pip/_internal/network/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/network/__pycache__/__init__.cpython-311.pyc
index 65065fd..537e29b 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/network/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/network/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/network/__pycache__/auth.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/network/__pycache__/auth.cpython-311.pyc
index 88ac466..ba1e264 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/network/__pycache__/auth.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/network/__pycache__/auth.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/network/__pycache__/cache.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/network/__pycache__/cache.cpython-311.pyc
index 89d00b8..afd9980 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/network/__pycache__/cache.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/network/__pycache__/cache.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/network/__pycache__/download.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/network/__pycache__/download.cpython-311.pyc
index bfe312a..9be6e0b 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/network/__pycache__/download.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/network/__pycache__/download.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/network/__pycache__/lazy_wheel.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/network/__pycache__/lazy_wheel.cpython-311.pyc
index 66af501..a3e748f 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/network/__pycache__/lazy_wheel.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/network/__pycache__/lazy_wheel.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/network/__pycache__/session.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/network/__pycache__/session.cpython-311.pyc
index 05aef55..59488ac 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/network/__pycache__/session.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/network/__pycache__/session.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/network/__pycache__/utils.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/network/__pycache__/utils.cpython-311.pyc
index 62e10bf..9101607 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/network/__pycache__/utils.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/network/__pycache__/utils.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/network/__pycache__/xmlrpc.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/network/__pycache__/xmlrpc.cpython-311.pyc
index 5b375b2..cc410ef 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/network/__pycache__/xmlrpc.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/network/__pycache__/xmlrpc.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/network/auth.py b/.venv/Lib/site-packages/pip/_internal/network/auth.py
index 94a82fa..a42f702 100644
--- a/.venv/Lib/site-packages/pip/_internal/network/auth.py
+++ b/.venv/Lib/site-packages/pip/_internal/network/auth.py
@@ -3,6 +3,9 @@
 Contains interface (MultiDomainBasicAuth) and associated glue code for
 providing credentials in the context of network requests.
 """
+
+from __future__ import annotations
+
 import logging
 import os
 import shutil
@@ -11,10 +14,10 @@ import sysconfig
 import typing
 import urllib.parse
 from abc import ABC, abstractmethod
-from functools import lru_cache
+from functools import cache
 from os.path import commonprefix
 from pathlib import Path
-from typing import Any, Dict, List, NamedTuple, Optional, Tuple
+from typing import Any, NamedTuple
 
 from pip._vendor.requests.auth import AuthBase, HTTPBasicAuth
 from pip._vendor.requests.models import Request, Response
@@ -47,12 +50,10 @@ class KeyRingBaseProvider(ABC):
     has_keyring: bool
 
     @abstractmethod
-    def get_auth_info(self, url: str, username: Optional[str]) -> Optional[AuthInfo]:
-        ...
+    def get_auth_info(self, url: str, username: str | None) -> AuthInfo | None: ...
 
     @abstractmethod
-    def save_auth_info(self, url: str, username: str, password: str) -> None:
-        ...
+    def save_auth_info(self, url: str, username: str, password: str) -> None: ...
 
 
 class KeyRingNullProvider(KeyRingBaseProvider):
@@ -60,7 +61,7 @@ class KeyRingNullProvider(KeyRingBaseProvider):
 
     has_keyring = False
 
-    def get_auth_info(self, url: str, username: Optional[str]) -> Optional[AuthInfo]:
+    def get_auth_info(self, url: str, username: str | None) -> AuthInfo | None:
         return None
 
     def save_auth_info(self, url: str, username: str, password: str) -> None:
@@ -77,7 +78,7 @@ class KeyRingPythonProvider(KeyRingBaseProvider):
 
         self.keyring = keyring
 
-    def get_auth_info(self, url: str, username: Optional[str]) -> Optional[AuthInfo]:
+    def get_auth_info(self, url: str, username: str | None) -> AuthInfo | None:
         # Support keyring's get_credential interface which supports getting
         # credentials without a username. This is only available for
         # keyring>=15.2.0.
@@ -113,7 +114,7 @@ class KeyRingCliProvider(KeyRingBaseProvider):
     def __init__(self, cmd: str) -> None:
         self.keyring = cmd
 
-    def get_auth_info(self, url: str, username: Optional[str]) -> Optional[AuthInfo]:
+    def get_auth_info(self, url: str, username: str | None) -> AuthInfo | None:
         # This is the default implementation of keyring.get_credential
         # https://github.com/jaraco/keyring/blob/97689324abcf01bd1793d49063e7ca01e03d7d07/keyring/backend.py#L134-L139
         if username is not None:
@@ -125,7 +126,7 @@ class KeyRingCliProvider(KeyRingBaseProvider):
     def save_auth_info(self, url: str, username: str, password: str) -> None:
         return self._set_password(url, username, password)
 
-    def _get_password(self, service_name: str, username: str) -> Optional[str]:
+    def _get_password(self, service_name: str, username: str) -> str | None:
         """Mirror the implementation of keyring.get_password using cli"""
         if self.keyring is None:
             return None
@@ -151,14 +152,14 @@ class KeyRingCliProvider(KeyRingBaseProvider):
         env["PYTHONIOENCODING"] = "utf-8"
         subprocess.run(
             [self.keyring, "set", service_name, username],
-            input=f"{password}{os.linesep}".encode("utf-8"),
+            input=f"{password}{os.linesep}".encode(),
             env=env,
             check=True,
         )
         return None
 
 
-@lru_cache(maxsize=None)
+@cache
 def get_keyring_provider(provider: str) -> KeyRingBaseProvider:
     logger.verbose("Keyring provider requested: %s", provider)
 
@@ -224,19 +225,19 @@ class MultiDomainBasicAuth(AuthBase):
     def __init__(
         self,
         prompting: bool = True,
-        index_urls: Optional[List[str]] = None,
+        index_urls: list[str] | None = None,
         keyring_provider: str = "auto",
     ) -> None:
         self.prompting = prompting
         self.index_urls = index_urls
-        self.keyring_provider = keyring_provider  # type: ignore[assignment]
-        self.passwords: Dict[str, AuthInfo] = {}
+        self.keyring_provider = keyring_provider
+        self.passwords: dict[str, AuthInfo] = {}
         # When the user is prompted to enter credentials and keyring is
         # available, we will offer to save them. If the user accepts,
         # this value is set to the credentials they entered. After the
         # request authenticates, the caller should call
         # ``save_credentials`` to save these.
-        self._credentials_to_save: Optional[Credentials] = None
+        self._credentials_to_save: Credentials | None = None
 
     @property
     def keyring_provider(self) -> KeyRingBaseProvider:
@@ -259,9 +260,9 @@ class MultiDomainBasicAuth(AuthBase):
 
     def _get_keyring_auth(
         self,
-        url: Optional[str],
-        username: Optional[str],
-    ) -> Optional[AuthInfo]:
+        url: str | None,
+        username: str | None,
+    ) -> AuthInfo | None:
         """Return the tuple auth for a given url from keyring."""
         # Do nothing if no url was provided
         if not url:
@@ -270,6 +271,10 @@ class MultiDomainBasicAuth(AuthBase):
         try:
             return self.keyring_provider.get_auth_info(url, username)
         except Exception as exc:
+            # Log the full exception (with stacktrace) at debug, so it'll only
+            # show up when running in verbose mode.
+            logger.debug("Keyring is skipped due to an exception", exc_info=True)
+            # Always log a shortened version of the exception.
             logger.warning(
                 "Keyring is skipped due to an exception: %s",
                 str(exc),
@@ -279,7 +284,7 @@ class MultiDomainBasicAuth(AuthBase):
             get_keyring_provider.cache_clear()
             return None
 
-    def _get_index_url(self, url: str) -> Optional[str]:
+    def _get_index_url(self, url: str) -> str | None:
         """Return the original index URL matching the requested URL.
 
         Cached or dynamically generated credentials may work against
@@ -386,7 +391,7 @@ class MultiDomainBasicAuth(AuthBase):
 
     def _get_url_and_credentials(
         self, original_url: str
-    ) -> Tuple[str, Optional[str], Optional[str]]:
+    ) -> tuple[str, str | None, str | None]:
         """Return the credentials to use for the provided URL.
 
         If allowed, netrc and keyring may be used to obtain the
@@ -449,9 +454,7 @@ class MultiDomainBasicAuth(AuthBase):
         return req
 
     # Factored out to allow for easy patching in tests
-    def _prompt_for_password(
-        self, netloc: str
-    ) -> Tuple[Optional[str], Optional[str], bool]:
+    def _prompt_for_password(self, netloc: str) -> tuple[str | None, str | None, bool]:
         username = ask_input(f"User for {netloc}: ") if self.prompting else None
         if not username:
             return None, None, False
diff --git a/.venv/Lib/site-packages/pip/_internal/network/cache.py b/.venv/Lib/site-packages/pip/_internal/network/cache.py
index 4d0fb54..0c5961c 100644
--- a/.venv/Lib/site-packages/pip/_internal/network/cache.py
+++ b/.venv/Lib/site-packages/pip/_internal/network/cache.py
@@ -1,10 +1,13 @@
-"""HTTP cache implementation.
-"""
+"""HTTP cache implementation."""
+
+from __future__ import annotations
 
 import os
+import shutil
+from collections.abc import Generator
 from contextlib import contextmanager
 from datetime import datetime
-from typing import BinaryIO, Generator, Optional, Union
+from typing import Any, BinaryIO, Callable
 
 from pip._vendor.cachecontrol.cache import SeparateBodyBaseCache
 from pip._vendor.cachecontrol.caches import SeparateBodyFileCache
@@ -60,7 +63,7 @@ class SafeFileCache(SeparateBodyBaseCache):
         parts = list(hashed[:5]) + [hashed]
         return os.path.join(self.directory, *parts)
 
-    def get(self, key: str) -> Optional[bytes]:
+    def get(self, key: str) -> bytes | None:
         # The cache entry is only valid if both metadata and body exist.
         metadata_path = self._get_cache_path(key)
         body_path = metadata_path + ".body"
@@ -70,17 +73,36 @@ class SafeFileCache(SeparateBodyBaseCache):
             with open(metadata_path, "rb") as f:
                 return f.read()
 
-    def _write(self, path: str, data: bytes) -> None:
+    def _write_to_file(self, path: str, writer_func: Callable[[BinaryIO], Any]) -> None:
+        """Common file writing logic with proper permissions and atomic replacement."""
         with suppressed_cache_errors():
             ensure_dir(os.path.dirname(path))
 
             with adjacent_tmp_file(path) as f:
-                f.write(data)
+                writer_func(f)
+                # Inherit the read/write permissions of the cache directory
+                # to enable multi-user cache use-cases.
+                mode = (
+                    os.stat(self.directory).st_mode
+                    & 0o666  # select read/write permissions of cache directory
+                    | 0o600  # set owner read/write permissions
+                )
+                # Change permissions only if there is no risk of following a symlink.
+                if os.chmod in os.supports_fd:
+                    os.chmod(f.fileno(), mode)
+                elif os.chmod in os.supports_follow_symlinks:
+                    os.chmod(f.name, mode, follow_symlinks=False)
 
             replace(f.name, path)
 
+    def _write(self, path: str, data: bytes) -> None:
+        self._write_to_file(path, lambda f: f.write(data))
+
+    def _write_from_io(self, path: str, source_file: BinaryIO) -> None:
+        self._write_to_file(path, lambda f: shutil.copyfileobj(source_file, f))
+
     def set(
-        self, key: str, value: bytes, expires: Union[int, datetime, None] = None
+        self, key: str, value: bytes, expires: int | datetime | None = None
     ) -> None:
         path = self._get_cache_path(key)
         self._write(path, value)
@@ -92,7 +114,7 @@ class SafeFileCache(SeparateBodyBaseCache):
         with suppressed_cache_errors():
             os.remove(path + ".body")
 
-    def get_body(self, key: str) -> Optional[BinaryIO]:
+    def get_body(self, key: str) -> BinaryIO | None:
         # The cache entry is only valid if both metadata and body exist.
         metadata_path = self._get_cache_path(key)
         body_path = metadata_path + ".body"
@@ -104,3 +126,8 @@ class SafeFileCache(SeparateBodyBaseCache):
     def set_body(self, key: str, body: bytes) -> None:
         path = self._get_cache_path(key) + ".body"
         self._write(path, body)
+
+    def set_body_from_io(self, key: str, body_file: BinaryIO) -> None:
+        """Set the body of the cache entry from a file object."""
+        path = self._get_cache_path(key) + ".body"
+        self._write_from_io(path, body_file)
diff --git a/.venv/Lib/site-packages/pip/_internal/network/download.py b/.venv/Lib/site-packages/pip/_internal/network/download.py
index d1d4354..9881cc2 100644
--- a/.venv/Lib/site-packages/pip/_internal/network/download.py
+++ b/.venv/Lib/site-packages/pip/_internal/network/download.py
@@ -1,39 +1,56 @@
-"""Download files with progress indicators.
-"""
+"""Download files with progress indicators."""
+
+from __future__ import annotations
+
 import email.message
 import logging
 import mimetypes
 import os
-from typing import Iterable, Optional, Tuple
+from collections.abc import Iterable, Mapping
+from dataclasses import dataclass
+from http import HTTPStatus
+from typing import BinaryIO
 
-from pip._vendor.requests.models import CONTENT_CHUNK_SIZE, Response
+from pip._vendor.requests import PreparedRequest
+from pip._vendor.requests.models import Response
+from pip._vendor.urllib3 import HTTPResponse as URLlib3Response
+from pip._vendor.urllib3._collections import HTTPHeaderDict
+from pip._vendor.urllib3.exceptions import ReadTimeoutError
 
-from pip._internal.cli.progress_bars import get_download_progress_renderer
-from pip._internal.exceptions import NetworkConnectionError
+from pip._internal.cli.progress_bars import BarType, get_download_progress_renderer
+from pip._internal.exceptions import IncompleteDownloadError, NetworkConnectionError
 from pip._internal.models.index import PyPI
 from pip._internal.models.link import Link
-from pip._internal.network.cache import is_from_cache
-from pip._internal.network.session import PipSession
+from pip._internal.network.cache import SafeFileCache, is_from_cache
+from pip._internal.network.session import CacheControlAdapter, PipSession
 from pip._internal.network.utils import HEADERS, raise_for_status, response_chunks
 from pip._internal.utils.misc import format_size, redact_auth_from_url, splitext
 
 logger = logging.getLogger(__name__)
 
 
-def _get_http_response_size(resp: Response) -> Optional[int]:
+def _get_http_response_size(resp: Response) -> int | None:
     try:
         return int(resp.headers["content-length"])
     except (ValueError, KeyError, TypeError):
         return None
 
 
-def _prepare_download(
+def _get_http_response_etag_or_last_modified(resp: Response) -> str | None:
+    """
+    Return either the ETag or Last-Modified header (or None if neither exists).
+    The return value can be used in an If-Range header.
+    """
+    return resp.headers.get("etag", resp.headers.get("last-modified"))
+
+
+def _log_download(
     resp: Response,
     link: Link,
-    progress_bar: str,
+    progress_bar: BarType,
+    total_length: int | None,
+    range_start: int | None = 0,
 ) -> Iterable[bytes]:
-    total_length = _get_http_response_size(resp)
-
     if link.netloc == PyPI.file_storage_domain:
         url = link.show_url
     else:
@@ -42,10 +59,17 @@ def _prepare_download(
     logged_url = redact_auth_from_url(url)
 
     if total_length:
-        logged_url = f"{logged_url} ({format_size(total_length)})"
+        if range_start:
+            logged_url = (
+                f"{logged_url} ({format_size(range_start)}/{format_size(total_length)})"
+            )
+        else:
+            logged_url = f"{logged_url} ({format_size(total_length)})"
 
     if is_from_cache(resp):
         logger.info("Using cached %s", logged_url)
+    elif range_start:
+        logger.info("Resuming download %s", logged_url)
     else:
         logger.info("Downloading %s", logged_url)
 
@@ -55,17 +79,19 @@ def _prepare_download(
         show_progress = False
     elif not total_length:
         show_progress = True
-    elif total_length > (40 * 1000):
+    elif total_length > (512 * 1024):
         show_progress = True
     else:
         show_progress = False
 
-    chunks = response_chunks(resp, CONTENT_CHUNK_SIZE)
+    chunks = response_chunks(resp)
 
     if not show_progress:
         return chunks
 
-    renderer = get_download_progress_renderer(bar_type=progress_bar, size=total_length)
+    renderer = get_download_progress_renderer(
+        bar_type=progress_bar, size=total_length, initial_progress=range_start
+    )
     return renderer(chunks)
 
 
@@ -100,7 +126,7 @@ def _get_http_response_filename(resp: Response, link: Link) -> str:
     content_disposition = resp.headers.get("content-disposition")
     if content_disposition:
         filename = parse_content_disposition(content_disposition, filename)
-    ext: Optional[str] = splitext(filename)[1]
+    ext: str | None = splitext(filename)[1]
     if not ext:
         ext = mimetypes.guess_extension(resp.headers.get("content-type", ""))
         if ext:
@@ -112,75 +138,205 @@ def _get_http_response_filename(resp: Response, link: Link) -> str:
     return filename
 
 
-def _http_get_download(session: PipSession, link: Link) -> Response:
-    target_url = link.url.split("#", 1)[0]
-    resp = session.get(target_url, headers=HEADERS, stream=True)
-    raise_for_status(resp)
-    return resp
+@dataclass
+class _FileDownload:
+    """Stores the state of a single link download."""
+
+    link: Link
+    output_file: BinaryIO
+    size: int | None
+    bytes_received: int = 0
+    reattempts: int = 0
+
+    def is_incomplete(self) -> bool:
+        return bool(self.size is not None and self.bytes_received < self.size)
+
+    def write_chunk(self, data: bytes) -> None:
+        self.bytes_received += len(data)
+        self.output_file.write(data)
+
+    def reset_file(self) -> None:
+        """Delete any saved data and reset progress to zero."""
+        self.output_file.seek(0)
+        self.output_file.truncate()
+        self.bytes_received = 0
 
 
 class Downloader:
     def __init__(
         self,
         session: PipSession,
-        progress_bar: str,
+        progress_bar: BarType,
+        resume_retries: int,
     ) -> None:
+        assert (
+            resume_retries >= 0
+        ), "Number of max resume retries must be bigger or equal to zero"
         self._session = session
         self._progress_bar = progress_bar
+        self._resume_retries = resume_retries
 
-    def __call__(self, link: Link, location: str) -> Tuple[str, str]:
-        """Download the file given by link into location."""
+    def batch(
+        self, links: Iterable[Link], location: str
+    ) -> Iterable[tuple[Link, tuple[str, str]]]:
+        """Convenience method to download multiple links."""
+        for link in links:
+            filepath, content_type = self(link, location)
+            yield link, (filepath, content_type)
+
+    def __call__(self, link: Link, location: str) -> tuple[str, str]:
+        """Download a link and save it under location."""
+        resp = self._http_get(link)
+        download_size = _get_http_response_size(resp)
+
+        filepath = os.path.join(location, _get_http_response_filename(resp, link))
+        with open(filepath, "wb") as content_file:
+            download = _FileDownload(link, content_file, download_size)
+            self._process_response(download, resp)
+            if download.is_incomplete():
+                self._attempt_resumes_or_redownloads(download, resp)
+
+        content_type = resp.headers.get("Content-Type", "")
+        return filepath, content_type
+
+    def _process_response(self, download: _FileDownload, resp: Response) -> None:
+        """Download and save chunks from a response."""
+        chunks = _log_download(
+            resp,
+            download.link,
+            self._progress_bar,
+            download.size,
+            range_start=download.bytes_received,
+        )
         try:
-            resp = _http_get_download(self._session, link)
+            for chunk in chunks:
+                download.write_chunk(chunk)
+        except ReadTimeoutError as e:
+            # If the download size is not known, then give up downloading the file.
+            if download.size is None:
+                raise e
+
+            logger.warning("Connection timed out while downloading.")
+
+    def _attempt_resumes_or_redownloads(
+        self, download: _FileDownload, first_resp: Response
+    ) -> None:
+        """Attempt to resume/restart the download if connection was dropped."""
+
+        while download.reattempts < self._resume_retries and download.is_incomplete():
+            assert download.size is not None
+            download.reattempts += 1
+            logger.warning(
+                "Attempting to resume incomplete download (%s/%s, attempt %d)",
+                format_size(download.bytes_received),
+                format_size(download.size),
+                download.reattempts,
+            )
+
+            try:
+                resume_resp = self._http_get_resume(download, should_match=first_resp)
+                # Fallback: if the server responded with 200 (i.e., the file has
+                # since been modified or range requests are unsupported) or any
+                # other unexpected status, restart the download from the beginning.
+                must_restart = resume_resp.status_code != HTTPStatus.PARTIAL_CONTENT
+                if must_restart:
+                    download.reset_file()
+                    download.size = _get_http_response_size(resume_resp)
+                    first_resp = resume_resp
+
+                self._process_response(download, resume_resp)
+            except (ConnectionError, ReadTimeoutError, OSError):
+                continue
+
+        # No more resume attempts. Raise an error if the download is still incomplete.
+        if download.is_incomplete():
+            os.remove(download.output_file.name)
+            raise IncompleteDownloadError(download)
+
+        # If we successfully completed the download via resume, manually cache it
+        # as a complete response to enable future caching
+        if download.reattempts > 0:
+            self._cache_resumed_download(download, first_resp)
+
+    def _cache_resumed_download(
+        self, download: _FileDownload, original_response: Response
+    ) -> None:
+        """
+        Manually cache a file that was successfully downloaded via resume retries.
+
+        cachecontrol doesn't cache 206 (Partial Content) responses, since they
+        are not complete files. This method manually adds the final file to the
+        cache as though it was downloaded in a single request, so that future
+        requests can use the cache.
+        """
+        url = download.link.url_without_fragment
+        adapter = self._session.get_adapter(url)
+
+        # Check if the adapter is the CacheControlAdapter (i.e. caching is enabled)
+        if not isinstance(adapter, CacheControlAdapter):
+            logger.debug(
+                "Skipping resume download caching: no cache controller for %s", url
+            )
+            return
+
+        # Check SafeFileCache is being used
+        assert isinstance(
+            adapter.cache, SafeFileCache
+        ), "separate body cache not in use!"
+
+        synthetic_request = PreparedRequest()
+        synthetic_request.prepare(method="GET", url=url, headers={})
+
+        synthetic_response_headers = HTTPHeaderDict()
+        for key, value in original_response.headers.items():
+            if key.lower() not in ["content-range", "content-length"]:
+                synthetic_response_headers[key] = value
+        synthetic_response_headers["content-length"] = str(download.size)
+
+        synthetic_response = URLlib3Response(
+            body="",
+            headers=synthetic_response_headers,
+            status=200,
+            preload_content=False,
+        )
+
+        # Save metadata and then stream the file contents to cache.
+        cache_url = adapter.controller.cache_url(url)
+        metadata_blob = adapter.controller.serializer.dumps(
+            synthetic_request, synthetic_response, b""
+        )
+        adapter.cache.set(cache_url, metadata_blob)
+        download.output_file.flush()
+        with open(download.output_file.name, "rb") as f:
+            adapter.cache.set_body_from_io(cache_url, f)
+
+        logger.debug(
+            "Cached resumed download as complete response for future use: %s", url
+        )
+
+    def _http_get_resume(
+        self, download: _FileDownload, should_match: Response
+    ) -> Response:
+        """Issue a HTTP range request to resume the download."""
+        # To better understand the download resumption logic, see the mdn web docs:
+        # https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Range_requests
+        headers = HEADERS.copy()
+        headers["Range"] = f"bytes={download.bytes_received}-"
+        # If possible, use a conditional range request to avoid corrupted
+        # downloads caused by the remote file changing in-between.
+        if identifier := _get_http_response_etag_or_last_modified(should_match):
+            headers["If-Range"] = identifier
+        return self._http_get(download.link, headers)
+
+    def _http_get(self, link: Link, headers: Mapping[str, str] = HEADERS) -> Response:
+        target_url = link.url_without_fragment
+        try:
+            resp = self._session.get(target_url, headers=headers, stream=True)
+            raise_for_status(resp)
         except NetworkConnectionError as e:
             assert e.response is not None
             logger.critical(
                 "HTTP error %s while getting %s", e.response.status_code, link
             )
             raise
-
-        filename = _get_http_response_filename(resp, link)
-        filepath = os.path.join(location, filename)
-
-        chunks = _prepare_download(resp, link, self._progress_bar)
-        with open(filepath, "wb") as content_file:
-            for chunk in chunks:
-                content_file.write(chunk)
-        content_type = resp.headers.get("Content-Type", "")
-        return filepath, content_type
-
-
-class BatchDownloader:
-    def __init__(
-        self,
-        session: PipSession,
-        progress_bar: str,
-    ) -> None:
-        self._session = session
-        self._progress_bar = progress_bar
-
-    def __call__(
-        self, links: Iterable[Link], location: str
-    ) -> Iterable[Tuple[Link, Tuple[str, str]]]:
-        """Download the files given by links into location."""
-        for link in links:
-            try:
-                resp = _http_get_download(self._session, link)
-            except NetworkConnectionError as e:
-                assert e.response is not None
-                logger.critical(
-                    "HTTP error %s while getting %s",
-                    e.response.status_code,
-                    link,
-                )
-                raise
-
-            filename = _get_http_response_filename(resp, link)
-            filepath = os.path.join(location, filename)
-
-            chunks = _prepare_download(resp, link, self._progress_bar)
-            with open(filepath, "wb") as content_file:
-                for chunk in chunks:
-                    content_file.write(chunk)
-            content_type = resp.headers.get("Content-Type", "")
-            yield link, (filepath, content_type)
+        return resp
diff --git a/.venv/Lib/site-packages/pip/_internal/network/lazy_wheel.py b/.venv/Lib/site-packages/pip/_internal/network/lazy_wheel.py
index 82ec50d..ac3ebe6 100644
--- a/.venv/Lib/site-packages/pip/_internal/network/lazy_wheel.py
+++ b/.venv/Lib/site-packages/pip/_internal/network/lazy_wheel.py
@@ -1,11 +1,14 @@
 """Lazy ZIP over HTTP"""
 
+from __future__ import annotations
+
 __all__ = ["HTTPRangeRequestUnsupported", "dist_from_wheel_url"]
 
 from bisect import bisect_left, bisect_right
+from collections.abc import Generator
 from contextlib import contextmanager
 from tempfile import NamedTemporaryFile
-from typing import Any, Dict, Generator, List, Optional, Tuple
+from typing import Any
 from zipfile import BadZipFile, ZipFile
 
 from pip._vendor.packaging.utils import canonicalize_name
@@ -56,8 +59,8 @@ class LazyZipOverHTTP:
         self._length = int(head.headers["Content-Length"])
         self._file = NamedTemporaryFile()
         self.truncate(self._length)
-        self._left: List[int] = []
-        self._right: List[int] = []
+        self._left: list[int] = []
+        self._right: list[int] = []
         if "bytes" not in head.headers.get("Accept-Ranges", "none"):
             raise HTTPRangeRequestUnsupported("range request is not supported")
         self._check_zip()
@@ -117,7 +120,7 @@ class LazyZipOverHTTP:
         """Return the current position."""
         return self._file.tell()
 
-    def truncate(self, size: Optional[int] = None) -> int:
+    def truncate(self, size: int | None = None) -> int:
         """Resize the stream to the given size in bytes.
 
         If size is unspecified resize to the current position.
@@ -131,7 +134,7 @@ class LazyZipOverHTTP:
         """Return False."""
         return False
 
-    def __enter__(self) -> "LazyZipOverHTTP":
+    def __enter__(self) -> LazyZipOverHTTP:
         self._file.__enter__()
         return self
 
@@ -159,14 +162,14 @@ class LazyZipOverHTTP:
                 try:
                     # For read-only ZIP files, ZipFile only needs
                     # methods read, seek, seekable and tell.
-                    ZipFile(self)  # type: ignore
+                    ZipFile(self)
                 except BadZipFile:
                     pass
                 else:
                     break
 
     def _stream_response(
-        self, start: int, end: int, base_headers: Dict[str, str] = HEADERS
+        self, start: int, end: int, base_headers: dict[str, str] = HEADERS
     ) -> Response:
         """Return HTTP response to a range request from start to end."""
         headers = base_headers.copy()
@@ -177,7 +180,7 @@ class LazyZipOverHTTP:
 
     def _merge(
         self, start: int, end: int, left: int, right: int
-    ) -> Generator[Tuple[int, int], None, None]:
+    ) -> Generator[tuple[int, int], None, None]:
         """Return a generator of intervals to be fetched.
 
         Args:
diff --git a/.venv/Lib/site-packages/pip/_internal/network/session.py b/.venv/Lib/site-packages/pip/_internal/network/session.py
index f17efc5..a1f9444 100644
--- a/.venv/Lib/site-packages/pip/_internal/network/session.py
+++ b/.venv/Lib/site-packages/pip/_internal/network/session.py
@@ -2,7 +2,10 @@
 network request configuration and behavior.
 """
 
+from __future__ import annotations
+
 import email.utils
+import functools
 import io
 import ipaddress
 import json
@@ -15,16 +18,11 @@ import subprocess
 import sys
 import urllib.parse
 import warnings
+from collections.abc import Generator, Mapping, Sequence
 from typing import (
     TYPE_CHECKING,
     Any,
-    Dict,
-    Generator,
-    List,
-    Mapping,
     Optional,
-    Sequence,
-    Tuple,
     Union,
 )
 
@@ -53,18 +51,19 @@ if TYPE_CHECKING:
     from ssl import SSLContext
 
     from pip._vendor.urllib3.poolmanager import PoolManager
+    from pip._vendor.urllib3.proxymanager import ProxyManager
 
 
 logger = logging.getLogger(__name__)
 
-SecureOrigin = Tuple[str, str, Optional[Union[int, str]]]
+SecureOrigin = tuple[str, str, Optional[Union[int, str]]]
 
 
 # Ignore warning raised when using --trusted-host.
 warnings.filterwarnings("ignore", category=InsecureRequestWarning)
 
 
-SECURE_ORIGINS: List[SecureOrigin] = [
+SECURE_ORIGINS: list[SecureOrigin] = [
     # protocol, hostname, port
     # Taken from Chrome's list of secure origins (See: http://bit.ly/1qrySKC)
     ("https", "*", "*"),
@@ -106,11 +105,12 @@ def looks_like_ci() -> bool:
     return any(name in os.environ for name in CI_ENVIRONMENT_VARIABLES)
 
 
+@functools.lru_cache(maxsize=1)
 def user_agent() -> str:
     """
     Return a string representing the user agent.
     """
-    data: Dict[str, Any] = {
+    data: dict[str, Any] = {
         "installer": {"name": "pip", "version": __version__},
         "python": platform.python_version(),
         "implementation": {
@@ -138,7 +138,7 @@ def user_agent() -> str:
         from pip._vendor import distro
 
         linux_distribution = distro.name(), distro.version(), distro.codename()
-        distro_infos: Dict[str, Any] = dict(
+        distro_infos: dict[str, Any] = dict(
             filter(
                 lambda x: x[1],
                 zip(["name", "version", "id"], linux_distribution),
@@ -212,10 +212,10 @@ class LocalFSAdapter(BaseAdapter):
         self,
         request: PreparedRequest,
         stream: bool = False,
-        timeout: Optional[Union[float, Tuple[float, float]]] = None,
-        verify: Union[bool, str] = True,
-        cert: Optional[Union[str, Tuple[str, str]]] = None,
-        proxies: Optional[Mapping[str, str]] = None,
+        timeout: float | tuple[float, float] | None = None,
+        verify: bool | str = True,
+        cert: str | tuple[str, str] | None = None,
+        proxies: Mapping[str, str] | None = None,
     ) -> Response:
         pathname = url_to_path(request.url)
 
@@ -230,7 +230,7 @@ class LocalFSAdapter(BaseAdapter):
             # to return a better error message:
             resp.status_code = 404
             resp.reason = type(exc).__name__
-            resp.raw = io.BytesIO(f"{resp.reason}: {exc}".encode("utf8"))
+            resp.raw = io.BytesIO(f"{resp.reason}: {exc}".encode())
         else:
             modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
             content_type = mimetypes.guess_type(pathname)[0] or "text/plain"
@@ -262,7 +262,7 @@ class _SSLContextAdapterMixin:
     def __init__(
         self,
         *,
-        ssl_context: Optional["SSLContext"] = None,
+        ssl_context: SSLContext | None = None,
         **kwargs: Any,
     ) -> None:
         self._ssl_context = ssl_context
@@ -274,7 +274,7 @@ class _SSLContextAdapterMixin:
         maxsize: int,
         block: bool = DEFAULT_POOLBLOCK,
         **pool_kwargs: Any,
-    ) -> "PoolManager":
+    ) -> PoolManager:
         if self._ssl_context is not None:
             pool_kwargs.setdefault("ssl_context", self._ssl_context)
         return super().init_poolmanager(  # type: ignore[misc]
@@ -284,6 +284,13 @@ class _SSLContextAdapterMixin:
             **pool_kwargs,
         )
 
+    def proxy_manager_for(self, proxy: str, **proxy_kwargs: Any) -> ProxyManager:
+        # Proxy manager replaces the pool manager, so inject our SSL
+        # context here too. https://github.com/pypa/pip/issues/13288
+        if self._ssl_context is not None:
+            proxy_kwargs.setdefault("ssl_context", self._ssl_context)
+        return super().proxy_manager_for(proxy, **proxy_kwargs)  # type: ignore[misc]
+
 
 class HTTPAdapter(_SSLContextAdapterMixin, _BaseHTTPAdapter):
     pass
@@ -298,8 +305,8 @@ class InsecureHTTPAdapter(HTTPAdapter):
         self,
         conn: ConnectionPool,
         url: str,
-        verify: Union[bool, str],
-        cert: Optional[Union[str, Tuple[str, str]]],
+        verify: bool | str,
+        cert: str | tuple[str, str] | None,
     ) -> None:
         super().cert_verify(conn=conn, url=url, verify=False, cert=cert)
 
@@ -309,23 +316,23 @@ class InsecureCacheControlAdapter(CacheControlAdapter):
         self,
         conn: ConnectionPool,
         url: str,
-        verify: Union[bool, str],
-        cert: Optional[Union[str, Tuple[str, str]]],
+        verify: bool | str,
+        cert: str | tuple[str, str] | None,
     ) -> None:
         super().cert_verify(conn=conn, url=url, verify=False, cert=cert)
 
 
 class PipSession(requests.Session):
-    timeout: Optional[int] = None
+    timeout: int | None = None
 
     def __init__(
         self,
         *args: Any,
         retries: int = 0,
-        cache: Optional[str] = None,
+        cache: str | None = None,
         trusted_hosts: Sequence[str] = (),
-        index_urls: Optional[List[str]] = None,
-        ssl_context: Optional["SSLContext"] = None,
+        index_urls: list[str] | None = None,
+        ssl_context: SSLContext | None = None,
         **kwargs: Any,
     ) -> None:
         """
@@ -336,7 +343,8 @@ class PipSession(requests.Session):
 
         # Namespace the attribute with "pip_" just in case to prevent
         # possible conflicts with the base class.
-        self.pip_trusted_origins: List[Tuple[str, Optional[int]]] = []
+        self.pip_trusted_origins: list[tuple[str, int | None]] = []
+        self.pip_proxy = None
 
         # Attach our User Agent to the request
         self.headers["User-Agent"] = user_agent()
@@ -398,7 +406,7 @@ class PipSession(requests.Session):
         for host in trusted_hosts:
             self.add_trusted_host(host, suppress_logging=True)
 
-    def update_index_urls(self, new_index_urls: List[str]) -> None:
+    def update_index_urls(self, new_index_urls: list[str]) -> None:
         """
         :param new_index_urls: New index urls to update the authentication
             handler with.
@@ -406,7 +414,7 @@ class PipSession(requests.Session):
         self.auth.index_urls = new_index_urls
 
     def add_trusted_host(
-        self, host: str, source: Optional[str] = None, suppress_logging: bool = False
+        self, host: str, source: str | None = None, suppress_logging: bool = False
     ) -> None:
         """
         :param host: It is okay to provide a host that has previously been
diff --git a/.venv/Lib/site-packages/pip/_internal/network/utils.py b/.venv/Lib/site-packages/pip/_internal/network/utils.py
index 134848a..74d3111 100644
--- a/.venv/Lib/site-packages/pip/_internal/network/utils.py
+++ b/.venv/Lib/site-packages/pip/_internal/network/utils.py
@@ -1,6 +1,6 @@
-from typing import Dict, Generator
+from collections.abc import Generator
 
-from pip._vendor.requests.models import CONTENT_CHUNK_SIZE, Response
+from pip._vendor.requests.models import Response
 
 from pip._internal.exceptions import NetworkConnectionError
 
@@ -23,7 +23,9 @@ from pip._internal.exceptions import NetworkConnectionError
 # you're not asking for a compressed file and will then decompress it
 # before sending because if that's the case I don't think it'll ever be
 # possible to make this work.
-HEADERS: Dict[str, str] = {"Accept-Encoding": "identity"}
+HEADERS: dict[str, str] = {"Accept-Encoding": "identity"}
+
+DOWNLOAD_CHUNK_SIZE = 256 * 1024
 
 
 def raise_for_status(resp: Response) -> None:
@@ -55,7 +57,7 @@ def raise_for_status(resp: Response) -> None:
 
 
 def response_chunks(
-    response: Response, chunk_size: int = CONTENT_CHUNK_SIZE
+    response: Response, chunk_size: int = DOWNLOAD_CHUNK_SIZE
 ) -> Generator[bytes, None, None]:
     """Given a requests Response, provide the data chunks."""
     try:
diff --git a/.venv/Lib/site-packages/pip/_internal/network/xmlrpc.py b/.venv/Lib/site-packages/pip/_internal/network/xmlrpc.py
index 22ec8d2..f4bddb4 100644
--- a/.venv/Lib/site-packages/pip/_internal/network/xmlrpc.py
+++ b/.venv/Lib/site-packages/pip/_internal/network/xmlrpc.py
@@ -1,10 +1,9 @@
-"""xmlrpclib.Transport implementation
-"""
+"""xmlrpclib.Transport implementation"""
 
 import logging
 import urllib.parse
 import xmlrpc.client
-from typing import TYPE_CHECKING, Tuple
+from typing import TYPE_CHECKING
 
 from pip._internal.exceptions import NetworkConnectionError
 from pip._internal.network.session import PipSession
@@ -37,7 +36,7 @@ class PipXmlrpcTransport(xmlrpc.client.Transport):
         handler: str,
         request_body: "SizedBuffer",
         verbose: bool = False,
-    ) -> Tuple["_Marshallable", ...]:
+    ) -> tuple["_Marshallable", ...]:
         assert isinstance(host, str)
         parts = (self._scheme, host, handler, None, None, None)
         url = urllib.parse.urlunparse(parts)
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/operations/__pycache__/__init__.cpython-311.pyc
index 45b608d..c1bee93 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/operations/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/operations/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/__pycache__/check.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/operations/__pycache__/check.cpython-311.pyc
index a584df0..ed291ca 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/operations/__pycache__/check.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/operations/__pycache__/check.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/__pycache__/freeze.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/operations/__pycache__/freeze.cpython-311.pyc
index 717681f..6bed003 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/operations/__pycache__/freeze.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/operations/__pycache__/freeze.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/__pycache__/prepare.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/operations/__pycache__/prepare.cpython-311.pyc
index 3c8a086..7c9bdf8 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/operations/__pycache__/prepare.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/operations/__pycache__/prepare.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/__init__.cpython-311.pyc
index 05cc84b..718409d 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/build_tracker.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/build_tracker.cpython-311.pyc
index f71d0cc..af9afba 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/build_tracker.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/build_tracker.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/metadata.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/metadata.cpython-311.pyc
index 0ecf039..2dc55b6 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/metadata.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/metadata.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/metadata_editable.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/metadata_editable.cpython-311.pyc
index f0ac4f1..0eafd21 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/metadata_editable.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/metadata_editable.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/metadata_legacy.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/metadata_legacy.cpython-311.pyc
index 4e42d10..b2addb2 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/metadata_legacy.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/metadata_legacy.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/wheel.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/wheel.cpython-311.pyc
index b866c7a..84ad22e 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/wheel.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/wheel.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/wheel_editable.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/wheel_editable.cpython-311.pyc
index 4c510d9..640e7cd 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/wheel_editable.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/wheel_editable.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/wheel_legacy.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/wheel_legacy.cpython-311.pyc
index 9cbcf33..6653f6b 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/wheel_legacy.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/operations/build/__pycache__/wheel_legacy.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/build/build_tracker.py b/.venv/Lib/site-packages/pip/_internal/operations/build/build_tracker.py
index 3791932..cbb4e4f 100644
--- a/.venv/Lib/site-packages/pip/_internal/operations/build/build_tracker.py
+++ b/.venv/Lib/site-packages/pip/_internal/operations/build/build_tracker.py
@@ -1,11 +1,12 @@
+from __future__ import annotations
+
 import contextlib
 import hashlib
 import logging
 import os
+from collections.abc import Generator
 from types import TracebackType
-from typing import Dict, Generator, Optional, Set, Type, Union
 
-from pip._internal.models.link import Link
 from pip._internal.req.req_install import InstallRequirement
 from pip._internal.utils.temp_dir import TempDirectory
 
@@ -18,7 +19,7 @@ def update_env_context_manager(**changes: str) -> Generator[None, None, None]:
 
     # Save values from the target and change them.
     non_existent_marker = object()
-    saved_values: Dict[str, Union[object, str]] = {}
+    saved_values: dict[str, object | str] = {}
     for name, new_value in changes.items():
         try:
             saved_values[name] = target[name]
@@ -39,7 +40,7 @@ def update_env_context_manager(**changes: str) -> Generator[None, None, None]:
 
 
 @contextlib.contextmanager
-def get_build_tracker() -> Generator["BuildTracker", None, None]:
+def get_build_tracker() -> Generator[BuildTracker, None, None]:
     root = os.environ.get("PIP_BUILD_TRACKER")
     with contextlib.ExitStack() as ctx:
         if root is None:
@@ -66,18 +67,18 @@ class BuildTracker:
 
     def __init__(self, root: str) -> None:
         self._root = root
-        self._entries: Dict[TrackerId, InstallRequirement] = {}
+        self._entries: dict[TrackerId, InstallRequirement] = {}
         logger.debug("Created build tracker: %s", self._root)
 
-    def __enter__(self) -> "BuildTracker":
+    def __enter__(self) -> BuildTracker:
         logger.debug("Entered build tracker: %s", self._root)
         return self
 
     def __exit__(
         self,
-        exc_type: Optional[Type[BaseException]],
-        exc_val: Optional[BaseException],
-        exc_tb: Optional[TracebackType],
+        exc_type: type[BaseException] | None,
+        exc_val: BaseException | None,
+        exc_tb: TracebackType | None,
     ) -> None:
         self.cleanup()
 
@@ -99,7 +100,7 @@ class BuildTracker:
         except FileNotFoundError:
             pass
         else:
-            message = "{} is already being built: {}".format(req.link, contents)
+            message = f"{req.link} is already being built: {contents}"
             raise LookupError(message)
 
         # If we're here, req should really not be building already.
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/build/metadata.py b/.venv/Lib/site-packages/pip/_internal/operations/build/metadata.py
index c66ac35..a546809 100644
--- a/.venv/Lib/site-packages/pip/_internal/operations/build/metadata.py
+++ b/.venv/Lib/site-packages/pip/_internal/operations/build/metadata.py
@@ -1,5 +1,4 @@
-"""Metadata generation logic for source distributions.
-"""
+"""Metadata generation logic for source distributions."""
 
 import os
 
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/build/metadata_editable.py b/.venv/Lib/site-packages/pip/_internal/operations/build/metadata_editable.py
index 27c69f0..27ecd7d 100644
--- a/.venv/Lib/site-packages/pip/_internal/operations/build/metadata_editable.py
+++ b/.venv/Lib/site-packages/pip/_internal/operations/build/metadata_editable.py
@@ -1,5 +1,4 @@
-"""Metadata generation logic for source distributions.
-"""
+"""Metadata generation logic for source distributions."""
 
 import os
 
@@ -38,4 +37,5 @@ def generate_editable_metadata(
             except InstallationSubprocessError as error:
                 raise MetadataGenerationFailed(package_details=details) from error
 
+    assert distinfo_dir is not None
     return os.path.join(metadata_dir, distinfo_dir)
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/build/metadata_legacy.py b/.venv/Lib/site-packages/pip/_internal/operations/build/metadata_legacy.py
index e60988d..e385b5d 100644
--- a/.venv/Lib/site-packages/pip/_internal/operations/build/metadata_legacy.py
+++ b/.venv/Lib/site-packages/pip/_internal/operations/build/metadata_legacy.py
@@ -1,5 +1,4 @@
-"""Metadata generation logic for legacy source distributions.
-"""
+"""Metadata generation logic for legacy source distributions."""
 
 import logging
 import os
@@ -27,7 +26,7 @@ def _find_egg_info(directory: str) -> str:
 
     if len(filenames) > 1:
         raise InstallationError(
-            "More than one .egg-info directory found in {}".format(directory)
+            f"More than one .egg-info directory found in {directory}"
         )
 
     return os.path.join(directory, filenames[0])
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/build/wheel.py b/.venv/Lib/site-packages/pip/_internal/operations/build/wheel.py
index 064811a..5e404c6 100644
--- a/.venv/Lib/site-packages/pip/_internal/operations/build/wheel.py
+++ b/.venv/Lib/site-packages/pip/_internal/operations/build/wheel.py
@@ -1,6 +1,7 @@
+from __future__ import annotations
+
 import logging
 import os
-from typing import Optional
 
 from pip._vendor.pyproject_hooks import BuildBackendHookCaller
 
@@ -14,7 +15,7 @@ def build_wheel_pep517(
     backend: BuildBackendHookCaller,
     metadata_directory: str,
     tempd: str,
-) -> Optional[str]:
+) -> str | None:
     """Build one InstallRequirement using the PEP 517 build process.
 
     Returns path to wheel if successfully built. Otherwise, returns None.
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/build/wheel_editable.py b/.venv/Lib/site-packages/pip/_internal/operations/build/wheel_editable.py
index 719d69d..521bd55 100644
--- a/.venv/Lib/site-packages/pip/_internal/operations/build/wheel_editable.py
+++ b/.venv/Lib/site-packages/pip/_internal/operations/build/wheel_editable.py
@@ -1,6 +1,7 @@
+from __future__ import annotations
+
 import logging
 import os
-from typing import Optional
 
 from pip._vendor.pyproject_hooks import BuildBackendHookCaller, HookMissing
 
@@ -14,7 +15,7 @@ def build_wheel_editable(
     backend: BuildBackendHookCaller,
     metadata_directory: str,
     tempd: str,
-) -> Optional[str]:
+) -> str | None:
     """Build one InstallRequirement using the PEP 660 build process.
 
     Returns path to wheel if successfully built. Otherwise, returns None.
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/build/wheel_legacy.py b/.venv/Lib/site-packages/pip/_internal/operations/build/wheel_legacy.py
index c5f0492..02ef8e5 100644
--- a/.venv/Lib/site-packages/pip/_internal/operations/build/wheel_legacy.py
+++ b/.venv/Lib/site-packages/pip/_internal/operations/build/wheel_legacy.py
@@ -1,8 +1,10 @@
+from __future__ import annotations
+
 import logging
 import os.path
-from typing import List, Optional
 
 from pip._internal.cli.spinners import open_spinner
+from pip._internal.utils.deprecation import deprecated
 from pip._internal.utils.setuptools_build import make_setuptools_bdist_wheel_args
 from pip._internal.utils.subprocess import call_subprocess, format_command_args
 
@@ -10,7 +12,7 @@ logger = logging.getLogger(__name__)
 
 
 def format_command_result(
-    command_args: List[str],
+    command_args: list[str],
     command_output: str,
 ) -> str:
     """Format command information for logging."""
@@ -30,26 +32,26 @@ def format_command_result(
 
 
 def get_legacy_build_wheel_path(
-    names: List[str],
+    names: list[str],
     temp_dir: str,
     name: str,
-    command_args: List[str],
+    command_args: list[str],
     command_output: str,
-) -> Optional[str]:
+) -> str | None:
     """Return the path to the wheel in the temporary build directory."""
     # Sort for determinism.
     names = sorted(names)
     if not names:
-        msg = ("Legacy build of wheel for {!r} created no files.\n").format(name)
+        msg = f"Legacy build of wheel for {name!r} created no files.\n"
         msg += format_command_result(command_args, command_output)
         logger.warning(msg)
         return None
 
     if len(names) > 1:
         msg = (
-            "Legacy build of wheel for {!r} created more than one file.\n"
-            "Filenames (choosing first): {}\n"
-        ).format(name, names)
+            f"Legacy build of wheel for {name!r} created more than one file.\n"
+            f"Filenames (choosing first): {names}\n"
+        )
         msg += format_command_result(command_args, command_output)
         logger.warning(msg)
 
@@ -60,14 +62,29 @@ def build_wheel_legacy(
     name: str,
     setup_py_path: str,
     source_dir: str,
-    global_options: List[str],
-    build_options: List[str],
+    global_options: list[str],
+    build_options: list[str],
     tempd: str,
-) -> Optional[str]:
+) -> str | None:
     """Build one unpacked package using the "legacy" build process.
 
     Returns path to wheel if successfully built. Otherwise, returns None.
     """
+    deprecated(
+        reason=(
+            f"Building {name!r} using the legacy setup.py bdist_wheel mechanism, "
+            "which will be removed in a future version."
+        ),
+        replacement=(
+            "to use the standardized build interface by "
+            "setting the `--use-pep517` option, "
+            "(possibly combined with `--no-build-isolation`), "
+            f"or adding a `pyproject.toml` file to the source tree of {name!r}"
+        ),
+        gone_in="25.3",
+        issue=6334,
+    )
+
     wheel_args = make_setuptools_bdist_wheel_args(
         setup_py_path,
         global_options=global_options,
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/check.py b/.venv/Lib/site-packages/pip/_internal/operations/check.py
index 90c6a58..2d71fa5 100644
--- a/.venv/Lib/site-packages/pip/_internal/operations/check.py
+++ b/.venv/Lib/site-packages/pip/_internal/operations/check.py
@@ -1,40 +1,47 @@
-"""Validation of dependencies of packages
-"""
+"""Validation of dependencies of packages"""
+
+from __future__ import annotations
 
 import logging
-from typing import Callable, Dict, List, NamedTuple, Optional, Set, Tuple
+from collections.abc import Generator, Iterable
+from contextlib import suppress
+from email.parser import Parser
+from functools import reduce
+from typing import (
+    Callable,
+    NamedTuple,
+)
 
 from pip._vendor.packaging.requirements import Requirement
-from pip._vendor.packaging.specifiers import LegacySpecifier
+from pip._vendor.packaging.tags import Tag, parse_tag
 from pip._vendor.packaging.utils import NormalizedName, canonicalize_name
-from pip._vendor.packaging.version import LegacyVersion
+from pip._vendor.packaging.version import Version
 
 from pip._internal.distributions import make_distribution_for_install_requirement
 from pip._internal.metadata import get_default_environment
-from pip._internal.metadata.base import DistributionVersion
+from pip._internal.metadata.base import BaseDistribution
 from pip._internal.req.req_install import InstallRequirement
-from pip._internal.utils.deprecation import deprecated
 
 logger = logging.getLogger(__name__)
 
 
 class PackageDetails(NamedTuple):
-    version: DistributionVersion
-    dependencies: List[Requirement]
+    version: Version
+    dependencies: list[Requirement]
 
 
 # Shorthands
-PackageSet = Dict[NormalizedName, PackageDetails]
-Missing = Tuple[NormalizedName, Requirement]
-Conflicting = Tuple[NormalizedName, DistributionVersion, Requirement]
+PackageSet = dict[NormalizedName, PackageDetails]
+Missing = tuple[NormalizedName, Requirement]
+Conflicting = tuple[NormalizedName, Version, Requirement]
 
-MissingDict = Dict[NormalizedName, List[Missing]]
-ConflictingDict = Dict[NormalizedName, List[Conflicting]]
-CheckResult = Tuple[MissingDict, ConflictingDict]
-ConflictDetails = Tuple[PackageSet, CheckResult]
+MissingDict = dict[NormalizedName, list[Missing]]
+ConflictingDict = dict[NormalizedName, list[Conflicting]]
+CheckResult = tuple[MissingDict, ConflictingDict]
+ConflictDetails = tuple[PackageSet, CheckResult]
 
 
-def create_package_set_from_installed() -> Tuple[PackageSet, bool]:
+def create_package_set_from_installed() -> tuple[PackageSet, bool]:
     """Converts a list of distributions into a PackageSet."""
     package_set = {}
     problems = False
@@ -46,13 +53,13 @@ def create_package_set_from_installed() -> Tuple[PackageSet, bool]:
             package_set[name] = PackageDetails(dist.version, dependencies)
         except (OSError, ValueError) as e:
             # Don't crash on unreadable or broken metadata.
-            logger.warning("Error parsing requirements for %s: %s", name, e)
+            logger.warning("Error parsing dependencies of %s: %s", name, e)
             problems = True
     return package_set, problems
 
 
 def check_package_set(
-    package_set: PackageSet, should_ignore: Optional[Callable[[str], bool]] = None
+    package_set: PackageSet, should_ignore: Callable[[str], bool] | None = None
 ) -> CheckResult:
     """Check if a package set is consistent
 
@@ -60,15 +67,13 @@ def check_package_set(
     package name and returns a boolean.
     """
 
-    warn_legacy_versions_and_specifiers(package_set)
-
     missing = {}
     conflicting = {}
 
     for package_name, package_detail in package_set.items():
         # Info about dependencies of package_name
-        missing_deps: Set[Missing] = set()
-        conflicting_deps: Set[Conflicting] = set()
+        missing_deps: set[Missing] = set()
+        conflicting_deps: set[Conflicting] = set()
 
         if should_ignore and should_ignore(package_name):
             continue
@@ -98,7 +103,7 @@ def check_package_set(
     return missing, conflicting
 
 
-def check_install_conflicts(to_install: List[InstallRequirement]) -> ConflictDetails:
+def check_install_conflicts(to_install: list[InstallRequirement]) -> ConflictDetails:
     """For checking if the dependency graph would be consistent after \
     installing given requirements
     """
@@ -118,9 +123,25 @@ def check_install_conflicts(to_install: List[InstallRequirement]) -> ConflictDet
     )
 
 
+def check_unsupported(
+    packages: Iterable[BaseDistribution],
+    supported_tags: Iterable[Tag],
+) -> Generator[BaseDistribution, None, None]:
+    for p in packages:
+        with suppress(FileNotFoundError):
+            wheel_file = p.read_text("WHEEL")
+            wheel_tags: frozenset[Tag] = reduce(
+                frozenset.union,
+                map(parse_tag, Parser().parsestr(wheel_file).get_all("Tag", [])),
+                frozenset(),
+            )
+            if wheel_tags.isdisjoint(supported_tags):
+                yield p
+
+
 def _simulate_installation_of(
-    to_install: List[InstallRequirement], package_set: PackageSet
-) -> Set[NormalizedName]:
+    to_install: list[InstallRequirement], package_set: PackageSet
+) -> set[NormalizedName]:
     """Computes the version of packages after installing to_install."""
     # Keep track of packages that were installed
     installed = set()
@@ -138,8 +159,8 @@ def _simulate_installation_of(
 
 
 def _create_whitelist(
-    would_be_installed: Set[NormalizedName], package_set: PackageSet
-) -> Set[NormalizedName]:
+    would_be_installed: set[NormalizedName], package_set: PackageSet
+) -> set[NormalizedName]:
     packages_affected = set(would_be_installed)
 
     for package_name in package_set:
@@ -152,36 +173,3 @@ def _create_whitelist(
                 break
 
     return packages_affected
-
-
-def warn_legacy_versions_and_specifiers(package_set: PackageSet) -> None:
-    for project_name, package_details in package_set.items():
-        if isinstance(package_details.version, LegacyVersion):
-            deprecated(
-                reason=(
-                    f"{project_name} {package_details.version} "
-                    f"has a non-standard version number."
-                ),
-                replacement=(
-                    f"to upgrade to a newer version of {project_name} "
-                    f"or contact the author to suggest that they "
-                    f"release a version with a conforming version number"
-                ),
-                issue=12063,
-                gone_in="24.1",
-            )
-        for dep in package_details.dependencies:
-            if any(isinstance(spec, LegacySpecifier) for spec in dep.specifier):
-                deprecated(
-                    reason=(
-                        f"{project_name} {package_details.version} "
-                        f"has a non-standard dependency specifier {dep}."
-                    ),
-                    replacement=(
-                        f"to upgrade to a newer version of {project_name} "
-                        f"or contact the author to suggest that they "
-                        f"release a version with a conforming dependency specifiers"
-                    ),
-                    issue=12063,
-                    gone_in="24.1",
-                )
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/freeze.py b/.venv/Lib/site-packages/pip/_internal/operations/freeze.py
index 3544568..486a833 100644
--- a/.venv/Lib/site-packages/pip/_internal/operations/freeze.py
+++ b/.venv/Lib/site-packages/pip/_internal/operations/freeze.py
@@ -1,10 +1,14 @@
+from __future__ import annotations
+
 import collections
 import logging
 import os
-from typing import Container, Dict, Generator, Iterable, List, NamedTuple, Optional, Set
+from collections.abc import Container, Generator, Iterable
+from dataclasses import dataclass, field
+from typing import NamedTuple
 
-from pip._vendor.packaging.utils import canonicalize_name
-from pip._vendor.packaging.version import Version
+from pip._vendor.packaging.utils import NormalizedName, canonicalize_name
+from pip._vendor.packaging.version import InvalidVersion
 
 from pip._internal.exceptions import BadCommand, InstallationError
 from pip._internal.metadata import BaseDistribution, get_environment
@@ -20,19 +24,19 @@ logger = logging.getLogger(__name__)
 
 class _EditableInfo(NamedTuple):
     requirement: str
-    comments: List[str]
+    comments: list[str]
 
 
 def freeze(
-    requirement: Optional[List[str]] = None,
+    requirement: list[str] | None = None,
     local_only: bool = False,
     user_only: bool = False,
-    paths: Optional[List[str]] = None,
+    paths: list[str] | None = None,
     isolated: bool = False,
     exclude_editable: bool = False,
     skip: Container[str] = (),
 ) -> Generator[str, None, None]:
-    installations: Dict[str, FrozenRequirement] = {}
+    installations: dict[str, FrozenRequirement] = {}
 
     dists = get_environment(paths).iter_installed_distributions(
         local_only=local_only,
@@ -50,10 +54,10 @@ def freeze(
         # should only be emitted once, even if the same option is in multiple
         # requirements files, so we need to keep track of what has been emitted
         # so that we don't emit it again if it's seen again
-        emitted_options: Set[str] = set()
+        emitted_options: set[str] = set()
         # keep track of which files a requirement is in so that we can
         # give an accurate warning if a requirement appears multiple times.
-        req_files: Dict[str, List[str]] = collections.defaultdict(list)
+        req_files: dict[str, list[str]] = collections.defaultdict(list)
         for req_file_path in requirement:
             with open(req_file_path) as req_file:
                 for line in req_file:
@@ -82,7 +86,7 @@ def freeze(
                             yield line
                         continue
 
-                    if line.startswith("-e") or line.startswith("--editable"):
+                    if line.startswith(("-e", "--editable")):
                         if line.startswith("-e"):
                             line = line[2:].strip()
                         else:
@@ -145,10 +149,13 @@ def freeze(
 
 
 def _format_as_name_version(dist: BaseDistribution) -> str:
-    dist_version = dist.version
-    if isinstance(dist_version, Version):
+    try:
+        dist_version = dist.version
+    except InvalidVersion:
+        # legacy version
+        return f"{dist.raw_name}==={dist.raw_version}"
+    else:
         return f"{dist.raw_name}=={dist_version}"
-    return f"{dist.raw_name}==={dist_version}"
 
 
 def _get_editable_info(dist: BaseDistribution) -> _EditableInfo:
@@ -217,22 +224,19 @@ def _get_editable_info(dist: BaseDistribution) -> _EditableInfo:
     )
 
 
+@dataclass(frozen=True)
 class FrozenRequirement:
-    def __init__(
-        self,
-        name: str,
-        req: str,
-        editable: bool,
-        comments: Iterable[str] = (),
-    ) -> None:
-        self.name = name
-        self.canonical_name = canonicalize_name(name)
-        self.req = req
-        self.editable = editable
-        self.comments = comments
+    name: str
+    req: str
+    editable: bool
+    comments: Iterable[str] = field(default_factory=tuple)
+
+    @property
+    def canonical_name(self) -> NormalizedName:
+        return canonicalize_name(self.name)
 
     @classmethod
-    def from_dist(cls, dist: BaseDistribution) -> "FrozenRequirement":
+    def from_dist(cls, dist: BaseDistribution) -> FrozenRequirement:
         editable = dist.editable
         if editable:
             req, comments = _get_editable_info(dist)
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/install/__init__.py b/.venv/Lib/site-packages/pip/_internal/operations/install/__init__.py
index 24d6a5d..2645a4a 100644
--- a/.venv/Lib/site-packages/pip/_internal/operations/install/__init__.py
+++ b/.venv/Lib/site-packages/pip/_internal/operations/install/__init__.py
@@ -1,2 +1 @@
-"""For modules related to installing packages.
-"""
+"""For modules related to installing packages."""
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/install/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/operations/install/__pycache__/__init__.cpython-311.pyc
index 25cd874..25a0c72 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/operations/install/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/operations/install/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/install/__pycache__/editable_legacy.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/operations/install/__pycache__/editable_legacy.cpython-311.pyc
index 5cced24..0a23e09 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/operations/install/__pycache__/editable_legacy.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/operations/install/__pycache__/editable_legacy.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/install/__pycache__/wheel.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/operations/install/__pycache__/wheel.cpython-311.pyc
index 3cc8e6e..38e0ad2 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/operations/install/__pycache__/wheel.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/operations/install/__pycache__/wheel.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/install/editable_legacy.py b/.venv/Lib/site-packages/pip/_internal/operations/install/editable_legacy.py
index bebe24e..0603d3d 100644
--- a/.venv/Lib/site-packages/pip/_internal/operations/install/editable_legacy.py
+++ b/.venv/Lib/site-packages/pip/_internal/operations/install/editable_legacy.py
@@ -1,7 +1,9 @@
-"""Legacy editable installation process, i.e. `setup.py develop`.
-"""
+"""Legacy editable installation process, i.e. `setup.py develop`."""
+
+from __future__ import annotations
+
 import logging
-from typing import Optional, Sequence
+from collections.abc import Sequence
 
 from pip._internal.build_env import BuildEnvironment
 from pip._internal.utils.logging import indent_log
@@ -14,8 +16,8 @@ logger = logging.getLogger(__name__)
 def install_editable(
     *,
     global_options: Sequence[str],
-    prefix: Optional[str],
-    home: Optional[str],
+    prefix: str | None,
+    home: str | None,
     use_user_site: bool,
     name: str,
     setup_py_path: str,
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/install/wheel.py b/.venv/Lib/site-packages/pip/_internal/operations/install/wheel.py
index f67180c..2724f15 100644
--- a/.venv/Lib/site-packages/pip/_internal/operations/install/wheel.py
+++ b/.venv/Lib/site-packages/pip/_internal/operations/install/wheel.py
@@ -1,5 +1,6 @@
-"""Support for installing and building the "wheel" binary package format.
-"""
+"""Support for installing and building the "wheel" binary package format."""
+
+from __future__ import annotations
 
 import collections
 import compileall
@@ -11,26 +12,19 @@ import os.path
 import re
 import shutil
 import sys
+import textwrap
 import warnings
 from base64 import urlsafe_b64encode
+from collections.abc import Generator, Iterable, Iterator, Sequence
 from email.message import Message
 from itertools import chain, filterfalse, starmap
 from typing import (
     IO,
-    TYPE_CHECKING,
     Any,
     BinaryIO,
     Callable,
-    Dict,
-    Generator,
-    Iterable,
-    Iterator,
-    List,
     NewType,
-    Optional,
-    Sequence,
-    Set,
-    Tuple,
+    Protocol,
     Union,
     cast,
 )
@@ -50,7 +44,7 @@ from pip._internal.metadata import (
 from pip._internal.models.direct_url import DIRECT_URL_METADATA_NAME, DirectUrl
 from pip._internal.models.scheme import SCHEME_KEYS, Scheme
 from pip._internal.utils.filesystem import adjacent_tmp_file, replace
-from pip._internal.utils.misc import captured_stdout, ensure_dir, hash_file, partition
+from pip._internal.utils.misc import StreamWrapper, ensure_dir, hash_file, partition
 from pip._internal.utils.unpacking import (
     current_umask,
     is_within_directory,
@@ -59,32 +53,30 @@ from pip._internal.utils.unpacking import (
 )
 from pip._internal.utils.wheel import parse_wheel
 
-if TYPE_CHECKING:
-    from typing import Protocol
 
-    class File(Protocol):
-        src_record_path: "RecordPath"
-        dest_path: str
-        changed: bool
+class File(Protocol):
+    src_record_path: RecordPath
+    dest_path: str
+    changed: bool
 
-        def save(self) -> None:
-            pass
+    def save(self) -> None:
+        pass
 
 
 logger = logging.getLogger(__name__)
 
 RecordPath = NewType("RecordPath", str)
-InstalledCSVRow = Tuple[RecordPath, str, Union[int, str]]
+InstalledCSVRow = tuple[RecordPath, str, Union[int, str]]
 
 
-def rehash(path: str, blocksize: int = 1 << 20) -> Tuple[str, str]:
+def rehash(path: str, blocksize: int = 1 << 20) -> tuple[str, str]:
     """Return (encoded_digest, length) for path using hashlib.sha256()"""
     h, length = hash_file(path, blocksize)
     digest = "sha256=" + urlsafe_b64encode(h.digest()).decode("latin1").rstrip("=")
     return (digest, str(length))
 
 
-def csv_io_kwargs(mode: str) -> Dict[str, Any]:
+def csv_io_kwargs(mode: str) -> dict[str, Any]:
     """Return keyword arguments to properly open a CSV file
     in the given mode.
     """
@@ -115,7 +107,7 @@ def wheel_root_is_purelib(metadata: Message) -> bool:
     return metadata.get("Root-Is-Purelib", "").lower() == "true"
 
 
-def get_entrypoints(dist: BaseDistribution) -> Tuple[Dict[str, str], Dict[str, str]]:
+def get_entrypoints(dist: BaseDistribution) -> tuple[dict[str, str], dict[str, str]]:
     console_scripts = {}
     gui_scripts = {}
     for entry_point in dist.iter_entry_points():
@@ -126,7 +118,7 @@ def get_entrypoints(dist: BaseDistribution) -> Tuple[Dict[str, str], Dict[str, s
     return console_scripts, gui_scripts
 
 
-def message_about_scripts_not_on_PATH(scripts: Sequence[str]) -> Optional[str]:
+def message_about_scripts_not_on_PATH(scripts: Sequence[str]) -> str | None:
     """Determine if any scripts are not on PATH and format a warning.
     Returns a warning message if one or more scripts are not on PATH,
     otherwise None.
@@ -135,7 +127,7 @@ def message_about_scripts_not_on_PATH(scripts: Sequence[str]) -> Optional[str]:
         return None
 
     # Group scripts by the path they were installed in
-    grouped_by_dir: Dict[str, Set[str]] = collections.defaultdict(set)
+    grouped_by_dir: dict[str, set[str]] = collections.defaultdict(set)
     for destfile in scripts:
         parent_dir = os.path.dirname(destfile)
         script_name = os.path.basename(destfile)
@@ -151,7 +143,7 @@ def message_about_scripts_not_on_PATH(scripts: Sequence[str]) -> Optional[str]:
     not_warn_dirs.append(
         os.path.normcase(os.path.normpath(os.path.dirname(sys.executable)))
     )
-    warn_for: Dict[str, Set[str]] = {
+    warn_for: dict[str, set[str]] = {
         parent_dir: scripts
         for parent_dir, scripts in grouped_by_dir.items()
         if os.path.normcase(os.path.normpath(parent_dir)) not in not_warn_dirs
@@ -162,7 +154,7 @@ def message_about_scripts_not_on_PATH(scripts: Sequence[str]) -> Optional[str]:
     # Format a message
     msg_lines = []
     for parent_dir, dir_scripts in warn_for.items():
-        sorted_scripts: List[str] = sorted(dir_scripts)
+        sorted_scripts: list[str] = sorted(dir_scripts)
         if len(sorted_scripts) == 1:
             start_text = f"script {sorted_scripts[0]} is"
         else:
@@ -200,7 +192,7 @@ def message_about_scripts_not_on_PATH(scripts: Sequence[str]) -> Optional[str]:
 
 def _normalized_outrows(
     outrows: Iterable[InstalledCSVRow],
-) -> List[Tuple[str, str, str]]:
+) -> list[tuple[str, str, str]]:
     """Normalize the given rows of a RECORD file.
 
     Items in each row are converted into str. Rows are then sorted to make
@@ -239,17 +231,17 @@ def _fs_to_record_path(path: str, lib_dir: str) -> RecordPath:
 
 
 def get_csv_rows_for_installed(
-    old_csv_rows: List[List[str]],
-    installed: Dict[RecordPath, RecordPath],
-    changed: Set[RecordPath],
-    generated: List[str],
+    old_csv_rows: list[list[str]],
+    installed: dict[RecordPath, RecordPath],
+    changed: set[RecordPath],
+    generated: list[str],
     lib_dir: str,
-) -> List[InstalledCSVRow]:
+) -> list[InstalledCSVRow]:
     """
     :param installed: A map from archive RECORD path to installation RECORD
         path.
     """
-    installed_rows: List[InstalledCSVRow] = []
+    installed_rows: list[InstalledCSVRow] = []
     for row in old_csv_rows:
         if len(row) > 3:
             logger.warning("RECORD line has more than three elements: %s", row)
@@ -270,7 +262,7 @@ def get_csv_rows_for_installed(
     ]
 
 
-def get_console_script_specs(console: Dict[str, str]) -> List[str]:
+def get_console_script_specs(console: dict[str, str]) -> list[str]:
     """
     Given the mapping from entrypoint name to callable, return the relevant
     console script specs.
@@ -288,17 +280,15 @@ def get_console_script_specs(console: Dict[str, str]) -> List[str]:
     # the wheel metadata at build time, and so if the wheel is installed with
     # a *different* version of Python the entry points will be wrong. The
     # correct fix for this is to enhance the metadata to be able to describe
-    # such versioned entry points, but that won't happen till Metadata 2.0 is
-    # available.
-    # In the meantime, projects using versioned entry points will either have
+    # such versioned entry points.
+    # Currently, projects using versioned entry points will either have
     # incorrect versioned entry points, or they will not be able to distribute
     # "universal" wheels (i.e., they will need a wheel per Python version).
     #
     # Because setuptools and pip are bundled with _ensurepip and virtualenv,
-    # we need to use universal wheels. So, as a stopgap until Metadata 2.0, we
+    # we need to use universal wheels. As a workaround, we
     # override the versioned entry points in the wheel and generate the
-    # correct ones. This code is purely a short-term measure until Metadata 2.0
-    # is available.
+    # correct ones.
     #
     # To add the level of hack in this section of code, in order to support
     # ensurepip this code will look for an ``ENSUREPIP_OPTIONS`` environment
@@ -360,12 +350,6 @@ class ZipBackedFile:
         return self._zip_file.getinfo(self.src_record_path)
 
     def save(self) -> None:
-        # directory creation is lazy and after file filtering
-        # to ensure we don't install empty dirs; empty dirs can't be
-        # uninstalled.
-        parent_dir = os.path.dirname(self.dest_path)
-        ensure_dir(parent_dir)
-
         # When we open the output file below, any existing file is truncated
         # before we start writing the new contents. This is fine in most
         # cases, but can cause a segfault if pip has loaded a shared
@@ -379,16 +363,20 @@ class ZipBackedFile:
 
         zipinfo = self._getinfo()
 
-        with self._zip_file.open(zipinfo) as f:
-            with open(self.dest_path, "wb") as dest:
-                shutil.copyfileobj(f, dest)
+        # optimization: the file is created by open(),
+        # skip the decompression when there is 0 bytes to decompress.
+        with open(self.dest_path, "wb") as dest:
+            if zipinfo.file_size > 0:
+                with self._zip_file.open(zipinfo) as f:
+                    blocksize = min(zipinfo.file_size, 1024 * 1024)
+                    shutil.copyfileobj(f, dest, blocksize)
 
         if zip_item_is_executable(zipinfo):
             set_extracted_file_to_default_mode_plus_executable(self.dest_path)
 
 
 class ScriptFile:
-    def __init__(self, file: "File") -> None:
+    def __init__(self, file: File) -> None:
         self._file = file
         self.src_record_path = self._file.src_record_path
         self.dest_path = self._file.dest_path
@@ -403,7 +391,7 @@ class MissingCallableSuffix(InstallationError):
     def __init__(self, entry_point: str) -> None:
         super().__init__(
             f"Invalid script entry point: {entry_point} - A callable "
-            "suffix is required. Cf https://packaging.python.org/"
+            "suffix is required. See https://packaging.python.org/"
             "specifications/entry-points/#use-for-scripts for more "
             "information."
         )
@@ -416,21 +404,34 @@ def _raise_for_invalid_entrypoint(specification: str) -> None:
 
 
 class PipScriptMaker(ScriptMaker):
+    # Override distlib's default script template with one that
+    # doesn't import `re` module, allowing scripts to load faster.
+    script_template = textwrap.dedent(
+        """\
+        import sys
+        from %(module)s import %(import_name)s
+        if __name__ == '__main__':
+            if sys.argv[0].endswith('.exe'):
+                sys.argv[0] = sys.argv[0][:-4]
+            sys.exit(%(func)s())
+"""
+    )
+
     def make(
-        self, specification: str, options: Optional[Dict[str, Any]] = None
-    ) -> List[str]:
+        self, specification: str, options: dict[str, Any] | None = None
+    ) -> list[str]:
         _raise_for_invalid_entrypoint(specification)
         return super().make(specification, options)
 
 
-def _install_wheel(
+def _install_wheel(  # noqa: C901, PLR0915 function is too long
     name: str,
     wheel_zip: ZipFile,
     wheel_path: str,
     scheme: Scheme,
     pycompile: bool = True,
     warn_script_location: bool = True,
-    direct_url: Optional[DirectUrl] = None,
+    direct_url: DirectUrl | None = None,
     requested: bool = False,
 ) -> None:
     """Install a wheel.
@@ -459,9 +460,9 @@ def _install_wheel(
     #   installed = files copied from the wheel to the destination
     #   changed = files changed while installing (scripts #! line typically)
     #   generated = files newly generated during the install (script wrappers)
-    installed: Dict[RecordPath, RecordPath] = {}
-    changed: Set[RecordPath] = set()
-    generated: List[str] = []
+    installed: dict[RecordPath, RecordPath] = {}
+    changed: set[RecordPath] = set()
+    generated: list[str] = []
 
     def record_installed(
         srcfile: RecordPath, destfile: str, modified: bool = False
@@ -487,8 +488,8 @@ def _install_wheel(
 
     def root_scheme_file_maker(
         zip_file: ZipFile, dest: str
-    ) -> Callable[[RecordPath], "File"]:
-        def make_root_scheme_file(record_path: RecordPath) -> "File":
+    ) -> Callable[[RecordPath], File]:
+        def make_root_scheme_file(record_path: RecordPath) -> File:
             normed_path = os.path.normpath(record_path)
             dest_path = os.path.join(dest, normed_path)
             assert_no_path_traversal(dest, dest_path)
@@ -498,18 +499,18 @@ def _install_wheel(
 
     def data_scheme_file_maker(
         zip_file: ZipFile, scheme: Scheme
-    ) -> Callable[[RecordPath], "File"]:
+    ) -> Callable[[RecordPath], File]:
         scheme_paths = {key: getattr(scheme, key) for key in SCHEME_KEYS}
 
-        def make_data_scheme_file(record_path: RecordPath) -> "File":
+        def make_data_scheme_file(record_path: RecordPath) -> File:
             normed_path = os.path.normpath(record_path)
             try:
                 _, scheme_key, dest_subpath = normed_path.split(os.path.sep, 2)
             except ValueError:
                 message = (
-                    "Unexpected file in {}: {!r}. .data directory contents"
-                    " should be named like: '/'."
-                ).format(wheel_path, record_path)
+                    f"Unexpected file in {wheel_path}: {record_path!r}. .data directory"
+                    " contents should be named like: '/'."
+                )
                 raise InstallationError(message)
 
             try:
@@ -517,10 +518,11 @@ def _install_wheel(
             except KeyError:
                 valid_scheme_keys = ", ".join(sorted(scheme_paths))
                 message = (
-                    "Unknown scheme key used in {}: {} (for file {!r}). .data"
-                    " directory contents should be in subdirectories named"
-                    " with a valid scheme key ({})"
-                ).format(wheel_path, scheme_key, record_path, valid_scheme_keys)
+                    f"Unknown scheme key used in {wheel_path}: {scheme_key} "
+                    f"(for file {record_path!r}). .data directory contents "
+                    f"should be in subdirectories named with a valid scheme "
+                    f"key ({valid_scheme_keys})"
+                )
                 raise InstallationError(message)
 
             dest_path = os.path.join(scheme_path, dest_subpath)
@@ -532,7 +534,7 @@ def _install_wheel(
     def is_data_scheme_path(path: RecordPath) -> bool:
         return path.split("/", 1)[0].endswith(".data")
 
-    paths = cast(List[RecordPath], wheel_zip.namelist())
+    paths = cast(list[RecordPath], wheel_zip.namelist())
     file_paths = filterfalse(is_dir_path, paths)
     root_scheme_paths, data_scheme_paths = partition(is_data_scheme_path, file_paths)
 
@@ -558,7 +560,7 @@ def _install_wheel(
     )
     console, gui = get_entrypoints(distribution)
 
-    def is_entrypoint_wrapper(file: "File") -> bool:
+    def is_entrypoint_wrapper(file: File) -> bool:
         # EP, EP.exe and EP-script.py are scripts generated for
         # entry point EP by setuptools
         path = file.dest_path
@@ -581,7 +583,15 @@ def _install_wheel(
     script_scheme_files = map(ScriptFile, script_scheme_files)
     files = chain(files, script_scheme_files)
 
+    existing_parents = set()
     for file in files:
+        # directory creation is lazy and after file filtering
+        # to ensure we don't install empty dirs; empty dirs can't be
+        # uninstalled.
+        parent_dir = os.path.dirname(file.dest_path)
+        if parent_dir not in existing_parents:
+            ensure_dir(parent_dir)
+            existing_parents.add(parent_dir)
         file.save()
         record_installed(file.src_record_path, file.dest_path, file.changed)
 
@@ -604,7 +614,9 @@ def _install_wheel(
 
     # Compile all of the pyc files for the installed files
     if pycompile:
-        with captured_stdout() as stdout:
+        with contextlib.redirect_stdout(
+            StreamWrapper.from_stream(sys.stdout)
+        ) as stdout:
             with warnings.catch_warnings():
                 warnings.filterwarnings("ignore")
                 for path in pyc_source_file_paths():
@@ -717,7 +729,7 @@ def install_wheel(
     req_description: str,
     pycompile: bool = True,
     warn_script_location: bool = True,
-    direct_url: Optional[DirectUrl] = None,
+    direct_url: DirectUrl | None = None,
     requested: bool = False,
 ) -> None:
     with ZipFile(wheel_path, allowZip64=True) as z:
diff --git a/.venv/Lib/site-packages/pip/_internal/operations/prepare.py b/.venv/Lib/site-packages/pip/_internal/operations/prepare.py
index 956717d..00b1a33 100644
--- a/.venv/Lib/site-packages/pip/_internal/operations/prepare.py
+++ b/.venv/Lib/site-packages/pip/_internal/operations/prepare.py
@@ -1,17 +1,20 @@
-"""Prepares a distribution for installation
-"""
+"""Prepares a distribution for installation"""
 
 # The following comment should be removed at some point in the future.
 # mypy: strict-optional=False
+from __future__ import annotations
 
 import mimetypes
 import os
 import shutil
+from collections.abc import Iterable
+from dataclasses import dataclass
 from pathlib import Path
-from typing import Dict, Iterable, List, Optional
+from typing import TYPE_CHECKING
 
 from pip._vendor.packaging.utils import canonicalize_name
 
+from pip._internal.build_env import BuildEnvironmentInstaller
 from pip._internal.distributions import make_distribution_for_install_requirement
 from pip._internal.distributions.installed import InstalledDistribution
 from pip._internal.exceptions import (
@@ -28,7 +31,7 @@ from pip._internal.metadata import BaseDistribution, get_metadata_distribution
 from pip._internal.models.direct_url import ArchiveInfo
 from pip._internal.models.link import Link
 from pip._internal.models.wheel import Wheel
-from pip._internal.network.download import BatchDownloader, Downloader
+from pip._internal.network.download import Downloader
 from pip._internal.network.lazy_wheel import (
     HTTPRangeRequestUnsupported,
     dist_from_wheel_url,
@@ -53,13 +56,16 @@ from pip._internal.utils.temp_dir import TempDirectory
 from pip._internal.utils.unpacking import unpack_file
 from pip._internal.vcs import vcs
 
+if TYPE_CHECKING:
+    from pip._internal.cli.progress_bars import BarType
+
 logger = getLogger(__name__)
 
 
 def _get_prepared_distribution(
     req: InstallRequirement,
     build_tracker: BuildTracker,
-    finder: PackageFinder,
+    build_env_installer: BuildEnvironmentInstaller,
     build_isolation: bool,
     check_build_deps: bool,
 ) -> BaseDistribution:
@@ -69,7 +75,7 @@ def _get_prepared_distribution(
     if tracker_id is not None:
         with build_tracker.track(req, tracker_id):
             abstract_dist.prepare_distribution_metadata(
-                finder, build_isolation, check_build_deps
+                build_env_installer, build_isolation, check_build_deps
             )
     return abstract_dist.get_metadata_distribution()
 
@@ -80,20 +86,26 @@ def unpack_vcs_link(link: Link, location: str, verbosity: int) -> None:
     vcs_backend.unpack(location, url=hide_url(link.url), verbosity=verbosity)
 
 
+@dataclass
 class File:
-    def __init__(self, path: str, content_type: Optional[str]) -> None:
-        self.path = path
-        if content_type is None:
-            self.content_type = mimetypes.guess_type(path)[0]
-        else:
-            self.content_type = content_type
+    path: str
+    content_type: str | None = None
+
+    def __post_init__(self) -> None:
+        if self.content_type is None:
+            # Try to guess the file's MIME type. If the system MIME tables
+            # can't be loaded, give up.
+            try:
+                self.content_type = mimetypes.guess_type(self.path)[0]
+            except OSError:
+                pass
 
 
 def get_http_url(
     link: Link,
     download: Downloader,
-    download_dir: Optional[str] = None,
-    hashes: Optional[Hashes] = None,
+    download_dir: str | None = None,
+    hashes: Hashes | None = None,
 ) -> File:
     temp_dir = TempDirectory(kind="unpack", globally_managed=True)
     # If a download dir is specified, is the file already downloaded there?
@@ -114,7 +126,7 @@ def get_http_url(
 
 
 def get_file_url(
-    link: Link, download_dir: Optional[str] = None, hashes: Optional[Hashes] = None
+    link: Link, download_dir: str | None = None, hashes: Hashes | None = None
 ) -> File:
     """Get file and optionally check its hash."""
     # If a download dir is specified, is the file already there and valid?
@@ -142,9 +154,9 @@ def unpack_url(
     location: str,
     download: Downloader,
     verbosity: int,
-    download_dir: Optional[str] = None,
-    hashes: Optional[Hashes] = None,
-) -> Optional[File]:
+    download_dir: str | None = None,
+    hashes: Hashes | None = None,
+) -> File | None:
     """Unpack link into location, downloading if required.
 
     :param hashes: A Hashes object, one of whose embedded hashes must match,
@@ -183,9 +195,9 @@ def unpack_url(
 def _check_download_dir(
     link: Link,
     download_dir: str,
-    hashes: Optional[Hashes],
+    hashes: Hashes | None,
     warn_on_hash_mismatch: bool = True,
-) -> Optional[str]:
+) -> str | None:
     """Check download_dir for previously downloaded file with correct hash
     If a correct file is found return its path else None
     """
@@ -213,22 +225,25 @@ def _check_download_dir(
 class RequirementPreparer:
     """Prepares a Requirement"""
 
-    def __init__(
+    def __init__(  # noqa: PLR0913 (too many parameters)
         self,
+        *,
         build_dir: str,
-        download_dir: Optional[str],
+        download_dir: str | None,
         src_dir: str,
         build_isolation: bool,
+        build_isolation_installer: BuildEnvironmentInstaller,
         check_build_deps: bool,
         build_tracker: BuildTracker,
         session: PipSession,
-        progress_bar: str,
+        progress_bar: BarType,
         finder: PackageFinder,
         require_hashes: bool,
         use_user_site: bool,
         lazy_wheel: bool,
         verbosity: int,
         legacy_resolver: bool,
+        resume_retries: int,
     ) -> None:
         super().__init__()
 
@@ -236,8 +251,7 @@ class RequirementPreparer:
         self.build_dir = build_dir
         self.build_tracker = build_tracker
         self._session = session
-        self._download = Downloader(session, progress_bar)
-        self._batch_download = BatchDownloader(session, progress_bar)
+        self._download = Downloader(session, progress_bar, resume_retries)
         self.finder = finder
 
         # Where still-packed archives should be written to. If None, they are
@@ -246,6 +260,7 @@ class RequirementPreparer:
 
         # Is build isolation allowed?
         self.build_isolation = build_isolation
+        self.build_env_installer = build_isolation_installer
 
         # Should check build dependencies?
         self.check_build_deps = check_build_deps
@@ -266,7 +281,7 @@ class RequirementPreparer:
         self.legacy_resolver = legacy_resolver
 
         # Memoized downloaded files, as mapping of url: path.
-        self._downloaded: Dict[str, str] = {}
+        self._downloaded: dict[str, str] = {}
 
         # Previous "header" printed for a link-based InstallRequirement
         self._previous_requirement_header = ("", "")
@@ -284,7 +299,7 @@ class RequirementPreparer:
         # would already be included if we used req directly)
         if req.req and req.comes_from:
             if isinstance(req.comes_from, str):
-                comes_from: Optional[str] = req.comes_from
+                comes_from: str | None = req.comes_from
             else:
                 comes_from = req.comes_from.from_path()
             if comes_from:
@@ -356,7 +371,7 @@ class RequirementPreparer:
     def _fetch_metadata_only(
         self,
         req: InstallRequirement,
-    ) -> Optional[BaseDistribution]:
+    ) -> BaseDistribution | None:
         if self.legacy_resolver:
             logger.debug(
                 "Metadata-only fetching is not used in the legacy resolver",
@@ -375,7 +390,7 @@ class RequirementPreparer:
     def _fetch_metadata_using_link_data_attr(
         self,
         req: InstallRequirement,
-    ) -> Optional[BaseDistribution]:
+    ) -> BaseDistribution | None:
         """Fetch metadata from the data-dist-info-metadata attribute, if possible."""
         # (1) Get the link to the metadata file, if provided by the backend.
         metadata_link = req.link.metadata_link()
@@ -416,7 +431,7 @@ class RequirementPreparer:
     def _fetch_metadata_using_lazy_wheel(
         self,
         link: Link,
-    ) -> Optional[BaseDistribution]:
+    ) -> BaseDistribution | None:
         """Fetch metadata using lazy wheel, if possible."""
         # --use-feature=fast-deps must be provided.
         if not self.use_lazy_wheel:
@@ -455,15 +470,12 @@ class RequirementPreparer:
         # Map each link to the requirement that owns it. This allows us to set
         # `req.local_file_path` on the appropriate requirement after passing
         # all the links at once into BatchDownloader.
-        links_to_fully_download: Dict[Link, InstallRequirement] = {}
+        links_to_fully_download: dict[Link, InstallRequirement] = {}
         for req in partially_downloaded_reqs:
             assert req.link
             links_to_fully_download[req.link] = req
 
-        batch_download = self._batch_download(
-            links_to_fully_download.keys(),
-            temp_dir,
-        )
+        batch_download = self._download.batch(links_to_fully_download.keys(), temp_dir)
         for link, (filepath, _) in batch_download:
             logger.debug("Downloading link %s to %s", link, filepath)
             req = links_to_fully_download[link]
@@ -540,7 +552,7 @@ class RequirementPreparer:
 
         # Prepare requirements we found were already downloaded for some
         # reason. The other downloads will be completed separately.
-        partially_downloaded_reqs: List[InstallRequirement] = []
+        partially_downloaded_reqs: list[InstallRequirement] = []
         for req in reqs:
             if req.needs_more_preparation:
                 partially_downloaded_reqs.append(req)
@@ -640,7 +652,7 @@ class RequirementPreparer:
         dist = _get_prepared_distribution(
             req,
             self.build_tracker,
-            self.finder,
+            self.build_env_installer,
             self.build_isolation,
             self.check_build_deps,
         )
@@ -696,7 +708,7 @@ class RequirementPreparer:
             dist = _get_prepared_distribution(
                 req,
                 self.build_tracker,
-                self.finder,
+                self.build_env_installer,
                 self.build_isolation,
                 self.check_build_deps,
             )
diff --git a/.venv/Lib/site-packages/pip/_internal/pyproject.py b/.venv/Lib/site-packages/pip/_internal/pyproject.py
index 8de36b8..5c08b60 100644
--- a/.venv/Lib/site-packages/pip/_internal/pyproject.py
+++ b/.venv/Lib/site-packages/pip/_internal/pyproject.py
@@ -1,16 +1,19 @@
+from __future__ import annotations
+
 import importlib.util
 import os
 from collections import namedtuple
-from typing import Any, List, Optional
+from typing import Any
 
-from pip._vendor import tomli
-from pip._vendor.packaging.requirements import InvalidRequirement, Requirement
+from pip._vendor.packaging.requirements import InvalidRequirement
 
 from pip._internal.exceptions import (
     InstallationError,
     InvalidPyProjectBuildRequires,
     MissingPyProjectBuildRequires,
 )
+from pip._internal.utils.compat import tomllib
+from pip._internal.utils.packaging import get_requirement
 
 
 def _is_list_of_str(obj: Any) -> bool:
@@ -27,8 +30,8 @@ BuildSystemDetails = namedtuple(
 
 
 def load_pyproject_toml(
-    use_pep517: Optional[bool], pyproject_toml: str, setup_py: str, req_name: str
-) -> Optional[BuildSystemDetails]:
+    use_pep517: bool | None, pyproject_toml: str, setup_py: str, req_name: str
+) -> BuildSystemDetails | None:
     """Load the pyproject.toml file.
 
     Parameters:
@@ -61,13 +64,13 @@ def load_pyproject_toml(
 
     if has_pyproject:
         with open(pyproject_toml, encoding="utf-8") as f:
-            pp_toml = tomli.loads(f.read())
+            pp_toml = tomllib.loads(f.read())
         build_system = pp_toml.get("build-system")
     else:
         build_system = None
 
     # The following cases must use PEP 517
-    # We check for use_pep517 being non-None and falsey because that means
+    # We check for use_pep517 being non-None and falsy because that means
     # the user explicitly requested --no-use-pep517.  The value 0 as
     # opposed to False can occur when the value is provided via an
     # environment variable or config file option (due to the quirk of
@@ -151,7 +154,7 @@ def load_pyproject_toml(
     # Each requirement must be valid as per PEP 508
     for requirement in requires:
         try:
-            Requirement(requirement)
+            get_requirement(requirement)
         except InvalidRequirement as error:
             raise InvalidPyProjectBuildRequires(
                 package=req_name,
@@ -160,7 +163,7 @@ def load_pyproject_toml(
 
     backend = build_system.get("build-backend")
     backend_path = build_system.get("backend-path", [])
-    check: List[str] = []
+    check: list[str] = []
     if backend is None:
         # If the user didn't specify a backend, we assume they want to use
         # the setuptools backend. But we can't be sure they have included
diff --git a/.venv/Lib/site-packages/pip/_internal/req/__init__.py b/.venv/Lib/site-packages/pip/_internal/req/__init__.py
index 16de903..e5050ee 100644
--- a/.venv/Lib/site-packages/pip/_internal/req/__init__.py
+++ b/.venv/Lib/site-packages/pip/_internal/req/__init__.py
@@ -1,7 +1,11 @@
+from __future__ import annotations
+
 import collections
 import logging
-from typing import Generator, List, Optional, Sequence, Tuple
+from collections.abc import Generator, Sequence
+from dataclasses import dataclass
 
+from pip._internal.cli.progress_bars import BarType, get_install_progress_renderer
 from pip._internal.utils.logging import indent_log
 
 from .req_file import parse_requirements
@@ -18,32 +22,30 @@ __all__ = [
 logger = logging.getLogger(__name__)
 
 
+@dataclass(frozen=True)
 class InstallationResult:
-    def __init__(self, name: str) -> None:
-        self.name = name
-
-    def __repr__(self) -> str:
-        return f"InstallationResult(name={self.name!r})"
+    name: str
 
 
 def _validate_requirements(
-    requirements: List[InstallRequirement],
-) -> Generator[Tuple[str, InstallRequirement], None, None]:
+    requirements: list[InstallRequirement],
+) -> Generator[tuple[str, InstallRequirement], None, None]:
     for req in requirements:
         assert req.name, f"invalid to-be-installed requirement: {req}"
         yield req.name, req
 
 
 def install_given_reqs(
-    requirements: List[InstallRequirement],
+    requirements: list[InstallRequirement],
     global_options: Sequence[str],
-    root: Optional[str],
-    home: Optional[str],
-    prefix: Optional[str],
+    root: str | None,
+    home: str | None,
+    prefix: str | None,
     warn_script_location: bool,
     use_user_site: bool,
     pycompile: bool,
-) -> List[InstallationResult]:
+    progress_bar: BarType,
+) -> list[InstallationResult]:
     """
     Install everything in the given list.
 
@@ -59,8 +61,19 @@ def install_given_reqs(
 
     installed = []
 
+    show_progress = logger.isEnabledFor(logging.INFO) and len(to_install) > 1
+
+    items = iter(to_install.values())
+    if show_progress:
+        renderer = get_install_progress_renderer(
+            bar_type=progress_bar, total=len(to_install)
+        )
+        items = renderer(items)
+
     with indent_log():
-        for req_name, requirement in to_install.items():
+        for requirement in items:
+            req_name = requirement.name
+            assert req_name is not None
             if requirement.should_reinstall:
                 logger.info("Attempting uninstall: %s", req_name)
                 with indent_log():
diff --git a/.venv/Lib/site-packages/pip/_internal/req/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/req/__pycache__/__init__.cpython-311.pyc
index c3ecac4..ffc1a2f 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/req/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/req/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/req/__pycache__/constructors.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/req/__pycache__/constructors.cpython-311.pyc
index 6459595..6f09ad3 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/req/__pycache__/constructors.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/req/__pycache__/constructors.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/req/__pycache__/req_dependency_group.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/req/__pycache__/req_dependency_group.cpython-311.pyc
new file mode 100644
index 0000000..6648284
Binary files /dev/null and b/.venv/Lib/site-packages/pip/_internal/req/__pycache__/req_dependency_group.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/req/__pycache__/req_file.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/req/__pycache__/req_file.cpython-311.pyc
index c3a6b62..141c97c 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/req/__pycache__/req_file.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/req/__pycache__/req_file.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/req/__pycache__/req_install.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/req/__pycache__/req_install.cpython-311.pyc
index a542a0a..aa1af7a 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/req/__pycache__/req_install.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/req/__pycache__/req_install.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/req/__pycache__/req_set.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/req/__pycache__/req_set.cpython-311.pyc
index 237dff4..14704df 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/req/__pycache__/req_set.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/req/__pycache__/req_set.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/req/__pycache__/req_uninstall.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/req/__pycache__/req_uninstall.cpython-311.pyc
index 0fb0561..6aac203 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/req/__pycache__/req_uninstall.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/req/__pycache__/req_uninstall.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/req/constructors.py b/.venv/Lib/site-packages/pip/_internal/req/constructors.py
index 7e2d0e5..056e7e3 100644
--- a/.venv/Lib/site-packages/pip/_internal/req/constructors.py
+++ b/.venv/Lib/site-packages/pip/_internal/req/constructors.py
@@ -8,11 +8,14 @@ These are meant to be used elsewhere within pip to create instances of
 InstallRequirement.
 """
 
+from __future__ import annotations
+
 import copy
 import logging
 import os
 import re
-from typing import Collection, Dict, List, Optional, Set, Tuple, Union
+from collections.abc import Collection
+from dataclasses import dataclass
 
 from pip._vendor.packaging.markers import Marker
 from pip._vendor.packaging.requirements import InvalidRequirement, Requirement
@@ -40,7 +43,7 @@ logger = logging.getLogger(__name__)
 operators = Specifier._operators.keys()
 
 
-def _strip_extras(path: str) -> Tuple[str, Optional[str]]:
+def _strip_extras(path: str) -> tuple[str, str | None]:
     m = re.match(r"^(.+)(\[[^\]]+\])$", path)
     extras = None
     if m:
@@ -52,19 +55,19 @@ def _strip_extras(path: str) -> Tuple[str, Optional[str]]:
     return path_no_extras, extras
 
 
-def convert_extras(extras: Optional[str]) -> Set[str]:
+def convert_extras(extras: str | None) -> set[str]:
     if not extras:
         return set()
     return get_requirement("placeholder" + extras.lower()).extras
 
 
-def _set_requirement_extras(req: Requirement, new_extras: Set[str]) -> Requirement:
+def _set_requirement_extras(req: Requirement, new_extras: set[str]) -> Requirement:
     """
     Returns a new requirement based on the given one, with the supplied extras. If the
     given requirement already has extras those are replaced (or dropped if no new extras
     are given).
     """
-    match: Optional[re.Match[str]] = re.fullmatch(
+    match: re.Match[str] | None = re.fullmatch(
         # see https://peps.python.org/pep-0508/#complete-grammar
         r"([\w\t .-]+)(\[[^\]]*\])?(.*)",
         str(req),
@@ -74,16 +77,16 @@ def _set_requirement_extras(req: Requirement, new_extras: Set[str]) -> Requireme
     assert (
         match is not None
     ), f"regex match on requirement {req} failed, this should never happen"
-    pre: Optional[str] = match.group(1)
-    post: Optional[str] = match.group(3)
+    pre: str | None = match.group(1)
+    post: str | None = match.group(3)
     assert (
         pre is not None and post is not None
     ), f"regex group selection for requirement {req} failed, this should never happen"
-    extras: str = "[%s]" % ",".join(sorted(new_extras)) if new_extras else ""
-    return Requirement(f"{pre}{extras}{post}")
+    extras: str = "[{}]".format(",".join(sorted(new_extras)) if new_extras else "")
+    return get_requirement(f"{pre}{extras}{post}")
 
 
-def parse_editable(editable_req: str) -> Tuple[Optional[str], str, Set[str]]:
+def parse_editable(editable_req: str) -> tuple[str | None, str, set[str]]:
     """Parses an editable requirement into:
         - a requirement name
         - an URL
@@ -132,8 +135,8 @@ def parse_editable(editable_req: str) -> Tuple[Optional[str], str, Set[str]]:
     package_name = link.egg_fragment
     if not package_name:
         raise InstallationError(
-            "Could not detect requirement name for '{}', please specify one "
-            "with #egg=your_package_name".format(editable_req)
+            f"Could not detect requirement name for '{editable_req}', "
+            "please specify one with #egg=your_package_name"
         )
     return package_name, url, set()
 
@@ -162,7 +165,7 @@ def check_first_requirement_in_file(filename: str) -> None:
             # If there is a line continuation, drop it, and append the next line.
             if line.endswith("\\"):
                 line = line[:-2].strip() + next(lines, "")
-            Requirement(line)
+            get_requirement(line)
             return
 
 
@@ -191,18 +194,12 @@ def deduce_helpful_msg(req: str) -> str:
     return msg
 
 
+@dataclass(frozen=True)
 class RequirementParts:
-    def __init__(
-        self,
-        requirement: Optional[Requirement],
-        link: Optional[Link],
-        markers: Optional[Marker],
-        extras: Set[str],
-    ):
-        self.requirement = requirement
-        self.link = link
-        self.markers = markers
-        self.extras = extras
+    requirement: Requirement | None
+    link: Link | None
+    markers: Marker | None
+    extras: set[str]
 
 
 def parse_req_from_editable(editable_req: str) -> RequirementParts:
@@ -210,9 +207,9 @@ def parse_req_from_editable(editable_req: str) -> RequirementParts:
 
     if name is not None:
         try:
-            req: Optional[Requirement] = Requirement(name)
-        except InvalidRequirement:
-            raise InstallationError(f"Invalid requirement: '{name}'")
+            req: Requirement | None = get_requirement(name)
+        except InvalidRequirement as exc:
+            raise InstallationError(f"Invalid requirement: {name!r}: {exc}")
     else:
         req = None
 
@@ -226,16 +223,16 @@ def parse_req_from_editable(editable_req: str) -> RequirementParts:
 
 def install_req_from_editable(
     editable_req: str,
-    comes_from: Optional[Union[InstallRequirement, str]] = None,
+    comes_from: InstallRequirement | str | None = None,
     *,
-    use_pep517: Optional[bool] = None,
+    use_pep517: bool | None = None,
     isolated: bool = False,
-    global_options: Optional[List[str]] = None,
-    hash_options: Optional[Dict[str, List[str]]] = None,
+    global_options: list[str] | None = None,
+    hash_options: dict[str, list[str]] | None = None,
     constraint: bool = False,
     user_supplied: bool = False,
     permit_editable_wheels: bool = False,
-    config_settings: Optional[Dict[str, Union[str, List[str]]]] = None,
+    config_settings: dict[str, str | list[str]] | None = None,
 ) -> InstallRequirement:
     parts = parse_req_from_editable(editable_req)
 
@@ -275,7 +272,7 @@ def _looks_like_path(name: str) -> bool:
     return False
 
 
-def _get_url_from_path(path: str, name: str) -> Optional[str]:
+def _get_url_from_path(path: str, name: str) -> str | None:
     """
     First, it checks whether a provided path is an installable directory. If it
     is, returns the path.
@@ -309,7 +306,7 @@ def _get_url_from_path(path: str, name: str) -> Optional[str]:
     return path_to_url(path)
 
 
-def parse_req_from_line(name: str, line_source: Optional[str]) -> RequirementParts:
+def parse_req_from_line(name: str, line_source: str | None) -> RequirementParts:
     if is_url(name):
         marker_sep = "; "
     else:
@@ -364,8 +361,8 @@ def parse_req_from_line(name: str, line_source: Optional[str]) -> RequirementPar
 
     def _parse_req_string(req_as_string: str) -> Requirement:
         try:
-            req = get_requirement(req_as_string)
-        except InvalidRequirement:
+            return get_requirement(req_as_string)
+        except InvalidRequirement as exc:
             if os.path.sep in req_as_string:
                 add_msg = "It looks like a path."
                 add_msg += deduce_helpful_msg(req_as_string)
@@ -375,24 +372,13 @@ def parse_req_from_line(name: str, line_source: Optional[str]) -> RequirementPar
                 add_msg = "= is not a valid operator. Did you mean == ?"
             else:
                 add_msg = ""
-            msg = with_source(f"Invalid requirement: {req_as_string!r}")
+            msg = with_source(f"Invalid requirement: {req_as_string!r}: {exc}")
             if add_msg:
                 msg += f"\nHint: {add_msg}"
             raise InstallationError(msg)
-        else:
-            # Deprecate extras after specifiers: "name>=1.0[extras]"
-            # This currently works by accident because _strip_extras() parses
-            # any extras in the end of the string and those are saved in
-            # RequirementParts
-            for spec in req.specifier:
-                spec_str = str(spec)
-                if spec_str.endswith("]"):
-                    msg = f"Extras after version '{spec_str}'."
-                    raise InstallationError(msg)
-        return req
 
     if req_as_string is not None:
-        req: Optional[Requirement] = _parse_req_string(req_as_string)
+        req: Requirement | None = _parse_req_string(req_as_string)
     else:
         req = None
 
@@ -401,16 +387,16 @@ def parse_req_from_line(name: str, line_source: Optional[str]) -> RequirementPar
 
 def install_req_from_line(
     name: str,
-    comes_from: Optional[Union[str, InstallRequirement]] = None,
+    comes_from: str | InstallRequirement | None = None,
     *,
-    use_pep517: Optional[bool] = None,
+    use_pep517: bool | None = None,
     isolated: bool = False,
-    global_options: Optional[List[str]] = None,
-    hash_options: Optional[Dict[str, List[str]]] = None,
+    global_options: list[str] | None = None,
+    hash_options: dict[str, list[str]] | None = None,
     constraint: bool = False,
-    line_source: Optional[str] = None,
+    line_source: str | None = None,
     user_supplied: bool = False,
-    config_settings: Optional[Dict[str, Union[str, List[str]]]] = None,
+    config_settings: dict[str, str | list[str]] | None = None,
 ) -> InstallRequirement:
     """Creates an InstallRequirement from a name, which might be a
     requirement, directory containing 'setup.py', filename, or URL.
@@ -438,15 +424,15 @@ def install_req_from_line(
 
 def install_req_from_req_string(
     req_string: str,
-    comes_from: Optional[InstallRequirement] = None,
+    comes_from: InstallRequirement | None = None,
     isolated: bool = False,
-    use_pep517: Optional[bool] = None,
+    use_pep517: bool | None = None,
     user_supplied: bool = False,
 ) -> InstallRequirement:
     try:
         req = get_requirement(req_string)
-    except InvalidRequirement:
-        raise InstallationError(f"Invalid requirement: '{req_string}'")
+    except InvalidRequirement as exc:
+        raise InstallationError(f"Invalid requirement: {req_string!r}: {exc}")
 
     domains_not_allowed = [
         PyPI.file_storage_domain,
@@ -477,9 +463,9 @@ def install_req_from_req_string(
 def install_req_from_parsed_requirement(
     parsed_req: ParsedRequirement,
     isolated: bool = False,
-    use_pep517: Optional[bool] = None,
+    use_pep517: bool | None = None,
     user_supplied: bool = False,
-    config_settings: Optional[Dict[str, Union[str, List[str]]]] = None,
+    config_settings: dict[str, str | list[str]] | None = None,
 ) -> InstallRequirement:
     if parsed_req.is_editable:
         req = install_req_from_editable(
diff --git a/.venv/Lib/site-packages/pip/_internal/req/req_dependency_group.py b/.venv/Lib/site-packages/pip/_internal/req/req_dependency_group.py
new file mode 100644
index 0000000..396ac1b
--- /dev/null
+++ b/.venv/Lib/site-packages/pip/_internal/req/req_dependency_group.py
@@ -0,0 +1,75 @@
+from collections.abc import Iterable, Iterator
+from typing import Any
+
+from pip._vendor.dependency_groups import DependencyGroupResolver
+
+from pip._internal.exceptions import InstallationError
+from pip._internal.utils.compat import tomllib
+
+
+def parse_dependency_groups(groups: list[tuple[str, str]]) -> list[str]:
+    """
+    Parse dependency groups data as provided via the CLI, in a `[path:]group` syntax.
+
+    Raises InstallationErrors if anything goes wrong.
+    """
+    resolvers = _build_resolvers(path for (path, _) in groups)
+    return list(_resolve_all_groups(resolvers, groups))
+
+
+def _resolve_all_groups(
+    resolvers: dict[str, DependencyGroupResolver], groups: list[tuple[str, str]]
+) -> Iterator[str]:
+    """
+    Run all resolution, converting any error from `DependencyGroupResolver` into
+    an InstallationError.
+    """
+    for path, groupname in groups:
+        resolver = resolvers[path]
+        try:
+            yield from (str(req) for req in resolver.resolve(groupname))
+        except (ValueError, TypeError, LookupError) as e:
+            raise InstallationError(
+                f"[dependency-groups] resolution failed for '{groupname}' "
+                f"from '{path}': {e}"
+            ) from e
+
+
+def _build_resolvers(paths: Iterable[str]) -> dict[str, Any]:
+    resolvers = {}
+    for path in paths:
+        if path in resolvers:
+            continue
+
+        pyproject = _load_pyproject(path)
+        if "dependency-groups" not in pyproject:
+            raise InstallationError(
+                f"[dependency-groups] table was missing from '{path}'. "
+                "Cannot resolve '--group' option."
+            )
+        raw_dependency_groups = pyproject["dependency-groups"]
+        if not isinstance(raw_dependency_groups, dict):
+            raise InstallationError(
+                f"[dependency-groups] table was malformed in {path}. "
+                "Cannot resolve '--group' option."
+            )
+
+        resolvers[path] = DependencyGroupResolver(raw_dependency_groups)
+    return resolvers
+
+
+def _load_pyproject(path: str) -> dict[str, Any]:
+    """
+    This helper loads a pyproject.toml as TOML.
+
+    It raises an InstallationError if the operation fails.
+    """
+    try:
+        with open(path, "rb") as fp:
+            return tomllib.load(fp)
+    except FileNotFoundError:
+        raise InstallationError(f"{path} not found. Cannot resolve '--group' option.")
+    except tomllib.TOMLDecodeError as e:
+        raise InstallationError(f"Error parsing {path}: {e}") from e
+    except OSError as e:
+        raise InstallationError(f"Error reading {path}: {e}") from e
diff --git a/.venv/Lib/site-packages/pip/_internal/req/req_file.py b/.venv/Lib/site-packages/pip/_internal/req/req_file.py
index 1ef3d5e..0aad0a3 100644
--- a/.venv/Lib/site-packages/pip/_internal/req/req_file.py
+++ b/.venv/Lib/site-packages/pip/_internal/req/req_file.py
@@ -2,45 +2,40 @@
 Requirements file parsing
 """
 
+from __future__ import annotations
+
+import codecs
+import locale
 import logging
 import optparse
 import os
 import re
 import shlex
+import sys
 import urllib.parse
+from collections.abc import Generator, Iterable
+from dataclasses import dataclass
 from optparse import Values
 from typing import (
     TYPE_CHECKING,
     Any,
     Callable,
-    Dict,
-    Generator,
-    Iterable,
-    List,
-    Optional,
-    Tuple,
+    NoReturn,
 )
 
 from pip._internal.cli import cmdoptions
 from pip._internal.exceptions import InstallationError, RequirementsFileParseError
 from pip._internal.models.search_scope import SearchScope
-from pip._internal.network.session import PipSession
-from pip._internal.network.utils import raise_for_status
-from pip._internal.utils.encoding import auto_decode
-from pip._internal.utils.urls import get_url_scheme
 
 if TYPE_CHECKING:
-    # NoReturn introduced in 3.6.2; imported only for type checking to maintain
-    # pip compatibility with older patch versions of Python 3.6
-    from typing import NoReturn
-
     from pip._internal.index.package_finder import PackageFinder
+    from pip._internal.network.session import PipSession
 
 __all__ = ["parse_requirements"]
 
-ReqFileLines = Iterable[Tuple[int, str]]
+ReqFileLines = Iterable[tuple[int, str]]
 
-LineParser = Callable[[str], Tuple[str, Values]]
+LineParser = Callable[[str], tuple[str, Values]]
 
 SCHEME_RE = re.compile(r"^(http|https|file):", re.I)
 COMMENT_RE = re.compile(r"(^|\s+)#.*$")
@@ -51,7 +46,7 @@ COMMENT_RE = re.compile(r"(^|\s+)#.*$")
 # 2013 Edition.
 ENV_VAR_RE = re.compile(r"(?P\$\{(?P[A-Z0-9_]+)\})")
 
-SUPPORTED_OPTIONS: List[Callable[..., optparse.Option]] = [
+SUPPORTED_OPTIONS: list[Callable[..., optparse.Option]] = [
     cmdoptions.index_url,
     cmdoptions.extra_index_url,
     cmdoptions.no_index,
@@ -69,13 +64,13 @@ SUPPORTED_OPTIONS: List[Callable[..., optparse.Option]] = [
 ]
 
 # options to be passed to requirements
-SUPPORTED_OPTIONS_REQ: List[Callable[..., optparse.Option]] = [
+SUPPORTED_OPTIONS_REQ: list[Callable[..., optparse.Option]] = [
     cmdoptions.global_options,
     cmdoptions.hash,
     cmdoptions.config_settings,
 ]
 
-SUPPORTED_OPTIONS_EDITABLE_REQ: List[Callable[..., optparse.Option]] = [
+SUPPORTED_OPTIONS_EDITABLE_REQ: list[Callable[..., optparse.Option]] = [
     cmdoptions.config_settings,
 ]
 
@@ -86,59 +81,73 @@ SUPPORTED_OPTIONS_EDITABLE_REQ_DEST = [
     str(o().dest) for o in SUPPORTED_OPTIONS_EDITABLE_REQ
 ]
 
+# order of BOMS is important: codecs.BOM_UTF16_LE is a prefix of codecs.BOM_UTF32_LE
+# so data.startswith(BOM_UTF16_LE) would be true for UTF32_LE data
+BOMS: list[tuple[bytes, str]] = [
+    (codecs.BOM_UTF8, "utf-8"),
+    (codecs.BOM_UTF32, "utf-32"),
+    (codecs.BOM_UTF32_BE, "utf-32-be"),
+    (codecs.BOM_UTF32_LE, "utf-32-le"),
+    (codecs.BOM_UTF16, "utf-16"),
+    (codecs.BOM_UTF16_BE, "utf-16-be"),
+    (codecs.BOM_UTF16_LE, "utf-16-le"),
+]
+
+PEP263_ENCODING_RE = re.compile(rb"coding[:=]\s*([-\w.]+)")
+DEFAULT_ENCODING = "utf-8"
+
 logger = logging.getLogger(__name__)
 
 
+@dataclass(frozen=True)
 class ParsedRequirement:
-    def __init__(
-        self,
-        requirement: str,
-        is_editable: bool,
-        comes_from: str,
-        constraint: bool,
-        options: Optional[Dict[str, Any]] = None,
-        line_source: Optional[str] = None,
-    ) -> None:
-        self.requirement = requirement
-        self.is_editable = is_editable
-        self.comes_from = comes_from
-        self.options = options
-        self.constraint = constraint
-        self.line_source = line_source
+    # TODO: replace this with slots=True when dropping Python 3.9 support.
+    __slots__ = (
+        "requirement",
+        "is_editable",
+        "comes_from",
+        "constraint",
+        "options",
+        "line_source",
+    )
+
+    requirement: str
+    is_editable: bool
+    comes_from: str
+    constraint: bool
+    options: dict[str, Any] | None
+    line_source: str | None
 
 
+@dataclass(frozen=True)
 class ParsedLine:
-    def __init__(
-        self,
-        filename: str,
-        lineno: int,
-        args: str,
-        opts: Values,
-        constraint: bool,
-    ) -> None:
-        self.filename = filename
-        self.lineno = lineno
-        self.opts = opts
-        self.constraint = constraint
+    __slots__ = ("filename", "lineno", "args", "opts", "constraint")
 
-        if args:
-            self.is_requirement = True
-            self.is_editable = False
-            self.requirement = args
-        elif opts.editables:
-            self.is_requirement = True
-            self.is_editable = True
+    filename: str
+    lineno: int
+    args: str
+    opts: Values
+    constraint: bool
+
+    @property
+    def is_editable(self) -> bool:
+        return bool(self.opts.editables)
+
+    @property
+    def requirement(self) -> str | None:
+        if self.args:
+            return self.args
+        elif self.is_editable:
             # We don't support multiple -e on one line
-            self.requirement = opts.editables[0]
-        else:
-            self.is_requirement = False
+            return self.opts.editables[0]
+        return None
 
 
 def parse_requirements(
     filename: str,
     session: PipSession,
-    finder: Optional["PackageFinder"] = None,
-    options: Optional[optparse.Values] = None,
+    finder: PackageFinder | None = None,
+    options: optparse.Values | None = None,
     constraint: bool = False,
 ) -> Generator[ParsedRequirement, None, None]:
     """Parse a requirements file and yield ParsedRequirement instances.
@@ -175,7 +184,7 @@ def preprocess(content: str) -> ReqFileLines:
 
 def handle_requirement_line(
     line: ParsedLine,
-    options: Optional[optparse.Values] = None,
+    options: optparse.Values | None = None,
 ) -> ParsedRequirement:
     # preserve for the nested code path
     line_comes_from = "{} {} (line {})".format(
@@ -184,7 +193,7 @@ def handle_requirement_line(
         line.lineno,
     )
 
-    assert line.is_requirement
+    assert line.requirement is not None
 
     # get the options that apply to requirements
     if line.is_editable:
@@ -211,9 +220,9 @@ def handle_option_line(
     opts: Values,
     filename: str,
     lineno: int,
-    finder: Optional["PackageFinder"] = None,
-    options: Optional[optparse.Values] = None,
-    session: Optional[PipSession] = None,
+    finder: PackageFinder | None = None,
+    options: optparse.Values | None = None,
+    session: PipSession | None = None,
 ) -> None:
     if opts.hashes:
         logger.warning(
@@ -279,10 +288,10 @@ def handle_option_line(
 
 def handle_line(
     line: ParsedLine,
-    options: Optional[optparse.Values] = None,
-    finder: Optional["PackageFinder"] = None,
-    session: Optional[PipSession] = None,
-) -> Optional[ParsedRequirement]:
+    options: optparse.Values | None = None,
+    finder: PackageFinder | None = None,
+    session: PipSession | None = None,
+) -> ParsedRequirement | None:
     """Handle a single parsed requirements line; This can result in
     creating/yielding requirements, or updating the finder.
 
@@ -306,7 +315,7 @@ def handle_line(
     affect the finder.
     """
 
-    if line.is_requirement:
+    if line.requirement is not None:
         parsed_req = handle_requirement_line(line, options)
         return parsed_req
     else:
@@ -334,13 +343,18 @@ class RequirementsFileParser:
         self, filename: str, constraint: bool
     ) -> Generator[ParsedLine, None, None]:
         """Parse a given file, yielding parsed lines."""
-        yield from self._parse_and_recurse(filename, constraint)
+        yield from self._parse_and_recurse(
+            filename, constraint, [{os.path.abspath(filename): None}]
+        )
 
     def _parse_and_recurse(
-        self, filename: str, constraint: bool
+        self,
+        filename: str,
+        constraint: bool,
+        parsed_files_stack: list[dict[str, str | None]],
     ) -> Generator[ParsedLine, None, None]:
         for line in self._parse_file(filename, constraint):
-            if not line.is_requirement and (
+            if line.requirement is None and (
                 line.opts.requirements or line.opts.constraints
             ):
                 # parse a nested requirements file
@@ -358,12 +372,30 @@ class RequirementsFileParser:
                 # original file and nested file are paths
                 elif not SCHEME_RE.search(req_path):
                     # do a join so relative paths work
-                    req_path = os.path.join(
-                        os.path.dirname(filename),
-                        req_path,
+                    # and then abspath so that we can identify recursive references
+                    req_path = os.path.abspath(
+                        os.path.join(
+                            os.path.dirname(filename),
+                            req_path,
+                        )
                     )
-
-                yield from self._parse_and_recurse(req_path, nested_constraint)
+                parsed_files = parsed_files_stack[0]
+                if req_path in parsed_files:
+                    initial_file = parsed_files[req_path]
+                    tail = (
+                        f" and again in {initial_file}"
+                        if initial_file is not None
+                        else ""
+                    )
+                    raise RequirementsFileParseError(
+                        f"{req_path} recursively references itself in {filename}{tail}"
+                    )
+                # Keeping a track where was each file first included in
+                new_parsed_files = parsed_files.copy()
+                new_parsed_files[req_path] = filename
+                yield from self._parse_and_recurse(
+                    req_path, nested_constraint, [new_parsed_files, *parsed_files_stack]
+                )
             else:
                 yield line
 
@@ -391,8 +423,8 @@ class RequirementsFileParser:
             )
 
 
-def get_line_parser(finder: Optional["PackageFinder"]) -> LineParser:
-    def parse_line(line: str) -> Tuple[str, Values]:
+def get_line_parser(finder: PackageFinder | None) -> LineParser:
+    def parse_line(line: str) -> tuple[str, Values]:
         # Build new parser for each line since it accumulates appendable
         # options.
         parser = build_parser()
@@ -415,7 +447,7 @@ def get_line_parser(finder: Optional["PackageFinder"]) -> LineParser:
     return parse_line
 
 
-def break_args_options(line: str) -> Tuple[str, str]:
+def break_args_options(line: str) -> tuple[str, str]:
     """Break up the line into an args and options string.  We only want to shlex
     (and then optparse) the options, not the args.  args can contain markers
     which are corrupted by shlex.
@@ -424,7 +456,7 @@ def break_args_options(line: str) -> Tuple[str, str]:
     args = []
     options = tokens[:]
     for token in tokens:
-        if token.startswith("-") or token.startswith("--"):
+        if token.startswith(("-", "--")):
             break
         else:
             args.append(token)
@@ -450,7 +482,7 @@ def build_parser() -> optparse.OptionParser:
 
     # By default optparse sys.exits on parsing errors. We want to wrap
     # that in our own exception.
-    def parser_exit(self: Any, msg: str) -> "NoReturn":
+    def parser_exit(self: Any, msg: str) -> NoReturn:
         raise OptionParsingError(msg)
 
     # NOTE: mypy disallows assigning to a method
@@ -465,7 +497,7 @@ def join_lines(lines_enum: ReqFileLines) -> ReqFileLines:
     comments).  The joined line takes on the index of the first line.
     """
     primary_line_number = None
-    new_line: List[str] = []
+    new_line: list[str] = []
     for line_number, line in lines_enum:
         if not line.endswith("\\") or COMMENT_RE.match(line):
             if COMMENT_RE.match(line):
@@ -529,7 +561,7 @@ def expand_env_variables(lines_enum: ReqFileLines) -> ReqFileLines:
         yield line_number, line
 
 
-def get_file_content(url: str, session: PipSession) -> Tuple[str, str]:
+def get_file_content(url: str, session: PipSession) -> tuple[str, str]:
     """Gets the content of a file; it may be a filename, file: URL, or
     http: URL.  Returns (location, content).  Content is unicode.
     Respects # -*- coding: declarations on the retrieved files.
@@ -537,10 +569,12 @@ def get_file_content(url: str, session: PipSession) -> Tuple[str, str]:
     :param url:         File path or url.
     :param session:     PipSession instance.
     """
-    scheme = get_url_scheme(url)
-
+    scheme = urllib.parse.urlsplit(url).scheme
     # Pip has special support for file:// URLs (LocalFSAdapter).
     if scheme in ["http", "https", "file"]:
+        # Delay importing heavy network modules until absolutely necessary.
+        from pip._internal.network.utils import raise_for_status
+
         resp = session.get(url)
         raise_for_status(resp)
         return resp.url, resp.text
@@ -548,7 +582,39 @@ def get_file_content(url: str, session: PipSession) -> Tuple[str, str]:
     # Assume this is a bare path.
     try:
         with open(url, "rb") as f:
-            content = auto_decode(f.read())
+            raw_content = f.read()
     except OSError as exc:
         raise InstallationError(f"Could not open requirements file: {exc}")
+
+    content = _decode_req_file(raw_content, url)
+
     return url, content
+
+
+def _decode_req_file(data: bytes, url: str) -> str:
+    for bom, encoding in BOMS:
+        if data.startswith(bom):
+            return data[len(bom) :].decode(encoding)
+
+    for line in data.split(b"\n")[:2]:
+        if line[0:1] == b"#":
+            result = PEP263_ENCODING_RE.search(line)
+            if result is not None:
+                encoding = result.groups()[0].decode("ascii")
+                return data.decode(encoding)
+
+    try:
+        return data.decode(DEFAULT_ENCODING)
+    except UnicodeDecodeError:
+        locale_encoding = locale.getpreferredencoding(False) or sys.getdefaultencoding()
+        logging.warning(
+            "unable to decode data from %s with default encoding %s, "
+            "falling back to encoding from locale: %s. "
+            "If this is intentional you should specify the encoding with a "
+            "PEP-263 style comment, e.g. '# -*- coding: %s -*-'",
+            url,
+            DEFAULT_ENCODING,
+            locale_encoding,
+            locale_encoding,
+        )
+        return data.decode(locale_encoding)
diff --git a/.venv/Lib/site-packages/pip/_internal/req/req_install.py b/.venv/Lib/site-packages/pip/_internal/req/req_install.py
index a65611c..c9f6bff 100644
--- a/.venv/Lib/site-packages/pip/_internal/req/req_install.py
+++ b/.venv/Lib/site-packages/pip/_internal/req/req_install.py
@@ -1,3 +1,5 @@
+from __future__ import annotations
+
 import functools
 import logging
 import os
@@ -5,9 +7,10 @@ import shutil
 import sys
 import uuid
 import zipfile
+from collections.abc import Collection, Iterable, Sequence
 from optparse import Values
 from pathlib import Path
-from typing import Any, Collection, Dict, Iterable, List, Optional, Sequence, Union
+from typing import Any
 
 from pip._vendor.packaging.markers import Marker
 from pip._vendor.packaging.requirements import Requirement
@@ -52,7 +55,7 @@ from pip._internal.utils.misc import (
     redact_auth_from_requirement,
     redact_auth_from_url,
 )
-from pip._internal.utils.packaging import safe_extra
+from pip._internal.utils.packaging import get_requirement
 from pip._internal.utils.subprocess import runner_with_spinner_message
 from pip._internal.utils.temp_dir import TempDirectory, tempdir_kinds
 from pip._internal.utils.unpacking import unpack_file
@@ -71,17 +74,17 @@ class InstallRequirement:
 
     def __init__(
         self,
-        req: Optional[Requirement],
-        comes_from: Optional[Union[str, "InstallRequirement"]],
+        req: Requirement | None,
+        comes_from: str | InstallRequirement | None,
         editable: bool = False,
-        link: Optional[Link] = None,
-        markers: Optional[Marker] = None,
-        use_pep517: Optional[bool] = None,
+        link: Link | None = None,
+        markers: Marker | None = None,
+        use_pep517: bool | None = None,
         isolated: bool = False,
         *,
-        global_options: Optional[List[str]] = None,
-        hash_options: Optional[Dict[str, List[str]]] = None,
-        config_settings: Optional[Dict[str, Union[str, List[str]]]] = None,
+        global_options: list[str] | None = None,
+        hash_options: dict[str, list[str]] | None = None,
+        config_settings: dict[str, str | list[str]] | None = None,
         constraint: bool = False,
         extras: Collection[str] = (),
         user_supplied: bool = False,
@@ -99,7 +102,7 @@ class InstallRequirement:
         # populating source_dir is done by the RequirementPreparer. Note this
         # is not necessarily the directory where pyproject.toml or setup.py is
         # located - that one is obtained via unpacked_source_directory.
-        self.source_dir: Optional[str] = None
+        self.source_dir: str | None = None
         if self.editable:
             assert link
             if link.is_file:
@@ -115,14 +118,14 @@ class InstallRequirement:
         # When this InstallRequirement is a wheel obtained from the cache of locally
         # built wheels, this is the source link corresponding to the cache entry, which
         # was used to download and build the cached wheel.
-        self.cached_wheel_source_link: Optional[Link] = None
+        self.cached_wheel_source_link: Link | None = None
 
         # Information about the location of the artifact that was downloaded . This
         # property is guaranteed to be set in resolver results.
-        self.download_info: Optional[DirectUrl] = None
+        self.download_info: DirectUrl | None = None
 
         # Path to any downloaded or already-existing package.
-        self.local_file_path: Optional[str] = None
+        self.local_file_path: str | None = None
         if self.link and self.link.is_file:
             self.local_file_path = self.link.file_path
 
@@ -137,14 +140,14 @@ class InstallRequirement:
         self.markers = markers
 
         # This holds the Distribution object if this requirement is already installed.
-        self.satisfied_by: Optional[BaseDistribution] = None
+        self.satisfied_by: BaseDistribution | None = None
         # Whether the installation process should try to uninstall an existing
         # distribution before installing this requirement.
         self.should_reinstall = False
         # Temporary build location
-        self._temp_build_dir: Optional[TempDirectory] = None
+        self._temp_build_dir: TempDirectory | None = None
         # Set to True after successful installation
-        self.install_succeeded: Optional[bool] = None
+        self.install_succeeded: bool | None = None
         # Supplied options
         self.global_options = global_options if global_options else []
         self.hash_options = hash_options if hash_options else {}
@@ -163,16 +166,16 @@ class InstallRequirement:
         # gets stored. We need this to pass to build_wheel, so the backend
         # can ensure that the wheel matches the metadata (see the PEP for
         # details).
-        self.metadata_directory: Optional[str] = None
+        self.metadata_directory: str | None = None
 
         # The static build requirements (from pyproject.toml)
-        self.pyproject_requires: Optional[List[str]] = None
+        self.pyproject_requires: list[str] | None = None
 
         # Build requirements that we will check are available
-        self.requirements_to_check: List[str] = []
+        self.requirements_to_check: list[str] = []
 
         # The PEP 517 backend we should use to build the project
-        self.pep517_backend: Optional[BuildBackendHookCaller] = None
+        self.pep517_backend: BuildBackendHookCaller | None = None
 
         # Are we using PEP 517 for this requirement?
         # After pyproject.toml has been loaded, the only valid values are True
@@ -195,7 +198,7 @@ class InstallRequirement:
         self.needs_more_preparation = False
 
         # This requirement needs to be unpacked before it can be installed.
-        self._archive_source: Optional[Path] = None
+        self._archive_source: Path | None = None
 
     def __str__(self) -> str:
         if self.req:
@@ -214,7 +217,7 @@ class InstallRequirement:
             s += f" in {location}"
         if self.comes_from:
             if isinstance(self.comes_from, str):
-                comes_from: Optional[str] = self.comes_from
+                comes_from: str | None = self.comes_from
             else:
                 comes_from = self.comes_from.from_path()
             if comes_from:
@@ -222,8 +225,9 @@ class InstallRequirement:
         return s
 
     def __repr__(self) -> str:
-        return "<{} object: {} editable={!r}>".format(
-            self.__class__.__name__, str(self), self.editable
+        return (
+            f"<{self.__class__.__name__} object: "
+            f"{str(self)} editable={self.editable!r}>"
         )
 
     def format_debug(self) -> str:
@@ -239,12 +243,12 @@ class InstallRequirement:
 
     # Things that are valid for all kinds of requirements?
     @property
-    def name(self) -> Optional[str]:
+    def name(self) -> str | None:
         if self.req is None:
             return None
         return self.req.name
 
-    @functools.lru_cache()  # use cached_property in python 3.8+
+    @functools.cached_property
     def supports_pyproject_editable(self) -> bool:
         if not self.use_pep517:
             return False
@@ -276,19 +280,14 @@ class InstallRequirement:
         specifiers = self.req.specifier
         return len(specifiers) == 1 and next(iter(specifiers)).operator in {"==", "==="}
 
-    def match_markers(self, extras_requested: Optional[Iterable[str]] = None) -> bool:
+    def match_markers(self, extras_requested: Iterable[str] | None = None) -> bool:
         if not extras_requested:
             # Provide an extra to safely evaluate the markers
             # without matching any extra
             extras_requested = ("",)
         if self.markers is not None:
             return any(
-                self.markers.evaluate({"extra": extra})
-                # TODO: Remove these two variants when packaging is upgraded to
-                # support the marker comparison logic specified in PEP 685.
-                or self.markers.evaluate({"extra": safe_extra(extra)})
-                or self.markers.evaluate({"extra": canonicalize_name(extra)})
-                for extra in extras_requested
+                self.markers.evaluate({"extra": extra}) for extra in extras_requested
             )
         else:
             return True
@@ -330,13 +329,13 @@ class InstallRequirement:
             good_hashes.setdefault(link.hash_name, []).append(link.hash)
         return Hashes(good_hashes)
 
-    def from_path(self) -> Optional[str]:
+    def from_path(self) -> str | None:
         """Format a nice indicator to show where this "comes from" """
         if self.req is None:
             return None
         s = str(self.req)
         if self.comes_from:
-            comes_from: Optional[str]
+            comes_from: str | None
             if isinstance(self.comes_from, str):
                 comes_from = self.comes_from
             else:
@@ -400,7 +399,7 @@ class InstallRequirement:
         else:
             op = "==="
 
-        self.req = Requirement(
+        self.req = get_requirement(
             "".join(
                 [
                     self.metadata["Name"],
@@ -426,7 +425,7 @@ class InstallRequirement:
             metadata_name,
             self.name,
         )
-        self.req = Requirement(metadata_name)
+        self.req = get_requirement(metadata_name)
 
     def check_if_exists(self, use_user_site: bool) -> None:
         """Find an installed distribution that satisfies or conflicts
@@ -542,7 +541,7 @@ class InstallRequirement:
         if (
             self.editable
             and self.use_pep517
-            and not self.supports_pyproject_editable()
+            and not self.supports_pyproject_editable
             and not os.path.isfile(self.setup_py_path)
             and not os.path.isfile(self.setup_cfg_path)
         ):
@@ -568,7 +567,7 @@ class InstallRequirement:
             if (
                 self.editable
                 and self.permit_editable_wheels
-                and self.supports_pyproject_editable()
+                and self.supports_pyproject_editable
             ):
                 self.metadata_directory = generate_editable_metadata(
                     build_env=self.build_env,
@@ -703,7 +702,7 @@ class InstallRequirement:
     # Top-level Actions
     def uninstall(
         self, auto_confirm: bool = False, verbose: bool = False
-    ) -> Optional[UninstallPathSet]:
+    ) -> UninstallPathSet | None:
         """
         Uninstall the distribution currently satisfying this requirement.
 
@@ -741,7 +740,7 @@ class InstallRequirement:
         name = _clean_zip_name(path, rootdir)
         return self.req.name + "/" + name
 
-    def archive(self, build_dir: Optional[str]) -> None:
+    def archive(self, build_dir: str | None) -> None:
         """Saves archive to provided build_dir.
 
         Used for saving downloaded VCS requirements as part of `pip download`.
@@ -810,10 +809,10 @@ class InstallRequirement:
 
     def install(
         self,
-        global_options: Optional[Sequence[str]] = None,
-        root: Optional[str] = None,
-        home: Optional[str] = None,
-        prefix: Optional[str] = None,
+        global_options: Sequence[str] | None = None,
+        root: str | None = None,
+        home: str | None = None,
+        prefix: str | None = None,
         warn_script_location: bool = True,
         use_user_site: bool = False,
         pycompile: bool = True,
@@ -829,6 +828,21 @@ class InstallRequirement:
         )
 
         if self.editable and not self.is_wheel:
+            deprecated(
+                reason=(
+                    f"Legacy editable install of {self} (setup.py develop) "
+                    "is deprecated."
+                ),
+                replacement=(
+                    "to add a pyproject.toml or enable --use-pep517, "
+                    "and use setuptools >= 64. "
+                    "If the resulting installation is not behaving as expected, "
+                    "try using --config-settings editable_mode=compat. "
+                    "Please consult the setuptools documentation for more information"
+                ),
+                gone_in="25.3",
+                issue=11457,
+            )
             if self.config_settings:
                 logger.warning(
                     "--config-settings ignored for legacy editable install of %s. "
@@ -894,7 +908,7 @@ def check_invalid_constraint_type(req: InstallRequirement) -> str:
     return problem
 
 
-def _has_option(options: Values, reqs: List[InstallRequirement], option: str) -> bool:
+def _has_option(options: Values, reqs: list[InstallRequirement], option: str) -> bool:
     if getattr(options, option, None):
         return True
     for req in reqs:
@@ -905,7 +919,7 @@ def _has_option(options: Values, reqs: List[InstallRequirement], option: str) ->
 
 def check_legacy_setup_py_options(
     options: Values,
-    reqs: List[InstallRequirement],
+    reqs: list[InstallRequirement],
 ) -> None:
     has_build_options = _has_option(options, reqs, "build_options")
     has_global_options = _has_option(options, reqs, "global_options")
@@ -914,7 +928,7 @@ def check_legacy_setup_py_options(
             reason="--build-option and --global-option are deprecated.",
             issue=11859,
             replacement="to use --config-settings",
-            gone_in="24.2",
+            gone_in="25.3",
         )
         logger.warning(
             "Implying --no-binary=:all: due to the presence of "
diff --git a/.venv/Lib/site-packages/pip/_internal/req/req_set.py b/.venv/Lib/site-packages/pip/_internal/req/req_set.py
index bf36114..3451b24 100644
--- a/.venv/Lib/site-packages/pip/_internal/req/req_set.py
+++ b/.venv/Lib/site-packages/pip/_internal/req/req_set.py
@@ -1,13 +1,9 @@
 import logging
 from collections import OrderedDict
-from typing import Dict, List
 
-from pip._vendor.packaging.specifiers import LegacySpecifier
 from pip._vendor.packaging.utils import canonicalize_name
-from pip._vendor.packaging.version import LegacyVersion
 
 from pip._internal.req.req_install import InstallRequirement
-from pip._internal.utils.deprecation import deprecated
 
 logger = logging.getLogger(__name__)
 
@@ -16,10 +12,10 @@ class RequirementSet:
     def __init__(self, check_supported_wheels: bool = True) -> None:
         """Create a RequirementSet."""
 
-        self.requirements: Dict[str, InstallRequirement] = OrderedDict()
+        self.requirements: dict[str, InstallRequirement] = OrderedDict()
         self.check_supported_wheels = check_supported_wheels
 
-        self.unnamed_requirements: List[InstallRequirement] = []
+        self.unnamed_requirements: list[InstallRequirement] = []
 
     def __str__(self) -> str:
         requirements = sorted(
@@ -68,11 +64,11 @@ class RequirementSet:
         raise KeyError(f"No project with the name {name!r}")
 
     @property
-    def all_requirements(self) -> List[InstallRequirement]:
+    def all_requirements(self) -> list[InstallRequirement]:
         return self.unnamed_requirements + list(self.requirements.values())
 
     @property
-    def requirements_to_install(self) -> List[InstallRequirement]:
+    def requirements_to_install(self) -> list[InstallRequirement]:
         """Return the list of requirements that need to be installed.
 
         TODO remove this property together with the legacy resolver, since the new
@@ -83,37 +79,3 @@ class RequirementSet:
             for install_req in self.all_requirements
             if not install_req.constraint and not install_req.satisfied_by
         ]
-
-    def warn_legacy_versions_and_specifiers(self) -> None:
-        for req in self.requirements_to_install:
-            version = req.get_dist().version
-            if isinstance(version, LegacyVersion):
-                deprecated(
-                    reason=(
-                        f"pip has selected the non standard version {version} "
-                        f"of {req}. In the future this version will be "
-                        f"ignored as it isn't standard compliant."
-                    ),
-                    replacement=(
-                        "set or update constraints to select another version "
-                        "or contact the package author to fix the version number"
-                    ),
-                    issue=12063,
-                    gone_in="24.1",
-                )
-            for dep in req.get_dist().iter_dependencies():
-                if any(isinstance(spec, LegacySpecifier) for spec in dep.specifier):
-                    deprecated(
-                        reason=(
-                            f"pip has selected {req} {version} which has non "
-                            f"standard dependency specifier {dep}. "
-                            f"In the future this version of {req} will be "
-                            f"ignored as it isn't standard compliant."
-                        ),
-                        replacement=(
-                            "set or update constraints to select another version "
-                            "or contact the package author to fix the version number"
-                        ),
-                        issue=12063,
-                        gone_in="24.1",
-                    )
diff --git a/.venv/Lib/site-packages/pip/_internal/req/req_uninstall.py b/.venv/Lib/site-packages/pip/_internal/req/req_uninstall.py
index 707fde1..3f3dde2 100644
--- a/.venv/Lib/site-packages/pip/_internal/req/req_uninstall.py
+++ b/.venv/Lib/site-packages/pip/_internal/req/req_uninstall.py
@@ -1,11 +1,14 @@
+from __future__ import annotations
+
 import functools
 import os
 import sys
 import sysconfig
+from collections.abc import Generator, Iterable
 from importlib.util import cache_from_source
-from typing import Any, Callable, Dict, Generator, Iterable, List, Optional, Set, Tuple
+from typing import Any, Callable
 
-from pip._internal.exceptions import UninstallationError
+from pip._internal.exceptions import LegacyDistutilsInstall, UninstallMissingRecord
 from pip._internal.locations import get_bin_prefix, get_bin_user
 from pip._internal.metadata import BaseDistribution
 from pip._internal.utils.compat import WINDOWS
@@ -38,11 +41,11 @@ def _script_names(
 
 
 def _unique(
-    fn: Callable[..., Generator[Any, None, None]]
+    fn: Callable[..., Generator[Any, None, None]],
 ) -> Callable[..., Generator[Any, None, None]]:
     @functools.wraps(fn)
     def unique(*args: Any, **kw: Any) -> Generator[Any, None, None]:
-        seen: Set[Any] = set()
+        seen: set[Any] = set()
         for item in fn(*args, **kw):
             if item not in seen:
                 seen.add(item)
@@ -61,7 +64,7 @@ def uninstallation_paths(dist: BaseDistribution) -> Generator[str, None, None]:
 
     UninstallPathSet.add() takes care of the __pycache__ .py[co].
 
-    If RECORD is not found, raises UninstallationError,
+    If RECORD is not found, raises an error,
     with possible information from the INSTALLER file.
 
     https://packaging.python.org/specifications/recording-installed-packages/
@@ -71,17 +74,7 @@ def uninstallation_paths(dist: BaseDistribution) -> Generator[str, None, None]:
 
     entries = dist.iter_declared_entries()
     if entries is None:
-        msg = f"Cannot uninstall {dist}, RECORD file not found."
-        installer = dist.installer
-        if not installer or installer == "pip":
-            dep = f"{dist.raw_name}=={dist.version}"
-            msg += (
-                " You might be able to recover from this via: "
-                f"'pip install --force-reinstall --no-deps {dep}'."
-            )
-        else:
-            msg += f" Hint: The package was installed by {installer}."
-        raise UninstallationError(msg)
+        raise UninstallMissingRecord(distribution=dist)
 
     for entry in entries:
         path = os.path.join(location, entry)
@@ -95,14 +88,14 @@ def uninstallation_paths(dist: BaseDistribution) -> Generator[str, None, None]:
             yield path
 
 
-def compact(paths: Iterable[str]) -> Set[str]:
+def compact(paths: Iterable[str]) -> set[str]:
     """Compact a path set to contain the minimal number of paths
     necessary to contain all paths in the set. If /a/path/ and
     /a/path/to/a/file.txt are both in the set, leave only the
     shorter path."""
 
     sep = os.path.sep
-    short_paths: Set[str] = set()
+    short_paths: set[str] = set()
     for path in sorted(paths, key=len):
         should_skip = any(
             path.startswith(shortpath.rstrip("*"))
@@ -114,7 +107,7 @@ def compact(paths: Iterable[str]) -> Set[str]:
     return short_paths
 
 
-def compress_for_rename(paths: Iterable[str]) -> Set[str]:
+def compress_for_rename(paths: Iterable[str]) -> set[str]:
     """Returns a set containing the paths that need to be renamed.
 
     This set may include directories when the original sequence of paths
@@ -123,7 +116,7 @@ def compress_for_rename(paths: Iterable[str]) -> Set[str]:
     case_map = {os.path.normcase(p): p for p in paths}
     remaining = set(case_map)
     unchecked = sorted({os.path.split(p)[0] for p in case_map.values()}, key=len)
-    wildcards: Set[str] = set()
+    wildcards: set[str] = set()
 
     def norm_join(*a: str) -> str:
         return os.path.normcase(os.path.join(*a))
@@ -133,8 +126,8 @@ def compress_for_rename(paths: Iterable[str]) -> Set[str]:
             # This directory has already been handled.
             continue
 
-        all_files: Set[str] = set()
-        all_subdirs: Set[str] = set()
+        all_files: set[str] = set()
+        all_subdirs: set[str] = set()
         for dirname, subdirs, files in os.walk(root):
             all_subdirs.update(norm_join(root, dirname, d) for d in subdirs)
             all_files.update(norm_join(root, dirname, f) for f in files)
@@ -148,7 +141,7 @@ def compress_for_rename(paths: Iterable[str]) -> Set[str]:
     return set(map(case_map.__getitem__, remaining)) | wildcards
 
 
-def compress_for_output_listing(paths: Iterable[str]) -> Tuple[Set[str], Set[str]]:
+def compress_for_output_listing(paths: Iterable[str]) -> tuple[set[str], set[str]]:
     """Returns a tuple of 2 sets of which paths to display to user
 
     The first set contains paths that would be deleted. Files of a package
@@ -204,10 +197,10 @@ class StashedUninstallPathSet:
     def __init__(self) -> None:
         # Mapping from source file root to [Adjacent]TempDirectory
         # for files under that directory.
-        self._save_dirs: Dict[str, TempDirectory] = {}
+        self._save_dirs: dict[str, TempDirectory] = {}
         # (old path, new path) tuples for each move that may need
         # to be undone.
-        self._moves: List[Tuple[str, str]] = []
+        self._moves: list[tuple[str, str]] = []
 
     def _get_directory_stash(self, path: str) -> str:
         """Stashes a directory.
@@ -307,15 +300,15 @@ class UninstallPathSet:
     requirement."""
 
     def __init__(self, dist: BaseDistribution) -> None:
-        self._paths: Set[str] = set()
-        self._refuse: Set[str] = set()
-        self._pth: Dict[str, UninstallPthEntries] = {}
+        self._paths: set[str] = set()
+        self._refuse: set[str] = set()
+        self._pth: dict[str, UninstallPthEntries] = {}
         self._dist = dist
         self._moved_paths = StashedUninstallPathSet()
         # Create local cache of normalize_path results. Creating an UninstallPathSet
         # can result in hundreds/thousands of redundant calls to normalize_path with
         # the same args, which hurts performance.
-        self._normalize_path_cached = functools.lru_cache()(normalize_path)
+        self._normalize_path_cached = functools.lru_cache(normalize_path)
 
     def _permitted(self, path: str) -> bool:
         """
@@ -367,7 +360,7 @@ class UninstallPathSet:
             )
             return
 
-        dist_name_version = f"{self._dist.raw_name}-{self._dist.version}"
+        dist_name_version = f"{self._dist.raw_name}-{self._dist.raw_version}"
         logger.info("Uninstalling %s:", dist_name_version)
 
         with indent_log():
@@ -431,7 +424,7 @@ class UninstallPathSet:
         self._moved_paths.commit()
 
     @classmethod
-    def from_dist(cls, dist: BaseDistribution) -> "UninstallPathSet":
+    def from_dist(cls, dist: BaseDistribution) -> UninstallPathSet:
         dist_location = dist.location
         info_location = dist.info_location
         if dist_location is None:
@@ -509,22 +502,19 @@ class UninstallPathSet:
                     paths_to_remove.add(f"{path}.pyo")
 
         elif dist.installed_by_distutils:
-            raise UninstallationError(
-                "Cannot uninstall {!r}. It is a distutils installed project "
-                "and thus we cannot accurately determine which files belong "
-                "to it which would lead to only a partial uninstall.".format(
-                    dist.raw_name,
-                )
-            )
+            raise LegacyDistutilsInstall(distribution=dist)
 
         elif dist.installed_as_egg:
             # package installed by easy_install
             # We cannot match on dist.egg_name because it can slightly vary
             # i.e. setuptools-0.6c11-py2.6.egg vs setuptools-0.6rc11-py2.6.egg
-            paths_to_remove.add(dist_location)
-            easy_install_egg = os.path.split(dist_location)[1]
+            # XXX We use normalized_dist_location because dist_location my contain
+            # a trailing / if the distribution is a zipped egg
+            # (which is not a directory).
+            paths_to_remove.add(normalized_dist_location)
+            easy_install_egg = os.path.split(normalized_dist_location)[1]
             easy_install_pth = os.path.join(
-                os.path.dirname(dist_location),
+                os.path.dirname(normalized_dist_location),
                 "easy-install.pth",
             )
             paths_to_remove.add_pth(easy_install_pth, "./" + easy_install_egg)
@@ -594,8 +584,8 @@ class UninstallPathSet:
 class UninstallPthEntries:
     def __init__(self, pth_file: str) -> None:
         self.file = pth_file
-        self.entries: Set[str] = set()
-        self._saved_lines: Optional[List[bytes]] = None
+        self.entries: set[str] = set()
+        self._saved_lines: list[bytes] | None = None
 
     def add(self, entry: str) -> None:
         entry = os.path.normcase(entry)
diff --git a/.venv/Lib/site-packages/pip/_internal/resolution/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/resolution/__pycache__/__init__.cpython-311.pyc
index cd6358d..e9f7d33 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/resolution/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/resolution/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/resolution/__pycache__/base.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/resolution/__pycache__/base.cpython-311.pyc
index bae8321..c5d1fa4 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/resolution/__pycache__/base.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/resolution/__pycache__/base.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/resolution/base.py b/.venv/Lib/site-packages/pip/_internal/resolution/base.py
index 42dade1..5ec4d96 100644
--- a/.venv/Lib/site-packages/pip/_internal/resolution/base.py
+++ b/.venv/Lib/site-packages/pip/_internal/resolution/base.py
@@ -1,4 +1,4 @@
-from typing import Callable, List, Optional
+from typing import Callable, Optional
 
 from pip._internal.req.req_install import InstallRequirement
 from pip._internal.req.req_set import RequirementSet
@@ -10,11 +10,11 @@ InstallRequirementProvider = Callable[
 
 class BaseResolver:
     def resolve(
-        self, root_reqs: List[InstallRequirement], check_supported_wheels: bool
+        self, root_reqs: list[InstallRequirement], check_supported_wheels: bool
     ) -> RequirementSet:
         raise NotImplementedError()
 
     def get_installation_order(
         self, req_set: RequirementSet
-    ) -> List[InstallRequirement]:
+    ) -> list[InstallRequirement]:
         raise NotImplementedError()
diff --git a/.venv/Lib/site-packages/pip/_internal/resolution/legacy/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/resolution/legacy/__pycache__/__init__.cpython-311.pyc
index cd64da5..af0dc66 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/resolution/legacy/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/resolution/legacy/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/resolution/legacy/__pycache__/resolver.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/resolution/legacy/__pycache__/resolver.cpython-311.pyc
index 5f22c18..cb7b57f 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/resolution/legacy/__pycache__/resolver.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/resolution/legacy/__pycache__/resolver.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/resolution/legacy/resolver.py b/.venv/Lib/site-packages/pip/_internal/resolution/legacy/resolver.py
index 5ddb848..33a4fdc 100644
--- a/.venv/Lib/site-packages/pip/_internal/resolution/legacy/resolver.py
+++ b/.venv/Lib/site-packages/pip/_internal/resolution/legacy/resolver.py
@@ -10,14 +10,14 @@ for sub-dependencies
     a. "first found, wins" (where the order is breadth first)
 """
 
-# The following comment should be removed at some point in the future.
-# mypy: strict-optional=False
+from __future__ import annotations
 
 import logging
 import sys
 from collections import defaultdict
+from collections.abc import Iterable
 from itertools import chain
-from typing import DefaultDict, Iterable, List, Optional, Set, Tuple
+from typing import Optional
 
 from pip._vendor.packaging import specifiers
 from pip._vendor.packaging.requirements import Requirement
@@ -52,12 +52,12 @@ from pip._internal.utils.packaging import check_requires_python
 
 logger = logging.getLogger(__name__)
 
-DiscoveredDependencies = DefaultDict[str, List[InstallRequirement]]
+DiscoveredDependencies = defaultdict[Optional[str], list[InstallRequirement]]
 
 
 def _check_dist_requires_python(
     dist: BaseDistribution,
-    version_info: Tuple[int, int, int],
+    version_info: tuple[int, int, int],
     ignore_requires_python: bool = False,
 ) -> None:
     """
@@ -104,9 +104,8 @@ def _check_dist_requires_python(
         return
 
     raise UnsupportedPythonVersion(
-        "Package {!r} requires a different Python: {} not in {!r}".format(
-            dist.raw_name, version, requires_python
-        )
+        f"Package {dist.raw_name!r} requires a different Python: "
+        f"{version} not in {requires_python!r}"
     )
 
 
@@ -121,7 +120,7 @@ class Resolver(BaseResolver):
         self,
         preparer: RequirementPreparer,
         finder: PackageFinder,
-        wheel_cache: Optional[WheelCache],
+        wheel_cache: WheelCache | None,
         make_install_req: InstallRequirementProvider,
         use_user_site: bool,
         ignore_dependencies: bool,
@@ -129,7 +128,7 @@ class Resolver(BaseResolver):
         ignore_requires_python: bool,
         force_reinstall: bool,
         upgrade_strategy: str,
-        py_version_info: Optional[Tuple[int, ...]] = None,
+        py_version_info: tuple[int, ...] | None = None,
     ) -> None:
         super().__init__()
         assert upgrade_strategy in self._allowed_strategies
@@ -156,7 +155,7 @@ class Resolver(BaseResolver):
         self._discovered_dependencies: DiscoveredDependencies = defaultdict(list)
 
     def resolve(
-        self, root_reqs: List[InstallRequirement], check_supported_wheels: bool
+        self, root_reqs: list[InstallRequirement], check_supported_wheels: bool
     ) -> RequirementSet:
         """Resolve what operations need to be done
 
@@ -178,7 +177,7 @@ class Resolver(BaseResolver):
         # exceptions cannot be checked ahead of time, because
         # _populate_link() needs to be called before we can make decisions
         # based on link type.
-        discovered_reqs: List[InstallRequirement] = []
+        discovered_reqs: list[InstallRequirement] = []
         hash_errors = HashErrors()
         for req in chain(requirement_set.all_requirements, discovered_reqs):
             try:
@@ -196,9 +195,9 @@ class Resolver(BaseResolver):
         self,
         requirement_set: RequirementSet,
         install_req: InstallRequirement,
-        parent_req_name: Optional[str] = None,
-        extras_requested: Optional[Iterable[str]] = None,
-    ) -> Tuple[List[InstallRequirement], Optional[InstallRequirement]]:
+        parent_req_name: str | None = None,
+        extras_requested: Iterable[str] | None = None,
+    ) -> tuple[list[InstallRequirement], InstallRequirement | None]:
         """Add install_req as a requirement to install.
 
         :param parent_req_name: The name of the requirement that needed this
@@ -246,9 +245,9 @@ class Resolver(BaseResolver):
             return [install_req], None
 
         try:
-            existing_req: Optional[
-                InstallRequirement
-            ] = requirement_set.get_requirement(install_req.name)
+            existing_req: InstallRequirement | None = requirement_set.get_requirement(
+                install_req.name
+            )
         except KeyError:
             existing_req = None
 
@@ -263,9 +262,8 @@ class Resolver(BaseResolver):
         )
         if has_conflicting_requirement:
             raise InstallationError(
-                "Double requirement given: {} (already in {}, name={!r})".format(
-                    install_req, existing_req, install_req.name
-                )
+                f"Double requirement given: {install_req} "
+                f"(already in {existing_req}, name={install_req.name!r})"
             )
 
         # When no existing requirement exists, add the requirement as a
@@ -323,13 +321,12 @@ class Resolver(BaseResolver):
         """
         # Don't uninstall the conflict if doing a user install and the
         # conflict is not a user install.
+        assert req.satisfied_by is not None
         if not self.use_user_site or req.satisfied_by.in_usersite:
             req.should_reinstall = True
         req.satisfied_by = None
 
-    def _check_skip_installed(
-        self, req_to_install: InstallRequirement
-    ) -> Optional[str]:
+    def _check_skip_installed(self, req_to_install: InstallRequirement) -> str | None:
         """Check if req_to_install should be skipped.
 
         This will check if the req is installed, and whether we should upgrade
@@ -381,7 +378,7 @@ class Resolver(BaseResolver):
         self._set_req_to_reinstall(req_to_install)
         return None
 
-    def _find_requirement_link(self, req: InstallRequirement) -> Optional[Link]:
+    def _find_requirement_link(self, req: InstallRequirement) -> Link | None:
         upgrade = self._is_upgrade_allowed(req)
         best_candidate = self.finder.find_requirement(req, upgrade)
         if not best_candidate:
@@ -421,6 +418,8 @@ class Resolver(BaseResolver):
 
         if self.wheel_cache is None or self.preparer.require_hashes:
             return
+
+        assert req.link is not None, "_find_requirement_link unexpectedly returned None"
         cache_entry = self.wheel_cache.get_cache_entry(
             link=req.link,
             package_name=req.name,
@@ -490,7 +489,7 @@ class Resolver(BaseResolver):
         self,
         requirement_set: RequirementSet,
         req_to_install: InstallRequirement,
-    ) -> List[InstallRequirement]:
+    ) -> list[InstallRequirement]:
         """Prepare a single requirements file.
 
         :return: A list of additional InstallRequirements to also install.
@@ -513,7 +512,7 @@ class Resolver(BaseResolver):
             ignore_requires_python=self.ignore_requires_python,
         )
 
-        more_reqs: List[InstallRequirement] = []
+        more_reqs: list[InstallRequirement] = []
 
         def add_req(subreq: Requirement, extras_requested: Iterable[str]) -> None:
             # This idiosyncratically converts the Requirement to str and let
@@ -534,6 +533,7 @@ class Resolver(BaseResolver):
         with indent_log():
             # We add req_to_install before its dependencies, so that we
             # can refer to it when adding dependencies.
+            assert req_to_install.name is not None
             if not requirement_set.has_requirement(req_to_install.name):
                 # 'unnamed' requirements will get added here
                 # 'unnamed' requirements can only come from being directly
@@ -570,7 +570,7 @@ class Resolver(BaseResolver):
 
     def get_installation_order(
         self, req_set: RequirementSet
-    ) -> List[InstallRequirement]:
+    ) -> list[InstallRequirement]:
         """Create the installation order.
 
         The installation order is topological - requirements are installed
@@ -581,7 +581,7 @@ class Resolver(BaseResolver):
         # installs the user specified things in the order given, except when
         # dependencies must come earlier to achieve topological order.
         order = []
-        ordered_reqs: Set[InstallRequirement] = set()
+        ordered_reqs: set[InstallRequirement] = set()
 
         def schedule(req: InstallRequirement) -> None:
             if req.satisfied_by or req in ordered_reqs:
diff --git a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-311.pyc
index 973b2cf..00937ab 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/base.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/base.cpython-311.pyc
index 079335b..24c1f6f 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/base.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/base.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-311.pyc
index 66874de..371a8fb 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-311.pyc
index 54e6cb9..658d9d4 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-311.pyc
index b4f1a68..f8cb7bf 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-311.pyc
index 12868e6..217e640 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-311.pyc
index d6d0aad..774ca52 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-311.pyc
index 09c2905..7a79205 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-311.pyc
index 8a82af6..d66ff26 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/base.py b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/base.py
index 9c0ef5c..03877b6 100644
--- a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/base.py
+++ b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/base.py
@@ -1,45 +1,46 @@
-from typing import FrozenSet, Iterable, Optional, Tuple, Union
+from __future__ import annotations
+
+from collections.abc import Iterable
+from dataclasses import dataclass
+from typing import Optional
 
 from pip._vendor.packaging.specifiers import SpecifierSet
 from pip._vendor.packaging.utils import NormalizedName
-from pip._vendor.packaging.version import LegacyVersion, Version
+from pip._vendor.packaging.version import Version
 
 from pip._internal.models.link import Link, links_equivalent
 from pip._internal.req.req_install import InstallRequirement
 from pip._internal.utils.hashes import Hashes
 
-CandidateLookup = Tuple[Optional["Candidate"], Optional[InstallRequirement]]
-CandidateVersion = Union[LegacyVersion, Version]
+CandidateLookup = tuple[Optional["Candidate"], Optional[InstallRequirement]]
 
 
-def format_name(project: NormalizedName, extras: FrozenSet[NormalizedName]) -> str:
+def format_name(project: NormalizedName, extras: frozenset[NormalizedName]) -> str:
     if not extras:
         return project
     extras_expr = ",".join(sorted(extras))
     return f"{project}[{extras_expr}]"
 
 
+@dataclass(frozen=True)
 class Constraint:
-    def __init__(
-        self, specifier: SpecifierSet, hashes: Hashes, links: FrozenSet[Link]
-    ) -> None:
-        self.specifier = specifier
-        self.hashes = hashes
-        self.links = links
+    specifier: SpecifierSet
+    hashes: Hashes
+    links: frozenset[Link]
 
     @classmethod
-    def empty(cls) -> "Constraint":
+    def empty(cls) -> Constraint:
         return Constraint(SpecifierSet(), Hashes(), frozenset())
 
     @classmethod
-    def from_ireq(cls, ireq: InstallRequirement) -> "Constraint":
+    def from_ireq(cls, ireq: InstallRequirement) -> Constraint:
         links = frozenset([ireq.link]) if ireq.link else frozenset()
         return Constraint(ireq.specifier, ireq.hashes(trust_internet=False), links)
 
     def __bool__(self) -> bool:
         return bool(self.specifier) or bool(self.hashes) or bool(self.links)
 
-    def __and__(self, other: InstallRequirement) -> "Constraint":
+    def __and__(self, other: InstallRequirement) -> Constraint:
         if not isinstance(other, InstallRequirement):
             return NotImplemented
         specifier = self.specifier & other.specifier
@@ -49,7 +50,7 @@ class Constraint:
             links = links.union([other.link])
         return Constraint(specifier, hashes, links)
 
-    def is_satisfied_by(self, candidate: "Candidate") -> bool:
+    def is_satisfied_by(self, candidate: Candidate) -> bool:
         # Reject if there are any mismatched URL constraints on this package.
         if self.links and not all(_match_link(link, candidate) for link in self.links):
             return False
@@ -79,7 +80,7 @@ class Requirement:
         """
         raise NotImplementedError("Subclass should override")
 
-    def is_satisfied_by(self, candidate: "Candidate") -> bool:
+    def is_satisfied_by(self, candidate: Candidate) -> bool:
         return False
 
     def get_candidate_lookup(self) -> CandidateLookup:
@@ -89,7 +90,7 @@ class Requirement:
         raise NotImplementedError("Subclass should override")
 
 
-def _match_link(link: Link, candidate: "Candidate") -> bool:
+def _match_link(link: Link, candidate: Candidate) -> bool:
     if candidate.source_link:
         return links_equivalent(link, candidate.source_link)
     return False
@@ -116,7 +117,7 @@ class Candidate:
         raise NotImplementedError("Override in subclass")
 
     @property
-    def version(self) -> CandidateVersion:
+    def version(self) -> Version:
         raise NotImplementedError("Override in subclass")
 
     @property
@@ -128,13 +129,13 @@ class Candidate:
         raise NotImplementedError("Override in subclass")
 
     @property
-    def source_link(self) -> Optional[Link]:
+    def source_link(self) -> Link | None:
         raise NotImplementedError("Override in subclass")
 
-    def iter_dependencies(self, with_requires: bool) -> Iterable[Optional[Requirement]]:
+    def iter_dependencies(self, with_requires: bool) -> Iterable[Requirement | None]:
         raise NotImplementedError("Override in subclass")
 
-    def get_install_requirement(self) -> Optional[InstallRequirement]:
+    def get_install_requirement(self) -> InstallRequirement | None:
         raise NotImplementedError("Override in subclass")
 
     def format_for_error(self) -> str:
diff --git a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/candidates.py b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/candidates.py
index 4125cda..a831534 100644
--- a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/candidates.py
+++ b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/candidates.py
@@ -1,14 +1,20 @@
+from __future__ import annotations
+
 import logging
 import sys
-from typing import TYPE_CHECKING, Any, FrozenSet, Iterable, Optional, Tuple, Union, cast
+from collections.abc import Iterable
+from typing import TYPE_CHECKING, Any, Union, cast
 
+from pip._vendor.packaging.requirements import InvalidRequirement
 from pip._vendor.packaging.utils import NormalizedName, canonicalize_name
 from pip._vendor.packaging.version import Version
 
 from pip._internal.exceptions import (
     HashError,
     InstallationSubprocessError,
+    InvalidInstalledPackage,
     MetadataInconsistent,
+    MetadataInvalid,
 )
 from pip._internal.metadata import BaseDistribution
 from pip._internal.models.link import Link, links_equivalent
@@ -21,7 +27,7 @@ from pip._internal.req.req_install import InstallRequirement
 from pip._internal.utils.direct_url_helpers import direct_url_from_link
 from pip._internal.utils.misc import normalize_version_info
 
-from .base import Candidate, CandidateVersion, Requirement, format_name
+from .base import Candidate, Requirement, format_name
 
 if TYPE_CHECKING:
     from .factory import Factory
@@ -38,7 +44,7 @@ BaseCandidate = Union[
 REQUIRES_PYTHON_IDENTIFIER = cast(NormalizedName, "")
 
 
-def as_base_candidate(candidate: Candidate) -> Optional[BaseCandidate]:
+def as_base_candidate(candidate: Candidate) -> BaseCandidate | None:
     """The runtime version of BaseCandidate."""
     base_candidate_classes = (
         AlreadyInstalledCandidate,
@@ -143,9 +149,9 @@ class _InstallRequirementBackedCandidate(Candidate):
         link: Link,
         source_link: Link,
         ireq: InstallRequirement,
-        factory: "Factory",
-        name: Optional[NormalizedName] = None,
-        version: Optional[CandidateVersion] = None,
+        factory: Factory,
+        name: NormalizedName | None = None,
+        version: Version | None = None,
     ) -> None:
         self._link = link
         self._source_link = source_link
@@ -154,6 +160,7 @@ class _InstallRequirementBackedCandidate(Candidate):
         self._name = name
         self._version = version
         self.dist = self._prepare()
+        self._hash: int | None = None
 
     def __str__(self) -> str:
         return f"{self.name} {self.version}"
@@ -162,7 +169,11 @@ class _InstallRequirementBackedCandidate(Candidate):
         return f"{self.__class__.__name__}({str(self._link)!r})"
 
     def __hash__(self) -> int:
-        return hash((self.__class__, self._link))
+        if self._hash is not None:
+            return self._hash
+
+        self._hash = hash((self.__class__, self._link))
+        return self._hash
 
     def __eq__(self, other: Any) -> bool:
         if isinstance(other, self.__class__):
@@ -170,7 +181,7 @@ class _InstallRequirementBackedCandidate(Candidate):
         return False
 
     @property
-    def source_link(self) -> Optional[Link]:
+    def source_link(self) -> Link | None:
         return self._source_link
 
     @property
@@ -185,16 +196,15 @@ class _InstallRequirementBackedCandidate(Candidate):
         return self.project_name
 
     @property
-    def version(self) -> CandidateVersion:
+    def version(self) -> Version:
         if self._version is None:
             self._version = self.dist.version
         return self._version
 
     def format_for_error(self) -> str:
-        return "{} {} (from {})".format(
-            self.name,
-            self.version,
-            self._link.file_path if self._link.is_file else self._link,
+        return (
+            f"{self.name} {self.version} "
+            f"(from {self._link.file_path if self._link.is_file else self._link})"
         )
 
     def _prepare_distribution(self) -> BaseDistribution:
@@ -216,6 +226,13 @@ class _InstallRequirementBackedCandidate(Candidate):
                 str(self._version),
                 str(dist.version),
             )
+        # check dependencies are valid
+        # TODO performance: this means we iterate the dependencies at least twice,
+        # we may want to cache parsed Requires-Dist
+        try:
+            list(dist.iter_dependencies(list(dist.iter_provided_extras())))
+        except InvalidRequirement as e:
+            raise MetadataInvalid(self._ireq, str(e))
 
     def _prepare(self) -> BaseDistribution:
         try:
@@ -234,13 +251,15 @@ class _InstallRequirementBackedCandidate(Candidate):
         self._check_metadata_consistency(dist)
         return dist
 
-    def iter_dependencies(self, with_requires: bool) -> Iterable[Optional[Requirement]]:
+    def iter_dependencies(self, with_requires: bool) -> Iterable[Requirement | None]:
+        # Emit the Requires-Python requirement first to fail fast on
+        # unsupported candidates and avoid pointless downloads/preparation.
+        yield self._factory.make_requires_python_requirement(self.dist.requires_python)
         requires = self.dist.iter_dependencies() if with_requires else ()
         for r in requires:
             yield from self._factory.make_requirements_from_spec(str(r), self._ireq)
-        yield self._factory.make_requires_python_requirement(self.dist.requires_python)
 
-    def get_install_requirement(self) -> Optional[InstallRequirement]:
+    def get_install_requirement(self) -> InstallRequirement | None:
         return self._ireq
 
 
@@ -251,9 +270,9 @@ class LinkCandidate(_InstallRequirementBackedCandidate):
         self,
         link: Link,
         template: InstallRequirement,
-        factory: "Factory",
-        name: Optional[NormalizedName] = None,
-        version: Optional[CandidateVersion] = None,
+        factory: Factory,
+        name: NormalizedName | None = None,
+        version: Version | None = None,
     ) -> None:
         source_link = link
         cache_entry = factory.get_wheel_cache_entry(source_link, name)
@@ -269,9 +288,9 @@ class LinkCandidate(_InstallRequirementBackedCandidate):
             # Version may not be present for PEP 508 direct URLs
             if version is not None:
                 wheel_version = Version(wheel.version)
-                assert version == wheel_version, "{!r} != {!r} for wheel {}".format(
-                    version, wheel_version, name
-                )
+                assert (
+                    version == wheel_version
+                ), f"{version!r} != {wheel_version!r} for wheel {name}"
 
         if cache_entry is not None:
             assert ireq.link.is_wheel
@@ -308,9 +327,9 @@ class EditableCandidate(_InstallRequirementBackedCandidate):
         self,
         link: Link,
         template: InstallRequirement,
-        factory: "Factory",
-        name: Optional[NormalizedName] = None,
-        version: Optional[CandidateVersion] = None,
+        factory: Factory,
+        name: NormalizedName | None = None,
+        version: Version | None = None,
     ) -> None:
         super().__init__(
             link=link,
@@ -333,7 +352,7 @@ class AlreadyInstalledCandidate(Candidate):
         self,
         dist: BaseDistribution,
         template: InstallRequirement,
-        factory: "Factory",
+        factory: Factory,
     ) -> None:
         self.dist = dist
         self._ireq = _make_install_req_from_dist(dist, template)
@@ -353,13 +372,13 @@ class AlreadyInstalledCandidate(Candidate):
     def __repr__(self) -> str:
         return f"{self.__class__.__name__}({self.dist!r})"
 
-    def __hash__(self) -> int:
-        return hash((self.__class__, self.name, self.version))
+    def __eq__(self, other: object) -> bool:
+        if not isinstance(other, AlreadyInstalledCandidate):
+            return NotImplemented
+        return self.name == other.name and self.version == other.version
 
-    def __eq__(self, other: Any) -> bool:
-        if isinstance(other, self.__class__):
-            return self.name == other.name and self.version == other.version
-        return False
+    def __hash__(self) -> int:
+        return hash((self.name, self.version))
 
     @property
     def project_name(self) -> NormalizedName:
@@ -370,7 +389,7 @@ class AlreadyInstalledCandidate(Candidate):
         return self.project_name
 
     @property
-    def version(self) -> CandidateVersion:
+    def version(self) -> Version:
         if self._version is None:
             self._version = self.dist.version
         return self._version
@@ -382,13 +401,17 @@ class AlreadyInstalledCandidate(Candidate):
     def format_for_error(self) -> str:
         return f"{self.name} {self.version} (Installed)"
 
-    def iter_dependencies(self, with_requires: bool) -> Iterable[Optional[Requirement]]:
+    def iter_dependencies(self, with_requires: bool) -> Iterable[Requirement | None]:
         if not with_requires:
             return
-        for r in self.dist.iter_dependencies():
-            yield from self._factory.make_requirements_from_spec(str(r), self._ireq)
 
-    def get_install_requirement(self) -> Optional[InstallRequirement]:
+        try:
+            for r in self.dist.iter_dependencies():
+                yield from self._factory.make_requirements_from_spec(str(r), self._ireq)
+        except InvalidRequirement as exc:
+            raise InvalidInstalledPackage(dist=self.dist, invalid_exc=exc) from None
+
+    def get_install_requirement(self) -> InstallRequirement | None:
         return None
 
 
@@ -420,9 +443,9 @@ class ExtrasCandidate(Candidate):
     def __init__(
         self,
         base: BaseCandidate,
-        extras: FrozenSet[str],
+        extras: frozenset[str],
         *,
-        comes_from: Optional[InstallRequirement] = None,
+        comes_from: InstallRequirement | None = None,
     ) -> None:
         """
         :param comes_from: the InstallRequirement that led to this candidate if it
@@ -434,14 +457,6 @@ class ExtrasCandidate(Candidate):
         """
         self.base = base
         self.extras = frozenset(canonicalize_name(e) for e in extras)
-        # If any extras are requested in their non-normalized forms, keep track
-        # of their raw values. This is needed when we look up dependencies
-        # since PEP 685 has not been implemented for marker-matching, and using
-        # the non-normalized extra for lookup ensures the user can select a
-        # non-normalized extra in a package with its non-normalized form.
-        # TODO: Remove this attribute when packaging is upgraded to support the
-        # marker comparison logic specified in PEP 685.
-        self._unnormalized_extras = extras.difference(self.extras)
         self._comes_from = comes_from if comes_from is not None else self.base._ireq
 
     def __str__(self) -> str:
@@ -469,7 +484,7 @@ class ExtrasCandidate(Candidate):
         return format_name(self.base.project_name, self.extras)
 
     @property
-    def version(self) -> CandidateVersion:
+    def version(self) -> Version:
         return self.base.version
 
     def format_for_error(self) -> str:
@@ -486,54 +501,10 @@ class ExtrasCandidate(Candidate):
         return self.base.is_editable
 
     @property
-    def source_link(self) -> Optional[Link]:
+    def source_link(self) -> Link | None:
         return self.base.source_link
 
-    def _warn_invalid_extras(
-        self,
-        requested: FrozenSet[str],
-        valid: FrozenSet[str],
-    ) -> None:
-        """Emit warnings for invalid extras being requested.
-
-        This emits a warning for each requested extra that is not in the
-        candidate's ``Provides-Extra`` list.
-        """
-        invalid_extras_to_warn = frozenset(
-            extra
-            for extra in requested
-            if extra not in valid
-            # If an extra is requested in an unnormalized form, skip warning
-            # about the normalized form being missing.
-            and extra in self.extras
-        )
-        if not invalid_extras_to_warn:
-            return
-        for extra in sorted(invalid_extras_to_warn):
-            logger.warning(
-                "%s %s does not provide the extra '%s'",
-                self.base.name,
-                self.version,
-                extra,
-            )
-
-    def _calculate_valid_requested_extras(self) -> FrozenSet[str]:
-        """Get a list of valid extras requested by this candidate.
-
-        The user (or upstream dependant) may have specified extras that the
-        candidate doesn't support. Any unsupported extras are dropped, and each
-        cause a warning to be logged here.
-        """
-        requested_extras = self.extras.union(self._unnormalized_extras)
-        valid_extras = frozenset(
-            extra
-            for extra in requested_extras
-            if self.base.dist.is_extra_provided(extra)
-        )
-        self._warn_invalid_extras(requested_extras, valid_extras)
-        return valid_extras
-
-    def iter_dependencies(self, with_requires: bool) -> Iterable[Optional[Requirement]]:
+    def iter_dependencies(self, with_requires: bool) -> Iterable[Requirement | None]:
         factory = self.base._factory
 
         # Add a dependency on the exact base
@@ -542,7 +513,18 @@ class ExtrasCandidate(Candidate):
         if not with_requires:
             return
 
-        valid_extras = self._calculate_valid_requested_extras()
+        # The user may have specified extras that the candidate doesn't
+        # support. We ignore any unsupported extras here.
+        valid_extras = self.extras.intersection(self.base.dist.iter_provided_extras())
+        invalid_extras = self.extras.difference(self.base.dist.iter_provided_extras())
+        for extra in sorted(invalid_extras):
+            logger.warning(
+                "%s %s does not provide the extra '%s'",
+                self.base.name,
+                self.version,
+                extra,
+            )
+
         for r in self.base.dist.iter_dependencies(valid_extras):
             yield from factory.make_requirements_from_spec(
                 str(r),
@@ -550,7 +532,7 @@ class ExtrasCandidate(Candidate):
                 valid_extras,
             )
 
-    def get_install_requirement(self) -> Optional[InstallRequirement]:
+    def get_install_requirement(self) -> InstallRequirement | None:
         # We don't return anything here, because we always
         # depend on the base candidate, and we'll get the
         # install requirement from that.
@@ -561,7 +543,7 @@ class RequiresPythonCandidate(Candidate):
     is_installed = False
     source_link = None
 
-    def __init__(self, py_version_info: Optional[Tuple[int, ...]]) -> None:
+    def __init__(self, py_version_info: tuple[int, ...] | None) -> None:
         if py_version_info is not None:
             version_info = normalize_version_info(py_version_info)
         else:
@@ -575,6 +557,9 @@ class RequiresPythonCandidate(Candidate):
     def __str__(self) -> str:
         return f"Python {self._version}"
 
+    def __repr__(self) -> str:
+        return f"{self.__class__.__name__}({self._version!r})"
+
     @property
     def project_name(self) -> NormalizedName:
         return REQUIRES_PYTHON_IDENTIFIER
@@ -584,14 +569,14 @@ class RequiresPythonCandidate(Candidate):
         return REQUIRES_PYTHON_IDENTIFIER
 
     @property
-    def version(self) -> CandidateVersion:
+    def version(self) -> Version:
         return self._version
 
     def format_for_error(self) -> str:
         return f"Python {self.version}"
 
-    def iter_dependencies(self, with_requires: bool) -> Iterable[Optional[Requirement]]:
+    def iter_dependencies(self, with_requires: bool) -> Iterable[Requirement | None]:
         return ()
 
-    def get_install_requirement(self) -> Optional[InstallRequirement]:
+    def get_install_requirement(self) -> InstallRequirement | None:
         return None
diff --git a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/factory.py b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/factory.py
index 4adeb43..f23e4cd 100644
--- a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/factory.py
+++ b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/factory.py
@@ -1,19 +1,14 @@
+from __future__ import annotations
+
 import contextlib
 import functools
 import logging
+from collections.abc import Iterable, Iterator, Mapping, Sequence
 from typing import (
     TYPE_CHECKING,
-    Dict,
-    FrozenSet,
-    Iterable,
-    Iterator,
-    List,
-    Mapping,
+    Callable,
     NamedTuple,
-    Optional,
-    Sequence,
-    Set,
-    Tuple,
+    Protocol,
     TypeVar,
     cast,
 )
@@ -21,13 +16,16 @@ from typing import (
 from pip._vendor.packaging.requirements import InvalidRequirement
 from pip._vendor.packaging.specifiers import SpecifierSet
 from pip._vendor.packaging.utils import NormalizedName, canonicalize_name
+from pip._vendor.packaging.version import InvalidVersion, Version
 from pip._vendor.resolvelib import ResolutionImpossible
 
 from pip._internal.cache import CacheEntry, WheelCache
 from pip._internal.exceptions import (
     DistributionNotFound,
     InstallationError,
+    InvalidInstalledPackage,
     MetadataInconsistent,
+    MetadataInvalid,
     UnsupportedPythonVersion,
     UnsupportedWheel,
 )
@@ -50,7 +48,7 @@ from pip._internal.utils.hashes import Hashes
 from pip._internal.utils.packaging import get_requirement
 from pip._internal.utils.virtualenv import running_under_virtualenv
 
-from .base import Candidate, CandidateVersion, Constraint, Requirement
+from .base import Candidate, Constraint, Requirement
 from .candidates import (
     AlreadyInstalledCandidate,
     BaseCandidate,
@@ -70,7 +68,6 @@ from .requirements import (
 )
 
 if TYPE_CHECKING:
-    from typing import Protocol
 
     class ConflictCause(Protocol):
         requirement: RequiresPythonRequirement
@@ -80,13 +77,13 @@ if TYPE_CHECKING:
 logger = logging.getLogger(__name__)
 
 C = TypeVar("C")
-Cache = Dict[Link, C]
+Cache = dict[Link, C]
 
 
 class CollectedRootRequirements(NamedTuple):
-    requirements: List[Requirement]
-    constraints: Dict[str, Constraint]
-    user_requested: Dict[str, int]
+    requirements: list[Requirement]
+    constraints: dict[str, Constraint]
+    user_requested: dict[str, int]
 
 
 class Factory:
@@ -95,12 +92,12 @@ class Factory:
         finder: PackageFinder,
         preparer: RequirementPreparer,
         make_install_req: InstallRequirementProvider,
-        wheel_cache: Optional[WheelCache],
+        wheel_cache: WheelCache | None,
         use_user_site: bool,
         force_reinstall: bool,
         ignore_installed: bool,
         ignore_requires_python: bool,
-        py_version_info: Optional[Tuple[int, ...]] = None,
+        py_version_info: tuple[int, ...] | None = None,
     ) -> None:
         self._finder = finder
         self.preparer = preparer
@@ -114,10 +111,11 @@ class Factory:
         self._build_failures: Cache[InstallationError] = {}
         self._link_candidate_cache: Cache[LinkCandidate] = {}
         self._editable_candidate_cache: Cache[EditableCandidate] = {}
-        self._installed_candidate_cache: Dict[str, AlreadyInstalledCandidate] = {}
-        self._extras_candidate_cache: Dict[
-            Tuple[int, FrozenSet[NormalizedName]], ExtrasCandidate
+        self._installed_candidate_cache: dict[str, AlreadyInstalledCandidate] = {}
+        self._extras_candidate_cache: dict[
+            tuple[int, frozenset[NormalizedName]], ExtrasCandidate
         ] = {}
+        self._supported_tags_cache = get_supported()
 
         if not ignore_installed:
             env = get_default_environment()
@@ -144,9 +142,9 @@ class Factory:
     def _make_extras_candidate(
         self,
         base: BaseCandidate,
-        extras: FrozenSet[str],
+        extras: frozenset[str],
         *,
-        comes_from: Optional[InstallRequirement] = None,
+        comes_from: InstallRequirement | None = None,
     ) -> ExtrasCandidate:
         cache_key = (id(base), frozenset(canonicalize_name(e) for e in extras))
         try:
@@ -159,7 +157,7 @@ class Factory:
     def _make_candidate_from_dist(
         self,
         dist: BaseDistribution,
-        extras: FrozenSet[str],
+        extras: frozenset[str],
         template: InstallRequirement,
     ) -> Candidate:
         try:
@@ -174,12 +172,12 @@ class Factory:
     def _make_candidate_from_link(
         self,
         link: Link,
-        extras: FrozenSet[str],
+        extras: frozenset[str],
         template: InstallRequirement,
-        name: Optional[NormalizedName],
-        version: Optional[CandidateVersion],
-    ) -> Optional[Candidate]:
-        base: Optional[BaseCandidate] = self._make_base_candidate_from_link(
+        name: NormalizedName | None,
+        version: Version | None,
+    ) -> Candidate | None:
+        base: BaseCandidate | None = self._make_base_candidate_from_link(
             link, template, name, version
         )
         if not extras or base is None:
@@ -190,9 +188,9 @@ class Factory:
         self,
         link: Link,
         template: InstallRequirement,
-        name: Optional[NormalizedName],
-        version: Optional[CandidateVersion],
-    ) -> Optional[BaseCandidate]:
+        name: NormalizedName | None,
+        version: Version | None,
+    ) -> BaseCandidate | None:
         # TODO: Check already installed candidate, and use it if the link and
         # editable flag match.
 
@@ -211,7 +209,7 @@ class Factory:
                         name=name,
                         version=version,
                     )
-                except MetadataInconsistent as e:
+                except (MetadataInconsistent, MetadataInvalid) as e:
                     logger.info(
                         "Discarding [blue underline]%s[/]: [yellow]%s[reset]",
                         link,
@@ -249,7 +247,7 @@ class Factory:
         specifier: SpecifierSet,
         hashes: Hashes,
         prefers_installed: bool,
-        incompatible_ids: Set[int],
+        incompatible_ids: set[int],
     ) -> Iterable[Candidate]:
         if not ireqs:
             return ()
@@ -262,14 +260,14 @@ class Factory:
         assert template.req, "Candidates found on index must be PEP 508"
         name = canonicalize_name(template.req.name)
 
-        extras: FrozenSet[str] = frozenset()
+        extras: frozenset[str] = frozenset()
         for ireq in ireqs:
             assert ireq.req, "Candidates found on index must be PEP 508"
             specifier &= ireq.req.specifier
             hashes &= ireq.hashes(trust_internet=False)
             extras |= frozenset(ireq.extras)
 
-        def _get_installed_candidate() -> Optional[Candidate]:
+        def _get_installed_candidate() -> Candidate | None:
             """Get the candidate for the currently-installed version."""
             # If --force-reinstall is set, we want the version from the index
             # instead, so we "pretend" there is nothing installed.
@@ -279,10 +277,15 @@ class Factory:
                 installed_dist = self._installed_dists[name]
             except KeyError:
                 return None
-            # Don't use the installed distribution if its version does not fit
-            # the current dependency graph.
-            if not specifier.contains(installed_dist.version, prereleases=True):
-                return None
+
+            try:
+                # Don't use the installed distribution if its version
+                # does not fit the current dependency graph.
+                if not specifier.contains(installed_dist.version, prereleases=True):
+                    return None
+            except InvalidVersion as e:
+                raise InvalidInstalledPackage(dist=installed_dist, invalid_exc=e)
+
             candidate = self._make_candidate_from_dist(
                 dist=installed_dist,
                 extras=extras,
@@ -299,7 +302,7 @@ class Factory:
                 specifier=specifier,
                 hashes=hashes,
             )
-            icans = list(result.iter_applicable())
+            icans = result.applicable_candidates
 
             # PEP 592: Yanked releases are ignored unless the specifier
             # explicitly pins a version (via '==' or '===') that can be
@@ -343,7 +346,7 @@ class Factory:
     def _iter_explicit_candidates_from_base(
         self,
         base_requirements: Iterable[Requirement],
-        extras: FrozenSet[str],
+        extras: frozenset[str],
     ) -> Iterator[Candidate]:
         """Produce explicit candidates from the base given an extra-ed package.
 
@@ -391,10 +394,11 @@ class Factory:
         incompatibilities: Mapping[str, Iterator[Candidate]],
         constraint: Constraint,
         prefers_installed: bool,
+        is_satisfied_by: Callable[[Requirement, Candidate], bool],
     ) -> Iterable[Candidate]:
         # Collect basic lookup information from the requirements.
-        explicit_candidates: Set[Candidate] = set()
-        ireqs: List[InstallRequirement] = []
+        explicit_candidates: set[Candidate] = set()
+        ireqs: list[InstallRequirement] = []
         for req in requirements[identifier]:
             cand, ireq = req.get_candidate_lookup()
             if cand is not None:
@@ -456,7 +460,7 @@ class Factory:
             for c in explicit_candidates
             if id(c) not in incompat_ids
             and constraint.is_satisfied_by(c)
-            and all(req.is_satisfied_by(c) for req in requirements[identifier])
+            and all(is_satisfied_by(req, c) for req in requirements[identifier])
         )
 
     def _make_requirements_from_install_req(
@@ -513,7 +517,7 @@ class Factory:
                     )
 
     def collect_root_requirements(
-        self, root_ireqs: List[InstallRequirement]
+        self, root_ireqs: list[InstallRequirement]
     ) -> CollectedRootRequirements:
         collected = CollectedRootRequirements([], {}, {})
         for i, ireq in enumerate(root_ireqs):
@@ -562,7 +566,7 @@ class Factory:
     def make_requirements_from_spec(
         self,
         specifier: str,
-        comes_from: Optional[InstallRequirement],
+        comes_from: InstallRequirement | None,
         requested_extras: Iterable[str] = (),
     ) -> Iterator[Requirement]:
         """
@@ -580,7 +584,7 @@ class Factory:
     def make_requires_python_requirement(
         self,
         specifier: SpecifierSet,
-    ) -> Optional[Requirement]:
+    ) -> Requirement | None:
         if self._ignore_requires_python:
             return None
         # Don't bother creating a dependency for an empty Requires-Python.
@@ -588,9 +592,7 @@ class Factory:
             return None
         return RequiresPythonRequirement(specifier, self._python_candidate)
 
-    def get_wheel_cache_entry(
-        self, link: Link, name: Optional[str]
-    ) -> Optional[CacheEntry]:
+    def get_wheel_cache_entry(self, link: Link, name: str | None) -> CacheEntry | None:
         """Look up the link in the wheel cache.
 
         If ``preparer.require_hashes`` is True, don't use the wheel cache,
@@ -604,10 +606,10 @@ class Factory:
         return self._wheel_cache.get_cache_entry(
             link=link,
             package_name=name,
-            supported_tags=get_supported(),
+            supported_tags=self._supported_tags_cache,
         )
 
-    def get_dist_to_uninstall(self, candidate: Candidate) -> Optional[BaseDistribution]:
+    def get_dist_to_uninstall(self, candidate: Candidate) -> BaseDistribution | None:
         # TODO: Are there more cases this needs to return True? Editable?
         dist = self._installed_dists.get(candidate.project_name)
         if dist is None:  # Not installed, no uninstallation required.
@@ -636,7 +638,7 @@ class Factory:
         return None
 
     def _report_requires_python_error(
-        self, causes: Sequence["ConflictCause"]
+        self, causes: Sequence[ConflictCause]
     ) -> UnsupportedPythonVersion:
         assert causes, "Requires-Python error reported with no cause"
 
@@ -658,7 +660,7 @@ class Factory:
         return UnsupportedPythonVersion(message)
 
     def _report_single_requirement_conflict(
-        self, req: Requirement, parent: Optional[Candidate]
+        self, req: Requirement, parent: Candidate | None
     ) -> DistributionNotFound:
         if parent is None:
             req_disp = str(req)
@@ -668,8 +670,8 @@ class Factory:
         cands = self._finder.find_all_candidates(req.project_name)
         skipped_by_requires_python = self._finder.requires_python_skipped_reasons()
 
-        versions_set: Set[CandidateVersion] = set()
-        yanked_versions_set: Set[CandidateVersion] = set()
+        versions_set: set[Version] = set()
+        yanked_versions_set: set[Version] = set()
         for c in cands:
             is_yanked = c.link.is_yanked if c.link else False
             if is_yanked:
@@ -711,8 +713,8 @@ class Factory:
 
     def get_installation_error(
         self,
-        e: "ResolutionImpossible[Requirement, Candidate]",
-        constraints: Dict[str, Constraint],
+        e: ResolutionImpossible[Requirement, Candidate],
+        constraints: dict[str, Constraint],
     ) -> InstallationError:
         assert e.causes, "Installation error reported with no cause"
 
@@ -737,7 +739,7 @@ class Factory:
         # The simplest case is when we have *one* cause that can't be
         # satisfied. We just report that case.
         if len(e.causes) == 1:
-            req, parent = e.causes[0]
+            req, parent = next(iter(e.causes))
             if req.name not in constraints:
                 return self._report_single_requirement_conflict(req, parent)
 
@@ -745,7 +747,7 @@ class Factory:
         # satisfied at once.
 
         # A couple of formatting helpers
-        def text_join(parts: List[str]) -> str:
+        def text_join(parts: list[str]) -> str:
             if len(parts) == 1:
                 return parts[0]
 
@@ -799,7 +801,7 @@ class Factory:
             + "\n\n"
             + "To fix this you could try to:\n"
             + "1. loosen the range of package versions you've specified\n"
-            + "2. remove package versions to allow pip attempt to solve "
+            + "2. remove package versions to allow pip to attempt to solve "
             + "the dependency conflict\n"
         )
 
diff --git a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py
index 8663097..f60653d 100644
--- a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py
+++ b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py
@@ -8,30 +8,21 @@ absolutely need, and not "download the world" when we only need one version of
 something.
 """
 
-import functools
-from collections.abc import Sequence
-from typing import TYPE_CHECKING, Any, Callable, Iterator, Optional, Set, Tuple
+from __future__ import annotations
+
+import logging
+from collections.abc import Iterator, Sequence
+from typing import Any, Callable, Optional
 
 from pip._vendor.packaging.version import _BaseVersion
 
+from pip._internal.exceptions import MetadataInvalid
+
 from .base import Candidate
 
-IndexCandidateInfo = Tuple[_BaseVersion, Callable[[], Optional[Candidate]]]
+logger = logging.getLogger(__name__)
 
-if TYPE_CHECKING:
-    SequenceCandidate = Sequence[Candidate]
-else:
-    # For compatibility: Python before 3.9 does not support using [] on the
-    # Sequence class.
-    #
-    # >>> from collections.abc import Sequence
-    # >>> Sequence[str]
-    # Traceback (most recent call last):
-    #   File "", line 1, in 
-    # TypeError: 'ABCMeta' object is not subscriptable
-    #
-    # TODO: Remove this block after dropping Python 3.8 support.
-    SequenceCandidate = Sequence
+IndexCandidateInfo = tuple[_BaseVersion, Callable[[], Optional[Candidate]]]
 
 
 def _iter_built(infos: Iterator[IndexCandidateInfo]) -> Iterator[Candidate]:
@@ -40,15 +31,29 @@ def _iter_built(infos: Iterator[IndexCandidateInfo]) -> Iterator[Candidate]:
     This iterator is used when the package is not already installed. Candidates
     from index come later in their normal ordering.
     """
-    versions_found: Set[_BaseVersion] = set()
+    versions_found: set[_BaseVersion] = set()
     for version, func in infos:
         if version in versions_found:
             continue
-        candidate = func()
-        if candidate is None:
-            continue
-        yield candidate
-        versions_found.add(version)
+        try:
+            candidate = func()
+        except MetadataInvalid as e:
+            logger.warning(
+                "Ignoring version %s of %s since it has invalid metadata:\n"
+                "%s\n"
+                "Please use pip<24.1 if you need to use this version.",
+                version,
+                e.ireq.name,
+                e,
+            )
+            # Mark version as found to avoid trying other candidates with the same
+            # version, since they most likely have invalid metadata as well.
+            versions_found.add(version)
+        else:
+            if candidate is None:
+                continue
+            yield candidate
+            versions_found.add(version)
 
 
 def _iter_built_with_prepended(
@@ -62,7 +67,7 @@ def _iter_built_with_prepended(
     normal ordering, except skipped when the version is already installed.
     """
     yield installed
-    versions_found: Set[_BaseVersion] = {installed.version}
+    versions_found: set[_BaseVersion] = {installed.version}
     for version, func in infos:
         if version in versions_found:
             continue
@@ -86,7 +91,7 @@ def _iter_built_with_inserted(
     the installed candidate exactly once before we start yielding older or
     equivalent candidates, or after all other candidates if they are all newer.
     """
-    versions_found: Set[_BaseVersion] = set()
+    versions_found: set[_BaseVersion] = set()
     for version, func in infos:
         if version in versions_found:
             continue
@@ -105,7 +110,7 @@ def _iter_built_with_inserted(
         yield installed
 
 
-class FoundCandidates(SequenceCandidate):
+class FoundCandidates(Sequence[Candidate]):
     """A lazy sequence to provide candidates to the resolver.
 
     The intended usage is to return this from `find_matches()` so the resolver
@@ -117,14 +122,15 @@ class FoundCandidates(SequenceCandidate):
     def __init__(
         self,
         get_infos: Callable[[], Iterator[IndexCandidateInfo]],
-        installed: Optional[Candidate],
+        installed: Candidate | None,
         prefers_installed: bool,
-        incompatible_ids: Set[int],
+        incompatible_ids: set[int],
     ):
         self._get_infos = get_infos
         self._installed = installed
         self._prefers_installed = prefers_installed
         self._incompatible_ids = incompatible_ids
+        self._bool: bool | None = None
 
     def __getitem__(self, index: Any) -> Any:
         # Implemented to satisfy the ABC check. This is not needed by the
@@ -148,8 +154,13 @@ class FoundCandidates(SequenceCandidate):
         # performance reasons).
         raise NotImplementedError("don't do this")
 
-    @functools.lru_cache(maxsize=1)
     def __bool__(self) -> bool:
+        if self._bool is not None:
+            return self._bool
+
         if self._prefers_installed and self._installed:
+            self._bool = True
             return True
-        return any(self)
+
+        self._bool = any(self)
+        return self._bool
diff --git a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/provider.py b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/provider.py
index 315fb9c..40d6115 100644
--- a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/provider.py
+++ b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/provider.py
@@ -1,21 +1,21 @@
-import collections
+from __future__ import annotations
+
 import math
+from collections.abc import Iterable, Iterator, Mapping, Sequence
+from functools import cache
 from typing import (
     TYPE_CHECKING,
-    Dict,
-    Iterable,
-    Iterator,
-    Mapping,
-    Sequence,
     TypeVar,
-    Union,
 )
 
 from pip._vendor.resolvelib.providers import AbstractProvider
 
+from pip._internal.req.req_install import InstallRequirement
+
 from .base import Candidate, Constraint, Requirement
 from .candidates import REQUIRES_PYTHON_IDENTIFIER
 from .factory import Factory
+from .requirements import ExplicitRequirement
 
 if TYPE_CHECKING:
     from pip._vendor.resolvelib.providers import Preference
@@ -54,7 +54,7 @@ def _get_with_identifier(
     mapping: Mapping[str, V],
     identifier: str,
     default: D,
-) -> Union[D, V]:
+) -> D | V:
     """Get item from a package name lookup mapping with a resolver identifier.
 
     This extra logic is needed when the target mapping is keyed by package
@@ -89,29 +89,71 @@ class PipProvider(_ProviderBase):
     def __init__(
         self,
         factory: Factory,
-        constraints: Dict[str, Constraint],
+        constraints: dict[str, Constraint],
         ignore_dependencies: bool,
         upgrade_strategy: str,
-        user_requested: Dict[str, int],
+        user_requested: dict[str, int],
     ) -> None:
         self._factory = factory
         self._constraints = constraints
         self._ignore_dependencies = ignore_dependencies
         self._upgrade_strategy = upgrade_strategy
         self._user_requested = user_requested
-        self._known_depths: Dict[str, float] = collections.defaultdict(lambda: math.inf)
 
-    def identify(self, requirement_or_candidate: Union[Requirement, Candidate]) -> str:
+    def identify(self, requirement_or_candidate: Requirement | Candidate) -> str:
         return requirement_or_candidate.name
 
+    def narrow_requirement_selection(
+        self,
+        identifiers: Iterable[str],
+        resolutions: Mapping[str, Candidate],
+        candidates: Mapping[str, Iterator[Candidate]],
+        information: Mapping[str, Iterator[PreferenceInformation]],
+        backtrack_causes: Sequence[PreferenceInformation],
+    ) -> Iterable[str]:
+        """Produce a subset of identifiers that should be considered before others.
+
+        Currently pip narrows the following selection:
+            * Requires-Python, if present is always returned by itself
+            * Backtrack causes are considered next because they can be identified
+              in linear time here, whereas because get_preference() is called
+              for each identifier, it would be quadratic to check for them there.
+              Further, the current backtrack causes likely need to be resolved
+              before other requirements as a resolution can't be found while
+              there is a conflict.
+        """
+        backtrack_identifiers = set()
+        for info in backtrack_causes:
+            backtrack_identifiers.add(info.requirement.name)
+            if info.parent is not None:
+                backtrack_identifiers.add(info.parent.name)
+
+        current_backtrack_causes = []
+        for identifier in identifiers:
+            # Requires-Python has only one candidate and the check is basically
+            # free, so we always do it first to avoid needless work if it fails.
+            # This skips calling get_preference() for all other identifiers.
+            if identifier == REQUIRES_PYTHON_IDENTIFIER:
+                return [identifier]
+
+            # Check if this identifier is a backtrack cause
+            if identifier in backtrack_identifiers:
+                current_backtrack_causes.append(identifier)
+                continue
+
+        if current_backtrack_causes:
+            return current_backtrack_causes
+
+        return identifiers
+
     def get_preference(
         self,
         identifier: str,
         resolutions: Mapping[str, Candidate],
         candidates: Mapping[str, Iterator[Candidate]],
-        information: Mapping[str, Iterable["PreferenceInformation"]],
-        backtrack_causes: Sequence["PreferenceInformation"],
-    ) -> "Preference":
+        information: Mapping[str, Iterable[PreferenceInformation]],
+        backtrack_causes: Sequence[PreferenceInformation],
+    ) -> Preference:
         """Produce a sort key for given requirement based on preference.
 
         The lower the return value is, the more preferred this group of
@@ -119,18 +161,20 @@ class PipProvider(_ProviderBase):
 
         Currently pip considers the following in order:
 
-        * Prefer if any of the known requirements is "direct", e.g. points to an
-          explicit URL.
-        * If equal, prefer if any requirement is "pinned", i.e. contains
-          operator ``===`` or ``==``.
-        * If equal, calculate an approximate "depth" and resolve requirements
-          closer to the user-specified requirements first. If the depth cannot
-          by determined (eg: due to no matching parents), it is considered
-          infinite.
-        * Order user-specified requirements by the order they are specified.
-        * If equal, prefers "non-free" requirements, i.e. contains at least one
-          operator, such as ``>=`` or ``<``.
-        * If equal, order alphabetically for consistency (helps debuggability).
+        * Any requirement that is "direct", e.g., points to an explicit URL.
+        * Any requirement that is "pinned", i.e., contains the operator ``===``
+          or ``==`` without a wildcard.
+        * Any requirement that imposes an upper version limit, i.e., contains the
+          operator ``<``, ``<=``, ``~=``, or ``==`` with a wildcard. Because
+          pip prioritizes the latest version, preferring explicit upper bounds
+          can rule out infeasible candidates sooner. This does not imply that
+          upper bounds are good practice; they can make dependency management
+          and resolution harder.
+        * Order user-specified requirements as they are specified, placing
+          other requirements afterward.
+        * Any "non-free" requirement, i.e., one that contains at least one
+          operator, such as ``>=`` or ``!=``.
+        * Alphabetical order for consistency (aids debuggability).
         """
         try:
             next(iter(information[identifier]))
@@ -141,55 +185,39 @@ class PipProvider(_ProviderBase):
         else:
             has_information = True
 
-        if has_information:
-            lookups = (r.get_candidate_lookup() for r, _ in information[identifier])
-            candidate, ireqs = zip(*lookups)
+        if not has_information:
+            direct = False
+            ireqs: tuple[InstallRequirement | None, ...] = ()
         else:
-            candidate, ireqs = None, ()
+            # Go through the information and for each requirement,
+            # check if it's explicit (e.g., a direct link) and get the
+            # InstallRequirement (the second element) from get_candidate_lookup()
+            directs, ireqs = zip(
+                *(
+                    (isinstance(r, ExplicitRequirement), r.get_candidate_lookup()[1])
+                    for r, _ in information[identifier]
+                )
+            )
+            direct = any(directs)
 
-        operators = [
-            specifier.operator
+        operators: list[tuple[str, str]] = [
+            (specifier.operator, specifier.version)
             for specifier_set in (ireq.specifier for ireq in ireqs if ireq)
             for specifier in specifier_set
         ]
 
-        direct = candidate is not None
-        pinned = any(op[:2] == "==" for op in operators)
+        pinned = any(((op[:2] == "==") and ("*" not in ver)) for op, ver in operators)
+        upper_bounded = any(
+            ((op in ("<", "<=", "~=")) or (op == "==" and "*" in ver))
+            for op, ver in operators
+        )
         unfree = bool(operators)
-
-        try:
-            requested_order: Union[int, float] = self._user_requested[identifier]
-        except KeyError:
-            requested_order = math.inf
-            if has_information:
-                parent_depths = (
-                    self._known_depths[parent.name] if parent is not None else 0.0
-                    for _, parent in information[identifier]
-                )
-                inferred_depth = min(d for d in parent_depths) + 1.0
-            else:
-                inferred_depth = math.inf
-        else:
-            inferred_depth = 1.0
-        self._known_depths[identifier] = inferred_depth
-
         requested_order = self._user_requested.get(identifier, math.inf)
 
-        # Requires-Python has only one candidate and the check is basically
-        # free, so we always do it first to avoid needless work if it fails.
-        requires_python = identifier == REQUIRES_PYTHON_IDENTIFIER
-
-        # Prefer the causes of backtracking on the assumption that the problem
-        # resolving the dependency tree is related to the failures that caused
-        # the backtracking
-        backtrack_cause = self.is_backtrack_cause(identifier, backtrack_causes)
-
         return (
-            not requires_python,
             not direct,
             not pinned,
-            not backtrack_cause,
-            inferred_depth,
+            not upper_bounded,
             requested_order,
             not unfree,
             identifier,
@@ -234,22 +262,15 @@ class PipProvider(_ProviderBase):
             constraint=constraint,
             prefers_installed=(not _eligible_for_upgrade(identifier)),
             incompatibilities=incompatibilities,
+            is_satisfied_by=self.is_satisfied_by,
         )
 
-    def is_satisfied_by(self, requirement: Requirement, candidate: Candidate) -> bool:
+    @staticmethod
+    @cache
+    def is_satisfied_by(requirement: Requirement, candidate: Candidate) -> bool:
         return requirement.is_satisfied_by(candidate)
 
-    def get_dependencies(self, candidate: Candidate) -> Sequence[Requirement]:
+    def get_dependencies(self, candidate: Candidate) -> Iterable[Requirement]:
         with_requires = not self._ignore_dependencies
-        return [r for r in candidate.iter_dependencies(with_requires) if r is not None]
-
-    @staticmethod
-    def is_backtrack_cause(
-        identifier: str, backtrack_causes: Sequence["PreferenceInformation"]
-    ) -> bool:
-        for backtrack_cause in backtrack_causes:
-            if identifier == backtrack_cause.requirement.name:
-                return True
-            if backtrack_cause.parent and identifier == backtrack_cause.parent.name:
-                return True
-        return False
+        # iter_dependencies() can perform nontrivial work so delay until needed.
+        return (r for r in candidate.iter_dependencies(with_requires) if r is not None)
diff --git a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/reporter.py b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/reporter.py
index 12adeff..e694132 100644
--- a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/reporter.py
+++ b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/reporter.py
@@ -1,6 +1,8 @@
+from __future__ import annotations
+
 from collections import defaultdict
 from logging import getLogger
-from typing import Any, DefaultDict
+from typing import Any
 
 from pip._vendor.resolvelib.reporters import BaseReporter
 
@@ -9,9 +11,9 @@ from .base import Candidate, Requirement
 logger = getLogger(__name__)
 
 
-class PipReporter(BaseReporter):
+class PipReporter(BaseReporter[Requirement, Candidate, str]):
     def __init__(self) -> None:
-        self.reject_count_by_package: DefaultDict[str, int] = defaultdict(int)
+        self.reject_count_by_package: defaultdict[str, int] = defaultdict(int)
 
         self._messages_at_reject_count = {
             1: (
@@ -55,7 +57,7 @@ class PipReporter(BaseReporter):
         logger.debug(msg)
 
 
-class PipDebuggingReporter(BaseReporter):
+class PipDebuggingReporter(BaseReporter[Requirement, Candidate, str]):
     """A reporter that does an info log for every event it sees."""
 
     def starting(self) -> None:
@@ -66,11 +68,14 @@ class PipDebuggingReporter(BaseReporter):
 
     def ending_round(self, index: int, state: Any) -> None:
         logger.info("Reporter.ending_round(%r, state)", index)
+        logger.debug("Reporter.ending_round(%r, %r)", index, state)
 
     def ending(self, state: Any) -> None:
         logger.info("Reporter.ending(%r)", state)
 
-    def adding_requirement(self, requirement: Requirement, parent: Candidate) -> None:
+    def adding_requirement(
+        self, requirement: Requirement, parent: Candidate | None
+    ) -> None:
         logger.info("Reporter.adding_requirement(%r, %r)", requirement, parent)
 
     def rejecting_candidate(self, criterion: Any, candidate: Candidate) -> None:
diff --git a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/requirements.py b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/requirements.py
index 4af4a9f..447e36b 100644
--- a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/requirements.py
+++ b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/requirements.py
@@ -1,3 +1,7 @@
+from __future__ import annotations
+
+from typing import Any
+
 from pip._vendor.packaging.specifiers import SpecifierSet
 from pip._vendor.packaging.utils import NormalizedName, canonicalize_name
 
@@ -17,6 +21,14 @@ class ExplicitRequirement(Requirement):
     def __repr__(self) -> str:
         return f"{self.__class__.__name__}({self.candidate!r})"
 
+    def __hash__(self) -> int:
+        return hash(self.candidate)
+
+    def __eq__(self, other: Any) -> bool:
+        if not isinstance(other, ExplicitRequirement):
+            return False
+        return self.candidate == other.candidate
+
     @property
     def project_name(self) -> NormalizedName:
         # No need to canonicalize - the candidate did this
@@ -41,14 +53,36 @@ class SpecifierRequirement(Requirement):
     def __init__(self, ireq: InstallRequirement) -> None:
         assert ireq.link is None, "This is a link, not a specifier"
         self._ireq = ireq
+        self._equal_cache: str | None = None
+        self._hash: int | None = None
         self._extras = frozenset(canonicalize_name(e) for e in self._ireq.extras)
 
+    @property
+    def _equal(self) -> str:
+        if self._equal_cache is not None:
+            return self._equal_cache
+
+        self._equal_cache = str(self._ireq)
+        return self._equal_cache
+
     def __str__(self) -> str:
         return str(self._ireq.req)
 
     def __repr__(self) -> str:
         return f"{self.__class__.__name__}({str(self._ireq.req)!r})"
 
+    def __eq__(self, other: object) -> bool:
+        if not isinstance(other, SpecifierRequirement):
+            return NotImplemented
+        return self._equal == other._equal
+
+    def __hash__(self) -> int:
+        if self._hash is not None:
+            return self._hash
+
+        self._hash = hash(self._equal)
+        return self._hash
+
     @property
     def project_name(self) -> NormalizedName:
         assert self._ireq.req, "Specifier-backed ireq is always PEP 508"
@@ -96,14 +130,38 @@ class SpecifierWithoutExtrasRequirement(SpecifierRequirement):
     def __init__(self, ireq: InstallRequirement) -> None:
         assert ireq.link is None, "This is a link, not a specifier"
         self._ireq = install_req_drop_extras(ireq)
+        self._equal_cache: str | None = None
+        self._hash: int | None = None
         self._extras = frozenset(canonicalize_name(e) for e in self._ireq.extras)
 
+    @property
+    def _equal(self) -> str:
+        if self._equal_cache is not None:
+            return self._equal_cache
+
+        self._equal_cache = str(self._ireq)
+        return self._equal_cache
+
+    def __eq__(self, other: object) -> bool:
+        if not isinstance(other, SpecifierWithoutExtrasRequirement):
+            return NotImplemented
+        return self._equal == other._equal
+
+    def __hash__(self) -> int:
+        if self._hash is not None:
+            return self._hash
+
+        self._hash = hash(self._equal)
+        return self._hash
+
 
 class RequiresPythonRequirement(Requirement):
     """A requirement representing Requires-Python metadata."""
 
     def __init__(self, specifier: SpecifierSet, match: Candidate) -> None:
         self.specifier = specifier
+        self._specifier_string = str(specifier)  # for faster __eq__
+        self._hash: int | None = None
         self._candidate = match
 
     def __str__(self) -> str:
@@ -112,6 +170,21 @@ class RequiresPythonRequirement(Requirement):
     def __repr__(self) -> str:
         return f"{self.__class__.__name__}({str(self.specifier)!r})"
 
+    def __hash__(self) -> int:
+        if self._hash is not None:
+            return self._hash
+
+        self._hash = hash((self._specifier_string, self._candidate))
+        return self._hash
+
+    def __eq__(self, other: Any) -> bool:
+        if not isinstance(other, RequiresPythonRequirement):
+            return False
+        return (
+            self._specifier_string == other._specifier_string
+            and self._candidate == other._candidate
+        )
+
     @property
     def project_name(self) -> NormalizedName:
         return self._candidate.project_name
@@ -148,6 +221,14 @@ class UnsatisfiableRequirement(Requirement):
     def __repr__(self) -> str:
         return f"{self.__class__.__name__}({str(self._name)!r})"
 
+    def __eq__(self, other: object) -> bool:
+        if not isinstance(other, UnsatisfiableRequirement):
+            return NotImplemented
+        return self._name == other._name
+
+    def __hash__(self) -> int:
+        return hash(self._name)
+
     @property
     def project_name(self) -> NormalizedName:
         return self._name
diff --git a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/resolver.py b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/resolver.py
index c12beef..1ba70c2 100644
--- a/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/resolver.py
+++ b/.venv/Lib/site-packages/pip/_internal/resolution/resolvelib/resolver.py
@@ -1,15 +1,18 @@
+from __future__ import annotations
+
 import contextlib
 import functools
 import logging
 import os
-from typing import TYPE_CHECKING, Dict, List, Optional, Set, Tuple, cast
+from typing import TYPE_CHECKING, cast
 
 from pip._vendor.packaging.utils import canonicalize_name
-from pip._vendor.resolvelib import BaseReporter, ResolutionImpossible
+from pip._vendor.resolvelib import BaseReporter, ResolutionImpossible, ResolutionTooDeep
 from pip._vendor.resolvelib import Resolver as RLResolver
 from pip._vendor.resolvelib.structs import DirectedGraph
 
 from pip._internal.cache import WheelCache
+from pip._internal.exceptions import ResolutionTooDeepError
 from pip._internal.index.package_finder import PackageFinder
 from pip._internal.operations.prepare import RequirementPreparer
 from pip._internal.req.constructors import install_req_extend_extras
@@ -42,7 +45,7 @@ class Resolver(BaseResolver):
         self,
         preparer: RequirementPreparer,
         finder: PackageFinder,
-        wheel_cache: Optional[WheelCache],
+        wheel_cache: WheelCache | None,
         make_install_req: InstallRequirementProvider,
         use_user_site: bool,
         ignore_dependencies: bool,
@@ -50,7 +53,7 @@ class Resolver(BaseResolver):
         ignore_requires_python: bool,
         force_reinstall: bool,
         upgrade_strategy: str,
-        py_version_info: Optional[Tuple[int, ...]] = None,
+        py_version_info: tuple[int, ...] | None = None,
     ):
         super().__init__()
         assert upgrade_strategy in self._allowed_strategies
@@ -68,10 +71,10 @@ class Resolver(BaseResolver):
         )
         self.ignore_dependencies = ignore_dependencies
         self.upgrade_strategy = upgrade_strategy
-        self._result: Optional[Result] = None
+        self._result: Result | None = None
 
     def resolve(
-        self, root_reqs: List[InstallRequirement], check_supported_wheels: bool
+        self, root_reqs: list[InstallRequirement], check_supported_wheels: bool
     ) -> RequirementSet:
         collected = self.factory.collect_root_requirements(root_reqs)
         provider = PipProvider(
@@ -82,7 +85,7 @@ class Resolver(BaseResolver):
             user_requested=collected.user_requested,
         )
         if "PIP_RESOLVER_DEBUG" in os.environ:
-            reporter: BaseReporter = PipDebuggingReporter()
+            reporter: BaseReporter[Requirement, Candidate, str] = PipDebuggingReporter()
         else:
             reporter = PipReporter()
         resolver: RLResolver[Requirement, Candidate, str] = RLResolver(
@@ -102,6 +105,8 @@ class Resolver(BaseResolver):
                 collected.constraints,
             )
             raise error from e
+        except ResolutionTooDeep:
+            raise ResolutionTooDeepError from None
 
         req_set = RequirementSet(check_supported_wheels=check_supported_wheels)
         # process candidates with extras last to ensure their base equivalent is
@@ -184,7 +189,7 @@ class Resolver(BaseResolver):
 
     def get_installation_order(
         self, req_set: RequirementSet
-    ) -> List[InstallRequirement]:
+    ) -> list[InstallRequirement]:
         """Get order for installation of requirements in RequirementSet.
 
         The returned list contains a requirement before another that depends on
@@ -215,8 +220,8 @@ class Resolver(BaseResolver):
 
 
 def get_topological_weights(
-    graph: "DirectedGraph[Optional[str]]", requirement_keys: Set[str]
-) -> Dict[Optional[str], int]:
+    graph: DirectedGraph[str | None], requirement_keys: set[str]
+) -> dict[str | None, int]:
     """Assign weights to each node based on how "deep" they are.
 
     This implementation may change at any point in the future without prior
@@ -242,14 +247,25 @@ def get_topological_weights(
     We are only interested in the weights of packages that are in the
     requirement_keys.
     """
-    path: Set[Optional[str]] = set()
-    weights: Dict[Optional[str], int] = {}
+    path: set[str | None] = set()
+    weights: dict[str | None, list[int]] = {}
 
-    def visit(node: Optional[str]) -> None:
+    def visit(node: str | None) -> None:
         if node in path:
             # We hit a cycle, so we'll break it here.
             return
 
+        # The walk is exponential and for pathologically connected graphs (which
+        # are the ones most likely to contain cycles in the first place) it can
+        # take until the heat-death of the universe. To counter this we limit
+        # the number of attempts to visit (i.e. traverse through) any given
+        # node. We choose a value here which gives decent enough coverage for
+        # fairly well behaved graphs, and still limits the walk complexity to be
+        # linear in nature.
+        cur_weights = weights.get(node, [])
+        if len(cur_weights) >= 5:
+            return
+
         # Time to visit the children!
         path.add(node)
         for child in graph.iter_children(node):
@@ -259,14 +275,14 @@ def get_topological_weights(
         if node not in requirement_keys:
             return
 
-        last_known_parent_count = weights.get(node, 0)
-        weights[node] = max(last_known_parent_count, len(path))
+        cur_weights.append(len(path))
+        weights[node] = cur_weights
 
-    # Simplify the graph, pruning leaves that have no dependencies.
-    # This is needed for large graphs (say over 200 packages) because the
-    # `visit` function is exponentially slower then, taking minutes.
+    # Simplify the graph, pruning leaves that have no dependencies. This is
+    # needed for large graphs (say over 200 packages) because the `visit`
+    # function is slower for large/densely connected graphs, taking minutes.
     # See https://github.com/pypa/pip/issues/10557
-    # We will loop until we explicitly break the loop.
+    # We repeat the pruning step until we have no more leaves to remove.
     while True:
         leaves = set()
         for key in graph:
@@ -286,12 +302,13 @@ def get_topological_weights(
         for leaf in leaves:
             if leaf not in requirement_keys:
                 continue
-            weights[leaf] = weight
+            weights[leaf] = [weight]
         # Remove the leaves from the graph, making it simpler.
         for leaf in leaves:
             graph.remove(leaf)
 
-    # Visit the remaining graph.
+    # Visit the remaining graph, this will only have nodes to handle if the
+    # graph had a cycle in it, which the pruning step above could not handle.
     # `None` is guaranteed to be the root node by resolvelib.
     visit(None)
 
@@ -300,13 +317,15 @@ def get_topological_weights(
     difference = set(weights.keys()).difference(requirement_keys)
     assert not difference, difference
 
-    return weights
+    # Now give back all the weights, choosing the largest ones from what we
+    # accumulated.
+    return {node: max(wgts) for (node, wgts) in weights.items()}
 
 
 def _req_set_item_sorter(
-    item: Tuple[str, InstallRequirement],
-    weights: Dict[Optional[str], int],
-) -> Tuple[int, str]:
+    item: tuple[str, InstallRequirement],
+    weights: dict[str | None, int],
+) -> tuple[int, str]:
     """Key function used to sort install requirements for installation.
 
     Based on the "weight" mapping calculated in ``get_installation_order()``.
diff --git a/.venv/Lib/site-packages/pip/_internal/self_outdated_check.py b/.venv/Lib/site-packages/pip/_internal/self_outdated_check.py
index 0f64ae0..ca507f1 100644
--- a/.venv/Lib/site-packages/pip/_internal/self_outdated_check.py
+++ b/.venv/Lib/site-packages/pip/_internal/self_outdated_check.py
@@ -1,3 +1,5 @@
+from __future__ import annotations
+
 import datetime
 import functools
 import hashlib
@@ -7,8 +9,9 @@ import optparse
 import os.path
 import sys
 from dataclasses import dataclass
-from typing import Any, Callable, Dict, Optional
+from typing import Any, Callable
 
+from pip._vendor.packaging.version import Version
 from pip._vendor.packaging.version import parse as parse_version
 from pip._vendor.rich.console import Group
 from pip._vendor.rich.markup import escape
@@ -17,7 +20,6 @@ from pip._vendor.rich.text import Text
 from pip._internal.index.collector import LinkCollector
 from pip._internal.index.package_finder import PackageFinder
 from pip._internal.metadata import get_default_environment
-from pip._internal.metadata.base import DistributionVersion
 from pip._internal.models.selection_prefs import SelectionPreferences
 from pip._internal.network.session import PipSession
 from pip._internal.utils.compat import WINDOWS
@@ -26,7 +28,11 @@ from pip._internal.utils.entrypoints import (
     get_best_invocation_for_this_python,
 )
 from pip._internal.utils.filesystem import adjacent_tmp_file, check_path_owner, replace
-from pip._internal.utils.misc import ensure_dir
+from pip._internal.utils.misc import (
+    ExternallyManagedEnvironment,
+    check_externally_managed,
+    ensure_dir,
+)
 
 _WEEK = datetime.timedelta(days=7)
 
@@ -50,7 +56,7 @@ def _convert_date(isodate: str) -> datetime.datetime:
 
 class SelfCheckState:
     def __init__(self, cache_dir: str) -> None:
-        self._state: Dict[str, Any] = {}
+        self._state: dict[str, Any] = {}
         self._statefile_path = None
 
         # Try to load the existing state
@@ -70,7 +76,7 @@ class SelfCheckState:
     def key(self) -> str:
         return sys.prefix
 
-    def get(self, current_time: datetime.datetime) -> Optional[str]:
+    def get(self, current_time: datetime.datetime) -> str | None:
         """Check if we have a not-outdated version loaded already."""
         if not self._state:
             return None
@@ -161,7 +167,7 @@ def was_installed_by_pip(pkg: str) -> bool:
 
 def _get_current_remote_pip_version(
     session: PipSession, options: optparse.Values
-) -> Optional[str]:
+) -> str | None:
     # Lets use PackageFinder to see what the latest pip version is
     link_collector = LinkCollector.create(
         session,
@@ -191,9 +197,9 @@ def _self_version_check_logic(
     *,
     state: SelfCheckState,
     current_time: datetime.datetime,
-    local_version: DistributionVersion,
-    get_remote_version: Callable[[], Optional[str]],
-) -> Optional[UpgradePrompt]:
+    local_version: Version,
+    get_remote_version: Callable[[], str | None],
+) -> UpgradePrompt | None:
     remote_version_str = state.get(current_time)
     if remote_version_str is None:
         remote_version_str = get_remote_version()
@@ -231,18 +237,18 @@ def pip_self_version_check(session: PipSession, options: optparse.Values) -> Non
     installed_dist = get_default_environment().get_distribution("pip")
     if not installed_dist:
         return
-
     try:
-        upgrade_prompt = _self_version_check_logic(
-            state=SelfCheckState(cache_dir=options.cache_dir),
-            current_time=datetime.datetime.now(datetime.timezone.utc),
-            local_version=installed_dist.version,
-            get_remote_version=functools.partial(
-                _get_current_remote_pip_version, session, options
-            ),
-        )
-        if upgrade_prompt is not None:
-            logger.warning("%s", upgrade_prompt, extra={"rich": True})
-    except Exception:
-        logger.warning("There was an error checking the latest version of pip.")
-        logger.debug("See below for error", exc_info=True)
+        check_externally_managed()
+    except ExternallyManagedEnvironment:
+        return
+
+    upgrade_prompt = _self_version_check_logic(
+        state=SelfCheckState(cache_dir=options.cache_dir),
+        current_time=datetime.datetime.now(datetime.timezone.utc),
+        local_version=installed_dist.version,
+        get_remote_version=functools.partial(
+            _get_current_remote_pip_version, session, options
+        ),
+    )
+    if upgrade_prompt is not None:
+        logger.warning("%s", upgrade_prompt, extra={"rich": True})
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/__init__.cpython-311.pyc
index aead950..e9e1c7d 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/_jaraco_text.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/_jaraco_text.cpython-311.pyc
index 2b1f779..fe74f21 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/_jaraco_text.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/_jaraco_text.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/_log.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/_log.cpython-311.pyc
index bbf7239..c76bc31 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/_log.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/_log.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-311.pyc
index af8b762..0fc59df 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/compat.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/compat.cpython-311.pyc
index 64af1be..7399b5b 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/compat.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/compat.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/compatibility_tags.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/compatibility_tags.cpython-311.pyc
index 7d1abc8..fff023c 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/compatibility_tags.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/compatibility_tags.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/datetime.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/datetime.cpython-311.pyc
index 4c28631..c2f574c 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/datetime.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/datetime.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/deprecation.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/deprecation.cpython-311.pyc
index 678a54a..e6ed528 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/deprecation.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/deprecation.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/direct_url_helpers.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/direct_url_helpers.cpython-311.pyc
index c91aee4..57c16be 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/direct_url_helpers.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/direct_url_helpers.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/egg_link.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/egg_link.cpython-311.pyc
index 97afc11..e2efe24 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/egg_link.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/egg_link.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/encoding.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/encoding.cpython-311.pyc
deleted file mode 100644
index 37ca480..0000000
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/encoding.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/entrypoints.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/entrypoints.cpython-311.pyc
index de4a43a..fe0e4d7 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/entrypoints.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/entrypoints.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/filesystem.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/filesystem.cpython-311.pyc
index 63b92ae..053479b 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/filesystem.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/filesystem.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/filetypes.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/filetypes.cpython-311.pyc
index cd68c09..76e79de 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/filetypes.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/filetypes.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/glibc.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/glibc.cpython-311.pyc
index 186d9f4..39f847d 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/glibc.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/glibc.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/hashes.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/hashes.cpython-311.pyc
index 63f862b..418c6bb 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/hashes.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/hashes.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/logging.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/logging.cpython-311.pyc
index 58df8e1..16035d4 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/logging.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/logging.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/misc.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/misc.cpython-311.pyc
index 45900b3..a98b66e 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/misc.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/misc.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/models.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/models.cpython-311.pyc
deleted file mode 100644
index 24b5bfb..0000000
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/models.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/packaging.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/packaging.cpython-311.pyc
index f521a3d..6b20fb7 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/packaging.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/packaging.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/retry.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/retry.cpython-311.pyc
new file mode 100644
index 0000000..4210d05
Binary files /dev/null and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/retry.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/setuptools_build.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/setuptools_build.cpython-311.pyc
index 5ebd3bd..dc70c6e 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/setuptools_build.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/setuptools_build.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/subprocess.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/subprocess.cpython-311.pyc
index 1aca560..d458092 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/subprocess.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/subprocess.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/temp_dir.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/temp_dir.cpython-311.pyc
index ef8fb49..62f458a 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/temp_dir.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/temp_dir.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/unpacking.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/unpacking.cpython-311.pyc
index 891907e..9a3c015 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/unpacking.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/unpacking.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/urls.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/urls.cpython-311.pyc
index 7831260..8651289 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/urls.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/urls.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/virtualenv.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/virtualenv.cpython-311.pyc
index bbea364..bc47277 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/virtualenv.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/virtualenv.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/wheel.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/wheel.cpython-311.pyc
index deeb73e..ec2d97d 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/wheel.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/utils/__pycache__/wheel.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/_jaraco_text.py b/.venv/Lib/site-packages/pip/_internal/utils/_jaraco_text.py
index e06947c..6ccf53b 100644
--- a/.venv/Lib/site-packages/pip/_internal/utils/_jaraco_text.py
+++ b/.venv/Lib/site-packages/pip/_internal/utils/_jaraco_text.py
@@ -88,7 +88,7 @@ def join_continuation(lines):
     ['foobarbaz']
 
     Not sure why, but...
-    The character preceeding the backslash is also elided.
+    The character preceding the backslash is also elided.
 
     >>> list(join_continuation(['goo\\', 'dly']))
     ['godly']
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/appdirs.py b/.venv/Lib/site-packages/pip/_internal/utils/appdirs.py
index 16933bf..4152528 100644
--- a/.venv/Lib/site-packages/pip/_internal/utils/appdirs.py
+++ b/.venv/Lib/site-packages/pip/_internal/utils/appdirs.py
@@ -8,7 +8,6 @@ and eventually drop this after all usages are changed.
 
 import os
 import sys
-from typing import List
 
 from pip._vendor import platformdirs as _appdirs
 
@@ -40,9 +39,10 @@ def user_config_dir(appname: str, roaming: bool = True) -> str:
 
 # for the discussion regarding site_config_dir locations
 # see 
-def site_config_dirs(appname: str) -> List[str]:
+def site_config_dirs(appname: str) -> list[str]:
     if sys.platform == "darwin":
-        return [_appdirs.site_data_dir(appname, appauthor=False, multipath=True)]
+        dirval = _appdirs.site_data_dir(appname, appauthor=False, multipath=True)
+        return dirval.split(os.pathsep)
 
     dirval = _appdirs.site_config_dir(appname, appauthor=False, multipath=True)
     if sys.platform == "win32":
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/compat.py b/.venv/Lib/site-packages/pip/_internal/utils/compat.py
index 3f4d300..324789f 100644
--- a/.venv/Lib/site-packages/pip/_internal/utils/compat.py
+++ b/.venv/Lib/site-packages/pip/_internal/utils/compat.py
@@ -1,11 +1,13 @@
 """Stuff that differs in different Python versions and platform
 distributions."""
 
+import importlib.resources
 import logging
 import os
 import sys
+from typing import IO
 
-__all__ = ["get_path_uid", "stdlib_pkgs", "WINDOWS"]
+__all__ = ["get_path_uid", "stdlib_pkgs", "tomllib", "WINDOWS"]
 
 
 logger = logging.getLogger(__name__)
@@ -51,6 +53,26 @@ def get_path_uid(path: str) -> int:
     return file_uid
 
 
+# The importlib.resources.open_text function was deprecated in 3.11 with suggested
+# replacement we use below.
+if sys.version_info < (3, 11):
+    open_text_resource = importlib.resources.open_text
+else:
+
+    def open_text_resource(
+        package: str, resource: str, encoding: str = "utf-8", errors: str = "strict"
+    ) -> IO[str]:
+        return (importlib.resources.files(package) / resource).open(
+            "r", encoding=encoding, errors=errors
+        )
+
+
+if sys.version_info >= (3, 11):
+    import tomllib
+else:
+    from pip._vendor import tomli as tomllib
+
+
 # packages in the stdlib that may have installation metadata, but should not be
 # considered 'installed'.  this theoretically could be determined based on
 # dist.location (py27:`sysconfig.get_paths()['stdlib']`,
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/compatibility_tags.py b/.venv/Lib/site-packages/pip/_internal/utils/compatibility_tags.py
index b6ed9a7..6d98171 100644
--- a/.venv/Lib/site-packages/pip/_internal/utils/compatibility_tags.py
+++ b/.venv/Lib/site-packages/pip/_internal/utils/compatibility_tags.py
@@ -1,30 +1,32 @@
-"""Generate and work with PEP 425 Compatibility Tags.
-"""
+"""Generate and work with PEP 425 Compatibility Tags."""
+
+from __future__ import annotations
 
 import re
-from typing import List, Optional, Tuple
 
 from pip._vendor.packaging.tags import (
     PythonVersion,
     Tag,
+    android_platforms,
     compatible_tags,
     cpython_tags,
     generic_tags,
     interpreter_name,
     interpreter_version,
+    ios_platforms,
     mac_platforms,
 )
 
-_osx_arch_pat = re.compile(r"(.+)_(\d+)_(\d+)_(.+)")
+_apple_arch_pat = re.compile(r"(.+)_(\d+)_(\d+)_(.+)")
 
 
-def version_info_to_nodot(version_info: Tuple[int, ...]) -> str:
+def version_info_to_nodot(version_info: tuple[int, ...]) -> str:
     # Only use up to the first two numbers.
     return "".join(map(str, version_info[:2]))
 
 
-def _mac_platforms(arch: str) -> List[str]:
-    match = _osx_arch_pat.match(arch)
+def _mac_platforms(arch: str) -> list[str]:
+    match = _apple_arch_pat.match(arch)
     if match:
         name, major, minor, actual_arch = match.groups()
         mac_version = (int(major), int(minor))
@@ -43,7 +45,37 @@ def _mac_platforms(arch: str) -> List[str]:
     return arches
 
 
-def _custom_manylinux_platforms(arch: str) -> List[str]:
+def _ios_platforms(arch: str) -> list[str]:
+    match = _apple_arch_pat.match(arch)
+    if match:
+        name, major, minor, actual_multiarch = match.groups()
+        ios_version = (int(major), int(minor))
+        arches = [
+            # Since we have always only checked that the platform starts
+            # with "ios", for backwards-compatibility we extract the
+            # actual prefix provided by the user in case they provided
+            # something like "ioscustom_". It may be good to remove
+            # this as undocumented or deprecate it in the future.
+            "{}_{}".format(name, arch[len("ios_") :])
+            for arch in ios_platforms(ios_version, actual_multiarch)
+        ]
+    else:
+        # arch pattern didn't match (?!)
+        arches = [arch]
+    return arches
+
+
+def _android_platforms(arch: str) -> list[str]:
+    match = re.fullmatch(r"android_(\d+)_(.+)", arch)
+    if match:
+        api_level, abi = match.groups()
+        return list(android_platforms(int(api_level), abi))
+    else:
+        # arch pattern didn't match (?!)
+        return [arch]
+
+
+def _custom_manylinux_platforms(arch: str) -> list[str]:
     arches = [arch]
     arch_prefix, arch_sep, arch_suffix = arch.partition("_")
     if arch_prefix == "manylinux2014":
@@ -64,10 +96,14 @@ def _custom_manylinux_platforms(arch: str) -> List[str]:
     return arches
 
 
-def _get_custom_platforms(arch: str) -> List[str]:
+def _get_custom_platforms(arch: str) -> list[str]:
     arch_prefix, arch_sep, arch_suffix = arch.partition("_")
     if arch.startswith("macosx"):
         arches = _mac_platforms(arch)
+    elif arch.startswith("ios"):
+        arches = _ios_platforms(arch)
+    elif arch_prefix == "android":
+        arches = _android_platforms(arch)
     elif arch_prefix in ["manylinux2014", "manylinux2010"]:
         arches = _custom_manylinux_platforms(arch)
     else:
@@ -75,7 +111,7 @@ def _get_custom_platforms(arch: str) -> List[str]:
     return arches
 
 
-def _expand_allowed_platforms(platforms: Optional[List[str]]) -> Optional[List[str]]:
+def _expand_allowed_platforms(platforms: list[str] | None) -> list[str] | None:
     if not platforms:
         return None
 
@@ -100,7 +136,7 @@ def _get_python_version(version: str) -> PythonVersion:
 
 
 def _get_custom_interpreter(
-    implementation: Optional[str] = None, version: Optional[str] = None
+    implementation: str | None = None, version: str | None = None
 ) -> str:
     if implementation is None:
         implementation = interpreter_name()
@@ -110,11 +146,11 @@ def _get_custom_interpreter(
 
 
 def get_supported(
-    version: Optional[str] = None,
-    platforms: Optional[List[str]] = None,
-    impl: Optional[str] = None,
-    abis: Optional[List[str]] = None,
-) -> List[Tag]:
+    version: str | None = None,
+    platforms: list[str] | None = None,
+    impl: str | None = None,
+    abis: list[str] | None = None,
+) -> list[Tag]:
     """Return a list of supported tags for each version specified in
     `versions`.
 
@@ -127,9 +163,9 @@ def get_supported(
     :param abis: specify a list of abis you want valid
         tags for, or None. If None, use the local interpreter abi.
     """
-    supported: List[Tag] = []
+    supported: list[Tag] = []
 
-    python_version: Optional[PythonVersion] = None
+    python_version: PythonVersion | None = None
     if version is not None:
         python_version = _get_python_version(version)
 
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/datetime.py b/.venv/Lib/site-packages/pip/_internal/utils/datetime.py
index 8668b3b..776e498 100644
--- a/.venv/Lib/site-packages/pip/_internal/utils/datetime.py
+++ b/.venv/Lib/site-packages/pip/_internal/utils/datetime.py
@@ -1,5 +1,4 @@
-"""For when pip wants to check the date or time.
-"""
+"""For when pip wants to check the date or time."""
 
 import datetime
 
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/deprecation.py b/.venv/Lib/site-packages/pip/_internal/utils/deprecation.py
index 72bd6f2..96e7783 100644
--- a/.venv/Lib/site-packages/pip/_internal/utils/deprecation.py
+++ b/.venv/Lib/site-packages/pip/_internal/utils/deprecation.py
@@ -2,9 +2,11 @@
 A module that implements tooling to enable easy warnings about deprecations.
 """
 
+from __future__ import annotations
+
 import logging
 import warnings
-from typing import Any, Optional, TextIO, Type, Union
+from typing import Any, TextIO
 
 from pip._vendor.packaging.version import parse
 
@@ -22,12 +24,12 @@ _original_showwarning: Any = None
 
 # Warnings <-> Logging Integration
 def _showwarning(
-    message: Union[Warning, str],
-    category: Type[Warning],
+    message: Warning | str,
+    category: type[Warning],
     filename: str,
     lineno: int,
-    file: Optional[TextIO] = None,
-    line: Optional[str] = None,
+    file: TextIO | None = None,
+    line: str | None = None,
 ) -> None:
     if file is not None:
         if _original_showwarning is not None:
@@ -55,10 +57,10 @@ def install_warning_logger() -> None:
 def deprecated(
     *,
     reason: str,
-    replacement: Optional[str],
-    gone_in: Optional[str],
-    feature_flag: Optional[str] = None,
-    issue: Optional[int] = None,
+    replacement: str | None,
+    gone_in: str | None,
+    feature_flag: str | None = None,
+    issue: int | None = None,
 ) -> None:
     """Helper to deprecate existing functionality.
 
@@ -87,9 +89,11 @@ def deprecated(
         (reason, f"{DEPRECATION_MSG_PREFIX}{{}}"),
         (
             gone_in,
-            "pip {} will enforce this behaviour change."
-            if not is_gone
-            else "Since pip {}, this is no longer supported.",
+            (
+                "pip {} will enforce this behaviour change."
+                if not is_gone
+                else "Since pip {}, this is no longer supported."
+            ),
         ),
         (
             replacement,
@@ -97,9 +101,11 @@ def deprecated(
         ),
         (
             feature_flag,
-            "You can use the flag --use-feature={} to test the upcoming behaviour."
-            if not is_gone
-            else None,
+            (
+                "You can use the flag --use-feature={} to test the upcoming behaviour."
+                if not is_gone
+                else None
+            ),
         ),
         (
             issue,
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/direct_url_helpers.py b/.venv/Lib/site-packages/pip/_internal/utils/direct_url_helpers.py
index 0e8e5e1..3cbc1e7 100644
--- a/.venv/Lib/site-packages/pip/_internal/utils/direct_url_helpers.py
+++ b/.venv/Lib/site-packages/pip/_internal/utils/direct_url_helpers.py
@@ -1,4 +1,4 @@
-from typing import Optional
+from __future__ import annotations
 
 from pip._internal.models.direct_url import ArchiveInfo, DirectUrl, DirInfo, VcsInfo
 from pip._internal.models.link import Link
@@ -12,8 +12,8 @@ def direct_url_as_pep440_direct_reference(direct_url: DirectUrl, name: str) -> s
     requirement = name + " @ "
     fragments = []
     if isinstance(direct_url.info, VcsInfo):
-        requirement += "{}+{}@{}".format(
-            direct_url.info.vcs, direct_url.url, direct_url.info.commit_id
+        requirement += (
+            f"{direct_url.info.vcs}+{direct_url.url}@{direct_url.info.commit_id}"
         )
     elif isinstance(direct_url.info, ArchiveInfo):
         requirement += direct_url.url
@@ -37,7 +37,7 @@ def direct_url_for_editable(source_dir: str) -> DirectUrl:
 
 
 def direct_url_from_link(
-    link: Link, source_dir: Optional[str] = None, link_is_in_wheel_cache: bool = False
+    link: Link, source_dir: str | None = None, link_is_in_wheel_cache: bool = False
 ) -> DirectUrl:
     if link.is_vcs:
         vcs_backend = vcs.get_backend_for_scheme(link.scheme)
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/egg_link.py b/.venv/Lib/site-packages/pip/_internal/utils/egg_link.py
index 4a384a6..dc85a58 100644
--- a/.venv/Lib/site-packages/pip/_internal/utils/egg_link.py
+++ b/.venv/Lib/site-packages/pip/_internal/utils/egg_link.py
@@ -1,7 +1,8 @@
+from __future__ import annotations
+
 import os
 import re
 import sys
-from typing import List, Optional
 
 from pip._internal.locations import site_packages, user_site
 from pip._internal.utils.virtualenv import (
@@ -15,7 +16,7 @@ __all__ = [
 ]
 
 
-def _egg_link_names(raw_name: str) -> List[str]:
+def _egg_link_names(raw_name: str) -> list[str]:
     """
     Convert a Name metadata value to a .egg-link name, by applying
     the same substitution as pkg_resources's safe_name function.
@@ -30,7 +31,7 @@ def _egg_link_names(raw_name: str) -> List[str]:
     ]
 
 
-def egg_link_path_from_sys_path(raw_name: str) -> Optional[str]:
+def egg_link_path_from_sys_path(raw_name: str) -> str | None:
     """
     Look for a .egg-link file for project name, by walking sys.path.
     """
@@ -43,7 +44,7 @@ def egg_link_path_from_sys_path(raw_name: str) -> Optional[str]:
     return None
 
 
-def egg_link_path_from_location(raw_name: str) -> Optional[str]:
+def egg_link_path_from_location(raw_name: str) -> str | None:
     """
     Return the path for the .egg-link file if it exists, otherwise, None.
 
@@ -61,7 +62,7 @@ def egg_link_path_from_location(raw_name: str) -> Optional[str]:
 
     This method will just return the first one found.
     """
-    sites: List[str] = []
+    sites: list[str] = []
     if running_under_virtualenv():
         sites.append(site_packages)
         if not virtualenv_no_global() and user_site:
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/encoding.py b/.venv/Lib/site-packages/pip/_internal/utils/encoding.py
deleted file mode 100644
index 008f06a..0000000
--- a/.venv/Lib/site-packages/pip/_internal/utils/encoding.py
+++ /dev/null
@@ -1,36 +0,0 @@
-import codecs
-import locale
-import re
-import sys
-from typing import List, Tuple
-
-BOMS: List[Tuple[bytes, str]] = [
-    (codecs.BOM_UTF8, "utf-8"),
-    (codecs.BOM_UTF16, "utf-16"),
-    (codecs.BOM_UTF16_BE, "utf-16-be"),
-    (codecs.BOM_UTF16_LE, "utf-16-le"),
-    (codecs.BOM_UTF32, "utf-32"),
-    (codecs.BOM_UTF32_BE, "utf-32-be"),
-    (codecs.BOM_UTF32_LE, "utf-32-le"),
-]
-
-ENCODING_RE = re.compile(rb"coding[:=]\s*([-\w.]+)")
-
-
-def auto_decode(data: bytes) -> str:
-    """Check a bytes string for a BOM to correctly detect the encoding
-
-    Fallback to locale.getpreferredencoding(False) like open() on Python3"""
-    for bom, encoding in BOMS:
-        if data.startswith(bom):
-            return data[len(bom) :].decode(encoding)
-    # Lets check the first two lines as in PEP263
-    for line in data.split(b"\n")[:2]:
-        if line[0:1] == b"#" and ENCODING_RE.search(line):
-            result = ENCODING_RE.search(line)
-            assert result is not None
-            encoding = result.groups()[0].decode("ascii")
-            return data.decode(encoding)
-    return data.decode(
-        locale.getpreferredencoding(False) or sys.getdefaultencoding(),
-    )
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/entrypoints.py b/.venv/Lib/site-packages/pip/_internal/utils/entrypoints.py
index 1501369..e3a150e 100644
--- a/.venv/Lib/site-packages/pip/_internal/utils/entrypoints.py
+++ b/.venv/Lib/site-packages/pip/_internal/utils/entrypoints.py
@@ -1,8 +1,9 @@
+from __future__ import annotations
+
 import itertools
 import os
 import shutil
 import sys
-from typing import List, Optional
 
 from pip._internal.cli.main import main
 from pip._internal.utils.compat import WINDOWS
@@ -20,7 +21,7 @@ if WINDOWS:
     ]
 
 
-def _wrapper(args: Optional[List[str]] = None) -> int:
+def _wrapper(args: list[str] | None = None) -> int:
     """Central wrapper for all old entrypoints.
 
     Historically pip has had several entrypoints defined. Because of issues
@@ -77,7 +78,10 @@ def get_best_invocation_for_this_python() -> str:
 
     # Try to use the basename, if it's the first executable.
     found_executable = shutil.which(exe_name)
-    if found_executable and os.path.samefile(found_executable, exe):
+    # Virtual environments often symlink to their parent Python binaries, but we don't
+    # want to treat the Python binaries as equivalent when the environment's Python is
+    # not on PATH (not activated). Thus, we don't follow symlinks.
+    if found_executable and os.path.samestat(os.lstat(found_executable), os.lstat(exe)):
         return exe_name
 
     # Use the full executable name, because we couldn't find something simpler.
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/filesystem.py b/.venv/Lib/site-packages/pip/_internal/utils/filesystem.py
index 83c2df7..d7c0524 100644
--- a/.venv/Lib/site-packages/pip/_internal/utils/filesystem.py
+++ b/.venv/Lib/site-packages/pip/_internal/utils/filesystem.py
@@ -1,16 +1,18 @@
+from __future__ import annotations
+
 import fnmatch
 import os
 import os.path
 import random
 import sys
+from collections.abc import Generator
 from contextlib import contextmanager
 from tempfile import NamedTemporaryFile
-from typing import Any, BinaryIO, Generator, List, Union, cast
-
-from pip._vendor.tenacity import retry, stop_after_delay, wait_fixed
+from typing import Any, BinaryIO, cast
 
 from pip._internal.utils.compat import get_path_uid
 from pip._internal.utils.misc import format_size
+from pip._internal.utils.retry import retry
 
 
 def check_path_owner(path: str) -> bool:
@@ -65,10 +67,7 @@ def adjacent_tmp_file(path: str, **kwargs: Any) -> Generator[BinaryIO, None, Non
             os.fsync(result.fileno())
 
 
-# Tenacity raises RetryError by default, explicitly raise the original exception
-_replace_retry = retry(reraise=True, stop=stop_after_delay(1), wait=wait_fixed(0.25))
-
-replace = _replace_retry(os.replace)
+replace = retry(stop_after_delay=1, wait=0.25)(os.replace)
 
 
 # test_writable_dir and _test_writable_dir_win are copied from Flit,
@@ -119,17 +118,17 @@ def _test_writable_dir_win(path: str) -> bool:
     raise OSError("Unexpected condition testing for writable directory")
 
 
-def find_files(path: str, pattern: str) -> List[str]:
+def find_files(path: str, pattern: str) -> list[str]:
     """Returns a list of absolute paths of files beneath path, recursively,
     with filenames which match the UNIX-style shell glob pattern."""
-    result: List[str] = []
+    result: list[str] = []
     for root, _, files in os.walk(path):
         matches = fnmatch.filter(files, pattern)
         result.extend(os.path.join(root, f) for f in matches)
     return result
 
 
-def file_size(path: str) -> Union[int, float]:
+def file_size(path: str) -> int | float:
     # If it's a symlink, return 0.
     if os.path.islink(path):
         return 0
@@ -140,7 +139,7 @@ def format_file_size(path: str) -> str:
     return format_size(file_size(path))
 
 
-def directory_size(path: str) -> Union[int, float]:
+def directory_size(path: str) -> int | float:
     size = 0.0
     for root, _dirs, files in os.walk(path):
         for filename in files:
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/filetypes.py b/.venv/Lib/site-packages/pip/_internal/utils/filetypes.py
index 5948570..2b8baad 100644
--- a/.venv/Lib/site-packages/pip/_internal/utils/filetypes.py
+++ b/.venv/Lib/site-packages/pip/_internal/utils/filetypes.py
@@ -1,21 +1,18 @@
-"""Filetype information.
-"""
-
-from typing import Tuple
+"""Filetype information."""
 
 from pip._internal.utils.misc import splitext
 
 WHEEL_EXTENSION = ".whl"
-BZ2_EXTENSIONS: Tuple[str, ...] = (".tar.bz2", ".tbz")
-XZ_EXTENSIONS: Tuple[str, ...] = (
+BZ2_EXTENSIONS: tuple[str, ...] = (".tar.bz2", ".tbz")
+XZ_EXTENSIONS: tuple[str, ...] = (
     ".tar.xz",
     ".txz",
     ".tlz",
     ".tar.lz",
     ".tar.lzma",
 )
-ZIP_EXTENSIONS: Tuple[str, ...] = (".zip", WHEEL_EXTENSION)
-TAR_EXTENSIONS: Tuple[str, ...] = (".tar.gz", ".tgz", ".tar")
+ZIP_EXTENSIONS: tuple[str, ...] = (".zip", WHEEL_EXTENSION)
+TAR_EXTENSIONS: tuple[str, ...] = (".tar.gz", ".tgz", ".tar")
 ARCHIVE_EXTENSIONS = ZIP_EXTENSIONS + BZ2_EXTENSIONS + TAR_EXTENSIONS + XZ_EXTENSIONS
 
 
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/glibc.py b/.venv/Lib/site-packages/pip/_internal/utils/glibc.py
index 81342af..2cb3013 100644
--- a/.venv/Lib/site-packages/pip/_internal/utils/glibc.py
+++ b/.venv/Lib/site-packages/pip/_internal/utils/glibc.py
@@ -1,14 +1,15 @@
+from __future__ import annotations
+
 import os
 import sys
-from typing import Optional, Tuple
 
 
-def glibc_version_string() -> Optional[str]:
+def glibc_version_string() -> str | None:
     "Returns glibc version string, or None if not using glibc."
     return glibc_version_string_confstr() or glibc_version_string_ctypes()
 
 
-def glibc_version_string_confstr() -> Optional[str]:
+def glibc_version_string_confstr() -> str | None:
     "Primary implementation of glibc_version_string using os.confstr."
     # os.confstr is quite a bit faster than ctypes.DLL. It's also less likely
     # to be broken or missing. This strategy is used in the standard library
@@ -28,7 +29,7 @@ def glibc_version_string_confstr() -> Optional[str]:
     return version
 
 
-def glibc_version_string_ctypes() -> Optional[str]:
+def glibc_version_string_ctypes() -> str | None:
     "Fallback implementation of glibc_version_string using ctypes."
 
     try:
@@ -40,7 +41,20 @@ def glibc_version_string_ctypes() -> Optional[str]:
     # manpage says, "If filename is NULL, then the returned handle is for the
     # main program". This way we can let the linker do the work to figure out
     # which libc our process is actually using.
-    process_namespace = ctypes.CDLL(None)
+    #
+    # We must also handle the special case where the executable is not a
+    # dynamically linked executable. This can occur when using musl libc,
+    # for example. In this situation, dlopen() will error, leading to an
+    # OSError. Interestingly, at least in the case of musl, there is no
+    # errno set on the OSError. The single string argument used to construct
+    # OSError comes from libc itself and is therefore not portable to
+    # hard code here. In any case, failure to call dlopen() means we
+    # can't proceed, so we bail on our attempt.
+    try:
+        process_namespace = ctypes.CDLL(None)
+    except OSError:
+        return None
+
     try:
         gnu_get_libc_version = process_namespace.gnu_get_libc_version
     except AttributeError:
@@ -50,7 +64,7 @@ def glibc_version_string_ctypes() -> Optional[str]:
 
     # Call gnu_get_libc_version, which returns a string like "2.5"
     gnu_get_libc_version.restype = ctypes.c_char_p
-    version_str = gnu_get_libc_version()
+    version_str: str = gnu_get_libc_version()
     # py2 / py3 compatibility:
     if not isinstance(version_str, str):
         version_str = version_str.decode("ascii")
@@ -75,7 +89,7 @@ def glibc_version_string_ctypes() -> Optional[str]:
 # versions that was generated by pip 8.1.2 and earlier is useless and
 # misleading. Solution: instead of using platform, use our code that actually
 # works.
-def libc_ver() -> Tuple[str, str]:
+def libc_ver() -> tuple[str, str]:
     """Try to determine the glibc version
 
     Returns a tuple of strings (lib, version) which default to empty strings
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/hashes.py b/.venv/Lib/site-packages/pip/_internal/utils/hashes.py
index 843cffc..3d8c125 100644
--- a/.venv/Lib/site-packages/pip/_internal/utils/hashes.py
+++ b/.venv/Lib/site-packages/pip/_internal/utils/hashes.py
@@ -1,5 +1,8 @@
+from __future__ import annotations
+
 import hashlib
-from typing import TYPE_CHECKING, BinaryIO, Dict, Iterable, List, Optional
+from collections.abc import Iterable
+from typing import TYPE_CHECKING, BinaryIO, NoReturn
 
 from pip._internal.exceptions import HashMismatch, HashMissing, InstallationError
 from pip._internal.utils.misc import read_chunks
@@ -7,10 +10,6 @@ from pip._internal.utils.misc import read_chunks
 if TYPE_CHECKING:
     from hashlib import _Hash
 
-    # NoReturn introduced in 3.6.2; imported only for type checking to maintain
-    # pip compatibility with older patch versions of Python 3.6
-    from typing import NoReturn
-
 
 # The recommended hash algo of the moment. Change this whenever the state of
 # the art changes; it won't hurt backward compatibility.
@@ -28,7 +27,7 @@ class Hashes:
 
     """
 
-    def __init__(self, hashes: Optional[Dict[str, List[str]]] = None) -> None:
+    def __init__(self, hashes: dict[str, list[str]] | None = None) -> None:
         """
         :param hashes: A dict of algorithm names pointing to lists of allowed
             hex digests
@@ -37,10 +36,10 @@ class Hashes:
         if hashes is not None:
             for alg, keys in hashes.items():
                 # Make sure values are always sorted (to ease equality checks)
-                allowed[alg] = sorted(keys)
+                allowed[alg] = [k.lower() for k in sorted(keys)]
         self._allowed = allowed
 
-    def __and__(self, other: "Hashes") -> "Hashes":
+    def __and__(self, other: Hashes) -> Hashes:
         if not isinstance(other, Hashes):
             return NotImplemented
 
@@ -90,7 +89,7 @@ class Hashes:
                 return
         self._raise(gots)
 
-    def _raise(self, gots: Dict[str, "_Hash"]) -> "NoReturn":
+    def _raise(self, gots: dict[str, _Hash]) -> NoReturn:
         raise HashMismatch(self._allowed, gots)
 
     def check_against_file(self, file: BinaryIO) -> None:
@@ -105,7 +104,7 @@ class Hashes:
         with open(path, "rb") as file:
             return self.check_against_file(file)
 
-    def has_one_of(self, hashes: Dict[str, str]) -> bool:
+    def has_one_of(self, hashes: dict[str, str]) -> bool:
         """Return whether any of the given hashes are allowed."""
         for hash_name, hex_digest in hashes.items():
             if self.is_hash_allowed(hash_name, hex_digest):
@@ -147,5 +146,5 @@ class MissingHashes(Hashes):
         # empty list, it will never match, so an error will always raise.
         super().__init__(hashes={FAVORITE_HASH: []})
 
-    def _raise(self, gots: Dict[str, "_Hash"]) -> "NoReturn":
+    def _raise(self, gots: dict[str, _Hash]) -> NoReturn:
         raise HashMissing(gots[FAVORITE_HASH].hexdigest())
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/logging.py b/.venv/Lib/site-packages/pip/_internal/utils/logging.py
index 95982df..5cdbeb7 100644
--- a/.venv/Lib/site-packages/pip/_internal/utils/logging.py
+++ b/.venv/Lib/site-packages/pip/_internal/utils/logging.py
@@ -1,3 +1,5 @@
+from __future__ import annotations
+
 import contextlib
 import errno
 import logging
@@ -5,10 +7,11 @@ import logging.handlers
 import os
 import sys
 import threading
+from collections.abc import Generator
 from dataclasses import dataclass
 from io import TextIOWrapper
 from logging import Filter
-from typing import Any, ClassVar, Generator, List, Optional, TextIO, Type
+from typing import Any, ClassVar
 
 from pip._vendor.rich.console import (
     Console,
@@ -29,6 +32,8 @@ from pip._internal.utils.deprecation import DEPRECATION_MSG_PREFIX
 from pip._internal.utils.misc import ensure_dir
 
 _log_state = threading.local()
+_stdout_console = None
+_stderr_console = None
 subprocess_logger = getLogger("pip.subprocessor")
 
 
@@ -38,7 +43,7 @@ class BrokenStdoutLoggingError(Exception):
     """
 
 
-def _is_broken_pipe_error(exc_class: Type[BaseException], exc: BaseException) -> bool:
+def _is_broken_pipe_error(exc_class: type[BaseException], exc: BaseException) -> bool:
     if exc_class is BrokenPipeError:
         return True
 
@@ -137,12 +142,28 @@ class IndentedRenderable:
             yield Segment("\n")
 
 
-class RichPipStreamHandler(RichHandler):
-    KEYWORDS: ClassVar[Optional[List[str]]] = []
+class PipConsole(Console):
+    def on_broken_pipe(self) -> None:
+        # Reraise the original exception, rich 13.8.0+ exits by default
+        # instead, preventing our handler from firing.
+        raise BrokenPipeError() from None
 
-    def __init__(self, stream: Optional[TextIO], no_color: bool) -> None:
+
+def get_console(*, stderr: bool = False) -> Console:
+    if stderr:
+        assert _stderr_console is not None, "stderr rich console is missing!"
+        return _stderr_console
+    else:
+        assert _stdout_console is not None, "stdout rich console is missing!"
+        return _stdout_console
+
+
+class RichPipStreamHandler(RichHandler):
+    KEYWORDS: ClassVar[list[str] | None] = []
+
+    def __init__(self, console: Console) -> None:
         super().__init__(
-            console=Console(file=stream, no_color=no_color, soft_wrap=True),
+            console=console,
             show_time=False,
             show_level=False,
             show_path=False,
@@ -151,11 +172,11 @@ class RichPipStreamHandler(RichHandler):
 
     # Our custom override on Rich's logger, to make things work as we need them to.
     def emit(self, record: logging.LogRecord) -> None:
-        style: Optional[Style] = None
+        style: Style | None = None
 
         # If we are given a diagnostic error to present, present it with indentation.
-        assert isinstance(record.args, tuple)
         if getattr(record, "rich", False):
+            assert isinstance(record.args, tuple)
             (rich_renderable,) = record.args
             assert isinstance(
                 rich_renderable, (ConsoleRenderable, RichCast, str)
@@ -212,7 +233,6 @@ class MaxLevelFilter(Filter):
 
 
 class ExcludeLoggerFilter(Filter):
-
     """
     A logging Filter that excludes records from a logger (or its children).
     """
@@ -223,7 +243,7 @@ class ExcludeLoggerFilter(Filter):
         return not super().filter(record)
 
 
-def setup_logging(verbosity: int, no_color: bool, user_log_file: Optional[str]) -> int:
+def setup_logging(verbosity: int, no_color: bool, user_log_file: str | None) -> int:
     """Configures and sets up all of the logging
 
     Returns the requested logging level, as its integer value.
@@ -260,10 +280,6 @@ def setup_logging(verbosity: int, no_color: bool, user_log_file: Optional[str])
     vendored_log_level = "WARNING" if level in ["INFO", "ERROR"] else "DEBUG"
 
     # Shorthands for clarity
-    log_streams = {
-        "stdout": "ext://sys.stdout",
-        "stderr": "ext://sys.stderr",
-    }
     handler_classes = {
         "stream": "pip._internal.utils.logging.RichPipStreamHandler",
         "file": "pip._internal.utils.logging.BetterRotatingFileHandler",
@@ -271,6 +287,9 @@ def setup_logging(verbosity: int, no_color: bool, user_log_file: Optional[str])
     handlers = ["console", "console_errors", "console_subprocess"] + (
         ["user_log"] if include_user_log else []
     )
+    global _stdout_console, stderr_console
+    _stdout_console = PipConsole(file=sys.stdout, no_color=no_color, soft_wrap=True)
+    _stderr_console = PipConsole(file=sys.stderr, no_color=no_color, soft_wrap=True)
 
     logging.config.dictConfig(
         {
@@ -305,16 +324,14 @@ def setup_logging(verbosity: int, no_color: bool, user_log_file: Optional[str])
                 "console": {
                     "level": level,
                     "class": handler_classes["stream"],
-                    "no_color": no_color,
-                    "stream": log_streams["stdout"],
+                    "console": _stdout_console,
                     "filters": ["exclude_subprocess", "exclude_warnings"],
                     "formatter": "indent",
                 },
                 "console_errors": {
                     "level": "WARNING",
                     "class": handler_classes["stream"],
-                    "no_color": no_color,
-                    "stream": log_streams["stderr"],
+                    "console": _stderr_console,
                     "filters": ["exclude_subprocess"],
                     "formatter": "indent",
                 },
@@ -323,8 +340,7 @@ def setup_logging(verbosity: int, no_color: bool, user_log_file: Optional[str])
                 "console_subprocess": {
                     "level": level,
                     "class": handler_classes["stream"],
-                    "stream": log_streams["stderr"],
-                    "no_color": no_color,
+                    "console": _stderr_console,
                     "filters": ["restrict_to_subprocess"],
                     "formatter": "indent",
                 },
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/misc.py b/.venv/Lib/site-packages/pip/_internal/utils/misc.py
index 1ad3f61..3a28e84 100644
--- a/.venv/Lib/site-packages/pip/_internal/utils/misc.py
+++ b/.venv/Lib/site-packages/pip/_internal/utils/misc.py
@@ -1,8 +1,8 @@
-import contextlib
+from __future__ import annotations
+
 import errno
 import getpass
 import hashlib
-import io
 import logging
 import os
 import posixpath
@@ -11,6 +11,8 @@ import stat
 import sys
 import sysconfig
 import urllib.parse
+from collections.abc import Generator, Iterable, Iterator, Mapping, Sequence
+from dataclasses import dataclass
 from functools import partial
 from io import StringIO
 from itertools import filterfalse, tee, zip_longest
@@ -20,29 +22,20 @@ from typing import (
     Any,
     BinaryIO,
     Callable,
-    ContextManager,
-    Dict,
-    Generator,
-    Iterable,
-    Iterator,
-    List,
     Optional,
     TextIO,
-    Tuple,
-    Type,
     TypeVar,
-    Union,
     cast,
 )
 
 from pip._vendor.packaging.requirements import Requirement
 from pip._vendor.pyproject_hooks import BuildBackendHookCaller
-from pip._vendor.tenacity import retry, stop_after_delay, wait_fixed
 
 from pip import __version__
 from pip._internal.exceptions import CommandError, ExternallyManagedEnvironment
 from pip._internal.locations import get_major_minor_version
 from pip._internal.utils.compat import WINDOWS
+from pip._internal.utils.retry import retry
 from pip._internal.utils.virtualenv import running_under_virtualenv
 
 __all__ = [
@@ -56,7 +49,6 @@ __all__ = [
     "normalize_path",
     "renames",
     "get_prog",
-    "captured_stdout",
     "ensure_dir",
     "remove_auth_from_url",
     "check_externally_managed",
@@ -66,12 +58,14 @@ __all__ = [
 logger = logging.getLogger(__name__)
 
 T = TypeVar("T")
-ExcInfo = Tuple[Type[BaseException], BaseException, TracebackType]
-VersionInfo = Tuple[int, int, int]
-NetlocTuple = Tuple[str, Tuple[Optional[str], Optional[str]]]
+ExcInfo = tuple[type[BaseException], BaseException, TracebackType]
+VersionInfo = tuple[int, int, int]
+NetlocTuple = tuple[str, tuple[Optional[str], Optional[str]]]
 OnExc = Callable[[FunctionType, Path, BaseException], Any]
 OnErr = Callable[[FunctionType, Path, ExcInfo], Any]
 
+FILE_CHUNK_SIZE = 1024 * 1024
+
 
 def get_pip_version() -> str:
     pip_pkg_dir = os.path.join(os.path.dirname(__file__), "..", "..")
@@ -80,7 +74,7 @@ def get_pip_version() -> str:
     return f"pip {__version__} from {pip_pkg_dir} (python {get_major_minor_version()})"
 
 
-def normalize_version_info(py_version_info: Tuple[int, ...]) -> Tuple[int, int, int]:
+def normalize_version_info(py_version_info: tuple[int, ...]) -> tuple[int, int, int]:
     """
     Convert a tuple of ints representing a Python version to one of length
     three.
@@ -122,23 +116,13 @@ def get_prog() -> str:
 
 
 # Retry every half second for up to 3 seconds
-# Tenacity raises RetryError by default, explicitly raise the original exception
-@retry(reraise=True, stop=stop_after_delay(3), wait=wait_fixed(0.5))
-def rmtree(
-    dir: str,
-    ignore_errors: bool = False,
-    onexc: Optional[OnExc] = None,
-) -> None:
+@retry(stop_after_delay=3, wait=0.5)
+def rmtree(dir: str, ignore_errors: bool = False, onexc: OnExc | None = None) -> None:
     if ignore_errors:
         onexc = _onerror_ignore
     if onexc is None:
         onexc = _onerror_reraise
-    handler: OnErr = partial(
-        # `[func, path, Union[ExcInfo, BaseException]] -> Any` is equivalent to
-        # `Union[([func, path, ExcInfo] -> Any), ([func, path, BaseException] -> Any)]`.
-        cast(Union[OnExc, OnErr], rmtree_errorhandler),
-        onexc=onexc,
-    )
+    handler: OnErr = partial(rmtree_errorhandler, onexc=onexc)
     if sys.version_info >= (3, 12):
         # See https://docs.python.org/3.12/whatsnew/3.12.html#shutil.
         shutil.rmtree(dir, onexc=handler)  # type: ignore
@@ -151,13 +135,13 @@ def _onerror_ignore(*_args: Any) -> None:
 
 
 def _onerror_reraise(*_args: Any) -> None:
-    raise
+    raise  # noqa: PLE0704 - Bare exception used to reraise existing exception
 
 
 def rmtree_errorhandler(
     func: FunctionType,
     path: Path,
-    exc_info: Union[ExcInfo, BaseException],
+    exc_info: ExcInfo | BaseException,
     *,
     onexc: OnExc = _onerror_reraise,
 ) -> None:
@@ -284,7 +268,7 @@ def format_size(bytes: float) -> str:
         return f"{int(bytes)} bytes"
 
 
-def tabulate(rows: Iterable[Iterable[Any]]) -> Tuple[List[str], List[int]]:
+def tabulate(rows: Iterable[Iterable[Any]]) -> tuple[list[str], list[int]]:
     """Return a list of formatted rows and a list of column sizes.
 
     For example::
@@ -316,7 +300,7 @@ def is_installable_dir(path: str) -> bool:
 
 
 def read_chunks(
-    file: BinaryIO, size: int = io.DEFAULT_BUFFER_SIZE
+    file: BinaryIO, size: int = FILE_CHUNK_SIZE
 ) -> Generator[bytes, None, None]:
     """Yield pieces of data from a file-like object until EOF."""
     while True:
@@ -339,7 +323,7 @@ def normalize_path(path: str, resolve_symlinks: bool = True) -> str:
     return os.path.normcase(path)
 
 
-def splitext(path: str) -> Tuple[str, str]:
+def splitext(path: str) -> tuple[str, str]:
     """Like os.path.splitext, but take off .tar too"""
     base, ext = posixpath.splitext(path)
     if base.lower().endswith(".tar"):
@@ -387,7 +371,7 @@ class StreamWrapper(StringIO):
     orig_stream: TextIO
 
     @classmethod
-    def from_stream(cls, orig_stream: TextIO) -> "StreamWrapper":
+    def from_stream(cls, orig_stream: TextIO) -> StreamWrapper:
         ret = cls()
         ret.orig_stream = orig_stream
         return ret
@@ -399,49 +383,15 @@ class StreamWrapper(StringIO):
         return self.orig_stream.encoding
 
 
-@contextlib.contextmanager
-def captured_output(stream_name: str) -> Generator[StreamWrapper, None, None]:
-    """Return a context manager used by captured_stdout/stdin/stderr
-    that temporarily replaces the sys stream *stream_name* with a StringIO.
-
-    Taken from Lib/support/__init__.py in the CPython repo.
-    """
-    orig_stdout = getattr(sys, stream_name)
-    setattr(sys, stream_name, StreamWrapper.from_stream(orig_stdout))
-    try:
-        yield getattr(sys, stream_name)
-    finally:
-        setattr(sys, stream_name, orig_stdout)
-
-
-def captured_stdout() -> ContextManager[StreamWrapper]:
-    """Capture the output of sys.stdout:
-
-       with captured_stdout() as stdout:
-           print('hello')
-       self.assertEqual(stdout.getvalue(), 'hello\n')
-
-    Taken from Lib/support/__init__.py in the CPython repo.
-    """
-    return captured_output("stdout")
-
-
-def captured_stderr() -> ContextManager[StreamWrapper]:
-    """
-    See captured_stdout().
-    """
-    return captured_output("stderr")
-
-
 # Simulates an enum
-def enum(*sequential: Any, **named: Any) -> Type[Any]:
+def enum(*sequential: Any, **named: Any) -> type[Any]:
     enums = dict(zip(sequential, range(len(sequential))), **named)
     reverse = {value: key for key, value in enums.items()}
     enums["reverse_mapping"] = reverse
     return type("Enum", (), enums)
 
 
-def build_netloc(host: str, port: Optional[int]) -> str:
+def build_netloc(host: str, port: int | None) -> str:
     """
     Build a netloc from a host-port pair
     """
@@ -463,7 +413,7 @@ def build_url_from_netloc(netloc: str, scheme: str = "https") -> str:
     return f"{scheme}://{netloc}"
 
 
-def parse_netloc(netloc: str) -> Tuple[Optional[str], Optional[int]]:
+def parse_netloc(netloc: str) -> tuple[str | None, int | None]:
     """
     Return the host-port pair from a netloc.
     """
@@ -485,7 +435,7 @@ def split_auth_from_netloc(netloc: str) -> NetlocTuple:
     # behaves if more than one @ is present (which can be checked using
     # the password attribute of urlsplit()'s return value).
     auth, netloc = netloc.rsplit("@", 1)
-    pw: Optional[str] = None
+    pw: str | None = None
     if ":" in auth:
         # Split from the left because that's how urllib.parse.urlsplit()
         # behaves if more than one : is present (which again can be checked
@@ -522,8 +472,8 @@ def redact_netloc(netloc: str) -> str:
 
 
 def _transform_url(
-    url: str, transform_netloc: Callable[[str], Tuple[Any, ...]]
-) -> Tuple[str, NetlocTuple]:
+    url: str, transform_netloc: Callable[[str], tuple[Any, ...]]
+) -> tuple[str, NetlocTuple]:
     """Transform and replace netloc in a url.
 
     transform_netloc is a function taking the netloc and returning a
@@ -545,13 +495,13 @@ def _get_netloc(netloc: str) -> NetlocTuple:
     return split_auth_from_netloc(netloc)
 
 
-def _redact_netloc(netloc: str) -> Tuple[str]:
+def _redact_netloc(netloc: str) -> tuple[str]:
     return (redact_netloc(netloc),)
 
 
 def split_auth_netloc_from_url(
     url: str,
-) -> Tuple[str, str, Tuple[Optional[str], Optional[str]]]:
+) -> tuple[str, str, tuple[str | None, str | None]]:
     """
     Parse a url into separate netloc, auth, and url with no auth.
 
@@ -580,10 +530,10 @@ def redact_auth_from_requirement(req: Requirement) -> str:
     return str(req).replace(req.url, redact_auth_from_url(req.url))
 
 
+@dataclass(frozen=True)
 class HiddenText:
-    def __init__(self, secret: str, redacted: str) -> None:
-        self.secret = secret
-        self.redacted = redacted
+    secret: str
+    redacted: str
 
     def __repr__(self) -> str:
         return f""
@@ -593,7 +543,7 @@ class HiddenText:
 
     # This is useful for testing.
     def __eq__(self, other: Any) -> bool:
-        if type(self) != type(other):
+        if type(self) is not type(other):
             return False
 
         # The string being used for redaction doesn't also have to match,
@@ -656,7 +606,7 @@ def is_console_interactive() -> bool:
     return sys.stdin is not None and sys.stdin.isatty()
 
 
-def hash_file(path: str, blocksize: int = 1 << 20) -> Tuple[Any, int]:
+def hash_file(path: str, blocksize: int = 1 << 20) -> tuple[Any, int]:
     """Return (hash, length) for path using hashlib.sha256()"""
 
     h = hashlib.sha256()
@@ -668,7 +618,7 @@ def hash_file(path: str, blocksize: int = 1 << 20) -> Tuple[Any, int]:
     return h, length
 
 
-def pairwise(iterable: Iterable[Any]) -> Iterator[Tuple[Any, Any]]:
+def pairwise(iterable: Iterable[Any]) -> Iterator[tuple[Any, Any]]:
     """
     Return paired elements.
 
@@ -680,9 +630,8 @@ def pairwise(iterable: Iterable[Any]) -> Iterator[Tuple[Any, Any]]:
 
 
 def partition(
-    pred: Callable[[T], bool],
-    iterable: Iterable[T],
-) -> Tuple[Iterable[T], Iterable[T]]:
+    pred: Callable[[T], bool], iterable: Iterable[T]
+) -> tuple[Iterable[T], Iterable[T]]:
     """
     Use a predicate to partition entries into false entries and true entries,
     like
@@ -699,9 +648,9 @@ class ConfiguredBuildBackendHookCaller(BuildBackendHookCaller):
         config_holder: Any,
         source_dir: str,
         build_backend: str,
-        backend_path: Optional[str] = None,
-        runner: Optional[Callable[..., None]] = None,
-        python_executable: Optional[str] = None,
+        backend_path: str | None = None,
+        runner: Callable[..., None] | None = None,
+        python_executable: str | None = None,
     ):
         super().__init__(
             source_dir, build_backend, backend_path, runner, python_executable
@@ -711,8 +660,8 @@ class ConfiguredBuildBackendHookCaller(BuildBackendHookCaller):
     def build_wheel(
         self,
         wheel_directory: str,
-        config_settings: Optional[Dict[str, Union[str, List[str]]]] = None,
-        metadata_directory: Optional[str] = None,
+        config_settings: Mapping[str, Any] | None = None,
+        metadata_directory: str | None = None,
     ) -> str:
         cs = self.config_holder.config_settings
         return super().build_wheel(
@@ -722,7 +671,7 @@ class ConfiguredBuildBackendHookCaller(BuildBackendHookCaller):
     def build_sdist(
         self,
         sdist_directory: str,
-        config_settings: Optional[Dict[str, Union[str, List[str]]]] = None,
+        config_settings: Mapping[str, Any] | None = None,
     ) -> str:
         cs = self.config_holder.config_settings
         return super().build_sdist(sdist_directory, config_settings=cs)
@@ -730,8 +679,8 @@ class ConfiguredBuildBackendHookCaller(BuildBackendHookCaller):
     def build_editable(
         self,
         wheel_directory: str,
-        config_settings: Optional[Dict[str, Union[str, List[str]]]] = None,
-        metadata_directory: Optional[str] = None,
+        config_settings: Mapping[str, Any] | None = None,
+        metadata_directory: str | None = None,
     ) -> str:
         cs = self.config_holder.config_settings
         return super().build_editable(
@@ -739,27 +688,27 @@ class ConfiguredBuildBackendHookCaller(BuildBackendHookCaller):
         )
 
     def get_requires_for_build_wheel(
-        self, config_settings: Optional[Dict[str, Union[str, List[str]]]] = None
-    ) -> List[str]:
+        self, config_settings: Mapping[str, Any] | None = None
+    ) -> Sequence[str]:
         cs = self.config_holder.config_settings
         return super().get_requires_for_build_wheel(config_settings=cs)
 
     def get_requires_for_build_sdist(
-        self, config_settings: Optional[Dict[str, Union[str, List[str]]]] = None
-    ) -> List[str]:
+        self, config_settings: Mapping[str, Any] | None = None
+    ) -> Sequence[str]:
         cs = self.config_holder.config_settings
         return super().get_requires_for_build_sdist(config_settings=cs)
 
     def get_requires_for_build_editable(
-        self, config_settings: Optional[Dict[str, Union[str, List[str]]]] = None
-    ) -> List[str]:
+        self, config_settings: Mapping[str, Any] | None = None
+    ) -> Sequence[str]:
         cs = self.config_holder.config_settings
         return super().get_requires_for_build_editable(config_settings=cs)
 
     def prepare_metadata_for_build_wheel(
         self,
         metadata_directory: str,
-        config_settings: Optional[Dict[str, Union[str, List[str]]]] = None,
+        config_settings: Mapping[str, Any] | None = None,
         _allow_fallback: bool = True,
     ) -> str:
         cs = self.config_holder.config_settings
@@ -772,12 +721,45 @@ class ConfiguredBuildBackendHookCaller(BuildBackendHookCaller):
     def prepare_metadata_for_build_editable(
         self,
         metadata_directory: str,
-        config_settings: Optional[Dict[str, Union[str, List[str]]]] = None,
+        config_settings: Mapping[str, Any] | None = None,
         _allow_fallback: bool = True,
-    ) -> str:
+    ) -> str | None:
         cs = self.config_holder.config_settings
         return super().prepare_metadata_for_build_editable(
             metadata_directory=metadata_directory,
             config_settings=cs,
             _allow_fallback=_allow_fallback,
         )
+
+
+def warn_if_run_as_root() -> None:
+    """Output a warning for sudo users on Unix.
+
+    In a virtual environment, sudo pip still writes to virtualenv.
+    On Windows, users may run pip as Administrator without issues.
+    This warning only applies to Unix root users outside of virtualenv.
+    """
+    if running_under_virtualenv():
+        return
+    if not hasattr(os, "getuid"):
+        return
+    # On Windows, there are no "system managed" Python packages. Installing as
+    # Administrator via pip is the correct way of updating system environments.
+    #
+    # We choose sys.platform over utils.compat.WINDOWS here to enable Mypy platform
+    # checks: https://mypy.readthedocs.io/en/stable/common_issues.html
+    if sys.platform == "win32" or sys.platform == "cygwin":
+        return
+
+    if os.getuid() != 0:
+        return
+
+    logger.warning(
+        "Running pip as the 'root' user can result in broken permissions and "
+        "conflicting behaviour with the system package manager, possibly "
+        "rendering your system unusable. "
+        "It is recommended to use a virtual environment instead: "
+        "https://pip.pypa.io/warnings/venv. "
+        "Use the --root-user-action option if you know what you are doing and "
+        "want to suppress this warning."
+    )
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/models.py b/.venv/Lib/site-packages/pip/_internal/utils/models.py
deleted file mode 100644
index b6bb21a..0000000
--- a/.venv/Lib/site-packages/pip/_internal/utils/models.py
+++ /dev/null
@@ -1,39 +0,0 @@
-"""Utilities for defining models
-"""
-
-import operator
-from typing import Any, Callable, Type
-
-
-class KeyBasedCompareMixin:
-    """Provides comparison capabilities that is based on a key"""
-
-    __slots__ = ["_compare_key", "_defining_class"]
-
-    def __init__(self, key: Any, defining_class: Type["KeyBasedCompareMixin"]) -> None:
-        self._compare_key = key
-        self._defining_class = defining_class
-
-    def __hash__(self) -> int:
-        return hash(self._compare_key)
-
-    def __lt__(self, other: Any) -> bool:
-        return self._compare(other, operator.__lt__)
-
-    def __le__(self, other: Any) -> bool:
-        return self._compare(other, operator.__le__)
-
-    def __gt__(self, other: Any) -> bool:
-        return self._compare(other, operator.__gt__)
-
-    def __ge__(self, other: Any) -> bool:
-        return self._compare(other, operator.__ge__)
-
-    def __eq__(self, other: Any) -> bool:
-        return self._compare(other, operator.__eq__)
-
-    def _compare(self, other: Any, method: Callable[[Any, Any], bool]) -> bool:
-        if not isinstance(other, self._defining_class):
-            return NotImplemented
-
-        return method(self._compare_key, other._compare_key)
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/packaging.py b/.venv/Lib/site-packages/pip/_internal/utils/packaging.py
index b9f6af4..3cbc049 100644
--- a/.venv/Lib/site-packages/pip/_internal/utils/packaging.py
+++ b/.venv/Lib/site-packages/pip/_internal/utils/packaging.py
@@ -1,18 +1,17 @@
+from __future__ import annotations
+
 import functools
 import logging
-import re
-from typing import NewType, Optional, Tuple, cast
 
 from pip._vendor.packaging import specifiers, version
 from pip._vendor.packaging.requirements import Requirement
 
-NormalizedExtra = NewType("NormalizedExtra", str)
-
 logger = logging.getLogger(__name__)
 
 
+@functools.lru_cache(maxsize=32)
 def check_requires_python(
-    requires_python: Optional[str], version_info: Tuple[int, ...]
+    requires_python: str | None, version_info: tuple[int, ...]
 ) -> bool:
     """
     Check if the given Python version matches a "Requires-Python" specifier.
@@ -34,7 +33,7 @@ def check_requires_python(
     return python_version in requires_python_specifier
 
 
-@functools.lru_cache(maxsize=512)
+@functools.lru_cache(maxsize=10000)
 def get_requirement(req_string: str) -> Requirement:
     """Construct a packaging.Requirement object with caching"""
     # Parsing requirement strings is expensive, and is also expected to happen
@@ -43,15 +42,3 @@ def get_requirement(req_string: str) -> Requirement:
     # minimize repeated parsing of the same string to construct equivalent
     # Requirement objects.
     return Requirement(req_string)
-
-
-def safe_extra(extra: str) -> NormalizedExtra:
-    """Convert an arbitrary string to a standard 'extra' name
-
-    Any runs of non-alphanumeric characters are replaced with a single '_',
-    and the result is always lowercased.
-
-    This function is duplicated from ``pkg_resources``. Note that this is not
-    the same to either ``canonicalize_name`` or ``_egg_link_name``.
-    """
-    return cast(NormalizedExtra, re.sub("[^A-Za-z0-9.-]+", "_", extra).lower())
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/retry.py b/.venv/Lib/site-packages/pip/_internal/utils/retry.py
new file mode 100644
index 0000000..27d3b6e
--- /dev/null
+++ b/.venv/Lib/site-packages/pip/_internal/utils/retry.py
@@ -0,0 +1,45 @@
+from __future__ import annotations
+
+import functools
+from time import perf_counter, sleep
+from typing import TYPE_CHECKING, Callable, TypeVar
+
+if TYPE_CHECKING:
+    from typing_extensions import ParamSpec
+
+    T = TypeVar("T")
+    P = ParamSpec("P")
+
+
+def retry(
+    wait: float, stop_after_delay: float
+) -> Callable[[Callable[P, T]], Callable[P, T]]:
+    """Decorator to automatically retry a function on error.
+
+    If the function raises, the function is recalled with the same arguments
+    until it returns or the time limit is reached. When the time limit is
+    surpassed, the last exception raised is reraised.
+
+    :param wait: The time to wait after an error before retrying, in seconds.
+    :param stop_after_delay: The time limit after which retries will cease,
+        in seconds.
+    """
+
+    def wrapper(func: Callable[P, T]) -> Callable[P, T]:
+
+        @functools.wraps(func)
+        def retry_wrapped(*args: P.args, **kwargs: P.kwargs) -> T:
+            # The performance counter is monotonic on all platforms we care
+            # about and has much better resolution than time.monotonic().
+            start_time = perf_counter()
+            while True:
+                try:
+                    return func(*args, **kwargs)
+                except Exception:
+                    if perf_counter() - start_time > stop_after_delay:
+                        raise
+                    sleep(wait)
+
+        return retry_wrapped
+
+    return wrapper
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/setuptools_build.py b/.venv/Lib/site-packages/pip/_internal/utils/setuptools_build.py
index 96d1b24..1b8c7a1 100644
--- a/.venv/Lib/site-packages/pip/_internal/utils/setuptools_build.py
+++ b/.venv/Lib/site-packages/pip/_internal/utils/setuptools_build.py
@@ -1,6 +1,8 @@
+from __future__ import annotations
+
 import sys
 import textwrap
-from typing import List, Optional, Sequence
+from collections.abc import Sequence
 
 # Shim to wrap setup.py invocation with setuptools
 # Note that __file__ is handled via two {!r} *and* %r, to ensure that paths on
@@ -17,16 +19,17 @@ _SETUPTOOLS_SHIM = textwrap.dedent(
     #   setuptools doesn't think the script is `-c`. This avoids the following warning:
     #     manifest_maker: standard file '-c' not found".
     # - It generates a shim setup.py, for handling setup.cfg-only projects.
-    import os, sys, tokenize
+    import os, sys, tokenize, traceback
 
     try:
         import setuptools
-    except ImportError as error:
+    except ImportError:
         print(
-            "ERROR: Can not execute `setup.py` since setuptools is not available in "
-            "the build environment.",
+            "ERROR: Can not execute `setup.py` since setuptools failed to import in "
+            "the build environment with exception:",
             file=sys.stderr,
         )
+        traceback.print_exc()
         sys.exit(1)
 
     __file__ = %r
@@ -48,10 +51,10 @@ _SETUPTOOLS_SHIM = textwrap.dedent(
 
 def make_setuptools_shim_args(
     setup_py_path: str,
-    global_options: Optional[Sequence[str]] = None,
+    global_options: Sequence[str] | None = None,
     no_user_config: bool = False,
     unbuffered_output: bool = False,
-) -> List[str]:
+) -> list[str]:
     """
     Get setuptools command arguments with shim wrapped setup file invocation.
 
@@ -77,7 +80,7 @@ def make_setuptools_bdist_wheel_args(
     global_options: Sequence[str],
     build_options: Sequence[str],
     destination_dir: str,
-) -> List[str]:
+) -> list[str]:
     # NOTE: Eventually, we'd want to also -S to the flags here, when we're
     # isolating. Currently, it breaks Python in virtualenvs, because it
     # relies on site.py to find parts of the standard library outside the
@@ -93,7 +96,7 @@ def make_setuptools_bdist_wheel_args(
 def make_setuptools_clean_args(
     setup_py_path: str,
     global_options: Sequence[str],
-) -> List[str]:
+) -> list[str]:
     args = make_setuptools_shim_args(
         setup_py_path, global_options=global_options, unbuffered_output=True
     )
@@ -106,10 +109,10 @@ def make_setuptools_develop_args(
     *,
     global_options: Sequence[str],
     no_user_config: bool,
-    prefix: Optional[str],
-    home: Optional[str],
+    prefix: str | None,
+    home: str | None,
     use_user_site: bool,
-) -> List[str]:
+) -> list[str]:
     assert not (use_user_site and prefix)
 
     args = make_setuptools_shim_args(
@@ -133,9 +136,9 @@ def make_setuptools_develop_args(
 
 def make_setuptools_egg_info_args(
     setup_py_path: str,
-    egg_info_dir: Optional[str],
+    egg_info_dir: str | None,
     no_user_config: bool,
-) -> List[str]:
+) -> list[str]:
     args = make_setuptools_shim_args(setup_py_path, no_user_config=no_user_config)
 
     args += ["egg_info"]
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/subprocess.py b/.venv/Lib/site-packages/pip/_internal/utils/subprocess.py
index 79580b0..3e7b83f 100644
--- a/.venv/Lib/site-packages/pip/_internal/utils/subprocess.py
+++ b/.venv/Lib/site-packages/pip/_internal/utils/subprocess.py
@@ -1,17 +1,11 @@
+from __future__ import annotations
+
 import logging
 import os
 import shlex
 import subprocess
-from typing import (
-    TYPE_CHECKING,
-    Any,
-    Callable,
-    Iterable,
-    List,
-    Mapping,
-    Optional,
-    Union,
-)
+from collections.abc import Iterable, Mapping
+from typing import Any, Callable, Literal, Union
 
 from pip._vendor.rich.markup import escape
 
@@ -20,16 +14,10 @@ from pip._internal.exceptions import InstallationSubprocessError
 from pip._internal.utils.logging import VERBOSE, subprocess_logger
 from pip._internal.utils.misc import HiddenText
 
-if TYPE_CHECKING:
-    # Literal was introduced in Python 3.8.
-    #
-    # TODO: Remove `if TYPE_CHECKING` when dropping support for Python 3.7.
-    from typing import Literal
-
-CommandArgs = List[Union[str, HiddenText]]
+CommandArgs = list[Union[str, HiddenText]]
 
 
-def make_command(*args: Union[str, HiddenText, CommandArgs]) -> CommandArgs:
+def make_command(*args: str | HiddenText | CommandArgs) -> CommandArgs:
     """
     Create a CommandArgs object.
     """
@@ -46,7 +34,7 @@ def make_command(*args: Union[str, HiddenText, CommandArgs]) -> CommandArgs:
     return command_args
 
 
-def format_command_args(args: Union[List[str], CommandArgs]) -> str:
+def format_command_args(args: list[str] | CommandArgs) -> str:
     """
     Format command arguments for display.
     """
@@ -61,7 +49,7 @@ def format_command_args(args: Union[List[str], CommandArgs]) -> str:
     )
 
 
-def reveal_command_args(args: Union[List[str], CommandArgs]) -> List[str]:
+def reveal_command_args(args: list[str] | CommandArgs) -> list[str]:
     """
     Return the arguments in their raw, unredacted form.
     """
@@ -69,16 +57,16 @@ def reveal_command_args(args: Union[List[str], CommandArgs]) -> List[str]:
 
 
 def call_subprocess(
-    cmd: Union[List[str], CommandArgs],
+    cmd: list[str] | CommandArgs,
     show_stdout: bool = False,
-    cwd: Optional[str] = None,
-    on_returncode: 'Literal["raise", "warn", "ignore"]' = "raise",
-    extra_ok_returncodes: Optional[Iterable[int]] = None,
-    extra_environ: Optional[Mapping[str, Any]] = None,
-    unset_environ: Optional[Iterable[str]] = None,
-    spinner: Optional[SpinnerInterface] = None,
-    log_failed_cmd: Optional[bool] = True,
-    stdout_only: Optional[bool] = False,
+    cwd: str | None = None,
+    on_returncode: Literal["raise", "warn", "ignore"] = "raise",
+    extra_ok_returncodes: Iterable[int] | None = None,
+    extra_environ: Mapping[str, Any] | None = None,
+    unset_environ: Iterable[str] | None = None,
+    spinner: SpinnerInterface | None = None,
+    log_failed_cmd: bool | None = True,
+    stdout_only: bool | None = False,
     *,
     command_desc: str,
 ) -> str:
@@ -244,9 +232,9 @@ def runner_with_spinner_message(message: str) -> Callable[..., None]:
     """
 
     def runner(
-        cmd: List[str],
-        cwd: Optional[str] = None,
-        extra_environ: Optional[Mapping[str, Any]] = None,
+        cmd: list[str],
+        cwd: str | None = None,
+        extra_environ: Mapping[str, Any] | None = None,
     ) -> None:
         with open_spinner(message) as spinner:
             call_subprocess(
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/temp_dir.py b/.venv/Lib/site-packages/pip/_internal/utils/temp_dir.py
index 4eec5f3..a9afa76 100644
--- a/.venv/Lib/site-packages/pip/_internal/utils/temp_dir.py
+++ b/.venv/Lib/site-packages/pip/_internal/utils/temp_dir.py
@@ -1,20 +1,18 @@
+from __future__ import annotations
+
 import errno
 import itertools
 import logging
 import os.path
 import tempfile
 import traceback
+from collections.abc import Generator
 from contextlib import ExitStack, contextmanager
 from pathlib import Path
 from typing import (
     Any,
     Callable,
-    Dict,
-    Generator,
-    List,
-    Optional,
     TypeVar,
-    Union,
 )
 
 from pip._internal.utils.misc import enum, rmtree
@@ -33,7 +31,7 @@ tempdir_kinds = enum(
 )
 
 
-_tempdir_manager: Optional[ExitStack] = None
+_tempdir_manager: ExitStack | None = None
 
 
 @contextmanager
@@ -51,7 +49,7 @@ class TempDirectoryTypeRegistry:
     """Manages temp directory behavior"""
 
     def __init__(self) -> None:
-        self._should_delete: Dict[str, bool] = {}
+        self._should_delete: dict[str, bool] = {}
 
     def set_delete(self, kind: str, value: bool) -> None:
         """Indicate whether a TempDirectory of the given kind should be
@@ -66,7 +64,7 @@ class TempDirectoryTypeRegistry:
         return self._should_delete.get(kind, True)
 
 
-_tempdir_registry: Optional[TempDirectoryTypeRegistry] = None
+_tempdir_registry: TempDirectoryTypeRegistry | None = None
 
 
 @contextmanager
@@ -113,8 +111,8 @@ class TempDirectory:
 
     def __init__(
         self,
-        path: Optional[str] = None,
-        delete: Union[bool, None, _Default] = _default,
+        path: str | None = None,
+        delete: bool | None | _Default = _default,
         kind: str = "temp",
         globally_managed: bool = False,
         ignore_cleanup_errors: bool = True,
@@ -184,7 +182,7 @@ class TempDirectory:
         if not os.path.exists(self._path):
             return
 
-        errors: List[BaseException] = []
+        errors: list[BaseException] = []
 
         def onerror(
             func: Callable[..., Any],
@@ -208,7 +206,7 @@ class TempDirectory:
 
         if self.ignore_cleanup_errors:
             try:
-                # first try with tenacity; retrying to handle ephemeral errors
+                # first try with @retry; retrying to handle ephemeral errors
                 rmtree(self._path, ignore_errors=False)
             except OSError:
                 # last pass ignore/log all errors
@@ -245,7 +243,7 @@ class AdjacentTempDirectory(TempDirectory):
     # with leading '-' and invalid metadata
     LEADING_CHARS = "-~.=%0123456789"
 
-    def __init__(self, original: str, delete: Optional[bool] = None) -> None:
+    def __init__(self, original: str, delete: bool | None = None) -> None:
         self.original = original.rstrip("/\\")
         super().__init__(delete=delete)
 
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/unpacking.py b/.venv/Lib/site-packages/pip/_internal/utils/unpacking.py
index 78b5c13..0ad3129 100644
--- a/.venv/Lib/site-packages/pip/_internal/utils/unpacking.py
+++ b/.venv/Lib/site-packages/pip/_internal/utils/unpacking.py
@@ -1,13 +1,15 @@
-"""Utilities related archives.
-"""
+"""Utilities related archives."""
+
+from __future__ import annotations
 
 import logging
 import os
 import shutil
 import stat
+import sys
 import tarfile
 import zipfile
-from typing import Iterable, List, Optional
+from collections.abc import Iterable
 from zipfile import ZipInfo
 
 from pip._internal.exceptions import InstallationError
@@ -47,7 +49,7 @@ def current_umask() -> int:
     return mask
 
 
-def split_leading_dir(path: str) -> List[str]:
+def split_leading_dir(path: str) -> list[str]:
     path = path.lstrip("/").lstrip("\\")
     if "/" in path and (
         ("\\" in path and path.find("/") < path.find("\\")) or "\\" not in path
@@ -85,12 +87,16 @@ def is_within_directory(directory: str, target: str) -> bool:
     return prefix == abs_directory
 
 
+def _get_default_mode_plus_executable() -> int:
+    return 0o777 & ~current_umask() | 0o111
+
+
 def set_extracted_file_to_default_mode_plus_executable(path: str) -> None:
     """
     Make file present at path have execute for user/group/world
     (chmod +x) is no-op on windows per python docs
     """
-    os.chmod(path, (0o777 & ~current_umask() | 0o111))
+    os.chmod(path, _get_default_mode_plus_executable())
 
 
 def zip_item_is_executable(info: ZipInfo) -> bool:
@@ -127,7 +133,7 @@ def unzip_file(filename: str, location: str, flatten: bool = True) -> None:
                     "outside target directory ({})"
                 )
                 raise InstallationError(message.format(filename, fn, location))
-            if fn.endswith("/") or fn.endswith("\\"):
+            if fn.endswith(("/", "\\")):
                 # A directory
                 ensure_dir(fn)
             else:
@@ -151,8 +157,8 @@ def untar_file(filename: str, location: str) -> None:
     Untar the file (with path `filename`) to the destination `location`.
     All files are written based on system defaults and umask (i.e. permissions
     are not preserved), except that regular file members with any execute
-    permissions (user, group, or world) have "chmod +x" applied after being
-    written.  Note that for windows, any execute changes using os.chmod are
+    permissions (user, group, or world) have "chmod +x" applied on top of the
+    default.  Note that for windows, any execute changes using os.chmod are
     no-ops per the python docs.
     """
     ensure_dir(location)
@@ -170,66 +176,140 @@ def untar_file(filename: str, location: str) -> None:
             filename,
         )
         mode = "r:*"
-    tar = tarfile.open(filename, mode, encoding="utf-8")
+
+    tar = tarfile.open(filename, mode, encoding="utf-8")  # type: ignore
     try:
         leading = has_leading_dir([member.name for member in tar.getmembers()])
-        for member in tar.getmembers():
-            fn = member.name
+
+        # PEP 706 added `tarfile.data_filter`, and made some other changes to
+        # Python's tarfile module (see below). The features were backported to
+        # security releases.
+        try:
+            data_filter = tarfile.data_filter
+        except AttributeError:
+            _untar_without_filter(filename, location, tar, leading)
+        else:
+            default_mode_plus_executable = _get_default_mode_plus_executable()
+
             if leading:
-                fn = split_leading_dir(fn)[1]
-            path = os.path.join(location, fn)
-            if not is_within_directory(location, path):
-                message = (
-                    "The tar file ({}) has a file ({}) trying to install "
-                    "outside target directory ({})"
-                )
-                raise InstallationError(message.format(filename, path, location))
-            if member.isdir():
-                ensure_dir(path)
-            elif member.issym():
+                # Strip the leading directory from all files in the archive,
+                # including hardlink targets (which are relative to the
+                # unpack location).
+                for member in tar.getmembers():
+                    name_lead, name_rest = split_leading_dir(member.name)
+                    member.name = name_rest
+                    if member.islnk():
+                        lnk_lead, lnk_rest = split_leading_dir(member.linkname)
+                        if lnk_lead == name_lead:
+                            member.linkname = lnk_rest
+
+            def pip_filter(member: tarfile.TarInfo, path: str) -> tarfile.TarInfo:
+                orig_mode = member.mode
                 try:
-                    tar._extract_member(member, path)
-                except Exception as exc:
-                    # Some corrupt tar files seem to produce this
-                    # (specifically bad symlinks)
-                    logger.warning(
-                        "In the tar file %s the member %s is invalid: %s",
-                        filename,
-                        member.name,
-                        exc,
+                    try:
+                        member = data_filter(member, location)
+                    except tarfile.LinkOutsideDestinationError:
+                        if sys.version_info[:3] in {
+                            (3, 9, 17),
+                            (3, 10, 12),
+                            (3, 11, 4),
+                        }:
+                            # The tarfile filter in specific Python versions
+                            # raises LinkOutsideDestinationError on valid input
+                            # (https://github.com/python/cpython/issues/107845)
+                            # Ignore the error there, but do use the
+                            # more lax `tar_filter`
+                            member = tarfile.tar_filter(member, location)
+                        else:
+                            raise
+                except tarfile.TarError as exc:
+                    message = "Invalid member in the tar file {}: {}"
+                    # Filter error messages mention the member name.
+                    # No need to add it here.
+                    raise InstallationError(
+                        message.format(
+                            filename,
+                            exc,
+                        )
                     )
-                    continue
-            else:
-                try:
-                    fp = tar.extractfile(member)
-                except (KeyError, AttributeError) as exc:
-                    # Some corrupt tar files seem to produce this
-                    # (specifically bad symlinks)
-                    logger.warning(
-                        "In the tar file %s the member %s is invalid: %s",
-                        filename,
-                        member.name,
-                        exc,
-                    )
-                    continue
-                ensure_dir(os.path.dirname(path))
-                assert fp is not None
-                with open(path, "wb") as destfp:
-                    shutil.copyfileobj(fp, destfp)
-                fp.close()
-                # Update the timestamp (useful for cython compiled files)
-                tar.utime(member, path)
-                # member have any execute permissions for user/group/world?
-                if member.mode & 0o111:
-                    set_extracted_file_to_default_mode_plus_executable(path)
+                if member.isfile() and orig_mode & 0o111:
+                    member.mode = default_mode_plus_executable
+                else:
+                    # See PEP 706 note above.
+                    # The PEP changed this from `int` to `Optional[int]`,
+                    # where None means "use the default". Mypy doesn't
+                    # know this yet.
+                    member.mode = None  # type: ignore [assignment]
+                return member
+
+            tar.extractall(location, filter=pip_filter)
+
     finally:
         tar.close()
 
 
+def _untar_without_filter(
+    filename: str,
+    location: str,
+    tar: tarfile.TarFile,
+    leading: bool,
+) -> None:
+    """Fallback for Python without tarfile.data_filter"""
+    for member in tar.getmembers():
+        fn = member.name
+        if leading:
+            fn = split_leading_dir(fn)[1]
+        path = os.path.join(location, fn)
+        if not is_within_directory(location, path):
+            message = (
+                "The tar file ({}) has a file ({}) trying to install "
+                "outside target directory ({})"
+            )
+            raise InstallationError(message.format(filename, path, location))
+        if member.isdir():
+            ensure_dir(path)
+        elif member.issym():
+            try:
+                tar._extract_member(member, path)
+            except Exception as exc:
+                # Some corrupt tar files seem to produce this
+                # (specifically bad symlinks)
+                logger.warning(
+                    "In the tar file %s the member %s is invalid: %s",
+                    filename,
+                    member.name,
+                    exc,
+                )
+                continue
+        else:
+            try:
+                fp = tar.extractfile(member)
+            except (KeyError, AttributeError) as exc:
+                # Some corrupt tar files seem to produce this
+                # (specifically bad symlinks)
+                logger.warning(
+                    "In the tar file %s the member %s is invalid: %s",
+                    filename,
+                    member.name,
+                    exc,
+                )
+                continue
+            ensure_dir(os.path.dirname(path))
+            assert fp is not None
+            with open(path, "wb") as destfp:
+                shutil.copyfileobj(fp, destfp)
+            fp.close()
+            # Update the timestamp (useful for cython compiled files)
+            tar.utime(member, path)
+            # member have any execute permissions for user/group/world?
+            if member.mode & 0o111:
+                set_extracted_file_to_default_mode_plus_executable(path)
+
+
 def unpack_file(
     filename: str,
     location: str,
-    content_type: Optional[str] = None,
+    content_type: str | None = None,
 ) -> None:
     filename = os.path.realpath(filename)
     if (
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/urls.py b/.venv/Lib/site-packages/pip/_internal/utils/urls.py
index 6ba2e04..e951a5e 100644
--- a/.venv/Lib/site-packages/pip/_internal/utils/urls.py
+++ b/.venv/Lib/site-packages/pip/_internal/utils/urls.py
@@ -2,24 +2,17 @@ import os
 import string
 import urllib.parse
 import urllib.request
-from typing import Optional
 
 from .compat import WINDOWS
 
 
-def get_url_scheme(url: str) -> Optional[str]:
-    if ":" not in url:
-        return None
-    return url.split(":", 1)[0].lower()
-
-
 def path_to_url(path: str) -> str:
     """
     Convert a path to a file: URL.  The path will be made absolute and have
     quoted path parts.
     """
     path = os.path.normpath(os.path.abspath(path))
-    url = urllib.parse.urljoin("file:", urllib.request.pathname2url(path))
+    url = urllib.parse.urljoin("file://", urllib.request.pathname2url(path))
     return url
 
 
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/virtualenv.py b/.venv/Lib/site-packages/pip/_internal/utils/virtualenv.py
index 882e36f..b1742a3 100644
--- a/.venv/Lib/site-packages/pip/_internal/utils/virtualenv.py
+++ b/.venv/Lib/site-packages/pip/_internal/utils/virtualenv.py
@@ -1,9 +1,10 @@
+from __future__ import annotations
+
 import logging
 import os
 import re
 import site
 import sys
-from typing import List, Optional
 
 logger = logging.getLogger(__name__)
 _INCLUDE_SYSTEM_SITE_PACKAGES_REGEX = re.compile(
@@ -33,7 +34,7 @@ def running_under_virtualenv() -> bool:
     return _running_under_venv() or _running_under_legacy_virtualenv()
 
 
-def _get_pyvenv_cfg_lines() -> Optional[List[str]]:
+def _get_pyvenv_cfg_lines() -> list[str] | None:
     """Reads {sys.prefix}/pyvenv.cfg and returns its contents as list of lines
 
     Returns None, if it could not read/access the file.
diff --git a/.venv/Lib/site-packages/pip/_internal/utils/wheel.py b/.venv/Lib/site-packages/pip/_internal/utils/wheel.py
index 3551f8f..789e736 100644
--- a/.venv/Lib/site-packages/pip/_internal/utils/wheel.py
+++ b/.venv/Lib/site-packages/pip/_internal/utils/wheel.py
@@ -1,10 +1,8 @@
-"""Support functions for working with wheel files.
-"""
+"""Support functions for working with wheel files."""
 
 import logging
 from email.message import Message
 from email.parser import Parser
-from typing import Tuple
 from zipfile import BadZipFile, ZipFile
 
 from pip._vendor.packaging.utils import canonicalize_name
@@ -17,7 +15,7 @@ VERSION_COMPATIBLE = (1, 0)
 logger = logging.getLogger(__name__)
 
 
-def parse_wheel(wheel_zip: ZipFile, name: str) -> Tuple[str, Message]:
+def parse_wheel(wheel_zip: ZipFile, name: str) -> tuple[str, Message]:
     """Extract information from the provided wheel, ensuring it meets basic
     standards.
 
@@ -28,7 +26,7 @@ def parse_wheel(wheel_zip: ZipFile, name: str) -> Tuple[str, Message]:
         metadata = wheel_metadata(wheel_zip, info_dir)
         version = wheel_version(metadata)
     except UnsupportedWheel as e:
-        raise UnsupportedWheel(f"{name} has an invalid wheel, {str(e)}")
+        raise UnsupportedWheel(f"{name} has an invalid wheel, {e}")
 
     check_compatibility(version, name)
 
@@ -94,7 +92,7 @@ def wheel_metadata(source: ZipFile, dist_info_dir: str) -> Message:
     return Parser().parsestr(wheel_text)
 
 
-def wheel_version(wheel_data: Message) -> Tuple[int, ...]:
+def wheel_version(wheel_data: Message) -> tuple[int, ...]:
     """Given WHEEL metadata, return the parsed Wheel-Version.
     Otherwise, raise UnsupportedWheel.
     """
@@ -110,7 +108,7 @@ def wheel_version(wheel_data: Message) -> Tuple[int, ...]:
         raise UnsupportedWheel(f"invalid Wheel-Version: {version!r}")
 
 
-def check_compatibility(version: Tuple[int, ...], name: str) -> None:
+def check_compatibility(version: tuple[int, ...], name: str) -> None:
     """Raises errors or warns if called with an incompatible Wheel-Version.
 
     pip should refuse to install a Wheel-Version that's a major series
diff --git a/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/__init__.cpython-311.pyc
index b94dc34..78e296a 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/bazaar.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/bazaar.cpython-311.pyc
index 508fc9a..3f5dace 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/bazaar.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/bazaar.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/git.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/git.cpython-311.pyc
index 08c0bb3..d046667 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/git.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/git.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/mercurial.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/mercurial.cpython-311.pyc
index d9f6aa9..06a315f 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/mercurial.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/mercurial.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/subversion.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/subversion.cpython-311.pyc
index c3f464c..5afd65e 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/subversion.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/subversion.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/versioncontrol.cpython-311.pyc b/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/versioncontrol.cpython-311.pyc
index e62f791..b04423f 100644
Binary files a/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/versioncontrol.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_internal/vcs/__pycache__/versioncontrol.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_internal/vcs/bazaar.py b/.venv/Lib/site-packages/pip/_internal/vcs/bazaar.py
index 20a17ed..3a8a21e 100644
--- a/.venv/Lib/site-packages/pip/_internal/vcs/bazaar.py
+++ b/.venv/Lib/site-packages/pip/_internal/vcs/bazaar.py
@@ -1,5 +1,6 @@
+from __future__ import annotations
+
 import logging
-from typing import List, Optional, Tuple
 
 from pip._internal.utils.misc import HiddenText, display_path
 from pip._internal.utils.subprocess import make_command
@@ -30,7 +31,7 @@ class Bazaar(VersionControl):
     )
 
     @staticmethod
-    def get_base_rev_args(rev: str) -> List[str]:
+    def get_base_rev_args(rev: str) -> list[str]:
         return ["-r", rev]
 
     def fetch_new(
@@ -44,34 +45,51 @@ class Bazaar(VersionControl):
             display_path(dest),
         )
         if verbosity <= 0:
-            flag = "--quiet"
+            flags = ["--quiet"]
         elif verbosity == 1:
-            flag = ""
+            flags = []
         else:
-            flag = f"-{'v'*verbosity}"
+            flags = [f"-{'v'*verbosity}"]
         cmd_args = make_command(
-            "checkout", "--lightweight", flag, rev_options.to_args(), url, dest
+            "checkout", "--lightweight", *flags, rev_options.to_args(), url, dest
         )
         self.run_command(cmd_args)
 
-    def switch(self, dest: str, url: HiddenText, rev_options: RevOptions) -> None:
+    def switch(
+        self,
+        dest: str,
+        url: HiddenText,
+        rev_options: RevOptions,
+        verbosity: int = 0,
+    ) -> None:
         self.run_command(make_command("switch", url), cwd=dest)
 
-    def update(self, dest: str, url: HiddenText, rev_options: RevOptions) -> None:
+    def update(
+        self,
+        dest: str,
+        url: HiddenText,
+        rev_options: RevOptions,
+        verbosity: int = 0,
+    ) -> None:
+        flags = []
+
+        if verbosity <= 0:
+            flags.append("-q")
+
         output = self.run_command(
             make_command("info"), show_stdout=False, stdout_only=True, cwd=dest
         )
         if output.startswith("Standalone "):
             # Older versions of pip used to create standalone branches.
             # Convert the standalone branch to a checkout by calling "bzr bind".
-            cmd_args = make_command("bind", "-q", url)
+            cmd_args = make_command("bind", *flags, url)
             self.run_command(cmd_args, cwd=dest)
 
-        cmd_args = make_command("update", "-q", rev_options.to_args())
+        cmd_args = make_command("update", *flags, rev_options.to_args())
         self.run_command(cmd_args, cwd=dest)
 
     @classmethod
-    def get_url_rev_and_auth(cls, url: str) -> Tuple[str, Optional[str], AuthInfo]:
+    def get_url_rev_and_auth(cls, url: str) -> tuple[str, str | None, AuthInfo]:
         # hotfix the URL scheme after removing bzr+ from bzr+ssh:// re-add it
         url, rev, user_pass = super().get_url_rev_and_auth(url)
         if url.startswith("ssh://"):
@@ -104,7 +122,7 @@ class Bazaar(VersionControl):
         return revision.splitlines()[-1]
 
     @classmethod
-    def is_commit_id_equal(cls, dest: str, name: Optional[str]) -> bool:
+    def is_commit_id_equal(cls, dest: str, name: str | None) -> bool:
         """Always assume the versions don't match"""
         return False
 
diff --git a/.venv/Lib/site-packages/pip/_internal/vcs/git.py b/.venv/Lib/site-packages/pip/_internal/vcs/git.py
index 8c242cf..1769da7 100644
--- a/.venv/Lib/site-packages/pip/_internal/vcs/git.py
+++ b/.venv/Lib/site-packages/pip/_internal/vcs/git.py
@@ -1,10 +1,13 @@
+from __future__ import annotations
+
 import logging
 import os.path
 import pathlib
 import re
 import urllib.parse
 import urllib.request
-from typing import List, Optional, Tuple
+from dataclasses import replace
+from typing import Any
 
 from pip._internal.exceptions import BadCommand, InstallationError
 from pip._internal.utils.misc import HiddenText, display_path, hide_url
@@ -73,9 +76,18 @@ class Git(VersionControl):
     default_arg_rev = "HEAD"
 
     @staticmethod
-    def get_base_rev_args(rev: str) -> List[str]:
+    def get_base_rev_args(rev: str) -> list[str]:
         return [rev]
 
+    @classmethod
+    def run_command(cls, *args: Any, **kwargs: Any) -> str:
+        if os.environ.get("PIP_NO_INPUT"):
+            extra_environ = kwargs.get("extra_environ", {})
+            extra_environ["GIT_TERMINAL_PROMPT"] = "0"
+            extra_environ["GIT_SSH_COMMAND"] = "ssh -oBatchMode=yes"
+            kwargs["extra_environ"] = extra_environ
+        return super().run_command(*args, **kwargs)
+
     def is_immutable_rev_checkout(self, url: str, dest: str) -> bool:
         _, rev_options = self.get_url_rev_options(hide_url(url))
         if not rev_options.rev:
@@ -90,7 +102,7 @@ class Git(VersionControl):
         is_tag_or_branch = bool(self.get_revision_sha(dest, rev_options.rev)[0])
         return not is_tag_or_branch
 
-    def get_git_version(self) -> Tuple[int, ...]:
+    def get_git_version(self) -> tuple[int, ...]:
         version = self.run_command(
             ["version"],
             command_desc="git version",
@@ -104,7 +116,7 @@ class Git(VersionControl):
         return (int(match.group(1)), int(match.group(2)))
 
     @classmethod
-    def get_current_branch(cls, location: str) -> Optional[str]:
+    def get_current_branch(cls, location: str) -> str | None:
         """
         Return the current branch, or None if HEAD isn't at a branch
         (e.g. detached HEAD).
@@ -129,7 +141,7 @@ class Git(VersionControl):
         return None
 
     @classmethod
-    def get_revision_sha(cls, dest: str, rev: str) -> Tuple[Optional[str], bool]:
+    def get_revision_sha(cls, dest: str, rev: str) -> tuple[str | None, bool]:
         """
         Return (sha_or_none, is_branch), where sha_or_none is a commit hash
         if the revision names a remote branch or tag, otherwise None.
@@ -217,14 +229,14 @@ class Git(VersionControl):
 
         if sha is not None:
             rev_options = rev_options.make_new(sha)
-            rev_options.branch_name = rev if is_branch else None
+            rev_options = replace(rev_options, branch_name=(rev if is_branch else None))
 
             return rev_options
 
         # Do not show a warning for the common case of something that has
         # the form of a Git commit hash.
         if not looks_like_hash(rev):
-            logger.warning(
+            logger.info(
                 "Did not find branch or tag '%s', assuming revision or ref.",
                 rev,
             )
@@ -244,7 +256,7 @@ class Git(VersionControl):
         return rev_options
 
     @classmethod
-    def is_commit_id_equal(cls, dest: str, name: Optional[str]) -> bool:
+    def is_commit_id_equal(cls, dest: str, name: str | None) -> bool:
         """
         Return whether the current commit hash equals the given name.
 
@@ -264,7 +276,7 @@ class Git(VersionControl):
         rev_display = rev_options.to_display()
         logger.info("Cloning %s%s to %s", url, rev_display, display_path(dest))
         if verbosity <= 0:
-            flags: Tuple[str, ...] = ("--quiet",)
+            flags: tuple[str, ...] = ("--quiet",)
         elif verbosity == 1:
             flags = ()
         else:
@@ -319,31 +331,59 @@ class Git(VersionControl):
         logger.info("Resolved %s to commit %s", url, rev_options.rev)
 
         #: repo may contain submodules
-        self.update_submodules(dest)
+        self.update_submodules(dest, verbosity=verbosity)
 
-    def switch(self, dest: str, url: HiddenText, rev_options: RevOptions) -> None:
+    def switch(
+        self,
+        dest: str,
+        url: HiddenText,
+        rev_options: RevOptions,
+        verbosity: int = 0,
+    ) -> None:
         self.run_command(
             make_command("config", "remote.origin.url", url),
             cwd=dest,
         )
-        cmd_args = make_command("checkout", "-q", rev_options.to_args())
+
+        extra_flags = []
+
+        if verbosity <= 0:
+            extra_flags.append("-q")
+
+        cmd_args = make_command("checkout", *extra_flags, rev_options.to_args())
         self.run_command(cmd_args, cwd=dest)
 
-        self.update_submodules(dest)
+        self.update_submodules(dest, verbosity=verbosity)
+
+    def update(
+        self,
+        dest: str,
+        url: HiddenText,
+        rev_options: RevOptions,
+        verbosity: int = 0,
+    ) -> None:
+        extra_flags = []
+
+        if verbosity <= 0:
+            extra_flags.append("-q")
 
-    def update(self, dest: str, url: HiddenText, rev_options: RevOptions) -> None:
         # First fetch changes from the default remote
         if self.get_git_version() >= (1, 9):
             # fetch tags in addition to everything else
-            self.run_command(["fetch", "-q", "--tags"], cwd=dest)
+            self.run_command(["fetch", "--tags", *extra_flags], cwd=dest)
         else:
-            self.run_command(["fetch", "-q"], cwd=dest)
+            self.run_command(["fetch", *extra_flags], cwd=dest)
         # Then reset to wanted revision (maybe even origin/master)
         rev_options = self.resolve_revision(dest, url, rev_options)
-        cmd_args = make_command("reset", "--hard", "-q", rev_options.to_args())
+        cmd_args = make_command(
+            "reset",
+            "--hard",
+            *extra_flags,
+            rev_options.to_args(),
+        )
         self.run_command(cmd_args, cwd=dest)
         #: update submodules
-        self.update_submodules(dest)
+        self.update_submodules(dest, verbosity=verbosity)
 
     @classmethod
     def get_remote_url(cls, location: str) -> str:
@@ -423,7 +463,7 @@ class Git(VersionControl):
             return True
 
     @classmethod
-    def get_revision(cls, location: str, rev: Optional[str] = None) -> str:
+    def get_revision(cls, location: str, rev: str | None = None) -> str:
         if rev is None:
             rev = "HEAD"
         current_rev = cls.run_command(
@@ -435,7 +475,7 @@ class Git(VersionControl):
         return current_rev.strip()
 
     @classmethod
-    def get_subdirectory(cls, location: str) -> Optional[str]:
+    def get_subdirectory(cls, location: str) -> str | None:
         """
         Return the path to Python project root, relative to the repo root.
         Return None if the project root is in the repo root.
@@ -453,7 +493,7 @@ class Git(VersionControl):
         return find_path_to_project_root_from_repo_root(location, repo_root)
 
     @classmethod
-    def get_url_rev_and_auth(cls, url: str) -> Tuple[str, Optional[str], AuthInfo]:
+    def get_url_rev_and_auth(cls, url: str) -> tuple[str, str | None, AuthInfo]:
         """
         Prefixes stub URLs like 'user@hostname:user/repo.git' with 'ssh://'.
         That's required because although they use SSH they sometimes don't
@@ -484,16 +524,21 @@ class Git(VersionControl):
         return url, rev, user_pass
 
     @classmethod
-    def update_submodules(cls, location: str) -> None:
+    def update_submodules(cls, location: str, verbosity: int = 0) -> None:
+        argv = ["submodule", "update", "--init", "--recursive"]
+
+        if verbosity <= 0:
+            argv.append("-q")
+
         if not os.path.exists(os.path.join(location, ".gitmodules")):
             return
         cls.run_command(
-            ["submodule", "update", "--init", "--recursive", "-q"],
+            argv,
             cwd=location,
         )
 
     @classmethod
-    def get_repository_root(cls, location: str) -> Optional[str]:
+    def get_repository_root(cls, location: str) -> str | None:
         loc = super().get_repository_root(location)
         if loc:
             return loc
diff --git a/.venv/Lib/site-packages/pip/_internal/vcs/mercurial.py b/.venv/Lib/site-packages/pip/_internal/vcs/mercurial.py
index c183d41..c875803 100644
--- a/.venv/Lib/site-packages/pip/_internal/vcs/mercurial.py
+++ b/.venv/Lib/site-packages/pip/_internal/vcs/mercurial.py
@@ -1,7 +1,8 @@
+from __future__ import annotations
+
 import configparser
 import logging
 import os
-from typing import List, Optional, Tuple
 
 from pip._internal.exceptions import BadCommand, InstallationError
 from pip._internal.utils.misc import HiddenText, display_path
@@ -30,7 +31,7 @@ class Mercurial(VersionControl):
     )
 
     @staticmethod
-    def get_base_rev_args(rev: str) -> List[str]:
+    def get_base_rev_args(rev: str) -> list[str]:
         return [f"--rev={rev}"]
 
     def fetch_new(
@@ -44,7 +45,7 @@ class Mercurial(VersionControl):
             display_path(dest),
         )
         if verbosity <= 0:
-            flags: Tuple[str, ...] = ("--quiet",)
+            flags: tuple[str, ...] = ("--quiet",)
         elif verbosity == 1:
             flags = ()
         elif verbosity == 2:
@@ -57,9 +58,20 @@ class Mercurial(VersionControl):
             cwd=dest,
         )
 
-    def switch(self, dest: str, url: HiddenText, rev_options: RevOptions) -> None:
+    def switch(
+        self,
+        dest: str,
+        url: HiddenText,
+        rev_options: RevOptions,
+        verbosity: int = 0,
+    ) -> None:
+        extra_flags = []
         repo_config = os.path.join(dest, self.dirname, "hgrc")
         config = configparser.RawConfigParser()
+
+        if verbosity <= 0:
+            extra_flags.append("-q")
+
         try:
             config.read(repo_config)
             config.set("paths", "default", url.secret)
@@ -68,12 +80,23 @@ class Mercurial(VersionControl):
         except (OSError, configparser.NoSectionError) as exc:
             logger.warning("Could not switch Mercurial repository to %s: %s", url, exc)
         else:
-            cmd_args = make_command("update", "-q", rev_options.to_args())
+            cmd_args = make_command("update", *extra_flags, rev_options.to_args())
             self.run_command(cmd_args, cwd=dest)
 
-    def update(self, dest: str, url: HiddenText, rev_options: RevOptions) -> None:
-        self.run_command(["pull", "-q"], cwd=dest)
-        cmd_args = make_command("update", "-q", rev_options.to_args())
+    def update(
+        self,
+        dest: str,
+        url: HiddenText,
+        rev_options: RevOptions,
+        verbosity: int = 0,
+    ) -> None:
+        extra_flags = []
+
+        if verbosity <= 0:
+            extra_flags.append("-q")
+
+        self.run_command(["pull", *extra_flags], cwd=dest)
+        cmd_args = make_command("update", *extra_flags, rev_options.to_args())
         self.run_command(cmd_args, cwd=dest)
 
     @classmethod
@@ -116,12 +139,12 @@ class Mercurial(VersionControl):
         return current_rev_hash
 
     @classmethod
-    def is_commit_id_equal(cls, dest: str, name: Optional[str]) -> bool:
+    def is_commit_id_equal(cls, dest: str, name: str | None) -> bool:
         """Always assume the versions don't match"""
         return False
 
     @classmethod
-    def get_subdirectory(cls, location: str) -> Optional[str]:
+    def get_subdirectory(cls, location: str) -> str | None:
         """
         Return the path to Python project root, relative to the repo root.
         Return None if the project root is in the repo root.
@@ -135,7 +158,7 @@ class Mercurial(VersionControl):
         return find_path_to_project_root_from_repo_root(location, repo_root)
 
     @classmethod
-    def get_repository_root(cls, location: str) -> Optional[str]:
+    def get_repository_root(cls, location: str) -> str | None:
         loc = super().get_repository_root(location)
         if loc:
             return loc
diff --git a/.venv/Lib/site-packages/pip/_internal/vcs/subversion.py b/.venv/Lib/site-packages/pip/_internal/vcs/subversion.py
index 16d93a6..579f428 100644
--- a/.venv/Lib/site-packages/pip/_internal/vcs/subversion.py
+++ b/.venv/Lib/site-packages/pip/_internal/vcs/subversion.py
@@ -1,7 +1,8 @@
+from __future__ import annotations
+
 import logging
 import os
 import re
-from typing import List, Optional, Tuple
 
 from pip._internal.utils.misc import (
     HiddenText,
@@ -38,7 +39,7 @@ class Subversion(VersionControl):
         return True
 
     @staticmethod
-    def get_base_rev_args(rev: str) -> List[str]:
+    def get_base_rev_args(rev: str) -> list[str]:
         return ["-r", rev]
 
     @classmethod
@@ -73,7 +74,7 @@ class Subversion(VersionControl):
     @classmethod
     def get_netloc_and_auth(
         cls, netloc: str, scheme: str
-    ) -> Tuple[str, Tuple[Optional[str], Optional[str]]]:
+    ) -> tuple[str, tuple[str | None, str | None]]:
         """
         This override allows the auth information to be passed to svn via the
         --username and --password options instead of via the URL.
@@ -86,7 +87,7 @@ class Subversion(VersionControl):
         return split_auth_from_netloc(netloc)
 
     @classmethod
-    def get_url_rev_and_auth(cls, url: str) -> Tuple[str, Optional[str], AuthInfo]:
+    def get_url_rev_and_auth(cls, url: str) -> tuple[str, str | None, AuthInfo]:
         # hotfix the URL scheme after removing svn+ from svn+ssh:// re-add it
         url, rev, user_pass = super().get_url_rev_and_auth(url)
         if url.startswith("ssh://"):
@@ -94,9 +95,7 @@ class Subversion(VersionControl):
         return url, rev, user_pass
 
     @staticmethod
-    def make_rev_args(
-        username: Optional[str], password: Optional[HiddenText]
-    ) -> CommandArgs:
+    def make_rev_args(username: str | None, password: HiddenText | None) -> CommandArgs:
         extra_args: CommandArgs = []
         if username:
             extra_args += ["--username", username]
@@ -130,7 +129,7 @@ class Subversion(VersionControl):
         return url
 
     @classmethod
-    def _get_svn_url_rev(cls, location: str) -> Tuple[Optional[str], int]:
+    def _get_svn_url_rev(cls, location: str) -> tuple[str | None, int]:
         from pip._internal.exceptions import InstallationError
 
         entries_path = os.path.join(location, cls.dirname, "entries")
@@ -141,7 +140,7 @@ class Subversion(VersionControl):
             data = ""
 
         url = None
-        if data.startswith("8") or data.startswith("9") or data.startswith("10"):
+        if data.startswith(("8", "9", "10")):
             entries = list(map(str.splitlines, data.split("\n\x0c\n")))
             del entries[0][0]  # get rid of the '8'
             url = entries[0][3]
@@ -180,11 +179,11 @@ class Subversion(VersionControl):
         return url, rev
 
     @classmethod
-    def is_commit_id_equal(cls, dest: str, name: Optional[str]) -> bool:
+    def is_commit_id_equal(cls, dest: str, name: str | None) -> bool:
         """Always assume the versions don't match"""
         return False
 
-    def __init__(self, use_interactive: Optional[bool] = None) -> None:
+    def __init__(self, use_interactive: bool | None = None) -> None:
         if use_interactive is None:
             use_interactive = is_console_interactive()
         self.use_interactive = use_interactive
@@ -194,11 +193,11 @@ class Subversion(VersionControl):
         # Special value definitions:
         #   None: Not evaluated yet.
         #   Empty tuple: Could not parse version.
-        self._vcs_version: Optional[Tuple[int, ...]] = None
+        self._vcs_version: tuple[int, ...] | None = None
 
         super().__init__()
 
-    def call_vcs_version(self) -> Tuple[int, ...]:
+    def call_vcs_version(self) -> tuple[int, ...]:
         """Query the version of the currently installed Subversion client.
 
         :return: A tuple containing the parts of the version information or
@@ -226,7 +225,7 @@ class Subversion(VersionControl):
 
         return parsed_version
 
-    def get_vcs_version(self) -> Tuple[int, ...]:
+    def get_vcs_version(self) -> tuple[int, ...]:
         """Return the version of the currently installed Subversion client.
 
         If the version of the Subversion client has already been queried,
@@ -288,12 +287,12 @@ class Subversion(VersionControl):
             display_path(dest),
         )
         if verbosity <= 0:
-            flag = "--quiet"
+            flags = ["--quiet"]
         else:
-            flag = ""
+            flags = []
         cmd_args = make_command(
             "checkout",
-            flag,
+            *flags,
             self.get_remote_call_options(),
             rev_options.to_args(),
             url,
@@ -301,7 +300,13 @@ class Subversion(VersionControl):
         )
         self.run_command(cmd_args)
 
-    def switch(self, dest: str, url: HiddenText, rev_options: RevOptions) -> None:
+    def switch(
+        self,
+        dest: str,
+        url: HiddenText,
+        rev_options: RevOptions,
+        verbosity: int = 0,
+    ) -> None:
         cmd_args = make_command(
             "switch",
             self.get_remote_call_options(),
@@ -311,7 +316,13 @@ class Subversion(VersionControl):
         )
         self.run_command(cmd_args)
 
-    def update(self, dest: str, url: HiddenText, rev_options: RevOptions) -> None:
+    def update(
+        self,
+        dest: str,
+        url: HiddenText,
+        rev_options: RevOptions,
+        verbosity: int = 0,
+    ) -> None:
         cmd_args = make_command(
             "update",
             self.get_remote_call_options(),
diff --git a/.venv/Lib/site-packages/pip/_internal/vcs/versioncontrol.py b/.venv/Lib/site-packages/pip/_internal/vcs/versioncontrol.py
index 46ca279..4e91ccd 100644
--- a/.venv/Lib/site-packages/pip/_internal/vcs/versioncontrol.py
+++ b/.venv/Lib/site-packages/pip/_internal/vcs/versioncontrol.py
@@ -1,22 +1,18 @@
 """Handles all VCS (version control) support"""
 
+from __future__ import annotations
+
 import logging
 import os
 import shutil
 import sys
 import urllib.parse
+from collections.abc import Iterable, Iterator, Mapping
+from dataclasses import dataclass, field
 from typing import (
-    TYPE_CHECKING,
     Any,
-    Dict,
-    Iterable,
-    Iterator,
-    List,
-    Mapping,
+    Literal,
     Optional,
-    Tuple,
-    Type,
-    Union,
 )
 
 from pip._internal.cli.spinners import SpinnerInterface
@@ -37,35 +33,27 @@ from pip._internal.utils.subprocess import (
     format_command_args,
     make_command,
 )
-from pip._internal.utils.urls import get_url_scheme
-
-if TYPE_CHECKING:
-    # Literal was introduced in Python 3.8.
-    #
-    # TODO: Remove `if TYPE_CHECKING` when dropping support for Python 3.7.
-    from typing import Literal
-
 
 __all__ = ["vcs"]
 
 
 logger = logging.getLogger(__name__)
 
-AuthInfo = Tuple[Optional[str], Optional[str]]
+AuthInfo = tuple[Optional[str], Optional[str]]
 
 
 def is_url(name: str) -> bool:
     """
     Return true if the name looks like a URL.
     """
-    scheme = get_url_scheme(name)
-    if scheme is None:
+    scheme = urllib.parse.urlsplit(name).scheme
+    if not scheme:
         return False
     return scheme in ["http", "https", "file", "ftp"] + vcs.all_schemes
 
 
 def make_vcs_requirement_url(
-    repo_url: str, rev: str, project_name: str, subdir: Optional[str] = None
+    repo_url: str, rev: str, project_name: str, subdir: str | None = None
 ) -> str:
     """
     Return the URL for a VCS requirement.
@@ -84,7 +72,7 @@ def make_vcs_requirement_url(
 
 def find_path_to_project_root_from_repo_root(
     location: str, repo_root: str
-) -> Optional[str]:
+) -> str | None:
     """
     Find the the Python project's root by searching up the filesystem from
     `location`. Return the path to project root relative to `repo_root`.
@@ -121,40 +109,28 @@ class RemoteNotValidError(Exception):
         self.url = url
 
 
+@dataclass(frozen=True)
 class RevOptions:
-
     """
     Encapsulates a VCS-specific revision to install, along with any VCS
     install options.
 
-    Instances of this class should be treated as if immutable.
+    Args:
+        vc_class: a VersionControl subclass.
+        rev: the name of the revision to install.
+        extra_args: a list of extra options.
     """
 
-    def __init__(
-        self,
-        vc_class: Type["VersionControl"],
-        rev: Optional[str] = None,
-        extra_args: Optional[CommandArgs] = None,
-    ) -> None:
-        """
-        Args:
-          vc_class: a VersionControl subclass.
-          rev: the name of the revision to install.
-          extra_args: a list of extra options.
-        """
-        if extra_args is None:
-            extra_args = []
-
-        self.extra_args = extra_args
-        self.rev = rev
-        self.vc_class = vc_class
-        self.branch_name: Optional[str] = None
+    vc_class: type[VersionControl]
+    rev: str | None = None
+    extra_args: CommandArgs = field(default_factory=list)
+    branch_name: str | None = None
 
     def __repr__(self) -> str:
         return f""
 
     @property
-    def arg_rev(self) -> Optional[str]:
+    def arg_rev(self) -> str | None:
         if self.rev is None:
             return self.vc_class.default_arg_rev
 
@@ -178,7 +154,7 @@ class RevOptions:
 
         return f" (to revision {self.rev})"
 
-    def make_new(self, rev: str) -> "RevOptions":
+    def make_new(self, rev: str) -> RevOptions:
         """
         Make a copy of the current instance, but with a new rev.
 
@@ -189,7 +165,7 @@ class RevOptions:
 
 
 class VcsSupport:
-    _registry: Dict[str, "VersionControl"] = {}
+    _registry: dict[str, VersionControl] = {}
     schemes = ["ssh", "git", "hg", "bzr", "sftp", "svn"]
 
     def __init__(self) -> None:
@@ -202,21 +178,21 @@ class VcsSupport:
         return self._registry.__iter__()
 
     @property
-    def backends(self) -> List["VersionControl"]:
+    def backends(self) -> list[VersionControl]:
         return list(self._registry.values())
 
     @property
-    def dirnames(self) -> List[str]:
+    def dirnames(self) -> list[str]:
         return [backend.dirname for backend in self.backends]
 
     @property
-    def all_schemes(self) -> List[str]:
-        schemes: List[str] = []
+    def all_schemes(self) -> list[str]:
+        schemes: list[str] = []
         for backend in self.backends:
             schemes.extend(backend.schemes)
         return schemes
 
-    def register(self, cls: Type["VersionControl"]) -> None:
+    def register(self, cls: type[VersionControl]) -> None:
         if not hasattr(cls, "name"):
             logger.warning("Cannot register VCS %s", cls.__name__)
             return
@@ -228,7 +204,7 @@ class VcsSupport:
         if name in self._registry:
             del self._registry[name]
 
-    def get_backend_for_dir(self, location: str) -> Optional["VersionControl"]:
+    def get_backend_for_dir(self, location: str) -> VersionControl | None:
         """
         Return a VersionControl object if a repository of that type is found
         at the given directory.
@@ -251,7 +227,7 @@ class VcsSupport:
         inner_most_repo_path = max(vcs_backends, key=len)
         return vcs_backends[inner_most_repo_path]
 
-    def get_backend_for_scheme(self, scheme: str) -> Optional["VersionControl"]:
+    def get_backend_for_scheme(self, scheme: str) -> VersionControl | None:
         """
         Return a VersionControl object or None.
         """
@@ -260,7 +236,7 @@ class VcsSupport:
                 return vcs_backend
         return None
 
-    def get_backend(self, name: str) -> Optional["VersionControl"]:
+    def get_backend(self, name: str) -> VersionControl | None:
         """
         Return a VersionControl object or None.
         """
@@ -276,10 +252,10 @@ class VersionControl:
     dirname = ""
     repo_name = ""
     # List of supported schemes for this Version Control
-    schemes: Tuple[str, ...] = ()
+    schemes: tuple[str, ...] = ()
     # Iterable of environment variable names to pass to call_subprocess().
-    unset_environ: Tuple[str, ...] = ()
-    default_arg_rev: Optional[str] = None
+    unset_environ: tuple[str, ...] = ()
+    default_arg_rev: str | None = None
 
     @classmethod
     def should_add_vcs_url_prefix(cls, remote_url: str) -> bool:
@@ -290,7 +266,7 @@ class VersionControl:
         return not remote_url.lower().startswith(f"{cls.name}:")
 
     @classmethod
-    def get_subdirectory(cls, location: str) -> Optional[str]:
+    def get_subdirectory(cls, location: str) -> str | None:
         """
         Return the path to Python project root, relative to the repo root.
         Return None if the project root is in the repo root.
@@ -329,7 +305,7 @@ class VersionControl:
         return req
 
     @staticmethod
-    def get_base_rev_args(rev: str) -> List[str]:
+    def get_base_rev_args(rev: str) -> list[str]:
         """
         Return the base revision arguments for a vcs command.
 
@@ -353,7 +329,7 @@ class VersionControl:
 
     @classmethod
     def make_rev_options(
-        cls, rev: Optional[str] = None, extra_args: Optional[CommandArgs] = None
+        cls, rev: str | None = None, extra_args: CommandArgs | None = None
     ) -> RevOptions:
         """
         Return a RevOptions object.
@@ -362,7 +338,7 @@ class VersionControl:
           rev: the name of a revision to install.
           extra_args: a list of extra options.
         """
-        return RevOptions(cls, rev, extra_args=extra_args)
+        return RevOptions(cls, rev, extra_args=extra_args or [])
 
     @classmethod
     def _is_local_repository(cls, repo: str) -> bool:
@@ -376,7 +352,7 @@ class VersionControl:
     @classmethod
     def get_netloc_and_auth(
         cls, netloc: str, scheme: str
-    ) -> Tuple[str, Tuple[Optional[str], Optional[str]]]:
+    ) -> tuple[str, tuple[str | None, str | None]]:
         """
         Parse the repository URL's netloc, and return the new netloc to use
         along with auth information.
@@ -395,7 +371,7 @@ class VersionControl:
         return netloc, (None, None)
 
     @classmethod
-    def get_url_rev_and_auth(cls, url: str) -> Tuple[str, Optional[str], AuthInfo]:
+    def get_url_rev_and_auth(cls, url: str) -> tuple[str, str | None, AuthInfo]:
         """
         Parse the repository URL to use, and return the URL, revision,
         and auth info to use.
@@ -425,22 +401,20 @@ class VersionControl:
         return url, rev, user_pass
 
     @staticmethod
-    def make_rev_args(
-        username: Optional[str], password: Optional[HiddenText]
-    ) -> CommandArgs:
+    def make_rev_args(username: str | None, password: HiddenText | None) -> CommandArgs:
         """
         Return the RevOptions "extra arguments" to use in obtain().
         """
         return []
 
-    def get_url_rev_options(self, url: HiddenText) -> Tuple[HiddenText, RevOptions]:
+    def get_url_rev_options(self, url: HiddenText) -> tuple[HiddenText, RevOptions]:
         """
         Return the URL and RevOptions object to use in obtain(),
         as a tuple (url, rev_options).
         """
         secret_url, rev, user_pass = self.get_url_rev_and_auth(url.secret)
         username, secret_password = user_pass
-        password: Optional[HiddenText] = None
+        password: HiddenText | None = None
         if secret_password is not None:
             password = hide_value(secret_password)
         extra_args = self.make_rev_args(username, password)
@@ -477,7 +451,13 @@ class VersionControl:
         """
         raise NotImplementedError
 
-    def switch(self, dest: str, url: HiddenText, rev_options: RevOptions) -> None:
+    def switch(
+        self,
+        dest: str,
+        url: HiddenText,
+        rev_options: RevOptions,
+        verbosity: int = 0,
+    ) -> None:
         """
         Switch the repo at ``dest`` to point to ``URL``.
 
@@ -486,7 +466,13 @@ class VersionControl:
         """
         raise NotImplementedError
 
-    def update(self, dest: str, url: HiddenText, rev_options: RevOptions) -> None:
+    def update(
+        self,
+        dest: str,
+        url: HiddenText,
+        rev_options: RevOptions,
+        verbosity: int = 0,
+    ) -> None:
         """
         Update an already-existing repo to the given ``rev_options``.
 
@@ -496,7 +482,7 @@ class VersionControl:
         raise NotImplementedError
 
     @classmethod
-    def is_commit_id_equal(cls, dest: str, name: Optional[str]) -> bool:
+    def is_commit_id_equal(cls, dest: str, name: str | None) -> bool:
         """
         Return whether the id of the current commit equals the given name.
 
@@ -538,7 +524,7 @@ class VersionControl:
                         self.repo_name,
                         rev_display,
                     )
-                    self.update(dest, url, rev_options)
+                    self.update(dest, url, rev_options, verbosity=verbosity)
                 else:
                     logger.info("Skipping because already up-to-date.")
                 return
@@ -593,7 +579,7 @@ class VersionControl:
                 url,
                 rev_display,
             )
-            self.switch(dest, url, rev_options)
+            self.switch(dest, url, rev_options, verbosity=verbosity)
 
     def unpack(self, location: str, url: HiddenText, verbosity: int) -> None:
         """
@@ -627,14 +613,14 @@ class VersionControl:
     @classmethod
     def run_command(
         cls,
-        cmd: Union[List[str], CommandArgs],
+        cmd: list[str] | CommandArgs,
         show_stdout: bool = True,
-        cwd: Optional[str] = None,
-        on_returncode: 'Literal["raise", "warn", "ignore"]' = "raise",
-        extra_ok_returncodes: Optional[Iterable[int]] = None,
-        command_desc: Optional[str] = None,
-        extra_environ: Optional[Mapping[str, Any]] = None,
-        spinner: Optional[SpinnerInterface] = None,
+        cwd: str | None = None,
+        on_returncode: Literal["raise", "warn", "ignore"] = "raise",
+        extra_ok_returncodes: Iterable[int] | None = None,
+        command_desc: str | None = None,
+        extra_environ: Mapping[str, Any] | None = None,
+        spinner: SpinnerInterface | None = None,
         log_failed_cmd: bool = True,
         stdout_only: bool = False,
     ) -> str:
@@ -660,6 +646,8 @@ class VersionControl:
                 log_failed_cmd=log_failed_cmd,
                 stdout_only=stdout_only,
             )
+        except NotADirectoryError:
+            raise BadCommand(f"Cannot find command {cls.name!r} - invalid PATH")
         except FileNotFoundError:
             # errno.ENOENT = no such file or directory
             # In other words, the VCS executable isn't available
@@ -689,7 +677,7 @@ class VersionControl:
         return os.path.exists(os.path.join(path, cls.dirname))
 
     @classmethod
-    def get_repository_root(cls, location: str) -> Optional[str]:
+    def get_repository_root(cls, location: str) -> str | None:
         """
         Return the "root" (top-level) directory controlled by the vcs,
         or `None` if the directory is not in any.
diff --git a/.venv/Lib/site-packages/pip/_internal/wheel_builder.py b/.venv/Lib/site-packages/pip/_internal/wheel_builder.py
index b1debe3..beed02f 100644
--- a/.venv/Lib/site-packages/pip/_internal/wheel_builder.py
+++ b/.venv/Lib/site-packages/pip/_internal/wheel_builder.py
@@ -1,11 +1,12 @@
-"""Orchestrator for building wheels from InstallRequirements.
-"""
+"""Orchestrator for building wheels from InstallRequirements."""
+
+from __future__ import annotations
 
 import logging
 import os.path
 import re
 import shutil
-from typing import Iterable, List, Optional, Tuple
+from collections.abc import Iterable
 
 from pip._vendor.packaging.utils import canonicalize_name, canonicalize_version
 from pip._vendor.packaging.version import InvalidVersion, Version
@@ -31,7 +32,7 @@ logger = logging.getLogger(__name__)
 
 _egg_info_re = re.compile(r"([a-z0-9_.]+)-([a-z0-9_.!+-]+)", re.IGNORECASE)
 
-BuildResult = Tuple[List[InstallRequirement], List[InstallRequirement]]
+BuildResult = tuple[list[InstallRequirement], list[InstallRequirement]]
 
 
 def _contains_egg_info(s: str) -> bool:
@@ -44,52 +45,31 @@ def _contains_egg_info(s: str) -> bool:
 
 def _should_build(
     req: InstallRequirement,
-    need_wheel: bool,
 ) -> bool:
     """Return whether an InstallRequirement should be built into a wheel."""
-    if req.constraint:
-        # never build requirements that are merely constraints
-        return False
+    assert not req.constraint
+
     if req.is_wheel:
-        if need_wheel:
-            logger.info(
-                "Skipping %s, due to already being wheel.",
-                req.name,
-            )
         return False
 
-    if need_wheel:
-        # i.e. pip wheel, not pip install
-        return True
-
-    # From this point, this concerns the pip install command only
-    # (need_wheel=False).
-
-    if not req.source_dir:
-        return False
+    assert req.source_dir
 
     if req.editable:
         # we only build PEP 660 editable requirements
-        return req.supports_pyproject_editable()
+        return req.supports_pyproject_editable
 
     return True
 
 
-def should_build_for_wheel_command(
-    req: InstallRequirement,
-) -> bool:
-    return _should_build(req, need_wheel=True)
-
-
 def should_build_for_install_command(
     req: InstallRequirement,
 ) -> bool:
-    return _should_build(req, need_wheel=False)
+    return _should_build(req)
 
 
 def _should_cache(
     req: InstallRequirement,
-) -> Optional[bool]:
+) -> bool | None:
     """
     Return whether a built InstallRequirement can be stored in the persistent
     wheel cache, assuming the wheel cache is available, and _should_build()
@@ -168,10 +148,10 @@ def _build_one(
     req: InstallRequirement,
     output_dir: str,
     verify: bool,
-    build_options: List[str],
-    global_options: List[str],
+    build_options: list[str],
+    global_options: list[str],
     editable: bool,
-) -> Optional[str]:
+) -> str | None:
     """Build one wheel.
 
     :return: The filename of the built wheel, or None if the build failed.
@@ -205,10 +185,10 @@ def _build_one(
 def _build_one_inside_env(
     req: InstallRequirement,
     output_dir: str,
-    build_options: List[str],
-    global_options: List[str],
+    build_options: list[str],
+    global_options: list[str],
     editable: bool,
-) -> Optional[str]:
+) -> str | None:
     with TempDirectory(kind="wheel") as temp_dir:
         assert req.name
         if req.use_pep517:
@@ -273,7 +253,7 @@ def _build_one_inside_env(
         return None
 
 
-def _clean_one_legacy(req: InstallRequirement, global_options: List[str]) -> bool:
+def _clean_one_legacy(req: InstallRequirement, global_options: list[str]) -> bool:
     clean_args = make_setuptools_clean_args(
         req.setup_py_path,
         global_options=global_options,
@@ -294,8 +274,8 @@ def build(
     requirements: Iterable[InstallRequirement],
     wheel_cache: WheelCache,
     verify: bool,
-    build_options: List[str],
-    global_options: List[str],
+    build_options: list[str],
+    global_options: list[str],
 ) -> BuildResult:
     """Build wheels.
 
diff --git a/.venv/Lib/site-packages/pip/_vendor/__init__.py b/.venv/Lib/site-packages/pip/_vendor/__init__.py
index c1884ba..34ccb99 100644
--- a/.venv/Lib/site-packages/pip/_vendor/__init__.py
+++ b/.venv/Lib/site-packages/pip/_vendor/__init__.py
@@ -60,20 +60,16 @@ if DEBUNDLED:
     # Actually alias all of our vendored dependencies.
     vendored("cachecontrol")
     vendored("certifi")
-    vendored("colorama")
+    vendored("dependency-groups")
     vendored("distlib")
     vendored("distro")
-    vendored("six")
-    vendored("six.moves")
-    vendored("six.moves.urllib")
-    vendored("six.moves.urllib.parse")
     vendored("packaging")
     vendored("packaging.version")
     vendored("packaging.specifiers")
-    vendored("pep517")
     vendored("pkg_resources")
     vendored("platformdirs")
     vendored("progress")
+    vendored("pyproject_hooks")
     vendored("requests")
     vendored("requests.exceptions")
     vendored("requests.packages")
@@ -115,7 +111,7 @@ if DEBUNDLED:
     vendored("rich.style")
     vendored("rich.text")
     vendored("rich.traceback")
-    vendored("tenacity")
-    vendored("tomli")
+    if sys.version_info < (3, 11):
+        vendored("tomli")
     vendored("truststore")
     vendored("urllib3")
diff --git a/.venv/Lib/site-packages/pip/_vendor/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/__pycache__/__init__.cpython-311.pyc
index f828b6f..2a69054 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/__pycache__/six.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/__pycache__/six.cpython-311.pyc
deleted file mode 100644
index 4305e42..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/__pycache__/six.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/__pycache__/typing_extensions.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/__pycache__/typing_extensions.cpython-311.pyc
deleted file mode 100644
index ea91688..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/__pycache__/typing_extensions.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__init__.py b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__init__.py
index 4d20bc9..67888db 100644
--- a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__init__.py
+++ b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__init__.py
@@ -6,9 +6,10 @@
 
 Make it easy to import from cachecontrol without long namespaces.
 """
+
 __author__ = "Eric Larson"
 __email__ = "eric@ionrock.org"
-__version__ = "0.13.1"
+__version__ = "0.14.3"
 
 from pip._vendor.cachecontrol.adapter import CacheControlAdapter
 from pip._vendor.cachecontrol.controller import CacheController
diff --git a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/__init__.cpython-311.pyc
index 305d2ca..521afc1 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-311.pyc
index d30cf62..610d9ae 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/adapter.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/adapter.cpython-311.pyc
index 59104dc..b07e912 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/adapter.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/adapter.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/cache.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/cache.cpython-311.pyc
index c384ec0..e187e2b 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/cache.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/cache.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/controller.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/controller.cpython-311.pyc
index 0f5e7c8..75d83c2 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/controller.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/controller.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-311.pyc
index 36e1c40..1200d54 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-311.pyc
index 15e0831..05dbc17 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/serialize.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/serialize.cpython-311.pyc
index 002ce05..a79e9b7 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/serialize.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/serialize.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-311.pyc
index e8fef0d..3e0716d 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/adapter.py b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/adapter.py
index 3e83e30..18084d1 100644
--- a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/adapter.py
+++ b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/adapter.py
@@ -5,6 +5,7 @@ from __future__ import annotations
 
 import functools
 import types
+import weakref
 import zlib
 from typing import TYPE_CHECKING, Any, Collection, Mapping
 
@@ -77,7 +78,7 @@ class CacheControlAdapter(HTTPAdapter):
 
         return resp
 
-    def build_response(
+    def build_response(  # type: ignore[override]
         self,
         request: PreparedRequest,
         response: HTTPResponse,
@@ -125,25 +126,31 @@ class CacheControlAdapter(HTTPAdapter):
             else:
                 # Wrap the response file with a wrapper that will cache the
                 #   response when the stream has been consumed.
-                response._fp = CallbackFileWrapper(  # type: ignore[attr-defined]
-                    response._fp,  # type: ignore[attr-defined]
+                response._fp = CallbackFileWrapper(  # type: ignore[assignment]
+                    response._fp,  # type: ignore[arg-type]
                     functools.partial(
-                        self.controller.cache_response, request, response
+                        self.controller.cache_response, request, weakref.ref(response)
                     ),
                 )
                 if response.chunked:
-                    super_update_chunk_length = response._update_chunk_length  # type: ignore[attr-defined]
+                    super_update_chunk_length = response.__class__._update_chunk_length
 
-                    def _update_chunk_length(self: HTTPResponse) -> None:
-                        super_update_chunk_length()
+                    def _update_chunk_length(
+                        weak_self: weakref.ReferenceType[HTTPResponse],
+                    ) -> None:
+                        self = weak_self()
+                        if self is None:
+                            return
+
+                        super_update_chunk_length(self)
                         if self.chunk_left == 0:
-                            self._fp._close()  # type: ignore[attr-defined]
+                            self._fp._close()  # type: ignore[union-attr]
 
-                    response._update_chunk_length = types.MethodType(  # type: ignore[attr-defined]
-                        _update_chunk_length, response
+                    response._update_chunk_length = functools.partial(  # type: ignore[method-assign]
+                        _update_chunk_length, weakref.ref(response)
                     )
 
-        resp: Response = super().build_response(request, response)  # type: ignore[no-untyped-call]
+        resp: Response = super().build_response(request, response)
 
         # See if we should invalidate the cache.
         if request.method in self.invalidating_methods and resp.ok:
diff --git a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/cache.py b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/cache.py
index 3293b00..91598e9 100644
--- a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/cache.py
+++ b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/cache.py
@@ -6,6 +6,7 @@
 The cache object API for implementing caches. The default is a thread
 safe in-memory dictionary.
 """
+
 from __future__ import annotations
 
 from threading import Lock
diff --git a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-311.pyc
index 9fb665c..c1771d9 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-311.pyc
index c81b1e8..db8f8ea 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-311.pyc
index 46b8810..1768079 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py
index 1fd2801..45c632c 100644
--- a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py
+++ b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py
@@ -5,8 +5,10 @@ from __future__ import annotations
 
 import hashlib
 import os
+import tempfile
 from textwrap import dedent
 from typing import IO, TYPE_CHECKING
+from pathlib import Path
 
 from pip._vendor.cachecontrol.cache import BaseCache, SeparateBodyBaseCache
 from pip._vendor.cachecontrol.controller import CacheController
@@ -17,53 +19,12 @@ if TYPE_CHECKING:
     from filelock import BaseFileLock
 
 
-def _secure_open_write(filename: str, fmode: int) -> IO[bytes]:
-    # We only want to write to this file, so open it in write only mode
-    flags = os.O_WRONLY
-
-    # os.O_CREAT | os.O_EXCL will fail if the file already exists, so we only
-    #  will open *new* files.
-    # We specify this because we want to ensure that the mode we pass is the
-    # mode of the file.
-    flags |= os.O_CREAT | os.O_EXCL
-
-    # Do not follow symlinks to prevent someone from making a symlink that
-    # we follow and insecurely open a cache file.
-    if hasattr(os, "O_NOFOLLOW"):
-        flags |= os.O_NOFOLLOW
-
-    # On Windows we'll mark this file as binary
-    if hasattr(os, "O_BINARY"):
-        flags |= os.O_BINARY
-
-    # Before we open our file, we want to delete any existing file that is
-    # there
-    try:
-        os.remove(filename)
-    except OSError:
-        # The file must not exist already, so we can just skip ahead to opening
-        pass
-
-    # Open our file, the use of os.O_CREAT | os.O_EXCL will ensure that if a
-    # race condition happens between the os.remove and this line, that an
-    # error will be raised. Because we utilize a lockfile this should only
-    # happen if someone is attempting to attack us.
-    fd = os.open(filename, flags, fmode)
-    try:
-        return os.fdopen(fd, "wb")
-
-    except:
-        # An error occurred wrapping our FD in a file object
-        os.close(fd)
-        raise
-
-
 class _FileCacheMixin:
     """Shared implementation for both FileCache variants."""
 
     def __init__(
         self,
-        directory: str,
+        directory: str | Path,
         forever: bool = False,
         filemode: int = 0o0600,
         dirmode: int = 0o0700,
@@ -79,7 +40,7 @@ class _FileCacheMixin:
                 """
             NOTE: In order to use the FileCache you must have
             filelock installed. You can install it via pip:
-              pip install filelock
+              pip install cachecontrol[filecache]
             """
             )
             raise ImportError(notice)
@@ -121,15 +82,18 @@ class _FileCacheMixin:
         Safely write the data to the given path.
         """
         # Make sure the directory exists
-        try:
-            os.makedirs(os.path.dirname(path), self.dirmode)
-        except OSError:
-            pass
+        dirname = os.path.dirname(path)
+        os.makedirs(dirname, self.dirmode, exist_ok=True)
 
         with self.lock_class(path + ".lock"):
             # Write our actual file
-            with _secure_open_write(path, self.filemode) as fh:
-                fh.write(data)
+            (fd, name) = tempfile.mkstemp(dir=dirname)
+            try:
+                os.write(fd, data)
+            finally:
+                os.close(fd)
+            os.chmod(name, self.filemode)
+            os.replace(name, path)
 
     def _delete(self, key: str, suffix: str) -> None:
         name = self._fn(key) + suffix
diff --git a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/controller.py b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/controller.py
index 586b9f9..d92d991 100644
--- a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/controller.py
+++ b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/controller.py
@@ -5,12 +5,14 @@
 """
 The httplib2 algorithms ported for use with requests.
 """
+
 from __future__ import annotations
 
 import calendar
 import logging
 import re
 import time
+import weakref
 from email.utils import parsedate_tz
 from typing import TYPE_CHECKING, Collection, Mapping
 
@@ -142,6 +144,11 @@ class CacheController:
         """
         Load a cached response, or return None if it's not available.
         """
+        # We do not support caching of partial content: so if the request contains a
+        # Range header then we don't want to load anything from the cache.
+        if "Range" in request.headers:
+            return None
+
         cache_url = request.url
         assert cache_url is not None
         cache_data = self.cache.get(cache_url)
@@ -317,7 +324,7 @@ class CacheController:
     def cache_response(
         self,
         request: PreparedRequest,
-        response: HTTPResponse,
+        response_or_ref: HTTPResponse | weakref.ReferenceType[HTTPResponse],
         body: bytes | None = None,
         status_codes: Collection[int] | None = None,
     ) -> None:
@@ -326,6 +333,16 @@ class CacheController:
 
         This assumes a requests Response object.
         """
+        if isinstance(response_or_ref, weakref.ReferenceType):
+            response = response_or_ref()
+            if response is None:
+                # The weakref can be None only in case the user used streamed request
+                # and did not consume or close it, and holds no reference to requests.Response.
+                # In such case, we don't want to cache the response.
+                return
+        else:
+            response = response_or_ref
+
         # From httplib2: Don't cache 206's since we aren't going to
         #                handle byte range requests
         cacheable_status_codes = status_codes or self.cacheable_status_codes
@@ -480,7 +497,7 @@ class CacheController:
         cached_response.headers.update(
             {
                 k: v
-                for k, v in response.headers.items()  # type: ignore[no-untyped-call]
+                for k, v in response.headers.items()
                 if k.lower() not in excluded_headers
             }
         )
diff --git a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/filewrapper.py b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/filewrapper.py
index 2514390..37d2fa5 100644
--- a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/filewrapper.py
+++ b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/filewrapper.py
@@ -38,10 +38,10 @@ class CallbackFileWrapper:
         self.__callback = callback
 
     def __getattr__(self, name: str) -> Any:
-        # The vaguaries of garbage collection means that self.__fp is
+        # The vagaries of garbage collection means that self.__fp is
         # not always set.  By using __getattribute__ and the private
         # name[0] allows looking up the attribute value and raising an
-        # AttributeError when it doesn't exist. This stop thigns from
+        # AttributeError when it doesn't exist. This stop things from
         # infinitely recursing calls to getattr in the case where
         # self.__fp hasn't been set.
         #
diff --git a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/heuristics.py b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/heuristics.py
index b9d72ca..b778c4f 100644
--- a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/heuristics.py
+++ b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/heuristics.py
@@ -68,7 +68,10 @@ class OneDayCache(BaseHeuristic):
 
         if "expires" not in response.headers:
             date = parsedate(response.headers["date"])
-            expires = expire_after(timedelta(days=1), date=datetime(*date[:6], tzinfo=timezone.utc))  # type: ignore[misc]
+            expires = expire_after(
+                timedelta(days=1),
+                date=datetime(*date[:6], tzinfo=timezone.utc),  # type: ignore[index,misc]
+            )
             headers["expires"] = datetime_to_header(expires)
             headers["cache-control"] = "public"
         return headers
diff --git a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/serialize.py b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/serialize.py
index f9e967c..a49487a 100644
--- a/.venv/Lib/site-packages/pip/_vendor/cachecontrol/serialize.py
+++ b/.venv/Lib/site-packages/pip/_vendor/cachecontrol/serialize.py
@@ -32,13 +32,13 @@ class Serializer:
             # also update the response with a new file handler to be
             # sure it acts as though it was never read.
             body = response.read(decode_content=False)
-            response._fp = io.BytesIO(body)  # type: ignore[attr-defined]
+            response._fp = io.BytesIO(body)  # type: ignore[assignment]
             response.length_remaining = len(body)
 
         data = {
             "response": {
                 "body": body,  # Empty bytestring if body is stored separately
-                "headers": {str(k): str(v) for k, v in response.headers.items()},  # type: ignore[no-untyped-call]
+                "headers": {str(k): str(v) for k, v in response.headers.items()},
                 "status": response.status,
                 "version": response.version,
                 "reason": str(response.reason),
@@ -72,31 +72,14 @@ class Serializer:
         if not data:
             return None
 
-        # Determine what version of the serializer the data was serialized
-        # with
-        try:
-            ver, data = data.split(b",", 1)
-        except ValueError:
-            ver = b"cc=0"
-
-        # Make sure that our "ver" is actually a version and isn't a false
-        # positive from a , being in the data stream.
-        if ver[:3] != b"cc=":
-            data = ver + data
-            ver = b"cc=0"
-
-        # Get the version number out of the cc=N
-        verstr = ver.split(b"=", 1)[-1].decode("ascii")
-
-        # Dispatch to the actual load method for the given version
-        try:
-            return getattr(self, f"_loads_v{verstr}")(request, data, body_file)  # type: ignore[no-any-return]
-
-        except AttributeError:
-            # This is a version we don't have a loads function for, so we'll
-            # just treat it as a miss and return None
+        # Previous versions of this library supported other serialization
+        # formats, but these have all been removed.
+        if not data.startswith(f"cc={self.serde_version},".encode()):
             return None
 
+        data = data[5:]
+        return self._loads_v4(request, data, body_file)
+
     def prepare_response(
         self,
         request: PreparedRequest,
@@ -149,49 +132,6 @@ class Serializer:
 
         return HTTPResponse(body=body, preload_content=False, **cached["response"])
 
-    def _loads_v0(
-        self,
-        request: PreparedRequest,
-        data: bytes,
-        body_file: IO[bytes] | None = None,
-    ) -> None:
-        # The original legacy cache data. This doesn't contain enough
-        # information to construct everything we need, so we'll treat this as
-        # a miss.
-        return None
-
-    def _loads_v1(
-        self,
-        request: PreparedRequest,
-        data: bytes,
-        body_file: IO[bytes] | None = None,
-    ) -> HTTPResponse | None:
-        # The "v1" pickled cache format. This is no longer supported
-        # for security reasons, so we treat it as a miss.
-        return None
-
-    def _loads_v2(
-        self,
-        request: PreparedRequest,
-        data: bytes,
-        body_file: IO[bytes] | None = None,
-    ) -> HTTPResponse | None:
-        # The "v2" compressed base64 cache format.
-        # This has been removed due to age and poor size/performance
-        # characteristics, so we treat it as a miss.
-        return None
-
-    def _loads_v3(
-        self,
-        request: PreparedRequest,
-        data: bytes,
-        body_file: IO[bytes] | None = None,
-    ) -> None:
-        # Due to Python 2 encoding issues, it's impossible to know for sure
-        # exactly how to load v3 entries, thus we'll treat these as a miss so
-        # that they get rewritten out as v4 entries.
-        return None
-
     def _loads_v4(
         self,
         request: PreparedRequest,
diff --git a/.venv/Lib/site-packages/pip/_vendor/certifi/__init__.py b/.venv/Lib/site-packages/pip/_vendor/certifi/__init__.py
index 8ce89ce..e837049 100644
--- a/.venv/Lib/site-packages/pip/_vendor/certifi/__init__.py
+++ b/.venv/Lib/site-packages/pip/_vendor/certifi/__init__.py
@@ -1,4 +1,4 @@
 from .core import contents, where
 
 __all__ = ["contents", "where"]
-__version__ = "2023.07.22"
+__version__ = "2025.07.14"
diff --git a/.venv/Lib/site-packages/pip/_vendor/certifi/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/certifi/__pycache__/__init__.cpython-311.pyc
index f848f59..8071d62 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/certifi/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/certifi/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/certifi/__pycache__/__main__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/certifi/__pycache__/__main__.cpython-311.pyc
index b6a7071..bb7e32e 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/certifi/__pycache__/__main__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/certifi/__pycache__/__main__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/certifi/__pycache__/core.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/certifi/__pycache__/core.cpython-311.pyc
index 6d15130..ebe45e9 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/certifi/__pycache__/core.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/certifi/__pycache__/core.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/certifi/cacert.pem b/.venv/Lib/site-packages/pip/_vendor/certifi/cacert.pem
index 0212369..64c05d7 100644
--- a/.venv/Lib/site-packages/pip/_vendor/certifi/cacert.pem
+++ b/.venv/Lib/site-packages/pip/_vendor/certifi/cacert.pem
@@ -1,95 +1,4 @@
 
-# Issuer: CN=GlobalSign Root CA O=GlobalSign nv-sa OU=Root CA
-# Subject: CN=GlobalSign Root CA O=GlobalSign nv-sa OU=Root CA
-# Label: "GlobalSign Root CA"
-# Serial: 4835703278459707669005204
-# MD5 Fingerprint: 3e:45:52:15:09:51:92:e1:b7:5d:37:9f:b1:87:29:8a
-# SHA1 Fingerprint: b1:bc:96:8b:d4:f4:9d:62:2a:a8:9a:81:f2:15:01:52:a4:1d:82:9c
-# SHA256 Fingerprint: eb:d4:10:40:e4:bb:3e:c7:42:c9:e3:81:d3:1e:f2:a4:1a:48:b6:68:5c:96:e7:ce:f3:c1:df:6c:d4:33:1c:99
------BEGIN CERTIFICATE-----
-MIIDdTCCAl2gAwIBAgILBAAAAAABFUtaw5QwDQYJKoZIhvcNAQEFBQAwVzELMAkG
-A1UEBhMCQkUxGTAXBgNVBAoTEEdsb2JhbFNpZ24gbnYtc2ExEDAOBgNVBAsTB1Jv
-b3QgQ0ExGzAZBgNVBAMTEkdsb2JhbFNpZ24gUm9vdCBDQTAeFw05ODA5MDExMjAw
-MDBaFw0yODAxMjgxMjAwMDBaMFcxCzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9i
-YWxTaWduIG52LXNhMRAwDgYDVQQLEwdSb290IENBMRswGQYDVQQDExJHbG9iYWxT
-aWduIFJvb3QgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDaDuaZ
-jc6j40+Kfvvxi4Mla+pIH/EqsLmVEQS98GPR4mdmzxzdzxtIK+6NiY6arymAZavp
-xy0Sy6scTHAHoT0KMM0VjU/43dSMUBUc71DuxC73/OlS8pF94G3VNTCOXkNz8kHp
-1Wrjsok6Vjk4bwY8iGlbKk3Fp1S4bInMm/k8yuX9ifUSPJJ4ltbcdG6TRGHRjcdG
-snUOhugZitVtbNV4FpWi6cgKOOvyJBNPc1STE4U6G7weNLWLBYy5d4ux2x8gkasJ
-U26Qzns3dLlwR5EiUWMWea6xrkEmCMgZK9FGqkjWZCrXgzT/LCrBbBlDSgeF59N8
-9iFo7+ryUp9/k5DPAgMBAAGjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8E
-BTADAQH/MB0GA1UdDgQWBBRge2YaRQ2XyolQL30EzTSo//z9SzANBgkqhkiG9w0B
-AQUFAAOCAQEA1nPnfE920I2/7LqivjTFKDK1fPxsnCwrvQmeU79rXqoRSLblCKOz
-yj1hTdNGCbM+w6DjY1Ub8rrvrTnhQ7k4o+YviiY776BQVvnGCv04zcQLcFGUl5gE
-38NflNUVyRRBnMRddWQVDf9VMOyGj/8N7yy5Y0b2qvzfvGn9LhJIZJrglfCm7ymP
-AbEVtQwdpf5pLGkkeB6zpxxxYu7KyJesF12KwvhHhm4qxFYxldBniYUr+WymXUad
-DKqC5JlR3XC321Y9YeRq4VzW9v493kHMB65jUr9TU/Qr6cf9tveCX4XSQRjbgbME
-HMUfpIBvFSDJ3gyICh3WZlXi/EjJKSZp4A==
------END CERTIFICATE-----
-
-# Issuer: CN=Entrust.net Certification Authority (2048) O=Entrust.net OU=www.entrust.net/CPS_2048 incorp. by ref. (limits liab.)/(c) 1999 Entrust.net Limited
-# Subject: CN=Entrust.net Certification Authority (2048) O=Entrust.net OU=www.entrust.net/CPS_2048 incorp. by ref. (limits liab.)/(c) 1999 Entrust.net Limited
-# Label: "Entrust.net Premium 2048 Secure Server CA"
-# Serial: 946069240
-# MD5 Fingerprint: ee:29:31:bc:32:7e:9a:e6:e8:b5:f7:51:b4:34:71:90
-# SHA1 Fingerprint: 50:30:06:09:1d:97:d4:f5:ae:39:f7:cb:e7:92:7d:7d:65:2d:34:31
-# SHA256 Fingerprint: 6d:c4:71:72:e0:1c:bc:b0:bf:62:58:0d:89:5f:e2:b8:ac:9a:d4:f8:73:80:1e:0c:10:b9:c8:37:d2:1e:b1:77
------BEGIN CERTIFICATE-----
-MIIEKjCCAxKgAwIBAgIEOGPe+DANBgkqhkiG9w0BAQUFADCBtDEUMBIGA1UEChML
-RW50cnVzdC5uZXQxQDA+BgNVBAsUN3d3dy5lbnRydXN0Lm5ldC9DUFNfMjA0OCBp
-bmNvcnAuIGJ5IHJlZi4gKGxpbWl0cyBsaWFiLikxJTAjBgNVBAsTHChjKSAxOTk5
-IEVudHJ1c3QubmV0IExpbWl0ZWQxMzAxBgNVBAMTKkVudHJ1c3QubmV0IENlcnRp
-ZmljYXRpb24gQXV0aG9yaXR5ICgyMDQ4KTAeFw05OTEyMjQxNzUwNTFaFw0yOTA3
-MjQxNDE1MTJaMIG0MRQwEgYDVQQKEwtFbnRydXN0Lm5ldDFAMD4GA1UECxQ3d3d3
-LmVudHJ1c3QubmV0L0NQU18yMDQ4IGluY29ycC4gYnkgcmVmLiAobGltaXRzIGxp
-YWIuKTElMCMGA1UECxMcKGMpIDE5OTkgRW50cnVzdC5uZXQgTGltaXRlZDEzMDEG
-A1UEAxMqRW50cnVzdC5uZXQgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgKDIwNDgp
-MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArU1LqRKGsuqjIAcVFmQq
-K0vRvwtKTY7tgHalZ7d4QMBzQshowNtTK91euHaYNZOLGp18EzoOH1u3Hs/lJBQe
-sYGpjX24zGtLA/ECDNyrpUAkAH90lKGdCCmziAv1h3edVc3kw37XamSrhRSGlVuX
-MlBvPci6Zgzj/L24ScF2iUkZ/cCovYmjZy/Gn7xxGWC4LeksyZB2ZnuU4q941mVT
-XTzWnLLPKQP5L6RQstRIzgUyVYr9smRMDuSYB3Xbf9+5CFVghTAp+XtIpGmG4zU/
-HoZdenoVve8AjhUiVBcAkCaTvA5JaJG/+EfTnZVCwQ5N328mz8MYIWJmQ3DW1cAH
-4QIDAQABo0IwQDAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNV
-HQ4EFgQUVeSB0RGAvtiJuQijMfmhJAkWuXAwDQYJKoZIhvcNAQEFBQADggEBADub
-j1abMOdTmXx6eadNl9cZlZD7Bh/KM3xGY4+WZiT6QBshJ8rmcnPyT/4xmf3IDExo
-U8aAghOY+rat2l098c5u9hURlIIM7j+VrxGrD9cv3h8Dj1csHsm7mhpElesYT6Yf
-zX1XEC+bBAlahLVu2B064dae0Wx5XnkcFMXj0EyTO2U87d89vqbllRrDtRnDvV5b
-u/8j72gZyxKTJ1wDLW8w0B62GqzeWvfRqqgnpv55gcR5mTNXuhKwqeBCbJPKVt7+
-bYQLCIt+jerXmCHG8+c8eS9enNFMFY3h7CI3zJpDC5fcgJCNs2ebb0gIFVbPv/Er
-fF6adulZkMV8gzURZVE=
------END CERTIFICATE-----
-
-# Issuer: CN=Baltimore CyberTrust Root O=Baltimore OU=CyberTrust
-# Subject: CN=Baltimore CyberTrust Root O=Baltimore OU=CyberTrust
-# Label: "Baltimore CyberTrust Root"
-# Serial: 33554617
-# MD5 Fingerprint: ac:b6:94:a5:9c:17:e0:d7:91:52:9b:b1:97:06:a6:e4
-# SHA1 Fingerprint: d4:de:20:d0:5e:66:fc:53:fe:1a:50:88:2c:78:db:28:52:ca:e4:74
-# SHA256 Fingerprint: 16:af:57:a9:f6:76:b0:ab:12:60:95:aa:5e:ba:de:f2:2a:b3:11:19:d6:44:ac:95:cd:4b:93:db:f3:f2:6a:eb
------BEGIN CERTIFICATE-----
-MIIDdzCCAl+gAwIBAgIEAgAAuTANBgkqhkiG9w0BAQUFADBaMQswCQYDVQQGEwJJ
-RTESMBAGA1UEChMJQmFsdGltb3JlMRMwEQYDVQQLEwpDeWJlclRydXN0MSIwIAYD
-VQQDExlCYWx0aW1vcmUgQ3liZXJUcnVzdCBSb290MB4XDTAwMDUxMjE4NDYwMFoX
-DTI1MDUxMjIzNTkwMFowWjELMAkGA1UEBhMCSUUxEjAQBgNVBAoTCUJhbHRpbW9y
-ZTETMBEGA1UECxMKQ3liZXJUcnVzdDEiMCAGA1UEAxMZQmFsdGltb3JlIEN5YmVy
-VHJ1c3QgUm9vdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKMEuyKr
-mD1X6CZymrV51Cni4eiVgLGw41uOKymaZN+hXe2wCQVt2yguzmKiYv60iNoS6zjr
-IZ3AQSsBUnuId9Mcj8e6uYi1agnnc+gRQKfRzMpijS3ljwumUNKoUMMo6vWrJYeK
-mpYcqWe4PwzV9/lSEy/CG9VwcPCPwBLKBsua4dnKM3p31vjsufFoREJIE9LAwqSu
-XmD+tqYF/LTdB1kC1FkYmGP1pWPgkAx9XbIGevOF6uvUA65ehD5f/xXtabz5OTZy
-dc93Uk3zyZAsuT3lySNTPx8kmCFcB5kpvcY67Oduhjprl3RjM71oGDHweI12v/ye
-jl0qhqdNkNwnGjkCAwEAAaNFMEMwHQYDVR0OBBYEFOWdWTCCR1jMrPoIVDaGezq1
-BE3wMBIGA1UdEwEB/wQIMAYBAf8CAQMwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3
-DQEBBQUAA4IBAQCFDF2O5G9RaEIFoN27TyclhAO992T9Ldcw46QQF+vaKSm2eT92
-9hkTI7gQCvlYpNRhcL0EYWoSihfVCr3FvDB81ukMJY2GQE/szKN+OMY3EU/t3Wgx
-jkzSswF07r51XgdIGn9w/xZchMB5hbgF/X++ZRGjD8ACtPhSNzkE1akxehi/oCr0
-Epn3o0WC4zxe9Z2etciefC7IpJ5OCBRLbf1wbWsaY71k5h+3zvDyny67G7fyUIhz
-ksLi4xaNmjICq44Y3ekQEe5+NauQrz4wlHrQMz2nZQ/1/I6eYs9HRCwBXbsdtTLS
-R9I4LtD+gdwyah617jzV/OeBHRnDJELqYzmp
------END CERTIFICATE-----
-
 # Issuer: CN=Entrust Root Certification Authority O=Entrust, Inc. OU=www.entrust.net/CPS is incorporated by reference/(c) 2006 Entrust, Inc.
 # Subject: CN=Entrust Root Certification Authority O=Entrust, Inc. OU=www.entrust.net/CPS is incorporated by reference/(c) 2006 Entrust, Inc.
 # Label: "Entrust Root Certification Authority"
@@ -125,39 +34,6 @@ eu6FSqdQgPCnXEqULl8FmTxSQeDNtGPPAUO6nIPcj2A781q0tHuu2guQOHXvgR1m
 0vdXcDazv/wor3ElhVsT/h5/WrQ8
 -----END CERTIFICATE-----
 
-# Issuer: CN=AAA Certificate Services O=Comodo CA Limited
-# Subject: CN=AAA Certificate Services O=Comodo CA Limited
-# Label: "Comodo AAA Services root"
-# Serial: 1
-# MD5 Fingerprint: 49:79:04:b0:eb:87:19:ac:47:b0:bc:11:51:9b:74:d0
-# SHA1 Fingerprint: d1:eb:23:a4:6d:17:d6:8f:d9:25:64:c2:f1:f1:60:17:64:d8:e3:49
-# SHA256 Fingerprint: d7:a7:a0:fb:5d:7e:27:31:d7:71:e9:48:4e:bc:de:f7:1d:5f:0c:3e:0a:29:48:78:2b:c8:3e:e0:ea:69:9e:f4
------BEGIN CERTIFICATE-----
-MIIEMjCCAxqgAwIBAgIBATANBgkqhkiG9w0BAQUFADB7MQswCQYDVQQGEwJHQjEb
-MBkGA1UECAwSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHDAdTYWxmb3JkMRow
-GAYDVQQKDBFDb21vZG8gQ0EgTGltaXRlZDEhMB8GA1UEAwwYQUFBIENlcnRpZmlj
-YXRlIFNlcnZpY2VzMB4XDTA0MDEwMTAwMDAwMFoXDTI4MTIzMTIzNTk1OVowezEL
-MAkGA1UEBhMCR0IxGzAZBgNVBAgMEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UE
-BwwHU2FsZm9yZDEaMBgGA1UECgwRQ29tb2RvIENBIExpbWl0ZWQxITAfBgNVBAMM
-GEFBQSBDZXJ0aWZpY2F0ZSBTZXJ2aWNlczCCASIwDQYJKoZIhvcNAQEBBQADggEP
-ADCCAQoCggEBAL5AnfRu4ep2hxxNRUSOvkbIgwadwSr+GB+O5AL686tdUIoWMQua
-BtDFcCLNSS1UY8y2bmhGC1Pqy0wkwLxyTurxFa70VJoSCsN6sjNg4tqJVfMiWPPe
-3M/vg4aijJRPn2jymJBGhCfHdr/jzDUsi14HZGWCwEiwqJH5YZ92IFCokcdmtet4
-YgNW8IoaE+oxox6gmf049vYnMlhvB/VruPsUK6+3qszWY19zjNoFmag4qMsXeDZR
-rOme9Hg6jc8P2ULimAyrL58OAd7vn5lJ8S3frHRNG5i1R8XlKdH5kBjHYpy+g8cm
-ez6KJcfA3Z3mNWgQIJ2P2N7Sw4ScDV7oL8kCAwEAAaOBwDCBvTAdBgNVHQ4EFgQU
-oBEKIz6W8Qfs4q8p74Klf9AwpLQwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQF
-MAMBAf8wewYDVR0fBHQwcjA4oDagNIYyaHR0cDovL2NybC5jb21vZG9jYS5jb20v
-QUFBQ2VydGlmaWNhdGVTZXJ2aWNlcy5jcmwwNqA0oDKGMGh0dHA6Ly9jcmwuY29t
-b2RvLm5ldC9BQUFDZXJ0aWZpY2F0ZVNlcnZpY2VzLmNybDANBgkqhkiG9w0BAQUF
-AAOCAQEACFb8AvCb6P+k+tZ7xkSAzk/ExfYAWMymtrwUSWgEdujm7l3sAg9g1o1Q
-GE8mTgHj5rCl7r+8dFRBv/38ErjHT1r0iWAFf2C3BUrz9vHCv8S5dIa2LX1rzNLz
-Rt0vxuBqw8M0Ayx9lt1awg6nCpnBBYurDC/zXDrPbDdVCYfeU0BsWO/8tqtlbgT2
-G9w84FoVxp7Z8VlIMCFlA2zs6SFz7JsDoeA3raAVGI/6ugLOpyypEBMs1OUIJqsi
-l2D4kF501KKaU73yqWjgom7C12yxow+ev+to51byrvLjKzg6CYG1a4XXvi3tPxq3
-smPi9WIsgtRqAEFQ8TmDn5XpNpaYbg==
------END CERTIFICATE-----
-
 # Issuer: CN=QuoVadis Root CA 2 O=QuoVadis Limited
 # Subject: CN=QuoVadis Root CA 2 O=QuoVadis Limited
 # Label: "QuoVadis Root CA 2"
@@ -245,131 +121,6 @@ mJlglFwjz1onl14LBQaTNx47aTbrqZ5hHY8y2o4M1nQ+ewkk2gF3R8Q7zTSMmfXK
 4SVhM7JZG+Ju1zdXtg2pEto=
 -----END CERTIFICATE-----
 
-# Issuer: O=SECOM Trust.net OU=Security Communication RootCA1
-# Subject: O=SECOM Trust.net OU=Security Communication RootCA1
-# Label: "Security Communication Root CA"
-# Serial: 0
-# MD5 Fingerprint: f1:bc:63:6a:54:e0:b5:27:f5:cd:e7:1a:e3:4d:6e:4a
-# SHA1 Fingerprint: 36:b1:2b:49:f9:81:9e:d7:4c:9e:bc:38:0f:c6:56:8f:5d:ac:b2:f7
-# SHA256 Fingerprint: e7:5e:72:ed:9f:56:0e:ec:6e:b4:80:00:73:a4:3f:c3:ad:19:19:5a:39:22:82:01:78:95:97:4a:99:02:6b:6c
------BEGIN CERTIFICATE-----
-MIIDWjCCAkKgAwIBAgIBADANBgkqhkiG9w0BAQUFADBQMQswCQYDVQQGEwJKUDEY
-MBYGA1UEChMPU0VDT00gVHJ1c3QubmV0MScwJQYDVQQLEx5TZWN1cml0eSBDb21t
-dW5pY2F0aW9uIFJvb3RDQTEwHhcNMDMwOTMwMDQyMDQ5WhcNMjMwOTMwMDQyMDQ5
-WjBQMQswCQYDVQQGEwJKUDEYMBYGA1UEChMPU0VDT00gVHJ1c3QubmV0MScwJQYD
-VQQLEx5TZWN1cml0eSBDb21tdW5pY2F0aW9uIFJvb3RDQTEwggEiMA0GCSqGSIb3
-DQEBAQUAA4IBDwAwggEKAoIBAQCzs/5/022x7xZ8V6UMbXaKL0u/ZPtM7orw8yl8
-9f/uKuDp6bpbZCKamm8sOiZpUQWZJtzVHGpxxpp9Hp3dfGzGjGdnSj74cbAZJ6kJ
-DKaVv0uMDPpVmDvY6CKhS3E4eayXkmmziX7qIWgGmBSWh9JhNrxtJ1aeV+7AwFb9
-Ms+k2Y7CI9eNqPPYJayX5HA49LY6tJ07lyZDo6G8SVlyTCMwhwFY9k6+HGhWZq/N
-QV3Is00qVUarH9oe4kA92819uZKAnDfdDJZkndwi92SL32HeFZRSFaB9UslLqCHJ
-xrHty8OVYNEP8Ktw+N/LTX7s1vqr2b1/VPKl6Xn62dZ2JChzAgMBAAGjPzA9MB0G
-A1UdDgQWBBSgc0mZaNyFW2XjmygvV5+9M7wHSDALBgNVHQ8EBAMCAQYwDwYDVR0T
-AQH/BAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAaECpqLvkT115swW1F7NgE+vG
-kl3g0dNq/vu+m22/xwVtWSDEHPC32oRYAmP6SBbvT6UL90qY8j+eG61Ha2POCEfr
-Uj94nK9NrvjVT8+amCoQQTlSxN3Zmw7vkwGusi7KaEIkQmywszo+zenaSMQVy+n5
-Bw+SUEmK3TGXX8npN6o7WWWXlDLJs58+OmJYxUmtYg5xpTKqL8aJdkNAExNnPaJU
-JRDL8Try2frbSVa7pv6nQTXD4IhhyYjH3zYQIphZ6rBK+1YWc26sTfcioU+tHXot
-RSflMMFe8toTyyVCUZVHA4xsIcx0Qu1T/zOLjw9XARYvz6buyXAiFL39vmwLAw==
------END CERTIFICATE-----
-
-# Issuer: CN=XRamp Global Certification Authority O=XRamp Security Services Inc OU=www.xrampsecurity.com
-# Subject: CN=XRamp Global Certification Authority O=XRamp Security Services Inc OU=www.xrampsecurity.com
-# Label: "XRamp Global CA Root"
-# Serial: 107108908803651509692980124233745014957
-# MD5 Fingerprint: a1:0b:44:b3:ca:10:d8:00:6e:9d:0f:d8:0f:92:0a:d1
-# SHA1 Fingerprint: b8:01:86:d1:eb:9c:86:a5:41:04:cf:30:54:f3:4c:52:b7:e5:58:c6
-# SHA256 Fingerprint: ce:cd:dc:90:50:99:d8:da:df:c5:b1:d2:09:b7:37:cb:e2:c1:8c:fb:2c:10:c0:ff:0b:cf:0d:32:86:fc:1a:a2
------BEGIN CERTIFICATE-----
-MIIEMDCCAxigAwIBAgIQUJRs7Bjq1ZxN1ZfvdY+grTANBgkqhkiG9w0BAQUFADCB
-gjELMAkGA1UEBhMCVVMxHjAcBgNVBAsTFXd3dy54cmFtcHNlY3VyaXR5LmNvbTEk
-MCIGA1UEChMbWFJhbXAgU2VjdXJpdHkgU2VydmljZXMgSW5jMS0wKwYDVQQDEyRY
-UmFtcCBHbG9iYWwgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMDQxMTAxMTcx
-NDA0WhcNMzUwMTAxMDUzNzE5WjCBgjELMAkGA1UEBhMCVVMxHjAcBgNVBAsTFXd3
-dy54cmFtcHNlY3VyaXR5LmNvbTEkMCIGA1UEChMbWFJhbXAgU2VjdXJpdHkgU2Vy
-dmljZXMgSW5jMS0wKwYDVQQDEyRYUmFtcCBHbG9iYWwgQ2VydGlmaWNhdGlvbiBB
-dXRob3JpdHkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCYJB69FbS6
-38eMpSe2OAtp87ZOqCwuIR1cRN8hXX4jdP5efrRKt6atH67gBhbim1vZZ3RrXYCP
-KZ2GG9mcDZhtdhAoWORlsH9KmHmf4MMxfoArtYzAQDsRhtDLooY2YKTVMIJt2W7Q
-DxIEM5dfT2Fa8OT5kavnHTu86M/0ay00fOJIYRyO82FEzG+gSqmUsE3a56k0enI4
-qEHMPJQRfevIpoy3hsvKMzvZPTeL+3o+hiznc9cKV6xkmxnr9A8ECIqsAxcZZPRa
-JSKNNCyy9mgdEm3Tih4U2sSPpuIjhdV6Db1q4Ons7Be7QhtnqiXtRYMh/MHJfNVi
-PvryxS3T/dRlAgMBAAGjgZ8wgZwwEwYJKwYBBAGCNxQCBAYeBABDAEEwCwYDVR0P
-BAQDAgGGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFMZPoj0GY4QJnM5i5ASs
-jVy16bYbMDYGA1UdHwQvMC0wK6ApoCeGJWh0dHA6Ly9jcmwueHJhbXBzZWN1cml0
-eS5jb20vWEdDQS5jcmwwEAYJKwYBBAGCNxUBBAMCAQEwDQYJKoZIhvcNAQEFBQAD
-ggEBAJEVOQMBG2f7Shz5CmBbodpNl2L5JFMn14JkTpAuw0kbK5rc/Kh4ZzXxHfAR
-vbdI4xD2Dd8/0sm2qlWkSLoC295ZLhVbO50WfUfXN+pfTXYSNrsf16GBBEYgoyxt
-qZ4Bfj8pzgCT3/3JknOJiWSe5yvkHJEs0rnOfc5vMZnT5r7SHpDwCRR5XCOrTdLa
-IR9NmXmd4c8nnxCbHIgNsIpkQTG4DmyQJKSbXHGPurt+HBvbaoAPIbzp26a3QPSy
-i6mx5O+aGtA9aZnuqCij4Tyz8LIRnM98QObd50N9otg6tamN8jSZxNQQ4Qb9CYQQ
-O+7ETPTsJ3xCwnR8gooJybQDJbw=
------END CERTIFICATE-----
-
-# Issuer: O=The Go Daddy Group, Inc. OU=Go Daddy Class 2 Certification Authority
-# Subject: O=The Go Daddy Group, Inc. OU=Go Daddy Class 2 Certification Authority
-# Label: "Go Daddy Class 2 CA"
-# Serial: 0
-# MD5 Fingerprint: 91:de:06:25:ab:da:fd:32:17:0c:bb:25:17:2a:84:67
-# SHA1 Fingerprint: 27:96:ba:e6:3f:18:01:e2:77:26:1b:a0:d7:77:70:02:8f:20:ee:e4
-# SHA256 Fingerprint: c3:84:6b:f2:4b:9e:93:ca:64:27:4c:0e:c6:7c:1e:cc:5e:02:4f:fc:ac:d2:d7:40:19:35:0e:81:fe:54:6a:e4
------BEGIN CERTIFICATE-----
-MIIEADCCAuigAwIBAgIBADANBgkqhkiG9w0BAQUFADBjMQswCQYDVQQGEwJVUzEh
-MB8GA1UEChMYVGhlIEdvIERhZGR5IEdyb3VwLCBJbmMuMTEwLwYDVQQLEyhHbyBE
-YWRkeSBDbGFzcyAyIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA0MDYyOTE3
-MDYyMFoXDTM0MDYyOTE3MDYyMFowYzELMAkGA1UEBhMCVVMxITAfBgNVBAoTGFRo
-ZSBHbyBEYWRkeSBHcm91cCwgSW5jLjExMC8GA1UECxMoR28gRGFkZHkgQ2xhc3Mg
-MiBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTCCASAwDQYJKoZIhvcNAQEBBQADggEN
-ADCCAQgCggEBAN6d1+pXGEmhW+vXX0iG6r7d/+TvZxz0ZWizV3GgXne77ZtJ6XCA
-PVYYYwhv2vLM0D9/AlQiVBDYsoHUwHU9S3/Hd8M+eKsaA7Ugay9qK7HFiH7Eux6w
-wdhFJ2+qN1j3hybX2C32qRe3H3I2TqYXP2WYktsqbl2i/ojgC95/5Y0V4evLOtXi
-EqITLdiOr18SPaAIBQi2XKVlOARFmR6jYGB0xUGlcmIbYsUfb18aQr4CUWWoriMY
-avx4A6lNf4DD+qta/KFApMoZFv6yyO9ecw3ud72a9nmYvLEHZ6IVDd2gWMZEewo+
-YihfukEHU1jPEX44dMX4/7VpkI+EdOqXG68CAQOjgcAwgb0wHQYDVR0OBBYEFNLE
-sNKR1EwRcbNhyz2h/t2oatTjMIGNBgNVHSMEgYUwgYKAFNLEsNKR1EwRcbNhyz2h
-/t2oatTjoWekZTBjMQswCQYDVQQGEwJVUzEhMB8GA1UEChMYVGhlIEdvIERhZGR5
-IEdyb3VwLCBJbmMuMTEwLwYDVQQLEyhHbyBEYWRkeSBDbGFzcyAyIENlcnRpZmlj
-YXRpb24gQXV0aG9yaXR5ggEAMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQAD
-ggEBADJL87LKPpH8EsahB4yOd6AzBhRckB4Y9wimPQoZ+YeAEW5p5JYXMP80kWNy
-OO7MHAGjHZQopDH2esRU1/blMVgDoszOYtuURXO1v0XJJLXVggKtI3lpjbi2Tc7P
-TMozI+gciKqdi0FuFskg5YmezTvacPd+mSYgFFQlq25zheabIZ0KbIIOqPjCDPoQ
-HmyW74cNxA9hi63ugyuV+I6ShHI56yDqg+2DzZduCLzrTia2cyvk0/ZM/iZx4mER
-dEr/VxqHD3VILs9RaRegAhJhldXRQLIQTO7ErBBDpqWeCtWVYpoNz4iCxTIM5Cuf
-ReYNnyicsbkqWletNw+vHX/bvZ8=
------END CERTIFICATE-----
-
-# Issuer: O=Starfield Technologies, Inc. OU=Starfield Class 2 Certification Authority
-# Subject: O=Starfield Technologies, Inc. OU=Starfield Class 2 Certification Authority
-# Label: "Starfield Class 2 CA"
-# Serial: 0
-# MD5 Fingerprint: 32:4a:4b:bb:c8:63:69:9b:be:74:9a:c6:dd:1d:46:24
-# SHA1 Fingerprint: ad:7e:1c:28:b0:64:ef:8f:60:03:40:20:14:c3:d0:e3:37:0e:b5:8a
-# SHA256 Fingerprint: 14:65:fa:20:53:97:b8:76:fa:a6:f0:a9:95:8e:55:90:e4:0f:cc:7f:aa:4f:b7:c2:c8:67:75:21:fb:5f:b6:58
------BEGIN CERTIFICATE-----
-MIIEDzCCAvegAwIBAgIBADANBgkqhkiG9w0BAQUFADBoMQswCQYDVQQGEwJVUzEl
-MCMGA1UEChMcU3RhcmZpZWxkIFRlY2hub2xvZ2llcywgSW5jLjEyMDAGA1UECxMp
-U3RhcmZpZWxkIENsYXNzIDIgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMDQw
-NjI5MTczOTE2WhcNMzQwNjI5MTczOTE2WjBoMQswCQYDVQQGEwJVUzElMCMGA1UE
-ChMcU3RhcmZpZWxkIFRlY2hub2xvZ2llcywgSW5jLjEyMDAGA1UECxMpU3RhcmZp
-ZWxkIENsYXNzIDIgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwggEgMA0GCSqGSIb3
-DQEBAQUAA4IBDQAwggEIAoIBAQC3Msj+6XGmBIWtDBFk385N78gDGIc/oav7PKaf
-8MOh2tTYbitTkPskpD6E8J7oX+zlJ0T1KKY/e97gKvDIr1MvnsoFAZMej2YcOadN
-+lq2cwQlZut3f+dZxkqZJRRU6ybH838Z1TBwj6+wRir/resp7defqgSHo9T5iaU0
-X9tDkYI22WY8sbi5gv2cOj4QyDvvBmVmepsZGD3/cVE8MC5fvj13c7JdBmzDI1aa
-K4UmkhynArPkPw2vCHmCuDY96pzTNbO8acr1zJ3o/WSNF4Azbl5KXZnJHoe0nRrA
-1W4TNSNe35tfPe/W93bC6j67eA0cQmdrBNj41tpvi/JEoAGrAgEDo4HFMIHCMB0G
-A1UdDgQWBBS/X7fRzt0fhvRbVazc1xDCDqmI5zCBkgYDVR0jBIGKMIGHgBS/X7fR
-zt0fhvRbVazc1xDCDqmI56FspGowaDELMAkGA1UEBhMCVVMxJTAjBgNVBAoTHFN0
-YXJmaWVsZCBUZWNobm9sb2dpZXMsIEluYy4xMjAwBgNVBAsTKVN0YXJmaWVsZCBD
-bGFzcyAyIENlcnRpZmljYXRpb24gQXV0aG9yaXR5ggEAMAwGA1UdEwQFMAMBAf8w
-DQYJKoZIhvcNAQEFBQADggEBAAWdP4id0ckaVaGsafPzWdqbAYcaT1epoXkJKtv3
-L7IezMdeatiDh6GX70k1PncGQVhiv45YuApnP+yz3SFmH8lU+nLMPUxA2IGvd56D
-eruix/U0F47ZEUD0/CwqTRV/p2JdLiXTAAsgGh1o+Re49L2L7ShZ3U0WixeDyLJl
-xy16paq8U4Zt3VekyvggQQto8PT7dL5WXXp59fkdheMtlb71cZBDzI0fmgAKhynp
-VSJYACPq4xJDKVtHCN2MQWplBqjlIapBtJUhlbl90TSrE9atvNziPTnNvT51cKEY
-WQPJIrSPnNVeKtelttQKbfi3QBFGmh95DmK/D5fs4C8fF5Q=
------END CERTIFICATE-----
-
 # Issuer: CN=DigiCert Assured ID Root CA O=DigiCert Inc OU=www.digicert.com
 # Subject: CN=DigiCert Assured ID Root CA O=DigiCert Inc OU=www.digicert.com
 # Label: "DigiCert Assured ID Root CA"
@@ -502,47 +253,6 @@ ZMEBnunKoGqYDs/YYPIvSbjkQuE4NRb0yG5P94FW6LqjviOvrv1vA+ACOzB2+htt
 Qc8Bsem4yWb02ybzOqR08kkkW8mw0FfB+j564ZfJ
 -----END CERTIFICATE-----
 
-# Issuer: CN=SwissSign Silver CA - G2 O=SwissSign AG
-# Subject: CN=SwissSign Silver CA - G2 O=SwissSign AG
-# Label: "SwissSign Silver CA - G2"
-# Serial: 5700383053117599563
-# MD5 Fingerprint: e0:06:a1:c9:7d:cf:c9:fc:0d:c0:56:75:96:d8:62:13
-# SHA1 Fingerprint: 9b:aa:e5:9f:56:ee:21:cb:43:5a:be:25:93:df:a7:f0:40:d1:1d:cb
-# SHA256 Fingerprint: be:6c:4d:a2:bb:b9:ba:59:b6:f3:93:97:68:37:42:46:c3:c0:05:99:3f:a9:8f:02:0d:1d:ed:be:d4:8a:81:d5
------BEGIN CERTIFICATE-----
-MIIFvTCCA6WgAwIBAgIITxvUL1S7L0swDQYJKoZIhvcNAQEFBQAwRzELMAkGA1UE
-BhMCQ0gxFTATBgNVBAoTDFN3aXNzU2lnbiBBRzEhMB8GA1UEAxMYU3dpc3NTaWdu
-IFNpbHZlciBDQSAtIEcyMB4XDTA2MTAyNTA4MzI0NloXDTM2MTAyNTA4MzI0Nlow
-RzELMAkGA1UEBhMCQ0gxFTATBgNVBAoTDFN3aXNzU2lnbiBBRzEhMB8GA1UEAxMY
-U3dpc3NTaWduIFNpbHZlciBDQSAtIEcyMIICIjANBgkqhkiG9w0BAQEFAAOCAg8A
-MIICCgKCAgEAxPGHf9N4Mfc4yfjDmUO8x/e8N+dOcbpLj6VzHVxumK4DV644N0Mv
-Fz0fyM5oEMF4rhkDKxD6LHmD9ui5aLlV8gREpzn5/ASLHvGiTSf5YXu6t+WiE7br
-YT7QbNHm+/pe7R20nqA1W6GSy/BJkv6FCgU+5tkL4k+73JU3/JHpMjUi0R86TieF
-nbAVlDLaYQ1HTWBCrpJH6INaUFjpiou5XaHc3ZlKHzZnu0jkg7Y360g6rw9njxcH
-6ATK72oxh9TAtvmUcXtnZLi2kUpCe2UuMGoM9ZDulebyzYLs2aFK7PayS+VFheZt
-eJMELpyCbTapxDFkH4aDCyr0NQp4yVXPQbBH6TCfmb5hqAaEuSh6XzjZG6k4sIN/
-c8HDO0gqgg8hm7jMqDXDhBuDsz6+pJVpATqJAHgE2cn0mRmrVn5bi4Y5FZGkECwJ
-MoBgs5PAKrYYC51+jUnyEEp/+dVGLxmSo5mnJqy7jDzmDrxHB9xzUfFwZC8I+bRH
-HTBsROopN4WSaGa8gzj+ezku01DwH/teYLappvonQfGbGHLy9YR0SslnxFSuSGTf
-jNFusB3hB48IHpmccelM2KX3RxIfdNFRnobzwqIjQAtz20um53MGjMGg6cFZrEb6
-5i/4z3GcRm25xBWNOHkDRUjvxF3XCO6HOSKGsg0PWEP3calILv3q1h8CAwEAAaOB
-rDCBqTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU
-F6DNweRBtjpbO8tFnb0cwpj6hlgwHwYDVR0jBBgwFoAUF6DNweRBtjpbO8tFnb0c
-wpj6hlgwRgYDVR0gBD8wPTA7BglghXQBWQEDAQEwLjAsBggrBgEFBQcCARYgaHR0
-cDovL3JlcG9zaXRvcnkuc3dpc3NzaWduLmNvbS8wDQYJKoZIhvcNAQEFBQADggIB
-AHPGgeAn0i0P4JUw4ppBf1AsX19iYamGamkYDHRJ1l2E6kFSGG9YrVBWIGrGvShp
-WJHckRE1qTodvBqlYJ7YH39FkWnZfrt4csEGDyrOj4VwYaygzQu4OSlWhDJOhrs9
-xCrZ1x9y7v5RoSJBsXECYxqCsGKrXlcSH9/L3XWgwF15kIwb4FDm3jH+mHtwX6WQ
-2K34ArZv02DdQEsixT2tOnqfGhpHkXkzuoLcMmkDlm4fS/Bx/uNncqCxv1yL5PqZ
-IseEuRuNI5c/7SXgz2W79WEE790eslpBIlqhn10s6FvJbakMDHiqYMZWjwFaDGi8
-aRl5xB9+lwW/xekkUV7U1UtT7dkjWjYDZaPBA61BMPNGG4WQr2W11bHkFlt4dR2X
-em1ZqSqPe97Dh4kQmUlzeMg9vVE1dCrV8X5pGyq7O70luJpaPXJhkGaH7gzWTdQR
-dAtq/gsD/KNVV4n+SsuuWxcFyPKNIzFTONItaj+CuY0IavdeQXRuwxF+B6wpYJE/
-OMpXEA29MC/HpeZBoNquBYeaoKRlbEwJDIm6uNO5wJOKMPqN5ZprFQFOZ6raYlY+
-hAhm0sQ2fac+EPyI4NSA5QC9qvNOBqN6avlicuMJT+ubDgEj8Z+7fNzcbBGXJbLy
-tGMU0gYqZ4yD9c7qB9iaah7s5Aq7KkzrCWA5zspi2C5u
------END CERTIFICATE-----
-
 # Issuer: CN=SecureTrust CA O=SecureTrust Corporation
 # Subject: CN=SecureTrust CA O=SecureTrust Corporation
 # Label: "SecureTrust CA"
@@ -791,35 +501,6 @@ uLjbvrW5KfnaNwUASZQDhETnv0Mxz3WLJdH0pmT1kvarBes96aULNmLazAZfNou2
 XjG4Kvte9nHfRCaexOYNkbQudZWAUWpLMKawYqGT8ZvYzsRjdT9ZR7E=
 -----END CERTIFICATE-----
 
-# Issuer: CN=SecureSign RootCA11 O=Japan Certification Services, Inc.
-# Subject: CN=SecureSign RootCA11 O=Japan Certification Services, Inc.
-# Label: "SecureSign RootCA11"
-# Serial: 1
-# MD5 Fingerprint: b7:52:74:e2:92:b4:80:93:f2:75:e4:cc:d7:f2:ea:26
-# SHA1 Fingerprint: 3b:c4:9f:48:f8:f3:73:a0:9c:1e:bd:f8:5b:b1:c3:65:c7:d8:11:b3
-# SHA256 Fingerprint: bf:0f:ee:fb:9e:3a:58:1a:d5:f9:e9:db:75:89:98:57:43:d2:61:08:5c:4d:31:4f:6f:5d:72:59:aa:42:16:12
------BEGIN CERTIFICATE-----
-MIIDbTCCAlWgAwIBAgIBATANBgkqhkiG9w0BAQUFADBYMQswCQYDVQQGEwJKUDEr
-MCkGA1UEChMiSmFwYW4gQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcywgSW5jLjEcMBoG
-A1UEAxMTU2VjdXJlU2lnbiBSb290Q0ExMTAeFw0wOTA0MDgwNDU2NDdaFw0yOTA0
-MDgwNDU2NDdaMFgxCzAJBgNVBAYTAkpQMSswKQYDVQQKEyJKYXBhbiBDZXJ0aWZp
-Y2F0aW9uIFNlcnZpY2VzLCBJbmMuMRwwGgYDVQQDExNTZWN1cmVTaWduIFJvb3RD
-QTExMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA/XeqpRyQBTvLTJsz
-i1oURaTnkBbR31fSIRCkF/3frNYfp+TbfPfs37gD2pRY/V1yfIw/XwFndBWW4wI8
-h9uuywGOwvNmxoVF9ALGOrVisq/6nL+k5tSAMJjzDbaTj6nU2DbysPyKyiyhFTOV
-MdrAG/LuYpmGYz+/3ZMqg6h2uRMft85OQoWPIucuGvKVCbIFtUROd6EgvanyTgp9
-UK31BQ1FT0Zx/Sg+U/sE2C3XZR1KG/rPO7AxmjVuyIsG0wCR8pQIZUyxNAYAeoni
-8McDWc/V1uinMrPmmECGxc0nEovMe863ETxiYAcjPitAbpSACW22s293bzUIUPsC
-h8U+iQIDAQABo0IwQDAdBgNVHQ4EFgQUW/hNT7KlhtQ60vFjmqC+CfZXt94wDgYD
-VR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEB
-AKChOBZmLqdWHyGcBvod7bkixTgm2E5P7KN/ed5GIaGHd48HCJqypMWvDzKYC3xm
-KbabfSVSSUOrTC4rbnpwrxYO4wJs+0LmGJ1F2FXI6Dvd5+H0LgscNFxsWEr7jIhQ
-X5Ucv+2rIrVls4W6ng+4reV6G4pQOh29Dbx7VFALuUKvVaAYga1lme++5Jy/xIWr
-QbJUb9wlze144o4MjQlJ3WN7WmmWAiGovVJZ6X01y8hSyn+B/tlr0/cR7SXf+Of5
-pPpyl4RTDaXQMhhRdlkUbA/r7F+AjHVDg8OFmP9Mni0N5HeDk061lgeLKBObjBmN
-QSdJQO7e5iNEOdyhIta6A/I=
------END CERTIFICATE-----
-
 # Issuer: CN=Microsec e-Szigno Root CA 2009 O=Microsec Ltd.
 # Subject: CN=Microsec e-Szigno Root CA 2009 O=Microsec Ltd.
 # Label: "Microsec e-Szigno Root CA 2009"
@@ -881,49 +562,6 @@ Mx86OyXShkDOOyyGeMlhLxS67ttVb9+E7gUJTb0o2HLO02JQZR7rkpeDMdmztcpH
 WD9f
 -----END CERTIFICATE-----
 
-# Issuer: CN=Autoridad de Certificacion Firmaprofesional CIF A62634068
-# Subject: CN=Autoridad de Certificacion Firmaprofesional CIF A62634068
-# Label: "Autoridad de Certificacion Firmaprofesional CIF A62634068"
-# Serial: 6047274297262753887
-# MD5 Fingerprint: 73:3a:74:7a:ec:bb:a3:96:a6:c2:e4:e2:c8:9b:c0:c3
-# SHA1 Fingerprint: ae:c5:fb:3f:c8:e1:bf:c4:e5:4f:03:07:5a:9a:e8:00:b7:f7:b6:fa
-# SHA256 Fingerprint: 04:04:80:28:bf:1f:28:64:d4:8f:9a:d4:d8:32:94:36:6a:82:88:56:55:3f:3b:14:30:3f:90:14:7f:5d:40:ef
------BEGIN CERTIFICATE-----
-MIIGFDCCA/ygAwIBAgIIU+w77vuySF8wDQYJKoZIhvcNAQEFBQAwUTELMAkGA1UE
-BhMCRVMxQjBABgNVBAMMOUF1dG9yaWRhZCBkZSBDZXJ0aWZpY2FjaW9uIEZpcm1h
-cHJvZmVzaW9uYWwgQ0lGIEE2MjYzNDA2ODAeFw0wOTA1MjAwODM4MTVaFw0zMDEy
-MzEwODM4MTVaMFExCzAJBgNVBAYTAkVTMUIwQAYDVQQDDDlBdXRvcmlkYWQgZGUg
-Q2VydGlmaWNhY2lvbiBGaXJtYXByb2Zlc2lvbmFsIENJRiBBNjI2MzQwNjgwggIi
-MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDKlmuO6vj78aI14H9M2uDDUtd9
-thDIAl6zQyrET2qyyhxdKJp4ERppWVevtSBC5IsP5t9bpgOSL/UR5GLXMnE42QQM
-cas9UX4PB99jBVzpv5RvwSmCwLTaUbDBPLutN0pcyvFLNg4kq7/DhHf9qFD0sefG
-L9ItWY16Ck6WaVICqjaY7Pz6FIMMNx/Jkjd/14Et5cS54D40/mf0PmbR0/RAz15i
-NA9wBj4gGFrO93IbJWyTdBSTo3OxDqqHECNZXyAFGUftaI6SEspd/NYrspI8IM/h
-X68gvqB2f3bl7BqGYTM+53u0P6APjqK5am+5hyZvQWyIplD9amML9ZMWGxmPsu2b
-m8mQ9QEM3xk9Dz44I8kvjwzRAv4bVdZO0I08r0+k8/6vKtMFnXkIoctXMbScyJCy
-Z/QYFpM6/EfY0XiWMR+6KwxfXZmtY4laJCB22N/9q06mIqqdXuYnin1oKaPnirja
-EbsXLZmdEyRG98Xi2J+Of8ePdG1asuhy9azuJBCtLxTa/y2aRnFHvkLfuwHb9H/T
-KI8xWVvTyQKmtFLKbpf7Q8UIJm+K9Lv9nyiqDdVF8xM6HdjAeI9BZzwelGSuewvF
-6NkBiDkal4ZkQdU7hwxu+g/GvUgUvzlN1J5Bto+WHWOWk9mVBngxaJ43BjuAiUVh
-OSPHG0SjFeUc+JIwuwIDAQABo4HvMIHsMBIGA1UdEwEB/wQIMAYBAf8CAQEwDgYD
-VR0PAQH/BAQDAgEGMB0GA1UdDgQWBBRlzeurNR4APn7VdMActHNHDhpkLzCBpgYD
-VR0gBIGeMIGbMIGYBgRVHSAAMIGPMC8GCCsGAQUFBwIBFiNodHRwOi8vd3d3LmZp
-cm1hcHJvZmVzaW9uYWwuY29tL2NwczBcBggrBgEFBQcCAjBQHk4AUABhAHMAZQBv
-ACAAZABlACAAbABhACAAQgBvAG4AYQBuAG8AdgBhACAANAA3ACAAQgBhAHIAYwBl
-AGwAbwBuAGEAIAAwADgAMAAxADcwDQYJKoZIhvcNAQEFBQADggIBABd9oPm03cXF
-661LJLWhAqvdpYhKsg9VSytXjDvlMd3+xDLx51tkljYyGOylMnfX40S2wBEqgLk9
-am58m9Ot/MPWo+ZkKXzR4Tgegiv/J2Wv+xYVxC5xhOW1//qkR71kMrv2JYSiJ0L1
-ILDCExARzRAVukKQKtJE4ZYm6zFIEv0q2skGz3QeqUvVhyj5eTSSPi5E6PaPT481
-PyWzOdxjKpBrIF/EUhJOlywqrJ2X3kjyo2bbwtKDlaZmp54lD+kLM5FlClrD2VQS
-3a/DTg4fJl4N3LON7NWBcN7STyQF82xO9UxJZo3R/9ILJUFI/lGExkKvgATP0H5k
-SeTy36LssUzAKh3ntLFlosS88Zj0qnAHY7S42jtM+kAiMFsRpvAFDsYCA0irhpuF
-3dvd6qJ2gHN99ZwExEWN57kci57q13XRcrHedUTnQn3iV2t93Jm8PYMo6oCTjcVM
-ZcFwgbg4/EMxsvYDNEeyrPsiBsse3RdHHF9mudMaotoRsaS8I8nkvof/uZS2+F0g
-StRf571oe2XyFR7SOqkt6dhrJKyXWERHrVkY8SFlcN7ONGCoQPHzPKTDKCOM/icz
-Q0CgFzzr6juwcqajuUpLXhZI9LK8yIySxZ2frHI2vDSANGupi5LAuBft7HZT9SQB
-jLMi6Et8Vcad+qMUu2WFbm5PEn4KPJ2V
------END CERTIFICATE-----
-
 # Issuer: CN=Izenpe.com O=IZENPE S.A.
 # Subject: CN=Izenpe.com O=IZENPE S.A.
 # Label: "Izenpe.com"
@@ -3171,50 +2809,6 @@ LJstxabArahH9CdMOA0uG0k7UvToiIMrVCjU8jVStDKDYmlkDJGcn5fqdBb9HxEG
 mpv0
 -----END CERTIFICATE-----
 
-# Issuer: CN=Entrust Root Certification Authority - G4 O=Entrust, Inc. OU=See www.entrust.net/legal-terms/(c) 2015 Entrust, Inc. - for authorized use only
-# Subject: CN=Entrust Root Certification Authority - G4 O=Entrust, Inc. OU=See www.entrust.net/legal-terms/(c) 2015 Entrust, Inc. - for authorized use only
-# Label: "Entrust Root Certification Authority - G4"
-# Serial: 289383649854506086828220374796556676440
-# MD5 Fingerprint: 89:53:f1:83:23:b7:7c:8e:05:f1:8c:71:38:4e:1f:88
-# SHA1 Fingerprint: 14:88:4e:86:26:37:b0:26:af:59:62:5c:40:77:ec:35:29:ba:96:01
-# SHA256 Fingerprint: db:35:17:d1:f6:73:2a:2d:5a:b9:7c:53:3e:c7:07:79:ee:32:70:a6:2f:b4:ac:42:38:37:24:60:e6:f0:1e:88
------BEGIN CERTIFICATE-----
-MIIGSzCCBDOgAwIBAgIRANm1Q3+vqTkPAAAAAFVlrVgwDQYJKoZIhvcNAQELBQAw
-gb4xCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1FbnRydXN0LCBJbmMuMSgwJgYDVQQL
-Ex9TZWUgd3d3LmVudHJ1c3QubmV0L2xlZ2FsLXRlcm1zMTkwNwYDVQQLEzAoYykg
-MjAxNSBFbnRydXN0LCBJbmMuIC0gZm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxMjAw
-BgNVBAMTKUVudHJ1c3QgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEc0
-MB4XDTE1MDUyNzExMTExNloXDTM3MTIyNzExNDExNlowgb4xCzAJBgNVBAYTAlVT
-MRYwFAYDVQQKEw1FbnRydXN0LCBJbmMuMSgwJgYDVQQLEx9TZWUgd3d3LmVudHJ1
-c3QubmV0L2xlZ2FsLXRlcm1zMTkwNwYDVQQLEzAoYykgMjAxNSBFbnRydXN0LCBJ
-bmMuIC0gZm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxMjAwBgNVBAMTKUVudHJ1c3Qg
-Um9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEc0MIICIjANBgkqhkiG9w0B
-AQEFAAOCAg8AMIICCgKCAgEAsewsQu7i0TD/pZJH4i3DumSXbcr3DbVZwbPLqGgZ
-2K+EbTBwXX7zLtJTmeH+H17ZSK9dE43b/2MzTdMAArzE+NEGCJR5WIoV3imz/f3E
-T+iq4qA7ec2/a0My3dl0ELn39GjUu9CH1apLiipvKgS1sqbHoHrmSKvS0VnM1n4j
-5pds8ELl3FFLFUHtSUrJ3hCX1nbB76W1NhSXNdh4IjVS70O92yfbYVaCNNzLiGAM
-C1rlLAHGVK/XqsEQe9IFWrhAnoanw5CGAlZSCXqc0ieCU0plUmr1POeo8pyvi73T
-DtTUXm6Hnmo9RR3RXRv06QqsYJn7ibT/mCzPfB3pAqoEmh643IhuJbNsZvc8kPNX
-wbMv9W3y+8qh+CmdRouzavbmZwe+LGcKKh9asj5XxNMhIWNlUpEbsZmOeX7m640A
-2Vqq6nPopIICR5b+W45UYaPrL0swsIsjdXJ8ITzI9vF01Bx7owVV7rtNOzK+mndm
-nqxpkCIHH2E6lr7lmk/MBTwoWdPBDFSoWWG9yHJM6Nyfh3+9nEg2XpWjDrk4JFX8
-dWbrAuMINClKxuMrLzOg2qOGpRKX/YAr2hRC45K9PvJdXmd0LhyIRyk0X+IyqJwl
-N4y6mACXi0mWHv0liqzc2thddG5msP9E36EYxr5ILzeUePiVSj9/E15dWf10hkNj
-c0kCAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYD
-VR0OBBYEFJ84xFYjwznooHFs6FRM5Og6sb9nMA0GCSqGSIb3DQEBCwUAA4ICAQAS
-5UKme4sPDORGpbZgQIeMJX6tuGguW8ZAdjwD+MlZ9POrYs4QjbRaZIxowLByQzTS
-Gwv2LFPSypBLhmb8qoMi9IsabyZIrHZ3CL/FmFz0Jomee8O5ZDIBf9PD3Vht7LGr
-hFV0d4QEJ1JrhkzO3bll/9bGXp+aEJlLdWr+aumXIOTkdnrG0CSqkM0gkLpHZPt/
-B7NTeLUKYvJzQ85BK4FqLoUWlFPUa19yIqtRLULVAJyZv967lDtX/Zr1hstWO1uI
-AeV8KEsD+UmDfLJ/fOPtjqF/YFOOVZ1QNBIPt5d7bIdKROf1beyAN/BYGW5KaHbw
-H5Lk6rWS02FREAutp9lfx1/cH6NcjKF+m7ee01ZvZl4HliDtC3T7Zk6LERXpgUl+
-b7DUUH8i119lAg2m9IUe2K4GS0qn0jFmwvjO5QimpAKWRGhXxNUzzxkvFMSUHHuk
-2fCfDrGA4tGeEWSpiBE6doLlYsKA2KSD7ZPvfC+QsDJMlhVoSFLUmQjAJOgc47Ol
-IQ6SwJAfzyBfyjs4x7dtOvPmRLgOMWuIjnDrnBdSqEGULoe256YSxXXfW8AKbnuk
-5F6G+TaU33fD6Q3AOfF5u0aOq0NZJ7cguyPpVkAh7DE9ZapD8j3fcEThuk0mEDuY
-n/PIjhs4ViFqUZPTkcpG2om3PVODLAgfi49T3f+sHw==
------END CERTIFICATE-----
-
 # Issuer: CN=Microsoft ECC Root Certificate Authority 2017 O=Microsoft Corporation
 # Subject: CN=Microsoft ECC Root Certificate Authority 2017 O=Microsoft Corporation
 # Label: "Microsoft ECC Root Certificate Authority 2017"
@@ -4325,46 +3919,6 @@ ut6Dacpps6kFtZaSF4fC0urQe87YQVt8rgIwRt7qy12a7DLCZRawTDBcMPPaTnOG
 BtjOiQRINzf43TNRnXCve1XYAS59BWQOhriR
 -----END CERTIFICATE-----
 
-# Issuer: CN=Security Communication RootCA3 O=SECOM Trust Systems CO.,LTD.
-# Subject: CN=Security Communication RootCA3 O=SECOM Trust Systems CO.,LTD.
-# Label: "Security Communication RootCA3"
-# Serial: 16247922307909811815
-# MD5 Fingerprint: 1c:9a:16:ff:9e:5c:e0:4d:8a:14:01:f4:35:5d:29:26
-# SHA1 Fingerprint: c3:03:c8:22:74:92:e5:61:a2:9c:5f:79:91:2b:1e:44:13:91:30:3a
-# SHA256 Fingerprint: 24:a5:5c:2a:b0:51:44:2d:06:17:76:65:41:23:9a:4a:d0:32:d7:c5:51:75:aa:34:ff:de:2f:bc:4f:5c:52:94
------BEGIN CERTIFICATE-----
-MIIFfzCCA2egAwIBAgIJAOF8N0D9G/5nMA0GCSqGSIb3DQEBDAUAMF0xCzAJBgNV
-BAYTAkpQMSUwIwYDVQQKExxTRUNPTSBUcnVzdCBTeXN0ZW1zIENPLixMVEQuMScw
-JQYDVQQDEx5TZWN1cml0eSBDb21tdW5pY2F0aW9uIFJvb3RDQTMwHhcNMTYwNjE2
-MDYxNzE2WhcNMzgwMTE4MDYxNzE2WjBdMQswCQYDVQQGEwJKUDElMCMGA1UEChMc
-U0VDT00gVHJ1c3QgU3lzdGVtcyBDTy4sTFRELjEnMCUGA1UEAxMeU2VjdXJpdHkg
-Q29tbXVuaWNhdGlvbiBSb290Q0EzMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIIC
-CgKCAgEA48lySfcw3gl8qUCBWNO0Ot26YQ+TUG5pPDXC7ltzkBtnTCHsXzW7OT4r
-CmDvu20rhvtxosis5FaU+cmvsXLUIKx00rgVrVH+hXShuRD+BYD5UpOzQD11EKzA
-lrenfna84xtSGc4RHwsENPXY9Wk8d/Nk9A2qhd7gCVAEF5aEt8iKvE1y/By7z/MG
-TfmfZPd+pmaGNXHIEYBMwXFAWB6+oHP2/D5Q4eAvJj1+XCO1eXDe+uDRpdYMQXF7
-9+qMHIjH7Iv10S9VlkZ8WjtYO/u62C21Jdp6Ts9EriGmnpjKIG58u4iFW/vAEGK7
-8vknR+/RiTlDxN/e4UG/VHMgly1s2vPUB6PmudhvrvyMGS7TZ2crldtYXLVqAvO4
-g160a75BflcJdURQVc1aEWEhCmHCqYj9E7wtiS/NYeCVvsq1e+F7NGcLH7YMx3we
-GVPKp7FKFSBWFHA9K4IsD50VHUeAR/94mQ4xr28+j+2GaR57GIgUssL8gjMunEst
-+3A7caoreyYn8xrC3PsXuKHqy6C0rtOUfnrQq8PsOC0RLoi/1D+tEjtCrI8Cbn3M
-0V9hvqG8OmpI6iZVIhZdXw3/JzOfGAN0iltSIEdrRU0id4xVJ/CvHozJgyJUt5rQ
-T9nO/NkuHJYosQLTA70lUhw0Zk8jq/R3gpYd0VcwCBEF/VfR2ccCAwEAAaNCMEAw
-HQYDVR0OBBYEFGQUfPxYchamCik0FW8qy7z8r6irMA4GA1UdDwEB/wQEAwIBBjAP
-BgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBDAUAA4ICAQDcAiMI4u8hOscNtybS
-YpOnpSNyByCCYN8Y11StaSWSntkUz5m5UoHPrmyKO1o5yGwBQ8IibQLwYs1OY0PA
-FNr0Y/Dq9HHuTofjcan0yVflLl8cebsjqodEV+m9NU1Bu0soo5iyG9kLFwfl9+qd
-9XbXv8S2gVj/yP9kaWJ5rW4OH3/uHWnlt3Jxs/6lATWUVCvAUm2PVcTJ0rjLyjQI
-UYWg9by0F1jqClx6vWPGOi//lkkZhOpn2ASxYfQAW0q3nHE3GYV5v4GwxxMOdnE+
-OoAGrgYWp421wsTL/0ClXI2lyTrtcoHKXJg80jQDdwj98ClZXSEIx2C/pHF7uNke
-gr4Jr2VvKKu/S7XuPghHJ6APbw+LP6yVGPO5DtxnVW5inkYO0QR4ynKudtml+LLf
-iAlhi+8kTtFZP1rUPcmTPCtk9YENFpb3ksP+MW/oKjJ0DvRMmEoYDjBU1cXrvMUV
-nuiZIesnKwkK2/HmcBhWuwzkvvnoEKQTkrgc4NtnHVMDpCKn3F2SEDzq//wbEBrD
-2NCcnWXL0CsnMQMeNuE9dnUM/0Umud1RvCPHX9jYhxBAEg09ODfnRDwYwFMJZI//
-1ZqmfHAuc1Uh6N//g7kdPjIe1qZ9LPFm6Vwdp6POXiUyK+OVrCoHzrQoeIY8Laad
-TdJ0MN1kURXbg4NR16/9M51NZg==
------END CERTIFICATE-----
-
 # Issuer: CN=Security Communication ECC RootCA1 O=SECOM Trust Systems CO.,LTD.
 # Subject: CN=Security Communication ECC RootCA1 O=SECOM Trust Systems CO.,LTD.
 # Label: "Security Communication ECC RootCA1"
@@ -4633,3 +4187,592 @@ o7Ey7Nmj1m+UI/87tyll5gfp77YZ6ufCOB0yiJA8EytuzO+rdwY0d4RPcuSBhPm5
 dDTedk+SKlOxJTnbPP/lPqYO5Wue/9vsL3SD3460s6neFE3/MaNFcyT6lSnMEpcE
 oji2jbDwN/zIIX8/syQbPYtuzE2wFg2WHYMfRsCbvUOZ58SWLs5fyQ==
 -----END CERTIFICATE-----
+
+# Issuer: CN=TrustAsia Global Root CA G3 O=TrustAsia Technologies, Inc.
+# Subject: CN=TrustAsia Global Root CA G3 O=TrustAsia Technologies, Inc.
+# Label: "TrustAsia Global Root CA G3"
+# Serial: 576386314500428537169965010905813481816650257167
+# MD5 Fingerprint: 30:42:1b:b7:bb:81:75:35:e4:16:4f:53:d2:94:de:04
+# SHA1 Fingerprint: 63:cf:b6:c1:27:2b:56:e4:88:8e:1c:23:9a:b6:2e:81:47:24:c3:c7
+# SHA256 Fingerprint: e0:d3:22:6a:eb:11:63:c2:e4:8f:f9:be:3b:50:b4:c6:43:1b:e7:bb:1e:ac:c5:c3:6b:5d:5e:c5:09:03:9a:08
+-----BEGIN CERTIFICATE-----
+MIIFpTCCA42gAwIBAgIUZPYOZXdhaqs7tOqFhLuxibhxkw8wDQYJKoZIhvcNAQEM
+BQAwWjELMAkGA1UEBhMCQ04xJTAjBgNVBAoMHFRydXN0QXNpYSBUZWNobm9sb2dp
+ZXMsIEluYy4xJDAiBgNVBAMMG1RydXN0QXNpYSBHbG9iYWwgUm9vdCBDQSBHMzAe
+Fw0yMTA1MjAwMjEwMTlaFw00NjA1MTkwMjEwMTlaMFoxCzAJBgNVBAYTAkNOMSUw
+IwYDVQQKDBxUcnVzdEFzaWEgVGVjaG5vbG9naWVzLCBJbmMuMSQwIgYDVQQDDBtU
+cnVzdEFzaWEgR2xvYmFsIFJvb3QgQ0EgRzMwggIiMA0GCSqGSIb3DQEBAQUAA4IC
+DwAwggIKAoICAQDAMYJhkuSUGwoqZdC+BqmHO1ES6nBBruL7dOoKjbmzTNyPtxNS
+T1QY4SxzlZHFZjtqz6xjbYdT8PfxObegQ2OwxANdV6nnRM7EoYNl9lA+sX4WuDqK
+AtCWHwDNBSHvBm3dIZwZQ0WhxeiAysKtQGIXBsaqvPPW5vxQfmZCHzyLpnl5hkA1
+nyDvP+uLRx+PjsXUjrYsyUQE49RDdT/VP68czH5GX6zfZBCK70bwkPAPLfSIC7Ep
+qq+FqklYqL9joDiR5rPmd2jE+SoZhLsO4fWvieylL1AgdB4SQXMeJNnKziyhWTXA
+yB1GJ2Faj/lN03J5Zh6fFZAhLf3ti1ZwA0pJPn9pMRJpxx5cynoTi+jm9WAPzJMs
+hH/x/Gr8m0ed262IPfN2dTPXS6TIi/n1Q1hPy8gDVI+lhXgEGvNz8teHHUGf59gX
+zhqcD0r83ERoVGjiQTz+LISGNzzNPy+i2+f3VANfWdP3kXjHi3dqFuVJhZBFcnAv
+kV34PmVACxmZySYgWmjBNb9Pp1Hx2BErW+Canig7CjoKH8GB5S7wprlppYiU5msT
+f9FkPz2ccEblooV7WIQn3MSAPmeamseaMQ4w7OYXQJXZRe0Blqq/DPNL0WP3E1jA
+uPP6Z92bfW1K/zJMtSU7/xxnD4UiWQWRkUF3gdCFTIcQcf+eQxuulXUtgQIDAQAB
+o2MwYTAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFEDk5PIj7zjKsK5Xf/Ih
+MBY027ySMB0GA1UdDgQWBBRA5OTyI+84yrCuV3/yITAWNNu8kjAOBgNVHQ8BAf8E
+BAMCAQYwDQYJKoZIhvcNAQEMBQADggIBACY7UeFNOPMyGLS0XuFlXsSUT9SnYaP4
+wM8zAQLpw6o1D/GUE3d3NZ4tVlFEbuHGLige/9rsR82XRBf34EzC4Xx8MnpmyFq2
+XFNFV1pF1AWZLy4jVe5jaN/TG3inEpQGAHUNcoTpLrxaatXeL1nHo+zSh2bbt1S1
+JKv0Q3jbSwTEb93mPmY+KfJLaHEih6D4sTNjduMNhXJEIlU/HHzp/LgV6FL6qj6j
+ITk1dImmasI5+njPtqzn59ZW/yOSLlALqbUHM/Q4X6RJpstlcHboCoWASzY9M/eV
+VHUl2qzEc4Jl6VL1XP04lQJqaTDFHApXB64ipCz5xUG3uOyfT0gA+QEEVcys+TIx
+xHWVBqB/0Y0n3bOppHKH/lmLmnp0Ft0WpWIp6zqW3IunaFnT63eROfjXy9mPX1on
+AX1daBli2MjN9LdyR75bl87yraKZk62Uy5P2EgmVtqvXO9A/EcswFi55gORngS1d
+7XB4tmBZrOFdRWOPyN9yaFvqHbgB8X7754qz41SgOAngPN5C8sLtLpvzHzW2Ntjj
+gKGLzZlkD8Kqq7HK9W+eQ42EVJmzbsASZthwEPEGNTNDqJwuuhQxzhB/HIbjj9LV
++Hfsm6vxL2PZQl/gZ4FkkfGXL/xuJvYz+NO1+MRiqzFRJQJ6+N1rZdVtTTDIZbpo
+FGWsJwt0ivKH
+-----END CERTIFICATE-----
+
+# Issuer: CN=TrustAsia Global Root CA G4 O=TrustAsia Technologies, Inc.
+# Subject: CN=TrustAsia Global Root CA G4 O=TrustAsia Technologies, Inc.
+# Label: "TrustAsia Global Root CA G4"
+# Serial: 451799571007117016466790293371524403291602933463
+# MD5 Fingerprint: 54:dd:b2:d7:5f:d8:3e:ed:7c:e0:0b:2e:cc:ed:eb:eb
+# SHA1 Fingerprint: 57:73:a5:61:5d:80:b2:e6:ac:38:82:fc:68:07:31:ac:9f:b5:92:5a
+# SHA256 Fingerprint: be:4b:56:cb:50:56:c0:13:6a:52:6d:f4:44:50:8d:aa:36:a0:b5:4f:42:e4:ac:38:f7:2a:f4:70:e4:79:65:4c
+-----BEGIN CERTIFICATE-----
+MIICVTCCAdygAwIBAgIUTyNkuI6XY57GU4HBdk7LKnQV1tcwCgYIKoZIzj0EAwMw
+WjELMAkGA1UEBhMCQ04xJTAjBgNVBAoMHFRydXN0QXNpYSBUZWNobm9sb2dpZXMs
+IEluYy4xJDAiBgNVBAMMG1RydXN0QXNpYSBHbG9iYWwgUm9vdCBDQSBHNDAeFw0y
+MTA1MjAwMjEwMjJaFw00NjA1MTkwMjEwMjJaMFoxCzAJBgNVBAYTAkNOMSUwIwYD
+VQQKDBxUcnVzdEFzaWEgVGVjaG5vbG9naWVzLCBJbmMuMSQwIgYDVQQDDBtUcnVz
+dEFzaWEgR2xvYmFsIFJvb3QgQ0EgRzQwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAATx
+s8045CVD5d4ZCbuBeaIVXxVjAd7Cq92zphtnS4CDr5nLrBfbK5bKfFJV4hrhPVbw
+LxYI+hW8m7tH5j/uqOFMjPXTNvk4XatwmkcN4oFBButJ+bAp3TPsUKV/eSm4IJij
+YzBhMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAUpbtKl86zK3+kMd6Xg1mD
+pm9xy94wHQYDVR0OBBYEFKW7SpfOsyt/pDHel4NZg6ZvccveMA4GA1UdDwEB/wQE
+AwIBBjAKBggqhkjOPQQDAwNnADBkAjBe8usGzEkxn0AAbbd+NvBNEU/zy4k6LHiR
+UKNbwMp1JvK/kF0LgoxgKJ/GcJpo5PECMFxYDlZ2z1jD1xCMuo6u47xkdUfFVZDj
+/bpV6wfEU6s3qe4hsiFbYI89MvHVI5TWWA==
+-----END CERTIFICATE-----
+
+# Issuer: CN=CommScope Public Trust ECC Root-01 O=CommScope
+# Subject: CN=CommScope Public Trust ECC Root-01 O=CommScope
+# Label: "CommScope Public Trust ECC Root-01"
+# Serial: 385011430473757362783587124273108818652468453534
+# MD5 Fingerprint: 3a:40:a7:fc:03:8c:9c:38:79:2f:3a:a2:6c:b6:0a:16
+# SHA1 Fingerprint: 07:86:c0:d8:dd:8e:c0:80:98:06:98:d0:58:7a:ef:de:a6:cc:a2:5d
+# SHA256 Fingerprint: 11:43:7c:da:7b:b4:5e:41:36:5f:45:b3:9a:38:98:6b:0d:e0:0d:ef:34:8e:0c:7b:b0:87:36:33:80:0b:c3:8b
+-----BEGIN CERTIFICATE-----
+MIICHTCCAaOgAwIBAgIUQ3CCd89NXTTxyq4yLzf39H91oJ4wCgYIKoZIzj0EAwMw
+TjELMAkGA1UEBhMCVVMxEjAQBgNVBAoMCUNvbW1TY29wZTErMCkGA1UEAwwiQ29t
+bVNjb3BlIFB1YmxpYyBUcnVzdCBFQ0MgUm9vdC0wMTAeFw0yMTA0MjgxNzM1NDNa
+Fw00NjA0MjgxNzM1NDJaME4xCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlDb21tU2Nv
+cGUxKzApBgNVBAMMIkNvbW1TY29wZSBQdWJsaWMgVHJ1c3QgRUNDIFJvb3QtMDEw
+djAQBgcqhkjOPQIBBgUrgQQAIgNiAARLNumuV16ocNfQj3Rid8NeeqrltqLxeP0C
+flfdkXmcbLlSiFS8LwS+uM32ENEp7LXQoMPwiXAZu1FlxUOcw5tjnSCDPgYLpkJE
+hRGnSjot6dZoL0hOUysHP029uax3OVejQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYD
+VR0PAQH/BAQDAgEGMB0GA1UdDgQWBBSOB2LAUN3GGQYARnQE9/OufXVNMDAKBggq
+hkjOPQQDAwNoADBlAjEAnDPfQeMjqEI2Jpc1XHvr20v4qotzVRVcrHgpD7oh2MSg
+2NED3W3ROT3Ek2DS43KyAjB8xX6I01D1HiXo+k515liWpDVfG2XqYZpwI7UNo5uS
+Um9poIyNStDuiw7LR47QjRE=
+-----END CERTIFICATE-----
+
+# Issuer: CN=CommScope Public Trust ECC Root-02 O=CommScope
+# Subject: CN=CommScope Public Trust ECC Root-02 O=CommScope
+# Label: "CommScope Public Trust ECC Root-02"
+# Serial: 234015080301808452132356021271193974922492992893
+# MD5 Fingerprint: 59:b0:44:d5:65:4d:b8:5c:55:19:92:02:b6:d1:94:b2
+# SHA1 Fingerprint: 3c:3f:ef:57:0f:fe:65:93:86:9e:a0:fe:b0:f6:ed:8e:d1:13:c7:e5
+# SHA256 Fingerprint: 2f:fb:7f:81:3b:bb:b3:c8:9a:b4:e8:16:2d:0f:16:d7:15:09:a8:30:cc:9d:73:c2:62:e5:14:08:75:d1:ad:4a
+-----BEGIN CERTIFICATE-----
+MIICHDCCAaOgAwIBAgIUKP2ZYEFHpgE6yhR7H+/5aAiDXX0wCgYIKoZIzj0EAwMw
+TjELMAkGA1UEBhMCVVMxEjAQBgNVBAoMCUNvbW1TY29wZTErMCkGA1UEAwwiQ29t
+bVNjb3BlIFB1YmxpYyBUcnVzdCBFQ0MgUm9vdC0wMjAeFw0yMTA0MjgxNzQ0NTRa
+Fw00NjA0MjgxNzQ0NTNaME4xCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlDb21tU2Nv
+cGUxKzApBgNVBAMMIkNvbW1TY29wZSBQdWJsaWMgVHJ1c3QgRUNDIFJvb3QtMDIw
+djAQBgcqhkjOPQIBBgUrgQQAIgNiAAR4MIHoYx7l63FRD/cHB8o5mXxO1Q/MMDAL
+j2aTPs+9xYa9+bG3tD60B8jzljHz7aRP+KNOjSkVWLjVb3/ubCK1sK9IRQq9qEmU
+v4RDsNuESgMjGWdqb8FuvAY5N9GIIvejQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYD
+VR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTmGHX/72DehKT1RsfeSlXjMjZ59TAKBggq
+hkjOPQQDAwNnADBkAjAmc0l6tqvmSfR9Uj/UQQSugEODZXW5hYA4O9Zv5JOGq4/n
+ich/m35rChJVYaoR4HkCMHfoMXGsPHED1oQmHhS48zs73u1Z/GtMMH9ZzkXpc2AV
+mkzw5l4lIhVtwodZ0LKOag==
+-----END CERTIFICATE-----
+
+# Issuer: CN=CommScope Public Trust RSA Root-01 O=CommScope
+# Subject: CN=CommScope Public Trust RSA Root-01 O=CommScope
+# Label: "CommScope Public Trust RSA Root-01"
+# Serial: 354030733275608256394402989253558293562031411421
+# MD5 Fingerprint: 0e:b4:15:bc:87:63:5d:5d:02:73:d4:26:38:68:73:d8
+# SHA1 Fingerprint: 6d:0a:5f:f7:b4:23:06:b4:85:b3:b7:97:64:fc:ac:75:f5:33:f2:93
+# SHA256 Fingerprint: 02:bd:f9:6e:2a:45:dd:9b:f1:8f:c7:e1:db:df:21:a0:37:9b:a3:c9:c2:61:03:44:cf:d8:d6:06:fe:c1:ed:81
+-----BEGIN CERTIFICATE-----
+MIIFbDCCA1SgAwIBAgIUPgNJgXUWdDGOTKvVxZAplsU5EN0wDQYJKoZIhvcNAQEL
+BQAwTjELMAkGA1UEBhMCVVMxEjAQBgNVBAoMCUNvbW1TY29wZTErMCkGA1UEAwwi
+Q29tbVNjb3BlIFB1YmxpYyBUcnVzdCBSU0EgUm9vdC0wMTAeFw0yMTA0MjgxNjQ1
+NTRaFw00NjA0MjgxNjQ1NTNaME4xCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlDb21t
+U2NvcGUxKzApBgNVBAMMIkNvbW1TY29wZSBQdWJsaWMgVHJ1c3QgUlNBIFJvb3Qt
+MDEwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCwSGWjDR1C45FtnYSk
+YZYSwu3D2iM0GXb26v1VWvZVAVMP8syMl0+5UMuzAURWlv2bKOx7dAvnQmtVzslh
+suitQDy6uUEKBU8bJoWPQ7VAtYXR1HHcg0Hz9kXHgKKEUJdGzqAMxGBWBB0HW0al
+DrJLpA6lfO741GIDuZNqihS4cPgugkY4Iw50x2tBt9Apo52AsH53k2NC+zSDO3Oj
+WiE260f6GBfZumbCk6SP/F2krfxQapWsvCQz0b2If4b19bJzKo98rwjyGpg/qYFl
+P8GMicWWMJoKz/TUyDTtnS+8jTiGU+6Xn6myY5QXjQ/cZip8UlF1y5mO6D1cv547
+KI2DAg+pn3LiLCuz3GaXAEDQpFSOm117RTYm1nJD68/A6g3czhLmfTifBSeolz7p
+UcZsBSjBAg/pGG3svZwG1KdJ9FQFa2ww8esD1eo9anbCyxooSU1/ZOD6K9pzg4H/
+kQO9lLvkuI6cMmPNn7togbGEW682v3fuHX/3SZtS7NJ3Wn2RnU3COS3kuoL4b/JO
+Hg9O5j9ZpSPcPYeoKFgo0fEbNttPxP/hjFtyjMcmAyejOQoBqsCyMWCDIqFPEgkB
+Ea801M/XrmLTBQe0MXXgDW1XT2mH+VepuhX2yFJtocucH+X8eKg1mp9BFM6ltM6U
+CBwJrVbl2rZJmkrqYxhTnCwuwwIDAQABo0IwQDAPBgNVHRMBAf8EBTADAQH/MA4G
+A1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUN12mmnQywsL5x6YVEFm45P3luG0wDQYJ
+KoZIhvcNAQELBQADggIBAK+nz97/4L1CjU3lIpbfaOp9TSp90K09FlxD533Ahuh6
+NWPxzIHIxgvoLlI1pKZJkGNRrDSsBTtXAOnTYtPZKdVUvhwQkZyybf5Z/Xn36lbQ
+nmhUQo8mUuJM3y+Xpi/SB5io82BdS5pYV4jvguX6r2yBS5KPQJqTRlnLX3gWsWc+
+QgvfKNmwrZggvkN80V4aCRckjXtdlemrwWCrWxhkgPut4AZ9HcpZuPN4KWfGVh2v
+trV0KnahP/t1MJ+UXjulYPPLXAziDslg+MkfFoom3ecnf+slpoq9uC02EJqxWE2a
+aE9gVOX2RhOOiKy8IUISrcZKiX2bwdgt6ZYD9KJ0DLwAHb/WNyVntHKLr4W96ioD
+j8z7PEQkguIBpQtZtjSNMgsSDesnwv1B10A8ckYpwIzqug/xBpMu95yo9GA+o/E4
+Xo4TwbM6l4c/ksp4qRyv0LAbJh6+cOx69TOY6lz/KwsETkPdY34Op054A5U+1C0w
+lREQKC6/oAI+/15Z0wUOlV9TRe9rh9VIzRamloPh37MG88EU26fsHItdkJANclHn
+YfkUyq+Dj7+vsQpZXdxc1+SWrVtgHdqul7I52Qb1dgAT+GhMIbA1xNxVssnBQVoc
+icCMb3SgazNNtQEo/a2tiRc7ppqEvOuM6sRxJKi6KfkIsidWNTJf6jn7MZrVGczw
+-----END CERTIFICATE-----
+
+# Issuer: CN=CommScope Public Trust RSA Root-02 O=CommScope
+# Subject: CN=CommScope Public Trust RSA Root-02 O=CommScope
+# Label: "CommScope Public Trust RSA Root-02"
+# Serial: 480062499834624527752716769107743131258796508494
+# MD5 Fingerprint: e1:29:f9:62:7b:76:e2:96:6d:f3:d4:d7:0f:ae:1f:aa
+# SHA1 Fingerprint: ea:b0:e2:52:1b:89:93:4c:11:68:f2:d8:9a:ac:22:4c:a3:8a:57:ae
+# SHA256 Fingerprint: ff:e9:43:d7:93:42:4b:4f:7c:44:0c:1c:3d:64:8d:53:63:f3:4b:82:dc:87:aa:7a:9f:11:8f:c5:de:e1:01:f1
+-----BEGIN CERTIFICATE-----
+MIIFbDCCA1SgAwIBAgIUVBa/O345lXGN0aoApYYNK496BU4wDQYJKoZIhvcNAQEL
+BQAwTjELMAkGA1UEBhMCVVMxEjAQBgNVBAoMCUNvbW1TY29wZTErMCkGA1UEAwwi
+Q29tbVNjb3BlIFB1YmxpYyBUcnVzdCBSU0EgUm9vdC0wMjAeFw0yMTA0MjgxNzE2
+NDNaFw00NjA0MjgxNzE2NDJaME4xCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlDb21t
+U2NvcGUxKzApBgNVBAMMIkNvbW1TY29wZSBQdWJsaWMgVHJ1c3QgUlNBIFJvb3Qt
+MDIwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDh+g77aAASyE3VrCLE
+NQE7xVTlWXZjpX/rwcRqmL0yjReA61260WI9JSMZNRTpf4mnG2I81lDnNJUDMrG0
+kyI9p+Kx7eZ7Ti6Hmw0zdQreqjXnfuU2mKKuJZ6VszKWpCtYHu8//mI0SFHRtI1C
+rWDaSWqVcN3SAOLMV2MCe5bdSZdbkk6V0/nLKR8YSvgBKtJjCW4k6YnS5cciTNxz
+hkcAqg2Ijq6FfUrpuzNPDlJwnZXjfG2WWy09X6GDRl224yW4fKcZgBzqZUPckXk2
+LHR88mcGyYnJ27/aaL8j7dxrrSiDeS/sOKUNNwFnJ5rpM9kzXzehxfCrPfp4sOcs
+n/Y+n2Dg70jpkEUeBVF4GiwSLFworA2iI540jwXmojPOEXcT1A6kHkIfhs1w/tku
+FT0du7jyU1fbzMZ0KZwYszZ1OC4PVKH4kh+Jlk+71O6d6Ts2QrUKOyrUZHk2EOH5
+kQMreyBUzQ0ZGshBMjTRsJnhkB4BQDa1t/qp5Xd1pCKBXbCL5CcSD1SIxtuFdOa3
+wNemKfrb3vOTlycEVS8KbzfFPROvCgCpLIscgSjX74Yxqa7ybrjKaixUR9gqiC6v
+wQcQeKwRoi9C8DfF8rhW3Q5iLc4tVn5V8qdE9isy9COoR+jUKgF4z2rDN6ieZdIs
+5fq6M8EGRPbmz6UNp2YINIos8wIDAQABo0IwQDAPBgNVHRMBAf8EBTADAQH/MA4G
+A1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUR9DnsSL/nSz12Vdgs7GxcJXvYXowDQYJ
+KoZIhvcNAQELBQADggIBAIZpsU0v6Z9PIpNojuQhmaPORVMbc0RTAIFhzTHjCLqB
+KCh6krm2qMhDnscTJk3C2OVVnJJdUNjCK9v+5qiXz1I6JMNlZFxHMaNlNRPDk7n3
++VGXu6TwYofF1gbTl4MgqX67tiHCpQ2EAOHyJxCDut0DgdXdaMNmEMjRdrSzbyme
+APnCKfWxkxlSaRosTKCL4BWaMS/TiJVZbuXEs1DIFAhKm4sTg7GkcrI7djNB3Nyq
+pgdvHSQSn8h2vS/ZjvQs7rfSOBAkNlEv41xdgSGn2rtO/+YHqP65DSdsu3BaVXoT
+6fEqSWnHX4dXTEN5bTpl6TBcQe7rd6VzEojov32u5cSoHw2OHG1QAk8mGEPej1WF
+sQs3BWDJVTkSBKEqz3EWnzZRSb9wO55nnPt7eck5HHisd5FUmrh1CoFSl+NmYWvt
+PjgelmFV4ZFUjO2MJB+ByRCac5krFk5yAD9UG/iNuovnFNa2RU9g7Jauwy8CTl2d
+lklyALKrdVwPaFsdZcJfMw8eD/A7hvWwTruc9+olBdytoptLFwG+Qt81IR2tq670
+v64fG9PiO/yzcnMcmyiQiRM9HcEARwmWmjgb3bHPDcK0RPOWlc4yOo80nOAXx17O
+rg3bhzjlP1v9mxnhMUF6cKojawHhRUzNlM47ni3niAIi9G7oyOzWPPO5std3eqx7
+-----END CERTIFICATE-----
+
+# Issuer: CN=Telekom Security TLS ECC Root 2020 O=Deutsche Telekom Security GmbH
+# Subject: CN=Telekom Security TLS ECC Root 2020 O=Deutsche Telekom Security GmbH
+# Label: "Telekom Security TLS ECC Root 2020"
+# Serial: 72082518505882327255703894282316633856
+# MD5 Fingerprint: c1:ab:fe:6a:10:2c:03:8d:bc:1c:22:32:c0:85:a7:fd
+# SHA1 Fingerprint: c0:f8:96:c5:a9:3b:01:06:21:07:da:18:42:48:bc:e9:9d:88:d5:ec
+# SHA256 Fingerprint: 57:8a:f4:de:d0:85:3f:4e:59:98:db:4a:ea:f9:cb:ea:8d:94:5f:60:b6:20:a3:8d:1a:3c:13:b2:bc:7b:a8:e1
+-----BEGIN CERTIFICATE-----
+MIICQjCCAcmgAwIBAgIQNjqWjMlcsljN0AFdxeVXADAKBggqhkjOPQQDAzBjMQsw
+CQYDVQQGEwJERTEnMCUGA1UECgweRGV1dHNjaGUgVGVsZWtvbSBTZWN1cml0eSBH
+bWJIMSswKQYDVQQDDCJUZWxla29tIFNlY3VyaXR5IFRMUyBFQ0MgUm9vdCAyMDIw
+MB4XDTIwMDgyNTA3NDgyMFoXDTQ1MDgyNTIzNTk1OVowYzELMAkGA1UEBhMCREUx
+JzAlBgNVBAoMHkRldXRzY2hlIFRlbGVrb20gU2VjdXJpdHkgR21iSDErMCkGA1UE
+AwwiVGVsZWtvbSBTZWN1cml0eSBUTFMgRUNDIFJvb3QgMjAyMDB2MBAGByqGSM49
+AgEGBSuBBAAiA2IABM6//leov9Wq9xCazbzREaK9Z0LMkOsVGJDZos0MKiXrPk/O
+tdKPD/M12kOLAoC+b1EkHQ9rK8qfwm9QMuU3ILYg/4gND21Ju9sGpIeQkpT0CdDP
+f8iAC8GXs7s1J8nCG6NCMEAwHQYDVR0OBBYEFONyzG6VmUex5rNhTNHLq+O6zd6f
+MA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMAoGCCqGSM49BAMDA2cA
+MGQCMHVSi7ekEE+uShCLsoRbQuHmKjYC2qBuGT8lv9pZMo7k+5Dck2TOrbRBR2Di
+z6fLHgIwN0GMZt9Ba9aDAEH9L1r3ULRn0SyocddDypwnJJGDSA3PzfdUga/sf+Rn
+27iQ7t0l
+-----END CERTIFICATE-----
+
+# Issuer: CN=Telekom Security TLS RSA Root 2023 O=Deutsche Telekom Security GmbH
+# Subject: CN=Telekom Security TLS RSA Root 2023 O=Deutsche Telekom Security GmbH
+# Label: "Telekom Security TLS RSA Root 2023"
+# Serial: 44676229530606711399881795178081572759
+# MD5 Fingerprint: bf:5b:eb:54:40:cd:48:71:c4:20:8d:7d:de:0a:42:f2
+# SHA1 Fingerprint: 54:d3:ac:b3:bd:57:56:f6:85:9d:ce:e5:c3:21:e2:d4:ad:83:d0:93
+# SHA256 Fingerprint: ef:c6:5c:ad:bb:59:ad:b6:ef:e8:4d:a2:23:11:b3:56:24:b7:1b:3b:1e:a0:da:8b:66:55:17:4e:c8:97:86:46
+-----BEGIN CERTIFICATE-----
+MIIFszCCA5ugAwIBAgIQIZxULej27HF3+k7ow3BXlzANBgkqhkiG9w0BAQwFADBj
+MQswCQYDVQQGEwJERTEnMCUGA1UECgweRGV1dHNjaGUgVGVsZWtvbSBTZWN1cml0
+eSBHbWJIMSswKQYDVQQDDCJUZWxla29tIFNlY3VyaXR5IFRMUyBSU0EgUm9vdCAy
+MDIzMB4XDTIzMDMyODEyMTY0NVoXDTQ4MDMyNzIzNTk1OVowYzELMAkGA1UEBhMC
+REUxJzAlBgNVBAoMHkRldXRzY2hlIFRlbGVrb20gU2VjdXJpdHkgR21iSDErMCkG
+A1UEAwwiVGVsZWtvbSBTZWN1cml0eSBUTFMgUlNBIFJvb3QgMjAyMzCCAiIwDQYJ
+KoZIhvcNAQEBBQADggIPADCCAgoCggIBAO01oYGA88tKaVvC+1GDrib94W7zgRJ9
+cUD/h3VCKSHtgVIs3xLBGYSJwb3FKNXVS2xE1kzbB5ZKVXrKNoIENqil/Cf2SfHV
+cp6R+SPWcHu79ZvB7JPPGeplfohwoHP89v+1VmLhc2o0mD6CuKyVU/QBoCcHcqMA
+U6DksquDOFczJZSfvkgdmOGjup5czQRxUX11eKvzWarE4GC+j4NSuHUaQTXtvPM6
+Y+mpFEXX5lLRbtLevOP1Czvm4MS9Q2QTps70mDdsipWol8hHD/BeEIvnHRz+sTug
+BTNoBUGCwQMrAcjnj02r6LX2zWtEtefdi+zqJbQAIldNsLGyMcEWzv/9FIS3R/qy
+8XDe24tsNlikfLMR0cN3f1+2JeANxdKz+bi4d9s3cXFH42AYTyS2dTd4uaNir73J
+co4vzLuu2+QVUhkHM/tqty1LkCiCc/4YizWN26cEar7qwU02OxY2kTLvtkCJkUPg
+8qKrBC7m8kwOFjQgrIfBLX7JZkcXFBGk8/ehJImr2BrIoVyxo/eMbcgByU/J7MT8
+rFEz0ciD0cmfHdRHNCk+y7AO+oMLKFjlKdw/fKifybYKu6boRhYPluV75Gp6SG12
+mAWl3G0eQh5C2hrgUve1g8Aae3g1LDj1H/1Joy7SWWO/gLCMk3PLNaaZlSJhZQNg
++y+TS/qanIA7AgMBAAGjYzBhMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUtqeX
+gj10hZv3PJ+TmpV5dVKMbUcwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBS2
+p5eCPXSFm/c8n5OalXl1UoxtRzANBgkqhkiG9w0BAQwFAAOCAgEAqMxhpr51nhVQ
+pGv7qHBFfLp+sVr8WyP6Cnf4mHGCDG3gXkaqk/QeoMPhk9tLrbKmXauw1GLLXrtm
+9S3ul0A8Yute1hTWjOKWi0FpkzXmuZlrYrShF2Y0pmtjxrlO8iLpWA1WQdH6DErw
+M807u20hOq6OcrXDSvvpfeWxm4bu4uB9tPcy/SKE8YXJN3nptT+/XOR0so8RYgDd
+GGah2XsjX/GO1WfoVNpbOms2b/mBsTNHM3dA+VKq3dSDz4V4mZqTuXNnQkYRIer+
+CqkbGmVps4+uFrb2S1ayLfmlyOw7YqPta9BO1UAJpB+Y1zqlklkg5LB9zVtzaL1t
+xKITDmcZuI1CfmwMmm6gJC3VRRvcxAIU/oVbZZfKTpBQCHpCNfnqwmbU+AGuHrS+
+w6jv/naaoqYfRvaE7fzbzsQCzndILIyy7MMAo+wsVRjBfhnu4S/yrYObnqsZ38aK
+L4x35bcF7DvB7L6Gs4a8wPfc5+pbrrLMtTWGS9DiP7bY+A4A7l3j941Y/8+LN+lj
+X273CXE2whJdV/LItM3z7gLfEdxquVeEHVlNjM7IDiPCtyaaEBRx/pOyiriA8A4Q
+ntOoUAw3gi/q4Iqd4Sw5/7W0cwDk90imc6y/st53BIe0o82bNSQ3+pCTE4FCxpgm
+dTdmQRCsu/WU48IxK63nI1bMNSWSs1A=
+-----END CERTIFICATE-----
+
+# Issuer: CN=FIRMAPROFESIONAL CA ROOT-A WEB O=Firmaprofesional SA
+# Subject: CN=FIRMAPROFESIONAL CA ROOT-A WEB O=Firmaprofesional SA
+# Label: "FIRMAPROFESIONAL CA ROOT-A WEB"
+# Serial: 65916896770016886708751106294915943533
+# MD5 Fingerprint: 82:b2:ad:45:00:82:b0:66:63:f8:5f:c3:67:4e:ce:a3
+# SHA1 Fingerprint: a8:31:11:74:a6:14:15:0d:ca:77:dd:0e:e4:0c:5d:58:fc:a0:72:a5
+# SHA256 Fingerprint: be:f2:56:da:f2:6e:9c:69:bd:ec:16:02:35:97:98:f3:ca:f7:18:21:a0:3e:01:82:57:c5:3c:65:61:7f:3d:4a
+-----BEGIN CERTIFICATE-----
+MIICejCCAgCgAwIBAgIQMZch7a+JQn81QYehZ1ZMbTAKBggqhkjOPQQDAzBuMQsw
+CQYDVQQGEwJFUzEcMBoGA1UECgwTRmlybWFwcm9mZXNpb25hbCBTQTEYMBYGA1UE
+YQwPVkFURVMtQTYyNjM0MDY4MScwJQYDVQQDDB5GSVJNQVBST0ZFU0lPTkFMIENB
+IFJPT1QtQSBXRUIwHhcNMjIwNDA2MDkwMTM2WhcNNDcwMzMxMDkwMTM2WjBuMQsw
+CQYDVQQGEwJFUzEcMBoGA1UECgwTRmlybWFwcm9mZXNpb25hbCBTQTEYMBYGA1UE
+YQwPVkFURVMtQTYyNjM0MDY4MScwJQYDVQQDDB5GSVJNQVBST0ZFU0lPTkFMIENB
+IFJPT1QtQSBXRUIwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAARHU+osEaR3xyrq89Zf
+e9MEkVz6iMYiuYMQYneEMy3pA4jU4DP37XcsSmDq5G+tbbT4TIqk5B/K6k84Si6C
+cyvHZpsKjECcfIr28jlgst7L7Ljkb+qbXbdTkBgyVcUgt5SjYzBhMA8GA1UdEwEB
+/wQFMAMBAf8wHwYDVR0jBBgwFoAUk+FDY1w8ndYn81LsF7Kpryz3dvgwHQYDVR0O
+BBYEFJPhQ2NcPJ3WJ/NS7Beyqa8s93b4MA4GA1UdDwEB/wQEAwIBBjAKBggqhkjO
+PQQDAwNoADBlAjAdfKR7w4l1M+E7qUW/Runpod3JIha3RxEL2Jq68cgLcFBTApFw
+hVmpHqTm6iMxoAACMQD94vizrxa5HnPEluPBMBnYfubDl94cT7iJLzPrSA8Z94dG
+XSaQpYXFuXqUPoeovQA=
+-----END CERTIFICATE-----
+
+# Issuer: CN=TWCA CYBER Root CA O=TAIWAN-CA OU=Root CA
+# Subject: CN=TWCA CYBER Root CA O=TAIWAN-CA OU=Root CA
+# Label: "TWCA CYBER Root CA"
+# Serial: 85076849864375384482682434040119489222
+# MD5 Fingerprint: 0b:33:a0:97:52:95:d4:a9:fd:bb:db:6e:a3:55:5b:51
+# SHA1 Fingerprint: f6:b1:1c:1a:83:38:e9:7b:db:b3:a8:c8:33:24:e0:2d:9c:7f:26:66
+# SHA256 Fingerprint: 3f:63:bb:28:14:be:17:4e:c8:b6:43:9c:f0:8d:6d:56:f0:b7:c4:05:88:3a:56:48:a3:34:42:4d:6b:3e:c5:58
+-----BEGIN CERTIFICATE-----
+MIIFjTCCA3WgAwIBAgIQQAE0jMIAAAAAAAAAATzyxjANBgkqhkiG9w0BAQwFADBQ
+MQswCQYDVQQGEwJUVzESMBAGA1UEChMJVEFJV0FOLUNBMRAwDgYDVQQLEwdSb290
+IENBMRswGQYDVQQDExJUV0NBIENZQkVSIFJvb3QgQ0EwHhcNMjIxMTIyMDY1NDI5
+WhcNNDcxMTIyMTU1OTU5WjBQMQswCQYDVQQGEwJUVzESMBAGA1UEChMJVEFJV0FO
+LUNBMRAwDgYDVQQLEwdSb290IENBMRswGQYDVQQDExJUV0NBIENZQkVSIFJvb3Qg
+Q0EwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDG+Moe2Qkgfh1sTs6P
+40czRJzHyWmqOlt47nDSkvgEs1JSHWdyKKHfi12VCv7qze33Kc7wb3+szT3vsxxF
+avcokPFhV8UMxKNQXd7UtcsZyoC5dc4pztKFIuwCY8xEMCDa6pFbVuYdHNWdZsc/
+34bKS1PE2Y2yHer43CdTo0fhYcx9tbD47nORxc5zb87uEB8aBs/pJ2DFTxnk684i
+JkXXYJndzk834H/nY62wuFm40AZoNWDTNq5xQwTxaWV4fPMf88oon1oglWa0zbfu
+j3ikRRjpJi+NmykosaS3Om251Bw4ckVYsV7r8Cibt4LK/c/WMw+f+5eesRycnupf
+Xtuq3VTpMCEobY5583WSjCb+3MX2w7DfRFlDo7YDKPYIMKoNM+HvnKkHIuNZW0CP
+2oi3aQiotyMuRAlZN1vH4xfyIutuOVLF3lSnmMlLIJXcRolftBL5hSmO68gnFSDA
+S9TMfAxsNAwmmyYxpjyn9tnQS6Jk/zuZQXLB4HCX8SS7K8R0IrGsayIyJNN4KsDA
+oS/xUgXJP+92ZuJF2A09rZXIx4kmyA+upwMu+8Ff+iDhcK2wZSA3M2Cw1a/XDBzC
+kHDXShi8fgGwsOsVHkQGzaRP6AzRwyAQ4VRlnrZR0Bp2a0JaWHY06rc3Ga4udfmW
+5cFZ95RXKSWNOkyrTZpB0F8mAwIDAQABo2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYD
+VR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBSdhWEUfMFib5do5E83QOGt4A1WNzAd
+BgNVHQ4EFgQUnYVhFHzBYm+XaORPN0DhreANVjcwDQYJKoZIhvcNAQEMBQADggIB
+AGSPesRiDrWIzLjHhg6hShbNcAu3p4ULs3a2D6f/CIsLJc+o1IN1KriWiLb73y0t
+tGlTITVX1olNc79pj3CjYcya2x6a4CD4bLubIp1dhDGaLIrdaqHXKGnK/nZVekZn
+68xDiBaiA9a5F/gZbG0jAn/xX9AKKSM70aoK7akXJlQKTcKlTfjF/biBzysseKNn
+TKkHmvPfXvt89YnNdJdhEGoHK4Fa0o635yDRIG4kqIQnoVesqlVYL9zZyvpoBJ7t
+RCT5dEA7IzOrg1oYJkK2bVS1FmAwbLGg+LhBoF1JSdJlBTrq/p1hvIbZv97Tujqx
+f36SNI7JAG7cmL3c7IAFrQI932XtCwP39xaEBDG6k5TY8hL4iuO/Qq+n1M0RFxbI
+Qh0UqEL20kCGoE8jypZFVmAGzbdVAaYBlGX+bgUJurSkquLvWL69J1bY73NxW0Qz
+8ppy6rBePm6pUlvscG21h483XjyMnM7k8M4MZ0HMzvaAq07MTFb1wWFZk7Q+ptq4
+NxKfKjLji7gh7MMrZQzvIt6IKTtM1/r+t+FHvpw+PoP7UV31aPcuIYXcv/Fa4nzX
+xeSDwWrruoBa3lwtcHb4yOWHh8qgnaHlIhInD0Q9HWzq1MKLL295q39QpsQZp6F6
+t5b5wR9iWqJDB0BeJsas7a5wFsWqynKKTbDPAYsDP27X
+-----END CERTIFICATE-----
+
+# Issuer: CN=SecureSign Root CA12 O=Cybertrust Japan Co., Ltd.
+# Subject: CN=SecureSign Root CA12 O=Cybertrust Japan Co., Ltd.
+# Label: "SecureSign Root CA12"
+# Serial: 587887345431707215246142177076162061960426065942
+# MD5 Fingerprint: c6:89:ca:64:42:9b:62:08:49:0b:1e:7f:e9:07:3d:e8
+# SHA1 Fingerprint: 7a:22:1e:3d:de:1b:06:ac:9e:c8:47:70:16:8e:3c:e5:f7:6b:06:f4
+# SHA256 Fingerprint: 3f:03:4b:b5:70:4d:44:b2:d0:85:45:a0:20:57:de:93:eb:f3:90:5f:ce:72:1a:cb:c7:30:c0:6d:da:ee:90:4e
+-----BEGIN CERTIFICATE-----
+MIIDcjCCAlqgAwIBAgIUZvnHwa/swlG07VOX5uaCwysckBYwDQYJKoZIhvcNAQEL
+BQAwUTELMAkGA1UEBhMCSlAxIzAhBgNVBAoTGkN5YmVydHJ1c3QgSmFwYW4gQ28u
+LCBMdGQuMR0wGwYDVQQDExRTZWN1cmVTaWduIFJvb3QgQ0ExMjAeFw0yMDA0MDgw
+NTM2NDZaFw00MDA0MDgwNTM2NDZaMFExCzAJBgNVBAYTAkpQMSMwIQYDVQQKExpD
+eWJlcnRydXN0IEphcGFuIENvLiwgTHRkLjEdMBsGA1UEAxMUU2VjdXJlU2lnbiBS
+b290IENBMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC6OcE3emhF
+KxS06+QT61d1I02PJC0W6K6OyX2kVzsqdiUzg2zqMoqUm048luT9Ub+ZyZN+v/mt
+p7JIKwccJ/VMvHASd6SFVLX9kHrko+RRWAPNEHl57muTH2SOa2SroxPjcf59q5zd
+J1M3s6oYwlkm7Fsf0uZlfO+TvdhYXAvA42VvPMfKWeP+bl+sg779XSVOKik71gur
+FzJ4pOE+lEa+Ym6b3kaosRbnhW70CEBFEaCeVESE99g2zvVQR9wsMJvuwPWW0v4J
+hscGWa5Pro4RmHvzC1KqYiaqId+OJTN5lxZJjfU+1UefNzFJM3IFTQy2VYzxV4+K
+h9GtxRESOaCtAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQD
+AgEGMB0GA1UdDgQWBBRXNPN0zwRL1SXm8UC2LEzZLemgrTANBgkqhkiG9w0BAQsF
+AAOCAQEAPrvbFxbS8hQBICw4g0utvsqFepq2m2um4fylOqyttCg6r9cBg0krY6Ld
+mmQOmFxv3Y67ilQiLUoT865AQ9tPkbeGGuwAtEGBpE/6aouIs3YIcipJQMPTw4WJ
+mBClnW8Zt7vPemVV2zfrPIpyMpcemik+rY3moxtt9XUa5rBouVui7mlHJzWhhpmA
+8zNL4WukJsPvdFlseqJkth5Ew1DgDzk9qTPxpfPSvWKErI4cqc1avTc7bgoitPQV
+55FYxTpE05Uo2cBl6XLK0A+9H7MV2anjpEcJnuDLN/v9vZfVvhgaaaI5gdka9at/
+yOPiZwud9AzqVN/Ssq+xIvEg37xEHA==
+-----END CERTIFICATE-----
+
+# Issuer: CN=SecureSign Root CA14 O=Cybertrust Japan Co., Ltd.
+# Subject: CN=SecureSign Root CA14 O=Cybertrust Japan Co., Ltd.
+# Label: "SecureSign Root CA14"
+# Serial: 575790784512929437950770173562378038616896959179
+# MD5 Fingerprint: 71:0d:72:fa:92:19:65:5e:89:04:ac:16:33:f0:bc:d5
+# SHA1 Fingerprint: dd:50:c0:f7:79:b3:64:2e:74:a2:b8:9d:9f:d3:40:dd:bb:f0:f2:4f
+# SHA256 Fingerprint: 4b:00:9c:10:34:49:4f:9a:b5:6b:ba:3b:a1:d6:27:31:fc:4d:20:d8:95:5a:dc:ec:10:a9:25:60:72:61:e3:38
+-----BEGIN CERTIFICATE-----
+MIIFcjCCA1qgAwIBAgIUZNtaDCBO6Ncpd8hQJ6JaJ90t8sswDQYJKoZIhvcNAQEM
+BQAwUTELMAkGA1UEBhMCSlAxIzAhBgNVBAoTGkN5YmVydHJ1c3QgSmFwYW4gQ28u
+LCBMdGQuMR0wGwYDVQQDExRTZWN1cmVTaWduIFJvb3QgQ0ExNDAeFw0yMDA0MDgw
+NzA2MTlaFw00NTA0MDgwNzA2MTlaMFExCzAJBgNVBAYTAkpQMSMwIQYDVQQKExpD
+eWJlcnRydXN0IEphcGFuIENvLiwgTHRkLjEdMBsGA1UEAxMUU2VjdXJlU2lnbiBS
+b290IENBMTQwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDF0nqh1oq/
+FjHQmNE6lPxauG4iwWL3pwon71D2LrGeaBLwbCRjOfHw3xDG3rdSINVSW0KZnvOg
+vlIfX8xnbacuUKLBl422+JX1sLrcneC+y9/3OPJH9aaakpUqYllQC6KxNedlsmGy
+6pJxaeQp8E+BgQQ8sqVb1MWoWWd7VRxJq3qdwudzTe/NCcLEVxLbAQ4jeQkHO6Lo
+/IrPj8BGJJw4J+CDnRugv3gVEOuGTgpa/d/aLIJ+7sr2KeH6caH3iGicnPCNvg9J
+kdjqOvn90Ghx2+m1K06Ckm9mH+Dw3EzsytHqunQG+bOEkJTRX45zGRBdAuVwpcAQ
+0BB8b8VYSbSwbprafZX1zNoCr7gsfXmPvkPx+SgojQlD+Ajda8iLLCSxjVIHvXib
+y8posqTdDEx5YMaZ0ZPxMBoH064iwurO8YQJzOAUbn8/ftKChazcqRZOhaBgy/ac
+18izju3Gm5h1DVXoX+WViwKkrkMpKBGk5hIwAUt1ax5mnXkvpXYvHUC0bcl9eQjs
+0Wq2XSqypWa9a4X0dFbD9ed1Uigspf9mR6XU/v6eVL9lfgHWMI+lNpyiUBzuOIAB
+SMbHdPTGrMNASRZhdCyvjG817XsYAFs2PJxQDcqSMxDxJklt33UkN4Ii1+iW/RVL
+ApY+B3KVfqs9TC7XyvDf4Fg/LS8EmjijAQIDAQABo0IwQDAPBgNVHRMBAf8EBTAD
+AQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUBpOjCl4oaTeqYR3r6/wtbyPk
+86AwDQYJKoZIhvcNAQEMBQADggIBAJaAcgkGfpzMkwQWu6A6jZJOtxEaCnFxEM0E
+rX+lRVAQZk5KQaID2RFPeje5S+LGjzJmdSX7684/AykmjbgWHfYfM25I5uj4V7Ib
+ed87hwriZLoAymzvftAj63iP/2SbNDefNWWipAA9EiOWWF3KY4fGoweITedpdopT
+zfFP7ELyk+OZpDc8h7hi2/DsHzc/N19DzFGdtfCXwreFamgLRB7lUe6TzktuhsHS
+DCRZNhqfLJGP4xjblJUK7ZGqDpncllPjYYPGFrojutzdfhrGe0K22VoF3Jpf1d+4
+2kd92jjbrDnVHmtsKheMYc2xbXIBw8MgAGJoFjHVdqqGuw6qnsb58Nn4DSEC5MUo
+FlkRudlpcyqSeLiSV5sI8jrlL5WwWLdrIBRtFO8KvH7YVdiI2i/6GaX7i+B/OfVy
+K4XELKzvGUWSTLNhB9xNH27SgRNcmvMSZ4PPmz+Ln52kuaiWA3rF7iDeM9ovnhp6
+dB7h7sxaOgTdsxoEqBRjrLdHEoOabPXm6RUVkRqEGQ6UROcSjiVbgGcZ3GOTEAtl
+Lor6CZpO2oYofaphNdgOpygau1LgePhsumywbrmHXumZNTfxPWQrqaA0k89jL9WB
+365jJ6UeTo3cKXhZ+PmhIIynJkBugnLNeLLIjzwec+fBH7/PzqUqm9tEZDKgu39c
+JRNItX+S
+-----END CERTIFICATE-----
+
+# Issuer: CN=SecureSign Root CA15 O=Cybertrust Japan Co., Ltd.
+# Subject: CN=SecureSign Root CA15 O=Cybertrust Japan Co., Ltd.
+# Label: "SecureSign Root CA15"
+# Serial: 126083514594751269499665114766174399806381178503
+# MD5 Fingerprint: 13:30:fc:c4:62:a6:a9:de:b5:c1:68:af:b5:d2:31:47
+# SHA1 Fingerprint: cb:ba:83:c8:c1:5a:5d:f1:f9:73:6f:ca:d7:ef:28:13:06:4a:07:7d
+# SHA256 Fingerprint: e7:78:f0:f0:95:fe:84:37:29:cd:1a:00:82:17:9e:53:14:a9:c2:91:44:28:05:e1:fb:1d:8f:b6:b8:88:6c:3a
+-----BEGIN CERTIFICATE-----
+MIICIzCCAamgAwIBAgIUFhXHw9hJp75pDIqI7fBw+d23PocwCgYIKoZIzj0EAwMw
+UTELMAkGA1UEBhMCSlAxIzAhBgNVBAoTGkN5YmVydHJ1c3QgSmFwYW4gQ28uLCBM
+dGQuMR0wGwYDVQQDExRTZWN1cmVTaWduIFJvb3QgQ0ExNTAeFw0yMDA0MDgwODMy
+NTZaFw00NTA0MDgwODMyNTZaMFExCzAJBgNVBAYTAkpQMSMwIQYDVQQKExpDeWJl
+cnRydXN0IEphcGFuIENvLiwgTHRkLjEdMBsGA1UEAxMUU2VjdXJlU2lnbiBSb290
+IENBMTUwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQLUHSNZDKZmbPSYAi4Io5GdCx4
+wCtELW1fHcmuS1Iggz24FG1Th2CeX2yF2wYUleDHKP+dX+Sq8bOLbe1PL0vJSpSR
+ZHX+AezB2Ot6lHhWGENfa4HL9rzatAy2KZMIaY+jQjBAMA8GA1UdEwEB/wQFMAMB
+Af8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTrQciu/NWeUUj1vYv0hyCTQSvT
+9DAKBggqhkjOPQQDAwNoADBlAjEA2S6Jfl5OpBEHvVnCB96rMjhTKkZEBhd6zlHp
+4P9mLQlO4E/0BdGF9jVg3PVys0Z9AjBEmEYagoUeYWmJSwdLZrWeqrqgHkHZAXQ6
+bkU6iYAZezKYVWOr62Nuk22rGwlgMU4=
+-----END CERTIFICATE-----
+
+# Issuer: CN=D-TRUST BR Root CA 2 2023 O=D-Trust GmbH
+# Subject: CN=D-TRUST BR Root CA 2 2023 O=D-Trust GmbH
+# Label: "D-TRUST BR Root CA 2 2023"
+# Serial: 153168538924886464690566649552453098598
+# MD5 Fingerprint: e1:09:ed:d3:60:d4:56:1b:47:1f:b7:0c:5f:1b:5f:85
+# SHA1 Fingerprint: 2d:b0:70:ee:71:94:af:69:68:17:db:79:ce:58:9f:a0:6b:96:f7:87
+# SHA256 Fingerprint: 05:52:e6:f8:3f:df:65:e8:fa:96:70:e6:66:df:28:a4:e2:13:40:b5:10:cb:e5:25:66:f9:7c:4f:b9:4b:2b:d1
+-----BEGIN CERTIFICATE-----
+MIIFqTCCA5GgAwIBAgIQczswBEhb2U14LnNLyaHcZjANBgkqhkiG9w0BAQ0FADBI
+MQswCQYDVQQGEwJERTEVMBMGA1UEChMMRC1UcnVzdCBHbWJIMSIwIAYDVQQDExlE
+LVRSVVNUIEJSIFJvb3QgQ0EgMiAyMDIzMB4XDTIzMDUwOTA4NTYzMVoXDTM4MDUw
+OTA4NTYzMFowSDELMAkGA1UEBhMCREUxFTATBgNVBAoTDEQtVHJ1c3QgR21iSDEi
+MCAGA1UEAxMZRC1UUlVTVCBCUiBSb290IENBIDIgMjAyMzCCAiIwDQYJKoZIhvcN
+AQEBBQADggIPADCCAgoCggIBAK7/CVmRgApKaOYkP7in5Mg6CjoWzckjYaCTcfKr
+i3OPoGdlYNJUa2NRb0kz4HIHE304zQaSBylSa053bATTlfrdTIzZXcFhfUvnKLNE
+gXtRr90zsWh81k5M/itoucpmacTsXld/9w3HnDY25QdgrMBM6ghs7wZ8T1soegj8
+k12b9py0i4a6Ibn08OhZWiihNIQaJZG2tY/vsvmA+vk9PBFy2OMvhnbFeSzBqZCT
+Rphny4NqoFAjpzv2gTng7fC5v2Xx2Mt6++9zA84A9H3X4F07ZrjcjrqDy4d2A/wl
+2ecjbwb9Z/Pg/4S8R7+1FhhGaRTMBffb00msa8yr5LULQyReS2tNZ9/WtT5PeB+U
+cSTq3nD88ZP+npNa5JRal1QMNXtfbO4AHyTsA7oC9Xb0n9Sa7YUsOCIvx9gvdhFP
+/Wxc6PWOJ4d/GUohR5AdeY0cW/jPSoXk7bNbjb7EZChdQcRurDhaTyN0dKkSw/bS
+uREVMweR2Ds3OmMwBtHFIjYoYiMQ4EbMl6zWK11kJNXuHA7e+whadSr2Y23OC0K+
+0bpwHJwh5Q8xaRfX/Aq03u2AnMuStIv13lmiWAmlY0cL4UEyNEHZmrHZqLAbWt4N
+DfTisl01gLmB1IRpkQLLddCNxbU9CZEJjxShFHR5PtbJFR2kWVki3PaKRT08EtY+
+XTIvAgMBAAGjgY4wgYswDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUZ5Dw1t61
+GNVGKX5cq/ieCLxklRAwDgYDVR0PAQH/BAQDAgEGMEkGA1UdHwRCMEAwPqA8oDqG
+OGh0dHA6Ly9jcmwuZC10cnVzdC5uZXQvY3JsL2QtdHJ1c3RfYnJfcm9vdF9jYV8y
+XzIwMjMuY3JsMA0GCSqGSIb3DQEBDQUAA4ICAQA097N3U9swFrktpSHxQCF16+tI
+FoE9c+CeJyrrd6kTpGoKWloUMz1oH4Guaf2Mn2VsNELZLdB/eBaxOqwjMa1ef67n
+riv6uvw8l5VAk1/DLQOj7aRvU9f6QA4w9QAgLABMjDu0ox+2v5Eyq6+SmNMW5tTR
+VFxDWy6u71cqqLRvpO8NVhTaIasgdp4D/Ca4nj8+AybmTNudX0KEPUUDAxxZiMrc
+LmEkWqTqJwtzEr5SswrPMhfiHocaFpVIbVrg0M8JkiZmkdijYQ6qgYF/6FKC0ULn
+4B0Y+qSFNueG4A3rvNTJ1jxD8V1Jbn6Bm2m1iWKPiFLY1/4nwSPFyysCu7Ff/vtD
+hQNGvl3GyiEm/9cCnnRK3PgTFbGBVzbLZVzRHTF36SXDw7IyN9XxmAnkbWOACKsG
+koHU6XCPpz+y7YaMgmo1yEJagtFSGkUPFaUA8JR7ZSdXOUPPfH/mvTWze/EZTN46
+ls/pdu4D58JDUjxqgejBWoC9EV2Ta/vH5mQ/u2kc6d0li690yVRAysuTEwrt+2aS
+Ecr1wPrYg1UDfNPFIkZ1cGt5SAYqgpq/5usWDiJFAbzdNpQ0qTUmiteXue4Icr80
+knCDgKs4qllo3UCkGJCy89UDyibK79XH4I9TjvAA46jtn/mtd+ArY0+ew+43u3gJ
+hJ65bvspmZDogNOfJA==
+-----END CERTIFICATE-----
+
+# Issuer: CN=TrustAsia TLS ECC Root CA O=TrustAsia Technologies, Inc.
+# Subject: CN=TrustAsia TLS ECC Root CA O=TrustAsia Technologies, Inc.
+# Label: "TrustAsia TLS ECC Root CA"
+# Serial: 310892014698942880364840003424242768478804666567
+# MD5 Fingerprint: 09:48:04:77:d2:fc:65:93:71:66:b1:11:95:4f:06:8c
+# SHA1 Fingerprint: b5:ec:39:f3:a1:66:37:ae:c3:05:94:57:e2:be:11:be:b7:a1:7f:36
+# SHA256 Fingerprint: c0:07:6b:9e:f0:53:1f:b1:a6:56:d6:7c:4e:be:97:cd:5d:ba:a4:1e:f4:45:98:ac:c2:48:98:78:c9:2d:87:11
+-----BEGIN CERTIFICATE-----
+MIICMTCCAbegAwIBAgIUNnThTXxlE8msg1UloD5Sfi9QaMcwCgYIKoZIzj0EAwMw
+WDELMAkGA1UEBhMCQ04xJTAjBgNVBAoTHFRydXN0QXNpYSBUZWNobm9sb2dpZXMs
+IEluYy4xIjAgBgNVBAMTGVRydXN0QXNpYSBUTFMgRUNDIFJvb3QgQ0EwHhcNMjQw
+NTE1MDU0MTU2WhcNNDQwNTE1MDU0MTU1WjBYMQswCQYDVQQGEwJDTjElMCMGA1UE
+ChMcVHJ1c3RBc2lhIFRlY2hub2xvZ2llcywgSW5jLjEiMCAGA1UEAxMZVHJ1c3RB
+c2lhIFRMUyBFQ0MgUm9vdCBDQTB2MBAGByqGSM49AgEGBSuBBAAiA2IABLh/pVs/
+AT598IhtrimY4ZtcU5nb9wj/1WrgjstEpvDBjL1P1M7UiFPoXlfXTr4sP/MSpwDp
+guMqWzJ8S5sUKZ74LYO1644xST0mYekdcouJtgq7nDM1D9rs3qlKH8kzsaNCMEAw
+DwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQULIVTu7FDzTLqnqOH/qKYqKaT6RAw
+DgYDVR0PAQH/BAQDAgEGMAoGCCqGSM49BAMDA2gAMGUCMFRH18MtYYZI9HlaVQ01
+L18N9mdsd0AaRuf4aFtOJx24mH1/k78ITcTaRTChD15KeAIxAKORh/IRM4PDwYqR
+OkwrULG9IpRdNYlzg8WbGf60oenUoWa2AaU2+dhoYSi3dOGiMQ==
+-----END CERTIFICATE-----
+
+# Issuer: CN=TrustAsia TLS RSA Root CA O=TrustAsia Technologies, Inc.
+# Subject: CN=TrustAsia TLS RSA Root CA O=TrustAsia Technologies, Inc.
+# Label: "TrustAsia TLS RSA Root CA"
+# Serial: 160405846464868906657516898462547310235378010780
+# MD5 Fingerprint: 3b:9e:c3:86:0f:34:3c:6b:c5:46:c4:8e:1d:e7:19:12
+# SHA1 Fingerprint: a5:46:50:c5:62:ea:95:9a:1a:a7:04:6f:17:58:c7:29:53:3d:03:fa
+# SHA256 Fingerprint: 06:c0:8d:7d:af:d8:76:97:1e:b1:12:4f:e6:7f:84:7e:c0:c7:a1:58:d3:ea:53:cb:e9:40:e2:ea:97:91:f4:c3
+-----BEGIN CERTIFICATE-----
+MIIFgDCCA2igAwIBAgIUHBjYz+VTPyI1RlNUJDxsR9FcSpwwDQYJKoZIhvcNAQEM
+BQAwWDELMAkGA1UEBhMCQ04xJTAjBgNVBAoTHFRydXN0QXNpYSBUZWNobm9sb2dp
+ZXMsIEluYy4xIjAgBgNVBAMTGVRydXN0QXNpYSBUTFMgUlNBIFJvb3QgQ0EwHhcN
+MjQwNTE1MDU0MTU3WhcNNDQwNTE1MDU0MTU2WjBYMQswCQYDVQQGEwJDTjElMCMG
+A1UEChMcVHJ1c3RBc2lhIFRlY2hub2xvZ2llcywgSW5jLjEiMCAGA1UEAxMZVHJ1
+c3RBc2lhIFRMUyBSU0EgUm9vdCBDQTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCC
+AgoCggIBAMMWuBtqpERz5dZO9LnPWwvB0ZqB9WOwj0PBuwhaGnrhB3YmH49pVr7+
+NmDQDIPNlOrnxS1cLwUWAp4KqC/lYCZUlviYQB2srp10Zy9U+5RjmOMmSoPGlbYJ
+Q1DNDX3eRA5gEk9bNb2/mThtfWza4mhzH/kxpRkQcwUqwzIZheo0qt1CHjCNP561
+HmHVb70AcnKtEj+qpklz8oYVlQwQX1Fkzv93uMltrOXVmPGZLmzjyUT5tUMnCE32
+ft5EebuyjBza00tsLtbDeLdM1aTk2tyKjg7/D8OmYCYozza/+lcK7Fs/6TAWe8Tb
+xNRkoDD75f0dcZLdKY9BWN4ArTr9PXwaqLEX8E40eFgl1oUh63kd0Nyrz2I8sMeX
+i9bQn9P+PN7F4/w6g3CEIR0JwqH8uyghZVNgepBtljhb//HXeltt08lwSUq6HTrQ
+UNoyIBnkiz/r1RYmNzz7dZ6wB3C4FGB33PYPXFIKvF1tjVEK2sUYyJtt3LCDs3+j
+TnhMmCWr8n4uIF6CFabW2I+s5c0yhsj55NqJ4js+k8UTav/H9xj8Z7XvGCxUq0DT
+bE3txci3OE9kxJRMT6DNrqXGJyV1J23G2pyOsAWZ1SgRxSHUuPzHlqtKZFlhaxP8
+S8ySpg+kUb8OWJDZgoM5pl+z+m6Ss80zDoWo8SnTq1mt1tve1CuBAgMBAAGjQjBA
+MA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFLgHkXlcBvRG/XtZylomkadFK/hT
+MA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQwFAAOCAgEAIZtqBSBdGBanEqT3
+Rz/NyjuujsCCztxIJXgXbODgcMTWltnZ9r96nBO7U5WS/8+S4PPFJzVXqDuiGev4
+iqME3mmL5Dw8veWv0BIb5Ylrc5tvJQJLkIKvQMKtuppgJFqBTQUYo+IzeXoLH5Pt
+7DlK9RME7I10nYEKqG/odv6LTytpEoYKNDbdgptvT+Bz3Ul/KD7JO6NXBNiT2Twp
+2xIQaOHEibgGIOcberyxk2GaGUARtWqFVwHxtlotJnMnlvm5P1vQiJ3koP26TpUJ
+g3933FEFlJ0gcXax7PqJtZwuhfG5WyRasQmr2soaB82G39tp27RIGAAtvKLEiUUj
+pQ7hRGU+isFqMB3iYPg6qocJQrmBktwliJiJ8Xw18WLK7nn4GS/+X/jbh87qqA8M
+pugLoDzga5SYnH+tBuYc6kIQX+ImFTw3OffXvO645e8D7r0i+yiGNFjEWn9hongP
+XvPKnbwbPKfILfanIhHKA9jnZwqKDss1jjQ52MjqjZ9k4DewbNfFj8GQYSbbJIwe
+SsCI3zWQzj8C9GRh3sfIB5XeMhg6j6JCQCTl1jNdfK7vsU1P1FeQNWrcrgSXSYk0
+ly4wBOeY99sLAZDBHwo/+ML+TvrbmnNzFrwFuHnYWa8G5z9nODmxfKuU4CkUpijy
+323imttUQ/hHWKNddBWcwauwxzQ=
+-----END CERTIFICATE-----
+
+# Issuer: CN=D-TRUST EV Root CA 2 2023 O=D-Trust GmbH
+# Subject: CN=D-TRUST EV Root CA 2 2023 O=D-Trust GmbH
+# Label: "D-TRUST EV Root CA 2 2023"
+# Serial: 139766439402180512324132425437959641711
+# MD5 Fingerprint: 96:b4:78:09:f0:09:cb:77:eb:bb:1b:4d:6f:36:bc:b6
+# SHA1 Fingerprint: a5:5b:d8:47:6c:8f:19:f7:4c:f4:6d:6b:b6:c2:79:82:22:df:54:8b
+# SHA256 Fingerprint: 8e:82:21:b2:e7:d4:00:78:36:a1:67:2f:0d:cc:29:9c:33:bc:07:d3:16:f1:32:fa:1a:20:6d:58:71:50:f1:ce
+-----BEGIN CERTIFICATE-----
+MIIFqTCCA5GgAwIBAgIQaSYJfoBLTKCnjHhiU19abzANBgkqhkiG9w0BAQ0FADBI
+MQswCQYDVQQGEwJERTEVMBMGA1UEChMMRC1UcnVzdCBHbWJIMSIwIAYDVQQDExlE
+LVRSVVNUIEVWIFJvb3QgQ0EgMiAyMDIzMB4XDTIzMDUwOTA5MTAzM1oXDTM4MDUw
+OTA5MTAzMlowSDELMAkGA1UEBhMCREUxFTATBgNVBAoTDEQtVHJ1c3QgR21iSDEi
+MCAGA1UEAxMZRC1UUlVTVCBFViBSb290IENBIDIgMjAyMzCCAiIwDQYJKoZIhvcN
+AQEBBQADggIPADCCAgoCggIBANiOo4mAC7JXUtypU0w3uX9jFxPvp1sjW2l1sJkK
+F8GLxNuo4MwxusLyzV3pt/gdr2rElYfXR8mV2IIEUD2BCP/kPbOx1sWy/YgJ25yE
+7CUXFId/MHibaljJtnMoPDT3mfd/06b4HEV8rSyMlD/YZxBTfiLNTiVR8CUkNRFe
+EMbsh2aJgWi6zCudR3Mfvc2RpHJqnKIbGKBv7FD0fUDCqDDPvXPIEysQEx6Lmqg6
+lHPTGGkKSv/BAQP/eX+1SH977ugpbzZMlWGG2Pmic4ruri+W7mjNPU0oQvlFKzIb
+RlUWaqZLKfm7lVa/Rh3sHZMdwGWyH6FDrlaeoLGPaxK3YG14C8qKXO0elg6DpkiV
+jTujIcSuWMYAsoS0I6SWhjW42J7YrDRJmGOVxcttSEfi8i4YHtAxq9107PncjLgc
+jmgjutDzUNzPZY9zOjLHfP7KgiJPvo5iR2blzYfi6NUPGJ/lBHJLRjwQ8kTCZFZx
+TnXonMkmdMV9WdEKWw9t/p51HBjGGjp82A0EzM23RWV6sY+4roRIPrN6TagD4uJ+
+ARZZaBhDM7DS3LAaQzXupdqpRlyuhoFBAUp0JuyfBr/CBTdkdXgpaP3F9ev+R/nk
+hbDhezGdpn9yo7nELC7MmVcOIQxFAZRl62UJxmMiCzNJkkg8/M3OsD6Onov4/knF
+NXJHAgMBAAGjgY4wgYswDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUqvyREBuH
+kV8Wub9PS5FeAByxMoAwDgYDVR0PAQH/BAQDAgEGMEkGA1UdHwRCMEAwPqA8oDqG
+OGh0dHA6Ly9jcmwuZC10cnVzdC5uZXQvY3JsL2QtdHJ1c3RfZXZfcm9vdF9jYV8y
+XzIwMjMuY3JsMA0GCSqGSIb3DQEBDQUAA4ICAQCTy6UfmRHsmg1fLBWTxj++EI14
+QvBukEdHjqOSMo1wj/Zbjb6JzkcBahsgIIlbyIIQbODnmaprxiqgYzWRaoUlrRc4
+pZt+UPJ26oUFKidBK7GB0aL2QHWpDsvxVUjY7NHss+jOFKE17MJeNRqrphYBBo7q
+3C+jisosketSjl8MmxfPy3MHGcRqwnNU73xDUmPBEcrCRbH0O1P1aa4846XerOhU
+t7KR/aypH/KH5BfGSah82ApB9PI+53c0BFLd6IHyTS9URZ0V4U/M5d40VxDJI3IX
+cI1QcB9WbMy5/zpaT2N6w25lBx2Eof+pDGOJbbJAiDnXH3dotfyc1dZnaVuodNv8
+ifYbMvekJKZ2t0dT741Jj6m2g1qllpBFYfXeA08mD6iL8AOWsKwV0HFaanuU5nCT
+2vFp4LJiTZ6P/4mdm13NRemUAiKN4DV/6PEEeXFsVIP4M7kFMhtYVRFP0OUnR3Hs
+7dpn1mKmS00PaaLJvOwiS5THaJQXfuKOKD62xur1NGyfN4gHONuGcfrNlUhDbqNP
+gofXNJhuS5N5YHVpD/Aa1VP6IQzCP+k/HxiMkl14p3ZnGbuy6n/pcAlWVqOwDAst
+Nl7F6cTVg8uGF5csbBNvh1qvSaYd2804BC5f4ko1Di1L+KIkBI3Y4WNeApI02phh
+XBxvWHZks/wCuPWdCg==
+-----END CERTIFICATE-----
+
+# Issuer: CN=SwissSign RSA TLS Root CA 2022 - 1 O=SwissSign AG
+# Subject: CN=SwissSign RSA TLS Root CA 2022 - 1 O=SwissSign AG
+# Label: "SwissSign RSA TLS Root CA 2022 - 1"
+# Serial: 388078645722908516278762308316089881486363258315
+# MD5 Fingerprint: 16:2e:e4:19:76:81:85:ba:8e:91:58:f1:15:ef:72:39
+# SHA1 Fingerprint: 81:34:0a:be:4c:cd:ce:cc:e7:7d:cc:8a:d4:57:e2:45:a0:77:5d:ce
+# SHA256 Fingerprint: 19:31:44:f4:31:e0:fd:db:74:07:17:d4:de:92:6a:57:11:33:88:4b:43:60:d3:0e:27:29:13:cb:e6:60:ce:41
+-----BEGIN CERTIFICATE-----
+MIIFkzCCA3ugAwIBAgIUQ/oMX04bgBhE79G0TzUfRPSA7cswDQYJKoZIhvcNAQEL
+BQAwUTELMAkGA1UEBhMCQ0gxFTATBgNVBAoTDFN3aXNzU2lnbiBBRzErMCkGA1UE
+AxMiU3dpc3NTaWduIFJTQSBUTFMgUm9vdCBDQSAyMDIyIC0gMTAeFw0yMjA2MDgx
+MTA4MjJaFw00NzA2MDgxMTA4MjJaMFExCzAJBgNVBAYTAkNIMRUwEwYDVQQKEwxT
+d2lzc1NpZ24gQUcxKzApBgNVBAMTIlN3aXNzU2lnbiBSU0EgVExTIFJvb3QgQ0Eg
+MjAyMiAtIDEwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDLKmjiC8NX
+vDVjvHClO/OMPE5Xlm7DTjak9gLKHqquuN6orx122ro10JFwB9+zBvKK8i5VUXu7
+LCTLf5ImgKO0lPaCoaTo+nUdWfMHamFk4saMla+ju45vVs9xzF6BYQ1t8qsCLqSX
+5XH8irCRIFucdFJtrhUnWXjyCcplDn/L9Ovn3KlMd/YrFgSVrpxxpT8q2kFC5zyE
+EPThPYxr4iuRR1VPuFa+Rd4iUU1OKNlfGUEGjw5NBuBwQCMBauTLE5tzrE0USJIt
+/m2n+IdreXXhvhCxqohAWVTXz8TQm0SzOGlkjIHRI36qOTw7D59Ke4LKa2/KIj4x
+0LDQKhySio/YGZxH5D4MucLNvkEM+KRHBdvBFzA4OmnczcNpI/2aDwLOEGrOyvi5
+KaM2iYauC8BPY7kGWUleDsFpswrzd34unYyzJ5jSmY0lpx+Gs6ZUcDj8fV3oT4MM
+0ZPlEuRU2j7yrTrePjxF8CgPBrnh25d7mUWe3f6VWQQvdT/TromZhqwUtKiE+shd
+OxtYk8EXlFXIC+OCeYSf8wCENO7cMdWP8vpPlkwGqnj73mSiI80fPsWMvDdUDrta
+clXvyFu1cvh43zcgTFeRc5JzrBh3Q4IgaezprClG5QtO+DdziZaKHG29777YtvTK
+wP1H8K4LWCDFyB02rpeNUIMmJCn3nTsPBQIDAQABo2MwYTAPBgNVHRMBAf8EBTAD
+AQH/MA4GA1UdDwEB/wQEAwIBBjAfBgNVHSMEGDAWgBRvjmKLk0Ow4UD2p8P98Q+4
+DxU4pTAdBgNVHQ4EFgQUb45ii5NDsOFA9qfD/fEPuA8VOKUwDQYJKoZIhvcNAQEL
+BQADggIBAKwsKUF9+lz1GpUYvyypiqkkVHX1uECry6gkUSsYP2OprphWKwVDIqO3
+10aewCoSPY6WlkDfDDOLazeROpW7OSltwAJsipQLBwJNGD77+3v1dj2b9l4wBlgz
+Hqp41eZUBDqyggmNzhYzWUUo8aWjlw5DI/0LIICQ/+Mmz7hkkeUFjxOgdg3XNwwQ
+iJb0Pr6VvfHDffCjw3lHC1ySFWPtUnWK50Zpy1FVCypM9fJkT6lc/2cyjlUtMoIc
+gC9qkfjLvH4YoiaoLqNTKIftV+Vlek4ASltOU8liNr3CjlvrzG4ngRhZi0Rjn9UM
+ZfQpZX+RLOV/fuiJz48gy20HQhFRJjKKLjpHE7iNvUcNCfAWpO2Whi4Z2L6MOuhF
+LhG6rlrnub+xzI/goP+4s9GFe3lmozm1O2bYQL7Pt2eLSMkZJVX8vY3PXtpOpvJp
+zv1/THfQwUY1mFwjmwJFQ5Ra3bxHrSL+ul4vkSkphnsh3m5kt8sNjzdbowhq6/Td
+Ao9QAwKxuDdollDruF/UKIqlIgyKhPBZLtU30WHlQnNYKoH3dtvi4k0NX/a3vgW0
+rk4N3hY9A4GzJl5LuEsAz/+MF7psYC0nhzck5npgL7XTgwSqT0N1osGDsieYK7EO
+gLrAhV5Cud+xYJHT6xh+cHiudoO+cVrQkOPKwRYlZ0rwtnu64ZzZ
+-----END CERTIFICATE-----
diff --git a/.venv/Lib/site-packages/pip/_vendor/certifi/core.py b/.venv/Lib/site-packages/pip/_vendor/certifi/core.py
index c3e5466..2f2f7e0 100644
--- a/.venv/Lib/site-packages/pip/_vendor/certifi/core.py
+++ b/.venv/Lib/site-packages/pip/_vendor/certifi/core.py
@@ -5,6 +5,10 @@ certifi.py
 This module returns the installation location of cacert.pem or its contents.
 """
 import sys
+import atexit
+
+def exit_cacert_ctx() -> None:
+    _CACERT_CTX.__exit__(None, None, None)  # type: ignore[union-attr]
 
 
 if sys.version_info >= (3, 11):
@@ -35,13 +39,14 @@ if sys.version_info >= (3, 11):
             # we will also store that at the global level as well.
             _CACERT_CTX = as_file(files("pip._vendor.certifi").joinpath("cacert.pem"))
             _CACERT_PATH = str(_CACERT_CTX.__enter__())
+            atexit.register(exit_cacert_ctx)
 
         return _CACERT_PATH
 
     def contents() -> str:
         return files("pip._vendor.certifi").joinpath("cacert.pem").read_text(encoding="ascii")
 
-elif sys.version_info >= (3, 7):
+else:
 
     from importlib.resources import path as get_path, read_text
 
@@ -70,39 +75,9 @@ elif sys.version_info >= (3, 7):
             # we will also store that at the global level as well.
             _CACERT_CTX = get_path("pip._vendor.certifi", "cacert.pem")
             _CACERT_PATH = str(_CACERT_CTX.__enter__())
+            atexit.register(exit_cacert_ctx)
 
         return _CACERT_PATH
 
     def contents() -> str:
         return read_text("pip._vendor.certifi", "cacert.pem", encoding="ascii")
-
-else:
-    import os
-    import types
-    from typing import Union
-
-    Package = Union[types.ModuleType, str]
-    Resource = Union[str, "os.PathLike"]
-
-    # This fallback will work for Python versions prior to 3.7 that lack the
-    # importlib.resources module but relies on the existing `where` function
-    # so won't address issues with environments like PyOxidizer that don't set
-    # __file__ on modules.
-    def read_text(
-        package: Package,
-        resource: Resource,
-        encoding: str = 'utf-8',
-        errors: str = 'strict'
-    ) -> str:
-        with open(where(), encoding=encoding) as data:
-            return data.read()
-
-    # If we don't have importlib.resources, then we will just do the old logic
-    # of assuming we're on the filesystem and munge the path directly.
-    def where() -> str:
-        f = os.path.dirname(__file__)
-
-        return os.path.join(f, "cacert.pem")
-
-    def contents() -> str:
-        return read_text("pip._vendor.certifi", "cacert.pem", encoding="ascii")
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__init__.py b/.venv/Lib/site-packages/pip/_vendor/chardet/__init__.py
deleted file mode 100644
index fe58162..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/__init__.py
+++ /dev/null
@@ -1,115 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-from typing import List, Union
-
-from .charsetgroupprober import CharSetGroupProber
-from .charsetprober import CharSetProber
-from .enums import InputState
-from .resultdict import ResultDict
-from .universaldetector import UniversalDetector
-from .version import VERSION, __version__
-
-__all__ = ["UniversalDetector", "detect", "detect_all", "__version__", "VERSION"]
-
-
-def detect(
-    byte_str: Union[bytes, bytearray], should_rename_legacy: bool = False
-) -> ResultDict:
-    """
-    Detect the encoding of the given byte string.
-
-    :param byte_str:     The byte sequence to examine.
-    :type byte_str:      ``bytes`` or ``bytearray``
-    :param should_rename_legacy:  Should we rename legacy encodings
-                                  to their more modern equivalents?
-    :type should_rename_legacy:   ``bool``
-    """
-    if not isinstance(byte_str, bytearray):
-        if not isinstance(byte_str, bytes):
-            raise TypeError(
-                f"Expected object of type bytes or bytearray, got: {type(byte_str)}"
-            )
-        byte_str = bytearray(byte_str)
-    detector = UniversalDetector(should_rename_legacy=should_rename_legacy)
-    detector.feed(byte_str)
-    return detector.close()
-
-
-def detect_all(
-    byte_str: Union[bytes, bytearray],
-    ignore_threshold: bool = False,
-    should_rename_legacy: bool = False,
-) -> List[ResultDict]:
-    """
-    Detect all the possible encodings of the given byte string.
-
-    :param byte_str:          The byte sequence to examine.
-    :type byte_str:           ``bytes`` or ``bytearray``
-    :param ignore_threshold:  Include encodings that are below
-                              ``UniversalDetector.MINIMUM_THRESHOLD``
-                              in results.
-    :type ignore_threshold:   ``bool``
-    :param should_rename_legacy:  Should we rename legacy encodings
-                                  to their more modern equivalents?
-    :type should_rename_legacy:   ``bool``
-    """
-    if not isinstance(byte_str, bytearray):
-        if not isinstance(byte_str, bytes):
-            raise TypeError(
-                f"Expected object of type bytes or bytearray, got: {type(byte_str)}"
-            )
-        byte_str = bytearray(byte_str)
-
-    detector = UniversalDetector(should_rename_legacy=should_rename_legacy)
-    detector.feed(byte_str)
-    detector.close()
-
-    if detector.input_state == InputState.HIGH_BYTE:
-        results: List[ResultDict] = []
-        probers: List[CharSetProber] = []
-        for prober in detector.charset_probers:
-            if isinstance(prober, CharSetGroupProber):
-                probers.extend(p for p in prober.probers)
-            else:
-                probers.append(prober)
-        for prober in probers:
-            if ignore_threshold or prober.get_confidence() > detector.MINIMUM_THRESHOLD:
-                charset_name = prober.charset_name or ""
-                lower_charset_name = charset_name.lower()
-                # Use Windows encoding name instead of ISO-8859 if we saw any
-                # extra Windows-specific bytes
-                if lower_charset_name.startswith("iso-8859") and detector.has_win_bytes:
-                    charset_name = detector.ISO_WIN_MAP.get(
-                        lower_charset_name, charset_name
-                    )
-                # Rename legacy encodings with superset encodings if asked
-                if should_rename_legacy:
-                    charset_name = detector.LEGACY_MAP.get(
-                        charset_name.lower(), charset_name
-                    )
-                results.append(
-                    {
-                        "encoding": charset_name,
-                        "confidence": prober.get_confidence(),
-                        "language": prober.language,
-                    }
-                )
-        if len(results) > 0:
-            return sorted(results, key=lambda result: -result["confidence"])
-
-    return [detector.result]
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/__init__.cpython-311.pyc
deleted file mode 100644
index 3010c74..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/__init__.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/big5freq.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/big5freq.cpython-311.pyc
deleted file mode 100644
index b62ad92..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/big5freq.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/big5prober.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/big5prober.cpython-311.pyc
deleted file mode 100644
index 98603ff..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/big5prober.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/chardistribution.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/chardistribution.cpython-311.pyc
deleted file mode 100644
index 74019e2..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/chardistribution.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/charsetgroupprober.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/charsetgroupprober.cpython-311.pyc
deleted file mode 100644
index 001fdac..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/charsetgroupprober.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/charsetprober.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/charsetprober.cpython-311.pyc
deleted file mode 100644
index 17b1ed2..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/charsetprober.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/codingstatemachine.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/codingstatemachine.cpython-311.pyc
deleted file mode 100644
index bea5a43..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/codingstatemachine.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/codingstatemachinedict.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/codingstatemachinedict.cpython-311.pyc
deleted file mode 100644
index ca9658f..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/codingstatemachinedict.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/cp949prober.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/cp949prober.cpython-311.pyc
deleted file mode 100644
index b064040..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/cp949prober.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/enums.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/enums.cpython-311.pyc
deleted file mode 100644
index 83d984c..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/enums.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/escprober.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/escprober.cpython-311.pyc
deleted file mode 100644
index 8fdaea5..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/escprober.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/escsm.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/escsm.cpython-311.pyc
deleted file mode 100644
index c0d8e33..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/escsm.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/eucjpprober.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/eucjpprober.cpython-311.pyc
deleted file mode 100644
index d068c12..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/eucjpprober.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/euckrfreq.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/euckrfreq.cpython-311.pyc
deleted file mode 100644
index 33c6522..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/euckrfreq.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/euckrprober.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/euckrprober.cpython-311.pyc
deleted file mode 100644
index c44422e..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/euckrprober.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/euctwfreq.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/euctwfreq.cpython-311.pyc
deleted file mode 100644
index a046b83..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/euctwfreq.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/euctwprober.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/euctwprober.cpython-311.pyc
deleted file mode 100644
index a63dcfa..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/euctwprober.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/gb2312freq.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/gb2312freq.cpython-311.pyc
deleted file mode 100644
index dcb2aaa..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/gb2312freq.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/gb2312prober.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/gb2312prober.cpython-311.pyc
deleted file mode 100644
index fd34ec2..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/gb2312prober.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/hebrewprober.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/hebrewprober.cpython-311.pyc
deleted file mode 100644
index 3373151..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/hebrewprober.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/jisfreq.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/jisfreq.cpython-311.pyc
deleted file mode 100644
index e7036fa..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/jisfreq.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/johabfreq.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/johabfreq.cpython-311.pyc
deleted file mode 100644
index b5473da..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/johabfreq.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/johabprober.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/johabprober.cpython-311.pyc
deleted file mode 100644
index be671f0..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/johabprober.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/jpcntx.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/jpcntx.cpython-311.pyc
deleted file mode 100644
index d0f857c..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/jpcntx.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/langbulgarianmodel.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/langbulgarianmodel.cpython-311.pyc
deleted file mode 100644
index 863e525..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/langbulgarianmodel.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/langgreekmodel.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/langgreekmodel.cpython-311.pyc
deleted file mode 100644
index 0d50711..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/langgreekmodel.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/langhebrewmodel.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/langhebrewmodel.cpython-311.pyc
deleted file mode 100644
index a5cb848..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/langhebrewmodel.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/langhungarianmodel.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/langhungarianmodel.cpython-311.pyc
deleted file mode 100644
index 72ee1ca..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/langhungarianmodel.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/langrussianmodel.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/langrussianmodel.cpython-311.pyc
deleted file mode 100644
index ec91dd7..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/langrussianmodel.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/langthaimodel.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/langthaimodel.cpython-311.pyc
deleted file mode 100644
index b98d032..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/langthaimodel.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/langturkishmodel.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/langturkishmodel.cpython-311.pyc
deleted file mode 100644
index 28f91b2..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/langturkishmodel.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/latin1prober.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/latin1prober.cpython-311.pyc
deleted file mode 100644
index db89927..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/latin1prober.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/macromanprober.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/macromanprober.cpython-311.pyc
deleted file mode 100644
index eb44cdf..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/macromanprober.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/mbcharsetprober.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/mbcharsetprober.cpython-311.pyc
deleted file mode 100644
index 8fec0ae..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/mbcharsetprober.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/mbcsgroupprober.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/mbcsgroupprober.cpython-311.pyc
deleted file mode 100644
index b235c10..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/mbcsgroupprober.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/mbcssm.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/mbcssm.cpython-311.pyc
deleted file mode 100644
index 61fa059..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/mbcssm.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/resultdict.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/resultdict.cpython-311.pyc
deleted file mode 100644
index c76de84..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/resultdict.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/sbcharsetprober.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/sbcharsetprober.cpython-311.pyc
deleted file mode 100644
index 67e4969..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/sbcharsetprober.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/sbcsgroupprober.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/sbcsgroupprober.cpython-311.pyc
deleted file mode 100644
index 3187e9f..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/sbcsgroupprober.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/sjisprober.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/sjisprober.cpython-311.pyc
deleted file mode 100644
index d8c6b36..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/sjisprober.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/universaldetector.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/universaldetector.cpython-311.pyc
deleted file mode 100644
index 9bd0e15..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/universaldetector.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/utf1632prober.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/utf1632prober.cpython-311.pyc
deleted file mode 100644
index e7c3cf7..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/utf1632prober.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/utf8prober.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/utf8prober.cpython-311.pyc
deleted file mode 100644
index 470cd5d..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/utf8prober.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/version.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/version.cpython-311.pyc
deleted file mode 100644
index 8bef492..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/__pycache__/version.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/big5freq.py b/.venv/Lib/site-packages/pip/_vendor/chardet/big5freq.py
deleted file mode 100644
index 87d9f97..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/big5freq.py
+++ /dev/null
@@ -1,386 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is Mozilla Communicator client code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-# Big5 frequency table
-# by Taiwan's Mandarin Promotion Council
-# 
-#
-# 128  --> 0.42261
-# 256  --> 0.57851
-# 512  --> 0.74851
-# 1024 --> 0.89384
-# 2048 --> 0.97583
-#
-# Ideal Distribution Ratio = 0.74851/(1-0.74851) =2.98
-# Random Distribution Ration = 512/(5401-512)=0.105
-#
-# Typical Distribution Ratio about 25% of Ideal one, still much higher than RDR
-
-BIG5_TYPICAL_DISTRIBUTION_RATIO = 0.75
-
-# Char to FreqOrder table
-BIG5_TABLE_SIZE = 5376
-# fmt: off
-BIG5_CHAR_TO_FREQ_ORDER = (
-   1,1801,1506, 255,1431, 198,   9,  82,   6,5008, 177, 202,3681,1256,2821, 110, #   16
-3814,  33,3274, 261,  76,  44,2114,  16,2946,2187,1176, 659,3971,  26,3451,2653, #   32
-1198,3972,3350,4202, 410,2215, 302, 590, 361,1964,   8, 204,  58,4510,5009,1932, #   48
-  63,5010,5011, 317,1614,  75, 222, 159,4203,2417,1480,5012,3555,3091, 224,2822, #   64
-3682,   3,  10,3973,1471,  29,2787,1135,2866,1940, 873, 130,3275,1123, 312,5013, #   80
-4511,2052, 507, 252, 682,5014, 142,1915, 124, 206,2947,  34,3556,3204,  64, 604, #   96
-5015,2501,1977,1978, 155,1991, 645, 641,1606,5016,3452, 337,  72, 406,5017,  80, #  112
- 630, 238,3205,1509, 263, 939,1092,2654, 756,1440,1094,3453, 449,  69,2987, 591, #  128
- 179,2096, 471, 115,2035,1844,  60,  50,2988, 134, 806,1869, 734,2036,3454, 180, #  144
- 995,1607, 156, 537,2907, 688,5018, 319,1305, 779,2145, 514,2379, 298,4512, 359, #  160
-2502,  90,2716,1338, 663,  11, 906,1099,2553,  20,2441, 182, 532,1716,5019, 732, #  176
-1376,4204,1311,1420,3206,  25,2317,1056, 113, 399, 382,1950, 242,3455,2474, 529, #  192
-3276, 475,1447,3683,5020, 117,  21, 656, 810,1297,2300,2334,3557,5021, 126,4205, #  208
- 706, 456, 150, 613,4513,  71,1118,2037,4206, 145,3092,  85, 835, 486,2115,1246, #  224
-1426, 428, 727,1285,1015, 800, 106, 623, 303,1281,5022,2128,2359, 347,3815, 221, #  240
-3558,3135,5023,1956,1153,4207,  83, 296,1199,3093, 192, 624,  93,5024, 822,1898, #  256
-2823,3136, 795,2065, 991,1554,1542,1592,  27,  43,2867, 859, 139,1456, 860,4514, #  272
- 437, 712,3974, 164,2397,3137, 695, 211,3037,2097, 195,3975,1608,3559,3560,3684, #  288
-3976, 234, 811,2989,2098,3977,2233,1441,3561,1615,2380, 668,2077,1638, 305, 228, #  304
-1664,4515, 467, 415,5025, 262,2099,1593, 239, 108, 300, 200,1033, 512,1247,2078, #  320
-5026,5027,2176,3207,3685,2682, 593, 845,1062,3277,  88,1723,2038,3978,1951, 212, #  336
- 266, 152, 149, 468,1899,4208,4516,  77, 187,5028,3038,  37,   5,2990,5029,3979, #  352
-5030,5031,  39,2524,4517,2908,3208,2079,  55, 148,  74,4518, 545, 483,1474,1029, #  368
-1665, 217,1870,1531,3138,1104,2655,4209,  24, 172,3562, 900,3980,3563,3564,4519, #  384
-  32,1408,2824,1312, 329, 487,2360,2251,2717, 784,2683,   4,3039,3351,1427,1789, #  400
- 188, 109, 499,5032,3686,1717,1790, 888,1217,3040,4520,5033,3565,5034,3352,1520, #  416
-3687,3981, 196,1034, 775,5035,5036, 929,1816, 249, 439,  38,5037,1063,5038, 794, #  432
-3982,1435,2301,  46, 178,3278,2066,5039,2381,5040, 214,1709,4521, 804,  35, 707, #  448
- 324,3688,1601,2554, 140, 459,4210,5041,5042,1365, 839, 272, 978,2262,2580,3456, #  464
-2129,1363,3689,1423, 697, 100,3094,  48,  70,1231, 495,3139,2196,5043,1294,5044, #  480
-2080, 462, 586,1042,3279, 853, 256, 988, 185,2382,3457,1698, 434,1084,5045,3458, #  496
- 314,2625,2788,4522,2335,2336, 569,2285, 637,1817,2525, 757,1162,1879,1616,3459, #  512
- 287,1577,2116, 768,4523,1671,2868,3566,2526,1321,3816, 909,2418,5046,4211, 933, #  528
-3817,4212,2053,2361,1222,4524, 765,2419,1322, 786,4525,5047,1920,1462,1677,2909, #  544
-1699,5048,4526,1424,2442,3140,3690,2600,3353,1775,1941,3460,3983,4213, 309,1369, #  560
-1130,2825, 364,2234,1653,1299,3984,3567,3985,3986,2656, 525,1085,3041, 902,2001, #  576
-1475, 964,4527, 421,1845,1415,1057,2286, 940,1364,3141, 376,4528,4529,1381,   7, #  592
-2527, 983,2383, 336,1710,2684,1846, 321,3461, 559,1131,3042,2752,1809,1132,1313, #  608
- 265,1481,1858,5049, 352,1203,2826,3280, 167,1089, 420,2827, 776, 792,1724,3568, #  624
-4214,2443,3281,5050,4215,5051, 446, 229, 333,2753, 901,3818,1200,1557,4530,2657, #  640
-1921, 395,2754,2685,3819,4216,1836, 125, 916,3209,2626,4531,5052,5053,3820,5054, #  656
-5055,5056,4532,3142,3691,1133,2555,1757,3462,1510,2318,1409,3569,5057,2146, 438, #  672
-2601,2910,2384,3354,1068, 958,3043, 461, 311,2869,2686,4217,1916,3210,4218,1979, #  688
- 383, 750,2755,2627,4219, 274, 539, 385,1278,1442,5058,1154,1965, 384, 561, 210, #  704
-  98,1295,2556,3570,5059,1711,2420,1482,3463,3987,2911,1257, 129,5060,3821, 642, #  720
- 523,2789,2790,2658,5061, 141,2235,1333,  68, 176, 441, 876, 907,4220, 603,2602, #  736
- 710, 171,3464, 404, 549,  18,3143,2398,1410,3692,1666,5062,3571,4533,2912,4534, #  752
-5063,2991, 368,5064, 146, 366,  99, 871,3693,1543, 748, 807,1586,1185,  22,2263, #  768
- 379,3822,3211,5065,3212, 505,1942,2628,1992,1382,2319,5066, 380,2362, 218, 702, #  784
-1818,1248,3465,3044,3572,3355,3282,5067,2992,3694, 930,3283,3823,5068,  59,5069, #  800
- 585, 601,4221, 497,3466,1112,1314,4535,1802,5070,1223,1472,2177,5071, 749,1837, #  816
- 690,1900,3824,1773,3988,1476, 429,1043,1791,2236,2117, 917,4222, 447,1086,1629, #  832
-5072, 556,5073,5074,2021,1654, 844,1090, 105, 550, 966,1758,2828,1008,1783, 686, #  848
-1095,5075,2287, 793,1602,5076,3573,2603,4536,4223,2948,2302,4537,3825, 980,2503, #  864
- 544, 353, 527,4538, 908,2687,2913,5077, 381,2629,1943,1348,5078,1341,1252, 560, #  880
-3095,5079,3467,2870,5080,2054, 973, 886,2081, 143,4539,5081,5082, 157,3989, 496, #  896
-4224,  57, 840, 540,2039,4540,4541,3468,2118,1445, 970,2264,1748,1966,2082,4225, #  912
-3144,1234,1776,3284,2829,3695, 773,1206,2130,1066,2040,1326,3990,1738,1725,4226, #  928
- 279,3145,  51,1544,2604, 423,1578,2131,2067, 173,4542,1880,5083,5084,1583, 264, #  944
- 610,3696,4543,2444, 280, 154,5085,5086,5087,1739, 338,1282,3096, 693,2871,1411, #  960
-1074,3826,2445,5088,4544,5089,5090,1240, 952,2399,5091,2914,1538,2688, 685,1483, #  976
-4227,2475,1436, 953,4228,2055,4545, 671,2400,  79,4229,2446,3285, 608, 567,2689, #  992
-3469,4230,4231,1691, 393,1261,1792,2401,5092,4546,5093,5094,5095,5096,1383,1672, # 1008
-3827,3213,1464, 522,1119, 661,1150, 216, 675,4547,3991,1432,3574, 609,4548,2690, # 1024
-2402,5097,5098,5099,4232,3045,   0,5100,2476, 315, 231,2447, 301,3356,4549,2385, # 1040
-5101, 233,4233,3697,1819,4550,4551,5102,  96,1777,1315,2083,5103, 257,5104,1810, # 1056
-3698,2718,1139,1820,4234,2022,1124,2164,2791,1778,2659,5105,3097, 363,1655,3214, # 1072
-5106,2993,5107,5108,5109,3992,1567,3993, 718, 103,3215, 849,1443, 341,3357,2949, # 1088
-1484,5110,1712, 127,  67, 339,4235,2403, 679,1412, 821,5111,5112, 834, 738, 351, # 1104
-2994,2147, 846, 235,1497,1881, 418,1993,3828,2719, 186,1100,2148,2756,3575,1545, # 1120
-1355,2950,2872,1377, 583,3994,4236,2581,2995,5113,1298,3699,1078,2557,3700,2363, # 1136
-  78,3829,3830, 267,1289,2100,2002,1594,4237, 348, 369,1274,2197,2178,1838,4552, # 1152
-1821,2830,3701,2757,2288,2003,4553,2951,2758, 144,3358, 882,4554,3995,2759,3470, # 1168
-4555,2915,5114,4238,1726, 320,5115,3996,3046, 788,2996,5116,2831,1774,1327,2873, # 1184
-3997,2832,5117,1306,4556,2004,1700,3831,3576,2364,2660, 787,2023, 506, 824,3702, # 1200
- 534, 323,4557,1044,3359,2024,1901, 946,3471,5118,1779,1500,1678,5119,1882,4558, # 1216
- 165, 243,4559,3703,2528, 123, 683,4239, 764,4560,  36,3998,1793, 589,2916, 816, # 1232
- 626,1667,3047,2237,1639,1555,1622,3832,3999,5120,4000,2874,1370,1228,1933, 891, # 1248
-2084,2917, 304,4240,5121, 292,2997,2720,3577, 691,2101,4241,1115,4561, 118, 662, # 1264
-5122, 611,1156, 854,2386,1316,2875,   2, 386, 515,2918,5123,5124,3286, 868,2238, # 1280
-1486, 855,2661, 785,2216,3048,5125,1040,3216,3578,5126,3146, 448,5127,1525,5128, # 1296
-2165,4562,5129,3833,5130,4242,2833,3579,3147, 503, 818,4001,3148,1568, 814, 676, # 1312
-1444, 306,1749,5131,3834,1416,1030, 197,1428, 805,2834,1501,4563,5132,5133,5134, # 1328
-1994,5135,4564,5136,5137,2198,  13,2792,3704,2998,3149,1229,1917,5138,3835,2132, # 1344
-5139,4243,4565,2404,3580,5140,2217,1511,1727,1120,5141,5142, 646,3836,2448, 307, # 1360
-5143,5144,1595,3217,5145,5146,5147,3705,1113,1356,4002,1465,2529,2530,5148, 519, # 1376
-5149, 128,2133,  92,2289,1980,5150,4003,1512, 342,3150,2199,5151,2793,2218,1981, # 1392
-3360,4244, 290,1656,1317, 789, 827,2365,5152,3837,4566, 562, 581,4004,5153, 401, # 1408
-4567,2252,  94,4568,5154,1399,2794,5155,1463,2025,4569,3218,1944,5156, 828,1105, # 1424
-4245,1262,1394,5157,4246, 605,4570,5158,1784,2876,5159,2835, 819,2102, 578,2200, # 1440
-2952,5160,1502, 436,3287,4247,3288,2836,4005,2919,3472,3473,5161,2721,2320,5162, # 1456
-5163,2337,2068,  23,4571, 193, 826,3838,2103, 699,1630,4248,3098, 390,1794,1064, # 1472
-3581,5164,1579,3099,3100,1400,5165,4249,1839,1640,2877,5166,4572,4573, 137,4250, # 1488
- 598,3101,1967, 780, 104, 974,2953,5167, 278, 899, 253, 402, 572, 504, 493,1339, # 1504
-5168,4006,1275,4574,2582,2558,5169,3706,3049,3102,2253, 565,1334,2722, 863,  41, # 1520
-5170,5171,4575,5172,1657,2338,  19, 463,2760,4251, 606,5173,2999,3289,1087,2085, # 1536
-1323,2662,3000,5174,1631,1623,1750,4252,2691,5175,2878, 791,2723,2663,2339, 232, # 1552
-2421,5176,3001,1498,5177,2664,2630, 755,1366,3707,3290,3151,2026,1609, 119,1918, # 1568
-3474, 862,1026,4253,5178,4007,3839,4576,4008,4577,2265,1952,2477,5179,1125, 817, # 1584
-4254,4255,4009,1513,1766,2041,1487,4256,3050,3291,2837,3840,3152,5180,5181,1507, # 1600
-5182,2692, 733,  40,1632,1106,2879, 345,4257, 841,2531, 230,4578,3002,1847,3292, # 1616
-3475,5183,1263, 986,3476,5184, 735, 879, 254,1137, 857, 622,1300,1180,1388,1562, # 1632
-4010,4011,2954, 967,2761,2665,1349, 592,2134,1692,3361,3003,1995,4258,1679,4012, # 1648
-1902,2188,5185, 739,3708,2724,1296,1290,5186,4259,2201,2202,1922,1563,2605,2559, # 1664
-1871,2762,3004,5187, 435,5188, 343,1108, 596,  17,1751,4579,2239,3477,3709,5189, # 1680
-4580, 294,3582,2955,1693, 477, 979, 281,2042,3583, 643,2043,3710,2631,2795,2266, # 1696
-1031,2340,2135,2303,3584,4581, 367,1249,2560,5190,3585,5191,4582,1283,3362,2005, # 1712
- 240,1762,3363,4583,4584, 836,1069,3153, 474,5192,2149,2532, 268,3586,5193,3219, # 1728
-1521,1284,5194,1658,1546,4260,5195,3587,3588,5196,4261,3364,2693,1685,4262, 961, # 1744
-1673,2632, 190,2006,2203,3841,4585,4586,5197, 570,2504,3711,1490,5198,4587,2633, # 1760
-3293,1957,4588, 584,1514, 396,1045,1945,5199,4589,1968,2449,5200,5201,4590,4013, # 1776
- 619,5202,3154,3294, 215,2007,2796,2561,3220,4591,3221,4592, 763,4263,3842,4593, # 1792
-5203,5204,1958,1767,2956,3365,3712,1174, 452,1477,4594,3366,3155,5205,2838,1253, # 1808
-2387,2189,1091,2290,4264, 492,5206, 638,1169,1825,2136,1752,4014, 648, 926,1021, # 1824
-1324,4595, 520,4596, 997, 847,1007, 892,4597,3843,2267,1872,3713,2405,1785,4598, # 1840
-1953,2957,3103,3222,1728,4265,2044,3714,4599,2008,1701,3156,1551,  30,2268,4266, # 1856
-5207,2027,4600,3589,5208, 501,5209,4267, 594,3478,2166,1822,3590,3479,3591,3223, # 1872
- 829,2839,4268,5210,1680,3157,1225,4269,5211,3295,4601,4270,3158,2341,5212,4602, # 1888
-4271,5213,4015,4016,5214,1848,2388,2606,3367,5215,4603, 374,4017, 652,4272,4273, # 1904
- 375,1140, 798,5216,5217,5218,2366,4604,2269, 546,1659, 138,3051,2450,4605,5219, # 1920
-2254, 612,1849, 910, 796,3844,1740,1371, 825,3845,3846,5220,2920,2562,5221, 692, # 1936
- 444,3052,2634, 801,4606,4274,5222,1491, 244,1053,3053,4275,4276, 340,5223,4018, # 1952
-1041,3005, 293,1168,  87,1357,5224,1539, 959,5225,2240, 721, 694,4277,3847, 219, # 1968
-1478, 644,1417,3368,2666,1413,1401,1335,1389,4019,5226,5227,3006,2367,3159,1826, # 1984
- 730,1515, 184,2840,  66,4607,5228,1660,2958, 246,3369, 378,1457, 226,3480, 975, # 2000
-4020,2959,1264,3592, 674, 696,5229, 163,5230,1141,2422,2167, 713,3593,3370,4608, # 2016
-4021,5231,5232,1186,  15,5233,1079,1070,5234,1522,3224,3594, 276,1050,2725, 758, # 2032
-1126, 653,2960,3296,5235,2342, 889,3595,4022,3104,3007, 903,1250,4609,4023,3481, # 2048
-3596,1342,1681,1718, 766,3297, 286,  89,2961,3715,5236,1713,5237,2607,3371,3008, # 2064
-5238,2962,2219,3225,2880,5239,4610,2505,2533, 181, 387,1075,4024, 731,2190,3372, # 2080
-5240,3298, 310, 313,3482,2304, 770,4278,  54,3054, 189,4611,3105,3848,4025,5241, # 2096
-1230,1617,1850, 355,3597,4279,4612,3373, 111,4280,3716,1350,3160,3483,3055,4281, # 2112
-2150,3299,3598,5242,2797,4026,4027,3009, 722,2009,5243,1071, 247,1207,2343,2478, # 2128
-1378,4613,2010, 864,1437,1214,4614, 373,3849,1142,2220, 667,4615, 442,2763,2563, # 2144
-3850,4028,1969,4282,3300,1840, 837, 170,1107, 934,1336,1883,5244,5245,2119,4283, # 2160
-2841, 743,1569,5246,4616,4284, 582,2389,1418,3484,5247,1803,5248, 357,1395,1729, # 2176
-3717,3301,2423,1564,2241,5249,3106,3851,1633,4617,1114,2086,4285,1532,5250, 482, # 2192
-2451,4618,5251,5252,1492, 833,1466,5253,2726,3599,1641,2842,5254,1526,1272,3718, # 2208
-4286,1686,1795, 416,2564,1903,1954,1804,5255,3852,2798,3853,1159,2321,5256,2881, # 2224
-4619,1610,1584,3056,2424,2764, 443,3302,1163,3161,5257,5258,4029,5259,4287,2506, # 2240
-3057,4620,4030,3162,2104,1647,3600,2011,1873,4288,5260,4289, 431,3485,5261, 250, # 2256
-  97,  81,4290,5262,1648,1851,1558, 160, 848,5263, 866, 740,1694,5264,2204,2843, # 2272
-3226,4291,4621,3719,1687, 950,2479, 426, 469,3227,3720,3721,4031,5265,5266,1188, # 2288
- 424,1996, 861,3601,4292,3854,2205,2694, 168,1235,3602,4293,5267,2087,1674,4622, # 2304
-3374,3303, 220,2565,1009,5268,3855, 670,3010, 332,1208, 717,5269,5270,3603,2452, # 2320
-4032,3375,5271, 513,5272,1209,2882,3376,3163,4623,1080,5273,5274,5275,5276,2534, # 2336
-3722,3604, 815,1587,4033,4034,5277,3605,3486,3856,1254,4624,1328,3058,1390,4035, # 2352
-1741,4036,3857,4037,5278, 236,3858,2453,3304,5279,5280,3723,3859,1273,3860,4625, # 2368
-5281, 308,5282,4626, 245,4627,1852,2480,1307,2583, 430, 715,2137,2454,5283, 270, # 2384
- 199,2883,4038,5284,3606,2727,1753, 761,1754, 725,1661,1841,4628,3487,3724,5285, # 2400
-5286, 587,  14,3305, 227,2608, 326, 480,2270, 943,2765,3607, 291, 650,1884,5287, # 2416
-1702,1226, 102,1547,  62,3488, 904,4629,3489,1164,4294,5288,5289,1224,1548,2766, # 2432
- 391, 498,1493,5290,1386,1419,5291,2056,1177,4630, 813, 880,1081,2368, 566,1145, # 2448
-4631,2291,1001,1035,2566,2609,2242, 394,1286,5292,5293,2069,5294,  86,1494,1730, # 2464
-4039, 491,1588, 745, 897,2963, 843,3377,4040,2767,2884,3306,1768, 998,2221,2070, # 2480
- 397,1827,1195,1970,3725,3011,3378, 284,5295,3861,2507,2138,2120,1904,5296,4041, # 2496
-2151,4042,4295,1036,3490,1905, 114,2567,4296, 209,1527,5297,5298,2964,2844,2635, # 2512
-2390,2728,3164, 812,2568,5299,3307,5300,1559, 737,1885,3726,1210, 885,  28,2695, # 2528
-3608,3862,5301,4297,1004,1780,4632,5302, 346,1982,2222,2696,4633,3863,1742, 797, # 2544
-1642,4043,1934,1072,1384,2152, 896,4044,3308,3727,3228,2885,3609,5303,2569,1959, # 2560
-4634,2455,1786,5304,5305,5306,4045,4298,1005,1308,3728,4299,2729,4635,4636,1528, # 2576
-2610, 161,1178,4300,1983, 987,4637,1101,4301, 631,4046,1157,3229,2425,1343,1241, # 2592
-1016,2243,2570, 372, 877,2344,2508,1160, 555,1935, 911,4047,5307, 466,1170, 169, # 2608
-1051,2921,2697,3729,2481,3012,1182,2012,2571,1251,2636,5308, 992,2345,3491,1540, # 2624
-2730,1201,2071,2406,1997,2482,5309,4638, 528,1923,2191,1503,1874,1570,2369,3379, # 2640
-3309,5310, 557,1073,5311,1828,3492,2088,2271,3165,3059,3107, 767,3108,2799,4639, # 2656
-1006,4302,4640,2346,1267,2179,3730,3230, 778,4048,3231,2731,1597,2667,5312,4641, # 2672
-5313,3493,5314,5315,5316,3310,2698,1433,3311, 131,  95,1504,4049, 723,4303,3166, # 2688
-1842,3610,2768,2192,4050,2028,2105,3731,5317,3013,4051,1218,5318,3380,3232,4052, # 2704
-4304,2584, 248,1634,3864, 912,5319,2845,3732,3060,3865, 654,  53,5320,3014,5321, # 2720
-1688,4642, 777,3494,1032,4053,1425,5322, 191, 820,2121,2846, 971,4643, 931,3233, # 2736
- 135, 664, 783,3866,1998, 772,2922,1936,4054,3867,4644,2923,3234, 282,2732, 640, # 2752
-1372,3495,1127, 922, 325,3381,5323,5324, 711,2045,5325,5326,4055,2223,2800,1937, # 2768
-4056,3382,2224,2255,3868,2305,5327,4645,3869,1258,3312,4057,3235,2139,2965,4058, # 2784
-4059,5328,2225, 258,3236,4646, 101,1227,5329,3313,1755,5330,1391,3314,5331,2924, # 2800
-2057, 893,5332,5333,5334,1402,4305,2347,5335,5336,3237,3611,5337,5338, 878,1325, # 2816
-1781,2801,4647, 259,1385,2585, 744,1183,2272,4648,5339,4060,2509,5340, 684,1024, # 2832
-4306,5341, 472,3612,3496,1165,3315,4061,4062, 322,2153, 881, 455,1695,1152,1340, # 2848
- 660, 554,2154,4649,1058,4650,4307, 830,1065,3383,4063,4651,1924,5342,1703,1919, # 2864
-5343, 932,2273, 122,5344,4652, 947, 677,5345,3870,2637, 297,1906,1925,2274,4653, # 2880
-2322,3316,5346,5347,4308,5348,4309,  84,4310, 112, 989,5349, 547,1059,4064, 701, # 2896
-3613,1019,5350,4311,5351,3497, 942, 639, 457,2306,2456, 993,2966, 407, 851, 494, # 2912
-4654,3384, 927,5352,1237,5353,2426,3385, 573,4312, 680, 921,2925,1279,1875, 285, # 2928
- 790,1448,1984, 719,2168,5354,5355,4655,4065,4066,1649,5356,1541, 563,5357,1077, # 2944
-5358,3386,3061,3498, 511,3015,4067,4068,3733,4069,1268,2572,3387,3238,4656,4657, # 2960
-5359, 535,1048,1276,1189,2926,2029,3167,1438,1373,2847,2967,1134,2013,5360,4313, # 2976
-1238,2586,3109,1259,5361, 700,5362,2968,3168,3734,4314,5363,4315,1146,1876,1907, # 2992
-4658,2611,4070, 781,2427, 132,1589, 203, 147, 273,2802,2407, 898,1787,2155,4071, # 3008
-4072,5364,3871,2803,5365,5366,4659,4660,5367,3239,5368,1635,3872, 965,5369,1805, # 3024
-2699,1516,3614,1121,1082,1329,3317,4073,1449,3873,  65,1128,2848,2927,2769,1590, # 3040
-3874,5370,5371,  12,2668,  45, 976,2587,3169,4661, 517,2535,1013,1037,3240,5372, # 3056
-3875,2849,5373,3876,5374,3499,5375,2612, 614,1999,2323,3877,3110,2733,2638,5376, # 3072
-2588,4316, 599,1269,5377,1811,3735,5378,2700,3111, 759,1060, 489,1806,3388,3318, # 3088
-1358,5379,5380,2391,1387,1215,2639,2256, 490,5381,5382,4317,1759,2392,2348,5383, # 3104
-4662,3878,1908,4074,2640,1807,3241,4663,3500,3319,2770,2349, 874,5384,5385,3501, # 3120
-3736,1859,  91,2928,3737,3062,3879,4664,5386,3170,4075,2669,5387,3502,1202,1403, # 3136
-3880,2969,2536,1517,2510,4665,3503,2511,5388,4666,5389,2701,1886,1495,1731,4076, # 3152
-2370,4667,5390,2030,5391,5392,4077,2702,1216, 237,2589,4318,2324,4078,3881,4668, # 3168
-4669,2703,3615,3504, 445,4670,5393,5394,5395,5396,2771,  61,4079,3738,1823,4080, # 3184
-5397, 687,2046, 935, 925, 405,2670, 703,1096,1860,2734,4671,4081,1877,1367,2704, # 3200
-3389, 918,2106,1782,2483, 334,3320,1611,1093,4672, 564,3171,3505,3739,3390, 945, # 3216
-2641,2058,4673,5398,1926, 872,4319,5399,3506,2705,3112, 349,4320,3740,4082,4674, # 3232
-3882,4321,3741,2156,4083,4675,4676,4322,4677,2408,2047, 782,4084, 400, 251,4323, # 3248
-1624,5400,5401, 277,3742, 299,1265, 476,1191,3883,2122,4324,4325,1109, 205,5402, # 3264
-2590,1000,2157,3616,1861,5403,5404,5405,4678,5406,4679,2573, 107,2484,2158,4085, # 3280
-3507,3172,5407,1533, 541,1301, 158, 753,4326,2886,3617,5408,1696, 370,1088,4327, # 3296
-4680,3618, 579, 327, 440, 162,2244, 269,1938,1374,3508, 968,3063,  56,1396,3113, # 3312
-2107,3321,3391,5409,1927,2159,4681,3016,5410,3619,5411,5412,3743,4682,2485,5413, # 3328
-2804,5414,1650,4683,5415,2613,5416,5417,4086,2671,3392,1149,3393,4087,3884,4088, # 3344
-5418,1076,  49,5419, 951,3242,3322,3323, 450,2850, 920,5420,1812,2805,2371,4328, # 3360
-1909,1138,2372,3885,3509,5421,3243,4684,1910,1147,1518,2428,4685,3886,5422,4686, # 3376
-2393,2614, 260,1796,3244,5423,5424,3887,3324, 708,5425,3620,1704,5426,3621,1351, # 3392
-1618,3394,3017,1887, 944,4329,3395,4330,3064,3396,4331,5427,3744, 422, 413,1714, # 3408
-3325, 500,2059,2350,4332,2486,5428,1344,1911, 954,5429,1668,5430,5431,4089,2409, # 3424
-4333,3622,3888,4334,5432,2307,1318,2512,3114, 133,3115,2887,4687, 629,  31,2851, # 3440
-2706,3889,4688, 850, 949,4689,4090,2970,1732,2089,4335,1496,1853,5433,4091, 620, # 3456
-3245, 981,1242,3745,3397,1619,3746,1643,3326,2140,2457,1971,1719,3510,2169,5434, # 3472
-3246,5435,5436,3398,1829,5437,1277,4690,1565,2048,5438,1636,3623,3116,5439, 869, # 3488
-2852, 655,3890,3891,3117,4092,3018,3892,1310,3624,4691,5440,5441,5442,1733, 558, # 3504
-4692,3747, 335,1549,3065,1756,4336,3748,1946,3511,1830,1291,1192, 470,2735,2108, # 3520
-2806, 913,1054,4093,5443,1027,5444,3066,4094,4693, 982,2672,3399,3173,3512,3247, # 3536
-3248,1947,2807,5445, 571,4694,5446,1831,5447,3625,2591,1523,2429,5448,2090, 984, # 3552
-4695,3749,1960,5449,3750, 852, 923,2808,3513,3751, 969,1519, 999,2049,2325,1705, # 3568
-5450,3118, 615,1662, 151, 597,4095,2410,2326,1049, 275,4696,3752,4337, 568,3753, # 3584
-3626,2487,4338,3754,5451,2430,2275, 409,3249,5452,1566,2888,3514,1002, 769,2853, # 3600
- 194,2091,3174,3755,2226,3327,4339, 628,1505,5453,5454,1763,2180,3019,4096, 521, # 3616
-1161,2592,1788,2206,2411,4697,4097,1625,4340,4341, 412,  42,3119, 464,5455,2642, # 3632
-4698,3400,1760,1571,2889,3515,2537,1219,2207,3893,2643,2141,2373,4699,4700,3328, # 3648
-1651,3401,3627,5456,5457,3628,2488,3516,5458,3756,5459,5460,2276,2092, 460,5461, # 3664
-4701,5462,3020, 962, 588,3629, 289,3250,2644,1116,  52,5463,3067,1797,5464,5465, # 3680
-5466,1467,5467,1598,1143,3757,4342,1985,1734,1067,4702,1280,3402, 465,4703,1572, # 3696
- 510,5468,1928,2245,1813,1644,3630,5469,4704,3758,5470,5471,2673,1573,1534,5472, # 3712
-5473, 536,1808,1761,3517,3894,3175,2645,5474,5475,5476,4705,3518,2929,1912,2809, # 3728
-5477,3329,1122, 377,3251,5478, 360,5479,5480,4343,1529, 551,5481,2060,3759,1769, # 3744
-2431,5482,2930,4344,3330,3120,2327,2109,2031,4706,1404, 136,1468,1479, 672,1171, # 3760
-3252,2308, 271,3176,5483,2772,5484,2050, 678,2736, 865,1948,4707,5485,2014,4098, # 3776
-2971,5486,2737,2227,1397,3068,3760,4708,4709,1735,2931,3403,3631,5487,3895, 509, # 3792
-2854,2458,2890,3896,5488,5489,3177,3178,4710,4345,2538,4711,2309,1166,1010, 552, # 3808
- 681,1888,5490,5491,2972,2973,4099,1287,1596,1862,3179, 358, 453, 736, 175, 478, # 3824
-1117, 905,1167,1097,5492,1854,1530,5493,1706,5494,2181,3519,2292,3761,3520,3632, # 3840
-4346,2093,4347,5495,3404,1193,2489,4348,1458,2193,2208,1863,1889,1421,3331,2932, # 3856
-3069,2182,3521, 595,2123,5496,4100,5497,5498,4349,1707,2646, 223,3762,1359, 751, # 3872
-3121, 183,3522,5499,2810,3021, 419,2374, 633, 704,3897,2394, 241,5500,5501,5502, # 3888
- 838,3022,3763,2277,2773,2459,3898,1939,2051,4101,1309,3122,2246,1181,5503,1136, # 3904
-2209,3899,2375,1446,4350,2310,4712,5504,5505,4351,1055,2615, 484,3764,5506,4102, # 3920
- 625,4352,2278,3405,1499,4353,4103,5507,4104,4354,3253,2279,2280,3523,5508,5509, # 3936
-2774, 808,2616,3765,3406,4105,4355,3123,2539, 526,3407,3900,4356, 955,5510,1620, # 3952
-4357,2647,2432,5511,1429,3766,1669,1832, 994, 928,5512,3633,1260,5513,5514,5515, # 3968
-1949,2293, 741,2933,1626,4358,2738,2460, 867,1184, 362,3408,1392,5516,5517,4106, # 3984
-4359,1770,1736,3254,2934,4713,4714,1929,2707,1459,1158,5518,3070,3409,2891,1292, # 4000
-1930,2513,2855,3767,1986,1187,2072,2015,2617,4360,5519,2574,2514,2170,3768,2490, # 4016
-3332,5520,3769,4715,5521,5522, 666,1003,3023,1022,3634,4361,5523,4716,1814,2257, # 4032
- 574,3901,1603, 295,1535, 705,3902,4362, 283, 858, 417,5524,5525,3255,4717,4718, # 4048
-3071,1220,1890,1046,2281,2461,4107,1393,1599, 689,2575, 388,4363,5526,2491, 802, # 4064
-5527,2811,3903,2061,1405,2258,5528,4719,3904,2110,1052,1345,3256,1585,5529, 809, # 4080
-5530,5531,5532, 575,2739,3524, 956,1552,1469,1144,2328,5533,2329,1560,2462,3635, # 4096
-3257,4108, 616,2210,4364,3180,2183,2294,5534,1833,5535,3525,4720,5536,1319,3770, # 4112
-3771,1211,3636,1023,3258,1293,2812,5537,5538,5539,3905, 607,2311,3906, 762,2892, # 4128
-1439,4365,1360,4721,1485,3072,5540,4722,1038,4366,1450,2062,2648,4367,1379,4723, # 4144
-2593,5541,5542,4368,1352,1414,2330,2935,1172,5543,5544,3907,3908,4724,1798,1451, # 4160
-5545,5546,5547,5548,2936,4109,4110,2492,2351, 411,4111,4112,3637,3333,3124,4725, # 4176
-1561,2674,1452,4113,1375,5549,5550,  47,2974, 316,5551,1406,1591,2937,3181,5552, # 4192
-1025,2142,3125,3182, 354,2740, 884,2228,4369,2412, 508,3772, 726,3638, 996,2433, # 4208
-3639, 729,5553, 392,2194,1453,4114,4726,3773,5554,5555,2463,3640,2618,1675,2813, # 4224
- 919,2352,2975,2353,1270,4727,4115,  73,5556,5557, 647,5558,3259,2856,2259,1550, # 4240
-1346,3024,5559,1332, 883,3526,5560,5561,5562,5563,3334,2775,5564,1212, 831,1347, # 4256
-4370,4728,2331,3909,1864,3073, 720,3910,4729,4730,3911,5565,4371,5566,5567,4731, # 4272
-5568,5569,1799,4732,3774,2619,4733,3641,1645,2376,4734,5570,2938, 669,2211,2675, # 4288
-2434,5571,2893,5572,5573,1028,3260,5574,4372,2413,5575,2260,1353,5576,5577,4735, # 4304
-3183, 518,5578,4116,5579,4373,1961,5580,2143,4374,5581,5582,3025,2354,2355,3912, # 4320
- 516,1834,1454,4117,2708,4375,4736,2229,2620,1972,1129,3642,5583,2776,5584,2976, # 4336
-1422, 577,1470,3026,1524,3410,5585,5586, 432,4376,3074,3527,5587,2594,1455,2515, # 4352
-2230,1973,1175,5588,1020,2741,4118,3528,4737,5589,2742,5590,1743,1361,3075,3529, # 4368
-2649,4119,4377,4738,2295, 895, 924,4378,2171, 331,2247,3076, 166,1627,3077,1098, # 4384
-5591,1232,2894,2231,3411,4739, 657, 403,1196,2377, 542,3775,3412,1600,4379,3530, # 4400
-5592,4740,2777,3261, 576, 530,1362,4741,4742,2540,2676,3776,4120,5593, 842,3913, # 4416
-5594,2814,2032,1014,4121, 213,2709,3413, 665, 621,4380,5595,3777,2939,2435,5596, # 4432
-2436,3335,3643,3414,4743,4381,2541,4382,4744,3644,1682,4383,3531,1380,5597, 724, # 4448
-2282, 600,1670,5598,1337,1233,4745,3126,2248,5599,1621,4746,5600, 651,4384,5601, # 4464
-1612,4385,2621,5602,2857,5603,2743,2312,3078,5604, 716,2464,3079, 174,1255,2710, # 4480
-4122,3645, 548,1320,1398, 728,4123,1574,5605,1891,1197,3080,4124,5606,3081,3082, # 4496
-3778,3646,3779, 747,5607, 635,4386,4747,5608,5609,5610,4387,5611,5612,4748,5613, # 4512
-3415,4749,2437, 451,5614,3780,2542,2073,4388,2744,4389,4125,5615,1764,4750,5616, # 4528
-4390, 350,4751,2283,2395,2493,5617,4391,4126,2249,1434,4127, 488,4752, 458,4392, # 4544
-4128,3781, 771,1330,2396,3914,2576,3184,2160,2414,1553,2677,3185,4393,5618,2494, # 4560
-2895,2622,1720,2711,4394,3416,4753,5619,2543,4395,5620,3262,4396,2778,5621,2016, # 4576
-2745,5622,1155,1017,3782,3915,5623,3336,2313, 201,1865,4397,1430,5624,4129,5625, # 4592
-5626,5627,5628,5629,4398,1604,5630, 414,1866, 371,2595,4754,4755,3532,2017,3127, # 4608
-4756,1708, 960,4399, 887, 389,2172,1536,1663,1721,5631,2232,4130,2356,2940,1580, # 4624
-5632,5633,1744,4757,2544,4758,4759,5634,4760,5635,2074,5636,4761,3647,3417,2896, # 4640
-4400,5637,4401,2650,3418,2815, 673,2712,2465, 709,3533,4131,3648,4402,5638,1148, # 4656
- 502, 634,5639,5640,1204,4762,3649,1575,4763,2623,3783,5641,3784,3128, 948,3263, # 4672
- 121,1745,3916,1110,5642,4403,3083,2516,3027,4132,3785,1151,1771,3917,1488,4133, # 4688
-1987,5643,2438,3534,5644,5645,2094,5646,4404,3918,1213,1407,2816, 531,2746,2545, # 4704
-3264,1011,1537,4764,2779,4405,3129,1061,5647,3786,3787,1867,2897,5648,2018, 120, # 4720
-4406,4407,2063,3650,3265,2314,3919,2678,3419,1955,4765,4134,5649,3535,1047,2713, # 4736
-1266,5650,1368,4766,2858, 649,3420,3920,2546,2747,1102,2859,2679,5651,5652,2000, # 4752
-5653,1111,3651,2977,5654,2495,3921,3652,2817,1855,3421,3788,5655,5656,3422,2415, # 4768
-2898,3337,3266,3653,5657,2577,5658,3654,2818,4135,1460, 856,5659,3655,5660,2899, # 4784
-2978,5661,2900,3922,5662,4408, 632,2517, 875,3923,1697,3924,2296,5663,5664,4767, # 4800
-3028,1239, 580,4768,4409,5665, 914, 936,2075,1190,4136,1039,2124,5666,5667,5668, # 4816
-5669,3423,1473,5670,1354,4410,3925,4769,2173,3084,4137, 915,3338,4411,4412,3339, # 4832
-1605,1835,5671,2748, 398,3656,4413,3926,4138, 328,1913,2860,4139,3927,1331,4414, # 4848
-3029, 937,4415,5672,3657,4140,4141,3424,2161,4770,3425, 524, 742, 538,3085,1012, # 4864
-5673,5674,3928,2466,5675, 658,1103, 225,3929,5676,5677,4771,5678,4772,5679,3267, # 4880
-1243,5680,4142, 963,2250,4773,5681,2714,3658,3186,5682,5683,2596,2332,5684,4774, # 4896
-5685,5686,5687,3536, 957,3426,2547,2033,1931,2941,2467, 870,2019,3659,1746,2780, # 4912
-2781,2439,2468,5688,3930,5689,3789,3130,3790,3537,3427,3791,5690,1179,3086,5691, # 4928
-3187,2378,4416,3792,2548,3188,3131,2749,4143,5692,3428,1556,2549,2297, 977,2901, # 4944
-2034,4144,1205,3429,5693,1765,3430,3189,2125,1271, 714,1689,4775,3538,5694,2333, # 4960
-3931, 533,4417,3660,2184, 617,5695,2469,3340,3539,2315,5696,5697,3190,5698,5699, # 4976
-3932,1988, 618, 427,2651,3540,3431,5700,5701,1244,1690,5702,2819,4418,4776,5703, # 4992
-3541,4777,5704,2284,1576, 473,3661,4419,3432, 972,5705,3662,5706,3087,5707,5708, # 5008
-4778,4779,5709,3793,4145,4146,5710, 153,4780, 356,5711,1892,2902,4420,2144, 408, # 5024
- 803,2357,5712,3933,5713,4421,1646,2578,2518,4781,4782,3934,5714,3935,4422,5715, # 5040
-2416,3433, 752,5716,5717,1962,3341,2979,5718, 746,3030,2470,4783,4423,3794, 698, # 5056
-4784,1893,4424,3663,2550,4785,3664,3936,5719,3191,3434,5720,1824,1302,4147,2715, # 5072
-3937,1974,4425,5721,4426,3192, 823,1303,1288,1236,2861,3542,4148,3435, 774,3938, # 5088
-5722,1581,4786,1304,2862,3939,4787,5723,2440,2162,1083,3268,4427,4149,4428, 344, # 5104
-1173, 288,2316, 454,1683,5724,5725,1461,4788,4150,2597,5726,5727,4789, 985, 894, # 5120
-5728,3436,3193,5729,1914,2942,3795,1989,5730,2111,1975,5731,4151,5732,2579,1194, # 5136
- 425,5733,4790,3194,1245,3796,4429,5734,5735,2863,5736, 636,4791,1856,3940, 760, # 5152
-1800,5737,4430,2212,1508,4792,4152,1894,1684,2298,5738,5739,4793,4431,4432,2213, # 5168
- 479,5740,5741, 832,5742,4153,2496,5743,2980,2497,3797, 990,3132, 627,1815,2652, # 5184
-4433,1582,4434,2126,2112,3543,4794,5744, 799,4435,3195,5745,4795,2113,1737,3031, # 5200
-1018, 543, 754,4436,3342,1676,4796,4797,4154,4798,1489,5746,3544,5747,2624,2903, # 5216
-4155,5748,5749,2981,5750,5751,5752,5753,3196,4799,4800,2185,1722,5754,3269,3270, # 5232
-1843,3665,1715, 481, 365,1976,1857,5755,5756,1963,2498,4801,5757,2127,3666,3271, # 5248
- 433,1895,2064,2076,5758, 602,2750,5759,5760,5761,5762,5763,3032,1628,3437,5764, # 5264
-3197,4802,4156,2904,4803,2519,5765,2551,2782,5766,5767,5768,3343,4804,2905,5769, # 5280
-4805,5770,2864,4806,4807,1221,2982,4157,2520,5771,5772,5773,1868,1990,5774,5775, # 5296
-5776,1896,5777,5778,4808,1897,4158, 318,5779,2095,4159,4437,5780,5781, 485,5782, # 5312
- 938,3941, 553,2680, 116,5783,3942,3667,5784,3545,2681,2783,3438,3344,2820,5785, # 5328
-3668,2943,4160,1747,2944,2983,5786,5787, 207,5788,4809,5789,4810,2521,5790,3033, # 5344
- 890,3669,3943,5791,1878,3798,3439,5792,2186,2358,3440,1652,5793,5794,5795, 941, # 5360
-2299, 208,3546,4161,2020, 330,4438,3944,2906,2499,3799,4439,4811,5796,5797,5798, # 5376
-)
-# fmt: on
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/big5prober.py b/.venv/Lib/site-packages/pip/_vendor/chardet/big5prober.py
deleted file mode 100644
index ef09c60..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/big5prober.py
+++ /dev/null
@@ -1,47 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is Mozilla Communicator client code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-from .chardistribution import Big5DistributionAnalysis
-from .codingstatemachine import CodingStateMachine
-from .mbcharsetprober import MultiByteCharSetProber
-from .mbcssm import BIG5_SM_MODEL
-
-
-class Big5Prober(MultiByteCharSetProber):
-    def __init__(self) -> None:
-        super().__init__()
-        self.coding_sm = CodingStateMachine(BIG5_SM_MODEL)
-        self.distribution_analyzer = Big5DistributionAnalysis()
-        self.reset()
-
-    @property
-    def charset_name(self) -> str:
-        return "Big5"
-
-    @property
-    def language(self) -> str:
-        return "Chinese"
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/chardistribution.py b/.venv/Lib/site-packages/pip/_vendor/chardet/chardistribution.py
deleted file mode 100644
index 176cb99..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/chardistribution.py
+++ /dev/null
@@ -1,261 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is Mozilla Communicator client code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-from typing import Tuple, Union
-
-from .big5freq import (
-    BIG5_CHAR_TO_FREQ_ORDER,
-    BIG5_TABLE_SIZE,
-    BIG5_TYPICAL_DISTRIBUTION_RATIO,
-)
-from .euckrfreq import (
-    EUCKR_CHAR_TO_FREQ_ORDER,
-    EUCKR_TABLE_SIZE,
-    EUCKR_TYPICAL_DISTRIBUTION_RATIO,
-)
-from .euctwfreq import (
-    EUCTW_CHAR_TO_FREQ_ORDER,
-    EUCTW_TABLE_SIZE,
-    EUCTW_TYPICAL_DISTRIBUTION_RATIO,
-)
-from .gb2312freq import (
-    GB2312_CHAR_TO_FREQ_ORDER,
-    GB2312_TABLE_SIZE,
-    GB2312_TYPICAL_DISTRIBUTION_RATIO,
-)
-from .jisfreq import (
-    JIS_CHAR_TO_FREQ_ORDER,
-    JIS_TABLE_SIZE,
-    JIS_TYPICAL_DISTRIBUTION_RATIO,
-)
-from .johabfreq import JOHAB_TO_EUCKR_ORDER_TABLE
-
-
-class CharDistributionAnalysis:
-    ENOUGH_DATA_THRESHOLD = 1024
-    SURE_YES = 0.99
-    SURE_NO = 0.01
-    MINIMUM_DATA_THRESHOLD = 3
-
-    def __init__(self) -> None:
-        # Mapping table to get frequency order from char order (get from
-        # GetOrder())
-        self._char_to_freq_order: Tuple[int, ...] = tuple()
-        self._table_size = 0  # Size of above table
-        # This is a constant value which varies from language to language,
-        # used in calculating confidence.  See
-        # http://www.mozilla.org/projects/intl/UniversalCharsetDetection.html
-        # for further detail.
-        self.typical_distribution_ratio = 0.0
-        self._done = False
-        self._total_chars = 0
-        self._freq_chars = 0
-        self.reset()
-
-    def reset(self) -> None:
-        """reset analyser, clear any state"""
-        # If this flag is set to True, detection is done and conclusion has
-        # been made
-        self._done = False
-        self._total_chars = 0  # Total characters encountered
-        # The number of characters whose frequency order is less than 512
-        self._freq_chars = 0
-
-    def feed(self, char: Union[bytes, bytearray], char_len: int) -> None:
-        """feed a character with known length"""
-        if char_len == 2:
-            # we only care about 2-bytes character in our distribution analysis
-            order = self.get_order(char)
-        else:
-            order = -1
-        if order >= 0:
-            self._total_chars += 1
-            # order is valid
-            if order < self._table_size:
-                if 512 > self._char_to_freq_order[order]:
-                    self._freq_chars += 1
-
-    def get_confidence(self) -> float:
-        """return confidence based on existing data"""
-        # if we didn't receive any character in our consideration range,
-        # return negative answer
-        if self._total_chars <= 0 or self._freq_chars <= self.MINIMUM_DATA_THRESHOLD:
-            return self.SURE_NO
-
-        if self._total_chars != self._freq_chars:
-            r = self._freq_chars / (
-                (self._total_chars - self._freq_chars) * self.typical_distribution_ratio
-            )
-            if r < self.SURE_YES:
-                return r
-
-        # normalize confidence (we don't want to be 100% sure)
-        return self.SURE_YES
-
-    def got_enough_data(self) -> bool:
-        # It is not necessary to receive all data to draw conclusion.
-        # For charset detection, certain amount of data is enough
-        return self._total_chars > self.ENOUGH_DATA_THRESHOLD
-
-    def get_order(self, _: Union[bytes, bytearray]) -> int:
-        # We do not handle characters based on the original encoding string,
-        # but convert this encoding string to a number, here called order.
-        # This allows multiple encodings of a language to share one frequency
-        # table.
-        return -1
-
-
-class EUCTWDistributionAnalysis(CharDistributionAnalysis):
-    def __init__(self) -> None:
-        super().__init__()
-        self._char_to_freq_order = EUCTW_CHAR_TO_FREQ_ORDER
-        self._table_size = EUCTW_TABLE_SIZE
-        self.typical_distribution_ratio = EUCTW_TYPICAL_DISTRIBUTION_RATIO
-
-    def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
-        # for euc-TW encoding, we are interested
-        #   first  byte range: 0xc4 -- 0xfe
-        #   second byte range: 0xa1 -- 0xfe
-        # no validation needed here. State machine has done that
-        first_char = byte_str[0]
-        if first_char >= 0xC4:
-            return 94 * (first_char - 0xC4) + byte_str[1] - 0xA1
-        return -1
-
-
-class EUCKRDistributionAnalysis(CharDistributionAnalysis):
-    def __init__(self) -> None:
-        super().__init__()
-        self._char_to_freq_order = EUCKR_CHAR_TO_FREQ_ORDER
-        self._table_size = EUCKR_TABLE_SIZE
-        self.typical_distribution_ratio = EUCKR_TYPICAL_DISTRIBUTION_RATIO
-
-    def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
-        # for euc-KR encoding, we are interested
-        #   first  byte range: 0xb0 -- 0xfe
-        #   second byte range: 0xa1 -- 0xfe
-        # no validation needed here. State machine has done that
-        first_char = byte_str[0]
-        if first_char >= 0xB0:
-            return 94 * (first_char - 0xB0) + byte_str[1] - 0xA1
-        return -1
-
-
-class JOHABDistributionAnalysis(CharDistributionAnalysis):
-    def __init__(self) -> None:
-        super().__init__()
-        self._char_to_freq_order = EUCKR_CHAR_TO_FREQ_ORDER
-        self._table_size = EUCKR_TABLE_SIZE
-        self.typical_distribution_ratio = EUCKR_TYPICAL_DISTRIBUTION_RATIO
-
-    def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
-        first_char = byte_str[0]
-        if 0x88 <= first_char < 0xD4:
-            code = first_char * 256 + byte_str[1]
-            return JOHAB_TO_EUCKR_ORDER_TABLE.get(code, -1)
-        return -1
-
-
-class GB2312DistributionAnalysis(CharDistributionAnalysis):
-    def __init__(self) -> None:
-        super().__init__()
-        self._char_to_freq_order = GB2312_CHAR_TO_FREQ_ORDER
-        self._table_size = GB2312_TABLE_SIZE
-        self.typical_distribution_ratio = GB2312_TYPICAL_DISTRIBUTION_RATIO
-
-    def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
-        # for GB2312 encoding, we are interested
-        #  first  byte range: 0xb0 -- 0xfe
-        #  second byte range: 0xa1 -- 0xfe
-        # no validation needed here. State machine has done that
-        first_char, second_char = byte_str[0], byte_str[1]
-        if (first_char >= 0xB0) and (second_char >= 0xA1):
-            return 94 * (first_char - 0xB0) + second_char - 0xA1
-        return -1
-
-
-class Big5DistributionAnalysis(CharDistributionAnalysis):
-    def __init__(self) -> None:
-        super().__init__()
-        self._char_to_freq_order = BIG5_CHAR_TO_FREQ_ORDER
-        self._table_size = BIG5_TABLE_SIZE
-        self.typical_distribution_ratio = BIG5_TYPICAL_DISTRIBUTION_RATIO
-
-    def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
-        # for big5 encoding, we are interested
-        #   first  byte range: 0xa4 -- 0xfe
-        #   second byte range: 0x40 -- 0x7e , 0xa1 -- 0xfe
-        # no validation needed here. State machine has done that
-        first_char, second_char = byte_str[0], byte_str[1]
-        if first_char >= 0xA4:
-            if second_char >= 0xA1:
-                return 157 * (first_char - 0xA4) + second_char - 0xA1 + 63
-            return 157 * (first_char - 0xA4) + second_char - 0x40
-        return -1
-
-
-class SJISDistributionAnalysis(CharDistributionAnalysis):
-    def __init__(self) -> None:
-        super().__init__()
-        self._char_to_freq_order = JIS_CHAR_TO_FREQ_ORDER
-        self._table_size = JIS_TABLE_SIZE
-        self.typical_distribution_ratio = JIS_TYPICAL_DISTRIBUTION_RATIO
-
-    def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
-        # for sjis encoding, we are interested
-        #   first  byte range: 0x81 -- 0x9f , 0xe0 -- 0xfe
-        #   second byte range: 0x40 -- 0x7e,  0x81 -- oxfe
-        # no validation needed here. State machine has done that
-        first_char, second_char = byte_str[0], byte_str[1]
-        if 0x81 <= first_char <= 0x9F:
-            order = 188 * (first_char - 0x81)
-        elif 0xE0 <= first_char <= 0xEF:
-            order = 188 * (first_char - 0xE0 + 31)
-        else:
-            return -1
-        order = order + second_char - 0x40
-        if second_char > 0x7F:
-            order = -1
-        return order
-
-
-class EUCJPDistributionAnalysis(CharDistributionAnalysis):
-    def __init__(self) -> None:
-        super().__init__()
-        self._char_to_freq_order = JIS_CHAR_TO_FREQ_ORDER
-        self._table_size = JIS_TABLE_SIZE
-        self.typical_distribution_ratio = JIS_TYPICAL_DISTRIBUTION_RATIO
-
-    def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
-        # for euc-JP encoding, we are interested
-        #   first  byte range: 0xa0 -- 0xfe
-        #   second byte range: 0xa1 -- 0xfe
-        # no validation needed here. State machine has done that
-        char = byte_str[0]
-        if char >= 0xA0:
-            return 94 * (char - 0xA1) + byte_str[1] - 0xA1
-        return -1
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/charsetgroupprober.py b/.venv/Lib/site-packages/pip/_vendor/chardet/charsetgroupprober.py
deleted file mode 100644
index 6def56b..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/charsetgroupprober.py
+++ /dev/null
@@ -1,106 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is Mozilla Communicator client code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-from typing import List, Optional, Union
-
-from .charsetprober import CharSetProber
-from .enums import LanguageFilter, ProbingState
-
-
-class CharSetGroupProber(CharSetProber):
-    def __init__(self, lang_filter: LanguageFilter = LanguageFilter.NONE) -> None:
-        super().__init__(lang_filter=lang_filter)
-        self._active_num = 0
-        self.probers: List[CharSetProber] = []
-        self._best_guess_prober: Optional[CharSetProber] = None
-
-    def reset(self) -> None:
-        super().reset()
-        self._active_num = 0
-        for prober in self.probers:
-            prober.reset()
-            prober.active = True
-            self._active_num += 1
-        self._best_guess_prober = None
-
-    @property
-    def charset_name(self) -> Optional[str]:
-        if not self._best_guess_prober:
-            self.get_confidence()
-            if not self._best_guess_prober:
-                return None
-        return self._best_guess_prober.charset_name
-
-    @property
-    def language(self) -> Optional[str]:
-        if not self._best_guess_prober:
-            self.get_confidence()
-            if not self._best_guess_prober:
-                return None
-        return self._best_guess_prober.language
-
-    def feed(self, byte_str: Union[bytes, bytearray]) -> ProbingState:
-        for prober in self.probers:
-            if not prober.active:
-                continue
-            state = prober.feed(byte_str)
-            if not state:
-                continue
-            if state == ProbingState.FOUND_IT:
-                self._best_guess_prober = prober
-                self._state = ProbingState.FOUND_IT
-                return self.state
-            if state == ProbingState.NOT_ME:
-                prober.active = False
-                self._active_num -= 1
-                if self._active_num <= 0:
-                    self._state = ProbingState.NOT_ME
-                    return self.state
-        return self.state
-
-    def get_confidence(self) -> float:
-        state = self.state
-        if state == ProbingState.FOUND_IT:
-            return 0.99
-        if state == ProbingState.NOT_ME:
-            return 0.01
-        best_conf = 0.0
-        self._best_guess_prober = None
-        for prober in self.probers:
-            if not prober.active:
-                self.logger.debug("%s not active", prober.charset_name)
-                continue
-            conf = prober.get_confidence()
-            self.logger.debug(
-                "%s %s confidence = %s", prober.charset_name, prober.language, conf
-            )
-            if best_conf < conf:
-                best_conf = conf
-                self._best_guess_prober = prober
-        if not self._best_guess_prober:
-            return 0.0
-        return best_conf
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/charsetprober.py b/.venv/Lib/site-packages/pip/_vendor/chardet/charsetprober.py
deleted file mode 100644
index a103ca1..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/charsetprober.py
+++ /dev/null
@@ -1,147 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is Mozilla Universal charset detector code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 2001
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#   Shy Shalom - original C code
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-import logging
-import re
-from typing import Optional, Union
-
-from .enums import LanguageFilter, ProbingState
-
-INTERNATIONAL_WORDS_PATTERN = re.compile(
-    b"[a-zA-Z]*[\x80-\xFF]+[a-zA-Z]*[^a-zA-Z\x80-\xFF]?"
-)
-
-
-class CharSetProber:
-
-    SHORTCUT_THRESHOLD = 0.95
-
-    def __init__(self, lang_filter: LanguageFilter = LanguageFilter.NONE) -> None:
-        self._state = ProbingState.DETECTING
-        self.active = True
-        self.lang_filter = lang_filter
-        self.logger = logging.getLogger(__name__)
-
-    def reset(self) -> None:
-        self._state = ProbingState.DETECTING
-
-    @property
-    def charset_name(self) -> Optional[str]:
-        return None
-
-    @property
-    def language(self) -> Optional[str]:
-        raise NotImplementedError
-
-    def feed(self, byte_str: Union[bytes, bytearray]) -> ProbingState:
-        raise NotImplementedError
-
-    @property
-    def state(self) -> ProbingState:
-        return self._state
-
-    def get_confidence(self) -> float:
-        return 0.0
-
-    @staticmethod
-    def filter_high_byte_only(buf: Union[bytes, bytearray]) -> bytes:
-        buf = re.sub(b"([\x00-\x7F])+", b" ", buf)
-        return buf
-
-    @staticmethod
-    def filter_international_words(buf: Union[bytes, bytearray]) -> bytearray:
-        """
-        We define three types of bytes:
-        alphabet: english alphabets [a-zA-Z]
-        international: international characters [\x80-\xFF]
-        marker: everything else [^a-zA-Z\x80-\xFF]
-        The input buffer can be thought to contain a series of words delimited
-        by markers. This function works to filter all words that contain at
-        least one international character. All contiguous sequences of markers
-        are replaced by a single space ascii character.
-        This filter applies to all scripts which do not use English characters.
-        """
-        filtered = bytearray()
-
-        # This regex expression filters out only words that have at-least one
-        # international character. The word may include one marker character at
-        # the end.
-        words = INTERNATIONAL_WORDS_PATTERN.findall(buf)
-
-        for word in words:
-            filtered.extend(word[:-1])
-
-            # If the last character in the word is a marker, replace it with a
-            # space as markers shouldn't affect our analysis (they are used
-            # similarly across all languages and may thus have similar
-            # frequencies).
-            last_char = word[-1:]
-            if not last_char.isalpha() and last_char < b"\x80":
-                last_char = b" "
-            filtered.extend(last_char)
-
-        return filtered
-
-    @staticmethod
-    def remove_xml_tags(buf: Union[bytes, bytearray]) -> bytes:
-        """
-        Returns a copy of ``buf`` that retains only the sequences of English
-        alphabet and high byte characters that are not between <> characters.
-        This filter can be applied to all scripts which contain both English
-        characters and extended ASCII characters, but is currently only used by
-        ``Latin1Prober``.
-        """
-        filtered = bytearray()
-        in_tag = False
-        prev = 0
-        buf = memoryview(buf).cast("c")
-
-        for curr, buf_char in enumerate(buf):
-            # Check if we're coming out of or entering an XML tag
-
-            # https://github.com/python/typeshed/issues/8182
-            if buf_char == b">":  # type: ignore[comparison-overlap]
-                prev = curr + 1
-                in_tag = False
-            # https://github.com/python/typeshed/issues/8182
-            elif buf_char == b"<":  # type: ignore[comparison-overlap]
-                if curr > prev and not in_tag:
-                    # Keep everything after last non-extended-ASCII,
-                    # non-alphabetic character
-                    filtered.extend(buf[prev:curr])
-                    # Output a space to delimit stretch we kept
-                    filtered.extend(b" ")
-                in_tag = True
-
-        # If we're not in a tag...
-        if not in_tag:
-            # Keep everything after last non-extended-ASCII, non-alphabetic
-            # character
-            filtered.extend(buf[prev:])
-
-        return filtered
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/cli/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/cli/__pycache__/__init__.cpython-311.pyc
deleted file mode 100644
index a4b45a4..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/cli/__pycache__/__init__.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/cli/__pycache__/chardetect.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/cli/__pycache__/chardetect.cpython-311.pyc
deleted file mode 100644
index a72eb60..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/cli/__pycache__/chardetect.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/cli/chardetect.py b/.venv/Lib/site-packages/pip/_vendor/chardet/cli/chardetect.py
deleted file mode 100644
index 43f6e14..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/cli/chardetect.py
+++ /dev/null
@@ -1,112 +0,0 @@
-"""
-Script which takes one or more file paths and reports on their detected
-encodings
-
-Example::
-
-    % chardetect somefile someotherfile
-    somefile: windows-1252 with confidence 0.5
-    someotherfile: ascii with confidence 1.0
-
-If no paths are provided, it takes its input from stdin.
-
-"""
-
-
-import argparse
-import sys
-from typing import Iterable, List, Optional
-
-from .. import __version__
-from ..universaldetector import UniversalDetector
-
-
-def description_of(
-    lines: Iterable[bytes],
-    name: str = "stdin",
-    minimal: bool = False,
-    should_rename_legacy: bool = False,
-) -> Optional[str]:
-    """
-    Return a string describing the probable encoding of a file or
-    list of strings.
-
-    :param lines: The lines to get the encoding of.
-    :type lines: Iterable of bytes
-    :param name: Name of file or collection of lines
-    :type name: str
-    :param should_rename_legacy:  Should we rename legacy encodings to
-                                  their more modern equivalents?
-    :type should_rename_legacy:   ``bool``
-    """
-    u = UniversalDetector(should_rename_legacy=should_rename_legacy)
-    for line in lines:
-        line = bytearray(line)
-        u.feed(line)
-        # shortcut out of the loop to save reading further - particularly useful if we read a BOM.
-        if u.done:
-            break
-    u.close()
-    result = u.result
-    if minimal:
-        return result["encoding"]
-    if result["encoding"]:
-        return f'{name}: {result["encoding"]} with confidence {result["confidence"]}'
-    return f"{name}: no result"
-
-
-def main(argv: Optional[List[str]] = None) -> None:
-    """
-    Handles command line arguments and gets things started.
-
-    :param argv: List of arguments, as if specified on the command-line.
-                 If None, ``sys.argv[1:]`` is used instead.
-    :type argv: list of str
-    """
-    # Get command line arguments
-    parser = argparse.ArgumentParser(
-        description=(
-            "Takes one or more file paths and reports their detected encodings"
-        )
-    )
-    parser.add_argument(
-        "input",
-        help="File whose encoding we would like to determine. (default: stdin)",
-        type=argparse.FileType("rb"),
-        nargs="*",
-        default=[sys.stdin.buffer],
-    )
-    parser.add_argument(
-        "--minimal",
-        help="Print only the encoding to standard output",
-        action="store_true",
-    )
-    parser.add_argument(
-        "-l",
-        "--legacy",
-        help="Rename legacy encodings to more modern ones.",
-        action="store_true",
-    )
-    parser.add_argument(
-        "--version", action="version", version=f"%(prog)s {__version__}"
-    )
-    args = parser.parse_args(argv)
-
-    for f in args.input:
-        if f.isatty():
-            print(
-                "You are running chardetect interactively. Press "
-                "CTRL-D twice at the start of a blank line to signal the "
-                "end of your input. If you want help, run chardetect "
-                "--help\n",
-                file=sys.stderr,
-            )
-        print(
-            description_of(
-                f, f.name, minimal=args.minimal, should_rename_legacy=args.legacy
-            )
-        )
-
-
-if __name__ == "__main__":
-    main()
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/codingstatemachine.py b/.venv/Lib/site-packages/pip/_vendor/chardet/codingstatemachine.py
deleted file mode 100644
index 8ed4a87..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/codingstatemachine.py
+++ /dev/null
@@ -1,90 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is mozilla.org code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-import logging
-
-from .codingstatemachinedict import CodingStateMachineDict
-from .enums import MachineState
-
-
-class CodingStateMachine:
-    """
-    A state machine to verify a byte sequence for a particular encoding. For
-    each byte the detector receives, it will feed that byte to every active
-    state machine available, one byte at a time. The state machine changes its
-    state based on its previous state and the byte it receives. There are 3
-    states in a state machine that are of interest to an auto-detector:
-
-    START state: This is the state to start with, or a legal byte sequence
-                 (i.e. a valid code point) for character has been identified.
-
-    ME state:  This indicates that the state machine identified a byte sequence
-               that is specific to the charset it is designed for and that
-               there is no other possible encoding which can contain this byte
-               sequence. This will to lead to an immediate positive answer for
-               the detector.
-
-    ERROR state: This indicates the state machine identified an illegal byte
-                 sequence for that encoding. This will lead to an immediate
-                 negative answer for this encoding. Detector will exclude this
-                 encoding from consideration from here on.
-    """
-
-    def __init__(self, sm: CodingStateMachineDict) -> None:
-        self._model = sm
-        self._curr_byte_pos = 0
-        self._curr_char_len = 0
-        self._curr_state = MachineState.START
-        self.active = True
-        self.logger = logging.getLogger(__name__)
-        self.reset()
-
-    def reset(self) -> None:
-        self._curr_state = MachineState.START
-
-    def next_state(self, c: int) -> int:
-        # for each byte we get its class
-        # if it is first byte, we also get byte length
-        byte_class = self._model["class_table"][c]
-        if self._curr_state == MachineState.START:
-            self._curr_byte_pos = 0
-            self._curr_char_len = self._model["char_len_table"][byte_class]
-        # from byte's class and state_table, we get its next state
-        curr_state = self._curr_state * self._model["class_factor"] + byte_class
-        self._curr_state = self._model["state_table"][curr_state]
-        self._curr_byte_pos += 1
-        return self._curr_state
-
-    def get_current_charlen(self) -> int:
-        return self._curr_char_len
-
-    def get_coding_state_machine(self) -> str:
-        return self._model["name"]
-
-    @property
-    def language(self) -> str:
-        return self._model["language"]
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/codingstatemachinedict.py b/.venv/Lib/site-packages/pip/_vendor/chardet/codingstatemachinedict.py
deleted file mode 100644
index 7a3c4c7..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/codingstatemachinedict.py
+++ /dev/null
@@ -1,19 +0,0 @@
-from typing import TYPE_CHECKING, Tuple
-
-if TYPE_CHECKING:
-    # TypedDict was introduced in Python 3.8.
-    #
-    # TODO: Remove the else block and TYPE_CHECKING check when dropping support
-    # for Python 3.7.
-    from typing import TypedDict
-
-    class CodingStateMachineDict(TypedDict, total=False):
-        class_table: Tuple[int, ...]
-        class_factor: int
-        state_table: Tuple[int, ...]
-        char_len_table: Tuple[int, ...]
-        name: str
-        language: str  # Optional key
-
-else:
-    CodingStateMachineDict = dict
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/cp949prober.py b/.venv/Lib/site-packages/pip/_vendor/chardet/cp949prober.py
deleted file mode 100644
index fa7307e..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/cp949prober.py
+++ /dev/null
@@ -1,49 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is mozilla.org code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-from .chardistribution import EUCKRDistributionAnalysis
-from .codingstatemachine import CodingStateMachine
-from .mbcharsetprober import MultiByteCharSetProber
-from .mbcssm import CP949_SM_MODEL
-
-
-class CP949Prober(MultiByteCharSetProber):
-    def __init__(self) -> None:
-        super().__init__()
-        self.coding_sm = CodingStateMachine(CP949_SM_MODEL)
-        # NOTE: CP949 is a superset of EUC-KR, so the distribution should be
-        #       not different.
-        self.distribution_analyzer = EUCKRDistributionAnalysis()
-        self.reset()
-
-    @property
-    def charset_name(self) -> str:
-        return "CP949"
-
-    @property
-    def language(self) -> str:
-        return "Korean"
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/enums.py b/.venv/Lib/site-packages/pip/_vendor/chardet/enums.py
deleted file mode 100644
index 5e3e198..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/enums.py
+++ /dev/null
@@ -1,85 +0,0 @@
-"""
-All of the Enums that are used throughout the chardet package.
-
-:author: Dan Blanchard (dan.blanchard@gmail.com)
-"""
-
-from enum import Enum, Flag
-
-
-class InputState:
-    """
-    This enum represents the different states a universal detector can be in.
-    """
-
-    PURE_ASCII = 0
-    ESC_ASCII = 1
-    HIGH_BYTE = 2
-
-
-class LanguageFilter(Flag):
-    """
-    This enum represents the different language filters we can apply to a
-    ``UniversalDetector``.
-    """
-
-    NONE = 0x00
-    CHINESE_SIMPLIFIED = 0x01
-    CHINESE_TRADITIONAL = 0x02
-    JAPANESE = 0x04
-    KOREAN = 0x08
-    NON_CJK = 0x10
-    ALL = 0x1F
-    CHINESE = CHINESE_SIMPLIFIED | CHINESE_TRADITIONAL
-    CJK = CHINESE | JAPANESE | KOREAN
-
-
-class ProbingState(Enum):
-    """
-    This enum represents the different states a prober can be in.
-    """
-
-    DETECTING = 0
-    FOUND_IT = 1
-    NOT_ME = 2
-
-
-class MachineState:
-    """
-    This enum represents the different states a state machine can be in.
-    """
-
-    START = 0
-    ERROR = 1
-    ITS_ME = 2
-
-
-class SequenceLikelihood:
-    """
-    This enum represents the likelihood of a character following the previous one.
-    """
-
-    NEGATIVE = 0
-    UNLIKELY = 1
-    LIKELY = 2
-    POSITIVE = 3
-
-    @classmethod
-    def get_num_categories(cls) -> int:
-        """:returns: The number of likelihood categories in the enum."""
-        return 4
-
-
-class CharacterCategory:
-    """
-    This enum represents the different categories language models for
-    ``SingleByteCharsetProber`` put characters into.
-
-    Anything less than CONTROL is considered a letter.
-    """
-
-    UNDEFINED = 255
-    LINE_BREAK = 254
-    SYMBOL = 253
-    DIGIT = 252
-    CONTROL = 251
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/escprober.py b/.venv/Lib/site-packages/pip/_vendor/chardet/escprober.py
deleted file mode 100644
index fd71383..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/escprober.py
+++ /dev/null
@@ -1,102 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is mozilla.org code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-from typing import Optional, Union
-
-from .charsetprober import CharSetProber
-from .codingstatemachine import CodingStateMachine
-from .enums import LanguageFilter, MachineState, ProbingState
-from .escsm import (
-    HZ_SM_MODEL,
-    ISO2022CN_SM_MODEL,
-    ISO2022JP_SM_MODEL,
-    ISO2022KR_SM_MODEL,
-)
-
-
-class EscCharSetProber(CharSetProber):
-    """
-    This CharSetProber uses a "code scheme" approach for detecting encodings,
-    whereby easily recognizable escape or shift sequences are relied on to
-    identify these encodings.
-    """
-
-    def __init__(self, lang_filter: LanguageFilter = LanguageFilter.NONE) -> None:
-        super().__init__(lang_filter=lang_filter)
-        self.coding_sm = []
-        if self.lang_filter & LanguageFilter.CHINESE_SIMPLIFIED:
-            self.coding_sm.append(CodingStateMachine(HZ_SM_MODEL))
-            self.coding_sm.append(CodingStateMachine(ISO2022CN_SM_MODEL))
-        if self.lang_filter & LanguageFilter.JAPANESE:
-            self.coding_sm.append(CodingStateMachine(ISO2022JP_SM_MODEL))
-        if self.lang_filter & LanguageFilter.KOREAN:
-            self.coding_sm.append(CodingStateMachine(ISO2022KR_SM_MODEL))
-        self.active_sm_count = 0
-        self._detected_charset: Optional[str] = None
-        self._detected_language: Optional[str] = None
-        self._state = ProbingState.DETECTING
-        self.reset()
-
-    def reset(self) -> None:
-        super().reset()
-        for coding_sm in self.coding_sm:
-            coding_sm.active = True
-            coding_sm.reset()
-        self.active_sm_count = len(self.coding_sm)
-        self._detected_charset = None
-        self._detected_language = None
-
-    @property
-    def charset_name(self) -> Optional[str]:
-        return self._detected_charset
-
-    @property
-    def language(self) -> Optional[str]:
-        return self._detected_language
-
-    def get_confidence(self) -> float:
-        return 0.99 if self._detected_charset else 0.00
-
-    def feed(self, byte_str: Union[bytes, bytearray]) -> ProbingState:
-        for c in byte_str:
-            for coding_sm in self.coding_sm:
-                if not coding_sm.active:
-                    continue
-                coding_state = coding_sm.next_state(c)
-                if coding_state == MachineState.ERROR:
-                    coding_sm.active = False
-                    self.active_sm_count -= 1
-                    if self.active_sm_count <= 0:
-                        self._state = ProbingState.NOT_ME
-                        return self.state
-                elif coding_state == MachineState.ITS_ME:
-                    self._state = ProbingState.FOUND_IT
-                    self._detected_charset = coding_sm.get_coding_state_machine()
-                    self._detected_language = coding_sm.language
-                    return self.state
-
-        return self.state
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/escsm.py b/.venv/Lib/site-packages/pip/_vendor/chardet/escsm.py
deleted file mode 100644
index 11d4adf..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/escsm.py
+++ /dev/null
@@ -1,261 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is mozilla.org code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License,  or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not,  write to the Free Software
-# Foundation,  Inc.,  51 Franklin St,  Fifth Floor,  Boston,  MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-from .codingstatemachinedict import CodingStateMachineDict
-from .enums import MachineState
-
-# fmt: off
-HZ_CLS = (
-    1, 0, 0, 0, 0, 0, 0, 0,  # 00 - 07
-    0, 0, 0, 0, 0, 0, 0, 0,  # 08 - 0f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 10 - 17
-    0, 0, 0, 1, 0, 0, 0, 0,  # 18 - 1f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 20 - 27
-    0, 0, 0, 0, 0, 0, 0, 0,  # 28 - 2f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 30 - 37
-    0, 0, 0, 0, 0, 0, 0, 0,  # 38 - 3f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 40 - 47
-    0, 0, 0, 0, 0, 0, 0, 0,  # 48 - 4f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 50 - 57
-    0, 0, 0, 0, 0, 0, 0, 0,  # 58 - 5f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 60 - 67
-    0, 0, 0, 0, 0, 0, 0, 0,  # 68 - 6f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 70 - 77
-    0, 0, 0, 4, 0, 5, 2, 0,  # 78 - 7f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 80 - 87
-    1, 1, 1, 1, 1, 1, 1, 1,  # 88 - 8f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 90 - 97
-    1, 1, 1, 1, 1, 1, 1, 1,  # 98 - 9f
-    1, 1, 1, 1, 1, 1, 1, 1,  # a0 - a7
-    1, 1, 1, 1, 1, 1, 1, 1,  # a8 - af
-    1, 1, 1, 1, 1, 1, 1, 1,  # b0 - b7
-    1, 1, 1, 1, 1, 1, 1, 1,  # b8 - bf
-    1, 1, 1, 1, 1, 1, 1, 1,  # c0 - c7
-    1, 1, 1, 1, 1, 1, 1, 1,  # c8 - cf
-    1, 1, 1, 1, 1, 1, 1, 1,  # d0 - d7
-    1, 1, 1, 1, 1, 1, 1, 1,  # d8 - df
-    1, 1, 1, 1, 1, 1, 1, 1,  # e0 - e7
-    1, 1, 1, 1, 1, 1, 1, 1,  # e8 - ef
-    1, 1, 1, 1, 1, 1, 1, 1,  # f0 - f7
-    1, 1, 1, 1, 1, 1, 1, 1,  # f8 - ff
-)
-
-HZ_ST = (
-MachineState.START, MachineState.ERROR,      3, MachineState.START, MachineState.START, MachineState.START, MachineState.ERROR, MachineState.ERROR, # 00-07
-MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, # 08-0f
-MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ERROR, MachineState.ERROR, MachineState.START, MachineState.START,      4, MachineState.ERROR, # 10-17
-     5, MachineState.ERROR,      6, MachineState.ERROR,      5,      5,      4, MachineState.ERROR, # 18-1f
-     4, MachineState.ERROR,      4,      4,      4, MachineState.ERROR,      4, MachineState.ERROR, # 20-27
-     4, MachineState.ITS_ME, MachineState.START, MachineState.START, MachineState.START, MachineState.START, MachineState.START, MachineState.START, # 28-2f
-)
-# fmt: on
-
-HZ_CHAR_LEN_TABLE = (0, 0, 0, 0, 0, 0)
-
-HZ_SM_MODEL: CodingStateMachineDict = {
-    "class_table": HZ_CLS,
-    "class_factor": 6,
-    "state_table": HZ_ST,
-    "char_len_table": HZ_CHAR_LEN_TABLE,
-    "name": "HZ-GB-2312",
-    "language": "Chinese",
-}
-
-# fmt: off
-ISO2022CN_CLS = (
-    2, 0, 0, 0, 0, 0, 0, 0,  # 00 - 07
-    0, 0, 0, 0, 0, 0, 0, 0,  # 08 - 0f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 10 - 17
-    0, 0, 0, 1, 0, 0, 0, 0,  # 18 - 1f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 20 - 27
-    0, 3, 0, 0, 0, 0, 0, 0,  # 28 - 2f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 30 - 37
-    0, 0, 0, 0, 0, 0, 0, 0,  # 38 - 3f
-    0, 0, 0, 4, 0, 0, 0, 0,  # 40 - 47
-    0, 0, 0, 0, 0, 0, 0, 0,  # 48 - 4f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 50 - 57
-    0, 0, 0, 0, 0, 0, 0, 0,  # 58 - 5f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 60 - 67
-    0, 0, 0, 0, 0, 0, 0, 0,  # 68 - 6f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 70 - 77
-    0, 0, 0, 0, 0, 0, 0, 0,  # 78 - 7f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 80 - 87
-    2, 2, 2, 2, 2, 2, 2, 2,  # 88 - 8f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 90 - 97
-    2, 2, 2, 2, 2, 2, 2, 2,  # 98 - 9f
-    2, 2, 2, 2, 2, 2, 2, 2,  # a0 - a7
-    2, 2, 2, 2, 2, 2, 2, 2,  # a8 - af
-    2, 2, 2, 2, 2, 2, 2, 2,  # b0 - b7
-    2, 2, 2, 2, 2, 2, 2, 2,  # b8 - bf
-    2, 2, 2, 2, 2, 2, 2, 2,  # c0 - c7
-    2, 2, 2, 2, 2, 2, 2, 2,  # c8 - cf
-    2, 2, 2, 2, 2, 2, 2, 2,  # d0 - d7
-    2, 2, 2, 2, 2, 2, 2, 2,  # d8 - df
-    2, 2, 2, 2, 2, 2, 2, 2,  # e0 - e7
-    2, 2, 2, 2, 2, 2, 2, 2,  # e8 - ef
-    2, 2, 2, 2, 2, 2, 2, 2,  # f0 - f7
-    2, 2, 2, 2, 2, 2, 2, 2,  # f8 - ff
-)
-
-ISO2022CN_ST = (
-    MachineState.START,      3, MachineState.ERROR, MachineState.START, MachineState.START, MachineState.START, MachineState.START, MachineState.START, # 00-07
-    MachineState.START, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, # 08-0f
-    MachineState.ERROR, MachineState.ERROR, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, # 10-17
-    MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR,      4, MachineState.ERROR, # 18-1f
-    MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ITS_ME, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, # 20-27
-        5,      6, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, # 28-2f
-    MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ITS_ME, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, # 30-37
-    MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ITS_ME, MachineState.ERROR, MachineState.START, # 38-3f
-)
-# fmt: on
-
-ISO2022CN_CHAR_LEN_TABLE = (0, 0, 0, 0, 0, 0, 0, 0, 0)
-
-ISO2022CN_SM_MODEL: CodingStateMachineDict = {
-    "class_table": ISO2022CN_CLS,
-    "class_factor": 9,
-    "state_table": ISO2022CN_ST,
-    "char_len_table": ISO2022CN_CHAR_LEN_TABLE,
-    "name": "ISO-2022-CN",
-    "language": "Chinese",
-}
-
-# fmt: off
-ISO2022JP_CLS = (
-    2, 0, 0, 0, 0, 0, 0, 0,  # 00 - 07
-    0, 0, 0, 0, 0, 0, 2, 2,  # 08 - 0f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 10 - 17
-    0, 0, 0, 1, 0, 0, 0, 0,  # 18 - 1f
-    0, 0, 0, 0, 7, 0, 0, 0,  # 20 - 27
-    3, 0, 0, 0, 0, 0, 0, 0,  # 28 - 2f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 30 - 37
-    0, 0, 0, 0, 0, 0, 0, 0,  # 38 - 3f
-    6, 0, 4, 0, 8, 0, 0, 0,  # 40 - 47
-    0, 9, 5, 0, 0, 0, 0, 0,  # 48 - 4f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 50 - 57
-    0, 0, 0, 0, 0, 0, 0, 0,  # 58 - 5f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 60 - 67
-    0, 0, 0, 0, 0, 0, 0, 0,  # 68 - 6f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 70 - 77
-    0, 0, 0, 0, 0, 0, 0, 0,  # 78 - 7f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 80 - 87
-    2, 2, 2, 2, 2, 2, 2, 2,  # 88 - 8f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 90 - 97
-    2, 2, 2, 2, 2, 2, 2, 2,  # 98 - 9f
-    2, 2, 2, 2, 2, 2, 2, 2,  # a0 - a7
-    2, 2, 2, 2, 2, 2, 2, 2,  # a8 - af
-    2, 2, 2, 2, 2, 2, 2, 2,  # b0 - b7
-    2, 2, 2, 2, 2, 2, 2, 2,  # b8 - bf
-    2, 2, 2, 2, 2, 2, 2, 2,  # c0 - c7
-    2, 2, 2, 2, 2, 2, 2, 2,  # c8 - cf
-    2, 2, 2, 2, 2, 2, 2, 2,  # d0 - d7
-    2, 2, 2, 2, 2, 2, 2, 2,  # d8 - df
-    2, 2, 2, 2, 2, 2, 2, 2,  # e0 - e7
-    2, 2, 2, 2, 2, 2, 2, 2,  # e8 - ef
-    2, 2, 2, 2, 2, 2, 2, 2,  # f0 - f7
-    2, 2, 2, 2, 2, 2, 2, 2,  # f8 - ff
-)
-
-ISO2022JP_ST = (
-    MachineState.START,      3, MachineState.ERROR, MachineState.START, MachineState.START, MachineState.START, MachineState.START, MachineState.START, # 00-07
-    MachineState.START, MachineState.START, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, # 08-0f
-    MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, # 10-17
-    MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ERROR, MachineState.ERROR, # 18-1f
-    MachineState.ERROR,      5, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR,      4, MachineState.ERROR, MachineState.ERROR, # 20-27
-    MachineState.ERROR, MachineState.ERROR, MachineState.ERROR,      6, MachineState.ITS_ME, MachineState.ERROR, MachineState.ITS_ME, MachineState.ERROR, # 28-2f
-    MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ITS_ME, MachineState.ITS_ME, # 30-37
-    MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ITS_ME, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, # 38-3f
-    MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ITS_ME, MachineState.ERROR, MachineState.START, MachineState.START, # 40-47
-)
-# fmt: on
-
-ISO2022JP_CHAR_LEN_TABLE = (0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
-
-ISO2022JP_SM_MODEL: CodingStateMachineDict = {
-    "class_table": ISO2022JP_CLS,
-    "class_factor": 10,
-    "state_table": ISO2022JP_ST,
-    "char_len_table": ISO2022JP_CHAR_LEN_TABLE,
-    "name": "ISO-2022-JP",
-    "language": "Japanese",
-}
-
-# fmt: off
-ISO2022KR_CLS = (
-    2, 0, 0, 0, 0, 0, 0, 0,  # 00 - 07
-    0, 0, 0, 0, 0, 0, 0, 0,  # 08 - 0f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 10 - 17
-    0, 0, 0, 1, 0, 0, 0, 0,  # 18 - 1f
-    0, 0, 0, 0, 3, 0, 0, 0,  # 20 - 27
-    0, 4, 0, 0, 0, 0, 0, 0,  # 28 - 2f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 30 - 37
-    0, 0, 0, 0, 0, 0, 0, 0,  # 38 - 3f
-    0, 0, 0, 5, 0, 0, 0, 0,  # 40 - 47
-    0, 0, 0, 0, 0, 0, 0, 0,  # 48 - 4f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 50 - 57
-    0, 0, 0, 0, 0, 0, 0, 0,  # 58 - 5f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 60 - 67
-    0, 0, 0, 0, 0, 0, 0, 0,  # 68 - 6f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 70 - 77
-    0, 0, 0, 0, 0, 0, 0, 0,  # 78 - 7f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 80 - 87
-    2, 2, 2, 2, 2, 2, 2, 2,  # 88 - 8f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 90 - 97
-    2, 2, 2, 2, 2, 2, 2, 2,  # 98 - 9f
-    2, 2, 2, 2, 2, 2, 2, 2,  # a0 - a7
-    2, 2, 2, 2, 2, 2, 2, 2,  # a8 - af
-    2, 2, 2, 2, 2, 2, 2, 2,  # b0 - b7
-    2, 2, 2, 2, 2, 2, 2, 2,  # b8 - bf
-    2, 2, 2, 2, 2, 2, 2, 2,  # c0 - c7
-    2, 2, 2, 2, 2, 2, 2, 2,  # c8 - cf
-    2, 2, 2, 2, 2, 2, 2, 2,  # d0 - d7
-    2, 2, 2, 2, 2, 2, 2, 2,  # d8 - df
-    2, 2, 2, 2, 2, 2, 2, 2,  # e0 - e7
-    2, 2, 2, 2, 2, 2, 2, 2,  # e8 - ef
-    2, 2, 2, 2, 2, 2, 2, 2,  # f0 - f7
-    2, 2, 2, 2, 2, 2, 2, 2,  # f8 - ff
-)
-
-ISO2022KR_ST = (
-    MachineState.START,      3, MachineState.ERROR, MachineState.START, MachineState.START, MachineState.START, MachineState.ERROR, MachineState.ERROR, # 00-07
-    MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, # 08-0f
-    MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR,      4, MachineState.ERROR, MachineState.ERROR, # 10-17
-    MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR,      5, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, # 18-1f
-    MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ITS_ME, MachineState.START, MachineState.START, MachineState.START, MachineState.START, # 20-27
-)
-# fmt: on
-
-ISO2022KR_CHAR_LEN_TABLE = (0, 0, 0, 0, 0, 0)
-
-ISO2022KR_SM_MODEL: CodingStateMachineDict = {
-    "class_table": ISO2022KR_CLS,
-    "class_factor": 6,
-    "state_table": ISO2022KR_ST,
-    "char_len_table": ISO2022KR_CHAR_LEN_TABLE,
-    "name": "ISO-2022-KR",
-    "language": "Korean",
-}
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/eucjpprober.py b/.venv/Lib/site-packages/pip/_vendor/chardet/eucjpprober.py
deleted file mode 100644
index 39487f4..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/eucjpprober.py
+++ /dev/null
@@ -1,102 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is mozilla.org code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-from typing import Union
-
-from .chardistribution import EUCJPDistributionAnalysis
-from .codingstatemachine import CodingStateMachine
-from .enums import MachineState, ProbingState
-from .jpcntx import EUCJPContextAnalysis
-from .mbcharsetprober import MultiByteCharSetProber
-from .mbcssm import EUCJP_SM_MODEL
-
-
-class EUCJPProber(MultiByteCharSetProber):
-    def __init__(self) -> None:
-        super().__init__()
-        self.coding_sm = CodingStateMachine(EUCJP_SM_MODEL)
-        self.distribution_analyzer = EUCJPDistributionAnalysis()
-        self.context_analyzer = EUCJPContextAnalysis()
-        self.reset()
-
-    def reset(self) -> None:
-        super().reset()
-        self.context_analyzer.reset()
-
-    @property
-    def charset_name(self) -> str:
-        return "EUC-JP"
-
-    @property
-    def language(self) -> str:
-        return "Japanese"
-
-    def feed(self, byte_str: Union[bytes, bytearray]) -> ProbingState:
-        assert self.coding_sm is not None
-        assert self.distribution_analyzer is not None
-
-        for i, byte in enumerate(byte_str):
-            # PY3K: byte_str is a byte array, so byte is an int, not a byte
-            coding_state = self.coding_sm.next_state(byte)
-            if coding_state == MachineState.ERROR:
-                self.logger.debug(
-                    "%s %s prober hit error at byte %s",
-                    self.charset_name,
-                    self.language,
-                    i,
-                )
-                self._state = ProbingState.NOT_ME
-                break
-            if coding_state == MachineState.ITS_ME:
-                self._state = ProbingState.FOUND_IT
-                break
-            if coding_state == MachineState.START:
-                char_len = self.coding_sm.get_current_charlen()
-                if i == 0:
-                    self._last_char[1] = byte
-                    self.context_analyzer.feed(self._last_char, char_len)
-                    self.distribution_analyzer.feed(self._last_char, char_len)
-                else:
-                    self.context_analyzer.feed(byte_str[i - 1 : i + 1], char_len)
-                    self.distribution_analyzer.feed(byte_str[i - 1 : i + 1], char_len)
-
-        self._last_char[0] = byte_str[-1]
-
-        if self.state == ProbingState.DETECTING:
-            if self.context_analyzer.got_enough_data() and (
-                self.get_confidence() > self.SHORTCUT_THRESHOLD
-            ):
-                self._state = ProbingState.FOUND_IT
-
-        return self.state
-
-    def get_confidence(self) -> float:
-        assert self.distribution_analyzer is not None
-
-        context_conf = self.context_analyzer.get_confidence()
-        distrib_conf = self.distribution_analyzer.get_confidence()
-        return max(context_conf, distrib_conf)
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/euckrfreq.py b/.venv/Lib/site-packages/pip/_vendor/chardet/euckrfreq.py
deleted file mode 100644
index 7dc3b10..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/euckrfreq.py
+++ /dev/null
@@ -1,196 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is Mozilla Communicator client code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-# Sampling from about 20M text materials include literature and computer technology
-
-# 128  --> 0.79
-# 256  --> 0.92
-# 512  --> 0.986
-# 1024 --> 0.99944
-# 2048 --> 0.99999
-#
-# Idea Distribution Ratio = 0.98653 / (1-0.98653) = 73.24
-# Random Distribution Ration = 512 / (2350-512) = 0.279.
-#
-# Typical Distribution Ratio
-
-EUCKR_TYPICAL_DISTRIBUTION_RATIO = 6.0
-
-EUCKR_TABLE_SIZE = 2352
-
-# Char to FreqOrder table ,
-# fmt: off
-EUCKR_CHAR_TO_FREQ_ORDER = (
-  13, 130, 120,1396, 481,1719,1720, 328, 609, 212,1721, 707, 400, 299,1722,  87,
-1397,1723, 104, 536,1117,1203,1724,1267, 685,1268, 508,1725,1726,1727,1728,1398,
-1399,1729,1730,1731, 141, 621, 326,1057, 368,1732, 267, 488,  20,1733,1269,1734,
- 945,1400,1735,  47, 904,1270,1736,1737, 773, 248,1738, 409, 313, 786, 429,1739,
- 116, 987, 813,1401, 683,  75,1204, 145,1740,1741,1742,1743,  16, 847, 667, 622,
- 708,1744,1745,1746, 966, 787, 304, 129,1747,  60, 820, 123, 676,1748,1749,1750,
-1751, 617,1752, 626,1753,1754,1755,1756, 653,1757,1758,1759,1760,1761,1762, 856,
- 344,1763,1764,1765,1766,  89, 401, 418, 806, 905, 848,1767,1768,1769, 946,1205,
- 709,1770,1118,1771, 241,1772,1773,1774,1271,1775, 569,1776, 999,1777,1778,1779,
-1780, 337, 751,1058,  28, 628, 254,1781, 177, 906, 270, 349, 891,1079,1782,  19,
-1783, 379,1784, 315,1785, 629, 754,1402, 559,1786, 636, 203,1206,1787, 710, 567,
-1788, 935, 814,1789,1790,1207, 766, 528,1791,1792,1208,1793,1794,1795,1796,1797,
-1403,1798,1799, 533,1059,1404,1405,1156,1406, 936, 884,1080,1800, 351,1801,1802,
-1803,1804,1805, 801,1806,1807,1808,1119,1809,1157, 714, 474,1407,1810, 298, 899,
- 885,1811,1120, 802,1158,1812, 892,1813,1814,1408, 659,1815,1816,1121,1817,1818,
-1819,1820,1821,1822, 319,1823, 594, 545,1824, 815, 937,1209,1825,1826, 573,1409,
-1022,1827,1210,1828,1829,1830,1831,1832,1833, 556, 722, 807,1122,1060,1834, 697,
-1835, 900, 557, 715,1836,1410, 540,1411, 752,1159, 294, 597,1211, 976, 803, 770,
-1412,1837,1838,  39, 794,1413, 358,1839, 371, 925,1840, 453, 661, 788, 531, 723,
- 544,1023,1081, 869,  91,1841, 392, 430, 790, 602,1414, 677,1082, 457,1415,1416,
-1842,1843, 475, 327,1024,1417, 795, 121,1844, 733, 403,1418,1845,1846,1847, 300,
- 119, 711,1212, 627,1848,1272, 207,1849,1850, 796,1213, 382,1851, 519,1852,1083,
- 893,1853,1854,1855, 367, 809, 487, 671,1856, 663,1857,1858, 956, 471, 306, 857,
-1859,1860,1160,1084,1861,1862,1863,1864,1865,1061,1866,1867,1868,1869,1870,1871,
- 282,  96, 574,1872, 502,1085,1873,1214,1874, 907,1875,1876, 827, 977,1419,1420,
-1421, 268,1877,1422,1878,1879,1880, 308,1881,   2, 537,1882,1883,1215,1884,1885,
- 127, 791,1886,1273,1423,1887,  34, 336, 404, 643,1888, 571, 654, 894, 840,1889,
-   0, 886,1274, 122, 575, 260, 908, 938,1890,1275, 410, 316,1891,1892, 100,1893,
-1894,1123,  48,1161,1124,1025,1895, 633, 901,1276,1896,1897, 115, 816,1898, 317,
-1899, 694,1900, 909, 734,1424, 572, 866,1425, 691,  85, 524,1010, 543, 394, 841,
-1901,1902,1903,1026,1904,1905,1906,1907,1908,1909,  30, 451, 651, 988, 310,1910,
-1911,1426, 810,1216,  93,1912,1913,1277,1217,1914, 858, 759,  45,  58, 181, 610,
- 269,1915,1916, 131,1062, 551, 443,1000, 821,1427, 957, 895,1086,1917,1918, 375,
-1919, 359,1920, 687,1921, 822,1922, 293,1923,1924,  40, 662, 118, 692,  29, 939,
- 887, 640, 482, 174,1925,  69,1162, 728,1428, 910,1926,1278,1218,1279, 386, 870,
- 217, 854,1163, 823,1927,1928,1929,1930, 834,1931,  78,1932, 859,1933,1063,1934,
-1935,1936,1937, 438,1164, 208, 595,1938,1939,1940,1941,1219,1125,1942, 280, 888,
-1429,1430,1220,1431,1943,1944,1945,1946,1947,1280, 150, 510,1432,1948,1949,1950,
-1951,1952,1953,1954,1011,1087,1955,1433,1043,1956, 881,1957, 614, 958,1064,1065,
-1221,1958, 638,1001, 860, 967, 896,1434, 989, 492, 553,1281,1165,1959,1282,1002,
-1283,1222,1960,1961,1962,1963,  36, 383, 228, 753, 247, 454,1964, 876, 678,1965,
-1966,1284, 126, 464, 490, 835, 136, 672, 529, 940,1088,1435, 473,1967,1968, 467,
-  50, 390, 227, 587, 279, 378, 598, 792, 968, 240, 151, 160, 849, 882,1126,1285,
- 639,1044, 133, 140, 288, 360, 811, 563,1027, 561, 142, 523,1969,1970,1971,   7,
- 103, 296, 439, 407, 506, 634, 990,1972,1973,1974,1975, 645,1976,1977,1978,1979,
-1980,1981, 236,1982,1436,1983,1984,1089, 192, 828, 618, 518,1166, 333,1127,1985,
- 818,1223,1986,1987,1988,1989,1990,1991,1992,1993, 342,1128,1286, 746, 842,1994,
-1995, 560, 223,1287,  98,   8, 189, 650, 978,1288,1996,1437,1997,  17, 345, 250,
- 423, 277, 234, 512, 226,  97, 289,  42, 167,1998, 201,1999,2000, 843, 836, 824,
- 532, 338, 783,1090, 182, 576, 436,1438,1439, 527, 500,2001, 947, 889,2002,2003,
-2004,2005, 262, 600, 314, 447,2006, 547,2007, 693, 738,1129,2008,  71,1440, 745,
- 619, 688,2009, 829,2010,2011, 147,2012,  33, 948,2013,2014,  74, 224,2015,  61,
- 191, 918, 399, 637,2016,1028,1130, 257, 902,2017,2018,2019,2020,2021,2022,2023,
-2024,2025,2026, 837,2027,2028,2029,2030, 179, 874, 591,  52, 724, 246,2031,2032,
-2033,2034,1167, 969,2035,1289, 630, 605, 911,1091,1168,2036,2037,2038,1441, 912,
-2039, 623,2040,2041, 253,1169,1290,2042,1442, 146, 620, 611, 577, 433,2043,1224,
- 719,1170, 959, 440, 437, 534,  84, 388, 480,1131, 159, 220, 198, 679,2044,1012,
- 819,1066,1443, 113,1225, 194, 318,1003,1029,2045,2046,2047,2048,1067,2049,2050,
-2051,2052,2053,  59, 913, 112,2054, 632,2055, 455, 144, 739,1291,2056, 273, 681,
- 499,2057, 448,2058,2059, 760,2060,2061, 970, 384, 169, 245,1132,2062,2063, 414,
-1444,2064,2065,  41, 235,2066, 157, 252, 877, 568, 919, 789, 580,2067, 725,2068,
-2069,1292,2070,2071,1445,2072,1446,2073,2074,  55, 588,  66,1447, 271,1092,2075,
-1226,2076, 960,1013, 372,2077,2078,2079,2080,2081,1293,2082,2083,2084,2085, 850,
-2086,2087,2088,2089,2090, 186,2091,1068, 180,2092,2093,2094, 109,1227, 522, 606,
-2095, 867,1448,1093, 991,1171, 926, 353,1133,2096, 581,2097,2098,2099,1294,1449,
-1450,2100, 596,1172,1014,1228,2101,1451,1295,1173,1229,2102,2103,1296,1134,1452,
- 949,1135,2104,2105,1094,1453,1454,1455,2106,1095,2107,2108,2109,2110,2111,2112,
-2113,2114,2115,2116,2117, 804,2118,2119,1230,1231, 805,1456, 405,1136,2120,2121,
-2122,2123,2124, 720, 701,1297, 992,1457, 927,1004,2125,2126,2127,2128,2129,2130,
-  22, 417,2131, 303,2132, 385,2133, 971, 520, 513,2134,1174,  73,1096, 231, 274,
- 962,1458, 673,2135,1459,2136, 152,1137,2137,2138,2139,2140,1005,1138,1460,1139,
-2141,2142,2143,2144,  11, 374, 844,2145, 154,1232,  46,1461,2146, 838, 830, 721,
-1233, 106,2147,  90, 428, 462, 578, 566,1175, 352,2148,2149, 538,1234, 124,1298,
-2150,1462, 761, 565,2151, 686,2152, 649,2153,  72, 173,2154, 460, 415,2155,1463,
-2156,1235, 305,2157,2158,2159,2160,2161,2162, 579,2163,2164,2165,2166,2167, 747,
-2168,2169,2170,2171,1464, 669,2172,2173,2174,2175,2176,1465,2177,  23, 530, 285,
-2178, 335, 729,2179, 397,2180,2181,2182,1030,2183,2184, 698,2185,2186, 325,2187,
-2188, 369,2189, 799,1097,1015, 348,2190,1069, 680,2191, 851,1466,2192,2193,  10,
-2194, 613, 424,2195, 979, 108, 449, 589,  27, 172,  81,1031,  80, 774, 281, 350,
-1032, 525, 301, 582,1176,2196, 674,1045,2197,2198,1467, 730, 762,2199,2200,2201,
-2202,1468,2203, 993,2204,2205, 266,1070, 963,1140,2206,2207,2208, 664,1098, 972,
-2209,2210,2211,1177,1469,1470, 871,2212,2213,2214,2215,2216,1471,2217,2218,2219,
-2220,2221,2222,2223,2224,2225,2226,2227,1472,1236,2228,2229,2230,2231,2232,2233,
-2234,2235,1299,2236,2237, 200,2238, 477, 373,2239,2240, 731, 825, 777,2241,2242,
-2243, 521, 486, 548,2244,2245,2246,1473,1300,  53, 549, 137, 875,  76, 158,2247,
-1301,1474, 469, 396,1016, 278, 712,2248, 321, 442, 503, 767, 744, 941,1237,1178,
-1475,2249,  82, 178,1141,1179, 973,2250,1302,2251, 297,2252,2253, 570,2254,2255,
-2256,  18, 450, 206,2257, 290, 292,1142,2258, 511, 162,  99, 346, 164, 735,2259,
-1476,1477,   4, 554, 343, 798,1099,2260,1100,2261,  43, 171,1303, 139, 215,2262,
-2263, 717, 775,2264,1033, 322, 216,2265, 831,2266, 149,2267,1304,2268,2269, 702,
-1238, 135, 845, 347, 309,2270, 484,2271, 878, 655, 238,1006,1478,2272,  67,2273,
- 295,2274,2275, 461,2276, 478, 942, 412,2277,1034,2278,2279,2280, 265,2281, 541,
-2282,2283,2284,2285,2286,  70, 852,1071,2287,2288,2289,2290,  21,  56, 509, 117,
- 432,2291,2292, 331, 980, 552,1101, 148, 284, 105, 393,1180,1239, 755,2293, 187,
-2294,1046,1479,2295, 340,2296,  63,1047, 230,2297,2298,1305, 763,1306, 101, 800,
- 808, 494,2299,2300,2301, 903,2302,  37,1072,  14,   5,2303,  79, 675,2304, 312,
-2305,2306,2307,2308,2309,1480,   6,1307,2310,2311,2312,   1, 470,  35,  24, 229,
-2313, 695, 210,  86, 778,  15, 784, 592, 779,  32,  77, 855, 964,2314, 259,2315,
- 501, 380,2316,2317,  83, 981, 153, 689,1308,1481,1482,1483,2318,2319, 716,1484,
-2320,2321,2322,2323,2324,2325,1485,2326,2327, 128,  57,  68, 261,1048, 211, 170,
-1240,  31,2328,  51, 435, 742,2329,2330,2331, 635,2332, 264, 456,2333,2334,2335,
- 425,2336,1486, 143, 507, 263, 943,2337, 363, 920,1487, 256,1488,1102, 243, 601,
-1489,2338,2339,2340,2341,2342,2343,2344, 861,2345,2346,2347,2348,2349,2350, 395,
-2351,1490,1491,  62, 535, 166, 225,2352,2353, 668, 419,1241, 138, 604, 928,2354,
-1181,2355,1492,1493,2356,2357,2358,1143,2359, 696,2360, 387, 307,1309, 682, 476,
-2361,2362, 332,  12, 222, 156,2363, 232,2364, 641, 276, 656, 517,1494,1495,1035,
- 416, 736,1496,2365,1017, 586,2366,2367,2368,1497,2369, 242,2370,2371,2372,1498,
-2373, 965, 713,2374,2375,2376,2377, 740, 982,1499, 944,1500,1007,2378,2379,1310,
-1501,2380,2381,2382, 785, 329,2383,2384,1502,2385,2386,2387, 932,2388,1503,2389,
-2390,2391,2392,1242,2393,2394,2395,2396,2397, 994, 950,2398,2399,2400,2401,1504,
-1311,2402,2403,2404,2405,1049, 749,2406,2407, 853, 718,1144,1312,2408,1182,1505,
-2409,2410, 255, 516, 479, 564, 550, 214,1506,1507,1313, 413, 239, 444, 339,1145,
-1036,1508,1509,1314,1037,1510,1315,2411,1511,2412,2413,2414, 176, 703, 497, 624,
- 593, 921, 302,2415, 341, 165,1103,1512,2416,1513,2417,2418,2419, 376,2420, 700,
-2421,2422,2423, 258, 768,1316,2424,1183,2425, 995, 608,2426,2427,2428,2429, 221,
-2430,2431,2432,2433,2434,2435,2436,2437, 195, 323, 726, 188, 897, 983,1317, 377,
- 644,1050, 879,2438, 452,2439,2440,2441,2442,2443,2444, 914,2445,2446,2447,2448,
- 915, 489,2449,1514,1184,2450,2451, 515,  64, 427, 495,2452, 583,2453, 483, 485,
-1038, 562, 213,1515, 748, 666,2454,2455,2456,2457, 334,2458, 780, 996,1008, 705,
-1243,2459,2460,2461,2462,2463, 114,2464, 493,1146, 366, 163,1516, 961,1104,2465,
- 291,2466,1318,1105,2467,1517, 365,2468, 355, 951,1244,2469,1319,2470, 631,2471,
-2472, 218,1320, 364, 320, 756,1518,1519,1321,1520,1322,2473,2474,2475,2476, 997,
-2477,2478,2479,2480, 665,1185,2481, 916,1521,2482,2483,2484, 584, 684,2485,2486,
- 797,2487,1051,1186,2488,2489,2490,1522,2491,2492, 370,2493,1039,1187,  65,2494,
- 434, 205, 463,1188,2495, 125, 812, 391, 402, 826, 699, 286, 398, 155, 781, 771,
- 585,2496, 590, 505,1073,2497, 599, 244, 219, 917,1018, 952, 646,1523,2498,1323,
-2499,2500,  49, 984, 354, 741,2501, 625,2502,1324,2503,1019, 190, 357, 757, 491,
-  95, 782, 868,2504,2505,2506,2507,2508,2509, 134,1524,1074, 422,1525, 898,2510,
- 161,2511,2512,2513,2514, 769,2515,1526,2516,2517, 411,1325,2518, 472,1527,2519,
-2520,2521,2522,2523,2524, 985,2525,2526,2527,2528,2529,2530, 764,2531,1245,2532,
-2533,  25, 204, 311,2534, 496,2535,1052,2536,2537,2538,2539,2540,2541,2542, 199,
- 704, 504, 468, 758, 657,1528, 196,  44, 839,1246, 272, 750,2543, 765, 862,2544,
-2545,1326,2546, 132, 615, 933,2547, 732,2548,2549,2550,1189,1529,2551, 283,1247,
-1053, 607, 929,2552,2553,2554, 930, 183, 872, 616,1040,1147,2555,1148,1020, 441,
- 249,1075,2556,2557,2558, 466, 743,2559,2560,2561,  92, 514, 426, 420, 526,2562,
-2563,2564,2565,2566,2567,2568, 185,2569,2570,2571,2572, 776,1530, 658,2573, 362,
-2574, 361, 922,1076, 793,2575,2576,2577,2578,2579,2580,1531, 251,2581,2582,2583,
-2584,1532,  54, 612, 237,1327,2585,2586, 275, 408, 647, 111,2587,1533,1106, 465,
-   3, 458,   9,  38,2588, 107, 110, 890, 209,  26, 737, 498,2589,1534,2590, 431,
- 202,  88,1535, 356, 287,1107, 660,1149,2591, 381,1536, 986,1150, 445,1248,1151,
- 974,2592,2593, 846,2594, 446, 953, 184,1249,1250, 727,2595, 923, 193, 883,2596,
-2597,2598, 102, 324, 539, 817,2599, 421,1041,2600, 832,2601,  94, 175, 197, 406,
-2602, 459,2603,2604,2605,2606,2607, 330, 555,2608,2609,2610, 706,1108, 389,2611,
-2612,2613,2614, 233,2615, 833, 558, 931, 954,1251,2616,2617,1537, 546,2618,2619,
-1009,2620,2621,2622,1538, 690,1328,2623, 955,2624,1539,2625,2626, 772,2627,2628,
-2629,2630,2631, 924, 648, 863, 603,2632,2633, 934,1540, 864, 865,2634, 642,1042,
- 670,1190,2635,2636,2637,2638, 168,2639, 652, 873, 542,1054,1541,2640,2641,2642,  # 512, 256
-)
-# fmt: on
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/euckrprober.py b/.venv/Lib/site-packages/pip/_vendor/chardet/euckrprober.py
deleted file mode 100644
index 1fc5de0..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/euckrprober.py
+++ /dev/null
@@ -1,47 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is mozilla.org code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-from .chardistribution import EUCKRDistributionAnalysis
-from .codingstatemachine import CodingStateMachine
-from .mbcharsetprober import MultiByteCharSetProber
-from .mbcssm import EUCKR_SM_MODEL
-
-
-class EUCKRProber(MultiByteCharSetProber):
-    def __init__(self) -> None:
-        super().__init__()
-        self.coding_sm = CodingStateMachine(EUCKR_SM_MODEL)
-        self.distribution_analyzer = EUCKRDistributionAnalysis()
-        self.reset()
-
-    @property
-    def charset_name(self) -> str:
-        return "EUC-KR"
-
-    @property
-    def language(self) -> str:
-        return "Korean"
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/euctwfreq.py b/.venv/Lib/site-packages/pip/_vendor/chardet/euctwfreq.py
deleted file mode 100644
index 4900ccc..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/euctwfreq.py
+++ /dev/null
@@ -1,388 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is Mozilla Communicator client code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-# EUCTW frequency table
-# Converted from big5 work
-# by Taiwan's Mandarin Promotion Council
-# 
-
-# 128  --> 0.42261
-# 256  --> 0.57851
-# 512  --> 0.74851
-# 1024 --> 0.89384
-# 2048 --> 0.97583
-#
-# Idea Distribution Ratio = 0.74851/(1-0.74851) =2.98
-# Random Distribution Ration = 512/(5401-512)=0.105
-#
-# Typical Distribution Ratio about 25% of Ideal one, still much higher than RDR
-
-EUCTW_TYPICAL_DISTRIBUTION_RATIO = 0.75
-
-# Char to FreqOrder table
-EUCTW_TABLE_SIZE = 5376
-
-# fmt: off
-EUCTW_CHAR_TO_FREQ_ORDER = (
-    1, 1800, 1506, 255, 1431, 198, 9, 82, 6, 7310, 177, 202, 3615, 1256, 2808, 110,  # 2742
-    3735, 33, 3241, 261, 76, 44, 2113, 16, 2931, 2184, 1176, 659, 3868, 26, 3404, 2643,  # 2758
-    1198, 3869, 3313, 4060, 410, 2211, 302, 590, 361, 1963, 8, 204, 58, 4296, 7311, 1931,  # 2774
-    63, 7312, 7313, 317, 1614, 75, 222, 159, 4061, 2412, 1480, 7314, 3500, 3068, 224, 2809,  # 2790
-    3616, 3, 10, 3870, 1471, 29, 2774, 1135, 2852, 1939, 873, 130, 3242, 1123, 312, 7315,  # 2806
-    4297, 2051, 507, 252, 682, 7316, 142, 1914, 124, 206, 2932, 34, 3501, 3173, 64, 604,  # 2822
-    7317, 2494, 1976, 1977, 155, 1990, 645, 641, 1606, 7318, 3405, 337, 72, 406, 7319, 80,  # 2838
-    630, 238, 3174, 1509, 263, 939, 1092, 2644, 756, 1440, 1094, 3406, 449, 69, 2969, 591,  # 2854
-    179, 2095, 471, 115, 2034, 1843, 60, 50, 2970, 134, 806, 1868, 734, 2035, 3407, 180,  # 2870
-    995, 1607, 156, 537, 2893, 688, 7320, 319, 1305, 779, 2144, 514, 2374, 298, 4298, 359,  # 2886
-    2495, 90, 2707, 1338, 663, 11, 906, 1099, 2545, 20, 2436, 182, 532, 1716, 7321, 732,  # 2902
-    1376, 4062, 1311, 1420, 3175, 25, 2312, 1056, 113, 399, 382, 1949, 242, 3408, 2467, 529,  # 2918
-    3243, 475, 1447, 3617, 7322, 117, 21, 656, 810, 1297, 2295, 2329, 3502, 7323, 126, 4063,  # 2934
-    706, 456, 150, 613, 4299, 71, 1118, 2036, 4064, 145, 3069, 85, 835, 486, 2114, 1246,  # 2950
-    1426, 428, 727, 1285, 1015, 800, 106, 623, 303, 1281, 7324, 2127, 2354, 347, 3736, 221,  # 2966
-    3503, 3110, 7325, 1955, 1153, 4065, 83, 296, 1199, 3070, 192, 624, 93, 7326, 822, 1897,  # 2982
-    2810, 3111, 795, 2064, 991, 1554, 1542, 1592, 27, 43, 2853, 859, 139, 1456, 860, 4300,  # 2998
-    437, 712, 3871, 164, 2392, 3112, 695, 211, 3017, 2096, 195, 3872, 1608, 3504, 3505, 3618,  # 3014
-    3873, 234, 811, 2971, 2097, 3874, 2229, 1441, 3506, 1615, 2375, 668, 2076, 1638, 305, 228,  # 3030
-    1664, 4301, 467, 415, 7327, 262, 2098, 1593, 239, 108, 300, 200, 1033, 512, 1247, 2077,  # 3046
-    7328, 7329, 2173, 3176, 3619, 2673, 593, 845, 1062, 3244, 88, 1723, 2037, 3875, 1950, 212,  # 3062
-    266, 152, 149, 468, 1898, 4066, 4302, 77, 187, 7330, 3018, 37, 5, 2972, 7331, 3876,  # 3078
-    7332, 7333, 39, 2517, 4303, 2894, 3177, 2078, 55, 148, 74, 4304, 545, 483, 1474, 1029,  # 3094
-    1665, 217, 1869, 1531, 3113, 1104, 2645, 4067, 24, 172, 3507, 900, 3877, 3508, 3509, 4305,  # 3110
-    32, 1408, 2811, 1312, 329, 487, 2355, 2247, 2708, 784, 2674, 4, 3019, 3314, 1427, 1788,  # 3126
-    188, 109, 499, 7334, 3620, 1717, 1789, 888, 1217, 3020, 4306, 7335, 3510, 7336, 3315, 1520,  # 3142
-    3621, 3878, 196, 1034, 775, 7337, 7338, 929, 1815, 249, 439, 38, 7339, 1063, 7340, 794,  # 3158
-    3879, 1435, 2296, 46, 178, 3245, 2065, 7341, 2376, 7342, 214, 1709, 4307, 804, 35, 707,  # 3174
-    324, 3622, 1601, 2546, 140, 459, 4068, 7343, 7344, 1365, 839, 272, 978, 2257, 2572, 3409,  # 3190
-    2128, 1363, 3623, 1423, 697, 100, 3071, 48, 70, 1231, 495, 3114, 2193, 7345, 1294, 7346,  # 3206
-    2079, 462, 586, 1042, 3246, 853, 256, 988, 185, 2377, 3410, 1698, 434, 1084, 7347, 3411,  # 3222
-    314, 2615, 2775, 4308, 2330, 2331, 569, 2280, 637, 1816, 2518, 757, 1162, 1878, 1616, 3412,  # 3238
-    287, 1577, 2115, 768, 4309, 1671, 2854, 3511, 2519, 1321, 3737, 909, 2413, 7348, 4069, 933,  # 3254
-    3738, 7349, 2052, 2356, 1222, 4310, 765, 2414, 1322, 786, 4311, 7350, 1919, 1462, 1677, 2895,  # 3270
-    1699, 7351, 4312, 1424, 2437, 3115, 3624, 2590, 3316, 1774, 1940, 3413, 3880, 4070, 309, 1369,  # 3286
-    1130, 2812, 364, 2230, 1653, 1299, 3881, 3512, 3882, 3883, 2646, 525, 1085, 3021, 902, 2000,  # 3302
-    1475, 964, 4313, 421, 1844, 1415, 1057, 2281, 940, 1364, 3116, 376, 4314, 4315, 1381, 7,  # 3318
-    2520, 983, 2378, 336, 1710, 2675, 1845, 321, 3414, 559, 1131, 3022, 2742, 1808, 1132, 1313,  # 3334
-    265, 1481, 1857, 7352, 352, 1203, 2813, 3247, 167, 1089, 420, 2814, 776, 792, 1724, 3513,  # 3350
-    4071, 2438, 3248, 7353, 4072, 7354, 446, 229, 333, 2743, 901, 3739, 1200, 1557, 4316, 2647,  # 3366
-    1920, 395, 2744, 2676, 3740, 4073, 1835, 125, 916, 3178, 2616, 4317, 7355, 7356, 3741, 7357,  # 3382
-    7358, 7359, 4318, 3117, 3625, 1133, 2547, 1757, 3415, 1510, 2313, 1409, 3514, 7360, 2145, 438,  # 3398
-    2591, 2896, 2379, 3317, 1068, 958, 3023, 461, 311, 2855, 2677, 4074, 1915, 3179, 4075, 1978,  # 3414
-    383, 750, 2745, 2617, 4076, 274, 539, 385, 1278, 1442, 7361, 1154, 1964, 384, 561, 210,  # 3430
-    98, 1295, 2548, 3515, 7362, 1711, 2415, 1482, 3416, 3884, 2897, 1257, 129, 7363, 3742, 642,  # 3446
-    523, 2776, 2777, 2648, 7364, 141, 2231, 1333, 68, 176, 441, 876, 907, 4077, 603, 2592,  # 3462
-    710, 171, 3417, 404, 549, 18, 3118, 2393, 1410, 3626, 1666, 7365, 3516, 4319, 2898, 4320,  # 3478
-    7366, 2973, 368, 7367, 146, 366, 99, 871, 3627, 1543, 748, 807, 1586, 1185, 22, 2258,  # 3494
-    379, 3743, 3180, 7368, 3181, 505, 1941, 2618, 1991, 1382, 2314, 7369, 380, 2357, 218, 702,  # 3510
-    1817, 1248, 3418, 3024, 3517, 3318, 3249, 7370, 2974, 3628, 930, 3250, 3744, 7371, 59, 7372,  # 3526
-    585, 601, 4078, 497, 3419, 1112, 1314, 4321, 1801, 7373, 1223, 1472, 2174, 7374, 749, 1836,  # 3542
-    690, 1899, 3745, 1772, 3885, 1476, 429, 1043, 1790, 2232, 2116, 917, 4079, 447, 1086, 1629,  # 3558
-    7375, 556, 7376, 7377, 2020, 1654, 844, 1090, 105, 550, 966, 1758, 2815, 1008, 1782, 686,  # 3574
-    1095, 7378, 2282, 793, 1602, 7379, 3518, 2593, 4322, 4080, 2933, 2297, 4323, 3746, 980, 2496,  # 3590
-    544, 353, 527, 4324, 908, 2678, 2899, 7380, 381, 2619, 1942, 1348, 7381, 1341, 1252, 560,  # 3606
-    3072, 7382, 3420, 2856, 7383, 2053, 973, 886, 2080, 143, 4325, 7384, 7385, 157, 3886, 496,  # 3622
-    4081, 57, 840, 540, 2038, 4326, 4327, 3421, 2117, 1445, 970, 2259, 1748, 1965, 2081, 4082,  # 3638
-    3119, 1234, 1775, 3251, 2816, 3629, 773, 1206, 2129, 1066, 2039, 1326, 3887, 1738, 1725, 4083,  # 3654
-    279, 3120, 51, 1544, 2594, 423, 1578, 2130, 2066, 173, 4328, 1879, 7386, 7387, 1583, 264,  # 3670
-    610, 3630, 4329, 2439, 280, 154, 7388, 7389, 7390, 1739, 338, 1282, 3073, 693, 2857, 1411,  # 3686
-    1074, 3747, 2440, 7391, 4330, 7392, 7393, 1240, 952, 2394, 7394, 2900, 1538, 2679, 685, 1483,  # 3702
-    4084, 2468, 1436, 953, 4085, 2054, 4331, 671, 2395, 79, 4086, 2441, 3252, 608, 567, 2680,  # 3718
-    3422, 4087, 4088, 1691, 393, 1261, 1791, 2396, 7395, 4332, 7396, 7397, 7398, 7399, 1383, 1672,  # 3734
-    3748, 3182, 1464, 522, 1119, 661, 1150, 216, 675, 4333, 3888, 1432, 3519, 609, 4334, 2681,  # 3750
-    2397, 7400, 7401, 7402, 4089, 3025, 0, 7403, 2469, 315, 231, 2442, 301, 3319, 4335, 2380,  # 3766
-    7404, 233, 4090, 3631, 1818, 4336, 4337, 7405, 96, 1776, 1315, 2082, 7406, 257, 7407, 1809,  # 3782
-    3632, 2709, 1139, 1819, 4091, 2021, 1124, 2163, 2778, 1777, 2649, 7408, 3074, 363, 1655, 3183,  # 3798
-    7409, 2975, 7410, 7411, 7412, 3889, 1567, 3890, 718, 103, 3184, 849, 1443, 341, 3320, 2934,  # 3814
-    1484, 7413, 1712, 127, 67, 339, 4092, 2398, 679, 1412, 821, 7414, 7415, 834, 738, 351,  # 3830
-    2976, 2146, 846, 235, 1497, 1880, 418, 1992, 3749, 2710, 186, 1100, 2147, 2746, 3520, 1545,  # 3846
-    1355, 2935, 2858, 1377, 583, 3891, 4093, 2573, 2977, 7416, 1298, 3633, 1078, 2549, 3634, 2358,  # 3862
-    78, 3750, 3751, 267, 1289, 2099, 2001, 1594, 4094, 348, 369, 1274, 2194, 2175, 1837, 4338,  # 3878
-    1820, 2817, 3635, 2747, 2283, 2002, 4339, 2936, 2748, 144, 3321, 882, 4340, 3892, 2749, 3423,  # 3894
-    4341, 2901, 7417, 4095, 1726, 320, 7418, 3893, 3026, 788, 2978, 7419, 2818, 1773, 1327, 2859,  # 3910
-    3894, 2819, 7420, 1306, 4342, 2003, 1700, 3752, 3521, 2359, 2650, 787, 2022, 506, 824, 3636,  # 3926
-    534, 323, 4343, 1044, 3322, 2023, 1900, 946, 3424, 7421, 1778, 1500, 1678, 7422, 1881, 4344,  # 3942
-    165, 243, 4345, 3637, 2521, 123, 683, 4096, 764, 4346, 36, 3895, 1792, 589, 2902, 816,  # 3958
-    626, 1667, 3027, 2233, 1639, 1555, 1622, 3753, 3896, 7423, 3897, 2860, 1370, 1228, 1932, 891,  # 3974
-    2083, 2903, 304, 4097, 7424, 292, 2979, 2711, 3522, 691, 2100, 4098, 1115, 4347, 118, 662,  # 3990
-    7425, 611, 1156, 854, 2381, 1316, 2861, 2, 386, 515, 2904, 7426, 7427, 3253, 868, 2234,  # 4006
-    1486, 855, 2651, 785, 2212, 3028, 7428, 1040, 3185, 3523, 7429, 3121, 448, 7430, 1525, 7431,  # 4022
-    2164, 4348, 7432, 3754, 7433, 4099, 2820, 3524, 3122, 503, 818, 3898, 3123, 1568, 814, 676,  # 4038
-    1444, 306, 1749, 7434, 3755, 1416, 1030, 197, 1428, 805, 2821, 1501, 4349, 7435, 7436, 7437,  # 4054
-    1993, 7438, 4350, 7439, 7440, 2195, 13, 2779, 3638, 2980, 3124, 1229, 1916, 7441, 3756, 2131,  # 4070
-    7442, 4100, 4351, 2399, 3525, 7443, 2213, 1511, 1727, 1120, 7444, 7445, 646, 3757, 2443, 307,  # 4086
-    7446, 7447, 1595, 3186, 7448, 7449, 7450, 3639, 1113, 1356, 3899, 1465, 2522, 2523, 7451, 519,  # 4102
-    7452, 128, 2132, 92, 2284, 1979, 7453, 3900, 1512, 342, 3125, 2196, 7454, 2780, 2214, 1980,  # 4118
-    3323, 7455, 290, 1656, 1317, 789, 827, 2360, 7456, 3758, 4352, 562, 581, 3901, 7457, 401,  # 4134
-    4353, 2248, 94, 4354, 1399, 2781, 7458, 1463, 2024, 4355, 3187, 1943, 7459, 828, 1105, 4101,  # 4150
-    1262, 1394, 7460, 4102, 605, 4356, 7461, 1783, 2862, 7462, 2822, 819, 2101, 578, 2197, 2937,  # 4166
-    7463, 1502, 436, 3254, 4103, 3255, 2823, 3902, 2905, 3425, 3426, 7464, 2712, 2315, 7465, 7466,  # 4182
-    2332, 2067, 23, 4357, 193, 826, 3759, 2102, 699, 1630, 4104, 3075, 390, 1793, 1064, 3526,  # 4198
-    7467, 1579, 3076, 3077, 1400, 7468, 4105, 1838, 1640, 2863, 7469, 4358, 4359, 137, 4106, 598,  # 4214
-    3078, 1966, 780, 104, 974, 2938, 7470, 278, 899, 253, 402, 572, 504, 493, 1339, 7471,  # 4230
-    3903, 1275, 4360, 2574, 2550, 7472, 3640, 3029, 3079, 2249, 565, 1334, 2713, 863, 41, 7473,  # 4246
-    7474, 4361, 7475, 1657, 2333, 19, 463, 2750, 4107, 606, 7476, 2981, 3256, 1087, 2084, 1323,  # 4262
-    2652, 2982, 7477, 1631, 1623, 1750, 4108, 2682, 7478, 2864, 791, 2714, 2653, 2334, 232, 2416,  # 4278
-    7479, 2983, 1498, 7480, 2654, 2620, 755, 1366, 3641, 3257, 3126, 2025, 1609, 119, 1917, 3427,  # 4294
-    862, 1026, 4109, 7481, 3904, 3760, 4362, 3905, 4363, 2260, 1951, 2470, 7482, 1125, 817, 4110,  # 4310
-    4111, 3906, 1513, 1766, 2040, 1487, 4112, 3030, 3258, 2824, 3761, 3127, 7483, 7484, 1507, 7485,  # 4326
-    2683, 733, 40, 1632, 1106, 2865, 345, 4113, 841, 2524, 230, 4364, 2984, 1846, 3259, 3428,  # 4342
-    7486, 1263, 986, 3429, 7487, 735, 879, 254, 1137, 857, 622, 1300, 1180, 1388, 1562, 3907,  # 4358
-    3908, 2939, 967, 2751, 2655, 1349, 592, 2133, 1692, 3324, 2985, 1994, 4114, 1679, 3909, 1901,  # 4374
-    2185, 7488, 739, 3642, 2715, 1296, 1290, 7489, 4115, 2198, 2199, 1921, 1563, 2595, 2551, 1870,  # 4390
-    2752, 2986, 7490, 435, 7491, 343, 1108, 596, 17, 1751, 4365, 2235, 3430, 3643, 7492, 4366,  # 4406
-    294, 3527, 2940, 1693, 477, 979, 281, 2041, 3528, 643, 2042, 3644, 2621, 2782, 2261, 1031,  # 4422
-    2335, 2134, 2298, 3529, 4367, 367, 1249, 2552, 7493, 3530, 7494, 4368, 1283, 3325, 2004, 240,  # 4438
-    1762, 3326, 4369, 4370, 836, 1069, 3128, 474, 7495, 2148, 2525, 268, 3531, 7496, 3188, 1521,  # 4454
-    1284, 7497, 1658, 1546, 4116, 7498, 3532, 3533, 7499, 4117, 3327, 2684, 1685, 4118, 961, 1673,  # 4470
-    2622, 190, 2005, 2200, 3762, 4371, 4372, 7500, 570, 2497, 3645, 1490, 7501, 4373, 2623, 3260,  # 4486
-    1956, 4374, 584, 1514, 396, 1045, 1944, 7502, 4375, 1967, 2444, 7503, 7504, 4376, 3910, 619,  # 4502
-    7505, 3129, 3261, 215, 2006, 2783, 2553, 3189, 4377, 3190, 4378, 763, 4119, 3763, 4379, 7506,  # 4518
-    7507, 1957, 1767, 2941, 3328, 3646, 1174, 452, 1477, 4380, 3329, 3130, 7508, 2825, 1253, 2382,  # 4534
-    2186, 1091, 2285, 4120, 492, 7509, 638, 1169, 1824, 2135, 1752, 3911, 648, 926, 1021, 1324,  # 4550
-    4381, 520, 4382, 997, 847, 1007, 892, 4383, 3764, 2262, 1871, 3647, 7510, 2400, 1784, 4384,  # 4566
-    1952, 2942, 3080, 3191, 1728, 4121, 2043, 3648, 4385, 2007, 1701, 3131, 1551, 30, 2263, 4122,  # 4582
-    7511, 2026, 4386, 3534, 7512, 501, 7513, 4123, 594, 3431, 2165, 1821, 3535, 3432, 3536, 3192,  # 4598
-    829, 2826, 4124, 7514, 1680, 3132, 1225, 4125, 7515, 3262, 4387, 4126, 3133, 2336, 7516, 4388,  # 4614
-    4127, 7517, 3912, 3913, 7518, 1847, 2383, 2596, 3330, 7519, 4389, 374, 3914, 652, 4128, 4129,  # 4630
-    375, 1140, 798, 7520, 7521, 7522, 2361, 4390, 2264, 546, 1659, 138, 3031, 2445, 4391, 7523,  # 4646
-    2250, 612, 1848, 910, 796, 3765, 1740, 1371, 825, 3766, 3767, 7524, 2906, 2554, 7525, 692,  # 4662
-    444, 3032, 2624, 801, 4392, 4130, 7526, 1491, 244, 1053, 3033, 4131, 4132, 340, 7527, 3915,  # 4678
-    1041, 2987, 293, 1168, 87, 1357, 7528, 1539, 959, 7529, 2236, 721, 694, 4133, 3768, 219,  # 4694
-    1478, 644, 1417, 3331, 2656, 1413, 1401, 1335, 1389, 3916, 7530, 7531, 2988, 2362, 3134, 1825,  # 4710
-    730, 1515, 184, 2827, 66, 4393, 7532, 1660, 2943, 246, 3332, 378, 1457, 226, 3433, 975,  # 4726
-    3917, 2944, 1264, 3537, 674, 696, 7533, 163, 7534, 1141, 2417, 2166, 713, 3538, 3333, 4394,  # 4742
-    3918, 7535, 7536, 1186, 15, 7537, 1079, 1070, 7538, 1522, 3193, 3539, 276, 1050, 2716, 758,  # 4758
-    1126, 653, 2945, 3263, 7539, 2337, 889, 3540, 3919, 3081, 2989, 903, 1250, 4395, 3920, 3434,  # 4774
-    3541, 1342, 1681, 1718, 766, 3264, 286, 89, 2946, 3649, 7540, 1713, 7541, 2597, 3334, 2990,  # 4790
-    7542, 2947, 2215, 3194, 2866, 7543, 4396, 2498, 2526, 181, 387, 1075, 3921, 731, 2187, 3335,  # 4806
-    7544, 3265, 310, 313, 3435, 2299, 770, 4134, 54, 3034, 189, 4397, 3082, 3769, 3922, 7545,  # 4822
-    1230, 1617, 1849, 355, 3542, 4135, 4398, 3336, 111, 4136, 3650, 1350, 3135, 3436, 3035, 4137,  # 4838
-    2149, 3266, 3543, 7546, 2784, 3923, 3924, 2991, 722, 2008, 7547, 1071, 247, 1207, 2338, 2471,  # 4854
-    1378, 4399, 2009, 864, 1437, 1214, 4400, 373, 3770, 1142, 2216, 667, 4401, 442, 2753, 2555,  # 4870
-    3771, 3925, 1968, 4138, 3267, 1839, 837, 170, 1107, 934, 1336, 1882, 7548, 7549, 2118, 4139,  # 4886
-    2828, 743, 1569, 7550, 4402, 4140, 582, 2384, 1418, 3437, 7551, 1802, 7552, 357, 1395, 1729,  # 4902
-    3651, 3268, 2418, 1564, 2237, 7553, 3083, 3772, 1633, 4403, 1114, 2085, 4141, 1532, 7554, 482,  # 4918
-    2446, 4404, 7555, 7556, 1492, 833, 1466, 7557, 2717, 3544, 1641, 2829, 7558, 1526, 1272, 3652,  # 4934
-    4142, 1686, 1794, 416, 2556, 1902, 1953, 1803, 7559, 3773, 2785, 3774, 1159, 2316, 7560, 2867,  # 4950
-    4405, 1610, 1584, 3036, 2419, 2754, 443, 3269, 1163, 3136, 7561, 7562, 3926, 7563, 4143, 2499,  # 4966
-    3037, 4406, 3927, 3137, 2103, 1647, 3545, 2010, 1872, 4144, 7564, 4145, 431, 3438, 7565, 250,  # 4982
-    97, 81, 4146, 7566, 1648, 1850, 1558, 160, 848, 7567, 866, 740, 1694, 7568, 2201, 2830,  # 4998
-    3195, 4147, 4407, 3653, 1687, 950, 2472, 426, 469, 3196, 3654, 3655, 3928, 7569, 7570, 1188,  # 5014
-    424, 1995, 861, 3546, 4148, 3775, 2202, 2685, 168, 1235, 3547, 4149, 7571, 2086, 1674, 4408,  # 5030
-    3337, 3270, 220, 2557, 1009, 7572, 3776, 670, 2992, 332, 1208, 717, 7573, 7574, 3548, 2447,  # 5046
-    3929, 3338, 7575, 513, 7576, 1209, 2868, 3339, 3138, 4409, 1080, 7577, 7578, 7579, 7580, 2527,  # 5062
-    3656, 3549, 815, 1587, 3930, 3931, 7581, 3550, 3439, 3777, 1254, 4410, 1328, 3038, 1390, 3932,  # 5078
-    1741, 3933, 3778, 3934, 7582, 236, 3779, 2448, 3271, 7583, 7584, 3657, 3780, 1273, 3781, 4411,  # 5094
-    7585, 308, 7586, 4412, 245, 4413, 1851, 2473, 1307, 2575, 430, 715, 2136, 2449, 7587, 270,  # 5110
-    199, 2869, 3935, 7588, 3551, 2718, 1753, 761, 1754, 725, 1661, 1840, 4414, 3440, 3658, 7589,  # 5126
-    7590, 587, 14, 3272, 227, 2598, 326, 480, 2265, 943, 2755, 3552, 291, 650, 1883, 7591,  # 5142
-    1702, 1226, 102, 1547, 62, 3441, 904, 4415, 3442, 1164, 4150, 7592, 7593, 1224, 1548, 2756,  # 5158
-    391, 498, 1493, 7594, 1386, 1419, 7595, 2055, 1177, 4416, 813, 880, 1081, 2363, 566, 1145,  # 5174
-    4417, 2286, 1001, 1035, 2558, 2599, 2238, 394, 1286, 7596, 7597, 2068, 7598, 86, 1494, 1730,  # 5190
-    3936, 491, 1588, 745, 897, 2948, 843, 3340, 3937, 2757, 2870, 3273, 1768, 998, 2217, 2069,  # 5206
-    397, 1826, 1195, 1969, 3659, 2993, 3341, 284, 7599, 3782, 2500, 2137, 2119, 1903, 7600, 3938,  # 5222
-    2150, 3939, 4151, 1036, 3443, 1904, 114, 2559, 4152, 209, 1527, 7601, 7602, 2949, 2831, 2625,  # 5238
-    2385, 2719, 3139, 812, 2560, 7603, 3274, 7604, 1559, 737, 1884, 3660, 1210, 885, 28, 2686,  # 5254
-    3553, 3783, 7605, 4153, 1004, 1779, 4418, 7606, 346, 1981, 2218, 2687, 4419, 3784, 1742, 797,  # 5270
-    1642, 3940, 1933, 1072, 1384, 2151, 896, 3941, 3275, 3661, 3197, 2871, 3554, 7607, 2561, 1958,  # 5286
-    4420, 2450, 1785, 7608, 7609, 7610, 3942, 4154, 1005, 1308, 3662, 4155, 2720, 4421, 4422, 1528,  # 5302
-    2600, 161, 1178, 4156, 1982, 987, 4423, 1101, 4157, 631, 3943, 1157, 3198, 2420, 1343, 1241,  # 5318
-    1016, 2239, 2562, 372, 877, 2339, 2501, 1160, 555, 1934, 911, 3944, 7611, 466, 1170, 169,  # 5334
-    1051, 2907, 2688, 3663, 2474, 2994, 1182, 2011, 2563, 1251, 2626, 7612, 992, 2340, 3444, 1540,  # 5350
-    2721, 1201, 2070, 2401, 1996, 2475, 7613, 4424, 528, 1922, 2188, 1503, 1873, 1570, 2364, 3342,  # 5366
-    3276, 7614, 557, 1073, 7615, 1827, 3445, 2087, 2266, 3140, 3039, 3084, 767, 3085, 2786, 4425,  # 5382
-    1006, 4158, 4426, 2341, 1267, 2176, 3664, 3199, 778, 3945, 3200, 2722, 1597, 2657, 7616, 4427,  # 5398
-    7617, 3446, 7618, 7619, 7620, 3277, 2689, 1433, 3278, 131, 95, 1504, 3946, 723, 4159, 3141,  # 5414
-    1841, 3555, 2758, 2189, 3947, 2027, 2104, 3665, 7621, 2995, 3948, 1218, 7622, 3343, 3201, 3949,  # 5430
-    4160, 2576, 248, 1634, 3785, 912, 7623, 2832, 3666, 3040, 3786, 654, 53, 7624, 2996, 7625,  # 5446
-    1688, 4428, 777, 3447, 1032, 3950, 1425, 7626, 191, 820, 2120, 2833, 971, 4429, 931, 3202,  # 5462
-    135, 664, 783, 3787, 1997, 772, 2908, 1935, 3951, 3788, 4430, 2909, 3203, 282, 2723, 640,  # 5478
-    1372, 3448, 1127, 922, 325, 3344, 7627, 7628, 711, 2044, 7629, 7630, 3952, 2219, 2787, 1936,  # 5494
-    3953, 3345, 2220, 2251, 3789, 2300, 7631, 4431, 3790, 1258, 3279, 3954, 3204, 2138, 2950, 3955,  # 5510
-    3956, 7632, 2221, 258, 3205, 4432, 101, 1227, 7633, 3280, 1755, 7634, 1391, 3281, 7635, 2910,  # 5526
-    2056, 893, 7636, 7637, 7638, 1402, 4161, 2342, 7639, 7640, 3206, 3556, 7641, 7642, 878, 1325,  # 5542
-    1780, 2788, 4433, 259, 1385, 2577, 744, 1183, 2267, 4434, 7643, 3957, 2502, 7644, 684, 1024,  # 5558
-    4162, 7645, 472, 3557, 3449, 1165, 3282, 3958, 3959, 322, 2152, 881, 455, 1695, 1152, 1340,  # 5574
-    660, 554, 2153, 4435, 1058, 4436, 4163, 830, 1065, 3346, 3960, 4437, 1923, 7646, 1703, 1918,  # 5590
-    7647, 932, 2268, 122, 7648, 4438, 947, 677, 7649, 3791, 2627, 297, 1905, 1924, 2269, 4439,  # 5606
-    2317, 3283, 7650, 7651, 4164, 7652, 4165, 84, 4166, 112, 989, 7653, 547, 1059, 3961, 701,  # 5622
-    3558, 1019, 7654, 4167, 7655, 3450, 942, 639, 457, 2301, 2451, 993, 2951, 407, 851, 494,  # 5638
-    4440, 3347, 927, 7656, 1237, 7657, 2421, 3348, 573, 4168, 680, 921, 2911, 1279, 1874, 285,  # 5654
-    790, 1448, 1983, 719, 2167, 7658, 7659, 4441, 3962, 3963, 1649, 7660, 1541, 563, 7661, 1077,  # 5670
-    7662, 3349, 3041, 3451, 511, 2997, 3964, 3965, 3667, 3966, 1268, 2564, 3350, 3207, 4442, 4443,  # 5686
-    7663, 535, 1048, 1276, 1189, 2912, 2028, 3142, 1438, 1373, 2834, 2952, 1134, 2012, 7664, 4169,  # 5702
-    1238, 2578, 3086, 1259, 7665, 700, 7666, 2953, 3143, 3668, 4170, 7667, 4171, 1146, 1875, 1906,  # 5718
-    4444, 2601, 3967, 781, 2422, 132, 1589, 203, 147, 273, 2789, 2402, 898, 1786, 2154, 3968,  # 5734
-    3969, 7668, 3792, 2790, 7669, 7670, 4445, 4446, 7671, 3208, 7672, 1635, 3793, 965, 7673, 1804,  # 5750
-    2690, 1516, 3559, 1121, 1082, 1329, 3284, 3970, 1449, 3794, 65, 1128, 2835, 2913, 2759, 1590,  # 5766
-    3795, 7674, 7675, 12, 2658, 45, 976, 2579, 3144, 4447, 517, 2528, 1013, 1037, 3209, 7676,  # 5782
-    3796, 2836, 7677, 3797, 7678, 3452, 7679, 2602, 614, 1998, 2318, 3798, 3087, 2724, 2628, 7680,  # 5798
-    2580, 4172, 599, 1269, 7681, 1810, 3669, 7682, 2691, 3088, 759, 1060, 489, 1805, 3351, 3285,  # 5814
-    1358, 7683, 7684, 2386, 1387, 1215, 2629, 2252, 490, 7685, 7686, 4173, 1759, 2387, 2343, 7687,  # 5830
-    4448, 3799, 1907, 3971, 2630, 1806, 3210, 4449, 3453, 3286, 2760, 2344, 874, 7688, 7689, 3454,  # 5846
-    3670, 1858, 91, 2914, 3671, 3042, 3800, 4450, 7690, 3145, 3972, 2659, 7691, 3455, 1202, 1403,  # 5862
-    3801, 2954, 2529, 1517, 2503, 4451, 3456, 2504, 7692, 4452, 7693, 2692, 1885, 1495, 1731, 3973,  # 5878
-    2365, 4453, 7694, 2029, 7695, 7696, 3974, 2693, 1216, 237, 2581, 4174, 2319, 3975, 3802, 4454,  # 5894
-    4455, 2694, 3560, 3457, 445, 4456, 7697, 7698, 7699, 7700, 2761, 61, 3976, 3672, 1822, 3977,  # 5910
-    7701, 687, 2045, 935, 925, 405, 2660, 703, 1096, 1859, 2725, 4457, 3978, 1876, 1367, 2695,  # 5926
-    3352, 918, 2105, 1781, 2476, 334, 3287, 1611, 1093, 4458, 564, 3146, 3458, 3673, 3353, 945,  # 5942
-    2631, 2057, 4459, 7702, 1925, 872, 4175, 7703, 3459, 2696, 3089, 349, 4176, 3674, 3979, 4460,  # 5958
-    3803, 4177, 3675, 2155, 3980, 4461, 4462, 4178, 4463, 2403, 2046, 782, 3981, 400, 251, 4179,  # 5974
-    1624, 7704, 7705, 277, 3676, 299, 1265, 476, 1191, 3804, 2121, 4180, 4181, 1109, 205, 7706,  # 5990
-    2582, 1000, 2156, 3561, 1860, 7707, 7708, 7709, 4464, 7710, 4465, 2565, 107, 2477, 2157, 3982,  # 6006
-    3460, 3147, 7711, 1533, 541, 1301, 158, 753, 4182, 2872, 3562, 7712, 1696, 370, 1088, 4183,  # 6022
-    4466, 3563, 579, 327, 440, 162, 2240, 269, 1937, 1374, 3461, 968, 3043, 56, 1396, 3090,  # 6038
-    2106, 3288, 3354, 7713, 1926, 2158, 4467, 2998, 7714, 3564, 7715, 7716, 3677, 4468, 2478, 7717,  # 6054
-    2791, 7718, 1650, 4469, 7719, 2603, 7720, 7721, 3983, 2661, 3355, 1149, 3356, 3984, 3805, 3985,  # 6070
-    7722, 1076, 49, 7723, 951, 3211, 3289, 3290, 450, 2837, 920, 7724, 1811, 2792, 2366, 4184,  # 6086
-    1908, 1138, 2367, 3806, 3462, 7725, 3212, 4470, 1909, 1147, 1518, 2423, 4471, 3807, 7726, 4472,  # 6102
-    2388, 2604, 260, 1795, 3213, 7727, 7728, 3808, 3291, 708, 7729, 3565, 1704, 7730, 3566, 1351,  # 6118
-    1618, 3357, 2999, 1886, 944, 4185, 3358, 4186, 3044, 3359, 4187, 7731, 3678, 422, 413, 1714,  # 6134
-    3292, 500, 2058, 2345, 4188, 2479, 7732, 1344, 1910, 954, 7733, 1668, 7734, 7735, 3986, 2404,  # 6150
-    4189, 3567, 3809, 4190, 7736, 2302, 1318, 2505, 3091, 133, 3092, 2873, 4473, 629, 31, 2838,  # 6166
-    2697, 3810, 4474, 850, 949, 4475, 3987, 2955, 1732, 2088, 4191, 1496, 1852, 7737, 3988, 620,  # 6182
-    3214, 981, 1242, 3679, 3360, 1619, 3680, 1643, 3293, 2139, 2452, 1970, 1719, 3463, 2168, 7738,  # 6198
-    3215, 7739, 7740, 3361, 1828, 7741, 1277, 4476, 1565, 2047, 7742, 1636, 3568, 3093, 7743, 869,  # 6214
-    2839, 655, 3811, 3812, 3094, 3989, 3000, 3813, 1310, 3569, 4477, 7744, 7745, 7746, 1733, 558,  # 6230
-    4478, 3681, 335, 1549, 3045, 1756, 4192, 3682, 1945, 3464, 1829, 1291, 1192, 470, 2726, 2107,  # 6246
-    2793, 913, 1054, 3990, 7747, 1027, 7748, 3046, 3991, 4479, 982, 2662, 3362, 3148, 3465, 3216,  # 6262
-    3217, 1946, 2794, 7749, 571, 4480, 7750, 1830, 7751, 3570, 2583, 1523, 2424, 7752, 2089, 984,  # 6278
-    4481, 3683, 1959, 7753, 3684, 852, 923, 2795, 3466, 3685, 969, 1519, 999, 2048, 2320, 1705,  # 6294
-    7754, 3095, 615, 1662, 151, 597, 3992, 2405, 2321, 1049, 275, 4482, 3686, 4193, 568, 3687,  # 6310
-    3571, 2480, 4194, 3688, 7755, 2425, 2270, 409, 3218, 7756, 1566, 2874, 3467, 1002, 769, 2840,  # 6326
-    194, 2090, 3149, 3689, 2222, 3294, 4195, 628, 1505, 7757, 7758, 1763, 2177, 3001, 3993, 521,  # 6342
-    1161, 2584, 1787, 2203, 2406, 4483, 3994, 1625, 4196, 4197, 412, 42, 3096, 464, 7759, 2632,  # 6358
-    4484, 3363, 1760, 1571, 2875, 3468, 2530, 1219, 2204, 3814, 2633, 2140, 2368, 4485, 4486, 3295,  # 6374
-    1651, 3364, 3572, 7760, 7761, 3573, 2481, 3469, 7762, 3690, 7763, 7764, 2271, 2091, 460, 7765,  # 6390
-    4487, 7766, 3002, 962, 588, 3574, 289, 3219, 2634, 1116, 52, 7767, 3047, 1796, 7768, 7769,  # 6406
-    7770, 1467, 7771, 1598, 1143, 3691, 4198, 1984, 1734, 1067, 4488, 1280, 3365, 465, 4489, 1572,  # 6422
-    510, 7772, 1927, 2241, 1812, 1644, 3575, 7773, 4490, 3692, 7774, 7775, 2663, 1573, 1534, 7776,  # 6438
-    7777, 4199, 536, 1807, 1761, 3470, 3815, 3150, 2635, 7778, 7779, 7780, 4491, 3471, 2915, 1911,  # 6454
-    2796, 7781, 3296, 1122, 377, 3220, 7782, 360, 7783, 7784, 4200, 1529, 551, 7785, 2059, 3693,  # 6470
-    1769, 2426, 7786, 2916, 4201, 3297, 3097, 2322, 2108, 2030, 4492, 1404, 136, 1468, 1479, 672,  # 6486
-    1171, 3221, 2303, 271, 3151, 7787, 2762, 7788, 2049, 678, 2727, 865, 1947, 4493, 7789, 2013,  # 6502
-    3995, 2956, 7790, 2728, 2223, 1397, 3048, 3694, 4494, 4495, 1735, 2917, 3366, 3576, 7791, 3816,  # 6518
-    509, 2841, 2453, 2876, 3817, 7792, 7793, 3152, 3153, 4496, 4202, 2531, 4497, 2304, 1166, 1010,  # 6534
-    552, 681, 1887, 7794, 7795, 2957, 2958, 3996, 1287, 1596, 1861, 3154, 358, 453, 736, 175,  # 6550
-    478, 1117, 905, 1167, 1097, 7796, 1853, 1530, 7797, 1706, 7798, 2178, 3472, 2287, 3695, 3473,  # 6566
-    3577, 4203, 2092, 4204, 7799, 3367, 1193, 2482, 4205, 1458, 2190, 2205, 1862, 1888, 1421, 3298,  # 6582
-    2918, 3049, 2179, 3474, 595, 2122, 7800, 3997, 7801, 7802, 4206, 1707, 2636, 223, 3696, 1359,  # 6598
-    751, 3098, 183, 3475, 7803, 2797, 3003, 419, 2369, 633, 704, 3818, 2389, 241, 7804, 7805,  # 6614
-    7806, 838, 3004, 3697, 2272, 2763, 2454, 3819, 1938, 2050, 3998, 1309, 3099, 2242, 1181, 7807,  # 6630
-    1136, 2206, 3820, 2370, 1446, 4207, 2305, 4498, 7808, 7809, 4208, 1055, 2605, 484, 3698, 7810,  # 6646
-    3999, 625, 4209, 2273, 3368, 1499, 4210, 4000, 7811, 4001, 4211, 3222, 2274, 2275, 3476, 7812,  # 6662
-    7813, 2764, 808, 2606, 3699, 3369, 4002, 4212, 3100, 2532, 526, 3370, 3821, 4213, 955, 7814,  # 6678
-    1620, 4214, 2637, 2427, 7815, 1429, 3700, 1669, 1831, 994, 928, 7816, 3578, 1260, 7817, 7818,  # 6694
-    7819, 1948, 2288, 741, 2919, 1626, 4215, 2729, 2455, 867, 1184, 362, 3371, 1392, 7820, 7821,  # 6710
-    4003, 4216, 1770, 1736, 3223, 2920, 4499, 4500, 1928, 2698, 1459, 1158, 7822, 3050, 3372, 2877,  # 6726
-    1292, 1929, 2506, 2842, 3701, 1985, 1187, 2071, 2014, 2607, 4217, 7823, 2566, 2507, 2169, 3702,  # 6742
-    2483, 3299, 7824, 3703, 4501, 7825, 7826, 666, 1003, 3005, 1022, 3579, 4218, 7827, 4502, 1813,  # 6758
-    2253, 574, 3822, 1603, 295, 1535, 705, 3823, 4219, 283, 858, 417, 7828, 7829, 3224, 4503,  # 6774
-    4504, 3051, 1220, 1889, 1046, 2276, 2456, 4004, 1393, 1599, 689, 2567, 388, 4220, 7830, 2484,  # 6790
-    802, 7831, 2798, 3824, 2060, 1405, 2254, 7832, 4505, 3825, 2109, 1052, 1345, 3225, 1585, 7833,  # 6806
-    809, 7834, 7835, 7836, 575, 2730, 3477, 956, 1552, 1469, 1144, 2323, 7837, 2324, 1560, 2457,  # 6822
-    3580, 3226, 4005, 616, 2207, 3155, 2180, 2289, 7838, 1832, 7839, 3478, 4506, 7840, 1319, 3704,  # 6838
-    3705, 1211, 3581, 1023, 3227, 1293, 2799, 7841, 7842, 7843, 3826, 607, 2306, 3827, 762, 2878,  # 6854
-    1439, 4221, 1360, 7844, 1485, 3052, 7845, 4507, 1038, 4222, 1450, 2061, 2638, 4223, 1379, 4508,  # 6870
-    2585, 7846, 7847, 4224, 1352, 1414, 2325, 2921, 1172, 7848, 7849, 3828, 3829, 7850, 1797, 1451,  # 6886
-    7851, 7852, 7853, 7854, 2922, 4006, 4007, 2485, 2346, 411, 4008, 4009, 3582, 3300, 3101, 4509,  # 6902
-    1561, 2664, 1452, 4010, 1375, 7855, 7856, 47, 2959, 316, 7857, 1406, 1591, 2923, 3156, 7858,  # 6918
-    1025, 2141, 3102, 3157, 354, 2731, 884, 2224, 4225, 2407, 508, 3706, 726, 3583, 996, 2428,  # 6934
-    3584, 729, 7859, 392, 2191, 1453, 4011, 4510, 3707, 7860, 7861, 2458, 3585, 2608, 1675, 2800,  # 6950
-    919, 2347, 2960, 2348, 1270, 4511, 4012, 73, 7862, 7863, 647, 7864, 3228, 2843, 2255, 1550,  # 6966
-    1346, 3006, 7865, 1332, 883, 3479, 7866, 7867, 7868, 7869, 3301, 2765, 7870, 1212, 831, 1347,  # 6982
-    4226, 4512, 2326, 3830, 1863, 3053, 720, 3831, 4513, 4514, 3832, 7871, 4227, 7872, 7873, 4515,  # 6998
-    7874, 7875, 1798, 4516, 3708, 2609, 4517, 3586, 1645, 2371, 7876, 7877, 2924, 669, 2208, 2665,  # 7014
-    2429, 7878, 2879, 7879, 7880, 1028, 3229, 7881, 4228, 2408, 7882, 2256, 1353, 7883, 7884, 4518,  # 7030
-    3158, 518, 7885, 4013, 7886, 4229, 1960, 7887, 2142, 4230, 7888, 7889, 3007, 2349, 2350, 3833,  # 7046
-    516, 1833, 1454, 4014, 2699, 4231, 4519, 2225, 2610, 1971, 1129, 3587, 7890, 2766, 7891, 2961,  # 7062
-    1422, 577, 1470, 3008, 1524, 3373, 7892, 7893, 432, 4232, 3054, 3480, 7894, 2586, 1455, 2508,  # 7078
-    2226, 1972, 1175, 7895, 1020, 2732, 4015, 3481, 4520, 7896, 2733, 7897, 1743, 1361, 3055, 3482,  # 7094
-    2639, 4016, 4233, 4521, 2290, 895, 924, 4234, 2170, 331, 2243, 3056, 166, 1627, 3057, 1098,  # 7110
-    7898, 1232, 2880, 2227, 3374, 4522, 657, 403, 1196, 2372, 542, 3709, 3375, 1600, 4235, 3483,  # 7126
-    7899, 4523, 2767, 3230, 576, 530, 1362, 7900, 4524, 2533, 2666, 3710, 4017, 7901, 842, 3834,  # 7142
-    7902, 2801, 2031, 1014, 4018, 213, 2700, 3376, 665, 621, 4236, 7903, 3711, 2925, 2430, 7904,  # 7158
-    2431, 3302, 3588, 3377, 7905, 4237, 2534, 4238, 4525, 3589, 1682, 4239, 3484, 1380, 7906, 724,  # 7174
-    2277, 600, 1670, 7907, 1337, 1233, 4526, 3103, 2244, 7908, 1621, 4527, 7909, 651, 4240, 7910,  # 7190
-    1612, 4241, 2611, 7911, 2844, 7912, 2734, 2307, 3058, 7913, 716, 2459, 3059, 174, 1255, 2701,  # 7206
-    4019, 3590, 548, 1320, 1398, 728, 4020, 1574, 7914, 1890, 1197, 3060, 4021, 7915, 3061, 3062,  # 7222
-    3712, 3591, 3713, 747, 7916, 635, 4242, 4528, 7917, 7918, 7919, 4243, 7920, 7921, 4529, 7922,  # 7238
-    3378, 4530, 2432, 451, 7923, 3714, 2535, 2072, 4244, 2735, 4245, 4022, 7924, 1764, 4531, 7925,  # 7254
-    4246, 350, 7926, 2278, 2390, 2486, 7927, 4247, 4023, 2245, 1434, 4024, 488, 4532, 458, 4248,  # 7270
-    4025, 3715, 771, 1330, 2391, 3835, 2568, 3159, 2159, 2409, 1553, 2667, 3160, 4249, 7928, 2487,  # 7286
-    2881, 2612, 1720, 2702, 4250, 3379, 4533, 7929, 2536, 4251, 7930, 3231, 4252, 2768, 7931, 2015,  # 7302
-    2736, 7932, 1155, 1017, 3716, 3836, 7933, 3303, 2308, 201, 1864, 4253, 1430, 7934, 4026, 7935,  # 7318
-    7936, 7937, 7938, 7939, 4254, 1604, 7940, 414, 1865, 371, 2587, 4534, 4535, 3485, 2016, 3104,  # 7334
-    4536, 1708, 960, 4255, 887, 389, 2171, 1536, 1663, 1721, 7941, 2228, 4027, 2351, 2926, 1580,  # 7350
-    7942, 7943, 7944, 1744, 7945, 2537, 4537, 4538, 7946, 4539, 7947, 2073, 7948, 7949, 3592, 3380,  # 7366
-    2882, 4256, 7950, 4257, 2640, 3381, 2802, 673, 2703, 2460, 709, 3486, 4028, 3593, 4258, 7951,  # 7382
-    1148, 502, 634, 7952, 7953, 1204, 4540, 3594, 1575, 4541, 2613, 3717, 7954, 3718, 3105, 948,  # 7398
-    3232, 121, 1745, 3837, 1110, 7955, 4259, 3063, 2509, 3009, 4029, 3719, 1151, 1771, 3838, 1488,  # 7414
-    4030, 1986, 7956, 2433, 3487, 7957, 7958, 2093, 7959, 4260, 3839, 1213, 1407, 2803, 531, 2737,  # 7430
-    2538, 3233, 1011, 1537, 7960, 2769, 4261, 3106, 1061, 7961, 3720, 3721, 1866, 2883, 7962, 2017,  # 7446
-    120, 4262, 4263, 2062, 3595, 3234, 2309, 3840, 2668, 3382, 1954, 4542, 7963, 7964, 3488, 1047,  # 7462
-    2704, 1266, 7965, 1368, 4543, 2845, 649, 3383, 3841, 2539, 2738, 1102, 2846, 2669, 7966, 7967,  # 7478
-    1999, 7968, 1111, 3596, 2962, 7969, 2488, 3842, 3597, 2804, 1854, 3384, 3722, 7970, 7971, 3385,  # 7494
-    2410, 2884, 3304, 3235, 3598, 7972, 2569, 7973, 3599, 2805, 4031, 1460, 856, 7974, 3600, 7975,  # 7510
-    2885, 2963, 7976, 2886, 3843, 7977, 4264, 632, 2510, 875, 3844, 1697, 3845, 2291, 7978, 7979,  # 7526
-    4544, 3010, 1239, 580, 4545, 4265, 7980, 914, 936, 2074, 1190, 4032, 1039, 2123, 7981, 7982,  # 7542
-    7983, 3386, 1473, 7984, 1354, 4266, 3846, 7985, 2172, 3064, 4033, 915, 3305, 4267, 4268, 3306,  # 7558
-    1605, 1834, 7986, 2739, 398, 3601, 4269, 3847, 4034, 328, 1912, 2847, 4035, 3848, 1331, 4270,  # 7574
-    3011, 937, 4271, 7987, 3602, 4036, 4037, 3387, 2160, 4546, 3388, 524, 742, 538, 3065, 1012,  # 7590
-    7988, 7989, 3849, 2461, 7990, 658, 1103, 225, 3850, 7991, 7992, 4547, 7993, 4548, 7994, 3236,  # 7606
-    1243, 7995, 4038, 963, 2246, 4549, 7996, 2705, 3603, 3161, 7997, 7998, 2588, 2327, 7999, 4550,  # 7622
-    8000, 8001, 8002, 3489, 3307, 957, 3389, 2540, 2032, 1930, 2927, 2462, 870, 2018, 3604, 1746,  # 7638
-    2770, 2771, 2434, 2463, 8003, 3851, 8004, 3723, 3107, 3724, 3490, 3390, 3725, 8005, 1179, 3066,  # 7654
-    8006, 3162, 2373, 4272, 3726, 2541, 3163, 3108, 2740, 4039, 8007, 3391, 1556, 2542, 2292, 977,  # 7670
-    2887, 2033, 4040, 1205, 3392, 8008, 1765, 3393, 3164, 2124, 1271, 1689, 714, 4551, 3491, 8009,  # 7686
-    2328, 3852, 533, 4273, 3605, 2181, 617, 8010, 2464, 3308, 3492, 2310, 8011, 8012, 3165, 8013,  # 7702
-    8014, 3853, 1987, 618, 427, 2641, 3493, 3394, 8015, 8016, 1244, 1690, 8017, 2806, 4274, 4552,  # 7718
-    8018, 3494, 8019, 8020, 2279, 1576, 473, 3606, 4275, 3395, 972, 8021, 3607, 8022, 3067, 8023,  # 7734
-    8024, 4553, 4554, 8025, 3727, 4041, 4042, 8026, 153, 4555, 356, 8027, 1891, 2888, 4276, 2143,  # 7750
-    408, 803, 2352, 8028, 3854, 8029, 4277, 1646, 2570, 2511, 4556, 4557, 3855, 8030, 3856, 4278,  # 7766
-    8031, 2411, 3396, 752, 8032, 8033, 1961, 2964, 8034, 746, 3012, 2465, 8035, 4279, 3728, 698,  # 7782
-    4558, 1892, 4280, 3608, 2543, 4559, 3609, 3857, 8036, 3166, 3397, 8037, 1823, 1302, 4043, 2706,  # 7798
-    3858, 1973, 4281, 8038, 4282, 3167, 823, 1303, 1288, 1236, 2848, 3495, 4044, 3398, 774, 3859,  # 7814
-    8039, 1581, 4560, 1304, 2849, 3860, 4561, 8040, 2435, 2161, 1083, 3237, 4283, 4045, 4284, 344,  # 7830
-    1173, 288, 2311, 454, 1683, 8041, 8042, 1461, 4562, 4046, 2589, 8043, 8044, 4563, 985, 894,  # 7846
-    8045, 3399, 3168, 8046, 1913, 2928, 3729, 1988, 8047, 2110, 1974, 8048, 4047, 8049, 2571, 1194,  # 7862
-    425, 8050, 4564, 3169, 1245, 3730, 4285, 8051, 8052, 2850, 8053, 636, 4565, 1855, 3861, 760,  # 7878
-    1799, 8054, 4286, 2209, 1508, 4566, 4048, 1893, 1684, 2293, 8055, 8056, 8057, 4287, 4288, 2210,  # 7894
-    479, 8058, 8059, 832, 8060, 4049, 2489, 8061, 2965, 2490, 3731, 990, 3109, 627, 1814, 2642,  # 7910
-    4289, 1582, 4290, 2125, 2111, 3496, 4567, 8062, 799, 4291, 3170, 8063, 4568, 2112, 1737, 3013,  # 7926
-    1018, 543, 754, 4292, 3309, 1676, 4569, 4570, 4050, 8064, 1489, 8065, 3497, 8066, 2614, 2889,  # 7942
-    4051, 8067, 8068, 2966, 8069, 8070, 8071, 8072, 3171, 4571, 4572, 2182, 1722, 8073, 3238, 3239,  # 7958
-    1842, 3610, 1715, 481, 365, 1975, 1856, 8074, 8075, 1962, 2491, 4573, 8076, 2126, 3611, 3240,  # 7974
-    433, 1894, 2063, 2075, 8077, 602, 2741, 8078, 8079, 8080, 8081, 8082, 3014, 1628, 3400, 8083,  # 7990
-    3172, 4574, 4052, 2890, 4575, 2512, 8084, 2544, 2772, 8085, 8086, 8087, 3310, 4576, 2891, 8088,  # 8006
-    4577, 8089, 2851, 4578, 4579, 1221, 2967, 4053, 2513, 8090, 8091, 8092, 1867, 1989, 8093, 8094,  # 8022
-    8095, 1895, 8096, 8097, 4580, 1896, 4054, 318, 8098, 2094, 4055, 4293, 8099, 8100, 485, 8101,  # 8038
-    938, 3862, 553, 2670, 116, 8102, 3863, 3612, 8103, 3498, 2671, 2773, 3401, 3311, 2807, 8104,  # 8054
-    3613, 2929, 4056, 1747, 2930, 2968, 8105, 8106, 207, 8107, 8108, 2672, 4581, 2514, 8109, 3015,  # 8070
-    890, 3614, 3864, 8110, 1877, 3732, 3402, 8111, 2183, 2353, 3403, 1652, 8112, 8113, 8114, 941,  # 8086
-    2294, 208, 3499, 4057, 2019, 330, 4294, 3865, 2892, 2492, 3733, 4295, 8115, 8116, 8117, 8118,  # 8102
-)
-# fmt: on
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/euctwprober.py b/.venv/Lib/site-packages/pip/_vendor/chardet/euctwprober.py
deleted file mode 100644
index a37ab18..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/euctwprober.py
+++ /dev/null
@@ -1,47 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is mozilla.org code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-from .chardistribution import EUCTWDistributionAnalysis
-from .codingstatemachine import CodingStateMachine
-from .mbcharsetprober import MultiByteCharSetProber
-from .mbcssm import EUCTW_SM_MODEL
-
-
-class EUCTWProber(MultiByteCharSetProber):
-    def __init__(self) -> None:
-        super().__init__()
-        self.coding_sm = CodingStateMachine(EUCTW_SM_MODEL)
-        self.distribution_analyzer = EUCTWDistributionAnalysis()
-        self.reset()
-
-    @property
-    def charset_name(self) -> str:
-        return "EUC-TW"
-
-    @property
-    def language(self) -> str:
-        return "Taiwan"
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/gb2312freq.py b/.venv/Lib/site-packages/pip/_vendor/chardet/gb2312freq.py
deleted file mode 100644
index b32bfc7..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/gb2312freq.py
+++ /dev/null
@@ -1,284 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is Mozilla Communicator client code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-# GB2312 most frequently used character table
-#
-# Char to FreqOrder table , from hz6763
-
-# 512  --> 0.79  -- 0.79
-# 1024 --> 0.92  -- 0.13
-# 2048 --> 0.98  -- 0.06
-# 6768 --> 1.00  -- 0.02
-#
-# Ideal Distribution Ratio = 0.79135/(1-0.79135) = 3.79
-# Random Distribution Ration = 512 / (3755 - 512) = 0.157
-#
-# Typical Distribution Ratio about 25% of Ideal one, still much higher that RDR
-
-GB2312_TYPICAL_DISTRIBUTION_RATIO = 0.9
-
-GB2312_TABLE_SIZE = 3760
-
-# fmt: off
-GB2312_CHAR_TO_FREQ_ORDER = (
-1671, 749,1443,2364,3924,3807,2330,3921,1704,3463,2691,1511,1515, 572,3191,2205,
-2361, 224,2558, 479,1711, 963,3162, 440,4060,1905,2966,2947,3580,2647,3961,3842,
-2204, 869,4207, 970,2678,5626,2944,2956,1479,4048, 514,3595, 588,1346,2820,3409,
- 249,4088,1746,1873,2047,1774, 581,1813, 358,1174,3590,1014,1561,4844,2245, 670,
-1636,3112, 889,1286, 953, 556,2327,3060,1290,3141, 613, 185,3477,1367, 850,3820,
-1715,2428,2642,2303,2732,3041,2562,2648,3566,3946,1349, 388,3098,2091,1360,3585,
- 152,1687,1539, 738,1559,  59,1232,2925,2267,1388,1249,1741,1679,2960, 151,1566,
-1125,1352,4271, 924,4296, 385,3166,4459, 310,1245,2850,  70,3285,2729,3534,3575,
-2398,3298,3466,1960,2265, 217,3647, 864,1909,2084,4401,2773,1010,3269,5152, 853,
-3051,3121,1244,4251,1895, 364,1499,1540,2313,1180,3655,2268, 562, 715,2417,3061,
- 544, 336,3768,2380,1752,4075, 950, 280,2425,4382, 183,2759,3272, 333,4297,2155,
-1688,2356,1444,1039,4540, 736,1177,3349,2443,2368,2144,2225, 565, 196,1482,3406,
- 927,1335,4147, 692, 878,1311,1653,3911,3622,1378,4200,1840,2969,3149,2126,1816,
-2534,1546,2393,2760, 737,2494,  13, 447, 245,2747,  38,2765,2129,2589,1079, 606,
- 360, 471,3755,2890, 404, 848, 699,1785,1236, 370,2221,1023,3746,2074,2026,2023,
-2388,1581,2119, 812,1141,3091,2536,1519, 804,2053, 406,1596,1090, 784, 548,4414,
-1806,2264,2936,1100, 343,4114,5096, 622,3358, 743,3668,1510,1626,5020,3567,2513,
-3195,4115,5627,2489,2991,  24,2065,2697,1087,2719,  48,1634, 315,  68, 985,2052,
- 198,2239,1347,1107,1439, 597,2366,2172, 871,3307, 919,2487,2790,1867, 236,2570,
-1413,3794, 906,3365,3381,1701,1982,1818,1524,2924,1205, 616,2586,2072,2004, 575,
- 253,3099,  32,1365,1182, 197,1714,2454,1201, 554,3388,3224,2748, 756,2587, 250,
-2567,1507,1517,3529,1922,2761,2337,3416,1961,1677,2452,2238,3153, 615, 911,1506,
-1474,2495,1265,1906,2749,3756,3280,2161, 898,2714,1759,3450,2243,2444, 563,  26,
-3286,2266,3769,3344,2707,3677, 611,1402, 531,1028,2871,4548,1375, 261,2948, 835,
-1190,4134, 353, 840,2684,1900,3082,1435,2109,1207,1674, 329,1872,2781,4055,2686,
-2104, 608,3318,2423,2957,2768,1108,3739,3512,3271,3985,2203,1771,3520,1418,2054,
-1681,1153, 225,1627,2929, 162,2050,2511,3687,1954, 124,1859,2431,1684,3032,2894,
- 585,4805,3969,2869,2704,2088,2032,2095,3656,2635,4362,2209, 256, 518,2042,2105,
-3777,3657, 643,2298,1148,1779, 190, 989,3544, 414,  11,2135,2063,2979,1471, 403,
-3678, 126, 770,1563, 671,2499,3216,2877, 600,1179, 307,2805,4937,1268,1297,2694,
- 252,4032,1448,1494,1331,1394, 127,2256, 222,1647,1035,1481,3056,1915,1048, 873,
-3651, 210,  33,1608,2516, 200,1520, 415, 102,   0,3389,1287, 817,  91,3299,2940,
- 836,1814, 549,2197,1396,1669,2987,3582,2297,2848,4528,1070, 687,  20,1819, 121,
-1552,1364,1461,1968,2617,3540,2824,2083, 177, 948,4938,2291, 110,4549,2066, 648,
-3359,1755,2110,2114,4642,4845,1693,3937,3308,1257,1869,2123, 208,1804,3159,2992,
-2531,2549,3361,2418,1350,2347,2800,2568,1291,2036,2680,  72, 842,1990, 212,1233,
-1154,1586,  75,2027,3410,4900,1823,1337,2710,2676, 728,2810,1522,3026,4995, 157,
- 755,1050,4022, 710, 785,1936,2194,2085,1406,2777,2400, 150,1250,4049,1206, 807,
-1910, 534, 529,3309,1721,1660, 274,  39,2827, 661,2670,1578, 925,3248,3815,1094,
-4278,4901,4252,  41,1150,3747,2572,2227,4501,3658,4902,3813,3357,3617,2884,2258,
- 887, 538,4187,3199,1294,2439,3042,2329,2343,2497,1255, 107, 543,1527, 521,3478,
-3568, 194,5062,  15, 961,3870,1241,1192,2664,  66,5215,3260,2111,1295,1127,2152,
-3805,4135, 901,1164,1976, 398,1278, 530,1460, 748, 904,1054,1966,1426,  53,2909,
- 509, 523,2279,1534, 536,1019, 239,1685, 460,2353, 673,1065,2401,3600,4298,2272,
-1272,2363, 284,1753,3679,4064,1695,  81, 815,2677,2757,2731,1386, 859, 500,4221,
-2190,2566, 757,1006,2519,2068,1166,1455, 337,2654,3203,1863,1682,1914,3025,1252,
-1409,1366, 847, 714,2834,2038,3209, 964,2970,1901, 885,2553,1078,1756,3049, 301,
-1572,3326, 688,2130,1996,2429,1805,1648,2930,3421,2750,3652,3088, 262,1158,1254,
- 389,1641,1812, 526,1719, 923,2073,1073,1902, 468, 489,4625,1140, 857,2375,3070,
-3319,2863, 380, 116,1328,2693,1161,2244, 273,1212,1884,2769,3011,1775,1142, 461,
-3066,1200,2147,2212, 790, 702,2695,4222,1601,1058, 434,2338,5153,3640,  67,2360,
-4099,2502, 618,3472,1329, 416,1132, 830,2782,1807,2653,3211,3510,1662, 192,2124,
- 296,3979,1739,1611,3684,  23, 118, 324, 446,1239,1225, 293,2520,3814,3795,2535,
-3116,  17,1074, 467,2692,2201, 387,2922,  45,1326,3055,1645,3659,2817, 958, 243,
-1903,2320,1339,2825,1784,3289, 356, 576, 865,2315,2381,3377,3916,1088,3122,1713,
-1655, 935, 628,4689,1034,1327, 441, 800, 720, 894,1979,2183,1528,5289,2702,1071,
-4046,3572,2399,1571,3281,  79, 761,1103, 327, 134, 758,1899,1371,1615, 879, 442,
- 215,2605,2579, 173,2048,2485,1057,2975,3317,1097,2253,3801,4263,1403,1650,2946,
- 814,4968,3487,1548,2644,1567,1285,   2, 295,2636,  97, 946,3576, 832, 141,4257,
-3273, 760,3821,3521,3156,2607, 949,1024,1733,1516,1803,1920,2125,2283,2665,3180,
-1501,2064,3560,2171,1592, 803,3518,1416, 732,3897,4258,1363,1362,2458, 119,1427,
- 602,1525,2608,1605,1639,3175, 694,3064,  10, 465,  76,2000,4846,4208, 444,3781,
-1619,3353,2206,1273,3796, 740,2483, 320,1723,2377,3660,2619,1359,1137,1762,1724,
-2345,2842,1850,1862, 912, 821,1866, 612,2625,1735,2573,3369,1093, 844,  89, 937,
- 930,1424,3564,2413,2972,1004,3046,3019,2011, 711,3171,1452,4178, 428, 801,1943,
- 432, 445,2811, 206,4136,1472, 730, 349,  73, 397,2802,2547, 998,1637,1167, 789,
- 396,3217, 154,1218, 716,1120,1780,2819,4826,1931,3334,3762,2139,1215,2627, 552,
-3664,3628,3232,1405,2383,3111,1356,2652,3577,3320,3101,1703, 640,1045,1370,1246,
-4996, 371,1575,2436,1621,2210, 984,4033,1734,2638,  16,4529, 663,2755,3255,1451,
-3917,2257,1253,1955,2234,1263,2951, 214,1229, 617, 485, 359,1831,1969, 473,2310,
- 750,2058, 165,  80,2864,2419, 361,4344,2416,2479,1134, 796,3726,1266,2943, 860,
-2715, 938, 390,2734,1313,1384, 248, 202, 877,1064,2854, 522,3907, 279,1602, 297,
-2357, 395,3740, 137,2075, 944,4089,2584,1267,3802,  62,1533,2285, 178, 176, 780,
-2440, 201,3707, 590, 478,1560,4354,2117,1075,  30,  74,4643,4004,1635,1441,2745,
- 776,2596, 238,1077,1692,1912,2844, 605, 499,1742,3947, 241,3053, 980,1749, 936,
-2640,4511,2582, 515,1543,2162,5322,2892,2993, 890,2148,1924, 665,1827,3581,1032,
- 968,3163, 339,1044,1896, 270, 583,1791,1720,4367,1194,3488,3669,  43,2523,1657,
- 163,2167, 290,1209,1622,3378, 550, 634,2508,2510, 695,2634,2384,2512,1476,1414,
- 220,1469,2341,2138,2852,3183,2900,4939,2865,3502,1211,3680, 854,3227,1299,2976,
-3172, 186,2998,1459, 443,1067,3251,1495, 321,1932,3054, 909, 753,1410,1828, 436,
-2441,1119,1587,3164,2186,1258, 227, 231,1425,1890,3200,3942, 247, 959, 725,5254,
-2741, 577,2158,2079, 929, 120, 174, 838,2813, 591,1115, 417,2024,  40,3240,1536,
-1037, 291,4151,2354, 632,1298,2406,2500,3535,1825,1846,3451, 205,1171, 345,4238,
-  18,1163, 811, 685,2208,1217, 425,1312,1508,1175,4308,2552,1033, 587,1381,3059,
-2984,3482, 340,1316,4023,3972, 792,3176, 519, 777,4690, 918, 933,4130,2981,3741,
-  90,3360,2911,2200,5184,4550, 609,3079,2030, 272,3379,2736, 363,3881,1130,1447,
- 286, 779, 357,1169,3350,3137,1630,1220,2687,2391, 747,1277,3688,2618,2682,2601,
-1156,3196,5290,4034,3102,1689,3596,3128, 874, 219,2783, 798, 508,1843,2461, 269,
-1658,1776,1392,1913,2983,3287,2866,2159,2372, 829,4076,  46,4253,2873,1889,1894,
- 915,1834,1631,2181,2318, 298, 664,2818,3555,2735, 954,3228,3117, 527,3511,2173,
- 681,2712,3033,2247,2346,3467,1652, 155,2164,3382, 113,1994, 450, 899, 494, 994,
-1237,2958,1875,2336,1926,3727, 545,1577,1550, 633,3473, 204,1305,3072,2410,1956,
-2471, 707,2134, 841,2195,2196,2663,3843,1026,4940, 990,3252,4997, 368,1092, 437,
-3212,3258,1933,1829, 675,2977,2893, 412, 943,3723,4644,3294,3283,2230,2373,5154,
-2389,2241,2661,2323,1404,2524, 593, 787, 677,3008,1275,2059, 438,2709,2609,2240,
-2269,2246,1446,  36,1568,1373,3892,1574,2301,1456,3962, 693,2276,5216,2035,1143,
-2720,1919,1797,1811,2763,4137,2597,1830,1699,1488,1198,2090, 424,1694, 312,3634,
-3390,4179,3335,2252,1214, 561,1059,3243,2295,2561, 975,5155,2321,2751,3772, 472,
-1537,3282,3398,1047,2077,2348,2878,1323,3340,3076, 690,2906,  51, 369, 170,3541,
-1060,2187,2688,3670,2541,1083,1683, 928,3918, 459, 109,4427, 599,3744,4286, 143,
-2101,2730,2490,  82,1588,3036,2121, 281,1860, 477,4035,1238,2812,3020,2716,3312,
-1530,2188,2055,1317, 843, 636,1808,1173,3495, 649, 181,1002, 147,3641,1159,2414,
-3750,2289,2795, 813,3123,2610,1136,4368,   5,3391,4541,2174, 420, 429,1728, 754,
-1228,2115,2219, 347,2223,2733, 735,1518,3003,2355,3134,1764,3948,3329,1888,2424,
-1001,1234,1972,3321,3363,1672,1021,1450,1584, 226, 765, 655,2526,3404,3244,2302,
-3665, 731, 594,2184, 319,1576, 621, 658,2656,4299,2099,3864,1279,2071,2598,2739,
- 795,3086,3699,3908,1707,2352,2402,1382,3136,2475,1465,4847,3496,3865,1085,3004,
-2591,1084, 213,2287,1963,3565,2250, 822, 793,4574,3187,1772,1789,3050, 595,1484,
-1959,2770,1080,2650, 456, 422,2996, 940,3322,4328,4345,3092,2742, 965,2784, 739,
-4124, 952,1358,2498,2949,2565, 332,2698,2378, 660,2260,2473,4194,3856,2919, 535,
-1260,2651,1208,1428,1300,1949,1303,2942, 433,2455,2450,1251,1946, 614,1269, 641,
-1306,1810,2737,3078,2912, 564,2365,1419,1415,1497,4460,2367,2185,1379,3005,1307,
-3218,2175,1897,3063, 682,1157,4040,4005,1712,1160,1941,1399, 394, 402,2952,1573,
-1151,2986,2404, 862, 299,2033,1489,3006, 346, 171,2886,3401,1726,2932, 168,2533,
-  47,2507,1030,3735,1145,3370,1395,1318,1579,3609,4560,2857,4116,1457,2529,1965,
- 504,1036,2690,2988,2405, 745,5871, 849,2397,2056,3081, 863,2359,3857,2096,  99,
-1397,1769,2300,4428,1643,3455,1978,1757,3718,1440,  35,4879,3742,1296,4228,2280,
- 160,5063,1599,2013, 166, 520,3479,1646,3345,3012, 490,1937,1545,1264,2182,2505,
-1096,1188,1369,1436,2421,1667,2792,2460,1270,2122, 727,3167,2143, 806,1706,1012,
-1800,3037, 960,2218,1882, 805, 139,2456,1139,1521, 851,1052,3093,3089, 342,2039,
- 744,5097,1468,1502,1585,2087, 223, 939, 326,2140,2577, 892,2481,1623,4077, 982,
-3708, 135,2131,  87,2503,3114,2326,1106, 876,1616, 547,2997,2831,2093,3441,4530,
-4314,   9,3256,4229,4148, 659,1462,1986,1710,2046,2913,2231,4090,4880,5255,3392,
-3274,1368,3689,4645,1477, 705,3384,3635,1068,1529,2941,1458,3782,1509, 100,1656,
-2548, 718,2339, 408,1590,2780,3548,1838,4117,3719,1345,3530, 717,3442,2778,3220,
-2898,1892,4590,3614,3371,2043,1998,1224,3483, 891, 635, 584,2559,3355, 733,1766,
-1729,1172,3789,1891,2307, 781,2982,2271,1957,1580,5773,2633,2005,4195,3097,1535,
-3213,1189,1934,5693,3262, 586,3118,1324,1598, 517,1564,2217,1868,1893,4445,3728,
-2703,3139,1526,1787,1992,3882,2875,1549,1199,1056,2224,1904,2711,5098,4287, 338,
-1993,3129,3489,2689,1809,2815,1997, 957,1855,3898,2550,3275,3057,1105,1319, 627,
-1505,1911,1883,3526, 698,3629,3456,1833,1431, 746,  77,1261,2017,2296,1977,1885,
- 125,1334,1600, 525,1798,1109,2222,1470,1945, 559,2236,1186,3443,2476,1929,1411,
-2411,3135,1777,3372,2621,1841,1613,3229, 668,1430,1839,2643,2916, 195,1989,2671,
-2358,1387, 629,3205,2293,5256,4439, 123,1310, 888,1879,4300,3021,3605,1003,1162,
-3192,2910,2010, 140,2395,2859,  55,1082,2012,2901, 662, 419,2081,1438, 680,2774,
-4654,3912,1620,1731,1625,5035,4065,2328, 512,1344, 802,5443,2163,2311,2537, 524,
-3399,  98,1155,2103,1918,2606,3925,2816,1393,2465,1504,3773,2177,3963,1478,4346,
- 180,1113,4655,3461,2028,1698, 833,2696,1235,1322,1594,4408,3623,3013,3225,2040,
-3022, 541,2881, 607,3632,2029,1665,1219, 639,1385,1686,1099,2803,3231,1938,3188,
-2858, 427, 676,2772,1168,2025, 454,3253,2486,3556, 230,1950, 580, 791,1991,1280,
-1086,1974,2034, 630, 257,3338,2788,4903,1017,  86,4790, 966,2789,1995,1696,1131,
- 259,3095,4188,1308, 179,1463,5257, 289,4107,1248,  42,3413,1725,2288, 896,1947,
- 774,4474,4254, 604,3430,4264, 392,2514,2588, 452, 237,1408,3018, 988,4531,1970,
-3034,3310, 540,2370,1562,1288,2990, 502,4765,1147,   4,1853,2708, 207, 294,2814,
-4078,2902,2509, 684,  34,3105,3532,2551, 644, 709,2801,2344, 573,1727,3573,3557,
-2021,1081,3100,4315,2100,3681, 199,2263,1837,2385, 146,3484,1195,2776,3949, 997,
-1939,3973,1008,1091,1202,1962,1847,1149,4209,5444,1076, 493, 117,5400,2521, 972,
-1490,2934,1796,4542,2374,1512,2933,2657, 413,2888,1135,2762,2314,2156,1355,2369,
- 766,2007,2527,2170,3124,2491,2593,2632,4757,2437, 234,3125,3591,1898,1750,1376,
-1942,3468,3138, 570,2127,2145,3276,4131, 962, 132,1445,4196,  19, 941,3624,3480,
-3366,1973,1374,4461,3431,2629, 283,2415,2275, 808,2887,3620,2112,2563,1353,3610,
- 955,1089,3103,1053,  96,  88,4097, 823,3808,1583, 399, 292,4091,3313, 421,1128,
- 642,4006, 903,2539,1877,2082, 596,  29,4066,1790, 722,2157, 130, 995,1569, 769,
-1485, 464, 513,2213, 288,1923,1101,2453,4316, 133, 486,2445,  50, 625, 487,2207,
-  57, 423, 481,2962, 159,3729,1558, 491, 303, 482, 501, 240,2837, 112,3648,2392,
-1783, 362,   8,3433,3422, 610,2793,3277,1390,1284,1654,  21,3823, 734, 367, 623,
- 193, 287, 374,1009,1483, 816, 476, 313,2255,2340,1262,2150,2899,1146,2581, 782,
-2116,1659,2018,1880, 255,3586,3314,1110,2867,2137,2564, 986,2767,5185,2006, 650,
- 158, 926, 762, 881,3157,2717,2362,3587, 306,3690,3245,1542,3077,2427,1691,2478,
-2118,2985,3490,2438, 539,2305, 983, 129,1754, 355,4201,2386, 827,2923, 104,1773,
-2838,2771, 411,2905,3919, 376, 767, 122,1114, 828,2422,1817,3506, 266,3460,1007,
-1609,4998, 945,2612,4429,2274, 726,1247,1964,2914,2199,2070,4002,4108, 657,3323,
-1422, 579, 455,2764,4737,1222,2895,1670, 824,1223,1487,2525, 558, 861,3080, 598,
-2659,2515,1967, 752,2583,2376,2214,4180, 977, 704,2464,4999,2622,4109,1210,2961,
- 819,1541, 142,2284,  44, 418, 457,1126,3730,4347,4626,1644,1876,3671,1864, 302,
-1063,5694, 624, 723,1984,3745,1314,1676,2488,1610,1449,3558,3569,2166,2098, 409,
-1011,2325,3704,2306, 818,1732,1383,1824,1844,3757, 999,2705,3497,1216,1423,2683,
-2426,2954,2501,2726,2229,1475,2554,5064,1971,1794,1666,2014,1343, 783, 724, 191,
-2434,1354,2220,5065,1763,2752,2472,4152, 131, 175,2885,3434,  92,1466,4920,2616,
-3871,3872,3866, 128,1551,1632, 669,1854,3682,4691,4125,1230, 188,2973,3290,1302,
-1213, 560,3266, 917, 763,3909,3249,1760, 868,1958, 764,1782,2097, 145,2277,3774,
-4462,  64,1491,3062, 971,2132,3606,2442, 221,1226,1617, 218, 323,1185,3207,3147,
- 571, 619,1473,1005,1744,2281, 449,1887,2396,3685, 275, 375,3816,1743,3844,3731,
- 845,1983,2350,4210,1377, 773, 967,3499,3052,3743,2725,4007,1697,1022,3943,1464,
-3264,2855,2722,1952,1029,2839,2467,  84,4383,2215, 820,1391,2015,2448,3672, 377,
-1948,2168, 797,2545,3536,2578,2645,  94,2874,1678, 405,1259,3071, 771, 546,1315,
- 470,1243,3083, 895,2468, 981, 969,2037, 846,4181, 653,1276,2928,  14,2594, 557,
-3007,2474, 156, 902,1338,1740,2574, 537,2518, 973,2282,2216,2433,1928, 138,2903,
-1293,2631,1612, 646,3457, 839,2935, 111, 496,2191,2847, 589,3186, 149,3994,2060,
-4031,2641,4067,3145,1870,  37,3597,2136,1025,2051,3009,3383,3549,1121,1016,3261,
-1301, 251,2446,2599,2153, 872,3246, 637, 334,3705, 831, 884, 921,3065,3140,4092,
-2198,1944, 246,2964, 108,2045,1152,1921,2308,1031, 203,3173,4170,1907,3890, 810,
-1401,2003,1690, 506, 647,1242,2828,1761,1649,3208,2249,1589,3709,2931,5156,1708,
- 498, 666,2613, 834,3817,1231, 184,2851,1124, 883,3197,2261,3710,1765,1553,2658,
-1178,2639,2351,  93,1193, 942,2538,2141,4402, 235,1821, 870,1591,2192,1709,1871,
-3341,1618,4126,2595,2334, 603, 651,  69, 701, 268,2662,3411,2555,1380,1606, 503,
- 448, 254,2371,2646, 574,1187,2309,1770, 322,2235,1292,1801, 305, 566,1133, 229,
-2067,2057, 706, 167, 483,2002,2672,3295,1820,3561,3067, 316, 378,2746,3452,1112,
- 136,1981, 507,1651,2917,1117, 285,4591, 182,2580,3522,1304, 335,3303,1835,2504,
-1795,1792,2248, 674,1018,2106,2449,1857,2292,2845, 976,3047,1781,2600,2727,1389,
-1281,  52,3152, 153, 265,3950, 672,3485,3951,4463, 430,1183, 365, 278,2169,  27,
-1407,1336,2304, 209,1340,1730,2202,1852,2403,2883, 979,1737,1062, 631,2829,2542,
-3876,2592, 825,2086,2226,3048,3625, 352,1417,3724, 542, 991, 431,1351,3938,1861,
-2294, 826,1361,2927,3142,3503,1738, 463,2462,2723, 582,1916,1595,2808, 400,3845,
-3891,2868,3621,2254,  58,2492,1123, 910,2160,2614,1372,1603,1196,1072,3385,1700,
-3267,1980, 696, 480,2430, 920, 799,1570,2920,1951,2041,4047,2540,1321,4223,2469,
-3562,2228,1271,2602, 401,2833,3351,2575,5157, 907,2312,1256, 410, 263,3507,1582,
- 996, 678,1849,2316,1480, 908,3545,2237, 703,2322, 667,1826,2849,1531,2604,2999,
-2407,3146,2151,2630,1786,3711, 469,3542, 497,3899,2409, 858, 837,4446,3393,1274,
- 786, 620,1845,2001,3311, 484, 308,3367,1204,1815,3691,2332,1532,2557,1842,2020,
-2724,1927,2333,4440, 567,  22,1673,2728,4475,1987,1858,1144,1597, 101,1832,3601,
-  12, 974,3783,4391, 951,1412,   1,3720, 453,4608,4041, 528,1041,1027,3230,2628,
-1129, 875,1051,3291,1203,2262,1069,2860,2799,2149,2615,3278, 144,1758,3040,  31,
- 475,1680, 366,2685,3184, 311,1642,4008,2466,5036,1593,1493,2809, 216,1420,1668,
- 233, 304,2128,3284, 232,1429,1768,1040,2008,3407,2740,2967,2543, 242,2133, 778,
-1565,2022,2620, 505,2189,2756,1098,2273, 372,1614, 708, 553,2846,2094,2278, 169,
-3626,2835,4161, 228,2674,3165, 809,1454,1309, 466,1705,1095, 900,3423, 880,2667,
-3751,5258,2317,3109,2571,4317,2766,1503,1342, 866,4447,1118,  63,2076, 314,1881,
-1348,1061, 172, 978,3515,1747, 532, 511,3970,   6, 601, 905,2699,3300,1751, 276,
-1467,3725,2668,  65,4239,2544,2779,2556,1604, 578,2451,1802, 992,2331,2624,1320,
-3446, 713,1513,1013, 103,2786,2447,1661, 886,1702, 916, 654,3574,2031,1556, 751,
-2178,2821,2179,1498,1538,2176, 271, 914,2251,2080,1325, 638,1953,2937,3877,2432,
-2754,  95,3265,1716, 260,1227,4083, 775, 106,1357,3254, 426,1607, 555,2480, 772,
-1985, 244,2546, 474, 495,1046,2611,1851,2061,  71,2089,1675,2590, 742,3758,2843,
-3222,1433, 267,2180,2576,2826,2233,2092,3913,2435, 956,1745,3075, 856,2113,1116,
- 451,   3,1988,2896,1398, 993,2463,1878,2049,1341,2718,2721,2870,2108, 712,2904,
-4363,2753,2324, 277,2872,2349,2649, 384, 987, 435, 691,3000, 922, 164,3939, 652,
-1500,1184,4153,2482,3373,2165,4848,2335,3775,3508,3154,2806,2830,1554,2102,1664,
-2530,1434,2408, 893,1547,2623,3447,2832,2242,2532,3169,2856,3223,2078,  49,3770,
-3469, 462, 318, 656,2259,3250,3069, 679,1629,2758, 344,1138,1104,3120,1836,1283,
-3115,2154,1437,4448, 934, 759,1999, 794,2862,1038, 533,2560,1722,2342, 855,2626,
-1197,1663,4476,3127,  85,4240,2528,  25,1111,1181,3673, 407,3470,4561,2679,2713,
- 768,1925,2841,3986,1544,1165, 932, 373,1240,2146,1930,2673, 721,4766, 354,4333,
- 391,2963, 187,  61,3364,1442,1102, 330,1940,1767, 341,3809,4118, 393,2496,2062,
-2211, 105, 331, 300, 439, 913,1332, 626, 379,3304,1557, 328, 689,3952, 309,1555,
- 931, 317,2517,3027, 325, 569, 686,2107,3084,  60,1042,1333,2794, 264,3177,4014,
-1628, 258,3712,   7,4464,1176,1043,1778, 683, 114,1975,  78,1492, 383,1886, 510,
- 386, 645,5291,2891,2069,3305,4138,3867,2939,2603,2493,1935,1066,1848,3588,1015,
-1282,1289,4609, 697,1453,3044,2666,3611,1856,2412,  54, 719,1330, 568,3778,2459,
-1748, 788, 492, 551,1191,1000, 488,3394,3763, 282,1799, 348,2016,1523,3155,2390,
-1049, 382,2019,1788,1170, 729,2968,3523, 897,3926,2785,2938,3292, 350,2319,3238,
-1718,1717,2655,3453,3143,4465, 161,2889,2980,2009,1421,  56,1908,1640,2387,2232,
-1917,1874,2477,4921, 148,  83,3438, 592,4245,2882,1822,1055, 741, 115,1496,1624,
- 381,1638,4592,1020, 516,3214, 458, 947,4575,1432, 211,1514,2926,1865,2142, 189,
- 852,1221,1400,1486, 882,2299,4036, 351,  28,1122, 700,6479,6480,6481,6482,6483,  #last 512
-)
-# fmt: on
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/gb2312prober.py b/.venv/Lib/site-packages/pip/_vendor/chardet/gb2312prober.py
deleted file mode 100644
index d423e73..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/gb2312prober.py
+++ /dev/null
@@ -1,47 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is mozilla.org code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-from .chardistribution import GB2312DistributionAnalysis
-from .codingstatemachine import CodingStateMachine
-from .mbcharsetprober import MultiByteCharSetProber
-from .mbcssm import GB2312_SM_MODEL
-
-
-class GB2312Prober(MultiByteCharSetProber):
-    def __init__(self) -> None:
-        super().__init__()
-        self.coding_sm = CodingStateMachine(GB2312_SM_MODEL)
-        self.distribution_analyzer = GB2312DistributionAnalysis()
-        self.reset()
-
-    @property
-    def charset_name(self) -> str:
-        return "GB2312"
-
-    @property
-    def language(self) -> str:
-        return "Chinese"
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/hebrewprober.py b/.venv/Lib/site-packages/pip/_vendor/chardet/hebrewprober.py
deleted file mode 100644
index 785d005..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/hebrewprober.py
+++ /dev/null
@@ -1,316 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is Mozilla Universal charset detector code.
-#
-# The Initial Developer of the Original Code is
-#          Shy Shalom
-# Portions created by the Initial Developer are Copyright (C) 2005
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-from typing import Optional, Union
-
-from .charsetprober import CharSetProber
-from .enums import ProbingState
-from .sbcharsetprober import SingleByteCharSetProber
-
-# This prober doesn't actually recognize a language or a charset.
-# It is a helper prober for the use of the Hebrew model probers
-
-### General ideas of the Hebrew charset recognition ###
-#
-# Four main charsets exist in Hebrew:
-# "ISO-8859-8" - Visual Hebrew
-# "windows-1255" - Logical Hebrew
-# "ISO-8859-8-I" - Logical Hebrew
-# "x-mac-hebrew" - ?? Logical Hebrew ??
-#
-# Both "ISO" charsets use a completely identical set of code points, whereas
-# "windows-1255" and "x-mac-hebrew" are two different proper supersets of
-# these code points. windows-1255 defines additional characters in the range
-# 0x80-0x9F as some misc punctuation marks as well as some Hebrew-specific
-# diacritics and additional 'Yiddish' ligature letters in the range 0xc0-0xd6.
-# x-mac-hebrew defines similar additional code points but with a different
-# mapping.
-#
-# As far as an average Hebrew text with no diacritics is concerned, all four
-# charsets are identical with respect to code points. Meaning that for the
-# main Hebrew alphabet, all four map the same values to all 27 Hebrew letters
-# (including final letters).
-#
-# The dominant difference between these charsets is their directionality.
-# "Visual" directionality means that the text is ordered as if the renderer is
-# not aware of a BIDI rendering algorithm. The renderer sees the text and
-# draws it from left to right. The text itself when ordered naturally is read
-# backwards. A buffer of Visual Hebrew generally looks like so:
-# "[last word of first line spelled backwards] [whole line ordered backwards
-# and spelled backwards] [first word of first line spelled backwards]
-# [end of line] [last word of second line] ... etc' "
-# adding punctuation marks, numbers and English text to visual text is
-# naturally also "visual" and from left to right.
-#
-# "Logical" directionality means the text is ordered "naturally" according to
-# the order it is read. It is the responsibility of the renderer to display
-# the text from right to left. A BIDI algorithm is used to place general
-# punctuation marks, numbers and English text in the text.
-#
-# Texts in x-mac-hebrew are almost impossible to find on the Internet. From
-# what little evidence I could find, it seems that its general directionality
-# is Logical.
-#
-# To sum up all of the above, the Hebrew probing mechanism knows about two
-# charsets:
-# Visual Hebrew - "ISO-8859-8" - backwards text - Words and sentences are
-#    backwards while line order is natural. For charset recognition purposes
-#    the line order is unimportant (In fact, for this implementation, even
-#    word order is unimportant).
-# Logical Hebrew - "windows-1255" - normal, naturally ordered text.
-#
-# "ISO-8859-8-I" is a subset of windows-1255 and doesn't need to be
-#    specifically identified.
-# "x-mac-hebrew" is also identified as windows-1255. A text in x-mac-hebrew
-#    that contain special punctuation marks or diacritics is displayed with
-#    some unconverted characters showing as question marks. This problem might
-#    be corrected using another model prober for x-mac-hebrew. Due to the fact
-#    that x-mac-hebrew texts are so rare, writing another model prober isn't
-#    worth the effort and performance hit.
-#
-#### The Prober ####
-#
-# The prober is divided between two SBCharSetProbers and a HebrewProber,
-# all of which are managed, created, fed data, inquired and deleted by the
-# SBCSGroupProber. The two SBCharSetProbers identify that the text is in
-# fact some kind of Hebrew, Logical or Visual. The final decision about which
-# one is it is made by the HebrewProber by combining final-letter scores
-# with the scores of the two SBCharSetProbers to produce a final answer.
-#
-# The SBCSGroupProber is responsible for stripping the original text of HTML
-# tags, English characters, numbers, low-ASCII punctuation characters, spaces
-# and new lines. It reduces any sequence of such characters to a single space.
-# The buffer fed to each prober in the SBCS group prober is pure text in
-# high-ASCII.
-# The two SBCharSetProbers (model probers) share the same language model:
-# Win1255Model.
-# The first SBCharSetProber uses the model normally as any other
-# SBCharSetProber does, to recognize windows-1255, upon which this model was
-# built. The second SBCharSetProber is told to make the pair-of-letter
-# lookup in the language model backwards. This in practice exactly simulates
-# a visual Hebrew model using the windows-1255 logical Hebrew model.
-#
-# The HebrewProber is not using any language model. All it does is look for
-# final-letter evidence suggesting the text is either logical Hebrew or visual
-# Hebrew. Disjointed from the model probers, the results of the HebrewProber
-# alone are meaningless. HebrewProber always returns 0.00 as confidence
-# since it never identifies a charset by itself. Instead, the pointer to the
-# HebrewProber is passed to the model probers as a helper "Name Prober".
-# When the Group prober receives a positive identification from any prober,
-# it asks for the name of the charset identified. If the prober queried is a
-# Hebrew model prober, the model prober forwards the call to the
-# HebrewProber to make the final decision. In the HebrewProber, the
-# decision is made according to the final-letters scores maintained and Both
-# model probers scores. The answer is returned in the form of the name of the
-# charset identified, either "windows-1255" or "ISO-8859-8".
-
-
-class HebrewProber(CharSetProber):
-    SPACE = 0x20
-    # windows-1255 / ISO-8859-8 code points of interest
-    FINAL_KAF = 0xEA
-    NORMAL_KAF = 0xEB
-    FINAL_MEM = 0xED
-    NORMAL_MEM = 0xEE
-    FINAL_NUN = 0xEF
-    NORMAL_NUN = 0xF0
-    FINAL_PE = 0xF3
-    NORMAL_PE = 0xF4
-    FINAL_TSADI = 0xF5
-    NORMAL_TSADI = 0xF6
-
-    # Minimum Visual vs Logical final letter score difference.
-    # If the difference is below this, don't rely solely on the final letter score
-    # distance.
-    MIN_FINAL_CHAR_DISTANCE = 5
-
-    # Minimum Visual vs Logical model score difference.
-    # If the difference is below this, don't rely at all on the model score
-    # distance.
-    MIN_MODEL_DISTANCE = 0.01
-
-    VISUAL_HEBREW_NAME = "ISO-8859-8"
-    LOGICAL_HEBREW_NAME = "windows-1255"
-
-    def __init__(self) -> None:
-        super().__init__()
-        self._final_char_logical_score = 0
-        self._final_char_visual_score = 0
-        self._prev = self.SPACE
-        self._before_prev = self.SPACE
-        self._logical_prober: Optional[SingleByteCharSetProber] = None
-        self._visual_prober: Optional[SingleByteCharSetProber] = None
-        self.reset()
-
-    def reset(self) -> None:
-        self._final_char_logical_score = 0
-        self._final_char_visual_score = 0
-        # The two last characters seen in the previous buffer,
-        # mPrev and mBeforePrev are initialized to space in order to simulate
-        # a word delimiter at the beginning of the data
-        self._prev = self.SPACE
-        self._before_prev = self.SPACE
-        # These probers are owned by the group prober.
-
-    def set_model_probers(
-        self,
-        logical_prober: SingleByteCharSetProber,
-        visual_prober: SingleByteCharSetProber,
-    ) -> None:
-        self._logical_prober = logical_prober
-        self._visual_prober = visual_prober
-
-    def is_final(self, c: int) -> bool:
-        return c in [
-            self.FINAL_KAF,
-            self.FINAL_MEM,
-            self.FINAL_NUN,
-            self.FINAL_PE,
-            self.FINAL_TSADI,
-        ]
-
-    def is_non_final(self, c: int) -> bool:
-        # The normal Tsadi is not a good Non-Final letter due to words like
-        # 'lechotet' (to chat) containing an apostrophe after the tsadi. This
-        # apostrophe is converted to a space in FilterWithoutEnglishLetters
-        # causing the Non-Final tsadi to appear at an end of a word even
-        # though this is not the case in the original text.
-        # The letters Pe and Kaf rarely display a related behavior of not being
-        # a good Non-Final letter. Words like 'Pop', 'Winamp' and 'Mubarak'
-        # for example legally end with a Non-Final Pe or Kaf. However, the
-        # benefit of these letters as Non-Final letters outweighs the damage
-        # since these words are quite rare.
-        return c in [self.NORMAL_KAF, self.NORMAL_MEM, self.NORMAL_NUN, self.NORMAL_PE]
-
-    def feed(self, byte_str: Union[bytes, bytearray]) -> ProbingState:
-        # Final letter analysis for logical-visual decision.
-        # Look for evidence that the received buffer is either logical Hebrew
-        # or visual Hebrew.
-        # The following cases are checked:
-        # 1) A word longer than 1 letter, ending with a final letter. This is
-        #    an indication that the text is laid out "naturally" since the
-        #    final letter really appears at the end. +1 for logical score.
-        # 2) A word longer than 1 letter, ending with a Non-Final letter. In
-        #    normal Hebrew, words ending with Kaf, Mem, Nun, Pe or Tsadi,
-        #    should not end with the Non-Final form of that letter. Exceptions
-        #    to this rule are mentioned above in isNonFinal(). This is an
-        #    indication that the text is laid out backwards. +1 for visual
-        #    score
-        # 3) A word longer than 1 letter, starting with a final letter. Final
-        #    letters should not appear at the beginning of a word. This is an
-        #    indication that the text is laid out backwards. +1 for visual
-        #    score.
-        #
-        # The visual score and logical score are accumulated throughout the
-        # text and are finally checked against each other in GetCharSetName().
-        # No checking for final letters in the middle of words is done since
-        # that case is not an indication for either Logical or Visual text.
-        #
-        # We automatically filter out all 7-bit characters (replace them with
-        # spaces) so the word boundary detection works properly. [MAP]
-
-        if self.state == ProbingState.NOT_ME:
-            # Both model probers say it's not them. No reason to continue.
-            return ProbingState.NOT_ME
-
-        byte_str = self.filter_high_byte_only(byte_str)
-
-        for cur in byte_str:
-            if cur == self.SPACE:
-                # We stand on a space - a word just ended
-                if self._before_prev != self.SPACE:
-                    # next-to-last char was not a space so self._prev is not a
-                    # 1 letter word
-                    if self.is_final(self._prev):
-                        # case (1) [-2:not space][-1:final letter][cur:space]
-                        self._final_char_logical_score += 1
-                    elif self.is_non_final(self._prev):
-                        # case (2) [-2:not space][-1:Non-Final letter][
-                        #  cur:space]
-                        self._final_char_visual_score += 1
-            else:
-                # Not standing on a space
-                if (
-                    (self._before_prev == self.SPACE)
-                    and (self.is_final(self._prev))
-                    and (cur != self.SPACE)
-                ):
-                    # case (3) [-2:space][-1:final letter][cur:not space]
-                    self._final_char_visual_score += 1
-            self._before_prev = self._prev
-            self._prev = cur
-
-        # Forever detecting, till the end or until both model probers return
-        # ProbingState.NOT_ME (handled above)
-        return ProbingState.DETECTING
-
-    @property
-    def charset_name(self) -> str:
-        assert self._logical_prober is not None
-        assert self._visual_prober is not None
-
-        # Make the decision: is it Logical or Visual?
-        # If the final letter score distance is dominant enough, rely on it.
-        finalsub = self._final_char_logical_score - self._final_char_visual_score
-        if finalsub >= self.MIN_FINAL_CHAR_DISTANCE:
-            return self.LOGICAL_HEBREW_NAME
-        if finalsub <= -self.MIN_FINAL_CHAR_DISTANCE:
-            return self.VISUAL_HEBREW_NAME
-
-        # It's not dominant enough, try to rely on the model scores instead.
-        modelsub = (
-            self._logical_prober.get_confidence() - self._visual_prober.get_confidence()
-        )
-        if modelsub > self.MIN_MODEL_DISTANCE:
-            return self.LOGICAL_HEBREW_NAME
-        if modelsub < -self.MIN_MODEL_DISTANCE:
-            return self.VISUAL_HEBREW_NAME
-
-        # Still no good, back to final letter distance, maybe it'll save the
-        # day.
-        if finalsub < 0.0:
-            return self.VISUAL_HEBREW_NAME
-
-        # (finalsub > 0 - Logical) or (don't know what to do) default to
-        # Logical.
-        return self.LOGICAL_HEBREW_NAME
-
-    @property
-    def language(self) -> str:
-        return "Hebrew"
-
-    @property
-    def state(self) -> ProbingState:
-        assert self._logical_prober is not None
-        assert self._visual_prober is not None
-
-        # Remain active as long as any of the model probers are active.
-        if (self._logical_prober.state == ProbingState.NOT_ME) and (
-            self._visual_prober.state == ProbingState.NOT_ME
-        ):
-            return ProbingState.NOT_ME
-        return ProbingState.DETECTING
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/jisfreq.py b/.venv/Lib/site-packages/pip/_vendor/chardet/jisfreq.py
deleted file mode 100644
index 3293576..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/jisfreq.py
+++ /dev/null
@@ -1,325 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is Mozilla Communicator client code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-# Sampling from about 20M text materials include literature and computer technology
-#
-# Japanese frequency table, applied to both S-JIS and EUC-JP
-# They are sorted in order.
-
-# 128  --> 0.77094
-# 256  --> 0.85710
-# 512  --> 0.92635
-# 1024 --> 0.97130
-# 2048 --> 0.99431
-#
-# Ideal Distribution Ratio = 0.92635 / (1-0.92635) = 12.58
-# Random Distribution Ration = 512 / (2965+62+83+86-512) = 0.191
-#
-# Typical Distribution Ratio, 25% of IDR
-
-JIS_TYPICAL_DISTRIBUTION_RATIO = 3.0
-
-# Char to FreqOrder table ,
-JIS_TABLE_SIZE = 4368
-
-# fmt: off
-JIS_CHAR_TO_FREQ_ORDER = (
-  40,   1,   6, 182, 152, 180, 295,2127, 285, 381,3295,4304,3068,4606,3165,3510, #   16
-3511,1822,2785,4607,1193,2226,5070,4608, 171,2996,1247,  18, 179,5071, 856,1661, #   32
-1262,5072, 619, 127,3431,3512,3230,1899,1700, 232, 228,1294,1298, 284, 283,2041, #   48
-2042,1061,1062,  48,  49,  44,  45, 433, 434,1040,1041, 996, 787,2997,1255,4305, #   64
-2108,4609,1684,1648,5073,5074,5075,5076,5077,5078,3687,5079,4610,5080,3927,3928, #   80
-5081,3296,3432, 290,2285,1471,2187,5082,2580,2825,1303,2140,1739,1445,2691,3375, #   96
-1691,3297,4306,4307,4611, 452,3376,1182,2713,3688,3069,4308,5083,5084,5085,5086, #  112
-5087,5088,5089,5090,5091,5092,5093,5094,5095,5096,5097,5098,5099,5100,5101,5102, #  128
-5103,5104,5105,5106,5107,5108,5109,5110,5111,5112,4097,5113,5114,5115,5116,5117, #  144
-5118,5119,5120,5121,5122,5123,5124,5125,5126,5127,5128,5129,5130,5131,5132,5133, #  160
-5134,5135,5136,5137,5138,5139,5140,5141,5142,5143,5144,5145,5146,5147,5148,5149, #  176
-5150,5151,5152,4612,5153,5154,5155,5156,5157,5158,5159,5160,5161,5162,5163,5164, #  192
-5165,5166,5167,5168,5169,5170,5171,5172,5173,5174,5175,1472, 598, 618, 820,1205, #  208
-1309,1412,1858,1307,1692,5176,5177,5178,5179,5180,5181,5182,1142,1452,1234,1172, #  224
-1875,2043,2149,1793,1382,2973, 925,2404,1067,1241, 960,1377,2935,1491, 919,1217, #  240
-1865,2030,1406,1499,2749,4098,5183,5184,5185,5186,5187,5188,2561,4099,3117,1804, #  256
-2049,3689,4309,3513,1663,5189,3166,3118,3298,1587,1561,3433,5190,3119,1625,2998, #  272
-3299,4613,1766,3690,2786,4614,5191,5192,5193,5194,2161,  26,3377,   2,3929,  20, #  288
-3691,  47,4100,  50,  17,  16,  35, 268,  27, 243,  42, 155,  24, 154,  29, 184, #  304
-   4,  91,  14,  92,  53, 396,  33, 289,   9,  37,  64, 620,  21,  39, 321,   5, #  320
-  12,  11,  52,  13,   3, 208, 138,   0,   7,  60, 526, 141, 151,1069, 181, 275, #  336
-1591,  83, 132,1475, 126, 331, 829,  15,  69, 160,  59,  22, 157,  55,1079, 312, #  352
- 109,  38,  23,  25,  10,  19,  79,5195,  61, 382,1124,   8,  30,5196,5197,5198, #  368
-5199,5200,5201,5202,5203,5204,5205,5206,  89,  62,  74,  34,2416, 112, 139, 196, #  384
- 271, 149,  84, 607, 131, 765,  46,  88, 153, 683,  76, 874, 101, 258,  57,  80, #  400
-  32, 364, 121,1508, 169,1547,  68, 235, 145,2999,  41, 360,3027,  70,  63,  31, #  416
-  43, 259, 262,1383,  99, 533, 194,  66,  93, 846, 217, 192,  56, 106,  58, 565, #  432
- 280, 272, 311, 256, 146,  82, 308,  71, 100, 128, 214, 655, 110, 261, 104,1140, #  448
-  54,  51,  36,  87,  67,3070, 185,2618,2936,2020,  28,1066,2390,2059,5207,5208, #  464
-5209,5210,5211,5212,5213,5214,5215,5216,4615,5217,5218,5219,5220,5221,5222,5223, #  480
-5224,5225,5226,5227,5228,5229,5230,5231,5232,5233,5234,5235,5236,3514,5237,5238, #  496
-5239,5240,5241,5242,5243,5244,2297,2031,4616,4310,3692,5245,3071,5246,3598,5247, #  512
-4617,3231,3515,5248,4101,4311,4618,3808,4312,4102,5249,4103,4104,3599,5250,5251, #  528
-5252,5253,5254,5255,5256,5257,5258,5259,5260,5261,5262,5263,5264,5265,5266,5267, #  544
-5268,5269,5270,5271,5272,5273,5274,5275,5276,5277,5278,5279,5280,5281,5282,5283, #  560
-5284,5285,5286,5287,5288,5289,5290,5291,5292,5293,5294,5295,5296,5297,5298,5299, #  576
-5300,5301,5302,5303,5304,5305,5306,5307,5308,5309,5310,5311,5312,5313,5314,5315, #  592
-5316,5317,5318,5319,5320,5321,5322,5323,5324,5325,5326,5327,5328,5329,5330,5331, #  608
-5332,5333,5334,5335,5336,5337,5338,5339,5340,5341,5342,5343,5344,5345,5346,5347, #  624
-5348,5349,5350,5351,5352,5353,5354,5355,5356,5357,5358,5359,5360,5361,5362,5363, #  640
-5364,5365,5366,5367,5368,5369,5370,5371,5372,5373,5374,5375,5376,5377,5378,5379, #  656
-5380,5381, 363, 642,2787,2878,2788,2789,2316,3232,2317,3434,2011, 165,1942,3930, #  672
-3931,3932,3933,5382,4619,5383,4620,5384,5385,5386,5387,5388,5389,5390,5391,5392, #  688
-5393,5394,5395,5396,5397,5398,5399,5400,5401,5402,5403,5404,5405,5406,5407,5408, #  704
-5409,5410,5411,5412,5413,5414,5415,5416,5417,5418,5419,5420,5421,5422,5423,5424, #  720
-5425,5426,5427,5428,5429,5430,5431,5432,5433,5434,5435,5436,5437,5438,5439,5440, #  736
-5441,5442,5443,5444,5445,5446,5447,5448,5449,5450,5451,5452,5453,5454,5455,5456, #  752
-5457,5458,5459,5460,5461,5462,5463,5464,5465,5466,5467,5468,5469,5470,5471,5472, #  768
-5473,5474,5475,5476,5477,5478,5479,5480,5481,5482,5483,5484,5485,5486,5487,5488, #  784
-5489,5490,5491,5492,5493,5494,5495,5496,5497,5498,5499,5500,5501,5502,5503,5504, #  800
-5505,5506,5507,5508,5509,5510,5511,5512,5513,5514,5515,5516,5517,5518,5519,5520, #  816
-5521,5522,5523,5524,5525,5526,5527,5528,5529,5530,5531,5532,5533,5534,5535,5536, #  832
-5537,5538,5539,5540,5541,5542,5543,5544,5545,5546,5547,5548,5549,5550,5551,5552, #  848
-5553,5554,5555,5556,5557,5558,5559,5560,5561,5562,5563,5564,5565,5566,5567,5568, #  864
-5569,5570,5571,5572,5573,5574,5575,5576,5577,5578,5579,5580,5581,5582,5583,5584, #  880
-5585,5586,5587,5588,5589,5590,5591,5592,5593,5594,5595,5596,5597,5598,5599,5600, #  896
-5601,5602,5603,5604,5605,5606,5607,5608,5609,5610,5611,5612,5613,5614,5615,5616, #  912
-5617,5618,5619,5620,5621,5622,5623,5624,5625,5626,5627,5628,5629,5630,5631,5632, #  928
-5633,5634,5635,5636,5637,5638,5639,5640,5641,5642,5643,5644,5645,5646,5647,5648, #  944
-5649,5650,5651,5652,5653,5654,5655,5656,5657,5658,5659,5660,5661,5662,5663,5664, #  960
-5665,5666,5667,5668,5669,5670,5671,5672,5673,5674,5675,5676,5677,5678,5679,5680, #  976
-5681,5682,5683,5684,5685,5686,5687,5688,5689,5690,5691,5692,5693,5694,5695,5696, #  992
-5697,5698,5699,5700,5701,5702,5703,5704,5705,5706,5707,5708,5709,5710,5711,5712, # 1008
-5713,5714,5715,5716,5717,5718,5719,5720,5721,5722,5723,5724,5725,5726,5727,5728, # 1024
-5729,5730,5731,5732,5733,5734,5735,5736,5737,5738,5739,5740,5741,5742,5743,5744, # 1040
-5745,5746,5747,5748,5749,5750,5751,5752,5753,5754,5755,5756,5757,5758,5759,5760, # 1056
-5761,5762,5763,5764,5765,5766,5767,5768,5769,5770,5771,5772,5773,5774,5775,5776, # 1072
-5777,5778,5779,5780,5781,5782,5783,5784,5785,5786,5787,5788,5789,5790,5791,5792, # 1088
-5793,5794,5795,5796,5797,5798,5799,5800,5801,5802,5803,5804,5805,5806,5807,5808, # 1104
-5809,5810,5811,5812,5813,5814,5815,5816,5817,5818,5819,5820,5821,5822,5823,5824, # 1120
-5825,5826,5827,5828,5829,5830,5831,5832,5833,5834,5835,5836,5837,5838,5839,5840, # 1136
-5841,5842,5843,5844,5845,5846,5847,5848,5849,5850,5851,5852,5853,5854,5855,5856, # 1152
-5857,5858,5859,5860,5861,5862,5863,5864,5865,5866,5867,5868,5869,5870,5871,5872, # 1168
-5873,5874,5875,5876,5877,5878,5879,5880,5881,5882,5883,5884,5885,5886,5887,5888, # 1184
-5889,5890,5891,5892,5893,5894,5895,5896,5897,5898,5899,5900,5901,5902,5903,5904, # 1200
-5905,5906,5907,5908,5909,5910,5911,5912,5913,5914,5915,5916,5917,5918,5919,5920, # 1216
-5921,5922,5923,5924,5925,5926,5927,5928,5929,5930,5931,5932,5933,5934,5935,5936, # 1232
-5937,5938,5939,5940,5941,5942,5943,5944,5945,5946,5947,5948,5949,5950,5951,5952, # 1248
-5953,5954,5955,5956,5957,5958,5959,5960,5961,5962,5963,5964,5965,5966,5967,5968, # 1264
-5969,5970,5971,5972,5973,5974,5975,5976,5977,5978,5979,5980,5981,5982,5983,5984, # 1280
-5985,5986,5987,5988,5989,5990,5991,5992,5993,5994,5995,5996,5997,5998,5999,6000, # 1296
-6001,6002,6003,6004,6005,6006,6007,6008,6009,6010,6011,6012,6013,6014,6015,6016, # 1312
-6017,6018,6019,6020,6021,6022,6023,6024,6025,6026,6027,6028,6029,6030,6031,6032, # 1328
-6033,6034,6035,6036,6037,6038,6039,6040,6041,6042,6043,6044,6045,6046,6047,6048, # 1344
-6049,6050,6051,6052,6053,6054,6055,6056,6057,6058,6059,6060,6061,6062,6063,6064, # 1360
-6065,6066,6067,6068,6069,6070,6071,6072,6073,6074,6075,6076,6077,6078,6079,6080, # 1376
-6081,6082,6083,6084,6085,6086,6087,6088,6089,6090,6091,6092,6093,6094,6095,6096, # 1392
-6097,6098,6099,6100,6101,6102,6103,6104,6105,6106,6107,6108,6109,6110,6111,6112, # 1408
-6113,6114,2044,2060,4621, 997,1235, 473,1186,4622, 920,3378,6115,6116, 379,1108, # 1424
-4313,2657,2735,3934,6117,3809, 636,3233, 573,1026,3693,3435,2974,3300,2298,4105, # 1440
- 854,2937,2463, 393,2581,2417, 539, 752,1280,2750,2480, 140,1161, 440, 708,1569, # 1456
- 665,2497,1746,1291,1523,3000, 164,1603, 847,1331, 537,1997, 486, 508,1693,2418, # 1472
-1970,2227, 878,1220, 299,1030, 969, 652,2751, 624,1137,3301,2619,  65,3302,2045, # 1488
-1761,1859,3120,1930,3694,3516, 663,1767, 852, 835,3695, 269, 767,2826,2339,1305, # 1504
- 896,1150, 770,1616,6118, 506,1502,2075,1012,2519, 775,2520,2975,2340,2938,4314, # 1520
-3028,2086,1224,1943,2286,6119,3072,4315,2240,1273,1987,3935,1557, 175, 597, 985, # 1536
-3517,2419,2521,1416,3029, 585, 938,1931,1007,1052,1932,1685,6120,3379,4316,4623, # 1552
- 804, 599,3121,1333,2128,2539,1159,1554,2032,3810, 687,2033,2904, 952, 675,1467, # 1568
-3436,6121,2241,1096,1786,2440,1543,1924, 980,1813,2228, 781,2692,1879, 728,1918, # 1584
-3696,4624, 548,1950,4625,1809,1088,1356,3303,2522,1944, 502, 972, 373, 513,2827, # 1600
- 586,2377,2391,1003,1976,1631,6122,2464,1084, 648,1776,4626,2141, 324, 962,2012, # 1616
-2177,2076,1384, 742,2178,1448,1173,1810, 222, 102, 301, 445, 125,2420, 662,2498, # 1632
- 277, 200,1476,1165,1068, 224,2562,1378,1446, 450,1880, 659, 791, 582,4627,2939, # 1648
-3936,1516,1274, 555,2099,3697,1020,1389,1526,3380,1762,1723,1787,2229, 412,2114, # 1664
-1900,2392,3518, 512,2597, 427,1925,2341,3122,1653,1686,2465,2499, 697, 330, 273, # 1680
- 380,2162, 951, 832, 780, 991,1301,3073, 965,2270,3519, 668,2523,2636,1286, 535, # 1696
-1407, 518, 671, 957,2658,2378, 267, 611,2197,3030,6123, 248,2299, 967,1799,2356, # 1712
- 850,1418,3437,1876,1256,1480,2828,1718,6124,6125,1755,1664,2405,6126,4628,2879, # 1728
-2829, 499,2179, 676,4629, 557,2329,2214,2090, 325,3234, 464, 811,3001, 992,2342, # 1744
-2481,1232,1469, 303,2242, 466,1070,2163, 603,1777,2091,4630,2752,4631,2714, 322, # 1760
-2659,1964,1768, 481,2188,1463,2330,2857,3600,2092,3031,2421,4632,2318,2070,1849, # 1776
-2598,4633,1302,2254,1668,1701,2422,3811,2905,3032,3123,2046,4106,1763,1694,4634, # 1792
-1604, 943,1724,1454, 917, 868,2215,1169,2940, 552,1145,1800,1228,1823,1955, 316, # 1808
-1080,2510, 361,1807,2830,4107,2660,3381,1346,1423,1134,4108,6127, 541,1263,1229, # 1824
-1148,2540, 545, 465,1833,2880,3438,1901,3074,2482, 816,3937, 713,1788,2500, 122, # 1840
-1575, 195,1451,2501,1111,6128, 859, 374,1225,2243,2483,4317, 390,1033,3439,3075, # 1856
-2524,1687, 266, 793,1440,2599, 946, 779, 802, 507, 897,1081, 528,2189,1292, 711, # 1872
-1866,1725,1167,1640, 753, 398,2661,1053, 246, 348,4318, 137,1024,3440,1600,2077, # 1888
-2129, 825,4319, 698, 238, 521, 187,2300,1157,2423,1641,1605,1464,1610,1097,2541, # 1904
-1260,1436, 759,2255,1814,2150, 705,3235, 409,2563,3304, 561,3033,2005,2564, 726, # 1920
-1956,2343,3698,4109, 949,3812,3813,3520,1669, 653,1379,2525, 881,2198, 632,2256, # 1936
-1027, 778,1074, 733,1957, 514,1481,2466, 554,2180, 702,3938,1606,1017,1398,6129, # 1952
-1380,3521, 921, 993,1313, 594, 449,1489,1617,1166, 768,1426,1360, 495,1794,3601, # 1968
-1177,3602,1170,4320,2344, 476, 425,3167,4635,3168,1424, 401,2662,1171,3382,1998, # 1984
-1089,4110, 477,3169, 474,6130,1909, 596,2831,1842, 494, 693,1051,1028,1207,3076, # 2000
- 606,2115, 727,2790,1473,1115, 743,3522, 630, 805,1532,4321,2021, 366,1057, 838, # 2016
- 684,1114,2142,4322,2050,1492,1892,1808,2271,3814,2424,1971,1447,1373,3305,1090, # 2032
-1536,3939,3523,3306,1455,2199, 336, 369,2331,1035, 584,2393, 902, 718,2600,6131, # 2048
-2753, 463,2151,1149,1611,2467, 715,1308,3124,1268, 343,1413,3236,1517,1347,2663, # 2064
-2093,3940,2022,1131,1553,2100,2941,1427,3441,2942,1323,2484,6132,1980, 872,2368, # 2080
-2441,2943, 320,2369,2116,1082, 679,1933,3941,2791,3815, 625,1143,2023, 422,2200, # 2096
-3816,6133, 730,1695, 356,2257,1626,2301,2858,2637,1627,1778, 937, 883,2906,2693, # 2112
-3002,1769,1086, 400,1063,1325,3307,2792,4111,3077, 456,2345,1046, 747,6134,1524, # 2128
- 884,1094,3383,1474,2164,1059, 974,1688,2181,2258,1047, 345,1665,1187, 358, 875, # 2144
-3170, 305, 660,3524,2190,1334,1135,3171,1540,1649,2542,1527, 927, 968,2793, 885, # 2160
-1972,1850, 482, 500,2638,1218,1109,1085,2543,1654,2034, 876,  78,2287,1482,1277, # 2176
- 861,1675,1083,1779, 724,2754, 454, 397,1132,1612,2332, 893, 672,1237, 257,2259, # 2192
-2370, 135,3384, 337,2244, 547, 352, 340, 709,2485,1400, 788,1138,2511, 540, 772, # 2208
-1682,2260,2272,2544,2013,1843,1902,4636,1999,1562,2288,4637,2201,1403,1533, 407, # 2224
- 576,3308,1254,2071, 978,3385, 170, 136,1201,3125,2664,3172,2394, 213, 912, 873, # 2240
-3603,1713,2202, 699,3604,3699, 813,3442, 493, 531,1054, 468,2907,1483, 304, 281, # 2256
-4112,1726,1252,2094, 339,2319,2130,2639, 756,1563,2944, 748, 571,2976,1588,2425, # 2272
-2715,1851,1460,2426,1528,1392,1973,3237, 288,3309, 685,3386, 296, 892,2716,2216, # 2288
-1570,2245, 722,1747,2217, 905,3238,1103,6135,1893,1441,1965, 251,1805,2371,3700, # 2304
-2601,1919,1078,  75,2182,1509,1592,1270,2640,4638,2152,6136,3310,3817, 524, 706, # 2320
-1075, 292,3818,1756,2602, 317,  98,3173,3605,3525,1844,2218,3819,2502, 814, 567, # 2336
- 385,2908,1534,6137, 534,1642,3239, 797,6138,1670,1529, 953,4323, 188,1071, 538, # 2352
- 178, 729,3240,2109,1226,1374,2000,2357,2977, 731,2468,1116,2014,2051,6139,1261, # 2368
-1593, 803,2859,2736,3443, 556, 682, 823,1541,6140,1369,2289,1706,2794, 845, 462, # 2384
-2603,2665,1361, 387, 162,2358,1740, 739,1770,1720,1304,1401,3241,1049, 627,1571, # 2400
-2427,3526,1877,3942,1852,1500, 431,1910,1503, 677, 297,2795, 286,1433,1038,1198, # 2416
-2290,1133,1596,4113,4639,2469,1510,1484,3943,6141,2442, 108, 712,4640,2372, 866, # 2432
-3701,2755,3242,1348, 834,1945,1408,3527,2395,3243,1811, 824, 994,1179,2110,1548, # 2448
-1453, 790,3003, 690,4324,4325,2832,2909,3820,1860,3821, 225,1748, 310, 346,1780, # 2464
-2470, 821,1993,2717,2796, 828, 877,3528,2860,2471,1702,2165,2910,2486,1789, 453, # 2480
- 359,2291,1676,  73,1164,1461,1127,3311, 421, 604, 314,1037, 589, 116,2487, 737, # 2496
- 837,1180, 111, 244, 735,6142,2261,1861,1362, 986, 523, 418, 581,2666,3822, 103, # 2512
- 855, 503,1414,1867,2488,1091, 657,1597, 979, 605,1316,4641,1021,2443,2078,2001, # 2528
-1209,  96, 587,2166,1032, 260,1072,2153, 173,  94, 226,3244, 819,2006,4642,4114, # 2544
-2203, 231,1744, 782,  97,2667, 786,3387, 887, 391, 442,2219,4326,1425,6143,2694, # 2560
- 633,1544,1202, 483,2015, 592,2052,1958,2472,1655, 419, 129,4327,3444,3312,1714, # 2576
-1257,3078,4328,1518,1098, 865,1310,1019,1885,1512,1734, 469,2444, 148, 773, 436, # 2592
-1815,1868,1128,1055,4329,1245,2756,3445,2154,1934,1039,4643, 579,1238, 932,2320, # 2608
- 353, 205, 801, 115,2428, 944,2321,1881, 399,2565,1211, 678, 766,3944, 335,2101, # 2624
-1459,1781,1402,3945,2737,2131,1010, 844, 981,1326,1013, 550,1816,1545,2620,1335, # 2640
-1008, 371,2881, 936,1419,1613,3529,1456,1395,2273,1834,2604,1317,2738,2503, 416, # 2656
-1643,4330, 806,1126, 229, 591,3946,1314,1981,1576,1837,1666, 347,1790, 977,3313, # 2672
- 764,2861,1853, 688,2429,1920,1462,  77, 595, 415,2002,3034, 798,1192,4115,6144, # 2688
-2978,4331,3035,2695,2582,2072,2566, 430,2430,1727, 842,1396,3947,3702, 613, 377, # 2704
- 278, 236,1417,3388,3314,3174, 757,1869, 107,3530,6145,1194, 623,2262, 207,1253, # 2720
-2167,3446,3948, 492,1117,1935, 536,1838,2757,1246,4332, 696,2095,2406,1393,1572, # 2736
-3175,1782, 583, 190, 253,1390,2230, 830,3126,3389, 934,3245,1703,1749,2979,1870, # 2752
-2545,1656,2204, 869,2346,4116,3176,1817, 496,1764,4644, 942,1504, 404,1903,1122, # 2768
-1580,3606,2945,1022, 515, 372,1735, 955,2431,3036,6146,2797,1110,2302,2798, 617, # 2784
-6147, 441, 762,1771,3447,3607,3608,1904, 840,3037,  86, 939,1385, 572,1370,2445, # 2800
-1336, 114,3703, 898, 294, 203,3315, 703,1583,2274, 429, 961,4333,1854,1951,3390, # 2816
-2373,3704,4334,1318,1381, 966,1911,2322,1006,1155, 309, 989, 458,2718,1795,1372, # 2832
-1203, 252,1689,1363,3177, 517,1936, 168,1490, 562, 193,3823,1042,4117,1835, 551, # 2848
- 470,4645, 395, 489,3448,1871,1465,2583,2641, 417,1493, 279,1295, 511,1236,1119, # 2864
-  72,1231,1982,1812,3004, 871,1564, 984,3449,1667,2696,2096,4646,2347,2833,1673, # 2880
-3609, 695,3246,2668, 807,1183,4647, 890, 388,2333,1801,1457,2911,1765,1477,1031, # 2896
-3316,3317,1278,3391,2799,2292,2526, 163,3450,4335,2669,1404,1802,6148,2323,2407, # 2912
-1584,1728,1494,1824,1269, 298, 909,3318,1034,1632, 375, 776,1683,2061, 291, 210, # 2928
-1123, 809,1249,1002,2642,3038, 206,1011,2132, 144, 975, 882,1565, 342, 667, 754, # 2944
-1442,2143,1299,2303,2062, 447, 626,2205,1221,2739,2912,1144,1214,2206,2584, 760, # 2960
-1715, 614, 950,1281,2670,2621, 810, 577,1287,2546,4648, 242,2168, 250,2643, 691, # 2976
- 123,2644, 647, 313,1029, 689,1357,2946,1650, 216, 771,1339,1306, 808,2063, 549, # 2992
- 913,1371,2913,2914,6149,1466,1092,1174,1196,1311,2605,2396,1783,1796,3079, 406, # 3008
-2671,2117,3949,4649, 487,1825,2220,6150,2915, 448,2348,1073,6151,2397,1707, 130, # 3024
- 900,1598, 329, 176,1959,2527,1620,6152,2275,4336,3319,1983,2191,3705,3610,2155, # 3040
-3706,1912,1513,1614,6153,1988, 646, 392,2304,1589,3320,3039,1826,1239,1352,1340, # 3056
-2916, 505,2567,1709,1437,2408,2547, 906,6154,2672, 384,1458,1594,1100,1329, 710, # 3072
- 423,3531,2064,2231,2622,1989,2673,1087,1882, 333, 841,3005,1296,2882,2379, 580, # 3088
-1937,1827,1293,2585, 601, 574, 249,1772,4118,2079,1120, 645, 901,1176,1690, 795, # 3104
-2207, 478,1434, 516,1190,1530, 761,2080, 930,1264, 355, 435,1552, 644,1791, 987, # 3120
- 220,1364,1163,1121,1538, 306,2169,1327,1222, 546,2645, 218, 241, 610,1704,3321, # 3136
-1984,1839,1966,2528, 451,6155,2586,3707,2568, 907,3178, 254,2947, 186,1845,4650, # 3152
- 745, 432,1757, 428,1633, 888,2246,2221,2489,3611,2118,1258,1265, 956,3127,1784, # 3168
-4337,2490, 319, 510, 119, 457,3612, 274,2035,2007,4651,1409,3128, 970,2758, 590, # 3184
-2800, 661,2247,4652,2008,3950,1420,1549,3080,3322,3951,1651,1375,2111, 485,2491, # 3200
-1429,1156,6156,2548,2183,1495, 831,1840,2529,2446, 501,1657, 307,1894,3247,1341, # 3216
- 666, 899,2156,1539,2549,1559, 886, 349,2208,3081,2305,1736,3824,2170,2759,1014, # 3232
-1913,1386, 542,1397,2948, 490, 368, 716, 362, 159, 282,2569,1129,1658,1288,1750, # 3248
-2674, 276, 649,2016, 751,1496, 658,1818,1284,1862,2209,2087,2512,3451, 622,2834, # 3264
- 376, 117,1060,2053,1208,1721,1101,1443, 247,1250,3179,1792,3952,2760,2398,3953, # 3280
-6157,2144,3708, 446,2432,1151,2570,3452,2447,2761,2835,1210,2448,3082, 424,2222, # 3296
-1251,2449,2119,2836, 504,1581,4338, 602, 817, 857,3825,2349,2306, 357,3826,1470, # 3312
-1883,2883, 255, 958, 929,2917,3248, 302,4653,1050,1271,1751,2307,1952,1430,2697, # 3328
-2719,2359, 354,3180, 777, 158,2036,4339,1659,4340,4654,2308,2949,2248,1146,2232, # 3344
-3532,2720,1696,2623,3827,6158,3129,1550,2698,1485,1297,1428, 637, 931,2721,2145, # 3360
- 914,2550,2587,  81,2450, 612, 827,2646,1242,4655,1118,2884, 472,1855,3181,3533, # 3376
-3534, 569,1353,2699,1244,1758,2588,4119,2009,2762,2171,3709,1312,1531,6159,1152, # 3392
-1938, 134,1830, 471,3710,2276,1112,1535,3323,3453,3535, 982,1337,2950, 488, 826, # 3408
- 674,1058,1628,4120,2017, 522,2399, 211, 568,1367,3454, 350, 293,1872,1139,3249, # 3424
-1399,1946,3006,1300,2360,3324, 588, 736,6160,2606, 744, 669,3536,3828,6161,1358, # 3440
- 199, 723, 848, 933, 851,1939,1505,1514,1338,1618,1831,4656,1634,3613, 443,2740, # 3456
-3829, 717,1947, 491,1914,6162,2551,1542,4121,1025,6163,1099,1223, 198,3040,2722, # 3472
- 370, 410,1905,2589, 998,1248,3182,2380, 519,1449,4122,1710, 947, 928,1153,4341, # 3488
-2277, 344,2624,1511, 615, 105, 161,1212,1076,1960,3130,2054,1926,1175,1906,2473, # 3504
- 414,1873,2801,6164,2309, 315,1319,3325, 318,2018,2146,2157, 963, 631, 223,4342, # 3520
-4343,2675, 479,3711,1197,2625,3712,2676,2361,6165,4344,4123,6166,2451,3183,1886, # 3536
-2184,1674,1330,1711,1635,1506, 799, 219,3250,3083,3954,1677,3713,3326,2081,3614, # 3552
-1652,2073,4657,1147,3041,1752, 643,1961, 147,1974,3955,6167,1716,2037, 918,3007, # 3568
-1994, 120,1537, 118, 609,3184,4345, 740,3455,1219, 332,1615,3830,6168,1621,2980, # 3584
-1582, 783, 212, 553,2350,3714,1349,2433,2082,4124, 889,6169,2310,1275,1410, 973, # 3600
- 166,1320,3456,1797,1215,3185,2885,1846,2590,2763,4658, 629, 822,3008, 763, 940, # 3616
-1990,2862, 439,2409,1566,1240,1622, 926,1282,1907,2764, 654,2210,1607, 327,1130, # 3632
-3956,1678,1623,6170,2434,2192, 686, 608,3831,3715, 903,3957,3042,6171,2741,1522, # 3648
-1915,1105,1555,2552,1359, 323,3251,4346,3457, 738,1354,2553,2311,2334,1828,2003, # 3664
-3832,1753,2351,1227,6172,1887,4125,1478,6173,2410,1874,1712,1847, 520,1204,2607, # 3680
- 264,4659, 836,2677,2102, 600,4660,3833,2278,3084,6174,4347,3615,1342, 640, 532, # 3696
- 543,2608,1888,2400,2591,1009,4348,1497, 341,1737,3616,2723,1394, 529,3252,1321, # 3712
- 983,4661,1515,2120, 971,2592, 924, 287,1662,3186,4349,2700,4350,1519, 908,1948, # 3728
-2452, 156, 796,1629,1486,2223,2055, 694,4126,1259,1036,3392,1213,2249,2742,1889, # 3744
-1230,3958,1015, 910, 408, 559,3617,4662, 746, 725, 935,4663,3959,3009,1289, 563, # 3760
- 867,4664,3960,1567,2981,2038,2626, 988,2263,2381,4351, 143,2374, 704,1895,6175, # 3776
-1188,3716,2088, 673,3085,2362,4352, 484,1608,1921,2765,2918, 215, 904,3618,3537, # 3792
- 894, 509, 976,3043,2701,3961,4353,2837,2982, 498,6176,6177,1102,3538,1332,3393, # 3808
-1487,1636,1637, 233, 245,3962, 383, 650, 995,3044, 460,1520,1206,2352, 749,3327, # 3824
- 530, 700, 389,1438,1560,1773,3963,2264, 719,2951,2724,3834, 870,1832,1644,1000, # 3840
- 839,2474,3717, 197,1630,3394, 365,2886,3964,1285,2133, 734, 922, 818,1106, 732, # 3856
- 480,2083,1774,3458, 923,2279,1350, 221,3086,  85,2233,2234,3835,1585,3010,2147, # 3872
-1387,1705,2382,1619,2475, 133, 239,2802,1991,1016,2084,2383, 411,2838,1113, 651, # 3888
-1985,1160,3328, 990,1863,3087,1048,1276,2647, 265,2627,1599,3253,2056, 150, 638, # 3904
-2019, 656, 853, 326,1479, 680,1439,4354,1001,1759, 413,3459,3395,2492,1431, 459, # 3920
-4355,1125,3329,2265,1953,1450,2065,2863, 849, 351,2678,3131,3254,3255,1104,1577, # 3936
- 227,1351,1645,2453,2193,1421,2887, 812,2121, 634,  95,2435, 201,2312,4665,1646, # 3952
-1671,2743,1601,2554,2702,2648,2280,1315,1366,2089,3132,1573,3718,3965,1729,1189, # 3968
- 328,2679,1077,1940,1136, 558,1283, 964,1195, 621,2074,1199,1743,3460,3619,1896, # 3984
-1916,1890,3836,2952,1154,2112,1064, 862, 378,3011,2066,2113,2803,1568,2839,6178, # 4000
-3088,2919,1941,1660,2004,1992,2194, 142, 707,1590,1708,1624,1922,1023,1836,1233, # 4016
-1004,2313, 789, 741,3620,6179,1609,2411,1200,4127,3719,3720,4666,2057,3721, 593, # 4032
-2840, 367,2920,1878,6180,3461,1521, 628,1168, 692,2211,2649, 300, 720,2067,2571, # 4048
-2953,3396, 959,2504,3966,3539,3462,1977, 701,6181, 954,1043, 800, 681, 183,3722, # 4064
-1803,1730,3540,4128,2103, 815,2314, 174, 467, 230,2454,1093,2134, 755,3541,3397, # 4080
-1141,1162,6182,1738,2039, 270,3256,2513,1005,1647,2185,3837, 858,1679,1897,1719, # 4096
-2954,2324,1806, 402, 670, 167,4129,1498,2158,2104, 750,6183, 915, 189,1680,1551, # 4112
- 455,4356,1501,2455, 405,1095,2955, 338,1586,1266,1819, 570, 641,1324, 237,1556, # 4128
-2650,1388,3723,6184,1368,2384,1343,1978,3089,2436, 879,3724, 792,1191, 758,3012, # 4144
-1411,2135,1322,4357, 240,4667,1848,3725,1574,6185, 420,3045,1546,1391, 714,4358, # 4160
-1967, 941,1864, 863, 664, 426, 560,1731,2680,1785,2864,1949,2363, 403,3330,1415, # 4176
-1279,2136,1697,2335, 204, 721,2097,3838,  90,6186,2085,2505, 191,3967, 124,2148, # 4192
-1376,1798,1178,1107,1898,1405, 860,4359,1243,1272,2375,2983,1558,2456,1638, 113, # 4208
-3621, 578,1923,2609, 880, 386,4130, 784,2186,2266,1422,2956,2172,1722, 497, 263, # 4224
-2514,1267,2412,2610, 177,2703,3542, 774,1927,1344, 616,1432,1595,1018, 172,4360, # 4240
-2325, 911,4361, 438,1468,3622, 794,3968,2024,2173,1681,1829,2957, 945, 895,3090, # 4256
- 575,2212,2476, 475,2401,2681, 785,2744,1745,2293,2555,1975,3133,2865, 394,4668, # 4272
-3839, 635,4131, 639, 202,1507,2195,2766,1345,1435,2572,3726,1908,1184,1181,2457, # 4288
-3727,3134,4362, 843,2611, 437, 916,4669, 234, 769,1884,3046,3047,3623, 833,6187, # 4304
-1639,2250,2402,1355,1185,2010,2047, 999, 525,1732,1290,1488,2612, 948,1578,3728, # 4320
-2413,2477,1216,2725,2159, 334,3840,1328,3624,2921,1525,4132, 564,1056, 891,4363, # 4336
-1444,1698,2385,2251,3729,1365,2281,2235,1717,6188, 864,3841,2515, 444, 527,2767, # 4352
-2922,3625, 544, 461,6189, 566, 209,2437,3398,2098,1065,2068,3331,3626,3257,2137, # 4368  #last 512
-)
-# fmt: on
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/johabfreq.py b/.venv/Lib/site-packages/pip/_vendor/chardet/johabfreq.py
deleted file mode 100644
index c129699..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/johabfreq.py
+++ /dev/null
@@ -1,2382 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is Mozilla Communicator client code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-# The frequency data itself is the same as euc-kr.
-# This is just a mapping table to euc-kr.
-
-JOHAB_TO_EUCKR_ORDER_TABLE = {
-    0x8861: 0,
-    0x8862: 1,
-    0x8865: 2,
-    0x8868: 3,
-    0x8869: 4,
-    0x886A: 5,
-    0x886B: 6,
-    0x8871: 7,
-    0x8873: 8,
-    0x8874: 9,
-    0x8875: 10,
-    0x8876: 11,
-    0x8877: 12,
-    0x8878: 13,
-    0x8879: 14,
-    0x887B: 15,
-    0x887C: 16,
-    0x887D: 17,
-    0x8881: 18,
-    0x8882: 19,
-    0x8885: 20,
-    0x8889: 21,
-    0x8891: 22,
-    0x8893: 23,
-    0x8895: 24,
-    0x8896: 25,
-    0x8897: 26,
-    0x88A1: 27,
-    0x88A2: 28,
-    0x88A5: 29,
-    0x88A9: 30,
-    0x88B5: 31,
-    0x88B7: 32,
-    0x88C1: 33,
-    0x88C5: 34,
-    0x88C9: 35,
-    0x88E1: 36,
-    0x88E2: 37,
-    0x88E5: 38,
-    0x88E8: 39,
-    0x88E9: 40,
-    0x88EB: 41,
-    0x88F1: 42,
-    0x88F3: 43,
-    0x88F5: 44,
-    0x88F6: 45,
-    0x88F7: 46,
-    0x88F8: 47,
-    0x88FB: 48,
-    0x88FC: 49,
-    0x88FD: 50,
-    0x8941: 51,
-    0x8945: 52,
-    0x8949: 53,
-    0x8951: 54,
-    0x8953: 55,
-    0x8955: 56,
-    0x8956: 57,
-    0x8957: 58,
-    0x8961: 59,
-    0x8962: 60,
-    0x8963: 61,
-    0x8965: 62,
-    0x8968: 63,
-    0x8969: 64,
-    0x8971: 65,
-    0x8973: 66,
-    0x8975: 67,
-    0x8976: 68,
-    0x8977: 69,
-    0x897B: 70,
-    0x8981: 71,
-    0x8985: 72,
-    0x8989: 73,
-    0x8993: 74,
-    0x8995: 75,
-    0x89A1: 76,
-    0x89A2: 77,
-    0x89A5: 78,
-    0x89A8: 79,
-    0x89A9: 80,
-    0x89AB: 81,
-    0x89AD: 82,
-    0x89B0: 83,
-    0x89B1: 84,
-    0x89B3: 85,
-    0x89B5: 86,
-    0x89B7: 87,
-    0x89B8: 88,
-    0x89C1: 89,
-    0x89C2: 90,
-    0x89C5: 91,
-    0x89C9: 92,
-    0x89CB: 93,
-    0x89D1: 94,
-    0x89D3: 95,
-    0x89D5: 96,
-    0x89D7: 97,
-    0x89E1: 98,
-    0x89E5: 99,
-    0x89E9: 100,
-    0x89F3: 101,
-    0x89F6: 102,
-    0x89F7: 103,
-    0x8A41: 104,
-    0x8A42: 105,
-    0x8A45: 106,
-    0x8A49: 107,
-    0x8A51: 108,
-    0x8A53: 109,
-    0x8A55: 110,
-    0x8A57: 111,
-    0x8A61: 112,
-    0x8A65: 113,
-    0x8A69: 114,
-    0x8A73: 115,
-    0x8A75: 116,
-    0x8A81: 117,
-    0x8A82: 118,
-    0x8A85: 119,
-    0x8A88: 120,
-    0x8A89: 121,
-    0x8A8A: 122,
-    0x8A8B: 123,
-    0x8A90: 124,
-    0x8A91: 125,
-    0x8A93: 126,
-    0x8A95: 127,
-    0x8A97: 128,
-    0x8A98: 129,
-    0x8AA1: 130,
-    0x8AA2: 131,
-    0x8AA5: 132,
-    0x8AA9: 133,
-    0x8AB6: 134,
-    0x8AB7: 135,
-    0x8AC1: 136,
-    0x8AD5: 137,
-    0x8AE1: 138,
-    0x8AE2: 139,
-    0x8AE5: 140,
-    0x8AE9: 141,
-    0x8AF1: 142,
-    0x8AF3: 143,
-    0x8AF5: 144,
-    0x8B41: 145,
-    0x8B45: 146,
-    0x8B49: 147,
-    0x8B61: 148,
-    0x8B62: 149,
-    0x8B65: 150,
-    0x8B68: 151,
-    0x8B69: 152,
-    0x8B6A: 153,
-    0x8B71: 154,
-    0x8B73: 155,
-    0x8B75: 156,
-    0x8B77: 157,
-    0x8B81: 158,
-    0x8BA1: 159,
-    0x8BA2: 160,
-    0x8BA5: 161,
-    0x8BA8: 162,
-    0x8BA9: 163,
-    0x8BAB: 164,
-    0x8BB1: 165,
-    0x8BB3: 166,
-    0x8BB5: 167,
-    0x8BB7: 168,
-    0x8BB8: 169,
-    0x8BBC: 170,
-    0x8C61: 171,
-    0x8C62: 172,
-    0x8C63: 173,
-    0x8C65: 174,
-    0x8C69: 175,
-    0x8C6B: 176,
-    0x8C71: 177,
-    0x8C73: 178,
-    0x8C75: 179,
-    0x8C76: 180,
-    0x8C77: 181,
-    0x8C7B: 182,
-    0x8C81: 183,
-    0x8C82: 184,
-    0x8C85: 185,
-    0x8C89: 186,
-    0x8C91: 187,
-    0x8C93: 188,
-    0x8C95: 189,
-    0x8C96: 190,
-    0x8C97: 191,
-    0x8CA1: 192,
-    0x8CA2: 193,
-    0x8CA9: 194,
-    0x8CE1: 195,
-    0x8CE2: 196,
-    0x8CE3: 197,
-    0x8CE5: 198,
-    0x8CE9: 199,
-    0x8CF1: 200,
-    0x8CF3: 201,
-    0x8CF5: 202,
-    0x8CF6: 203,
-    0x8CF7: 204,
-    0x8D41: 205,
-    0x8D42: 206,
-    0x8D45: 207,
-    0x8D51: 208,
-    0x8D55: 209,
-    0x8D57: 210,
-    0x8D61: 211,
-    0x8D65: 212,
-    0x8D69: 213,
-    0x8D75: 214,
-    0x8D76: 215,
-    0x8D7B: 216,
-    0x8D81: 217,
-    0x8DA1: 218,
-    0x8DA2: 219,
-    0x8DA5: 220,
-    0x8DA7: 221,
-    0x8DA9: 222,
-    0x8DB1: 223,
-    0x8DB3: 224,
-    0x8DB5: 225,
-    0x8DB7: 226,
-    0x8DB8: 227,
-    0x8DB9: 228,
-    0x8DC1: 229,
-    0x8DC2: 230,
-    0x8DC9: 231,
-    0x8DD6: 232,
-    0x8DD7: 233,
-    0x8DE1: 234,
-    0x8DE2: 235,
-    0x8DF7: 236,
-    0x8E41: 237,
-    0x8E45: 238,
-    0x8E49: 239,
-    0x8E51: 240,
-    0x8E53: 241,
-    0x8E57: 242,
-    0x8E61: 243,
-    0x8E81: 244,
-    0x8E82: 245,
-    0x8E85: 246,
-    0x8E89: 247,
-    0x8E90: 248,
-    0x8E91: 249,
-    0x8E93: 250,
-    0x8E95: 251,
-    0x8E97: 252,
-    0x8E98: 253,
-    0x8EA1: 254,
-    0x8EA9: 255,
-    0x8EB6: 256,
-    0x8EB7: 257,
-    0x8EC1: 258,
-    0x8EC2: 259,
-    0x8EC5: 260,
-    0x8EC9: 261,
-    0x8ED1: 262,
-    0x8ED3: 263,
-    0x8ED6: 264,
-    0x8EE1: 265,
-    0x8EE5: 266,
-    0x8EE9: 267,
-    0x8EF1: 268,
-    0x8EF3: 269,
-    0x8F41: 270,
-    0x8F61: 271,
-    0x8F62: 272,
-    0x8F65: 273,
-    0x8F67: 274,
-    0x8F69: 275,
-    0x8F6B: 276,
-    0x8F70: 277,
-    0x8F71: 278,
-    0x8F73: 279,
-    0x8F75: 280,
-    0x8F77: 281,
-    0x8F7B: 282,
-    0x8FA1: 283,
-    0x8FA2: 284,
-    0x8FA5: 285,
-    0x8FA9: 286,
-    0x8FB1: 287,
-    0x8FB3: 288,
-    0x8FB5: 289,
-    0x8FB7: 290,
-    0x9061: 291,
-    0x9062: 292,
-    0x9063: 293,
-    0x9065: 294,
-    0x9068: 295,
-    0x9069: 296,
-    0x906A: 297,
-    0x906B: 298,
-    0x9071: 299,
-    0x9073: 300,
-    0x9075: 301,
-    0x9076: 302,
-    0x9077: 303,
-    0x9078: 304,
-    0x9079: 305,
-    0x907B: 306,
-    0x907D: 307,
-    0x9081: 308,
-    0x9082: 309,
-    0x9085: 310,
-    0x9089: 311,
-    0x9091: 312,
-    0x9093: 313,
-    0x9095: 314,
-    0x9096: 315,
-    0x9097: 316,
-    0x90A1: 317,
-    0x90A2: 318,
-    0x90A5: 319,
-    0x90A9: 320,
-    0x90B1: 321,
-    0x90B7: 322,
-    0x90E1: 323,
-    0x90E2: 324,
-    0x90E4: 325,
-    0x90E5: 326,
-    0x90E9: 327,
-    0x90EB: 328,
-    0x90EC: 329,
-    0x90F1: 330,
-    0x90F3: 331,
-    0x90F5: 332,
-    0x90F6: 333,
-    0x90F7: 334,
-    0x90FD: 335,
-    0x9141: 336,
-    0x9142: 337,
-    0x9145: 338,
-    0x9149: 339,
-    0x9151: 340,
-    0x9153: 341,
-    0x9155: 342,
-    0x9156: 343,
-    0x9157: 344,
-    0x9161: 345,
-    0x9162: 346,
-    0x9165: 347,
-    0x9169: 348,
-    0x9171: 349,
-    0x9173: 350,
-    0x9176: 351,
-    0x9177: 352,
-    0x917A: 353,
-    0x9181: 354,
-    0x9185: 355,
-    0x91A1: 356,
-    0x91A2: 357,
-    0x91A5: 358,
-    0x91A9: 359,
-    0x91AB: 360,
-    0x91B1: 361,
-    0x91B3: 362,
-    0x91B5: 363,
-    0x91B7: 364,
-    0x91BC: 365,
-    0x91BD: 366,
-    0x91C1: 367,
-    0x91C5: 368,
-    0x91C9: 369,
-    0x91D6: 370,
-    0x9241: 371,
-    0x9245: 372,
-    0x9249: 373,
-    0x9251: 374,
-    0x9253: 375,
-    0x9255: 376,
-    0x9261: 377,
-    0x9262: 378,
-    0x9265: 379,
-    0x9269: 380,
-    0x9273: 381,
-    0x9275: 382,
-    0x9277: 383,
-    0x9281: 384,
-    0x9282: 385,
-    0x9285: 386,
-    0x9288: 387,
-    0x9289: 388,
-    0x9291: 389,
-    0x9293: 390,
-    0x9295: 391,
-    0x9297: 392,
-    0x92A1: 393,
-    0x92B6: 394,
-    0x92C1: 395,
-    0x92E1: 396,
-    0x92E5: 397,
-    0x92E9: 398,
-    0x92F1: 399,
-    0x92F3: 400,
-    0x9341: 401,
-    0x9342: 402,
-    0x9349: 403,
-    0x9351: 404,
-    0x9353: 405,
-    0x9357: 406,
-    0x9361: 407,
-    0x9362: 408,
-    0x9365: 409,
-    0x9369: 410,
-    0x936A: 411,
-    0x936B: 412,
-    0x9371: 413,
-    0x9373: 414,
-    0x9375: 415,
-    0x9377: 416,
-    0x9378: 417,
-    0x937C: 418,
-    0x9381: 419,
-    0x9385: 420,
-    0x9389: 421,
-    0x93A1: 422,
-    0x93A2: 423,
-    0x93A5: 424,
-    0x93A9: 425,
-    0x93AB: 426,
-    0x93B1: 427,
-    0x93B3: 428,
-    0x93B5: 429,
-    0x93B7: 430,
-    0x93BC: 431,
-    0x9461: 432,
-    0x9462: 433,
-    0x9463: 434,
-    0x9465: 435,
-    0x9468: 436,
-    0x9469: 437,
-    0x946A: 438,
-    0x946B: 439,
-    0x946C: 440,
-    0x9470: 441,
-    0x9471: 442,
-    0x9473: 443,
-    0x9475: 444,
-    0x9476: 445,
-    0x9477: 446,
-    0x9478: 447,
-    0x9479: 448,
-    0x947D: 449,
-    0x9481: 450,
-    0x9482: 451,
-    0x9485: 452,
-    0x9489: 453,
-    0x9491: 454,
-    0x9493: 455,
-    0x9495: 456,
-    0x9496: 457,
-    0x9497: 458,
-    0x94A1: 459,
-    0x94E1: 460,
-    0x94E2: 461,
-    0x94E3: 462,
-    0x94E5: 463,
-    0x94E8: 464,
-    0x94E9: 465,
-    0x94EB: 466,
-    0x94EC: 467,
-    0x94F1: 468,
-    0x94F3: 469,
-    0x94F5: 470,
-    0x94F7: 471,
-    0x94F9: 472,
-    0x94FC: 473,
-    0x9541: 474,
-    0x9542: 475,
-    0x9545: 476,
-    0x9549: 477,
-    0x9551: 478,
-    0x9553: 479,
-    0x9555: 480,
-    0x9556: 481,
-    0x9557: 482,
-    0x9561: 483,
-    0x9565: 484,
-    0x9569: 485,
-    0x9576: 486,
-    0x9577: 487,
-    0x9581: 488,
-    0x9585: 489,
-    0x95A1: 490,
-    0x95A2: 491,
-    0x95A5: 492,
-    0x95A8: 493,
-    0x95A9: 494,
-    0x95AB: 495,
-    0x95AD: 496,
-    0x95B1: 497,
-    0x95B3: 498,
-    0x95B5: 499,
-    0x95B7: 500,
-    0x95B9: 501,
-    0x95BB: 502,
-    0x95C1: 503,
-    0x95C5: 504,
-    0x95C9: 505,
-    0x95E1: 506,
-    0x95F6: 507,
-    0x9641: 508,
-    0x9645: 509,
-    0x9649: 510,
-    0x9651: 511,
-    0x9653: 512,
-    0x9655: 513,
-    0x9661: 514,
-    0x9681: 515,
-    0x9682: 516,
-    0x9685: 517,
-    0x9689: 518,
-    0x9691: 519,
-    0x9693: 520,
-    0x9695: 521,
-    0x9697: 522,
-    0x96A1: 523,
-    0x96B6: 524,
-    0x96C1: 525,
-    0x96D7: 526,
-    0x96E1: 527,
-    0x96E5: 528,
-    0x96E9: 529,
-    0x96F3: 530,
-    0x96F5: 531,
-    0x96F7: 532,
-    0x9741: 533,
-    0x9745: 534,
-    0x9749: 535,
-    0x9751: 536,
-    0x9757: 537,
-    0x9761: 538,
-    0x9762: 539,
-    0x9765: 540,
-    0x9768: 541,
-    0x9769: 542,
-    0x976B: 543,
-    0x9771: 544,
-    0x9773: 545,
-    0x9775: 546,
-    0x9777: 547,
-    0x9781: 548,
-    0x97A1: 549,
-    0x97A2: 550,
-    0x97A5: 551,
-    0x97A8: 552,
-    0x97A9: 553,
-    0x97B1: 554,
-    0x97B3: 555,
-    0x97B5: 556,
-    0x97B6: 557,
-    0x97B7: 558,
-    0x97B8: 559,
-    0x9861: 560,
-    0x9862: 561,
-    0x9865: 562,
-    0x9869: 563,
-    0x9871: 564,
-    0x9873: 565,
-    0x9875: 566,
-    0x9876: 567,
-    0x9877: 568,
-    0x987D: 569,
-    0x9881: 570,
-    0x9882: 571,
-    0x9885: 572,
-    0x9889: 573,
-    0x9891: 574,
-    0x9893: 575,
-    0x9895: 576,
-    0x9896: 577,
-    0x9897: 578,
-    0x98E1: 579,
-    0x98E2: 580,
-    0x98E5: 581,
-    0x98E9: 582,
-    0x98EB: 583,
-    0x98EC: 584,
-    0x98F1: 585,
-    0x98F3: 586,
-    0x98F5: 587,
-    0x98F6: 588,
-    0x98F7: 589,
-    0x98FD: 590,
-    0x9941: 591,
-    0x9942: 592,
-    0x9945: 593,
-    0x9949: 594,
-    0x9951: 595,
-    0x9953: 596,
-    0x9955: 597,
-    0x9956: 598,
-    0x9957: 599,
-    0x9961: 600,
-    0x9976: 601,
-    0x99A1: 602,
-    0x99A2: 603,
-    0x99A5: 604,
-    0x99A9: 605,
-    0x99B7: 606,
-    0x99C1: 607,
-    0x99C9: 608,
-    0x99E1: 609,
-    0x9A41: 610,
-    0x9A45: 611,
-    0x9A81: 612,
-    0x9A82: 613,
-    0x9A85: 614,
-    0x9A89: 615,
-    0x9A90: 616,
-    0x9A91: 617,
-    0x9A97: 618,
-    0x9AC1: 619,
-    0x9AE1: 620,
-    0x9AE5: 621,
-    0x9AE9: 622,
-    0x9AF1: 623,
-    0x9AF3: 624,
-    0x9AF7: 625,
-    0x9B61: 626,
-    0x9B62: 627,
-    0x9B65: 628,
-    0x9B68: 629,
-    0x9B69: 630,
-    0x9B71: 631,
-    0x9B73: 632,
-    0x9B75: 633,
-    0x9B81: 634,
-    0x9B85: 635,
-    0x9B89: 636,
-    0x9B91: 637,
-    0x9B93: 638,
-    0x9BA1: 639,
-    0x9BA5: 640,
-    0x9BA9: 641,
-    0x9BB1: 642,
-    0x9BB3: 643,
-    0x9BB5: 644,
-    0x9BB7: 645,
-    0x9C61: 646,
-    0x9C62: 647,
-    0x9C65: 648,
-    0x9C69: 649,
-    0x9C71: 650,
-    0x9C73: 651,
-    0x9C75: 652,
-    0x9C76: 653,
-    0x9C77: 654,
-    0x9C78: 655,
-    0x9C7C: 656,
-    0x9C7D: 657,
-    0x9C81: 658,
-    0x9C82: 659,
-    0x9C85: 660,
-    0x9C89: 661,
-    0x9C91: 662,
-    0x9C93: 663,
-    0x9C95: 664,
-    0x9C96: 665,
-    0x9C97: 666,
-    0x9CA1: 667,
-    0x9CA2: 668,
-    0x9CA5: 669,
-    0x9CB5: 670,
-    0x9CB7: 671,
-    0x9CE1: 672,
-    0x9CE2: 673,
-    0x9CE5: 674,
-    0x9CE9: 675,
-    0x9CF1: 676,
-    0x9CF3: 677,
-    0x9CF5: 678,
-    0x9CF6: 679,
-    0x9CF7: 680,
-    0x9CFD: 681,
-    0x9D41: 682,
-    0x9D42: 683,
-    0x9D45: 684,
-    0x9D49: 685,
-    0x9D51: 686,
-    0x9D53: 687,
-    0x9D55: 688,
-    0x9D57: 689,
-    0x9D61: 690,
-    0x9D62: 691,
-    0x9D65: 692,
-    0x9D69: 693,
-    0x9D71: 694,
-    0x9D73: 695,
-    0x9D75: 696,
-    0x9D76: 697,
-    0x9D77: 698,
-    0x9D81: 699,
-    0x9D85: 700,
-    0x9D93: 701,
-    0x9D95: 702,
-    0x9DA1: 703,
-    0x9DA2: 704,
-    0x9DA5: 705,
-    0x9DA9: 706,
-    0x9DB1: 707,
-    0x9DB3: 708,
-    0x9DB5: 709,
-    0x9DB7: 710,
-    0x9DC1: 711,
-    0x9DC5: 712,
-    0x9DD7: 713,
-    0x9DF6: 714,
-    0x9E41: 715,
-    0x9E45: 716,
-    0x9E49: 717,
-    0x9E51: 718,
-    0x9E53: 719,
-    0x9E55: 720,
-    0x9E57: 721,
-    0x9E61: 722,
-    0x9E65: 723,
-    0x9E69: 724,
-    0x9E73: 725,
-    0x9E75: 726,
-    0x9E77: 727,
-    0x9E81: 728,
-    0x9E82: 729,
-    0x9E85: 730,
-    0x9E89: 731,
-    0x9E91: 732,
-    0x9E93: 733,
-    0x9E95: 734,
-    0x9E97: 735,
-    0x9EA1: 736,
-    0x9EB6: 737,
-    0x9EC1: 738,
-    0x9EE1: 739,
-    0x9EE2: 740,
-    0x9EE5: 741,
-    0x9EE9: 742,
-    0x9EF1: 743,
-    0x9EF5: 744,
-    0x9EF7: 745,
-    0x9F41: 746,
-    0x9F42: 747,
-    0x9F45: 748,
-    0x9F49: 749,
-    0x9F51: 750,
-    0x9F53: 751,
-    0x9F55: 752,
-    0x9F57: 753,
-    0x9F61: 754,
-    0x9F62: 755,
-    0x9F65: 756,
-    0x9F69: 757,
-    0x9F71: 758,
-    0x9F73: 759,
-    0x9F75: 760,
-    0x9F77: 761,
-    0x9F78: 762,
-    0x9F7B: 763,
-    0x9F7C: 764,
-    0x9FA1: 765,
-    0x9FA2: 766,
-    0x9FA5: 767,
-    0x9FA9: 768,
-    0x9FB1: 769,
-    0x9FB3: 770,
-    0x9FB5: 771,
-    0x9FB7: 772,
-    0xA061: 773,
-    0xA062: 774,
-    0xA065: 775,
-    0xA067: 776,
-    0xA068: 777,
-    0xA069: 778,
-    0xA06A: 779,
-    0xA06B: 780,
-    0xA071: 781,
-    0xA073: 782,
-    0xA075: 783,
-    0xA077: 784,
-    0xA078: 785,
-    0xA07B: 786,
-    0xA07D: 787,
-    0xA081: 788,
-    0xA082: 789,
-    0xA085: 790,
-    0xA089: 791,
-    0xA091: 792,
-    0xA093: 793,
-    0xA095: 794,
-    0xA096: 795,
-    0xA097: 796,
-    0xA098: 797,
-    0xA0A1: 798,
-    0xA0A2: 799,
-    0xA0A9: 800,
-    0xA0B7: 801,
-    0xA0E1: 802,
-    0xA0E2: 803,
-    0xA0E5: 804,
-    0xA0E9: 805,
-    0xA0EB: 806,
-    0xA0F1: 807,
-    0xA0F3: 808,
-    0xA0F5: 809,
-    0xA0F7: 810,
-    0xA0F8: 811,
-    0xA0FD: 812,
-    0xA141: 813,
-    0xA142: 814,
-    0xA145: 815,
-    0xA149: 816,
-    0xA151: 817,
-    0xA153: 818,
-    0xA155: 819,
-    0xA156: 820,
-    0xA157: 821,
-    0xA161: 822,
-    0xA162: 823,
-    0xA165: 824,
-    0xA169: 825,
-    0xA175: 826,
-    0xA176: 827,
-    0xA177: 828,
-    0xA179: 829,
-    0xA181: 830,
-    0xA1A1: 831,
-    0xA1A2: 832,
-    0xA1A4: 833,
-    0xA1A5: 834,
-    0xA1A9: 835,
-    0xA1AB: 836,
-    0xA1B1: 837,
-    0xA1B3: 838,
-    0xA1B5: 839,
-    0xA1B7: 840,
-    0xA1C1: 841,
-    0xA1C5: 842,
-    0xA1D6: 843,
-    0xA1D7: 844,
-    0xA241: 845,
-    0xA245: 846,
-    0xA249: 847,
-    0xA253: 848,
-    0xA255: 849,
-    0xA257: 850,
-    0xA261: 851,
-    0xA265: 852,
-    0xA269: 853,
-    0xA273: 854,
-    0xA275: 855,
-    0xA281: 856,
-    0xA282: 857,
-    0xA283: 858,
-    0xA285: 859,
-    0xA288: 860,
-    0xA289: 861,
-    0xA28A: 862,
-    0xA28B: 863,
-    0xA291: 864,
-    0xA293: 865,
-    0xA295: 866,
-    0xA297: 867,
-    0xA29B: 868,
-    0xA29D: 869,
-    0xA2A1: 870,
-    0xA2A5: 871,
-    0xA2A9: 872,
-    0xA2B3: 873,
-    0xA2B5: 874,
-    0xA2C1: 875,
-    0xA2E1: 876,
-    0xA2E5: 877,
-    0xA2E9: 878,
-    0xA341: 879,
-    0xA345: 880,
-    0xA349: 881,
-    0xA351: 882,
-    0xA355: 883,
-    0xA361: 884,
-    0xA365: 885,
-    0xA369: 886,
-    0xA371: 887,
-    0xA375: 888,
-    0xA3A1: 889,
-    0xA3A2: 890,
-    0xA3A5: 891,
-    0xA3A8: 892,
-    0xA3A9: 893,
-    0xA3AB: 894,
-    0xA3B1: 895,
-    0xA3B3: 896,
-    0xA3B5: 897,
-    0xA3B6: 898,
-    0xA3B7: 899,
-    0xA3B9: 900,
-    0xA3BB: 901,
-    0xA461: 902,
-    0xA462: 903,
-    0xA463: 904,
-    0xA464: 905,
-    0xA465: 906,
-    0xA468: 907,
-    0xA469: 908,
-    0xA46A: 909,
-    0xA46B: 910,
-    0xA46C: 911,
-    0xA471: 912,
-    0xA473: 913,
-    0xA475: 914,
-    0xA477: 915,
-    0xA47B: 916,
-    0xA481: 917,
-    0xA482: 918,
-    0xA485: 919,
-    0xA489: 920,
-    0xA491: 921,
-    0xA493: 922,
-    0xA495: 923,
-    0xA496: 924,
-    0xA497: 925,
-    0xA49B: 926,
-    0xA4A1: 927,
-    0xA4A2: 928,
-    0xA4A5: 929,
-    0xA4B3: 930,
-    0xA4E1: 931,
-    0xA4E2: 932,
-    0xA4E5: 933,
-    0xA4E8: 934,
-    0xA4E9: 935,
-    0xA4EB: 936,
-    0xA4F1: 937,
-    0xA4F3: 938,
-    0xA4F5: 939,
-    0xA4F7: 940,
-    0xA4F8: 941,
-    0xA541: 942,
-    0xA542: 943,
-    0xA545: 944,
-    0xA548: 945,
-    0xA549: 946,
-    0xA551: 947,
-    0xA553: 948,
-    0xA555: 949,
-    0xA556: 950,
-    0xA557: 951,
-    0xA561: 952,
-    0xA562: 953,
-    0xA565: 954,
-    0xA569: 955,
-    0xA573: 956,
-    0xA575: 957,
-    0xA576: 958,
-    0xA577: 959,
-    0xA57B: 960,
-    0xA581: 961,
-    0xA585: 962,
-    0xA5A1: 963,
-    0xA5A2: 964,
-    0xA5A3: 965,
-    0xA5A5: 966,
-    0xA5A9: 967,
-    0xA5B1: 968,
-    0xA5B3: 969,
-    0xA5B5: 970,
-    0xA5B7: 971,
-    0xA5C1: 972,
-    0xA5C5: 973,
-    0xA5D6: 974,
-    0xA5E1: 975,
-    0xA5F6: 976,
-    0xA641: 977,
-    0xA642: 978,
-    0xA645: 979,
-    0xA649: 980,
-    0xA651: 981,
-    0xA653: 982,
-    0xA661: 983,
-    0xA665: 984,
-    0xA681: 985,
-    0xA682: 986,
-    0xA685: 987,
-    0xA688: 988,
-    0xA689: 989,
-    0xA68A: 990,
-    0xA68B: 991,
-    0xA691: 992,
-    0xA693: 993,
-    0xA695: 994,
-    0xA697: 995,
-    0xA69B: 996,
-    0xA69C: 997,
-    0xA6A1: 998,
-    0xA6A9: 999,
-    0xA6B6: 1000,
-    0xA6C1: 1001,
-    0xA6E1: 1002,
-    0xA6E2: 1003,
-    0xA6E5: 1004,
-    0xA6E9: 1005,
-    0xA6F7: 1006,
-    0xA741: 1007,
-    0xA745: 1008,
-    0xA749: 1009,
-    0xA751: 1010,
-    0xA755: 1011,
-    0xA757: 1012,
-    0xA761: 1013,
-    0xA762: 1014,
-    0xA765: 1015,
-    0xA769: 1016,
-    0xA771: 1017,
-    0xA773: 1018,
-    0xA775: 1019,
-    0xA7A1: 1020,
-    0xA7A2: 1021,
-    0xA7A5: 1022,
-    0xA7A9: 1023,
-    0xA7AB: 1024,
-    0xA7B1: 1025,
-    0xA7B3: 1026,
-    0xA7B5: 1027,
-    0xA7B7: 1028,
-    0xA7B8: 1029,
-    0xA7B9: 1030,
-    0xA861: 1031,
-    0xA862: 1032,
-    0xA865: 1033,
-    0xA869: 1034,
-    0xA86B: 1035,
-    0xA871: 1036,
-    0xA873: 1037,
-    0xA875: 1038,
-    0xA876: 1039,
-    0xA877: 1040,
-    0xA87D: 1041,
-    0xA881: 1042,
-    0xA882: 1043,
-    0xA885: 1044,
-    0xA889: 1045,
-    0xA891: 1046,
-    0xA893: 1047,
-    0xA895: 1048,
-    0xA896: 1049,
-    0xA897: 1050,
-    0xA8A1: 1051,
-    0xA8A2: 1052,
-    0xA8B1: 1053,
-    0xA8E1: 1054,
-    0xA8E2: 1055,
-    0xA8E5: 1056,
-    0xA8E8: 1057,
-    0xA8E9: 1058,
-    0xA8F1: 1059,
-    0xA8F5: 1060,
-    0xA8F6: 1061,
-    0xA8F7: 1062,
-    0xA941: 1063,
-    0xA957: 1064,
-    0xA961: 1065,
-    0xA962: 1066,
-    0xA971: 1067,
-    0xA973: 1068,
-    0xA975: 1069,
-    0xA976: 1070,
-    0xA977: 1071,
-    0xA9A1: 1072,
-    0xA9A2: 1073,
-    0xA9A5: 1074,
-    0xA9A9: 1075,
-    0xA9B1: 1076,
-    0xA9B3: 1077,
-    0xA9B7: 1078,
-    0xAA41: 1079,
-    0xAA61: 1080,
-    0xAA77: 1081,
-    0xAA81: 1082,
-    0xAA82: 1083,
-    0xAA85: 1084,
-    0xAA89: 1085,
-    0xAA91: 1086,
-    0xAA95: 1087,
-    0xAA97: 1088,
-    0xAB41: 1089,
-    0xAB57: 1090,
-    0xAB61: 1091,
-    0xAB65: 1092,
-    0xAB69: 1093,
-    0xAB71: 1094,
-    0xAB73: 1095,
-    0xABA1: 1096,
-    0xABA2: 1097,
-    0xABA5: 1098,
-    0xABA9: 1099,
-    0xABB1: 1100,
-    0xABB3: 1101,
-    0xABB5: 1102,
-    0xABB7: 1103,
-    0xAC61: 1104,
-    0xAC62: 1105,
-    0xAC64: 1106,
-    0xAC65: 1107,
-    0xAC68: 1108,
-    0xAC69: 1109,
-    0xAC6A: 1110,
-    0xAC6B: 1111,
-    0xAC71: 1112,
-    0xAC73: 1113,
-    0xAC75: 1114,
-    0xAC76: 1115,
-    0xAC77: 1116,
-    0xAC7B: 1117,
-    0xAC81: 1118,
-    0xAC82: 1119,
-    0xAC85: 1120,
-    0xAC89: 1121,
-    0xAC91: 1122,
-    0xAC93: 1123,
-    0xAC95: 1124,
-    0xAC96: 1125,
-    0xAC97: 1126,
-    0xACA1: 1127,
-    0xACA2: 1128,
-    0xACA5: 1129,
-    0xACA9: 1130,
-    0xACB1: 1131,
-    0xACB3: 1132,
-    0xACB5: 1133,
-    0xACB7: 1134,
-    0xACC1: 1135,
-    0xACC5: 1136,
-    0xACC9: 1137,
-    0xACD1: 1138,
-    0xACD7: 1139,
-    0xACE1: 1140,
-    0xACE2: 1141,
-    0xACE3: 1142,
-    0xACE4: 1143,
-    0xACE5: 1144,
-    0xACE8: 1145,
-    0xACE9: 1146,
-    0xACEB: 1147,
-    0xACEC: 1148,
-    0xACF1: 1149,
-    0xACF3: 1150,
-    0xACF5: 1151,
-    0xACF6: 1152,
-    0xACF7: 1153,
-    0xACFC: 1154,
-    0xAD41: 1155,
-    0xAD42: 1156,
-    0xAD45: 1157,
-    0xAD49: 1158,
-    0xAD51: 1159,
-    0xAD53: 1160,
-    0xAD55: 1161,
-    0xAD56: 1162,
-    0xAD57: 1163,
-    0xAD61: 1164,
-    0xAD62: 1165,
-    0xAD65: 1166,
-    0xAD69: 1167,
-    0xAD71: 1168,
-    0xAD73: 1169,
-    0xAD75: 1170,
-    0xAD76: 1171,
-    0xAD77: 1172,
-    0xAD81: 1173,
-    0xAD85: 1174,
-    0xAD89: 1175,
-    0xAD97: 1176,
-    0xADA1: 1177,
-    0xADA2: 1178,
-    0xADA3: 1179,
-    0xADA5: 1180,
-    0xADA9: 1181,
-    0xADAB: 1182,
-    0xADB1: 1183,
-    0xADB3: 1184,
-    0xADB5: 1185,
-    0xADB7: 1186,
-    0xADBB: 1187,
-    0xADC1: 1188,
-    0xADC2: 1189,
-    0xADC5: 1190,
-    0xADC9: 1191,
-    0xADD7: 1192,
-    0xADE1: 1193,
-    0xADE5: 1194,
-    0xADE9: 1195,
-    0xADF1: 1196,
-    0xADF5: 1197,
-    0xADF6: 1198,
-    0xAE41: 1199,
-    0xAE45: 1200,
-    0xAE49: 1201,
-    0xAE51: 1202,
-    0xAE53: 1203,
-    0xAE55: 1204,
-    0xAE61: 1205,
-    0xAE62: 1206,
-    0xAE65: 1207,
-    0xAE69: 1208,
-    0xAE71: 1209,
-    0xAE73: 1210,
-    0xAE75: 1211,
-    0xAE77: 1212,
-    0xAE81: 1213,
-    0xAE82: 1214,
-    0xAE85: 1215,
-    0xAE88: 1216,
-    0xAE89: 1217,
-    0xAE91: 1218,
-    0xAE93: 1219,
-    0xAE95: 1220,
-    0xAE97: 1221,
-    0xAE99: 1222,
-    0xAE9B: 1223,
-    0xAE9C: 1224,
-    0xAEA1: 1225,
-    0xAEB6: 1226,
-    0xAEC1: 1227,
-    0xAEC2: 1228,
-    0xAEC5: 1229,
-    0xAEC9: 1230,
-    0xAED1: 1231,
-    0xAED7: 1232,
-    0xAEE1: 1233,
-    0xAEE2: 1234,
-    0xAEE5: 1235,
-    0xAEE9: 1236,
-    0xAEF1: 1237,
-    0xAEF3: 1238,
-    0xAEF5: 1239,
-    0xAEF7: 1240,
-    0xAF41: 1241,
-    0xAF42: 1242,
-    0xAF49: 1243,
-    0xAF51: 1244,
-    0xAF55: 1245,
-    0xAF57: 1246,
-    0xAF61: 1247,
-    0xAF62: 1248,
-    0xAF65: 1249,
-    0xAF69: 1250,
-    0xAF6A: 1251,
-    0xAF71: 1252,
-    0xAF73: 1253,
-    0xAF75: 1254,
-    0xAF77: 1255,
-    0xAFA1: 1256,
-    0xAFA2: 1257,
-    0xAFA5: 1258,
-    0xAFA8: 1259,
-    0xAFA9: 1260,
-    0xAFB0: 1261,
-    0xAFB1: 1262,
-    0xAFB3: 1263,
-    0xAFB5: 1264,
-    0xAFB7: 1265,
-    0xAFBC: 1266,
-    0xB061: 1267,
-    0xB062: 1268,
-    0xB064: 1269,
-    0xB065: 1270,
-    0xB069: 1271,
-    0xB071: 1272,
-    0xB073: 1273,
-    0xB076: 1274,
-    0xB077: 1275,
-    0xB07D: 1276,
-    0xB081: 1277,
-    0xB082: 1278,
-    0xB085: 1279,
-    0xB089: 1280,
-    0xB091: 1281,
-    0xB093: 1282,
-    0xB096: 1283,
-    0xB097: 1284,
-    0xB0B7: 1285,
-    0xB0E1: 1286,
-    0xB0E2: 1287,
-    0xB0E5: 1288,
-    0xB0E9: 1289,
-    0xB0EB: 1290,
-    0xB0F1: 1291,
-    0xB0F3: 1292,
-    0xB0F6: 1293,
-    0xB0F7: 1294,
-    0xB141: 1295,
-    0xB145: 1296,
-    0xB149: 1297,
-    0xB185: 1298,
-    0xB1A1: 1299,
-    0xB1A2: 1300,
-    0xB1A5: 1301,
-    0xB1A8: 1302,
-    0xB1A9: 1303,
-    0xB1AB: 1304,
-    0xB1B1: 1305,
-    0xB1B3: 1306,
-    0xB1B7: 1307,
-    0xB1C1: 1308,
-    0xB1C2: 1309,
-    0xB1C5: 1310,
-    0xB1D6: 1311,
-    0xB1E1: 1312,
-    0xB1F6: 1313,
-    0xB241: 1314,
-    0xB245: 1315,
-    0xB249: 1316,
-    0xB251: 1317,
-    0xB253: 1318,
-    0xB261: 1319,
-    0xB281: 1320,
-    0xB282: 1321,
-    0xB285: 1322,
-    0xB289: 1323,
-    0xB291: 1324,
-    0xB293: 1325,
-    0xB297: 1326,
-    0xB2A1: 1327,
-    0xB2B6: 1328,
-    0xB2C1: 1329,
-    0xB2E1: 1330,
-    0xB2E5: 1331,
-    0xB357: 1332,
-    0xB361: 1333,
-    0xB362: 1334,
-    0xB365: 1335,
-    0xB369: 1336,
-    0xB36B: 1337,
-    0xB370: 1338,
-    0xB371: 1339,
-    0xB373: 1340,
-    0xB381: 1341,
-    0xB385: 1342,
-    0xB389: 1343,
-    0xB391: 1344,
-    0xB3A1: 1345,
-    0xB3A2: 1346,
-    0xB3A5: 1347,
-    0xB3A9: 1348,
-    0xB3B1: 1349,
-    0xB3B3: 1350,
-    0xB3B5: 1351,
-    0xB3B7: 1352,
-    0xB461: 1353,
-    0xB462: 1354,
-    0xB465: 1355,
-    0xB466: 1356,
-    0xB467: 1357,
-    0xB469: 1358,
-    0xB46A: 1359,
-    0xB46B: 1360,
-    0xB470: 1361,
-    0xB471: 1362,
-    0xB473: 1363,
-    0xB475: 1364,
-    0xB476: 1365,
-    0xB477: 1366,
-    0xB47B: 1367,
-    0xB47C: 1368,
-    0xB481: 1369,
-    0xB482: 1370,
-    0xB485: 1371,
-    0xB489: 1372,
-    0xB491: 1373,
-    0xB493: 1374,
-    0xB495: 1375,
-    0xB496: 1376,
-    0xB497: 1377,
-    0xB4A1: 1378,
-    0xB4A2: 1379,
-    0xB4A5: 1380,
-    0xB4A9: 1381,
-    0xB4AC: 1382,
-    0xB4B1: 1383,
-    0xB4B3: 1384,
-    0xB4B5: 1385,
-    0xB4B7: 1386,
-    0xB4BB: 1387,
-    0xB4BD: 1388,
-    0xB4C1: 1389,
-    0xB4C5: 1390,
-    0xB4C9: 1391,
-    0xB4D3: 1392,
-    0xB4E1: 1393,
-    0xB4E2: 1394,
-    0xB4E5: 1395,
-    0xB4E6: 1396,
-    0xB4E8: 1397,
-    0xB4E9: 1398,
-    0xB4EA: 1399,
-    0xB4EB: 1400,
-    0xB4F1: 1401,
-    0xB4F3: 1402,
-    0xB4F4: 1403,
-    0xB4F5: 1404,
-    0xB4F6: 1405,
-    0xB4F7: 1406,
-    0xB4F8: 1407,
-    0xB4FA: 1408,
-    0xB4FC: 1409,
-    0xB541: 1410,
-    0xB542: 1411,
-    0xB545: 1412,
-    0xB549: 1413,
-    0xB551: 1414,
-    0xB553: 1415,
-    0xB555: 1416,
-    0xB557: 1417,
-    0xB561: 1418,
-    0xB562: 1419,
-    0xB563: 1420,
-    0xB565: 1421,
-    0xB569: 1422,
-    0xB56B: 1423,
-    0xB56C: 1424,
-    0xB571: 1425,
-    0xB573: 1426,
-    0xB574: 1427,
-    0xB575: 1428,
-    0xB576: 1429,
-    0xB577: 1430,
-    0xB57B: 1431,
-    0xB57C: 1432,
-    0xB57D: 1433,
-    0xB581: 1434,
-    0xB585: 1435,
-    0xB589: 1436,
-    0xB591: 1437,
-    0xB593: 1438,
-    0xB595: 1439,
-    0xB596: 1440,
-    0xB5A1: 1441,
-    0xB5A2: 1442,
-    0xB5A5: 1443,
-    0xB5A9: 1444,
-    0xB5AA: 1445,
-    0xB5AB: 1446,
-    0xB5AD: 1447,
-    0xB5B0: 1448,
-    0xB5B1: 1449,
-    0xB5B3: 1450,
-    0xB5B5: 1451,
-    0xB5B7: 1452,
-    0xB5B9: 1453,
-    0xB5C1: 1454,
-    0xB5C2: 1455,
-    0xB5C5: 1456,
-    0xB5C9: 1457,
-    0xB5D1: 1458,
-    0xB5D3: 1459,
-    0xB5D5: 1460,
-    0xB5D6: 1461,
-    0xB5D7: 1462,
-    0xB5E1: 1463,
-    0xB5E2: 1464,
-    0xB5E5: 1465,
-    0xB5F1: 1466,
-    0xB5F5: 1467,
-    0xB5F7: 1468,
-    0xB641: 1469,
-    0xB642: 1470,
-    0xB645: 1471,
-    0xB649: 1472,
-    0xB651: 1473,
-    0xB653: 1474,
-    0xB655: 1475,
-    0xB657: 1476,
-    0xB661: 1477,
-    0xB662: 1478,
-    0xB665: 1479,
-    0xB669: 1480,
-    0xB671: 1481,
-    0xB673: 1482,
-    0xB675: 1483,
-    0xB677: 1484,
-    0xB681: 1485,
-    0xB682: 1486,
-    0xB685: 1487,
-    0xB689: 1488,
-    0xB68A: 1489,
-    0xB68B: 1490,
-    0xB691: 1491,
-    0xB693: 1492,
-    0xB695: 1493,
-    0xB697: 1494,
-    0xB6A1: 1495,
-    0xB6A2: 1496,
-    0xB6A5: 1497,
-    0xB6A9: 1498,
-    0xB6B1: 1499,
-    0xB6B3: 1500,
-    0xB6B6: 1501,
-    0xB6B7: 1502,
-    0xB6C1: 1503,
-    0xB6C2: 1504,
-    0xB6C5: 1505,
-    0xB6C9: 1506,
-    0xB6D1: 1507,
-    0xB6D3: 1508,
-    0xB6D7: 1509,
-    0xB6E1: 1510,
-    0xB6E2: 1511,
-    0xB6E5: 1512,
-    0xB6E9: 1513,
-    0xB6F1: 1514,
-    0xB6F3: 1515,
-    0xB6F5: 1516,
-    0xB6F7: 1517,
-    0xB741: 1518,
-    0xB742: 1519,
-    0xB745: 1520,
-    0xB749: 1521,
-    0xB751: 1522,
-    0xB753: 1523,
-    0xB755: 1524,
-    0xB757: 1525,
-    0xB759: 1526,
-    0xB761: 1527,
-    0xB762: 1528,
-    0xB765: 1529,
-    0xB769: 1530,
-    0xB76F: 1531,
-    0xB771: 1532,
-    0xB773: 1533,
-    0xB775: 1534,
-    0xB777: 1535,
-    0xB778: 1536,
-    0xB779: 1537,
-    0xB77A: 1538,
-    0xB77B: 1539,
-    0xB77C: 1540,
-    0xB77D: 1541,
-    0xB781: 1542,
-    0xB785: 1543,
-    0xB789: 1544,
-    0xB791: 1545,
-    0xB795: 1546,
-    0xB7A1: 1547,
-    0xB7A2: 1548,
-    0xB7A5: 1549,
-    0xB7A9: 1550,
-    0xB7AA: 1551,
-    0xB7AB: 1552,
-    0xB7B0: 1553,
-    0xB7B1: 1554,
-    0xB7B3: 1555,
-    0xB7B5: 1556,
-    0xB7B6: 1557,
-    0xB7B7: 1558,
-    0xB7B8: 1559,
-    0xB7BC: 1560,
-    0xB861: 1561,
-    0xB862: 1562,
-    0xB865: 1563,
-    0xB867: 1564,
-    0xB868: 1565,
-    0xB869: 1566,
-    0xB86B: 1567,
-    0xB871: 1568,
-    0xB873: 1569,
-    0xB875: 1570,
-    0xB876: 1571,
-    0xB877: 1572,
-    0xB878: 1573,
-    0xB881: 1574,
-    0xB882: 1575,
-    0xB885: 1576,
-    0xB889: 1577,
-    0xB891: 1578,
-    0xB893: 1579,
-    0xB895: 1580,
-    0xB896: 1581,
-    0xB897: 1582,
-    0xB8A1: 1583,
-    0xB8A2: 1584,
-    0xB8A5: 1585,
-    0xB8A7: 1586,
-    0xB8A9: 1587,
-    0xB8B1: 1588,
-    0xB8B7: 1589,
-    0xB8C1: 1590,
-    0xB8C5: 1591,
-    0xB8C9: 1592,
-    0xB8E1: 1593,
-    0xB8E2: 1594,
-    0xB8E5: 1595,
-    0xB8E9: 1596,
-    0xB8EB: 1597,
-    0xB8F1: 1598,
-    0xB8F3: 1599,
-    0xB8F5: 1600,
-    0xB8F7: 1601,
-    0xB8F8: 1602,
-    0xB941: 1603,
-    0xB942: 1604,
-    0xB945: 1605,
-    0xB949: 1606,
-    0xB951: 1607,
-    0xB953: 1608,
-    0xB955: 1609,
-    0xB957: 1610,
-    0xB961: 1611,
-    0xB965: 1612,
-    0xB969: 1613,
-    0xB971: 1614,
-    0xB973: 1615,
-    0xB976: 1616,
-    0xB977: 1617,
-    0xB981: 1618,
-    0xB9A1: 1619,
-    0xB9A2: 1620,
-    0xB9A5: 1621,
-    0xB9A9: 1622,
-    0xB9AB: 1623,
-    0xB9B1: 1624,
-    0xB9B3: 1625,
-    0xB9B5: 1626,
-    0xB9B7: 1627,
-    0xB9B8: 1628,
-    0xB9B9: 1629,
-    0xB9BD: 1630,
-    0xB9C1: 1631,
-    0xB9C2: 1632,
-    0xB9C9: 1633,
-    0xB9D3: 1634,
-    0xB9D5: 1635,
-    0xB9D7: 1636,
-    0xB9E1: 1637,
-    0xB9F6: 1638,
-    0xB9F7: 1639,
-    0xBA41: 1640,
-    0xBA45: 1641,
-    0xBA49: 1642,
-    0xBA51: 1643,
-    0xBA53: 1644,
-    0xBA55: 1645,
-    0xBA57: 1646,
-    0xBA61: 1647,
-    0xBA62: 1648,
-    0xBA65: 1649,
-    0xBA77: 1650,
-    0xBA81: 1651,
-    0xBA82: 1652,
-    0xBA85: 1653,
-    0xBA89: 1654,
-    0xBA8A: 1655,
-    0xBA8B: 1656,
-    0xBA91: 1657,
-    0xBA93: 1658,
-    0xBA95: 1659,
-    0xBA97: 1660,
-    0xBAA1: 1661,
-    0xBAB6: 1662,
-    0xBAC1: 1663,
-    0xBAE1: 1664,
-    0xBAE2: 1665,
-    0xBAE5: 1666,
-    0xBAE9: 1667,
-    0xBAF1: 1668,
-    0xBAF3: 1669,
-    0xBAF5: 1670,
-    0xBB41: 1671,
-    0xBB45: 1672,
-    0xBB49: 1673,
-    0xBB51: 1674,
-    0xBB61: 1675,
-    0xBB62: 1676,
-    0xBB65: 1677,
-    0xBB69: 1678,
-    0xBB71: 1679,
-    0xBB73: 1680,
-    0xBB75: 1681,
-    0xBB77: 1682,
-    0xBBA1: 1683,
-    0xBBA2: 1684,
-    0xBBA5: 1685,
-    0xBBA8: 1686,
-    0xBBA9: 1687,
-    0xBBAB: 1688,
-    0xBBB1: 1689,
-    0xBBB3: 1690,
-    0xBBB5: 1691,
-    0xBBB7: 1692,
-    0xBBB8: 1693,
-    0xBBBB: 1694,
-    0xBBBC: 1695,
-    0xBC61: 1696,
-    0xBC62: 1697,
-    0xBC65: 1698,
-    0xBC67: 1699,
-    0xBC69: 1700,
-    0xBC6C: 1701,
-    0xBC71: 1702,
-    0xBC73: 1703,
-    0xBC75: 1704,
-    0xBC76: 1705,
-    0xBC77: 1706,
-    0xBC81: 1707,
-    0xBC82: 1708,
-    0xBC85: 1709,
-    0xBC89: 1710,
-    0xBC91: 1711,
-    0xBC93: 1712,
-    0xBC95: 1713,
-    0xBC96: 1714,
-    0xBC97: 1715,
-    0xBCA1: 1716,
-    0xBCA5: 1717,
-    0xBCB7: 1718,
-    0xBCE1: 1719,
-    0xBCE2: 1720,
-    0xBCE5: 1721,
-    0xBCE9: 1722,
-    0xBCF1: 1723,
-    0xBCF3: 1724,
-    0xBCF5: 1725,
-    0xBCF6: 1726,
-    0xBCF7: 1727,
-    0xBD41: 1728,
-    0xBD57: 1729,
-    0xBD61: 1730,
-    0xBD76: 1731,
-    0xBDA1: 1732,
-    0xBDA2: 1733,
-    0xBDA5: 1734,
-    0xBDA9: 1735,
-    0xBDB1: 1736,
-    0xBDB3: 1737,
-    0xBDB5: 1738,
-    0xBDB7: 1739,
-    0xBDB9: 1740,
-    0xBDC1: 1741,
-    0xBDC2: 1742,
-    0xBDC9: 1743,
-    0xBDD6: 1744,
-    0xBDE1: 1745,
-    0xBDF6: 1746,
-    0xBE41: 1747,
-    0xBE45: 1748,
-    0xBE49: 1749,
-    0xBE51: 1750,
-    0xBE53: 1751,
-    0xBE77: 1752,
-    0xBE81: 1753,
-    0xBE82: 1754,
-    0xBE85: 1755,
-    0xBE89: 1756,
-    0xBE91: 1757,
-    0xBE93: 1758,
-    0xBE97: 1759,
-    0xBEA1: 1760,
-    0xBEB6: 1761,
-    0xBEB7: 1762,
-    0xBEE1: 1763,
-    0xBF41: 1764,
-    0xBF61: 1765,
-    0xBF71: 1766,
-    0xBF75: 1767,
-    0xBF77: 1768,
-    0xBFA1: 1769,
-    0xBFA2: 1770,
-    0xBFA5: 1771,
-    0xBFA9: 1772,
-    0xBFB1: 1773,
-    0xBFB3: 1774,
-    0xBFB7: 1775,
-    0xBFB8: 1776,
-    0xBFBD: 1777,
-    0xC061: 1778,
-    0xC062: 1779,
-    0xC065: 1780,
-    0xC067: 1781,
-    0xC069: 1782,
-    0xC071: 1783,
-    0xC073: 1784,
-    0xC075: 1785,
-    0xC076: 1786,
-    0xC077: 1787,
-    0xC078: 1788,
-    0xC081: 1789,
-    0xC082: 1790,
-    0xC085: 1791,
-    0xC089: 1792,
-    0xC091: 1793,
-    0xC093: 1794,
-    0xC095: 1795,
-    0xC096: 1796,
-    0xC097: 1797,
-    0xC0A1: 1798,
-    0xC0A5: 1799,
-    0xC0A7: 1800,
-    0xC0A9: 1801,
-    0xC0B1: 1802,
-    0xC0B7: 1803,
-    0xC0E1: 1804,
-    0xC0E2: 1805,
-    0xC0E5: 1806,
-    0xC0E9: 1807,
-    0xC0F1: 1808,
-    0xC0F3: 1809,
-    0xC0F5: 1810,
-    0xC0F6: 1811,
-    0xC0F7: 1812,
-    0xC141: 1813,
-    0xC142: 1814,
-    0xC145: 1815,
-    0xC149: 1816,
-    0xC151: 1817,
-    0xC153: 1818,
-    0xC155: 1819,
-    0xC157: 1820,
-    0xC161: 1821,
-    0xC165: 1822,
-    0xC176: 1823,
-    0xC181: 1824,
-    0xC185: 1825,
-    0xC197: 1826,
-    0xC1A1: 1827,
-    0xC1A2: 1828,
-    0xC1A5: 1829,
-    0xC1A9: 1830,
-    0xC1B1: 1831,
-    0xC1B3: 1832,
-    0xC1B5: 1833,
-    0xC1B7: 1834,
-    0xC1C1: 1835,
-    0xC1C5: 1836,
-    0xC1C9: 1837,
-    0xC1D7: 1838,
-    0xC241: 1839,
-    0xC245: 1840,
-    0xC249: 1841,
-    0xC251: 1842,
-    0xC253: 1843,
-    0xC255: 1844,
-    0xC257: 1845,
-    0xC261: 1846,
-    0xC271: 1847,
-    0xC281: 1848,
-    0xC282: 1849,
-    0xC285: 1850,
-    0xC289: 1851,
-    0xC291: 1852,
-    0xC293: 1853,
-    0xC295: 1854,
-    0xC297: 1855,
-    0xC2A1: 1856,
-    0xC2B6: 1857,
-    0xC2C1: 1858,
-    0xC2C5: 1859,
-    0xC2E1: 1860,
-    0xC2E5: 1861,
-    0xC2E9: 1862,
-    0xC2F1: 1863,
-    0xC2F3: 1864,
-    0xC2F5: 1865,
-    0xC2F7: 1866,
-    0xC341: 1867,
-    0xC345: 1868,
-    0xC349: 1869,
-    0xC351: 1870,
-    0xC357: 1871,
-    0xC361: 1872,
-    0xC362: 1873,
-    0xC365: 1874,
-    0xC369: 1875,
-    0xC371: 1876,
-    0xC373: 1877,
-    0xC375: 1878,
-    0xC377: 1879,
-    0xC3A1: 1880,
-    0xC3A2: 1881,
-    0xC3A5: 1882,
-    0xC3A8: 1883,
-    0xC3A9: 1884,
-    0xC3AA: 1885,
-    0xC3B1: 1886,
-    0xC3B3: 1887,
-    0xC3B5: 1888,
-    0xC3B7: 1889,
-    0xC461: 1890,
-    0xC462: 1891,
-    0xC465: 1892,
-    0xC469: 1893,
-    0xC471: 1894,
-    0xC473: 1895,
-    0xC475: 1896,
-    0xC477: 1897,
-    0xC481: 1898,
-    0xC482: 1899,
-    0xC485: 1900,
-    0xC489: 1901,
-    0xC491: 1902,
-    0xC493: 1903,
-    0xC495: 1904,
-    0xC496: 1905,
-    0xC497: 1906,
-    0xC4A1: 1907,
-    0xC4A2: 1908,
-    0xC4B7: 1909,
-    0xC4E1: 1910,
-    0xC4E2: 1911,
-    0xC4E5: 1912,
-    0xC4E8: 1913,
-    0xC4E9: 1914,
-    0xC4F1: 1915,
-    0xC4F3: 1916,
-    0xC4F5: 1917,
-    0xC4F6: 1918,
-    0xC4F7: 1919,
-    0xC541: 1920,
-    0xC542: 1921,
-    0xC545: 1922,
-    0xC549: 1923,
-    0xC551: 1924,
-    0xC553: 1925,
-    0xC555: 1926,
-    0xC557: 1927,
-    0xC561: 1928,
-    0xC565: 1929,
-    0xC569: 1930,
-    0xC571: 1931,
-    0xC573: 1932,
-    0xC575: 1933,
-    0xC576: 1934,
-    0xC577: 1935,
-    0xC581: 1936,
-    0xC5A1: 1937,
-    0xC5A2: 1938,
-    0xC5A5: 1939,
-    0xC5A9: 1940,
-    0xC5B1: 1941,
-    0xC5B3: 1942,
-    0xC5B5: 1943,
-    0xC5B7: 1944,
-    0xC5C1: 1945,
-    0xC5C2: 1946,
-    0xC5C5: 1947,
-    0xC5C9: 1948,
-    0xC5D1: 1949,
-    0xC5D7: 1950,
-    0xC5E1: 1951,
-    0xC5F7: 1952,
-    0xC641: 1953,
-    0xC649: 1954,
-    0xC661: 1955,
-    0xC681: 1956,
-    0xC682: 1957,
-    0xC685: 1958,
-    0xC689: 1959,
-    0xC691: 1960,
-    0xC693: 1961,
-    0xC695: 1962,
-    0xC697: 1963,
-    0xC6A1: 1964,
-    0xC6A5: 1965,
-    0xC6A9: 1966,
-    0xC6B7: 1967,
-    0xC6C1: 1968,
-    0xC6D7: 1969,
-    0xC6E1: 1970,
-    0xC6E2: 1971,
-    0xC6E5: 1972,
-    0xC6E9: 1973,
-    0xC6F1: 1974,
-    0xC6F3: 1975,
-    0xC6F5: 1976,
-    0xC6F7: 1977,
-    0xC741: 1978,
-    0xC745: 1979,
-    0xC749: 1980,
-    0xC751: 1981,
-    0xC761: 1982,
-    0xC762: 1983,
-    0xC765: 1984,
-    0xC769: 1985,
-    0xC771: 1986,
-    0xC773: 1987,
-    0xC777: 1988,
-    0xC7A1: 1989,
-    0xC7A2: 1990,
-    0xC7A5: 1991,
-    0xC7A9: 1992,
-    0xC7B1: 1993,
-    0xC7B3: 1994,
-    0xC7B5: 1995,
-    0xC7B7: 1996,
-    0xC861: 1997,
-    0xC862: 1998,
-    0xC865: 1999,
-    0xC869: 2000,
-    0xC86A: 2001,
-    0xC871: 2002,
-    0xC873: 2003,
-    0xC875: 2004,
-    0xC876: 2005,
-    0xC877: 2006,
-    0xC881: 2007,
-    0xC882: 2008,
-    0xC885: 2009,
-    0xC889: 2010,
-    0xC891: 2011,
-    0xC893: 2012,
-    0xC895: 2013,
-    0xC896: 2014,
-    0xC897: 2015,
-    0xC8A1: 2016,
-    0xC8B7: 2017,
-    0xC8E1: 2018,
-    0xC8E2: 2019,
-    0xC8E5: 2020,
-    0xC8E9: 2021,
-    0xC8EB: 2022,
-    0xC8F1: 2023,
-    0xC8F3: 2024,
-    0xC8F5: 2025,
-    0xC8F6: 2026,
-    0xC8F7: 2027,
-    0xC941: 2028,
-    0xC942: 2029,
-    0xC945: 2030,
-    0xC949: 2031,
-    0xC951: 2032,
-    0xC953: 2033,
-    0xC955: 2034,
-    0xC957: 2035,
-    0xC961: 2036,
-    0xC965: 2037,
-    0xC976: 2038,
-    0xC981: 2039,
-    0xC985: 2040,
-    0xC9A1: 2041,
-    0xC9A2: 2042,
-    0xC9A5: 2043,
-    0xC9A9: 2044,
-    0xC9B1: 2045,
-    0xC9B3: 2046,
-    0xC9B5: 2047,
-    0xC9B7: 2048,
-    0xC9BC: 2049,
-    0xC9C1: 2050,
-    0xC9C5: 2051,
-    0xC9E1: 2052,
-    0xCA41: 2053,
-    0xCA45: 2054,
-    0xCA55: 2055,
-    0xCA57: 2056,
-    0xCA61: 2057,
-    0xCA81: 2058,
-    0xCA82: 2059,
-    0xCA85: 2060,
-    0xCA89: 2061,
-    0xCA91: 2062,
-    0xCA93: 2063,
-    0xCA95: 2064,
-    0xCA97: 2065,
-    0xCAA1: 2066,
-    0xCAB6: 2067,
-    0xCAC1: 2068,
-    0xCAE1: 2069,
-    0xCAE2: 2070,
-    0xCAE5: 2071,
-    0xCAE9: 2072,
-    0xCAF1: 2073,
-    0xCAF3: 2074,
-    0xCAF7: 2075,
-    0xCB41: 2076,
-    0xCB45: 2077,
-    0xCB49: 2078,
-    0xCB51: 2079,
-    0xCB57: 2080,
-    0xCB61: 2081,
-    0xCB62: 2082,
-    0xCB65: 2083,
-    0xCB68: 2084,
-    0xCB69: 2085,
-    0xCB6B: 2086,
-    0xCB71: 2087,
-    0xCB73: 2088,
-    0xCB75: 2089,
-    0xCB81: 2090,
-    0xCB85: 2091,
-    0xCB89: 2092,
-    0xCB91: 2093,
-    0xCB93: 2094,
-    0xCBA1: 2095,
-    0xCBA2: 2096,
-    0xCBA5: 2097,
-    0xCBA9: 2098,
-    0xCBB1: 2099,
-    0xCBB3: 2100,
-    0xCBB5: 2101,
-    0xCBB7: 2102,
-    0xCC61: 2103,
-    0xCC62: 2104,
-    0xCC63: 2105,
-    0xCC65: 2106,
-    0xCC69: 2107,
-    0xCC6B: 2108,
-    0xCC71: 2109,
-    0xCC73: 2110,
-    0xCC75: 2111,
-    0xCC76: 2112,
-    0xCC77: 2113,
-    0xCC7B: 2114,
-    0xCC81: 2115,
-    0xCC82: 2116,
-    0xCC85: 2117,
-    0xCC89: 2118,
-    0xCC91: 2119,
-    0xCC93: 2120,
-    0xCC95: 2121,
-    0xCC96: 2122,
-    0xCC97: 2123,
-    0xCCA1: 2124,
-    0xCCA2: 2125,
-    0xCCE1: 2126,
-    0xCCE2: 2127,
-    0xCCE5: 2128,
-    0xCCE9: 2129,
-    0xCCF1: 2130,
-    0xCCF3: 2131,
-    0xCCF5: 2132,
-    0xCCF6: 2133,
-    0xCCF7: 2134,
-    0xCD41: 2135,
-    0xCD42: 2136,
-    0xCD45: 2137,
-    0xCD49: 2138,
-    0xCD51: 2139,
-    0xCD53: 2140,
-    0xCD55: 2141,
-    0xCD57: 2142,
-    0xCD61: 2143,
-    0xCD65: 2144,
-    0xCD69: 2145,
-    0xCD71: 2146,
-    0xCD73: 2147,
-    0xCD76: 2148,
-    0xCD77: 2149,
-    0xCD81: 2150,
-    0xCD89: 2151,
-    0xCD93: 2152,
-    0xCD95: 2153,
-    0xCDA1: 2154,
-    0xCDA2: 2155,
-    0xCDA5: 2156,
-    0xCDA9: 2157,
-    0xCDB1: 2158,
-    0xCDB3: 2159,
-    0xCDB5: 2160,
-    0xCDB7: 2161,
-    0xCDC1: 2162,
-    0xCDD7: 2163,
-    0xCE41: 2164,
-    0xCE45: 2165,
-    0xCE61: 2166,
-    0xCE65: 2167,
-    0xCE69: 2168,
-    0xCE73: 2169,
-    0xCE75: 2170,
-    0xCE81: 2171,
-    0xCE82: 2172,
-    0xCE85: 2173,
-    0xCE88: 2174,
-    0xCE89: 2175,
-    0xCE8B: 2176,
-    0xCE91: 2177,
-    0xCE93: 2178,
-    0xCE95: 2179,
-    0xCE97: 2180,
-    0xCEA1: 2181,
-    0xCEB7: 2182,
-    0xCEE1: 2183,
-    0xCEE5: 2184,
-    0xCEE9: 2185,
-    0xCEF1: 2186,
-    0xCEF5: 2187,
-    0xCF41: 2188,
-    0xCF45: 2189,
-    0xCF49: 2190,
-    0xCF51: 2191,
-    0xCF55: 2192,
-    0xCF57: 2193,
-    0xCF61: 2194,
-    0xCF65: 2195,
-    0xCF69: 2196,
-    0xCF71: 2197,
-    0xCF73: 2198,
-    0xCF75: 2199,
-    0xCFA1: 2200,
-    0xCFA2: 2201,
-    0xCFA5: 2202,
-    0xCFA9: 2203,
-    0xCFB1: 2204,
-    0xCFB3: 2205,
-    0xCFB5: 2206,
-    0xCFB7: 2207,
-    0xD061: 2208,
-    0xD062: 2209,
-    0xD065: 2210,
-    0xD069: 2211,
-    0xD06E: 2212,
-    0xD071: 2213,
-    0xD073: 2214,
-    0xD075: 2215,
-    0xD077: 2216,
-    0xD081: 2217,
-    0xD082: 2218,
-    0xD085: 2219,
-    0xD089: 2220,
-    0xD091: 2221,
-    0xD093: 2222,
-    0xD095: 2223,
-    0xD096: 2224,
-    0xD097: 2225,
-    0xD0A1: 2226,
-    0xD0B7: 2227,
-    0xD0E1: 2228,
-    0xD0E2: 2229,
-    0xD0E5: 2230,
-    0xD0E9: 2231,
-    0xD0EB: 2232,
-    0xD0F1: 2233,
-    0xD0F3: 2234,
-    0xD0F5: 2235,
-    0xD0F7: 2236,
-    0xD141: 2237,
-    0xD142: 2238,
-    0xD145: 2239,
-    0xD149: 2240,
-    0xD151: 2241,
-    0xD153: 2242,
-    0xD155: 2243,
-    0xD157: 2244,
-    0xD161: 2245,
-    0xD162: 2246,
-    0xD165: 2247,
-    0xD169: 2248,
-    0xD171: 2249,
-    0xD173: 2250,
-    0xD175: 2251,
-    0xD176: 2252,
-    0xD177: 2253,
-    0xD181: 2254,
-    0xD185: 2255,
-    0xD189: 2256,
-    0xD193: 2257,
-    0xD1A1: 2258,
-    0xD1A2: 2259,
-    0xD1A5: 2260,
-    0xD1A9: 2261,
-    0xD1AE: 2262,
-    0xD1B1: 2263,
-    0xD1B3: 2264,
-    0xD1B5: 2265,
-    0xD1B7: 2266,
-    0xD1BB: 2267,
-    0xD1C1: 2268,
-    0xD1C2: 2269,
-    0xD1C5: 2270,
-    0xD1C9: 2271,
-    0xD1D5: 2272,
-    0xD1D7: 2273,
-    0xD1E1: 2274,
-    0xD1E2: 2275,
-    0xD1E5: 2276,
-    0xD1F5: 2277,
-    0xD1F7: 2278,
-    0xD241: 2279,
-    0xD242: 2280,
-    0xD245: 2281,
-    0xD249: 2282,
-    0xD253: 2283,
-    0xD255: 2284,
-    0xD257: 2285,
-    0xD261: 2286,
-    0xD265: 2287,
-    0xD269: 2288,
-    0xD273: 2289,
-    0xD275: 2290,
-    0xD281: 2291,
-    0xD282: 2292,
-    0xD285: 2293,
-    0xD289: 2294,
-    0xD28E: 2295,
-    0xD291: 2296,
-    0xD295: 2297,
-    0xD297: 2298,
-    0xD2A1: 2299,
-    0xD2A5: 2300,
-    0xD2A9: 2301,
-    0xD2B1: 2302,
-    0xD2B7: 2303,
-    0xD2C1: 2304,
-    0xD2C2: 2305,
-    0xD2C5: 2306,
-    0xD2C9: 2307,
-    0xD2D7: 2308,
-    0xD2E1: 2309,
-    0xD2E2: 2310,
-    0xD2E5: 2311,
-    0xD2E9: 2312,
-    0xD2F1: 2313,
-    0xD2F3: 2314,
-    0xD2F5: 2315,
-    0xD2F7: 2316,
-    0xD341: 2317,
-    0xD342: 2318,
-    0xD345: 2319,
-    0xD349: 2320,
-    0xD351: 2321,
-    0xD355: 2322,
-    0xD357: 2323,
-    0xD361: 2324,
-    0xD362: 2325,
-    0xD365: 2326,
-    0xD367: 2327,
-    0xD368: 2328,
-    0xD369: 2329,
-    0xD36A: 2330,
-    0xD371: 2331,
-    0xD373: 2332,
-    0xD375: 2333,
-    0xD377: 2334,
-    0xD37B: 2335,
-    0xD381: 2336,
-    0xD385: 2337,
-    0xD389: 2338,
-    0xD391: 2339,
-    0xD393: 2340,
-    0xD397: 2341,
-    0xD3A1: 2342,
-    0xD3A2: 2343,
-    0xD3A5: 2344,
-    0xD3A9: 2345,
-    0xD3B1: 2346,
-    0xD3B3: 2347,
-    0xD3B5: 2348,
-    0xD3B7: 2349,
-}
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/johabprober.py b/.venv/Lib/site-packages/pip/_vendor/chardet/johabprober.py
deleted file mode 100644
index d7364ba..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/johabprober.py
+++ /dev/null
@@ -1,47 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is mozilla.org code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-from .chardistribution import JOHABDistributionAnalysis
-from .codingstatemachine import CodingStateMachine
-from .mbcharsetprober import MultiByteCharSetProber
-from .mbcssm import JOHAB_SM_MODEL
-
-
-class JOHABProber(MultiByteCharSetProber):
-    def __init__(self) -> None:
-        super().__init__()
-        self.coding_sm = CodingStateMachine(JOHAB_SM_MODEL)
-        self.distribution_analyzer = JOHABDistributionAnalysis()
-        self.reset()
-
-    @property
-    def charset_name(self) -> str:
-        return "Johab"
-
-    @property
-    def language(self) -> str:
-        return "Korean"
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/jpcntx.py b/.venv/Lib/site-packages/pip/_vendor/chardet/jpcntx.py
deleted file mode 100644
index 2f53bdd..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/jpcntx.py
+++ /dev/null
@@ -1,238 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is Mozilla Communicator client code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-from typing import List, Tuple, Union
-
-# This is hiragana 2-char sequence table, the number in each cell represents its frequency category
-# fmt: off
-jp2_char_context = (
-    (0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
-    (2, 4, 0, 4, 0, 3, 0, 4, 0, 3, 4, 4, 4, 2, 4, 3, 3, 4, 3, 2, 3, 3, 4, 2, 3, 3, 3, 2, 4, 1, 4, 3, 3, 1, 5, 4, 3, 4, 3, 4, 3, 5, 3, 0, 3, 5, 4, 2, 0, 3, 1, 0, 3, 3, 0, 3, 3, 0, 1, 1, 0, 4, 3, 0, 3, 3, 0, 4, 0, 2, 0, 3, 5, 5, 5, 5, 4, 0, 4, 1, 0, 3, 4),
-    (0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2),
-    (0, 4, 0, 5, 0, 5, 0, 4, 0, 4, 5, 4, 4, 3, 5, 3, 5, 1, 5, 3, 4, 3, 4, 4, 3, 4, 3, 3, 4, 3, 5, 4, 4, 3, 5, 5, 3, 5, 5, 5, 3, 5, 5, 3, 4, 5, 5, 3, 1, 3, 2, 0, 3, 4, 0, 4, 2, 0, 4, 2, 1, 5, 3, 2, 3, 5, 0, 4, 0, 2, 0, 5, 4, 4, 5, 4, 5, 0, 4, 0, 0, 4, 4),
-    (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
-    (0, 3, 0, 4, 0, 3, 0, 3, 0, 4, 5, 4, 3, 3, 3, 3, 4, 3, 5, 4, 4, 3, 5, 4, 4, 3, 4, 3, 4, 4, 4, 4, 5, 3, 4, 4, 3, 4, 5, 5, 4, 5, 5, 1, 4, 5, 4, 3, 0, 3, 3, 1, 3, 3, 0, 4, 4, 0, 3, 3, 1, 5, 3, 3, 3, 5, 0, 4, 0, 3, 0, 4, 4, 3, 4, 3, 3, 0, 4, 1, 1, 3, 4),
-    (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
-    (0, 4, 0, 3, 0, 3, 0, 4, 0, 3, 4, 4, 3, 2, 2, 1, 2, 1, 3, 1, 3, 3, 3, 3, 3, 4, 3, 1, 3, 3, 5, 3, 3, 0, 4, 3, 0, 5, 4, 3, 3, 5, 4, 4, 3, 4, 4, 5, 0, 1, 2, 0, 1, 2, 0, 2, 2, 0, 1, 0, 0, 5, 2, 2, 1, 4, 0, 3, 0, 1, 0, 4, 4, 3, 5, 4, 3, 0, 2, 1, 0, 4, 3),
-    (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
-    (0, 3, 0, 5, 0, 4, 0, 2, 1, 4, 4, 2, 4, 1, 4, 2, 4, 2, 4, 3, 3, 3, 4, 3, 3, 3, 3, 1, 4, 2, 3, 3, 3, 1, 4, 4, 1, 1, 1, 4, 3, 3, 2, 0, 2, 4, 3, 2, 0, 3, 3, 0, 3, 1, 1, 0, 0, 0, 3, 3, 0, 4, 2, 2, 3, 4, 0, 4, 0, 3, 0, 4, 4, 5, 3, 4, 4, 0, 3, 0, 0, 1, 4),
-    (1, 4, 0, 4, 0, 4, 0, 4, 0, 3, 5, 4, 4, 3, 4, 3, 5, 4, 3, 3, 4, 3, 5, 4, 4, 4, 4, 3, 4, 2, 4, 3, 3, 1, 5, 4, 3, 2, 4, 5, 4, 5, 5, 4, 4, 5, 4, 4, 0, 3, 2, 2, 3, 3, 0, 4, 3, 1, 3, 2, 1, 4, 3, 3, 4, 5, 0, 3, 0, 2, 0, 4, 5, 5, 4, 5, 4, 0, 4, 0, 0, 5, 4),
-    (0, 5, 0, 5, 0, 4, 0, 3, 0, 4, 4, 3, 4, 3, 3, 3, 4, 0, 4, 4, 4, 3, 4, 3, 4, 3, 3, 1, 4, 2, 4, 3, 4, 0, 5, 4, 1, 4, 5, 4, 4, 5, 3, 2, 4, 3, 4, 3, 2, 4, 1, 3, 3, 3, 2, 3, 2, 0, 4, 3, 3, 4, 3, 3, 3, 4, 0, 4, 0, 3, 0, 4, 5, 4, 4, 4, 3, 0, 4, 1, 0, 1, 3),
-    (0, 3, 1, 4, 0, 3, 0, 2, 0, 3, 4, 4, 3, 1, 4, 2, 3, 3, 4, 3, 4, 3, 4, 3, 4, 4, 3, 2, 3, 1, 5, 4, 4, 1, 4, 4, 3, 5, 4, 4, 3, 5, 5, 4, 3, 4, 4, 3, 1, 2, 3, 1, 2, 2, 0, 3, 2, 0, 3, 1, 0, 5, 3, 3, 3, 4, 3, 3, 3, 3, 4, 4, 4, 4, 5, 4, 2, 0, 3, 3, 2, 4, 3),
-    (0, 2, 0, 3, 0, 1, 0, 1, 0, 0, 3, 2, 0, 0, 2, 0, 1, 0, 2, 1, 3, 3, 3, 1, 2, 3, 1, 0, 1, 0, 4, 2, 1, 1, 3, 3, 0, 4, 3, 3, 1, 4, 3, 3, 0, 3, 3, 2, 0, 0, 0, 0, 1, 0, 0, 2, 0, 0, 0, 0, 0, 4, 1, 0, 2, 3, 2, 2, 2, 1, 3, 3, 3, 4, 4, 3, 2, 0, 3, 1, 0, 3, 3),
-    (0, 4, 0, 4, 0, 3, 0, 3, 0, 4, 4, 4, 3, 3, 3, 3, 3, 3, 4, 3, 4, 2, 4, 3, 4, 3, 3, 2, 4, 3, 4, 5, 4, 1, 4, 5, 3, 5, 4, 5, 3, 5, 4, 0, 3, 5, 5, 3, 1, 3, 3, 2, 2, 3, 0, 3, 4, 1, 3, 3, 2, 4, 3, 3, 3, 4, 0, 4, 0, 3, 0, 4, 5, 4, 4, 5, 3, 0, 4, 1, 0, 3, 4),
-    (0, 2, 0, 3, 0, 3, 0, 0, 0, 2, 2, 2, 1, 0, 1, 0, 0, 0, 3, 0, 3, 0, 3, 0, 1, 3, 1, 0, 3, 1, 3, 3, 3, 1, 3, 3, 3, 0, 1, 3, 1, 3, 4, 0, 0, 3, 1, 1, 0, 3, 2, 0, 0, 0, 0, 1, 3, 0, 1, 0, 0, 3, 3, 2, 0, 3, 0, 0, 0, 0, 0, 3, 4, 3, 4, 3, 3, 0, 3, 0, 0, 2, 3),
-    (2, 3, 0, 3, 0, 2, 0, 1, 0, 3, 3, 4, 3, 1, 3, 1, 1, 1, 3, 1, 4, 3, 4, 3, 3, 3, 0, 0, 3, 1, 5, 4, 3, 1, 4, 3, 2, 5, 5, 4, 4, 4, 4, 3, 3, 4, 4, 4, 0, 2, 1, 1, 3, 2, 0, 1, 2, 0, 0, 1, 0, 4, 1, 3, 3, 3, 0, 3, 0, 1, 0, 4, 4, 4, 5, 5, 3, 0, 2, 0, 0, 4, 4),
-    (0, 2, 0, 1, 0, 3, 1, 3, 0, 2, 3, 3, 3, 0, 3, 1, 0, 0, 3, 0, 3, 2, 3, 1, 3, 2, 1, 1, 0, 0, 4, 2, 1, 0, 2, 3, 1, 4, 3, 2, 0, 4, 4, 3, 1, 3, 1, 3, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 4, 1, 1, 1, 2, 0, 3, 0, 0, 0, 3, 4, 2, 4, 3, 2, 0, 1, 0, 0, 3, 3),
-    (0, 1, 0, 4, 0, 5, 0, 4, 0, 2, 4, 4, 2, 3, 3, 2, 3, 3, 5, 3, 3, 3, 4, 3, 4, 2, 3, 0, 4, 3, 3, 3, 4, 1, 4, 3, 2, 1, 5, 5, 3, 4, 5, 1, 3, 5, 4, 2, 0, 3, 3, 0, 1, 3, 0, 4, 2, 0, 1, 3, 1, 4, 3, 3, 3, 3, 0, 3, 0, 1, 0, 3, 4, 4, 4, 5, 5, 0, 3, 0, 1, 4, 5),
-    (0, 2, 0, 3, 0, 3, 0, 0, 0, 2, 3, 1, 3, 0, 4, 0, 1, 1, 3, 0, 3, 4, 3, 2, 3, 1, 0, 3, 3, 2, 3, 1, 3, 0, 2, 3, 0, 2, 1, 4, 1, 2, 2, 0, 0, 3, 3, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 0, 2, 2, 0, 3, 2, 1, 3, 3, 0, 2, 0, 2, 0, 0, 3, 3, 1, 2, 4, 0, 3, 0, 2, 2, 3),
-    (2, 4, 0, 5, 0, 4, 0, 4, 0, 2, 4, 4, 4, 3, 4, 3, 3, 3, 1, 2, 4, 3, 4, 3, 4, 4, 5, 0, 3, 3, 3, 3, 2, 0, 4, 3, 1, 4, 3, 4, 1, 4, 4, 3, 3, 4, 4, 3, 1, 2, 3, 0, 4, 2, 0, 4, 1, 0, 3, 3, 0, 4, 3, 3, 3, 4, 0, 4, 0, 2, 0, 3, 5, 3, 4, 5, 2, 0, 3, 0, 0, 4, 5),
-    (0, 3, 0, 4, 0, 1, 0, 1, 0, 1, 3, 2, 2, 1, 3, 0, 3, 0, 2, 0, 2, 0, 3, 0, 2, 0, 0, 0, 1, 0, 1, 1, 0, 0, 3, 1, 0, 0, 0, 4, 0, 3, 1, 0, 2, 1, 3, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 4, 2, 2, 3, 1, 0, 3, 0, 0, 0, 1, 4, 4, 4, 3, 0, 0, 4, 0, 0, 1, 4),
-    (1, 4, 1, 5, 0, 3, 0, 3, 0, 4, 5, 4, 4, 3, 5, 3, 3, 4, 4, 3, 4, 1, 3, 3, 3, 3, 2, 1, 4, 1, 5, 4, 3, 1, 4, 4, 3, 5, 4, 4, 3, 5, 4, 3, 3, 4, 4, 4, 0, 3, 3, 1, 2, 3, 0, 3, 1, 0, 3, 3, 0, 5, 4, 4, 4, 4, 4, 4, 3, 3, 5, 4, 4, 3, 3, 5, 4, 0, 3, 2, 0, 4, 4),
-    (0, 2, 0, 3, 0, 1, 0, 0, 0, 1, 3, 3, 3, 2, 4, 1, 3, 0, 3, 1, 3, 0, 2, 2, 1, 1, 0, 0, 2, 0, 4, 3, 1, 0, 4, 3, 0, 4, 4, 4, 1, 4, 3, 1, 1, 3, 3, 1, 0, 2, 0, 0, 1, 3, 0, 0, 0, 0, 2, 0, 0, 4, 3, 2, 4, 3, 5, 4, 3, 3, 3, 4, 3, 3, 4, 3, 3, 0, 2, 1, 0, 3, 3),
-    (0, 2, 0, 4, 0, 3, 0, 2, 0, 2, 5, 5, 3, 4, 4, 4, 4, 1, 4, 3, 3, 0, 4, 3, 4, 3, 1, 3, 3, 2, 4, 3, 0, 3, 4, 3, 0, 3, 4, 4, 2, 4, 4, 0, 4, 5, 3, 3, 2, 2, 1, 1, 1, 2, 0, 1, 5, 0, 3, 3, 2, 4, 3, 3, 3, 4, 0, 3, 0, 2, 0, 4, 4, 3, 5, 5, 0, 0, 3, 0, 2, 3, 3),
-    (0, 3, 0, 4, 0, 3, 0, 1, 0, 3, 4, 3, 3, 1, 3, 3, 3, 0, 3, 1, 3, 0, 4, 3, 3, 1, 1, 0, 3, 0, 3, 3, 0, 0, 4, 4, 0, 1, 5, 4, 3, 3, 5, 0, 3, 3, 4, 3, 0, 2, 0, 1, 1, 1, 0, 1, 3, 0, 1, 2, 1, 3, 3, 2, 3, 3, 0, 3, 0, 1, 0, 1, 3, 3, 4, 4, 1, 0, 1, 2, 2, 1, 3),
-    (0, 1, 0, 4, 0, 4, 0, 3, 0, 1, 3, 3, 3, 2, 3, 1, 1, 0, 3, 0, 3, 3, 4, 3, 2, 4, 2, 0, 1, 0, 4, 3, 2, 0, 4, 3, 0, 5, 3, 3, 2, 4, 4, 4, 3, 3, 3, 4, 0, 1, 3, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 4, 2, 3, 3, 3, 0, 3, 0, 0, 0, 4, 4, 4, 5, 3, 2, 0, 3, 3, 0, 3, 5),
-    (0, 2, 0, 3, 0, 0, 0, 3, 0, 1, 3, 0, 2, 0, 0, 0, 1, 0, 3, 1, 1, 3, 3, 0, 0, 3, 0, 0, 3, 0, 2, 3, 1, 0, 3, 1, 0, 3, 3, 2, 0, 4, 2, 2, 0, 2, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 2, 0, 1, 0, 1, 0, 0, 0, 1, 3, 1, 2, 0, 0, 0, 1, 0, 0, 1, 4),
-    (0, 3, 0, 3, 0, 5, 0, 1, 0, 2, 4, 3, 1, 3, 3, 2, 1, 1, 5, 2, 1, 0, 5, 1, 2, 0, 0, 0, 3, 3, 2, 2, 3, 2, 4, 3, 0, 0, 3, 3, 1, 3, 3, 0, 2, 5, 3, 4, 0, 3, 3, 0, 1, 2, 0, 2, 2, 0, 3, 2, 0, 2, 2, 3, 3, 3, 0, 2, 0, 1, 0, 3, 4, 4, 2, 5, 4, 0, 3, 0, 0, 3, 5),
-    (0, 3, 0, 3, 0, 3, 0, 1, 0, 3, 3, 3, 3, 0, 3, 0, 2, 0, 2, 1, 1, 0, 2, 0, 1, 0, 0, 0, 2, 1, 0, 0, 1, 0, 3, 2, 0, 0, 3, 3, 1, 2, 3, 1, 0, 3, 3, 0, 0, 1, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 2, 3, 1, 2, 3, 0, 3, 0, 1, 0, 3, 2, 1, 0, 4, 3, 0, 1, 1, 0, 3, 3),
-    (0, 4, 0, 5, 0, 3, 0, 3, 0, 4, 5, 5, 4, 3, 5, 3, 4, 3, 5, 3, 3, 2, 5, 3, 4, 4, 4, 3, 4, 3, 4, 5, 5, 3, 4, 4, 3, 4, 4, 5, 4, 4, 4, 3, 4, 5, 5, 4, 2, 3, 4, 2, 3, 4, 0, 3, 3, 1, 4, 3, 2, 4, 3, 3, 5, 5, 0, 3, 0, 3, 0, 5, 5, 5, 5, 4, 4, 0, 4, 0, 1, 4, 4),
-    (0, 4, 0, 4, 0, 3, 0, 3, 0, 3, 5, 4, 4, 2, 3, 2, 5, 1, 3, 2, 5, 1, 4, 2, 3, 2, 3, 3, 4, 3, 3, 3, 3, 2, 5, 4, 1, 3, 3, 5, 3, 4, 4, 0, 4, 4, 3, 1, 1, 3, 1, 0, 2, 3, 0, 2, 3, 0, 3, 0, 0, 4, 3, 1, 3, 4, 0, 3, 0, 2, 0, 4, 4, 4, 3, 4, 5, 0, 4, 0, 0, 3, 4),
-    (0, 3, 0, 3, 0, 3, 1, 2, 0, 3, 4, 4, 3, 3, 3, 0, 2, 2, 4, 3, 3, 1, 3, 3, 3, 1, 1, 0, 3, 1, 4, 3, 2, 3, 4, 4, 2, 4, 4, 4, 3, 4, 4, 3, 2, 4, 4, 3, 1, 3, 3, 1, 3, 3, 0, 4, 1, 0, 2, 2, 1, 4, 3, 2, 3, 3, 5, 4, 3, 3, 5, 4, 4, 3, 3, 0, 4, 0, 3, 2, 2, 4, 4),
-    (0, 2, 0, 1, 0, 0, 0, 0, 0, 1, 2, 1, 3, 0, 0, 0, 0, 0, 2, 0, 1, 2, 1, 0, 0, 1, 0, 0, 0, 0, 3, 0, 0, 1, 0, 1, 1, 3, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 2, 0, 3, 4, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1),
-    (0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 4, 0, 4, 1, 4, 0, 3, 0, 4, 0, 3, 0, 4, 0, 3, 0, 3, 0, 4, 1, 5, 1, 4, 0, 0, 3, 0, 5, 0, 5, 2, 0, 1, 0, 0, 0, 2, 1, 4, 0, 1, 3, 0, 0, 3, 0, 0, 3, 1, 1, 4, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0),
-    (1, 4, 0, 5, 0, 3, 0, 2, 0, 3, 5, 4, 4, 3, 4, 3, 5, 3, 4, 3, 3, 0, 4, 3, 3, 3, 3, 3, 3, 2, 4, 4, 3, 1, 3, 4, 4, 5, 4, 4, 3, 4, 4, 1, 3, 5, 4, 3, 3, 3, 1, 2, 2, 3, 3, 1, 3, 1, 3, 3, 3, 5, 3, 3, 4, 5, 0, 3, 0, 3, 0, 3, 4, 3, 4, 4, 3, 0, 3, 0, 2, 4, 3),
-    (0, 1, 0, 4, 0, 0, 0, 0, 0, 1, 4, 0, 4, 1, 4, 2, 4, 0, 3, 0, 1, 0, 1, 0, 0, 0, 0, 0, 2, 0, 3, 1, 1, 1, 0, 3, 0, 0, 0, 1, 2, 1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 3, 0, 0, 0, 0, 3, 2, 0, 2, 2, 0, 1, 0, 0, 0, 2, 3, 2, 3, 3, 0, 0, 0, 0, 2, 1, 0),
-    (0, 5, 1, 5, 0, 3, 0, 3, 0, 5, 4, 4, 5, 1, 5, 3, 3, 0, 4, 3, 4, 3, 5, 3, 4, 3, 3, 2, 4, 3, 4, 3, 3, 0, 3, 3, 1, 4, 4, 3, 4, 4, 4, 3, 4, 5, 5, 3, 2, 3, 1, 1, 3, 3, 1, 3, 1, 1, 3, 3, 2, 4, 5, 3, 3, 5, 0, 4, 0, 3, 0, 4, 4, 3, 5, 3, 3, 0, 3, 4, 0, 4, 3),
-    (0, 5, 0, 5, 0, 3, 0, 2, 0, 4, 4, 3, 5, 2, 4, 3, 3, 3, 4, 4, 4, 3, 5, 3, 5, 3, 3, 1, 4, 0, 4, 3, 3, 0, 3, 3, 0, 4, 4, 4, 4, 5, 4, 3, 3, 5, 5, 3, 2, 3, 1, 2, 3, 2, 0, 1, 0, 0, 3, 2, 2, 4, 4, 3, 1, 5, 0, 4, 0, 3, 0, 4, 3, 1, 3, 2, 1, 0, 3, 3, 0, 3, 3),
-    (0, 4, 0, 5, 0, 5, 0, 4, 0, 4, 5, 5, 5, 3, 4, 3, 3, 2, 5, 4, 4, 3, 5, 3, 5, 3, 4, 0, 4, 3, 4, 4, 3, 2, 4, 4, 3, 4, 5, 4, 4, 5, 5, 0, 3, 5, 5, 4, 1, 3, 3, 2, 3, 3, 1, 3, 1, 0, 4, 3, 1, 4, 4, 3, 4, 5, 0, 4, 0, 2, 0, 4, 3, 4, 4, 3, 3, 0, 4, 0, 0, 5, 5),
-    (0, 4, 0, 4, 0, 5, 0, 1, 1, 3, 3, 4, 4, 3, 4, 1, 3, 0, 5, 1, 3, 0, 3, 1, 3, 1, 1, 0, 3, 0, 3, 3, 4, 0, 4, 3, 0, 4, 4, 4, 3, 4, 4, 0, 3, 5, 4, 1, 0, 3, 0, 0, 2, 3, 0, 3, 1, 0, 3, 1, 0, 3, 2, 1, 3, 5, 0, 3, 0, 1, 0, 3, 2, 3, 3, 4, 4, 0, 2, 2, 0, 4, 4),
-    (2, 4, 0, 5, 0, 4, 0, 3, 0, 4, 5, 5, 4, 3, 5, 3, 5, 3, 5, 3, 5, 2, 5, 3, 4, 3, 3, 4, 3, 4, 5, 3, 2, 1, 5, 4, 3, 2, 3, 4, 5, 3, 4, 1, 2, 5, 4, 3, 0, 3, 3, 0, 3, 2, 0, 2, 3, 0, 4, 1, 0, 3, 4, 3, 3, 5, 0, 3, 0, 1, 0, 4, 5, 5, 5, 4, 3, 0, 4, 2, 0, 3, 5),
-    (0, 5, 0, 4, 0, 4, 0, 2, 0, 5, 4, 3, 4, 3, 4, 3, 3, 3, 4, 3, 4, 2, 5, 3, 5, 3, 4, 1, 4, 3, 4, 4, 4, 0, 3, 5, 0, 4, 4, 4, 4, 5, 3, 1, 3, 4, 5, 3, 3, 3, 3, 3, 3, 3, 0, 2, 2, 0, 3, 3, 2, 4, 3, 3, 3, 5, 3, 4, 1, 3, 3, 5, 3, 2, 0, 0, 0, 0, 4, 3, 1, 3, 3),
-    (0, 1, 0, 3, 0, 3, 0, 1, 0, 1, 3, 3, 3, 2, 3, 3, 3, 0, 3, 0, 0, 0, 3, 1, 3, 0, 0, 0, 2, 2, 2, 3, 0, 0, 3, 2, 0, 1, 2, 4, 1, 3, 3, 0, 0, 3, 3, 3, 0, 1, 0, 0, 2, 1, 0, 0, 3, 0, 3, 1, 0, 3, 0, 0, 1, 3, 0, 2, 0, 1, 0, 3, 3, 1, 3, 3, 0, 0, 1, 1, 0, 3, 3),
-    (0, 2, 0, 3, 0, 2, 1, 4, 0, 2, 2, 3, 1, 1, 3, 1, 1, 0, 2, 0, 3, 1, 2, 3, 1, 3, 0, 0, 1, 0, 4, 3, 2, 3, 3, 3, 1, 4, 2, 3, 3, 3, 3, 1, 0, 3, 1, 4, 0, 1, 1, 0, 1, 2, 0, 1, 1, 0, 1, 1, 0, 3, 1, 3, 2, 2, 0, 1, 0, 0, 0, 2, 3, 3, 3, 1, 0, 0, 0, 0, 0, 2, 3),
-    (0, 5, 0, 4, 0, 5, 0, 2, 0, 4, 5, 5, 3, 3, 4, 3, 3, 1, 5, 4, 4, 2, 4, 4, 4, 3, 4, 2, 4, 3, 5, 5, 4, 3, 3, 4, 3, 3, 5, 5, 4, 5, 5, 1, 3, 4, 5, 3, 1, 4, 3, 1, 3, 3, 0, 3, 3, 1, 4, 3, 1, 4, 5, 3, 3, 5, 0, 4, 0, 3, 0, 5, 3, 3, 1, 4, 3, 0, 4, 0, 1, 5, 3),
-    (0, 5, 0, 5, 0, 4, 0, 2, 0, 4, 4, 3, 4, 3, 3, 3, 3, 3, 5, 4, 4, 4, 4, 4, 4, 5, 3, 3, 5, 2, 4, 4, 4, 3, 4, 4, 3, 3, 4, 4, 5, 5, 3, 3, 4, 3, 4, 3, 3, 4, 3, 3, 3, 3, 1, 2, 2, 1, 4, 3, 3, 5, 4, 4, 3, 4, 0, 4, 0, 3, 0, 4, 4, 4, 4, 4, 1, 0, 4, 2, 0, 2, 4),
-    (0, 4, 0, 4, 0, 3, 0, 1, 0, 3, 5, 2, 3, 0, 3, 0, 2, 1, 4, 2, 3, 3, 4, 1, 4, 3, 3, 2, 4, 1, 3, 3, 3, 0, 3, 3, 0, 0, 3, 3, 3, 5, 3, 3, 3, 3, 3, 2, 0, 2, 0, 0, 2, 0, 0, 2, 0, 0, 1, 0, 0, 3, 1, 2, 2, 3, 0, 3, 0, 2, 0, 4, 4, 3, 3, 4, 1, 0, 3, 0, 0, 2, 4),
-    (0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 2, 0, 0, 0, 0, 0, 1, 0, 2, 0, 1, 0, 0, 0, 0, 0, 3, 1, 3, 0, 3, 2, 0, 0, 0, 1, 0, 3, 2, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 0, 2, 0, 0, 0, 0, 0, 0, 2),
-    (0, 2, 1, 3, 0, 2, 0, 2, 0, 3, 3, 3, 3, 1, 3, 1, 3, 3, 3, 3, 3, 3, 4, 2, 2, 1, 2, 1, 4, 0, 4, 3, 1, 3, 3, 3, 2, 4, 3, 5, 4, 3, 3, 3, 3, 3, 3, 3, 0, 1, 3, 0, 2, 0, 0, 1, 0, 0, 1, 0, 0, 4, 2, 0, 2, 3, 0, 3, 3, 0, 3, 3, 4, 2, 3, 1, 4, 0, 1, 2, 0, 2, 3),
-    (0, 3, 0, 3, 0, 1, 0, 3, 0, 2, 3, 3, 3, 0, 3, 1, 2, 0, 3, 3, 2, 3, 3, 2, 3, 2, 3, 1, 3, 0, 4, 3, 2, 0, 3, 3, 1, 4, 3, 3, 2, 3, 4, 3, 1, 3, 3, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 4, 1, 1, 0, 3, 0, 3, 1, 0, 2, 3, 3, 3, 3, 3, 1, 0, 0, 2, 0, 3, 3),
-    (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 2, 0, 3, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 3, 0, 3, 0, 3, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 2, 0, 2, 3, 0, 0, 0, 0, 0, 0, 0, 0, 3),
-    (0, 2, 0, 3, 1, 3, 0, 3, 0, 2, 3, 3, 3, 1, 3, 1, 3, 1, 3, 1, 3, 3, 3, 1, 3, 0, 2, 3, 1, 1, 4, 3, 3, 2, 3, 3, 1, 2, 2, 4, 1, 3, 3, 0, 1, 4, 2, 3, 0, 1, 3, 0, 3, 0, 0, 1, 3, 0, 2, 0, 0, 3, 3, 2, 1, 3, 0, 3, 0, 2, 0, 3, 4, 4, 4, 3, 1, 0, 3, 0, 0, 3, 3),
-    (0, 2, 0, 1, 0, 2, 0, 0, 0, 1, 3, 2, 2, 1, 3, 0, 1, 1, 3, 0, 3, 2, 3, 1, 2, 0, 2, 0, 1, 1, 3, 3, 3, 0, 3, 3, 1, 1, 2, 3, 2, 3, 3, 1, 2, 3, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, 3, 0, 1, 0, 0, 2, 1, 2, 1, 3, 0, 3, 0, 0, 0, 3, 4, 4, 4, 3, 2, 0, 2, 0, 0, 2, 4),
-    (0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 3, 1, 0, 0, 0, 0, 0, 0, 0, 3),
-    (0, 3, 0, 3, 0, 2, 0, 3, 0, 3, 3, 3, 2, 3, 2, 2, 2, 0, 3, 1, 3, 3, 3, 2, 3, 3, 0, 0, 3, 0, 3, 2, 2, 0, 2, 3, 1, 4, 3, 4, 3, 3, 2, 3, 1, 5, 4, 4, 0, 3, 1, 2, 1, 3, 0, 3, 1, 1, 2, 0, 2, 3, 1, 3, 1, 3, 0, 3, 0, 1, 0, 3, 3, 4, 4, 2, 1, 0, 2, 1, 0, 2, 4),
-    (0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 4, 2, 5, 1, 4, 0, 2, 0, 2, 1, 3, 1, 4, 0, 2, 1, 0, 0, 2, 1, 4, 1, 1, 0, 3, 3, 0, 5, 1, 3, 2, 3, 3, 1, 0, 3, 2, 3, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 4, 0, 1, 0, 3, 0, 2, 0, 1, 0, 3, 3, 3, 4, 3, 3, 0, 0, 0, 0, 2, 3),
-    (0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 2, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 0, 0, 1, 0, 0, 0, 0, 0, 3),
-    (0, 1, 0, 3, 0, 4, 0, 3, 0, 2, 4, 3, 1, 0, 3, 2, 2, 1, 3, 1, 2, 2, 3, 1, 1, 1, 2, 1, 3, 0, 1, 2, 0, 1, 3, 2, 1, 3, 0, 5, 5, 1, 0, 0, 1, 3, 2, 1, 0, 3, 0, 0, 1, 0, 0, 0, 0, 0, 3, 4, 0, 1, 1, 1, 3, 2, 0, 2, 0, 1, 0, 2, 3, 3, 1, 2, 3, 0, 1, 0, 1, 0, 4),
-    (0, 0, 0, 1, 0, 3, 0, 3, 0, 2, 2, 1, 0, 0, 4, 0, 3, 0, 3, 1, 3, 0, 3, 0, 3, 0, 1, 0, 3, 0, 3, 1, 3, 0, 3, 3, 0, 0, 1, 2, 1, 1, 1, 0, 1, 2, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 1, 2, 0, 0, 2, 0, 0, 0, 0, 2, 3, 3, 3, 3, 0, 0, 0, 0, 1, 4),
-    (0, 0, 0, 3, 0, 3, 0, 0, 0, 0, 3, 1, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 3, 0, 2, 0, 2, 3, 0, 0, 2, 2, 3, 1, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 2, 0, 0, 0, 0, 2, 3),
-    (2, 4, 0, 5, 0, 5, 0, 4, 0, 3, 4, 3, 3, 3, 4, 3, 3, 3, 4, 3, 4, 4, 5, 4, 5, 5, 5, 2, 3, 0, 5, 5, 4, 1, 5, 4, 3, 1, 5, 4, 3, 4, 4, 3, 3, 4, 3, 3, 0, 3, 2, 0, 2, 3, 0, 3, 0, 0, 3, 3, 0, 5, 3, 2, 3, 3, 0, 3, 0, 3, 0, 3, 4, 5, 4, 5, 3, 0, 4, 3, 0, 3, 4),
-    (0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 3, 4, 3, 2, 3, 2, 3, 0, 4, 3, 3, 3, 3, 3, 3, 3, 3, 0, 3, 2, 4, 3, 3, 1, 3, 4, 3, 4, 4, 4, 3, 4, 4, 3, 2, 4, 4, 1, 0, 2, 0, 0, 1, 1, 0, 2, 0, 0, 3, 1, 0, 5, 3, 2, 1, 3, 0, 3, 0, 1, 2, 4, 3, 2, 4, 3, 3, 0, 3, 2, 0, 4, 4),
-    (0, 3, 0, 3, 0, 1, 0, 0, 0, 1, 4, 3, 3, 2, 3, 1, 3, 1, 4, 2, 3, 2, 4, 2, 3, 4, 3, 0, 2, 2, 3, 3, 3, 0, 3, 3, 3, 0, 3, 4, 1, 3, 3, 0, 3, 4, 3, 3, 0, 1, 1, 0, 1, 0, 0, 0, 4, 0, 3, 0, 0, 3, 1, 2, 1, 3, 0, 4, 0, 1, 0, 4, 3, 3, 4, 3, 3, 0, 2, 0, 0, 3, 3),
-    (0, 3, 0, 4, 0, 1, 0, 3, 0, 3, 4, 3, 3, 0, 3, 3, 3, 1, 3, 1, 3, 3, 4, 3, 3, 3, 0, 0, 3, 1, 5, 3, 3, 1, 3, 3, 2, 5, 4, 3, 3, 4, 5, 3, 2, 5, 3, 4, 0, 1, 0, 0, 0, 0, 0, 2, 0, 0, 1, 1, 0, 4, 2, 2, 1, 3, 0, 3, 0, 2, 0, 4, 4, 3, 5, 3, 2, 0, 1, 1, 0, 3, 4),
-    (0, 5, 0, 4, 0, 5, 0, 2, 0, 4, 4, 3, 3, 2, 3, 3, 3, 1, 4, 3, 4, 1, 5, 3, 4, 3, 4, 0, 4, 2, 4, 3, 4, 1, 5, 4, 0, 4, 4, 4, 4, 5, 4, 1, 3, 5, 4, 2, 1, 4, 1, 1, 3, 2, 0, 3, 1, 0, 3, 2, 1, 4, 3, 3, 3, 4, 0, 4, 0, 3, 0, 4, 4, 4, 3, 3, 3, 0, 4, 2, 0, 3, 4),
-    (1, 4, 0, 4, 0, 3, 0, 1, 0, 3, 3, 3, 1, 1, 3, 3, 2, 2, 3, 3, 1, 0, 3, 2, 2, 1, 2, 0, 3, 1, 2, 1, 2, 0, 3, 2, 0, 2, 2, 3, 3, 4, 3, 0, 3, 3, 1, 2, 0, 1, 1, 3, 1, 2, 0, 0, 3, 0, 1, 1, 0, 3, 2, 2, 3, 3, 0, 3, 0, 0, 0, 2, 3, 3, 4, 3, 3, 0, 1, 0, 0, 1, 4),
-    (0, 4, 0, 4, 0, 4, 0, 0, 0, 3, 4, 4, 3, 1, 4, 2, 3, 2, 3, 3, 3, 1, 4, 3, 4, 0, 3, 0, 4, 2, 3, 3, 2, 2, 5, 4, 2, 1, 3, 4, 3, 4, 3, 1, 3, 3, 4, 2, 0, 2, 1, 0, 3, 3, 0, 0, 2, 0, 3, 1, 0, 4, 4, 3, 4, 3, 0, 4, 0, 1, 0, 2, 4, 4, 4, 4, 4, 0, 3, 2, 0, 3, 3),
-    (0, 0, 0, 1, 0, 4, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 3, 2, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 2),
-    (0, 2, 0, 3, 0, 4, 0, 4, 0, 1, 3, 3, 3, 0, 4, 0, 2, 1, 2, 1, 1, 1, 2, 0, 3, 1, 1, 0, 1, 0, 3, 1, 0, 0, 3, 3, 2, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 2, 0, 2, 2, 0, 3, 1, 0, 0, 1, 0, 1, 1, 0, 1, 2, 0, 3, 0, 0, 0, 0, 1, 0, 0, 3, 3, 4, 3, 1, 0, 1, 0, 3, 0, 2),
-    (0, 0, 0, 3, 0, 5, 0, 0, 0, 0, 1, 0, 2, 0, 3, 1, 0, 1, 3, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 4, 0, 0, 0, 2, 3, 0, 1, 4, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 3, 0, 0, 0, 0, 0, 3),
-    (0, 2, 0, 5, 0, 5, 0, 1, 0, 2, 4, 3, 3, 2, 5, 1, 3, 2, 3, 3, 3, 0, 4, 1, 2, 0, 3, 0, 4, 0, 2, 2, 1, 1, 5, 3, 0, 0, 1, 4, 2, 3, 2, 0, 3, 3, 3, 2, 0, 2, 4, 1, 1, 2, 0, 1, 1, 0, 3, 1, 0, 1, 3, 1, 2, 3, 0, 2, 0, 0, 0, 1, 3, 5, 4, 4, 4, 0, 3, 0, 0, 1, 3),
-    (0, 4, 0, 5, 0, 4, 0, 4, 0, 4, 5, 4, 3, 3, 4, 3, 3, 3, 4, 3, 4, 4, 5, 3, 4, 5, 4, 2, 4, 2, 3, 4, 3, 1, 4, 4, 1, 3, 5, 4, 4, 5, 5, 4, 4, 5, 5, 5, 2, 3, 3, 1, 4, 3, 1, 3, 3, 0, 3, 3, 1, 4, 3, 4, 4, 4, 0, 3, 0, 4, 0, 3, 3, 4, 4, 5, 0, 0, 4, 3, 0, 4, 5),
-    (0, 4, 0, 4, 0, 3, 0, 3, 0, 3, 4, 4, 4, 3, 3, 2, 4, 3, 4, 3, 4, 3, 5, 3, 4, 3, 2, 1, 4, 2, 4, 4, 3, 1, 3, 4, 2, 4, 5, 5, 3, 4, 5, 4, 1, 5, 4, 3, 0, 3, 2, 2, 3, 2, 1, 3, 1, 0, 3, 3, 3, 5, 3, 3, 3, 5, 4, 4, 2, 3, 3, 4, 3, 3, 3, 2, 1, 0, 3, 2, 1, 4, 3),
-    (0, 4, 0, 5, 0, 4, 0, 3, 0, 3, 5, 5, 3, 2, 4, 3, 4, 0, 5, 4, 4, 1, 4, 4, 4, 3, 3, 3, 4, 3, 5, 5, 2, 3, 3, 4, 1, 2, 5, 5, 3, 5, 5, 2, 3, 5, 5, 4, 0, 3, 2, 0, 3, 3, 1, 1, 5, 1, 4, 1, 0, 4, 3, 2, 3, 5, 0, 4, 0, 3, 0, 5, 4, 3, 4, 3, 0, 0, 4, 1, 0, 4, 4),
-    (1, 3, 0, 4, 0, 2, 0, 2, 0, 2, 5, 5, 3, 3, 3, 3, 3, 0, 4, 2, 3, 4, 4, 4, 3, 4, 0, 0, 3, 4, 5, 4, 3, 3, 3, 3, 2, 5, 5, 4, 5, 5, 5, 4, 3, 5, 5, 5, 1, 3, 1, 0, 1, 0, 0, 3, 2, 0, 4, 2, 0, 5, 2, 3, 2, 4, 1, 3, 0, 3, 0, 4, 5, 4, 5, 4, 3, 0, 4, 2, 0, 5, 4),
-    (0, 3, 0, 4, 0, 5, 0, 3, 0, 3, 4, 4, 3, 2, 3, 2, 3, 3, 3, 3, 3, 2, 4, 3, 3, 2, 2, 0, 3, 3, 3, 3, 3, 1, 3, 3, 3, 0, 4, 4, 3, 4, 4, 1, 1, 4, 4, 2, 0, 3, 1, 0, 1, 1, 0, 4, 1, 0, 2, 3, 1, 3, 3, 1, 3, 4, 0, 3, 0, 1, 0, 3, 1, 3, 0, 0, 1, 0, 2, 0, 0, 4, 4),
-    (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
-    (0, 3, 0, 3, 0, 2, 0, 3, 0, 1, 5, 4, 3, 3, 3, 1, 4, 2, 1, 2, 3, 4, 4, 2, 4, 4, 5, 0, 3, 1, 4, 3, 4, 0, 4, 3, 3, 3, 2, 3, 2, 5, 3, 4, 3, 2, 2, 3, 0, 0, 3, 0, 2, 1, 0, 1, 2, 0, 0, 0, 0, 2, 1, 1, 3, 1, 0, 2, 0, 4, 0, 3, 4, 4, 4, 5, 2, 0, 2, 0, 0, 1, 3),
-    (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 4, 2, 1, 1, 0, 1, 0, 3, 2, 0, 0, 3, 1, 1, 1, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 1, 0, 0, 0, 2, 0, 0, 0, 1, 4, 0, 4, 2, 1, 0, 0, 0, 0, 0, 1),
-    (0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 3, 1, 0, 0, 0, 2, 0, 2, 1, 0, 0, 1, 2, 1, 0, 1, 1, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 1, 0, 0, 0, 0, 0, 1, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 2),
-    (0, 4, 0, 4, 0, 4, 0, 3, 0, 4, 4, 3, 4, 2, 4, 3, 2, 0, 4, 4, 4, 3, 5, 3, 5, 3, 3, 2, 4, 2, 4, 3, 4, 3, 1, 4, 0, 2, 3, 4, 4, 4, 3, 3, 3, 4, 4, 4, 3, 4, 1, 3, 4, 3, 2, 1, 2, 1, 3, 3, 3, 4, 4, 3, 3, 5, 0, 4, 0, 3, 0, 4, 3, 3, 3, 2, 1, 0, 3, 0, 0, 3, 3),
-    (0, 4, 0, 3, 0, 3, 0, 3, 0, 3, 5, 5, 3, 3, 3, 3, 4, 3, 4, 3, 3, 3, 4, 4, 4, 3, 3, 3, 3, 4, 3, 5, 3, 3, 1, 3, 2, 4, 5, 5, 5, 5, 4, 3, 4, 5, 5, 3, 2, 2, 3, 3, 3, 3, 2, 3, 3, 1, 2, 3, 2, 4, 3, 3, 3, 4, 0, 4, 0, 2, 0, 4, 3, 2, 2, 1, 2, 0, 3, 0, 0, 4, 1),
-)
-# fmt: on
-
-
-class JapaneseContextAnalysis:
-    NUM_OF_CATEGORY = 6
-    DONT_KNOW = -1
-    ENOUGH_REL_THRESHOLD = 100
-    MAX_REL_THRESHOLD = 1000
-    MINIMUM_DATA_THRESHOLD = 4
-
-    def __init__(self) -> None:
-        self._total_rel = 0
-        self._rel_sample: List[int] = []
-        self._need_to_skip_char_num = 0
-        self._last_char_order = -1
-        self._done = False
-        self.reset()
-
-    def reset(self) -> None:
-        self._total_rel = 0  # total sequence received
-        # category counters, each integer counts sequence in its category
-        self._rel_sample = [0] * self.NUM_OF_CATEGORY
-        # if last byte in current buffer is not the last byte of a character,
-        # we need to know how many bytes to skip in next buffer
-        self._need_to_skip_char_num = 0
-        self._last_char_order = -1  # The order of previous char
-        # If this flag is set to True, detection is done and conclusion has
-        # been made
-        self._done = False
-
-    def feed(self, byte_str: Union[bytes, bytearray], num_bytes: int) -> None:
-        if self._done:
-            return
-
-        # The buffer we got is byte oriented, and a character may span in more than one
-        # buffers. In case the last one or two byte in last buffer is not
-        # complete, we record how many byte needed to complete that character
-        # and skip these bytes here.  We can choose to record those bytes as
-        # well and analyse the character once it is complete, but since a
-        # character will not make much difference, by simply skipping
-        # this character will simply our logic and improve performance.
-        i = self._need_to_skip_char_num
-        while i < num_bytes:
-            order, char_len = self.get_order(byte_str[i : i + 2])
-            i += char_len
-            if i > num_bytes:
-                self._need_to_skip_char_num = i - num_bytes
-                self._last_char_order = -1
-            else:
-                if (order != -1) and (self._last_char_order != -1):
-                    self._total_rel += 1
-                    if self._total_rel > self.MAX_REL_THRESHOLD:
-                        self._done = True
-                        break
-                    self._rel_sample[
-                        jp2_char_context[self._last_char_order][order]
-                    ] += 1
-                self._last_char_order = order
-
-    def got_enough_data(self) -> bool:
-        return self._total_rel > self.ENOUGH_REL_THRESHOLD
-
-    def get_confidence(self) -> float:
-        # This is just one way to calculate confidence. It works well for me.
-        if self._total_rel > self.MINIMUM_DATA_THRESHOLD:
-            return (self._total_rel - self._rel_sample[0]) / self._total_rel
-        return self.DONT_KNOW
-
-    def get_order(self, _: Union[bytes, bytearray]) -> Tuple[int, int]:
-        return -1, 1
-
-
-class SJISContextAnalysis(JapaneseContextAnalysis):
-    def __init__(self) -> None:
-        super().__init__()
-        self._charset_name = "SHIFT_JIS"
-
-    @property
-    def charset_name(self) -> str:
-        return self._charset_name
-
-    def get_order(self, byte_str: Union[bytes, bytearray]) -> Tuple[int, int]:
-        if not byte_str:
-            return -1, 1
-        # find out current char's byte length
-        first_char = byte_str[0]
-        if (0x81 <= first_char <= 0x9F) or (0xE0 <= first_char <= 0xFC):
-            char_len = 2
-            if (first_char == 0x87) or (0xFA <= first_char <= 0xFC):
-                self._charset_name = "CP932"
-        else:
-            char_len = 1
-
-        # return its order if it is hiragana
-        if len(byte_str) > 1:
-            second_char = byte_str[1]
-            if (first_char == 202) and (0x9F <= second_char <= 0xF1):
-                return second_char - 0x9F, char_len
-
-        return -1, char_len
-
-
-class EUCJPContextAnalysis(JapaneseContextAnalysis):
-    def get_order(self, byte_str: Union[bytes, bytearray]) -> Tuple[int, int]:
-        if not byte_str:
-            return -1, 1
-        # find out current char's byte length
-        first_char = byte_str[0]
-        if (first_char == 0x8E) or (0xA1 <= first_char <= 0xFE):
-            char_len = 2
-        elif first_char == 0x8F:
-            char_len = 3
-        else:
-            char_len = 1
-
-        # return its order if it is hiragana
-        if len(byte_str) > 1:
-            second_char = byte_str[1]
-            if (first_char == 0xA4) and (0xA1 <= second_char <= 0xF3):
-                return second_char - 0xA1, char_len
-
-        return -1, char_len
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/langbulgarianmodel.py b/.venv/Lib/site-packages/pip/_vendor/chardet/langbulgarianmodel.py
deleted file mode 100644
index 9946682..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/langbulgarianmodel.py
+++ /dev/null
@@ -1,4649 +0,0 @@
-from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel
-
-# 3: Positive
-# 2: Likely
-# 1: Unlikely
-# 0: Negative
-
-BULGARIAN_LANG_MODEL = {
-    63: {  # 'e'
-        63: 1,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 0,  # 'а'
-        18: 1,  # 'б'
-        9: 1,  # 'в'
-        20: 1,  # 'г'
-        11: 1,  # 'д'
-        3: 1,  # 'е'
-        23: 1,  # 'ж'
-        15: 1,  # 'з'
-        2: 0,  # 'и'
-        26: 1,  # 'й'
-        12: 1,  # 'к'
-        10: 1,  # 'л'
-        14: 1,  # 'м'
-        6: 1,  # 'н'
-        4: 1,  # 'о'
-        13: 1,  # 'п'
-        7: 1,  # 'р'
-        8: 1,  # 'с'
-        5: 1,  # 'т'
-        19: 0,  # 'у'
-        29: 1,  # 'ф'
-        25: 1,  # 'х'
-        22: 0,  # 'ц'
-        21: 1,  # 'ч'
-        27: 1,  # 'ш'
-        24: 1,  # 'щ'
-        17: 0,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 0,  # 'ю'
-        16: 1,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    45: {  # '\xad'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 1,  # 'Б'
-        35: 1,  # 'В'
-        43: 0,  # 'Г'
-        37: 1,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 1,  # 'И'
-        59: 0,  # 'Й'
-        33: 1,  # 'К'
-        46: 0,  # 'Л'
-        38: 1,  # 'М'
-        36: 0,  # 'Н'
-        41: 1,  # 'О'
-        30: 1,  # 'П'
-        39: 1,  # 'Р'
-        28: 1,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 1,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 0,  # 'а'
-        18: 0,  # 'б'
-        9: 0,  # 'в'
-        20: 0,  # 'г'
-        11: 0,  # 'д'
-        3: 0,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 0,  # 'и'
-        26: 0,  # 'й'
-        12: 0,  # 'к'
-        10: 0,  # 'л'
-        14: 0,  # 'м'
-        6: 0,  # 'н'
-        4: 0,  # 'о'
-        13: 0,  # 'п'
-        7: 0,  # 'р'
-        8: 0,  # 'с'
-        5: 0,  # 'т'
-        19: 0,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 0,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 0,  # 'ю'
-        16: 0,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    31: {  # 'А'
-        63: 0,  # 'e'
-        45: 1,  # '\xad'
-        31: 1,  # 'А'
-        32: 1,  # 'Б'
-        35: 2,  # 'В'
-        43: 1,  # 'Г'
-        37: 2,  # 'Д'
-        44: 2,  # 'Е'
-        55: 1,  # 'Ж'
-        47: 2,  # 'З'
-        40: 1,  # 'И'
-        59: 1,  # 'Й'
-        33: 1,  # 'К'
-        46: 2,  # 'Л'
-        38: 1,  # 'М'
-        36: 2,  # 'Н'
-        41: 1,  # 'О'
-        30: 2,  # 'П'
-        39: 2,  # 'Р'
-        28: 2,  # 'С'
-        34: 2,  # 'Т'
-        51: 1,  # 'У'
-        48: 2,  # 'Ф'
-        49: 1,  # 'Х'
-        53: 1,  # 'Ц'
-        50: 1,  # 'Ч'
-        54: 1,  # 'Ш'
-        57: 2,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 1,  # 'Я'
-        1: 1,  # 'а'
-        18: 2,  # 'б'
-        9: 2,  # 'в'
-        20: 2,  # 'г'
-        11: 2,  # 'д'
-        3: 1,  # 'е'
-        23: 1,  # 'ж'
-        15: 2,  # 'з'
-        2: 0,  # 'и'
-        26: 2,  # 'й'
-        12: 2,  # 'к'
-        10: 3,  # 'л'
-        14: 2,  # 'м'
-        6: 3,  # 'н'
-        4: 0,  # 'о'
-        13: 2,  # 'п'
-        7: 2,  # 'р'
-        8: 2,  # 'с'
-        5: 2,  # 'т'
-        19: 1,  # 'у'
-        29: 2,  # 'ф'
-        25: 1,  # 'х'
-        22: 1,  # 'ц'
-        21: 1,  # 'ч'
-        27: 1,  # 'ш'
-        24: 0,  # 'щ'
-        17: 0,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 0,  # 'ю'
-        16: 1,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    32: {  # 'Б'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 2,  # 'А'
-        32: 2,  # 'Б'
-        35: 1,  # 'В'
-        43: 1,  # 'Г'
-        37: 2,  # 'Д'
-        44: 1,  # 'Е'
-        55: 1,  # 'Ж'
-        47: 2,  # 'З'
-        40: 1,  # 'И'
-        59: 0,  # 'Й'
-        33: 1,  # 'К'
-        46: 1,  # 'Л'
-        38: 1,  # 'М'
-        36: 2,  # 'Н'
-        41: 2,  # 'О'
-        30: 1,  # 'П'
-        39: 1,  # 'Р'
-        28: 2,  # 'С'
-        34: 2,  # 'Т'
-        51: 1,  # 'У'
-        48: 2,  # 'Ф'
-        49: 1,  # 'Х'
-        53: 1,  # 'Ц'
-        50: 1,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 1,  # 'Щ'
-        61: 2,  # 'Ъ'
-        60: 1,  # 'Ю'
-        56: 1,  # 'Я'
-        1: 3,  # 'а'
-        18: 0,  # 'б'
-        9: 0,  # 'в'
-        20: 0,  # 'г'
-        11: 1,  # 'д'
-        3: 3,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 2,  # 'и'
-        26: 0,  # 'й'
-        12: 0,  # 'к'
-        10: 2,  # 'л'
-        14: 0,  # 'м'
-        6: 0,  # 'н'
-        4: 3,  # 'о'
-        13: 0,  # 'п'
-        7: 2,  # 'р'
-        8: 1,  # 'с'
-        5: 0,  # 'т'
-        19: 2,  # 'у'
-        29: 0,  # 'ф'
-        25: 1,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 3,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 1,  # 'ю'
-        16: 2,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    35: {  # 'В'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 2,  # 'А'
-        32: 1,  # 'Б'
-        35: 1,  # 'В'
-        43: 0,  # 'Г'
-        37: 1,  # 'Д'
-        44: 2,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 2,  # 'И'
-        59: 0,  # 'Й'
-        33: 1,  # 'К'
-        46: 1,  # 'Л'
-        38: 1,  # 'М'
-        36: 1,  # 'Н'
-        41: 1,  # 'О'
-        30: 1,  # 'П'
-        39: 2,  # 'Р'
-        28: 2,  # 'С'
-        34: 1,  # 'Т'
-        51: 1,  # 'У'
-        48: 2,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 1,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 1,  # 'Ъ'
-        60: 1,  # 'Ю'
-        56: 2,  # 'Я'
-        1: 3,  # 'а'
-        18: 1,  # 'б'
-        9: 0,  # 'в'
-        20: 0,  # 'г'
-        11: 1,  # 'д'
-        3: 3,  # 'е'
-        23: 1,  # 'ж'
-        15: 2,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 1,  # 'к'
-        10: 2,  # 'л'
-        14: 1,  # 'м'
-        6: 2,  # 'н'
-        4: 2,  # 'о'
-        13: 1,  # 'п'
-        7: 2,  # 'р'
-        8: 2,  # 'с'
-        5: 2,  # 'т'
-        19: 1,  # 'у'
-        29: 0,  # 'ф'
-        25: 1,  # 'х'
-        22: 0,  # 'ц'
-        21: 2,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 2,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 1,  # 'ю'
-        16: 1,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    43: {  # 'Г'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 2,  # 'А'
-        32: 1,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 1,  # 'Д'
-        44: 2,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 1,  # 'З'
-        40: 1,  # 'И'
-        59: 0,  # 'Й'
-        33: 1,  # 'К'
-        46: 1,  # 'Л'
-        38: 0,  # 'М'
-        36: 1,  # 'Н'
-        41: 1,  # 'О'
-        30: 0,  # 'П'
-        39: 1,  # 'Р'
-        28: 1,  # 'С'
-        34: 0,  # 'Т'
-        51: 1,  # 'У'
-        48: 1,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 1,  # 'Щ'
-        61: 1,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 2,  # 'а'
-        18: 1,  # 'б'
-        9: 1,  # 'в'
-        20: 0,  # 'г'
-        11: 1,  # 'д'
-        3: 3,  # 'е'
-        23: 1,  # 'ж'
-        15: 0,  # 'з'
-        2: 2,  # 'и'
-        26: 0,  # 'й'
-        12: 1,  # 'к'
-        10: 2,  # 'л'
-        14: 1,  # 'м'
-        6: 1,  # 'н'
-        4: 2,  # 'о'
-        13: 0,  # 'п'
-        7: 2,  # 'р'
-        8: 0,  # 'с'
-        5: 0,  # 'т'
-        19: 2,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 0,  # 'ш'
-        24: 1,  # 'щ'
-        17: 2,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 1,  # 'ю'
-        16: 1,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    37: {  # 'Д'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 2,  # 'А'
-        32: 1,  # 'Б'
-        35: 2,  # 'В'
-        43: 1,  # 'Г'
-        37: 2,  # 'Д'
-        44: 2,  # 'Е'
-        55: 2,  # 'Ж'
-        47: 1,  # 'З'
-        40: 2,  # 'И'
-        59: 0,  # 'Й'
-        33: 1,  # 'К'
-        46: 1,  # 'Л'
-        38: 1,  # 'М'
-        36: 1,  # 'Н'
-        41: 2,  # 'О'
-        30: 2,  # 'П'
-        39: 1,  # 'Р'
-        28: 2,  # 'С'
-        34: 1,  # 'Т'
-        51: 1,  # 'У'
-        48: 1,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 1,  # 'Ц'
-        50: 1,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 1,  # 'Ъ'
-        60: 1,  # 'Ю'
-        56: 1,  # 'Я'
-        1: 3,  # 'а'
-        18: 0,  # 'б'
-        9: 2,  # 'в'
-        20: 0,  # 'г'
-        11: 0,  # 'д'
-        3: 3,  # 'е'
-        23: 3,  # 'ж'
-        15: 1,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 0,  # 'к'
-        10: 1,  # 'л'
-        14: 1,  # 'м'
-        6: 2,  # 'н'
-        4: 3,  # 'о'
-        13: 0,  # 'п'
-        7: 2,  # 'р'
-        8: 0,  # 'с'
-        5: 0,  # 'т'
-        19: 2,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 2,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 2,  # 'ю'
-        16: 1,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    44: {  # 'Е'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 1,  # 'А'
-        32: 1,  # 'Б'
-        35: 2,  # 'В'
-        43: 1,  # 'Г'
-        37: 1,  # 'Д'
-        44: 1,  # 'Е'
-        55: 1,  # 'Ж'
-        47: 1,  # 'З'
-        40: 1,  # 'И'
-        59: 1,  # 'Й'
-        33: 2,  # 'К'
-        46: 2,  # 'Л'
-        38: 1,  # 'М'
-        36: 2,  # 'Н'
-        41: 2,  # 'О'
-        30: 1,  # 'П'
-        39: 2,  # 'Р'
-        28: 2,  # 'С'
-        34: 2,  # 'Т'
-        51: 1,  # 'У'
-        48: 2,  # 'Ф'
-        49: 1,  # 'Х'
-        53: 2,  # 'Ц'
-        50: 1,  # 'Ч'
-        54: 1,  # 'Ш'
-        57: 1,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 1,  # 'Я'
-        1: 0,  # 'а'
-        18: 1,  # 'б'
-        9: 2,  # 'в'
-        20: 1,  # 'г'
-        11: 2,  # 'д'
-        3: 0,  # 'е'
-        23: 1,  # 'ж'
-        15: 1,  # 'з'
-        2: 0,  # 'и'
-        26: 1,  # 'й'
-        12: 2,  # 'к'
-        10: 2,  # 'л'
-        14: 2,  # 'м'
-        6: 2,  # 'н'
-        4: 0,  # 'о'
-        13: 1,  # 'п'
-        7: 2,  # 'р'
-        8: 2,  # 'с'
-        5: 1,  # 'т'
-        19: 1,  # 'у'
-        29: 1,  # 'ф'
-        25: 1,  # 'х'
-        22: 0,  # 'ц'
-        21: 1,  # 'ч'
-        27: 1,  # 'ш'
-        24: 1,  # 'щ'
-        17: 1,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 1,  # 'ю'
-        16: 1,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    55: {  # 'Ж'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 1,  # 'А'
-        32: 0,  # 'Б'
-        35: 1,  # 'В'
-        43: 0,  # 'Г'
-        37: 1,  # 'Д'
-        44: 1,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 1,  # 'И'
-        59: 0,  # 'Й'
-        33: 1,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 1,  # 'Н'
-        41: 1,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 1,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 2,  # 'а'
-        18: 0,  # 'б'
-        9: 0,  # 'в'
-        20: 0,  # 'г'
-        11: 1,  # 'д'
-        3: 2,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 2,  # 'и'
-        26: 0,  # 'й'
-        12: 0,  # 'к'
-        10: 0,  # 'л'
-        14: 0,  # 'м'
-        6: 0,  # 'н'
-        4: 2,  # 'о'
-        13: 1,  # 'п'
-        7: 1,  # 'р'
-        8: 0,  # 'с'
-        5: 0,  # 'т'
-        19: 1,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 1,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 1,  # 'ю'
-        16: 0,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    47: {  # 'З'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 2,  # 'А'
-        32: 1,  # 'Б'
-        35: 1,  # 'В'
-        43: 1,  # 'Г'
-        37: 1,  # 'Д'
-        44: 1,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 1,  # 'З'
-        40: 1,  # 'И'
-        59: 0,  # 'Й'
-        33: 1,  # 'К'
-        46: 1,  # 'Л'
-        38: 1,  # 'М'
-        36: 2,  # 'Н'
-        41: 1,  # 'О'
-        30: 1,  # 'П'
-        39: 1,  # 'Р'
-        28: 1,  # 'С'
-        34: 1,  # 'Т'
-        51: 1,  # 'У'
-        48: 0,  # 'Ф'
-        49: 1,  # 'Х'
-        53: 1,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 1,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 1,  # 'Я'
-        1: 3,  # 'а'
-        18: 1,  # 'б'
-        9: 2,  # 'в'
-        20: 1,  # 'г'
-        11: 2,  # 'д'
-        3: 2,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 1,  # 'и'
-        26: 0,  # 'й'
-        12: 0,  # 'к'
-        10: 2,  # 'л'
-        14: 1,  # 'м'
-        6: 1,  # 'н'
-        4: 1,  # 'о'
-        13: 0,  # 'п'
-        7: 1,  # 'р'
-        8: 0,  # 'с'
-        5: 0,  # 'т'
-        19: 1,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 1,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 1,  # 'ю'
-        16: 0,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    40: {  # 'И'
-        63: 0,  # 'e'
-        45: 1,  # '\xad'
-        31: 1,  # 'А'
-        32: 1,  # 'Б'
-        35: 1,  # 'В'
-        43: 1,  # 'Г'
-        37: 1,  # 'Д'
-        44: 2,  # 'Е'
-        55: 1,  # 'Ж'
-        47: 2,  # 'З'
-        40: 1,  # 'И'
-        59: 1,  # 'Й'
-        33: 2,  # 'К'
-        46: 2,  # 'Л'
-        38: 2,  # 'М'
-        36: 2,  # 'Н'
-        41: 1,  # 'О'
-        30: 1,  # 'П'
-        39: 2,  # 'Р'
-        28: 2,  # 'С'
-        34: 2,  # 'Т'
-        51: 0,  # 'У'
-        48: 1,  # 'Ф'
-        49: 1,  # 'Х'
-        53: 1,  # 'Ц'
-        50: 1,  # 'Ч'
-        54: 1,  # 'Ш'
-        57: 1,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 2,  # 'Я'
-        1: 1,  # 'а'
-        18: 1,  # 'б'
-        9: 3,  # 'в'
-        20: 2,  # 'г'
-        11: 1,  # 'д'
-        3: 1,  # 'е'
-        23: 0,  # 'ж'
-        15: 3,  # 'з'
-        2: 0,  # 'и'
-        26: 1,  # 'й'
-        12: 1,  # 'к'
-        10: 2,  # 'л'
-        14: 2,  # 'м'
-        6: 2,  # 'н'
-        4: 0,  # 'о'
-        13: 1,  # 'п'
-        7: 2,  # 'р'
-        8: 2,  # 'с'
-        5: 2,  # 'т'
-        19: 0,  # 'у'
-        29: 1,  # 'ф'
-        25: 1,  # 'х'
-        22: 1,  # 'ц'
-        21: 1,  # 'ч'
-        27: 1,  # 'ш'
-        24: 1,  # 'щ'
-        17: 0,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 0,  # 'ю'
-        16: 0,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    59: {  # 'Й'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 1,  # 'Д'
-        44: 1,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 1,  # 'К'
-        46: 1,  # 'Л'
-        38: 1,  # 'М'
-        36: 1,  # 'Н'
-        41: 1,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 1,  # 'С'
-        34: 1,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 1,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 1,  # 'Я'
-        1: 0,  # 'а'
-        18: 0,  # 'б'
-        9: 0,  # 'в'
-        20: 0,  # 'г'
-        11: 0,  # 'д'
-        3: 1,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 0,  # 'и'
-        26: 0,  # 'й'
-        12: 0,  # 'к'
-        10: 0,  # 'л'
-        14: 0,  # 'м'
-        6: 0,  # 'н'
-        4: 2,  # 'о'
-        13: 0,  # 'п'
-        7: 0,  # 'р'
-        8: 0,  # 'с'
-        5: 0,  # 'т'
-        19: 0,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 1,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 0,  # 'ю'
-        16: 0,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    33: {  # 'К'
-        63: 0,  # 'e'
-        45: 1,  # '\xad'
-        31: 2,  # 'А'
-        32: 1,  # 'Б'
-        35: 1,  # 'В'
-        43: 1,  # 'Г'
-        37: 1,  # 'Д'
-        44: 1,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 1,  # 'З'
-        40: 2,  # 'И'
-        59: 0,  # 'Й'
-        33: 1,  # 'К'
-        46: 1,  # 'Л'
-        38: 0,  # 'М'
-        36: 2,  # 'Н'
-        41: 2,  # 'О'
-        30: 2,  # 'П'
-        39: 1,  # 'Р'
-        28: 2,  # 'С'
-        34: 1,  # 'Т'
-        51: 1,  # 'У'
-        48: 1,  # 'Ф'
-        49: 1,  # 'Х'
-        53: 1,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 1,  # 'Ъ'
-        60: 1,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 0,  # 'б'
-        9: 1,  # 'в'
-        20: 0,  # 'г'
-        11: 0,  # 'д'
-        3: 2,  # 'е'
-        23: 1,  # 'ж'
-        15: 0,  # 'з'
-        2: 2,  # 'и'
-        26: 0,  # 'й'
-        12: 0,  # 'к'
-        10: 2,  # 'л'
-        14: 1,  # 'м'
-        6: 2,  # 'н'
-        4: 3,  # 'о'
-        13: 0,  # 'п'
-        7: 3,  # 'р'
-        8: 1,  # 'с'
-        5: 0,  # 'т'
-        19: 2,  # 'у'
-        29: 0,  # 'ф'
-        25: 1,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 1,  # 'ш'
-        24: 0,  # 'щ'
-        17: 2,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 2,  # 'ю'
-        16: 0,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    46: {  # 'Л'
-        63: 1,  # 'e'
-        45: 0,  # '\xad'
-        31: 2,  # 'А'
-        32: 1,  # 'Б'
-        35: 1,  # 'В'
-        43: 2,  # 'Г'
-        37: 1,  # 'Д'
-        44: 2,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 1,  # 'З'
-        40: 2,  # 'И'
-        59: 0,  # 'Й'
-        33: 1,  # 'К'
-        46: 1,  # 'Л'
-        38: 0,  # 'М'
-        36: 1,  # 'Н'
-        41: 2,  # 'О'
-        30: 1,  # 'П'
-        39: 0,  # 'Р'
-        28: 1,  # 'С'
-        34: 1,  # 'Т'
-        51: 1,  # 'У'
-        48: 0,  # 'Ф'
-        49: 1,  # 'Х'
-        53: 1,  # 'Ц'
-        50: 1,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 1,  # 'Ъ'
-        60: 1,  # 'Ю'
-        56: 1,  # 'Я'
-        1: 2,  # 'а'
-        18: 0,  # 'б'
-        9: 1,  # 'в'
-        20: 0,  # 'г'
-        11: 0,  # 'д'
-        3: 3,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 2,  # 'и'
-        26: 0,  # 'й'
-        12: 0,  # 'к'
-        10: 0,  # 'л'
-        14: 0,  # 'м'
-        6: 0,  # 'н'
-        4: 2,  # 'о'
-        13: 0,  # 'п'
-        7: 0,  # 'р'
-        8: 0,  # 'с'
-        5: 0,  # 'т'
-        19: 2,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 1,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 2,  # 'ю'
-        16: 1,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    38: {  # 'М'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 2,  # 'А'
-        32: 1,  # 'Б'
-        35: 2,  # 'В'
-        43: 0,  # 'Г'
-        37: 1,  # 'Д'
-        44: 1,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 1,  # 'З'
-        40: 2,  # 'И'
-        59: 0,  # 'Й'
-        33: 1,  # 'К'
-        46: 1,  # 'Л'
-        38: 1,  # 'М'
-        36: 1,  # 'Н'
-        41: 2,  # 'О'
-        30: 1,  # 'П'
-        39: 1,  # 'Р'
-        28: 2,  # 'С'
-        34: 1,  # 'Т'
-        51: 1,  # 'У'
-        48: 1,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 1,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 1,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 1,  # 'Я'
-        1: 3,  # 'а'
-        18: 0,  # 'б'
-        9: 0,  # 'в'
-        20: 0,  # 'г'
-        11: 0,  # 'д'
-        3: 3,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 0,  # 'к'
-        10: 2,  # 'л'
-        14: 0,  # 'м'
-        6: 2,  # 'н'
-        4: 3,  # 'о'
-        13: 0,  # 'п'
-        7: 1,  # 'р'
-        8: 0,  # 'с'
-        5: 0,  # 'т'
-        19: 2,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 2,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 2,  # 'ю'
-        16: 1,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    36: {  # 'Н'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 2,  # 'А'
-        32: 2,  # 'Б'
-        35: 1,  # 'В'
-        43: 1,  # 'Г'
-        37: 2,  # 'Д'
-        44: 2,  # 'Е'
-        55: 1,  # 'Ж'
-        47: 1,  # 'З'
-        40: 2,  # 'И'
-        59: 1,  # 'Й'
-        33: 2,  # 'К'
-        46: 1,  # 'Л'
-        38: 1,  # 'М'
-        36: 1,  # 'Н'
-        41: 2,  # 'О'
-        30: 1,  # 'П'
-        39: 1,  # 'Р'
-        28: 2,  # 'С'
-        34: 2,  # 'Т'
-        51: 1,  # 'У'
-        48: 1,  # 'Ф'
-        49: 1,  # 'Х'
-        53: 1,  # 'Ц'
-        50: 1,  # 'Ч'
-        54: 1,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 1,  # 'Ъ'
-        60: 1,  # 'Ю'
-        56: 1,  # 'Я'
-        1: 3,  # 'а'
-        18: 0,  # 'б'
-        9: 0,  # 'в'
-        20: 1,  # 'г'
-        11: 0,  # 'д'
-        3: 3,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 0,  # 'к'
-        10: 0,  # 'л'
-        14: 0,  # 'м'
-        6: 0,  # 'н'
-        4: 3,  # 'о'
-        13: 0,  # 'п'
-        7: 0,  # 'р'
-        8: 0,  # 'с'
-        5: 1,  # 'т'
-        19: 1,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 1,  # 'ш'
-        24: 0,  # 'щ'
-        17: 0,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 2,  # 'ю'
-        16: 2,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    41: {  # 'О'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 1,  # 'А'
-        32: 1,  # 'Б'
-        35: 2,  # 'В'
-        43: 1,  # 'Г'
-        37: 2,  # 'Д'
-        44: 1,  # 'Е'
-        55: 1,  # 'Ж'
-        47: 1,  # 'З'
-        40: 1,  # 'И'
-        59: 1,  # 'Й'
-        33: 2,  # 'К'
-        46: 2,  # 'Л'
-        38: 2,  # 'М'
-        36: 2,  # 'Н'
-        41: 2,  # 'О'
-        30: 1,  # 'П'
-        39: 2,  # 'Р'
-        28: 2,  # 'С'
-        34: 2,  # 'Т'
-        51: 1,  # 'У'
-        48: 1,  # 'Ф'
-        49: 1,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 1,  # 'Ч'
-        54: 1,  # 'Ш'
-        57: 1,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 1,  # 'Я'
-        1: 1,  # 'а'
-        18: 2,  # 'б'
-        9: 2,  # 'в'
-        20: 2,  # 'г'
-        11: 1,  # 'д'
-        3: 1,  # 'е'
-        23: 1,  # 'ж'
-        15: 1,  # 'з'
-        2: 0,  # 'и'
-        26: 1,  # 'й'
-        12: 2,  # 'к'
-        10: 2,  # 'л'
-        14: 1,  # 'м'
-        6: 1,  # 'н'
-        4: 0,  # 'о'
-        13: 2,  # 'п'
-        7: 2,  # 'р'
-        8: 2,  # 'с'
-        5: 3,  # 'т'
-        19: 1,  # 'у'
-        29: 1,  # 'ф'
-        25: 1,  # 'х'
-        22: 1,  # 'ц'
-        21: 2,  # 'ч'
-        27: 0,  # 'ш'
-        24: 2,  # 'щ'
-        17: 0,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 0,  # 'ю'
-        16: 1,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    30: {  # 'П'
-        63: 0,  # 'e'
-        45: 1,  # '\xad'
-        31: 2,  # 'А'
-        32: 1,  # 'Б'
-        35: 1,  # 'В'
-        43: 1,  # 'Г'
-        37: 1,  # 'Д'
-        44: 1,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 1,  # 'З'
-        40: 2,  # 'И'
-        59: 0,  # 'Й'
-        33: 1,  # 'К'
-        46: 1,  # 'Л'
-        38: 1,  # 'М'
-        36: 1,  # 'Н'
-        41: 2,  # 'О'
-        30: 2,  # 'П'
-        39: 2,  # 'Р'
-        28: 2,  # 'С'
-        34: 1,  # 'Т'
-        51: 2,  # 'У'
-        48: 1,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 1,  # 'Ц'
-        50: 1,  # 'Ч'
-        54: 1,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 1,  # 'Ъ'
-        60: 1,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 0,  # 'б'
-        9: 0,  # 'в'
-        20: 0,  # 'г'
-        11: 2,  # 'д'
-        3: 3,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 2,  # 'и'
-        26: 0,  # 'й'
-        12: 1,  # 'к'
-        10: 3,  # 'л'
-        14: 0,  # 'м'
-        6: 1,  # 'н'
-        4: 3,  # 'о'
-        13: 0,  # 'п'
-        7: 3,  # 'р'
-        8: 1,  # 'с'
-        5: 1,  # 'т'
-        19: 2,  # 'у'
-        29: 1,  # 'ф'
-        25: 1,  # 'х'
-        22: 0,  # 'ц'
-        21: 1,  # 'ч'
-        27: 1,  # 'ш'
-        24: 0,  # 'щ'
-        17: 2,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 1,  # 'ю'
-        16: 1,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    39: {  # 'Р'
-        63: 0,  # 'e'
-        45: 1,  # '\xad'
-        31: 2,  # 'А'
-        32: 1,  # 'Б'
-        35: 1,  # 'В'
-        43: 2,  # 'Г'
-        37: 2,  # 'Д'
-        44: 2,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 1,  # 'З'
-        40: 2,  # 'И'
-        59: 0,  # 'Й'
-        33: 1,  # 'К'
-        46: 0,  # 'Л'
-        38: 1,  # 'М'
-        36: 1,  # 'Н'
-        41: 2,  # 'О'
-        30: 2,  # 'П'
-        39: 1,  # 'Р'
-        28: 1,  # 'С'
-        34: 1,  # 'Т'
-        51: 1,  # 'У'
-        48: 1,  # 'Ф'
-        49: 1,  # 'Х'
-        53: 1,  # 'Ц'
-        50: 1,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 1,  # 'Ъ'
-        60: 1,  # 'Ю'
-        56: 1,  # 'Я'
-        1: 3,  # 'а'
-        18: 0,  # 'б'
-        9: 0,  # 'в'
-        20: 0,  # 'г'
-        11: 0,  # 'д'
-        3: 2,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 2,  # 'и'
-        26: 0,  # 'й'
-        12: 0,  # 'к'
-        10: 0,  # 'л'
-        14: 0,  # 'м'
-        6: 1,  # 'н'
-        4: 3,  # 'о'
-        13: 0,  # 'п'
-        7: 0,  # 'р'
-        8: 1,  # 'с'
-        5: 0,  # 'т'
-        19: 3,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 1,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 1,  # 'ю'
-        16: 1,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    28: {  # 'С'
-        63: 1,  # 'e'
-        45: 0,  # '\xad'
-        31: 3,  # 'А'
-        32: 2,  # 'Б'
-        35: 2,  # 'В'
-        43: 1,  # 'Г'
-        37: 2,  # 'Д'
-        44: 2,  # 'Е'
-        55: 1,  # 'Ж'
-        47: 1,  # 'З'
-        40: 2,  # 'И'
-        59: 0,  # 'Й'
-        33: 2,  # 'К'
-        46: 1,  # 'Л'
-        38: 1,  # 'М'
-        36: 1,  # 'Н'
-        41: 2,  # 'О'
-        30: 2,  # 'П'
-        39: 1,  # 'Р'
-        28: 2,  # 'С'
-        34: 2,  # 'Т'
-        51: 1,  # 'У'
-        48: 1,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 1,  # 'Ъ'
-        60: 1,  # 'Ю'
-        56: 1,  # 'Я'
-        1: 3,  # 'а'
-        18: 1,  # 'б'
-        9: 2,  # 'в'
-        20: 1,  # 'г'
-        11: 1,  # 'д'
-        3: 3,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 2,  # 'к'
-        10: 3,  # 'л'
-        14: 2,  # 'м'
-        6: 1,  # 'н'
-        4: 3,  # 'о'
-        13: 3,  # 'п'
-        7: 2,  # 'р'
-        8: 0,  # 'с'
-        5: 3,  # 'т'
-        19: 2,  # 'у'
-        29: 2,  # 'ф'
-        25: 1,  # 'х'
-        22: 1,  # 'ц'
-        21: 1,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 3,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 1,  # 'ю'
-        16: 1,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    34: {  # 'Т'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 2,  # 'А'
-        32: 2,  # 'Б'
-        35: 1,  # 'В'
-        43: 0,  # 'Г'
-        37: 1,  # 'Д'
-        44: 2,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 2,  # 'И'
-        59: 0,  # 'Й'
-        33: 2,  # 'К'
-        46: 1,  # 'Л'
-        38: 1,  # 'М'
-        36: 1,  # 'Н'
-        41: 2,  # 'О'
-        30: 1,  # 'П'
-        39: 2,  # 'Р'
-        28: 2,  # 'С'
-        34: 1,  # 'Т'
-        51: 1,  # 'У'
-        48: 1,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 1,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 1,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 1,  # 'Я'
-        1: 3,  # 'а'
-        18: 1,  # 'б'
-        9: 1,  # 'в'
-        20: 0,  # 'г'
-        11: 0,  # 'д'
-        3: 3,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 2,  # 'и'
-        26: 0,  # 'й'
-        12: 1,  # 'к'
-        10: 1,  # 'л'
-        14: 0,  # 'м'
-        6: 0,  # 'н'
-        4: 3,  # 'о'
-        13: 0,  # 'п'
-        7: 3,  # 'р'
-        8: 0,  # 'с'
-        5: 0,  # 'т'
-        19: 2,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 2,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 1,  # 'ю'
-        16: 2,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    51: {  # 'У'
-        63: 0,  # 'e'
-        45: 1,  # '\xad'
-        31: 1,  # 'А'
-        32: 1,  # 'Б'
-        35: 1,  # 'В'
-        43: 1,  # 'Г'
-        37: 1,  # 'Д'
-        44: 2,  # 'Е'
-        55: 1,  # 'Ж'
-        47: 1,  # 'З'
-        40: 1,  # 'И'
-        59: 0,  # 'Й'
-        33: 1,  # 'К'
-        46: 1,  # 'Л'
-        38: 1,  # 'М'
-        36: 1,  # 'Н'
-        41: 0,  # 'О'
-        30: 1,  # 'П'
-        39: 1,  # 'Р'
-        28: 1,  # 'С'
-        34: 2,  # 'Т'
-        51: 0,  # 'У'
-        48: 1,  # 'Ф'
-        49: 1,  # 'Х'
-        53: 1,  # 'Ц'
-        50: 1,  # 'Ч'
-        54: 1,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 1,  # 'а'
-        18: 1,  # 'б'
-        9: 2,  # 'в'
-        20: 1,  # 'г'
-        11: 1,  # 'д'
-        3: 2,  # 'е'
-        23: 1,  # 'ж'
-        15: 1,  # 'з'
-        2: 2,  # 'и'
-        26: 1,  # 'й'
-        12: 2,  # 'к'
-        10: 1,  # 'л'
-        14: 1,  # 'м'
-        6: 2,  # 'н'
-        4: 2,  # 'о'
-        13: 1,  # 'п'
-        7: 1,  # 'р'
-        8: 2,  # 'с'
-        5: 1,  # 'т'
-        19: 1,  # 'у'
-        29: 0,  # 'ф'
-        25: 1,  # 'х'
-        22: 0,  # 'ц'
-        21: 2,  # 'ч'
-        27: 1,  # 'ш'
-        24: 0,  # 'щ'
-        17: 1,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 0,  # 'ю'
-        16: 0,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    48: {  # 'Ф'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 2,  # 'А'
-        32: 1,  # 'Б'
-        35: 1,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 1,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 2,  # 'И'
-        59: 0,  # 'Й'
-        33: 1,  # 'К'
-        46: 1,  # 'Л'
-        38: 0,  # 'М'
-        36: 1,  # 'Н'
-        41: 1,  # 'О'
-        30: 2,  # 'П'
-        39: 1,  # 'Р'
-        28: 2,  # 'С'
-        34: 1,  # 'Т'
-        51: 1,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 2,  # 'а'
-        18: 0,  # 'б'
-        9: 0,  # 'в'
-        20: 0,  # 'г'
-        11: 0,  # 'д'
-        3: 2,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 2,  # 'и'
-        26: 0,  # 'й'
-        12: 0,  # 'к'
-        10: 2,  # 'л'
-        14: 0,  # 'м'
-        6: 0,  # 'н'
-        4: 2,  # 'о'
-        13: 0,  # 'п'
-        7: 2,  # 'р'
-        8: 0,  # 'с'
-        5: 0,  # 'т'
-        19: 1,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 1,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 1,  # 'ю'
-        16: 0,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    49: {  # 'Х'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 1,  # 'А'
-        32: 0,  # 'Б'
-        35: 1,  # 'В'
-        43: 1,  # 'Г'
-        37: 1,  # 'Д'
-        44: 1,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 1,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 1,  # 'Л'
-        38: 1,  # 'М'
-        36: 1,  # 'Н'
-        41: 1,  # 'О'
-        30: 1,  # 'П'
-        39: 1,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 1,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 2,  # 'а'
-        18: 0,  # 'б'
-        9: 1,  # 'в'
-        20: 0,  # 'г'
-        11: 0,  # 'д'
-        3: 2,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 2,  # 'и'
-        26: 0,  # 'й'
-        12: 0,  # 'к'
-        10: 1,  # 'л'
-        14: 1,  # 'м'
-        6: 0,  # 'н'
-        4: 2,  # 'о'
-        13: 0,  # 'п'
-        7: 2,  # 'р'
-        8: 0,  # 'с'
-        5: 0,  # 'т'
-        19: 2,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 2,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 1,  # 'ю'
-        16: 0,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    53: {  # 'Ц'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 1,  # 'А'
-        32: 0,  # 'Б'
-        35: 1,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 1,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 2,  # 'И'
-        59: 0,  # 'Й'
-        33: 2,  # 'К'
-        46: 1,  # 'Л'
-        38: 1,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 1,  # 'Р'
-        28: 2,  # 'С'
-        34: 0,  # 'Т'
-        51: 1,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 2,  # 'а'
-        18: 0,  # 'б'
-        9: 2,  # 'в'
-        20: 0,  # 'г'
-        11: 0,  # 'д'
-        3: 2,  # 'е'
-        23: 0,  # 'ж'
-        15: 1,  # 'з'
-        2: 2,  # 'и'
-        26: 0,  # 'й'
-        12: 0,  # 'к'
-        10: 0,  # 'л'
-        14: 0,  # 'м'
-        6: 0,  # 'н'
-        4: 1,  # 'о'
-        13: 0,  # 'п'
-        7: 1,  # 'р'
-        8: 0,  # 'с'
-        5: 0,  # 'т'
-        19: 1,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 1,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 1,  # 'ю'
-        16: 1,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    50: {  # 'Ч'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 2,  # 'А'
-        32: 1,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 1,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 1,  # 'З'
-        40: 1,  # 'И'
-        59: 0,  # 'Й'
-        33: 1,  # 'К'
-        46: 1,  # 'Л'
-        38: 0,  # 'М'
-        36: 1,  # 'Н'
-        41: 1,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 1,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 2,  # 'а'
-        18: 0,  # 'б'
-        9: 0,  # 'в'
-        20: 0,  # 'г'
-        11: 0,  # 'д'
-        3: 3,  # 'е'
-        23: 1,  # 'ж'
-        15: 0,  # 'з'
-        2: 2,  # 'и'
-        26: 0,  # 'й'
-        12: 0,  # 'к'
-        10: 1,  # 'л'
-        14: 0,  # 'м'
-        6: 0,  # 'н'
-        4: 2,  # 'о'
-        13: 0,  # 'п'
-        7: 1,  # 'р'
-        8: 0,  # 'с'
-        5: 0,  # 'т'
-        19: 2,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 1,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 0,  # 'ю'
-        16: 0,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    54: {  # 'Ш'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 1,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 1,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 1,  # 'З'
-        40: 1,  # 'И'
-        59: 0,  # 'Й'
-        33: 1,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 1,  # 'Н'
-        41: 1,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 1,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 2,  # 'а'
-        18: 0,  # 'б'
-        9: 2,  # 'в'
-        20: 0,  # 'г'
-        11: 0,  # 'д'
-        3: 2,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 2,  # 'и'
-        26: 0,  # 'й'
-        12: 1,  # 'к'
-        10: 1,  # 'л'
-        14: 1,  # 'м'
-        6: 1,  # 'н'
-        4: 2,  # 'о'
-        13: 1,  # 'п'
-        7: 1,  # 'р'
-        8: 0,  # 'с'
-        5: 0,  # 'т'
-        19: 2,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 0,  # 'ц'
-        21: 1,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 1,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 0,  # 'ю'
-        16: 0,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    57: {  # 'Щ'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 1,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 1,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 1,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 1,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 2,  # 'а'
-        18: 0,  # 'б'
-        9: 0,  # 'в'
-        20: 0,  # 'г'
-        11: 0,  # 'д'
-        3: 2,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 1,  # 'и'
-        26: 0,  # 'й'
-        12: 0,  # 'к'
-        10: 0,  # 'л'
-        14: 0,  # 'м'
-        6: 0,  # 'н'
-        4: 1,  # 'о'
-        13: 0,  # 'п'
-        7: 1,  # 'р'
-        8: 0,  # 'с'
-        5: 0,  # 'т'
-        19: 1,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 1,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 0,  # 'ю'
-        16: 1,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    61: {  # 'Ъ'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 1,  # 'Б'
-        35: 1,  # 'В'
-        43: 0,  # 'Г'
-        37: 1,  # 'Д'
-        44: 0,  # 'Е'
-        55: 1,  # 'Ж'
-        47: 1,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 1,  # 'К'
-        46: 2,  # 'Л'
-        38: 1,  # 'М'
-        36: 1,  # 'Н'
-        41: 0,  # 'О'
-        30: 1,  # 'П'
-        39: 2,  # 'Р'
-        28: 1,  # 'С'
-        34: 1,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 1,  # 'Х'
-        53: 1,  # 'Ц'
-        50: 1,  # 'Ч'
-        54: 1,  # 'Ш'
-        57: 1,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 0,  # 'а'
-        18: 0,  # 'б'
-        9: 0,  # 'в'
-        20: 0,  # 'г'
-        11: 0,  # 'д'
-        3: 0,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 0,  # 'и'
-        26: 0,  # 'й'
-        12: 0,  # 'к'
-        10: 1,  # 'л'
-        14: 0,  # 'м'
-        6: 1,  # 'н'
-        4: 0,  # 'о'
-        13: 0,  # 'п'
-        7: 1,  # 'р'
-        8: 0,  # 'с'
-        5: 0,  # 'т'
-        19: 0,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 0,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 0,  # 'ю'
-        16: 0,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    60: {  # 'Ю'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 1,  # 'А'
-        32: 1,  # 'Б'
-        35: 0,  # 'В'
-        43: 1,  # 'Г'
-        37: 1,  # 'Д'
-        44: 0,  # 'Е'
-        55: 1,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 1,  # 'К'
-        46: 1,  # 'Л'
-        38: 0,  # 'М'
-        36: 1,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 1,  # 'Р'
-        28: 1,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 0,  # 'а'
-        18: 1,  # 'б'
-        9: 1,  # 'в'
-        20: 2,  # 'г'
-        11: 1,  # 'д'
-        3: 0,  # 'е'
-        23: 2,  # 'ж'
-        15: 1,  # 'з'
-        2: 1,  # 'и'
-        26: 0,  # 'й'
-        12: 1,  # 'к'
-        10: 1,  # 'л'
-        14: 1,  # 'м'
-        6: 1,  # 'н'
-        4: 0,  # 'о'
-        13: 1,  # 'п'
-        7: 1,  # 'р'
-        8: 1,  # 'с'
-        5: 1,  # 'т'
-        19: 0,  # 'у'
-        29: 0,  # 'ф'
-        25: 1,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 0,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 0,  # 'ю'
-        16: 0,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    56: {  # 'Я'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 1,  # 'Б'
-        35: 1,  # 'В'
-        43: 1,  # 'Г'
-        37: 1,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 1,  # 'К'
-        46: 1,  # 'Л'
-        38: 1,  # 'М'
-        36: 1,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 1,  # 'С'
-        34: 2,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 0,  # 'а'
-        18: 1,  # 'б'
-        9: 1,  # 'в'
-        20: 1,  # 'г'
-        11: 1,  # 'д'
-        3: 0,  # 'е'
-        23: 0,  # 'ж'
-        15: 1,  # 'з'
-        2: 1,  # 'и'
-        26: 1,  # 'й'
-        12: 1,  # 'к'
-        10: 1,  # 'л'
-        14: 2,  # 'м'
-        6: 2,  # 'н'
-        4: 0,  # 'о'
-        13: 2,  # 'п'
-        7: 1,  # 'р'
-        8: 1,  # 'с'
-        5: 1,  # 'т'
-        19: 0,  # 'у'
-        29: 0,  # 'ф'
-        25: 1,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 1,  # 'ш'
-        24: 0,  # 'щ'
-        17: 0,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 1,  # 'ю'
-        16: 0,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    1: {  # 'а'
-        63: 1,  # 'e'
-        45: 1,  # '\xad'
-        31: 1,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 1,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 1,  # 'а'
-        18: 3,  # 'б'
-        9: 3,  # 'в'
-        20: 3,  # 'г'
-        11: 3,  # 'д'
-        3: 3,  # 'е'
-        23: 3,  # 'ж'
-        15: 3,  # 'з'
-        2: 3,  # 'и'
-        26: 3,  # 'й'
-        12: 3,  # 'к'
-        10: 3,  # 'л'
-        14: 3,  # 'м'
-        6: 3,  # 'н'
-        4: 2,  # 'о'
-        13: 3,  # 'п'
-        7: 3,  # 'р'
-        8: 3,  # 'с'
-        5: 3,  # 'т'
-        19: 3,  # 'у'
-        29: 3,  # 'ф'
-        25: 3,  # 'х'
-        22: 3,  # 'ц'
-        21: 3,  # 'ч'
-        27: 3,  # 'ш'
-        24: 3,  # 'щ'
-        17: 0,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 1,  # 'ю'
-        16: 3,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    18: {  # 'б'
-        63: 1,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 0,  # 'б'
-        9: 3,  # 'в'
-        20: 1,  # 'г'
-        11: 2,  # 'д'
-        3: 3,  # 'е'
-        23: 1,  # 'ж'
-        15: 1,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 1,  # 'к'
-        10: 3,  # 'л'
-        14: 2,  # 'м'
-        6: 3,  # 'н'
-        4: 3,  # 'о'
-        13: 1,  # 'п'
-        7: 3,  # 'р'
-        8: 3,  # 'с'
-        5: 0,  # 'т'
-        19: 3,  # 'у'
-        29: 0,  # 'ф'
-        25: 2,  # 'х'
-        22: 1,  # 'ц'
-        21: 1,  # 'ч'
-        27: 1,  # 'ш'
-        24: 3,  # 'щ'
-        17: 3,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 2,  # 'ю'
-        16: 3,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    9: {  # 'в'
-        63: 1,  # 'e'
-        45: 1,  # '\xad'
-        31: 0,  # 'А'
-        32: 1,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 1,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 1,  # 'б'
-        9: 0,  # 'в'
-        20: 2,  # 'г'
-        11: 3,  # 'д'
-        3: 3,  # 'е'
-        23: 1,  # 'ж'
-        15: 3,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 3,  # 'к'
-        10: 3,  # 'л'
-        14: 2,  # 'м'
-        6: 3,  # 'н'
-        4: 3,  # 'о'
-        13: 2,  # 'п'
-        7: 3,  # 'р'
-        8: 3,  # 'с'
-        5: 3,  # 'т'
-        19: 2,  # 'у'
-        29: 0,  # 'ф'
-        25: 2,  # 'х'
-        22: 2,  # 'ц'
-        21: 3,  # 'ч'
-        27: 2,  # 'ш'
-        24: 1,  # 'щ'
-        17: 3,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 2,  # 'ю'
-        16: 3,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    20: {  # 'г'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 1,  # 'б'
-        9: 2,  # 'в'
-        20: 1,  # 'г'
-        11: 2,  # 'д'
-        3: 3,  # 'е'
-        23: 0,  # 'ж'
-        15: 1,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 1,  # 'к'
-        10: 3,  # 'л'
-        14: 1,  # 'м'
-        6: 3,  # 'н'
-        4: 3,  # 'о'
-        13: 1,  # 'п'
-        7: 3,  # 'р'
-        8: 2,  # 'с'
-        5: 2,  # 'т'
-        19: 3,  # 'у'
-        29: 1,  # 'ф'
-        25: 1,  # 'х'
-        22: 0,  # 'ц'
-        21: 1,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 3,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 1,  # 'ю'
-        16: 1,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    11: {  # 'д'
-        63: 1,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 2,  # 'б'
-        9: 3,  # 'в'
-        20: 2,  # 'г'
-        11: 2,  # 'д'
-        3: 3,  # 'е'
-        23: 3,  # 'ж'
-        15: 2,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 3,  # 'к'
-        10: 3,  # 'л'
-        14: 3,  # 'м'
-        6: 3,  # 'н'
-        4: 3,  # 'о'
-        13: 3,  # 'п'
-        7: 3,  # 'р'
-        8: 3,  # 'с'
-        5: 1,  # 'т'
-        19: 3,  # 'у'
-        29: 1,  # 'ф'
-        25: 2,  # 'х'
-        22: 2,  # 'ц'
-        21: 2,  # 'ч'
-        27: 1,  # 'ш'
-        24: 1,  # 'щ'
-        17: 3,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 1,  # 'ю'
-        16: 3,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    3: {  # 'е'
-        63: 0,  # 'e'
-        45: 1,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 2,  # 'а'
-        18: 3,  # 'б'
-        9: 3,  # 'в'
-        20: 3,  # 'г'
-        11: 3,  # 'д'
-        3: 2,  # 'е'
-        23: 3,  # 'ж'
-        15: 3,  # 'з'
-        2: 2,  # 'и'
-        26: 3,  # 'й'
-        12: 3,  # 'к'
-        10: 3,  # 'л'
-        14: 3,  # 'м'
-        6: 3,  # 'н'
-        4: 3,  # 'о'
-        13: 3,  # 'п'
-        7: 3,  # 'р'
-        8: 3,  # 'с'
-        5: 3,  # 'т'
-        19: 2,  # 'у'
-        29: 3,  # 'ф'
-        25: 3,  # 'х'
-        22: 3,  # 'ц'
-        21: 3,  # 'ч'
-        27: 3,  # 'ш'
-        24: 3,  # 'щ'
-        17: 1,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 1,  # 'ю'
-        16: 3,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    23: {  # 'ж'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 3,  # 'б'
-        9: 2,  # 'в'
-        20: 1,  # 'г'
-        11: 3,  # 'д'
-        3: 3,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 2,  # 'к'
-        10: 1,  # 'л'
-        14: 1,  # 'м'
-        6: 3,  # 'н'
-        4: 2,  # 'о'
-        13: 1,  # 'п'
-        7: 1,  # 'р'
-        8: 1,  # 'с'
-        5: 1,  # 'т'
-        19: 2,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 1,  # 'ц'
-        21: 1,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 2,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 0,  # 'ю'
-        16: 1,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    15: {  # 'з'
-        63: 1,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 3,  # 'б'
-        9: 3,  # 'в'
-        20: 3,  # 'г'
-        11: 3,  # 'д'
-        3: 3,  # 'е'
-        23: 1,  # 'ж'
-        15: 1,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 3,  # 'к'
-        10: 3,  # 'л'
-        14: 3,  # 'м'
-        6: 3,  # 'н'
-        4: 3,  # 'о'
-        13: 3,  # 'п'
-        7: 3,  # 'р'
-        8: 3,  # 'с'
-        5: 3,  # 'т'
-        19: 3,  # 'у'
-        29: 1,  # 'ф'
-        25: 2,  # 'х'
-        22: 2,  # 'ц'
-        21: 2,  # 'ч'
-        27: 2,  # 'ш'
-        24: 1,  # 'щ'
-        17: 2,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 1,  # 'ю'
-        16: 2,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    2: {  # 'и'
-        63: 1,  # 'e'
-        45: 1,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 1,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 1,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 1,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 1,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 3,  # 'б'
-        9: 3,  # 'в'
-        20: 3,  # 'г'
-        11: 3,  # 'д'
-        3: 3,  # 'е'
-        23: 3,  # 'ж'
-        15: 3,  # 'з'
-        2: 3,  # 'и'
-        26: 3,  # 'й'
-        12: 3,  # 'к'
-        10: 3,  # 'л'
-        14: 3,  # 'м'
-        6: 3,  # 'н'
-        4: 3,  # 'о'
-        13: 3,  # 'п'
-        7: 3,  # 'р'
-        8: 3,  # 'с'
-        5: 3,  # 'т'
-        19: 2,  # 'у'
-        29: 3,  # 'ф'
-        25: 3,  # 'х'
-        22: 3,  # 'ц'
-        21: 3,  # 'ч'
-        27: 3,  # 'ш'
-        24: 3,  # 'щ'
-        17: 2,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 1,  # 'ю'
-        16: 3,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    26: {  # 'й'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 1,  # 'а'
-        18: 2,  # 'б'
-        9: 2,  # 'в'
-        20: 1,  # 'г'
-        11: 2,  # 'д'
-        3: 2,  # 'е'
-        23: 0,  # 'ж'
-        15: 2,  # 'з'
-        2: 1,  # 'и'
-        26: 0,  # 'й'
-        12: 3,  # 'к'
-        10: 2,  # 'л'
-        14: 2,  # 'м'
-        6: 3,  # 'н'
-        4: 2,  # 'о'
-        13: 1,  # 'п'
-        7: 2,  # 'р'
-        8: 3,  # 'с'
-        5: 3,  # 'т'
-        19: 1,  # 'у'
-        29: 2,  # 'ф'
-        25: 1,  # 'х'
-        22: 2,  # 'ц'
-        21: 2,  # 'ч'
-        27: 1,  # 'ш'
-        24: 1,  # 'щ'
-        17: 1,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 0,  # 'ю'
-        16: 1,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    12: {  # 'к'
-        63: 1,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 1,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 1,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 1,  # 'б'
-        9: 3,  # 'в'
-        20: 2,  # 'г'
-        11: 1,  # 'д'
-        3: 3,  # 'е'
-        23: 0,  # 'ж'
-        15: 2,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 1,  # 'к'
-        10: 3,  # 'л'
-        14: 2,  # 'м'
-        6: 3,  # 'н'
-        4: 3,  # 'о'
-        13: 1,  # 'п'
-        7: 3,  # 'р'
-        8: 3,  # 'с'
-        5: 3,  # 'т'
-        19: 3,  # 'у'
-        29: 1,  # 'ф'
-        25: 1,  # 'х'
-        22: 3,  # 'ц'
-        21: 2,  # 'ч'
-        27: 1,  # 'ш'
-        24: 0,  # 'щ'
-        17: 3,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 2,  # 'ю'
-        16: 1,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    10: {  # 'л'
-        63: 1,  # 'e'
-        45: 1,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 1,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 3,  # 'б'
-        9: 3,  # 'в'
-        20: 3,  # 'г'
-        11: 2,  # 'д'
-        3: 3,  # 'е'
-        23: 3,  # 'ж'
-        15: 2,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 3,  # 'к'
-        10: 1,  # 'л'
-        14: 2,  # 'м'
-        6: 3,  # 'н'
-        4: 3,  # 'о'
-        13: 2,  # 'п'
-        7: 2,  # 'р'
-        8: 3,  # 'с'
-        5: 3,  # 'т'
-        19: 3,  # 'у'
-        29: 2,  # 'ф'
-        25: 2,  # 'х'
-        22: 2,  # 'ц'
-        21: 2,  # 'ч'
-        27: 2,  # 'ш'
-        24: 1,  # 'щ'
-        17: 3,  # 'ъ'
-        52: 2,  # 'ь'
-        42: 3,  # 'ю'
-        16: 3,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    14: {  # 'м'
-        63: 1,  # 'e'
-        45: 0,  # '\xad'
-        31: 1,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 3,  # 'б'
-        9: 3,  # 'в'
-        20: 1,  # 'г'
-        11: 1,  # 'д'
-        3: 3,  # 'е'
-        23: 1,  # 'ж'
-        15: 1,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 2,  # 'к'
-        10: 3,  # 'л'
-        14: 1,  # 'м'
-        6: 3,  # 'н'
-        4: 3,  # 'о'
-        13: 3,  # 'п'
-        7: 2,  # 'р'
-        8: 2,  # 'с'
-        5: 1,  # 'т'
-        19: 3,  # 'у'
-        29: 2,  # 'ф'
-        25: 1,  # 'х'
-        22: 2,  # 'ц'
-        21: 2,  # 'ч'
-        27: 2,  # 'ш'
-        24: 1,  # 'щ'
-        17: 3,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 2,  # 'ю'
-        16: 3,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    6: {  # 'н'
-        63: 1,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 1,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 2,  # 'б'
-        9: 2,  # 'в'
-        20: 3,  # 'г'
-        11: 3,  # 'д'
-        3: 3,  # 'е'
-        23: 2,  # 'ж'
-        15: 2,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 3,  # 'к'
-        10: 2,  # 'л'
-        14: 1,  # 'м'
-        6: 3,  # 'н'
-        4: 3,  # 'о'
-        13: 1,  # 'п'
-        7: 2,  # 'р'
-        8: 3,  # 'с'
-        5: 3,  # 'т'
-        19: 3,  # 'у'
-        29: 3,  # 'ф'
-        25: 2,  # 'х'
-        22: 3,  # 'ц'
-        21: 3,  # 'ч'
-        27: 2,  # 'ш'
-        24: 1,  # 'щ'
-        17: 3,  # 'ъ'
-        52: 2,  # 'ь'
-        42: 2,  # 'ю'
-        16: 3,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    4: {  # 'о'
-        63: 0,  # 'e'
-        45: 1,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 2,  # 'а'
-        18: 3,  # 'б'
-        9: 3,  # 'в'
-        20: 3,  # 'г'
-        11: 3,  # 'д'
-        3: 3,  # 'е'
-        23: 3,  # 'ж'
-        15: 3,  # 'з'
-        2: 3,  # 'и'
-        26: 3,  # 'й'
-        12: 3,  # 'к'
-        10: 3,  # 'л'
-        14: 3,  # 'м'
-        6: 3,  # 'н'
-        4: 2,  # 'о'
-        13: 3,  # 'п'
-        7: 3,  # 'р'
-        8: 3,  # 'с'
-        5: 3,  # 'т'
-        19: 2,  # 'у'
-        29: 3,  # 'ф'
-        25: 3,  # 'х'
-        22: 3,  # 'ц'
-        21: 3,  # 'ч'
-        27: 3,  # 'ш'
-        24: 3,  # 'щ'
-        17: 1,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 1,  # 'ю'
-        16: 3,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    13: {  # 'п'
-        63: 1,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 1,  # 'б'
-        9: 2,  # 'в'
-        20: 1,  # 'г'
-        11: 1,  # 'д'
-        3: 3,  # 'е'
-        23: 0,  # 'ж'
-        15: 1,  # 'з'
-        2: 3,  # 'и'
-        26: 1,  # 'й'
-        12: 2,  # 'к'
-        10: 3,  # 'л'
-        14: 1,  # 'м'
-        6: 2,  # 'н'
-        4: 3,  # 'о'
-        13: 1,  # 'п'
-        7: 3,  # 'р'
-        8: 2,  # 'с'
-        5: 2,  # 'т'
-        19: 3,  # 'у'
-        29: 1,  # 'ф'
-        25: 1,  # 'х'
-        22: 2,  # 'ц'
-        21: 2,  # 'ч'
-        27: 1,  # 'ш'
-        24: 1,  # 'щ'
-        17: 3,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 2,  # 'ю'
-        16: 2,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    7: {  # 'р'
-        63: 1,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 3,  # 'б'
-        9: 3,  # 'в'
-        20: 3,  # 'г'
-        11: 3,  # 'д'
-        3: 3,  # 'е'
-        23: 3,  # 'ж'
-        15: 2,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 3,  # 'к'
-        10: 3,  # 'л'
-        14: 3,  # 'м'
-        6: 3,  # 'н'
-        4: 3,  # 'о'
-        13: 2,  # 'п'
-        7: 1,  # 'р'
-        8: 3,  # 'с'
-        5: 3,  # 'т'
-        19: 3,  # 'у'
-        29: 2,  # 'ф'
-        25: 3,  # 'х'
-        22: 3,  # 'ц'
-        21: 2,  # 'ч'
-        27: 3,  # 'ш'
-        24: 1,  # 'щ'
-        17: 3,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 2,  # 'ю'
-        16: 3,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    8: {  # 'с'
-        63: 1,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 2,  # 'б'
-        9: 3,  # 'в'
-        20: 2,  # 'г'
-        11: 2,  # 'д'
-        3: 3,  # 'е'
-        23: 0,  # 'ж'
-        15: 1,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 3,  # 'к'
-        10: 3,  # 'л'
-        14: 3,  # 'м'
-        6: 3,  # 'н'
-        4: 3,  # 'о'
-        13: 3,  # 'п'
-        7: 3,  # 'р'
-        8: 1,  # 'с'
-        5: 3,  # 'т'
-        19: 3,  # 'у'
-        29: 2,  # 'ф'
-        25: 2,  # 'х'
-        22: 2,  # 'ц'
-        21: 2,  # 'ч'
-        27: 2,  # 'ш'
-        24: 0,  # 'щ'
-        17: 3,  # 'ъ'
-        52: 2,  # 'ь'
-        42: 2,  # 'ю'
-        16: 3,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    5: {  # 'т'
-        63: 1,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 3,  # 'б'
-        9: 3,  # 'в'
-        20: 2,  # 'г'
-        11: 2,  # 'д'
-        3: 3,  # 'е'
-        23: 1,  # 'ж'
-        15: 1,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 3,  # 'к'
-        10: 3,  # 'л'
-        14: 2,  # 'м'
-        6: 3,  # 'н'
-        4: 3,  # 'о'
-        13: 2,  # 'п'
-        7: 3,  # 'р'
-        8: 3,  # 'с'
-        5: 3,  # 'т'
-        19: 3,  # 'у'
-        29: 1,  # 'ф'
-        25: 2,  # 'х'
-        22: 2,  # 'ц'
-        21: 2,  # 'ч'
-        27: 1,  # 'ш'
-        24: 1,  # 'щ'
-        17: 3,  # 'ъ'
-        52: 2,  # 'ь'
-        42: 2,  # 'ю'
-        16: 3,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    19: {  # 'у'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 3,  # 'б'
-        9: 3,  # 'в'
-        20: 3,  # 'г'
-        11: 3,  # 'д'
-        3: 2,  # 'е'
-        23: 3,  # 'ж'
-        15: 3,  # 'з'
-        2: 2,  # 'и'
-        26: 2,  # 'й'
-        12: 3,  # 'к'
-        10: 3,  # 'л'
-        14: 3,  # 'м'
-        6: 3,  # 'н'
-        4: 2,  # 'о'
-        13: 3,  # 'п'
-        7: 3,  # 'р'
-        8: 3,  # 'с'
-        5: 3,  # 'т'
-        19: 1,  # 'у'
-        29: 2,  # 'ф'
-        25: 2,  # 'х'
-        22: 2,  # 'ц'
-        21: 3,  # 'ч'
-        27: 3,  # 'ш'
-        24: 2,  # 'щ'
-        17: 1,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 1,  # 'ю'
-        16: 1,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    29: {  # 'ф'
-        63: 1,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 1,  # 'б'
-        9: 1,  # 'в'
-        20: 1,  # 'г'
-        11: 0,  # 'д'
-        3: 3,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 2,  # 'к'
-        10: 2,  # 'л'
-        14: 1,  # 'м'
-        6: 1,  # 'н'
-        4: 3,  # 'о'
-        13: 0,  # 'п'
-        7: 2,  # 'р'
-        8: 2,  # 'с'
-        5: 2,  # 'т'
-        19: 2,  # 'у'
-        29: 0,  # 'ф'
-        25: 1,  # 'х'
-        22: 0,  # 'ц'
-        21: 1,  # 'ч'
-        27: 1,  # 'ш'
-        24: 0,  # 'щ'
-        17: 2,  # 'ъ'
-        52: 2,  # 'ь'
-        42: 1,  # 'ю'
-        16: 1,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    25: {  # 'х'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 1,  # 'б'
-        9: 3,  # 'в'
-        20: 0,  # 'г'
-        11: 1,  # 'д'
-        3: 2,  # 'е'
-        23: 0,  # 'ж'
-        15: 1,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 1,  # 'к'
-        10: 2,  # 'л'
-        14: 2,  # 'м'
-        6: 3,  # 'н'
-        4: 3,  # 'о'
-        13: 1,  # 'п'
-        7: 3,  # 'р'
-        8: 1,  # 'с'
-        5: 2,  # 'т'
-        19: 3,  # 'у'
-        29: 0,  # 'ф'
-        25: 1,  # 'х'
-        22: 0,  # 'ц'
-        21: 1,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 2,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 1,  # 'ю'
-        16: 1,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    22: {  # 'ц'
-        63: 1,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 1,  # 'б'
-        9: 2,  # 'в'
-        20: 1,  # 'г'
-        11: 1,  # 'д'
-        3: 3,  # 'е'
-        23: 0,  # 'ж'
-        15: 1,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 2,  # 'к'
-        10: 1,  # 'л'
-        14: 1,  # 'м'
-        6: 1,  # 'н'
-        4: 2,  # 'о'
-        13: 1,  # 'п'
-        7: 1,  # 'р'
-        8: 1,  # 'с'
-        5: 1,  # 'т'
-        19: 2,  # 'у'
-        29: 1,  # 'ф'
-        25: 1,  # 'х'
-        22: 1,  # 'ц'
-        21: 1,  # 'ч'
-        27: 1,  # 'ш'
-        24: 1,  # 'щ'
-        17: 2,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 0,  # 'ю'
-        16: 2,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    21: {  # 'ч'
-        63: 1,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 1,  # 'б'
-        9: 3,  # 'в'
-        20: 1,  # 'г'
-        11: 0,  # 'д'
-        3: 3,  # 'е'
-        23: 1,  # 'ж'
-        15: 0,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 3,  # 'к'
-        10: 2,  # 'л'
-        14: 2,  # 'м'
-        6: 3,  # 'н'
-        4: 3,  # 'о'
-        13: 0,  # 'п'
-        7: 2,  # 'р'
-        8: 0,  # 'с'
-        5: 2,  # 'т'
-        19: 3,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 1,  # 'ш'
-        24: 0,  # 'щ'
-        17: 2,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 1,  # 'ю'
-        16: 0,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    27: {  # 'ш'
-        63: 1,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 0,  # 'б'
-        9: 2,  # 'в'
-        20: 0,  # 'г'
-        11: 1,  # 'д'
-        3: 3,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 3,  # 'к'
-        10: 2,  # 'л'
-        14: 1,  # 'м'
-        6: 3,  # 'н'
-        4: 2,  # 'о'
-        13: 2,  # 'п'
-        7: 1,  # 'р'
-        8: 0,  # 'с'
-        5: 1,  # 'т'
-        19: 2,  # 'у'
-        29: 1,  # 'ф'
-        25: 0,  # 'х'
-        22: 0,  # 'ц'
-        21: 1,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 2,  # 'ъ'
-        52: 1,  # 'ь'
-        42: 1,  # 'ю'
-        16: 0,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    24: {  # 'щ'
-        63: 1,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 3,  # 'а'
-        18: 0,  # 'б'
-        9: 1,  # 'в'
-        20: 0,  # 'г'
-        11: 0,  # 'д'
-        3: 3,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 3,  # 'и'
-        26: 0,  # 'й'
-        12: 1,  # 'к'
-        10: 0,  # 'л'
-        14: 0,  # 'м'
-        6: 2,  # 'н'
-        4: 3,  # 'о'
-        13: 0,  # 'п'
-        7: 1,  # 'р'
-        8: 0,  # 'с'
-        5: 2,  # 'т'
-        19: 3,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 1,  # 'ц'
-        21: 0,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 1,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 0,  # 'ю'
-        16: 2,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    17: {  # 'ъ'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 1,  # 'а'
-        18: 3,  # 'б'
-        9: 3,  # 'в'
-        20: 3,  # 'г'
-        11: 3,  # 'д'
-        3: 2,  # 'е'
-        23: 3,  # 'ж'
-        15: 3,  # 'з'
-        2: 1,  # 'и'
-        26: 2,  # 'й'
-        12: 3,  # 'к'
-        10: 3,  # 'л'
-        14: 3,  # 'м'
-        6: 3,  # 'н'
-        4: 3,  # 'о'
-        13: 3,  # 'п'
-        7: 3,  # 'р'
-        8: 3,  # 'с'
-        5: 3,  # 'т'
-        19: 1,  # 'у'
-        29: 1,  # 'ф'
-        25: 2,  # 'х'
-        22: 2,  # 'ц'
-        21: 3,  # 'ч'
-        27: 2,  # 'ш'
-        24: 3,  # 'щ'
-        17: 0,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 2,  # 'ю'
-        16: 0,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    52: {  # 'ь'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 0,  # 'а'
-        18: 0,  # 'б'
-        9: 0,  # 'в'
-        20: 0,  # 'г'
-        11: 0,  # 'д'
-        3: 1,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 0,  # 'и'
-        26: 0,  # 'й'
-        12: 1,  # 'к'
-        10: 0,  # 'л'
-        14: 0,  # 'м'
-        6: 1,  # 'н'
-        4: 3,  # 'о'
-        13: 0,  # 'п'
-        7: 0,  # 'р'
-        8: 0,  # 'с'
-        5: 1,  # 'т'
-        19: 0,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 1,  # 'ц'
-        21: 0,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 0,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 1,  # 'ю'
-        16: 0,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    42: {  # 'ю'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 1,  # 'а'
-        18: 2,  # 'б'
-        9: 1,  # 'в'
-        20: 2,  # 'г'
-        11: 2,  # 'д'
-        3: 1,  # 'е'
-        23: 2,  # 'ж'
-        15: 2,  # 'з'
-        2: 1,  # 'и'
-        26: 1,  # 'й'
-        12: 2,  # 'к'
-        10: 2,  # 'л'
-        14: 2,  # 'м'
-        6: 2,  # 'н'
-        4: 1,  # 'о'
-        13: 1,  # 'п'
-        7: 2,  # 'р'
-        8: 2,  # 'с'
-        5: 2,  # 'т'
-        19: 1,  # 'у'
-        29: 1,  # 'ф'
-        25: 1,  # 'х'
-        22: 2,  # 'ц'
-        21: 3,  # 'ч'
-        27: 1,  # 'ш'
-        24: 1,  # 'щ'
-        17: 1,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 0,  # 'ю'
-        16: 1,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    16: {  # 'я'
-        63: 0,  # 'e'
-        45: 1,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 0,  # 'а'
-        18: 3,  # 'б'
-        9: 3,  # 'в'
-        20: 2,  # 'г'
-        11: 3,  # 'д'
-        3: 2,  # 'е'
-        23: 1,  # 'ж'
-        15: 2,  # 'з'
-        2: 1,  # 'и'
-        26: 2,  # 'й'
-        12: 3,  # 'к'
-        10: 3,  # 'л'
-        14: 3,  # 'м'
-        6: 3,  # 'н'
-        4: 1,  # 'о'
-        13: 2,  # 'п'
-        7: 2,  # 'р'
-        8: 3,  # 'с'
-        5: 3,  # 'т'
-        19: 1,  # 'у'
-        29: 1,  # 'ф'
-        25: 3,  # 'х'
-        22: 2,  # 'ц'
-        21: 1,  # 'ч'
-        27: 1,  # 'ш'
-        24: 2,  # 'щ'
-        17: 0,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 0,  # 'ю'
-        16: 1,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    58: {  # 'є'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 0,  # 'а'
-        18: 0,  # 'б'
-        9: 0,  # 'в'
-        20: 0,  # 'г'
-        11: 0,  # 'д'
-        3: 0,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 0,  # 'и'
-        26: 0,  # 'й'
-        12: 0,  # 'к'
-        10: 0,  # 'л'
-        14: 0,  # 'м'
-        6: 0,  # 'н'
-        4: 0,  # 'о'
-        13: 0,  # 'п'
-        7: 0,  # 'р'
-        8: 0,  # 'с'
-        5: 0,  # 'т'
-        19: 0,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 0,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 0,  # 'ю'
-        16: 0,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-    62: {  # '№'
-        63: 0,  # 'e'
-        45: 0,  # '\xad'
-        31: 0,  # 'А'
-        32: 0,  # 'Б'
-        35: 0,  # 'В'
-        43: 0,  # 'Г'
-        37: 0,  # 'Д'
-        44: 0,  # 'Е'
-        55: 0,  # 'Ж'
-        47: 0,  # 'З'
-        40: 0,  # 'И'
-        59: 0,  # 'Й'
-        33: 0,  # 'К'
-        46: 0,  # 'Л'
-        38: 0,  # 'М'
-        36: 0,  # 'Н'
-        41: 0,  # 'О'
-        30: 0,  # 'П'
-        39: 0,  # 'Р'
-        28: 0,  # 'С'
-        34: 0,  # 'Т'
-        51: 0,  # 'У'
-        48: 0,  # 'Ф'
-        49: 0,  # 'Х'
-        53: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        54: 0,  # 'Ш'
-        57: 0,  # 'Щ'
-        61: 0,  # 'Ъ'
-        60: 0,  # 'Ю'
-        56: 0,  # 'Я'
-        1: 0,  # 'а'
-        18: 0,  # 'б'
-        9: 0,  # 'в'
-        20: 0,  # 'г'
-        11: 0,  # 'д'
-        3: 0,  # 'е'
-        23: 0,  # 'ж'
-        15: 0,  # 'з'
-        2: 0,  # 'и'
-        26: 0,  # 'й'
-        12: 0,  # 'к'
-        10: 0,  # 'л'
-        14: 0,  # 'м'
-        6: 0,  # 'н'
-        4: 0,  # 'о'
-        13: 0,  # 'п'
-        7: 0,  # 'р'
-        8: 0,  # 'с'
-        5: 0,  # 'т'
-        19: 0,  # 'у'
-        29: 0,  # 'ф'
-        25: 0,  # 'х'
-        22: 0,  # 'ц'
-        21: 0,  # 'ч'
-        27: 0,  # 'ш'
-        24: 0,  # 'щ'
-        17: 0,  # 'ъ'
-        52: 0,  # 'ь'
-        42: 0,  # 'ю'
-        16: 0,  # 'я'
-        58: 0,  # 'є'
-        62: 0,  # '№'
-    },
-}
-
-# 255: Undefined characters that did not exist in training text
-# 254: Carriage/Return
-# 253: symbol (punctuation) that does not belong to word
-# 252: 0 - 9
-# 251: Control characters
-
-# Character Mapping Table(s):
-ISO_8859_5_BULGARIAN_CHAR_TO_ORDER = {
-    0: 255,  # '\x00'
-    1: 255,  # '\x01'
-    2: 255,  # '\x02'
-    3: 255,  # '\x03'
-    4: 255,  # '\x04'
-    5: 255,  # '\x05'
-    6: 255,  # '\x06'
-    7: 255,  # '\x07'
-    8: 255,  # '\x08'
-    9: 255,  # '\t'
-    10: 254,  # '\n'
-    11: 255,  # '\x0b'
-    12: 255,  # '\x0c'
-    13: 254,  # '\r'
-    14: 255,  # '\x0e'
-    15: 255,  # '\x0f'
-    16: 255,  # '\x10'
-    17: 255,  # '\x11'
-    18: 255,  # '\x12'
-    19: 255,  # '\x13'
-    20: 255,  # '\x14'
-    21: 255,  # '\x15'
-    22: 255,  # '\x16'
-    23: 255,  # '\x17'
-    24: 255,  # '\x18'
-    25: 255,  # '\x19'
-    26: 255,  # '\x1a'
-    27: 255,  # '\x1b'
-    28: 255,  # '\x1c'
-    29: 255,  # '\x1d'
-    30: 255,  # '\x1e'
-    31: 255,  # '\x1f'
-    32: 253,  # ' '
-    33: 253,  # '!'
-    34: 253,  # '"'
-    35: 253,  # '#'
-    36: 253,  # '$'
-    37: 253,  # '%'
-    38: 253,  # '&'
-    39: 253,  # "'"
-    40: 253,  # '('
-    41: 253,  # ')'
-    42: 253,  # '*'
-    43: 253,  # '+'
-    44: 253,  # ','
-    45: 253,  # '-'
-    46: 253,  # '.'
-    47: 253,  # '/'
-    48: 252,  # '0'
-    49: 252,  # '1'
-    50: 252,  # '2'
-    51: 252,  # '3'
-    52: 252,  # '4'
-    53: 252,  # '5'
-    54: 252,  # '6'
-    55: 252,  # '7'
-    56: 252,  # '8'
-    57: 252,  # '9'
-    58: 253,  # ':'
-    59: 253,  # ';'
-    60: 253,  # '<'
-    61: 253,  # '='
-    62: 253,  # '>'
-    63: 253,  # '?'
-    64: 253,  # '@'
-    65: 77,  # 'A'
-    66: 90,  # 'B'
-    67: 99,  # 'C'
-    68: 100,  # 'D'
-    69: 72,  # 'E'
-    70: 109,  # 'F'
-    71: 107,  # 'G'
-    72: 101,  # 'H'
-    73: 79,  # 'I'
-    74: 185,  # 'J'
-    75: 81,  # 'K'
-    76: 102,  # 'L'
-    77: 76,  # 'M'
-    78: 94,  # 'N'
-    79: 82,  # 'O'
-    80: 110,  # 'P'
-    81: 186,  # 'Q'
-    82: 108,  # 'R'
-    83: 91,  # 'S'
-    84: 74,  # 'T'
-    85: 119,  # 'U'
-    86: 84,  # 'V'
-    87: 96,  # 'W'
-    88: 111,  # 'X'
-    89: 187,  # 'Y'
-    90: 115,  # 'Z'
-    91: 253,  # '['
-    92: 253,  # '\\'
-    93: 253,  # ']'
-    94: 253,  # '^'
-    95: 253,  # '_'
-    96: 253,  # '`'
-    97: 65,  # 'a'
-    98: 69,  # 'b'
-    99: 70,  # 'c'
-    100: 66,  # 'd'
-    101: 63,  # 'e'
-    102: 68,  # 'f'
-    103: 112,  # 'g'
-    104: 103,  # 'h'
-    105: 92,  # 'i'
-    106: 194,  # 'j'
-    107: 104,  # 'k'
-    108: 95,  # 'l'
-    109: 86,  # 'm'
-    110: 87,  # 'n'
-    111: 71,  # 'o'
-    112: 116,  # 'p'
-    113: 195,  # 'q'
-    114: 85,  # 'r'
-    115: 93,  # 's'
-    116: 97,  # 't'
-    117: 113,  # 'u'
-    118: 196,  # 'v'
-    119: 197,  # 'w'
-    120: 198,  # 'x'
-    121: 199,  # 'y'
-    122: 200,  # 'z'
-    123: 253,  # '{'
-    124: 253,  # '|'
-    125: 253,  # '}'
-    126: 253,  # '~'
-    127: 253,  # '\x7f'
-    128: 194,  # '\x80'
-    129: 195,  # '\x81'
-    130: 196,  # '\x82'
-    131: 197,  # '\x83'
-    132: 198,  # '\x84'
-    133: 199,  # '\x85'
-    134: 200,  # '\x86'
-    135: 201,  # '\x87'
-    136: 202,  # '\x88'
-    137: 203,  # '\x89'
-    138: 204,  # '\x8a'
-    139: 205,  # '\x8b'
-    140: 206,  # '\x8c'
-    141: 207,  # '\x8d'
-    142: 208,  # '\x8e'
-    143: 209,  # '\x8f'
-    144: 210,  # '\x90'
-    145: 211,  # '\x91'
-    146: 212,  # '\x92'
-    147: 213,  # '\x93'
-    148: 214,  # '\x94'
-    149: 215,  # '\x95'
-    150: 216,  # '\x96'
-    151: 217,  # '\x97'
-    152: 218,  # '\x98'
-    153: 219,  # '\x99'
-    154: 220,  # '\x9a'
-    155: 221,  # '\x9b'
-    156: 222,  # '\x9c'
-    157: 223,  # '\x9d'
-    158: 224,  # '\x9e'
-    159: 225,  # '\x9f'
-    160: 81,  # '\xa0'
-    161: 226,  # 'Ё'
-    162: 227,  # 'Ђ'
-    163: 228,  # 'Ѓ'
-    164: 229,  # 'Є'
-    165: 230,  # 'Ѕ'
-    166: 105,  # 'І'
-    167: 231,  # 'Ї'
-    168: 232,  # 'Ј'
-    169: 233,  # 'Љ'
-    170: 234,  # 'Њ'
-    171: 235,  # 'Ћ'
-    172: 236,  # 'Ќ'
-    173: 45,  # '\xad'
-    174: 237,  # 'Ў'
-    175: 238,  # 'Џ'
-    176: 31,  # 'А'
-    177: 32,  # 'Б'
-    178: 35,  # 'В'
-    179: 43,  # 'Г'
-    180: 37,  # 'Д'
-    181: 44,  # 'Е'
-    182: 55,  # 'Ж'
-    183: 47,  # 'З'
-    184: 40,  # 'И'
-    185: 59,  # 'Й'
-    186: 33,  # 'К'
-    187: 46,  # 'Л'
-    188: 38,  # 'М'
-    189: 36,  # 'Н'
-    190: 41,  # 'О'
-    191: 30,  # 'П'
-    192: 39,  # 'Р'
-    193: 28,  # 'С'
-    194: 34,  # 'Т'
-    195: 51,  # 'У'
-    196: 48,  # 'Ф'
-    197: 49,  # 'Х'
-    198: 53,  # 'Ц'
-    199: 50,  # 'Ч'
-    200: 54,  # 'Ш'
-    201: 57,  # 'Щ'
-    202: 61,  # 'Ъ'
-    203: 239,  # 'Ы'
-    204: 67,  # 'Ь'
-    205: 240,  # 'Э'
-    206: 60,  # 'Ю'
-    207: 56,  # 'Я'
-    208: 1,  # 'а'
-    209: 18,  # 'б'
-    210: 9,  # 'в'
-    211: 20,  # 'г'
-    212: 11,  # 'д'
-    213: 3,  # 'е'
-    214: 23,  # 'ж'
-    215: 15,  # 'з'
-    216: 2,  # 'и'
-    217: 26,  # 'й'
-    218: 12,  # 'к'
-    219: 10,  # 'л'
-    220: 14,  # 'м'
-    221: 6,  # 'н'
-    222: 4,  # 'о'
-    223: 13,  # 'п'
-    224: 7,  # 'р'
-    225: 8,  # 'с'
-    226: 5,  # 'т'
-    227: 19,  # 'у'
-    228: 29,  # 'ф'
-    229: 25,  # 'х'
-    230: 22,  # 'ц'
-    231: 21,  # 'ч'
-    232: 27,  # 'ш'
-    233: 24,  # 'щ'
-    234: 17,  # 'ъ'
-    235: 75,  # 'ы'
-    236: 52,  # 'ь'
-    237: 241,  # 'э'
-    238: 42,  # 'ю'
-    239: 16,  # 'я'
-    240: 62,  # '№'
-    241: 242,  # 'ё'
-    242: 243,  # 'ђ'
-    243: 244,  # 'ѓ'
-    244: 58,  # 'є'
-    245: 245,  # 'ѕ'
-    246: 98,  # 'і'
-    247: 246,  # 'ї'
-    248: 247,  # 'ј'
-    249: 248,  # 'љ'
-    250: 249,  # 'њ'
-    251: 250,  # 'ћ'
-    252: 251,  # 'ќ'
-    253: 91,  # '§'
-    254: 252,  # 'ў'
-    255: 253,  # 'џ'
-}
-
-ISO_8859_5_BULGARIAN_MODEL = SingleByteCharSetModel(
-    charset_name="ISO-8859-5",
-    language="Bulgarian",
-    char_to_order_map=ISO_8859_5_BULGARIAN_CHAR_TO_ORDER,
-    language_model=BULGARIAN_LANG_MODEL,
-    typical_positive_ratio=0.969392,
-    keep_ascii_letters=False,
-    alphabet="АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЬЮЯабвгдежзийклмнопрстуфхцчшщъьюя",
-)
-
-WINDOWS_1251_BULGARIAN_CHAR_TO_ORDER = {
-    0: 255,  # '\x00'
-    1: 255,  # '\x01'
-    2: 255,  # '\x02'
-    3: 255,  # '\x03'
-    4: 255,  # '\x04'
-    5: 255,  # '\x05'
-    6: 255,  # '\x06'
-    7: 255,  # '\x07'
-    8: 255,  # '\x08'
-    9: 255,  # '\t'
-    10: 254,  # '\n'
-    11: 255,  # '\x0b'
-    12: 255,  # '\x0c'
-    13: 254,  # '\r'
-    14: 255,  # '\x0e'
-    15: 255,  # '\x0f'
-    16: 255,  # '\x10'
-    17: 255,  # '\x11'
-    18: 255,  # '\x12'
-    19: 255,  # '\x13'
-    20: 255,  # '\x14'
-    21: 255,  # '\x15'
-    22: 255,  # '\x16'
-    23: 255,  # '\x17'
-    24: 255,  # '\x18'
-    25: 255,  # '\x19'
-    26: 255,  # '\x1a'
-    27: 255,  # '\x1b'
-    28: 255,  # '\x1c'
-    29: 255,  # '\x1d'
-    30: 255,  # '\x1e'
-    31: 255,  # '\x1f'
-    32: 253,  # ' '
-    33: 253,  # '!'
-    34: 253,  # '"'
-    35: 253,  # '#'
-    36: 253,  # '$'
-    37: 253,  # '%'
-    38: 253,  # '&'
-    39: 253,  # "'"
-    40: 253,  # '('
-    41: 253,  # ')'
-    42: 253,  # '*'
-    43: 253,  # '+'
-    44: 253,  # ','
-    45: 253,  # '-'
-    46: 253,  # '.'
-    47: 253,  # '/'
-    48: 252,  # '0'
-    49: 252,  # '1'
-    50: 252,  # '2'
-    51: 252,  # '3'
-    52: 252,  # '4'
-    53: 252,  # '5'
-    54: 252,  # '6'
-    55: 252,  # '7'
-    56: 252,  # '8'
-    57: 252,  # '9'
-    58: 253,  # ':'
-    59: 253,  # ';'
-    60: 253,  # '<'
-    61: 253,  # '='
-    62: 253,  # '>'
-    63: 253,  # '?'
-    64: 253,  # '@'
-    65: 77,  # 'A'
-    66: 90,  # 'B'
-    67: 99,  # 'C'
-    68: 100,  # 'D'
-    69: 72,  # 'E'
-    70: 109,  # 'F'
-    71: 107,  # 'G'
-    72: 101,  # 'H'
-    73: 79,  # 'I'
-    74: 185,  # 'J'
-    75: 81,  # 'K'
-    76: 102,  # 'L'
-    77: 76,  # 'M'
-    78: 94,  # 'N'
-    79: 82,  # 'O'
-    80: 110,  # 'P'
-    81: 186,  # 'Q'
-    82: 108,  # 'R'
-    83: 91,  # 'S'
-    84: 74,  # 'T'
-    85: 119,  # 'U'
-    86: 84,  # 'V'
-    87: 96,  # 'W'
-    88: 111,  # 'X'
-    89: 187,  # 'Y'
-    90: 115,  # 'Z'
-    91: 253,  # '['
-    92: 253,  # '\\'
-    93: 253,  # ']'
-    94: 253,  # '^'
-    95: 253,  # '_'
-    96: 253,  # '`'
-    97: 65,  # 'a'
-    98: 69,  # 'b'
-    99: 70,  # 'c'
-    100: 66,  # 'd'
-    101: 63,  # 'e'
-    102: 68,  # 'f'
-    103: 112,  # 'g'
-    104: 103,  # 'h'
-    105: 92,  # 'i'
-    106: 194,  # 'j'
-    107: 104,  # 'k'
-    108: 95,  # 'l'
-    109: 86,  # 'm'
-    110: 87,  # 'n'
-    111: 71,  # 'o'
-    112: 116,  # 'p'
-    113: 195,  # 'q'
-    114: 85,  # 'r'
-    115: 93,  # 's'
-    116: 97,  # 't'
-    117: 113,  # 'u'
-    118: 196,  # 'v'
-    119: 197,  # 'w'
-    120: 198,  # 'x'
-    121: 199,  # 'y'
-    122: 200,  # 'z'
-    123: 253,  # '{'
-    124: 253,  # '|'
-    125: 253,  # '}'
-    126: 253,  # '~'
-    127: 253,  # '\x7f'
-    128: 206,  # 'Ђ'
-    129: 207,  # 'Ѓ'
-    130: 208,  # '‚'
-    131: 209,  # 'ѓ'
-    132: 210,  # '„'
-    133: 211,  # '…'
-    134: 212,  # '†'
-    135: 213,  # '‡'
-    136: 120,  # '€'
-    137: 214,  # '‰'
-    138: 215,  # 'Љ'
-    139: 216,  # '‹'
-    140: 217,  # 'Њ'
-    141: 218,  # 'Ќ'
-    142: 219,  # 'Ћ'
-    143: 220,  # 'Џ'
-    144: 221,  # 'ђ'
-    145: 78,  # '‘'
-    146: 64,  # '’'
-    147: 83,  # '“'
-    148: 121,  # '”'
-    149: 98,  # '•'
-    150: 117,  # '–'
-    151: 105,  # '—'
-    152: 222,  # None
-    153: 223,  # '™'
-    154: 224,  # 'љ'
-    155: 225,  # '›'
-    156: 226,  # 'њ'
-    157: 227,  # 'ќ'
-    158: 228,  # 'ћ'
-    159: 229,  # 'џ'
-    160: 88,  # '\xa0'
-    161: 230,  # 'Ў'
-    162: 231,  # 'ў'
-    163: 232,  # 'Ј'
-    164: 233,  # '¤'
-    165: 122,  # 'Ґ'
-    166: 89,  # '¦'
-    167: 106,  # '§'
-    168: 234,  # 'Ё'
-    169: 235,  # '©'
-    170: 236,  # 'Є'
-    171: 237,  # '«'
-    172: 238,  # '¬'
-    173: 45,  # '\xad'
-    174: 239,  # '®'
-    175: 240,  # 'Ї'
-    176: 73,  # '°'
-    177: 80,  # '±'
-    178: 118,  # 'І'
-    179: 114,  # 'і'
-    180: 241,  # 'ґ'
-    181: 242,  # 'µ'
-    182: 243,  # '¶'
-    183: 244,  # '·'
-    184: 245,  # 'ё'
-    185: 62,  # '№'
-    186: 58,  # 'є'
-    187: 246,  # '»'
-    188: 247,  # 'ј'
-    189: 248,  # 'Ѕ'
-    190: 249,  # 'ѕ'
-    191: 250,  # 'ї'
-    192: 31,  # 'А'
-    193: 32,  # 'Б'
-    194: 35,  # 'В'
-    195: 43,  # 'Г'
-    196: 37,  # 'Д'
-    197: 44,  # 'Е'
-    198: 55,  # 'Ж'
-    199: 47,  # 'З'
-    200: 40,  # 'И'
-    201: 59,  # 'Й'
-    202: 33,  # 'К'
-    203: 46,  # 'Л'
-    204: 38,  # 'М'
-    205: 36,  # 'Н'
-    206: 41,  # 'О'
-    207: 30,  # 'П'
-    208: 39,  # 'Р'
-    209: 28,  # 'С'
-    210: 34,  # 'Т'
-    211: 51,  # 'У'
-    212: 48,  # 'Ф'
-    213: 49,  # 'Х'
-    214: 53,  # 'Ц'
-    215: 50,  # 'Ч'
-    216: 54,  # 'Ш'
-    217: 57,  # 'Щ'
-    218: 61,  # 'Ъ'
-    219: 251,  # 'Ы'
-    220: 67,  # 'Ь'
-    221: 252,  # 'Э'
-    222: 60,  # 'Ю'
-    223: 56,  # 'Я'
-    224: 1,  # 'а'
-    225: 18,  # 'б'
-    226: 9,  # 'в'
-    227: 20,  # 'г'
-    228: 11,  # 'д'
-    229: 3,  # 'е'
-    230: 23,  # 'ж'
-    231: 15,  # 'з'
-    232: 2,  # 'и'
-    233: 26,  # 'й'
-    234: 12,  # 'к'
-    235: 10,  # 'л'
-    236: 14,  # 'м'
-    237: 6,  # 'н'
-    238: 4,  # 'о'
-    239: 13,  # 'п'
-    240: 7,  # 'р'
-    241: 8,  # 'с'
-    242: 5,  # 'т'
-    243: 19,  # 'у'
-    244: 29,  # 'ф'
-    245: 25,  # 'х'
-    246: 22,  # 'ц'
-    247: 21,  # 'ч'
-    248: 27,  # 'ш'
-    249: 24,  # 'щ'
-    250: 17,  # 'ъ'
-    251: 75,  # 'ы'
-    252: 52,  # 'ь'
-    253: 253,  # 'э'
-    254: 42,  # 'ю'
-    255: 16,  # 'я'
-}
-
-WINDOWS_1251_BULGARIAN_MODEL = SingleByteCharSetModel(
-    charset_name="windows-1251",
-    language="Bulgarian",
-    char_to_order_map=WINDOWS_1251_BULGARIAN_CHAR_TO_ORDER,
-    language_model=BULGARIAN_LANG_MODEL,
-    typical_positive_ratio=0.969392,
-    keep_ascii_letters=False,
-    alphabet="АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЬЮЯабвгдежзийклмнопрстуфхцчшщъьюя",
-)
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/langgreekmodel.py b/.venv/Lib/site-packages/pip/_vendor/chardet/langgreekmodel.py
deleted file mode 100644
index cfb8639..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/langgreekmodel.py
+++ /dev/null
@@ -1,4397 +0,0 @@
-from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel
-
-# 3: Positive
-# 2: Likely
-# 1: Unlikely
-# 0: Negative
-
-GREEK_LANG_MODEL = {
-    60: {  # 'e'
-        60: 2,  # 'e'
-        55: 1,  # 'o'
-        58: 2,  # 't'
-        36: 1,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 1,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 0,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 0,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 0,  # 'θ'
-        5: 0,  # 'ι'
-        11: 0,  # 'κ'
-        16: 0,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 0,  # 'ο'
-        9: 0,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 0,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    55: {  # 'o'
-        60: 0,  # 'e'
-        55: 2,  # 'o'
-        58: 2,  # 't'
-        36: 1,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 0,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 0,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 0,  # 'θ'
-        5: 0,  # 'ι'
-        11: 0,  # 'κ'
-        16: 0,  # 'λ'
-        10: 0,  # 'μ'
-        6: 1,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 0,  # 'ο'
-        9: 0,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 1,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    58: {  # 't'
-        60: 2,  # 'e'
-        55: 1,  # 'o'
-        58: 1,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 2,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 0,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 0,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 0,  # 'θ'
-        5: 0,  # 'ι'
-        11: 0,  # 'κ'
-        16: 0,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 1,  # 'ο'
-        9: 0,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 0,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    36: {  # '·'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 0,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 0,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 0,  # 'θ'
-        5: 0,  # 'ι'
-        11: 0,  # 'κ'
-        16: 0,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 0,  # 'ο'
-        9: 0,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 0,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    61: {  # 'Ά'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 0,  # 'α'
-        29: 0,  # 'β'
-        20: 1,  # 'γ'
-        21: 2,  # 'δ'
-        3: 0,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 0,  # 'θ'
-        5: 0,  # 'ι'
-        11: 0,  # 'κ'
-        16: 2,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 0,  # 'ο'
-        9: 1,  # 'π'
-        8: 2,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 0,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    46: {  # 'Έ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 0,  # 'α'
-        29: 2,  # 'β'
-        20: 2,  # 'γ'
-        21: 0,  # 'δ'
-        3: 0,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 0,  # 'θ'
-        5: 0,  # 'ι'
-        11: 2,  # 'κ'
-        16: 2,  # 'λ'
-        10: 0,  # 'μ'
-        6: 3,  # 'ν'
-        30: 2,  # 'ξ'
-        4: 0,  # 'ο'
-        9: 2,  # 'π'
-        8: 2,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 1,  # 'σ'
-        2: 2,  # 'τ'
-        12: 0,  # 'υ'
-        28: 2,  # 'φ'
-        23: 3,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    54: {  # 'Ό'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 0,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 0,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 0,  # 'θ'
-        5: 0,  # 'ι'
-        11: 0,  # 'κ'
-        16: 2,  # 'λ'
-        10: 2,  # 'μ'
-        6: 2,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 0,  # 'ο'
-        9: 2,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 2,  # 'σ'
-        2: 3,  # 'τ'
-        12: 0,  # 'υ'
-        28: 0,  # 'φ'
-        23: 2,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    31: {  # 'Α'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 2,  # 'Β'
-        43: 2,  # 'Γ'
-        41: 1,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 2,  # 'Θ'
-        47: 2,  # 'Ι'
-        44: 2,  # 'Κ'
-        53: 2,  # 'Λ'
-        38: 2,  # 'Μ'
-        49: 2,  # 'Ν'
-        59: 1,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 2,  # 'Π'
-        48: 2,  # 'Ρ'
-        37: 2,  # 'Σ'
-        33: 2,  # 'Τ'
-        45: 2,  # 'Υ'
-        56: 2,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 0,  # 'α'
-        29: 0,  # 'β'
-        20: 2,  # 'γ'
-        21: 0,  # 'δ'
-        3: 0,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 1,  # 'θ'
-        5: 0,  # 'ι'
-        11: 2,  # 'κ'
-        16: 3,  # 'λ'
-        10: 2,  # 'μ'
-        6: 3,  # 'ν'
-        30: 2,  # 'ξ'
-        4: 0,  # 'ο'
-        9: 3,  # 'π'
-        8: 3,  # 'ρ'
-        14: 2,  # 'ς'
-        7: 2,  # 'σ'
-        2: 0,  # 'τ'
-        12: 3,  # 'υ'
-        28: 2,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 2,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    51: {  # 'Β'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 2,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 1,  # 'Ε'
-        40: 1,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 1,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 1,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 2,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 2,  # 'ά'
-        18: 2,  # 'έ'
-        22: 2,  # 'ή'
-        15: 0,  # 'ί'
-        1: 2,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 2,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 0,  # 'θ'
-        5: 2,  # 'ι'
-        11: 0,  # 'κ'
-        16: 2,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 2,  # 'ο'
-        9: 0,  # 'π'
-        8: 2,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 0,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    43: {  # 'Γ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 1,  # 'Α'
-        51: 0,  # 'Β'
-        43: 2,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 2,  # 'Ε'
-        40: 1,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 2,  # 'Ι'
-        44: 1,  # 'Κ'
-        53: 1,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 1,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 2,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 2,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 1,  # 'Χ'
-        57: 2,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 2,  # 'ί'
-        1: 2,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 2,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 0,  # 'θ'
-        5: 3,  # 'ι'
-        11: 0,  # 'κ'
-        16: 2,  # 'λ'
-        10: 0,  # 'μ'
-        6: 2,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 0,  # 'ο'
-        9: 0,  # 'π'
-        8: 2,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 0,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    41: {  # 'Δ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 2,  # 'Ε'
-        40: 2,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 2,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 2,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 2,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 2,  # 'ή'
-        15: 2,  # 'ί'
-        1: 0,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 3,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 2,  # 'η'
-        25: 0,  # 'θ'
-        5: 3,  # 'ι'
-        11: 0,  # 'κ'
-        16: 0,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 2,  # 'ο'
-        9: 0,  # 'π'
-        8: 2,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 2,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 2,  # 'ω'
-        19: 1,  # 'ό'
-        26: 2,  # 'ύ'
-        27: 2,  # 'ώ'
-    },
-    34: {  # 'Ε'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 2,  # 'Α'
-        51: 0,  # 'Β'
-        43: 2,  # 'Γ'
-        41: 2,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 2,  # 'Ι'
-        44: 2,  # 'Κ'
-        53: 2,  # 'Λ'
-        38: 2,  # 'Μ'
-        49: 2,  # 'Ν'
-        59: 1,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 2,  # 'Π'
-        48: 2,  # 'Ρ'
-        37: 2,  # 'Σ'
-        33: 2,  # 'Τ'
-        45: 2,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 2,  # 'Χ'
-        57: 2,  # 'Ω'
-        17: 3,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 3,  # 'ί'
-        1: 0,  # 'α'
-        29: 0,  # 'β'
-        20: 3,  # 'γ'
-        21: 2,  # 'δ'
-        3: 1,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 1,  # 'θ'
-        5: 2,  # 'ι'
-        11: 3,  # 'κ'
-        16: 3,  # 'λ'
-        10: 2,  # 'μ'
-        6: 3,  # 'ν'
-        30: 2,  # 'ξ'
-        4: 0,  # 'ο'
-        9: 3,  # 'π'
-        8: 2,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 2,  # 'σ'
-        2: 2,  # 'τ'
-        12: 2,  # 'υ'
-        28: 2,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 1,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    40: {  # 'Η'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 1,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 2,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 2,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 2,  # 'Μ'
-        49: 2,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 2,  # 'Π'
-        48: 2,  # 'Ρ'
-        37: 2,  # 'Σ'
-        33: 2,  # 'Τ'
-        45: 1,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 0,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 0,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 0,  # 'θ'
-        5: 0,  # 'ι'
-        11: 0,  # 'κ'
-        16: 2,  # 'λ'
-        10: 0,  # 'μ'
-        6: 1,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 0,  # 'ο'
-        9: 0,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 0,  # 'υ'
-        28: 0,  # 'φ'
-        23: 1,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    52: {  # 'Θ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 2,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 2,  # 'Ε'
-        40: 2,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 2,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 1,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 1,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 2,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 3,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 2,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 0,  # 'θ'
-        5: 0,  # 'ι'
-        11: 0,  # 'κ'
-        16: 0,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 0,  # 'ο'
-        9: 0,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 2,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 2,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    47: {  # 'Ι'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 2,  # 'Α'
-        51: 1,  # 'Β'
-        43: 1,  # 'Γ'
-        41: 2,  # 'Δ'
-        34: 2,  # 'Ε'
-        40: 2,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 2,  # 'Κ'
-        53: 2,  # 'Λ'
-        38: 2,  # 'Μ'
-        49: 2,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 2,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 2,  # 'Ρ'
-        37: 2,  # 'Σ'
-        33: 2,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 2,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 2,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 2,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 2,  # 'δ'
-        3: 0,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 0,  # 'θ'
-        5: 0,  # 'ι'
-        11: 0,  # 'κ'
-        16: 0,  # 'λ'
-        10: 0,  # 'μ'
-        6: 1,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 2,  # 'ο'
-        9: 0,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 2,  # 'σ'
-        2: 1,  # 'τ'
-        12: 0,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 1,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    44: {  # 'Κ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 2,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 1,  # 'Δ'
-        34: 2,  # 'Ε'
-        40: 2,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 1,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 2,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 2,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 1,  # 'Τ'
-        45: 2,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 1,  # 'Ω'
-        17: 3,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 3,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 2,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 0,  # 'θ'
-        5: 2,  # 'ι'
-        11: 0,  # 'κ'
-        16: 2,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 2,  # 'ο'
-        9: 0,  # 'π'
-        8: 2,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 2,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 2,  # 'ό'
-        26: 2,  # 'ύ'
-        27: 2,  # 'ώ'
-    },
-    53: {  # 'Λ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 2,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 2,  # 'Ε'
-        40: 2,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 2,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 2,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 2,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 2,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 2,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 2,  # 'Ω'
-        17: 2,  # 'ά'
-        18: 2,  # 'έ'
-        22: 0,  # 'ή'
-        15: 2,  # 'ί'
-        1: 2,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 2,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 0,  # 'θ'
-        5: 1,  # 'ι'
-        11: 0,  # 'κ'
-        16: 0,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 2,  # 'ο'
-        9: 0,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 2,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 2,  # 'ό'
-        26: 2,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    38: {  # 'Μ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 2,  # 'Α'
-        51: 2,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 2,  # 'Ε'
-        40: 2,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 2,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 2,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 2,  # 'Ο'
-        35: 2,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 2,  # 'ά'
-        18: 2,  # 'έ'
-        22: 2,  # 'ή'
-        15: 2,  # 'ί'
-        1: 2,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 3,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 2,  # 'η'
-        25: 0,  # 'θ'
-        5: 3,  # 'ι'
-        11: 0,  # 'κ'
-        16: 0,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 2,  # 'ο'
-        9: 3,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 2,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 2,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    49: {  # 'Ν'
-        60: 2,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 2,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 2,  # 'Ε'
-        40: 2,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 2,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 2,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 2,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 2,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 2,  # 'έ'
-        22: 0,  # 'ή'
-        15: 2,  # 'ί'
-        1: 2,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 1,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 0,  # 'θ'
-        5: 0,  # 'ι'
-        11: 0,  # 'κ'
-        16: 0,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 2,  # 'ο'
-        9: 0,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 0,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 1,  # 'ω'
-        19: 2,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    59: {  # 'Ξ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 1,  # 'Ε'
-        40: 1,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 1,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 2,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 2,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 2,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 0,  # 'θ'
-        5: 0,  # 'ι'
-        11: 0,  # 'κ'
-        16: 0,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 0,  # 'ο'
-        9: 0,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 0,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    39: {  # 'Ο'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 1,  # 'Β'
-        43: 2,  # 'Γ'
-        41: 2,  # 'Δ'
-        34: 2,  # 'Ε'
-        40: 1,  # 'Η'
-        52: 2,  # 'Θ'
-        47: 2,  # 'Ι'
-        44: 2,  # 'Κ'
-        53: 2,  # 'Λ'
-        38: 2,  # 'Μ'
-        49: 2,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 2,  # 'Π'
-        48: 2,  # 'Ρ'
-        37: 2,  # 'Σ'
-        33: 2,  # 'Τ'
-        45: 2,  # 'Υ'
-        56: 2,  # 'Φ'
-        50: 2,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 0,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 2,  # 'δ'
-        3: 0,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 0,  # 'θ'
-        5: 3,  # 'ι'
-        11: 2,  # 'κ'
-        16: 2,  # 'λ'
-        10: 2,  # 'μ'
-        6: 2,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 0,  # 'ο'
-        9: 2,  # 'π'
-        8: 2,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 2,  # 'τ'
-        12: 2,  # 'υ'
-        28: 1,  # 'φ'
-        23: 1,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 2,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    35: {  # 'Π'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 2,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 2,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 2,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 2,  # 'Λ'
-        38: 1,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 2,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 2,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 1,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 1,  # 'Χ'
-        57: 2,  # 'Ω'
-        17: 2,  # 'ά'
-        18: 1,  # 'έ'
-        22: 1,  # 'ή'
-        15: 2,  # 'ί'
-        1: 3,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 3,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 2,  # 'η'
-        25: 0,  # 'θ'
-        5: 2,  # 'ι'
-        11: 0,  # 'κ'
-        16: 2,  # 'λ'
-        10: 0,  # 'μ'
-        6: 2,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 3,  # 'ο'
-        9: 0,  # 'π'
-        8: 3,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 2,  # 'υ'
-        28: 0,  # 'φ'
-        23: 2,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 2,  # 'ω'
-        19: 2,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 3,  # 'ώ'
-    },
-    48: {  # 'Ρ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 2,  # 'Α'
-        51: 0,  # 'Β'
-        43: 1,  # 'Γ'
-        41: 1,  # 'Δ'
-        34: 2,  # 'Ε'
-        40: 2,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 2,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 2,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 2,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 2,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 1,  # 'Τ'
-        45: 1,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 1,  # 'Χ'
-        57: 1,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 2,  # 'ί'
-        1: 0,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 0,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 0,  # 'θ'
-        5: 0,  # 'ι'
-        11: 0,  # 'κ'
-        16: 0,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 1,  # 'ο'
-        9: 0,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 3,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 2,  # 'ω'
-        19: 0,  # 'ό'
-        26: 2,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    37: {  # 'Σ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 2,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 1,  # 'Δ'
-        34: 2,  # 'Ε'
-        40: 2,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 2,  # 'Ι'
-        44: 2,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 2,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 2,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 2,  # 'Σ'
-        33: 2,  # 'Τ'
-        45: 2,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 2,  # 'Χ'
-        57: 2,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 2,  # 'ή'
-        15: 2,  # 'ί'
-        1: 2,  # 'α'
-        29: 2,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 3,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 3,  # 'η'
-        25: 0,  # 'θ'
-        5: 2,  # 'ι'
-        11: 2,  # 'κ'
-        16: 0,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 2,  # 'ο'
-        9: 2,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 3,  # 'τ'
-        12: 3,  # 'υ'
-        28: 0,  # 'φ'
-        23: 2,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 2,  # 'ω'
-        19: 0,  # 'ό'
-        26: 2,  # 'ύ'
-        27: 2,  # 'ώ'
-    },
-    33: {  # 'Τ'
-        60: 0,  # 'e'
-        55: 1,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 2,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 2,  # 'Ε'
-        40: 2,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 2,  # 'Ι'
-        44: 2,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 2,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 2,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 1,  # 'Τ'
-        45: 1,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 2,  # 'Ω'
-        17: 2,  # 'ά'
-        18: 2,  # 'έ'
-        22: 0,  # 'ή'
-        15: 2,  # 'ί'
-        1: 3,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 2,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 2,  # 'η'
-        25: 0,  # 'θ'
-        5: 2,  # 'ι'
-        11: 0,  # 'κ'
-        16: 0,  # 'λ'
-        10: 2,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 3,  # 'ο'
-        9: 0,  # 'π'
-        8: 2,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 2,  # 'σ'
-        2: 0,  # 'τ'
-        12: 2,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 2,  # 'ό'
-        26: 2,  # 'ύ'
-        27: 3,  # 'ώ'
-    },
-    45: {  # 'Υ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 2,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 1,  # 'Ε'
-        40: 2,  # 'Η'
-        52: 2,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 1,  # 'Λ'
-        38: 2,  # 'Μ'
-        49: 2,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 2,  # 'Π'
-        48: 1,  # 'Ρ'
-        37: 2,  # 'Σ'
-        33: 2,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 1,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 0,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 0,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 0,  # 'θ'
-        5: 0,  # 'ι'
-        11: 0,  # 'κ'
-        16: 2,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 0,  # 'ο'
-        9: 3,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 0,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    56: {  # 'Φ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 1,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 1,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 2,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 2,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 2,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 2,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 0,  # 'θ'
-        5: 2,  # 'ι'
-        11: 0,  # 'κ'
-        16: 0,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 2,  # 'ο'
-        9: 0,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 2,  # 'τ'
-        12: 2,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 1,  # 'ύ'
-        27: 1,  # 'ώ'
-    },
-    50: {  # 'Χ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 1,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 2,  # 'Ε'
-        40: 2,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 2,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 1,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 1,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 2,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 1,  # 'Χ'
-        57: 1,  # 'Ω'
-        17: 2,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 2,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 2,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 0,  # 'θ'
-        5: 0,  # 'ι'
-        11: 0,  # 'κ'
-        16: 0,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 2,  # 'ο'
-        9: 0,  # 'π'
-        8: 3,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 2,  # 'τ'
-        12: 0,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 2,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    57: {  # 'Ω'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 1,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 1,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 2,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 2,  # 'Ρ'
-        37: 2,  # 'Σ'
-        33: 2,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 0,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 0,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 0,  # 'θ'
-        5: 0,  # 'ι'
-        11: 0,  # 'κ'
-        16: 0,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 0,  # 'ο'
-        9: 0,  # 'π'
-        8: 2,  # 'ρ'
-        14: 2,  # 'ς'
-        7: 2,  # 'σ'
-        2: 0,  # 'τ'
-        12: 0,  # 'υ'
-        28: 0,  # 'φ'
-        23: 1,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    17: {  # 'ά'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 2,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 0,  # 'α'
-        29: 3,  # 'β'
-        20: 3,  # 'γ'
-        21: 3,  # 'δ'
-        3: 3,  # 'ε'
-        32: 3,  # 'ζ'
-        13: 0,  # 'η'
-        25: 3,  # 'θ'
-        5: 2,  # 'ι'
-        11: 3,  # 'κ'
-        16: 3,  # 'λ'
-        10: 3,  # 'μ'
-        6: 3,  # 'ν'
-        30: 3,  # 'ξ'
-        4: 0,  # 'ο'
-        9: 3,  # 'π'
-        8: 3,  # 'ρ'
-        14: 3,  # 'ς'
-        7: 3,  # 'σ'
-        2: 3,  # 'τ'
-        12: 0,  # 'υ'
-        28: 3,  # 'φ'
-        23: 3,  # 'χ'
-        42: 3,  # 'ψ'
-        24: 2,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    18: {  # 'έ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 3,  # 'α'
-        29: 2,  # 'β'
-        20: 3,  # 'γ'
-        21: 2,  # 'δ'
-        3: 3,  # 'ε'
-        32: 2,  # 'ζ'
-        13: 0,  # 'η'
-        25: 3,  # 'θ'
-        5: 0,  # 'ι'
-        11: 3,  # 'κ'
-        16: 3,  # 'λ'
-        10: 3,  # 'μ'
-        6: 3,  # 'ν'
-        30: 3,  # 'ξ'
-        4: 3,  # 'ο'
-        9: 3,  # 'π'
-        8: 3,  # 'ρ'
-        14: 3,  # 'ς'
-        7: 3,  # 'σ'
-        2: 3,  # 'τ'
-        12: 0,  # 'υ'
-        28: 3,  # 'φ'
-        23: 3,  # 'χ'
-        42: 3,  # 'ψ'
-        24: 2,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    22: {  # 'ή'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 1,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 0,  # 'α'
-        29: 0,  # 'β'
-        20: 3,  # 'γ'
-        21: 3,  # 'δ'
-        3: 0,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 3,  # 'θ'
-        5: 0,  # 'ι'
-        11: 3,  # 'κ'
-        16: 2,  # 'λ'
-        10: 3,  # 'μ'
-        6: 3,  # 'ν'
-        30: 2,  # 'ξ'
-        4: 0,  # 'ο'
-        9: 3,  # 'π'
-        8: 3,  # 'ρ'
-        14: 3,  # 'ς'
-        7: 3,  # 'σ'
-        2: 3,  # 'τ'
-        12: 0,  # 'υ'
-        28: 2,  # 'φ'
-        23: 3,  # 'χ'
-        42: 2,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    15: {  # 'ί'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 3,  # 'α'
-        29: 2,  # 'β'
-        20: 3,  # 'γ'
-        21: 3,  # 'δ'
-        3: 3,  # 'ε'
-        32: 3,  # 'ζ'
-        13: 3,  # 'η'
-        25: 3,  # 'θ'
-        5: 0,  # 'ι'
-        11: 3,  # 'κ'
-        16: 3,  # 'λ'
-        10: 3,  # 'μ'
-        6: 3,  # 'ν'
-        30: 3,  # 'ξ'
-        4: 3,  # 'ο'
-        9: 3,  # 'π'
-        8: 3,  # 'ρ'
-        14: 3,  # 'ς'
-        7: 3,  # 'σ'
-        2: 3,  # 'τ'
-        12: 0,  # 'υ'
-        28: 1,  # 'φ'
-        23: 3,  # 'χ'
-        42: 2,  # 'ψ'
-        24: 3,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    1: {  # 'α'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 2,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 2,  # 'έ'
-        22: 0,  # 'ή'
-        15: 3,  # 'ί'
-        1: 0,  # 'α'
-        29: 3,  # 'β'
-        20: 3,  # 'γ'
-        21: 3,  # 'δ'
-        3: 2,  # 'ε'
-        32: 3,  # 'ζ'
-        13: 1,  # 'η'
-        25: 3,  # 'θ'
-        5: 3,  # 'ι'
-        11: 3,  # 'κ'
-        16: 3,  # 'λ'
-        10: 3,  # 'μ'
-        6: 3,  # 'ν'
-        30: 3,  # 'ξ'
-        4: 2,  # 'ο'
-        9: 3,  # 'π'
-        8: 3,  # 'ρ'
-        14: 3,  # 'ς'
-        7: 3,  # 'σ'
-        2: 3,  # 'τ'
-        12: 3,  # 'υ'
-        28: 3,  # 'φ'
-        23: 3,  # 'χ'
-        42: 2,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 2,  # 'ό'
-        26: 2,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    29: {  # 'β'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 3,  # 'ά'
-        18: 2,  # 'έ'
-        22: 3,  # 'ή'
-        15: 2,  # 'ί'
-        1: 3,  # 'α'
-        29: 0,  # 'β'
-        20: 2,  # 'γ'
-        21: 2,  # 'δ'
-        3: 3,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 2,  # 'η'
-        25: 0,  # 'θ'
-        5: 3,  # 'ι'
-        11: 0,  # 'κ'
-        16: 3,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 3,  # 'ο'
-        9: 0,  # 'π'
-        8: 3,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 0,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 2,  # 'ω'
-        19: 2,  # 'ό'
-        26: 2,  # 'ύ'
-        27: 2,  # 'ώ'
-    },
-    20: {  # 'γ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 3,  # 'ά'
-        18: 3,  # 'έ'
-        22: 3,  # 'ή'
-        15: 3,  # 'ί'
-        1: 3,  # 'α'
-        29: 0,  # 'β'
-        20: 3,  # 'γ'
-        21: 0,  # 'δ'
-        3: 3,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 3,  # 'η'
-        25: 0,  # 'θ'
-        5: 3,  # 'ι'
-        11: 3,  # 'κ'
-        16: 3,  # 'λ'
-        10: 3,  # 'μ'
-        6: 3,  # 'ν'
-        30: 3,  # 'ξ'
-        4: 3,  # 'ο'
-        9: 0,  # 'π'
-        8: 3,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 2,  # 'υ'
-        28: 0,  # 'φ'
-        23: 3,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 3,  # 'ω'
-        19: 3,  # 'ό'
-        26: 2,  # 'ύ'
-        27: 3,  # 'ώ'
-    },
-    21: {  # 'δ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 2,  # 'ά'
-        18: 3,  # 'έ'
-        22: 3,  # 'ή'
-        15: 3,  # 'ί'
-        1: 3,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 3,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 3,  # 'η'
-        25: 0,  # 'θ'
-        5: 3,  # 'ι'
-        11: 0,  # 'κ'
-        16: 0,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 3,  # 'ο'
-        9: 0,  # 'π'
-        8: 3,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 3,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 3,  # 'ω'
-        19: 3,  # 'ό'
-        26: 3,  # 'ύ'
-        27: 3,  # 'ώ'
-    },
-    3: {  # 'ε'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 2,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 3,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 3,  # 'ί'
-        1: 2,  # 'α'
-        29: 3,  # 'β'
-        20: 3,  # 'γ'
-        21: 3,  # 'δ'
-        3: 2,  # 'ε'
-        32: 2,  # 'ζ'
-        13: 0,  # 'η'
-        25: 3,  # 'θ'
-        5: 3,  # 'ι'
-        11: 3,  # 'κ'
-        16: 3,  # 'λ'
-        10: 3,  # 'μ'
-        6: 3,  # 'ν'
-        30: 3,  # 'ξ'
-        4: 2,  # 'ο'
-        9: 3,  # 'π'
-        8: 3,  # 'ρ'
-        14: 3,  # 'ς'
-        7: 3,  # 'σ'
-        2: 3,  # 'τ'
-        12: 3,  # 'υ'
-        28: 3,  # 'φ'
-        23: 3,  # 'χ'
-        42: 2,  # 'ψ'
-        24: 3,  # 'ω'
-        19: 2,  # 'ό'
-        26: 3,  # 'ύ'
-        27: 2,  # 'ώ'
-    },
-    32: {  # 'ζ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 2,  # 'ά'
-        18: 2,  # 'έ'
-        22: 2,  # 'ή'
-        15: 2,  # 'ί'
-        1: 2,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 3,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 3,  # 'η'
-        25: 0,  # 'θ'
-        5: 2,  # 'ι'
-        11: 0,  # 'κ'
-        16: 0,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 3,  # 'ο'
-        9: 0,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 1,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 3,  # 'ω'
-        19: 2,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 2,  # 'ώ'
-    },
-    13: {  # 'η'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 2,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 0,  # 'α'
-        29: 0,  # 'β'
-        20: 3,  # 'γ'
-        21: 2,  # 'δ'
-        3: 0,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 3,  # 'θ'
-        5: 0,  # 'ι'
-        11: 3,  # 'κ'
-        16: 3,  # 'λ'
-        10: 3,  # 'μ'
-        6: 3,  # 'ν'
-        30: 2,  # 'ξ'
-        4: 0,  # 'ο'
-        9: 2,  # 'π'
-        8: 3,  # 'ρ'
-        14: 3,  # 'ς'
-        7: 3,  # 'σ'
-        2: 3,  # 'τ'
-        12: 0,  # 'υ'
-        28: 2,  # 'φ'
-        23: 3,  # 'χ'
-        42: 2,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    25: {  # 'θ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 2,  # 'ά'
-        18: 3,  # 'έ'
-        22: 3,  # 'ή'
-        15: 2,  # 'ί'
-        1: 3,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 3,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 3,  # 'η'
-        25: 0,  # 'θ'
-        5: 3,  # 'ι'
-        11: 0,  # 'κ'
-        16: 1,  # 'λ'
-        10: 3,  # 'μ'
-        6: 2,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 3,  # 'ο'
-        9: 0,  # 'π'
-        8: 3,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 3,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 3,  # 'ω'
-        19: 3,  # 'ό'
-        26: 3,  # 'ύ'
-        27: 3,  # 'ώ'
-    },
-    5: {  # 'ι'
-        60: 0,  # 'e'
-        55: 1,  # 'o'
-        58: 0,  # 't'
-        36: 2,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 1,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 3,  # 'ά'
-        18: 3,  # 'έ'
-        22: 3,  # 'ή'
-        15: 0,  # 'ί'
-        1: 3,  # 'α'
-        29: 3,  # 'β'
-        20: 3,  # 'γ'
-        21: 3,  # 'δ'
-        3: 3,  # 'ε'
-        32: 2,  # 'ζ'
-        13: 3,  # 'η'
-        25: 3,  # 'θ'
-        5: 0,  # 'ι'
-        11: 3,  # 'κ'
-        16: 3,  # 'λ'
-        10: 3,  # 'μ'
-        6: 3,  # 'ν'
-        30: 3,  # 'ξ'
-        4: 3,  # 'ο'
-        9: 3,  # 'π'
-        8: 3,  # 'ρ'
-        14: 3,  # 'ς'
-        7: 3,  # 'σ'
-        2: 3,  # 'τ'
-        12: 0,  # 'υ'
-        28: 2,  # 'φ'
-        23: 3,  # 'χ'
-        42: 2,  # 'ψ'
-        24: 3,  # 'ω'
-        19: 3,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 3,  # 'ώ'
-    },
-    11: {  # 'κ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 3,  # 'ά'
-        18: 3,  # 'έ'
-        22: 3,  # 'ή'
-        15: 3,  # 'ί'
-        1: 3,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 3,  # 'δ'
-        3: 3,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 3,  # 'η'
-        25: 2,  # 'θ'
-        5: 3,  # 'ι'
-        11: 3,  # 'κ'
-        16: 3,  # 'λ'
-        10: 3,  # 'μ'
-        6: 2,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 3,  # 'ο'
-        9: 2,  # 'π'
-        8: 3,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 3,  # 'τ'
-        12: 3,  # 'υ'
-        28: 2,  # 'φ'
-        23: 2,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 3,  # 'ω'
-        19: 3,  # 'ό'
-        26: 3,  # 'ύ'
-        27: 3,  # 'ώ'
-    },
-    16: {  # 'λ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 3,  # 'ά'
-        18: 3,  # 'έ'
-        22: 3,  # 'ή'
-        15: 3,  # 'ί'
-        1: 3,  # 'α'
-        29: 1,  # 'β'
-        20: 2,  # 'γ'
-        21: 1,  # 'δ'
-        3: 3,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 3,  # 'η'
-        25: 2,  # 'θ'
-        5: 3,  # 'ι'
-        11: 2,  # 'κ'
-        16: 3,  # 'λ'
-        10: 2,  # 'μ'
-        6: 2,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 3,  # 'ο'
-        9: 3,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 3,  # 'τ'
-        12: 3,  # 'υ'
-        28: 2,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 3,  # 'ω'
-        19: 3,  # 'ό'
-        26: 3,  # 'ύ'
-        27: 3,  # 'ώ'
-    },
-    10: {  # 'μ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 1,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 3,  # 'ά'
-        18: 3,  # 'έ'
-        22: 3,  # 'ή'
-        15: 3,  # 'ί'
-        1: 3,  # 'α'
-        29: 3,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 3,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 3,  # 'η'
-        25: 0,  # 'θ'
-        5: 3,  # 'ι'
-        11: 0,  # 'κ'
-        16: 0,  # 'λ'
-        10: 3,  # 'μ'
-        6: 3,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 3,  # 'ο'
-        9: 3,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 2,  # 'υ'
-        28: 3,  # 'φ'
-        23: 0,  # 'χ'
-        42: 2,  # 'ψ'
-        24: 3,  # 'ω'
-        19: 3,  # 'ό'
-        26: 2,  # 'ύ'
-        27: 2,  # 'ώ'
-    },
-    6: {  # 'ν'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 2,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 3,  # 'ά'
-        18: 3,  # 'έ'
-        22: 3,  # 'ή'
-        15: 3,  # 'ί'
-        1: 3,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 3,  # 'δ'
-        3: 3,  # 'ε'
-        32: 2,  # 'ζ'
-        13: 3,  # 'η'
-        25: 3,  # 'θ'
-        5: 3,  # 'ι'
-        11: 0,  # 'κ'
-        16: 1,  # 'λ'
-        10: 0,  # 'μ'
-        6: 2,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 3,  # 'ο'
-        9: 0,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 3,  # 'σ'
-        2: 3,  # 'τ'
-        12: 3,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 3,  # 'ω'
-        19: 3,  # 'ό'
-        26: 3,  # 'ύ'
-        27: 3,  # 'ώ'
-    },
-    30: {  # 'ξ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 2,  # 'ά'
-        18: 3,  # 'έ'
-        22: 3,  # 'ή'
-        15: 2,  # 'ί'
-        1: 3,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 3,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 3,  # 'η'
-        25: 0,  # 'θ'
-        5: 2,  # 'ι'
-        11: 0,  # 'κ'
-        16: 0,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 3,  # 'ο'
-        9: 0,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 3,  # 'τ'
-        12: 2,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 3,  # 'ω'
-        19: 2,  # 'ό'
-        26: 3,  # 'ύ'
-        27: 1,  # 'ώ'
-    },
-    4: {  # 'ο'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 2,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 2,  # 'έ'
-        22: 3,  # 'ή'
-        15: 3,  # 'ί'
-        1: 2,  # 'α'
-        29: 3,  # 'β'
-        20: 3,  # 'γ'
-        21: 3,  # 'δ'
-        3: 3,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 3,  # 'η'
-        25: 3,  # 'θ'
-        5: 3,  # 'ι'
-        11: 3,  # 'κ'
-        16: 3,  # 'λ'
-        10: 3,  # 'μ'
-        6: 3,  # 'ν'
-        30: 2,  # 'ξ'
-        4: 2,  # 'ο'
-        9: 3,  # 'π'
-        8: 3,  # 'ρ'
-        14: 3,  # 'ς'
-        7: 3,  # 'σ'
-        2: 3,  # 'τ'
-        12: 3,  # 'υ'
-        28: 3,  # 'φ'
-        23: 3,  # 'χ'
-        42: 2,  # 'ψ'
-        24: 2,  # 'ω'
-        19: 1,  # 'ό'
-        26: 3,  # 'ύ'
-        27: 2,  # 'ώ'
-    },
-    9: {  # 'π'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 3,  # 'ά'
-        18: 3,  # 'έ'
-        22: 3,  # 'ή'
-        15: 3,  # 'ί'
-        1: 3,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 3,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 3,  # 'η'
-        25: 0,  # 'θ'
-        5: 3,  # 'ι'
-        11: 0,  # 'κ'
-        16: 3,  # 'λ'
-        10: 0,  # 'μ'
-        6: 2,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 3,  # 'ο'
-        9: 0,  # 'π'
-        8: 3,  # 'ρ'
-        14: 2,  # 'ς'
-        7: 0,  # 'σ'
-        2: 3,  # 'τ'
-        12: 3,  # 'υ'
-        28: 0,  # 'φ'
-        23: 2,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 3,  # 'ω'
-        19: 3,  # 'ό'
-        26: 2,  # 'ύ'
-        27: 3,  # 'ώ'
-    },
-    8: {  # 'ρ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 3,  # 'ά'
-        18: 3,  # 'έ'
-        22: 3,  # 'ή'
-        15: 3,  # 'ί'
-        1: 3,  # 'α'
-        29: 2,  # 'β'
-        20: 3,  # 'γ'
-        21: 2,  # 'δ'
-        3: 3,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 3,  # 'η'
-        25: 3,  # 'θ'
-        5: 3,  # 'ι'
-        11: 3,  # 'κ'
-        16: 1,  # 'λ'
-        10: 3,  # 'μ'
-        6: 3,  # 'ν'
-        30: 2,  # 'ξ'
-        4: 3,  # 'ο'
-        9: 2,  # 'π'
-        8: 2,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 2,  # 'σ'
-        2: 3,  # 'τ'
-        12: 3,  # 'υ'
-        28: 3,  # 'φ'
-        23: 3,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 3,  # 'ω'
-        19: 3,  # 'ό'
-        26: 3,  # 'ύ'
-        27: 3,  # 'ώ'
-    },
-    14: {  # 'ς'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 2,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 0,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 0,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 0,  # 'θ'
-        5: 0,  # 'ι'
-        11: 0,  # 'κ'
-        16: 0,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 0,  # 'ο'
-        9: 0,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 0,  # 'τ'
-        12: 0,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    7: {  # 'σ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 2,  # 'ά'
-        18: 2,  # 'έ'
-        22: 3,  # 'ή'
-        15: 3,  # 'ί'
-        1: 3,  # 'α'
-        29: 3,  # 'β'
-        20: 0,  # 'γ'
-        21: 2,  # 'δ'
-        3: 3,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 3,  # 'η'
-        25: 3,  # 'θ'
-        5: 3,  # 'ι'
-        11: 3,  # 'κ'
-        16: 2,  # 'λ'
-        10: 3,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 3,  # 'ο'
-        9: 3,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 3,  # 'σ'
-        2: 3,  # 'τ'
-        12: 3,  # 'υ'
-        28: 3,  # 'φ'
-        23: 3,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 3,  # 'ω'
-        19: 3,  # 'ό'
-        26: 3,  # 'ύ'
-        27: 2,  # 'ώ'
-    },
-    2: {  # 'τ'
-        60: 0,  # 'e'
-        55: 2,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 3,  # 'ά'
-        18: 3,  # 'έ'
-        22: 3,  # 'ή'
-        15: 3,  # 'ί'
-        1: 3,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 3,  # 'ε'
-        32: 2,  # 'ζ'
-        13: 3,  # 'η'
-        25: 0,  # 'θ'
-        5: 3,  # 'ι'
-        11: 2,  # 'κ'
-        16: 2,  # 'λ'
-        10: 3,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 3,  # 'ο'
-        9: 0,  # 'π'
-        8: 3,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 3,  # 'σ'
-        2: 3,  # 'τ'
-        12: 3,  # 'υ'
-        28: 2,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 3,  # 'ω'
-        19: 3,  # 'ό'
-        26: 3,  # 'ύ'
-        27: 3,  # 'ώ'
-    },
-    12: {  # 'υ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 2,  # 'ά'
-        18: 2,  # 'έ'
-        22: 3,  # 'ή'
-        15: 2,  # 'ί'
-        1: 3,  # 'α'
-        29: 2,  # 'β'
-        20: 3,  # 'γ'
-        21: 2,  # 'δ'
-        3: 2,  # 'ε'
-        32: 2,  # 'ζ'
-        13: 2,  # 'η'
-        25: 3,  # 'θ'
-        5: 2,  # 'ι'
-        11: 3,  # 'κ'
-        16: 3,  # 'λ'
-        10: 3,  # 'μ'
-        6: 3,  # 'ν'
-        30: 3,  # 'ξ'
-        4: 3,  # 'ο'
-        9: 3,  # 'π'
-        8: 3,  # 'ρ'
-        14: 3,  # 'ς'
-        7: 3,  # 'σ'
-        2: 3,  # 'τ'
-        12: 0,  # 'υ'
-        28: 2,  # 'φ'
-        23: 3,  # 'χ'
-        42: 2,  # 'ψ'
-        24: 2,  # 'ω'
-        19: 2,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 2,  # 'ώ'
-    },
-    28: {  # 'φ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 3,  # 'ά'
-        18: 3,  # 'έ'
-        22: 3,  # 'ή'
-        15: 3,  # 'ί'
-        1: 3,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 3,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 2,  # 'η'
-        25: 2,  # 'θ'
-        5: 3,  # 'ι'
-        11: 0,  # 'κ'
-        16: 2,  # 'λ'
-        10: 0,  # 'μ'
-        6: 1,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 3,  # 'ο'
-        9: 0,  # 'π'
-        8: 3,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 3,  # 'τ'
-        12: 3,  # 'υ'
-        28: 1,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 3,  # 'ω'
-        19: 3,  # 'ό'
-        26: 2,  # 'ύ'
-        27: 2,  # 'ώ'
-    },
-    23: {  # 'χ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 3,  # 'ά'
-        18: 2,  # 'έ'
-        22: 3,  # 'ή'
-        15: 3,  # 'ί'
-        1: 3,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 3,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 2,  # 'η'
-        25: 2,  # 'θ'
-        5: 3,  # 'ι'
-        11: 0,  # 'κ'
-        16: 2,  # 'λ'
-        10: 2,  # 'μ'
-        6: 3,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 3,  # 'ο'
-        9: 0,  # 'π'
-        8: 3,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 3,  # 'τ'
-        12: 3,  # 'υ'
-        28: 0,  # 'φ'
-        23: 2,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 3,  # 'ω'
-        19: 3,  # 'ό'
-        26: 3,  # 'ύ'
-        27: 3,  # 'ώ'
-    },
-    42: {  # 'ψ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 2,  # 'ά'
-        18: 2,  # 'έ'
-        22: 1,  # 'ή'
-        15: 2,  # 'ί'
-        1: 2,  # 'α'
-        29: 0,  # 'β'
-        20: 0,  # 'γ'
-        21: 0,  # 'δ'
-        3: 3,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 3,  # 'η'
-        25: 0,  # 'θ'
-        5: 2,  # 'ι'
-        11: 0,  # 'κ'
-        16: 0,  # 'λ'
-        10: 0,  # 'μ'
-        6: 0,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 2,  # 'ο'
-        9: 0,  # 'π'
-        8: 0,  # 'ρ'
-        14: 0,  # 'ς'
-        7: 0,  # 'σ'
-        2: 2,  # 'τ'
-        12: 1,  # 'υ'
-        28: 0,  # 'φ'
-        23: 0,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 2,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    24: {  # 'ω'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 1,  # 'ά'
-        18: 0,  # 'έ'
-        22: 2,  # 'ή'
-        15: 0,  # 'ί'
-        1: 0,  # 'α'
-        29: 2,  # 'β'
-        20: 3,  # 'γ'
-        21: 2,  # 'δ'
-        3: 0,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 0,  # 'η'
-        25: 3,  # 'θ'
-        5: 2,  # 'ι'
-        11: 0,  # 'κ'
-        16: 2,  # 'λ'
-        10: 3,  # 'μ'
-        6: 3,  # 'ν'
-        30: 0,  # 'ξ'
-        4: 0,  # 'ο'
-        9: 3,  # 'π'
-        8: 3,  # 'ρ'
-        14: 3,  # 'ς'
-        7: 3,  # 'σ'
-        2: 3,  # 'τ'
-        12: 0,  # 'υ'
-        28: 2,  # 'φ'
-        23: 2,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    19: {  # 'ό'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 0,  # 'α'
-        29: 3,  # 'β'
-        20: 3,  # 'γ'
-        21: 3,  # 'δ'
-        3: 1,  # 'ε'
-        32: 2,  # 'ζ'
-        13: 2,  # 'η'
-        25: 2,  # 'θ'
-        5: 2,  # 'ι'
-        11: 3,  # 'κ'
-        16: 3,  # 'λ'
-        10: 3,  # 'μ'
-        6: 3,  # 'ν'
-        30: 1,  # 'ξ'
-        4: 2,  # 'ο'
-        9: 3,  # 'π'
-        8: 3,  # 'ρ'
-        14: 3,  # 'ς'
-        7: 3,  # 'σ'
-        2: 3,  # 'τ'
-        12: 0,  # 'υ'
-        28: 2,  # 'φ'
-        23: 3,  # 'χ'
-        42: 2,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    26: {  # 'ύ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 2,  # 'α'
-        29: 2,  # 'β'
-        20: 2,  # 'γ'
-        21: 1,  # 'δ'
-        3: 3,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 2,  # 'η'
-        25: 3,  # 'θ'
-        5: 0,  # 'ι'
-        11: 3,  # 'κ'
-        16: 3,  # 'λ'
-        10: 3,  # 'μ'
-        6: 3,  # 'ν'
-        30: 2,  # 'ξ'
-        4: 3,  # 'ο'
-        9: 3,  # 'π'
-        8: 3,  # 'ρ'
-        14: 3,  # 'ς'
-        7: 3,  # 'σ'
-        2: 3,  # 'τ'
-        12: 0,  # 'υ'
-        28: 2,  # 'φ'
-        23: 2,  # 'χ'
-        42: 2,  # 'ψ'
-        24: 2,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-    27: {  # 'ώ'
-        60: 0,  # 'e'
-        55: 0,  # 'o'
-        58: 0,  # 't'
-        36: 0,  # '·'
-        61: 0,  # 'Ά'
-        46: 0,  # 'Έ'
-        54: 0,  # 'Ό'
-        31: 0,  # 'Α'
-        51: 0,  # 'Β'
-        43: 0,  # 'Γ'
-        41: 0,  # 'Δ'
-        34: 0,  # 'Ε'
-        40: 0,  # 'Η'
-        52: 0,  # 'Θ'
-        47: 0,  # 'Ι'
-        44: 0,  # 'Κ'
-        53: 0,  # 'Λ'
-        38: 0,  # 'Μ'
-        49: 0,  # 'Ν'
-        59: 0,  # 'Ξ'
-        39: 0,  # 'Ο'
-        35: 0,  # 'Π'
-        48: 0,  # 'Ρ'
-        37: 0,  # 'Σ'
-        33: 0,  # 'Τ'
-        45: 0,  # 'Υ'
-        56: 0,  # 'Φ'
-        50: 0,  # 'Χ'
-        57: 0,  # 'Ω'
-        17: 0,  # 'ά'
-        18: 0,  # 'έ'
-        22: 0,  # 'ή'
-        15: 0,  # 'ί'
-        1: 0,  # 'α'
-        29: 1,  # 'β'
-        20: 0,  # 'γ'
-        21: 3,  # 'δ'
-        3: 0,  # 'ε'
-        32: 0,  # 'ζ'
-        13: 1,  # 'η'
-        25: 2,  # 'θ'
-        5: 2,  # 'ι'
-        11: 0,  # 'κ'
-        16: 2,  # 'λ'
-        10: 3,  # 'μ'
-        6: 3,  # 'ν'
-        30: 1,  # 'ξ'
-        4: 0,  # 'ο'
-        9: 2,  # 'π'
-        8: 3,  # 'ρ'
-        14: 3,  # 'ς'
-        7: 3,  # 'σ'
-        2: 3,  # 'τ'
-        12: 0,  # 'υ'
-        28: 1,  # 'φ'
-        23: 1,  # 'χ'
-        42: 0,  # 'ψ'
-        24: 0,  # 'ω'
-        19: 0,  # 'ό'
-        26: 0,  # 'ύ'
-        27: 0,  # 'ώ'
-    },
-}
-
-# 255: Undefined characters that did not exist in training text
-# 254: Carriage/Return
-# 253: symbol (punctuation) that does not belong to word
-# 252: 0 - 9
-# 251: Control characters
-
-# Character Mapping Table(s):
-WINDOWS_1253_GREEK_CHAR_TO_ORDER = {
-    0: 255,  # '\x00'
-    1: 255,  # '\x01'
-    2: 255,  # '\x02'
-    3: 255,  # '\x03'
-    4: 255,  # '\x04'
-    5: 255,  # '\x05'
-    6: 255,  # '\x06'
-    7: 255,  # '\x07'
-    8: 255,  # '\x08'
-    9: 255,  # '\t'
-    10: 254,  # '\n'
-    11: 255,  # '\x0b'
-    12: 255,  # '\x0c'
-    13: 254,  # '\r'
-    14: 255,  # '\x0e'
-    15: 255,  # '\x0f'
-    16: 255,  # '\x10'
-    17: 255,  # '\x11'
-    18: 255,  # '\x12'
-    19: 255,  # '\x13'
-    20: 255,  # '\x14'
-    21: 255,  # '\x15'
-    22: 255,  # '\x16'
-    23: 255,  # '\x17'
-    24: 255,  # '\x18'
-    25: 255,  # '\x19'
-    26: 255,  # '\x1a'
-    27: 255,  # '\x1b'
-    28: 255,  # '\x1c'
-    29: 255,  # '\x1d'
-    30: 255,  # '\x1e'
-    31: 255,  # '\x1f'
-    32: 253,  # ' '
-    33: 253,  # '!'
-    34: 253,  # '"'
-    35: 253,  # '#'
-    36: 253,  # '$'
-    37: 253,  # '%'
-    38: 253,  # '&'
-    39: 253,  # "'"
-    40: 253,  # '('
-    41: 253,  # ')'
-    42: 253,  # '*'
-    43: 253,  # '+'
-    44: 253,  # ','
-    45: 253,  # '-'
-    46: 253,  # '.'
-    47: 253,  # '/'
-    48: 252,  # '0'
-    49: 252,  # '1'
-    50: 252,  # '2'
-    51: 252,  # '3'
-    52: 252,  # '4'
-    53: 252,  # '5'
-    54: 252,  # '6'
-    55: 252,  # '7'
-    56: 252,  # '8'
-    57: 252,  # '9'
-    58: 253,  # ':'
-    59: 253,  # ';'
-    60: 253,  # '<'
-    61: 253,  # '='
-    62: 253,  # '>'
-    63: 253,  # '?'
-    64: 253,  # '@'
-    65: 82,  # 'A'
-    66: 100,  # 'B'
-    67: 104,  # 'C'
-    68: 94,  # 'D'
-    69: 98,  # 'E'
-    70: 101,  # 'F'
-    71: 116,  # 'G'
-    72: 102,  # 'H'
-    73: 111,  # 'I'
-    74: 187,  # 'J'
-    75: 117,  # 'K'
-    76: 92,  # 'L'
-    77: 88,  # 'M'
-    78: 113,  # 'N'
-    79: 85,  # 'O'
-    80: 79,  # 'P'
-    81: 118,  # 'Q'
-    82: 105,  # 'R'
-    83: 83,  # 'S'
-    84: 67,  # 'T'
-    85: 114,  # 'U'
-    86: 119,  # 'V'
-    87: 95,  # 'W'
-    88: 99,  # 'X'
-    89: 109,  # 'Y'
-    90: 188,  # 'Z'
-    91: 253,  # '['
-    92: 253,  # '\\'
-    93: 253,  # ']'
-    94: 253,  # '^'
-    95: 253,  # '_'
-    96: 253,  # '`'
-    97: 72,  # 'a'
-    98: 70,  # 'b'
-    99: 80,  # 'c'
-    100: 81,  # 'd'
-    101: 60,  # 'e'
-    102: 96,  # 'f'
-    103: 93,  # 'g'
-    104: 89,  # 'h'
-    105: 68,  # 'i'
-    106: 120,  # 'j'
-    107: 97,  # 'k'
-    108: 77,  # 'l'
-    109: 86,  # 'm'
-    110: 69,  # 'n'
-    111: 55,  # 'o'
-    112: 78,  # 'p'
-    113: 115,  # 'q'
-    114: 65,  # 'r'
-    115: 66,  # 's'
-    116: 58,  # 't'
-    117: 76,  # 'u'
-    118: 106,  # 'v'
-    119: 103,  # 'w'
-    120: 87,  # 'x'
-    121: 107,  # 'y'
-    122: 112,  # 'z'
-    123: 253,  # '{'
-    124: 253,  # '|'
-    125: 253,  # '}'
-    126: 253,  # '~'
-    127: 253,  # '\x7f'
-    128: 255,  # '€'
-    129: 255,  # None
-    130: 255,  # '‚'
-    131: 255,  # 'ƒ'
-    132: 255,  # '„'
-    133: 255,  # '…'
-    134: 255,  # '†'
-    135: 255,  # '‡'
-    136: 255,  # None
-    137: 255,  # '‰'
-    138: 255,  # None
-    139: 255,  # '‹'
-    140: 255,  # None
-    141: 255,  # None
-    142: 255,  # None
-    143: 255,  # None
-    144: 255,  # None
-    145: 255,  # '‘'
-    146: 255,  # '’'
-    147: 255,  # '“'
-    148: 255,  # '”'
-    149: 255,  # '•'
-    150: 255,  # '–'
-    151: 255,  # '—'
-    152: 255,  # None
-    153: 255,  # '™'
-    154: 255,  # None
-    155: 255,  # '›'
-    156: 255,  # None
-    157: 255,  # None
-    158: 255,  # None
-    159: 255,  # None
-    160: 253,  # '\xa0'
-    161: 233,  # '΅'
-    162: 61,  # 'Ά'
-    163: 253,  # '£'
-    164: 253,  # '¤'
-    165: 253,  # '¥'
-    166: 253,  # '¦'
-    167: 253,  # '§'
-    168: 253,  # '¨'
-    169: 253,  # '©'
-    170: 253,  # None
-    171: 253,  # '«'
-    172: 253,  # '¬'
-    173: 74,  # '\xad'
-    174: 253,  # '®'
-    175: 253,  # '―'
-    176: 253,  # '°'
-    177: 253,  # '±'
-    178: 253,  # '²'
-    179: 253,  # '³'
-    180: 247,  # '΄'
-    181: 253,  # 'µ'
-    182: 253,  # '¶'
-    183: 36,  # '·'
-    184: 46,  # 'Έ'
-    185: 71,  # 'Ή'
-    186: 73,  # 'Ί'
-    187: 253,  # '»'
-    188: 54,  # 'Ό'
-    189: 253,  # '½'
-    190: 108,  # 'Ύ'
-    191: 123,  # 'Ώ'
-    192: 110,  # 'ΐ'
-    193: 31,  # 'Α'
-    194: 51,  # 'Β'
-    195: 43,  # 'Γ'
-    196: 41,  # 'Δ'
-    197: 34,  # 'Ε'
-    198: 91,  # 'Ζ'
-    199: 40,  # 'Η'
-    200: 52,  # 'Θ'
-    201: 47,  # 'Ι'
-    202: 44,  # 'Κ'
-    203: 53,  # 'Λ'
-    204: 38,  # 'Μ'
-    205: 49,  # 'Ν'
-    206: 59,  # 'Ξ'
-    207: 39,  # 'Ο'
-    208: 35,  # 'Π'
-    209: 48,  # 'Ρ'
-    210: 250,  # None
-    211: 37,  # 'Σ'
-    212: 33,  # 'Τ'
-    213: 45,  # 'Υ'
-    214: 56,  # 'Φ'
-    215: 50,  # 'Χ'
-    216: 84,  # 'Ψ'
-    217: 57,  # 'Ω'
-    218: 120,  # 'Ϊ'
-    219: 121,  # 'Ϋ'
-    220: 17,  # 'ά'
-    221: 18,  # 'έ'
-    222: 22,  # 'ή'
-    223: 15,  # 'ί'
-    224: 124,  # 'ΰ'
-    225: 1,  # 'α'
-    226: 29,  # 'β'
-    227: 20,  # 'γ'
-    228: 21,  # 'δ'
-    229: 3,  # 'ε'
-    230: 32,  # 'ζ'
-    231: 13,  # 'η'
-    232: 25,  # 'θ'
-    233: 5,  # 'ι'
-    234: 11,  # 'κ'
-    235: 16,  # 'λ'
-    236: 10,  # 'μ'
-    237: 6,  # 'ν'
-    238: 30,  # 'ξ'
-    239: 4,  # 'ο'
-    240: 9,  # 'π'
-    241: 8,  # 'ρ'
-    242: 14,  # 'ς'
-    243: 7,  # 'σ'
-    244: 2,  # 'τ'
-    245: 12,  # 'υ'
-    246: 28,  # 'φ'
-    247: 23,  # 'χ'
-    248: 42,  # 'ψ'
-    249: 24,  # 'ω'
-    250: 64,  # 'ϊ'
-    251: 75,  # 'ϋ'
-    252: 19,  # 'ό'
-    253: 26,  # 'ύ'
-    254: 27,  # 'ώ'
-    255: 253,  # None
-}
-
-WINDOWS_1253_GREEK_MODEL = SingleByteCharSetModel(
-    charset_name="windows-1253",
-    language="Greek",
-    char_to_order_map=WINDOWS_1253_GREEK_CHAR_TO_ORDER,
-    language_model=GREEK_LANG_MODEL,
-    typical_positive_ratio=0.982851,
-    keep_ascii_letters=False,
-    alphabet="ΆΈΉΊΌΎΏΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩάέήίαβγδεζηθικλμνξοπρςστυφχψωόύώ",
-)
-
-ISO_8859_7_GREEK_CHAR_TO_ORDER = {
-    0: 255,  # '\x00'
-    1: 255,  # '\x01'
-    2: 255,  # '\x02'
-    3: 255,  # '\x03'
-    4: 255,  # '\x04'
-    5: 255,  # '\x05'
-    6: 255,  # '\x06'
-    7: 255,  # '\x07'
-    8: 255,  # '\x08'
-    9: 255,  # '\t'
-    10: 254,  # '\n'
-    11: 255,  # '\x0b'
-    12: 255,  # '\x0c'
-    13: 254,  # '\r'
-    14: 255,  # '\x0e'
-    15: 255,  # '\x0f'
-    16: 255,  # '\x10'
-    17: 255,  # '\x11'
-    18: 255,  # '\x12'
-    19: 255,  # '\x13'
-    20: 255,  # '\x14'
-    21: 255,  # '\x15'
-    22: 255,  # '\x16'
-    23: 255,  # '\x17'
-    24: 255,  # '\x18'
-    25: 255,  # '\x19'
-    26: 255,  # '\x1a'
-    27: 255,  # '\x1b'
-    28: 255,  # '\x1c'
-    29: 255,  # '\x1d'
-    30: 255,  # '\x1e'
-    31: 255,  # '\x1f'
-    32: 253,  # ' '
-    33: 253,  # '!'
-    34: 253,  # '"'
-    35: 253,  # '#'
-    36: 253,  # '$'
-    37: 253,  # '%'
-    38: 253,  # '&'
-    39: 253,  # "'"
-    40: 253,  # '('
-    41: 253,  # ')'
-    42: 253,  # '*'
-    43: 253,  # '+'
-    44: 253,  # ','
-    45: 253,  # '-'
-    46: 253,  # '.'
-    47: 253,  # '/'
-    48: 252,  # '0'
-    49: 252,  # '1'
-    50: 252,  # '2'
-    51: 252,  # '3'
-    52: 252,  # '4'
-    53: 252,  # '5'
-    54: 252,  # '6'
-    55: 252,  # '7'
-    56: 252,  # '8'
-    57: 252,  # '9'
-    58: 253,  # ':'
-    59: 253,  # ';'
-    60: 253,  # '<'
-    61: 253,  # '='
-    62: 253,  # '>'
-    63: 253,  # '?'
-    64: 253,  # '@'
-    65: 82,  # 'A'
-    66: 100,  # 'B'
-    67: 104,  # 'C'
-    68: 94,  # 'D'
-    69: 98,  # 'E'
-    70: 101,  # 'F'
-    71: 116,  # 'G'
-    72: 102,  # 'H'
-    73: 111,  # 'I'
-    74: 187,  # 'J'
-    75: 117,  # 'K'
-    76: 92,  # 'L'
-    77: 88,  # 'M'
-    78: 113,  # 'N'
-    79: 85,  # 'O'
-    80: 79,  # 'P'
-    81: 118,  # 'Q'
-    82: 105,  # 'R'
-    83: 83,  # 'S'
-    84: 67,  # 'T'
-    85: 114,  # 'U'
-    86: 119,  # 'V'
-    87: 95,  # 'W'
-    88: 99,  # 'X'
-    89: 109,  # 'Y'
-    90: 188,  # 'Z'
-    91: 253,  # '['
-    92: 253,  # '\\'
-    93: 253,  # ']'
-    94: 253,  # '^'
-    95: 253,  # '_'
-    96: 253,  # '`'
-    97: 72,  # 'a'
-    98: 70,  # 'b'
-    99: 80,  # 'c'
-    100: 81,  # 'd'
-    101: 60,  # 'e'
-    102: 96,  # 'f'
-    103: 93,  # 'g'
-    104: 89,  # 'h'
-    105: 68,  # 'i'
-    106: 120,  # 'j'
-    107: 97,  # 'k'
-    108: 77,  # 'l'
-    109: 86,  # 'm'
-    110: 69,  # 'n'
-    111: 55,  # 'o'
-    112: 78,  # 'p'
-    113: 115,  # 'q'
-    114: 65,  # 'r'
-    115: 66,  # 's'
-    116: 58,  # 't'
-    117: 76,  # 'u'
-    118: 106,  # 'v'
-    119: 103,  # 'w'
-    120: 87,  # 'x'
-    121: 107,  # 'y'
-    122: 112,  # 'z'
-    123: 253,  # '{'
-    124: 253,  # '|'
-    125: 253,  # '}'
-    126: 253,  # '~'
-    127: 253,  # '\x7f'
-    128: 255,  # '\x80'
-    129: 255,  # '\x81'
-    130: 255,  # '\x82'
-    131: 255,  # '\x83'
-    132: 255,  # '\x84'
-    133: 255,  # '\x85'
-    134: 255,  # '\x86'
-    135: 255,  # '\x87'
-    136: 255,  # '\x88'
-    137: 255,  # '\x89'
-    138: 255,  # '\x8a'
-    139: 255,  # '\x8b'
-    140: 255,  # '\x8c'
-    141: 255,  # '\x8d'
-    142: 255,  # '\x8e'
-    143: 255,  # '\x8f'
-    144: 255,  # '\x90'
-    145: 255,  # '\x91'
-    146: 255,  # '\x92'
-    147: 255,  # '\x93'
-    148: 255,  # '\x94'
-    149: 255,  # '\x95'
-    150: 255,  # '\x96'
-    151: 255,  # '\x97'
-    152: 255,  # '\x98'
-    153: 255,  # '\x99'
-    154: 255,  # '\x9a'
-    155: 255,  # '\x9b'
-    156: 255,  # '\x9c'
-    157: 255,  # '\x9d'
-    158: 255,  # '\x9e'
-    159: 255,  # '\x9f'
-    160: 253,  # '\xa0'
-    161: 233,  # '‘'
-    162: 90,  # '’'
-    163: 253,  # '£'
-    164: 253,  # '€'
-    165: 253,  # '₯'
-    166: 253,  # '¦'
-    167: 253,  # '§'
-    168: 253,  # '¨'
-    169: 253,  # '©'
-    170: 253,  # 'ͺ'
-    171: 253,  # '«'
-    172: 253,  # '¬'
-    173: 74,  # '\xad'
-    174: 253,  # None
-    175: 253,  # '―'
-    176: 253,  # '°'
-    177: 253,  # '±'
-    178: 253,  # '²'
-    179: 253,  # '³'
-    180: 247,  # '΄'
-    181: 248,  # '΅'
-    182: 61,  # 'Ά'
-    183: 36,  # '·'
-    184: 46,  # 'Έ'
-    185: 71,  # 'Ή'
-    186: 73,  # 'Ί'
-    187: 253,  # '»'
-    188: 54,  # 'Ό'
-    189: 253,  # '½'
-    190: 108,  # 'Ύ'
-    191: 123,  # 'Ώ'
-    192: 110,  # 'ΐ'
-    193: 31,  # 'Α'
-    194: 51,  # 'Β'
-    195: 43,  # 'Γ'
-    196: 41,  # 'Δ'
-    197: 34,  # 'Ε'
-    198: 91,  # 'Ζ'
-    199: 40,  # 'Η'
-    200: 52,  # 'Θ'
-    201: 47,  # 'Ι'
-    202: 44,  # 'Κ'
-    203: 53,  # 'Λ'
-    204: 38,  # 'Μ'
-    205: 49,  # 'Ν'
-    206: 59,  # 'Ξ'
-    207: 39,  # 'Ο'
-    208: 35,  # 'Π'
-    209: 48,  # 'Ρ'
-    210: 250,  # None
-    211: 37,  # 'Σ'
-    212: 33,  # 'Τ'
-    213: 45,  # 'Υ'
-    214: 56,  # 'Φ'
-    215: 50,  # 'Χ'
-    216: 84,  # 'Ψ'
-    217: 57,  # 'Ω'
-    218: 120,  # 'Ϊ'
-    219: 121,  # 'Ϋ'
-    220: 17,  # 'ά'
-    221: 18,  # 'έ'
-    222: 22,  # 'ή'
-    223: 15,  # 'ί'
-    224: 124,  # 'ΰ'
-    225: 1,  # 'α'
-    226: 29,  # 'β'
-    227: 20,  # 'γ'
-    228: 21,  # 'δ'
-    229: 3,  # 'ε'
-    230: 32,  # 'ζ'
-    231: 13,  # 'η'
-    232: 25,  # 'θ'
-    233: 5,  # 'ι'
-    234: 11,  # 'κ'
-    235: 16,  # 'λ'
-    236: 10,  # 'μ'
-    237: 6,  # 'ν'
-    238: 30,  # 'ξ'
-    239: 4,  # 'ο'
-    240: 9,  # 'π'
-    241: 8,  # 'ρ'
-    242: 14,  # 'ς'
-    243: 7,  # 'σ'
-    244: 2,  # 'τ'
-    245: 12,  # 'υ'
-    246: 28,  # 'φ'
-    247: 23,  # 'χ'
-    248: 42,  # 'ψ'
-    249: 24,  # 'ω'
-    250: 64,  # 'ϊ'
-    251: 75,  # 'ϋ'
-    252: 19,  # 'ό'
-    253: 26,  # 'ύ'
-    254: 27,  # 'ώ'
-    255: 253,  # None
-}
-
-ISO_8859_7_GREEK_MODEL = SingleByteCharSetModel(
-    charset_name="ISO-8859-7",
-    language="Greek",
-    char_to_order_map=ISO_8859_7_GREEK_CHAR_TO_ORDER,
-    language_model=GREEK_LANG_MODEL,
-    typical_positive_ratio=0.982851,
-    keep_ascii_letters=False,
-    alphabet="ΆΈΉΊΌΎΏΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩάέήίαβγδεζηθικλμνξοπρςστυφχψωόύώ",
-)
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/langhebrewmodel.py b/.venv/Lib/site-packages/pip/_vendor/chardet/langhebrewmodel.py
deleted file mode 100644
index 56d2975..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/langhebrewmodel.py
+++ /dev/null
@@ -1,4380 +0,0 @@
-from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel
-
-# 3: Positive
-# 2: Likely
-# 1: Unlikely
-# 0: Negative
-
-HEBREW_LANG_MODEL = {
-    50: {  # 'a'
-        50: 0,  # 'a'
-        60: 1,  # 'c'
-        61: 1,  # 'd'
-        42: 1,  # 'e'
-        53: 1,  # 'i'
-        56: 2,  # 'l'
-        54: 2,  # 'n'
-        49: 0,  # 'o'
-        51: 2,  # 'r'
-        43: 1,  # 's'
-        44: 2,  # 't'
-        63: 1,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 0,  # 'א'
-        8: 0,  # 'ב'
-        20: 0,  # 'ג'
-        16: 0,  # 'ד'
-        3: 1,  # 'ה'
-        2: 0,  # 'ו'
-        24: 0,  # 'ז'
-        14: 0,  # 'ח'
-        22: 0,  # 'ט'
-        1: 0,  # 'י'
-        25: 0,  # 'ך'
-        15: 0,  # 'כ'
-        4: 0,  # 'ל'
-        11: 0,  # 'ם'
-        6: 1,  # 'מ'
-        23: 0,  # 'ן'
-        12: 0,  # 'נ'
-        19: 0,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 0,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 1,  # 'ק'
-        7: 0,  # 'ר'
-        10: 1,  # 'ש'
-        5: 0,  # 'ת'
-        32: 0,  # '–'
-        52: 1,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    60: {  # 'c'
-        50: 1,  # 'a'
-        60: 1,  # 'c'
-        61: 0,  # 'd'
-        42: 1,  # 'e'
-        53: 1,  # 'i'
-        56: 1,  # 'l'
-        54: 0,  # 'n'
-        49: 1,  # 'o'
-        51: 1,  # 'r'
-        43: 1,  # 's'
-        44: 2,  # 't'
-        63: 1,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 1,  # 'א'
-        8: 0,  # 'ב'
-        20: 0,  # 'ג'
-        16: 0,  # 'ד'
-        3: 1,  # 'ה'
-        2: 0,  # 'ו'
-        24: 0,  # 'ז'
-        14: 0,  # 'ח'
-        22: 0,  # 'ט'
-        1: 0,  # 'י'
-        25: 0,  # 'ך'
-        15: 0,  # 'כ'
-        4: 0,  # 'ל'
-        11: 0,  # 'ם'
-        6: 1,  # 'מ'
-        23: 0,  # 'ן'
-        12: 1,  # 'נ'
-        19: 0,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 0,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 0,  # 'ק'
-        7: 0,  # 'ר'
-        10: 0,  # 'ש'
-        5: 0,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    61: {  # 'd'
-        50: 1,  # 'a'
-        60: 0,  # 'c'
-        61: 1,  # 'd'
-        42: 1,  # 'e'
-        53: 1,  # 'i'
-        56: 1,  # 'l'
-        54: 1,  # 'n'
-        49: 2,  # 'o'
-        51: 1,  # 'r'
-        43: 1,  # 's'
-        44: 0,  # 't'
-        63: 1,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 0,  # 'א'
-        8: 0,  # 'ב'
-        20: 0,  # 'ג'
-        16: 0,  # 'ד'
-        3: 1,  # 'ה'
-        2: 0,  # 'ו'
-        24: 0,  # 'ז'
-        14: 0,  # 'ח'
-        22: 0,  # 'ט'
-        1: 0,  # 'י'
-        25: 0,  # 'ך'
-        15: 0,  # 'כ'
-        4: 0,  # 'ל'
-        11: 0,  # 'ם'
-        6: 0,  # 'מ'
-        23: 0,  # 'ן'
-        12: 0,  # 'נ'
-        19: 0,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 0,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 0,  # 'ק'
-        7: 0,  # 'ר'
-        10: 0,  # 'ש'
-        5: 0,  # 'ת'
-        32: 1,  # '–'
-        52: 1,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    42: {  # 'e'
-        50: 1,  # 'a'
-        60: 1,  # 'c'
-        61: 2,  # 'd'
-        42: 1,  # 'e'
-        53: 1,  # 'i'
-        56: 2,  # 'l'
-        54: 2,  # 'n'
-        49: 1,  # 'o'
-        51: 2,  # 'r'
-        43: 2,  # 's'
-        44: 2,  # 't'
-        63: 1,  # 'u'
-        34: 1,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 0,  # 'א'
-        8: 0,  # 'ב'
-        20: 0,  # 'ג'
-        16: 0,  # 'ד'
-        3: 0,  # 'ה'
-        2: 0,  # 'ו'
-        24: 0,  # 'ז'
-        14: 0,  # 'ח'
-        22: 0,  # 'ט'
-        1: 0,  # 'י'
-        25: 0,  # 'ך'
-        15: 0,  # 'כ'
-        4: 0,  # 'ל'
-        11: 0,  # 'ם'
-        6: 0,  # 'מ'
-        23: 0,  # 'ן'
-        12: 0,  # 'נ'
-        19: 0,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 1,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 0,  # 'ק'
-        7: 0,  # 'ר'
-        10: 0,  # 'ש'
-        5: 0,  # 'ת'
-        32: 1,  # '–'
-        52: 2,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    53: {  # 'i'
-        50: 1,  # 'a'
-        60: 2,  # 'c'
-        61: 1,  # 'd'
-        42: 1,  # 'e'
-        53: 0,  # 'i'
-        56: 1,  # 'l'
-        54: 2,  # 'n'
-        49: 2,  # 'o'
-        51: 1,  # 'r'
-        43: 2,  # 's'
-        44: 2,  # 't'
-        63: 1,  # 'u'
-        34: 0,  # '\xa0'
-        55: 1,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 0,  # 'א'
-        8: 0,  # 'ב'
-        20: 0,  # 'ג'
-        16: 0,  # 'ד'
-        3: 0,  # 'ה'
-        2: 0,  # 'ו'
-        24: 0,  # 'ז'
-        14: 0,  # 'ח'
-        22: 0,  # 'ט'
-        1: 0,  # 'י'
-        25: 0,  # 'ך'
-        15: 0,  # 'כ'
-        4: 0,  # 'ל'
-        11: 0,  # 'ם'
-        6: 0,  # 'מ'
-        23: 0,  # 'ן'
-        12: 0,  # 'נ'
-        19: 0,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 0,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 0,  # 'ק'
-        7: 0,  # 'ר'
-        10: 0,  # 'ש'
-        5: 0,  # 'ת'
-        32: 0,  # '–'
-        52: 1,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    56: {  # 'l'
-        50: 1,  # 'a'
-        60: 1,  # 'c'
-        61: 1,  # 'd'
-        42: 2,  # 'e'
-        53: 2,  # 'i'
-        56: 2,  # 'l'
-        54: 1,  # 'n'
-        49: 1,  # 'o'
-        51: 0,  # 'r'
-        43: 1,  # 's'
-        44: 1,  # 't'
-        63: 1,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 0,  # 'א'
-        8: 0,  # 'ב'
-        20: 0,  # 'ג'
-        16: 0,  # 'ד'
-        3: 0,  # 'ה'
-        2: 0,  # 'ו'
-        24: 0,  # 'ז'
-        14: 0,  # 'ח'
-        22: 0,  # 'ט'
-        1: 0,  # 'י'
-        25: 0,  # 'ך'
-        15: 0,  # 'כ'
-        4: 0,  # 'ל'
-        11: 0,  # 'ם'
-        6: 0,  # 'מ'
-        23: 0,  # 'ן'
-        12: 0,  # 'נ'
-        19: 0,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 0,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 0,  # 'ק'
-        7: 0,  # 'ר'
-        10: 0,  # 'ש'
-        5: 0,  # 'ת'
-        32: 0,  # '–'
-        52: 1,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    54: {  # 'n'
-        50: 1,  # 'a'
-        60: 1,  # 'c'
-        61: 1,  # 'd'
-        42: 1,  # 'e'
-        53: 1,  # 'i'
-        56: 1,  # 'l'
-        54: 1,  # 'n'
-        49: 1,  # 'o'
-        51: 0,  # 'r'
-        43: 1,  # 's'
-        44: 2,  # 't'
-        63: 1,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 0,  # 'א'
-        8: 0,  # 'ב'
-        20: 0,  # 'ג'
-        16: 0,  # 'ד'
-        3: 1,  # 'ה'
-        2: 0,  # 'ו'
-        24: 0,  # 'ז'
-        14: 0,  # 'ח'
-        22: 0,  # 'ט'
-        1: 0,  # 'י'
-        25: 0,  # 'ך'
-        15: 0,  # 'כ'
-        4: 0,  # 'ל'
-        11: 0,  # 'ם'
-        6: 0,  # 'מ'
-        23: 0,  # 'ן'
-        12: 0,  # 'נ'
-        19: 0,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 0,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 0,  # 'ק'
-        7: 0,  # 'ר'
-        10: 0,  # 'ש'
-        5: 0,  # 'ת'
-        32: 0,  # '–'
-        52: 2,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    49: {  # 'o'
-        50: 1,  # 'a'
-        60: 1,  # 'c'
-        61: 1,  # 'd'
-        42: 1,  # 'e'
-        53: 1,  # 'i'
-        56: 1,  # 'l'
-        54: 2,  # 'n'
-        49: 1,  # 'o'
-        51: 2,  # 'r'
-        43: 1,  # 's'
-        44: 1,  # 't'
-        63: 1,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 0,  # 'א'
-        8: 0,  # 'ב'
-        20: 0,  # 'ג'
-        16: 0,  # 'ד'
-        3: 0,  # 'ה'
-        2: 0,  # 'ו'
-        24: 0,  # 'ז'
-        14: 0,  # 'ח'
-        22: 0,  # 'ט'
-        1: 0,  # 'י'
-        25: 0,  # 'ך'
-        15: 0,  # 'כ'
-        4: 0,  # 'ל'
-        11: 0,  # 'ם'
-        6: 0,  # 'מ'
-        23: 0,  # 'ן'
-        12: 0,  # 'נ'
-        19: 0,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 0,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 0,  # 'ק'
-        7: 0,  # 'ר'
-        10: 0,  # 'ש'
-        5: 0,  # 'ת'
-        32: 0,  # '–'
-        52: 1,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    51: {  # 'r'
-        50: 2,  # 'a'
-        60: 1,  # 'c'
-        61: 1,  # 'd'
-        42: 2,  # 'e'
-        53: 1,  # 'i'
-        56: 1,  # 'l'
-        54: 1,  # 'n'
-        49: 2,  # 'o'
-        51: 1,  # 'r'
-        43: 1,  # 's'
-        44: 1,  # 't'
-        63: 1,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 0,  # 'א'
-        8: 0,  # 'ב'
-        20: 0,  # 'ג'
-        16: 0,  # 'ד'
-        3: 0,  # 'ה'
-        2: 0,  # 'ו'
-        24: 0,  # 'ז'
-        14: 0,  # 'ח'
-        22: 0,  # 'ט'
-        1: 0,  # 'י'
-        25: 0,  # 'ך'
-        15: 0,  # 'כ'
-        4: 0,  # 'ל'
-        11: 0,  # 'ם'
-        6: 0,  # 'מ'
-        23: 0,  # 'ן'
-        12: 0,  # 'נ'
-        19: 0,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 0,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 0,  # 'ק'
-        7: 0,  # 'ר'
-        10: 0,  # 'ש'
-        5: 0,  # 'ת'
-        32: 0,  # '–'
-        52: 2,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    43: {  # 's'
-        50: 1,  # 'a'
-        60: 1,  # 'c'
-        61: 0,  # 'd'
-        42: 2,  # 'e'
-        53: 1,  # 'i'
-        56: 1,  # 'l'
-        54: 1,  # 'n'
-        49: 1,  # 'o'
-        51: 1,  # 'r'
-        43: 1,  # 's'
-        44: 2,  # 't'
-        63: 1,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 0,  # 'א'
-        8: 0,  # 'ב'
-        20: 0,  # 'ג'
-        16: 0,  # 'ד'
-        3: 0,  # 'ה'
-        2: 0,  # 'ו'
-        24: 0,  # 'ז'
-        14: 0,  # 'ח'
-        22: 0,  # 'ט'
-        1: 0,  # 'י'
-        25: 0,  # 'ך'
-        15: 0,  # 'כ'
-        4: 0,  # 'ל'
-        11: 0,  # 'ם'
-        6: 0,  # 'מ'
-        23: 0,  # 'ן'
-        12: 0,  # 'נ'
-        19: 0,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 0,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 0,  # 'ק'
-        7: 0,  # 'ר'
-        10: 0,  # 'ש'
-        5: 0,  # 'ת'
-        32: 0,  # '–'
-        52: 1,  # '’'
-        47: 0,  # '“'
-        46: 2,  # '”'
-        58: 0,  # '†'
-        40: 2,  # '…'
-    },
-    44: {  # 't'
-        50: 1,  # 'a'
-        60: 1,  # 'c'
-        61: 0,  # 'd'
-        42: 2,  # 'e'
-        53: 2,  # 'i'
-        56: 1,  # 'l'
-        54: 0,  # 'n'
-        49: 1,  # 'o'
-        51: 1,  # 'r'
-        43: 1,  # 's'
-        44: 1,  # 't'
-        63: 1,  # 'u'
-        34: 1,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 0,  # 'א'
-        8: 0,  # 'ב'
-        20: 0,  # 'ג'
-        16: 0,  # 'ד'
-        3: 0,  # 'ה'
-        2: 0,  # 'ו'
-        24: 0,  # 'ז'
-        14: 0,  # 'ח'
-        22: 0,  # 'ט'
-        1: 0,  # 'י'
-        25: 0,  # 'ך'
-        15: 0,  # 'כ'
-        4: 0,  # 'ל'
-        11: 0,  # 'ם'
-        6: 0,  # 'מ'
-        23: 0,  # 'ן'
-        12: 0,  # 'נ'
-        19: 0,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 0,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 0,  # 'ק'
-        7: 0,  # 'ר'
-        10: 0,  # 'ש'
-        5: 0,  # 'ת'
-        32: 0,  # '–'
-        52: 2,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    63: {  # 'u'
-        50: 1,  # 'a'
-        60: 1,  # 'c'
-        61: 1,  # 'd'
-        42: 1,  # 'e'
-        53: 1,  # 'i'
-        56: 1,  # 'l'
-        54: 1,  # 'n'
-        49: 0,  # 'o'
-        51: 1,  # 'r'
-        43: 2,  # 's'
-        44: 1,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 0,  # 'א'
-        8: 0,  # 'ב'
-        20: 0,  # 'ג'
-        16: 0,  # 'ד'
-        3: 0,  # 'ה'
-        2: 0,  # 'ו'
-        24: 0,  # 'ז'
-        14: 0,  # 'ח'
-        22: 0,  # 'ט'
-        1: 0,  # 'י'
-        25: 0,  # 'ך'
-        15: 0,  # 'כ'
-        4: 0,  # 'ל'
-        11: 0,  # 'ם'
-        6: 0,  # 'מ'
-        23: 0,  # 'ן'
-        12: 0,  # 'נ'
-        19: 0,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 0,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 0,  # 'ק'
-        7: 0,  # 'ר'
-        10: 0,  # 'ש'
-        5: 0,  # 'ת'
-        32: 0,  # '–'
-        52: 1,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    34: {  # '\xa0'
-        50: 1,  # 'a'
-        60: 0,  # 'c'
-        61: 1,  # 'd'
-        42: 0,  # 'e'
-        53: 1,  # 'i'
-        56: 0,  # 'l'
-        54: 1,  # 'n'
-        49: 1,  # 'o'
-        51: 0,  # 'r'
-        43: 1,  # 's'
-        44: 1,  # 't'
-        63: 0,  # 'u'
-        34: 2,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 2,  # 'א'
-        8: 1,  # 'ב'
-        20: 1,  # 'ג'
-        16: 1,  # 'ד'
-        3: 1,  # 'ה'
-        2: 1,  # 'ו'
-        24: 1,  # 'ז'
-        14: 1,  # 'ח'
-        22: 1,  # 'ט'
-        1: 2,  # 'י'
-        25: 0,  # 'ך'
-        15: 1,  # 'כ'
-        4: 1,  # 'ל'
-        11: 0,  # 'ם'
-        6: 2,  # 'מ'
-        23: 0,  # 'ן'
-        12: 1,  # 'נ'
-        19: 1,  # 'ס'
-        13: 1,  # 'ע'
-        26: 0,  # 'ף'
-        18: 1,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 1,  # 'צ'
-        17: 1,  # 'ק'
-        7: 1,  # 'ר'
-        10: 1,  # 'ש'
-        5: 1,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    55: {  # '´'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 1,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 1,  # 'א'
-        8: 0,  # 'ב'
-        20: 0,  # 'ג'
-        16: 0,  # 'ד'
-        3: 1,  # 'ה'
-        2: 1,  # 'ו'
-        24: 0,  # 'ז'
-        14: 0,  # 'ח'
-        22: 0,  # 'ט'
-        1: 2,  # 'י'
-        25: 0,  # 'ך'
-        15: 0,  # 'כ'
-        4: 1,  # 'ל'
-        11: 0,  # 'ם'
-        6: 1,  # 'מ'
-        23: 1,  # 'ן'
-        12: 1,  # 'נ'
-        19: 1,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 0,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 0,  # 'ק'
-        7: 1,  # 'ר'
-        10: 1,  # 'ש'
-        5: 0,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    48: {  # '¼'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 1,  # 'א'
-        8: 0,  # 'ב'
-        20: 0,  # 'ג'
-        16: 0,  # 'ד'
-        3: 0,  # 'ה'
-        2: 1,  # 'ו'
-        24: 0,  # 'ז'
-        14: 0,  # 'ח'
-        22: 0,  # 'ט'
-        1: 0,  # 'י'
-        25: 0,  # 'ך'
-        15: 1,  # 'כ'
-        4: 1,  # 'ל'
-        11: 0,  # 'ם'
-        6: 1,  # 'מ'
-        23: 0,  # 'ן'
-        12: 0,  # 'נ'
-        19: 0,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 0,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 0,  # 'ק'
-        7: 0,  # 'ר'
-        10: 0,  # 'ש'
-        5: 0,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    39: {  # '½'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 0,  # 'א'
-        8: 0,  # 'ב'
-        20: 0,  # 'ג'
-        16: 0,  # 'ד'
-        3: 0,  # 'ה'
-        2: 0,  # 'ו'
-        24: 0,  # 'ז'
-        14: 0,  # 'ח'
-        22: 0,  # 'ט'
-        1: 0,  # 'י'
-        25: 0,  # 'ך'
-        15: 1,  # 'כ'
-        4: 1,  # 'ל'
-        11: 0,  # 'ם'
-        6: 0,  # 'מ'
-        23: 0,  # 'ן'
-        12: 0,  # 'נ'
-        19: 0,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 0,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 1,  # 'צ'
-        17: 1,  # 'ק'
-        7: 0,  # 'ר'
-        10: 0,  # 'ש'
-        5: 0,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    57: {  # '¾'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 0,  # 'א'
-        8: 0,  # 'ב'
-        20: 0,  # 'ג'
-        16: 0,  # 'ד'
-        3: 0,  # 'ה'
-        2: 0,  # 'ו'
-        24: 0,  # 'ז'
-        14: 0,  # 'ח'
-        22: 0,  # 'ט'
-        1: 0,  # 'י'
-        25: 0,  # 'ך'
-        15: 0,  # 'כ'
-        4: 0,  # 'ל'
-        11: 0,  # 'ם'
-        6: 0,  # 'מ'
-        23: 0,  # 'ן'
-        12: 0,  # 'נ'
-        19: 0,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 0,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 0,  # 'ק'
-        7: 0,  # 'ר'
-        10: 0,  # 'ש'
-        5: 0,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    30: {  # 'ְ'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 1,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 1,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 2,  # 'א'
-        8: 2,  # 'ב'
-        20: 2,  # 'ג'
-        16: 2,  # 'ד'
-        3: 2,  # 'ה'
-        2: 2,  # 'ו'
-        24: 2,  # 'ז'
-        14: 2,  # 'ח'
-        22: 2,  # 'ט'
-        1: 2,  # 'י'
-        25: 2,  # 'ך'
-        15: 2,  # 'כ'
-        4: 2,  # 'ל'
-        11: 1,  # 'ם'
-        6: 2,  # 'מ'
-        23: 0,  # 'ן'
-        12: 2,  # 'נ'
-        19: 2,  # 'ס'
-        13: 2,  # 'ע'
-        26: 0,  # 'ף'
-        18: 2,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 2,  # 'צ'
-        17: 2,  # 'ק'
-        7: 2,  # 'ר'
-        10: 2,  # 'ש'
-        5: 2,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    59: {  # 'ֱ'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 1,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 0,  # 'א'
-        8: 1,  # 'ב'
-        20: 1,  # 'ג'
-        16: 0,  # 'ד'
-        3: 0,  # 'ה'
-        2: 0,  # 'ו'
-        24: 1,  # 'ז'
-        14: 0,  # 'ח'
-        22: 0,  # 'ט'
-        1: 1,  # 'י'
-        25: 0,  # 'ך'
-        15: 1,  # 'כ'
-        4: 2,  # 'ל'
-        11: 0,  # 'ם'
-        6: 2,  # 'מ'
-        23: 0,  # 'ן'
-        12: 1,  # 'נ'
-        19: 0,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 0,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 0,  # 'ק'
-        7: 1,  # 'ר'
-        10: 1,  # 'ש'
-        5: 0,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    41: {  # 'ֲ'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 0,  # 'א'
-        8: 2,  # 'ב'
-        20: 1,  # 'ג'
-        16: 2,  # 'ד'
-        3: 1,  # 'ה'
-        2: 1,  # 'ו'
-        24: 1,  # 'ז'
-        14: 1,  # 'ח'
-        22: 1,  # 'ט'
-        1: 1,  # 'י'
-        25: 1,  # 'ך'
-        15: 1,  # 'כ'
-        4: 2,  # 'ל'
-        11: 0,  # 'ם'
-        6: 2,  # 'מ'
-        23: 0,  # 'ן'
-        12: 2,  # 'נ'
-        19: 1,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 1,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 2,  # 'צ'
-        17: 1,  # 'ק'
-        7: 2,  # 'ר'
-        10: 2,  # 'ש'
-        5: 1,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    33: {  # 'ִ'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 1,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 1,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 1,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 1,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 1,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 1,  # 'א'
-        8: 2,  # 'ב'
-        20: 2,  # 'ג'
-        16: 2,  # 'ד'
-        3: 1,  # 'ה'
-        2: 1,  # 'ו'
-        24: 2,  # 'ז'
-        14: 1,  # 'ח'
-        22: 1,  # 'ט'
-        1: 3,  # 'י'
-        25: 1,  # 'ך'
-        15: 2,  # 'כ'
-        4: 2,  # 'ל'
-        11: 2,  # 'ם'
-        6: 2,  # 'מ'
-        23: 2,  # 'ן'
-        12: 2,  # 'נ'
-        19: 2,  # 'ס'
-        13: 1,  # 'ע'
-        26: 0,  # 'ף'
-        18: 2,  # 'פ'
-        27: 1,  # 'ץ'
-        21: 2,  # 'צ'
-        17: 2,  # 'ק'
-        7: 2,  # 'ר'
-        10: 2,  # 'ש'
-        5: 2,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    37: {  # 'ֵ'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 1,  # 'ֶ'
-        31: 1,  # 'ַ'
-        29: 1,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 2,  # 'א'
-        8: 2,  # 'ב'
-        20: 1,  # 'ג'
-        16: 2,  # 'ד'
-        3: 2,  # 'ה'
-        2: 1,  # 'ו'
-        24: 1,  # 'ז'
-        14: 2,  # 'ח'
-        22: 1,  # 'ט'
-        1: 3,  # 'י'
-        25: 2,  # 'ך'
-        15: 1,  # 'כ'
-        4: 2,  # 'ל'
-        11: 2,  # 'ם'
-        6: 1,  # 'מ'
-        23: 2,  # 'ן'
-        12: 2,  # 'נ'
-        19: 1,  # 'ס'
-        13: 2,  # 'ע'
-        26: 1,  # 'ף'
-        18: 1,  # 'פ'
-        27: 1,  # 'ץ'
-        21: 1,  # 'צ'
-        17: 1,  # 'ק'
-        7: 2,  # 'ר'
-        10: 2,  # 'ש'
-        5: 2,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    36: {  # 'ֶ'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 1,  # 'ֶ'
-        31: 1,  # 'ַ'
-        29: 1,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 2,  # 'א'
-        8: 2,  # 'ב'
-        20: 1,  # 'ג'
-        16: 2,  # 'ד'
-        3: 2,  # 'ה'
-        2: 1,  # 'ו'
-        24: 1,  # 'ז'
-        14: 2,  # 'ח'
-        22: 1,  # 'ט'
-        1: 2,  # 'י'
-        25: 2,  # 'ך'
-        15: 1,  # 'כ'
-        4: 2,  # 'ל'
-        11: 2,  # 'ם'
-        6: 2,  # 'מ'
-        23: 2,  # 'ן'
-        12: 2,  # 'נ'
-        19: 2,  # 'ס'
-        13: 1,  # 'ע'
-        26: 1,  # 'ף'
-        18: 1,  # 'פ'
-        27: 2,  # 'ץ'
-        21: 1,  # 'צ'
-        17: 1,  # 'ק'
-        7: 2,  # 'ר'
-        10: 2,  # 'ש'
-        5: 2,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    31: {  # 'ַ'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 1,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 1,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 2,  # 'א'
-        8: 2,  # 'ב'
-        20: 2,  # 'ג'
-        16: 2,  # 'ד'
-        3: 2,  # 'ה'
-        2: 1,  # 'ו'
-        24: 2,  # 'ז'
-        14: 2,  # 'ח'
-        22: 2,  # 'ט'
-        1: 3,  # 'י'
-        25: 1,  # 'ך'
-        15: 2,  # 'כ'
-        4: 2,  # 'ל'
-        11: 2,  # 'ם'
-        6: 2,  # 'מ'
-        23: 2,  # 'ן'
-        12: 2,  # 'נ'
-        19: 2,  # 'ס'
-        13: 2,  # 'ע'
-        26: 2,  # 'ף'
-        18: 2,  # 'פ'
-        27: 1,  # 'ץ'
-        21: 2,  # 'צ'
-        17: 2,  # 'ק'
-        7: 2,  # 'ר'
-        10: 2,  # 'ש'
-        5: 2,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    29: {  # 'ָ'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 1,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 1,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 2,  # 'א'
-        8: 2,  # 'ב'
-        20: 2,  # 'ג'
-        16: 2,  # 'ד'
-        3: 3,  # 'ה'
-        2: 2,  # 'ו'
-        24: 2,  # 'ז'
-        14: 2,  # 'ח'
-        22: 1,  # 'ט'
-        1: 2,  # 'י'
-        25: 2,  # 'ך'
-        15: 2,  # 'כ'
-        4: 2,  # 'ל'
-        11: 2,  # 'ם'
-        6: 2,  # 'מ'
-        23: 2,  # 'ן'
-        12: 2,  # 'נ'
-        19: 1,  # 'ס'
-        13: 2,  # 'ע'
-        26: 1,  # 'ף'
-        18: 2,  # 'פ'
-        27: 1,  # 'ץ'
-        21: 2,  # 'צ'
-        17: 2,  # 'ק'
-        7: 2,  # 'ר'
-        10: 2,  # 'ש'
-        5: 2,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    35: {  # 'ֹ'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 1,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 2,  # 'א'
-        8: 2,  # 'ב'
-        20: 1,  # 'ג'
-        16: 2,  # 'ד'
-        3: 2,  # 'ה'
-        2: 1,  # 'ו'
-        24: 1,  # 'ז'
-        14: 1,  # 'ח'
-        22: 1,  # 'ט'
-        1: 1,  # 'י'
-        25: 1,  # 'ך'
-        15: 2,  # 'כ'
-        4: 2,  # 'ל'
-        11: 2,  # 'ם'
-        6: 2,  # 'מ'
-        23: 2,  # 'ן'
-        12: 2,  # 'נ'
-        19: 2,  # 'ס'
-        13: 2,  # 'ע'
-        26: 1,  # 'ף'
-        18: 2,  # 'פ'
-        27: 1,  # 'ץ'
-        21: 2,  # 'צ'
-        17: 2,  # 'ק'
-        7: 2,  # 'ר'
-        10: 2,  # 'ש'
-        5: 2,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    62: {  # 'ֻ'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 0,  # 'א'
-        8: 1,  # 'ב'
-        20: 1,  # 'ג'
-        16: 1,  # 'ד'
-        3: 1,  # 'ה'
-        2: 1,  # 'ו'
-        24: 1,  # 'ז'
-        14: 1,  # 'ח'
-        22: 0,  # 'ט'
-        1: 1,  # 'י'
-        25: 0,  # 'ך'
-        15: 1,  # 'כ'
-        4: 2,  # 'ל'
-        11: 1,  # 'ם'
-        6: 1,  # 'מ'
-        23: 1,  # 'ן'
-        12: 1,  # 'נ'
-        19: 1,  # 'ס'
-        13: 1,  # 'ע'
-        26: 0,  # 'ף'
-        18: 1,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 1,  # 'צ'
-        17: 1,  # 'ק'
-        7: 1,  # 'ר'
-        10: 1,  # 'ש'
-        5: 1,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    28: {  # 'ּ'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 3,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 1,  # 'ֲ'
-        33: 3,  # 'ִ'
-        37: 2,  # 'ֵ'
-        36: 2,  # 'ֶ'
-        31: 3,  # 'ַ'
-        29: 3,  # 'ָ'
-        35: 2,  # 'ֹ'
-        62: 1,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 2,  # 'ׁ'
-        45: 1,  # 'ׂ'
-        9: 2,  # 'א'
-        8: 2,  # 'ב'
-        20: 1,  # 'ג'
-        16: 2,  # 'ד'
-        3: 1,  # 'ה'
-        2: 2,  # 'ו'
-        24: 1,  # 'ז'
-        14: 1,  # 'ח'
-        22: 1,  # 'ט'
-        1: 2,  # 'י'
-        25: 2,  # 'ך'
-        15: 2,  # 'כ'
-        4: 2,  # 'ל'
-        11: 1,  # 'ם'
-        6: 2,  # 'מ'
-        23: 1,  # 'ן'
-        12: 2,  # 'נ'
-        19: 1,  # 'ס'
-        13: 2,  # 'ע'
-        26: 1,  # 'ף'
-        18: 1,  # 'פ'
-        27: 1,  # 'ץ'
-        21: 1,  # 'צ'
-        17: 1,  # 'ק'
-        7: 2,  # 'ר'
-        10: 2,  # 'ש'
-        5: 2,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    38: {  # 'ׁ'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 2,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 2,  # 'ִ'
-        37: 2,  # 'ֵ'
-        36: 2,  # 'ֶ'
-        31: 2,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 1,  # 'ֹ'
-        62: 1,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 0,  # 'א'
-        8: 0,  # 'ב'
-        20: 0,  # 'ג'
-        16: 0,  # 'ד'
-        3: 0,  # 'ה'
-        2: 2,  # 'ו'
-        24: 0,  # 'ז'
-        14: 0,  # 'ח'
-        22: 0,  # 'ט'
-        1: 1,  # 'י'
-        25: 0,  # 'ך'
-        15: 0,  # 'כ'
-        4: 0,  # 'ל'
-        11: 0,  # 'ם'
-        6: 0,  # 'מ'
-        23: 0,  # 'ן'
-        12: 0,  # 'נ'
-        19: 0,  # 'ס'
-        13: 1,  # 'ע'
-        26: 0,  # 'ף'
-        18: 0,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 0,  # 'ק'
-        7: 0,  # 'ר'
-        10: 0,  # 'ש'
-        5: 0,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    45: {  # 'ׂ'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 2,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 2,  # 'ִ'
-        37: 1,  # 'ֵ'
-        36: 2,  # 'ֶ'
-        31: 1,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 1,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 1,  # 'א'
-        8: 0,  # 'ב'
-        20: 1,  # 'ג'
-        16: 0,  # 'ד'
-        3: 1,  # 'ה'
-        2: 2,  # 'ו'
-        24: 0,  # 'ז'
-        14: 1,  # 'ח'
-        22: 0,  # 'ט'
-        1: 1,  # 'י'
-        25: 0,  # 'ך'
-        15: 0,  # 'כ'
-        4: 0,  # 'ל'
-        11: 1,  # 'ם'
-        6: 1,  # 'מ'
-        23: 0,  # 'ן'
-        12: 1,  # 'נ'
-        19: 0,  # 'ס'
-        13: 1,  # 'ע'
-        26: 0,  # 'ף'
-        18: 1,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 0,  # 'ק'
-        7: 1,  # 'ר'
-        10: 0,  # 'ש'
-        5: 1,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    9: {  # 'א'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 1,  # '\xa0'
-        55: 1,  # '´'
-        48: 1,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 2,  # 'ֱ'
-        41: 2,  # 'ֲ'
-        33: 2,  # 'ִ'
-        37: 2,  # 'ֵ'
-        36: 2,  # 'ֶ'
-        31: 2,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 2,  # 'ֹ'
-        62: 1,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 2,  # 'א'
-        8: 3,  # 'ב'
-        20: 3,  # 'ג'
-        16: 3,  # 'ד'
-        3: 3,  # 'ה'
-        2: 3,  # 'ו'
-        24: 3,  # 'ז'
-        14: 3,  # 'ח'
-        22: 3,  # 'ט'
-        1: 3,  # 'י'
-        25: 3,  # 'ך'
-        15: 3,  # 'כ'
-        4: 3,  # 'ל'
-        11: 3,  # 'ם'
-        6: 3,  # 'מ'
-        23: 3,  # 'ן'
-        12: 3,  # 'נ'
-        19: 3,  # 'ס'
-        13: 2,  # 'ע'
-        26: 3,  # 'ף'
-        18: 3,  # 'פ'
-        27: 1,  # 'ץ'
-        21: 3,  # 'צ'
-        17: 3,  # 'ק'
-        7: 3,  # 'ר'
-        10: 3,  # 'ש'
-        5: 3,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    8: {  # 'ב'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 1,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 1,  # '\xa0'
-        55: 1,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 2,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 2,  # 'ִ'
-        37: 2,  # 'ֵ'
-        36: 2,  # 'ֶ'
-        31: 2,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 2,  # 'ֹ'
-        62: 1,  # 'ֻ'
-        28: 3,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 3,  # 'א'
-        8: 3,  # 'ב'
-        20: 3,  # 'ג'
-        16: 3,  # 'ד'
-        3: 3,  # 'ה'
-        2: 3,  # 'ו'
-        24: 3,  # 'ז'
-        14: 3,  # 'ח'
-        22: 3,  # 'ט'
-        1: 3,  # 'י'
-        25: 2,  # 'ך'
-        15: 3,  # 'כ'
-        4: 3,  # 'ל'
-        11: 2,  # 'ם'
-        6: 3,  # 'מ'
-        23: 3,  # 'ן'
-        12: 3,  # 'נ'
-        19: 3,  # 'ס'
-        13: 3,  # 'ע'
-        26: 1,  # 'ף'
-        18: 3,  # 'פ'
-        27: 2,  # 'ץ'
-        21: 3,  # 'צ'
-        17: 3,  # 'ק'
-        7: 3,  # 'ר'
-        10: 3,  # 'ש'
-        5: 3,  # 'ת'
-        32: 1,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    20: {  # 'ג'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 1,  # '\xa0'
-        55: 2,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 2,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 1,  # 'ִ'
-        37: 1,  # 'ֵ'
-        36: 1,  # 'ֶ'
-        31: 2,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 1,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 2,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 2,  # 'א'
-        8: 3,  # 'ב'
-        20: 2,  # 'ג'
-        16: 3,  # 'ד'
-        3: 3,  # 'ה'
-        2: 3,  # 'ו'
-        24: 3,  # 'ז'
-        14: 2,  # 'ח'
-        22: 2,  # 'ט'
-        1: 3,  # 'י'
-        25: 1,  # 'ך'
-        15: 1,  # 'כ'
-        4: 3,  # 'ל'
-        11: 3,  # 'ם'
-        6: 3,  # 'מ'
-        23: 3,  # 'ן'
-        12: 3,  # 'נ'
-        19: 2,  # 'ס'
-        13: 3,  # 'ע'
-        26: 2,  # 'ף'
-        18: 2,  # 'פ'
-        27: 1,  # 'ץ'
-        21: 1,  # 'צ'
-        17: 1,  # 'ק'
-        7: 3,  # 'ר'
-        10: 3,  # 'ש'
-        5: 3,  # 'ת'
-        32: 0,  # '–'
-        52: 1,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    16: {  # 'ד'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 2,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 2,  # 'ִ'
-        37: 2,  # 'ֵ'
-        36: 2,  # 'ֶ'
-        31: 2,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 2,  # 'ֹ'
-        62: 1,  # 'ֻ'
-        28: 2,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 3,  # 'א'
-        8: 3,  # 'ב'
-        20: 3,  # 'ג'
-        16: 3,  # 'ד'
-        3: 3,  # 'ה'
-        2: 3,  # 'ו'
-        24: 1,  # 'ז'
-        14: 2,  # 'ח'
-        22: 2,  # 'ט'
-        1: 3,  # 'י'
-        25: 2,  # 'ך'
-        15: 2,  # 'כ'
-        4: 3,  # 'ל'
-        11: 3,  # 'ם'
-        6: 3,  # 'מ'
-        23: 2,  # 'ן'
-        12: 3,  # 'נ'
-        19: 2,  # 'ס'
-        13: 3,  # 'ע'
-        26: 2,  # 'ף'
-        18: 3,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 2,  # 'צ'
-        17: 3,  # 'ק'
-        7: 3,  # 'ר'
-        10: 3,  # 'ש'
-        5: 3,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    3: {  # 'ה'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 1,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 1,  # '\xa0'
-        55: 0,  # '´'
-        48: 1,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 1,  # 'ְ'
-        59: 1,  # 'ֱ'
-        41: 2,  # 'ֲ'
-        33: 2,  # 'ִ'
-        37: 2,  # 'ֵ'
-        36: 2,  # 'ֶ'
-        31: 3,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 1,  # 'ֹ'
-        62: 1,  # 'ֻ'
-        28: 2,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 3,  # 'א'
-        8: 3,  # 'ב'
-        20: 3,  # 'ג'
-        16: 3,  # 'ד'
-        3: 3,  # 'ה'
-        2: 3,  # 'ו'
-        24: 3,  # 'ז'
-        14: 3,  # 'ח'
-        22: 3,  # 'ט'
-        1: 3,  # 'י'
-        25: 1,  # 'ך'
-        15: 3,  # 'כ'
-        4: 3,  # 'ל'
-        11: 3,  # 'ם'
-        6: 3,  # 'מ'
-        23: 3,  # 'ן'
-        12: 3,  # 'נ'
-        19: 3,  # 'ס'
-        13: 3,  # 'ע'
-        26: 0,  # 'ף'
-        18: 3,  # 'פ'
-        27: 1,  # 'ץ'
-        21: 3,  # 'צ'
-        17: 3,  # 'ק'
-        7: 3,  # 'ר'
-        10: 3,  # 'ש'
-        5: 3,  # 'ת'
-        32: 1,  # '–'
-        52: 1,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 2,  # '…'
-    },
-    2: {  # 'ו'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 1,  # 't'
-        63: 0,  # 'u'
-        34: 1,  # '\xa0'
-        55: 1,  # '´'
-        48: 1,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 2,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 2,  # 'ִ'
-        37: 1,  # 'ֵ'
-        36: 1,  # 'ֶ'
-        31: 2,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 3,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 3,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 3,  # 'א'
-        8: 3,  # 'ב'
-        20: 3,  # 'ג'
-        16: 3,  # 'ד'
-        3: 3,  # 'ה'
-        2: 3,  # 'ו'
-        24: 3,  # 'ז'
-        14: 3,  # 'ח'
-        22: 3,  # 'ט'
-        1: 3,  # 'י'
-        25: 3,  # 'ך'
-        15: 3,  # 'כ'
-        4: 3,  # 'ל'
-        11: 3,  # 'ם'
-        6: 3,  # 'מ'
-        23: 3,  # 'ן'
-        12: 3,  # 'נ'
-        19: 3,  # 'ס'
-        13: 3,  # 'ע'
-        26: 3,  # 'ף'
-        18: 3,  # 'פ'
-        27: 3,  # 'ץ'
-        21: 3,  # 'צ'
-        17: 3,  # 'ק'
-        7: 3,  # 'ר'
-        10: 3,  # 'ש'
-        5: 3,  # 'ת'
-        32: 1,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 2,  # '…'
-    },
-    24: {  # 'ז'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 1,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 2,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 1,  # 'ֲ'
-        33: 1,  # 'ִ'
-        37: 2,  # 'ֵ'
-        36: 2,  # 'ֶ'
-        31: 2,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 1,  # 'ֹ'
-        62: 1,  # 'ֻ'
-        28: 2,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 3,  # 'א'
-        8: 2,  # 'ב'
-        20: 2,  # 'ג'
-        16: 2,  # 'ד'
-        3: 3,  # 'ה'
-        2: 3,  # 'ו'
-        24: 2,  # 'ז'
-        14: 2,  # 'ח'
-        22: 1,  # 'ט'
-        1: 3,  # 'י'
-        25: 1,  # 'ך'
-        15: 3,  # 'כ'
-        4: 3,  # 'ל'
-        11: 2,  # 'ם'
-        6: 3,  # 'מ'
-        23: 2,  # 'ן'
-        12: 2,  # 'נ'
-        19: 1,  # 'ס'
-        13: 2,  # 'ע'
-        26: 1,  # 'ף'
-        18: 1,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 2,  # 'צ'
-        17: 3,  # 'ק'
-        7: 3,  # 'ר'
-        10: 1,  # 'ש'
-        5: 2,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    14: {  # 'ח'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 1,  # '\xa0'
-        55: 1,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 2,  # 'ְ'
-        59: 1,  # 'ֱ'
-        41: 2,  # 'ֲ'
-        33: 2,  # 'ִ'
-        37: 2,  # 'ֵ'
-        36: 2,  # 'ֶ'
-        31: 2,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 2,  # 'ֹ'
-        62: 1,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 2,  # 'א'
-        8: 3,  # 'ב'
-        20: 2,  # 'ג'
-        16: 3,  # 'ד'
-        3: 3,  # 'ה'
-        2: 3,  # 'ו'
-        24: 3,  # 'ז'
-        14: 2,  # 'ח'
-        22: 2,  # 'ט'
-        1: 3,  # 'י'
-        25: 1,  # 'ך'
-        15: 2,  # 'כ'
-        4: 3,  # 'ל'
-        11: 3,  # 'ם'
-        6: 3,  # 'מ'
-        23: 2,  # 'ן'
-        12: 3,  # 'נ'
-        19: 3,  # 'ס'
-        13: 1,  # 'ע'
-        26: 2,  # 'ף'
-        18: 2,  # 'פ'
-        27: 2,  # 'ץ'
-        21: 3,  # 'צ'
-        17: 3,  # 'ק'
-        7: 3,  # 'ר'
-        10: 3,  # 'ש'
-        5: 3,  # 'ת'
-        32: 0,  # '–'
-        52: 1,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    22: {  # 'ט'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 1,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 2,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 2,  # 'ִ'
-        37: 1,  # 'ֵ'
-        36: 1,  # 'ֶ'
-        31: 2,  # 'ַ'
-        29: 1,  # 'ָ'
-        35: 1,  # 'ֹ'
-        62: 1,  # 'ֻ'
-        28: 1,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 3,  # 'א'
-        8: 3,  # 'ב'
-        20: 3,  # 'ג'
-        16: 1,  # 'ד'
-        3: 3,  # 'ה'
-        2: 3,  # 'ו'
-        24: 2,  # 'ז'
-        14: 3,  # 'ח'
-        22: 2,  # 'ט'
-        1: 3,  # 'י'
-        25: 1,  # 'ך'
-        15: 2,  # 'כ'
-        4: 3,  # 'ל'
-        11: 2,  # 'ם'
-        6: 2,  # 'מ'
-        23: 2,  # 'ן'
-        12: 3,  # 'נ'
-        19: 2,  # 'ס'
-        13: 3,  # 'ע'
-        26: 2,  # 'ף'
-        18: 3,  # 'פ'
-        27: 1,  # 'ץ'
-        21: 2,  # 'צ'
-        17: 2,  # 'ק'
-        7: 3,  # 'ר'
-        10: 2,  # 'ש'
-        5: 3,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    1: {  # 'י'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 1,  # '\xa0'
-        55: 1,  # '´'
-        48: 1,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 2,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 2,  # 'ִ'
-        37: 2,  # 'ֵ'
-        36: 1,  # 'ֶ'
-        31: 2,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 2,  # 'ֹ'
-        62: 1,  # 'ֻ'
-        28: 2,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 3,  # 'א'
-        8: 3,  # 'ב'
-        20: 3,  # 'ג'
-        16: 3,  # 'ד'
-        3: 3,  # 'ה'
-        2: 3,  # 'ו'
-        24: 3,  # 'ז'
-        14: 3,  # 'ח'
-        22: 3,  # 'ט'
-        1: 3,  # 'י'
-        25: 3,  # 'ך'
-        15: 3,  # 'כ'
-        4: 3,  # 'ל'
-        11: 3,  # 'ם'
-        6: 3,  # 'מ'
-        23: 3,  # 'ן'
-        12: 3,  # 'נ'
-        19: 3,  # 'ס'
-        13: 3,  # 'ע'
-        26: 3,  # 'ף'
-        18: 3,  # 'פ'
-        27: 3,  # 'ץ'
-        21: 3,  # 'צ'
-        17: 3,  # 'ק'
-        7: 3,  # 'ר'
-        10: 3,  # 'ש'
-        5: 3,  # 'ת'
-        32: 1,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 2,  # '…'
-    },
-    25: {  # 'ך'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 2,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 1,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 1,  # 'א'
-        8: 0,  # 'ב'
-        20: 0,  # 'ג'
-        16: 0,  # 'ד'
-        3: 1,  # 'ה'
-        2: 0,  # 'ו'
-        24: 0,  # 'ז'
-        14: 1,  # 'ח'
-        22: 0,  # 'ט'
-        1: 0,  # 'י'
-        25: 0,  # 'ך'
-        15: 0,  # 'כ'
-        4: 1,  # 'ל'
-        11: 0,  # 'ם'
-        6: 1,  # 'מ'
-        23: 0,  # 'ן'
-        12: 0,  # 'נ'
-        19: 0,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 0,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 0,  # 'ק'
-        7: 0,  # 'ר'
-        10: 1,  # 'ש'
-        5: 0,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    15: {  # 'כ'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 2,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 2,  # 'ִ'
-        37: 2,  # 'ֵ'
-        36: 2,  # 'ֶ'
-        31: 2,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 1,  # 'ֹ'
-        62: 1,  # 'ֻ'
-        28: 3,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 3,  # 'א'
-        8: 3,  # 'ב'
-        20: 2,  # 'ג'
-        16: 3,  # 'ד'
-        3: 3,  # 'ה'
-        2: 3,  # 'ו'
-        24: 3,  # 'ז'
-        14: 3,  # 'ח'
-        22: 2,  # 'ט'
-        1: 3,  # 'י'
-        25: 3,  # 'ך'
-        15: 3,  # 'כ'
-        4: 3,  # 'ל'
-        11: 3,  # 'ם'
-        6: 3,  # 'מ'
-        23: 3,  # 'ן'
-        12: 3,  # 'נ'
-        19: 3,  # 'ס'
-        13: 2,  # 'ע'
-        26: 3,  # 'ף'
-        18: 3,  # 'פ'
-        27: 1,  # 'ץ'
-        21: 2,  # 'צ'
-        17: 2,  # 'ק'
-        7: 3,  # 'ר'
-        10: 3,  # 'ש'
-        5: 3,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    4: {  # 'ל'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 1,  # '\xa0'
-        55: 1,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 3,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 2,  # 'ִ'
-        37: 2,  # 'ֵ'
-        36: 2,  # 'ֶ'
-        31: 2,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 2,  # 'ֹ'
-        62: 1,  # 'ֻ'
-        28: 2,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 3,  # 'א'
-        8: 3,  # 'ב'
-        20: 3,  # 'ג'
-        16: 3,  # 'ד'
-        3: 3,  # 'ה'
-        2: 3,  # 'ו'
-        24: 3,  # 'ז'
-        14: 3,  # 'ח'
-        22: 3,  # 'ט'
-        1: 3,  # 'י'
-        25: 3,  # 'ך'
-        15: 3,  # 'כ'
-        4: 3,  # 'ל'
-        11: 3,  # 'ם'
-        6: 3,  # 'מ'
-        23: 2,  # 'ן'
-        12: 3,  # 'נ'
-        19: 3,  # 'ס'
-        13: 3,  # 'ע'
-        26: 2,  # 'ף'
-        18: 3,  # 'פ'
-        27: 2,  # 'ץ'
-        21: 3,  # 'צ'
-        17: 3,  # 'ק'
-        7: 3,  # 'ר'
-        10: 3,  # 'ש'
-        5: 3,  # 'ת'
-        32: 1,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    11: {  # 'ם'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 1,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 1,  # 'א'
-        8: 1,  # 'ב'
-        20: 1,  # 'ג'
-        16: 0,  # 'ד'
-        3: 1,  # 'ה'
-        2: 1,  # 'ו'
-        24: 1,  # 'ז'
-        14: 1,  # 'ח'
-        22: 0,  # 'ט'
-        1: 1,  # 'י'
-        25: 0,  # 'ך'
-        15: 1,  # 'כ'
-        4: 1,  # 'ל'
-        11: 1,  # 'ם'
-        6: 1,  # 'מ'
-        23: 0,  # 'ן'
-        12: 1,  # 'נ'
-        19: 0,  # 'ס'
-        13: 1,  # 'ע'
-        26: 0,  # 'ף'
-        18: 1,  # 'פ'
-        27: 1,  # 'ץ'
-        21: 1,  # 'צ'
-        17: 1,  # 'ק'
-        7: 1,  # 'ר'
-        10: 1,  # 'ש'
-        5: 1,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 2,  # '…'
-    },
-    6: {  # 'מ'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 1,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 2,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 2,  # 'ִ'
-        37: 2,  # 'ֵ'
-        36: 2,  # 'ֶ'
-        31: 2,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 2,  # 'ֹ'
-        62: 1,  # 'ֻ'
-        28: 2,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 3,  # 'א'
-        8: 3,  # 'ב'
-        20: 3,  # 'ג'
-        16: 3,  # 'ד'
-        3: 3,  # 'ה'
-        2: 3,  # 'ו'
-        24: 3,  # 'ז'
-        14: 3,  # 'ח'
-        22: 3,  # 'ט'
-        1: 3,  # 'י'
-        25: 2,  # 'ך'
-        15: 3,  # 'כ'
-        4: 3,  # 'ל'
-        11: 3,  # 'ם'
-        6: 3,  # 'מ'
-        23: 3,  # 'ן'
-        12: 3,  # 'נ'
-        19: 3,  # 'ס'
-        13: 3,  # 'ע'
-        26: 0,  # 'ף'
-        18: 3,  # 'פ'
-        27: 2,  # 'ץ'
-        21: 3,  # 'צ'
-        17: 3,  # 'ק'
-        7: 3,  # 'ר'
-        10: 3,  # 'ש'
-        5: 3,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    23: {  # 'ן'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 1,  # '\xa0'
-        55: 0,  # '´'
-        48: 1,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 1,  # 'א'
-        8: 1,  # 'ב'
-        20: 1,  # 'ג'
-        16: 1,  # 'ד'
-        3: 1,  # 'ה'
-        2: 1,  # 'ו'
-        24: 0,  # 'ז'
-        14: 1,  # 'ח'
-        22: 1,  # 'ט'
-        1: 1,  # 'י'
-        25: 0,  # 'ך'
-        15: 1,  # 'כ'
-        4: 1,  # 'ל'
-        11: 1,  # 'ם'
-        6: 1,  # 'מ'
-        23: 0,  # 'ן'
-        12: 1,  # 'נ'
-        19: 1,  # 'ס'
-        13: 1,  # 'ע'
-        26: 1,  # 'ף'
-        18: 1,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 1,  # 'ק'
-        7: 1,  # 'ר'
-        10: 1,  # 'ש'
-        5: 1,  # 'ת'
-        32: 1,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 2,  # '…'
-    },
-    12: {  # 'נ'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 2,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 2,  # 'ִ'
-        37: 2,  # 'ֵ'
-        36: 2,  # 'ֶ'
-        31: 2,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 1,  # 'ֹ'
-        62: 1,  # 'ֻ'
-        28: 2,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 3,  # 'א'
-        8: 3,  # 'ב'
-        20: 3,  # 'ג'
-        16: 3,  # 'ד'
-        3: 3,  # 'ה'
-        2: 3,  # 'ו'
-        24: 3,  # 'ז'
-        14: 3,  # 'ח'
-        22: 3,  # 'ט'
-        1: 3,  # 'י'
-        25: 2,  # 'ך'
-        15: 3,  # 'כ'
-        4: 3,  # 'ל'
-        11: 3,  # 'ם'
-        6: 3,  # 'מ'
-        23: 3,  # 'ן'
-        12: 3,  # 'נ'
-        19: 3,  # 'ס'
-        13: 3,  # 'ע'
-        26: 2,  # 'ף'
-        18: 3,  # 'פ'
-        27: 2,  # 'ץ'
-        21: 3,  # 'צ'
-        17: 3,  # 'ק'
-        7: 3,  # 'ר'
-        10: 3,  # 'ש'
-        5: 3,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    19: {  # 'ס'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 1,  # '\xa0'
-        55: 1,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 2,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 2,  # 'ִ'
-        37: 1,  # 'ֵ'
-        36: 2,  # 'ֶ'
-        31: 2,  # 'ַ'
-        29: 1,  # 'ָ'
-        35: 1,  # 'ֹ'
-        62: 2,  # 'ֻ'
-        28: 2,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 2,  # 'א'
-        8: 3,  # 'ב'
-        20: 3,  # 'ג'
-        16: 3,  # 'ד'
-        3: 3,  # 'ה'
-        2: 3,  # 'ו'
-        24: 1,  # 'ז'
-        14: 3,  # 'ח'
-        22: 3,  # 'ט'
-        1: 3,  # 'י'
-        25: 2,  # 'ך'
-        15: 3,  # 'כ'
-        4: 3,  # 'ל'
-        11: 2,  # 'ם'
-        6: 3,  # 'מ'
-        23: 2,  # 'ן'
-        12: 3,  # 'נ'
-        19: 2,  # 'ס'
-        13: 3,  # 'ע'
-        26: 3,  # 'ף'
-        18: 3,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 2,  # 'צ'
-        17: 3,  # 'ק'
-        7: 3,  # 'ר'
-        10: 1,  # 'ש'
-        5: 3,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    13: {  # 'ע'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 1,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 1,  # 'ְ'
-        59: 1,  # 'ֱ'
-        41: 2,  # 'ֲ'
-        33: 2,  # 'ִ'
-        37: 2,  # 'ֵ'
-        36: 2,  # 'ֶ'
-        31: 2,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 2,  # 'ֹ'
-        62: 1,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 2,  # 'א'
-        8: 3,  # 'ב'
-        20: 3,  # 'ג'
-        16: 3,  # 'ד'
-        3: 3,  # 'ה'
-        2: 3,  # 'ו'
-        24: 3,  # 'ז'
-        14: 1,  # 'ח'
-        22: 3,  # 'ט'
-        1: 3,  # 'י'
-        25: 2,  # 'ך'
-        15: 2,  # 'כ'
-        4: 3,  # 'ל'
-        11: 3,  # 'ם'
-        6: 3,  # 'מ'
-        23: 2,  # 'ן'
-        12: 3,  # 'נ'
-        19: 3,  # 'ס'
-        13: 2,  # 'ע'
-        26: 1,  # 'ף'
-        18: 2,  # 'פ'
-        27: 2,  # 'ץ'
-        21: 3,  # 'צ'
-        17: 3,  # 'ק'
-        7: 3,  # 'ר'
-        10: 3,  # 'ש'
-        5: 3,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    26: {  # 'ף'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 1,  # 'א'
-        8: 0,  # 'ב'
-        20: 0,  # 'ג'
-        16: 0,  # 'ד'
-        3: 0,  # 'ה'
-        2: 1,  # 'ו'
-        24: 0,  # 'ז'
-        14: 1,  # 'ח'
-        22: 0,  # 'ט'
-        1: 0,  # 'י'
-        25: 0,  # 'ך'
-        15: 1,  # 'כ'
-        4: 1,  # 'ל'
-        11: 0,  # 'ם'
-        6: 1,  # 'מ'
-        23: 0,  # 'ן'
-        12: 0,  # 'נ'
-        19: 1,  # 'ס'
-        13: 0,  # 'ע'
-        26: 1,  # 'ף'
-        18: 1,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 1,  # 'ק'
-        7: 1,  # 'ר'
-        10: 1,  # 'ש'
-        5: 0,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    18: {  # 'פ'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 1,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 2,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 2,  # 'ִ'
-        37: 1,  # 'ֵ'
-        36: 2,  # 'ֶ'
-        31: 1,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 1,  # 'ֹ'
-        62: 1,  # 'ֻ'
-        28: 2,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 3,  # 'א'
-        8: 2,  # 'ב'
-        20: 3,  # 'ג'
-        16: 2,  # 'ד'
-        3: 3,  # 'ה'
-        2: 3,  # 'ו'
-        24: 2,  # 'ז'
-        14: 3,  # 'ח'
-        22: 3,  # 'ט'
-        1: 3,  # 'י'
-        25: 2,  # 'ך'
-        15: 3,  # 'כ'
-        4: 3,  # 'ל'
-        11: 2,  # 'ם'
-        6: 2,  # 'מ'
-        23: 3,  # 'ן'
-        12: 3,  # 'נ'
-        19: 3,  # 'ס'
-        13: 3,  # 'ע'
-        26: 2,  # 'ף'
-        18: 2,  # 'פ'
-        27: 2,  # 'ץ'
-        21: 3,  # 'צ'
-        17: 3,  # 'ק'
-        7: 3,  # 'ר'
-        10: 3,  # 'ש'
-        5: 3,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    27: {  # 'ץ'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 1,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 1,  # 'א'
-        8: 0,  # 'ב'
-        20: 0,  # 'ג'
-        16: 0,  # 'ד'
-        3: 0,  # 'ה'
-        2: 0,  # 'ו'
-        24: 0,  # 'ז'
-        14: 0,  # 'ח'
-        22: 0,  # 'ט'
-        1: 0,  # 'י'
-        25: 0,  # 'ך'
-        15: 0,  # 'כ'
-        4: 1,  # 'ל'
-        11: 0,  # 'ם'
-        6: 0,  # 'מ'
-        23: 0,  # 'ן'
-        12: 0,  # 'נ'
-        19: 1,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 0,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 0,  # 'ק'
-        7: 1,  # 'ר'
-        10: 0,  # 'ש'
-        5: 1,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    21: {  # 'צ'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 1,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 2,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 2,  # 'ִ'
-        37: 2,  # 'ֵ'
-        36: 1,  # 'ֶ'
-        31: 2,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 1,  # 'ֹ'
-        62: 1,  # 'ֻ'
-        28: 2,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 3,  # 'א'
-        8: 3,  # 'ב'
-        20: 2,  # 'ג'
-        16: 3,  # 'ד'
-        3: 3,  # 'ה'
-        2: 3,  # 'ו'
-        24: 1,  # 'ז'
-        14: 3,  # 'ח'
-        22: 2,  # 'ט'
-        1: 3,  # 'י'
-        25: 1,  # 'ך'
-        15: 1,  # 'כ'
-        4: 3,  # 'ל'
-        11: 2,  # 'ם'
-        6: 3,  # 'מ'
-        23: 2,  # 'ן'
-        12: 3,  # 'נ'
-        19: 1,  # 'ס'
-        13: 3,  # 'ע'
-        26: 2,  # 'ף'
-        18: 3,  # 'פ'
-        27: 2,  # 'ץ'
-        21: 2,  # 'צ'
-        17: 3,  # 'ק'
-        7: 3,  # 'ר'
-        10: 0,  # 'ש'
-        5: 3,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    17: {  # 'ק'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 1,  # '\xa0'
-        55: 1,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 2,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 2,  # 'ִ'
-        37: 2,  # 'ֵ'
-        36: 1,  # 'ֶ'
-        31: 2,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 2,  # 'ֹ'
-        62: 1,  # 'ֻ'
-        28: 2,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 3,  # 'א'
-        8: 3,  # 'ב'
-        20: 2,  # 'ג'
-        16: 3,  # 'ד'
-        3: 3,  # 'ה'
-        2: 3,  # 'ו'
-        24: 2,  # 'ז'
-        14: 3,  # 'ח'
-        22: 3,  # 'ט'
-        1: 3,  # 'י'
-        25: 1,  # 'ך'
-        15: 1,  # 'כ'
-        4: 3,  # 'ל'
-        11: 2,  # 'ם'
-        6: 3,  # 'מ'
-        23: 2,  # 'ן'
-        12: 3,  # 'נ'
-        19: 3,  # 'ס'
-        13: 3,  # 'ע'
-        26: 2,  # 'ף'
-        18: 3,  # 'פ'
-        27: 2,  # 'ץ'
-        21: 3,  # 'צ'
-        17: 2,  # 'ק'
-        7: 3,  # 'ר'
-        10: 3,  # 'ש'
-        5: 3,  # 'ת'
-        32: 0,  # '–'
-        52: 1,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    7: {  # 'ר'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 1,  # '\xa0'
-        55: 2,  # '´'
-        48: 1,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 2,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 1,  # 'ֲ'
-        33: 2,  # 'ִ'
-        37: 2,  # 'ֵ'
-        36: 2,  # 'ֶ'
-        31: 2,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 2,  # 'ֹ'
-        62: 1,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 3,  # 'א'
-        8: 3,  # 'ב'
-        20: 3,  # 'ג'
-        16: 3,  # 'ד'
-        3: 3,  # 'ה'
-        2: 3,  # 'ו'
-        24: 3,  # 'ז'
-        14: 3,  # 'ח'
-        22: 3,  # 'ט'
-        1: 3,  # 'י'
-        25: 3,  # 'ך'
-        15: 3,  # 'כ'
-        4: 3,  # 'ל'
-        11: 3,  # 'ם'
-        6: 3,  # 'מ'
-        23: 3,  # 'ן'
-        12: 3,  # 'נ'
-        19: 3,  # 'ס'
-        13: 3,  # 'ע'
-        26: 2,  # 'ף'
-        18: 3,  # 'פ'
-        27: 3,  # 'ץ'
-        21: 3,  # 'צ'
-        17: 3,  # 'ק'
-        7: 3,  # 'ר'
-        10: 3,  # 'ש'
-        5: 3,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 2,  # '…'
-    },
-    10: {  # 'ש'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 1,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 1,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 1,  # 'ִ'
-        37: 1,  # 'ֵ'
-        36: 1,  # 'ֶ'
-        31: 1,  # 'ַ'
-        29: 1,  # 'ָ'
-        35: 1,  # 'ֹ'
-        62: 1,  # 'ֻ'
-        28: 2,  # 'ּ'
-        38: 3,  # 'ׁ'
-        45: 2,  # 'ׂ'
-        9: 3,  # 'א'
-        8: 3,  # 'ב'
-        20: 3,  # 'ג'
-        16: 3,  # 'ד'
-        3: 3,  # 'ה'
-        2: 3,  # 'ו'
-        24: 2,  # 'ז'
-        14: 3,  # 'ח'
-        22: 3,  # 'ט'
-        1: 3,  # 'י'
-        25: 3,  # 'ך'
-        15: 3,  # 'כ'
-        4: 3,  # 'ל'
-        11: 3,  # 'ם'
-        6: 3,  # 'מ'
-        23: 2,  # 'ן'
-        12: 3,  # 'נ'
-        19: 2,  # 'ס'
-        13: 3,  # 'ע'
-        26: 2,  # 'ף'
-        18: 3,  # 'פ'
-        27: 1,  # 'ץ'
-        21: 2,  # 'צ'
-        17: 3,  # 'ק'
-        7: 3,  # 'ר'
-        10: 3,  # 'ש'
-        5: 3,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 1,  # '…'
-    },
-    5: {  # 'ת'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 1,  # '\xa0'
-        55: 0,  # '´'
-        48: 1,  # '¼'
-        39: 1,  # '½'
-        57: 0,  # '¾'
-        30: 2,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 2,  # 'ִ'
-        37: 2,  # 'ֵ'
-        36: 2,  # 'ֶ'
-        31: 2,  # 'ַ'
-        29: 2,  # 'ָ'
-        35: 1,  # 'ֹ'
-        62: 1,  # 'ֻ'
-        28: 2,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 3,  # 'א'
-        8: 3,  # 'ב'
-        20: 3,  # 'ג'
-        16: 2,  # 'ד'
-        3: 3,  # 'ה'
-        2: 3,  # 'ו'
-        24: 2,  # 'ז'
-        14: 3,  # 'ח'
-        22: 2,  # 'ט'
-        1: 3,  # 'י'
-        25: 2,  # 'ך'
-        15: 3,  # 'כ'
-        4: 3,  # 'ל'
-        11: 3,  # 'ם'
-        6: 3,  # 'מ'
-        23: 3,  # 'ן'
-        12: 3,  # 'נ'
-        19: 2,  # 'ס'
-        13: 3,  # 'ע'
-        26: 2,  # 'ף'
-        18: 3,  # 'פ'
-        27: 1,  # 'ץ'
-        21: 2,  # 'צ'
-        17: 3,  # 'ק'
-        7: 3,  # 'ר'
-        10: 3,  # 'ש'
-        5: 3,  # 'ת'
-        32: 1,  # '–'
-        52: 1,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 2,  # '…'
-    },
-    32: {  # '–'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 1,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 1,  # 'א'
-        8: 1,  # 'ב'
-        20: 1,  # 'ג'
-        16: 1,  # 'ד'
-        3: 1,  # 'ה'
-        2: 1,  # 'ו'
-        24: 0,  # 'ז'
-        14: 1,  # 'ח'
-        22: 0,  # 'ט'
-        1: 1,  # 'י'
-        25: 0,  # 'ך'
-        15: 1,  # 'כ'
-        4: 1,  # 'ל'
-        11: 0,  # 'ם'
-        6: 1,  # 'מ'
-        23: 0,  # 'ן'
-        12: 0,  # 'נ'
-        19: 1,  # 'ס'
-        13: 1,  # 'ע'
-        26: 0,  # 'ף'
-        18: 1,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 1,  # 'צ'
-        17: 0,  # 'ק'
-        7: 1,  # 'ר'
-        10: 1,  # 'ש'
-        5: 1,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    52: {  # '’'
-        50: 1,  # 'a'
-        60: 0,  # 'c'
-        61: 1,  # 'd'
-        42: 1,  # 'e'
-        53: 1,  # 'i'
-        56: 1,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 1,  # 'r'
-        43: 2,  # 's'
-        44: 2,  # 't'
-        63: 1,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 0,  # 'א'
-        8: 0,  # 'ב'
-        20: 0,  # 'ג'
-        16: 0,  # 'ד'
-        3: 0,  # 'ה'
-        2: 1,  # 'ו'
-        24: 0,  # 'ז'
-        14: 0,  # 'ח'
-        22: 0,  # 'ט'
-        1: 0,  # 'י'
-        25: 0,  # 'ך'
-        15: 0,  # 'כ'
-        4: 0,  # 'ל'
-        11: 0,  # 'ם'
-        6: 1,  # 'מ'
-        23: 0,  # 'ן'
-        12: 0,  # 'נ'
-        19: 0,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 0,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 0,  # 'ק'
-        7: 0,  # 'ר'
-        10: 0,  # 'ש'
-        5: 1,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    47: {  # '“'
-        50: 1,  # 'a'
-        60: 1,  # 'c'
-        61: 1,  # 'd'
-        42: 1,  # 'e'
-        53: 1,  # 'i'
-        56: 1,  # 'l'
-        54: 1,  # 'n'
-        49: 1,  # 'o'
-        51: 1,  # 'r'
-        43: 1,  # 's'
-        44: 1,  # 't'
-        63: 1,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 2,  # 'א'
-        8: 1,  # 'ב'
-        20: 1,  # 'ג'
-        16: 1,  # 'ד'
-        3: 1,  # 'ה'
-        2: 1,  # 'ו'
-        24: 1,  # 'ז'
-        14: 1,  # 'ח'
-        22: 1,  # 'ט'
-        1: 1,  # 'י'
-        25: 0,  # 'ך'
-        15: 1,  # 'כ'
-        4: 1,  # 'ל'
-        11: 0,  # 'ם'
-        6: 1,  # 'מ'
-        23: 0,  # 'ן'
-        12: 1,  # 'נ'
-        19: 1,  # 'ס'
-        13: 1,  # 'ע'
-        26: 0,  # 'ף'
-        18: 1,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 1,  # 'צ'
-        17: 1,  # 'ק'
-        7: 1,  # 'ר'
-        10: 1,  # 'ש'
-        5: 1,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    46: {  # '”'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 1,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 1,  # 'א'
-        8: 1,  # 'ב'
-        20: 1,  # 'ג'
-        16: 0,  # 'ד'
-        3: 0,  # 'ה'
-        2: 0,  # 'ו'
-        24: 0,  # 'ז'
-        14: 0,  # 'ח'
-        22: 0,  # 'ט'
-        1: 1,  # 'י'
-        25: 0,  # 'ך'
-        15: 1,  # 'כ'
-        4: 1,  # 'ל'
-        11: 0,  # 'ם'
-        6: 1,  # 'מ'
-        23: 0,  # 'ן'
-        12: 0,  # 'נ'
-        19: 0,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 0,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 1,  # 'צ'
-        17: 0,  # 'ק'
-        7: 1,  # 'ר'
-        10: 0,  # 'ש'
-        5: 0,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 0,  # '†'
-        40: 0,  # '…'
-    },
-    58: {  # '†'
-        50: 0,  # 'a'
-        60: 0,  # 'c'
-        61: 0,  # 'd'
-        42: 0,  # 'e'
-        53: 0,  # 'i'
-        56: 0,  # 'l'
-        54: 0,  # 'n'
-        49: 0,  # 'o'
-        51: 0,  # 'r'
-        43: 0,  # 's'
-        44: 0,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 0,  # 'א'
-        8: 0,  # 'ב'
-        20: 0,  # 'ג'
-        16: 0,  # 'ד'
-        3: 0,  # 'ה'
-        2: 0,  # 'ו'
-        24: 0,  # 'ז'
-        14: 0,  # 'ח'
-        22: 0,  # 'ט'
-        1: 0,  # 'י'
-        25: 0,  # 'ך'
-        15: 0,  # 'כ'
-        4: 0,  # 'ל'
-        11: 0,  # 'ם'
-        6: 0,  # 'מ'
-        23: 0,  # 'ן'
-        12: 0,  # 'נ'
-        19: 0,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 0,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 0,  # 'ק'
-        7: 0,  # 'ר'
-        10: 0,  # 'ש'
-        5: 0,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 0,  # '”'
-        58: 2,  # '†'
-        40: 0,  # '…'
-    },
-    40: {  # '…'
-        50: 1,  # 'a'
-        60: 1,  # 'c'
-        61: 1,  # 'd'
-        42: 1,  # 'e'
-        53: 1,  # 'i'
-        56: 0,  # 'l'
-        54: 1,  # 'n'
-        49: 0,  # 'o'
-        51: 1,  # 'r'
-        43: 1,  # 's'
-        44: 1,  # 't'
-        63: 0,  # 'u'
-        34: 0,  # '\xa0'
-        55: 0,  # '´'
-        48: 0,  # '¼'
-        39: 0,  # '½'
-        57: 0,  # '¾'
-        30: 0,  # 'ְ'
-        59: 0,  # 'ֱ'
-        41: 0,  # 'ֲ'
-        33: 0,  # 'ִ'
-        37: 0,  # 'ֵ'
-        36: 0,  # 'ֶ'
-        31: 0,  # 'ַ'
-        29: 0,  # 'ָ'
-        35: 0,  # 'ֹ'
-        62: 0,  # 'ֻ'
-        28: 0,  # 'ּ'
-        38: 0,  # 'ׁ'
-        45: 0,  # 'ׂ'
-        9: 1,  # 'א'
-        8: 0,  # 'ב'
-        20: 0,  # 'ג'
-        16: 0,  # 'ד'
-        3: 1,  # 'ה'
-        2: 1,  # 'ו'
-        24: 1,  # 'ז'
-        14: 0,  # 'ח'
-        22: 0,  # 'ט'
-        1: 1,  # 'י'
-        25: 0,  # 'ך'
-        15: 1,  # 'כ'
-        4: 1,  # 'ל'
-        11: 0,  # 'ם'
-        6: 1,  # 'מ'
-        23: 0,  # 'ן'
-        12: 1,  # 'נ'
-        19: 0,  # 'ס'
-        13: 0,  # 'ע'
-        26: 0,  # 'ף'
-        18: 1,  # 'פ'
-        27: 0,  # 'ץ'
-        21: 0,  # 'צ'
-        17: 0,  # 'ק'
-        7: 1,  # 'ר'
-        10: 1,  # 'ש'
-        5: 1,  # 'ת'
-        32: 0,  # '–'
-        52: 0,  # '’'
-        47: 0,  # '“'
-        46: 1,  # '”'
-        58: 0,  # '†'
-        40: 2,  # '…'
-    },
-}
-
-# 255: Undefined characters that did not exist in training text
-# 254: Carriage/Return
-# 253: symbol (punctuation) that does not belong to word
-# 252: 0 - 9
-# 251: Control characters
-
-# Character Mapping Table(s):
-WINDOWS_1255_HEBREW_CHAR_TO_ORDER = {
-    0: 255,  # '\x00'
-    1: 255,  # '\x01'
-    2: 255,  # '\x02'
-    3: 255,  # '\x03'
-    4: 255,  # '\x04'
-    5: 255,  # '\x05'
-    6: 255,  # '\x06'
-    7: 255,  # '\x07'
-    8: 255,  # '\x08'
-    9: 255,  # '\t'
-    10: 254,  # '\n'
-    11: 255,  # '\x0b'
-    12: 255,  # '\x0c'
-    13: 254,  # '\r'
-    14: 255,  # '\x0e'
-    15: 255,  # '\x0f'
-    16: 255,  # '\x10'
-    17: 255,  # '\x11'
-    18: 255,  # '\x12'
-    19: 255,  # '\x13'
-    20: 255,  # '\x14'
-    21: 255,  # '\x15'
-    22: 255,  # '\x16'
-    23: 255,  # '\x17'
-    24: 255,  # '\x18'
-    25: 255,  # '\x19'
-    26: 255,  # '\x1a'
-    27: 255,  # '\x1b'
-    28: 255,  # '\x1c'
-    29: 255,  # '\x1d'
-    30: 255,  # '\x1e'
-    31: 255,  # '\x1f'
-    32: 253,  # ' '
-    33: 253,  # '!'
-    34: 253,  # '"'
-    35: 253,  # '#'
-    36: 253,  # '$'
-    37: 253,  # '%'
-    38: 253,  # '&'
-    39: 253,  # "'"
-    40: 253,  # '('
-    41: 253,  # ')'
-    42: 253,  # '*'
-    43: 253,  # '+'
-    44: 253,  # ','
-    45: 253,  # '-'
-    46: 253,  # '.'
-    47: 253,  # '/'
-    48: 252,  # '0'
-    49: 252,  # '1'
-    50: 252,  # '2'
-    51: 252,  # '3'
-    52: 252,  # '4'
-    53: 252,  # '5'
-    54: 252,  # '6'
-    55: 252,  # '7'
-    56: 252,  # '8'
-    57: 252,  # '9'
-    58: 253,  # ':'
-    59: 253,  # ';'
-    60: 253,  # '<'
-    61: 253,  # '='
-    62: 253,  # '>'
-    63: 253,  # '?'
-    64: 253,  # '@'
-    65: 69,  # 'A'
-    66: 91,  # 'B'
-    67: 79,  # 'C'
-    68: 80,  # 'D'
-    69: 92,  # 'E'
-    70: 89,  # 'F'
-    71: 97,  # 'G'
-    72: 90,  # 'H'
-    73: 68,  # 'I'
-    74: 111,  # 'J'
-    75: 112,  # 'K'
-    76: 82,  # 'L'
-    77: 73,  # 'M'
-    78: 95,  # 'N'
-    79: 85,  # 'O'
-    80: 78,  # 'P'
-    81: 121,  # 'Q'
-    82: 86,  # 'R'
-    83: 71,  # 'S'
-    84: 67,  # 'T'
-    85: 102,  # 'U'
-    86: 107,  # 'V'
-    87: 84,  # 'W'
-    88: 114,  # 'X'
-    89: 103,  # 'Y'
-    90: 115,  # 'Z'
-    91: 253,  # '['
-    92: 253,  # '\\'
-    93: 253,  # ']'
-    94: 253,  # '^'
-    95: 253,  # '_'
-    96: 253,  # '`'
-    97: 50,  # 'a'
-    98: 74,  # 'b'
-    99: 60,  # 'c'
-    100: 61,  # 'd'
-    101: 42,  # 'e'
-    102: 76,  # 'f'
-    103: 70,  # 'g'
-    104: 64,  # 'h'
-    105: 53,  # 'i'
-    106: 105,  # 'j'
-    107: 93,  # 'k'
-    108: 56,  # 'l'
-    109: 65,  # 'm'
-    110: 54,  # 'n'
-    111: 49,  # 'o'
-    112: 66,  # 'p'
-    113: 110,  # 'q'
-    114: 51,  # 'r'
-    115: 43,  # 's'
-    116: 44,  # 't'
-    117: 63,  # 'u'
-    118: 81,  # 'v'
-    119: 77,  # 'w'
-    120: 98,  # 'x'
-    121: 75,  # 'y'
-    122: 108,  # 'z'
-    123: 253,  # '{'
-    124: 253,  # '|'
-    125: 253,  # '}'
-    126: 253,  # '~'
-    127: 253,  # '\x7f'
-    128: 124,  # '€'
-    129: 202,  # None
-    130: 203,  # '‚'
-    131: 204,  # 'ƒ'
-    132: 205,  # '„'
-    133: 40,  # '…'
-    134: 58,  # '†'
-    135: 206,  # '‡'
-    136: 207,  # 'ˆ'
-    137: 208,  # '‰'
-    138: 209,  # None
-    139: 210,  # '‹'
-    140: 211,  # None
-    141: 212,  # None
-    142: 213,  # None
-    143: 214,  # None
-    144: 215,  # None
-    145: 83,  # '‘'
-    146: 52,  # '’'
-    147: 47,  # '“'
-    148: 46,  # '”'
-    149: 72,  # '•'
-    150: 32,  # '–'
-    151: 94,  # '—'
-    152: 216,  # '˜'
-    153: 113,  # '™'
-    154: 217,  # None
-    155: 109,  # '›'
-    156: 218,  # None
-    157: 219,  # None
-    158: 220,  # None
-    159: 221,  # None
-    160: 34,  # '\xa0'
-    161: 116,  # '¡'
-    162: 222,  # '¢'
-    163: 118,  # '£'
-    164: 100,  # '₪'
-    165: 223,  # '¥'
-    166: 224,  # '¦'
-    167: 117,  # '§'
-    168: 119,  # '¨'
-    169: 104,  # '©'
-    170: 125,  # '×'
-    171: 225,  # '«'
-    172: 226,  # '¬'
-    173: 87,  # '\xad'
-    174: 99,  # '®'
-    175: 227,  # '¯'
-    176: 106,  # '°'
-    177: 122,  # '±'
-    178: 123,  # '²'
-    179: 228,  # '³'
-    180: 55,  # '´'
-    181: 229,  # 'µ'
-    182: 230,  # '¶'
-    183: 101,  # '·'
-    184: 231,  # '¸'
-    185: 232,  # '¹'
-    186: 120,  # '÷'
-    187: 233,  # '»'
-    188: 48,  # '¼'
-    189: 39,  # '½'
-    190: 57,  # '¾'
-    191: 234,  # '¿'
-    192: 30,  # 'ְ'
-    193: 59,  # 'ֱ'
-    194: 41,  # 'ֲ'
-    195: 88,  # 'ֳ'
-    196: 33,  # 'ִ'
-    197: 37,  # 'ֵ'
-    198: 36,  # 'ֶ'
-    199: 31,  # 'ַ'
-    200: 29,  # 'ָ'
-    201: 35,  # 'ֹ'
-    202: 235,  # None
-    203: 62,  # 'ֻ'
-    204: 28,  # 'ּ'
-    205: 236,  # 'ֽ'
-    206: 126,  # '־'
-    207: 237,  # 'ֿ'
-    208: 238,  # '׀'
-    209: 38,  # 'ׁ'
-    210: 45,  # 'ׂ'
-    211: 239,  # '׃'
-    212: 240,  # 'װ'
-    213: 241,  # 'ױ'
-    214: 242,  # 'ײ'
-    215: 243,  # '׳'
-    216: 127,  # '״'
-    217: 244,  # None
-    218: 245,  # None
-    219: 246,  # None
-    220: 247,  # None
-    221: 248,  # None
-    222: 249,  # None
-    223: 250,  # None
-    224: 9,  # 'א'
-    225: 8,  # 'ב'
-    226: 20,  # 'ג'
-    227: 16,  # 'ד'
-    228: 3,  # 'ה'
-    229: 2,  # 'ו'
-    230: 24,  # 'ז'
-    231: 14,  # 'ח'
-    232: 22,  # 'ט'
-    233: 1,  # 'י'
-    234: 25,  # 'ך'
-    235: 15,  # 'כ'
-    236: 4,  # 'ל'
-    237: 11,  # 'ם'
-    238: 6,  # 'מ'
-    239: 23,  # 'ן'
-    240: 12,  # 'נ'
-    241: 19,  # 'ס'
-    242: 13,  # 'ע'
-    243: 26,  # 'ף'
-    244: 18,  # 'פ'
-    245: 27,  # 'ץ'
-    246: 21,  # 'צ'
-    247: 17,  # 'ק'
-    248: 7,  # 'ר'
-    249: 10,  # 'ש'
-    250: 5,  # 'ת'
-    251: 251,  # None
-    252: 252,  # None
-    253: 128,  # '\u200e'
-    254: 96,  # '\u200f'
-    255: 253,  # None
-}
-
-WINDOWS_1255_HEBREW_MODEL = SingleByteCharSetModel(
-    charset_name="windows-1255",
-    language="Hebrew",
-    char_to_order_map=WINDOWS_1255_HEBREW_CHAR_TO_ORDER,
-    language_model=HEBREW_LANG_MODEL,
-    typical_positive_ratio=0.984004,
-    keep_ascii_letters=False,
-    alphabet="אבגדהוזחטיךכלםמןנסעףפץצקרשתװױײ",
-)
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/langhungarianmodel.py b/.venv/Lib/site-packages/pip/_vendor/chardet/langhungarianmodel.py
deleted file mode 100644
index 09a0d32..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/langhungarianmodel.py
+++ /dev/null
@@ -1,4649 +0,0 @@
-from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel
-
-# 3: Positive
-# 2: Likely
-# 1: Unlikely
-# 0: Negative
-
-HUNGARIAN_LANG_MODEL = {
-    28: {  # 'A'
-        28: 0,  # 'A'
-        40: 1,  # 'B'
-        54: 1,  # 'C'
-        45: 2,  # 'D'
-        32: 1,  # 'E'
-        50: 1,  # 'F'
-        49: 2,  # 'G'
-        38: 1,  # 'H'
-        39: 2,  # 'I'
-        53: 1,  # 'J'
-        36: 2,  # 'K'
-        41: 2,  # 'L'
-        34: 1,  # 'M'
-        35: 2,  # 'N'
-        47: 1,  # 'O'
-        46: 2,  # 'P'
-        43: 2,  # 'R'
-        33: 2,  # 'S'
-        37: 2,  # 'T'
-        57: 1,  # 'U'
-        48: 1,  # 'V'
-        55: 1,  # 'Y'
-        52: 2,  # 'Z'
-        2: 0,  # 'a'
-        18: 1,  # 'b'
-        26: 1,  # 'c'
-        17: 2,  # 'd'
-        1: 1,  # 'e'
-        27: 1,  # 'f'
-        12: 1,  # 'g'
-        20: 1,  # 'h'
-        9: 1,  # 'i'
-        22: 1,  # 'j'
-        7: 2,  # 'k'
-        6: 2,  # 'l'
-        13: 2,  # 'm'
-        4: 2,  # 'n'
-        8: 0,  # 'o'
-        23: 2,  # 'p'
-        10: 2,  # 'r'
-        5: 1,  # 's'
-        3: 1,  # 't'
-        21: 1,  # 'u'
-        19: 1,  # 'v'
-        62: 1,  # 'x'
-        16: 0,  # 'y'
-        11: 3,  # 'z'
-        51: 1,  # 'Á'
-        44: 0,  # 'É'
-        61: 1,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 0,  # 'á'
-        15: 0,  # 'é'
-        30: 0,  # 'í'
-        25: 0,  # 'ó'
-        24: 0,  # 'ö'
-        31: 0,  # 'ú'
-        29: 0,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    40: {  # 'B'
-        28: 2,  # 'A'
-        40: 1,  # 'B'
-        54: 1,  # 'C'
-        45: 1,  # 'D'
-        32: 2,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 1,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 1,  # 'L'
-        34: 0,  # 'M'
-        35: 1,  # 'N'
-        47: 2,  # 'O'
-        46: 0,  # 'P'
-        43: 1,  # 'R'
-        33: 1,  # 'S'
-        37: 1,  # 'T'
-        57: 1,  # 'U'
-        48: 1,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 2,  # 'a'
-        18: 0,  # 'b'
-        26: 0,  # 'c'
-        17: 0,  # 'd'
-        1: 3,  # 'e'
-        27: 0,  # 'f'
-        12: 0,  # 'g'
-        20: 0,  # 'h'
-        9: 2,  # 'i'
-        22: 1,  # 'j'
-        7: 0,  # 'k'
-        6: 1,  # 'l'
-        13: 0,  # 'm'
-        4: 0,  # 'n'
-        8: 2,  # 'o'
-        23: 1,  # 'p'
-        10: 2,  # 'r'
-        5: 0,  # 's'
-        3: 0,  # 't'
-        21: 3,  # 'u'
-        19: 0,  # 'v'
-        62: 0,  # 'x'
-        16: 1,  # 'y'
-        11: 0,  # 'z'
-        51: 1,  # 'Á'
-        44: 1,  # 'É'
-        61: 1,  # 'Í'
-        58: 1,  # 'Ó'
-        59: 1,  # 'Ö'
-        60: 1,  # 'Ú'
-        63: 1,  # 'Ü'
-        14: 2,  # 'á'
-        15: 2,  # 'é'
-        30: 1,  # 'í'
-        25: 1,  # 'ó'
-        24: 1,  # 'ö'
-        31: 1,  # 'ú'
-        29: 1,  # 'ü'
-        42: 1,  # 'ő'
-        56: 1,  # 'ű'
-    },
-    54: {  # 'C'
-        28: 1,  # 'A'
-        40: 1,  # 'B'
-        54: 1,  # 'C'
-        45: 1,  # 'D'
-        32: 1,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 1,  # 'H'
-        39: 2,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 1,  # 'L'
-        34: 1,  # 'M'
-        35: 0,  # 'N'
-        47: 1,  # 'O'
-        46: 1,  # 'P'
-        43: 1,  # 'R'
-        33: 2,  # 'S'
-        37: 1,  # 'T'
-        57: 1,  # 'U'
-        48: 0,  # 'V'
-        55: 1,  # 'Y'
-        52: 1,  # 'Z'
-        2: 2,  # 'a'
-        18: 0,  # 'b'
-        26: 0,  # 'c'
-        17: 0,  # 'd'
-        1: 1,  # 'e'
-        27: 0,  # 'f'
-        12: 0,  # 'g'
-        20: 1,  # 'h'
-        9: 1,  # 'i'
-        22: 0,  # 'j'
-        7: 0,  # 'k'
-        6: 1,  # 'l'
-        13: 0,  # 'm'
-        4: 0,  # 'n'
-        8: 2,  # 'o'
-        23: 0,  # 'p'
-        10: 1,  # 'r'
-        5: 3,  # 's'
-        3: 0,  # 't'
-        21: 1,  # 'u'
-        19: 0,  # 'v'
-        62: 0,  # 'x'
-        16: 1,  # 'y'
-        11: 1,  # 'z'
-        51: 1,  # 'Á'
-        44: 1,  # 'É'
-        61: 1,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 1,  # 'á'
-        15: 1,  # 'é'
-        30: 1,  # 'í'
-        25: 1,  # 'ó'
-        24: 0,  # 'ö'
-        31: 0,  # 'ú'
-        29: 0,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    45: {  # 'D'
-        28: 2,  # 'A'
-        40: 1,  # 'B'
-        54: 0,  # 'C'
-        45: 1,  # 'D'
-        32: 2,  # 'E'
-        50: 1,  # 'F'
-        49: 1,  # 'G'
-        38: 1,  # 'H'
-        39: 2,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 0,  # 'L'
-        34: 1,  # 'M'
-        35: 1,  # 'N'
-        47: 2,  # 'O'
-        46: 0,  # 'P'
-        43: 1,  # 'R'
-        33: 1,  # 'S'
-        37: 1,  # 'T'
-        57: 1,  # 'U'
-        48: 1,  # 'V'
-        55: 1,  # 'Y'
-        52: 1,  # 'Z'
-        2: 2,  # 'a'
-        18: 0,  # 'b'
-        26: 0,  # 'c'
-        17: 0,  # 'd'
-        1: 3,  # 'e'
-        27: 0,  # 'f'
-        12: 0,  # 'g'
-        20: 0,  # 'h'
-        9: 1,  # 'i'
-        22: 0,  # 'j'
-        7: 0,  # 'k'
-        6: 0,  # 'l'
-        13: 0,  # 'm'
-        4: 0,  # 'n'
-        8: 1,  # 'o'
-        23: 0,  # 'p'
-        10: 2,  # 'r'
-        5: 0,  # 's'
-        3: 0,  # 't'
-        21: 2,  # 'u'
-        19: 0,  # 'v'
-        62: 0,  # 'x'
-        16: 1,  # 'y'
-        11: 1,  # 'z'
-        51: 1,  # 'Á'
-        44: 1,  # 'É'
-        61: 1,  # 'Í'
-        58: 1,  # 'Ó'
-        59: 1,  # 'Ö'
-        60: 1,  # 'Ú'
-        63: 1,  # 'Ü'
-        14: 1,  # 'á'
-        15: 1,  # 'é'
-        30: 1,  # 'í'
-        25: 1,  # 'ó'
-        24: 1,  # 'ö'
-        31: 1,  # 'ú'
-        29: 1,  # 'ü'
-        42: 1,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    32: {  # 'E'
-        28: 1,  # 'A'
-        40: 1,  # 'B'
-        54: 1,  # 'C'
-        45: 1,  # 'D'
-        32: 1,  # 'E'
-        50: 1,  # 'F'
-        49: 2,  # 'G'
-        38: 1,  # 'H'
-        39: 1,  # 'I'
-        53: 1,  # 'J'
-        36: 2,  # 'K'
-        41: 2,  # 'L'
-        34: 2,  # 'M'
-        35: 2,  # 'N'
-        47: 1,  # 'O'
-        46: 1,  # 'P'
-        43: 2,  # 'R'
-        33: 2,  # 'S'
-        37: 2,  # 'T'
-        57: 1,  # 'U'
-        48: 1,  # 'V'
-        55: 1,  # 'Y'
-        52: 1,  # 'Z'
-        2: 1,  # 'a'
-        18: 1,  # 'b'
-        26: 1,  # 'c'
-        17: 2,  # 'd'
-        1: 1,  # 'e'
-        27: 1,  # 'f'
-        12: 3,  # 'g'
-        20: 1,  # 'h'
-        9: 1,  # 'i'
-        22: 1,  # 'j'
-        7: 1,  # 'k'
-        6: 2,  # 'l'
-        13: 2,  # 'm'
-        4: 2,  # 'n'
-        8: 0,  # 'o'
-        23: 1,  # 'p'
-        10: 2,  # 'r'
-        5: 2,  # 's'
-        3: 1,  # 't'
-        21: 2,  # 'u'
-        19: 1,  # 'v'
-        62: 1,  # 'x'
-        16: 0,  # 'y'
-        11: 3,  # 'z'
-        51: 1,  # 'Á'
-        44: 1,  # 'É'
-        61: 0,  # 'Í'
-        58: 1,  # 'Ó'
-        59: 1,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 1,  # 'Ü'
-        14: 0,  # 'á'
-        15: 0,  # 'é'
-        30: 0,  # 'í'
-        25: 0,  # 'ó'
-        24: 1,  # 'ö'
-        31: 0,  # 'ú'
-        29: 0,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    50: {  # 'F'
-        28: 1,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 1,  # 'E'
-        50: 1,  # 'F'
-        49: 0,  # 'G'
-        38: 1,  # 'H'
-        39: 1,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 1,  # 'L'
-        34: 1,  # 'M'
-        35: 1,  # 'N'
-        47: 1,  # 'O'
-        46: 0,  # 'P'
-        43: 1,  # 'R'
-        33: 0,  # 'S'
-        37: 1,  # 'T'
-        57: 1,  # 'U'
-        48: 0,  # 'V'
-        55: 1,  # 'Y'
-        52: 0,  # 'Z'
-        2: 2,  # 'a'
-        18: 0,  # 'b'
-        26: 0,  # 'c'
-        17: 0,  # 'd'
-        1: 2,  # 'e'
-        27: 1,  # 'f'
-        12: 0,  # 'g'
-        20: 0,  # 'h'
-        9: 2,  # 'i'
-        22: 1,  # 'j'
-        7: 0,  # 'k'
-        6: 1,  # 'l'
-        13: 0,  # 'm'
-        4: 0,  # 'n'
-        8: 2,  # 'o'
-        23: 0,  # 'p'
-        10: 2,  # 'r'
-        5: 0,  # 's'
-        3: 0,  # 't'
-        21: 1,  # 'u'
-        19: 0,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 0,  # 'z'
-        51: 1,  # 'Á'
-        44: 1,  # 'É'
-        61: 0,  # 'Í'
-        58: 1,  # 'Ó'
-        59: 1,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 1,  # 'Ü'
-        14: 1,  # 'á'
-        15: 1,  # 'é'
-        30: 0,  # 'í'
-        25: 0,  # 'ó'
-        24: 2,  # 'ö'
-        31: 1,  # 'ú'
-        29: 1,  # 'ü'
-        42: 1,  # 'ő'
-        56: 1,  # 'ű'
-    },
-    49: {  # 'G'
-        28: 2,  # 'A'
-        40: 1,  # 'B'
-        54: 1,  # 'C'
-        45: 1,  # 'D'
-        32: 2,  # 'E'
-        50: 1,  # 'F'
-        49: 1,  # 'G'
-        38: 1,  # 'H'
-        39: 1,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 1,  # 'L'
-        34: 1,  # 'M'
-        35: 1,  # 'N'
-        47: 1,  # 'O'
-        46: 1,  # 'P'
-        43: 1,  # 'R'
-        33: 1,  # 'S'
-        37: 1,  # 'T'
-        57: 1,  # 'U'
-        48: 1,  # 'V'
-        55: 2,  # 'Y'
-        52: 1,  # 'Z'
-        2: 2,  # 'a'
-        18: 0,  # 'b'
-        26: 0,  # 'c'
-        17: 0,  # 'd'
-        1: 2,  # 'e'
-        27: 0,  # 'f'
-        12: 0,  # 'g'
-        20: 0,  # 'h'
-        9: 1,  # 'i'
-        22: 0,  # 'j'
-        7: 0,  # 'k'
-        6: 1,  # 'l'
-        13: 0,  # 'm'
-        4: 0,  # 'n'
-        8: 2,  # 'o'
-        23: 0,  # 'p'
-        10: 2,  # 'r'
-        5: 0,  # 's'
-        3: 0,  # 't'
-        21: 1,  # 'u'
-        19: 0,  # 'v'
-        62: 0,  # 'x'
-        16: 2,  # 'y'
-        11: 0,  # 'z'
-        51: 1,  # 'Á'
-        44: 1,  # 'É'
-        61: 1,  # 'Í'
-        58: 1,  # 'Ó'
-        59: 1,  # 'Ö'
-        60: 1,  # 'Ú'
-        63: 1,  # 'Ü'
-        14: 1,  # 'á'
-        15: 1,  # 'é'
-        30: 0,  # 'í'
-        25: 1,  # 'ó'
-        24: 1,  # 'ö'
-        31: 1,  # 'ú'
-        29: 1,  # 'ü'
-        42: 1,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    38: {  # 'H'
-        28: 2,  # 'A'
-        40: 1,  # 'B'
-        54: 1,  # 'C'
-        45: 0,  # 'D'
-        32: 1,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 1,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 1,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 1,  # 'O'
-        46: 0,  # 'P'
-        43: 1,  # 'R'
-        33: 1,  # 'S'
-        37: 1,  # 'T'
-        57: 1,  # 'U'
-        48: 0,  # 'V'
-        55: 1,  # 'Y'
-        52: 0,  # 'Z'
-        2: 3,  # 'a'
-        18: 0,  # 'b'
-        26: 0,  # 'c'
-        17: 0,  # 'd'
-        1: 2,  # 'e'
-        27: 0,  # 'f'
-        12: 0,  # 'g'
-        20: 0,  # 'h'
-        9: 2,  # 'i'
-        22: 1,  # 'j'
-        7: 0,  # 'k'
-        6: 1,  # 'l'
-        13: 1,  # 'm'
-        4: 0,  # 'n'
-        8: 3,  # 'o'
-        23: 0,  # 'p'
-        10: 1,  # 'r'
-        5: 0,  # 's'
-        3: 0,  # 't'
-        21: 2,  # 'u'
-        19: 0,  # 'v'
-        62: 0,  # 'x'
-        16: 1,  # 'y'
-        11: 0,  # 'z'
-        51: 2,  # 'Á'
-        44: 2,  # 'É'
-        61: 1,  # 'Í'
-        58: 1,  # 'Ó'
-        59: 1,  # 'Ö'
-        60: 1,  # 'Ú'
-        63: 1,  # 'Ü'
-        14: 2,  # 'á'
-        15: 1,  # 'é'
-        30: 2,  # 'í'
-        25: 1,  # 'ó'
-        24: 1,  # 'ö'
-        31: 1,  # 'ú'
-        29: 1,  # 'ü'
-        42: 1,  # 'ő'
-        56: 1,  # 'ű'
-    },
-    39: {  # 'I'
-        28: 2,  # 'A'
-        40: 1,  # 'B'
-        54: 1,  # 'C'
-        45: 1,  # 'D'
-        32: 1,  # 'E'
-        50: 1,  # 'F'
-        49: 1,  # 'G'
-        38: 1,  # 'H'
-        39: 2,  # 'I'
-        53: 1,  # 'J'
-        36: 2,  # 'K'
-        41: 2,  # 'L'
-        34: 1,  # 'M'
-        35: 2,  # 'N'
-        47: 1,  # 'O'
-        46: 1,  # 'P'
-        43: 1,  # 'R'
-        33: 2,  # 'S'
-        37: 1,  # 'T'
-        57: 1,  # 'U'
-        48: 1,  # 'V'
-        55: 0,  # 'Y'
-        52: 2,  # 'Z'
-        2: 0,  # 'a'
-        18: 1,  # 'b'
-        26: 1,  # 'c'
-        17: 2,  # 'd'
-        1: 0,  # 'e'
-        27: 1,  # 'f'
-        12: 2,  # 'g'
-        20: 1,  # 'h'
-        9: 0,  # 'i'
-        22: 1,  # 'j'
-        7: 1,  # 'k'
-        6: 2,  # 'l'
-        13: 2,  # 'm'
-        4: 1,  # 'n'
-        8: 0,  # 'o'
-        23: 1,  # 'p'
-        10: 2,  # 'r'
-        5: 2,  # 's'
-        3: 2,  # 't'
-        21: 0,  # 'u'
-        19: 1,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 1,  # 'z'
-        51: 1,  # 'Á'
-        44: 1,  # 'É'
-        61: 0,  # 'Í'
-        58: 1,  # 'Ó'
-        59: 1,  # 'Ö'
-        60: 1,  # 'Ú'
-        63: 1,  # 'Ü'
-        14: 0,  # 'á'
-        15: 0,  # 'é'
-        30: 0,  # 'í'
-        25: 0,  # 'ó'
-        24: 0,  # 'ö'
-        31: 0,  # 'ú'
-        29: 0,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    53: {  # 'J'
-        28: 2,  # 'A'
-        40: 0,  # 'B'
-        54: 1,  # 'C'
-        45: 1,  # 'D'
-        32: 2,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 1,  # 'H'
-        39: 1,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 1,  # 'L'
-        34: 1,  # 'M'
-        35: 1,  # 'N'
-        47: 1,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 1,  # 'S'
-        37: 1,  # 'T'
-        57: 1,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 1,  # 'Z'
-        2: 2,  # 'a'
-        18: 0,  # 'b'
-        26: 0,  # 'c'
-        17: 0,  # 'd'
-        1: 2,  # 'e'
-        27: 0,  # 'f'
-        12: 0,  # 'g'
-        20: 0,  # 'h'
-        9: 1,  # 'i'
-        22: 0,  # 'j'
-        7: 0,  # 'k'
-        6: 0,  # 'l'
-        13: 0,  # 'm'
-        4: 0,  # 'n'
-        8: 1,  # 'o'
-        23: 0,  # 'p'
-        10: 0,  # 'r'
-        5: 0,  # 's'
-        3: 0,  # 't'
-        21: 2,  # 'u'
-        19: 0,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 0,  # 'z'
-        51: 1,  # 'Á'
-        44: 1,  # 'É'
-        61: 0,  # 'Í'
-        58: 1,  # 'Ó'
-        59: 1,  # 'Ö'
-        60: 1,  # 'Ú'
-        63: 1,  # 'Ü'
-        14: 2,  # 'á'
-        15: 1,  # 'é'
-        30: 0,  # 'í'
-        25: 2,  # 'ó'
-        24: 2,  # 'ö'
-        31: 1,  # 'ú'
-        29: 0,  # 'ü'
-        42: 1,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    36: {  # 'K'
-        28: 2,  # 'A'
-        40: 1,  # 'B'
-        54: 1,  # 'C'
-        45: 1,  # 'D'
-        32: 2,  # 'E'
-        50: 1,  # 'F'
-        49: 0,  # 'G'
-        38: 1,  # 'H'
-        39: 2,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 1,  # 'L'
-        34: 1,  # 'M'
-        35: 1,  # 'N'
-        47: 2,  # 'O'
-        46: 0,  # 'P'
-        43: 1,  # 'R'
-        33: 1,  # 'S'
-        37: 1,  # 'T'
-        57: 1,  # 'U'
-        48: 1,  # 'V'
-        55: 1,  # 'Y'
-        52: 0,  # 'Z'
-        2: 2,  # 'a'
-        18: 0,  # 'b'
-        26: 0,  # 'c'
-        17: 0,  # 'd'
-        1: 2,  # 'e'
-        27: 1,  # 'f'
-        12: 0,  # 'g'
-        20: 1,  # 'h'
-        9: 3,  # 'i'
-        22: 0,  # 'j'
-        7: 0,  # 'k'
-        6: 1,  # 'l'
-        13: 1,  # 'm'
-        4: 1,  # 'n'
-        8: 2,  # 'o'
-        23: 0,  # 'p'
-        10: 2,  # 'r'
-        5: 0,  # 's'
-        3: 0,  # 't'
-        21: 1,  # 'u'
-        19: 1,  # 'v'
-        62: 0,  # 'x'
-        16: 1,  # 'y'
-        11: 0,  # 'z'
-        51: 1,  # 'Á'
-        44: 1,  # 'É'
-        61: 1,  # 'Í'
-        58: 1,  # 'Ó'
-        59: 2,  # 'Ö'
-        60: 1,  # 'Ú'
-        63: 1,  # 'Ü'
-        14: 2,  # 'á'
-        15: 2,  # 'é'
-        30: 1,  # 'í'
-        25: 1,  # 'ó'
-        24: 2,  # 'ö'
-        31: 1,  # 'ú'
-        29: 2,  # 'ü'
-        42: 1,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    41: {  # 'L'
-        28: 2,  # 'A'
-        40: 1,  # 'B'
-        54: 1,  # 'C'
-        45: 1,  # 'D'
-        32: 2,  # 'E'
-        50: 1,  # 'F'
-        49: 1,  # 'G'
-        38: 1,  # 'H'
-        39: 2,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 2,  # 'L'
-        34: 1,  # 'M'
-        35: 1,  # 'N'
-        47: 2,  # 'O'
-        46: 0,  # 'P'
-        43: 1,  # 'R'
-        33: 1,  # 'S'
-        37: 2,  # 'T'
-        57: 1,  # 'U'
-        48: 1,  # 'V'
-        55: 1,  # 'Y'
-        52: 1,  # 'Z'
-        2: 2,  # 'a'
-        18: 0,  # 'b'
-        26: 0,  # 'c'
-        17: 0,  # 'd'
-        1: 3,  # 'e'
-        27: 0,  # 'f'
-        12: 0,  # 'g'
-        20: 0,  # 'h'
-        9: 2,  # 'i'
-        22: 1,  # 'j'
-        7: 0,  # 'k'
-        6: 1,  # 'l'
-        13: 0,  # 'm'
-        4: 0,  # 'n'
-        8: 2,  # 'o'
-        23: 0,  # 'p'
-        10: 0,  # 'r'
-        5: 0,  # 's'
-        3: 0,  # 't'
-        21: 2,  # 'u'
-        19: 0,  # 'v'
-        62: 0,  # 'x'
-        16: 1,  # 'y'
-        11: 0,  # 'z'
-        51: 2,  # 'Á'
-        44: 1,  # 'É'
-        61: 1,  # 'Í'
-        58: 1,  # 'Ó'
-        59: 1,  # 'Ö'
-        60: 1,  # 'Ú'
-        63: 1,  # 'Ü'
-        14: 2,  # 'á'
-        15: 1,  # 'é'
-        30: 1,  # 'í'
-        25: 1,  # 'ó'
-        24: 1,  # 'ö'
-        31: 0,  # 'ú'
-        29: 1,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    34: {  # 'M'
-        28: 2,  # 'A'
-        40: 1,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 2,  # 'E'
-        50: 1,  # 'F'
-        49: 0,  # 'G'
-        38: 1,  # 'H'
-        39: 2,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 1,  # 'L'
-        34: 1,  # 'M'
-        35: 1,  # 'N'
-        47: 1,  # 'O'
-        46: 1,  # 'P'
-        43: 1,  # 'R'
-        33: 1,  # 'S'
-        37: 1,  # 'T'
-        57: 1,  # 'U'
-        48: 1,  # 'V'
-        55: 1,  # 'Y'
-        52: 1,  # 'Z'
-        2: 3,  # 'a'
-        18: 0,  # 'b'
-        26: 1,  # 'c'
-        17: 0,  # 'd'
-        1: 3,  # 'e'
-        27: 0,  # 'f'
-        12: 0,  # 'g'
-        20: 0,  # 'h'
-        9: 3,  # 'i'
-        22: 0,  # 'j'
-        7: 0,  # 'k'
-        6: 0,  # 'l'
-        13: 1,  # 'm'
-        4: 1,  # 'n'
-        8: 3,  # 'o'
-        23: 0,  # 'p'
-        10: 1,  # 'r'
-        5: 0,  # 's'
-        3: 0,  # 't'
-        21: 2,  # 'u'
-        19: 0,  # 'v'
-        62: 0,  # 'x'
-        16: 1,  # 'y'
-        11: 0,  # 'z'
-        51: 2,  # 'Á'
-        44: 1,  # 'É'
-        61: 1,  # 'Í'
-        58: 1,  # 'Ó'
-        59: 1,  # 'Ö'
-        60: 1,  # 'Ú'
-        63: 1,  # 'Ü'
-        14: 2,  # 'á'
-        15: 2,  # 'é'
-        30: 1,  # 'í'
-        25: 1,  # 'ó'
-        24: 1,  # 'ö'
-        31: 1,  # 'ú'
-        29: 1,  # 'ü'
-        42: 0,  # 'ő'
-        56: 1,  # 'ű'
-    },
-    35: {  # 'N'
-        28: 2,  # 'A'
-        40: 1,  # 'B'
-        54: 1,  # 'C'
-        45: 2,  # 'D'
-        32: 2,  # 'E'
-        50: 1,  # 'F'
-        49: 1,  # 'G'
-        38: 1,  # 'H'
-        39: 1,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 1,  # 'L'
-        34: 1,  # 'M'
-        35: 1,  # 'N'
-        47: 1,  # 'O'
-        46: 1,  # 'P'
-        43: 1,  # 'R'
-        33: 1,  # 'S'
-        37: 2,  # 'T'
-        57: 1,  # 'U'
-        48: 1,  # 'V'
-        55: 2,  # 'Y'
-        52: 1,  # 'Z'
-        2: 3,  # 'a'
-        18: 0,  # 'b'
-        26: 0,  # 'c'
-        17: 0,  # 'd'
-        1: 3,  # 'e'
-        27: 0,  # 'f'
-        12: 0,  # 'g'
-        20: 0,  # 'h'
-        9: 2,  # 'i'
-        22: 0,  # 'j'
-        7: 0,  # 'k'
-        6: 0,  # 'l'
-        13: 0,  # 'm'
-        4: 1,  # 'n'
-        8: 2,  # 'o'
-        23: 0,  # 'p'
-        10: 0,  # 'r'
-        5: 0,  # 's'
-        3: 0,  # 't'
-        21: 1,  # 'u'
-        19: 0,  # 'v'
-        62: 0,  # 'x'
-        16: 2,  # 'y'
-        11: 0,  # 'z'
-        51: 1,  # 'Á'
-        44: 1,  # 'É'
-        61: 1,  # 'Í'
-        58: 1,  # 'Ó'
-        59: 1,  # 'Ö'
-        60: 1,  # 'Ú'
-        63: 1,  # 'Ü'
-        14: 1,  # 'á'
-        15: 2,  # 'é'
-        30: 1,  # 'í'
-        25: 1,  # 'ó'
-        24: 1,  # 'ö'
-        31: 0,  # 'ú'
-        29: 0,  # 'ü'
-        42: 1,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    47: {  # 'O'
-        28: 1,  # 'A'
-        40: 1,  # 'B'
-        54: 1,  # 'C'
-        45: 1,  # 'D'
-        32: 1,  # 'E'
-        50: 1,  # 'F'
-        49: 1,  # 'G'
-        38: 1,  # 'H'
-        39: 1,  # 'I'
-        53: 1,  # 'J'
-        36: 2,  # 'K'
-        41: 2,  # 'L'
-        34: 2,  # 'M'
-        35: 2,  # 'N'
-        47: 1,  # 'O'
-        46: 1,  # 'P'
-        43: 2,  # 'R'
-        33: 2,  # 'S'
-        37: 2,  # 'T'
-        57: 1,  # 'U'
-        48: 1,  # 'V'
-        55: 1,  # 'Y'
-        52: 1,  # 'Z'
-        2: 0,  # 'a'
-        18: 1,  # 'b'
-        26: 1,  # 'c'
-        17: 1,  # 'd'
-        1: 1,  # 'e'
-        27: 1,  # 'f'
-        12: 1,  # 'g'
-        20: 1,  # 'h'
-        9: 1,  # 'i'
-        22: 1,  # 'j'
-        7: 2,  # 'k'
-        6: 2,  # 'l'
-        13: 1,  # 'm'
-        4: 1,  # 'n'
-        8: 1,  # 'o'
-        23: 1,  # 'p'
-        10: 2,  # 'r'
-        5: 1,  # 's'
-        3: 2,  # 't'
-        21: 1,  # 'u'
-        19: 0,  # 'v'
-        62: 1,  # 'x'
-        16: 0,  # 'y'
-        11: 1,  # 'z'
-        51: 1,  # 'Á'
-        44: 1,  # 'É'
-        61: 0,  # 'Í'
-        58: 1,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 0,  # 'á'
-        15: 0,  # 'é'
-        30: 0,  # 'í'
-        25: 0,  # 'ó'
-        24: 0,  # 'ö'
-        31: 0,  # 'ú'
-        29: 0,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    46: {  # 'P'
-        28: 1,  # 'A'
-        40: 1,  # 'B'
-        54: 1,  # 'C'
-        45: 1,  # 'D'
-        32: 1,  # 'E'
-        50: 1,  # 'F'
-        49: 1,  # 'G'
-        38: 1,  # 'H'
-        39: 1,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 1,  # 'L'
-        34: 0,  # 'M'
-        35: 1,  # 'N'
-        47: 1,  # 'O'
-        46: 1,  # 'P'
-        43: 2,  # 'R'
-        33: 1,  # 'S'
-        37: 1,  # 'T'
-        57: 1,  # 'U'
-        48: 1,  # 'V'
-        55: 0,  # 'Y'
-        52: 1,  # 'Z'
-        2: 2,  # 'a'
-        18: 0,  # 'b'
-        26: 0,  # 'c'
-        17: 0,  # 'd'
-        1: 2,  # 'e'
-        27: 1,  # 'f'
-        12: 0,  # 'g'
-        20: 1,  # 'h'
-        9: 2,  # 'i'
-        22: 0,  # 'j'
-        7: 0,  # 'k'
-        6: 1,  # 'l'
-        13: 0,  # 'm'
-        4: 1,  # 'n'
-        8: 2,  # 'o'
-        23: 0,  # 'p'
-        10: 2,  # 'r'
-        5: 1,  # 's'
-        3: 0,  # 't'
-        21: 1,  # 'u'
-        19: 0,  # 'v'
-        62: 0,  # 'x'
-        16: 1,  # 'y'
-        11: 0,  # 'z'
-        51: 2,  # 'Á'
-        44: 1,  # 'É'
-        61: 1,  # 'Í'
-        58: 1,  # 'Ó'
-        59: 1,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 1,  # 'Ü'
-        14: 3,  # 'á'
-        15: 2,  # 'é'
-        30: 0,  # 'í'
-        25: 1,  # 'ó'
-        24: 1,  # 'ö'
-        31: 0,  # 'ú'
-        29: 1,  # 'ü'
-        42: 1,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    43: {  # 'R'
-        28: 2,  # 'A'
-        40: 1,  # 'B'
-        54: 1,  # 'C'
-        45: 1,  # 'D'
-        32: 2,  # 'E'
-        50: 1,  # 'F'
-        49: 1,  # 'G'
-        38: 1,  # 'H'
-        39: 2,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 1,  # 'L'
-        34: 1,  # 'M'
-        35: 1,  # 'N'
-        47: 2,  # 'O'
-        46: 1,  # 'P'
-        43: 1,  # 'R'
-        33: 2,  # 'S'
-        37: 2,  # 'T'
-        57: 1,  # 'U'
-        48: 1,  # 'V'
-        55: 1,  # 'Y'
-        52: 1,  # 'Z'
-        2: 2,  # 'a'
-        18: 0,  # 'b'
-        26: 0,  # 'c'
-        17: 0,  # 'd'
-        1: 2,  # 'e'
-        27: 0,  # 'f'
-        12: 0,  # 'g'
-        20: 1,  # 'h'
-        9: 2,  # 'i'
-        22: 0,  # 'j'
-        7: 0,  # 'k'
-        6: 0,  # 'l'
-        13: 0,  # 'm'
-        4: 0,  # 'n'
-        8: 2,  # 'o'
-        23: 0,  # 'p'
-        10: 0,  # 'r'
-        5: 0,  # 's'
-        3: 0,  # 't'
-        21: 1,  # 'u'
-        19: 0,  # 'v'
-        62: 0,  # 'x'
-        16: 1,  # 'y'
-        11: 0,  # 'z'
-        51: 2,  # 'Á'
-        44: 1,  # 'É'
-        61: 1,  # 'Í'
-        58: 2,  # 'Ó'
-        59: 1,  # 'Ö'
-        60: 1,  # 'Ú'
-        63: 1,  # 'Ü'
-        14: 2,  # 'á'
-        15: 2,  # 'é'
-        30: 1,  # 'í'
-        25: 2,  # 'ó'
-        24: 1,  # 'ö'
-        31: 1,  # 'ú'
-        29: 1,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    33: {  # 'S'
-        28: 2,  # 'A'
-        40: 1,  # 'B'
-        54: 1,  # 'C'
-        45: 1,  # 'D'
-        32: 2,  # 'E'
-        50: 1,  # 'F'
-        49: 1,  # 'G'
-        38: 1,  # 'H'
-        39: 2,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 1,  # 'L'
-        34: 1,  # 'M'
-        35: 1,  # 'N'
-        47: 2,  # 'O'
-        46: 1,  # 'P'
-        43: 1,  # 'R'
-        33: 2,  # 'S'
-        37: 2,  # 'T'
-        57: 1,  # 'U'
-        48: 1,  # 'V'
-        55: 1,  # 'Y'
-        52: 3,  # 'Z'
-        2: 2,  # 'a'
-        18: 0,  # 'b'
-        26: 1,  # 'c'
-        17: 0,  # 'd'
-        1: 2,  # 'e'
-        27: 0,  # 'f'
-        12: 0,  # 'g'
-        20: 1,  # 'h'
-        9: 2,  # 'i'
-        22: 0,  # 'j'
-        7: 1,  # 'k'
-        6: 1,  # 'l'
-        13: 1,  # 'm'
-        4: 0,  # 'n'
-        8: 2,  # 'o'
-        23: 1,  # 'p'
-        10: 0,  # 'r'
-        5: 0,  # 's'
-        3: 1,  # 't'
-        21: 1,  # 'u'
-        19: 1,  # 'v'
-        62: 0,  # 'x'
-        16: 1,  # 'y'
-        11: 3,  # 'z'
-        51: 2,  # 'Á'
-        44: 1,  # 'É'
-        61: 1,  # 'Í'
-        58: 1,  # 'Ó'
-        59: 1,  # 'Ö'
-        60: 1,  # 'Ú'
-        63: 1,  # 'Ü'
-        14: 2,  # 'á'
-        15: 1,  # 'é'
-        30: 1,  # 'í'
-        25: 1,  # 'ó'
-        24: 1,  # 'ö'
-        31: 1,  # 'ú'
-        29: 1,  # 'ü'
-        42: 1,  # 'ő'
-        56: 1,  # 'ű'
-    },
-    37: {  # 'T'
-        28: 2,  # 'A'
-        40: 1,  # 'B'
-        54: 1,  # 'C'
-        45: 1,  # 'D'
-        32: 2,  # 'E'
-        50: 1,  # 'F'
-        49: 1,  # 'G'
-        38: 1,  # 'H'
-        39: 2,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 1,  # 'L'
-        34: 1,  # 'M'
-        35: 1,  # 'N'
-        47: 2,  # 'O'
-        46: 1,  # 'P'
-        43: 2,  # 'R'
-        33: 1,  # 'S'
-        37: 2,  # 'T'
-        57: 1,  # 'U'
-        48: 1,  # 'V'
-        55: 1,  # 'Y'
-        52: 1,  # 'Z'
-        2: 2,  # 'a'
-        18: 0,  # 'b'
-        26: 0,  # 'c'
-        17: 0,  # 'd'
-        1: 2,  # 'e'
-        27: 0,  # 'f'
-        12: 0,  # 'g'
-        20: 1,  # 'h'
-        9: 2,  # 'i'
-        22: 0,  # 'j'
-        7: 0,  # 'k'
-        6: 0,  # 'l'
-        13: 0,  # 'm'
-        4: 0,  # 'n'
-        8: 2,  # 'o'
-        23: 0,  # 'p'
-        10: 1,  # 'r'
-        5: 1,  # 's'
-        3: 0,  # 't'
-        21: 2,  # 'u'
-        19: 0,  # 'v'
-        62: 0,  # 'x'
-        16: 1,  # 'y'
-        11: 1,  # 'z'
-        51: 2,  # 'Á'
-        44: 2,  # 'É'
-        61: 1,  # 'Í'
-        58: 1,  # 'Ó'
-        59: 1,  # 'Ö'
-        60: 1,  # 'Ú'
-        63: 1,  # 'Ü'
-        14: 2,  # 'á'
-        15: 1,  # 'é'
-        30: 1,  # 'í'
-        25: 1,  # 'ó'
-        24: 2,  # 'ö'
-        31: 1,  # 'ú'
-        29: 1,  # 'ü'
-        42: 1,  # 'ő'
-        56: 1,  # 'ű'
-    },
-    57: {  # 'U'
-        28: 1,  # 'A'
-        40: 1,  # 'B'
-        54: 1,  # 'C'
-        45: 1,  # 'D'
-        32: 1,  # 'E'
-        50: 1,  # 'F'
-        49: 1,  # 'G'
-        38: 1,  # 'H'
-        39: 1,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 1,  # 'L'
-        34: 1,  # 'M'
-        35: 1,  # 'N'
-        47: 1,  # 'O'
-        46: 1,  # 'P'
-        43: 1,  # 'R'
-        33: 2,  # 'S'
-        37: 1,  # 'T'
-        57: 0,  # 'U'
-        48: 1,  # 'V'
-        55: 0,  # 'Y'
-        52: 1,  # 'Z'
-        2: 0,  # 'a'
-        18: 1,  # 'b'
-        26: 1,  # 'c'
-        17: 1,  # 'd'
-        1: 1,  # 'e'
-        27: 0,  # 'f'
-        12: 2,  # 'g'
-        20: 0,  # 'h'
-        9: 0,  # 'i'
-        22: 1,  # 'j'
-        7: 1,  # 'k'
-        6: 1,  # 'l'
-        13: 1,  # 'm'
-        4: 1,  # 'n'
-        8: 0,  # 'o'
-        23: 1,  # 'p'
-        10: 1,  # 'r'
-        5: 1,  # 's'
-        3: 1,  # 't'
-        21: 0,  # 'u'
-        19: 0,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 1,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 1,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 0,  # 'á'
-        15: 0,  # 'é'
-        30: 0,  # 'í'
-        25: 0,  # 'ó'
-        24: 0,  # 'ö'
-        31: 0,  # 'ú'
-        29: 0,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    48: {  # 'V'
-        28: 2,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 1,  # 'D'
-        32: 2,  # 'E'
-        50: 1,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 2,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 0,  # 'L'
-        34: 1,  # 'M'
-        35: 1,  # 'N'
-        47: 1,  # 'O'
-        46: 1,  # 'P'
-        43: 1,  # 'R'
-        33: 1,  # 'S'
-        37: 1,  # 'T'
-        57: 1,  # 'U'
-        48: 1,  # 'V'
-        55: 1,  # 'Y'
-        52: 0,  # 'Z'
-        2: 3,  # 'a'
-        18: 0,  # 'b'
-        26: 0,  # 'c'
-        17: 0,  # 'd'
-        1: 2,  # 'e'
-        27: 0,  # 'f'
-        12: 0,  # 'g'
-        20: 0,  # 'h'
-        9: 2,  # 'i'
-        22: 0,  # 'j'
-        7: 0,  # 'k'
-        6: 1,  # 'l'
-        13: 0,  # 'm'
-        4: 0,  # 'n'
-        8: 2,  # 'o'
-        23: 0,  # 'p'
-        10: 0,  # 'r'
-        5: 0,  # 's'
-        3: 0,  # 't'
-        21: 1,  # 'u'
-        19: 0,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 0,  # 'z'
-        51: 2,  # 'Á'
-        44: 2,  # 'É'
-        61: 1,  # 'Í'
-        58: 1,  # 'Ó'
-        59: 1,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 1,  # 'Ü'
-        14: 2,  # 'á'
-        15: 2,  # 'é'
-        30: 1,  # 'í'
-        25: 0,  # 'ó'
-        24: 1,  # 'ö'
-        31: 0,  # 'ú'
-        29: 0,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    55: {  # 'Y'
-        28: 2,  # 'A'
-        40: 1,  # 'B'
-        54: 1,  # 'C'
-        45: 1,  # 'D'
-        32: 2,  # 'E'
-        50: 1,  # 'F'
-        49: 1,  # 'G'
-        38: 1,  # 'H'
-        39: 1,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 1,  # 'L'
-        34: 1,  # 'M'
-        35: 1,  # 'N'
-        47: 1,  # 'O'
-        46: 1,  # 'P'
-        43: 1,  # 'R'
-        33: 1,  # 'S'
-        37: 1,  # 'T'
-        57: 1,  # 'U'
-        48: 1,  # 'V'
-        55: 0,  # 'Y'
-        52: 2,  # 'Z'
-        2: 1,  # 'a'
-        18: 0,  # 'b'
-        26: 0,  # 'c'
-        17: 1,  # 'd'
-        1: 1,  # 'e'
-        27: 0,  # 'f'
-        12: 0,  # 'g'
-        20: 0,  # 'h'
-        9: 0,  # 'i'
-        22: 0,  # 'j'
-        7: 0,  # 'k'
-        6: 0,  # 'l'
-        13: 0,  # 'm'
-        4: 0,  # 'n'
-        8: 1,  # 'o'
-        23: 1,  # 'p'
-        10: 0,  # 'r'
-        5: 0,  # 's'
-        3: 0,  # 't'
-        21: 0,  # 'u'
-        19: 1,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 0,  # 'z'
-        51: 1,  # 'Á'
-        44: 1,  # 'É'
-        61: 1,  # 'Í'
-        58: 1,  # 'Ó'
-        59: 1,  # 'Ö'
-        60: 1,  # 'Ú'
-        63: 1,  # 'Ü'
-        14: 0,  # 'á'
-        15: 0,  # 'é'
-        30: 0,  # 'í'
-        25: 0,  # 'ó'
-        24: 0,  # 'ö'
-        31: 0,  # 'ú'
-        29: 0,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    52: {  # 'Z'
-        28: 2,  # 'A'
-        40: 1,  # 'B'
-        54: 0,  # 'C'
-        45: 1,  # 'D'
-        32: 2,  # 'E'
-        50: 1,  # 'F'
-        49: 1,  # 'G'
-        38: 1,  # 'H'
-        39: 2,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 1,  # 'L'
-        34: 1,  # 'M'
-        35: 1,  # 'N'
-        47: 2,  # 'O'
-        46: 1,  # 'P'
-        43: 1,  # 'R'
-        33: 2,  # 'S'
-        37: 1,  # 'T'
-        57: 1,  # 'U'
-        48: 1,  # 'V'
-        55: 1,  # 'Y'
-        52: 1,  # 'Z'
-        2: 1,  # 'a'
-        18: 0,  # 'b'
-        26: 0,  # 'c'
-        17: 0,  # 'd'
-        1: 1,  # 'e'
-        27: 0,  # 'f'
-        12: 0,  # 'g'
-        20: 0,  # 'h'
-        9: 1,  # 'i'
-        22: 0,  # 'j'
-        7: 0,  # 'k'
-        6: 0,  # 'l'
-        13: 0,  # 'm'
-        4: 1,  # 'n'
-        8: 1,  # 'o'
-        23: 0,  # 'p'
-        10: 1,  # 'r'
-        5: 2,  # 's'
-        3: 0,  # 't'
-        21: 1,  # 'u'
-        19: 0,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 0,  # 'z'
-        51: 2,  # 'Á'
-        44: 1,  # 'É'
-        61: 1,  # 'Í'
-        58: 1,  # 'Ó'
-        59: 1,  # 'Ö'
-        60: 1,  # 'Ú'
-        63: 1,  # 'Ü'
-        14: 1,  # 'á'
-        15: 1,  # 'é'
-        30: 0,  # 'í'
-        25: 0,  # 'ó'
-        24: 1,  # 'ö'
-        31: 1,  # 'ú'
-        29: 1,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    2: {  # 'a'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 1,  # 'a'
-        18: 3,  # 'b'
-        26: 3,  # 'c'
-        17: 3,  # 'd'
-        1: 2,  # 'e'
-        27: 2,  # 'f'
-        12: 3,  # 'g'
-        20: 3,  # 'h'
-        9: 3,  # 'i'
-        22: 3,  # 'j'
-        7: 3,  # 'k'
-        6: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        8: 2,  # 'o'
-        23: 3,  # 'p'
-        10: 3,  # 'r'
-        5: 3,  # 's'
-        3: 3,  # 't'
-        21: 3,  # 'u'
-        19: 3,  # 'v'
-        62: 1,  # 'x'
-        16: 2,  # 'y'
-        11: 3,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 1,  # 'á'
-        15: 1,  # 'é'
-        30: 1,  # 'í'
-        25: 1,  # 'ó'
-        24: 1,  # 'ö'
-        31: 1,  # 'ú'
-        29: 1,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    18: {  # 'b'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 3,  # 'a'
-        18: 3,  # 'b'
-        26: 1,  # 'c'
-        17: 1,  # 'd'
-        1: 3,  # 'e'
-        27: 1,  # 'f'
-        12: 1,  # 'g'
-        20: 1,  # 'h'
-        9: 3,  # 'i'
-        22: 2,  # 'j'
-        7: 2,  # 'k'
-        6: 2,  # 'l'
-        13: 1,  # 'm'
-        4: 2,  # 'n'
-        8: 3,  # 'o'
-        23: 1,  # 'p'
-        10: 3,  # 'r'
-        5: 2,  # 's'
-        3: 1,  # 't'
-        21: 3,  # 'u'
-        19: 1,  # 'v'
-        62: 0,  # 'x'
-        16: 1,  # 'y'
-        11: 1,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 3,  # 'á'
-        15: 3,  # 'é'
-        30: 2,  # 'í'
-        25: 3,  # 'ó'
-        24: 2,  # 'ö'
-        31: 2,  # 'ú'
-        29: 2,  # 'ü'
-        42: 2,  # 'ő'
-        56: 1,  # 'ű'
-    },
-    26: {  # 'c'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 1,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 1,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 2,  # 'a'
-        18: 1,  # 'b'
-        26: 2,  # 'c'
-        17: 1,  # 'd'
-        1: 3,  # 'e'
-        27: 1,  # 'f'
-        12: 1,  # 'g'
-        20: 3,  # 'h'
-        9: 3,  # 'i'
-        22: 1,  # 'j'
-        7: 2,  # 'k'
-        6: 1,  # 'l'
-        13: 1,  # 'm'
-        4: 1,  # 'n'
-        8: 3,  # 'o'
-        23: 1,  # 'p'
-        10: 2,  # 'r'
-        5: 3,  # 's'
-        3: 2,  # 't'
-        21: 2,  # 'u'
-        19: 1,  # 'v'
-        62: 0,  # 'x'
-        16: 1,  # 'y'
-        11: 2,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 2,  # 'á'
-        15: 2,  # 'é'
-        30: 2,  # 'í'
-        25: 1,  # 'ó'
-        24: 1,  # 'ö'
-        31: 1,  # 'ú'
-        29: 1,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    17: {  # 'd'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 3,  # 'a'
-        18: 2,  # 'b'
-        26: 1,  # 'c'
-        17: 2,  # 'd'
-        1: 3,  # 'e'
-        27: 1,  # 'f'
-        12: 1,  # 'g'
-        20: 2,  # 'h'
-        9: 3,  # 'i'
-        22: 3,  # 'j'
-        7: 2,  # 'k'
-        6: 1,  # 'l'
-        13: 2,  # 'm'
-        4: 3,  # 'n'
-        8: 3,  # 'o'
-        23: 1,  # 'p'
-        10: 3,  # 'r'
-        5: 3,  # 's'
-        3: 3,  # 't'
-        21: 3,  # 'u'
-        19: 3,  # 'v'
-        62: 0,  # 'x'
-        16: 2,  # 'y'
-        11: 2,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 3,  # 'á'
-        15: 3,  # 'é'
-        30: 3,  # 'í'
-        25: 3,  # 'ó'
-        24: 3,  # 'ö'
-        31: 2,  # 'ú'
-        29: 2,  # 'ü'
-        42: 2,  # 'ő'
-        56: 1,  # 'ű'
-    },
-    1: {  # 'e'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 2,  # 'a'
-        18: 3,  # 'b'
-        26: 3,  # 'c'
-        17: 3,  # 'd'
-        1: 2,  # 'e'
-        27: 3,  # 'f'
-        12: 3,  # 'g'
-        20: 3,  # 'h'
-        9: 3,  # 'i'
-        22: 3,  # 'j'
-        7: 3,  # 'k'
-        6: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        8: 2,  # 'o'
-        23: 3,  # 'p'
-        10: 3,  # 'r'
-        5: 3,  # 's'
-        3: 3,  # 't'
-        21: 2,  # 'u'
-        19: 3,  # 'v'
-        62: 2,  # 'x'
-        16: 2,  # 'y'
-        11: 3,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 3,  # 'á'
-        15: 1,  # 'é'
-        30: 1,  # 'í'
-        25: 1,  # 'ó'
-        24: 1,  # 'ö'
-        31: 1,  # 'ú'
-        29: 1,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    27: {  # 'f'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 3,  # 'a'
-        18: 1,  # 'b'
-        26: 1,  # 'c'
-        17: 1,  # 'd'
-        1: 3,  # 'e'
-        27: 2,  # 'f'
-        12: 1,  # 'g'
-        20: 1,  # 'h'
-        9: 3,  # 'i'
-        22: 2,  # 'j'
-        7: 1,  # 'k'
-        6: 1,  # 'l'
-        13: 1,  # 'm'
-        4: 1,  # 'n'
-        8: 3,  # 'o'
-        23: 0,  # 'p'
-        10: 3,  # 'r'
-        5: 1,  # 's'
-        3: 1,  # 't'
-        21: 2,  # 'u'
-        19: 1,  # 'v'
-        62: 0,  # 'x'
-        16: 1,  # 'y'
-        11: 0,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 3,  # 'á'
-        15: 3,  # 'é'
-        30: 1,  # 'í'
-        25: 1,  # 'ó'
-        24: 3,  # 'ö'
-        31: 1,  # 'ú'
-        29: 2,  # 'ü'
-        42: 1,  # 'ő'
-        56: 1,  # 'ű'
-    },
-    12: {  # 'g'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 3,  # 'a'
-        18: 3,  # 'b'
-        26: 2,  # 'c'
-        17: 2,  # 'd'
-        1: 3,  # 'e'
-        27: 2,  # 'f'
-        12: 3,  # 'g'
-        20: 3,  # 'h'
-        9: 3,  # 'i'
-        22: 3,  # 'j'
-        7: 2,  # 'k'
-        6: 3,  # 'l'
-        13: 2,  # 'm'
-        4: 3,  # 'n'
-        8: 3,  # 'o'
-        23: 1,  # 'p'
-        10: 3,  # 'r'
-        5: 3,  # 's'
-        3: 3,  # 't'
-        21: 3,  # 'u'
-        19: 3,  # 'v'
-        62: 0,  # 'x'
-        16: 3,  # 'y'
-        11: 2,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 3,  # 'á'
-        15: 3,  # 'é'
-        30: 2,  # 'í'
-        25: 3,  # 'ó'
-        24: 2,  # 'ö'
-        31: 2,  # 'ú'
-        29: 2,  # 'ü'
-        42: 2,  # 'ő'
-        56: 1,  # 'ű'
-    },
-    20: {  # 'h'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 3,  # 'a'
-        18: 1,  # 'b'
-        26: 1,  # 'c'
-        17: 0,  # 'd'
-        1: 3,  # 'e'
-        27: 0,  # 'f'
-        12: 1,  # 'g'
-        20: 2,  # 'h'
-        9: 3,  # 'i'
-        22: 1,  # 'j'
-        7: 1,  # 'k'
-        6: 1,  # 'l'
-        13: 1,  # 'm'
-        4: 1,  # 'n'
-        8: 3,  # 'o'
-        23: 0,  # 'p'
-        10: 1,  # 'r'
-        5: 2,  # 's'
-        3: 1,  # 't'
-        21: 3,  # 'u'
-        19: 1,  # 'v'
-        62: 0,  # 'x'
-        16: 2,  # 'y'
-        11: 0,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 3,  # 'á'
-        15: 3,  # 'é'
-        30: 3,  # 'í'
-        25: 2,  # 'ó'
-        24: 2,  # 'ö'
-        31: 2,  # 'ú'
-        29: 1,  # 'ü'
-        42: 1,  # 'ő'
-        56: 1,  # 'ű'
-    },
-    9: {  # 'i'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 3,  # 'a'
-        18: 3,  # 'b'
-        26: 3,  # 'c'
-        17: 3,  # 'd'
-        1: 3,  # 'e'
-        27: 3,  # 'f'
-        12: 3,  # 'g'
-        20: 3,  # 'h'
-        9: 2,  # 'i'
-        22: 2,  # 'j'
-        7: 3,  # 'k'
-        6: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        8: 2,  # 'o'
-        23: 2,  # 'p'
-        10: 3,  # 'r'
-        5: 3,  # 's'
-        3: 3,  # 't'
-        21: 3,  # 'u'
-        19: 3,  # 'v'
-        62: 1,  # 'x'
-        16: 1,  # 'y'
-        11: 3,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 3,  # 'á'
-        15: 2,  # 'é'
-        30: 1,  # 'í'
-        25: 3,  # 'ó'
-        24: 1,  # 'ö'
-        31: 2,  # 'ú'
-        29: 1,  # 'ü'
-        42: 0,  # 'ő'
-        56: 1,  # 'ű'
-    },
-    22: {  # 'j'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 3,  # 'a'
-        18: 2,  # 'b'
-        26: 1,  # 'c'
-        17: 3,  # 'd'
-        1: 3,  # 'e'
-        27: 1,  # 'f'
-        12: 1,  # 'g'
-        20: 2,  # 'h'
-        9: 1,  # 'i'
-        22: 2,  # 'j'
-        7: 2,  # 'k'
-        6: 2,  # 'l'
-        13: 1,  # 'm'
-        4: 2,  # 'n'
-        8: 3,  # 'o'
-        23: 1,  # 'p'
-        10: 2,  # 'r'
-        5: 2,  # 's'
-        3: 3,  # 't'
-        21: 3,  # 'u'
-        19: 1,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 2,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 3,  # 'á'
-        15: 3,  # 'é'
-        30: 1,  # 'í'
-        25: 3,  # 'ó'
-        24: 3,  # 'ö'
-        31: 3,  # 'ú'
-        29: 2,  # 'ü'
-        42: 1,  # 'ő'
-        56: 1,  # 'ű'
-    },
-    7: {  # 'k'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 3,  # 'a'
-        18: 3,  # 'b'
-        26: 2,  # 'c'
-        17: 1,  # 'd'
-        1: 3,  # 'e'
-        27: 1,  # 'f'
-        12: 1,  # 'g'
-        20: 2,  # 'h'
-        9: 3,  # 'i'
-        22: 2,  # 'j'
-        7: 3,  # 'k'
-        6: 3,  # 'l'
-        13: 1,  # 'm'
-        4: 3,  # 'n'
-        8: 3,  # 'o'
-        23: 1,  # 'p'
-        10: 3,  # 'r'
-        5: 3,  # 's'
-        3: 3,  # 't'
-        21: 3,  # 'u'
-        19: 2,  # 'v'
-        62: 0,  # 'x'
-        16: 2,  # 'y'
-        11: 1,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 3,  # 'á'
-        15: 3,  # 'é'
-        30: 3,  # 'í'
-        25: 2,  # 'ó'
-        24: 3,  # 'ö'
-        31: 1,  # 'ú'
-        29: 3,  # 'ü'
-        42: 1,  # 'ő'
-        56: 1,  # 'ű'
-    },
-    6: {  # 'l'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 1,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 1,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 3,  # 'a'
-        18: 2,  # 'b'
-        26: 3,  # 'c'
-        17: 3,  # 'd'
-        1: 3,  # 'e'
-        27: 3,  # 'f'
-        12: 3,  # 'g'
-        20: 3,  # 'h'
-        9: 3,  # 'i'
-        22: 3,  # 'j'
-        7: 3,  # 'k'
-        6: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        8: 3,  # 'o'
-        23: 2,  # 'p'
-        10: 2,  # 'r'
-        5: 3,  # 's'
-        3: 3,  # 't'
-        21: 3,  # 'u'
-        19: 3,  # 'v'
-        62: 0,  # 'x'
-        16: 3,  # 'y'
-        11: 2,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 3,  # 'á'
-        15: 3,  # 'é'
-        30: 3,  # 'í'
-        25: 3,  # 'ó'
-        24: 3,  # 'ö'
-        31: 2,  # 'ú'
-        29: 2,  # 'ü'
-        42: 3,  # 'ő'
-        56: 1,  # 'ű'
-    },
-    13: {  # 'm'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 3,  # 'a'
-        18: 3,  # 'b'
-        26: 2,  # 'c'
-        17: 1,  # 'd'
-        1: 3,  # 'e'
-        27: 1,  # 'f'
-        12: 1,  # 'g'
-        20: 2,  # 'h'
-        9: 3,  # 'i'
-        22: 2,  # 'j'
-        7: 1,  # 'k'
-        6: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 2,  # 'n'
-        8: 3,  # 'o'
-        23: 3,  # 'p'
-        10: 2,  # 'r'
-        5: 2,  # 's'
-        3: 2,  # 't'
-        21: 3,  # 'u'
-        19: 1,  # 'v'
-        62: 0,  # 'x'
-        16: 1,  # 'y'
-        11: 2,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 3,  # 'á'
-        15: 3,  # 'é'
-        30: 2,  # 'í'
-        25: 2,  # 'ó'
-        24: 2,  # 'ö'
-        31: 2,  # 'ú'
-        29: 2,  # 'ü'
-        42: 1,  # 'ő'
-        56: 2,  # 'ű'
-    },
-    4: {  # 'n'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 3,  # 'a'
-        18: 3,  # 'b'
-        26: 3,  # 'c'
-        17: 3,  # 'd'
-        1: 3,  # 'e'
-        27: 2,  # 'f'
-        12: 3,  # 'g'
-        20: 3,  # 'h'
-        9: 3,  # 'i'
-        22: 2,  # 'j'
-        7: 3,  # 'k'
-        6: 2,  # 'l'
-        13: 2,  # 'm'
-        4: 3,  # 'n'
-        8: 3,  # 'o'
-        23: 2,  # 'p'
-        10: 2,  # 'r'
-        5: 3,  # 's'
-        3: 3,  # 't'
-        21: 3,  # 'u'
-        19: 2,  # 'v'
-        62: 1,  # 'x'
-        16: 3,  # 'y'
-        11: 3,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 3,  # 'á'
-        15: 3,  # 'é'
-        30: 2,  # 'í'
-        25: 2,  # 'ó'
-        24: 3,  # 'ö'
-        31: 2,  # 'ú'
-        29: 3,  # 'ü'
-        42: 2,  # 'ő'
-        56: 1,  # 'ű'
-    },
-    8: {  # 'o'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 1,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 2,  # 'a'
-        18: 3,  # 'b'
-        26: 3,  # 'c'
-        17: 3,  # 'd'
-        1: 2,  # 'e'
-        27: 2,  # 'f'
-        12: 3,  # 'g'
-        20: 3,  # 'h'
-        9: 2,  # 'i'
-        22: 2,  # 'j'
-        7: 3,  # 'k'
-        6: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        8: 1,  # 'o'
-        23: 3,  # 'p'
-        10: 3,  # 'r'
-        5: 3,  # 's'
-        3: 3,  # 't'
-        21: 2,  # 'u'
-        19: 3,  # 'v'
-        62: 1,  # 'x'
-        16: 1,  # 'y'
-        11: 3,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 1,  # 'á'
-        15: 2,  # 'é'
-        30: 1,  # 'í'
-        25: 1,  # 'ó'
-        24: 1,  # 'ö'
-        31: 1,  # 'ú'
-        29: 1,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    23: {  # 'p'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 3,  # 'a'
-        18: 1,  # 'b'
-        26: 2,  # 'c'
-        17: 1,  # 'd'
-        1: 3,  # 'e'
-        27: 1,  # 'f'
-        12: 1,  # 'g'
-        20: 2,  # 'h'
-        9: 3,  # 'i'
-        22: 2,  # 'j'
-        7: 2,  # 'k'
-        6: 3,  # 'l'
-        13: 1,  # 'm'
-        4: 2,  # 'n'
-        8: 3,  # 'o'
-        23: 3,  # 'p'
-        10: 3,  # 'r'
-        5: 2,  # 's'
-        3: 2,  # 't'
-        21: 3,  # 'u'
-        19: 2,  # 'v'
-        62: 0,  # 'x'
-        16: 1,  # 'y'
-        11: 2,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 3,  # 'á'
-        15: 3,  # 'é'
-        30: 2,  # 'í'
-        25: 2,  # 'ó'
-        24: 2,  # 'ö'
-        31: 1,  # 'ú'
-        29: 2,  # 'ü'
-        42: 1,  # 'ő'
-        56: 1,  # 'ű'
-    },
-    10: {  # 'r'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 3,  # 'a'
-        18: 3,  # 'b'
-        26: 3,  # 'c'
-        17: 3,  # 'd'
-        1: 3,  # 'e'
-        27: 2,  # 'f'
-        12: 3,  # 'g'
-        20: 2,  # 'h'
-        9: 3,  # 'i'
-        22: 3,  # 'j'
-        7: 3,  # 'k'
-        6: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        8: 3,  # 'o'
-        23: 2,  # 'p'
-        10: 3,  # 'r'
-        5: 3,  # 's'
-        3: 3,  # 't'
-        21: 3,  # 'u'
-        19: 3,  # 'v'
-        62: 1,  # 'x'
-        16: 2,  # 'y'
-        11: 3,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 3,  # 'á'
-        15: 3,  # 'é'
-        30: 2,  # 'í'
-        25: 3,  # 'ó'
-        24: 3,  # 'ö'
-        31: 3,  # 'ú'
-        29: 3,  # 'ü'
-        42: 2,  # 'ő'
-        56: 2,  # 'ű'
-    },
-    5: {  # 's'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 3,  # 'a'
-        18: 3,  # 'b'
-        26: 2,  # 'c'
-        17: 2,  # 'd'
-        1: 3,  # 'e'
-        27: 2,  # 'f'
-        12: 2,  # 'g'
-        20: 2,  # 'h'
-        9: 3,  # 'i'
-        22: 1,  # 'j'
-        7: 3,  # 'k'
-        6: 2,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        8: 3,  # 'o'
-        23: 2,  # 'p'
-        10: 3,  # 'r'
-        5: 3,  # 's'
-        3: 3,  # 't'
-        21: 3,  # 'u'
-        19: 2,  # 'v'
-        62: 0,  # 'x'
-        16: 1,  # 'y'
-        11: 3,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 3,  # 'á'
-        15: 3,  # 'é'
-        30: 3,  # 'í'
-        25: 3,  # 'ó'
-        24: 3,  # 'ö'
-        31: 3,  # 'ú'
-        29: 3,  # 'ü'
-        42: 2,  # 'ő'
-        56: 1,  # 'ű'
-    },
-    3: {  # 't'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 3,  # 'a'
-        18: 3,  # 'b'
-        26: 2,  # 'c'
-        17: 1,  # 'd'
-        1: 3,  # 'e'
-        27: 2,  # 'f'
-        12: 1,  # 'g'
-        20: 3,  # 'h'
-        9: 3,  # 'i'
-        22: 3,  # 'j'
-        7: 3,  # 'k'
-        6: 3,  # 'l'
-        13: 2,  # 'm'
-        4: 3,  # 'n'
-        8: 3,  # 'o'
-        23: 1,  # 'p'
-        10: 3,  # 'r'
-        5: 3,  # 's'
-        3: 3,  # 't'
-        21: 3,  # 'u'
-        19: 3,  # 'v'
-        62: 0,  # 'x'
-        16: 3,  # 'y'
-        11: 1,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 3,  # 'á'
-        15: 3,  # 'é'
-        30: 2,  # 'í'
-        25: 3,  # 'ó'
-        24: 3,  # 'ö'
-        31: 3,  # 'ú'
-        29: 3,  # 'ü'
-        42: 3,  # 'ő'
-        56: 2,  # 'ű'
-    },
-    21: {  # 'u'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 1,  # 'a'
-        18: 2,  # 'b'
-        26: 2,  # 'c'
-        17: 3,  # 'd'
-        1: 2,  # 'e'
-        27: 1,  # 'f'
-        12: 3,  # 'g'
-        20: 2,  # 'h'
-        9: 2,  # 'i'
-        22: 2,  # 'j'
-        7: 3,  # 'k'
-        6: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        8: 1,  # 'o'
-        23: 2,  # 'p'
-        10: 3,  # 'r'
-        5: 3,  # 's'
-        3: 3,  # 't'
-        21: 1,  # 'u'
-        19: 3,  # 'v'
-        62: 1,  # 'x'
-        16: 1,  # 'y'
-        11: 2,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 2,  # 'á'
-        15: 1,  # 'é'
-        30: 1,  # 'í'
-        25: 1,  # 'ó'
-        24: 0,  # 'ö'
-        31: 1,  # 'ú'
-        29: 0,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    19: {  # 'v'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 3,  # 'a'
-        18: 2,  # 'b'
-        26: 1,  # 'c'
-        17: 1,  # 'd'
-        1: 3,  # 'e'
-        27: 1,  # 'f'
-        12: 1,  # 'g'
-        20: 1,  # 'h'
-        9: 3,  # 'i'
-        22: 1,  # 'j'
-        7: 1,  # 'k'
-        6: 1,  # 'l'
-        13: 1,  # 'm'
-        4: 1,  # 'n'
-        8: 3,  # 'o'
-        23: 1,  # 'p'
-        10: 1,  # 'r'
-        5: 2,  # 's'
-        3: 2,  # 't'
-        21: 2,  # 'u'
-        19: 2,  # 'v'
-        62: 0,  # 'x'
-        16: 1,  # 'y'
-        11: 1,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 3,  # 'á'
-        15: 3,  # 'é'
-        30: 2,  # 'í'
-        25: 2,  # 'ó'
-        24: 2,  # 'ö'
-        31: 1,  # 'ú'
-        29: 2,  # 'ü'
-        42: 1,  # 'ő'
-        56: 1,  # 'ű'
-    },
-    62: {  # 'x'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 1,  # 'a'
-        18: 1,  # 'b'
-        26: 1,  # 'c'
-        17: 0,  # 'd'
-        1: 1,  # 'e'
-        27: 1,  # 'f'
-        12: 0,  # 'g'
-        20: 0,  # 'h'
-        9: 1,  # 'i'
-        22: 0,  # 'j'
-        7: 1,  # 'k'
-        6: 1,  # 'l'
-        13: 1,  # 'm'
-        4: 1,  # 'n'
-        8: 1,  # 'o'
-        23: 1,  # 'p'
-        10: 1,  # 'r'
-        5: 1,  # 's'
-        3: 1,  # 't'
-        21: 1,  # 'u'
-        19: 0,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 0,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 1,  # 'á'
-        15: 1,  # 'é'
-        30: 1,  # 'í'
-        25: 1,  # 'ó'
-        24: 0,  # 'ö'
-        31: 0,  # 'ú'
-        29: 0,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    16: {  # 'y'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 3,  # 'a'
-        18: 2,  # 'b'
-        26: 1,  # 'c'
-        17: 1,  # 'd'
-        1: 3,  # 'e'
-        27: 2,  # 'f'
-        12: 2,  # 'g'
-        20: 2,  # 'h'
-        9: 3,  # 'i'
-        22: 2,  # 'j'
-        7: 2,  # 'k'
-        6: 2,  # 'l'
-        13: 2,  # 'm'
-        4: 3,  # 'n'
-        8: 3,  # 'o'
-        23: 2,  # 'p'
-        10: 2,  # 'r'
-        5: 3,  # 's'
-        3: 3,  # 't'
-        21: 3,  # 'u'
-        19: 3,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 2,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 3,  # 'á'
-        15: 3,  # 'é'
-        30: 2,  # 'í'
-        25: 2,  # 'ó'
-        24: 3,  # 'ö'
-        31: 2,  # 'ú'
-        29: 2,  # 'ü'
-        42: 1,  # 'ő'
-        56: 2,  # 'ű'
-    },
-    11: {  # 'z'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 3,  # 'a'
-        18: 2,  # 'b'
-        26: 1,  # 'c'
-        17: 3,  # 'd'
-        1: 3,  # 'e'
-        27: 1,  # 'f'
-        12: 2,  # 'g'
-        20: 2,  # 'h'
-        9: 3,  # 'i'
-        22: 1,  # 'j'
-        7: 3,  # 'k'
-        6: 2,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        8: 3,  # 'o'
-        23: 1,  # 'p'
-        10: 2,  # 'r'
-        5: 3,  # 's'
-        3: 3,  # 't'
-        21: 3,  # 'u'
-        19: 2,  # 'v'
-        62: 0,  # 'x'
-        16: 1,  # 'y'
-        11: 3,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 3,  # 'á'
-        15: 3,  # 'é'
-        30: 3,  # 'í'
-        25: 3,  # 'ó'
-        24: 3,  # 'ö'
-        31: 2,  # 'ú'
-        29: 3,  # 'ü'
-        42: 2,  # 'ő'
-        56: 1,  # 'ű'
-    },
-    51: {  # 'Á'
-        28: 0,  # 'A'
-        40: 1,  # 'B'
-        54: 1,  # 'C'
-        45: 1,  # 'D'
-        32: 0,  # 'E'
-        50: 1,  # 'F'
-        49: 2,  # 'G'
-        38: 1,  # 'H'
-        39: 1,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 2,  # 'L'
-        34: 1,  # 'M'
-        35: 2,  # 'N'
-        47: 0,  # 'O'
-        46: 1,  # 'P'
-        43: 2,  # 'R'
-        33: 2,  # 'S'
-        37: 1,  # 'T'
-        57: 0,  # 'U'
-        48: 1,  # 'V'
-        55: 0,  # 'Y'
-        52: 1,  # 'Z'
-        2: 0,  # 'a'
-        18: 1,  # 'b'
-        26: 1,  # 'c'
-        17: 1,  # 'd'
-        1: 0,  # 'e'
-        27: 0,  # 'f'
-        12: 1,  # 'g'
-        20: 1,  # 'h'
-        9: 0,  # 'i'
-        22: 1,  # 'j'
-        7: 1,  # 'k'
-        6: 2,  # 'l'
-        13: 2,  # 'm'
-        4: 0,  # 'n'
-        8: 0,  # 'o'
-        23: 1,  # 'p'
-        10: 1,  # 'r'
-        5: 1,  # 's'
-        3: 1,  # 't'
-        21: 0,  # 'u'
-        19: 0,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 1,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 1,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 0,  # 'á'
-        15: 0,  # 'é'
-        30: 0,  # 'í'
-        25: 0,  # 'ó'
-        24: 0,  # 'ö'
-        31: 0,  # 'ú'
-        29: 0,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    44: {  # 'É'
-        28: 0,  # 'A'
-        40: 1,  # 'B'
-        54: 1,  # 'C'
-        45: 1,  # 'D'
-        32: 1,  # 'E'
-        50: 0,  # 'F'
-        49: 2,  # 'G'
-        38: 1,  # 'H'
-        39: 1,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 2,  # 'L'
-        34: 1,  # 'M'
-        35: 2,  # 'N'
-        47: 0,  # 'O'
-        46: 1,  # 'P'
-        43: 2,  # 'R'
-        33: 2,  # 'S'
-        37: 2,  # 'T'
-        57: 0,  # 'U'
-        48: 1,  # 'V'
-        55: 0,  # 'Y'
-        52: 1,  # 'Z'
-        2: 0,  # 'a'
-        18: 1,  # 'b'
-        26: 1,  # 'c'
-        17: 1,  # 'd'
-        1: 0,  # 'e'
-        27: 0,  # 'f'
-        12: 1,  # 'g'
-        20: 1,  # 'h'
-        9: 0,  # 'i'
-        22: 1,  # 'j'
-        7: 1,  # 'k'
-        6: 2,  # 'l'
-        13: 1,  # 'm'
-        4: 2,  # 'n'
-        8: 0,  # 'o'
-        23: 1,  # 'p'
-        10: 2,  # 'r'
-        5: 3,  # 's'
-        3: 1,  # 't'
-        21: 0,  # 'u'
-        19: 1,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 0,  # 'z'
-        51: 0,  # 'Á'
-        44: 1,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 0,  # 'á'
-        15: 0,  # 'é'
-        30: 0,  # 'í'
-        25: 0,  # 'ó'
-        24: 0,  # 'ö'
-        31: 0,  # 'ú'
-        29: 0,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    61: {  # 'Í'
-        28: 0,  # 'A'
-        40: 1,  # 'B'
-        54: 1,  # 'C'
-        45: 1,  # 'D'
-        32: 0,  # 'E'
-        50: 1,  # 'F'
-        49: 1,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 1,  # 'J'
-        36: 0,  # 'K'
-        41: 1,  # 'L'
-        34: 1,  # 'M'
-        35: 1,  # 'N'
-        47: 0,  # 'O'
-        46: 1,  # 'P'
-        43: 1,  # 'R'
-        33: 1,  # 'S'
-        37: 1,  # 'T'
-        57: 0,  # 'U'
-        48: 1,  # 'V'
-        55: 0,  # 'Y'
-        52: 1,  # 'Z'
-        2: 0,  # 'a'
-        18: 0,  # 'b'
-        26: 0,  # 'c'
-        17: 0,  # 'd'
-        1: 0,  # 'e'
-        27: 0,  # 'f'
-        12: 2,  # 'g'
-        20: 0,  # 'h'
-        9: 0,  # 'i'
-        22: 0,  # 'j'
-        7: 0,  # 'k'
-        6: 0,  # 'l'
-        13: 1,  # 'm'
-        4: 0,  # 'n'
-        8: 0,  # 'o'
-        23: 0,  # 'p'
-        10: 1,  # 'r'
-        5: 0,  # 's'
-        3: 1,  # 't'
-        21: 0,  # 'u'
-        19: 0,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 1,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 0,  # 'á'
-        15: 0,  # 'é'
-        30: 0,  # 'í'
-        25: 0,  # 'ó'
-        24: 0,  # 'ö'
-        31: 0,  # 'ú'
-        29: 0,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    58: {  # 'Ó'
-        28: 1,  # 'A'
-        40: 1,  # 'B'
-        54: 1,  # 'C'
-        45: 1,  # 'D'
-        32: 0,  # 'E'
-        50: 1,  # 'F'
-        49: 1,  # 'G'
-        38: 1,  # 'H'
-        39: 1,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 2,  # 'L'
-        34: 1,  # 'M'
-        35: 1,  # 'N'
-        47: 0,  # 'O'
-        46: 1,  # 'P'
-        43: 1,  # 'R'
-        33: 1,  # 'S'
-        37: 1,  # 'T'
-        57: 0,  # 'U'
-        48: 1,  # 'V'
-        55: 0,  # 'Y'
-        52: 1,  # 'Z'
-        2: 0,  # 'a'
-        18: 1,  # 'b'
-        26: 1,  # 'c'
-        17: 1,  # 'd'
-        1: 0,  # 'e'
-        27: 0,  # 'f'
-        12: 0,  # 'g'
-        20: 2,  # 'h'
-        9: 0,  # 'i'
-        22: 0,  # 'j'
-        7: 1,  # 'k'
-        6: 1,  # 'l'
-        13: 0,  # 'm'
-        4: 1,  # 'n'
-        8: 0,  # 'o'
-        23: 1,  # 'p'
-        10: 1,  # 'r'
-        5: 1,  # 's'
-        3: 0,  # 't'
-        21: 0,  # 'u'
-        19: 1,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 1,  # 'z'
-        51: 0,  # 'Á'
-        44: 1,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 0,  # 'á'
-        15: 0,  # 'é'
-        30: 0,  # 'í'
-        25: 0,  # 'ó'
-        24: 0,  # 'ö'
-        31: 0,  # 'ú'
-        29: 0,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    59: {  # 'Ö'
-        28: 0,  # 'A'
-        40: 1,  # 'B'
-        54: 1,  # 'C'
-        45: 1,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 1,  # 'G'
-        38: 1,  # 'H'
-        39: 0,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 1,  # 'L'
-        34: 1,  # 'M'
-        35: 1,  # 'N'
-        47: 0,  # 'O'
-        46: 1,  # 'P'
-        43: 1,  # 'R'
-        33: 1,  # 'S'
-        37: 1,  # 'T'
-        57: 0,  # 'U'
-        48: 1,  # 'V'
-        55: 0,  # 'Y'
-        52: 1,  # 'Z'
-        2: 0,  # 'a'
-        18: 0,  # 'b'
-        26: 1,  # 'c'
-        17: 1,  # 'd'
-        1: 0,  # 'e'
-        27: 0,  # 'f'
-        12: 0,  # 'g'
-        20: 0,  # 'h'
-        9: 0,  # 'i'
-        22: 0,  # 'j'
-        7: 1,  # 'k'
-        6: 1,  # 'l'
-        13: 1,  # 'm'
-        4: 1,  # 'n'
-        8: 0,  # 'o'
-        23: 0,  # 'p'
-        10: 2,  # 'r'
-        5: 1,  # 's'
-        3: 1,  # 't'
-        21: 0,  # 'u'
-        19: 1,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 1,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 0,  # 'á'
-        15: 0,  # 'é'
-        30: 0,  # 'í'
-        25: 0,  # 'ó'
-        24: 0,  # 'ö'
-        31: 0,  # 'ú'
-        29: 0,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    60: {  # 'Ú'
-        28: 0,  # 'A'
-        40: 1,  # 'B'
-        54: 1,  # 'C'
-        45: 1,  # 'D'
-        32: 0,  # 'E'
-        50: 1,  # 'F'
-        49: 1,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 1,  # 'L'
-        34: 1,  # 'M'
-        35: 1,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 1,  # 'R'
-        33: 1,  # 'S'
-        37: 1,  # 'T'
-        57: 0,  # 'U'
-        48: 1,  # 'V'
-        55: 0,  # 'Y'
-        52: 1,  # 'Z'
-        2: 0,  # 'a'
-        18: 0,  # 'b'
-        26: 0,  # 'c'
-        17: 0,  # 'd'
-        1: 0,  # 'e'
-        27: 0,  # 'f'
-        12: 2,  # 'g'
-        20: 0,  # 'h'
-        9: 0,  # 'i'
-        22: 2,  # 'j'
-        7: 0,  # 'k'
-        6: 0,  # 'l'
-        13: 0,  # 'm'
-        4: 1,  # 'n'
-        8: 0,  # 'o'
-        23: 0,  # 'p'
-        10: 1,  # 'r'
-        5: 1,  # 's'
-        3: 1,  # 't'
-        21: 0,  # 'u'
-        19: 0,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 0,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 0,  # 'á'
-        15: 0,  # 'é'
-        30: 0,  # 'í'
-        25: 0,  # 'ó'
-        24: 0,  # 'ö'
-        31: 0,  # 'ú'
-        29: 0,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    63: {  # 'Ü'
-        28: 0,  # 'A'
-        40: 1,  # 'B'
-        54: 0,  # 'C'
-        45: 1,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 1,  # 'G'
-        38: 1,  # 'H'
-        39: 0,  # 'I'
-        53: 1,  # 'J'
-        36: 1,  # 'K'
-        41: 1,  # 'L'
-        34: 1,  # 'M'
-        35: 1,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 1,  # 'R'
-        33: 1,  # 'S'
-        37: 1,  # 'T'
-        57: 0,  # 'U'
-        48: 1,  # 'V'
-        55: 0,  # 'Y'
-        52: 1,  # 'Z'
-        2: 0,  # 'a'
-        18: 1,  # 'b'
-        26: 0,  # 'c'
-        17: 1,  # 'd'
-        1: 0,  # 'e'
-        27: 0,  # 'f'
-        12: 1,  # 'g'
-        20: 0,  # 'h'
-        9: 0,  # 'i'
-        22: 0,  # 'j'
-        7: 0,  # 'k'
-        6: 1,  # 'l'
-        13: 0,  # 'm'
-        4: 1,  # 'n'
-        8: 0,  # 'o'
-        23: 0,  # 'p'
-        10: 1,  # 'r'
-        5: 1,  # 's'
-        3: 1,  # 't'
-        21: 0,  # 'u'
-        19: 1,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 1,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 0,  # 'á'
-        15: 0,  # 'é'
-        30: 0,  # 'í'
-        25: 0,  # 'ó'
-        24: 0,  # 'ö'
-        31: 0,  # 'ú'
-        29: 0,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    14: {  # 'á'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 1,  # 'a'
-        18: 3,  # 'b'
-        26: 3,  # 'c'
-        17: 3,  # 'd'
-        1: 1,  # 'e'
-        27: 2,  # 'f'
-        12: 3,  # 'g'
-        20: 2,  # 'h'
-        9: 2,  # 'i'
-        22: 3,  # 'j'
-        7: 3,  # 'k'
-        6: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        8: 1,  # 'o'
-        23: 2,  # 'p'
-        10: 3,  # 'r'
-        5: 3,  # 's'
-        3: 3,  # 't'
-        21: 2,  # 'u'
-        19: 3,  # 'v'
-        62: 0,  # 'x'
-        16: 1,  # 'y'
-        11: 3,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 1,  # 'á'
-        15: 2,  # 'é'
-        30: 1,  # 'í'
-        25: 0,  # 'ó'
-        24: 1,  # 'ö'
-        31: 0,  # 'ú'
-        29: 1,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    15: {  # 'é'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 1,  # 'a'
-        18: 3,  # 'b'
-        26: 2,  # 'c'
-        17: 3,  # 'd'
-        1: 1,  # 'e'
-        27: 1,  # 'f'
-        12: 3,  # 'g'
-        20: 3,  # 'h'
-        9: 2,  # 'i'
-        22: 2,  # 'j'
-        7: 3,  # 'k'
-        6: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        8: 1,  # 'o'
-        23: 3,  # 'p'
-        10: 3,  # 'r'
-        5: 3,  # 's'
-        3: 3,  # 't'
-        21: 0,  # 'u'
-        19: 3,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 3,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 1,  # 'á'
-        15: 1,  # 'é'
-        30: 0,  # 'í'
-        25: 0,  # 'ó'
-        24: 0,  # 'ö'
-        31: 0,  # 'ú'
-        29: 1,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    30: {  # 'í'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 0,  # 'a'
-        18: 1,  # 'b'
-        26: 2,  # 'c'
-        17: 1,  # 'd'
-        1: 0,  # 'e'
-        27: 1,  # 'f'
-        12: 3,  # 'g'
-        20: 0,  # 'h'
-        9: 0,  # 'i'
-        22: 1,  # 'j'
-        7: 1,  # 'k'
-        6: 2,  # 'l'
-        13: 2,  # 'm'
-        4: 3,  # 'n'
-        8: 0,  # 'o'
-        23: 1,  # 'p'
-        10: 3,  # 'r'
-        5: 2,  # 's'
-        3: 3,  # 't'
-        21: 0,  # 'u'
-        19: 3,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 2,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 0,  # 'á'
-        15: 0,  # 'é'
-        30: 0,  # 'í'
-        25: 0,  # 'ó'
-        24: 0,  # 'ö'
-        31: 0,  # 'ú'
-        29: 0,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    25: {  # 'ó'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 2,  # 'a'
-        18: 3,  # 'b'
-        26: 2,  # 'c'
-        17: 3,  # 'd'
-        1: 1,  # 'e'
-        27: 2,  # 'f'
-        12: 2,  # 'g'
-        20: 2,  # 'h'
-        9: 2,  # 'i'
-        22: 2,  # 'j'
-        7: 3,  # 'k'
-        6: 3,  # 'l'
-        13: 2,  # 'm'
-        4: 3,  # 'n'
-        8: 1,  # 'o'
-        23: 2,  # 'p'
-        10: 3,  # 'r'
-        5: 3,  # 's'
-        3: 3,  # 't'
-        21: 1,  # 'u'
-        19: 2,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 3,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 1,  # 'á'
-        15: 1,  # 'é'
-        30: 1,  # 'í'
-        25: 0,  # 'ó'
-        24: 1,  # 'ö'
-        31: 1,  # 'ú'
-        29: 1,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    24: {  # 'ö'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 0,  # 'a'
-        18: 3,  # 'b'
-        26: 1,  # 'c'
-        17: 2,  # 'd'
-        1: 0,  # 'e'
-        27: 1,  # 'f'
-        12: 2,  # 'g'
-        20: 1,  # 'h'
-        9: 0,  # 'i'
-        22: 1,  # 'j'
-        7: 3,  # 'k'
-        6: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        8: 0,  # 'o'
-        23: 2,  # 'p'
-        10: 3,  # 'r'
-        5: 3,  # 's'
-        3: 3,  # 't'
-        21: 0,  # 'u'
-        19: 3,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 3,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 0,  # 'á'
-        15: 0,  # 'é'
-        30: 0,  # 'í'
-        25: 0,  # 'ó'
-        24: 0,  # 'ö'
-        31: 0,  # 'ú'
-        29: 0,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    31: {  # 'ú'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 1,  # 'a'
-        18: 1,  # 'b'
-        26: 2,  # 'c'
-        17: 1,  # 'd'
-        1: 1,  # 'e'
-        27: 2,  # 'f'
-        12: 3,  # 'g'
-        20: 1,  # 'h'
-        9: 1,  # 'i'
-        22: 3,  # 'j'
-        7: 1,  # 'k'
-        6: 3,  # 'l'
-        13: 1,  # 'm'
-        4: 2,  # 'n'
-        8: 0,  # 'o'
-        23: 1,  # 'p'
-        10: 3,  # 'r'
-        5: 3,  # 's'
-        3: 2,  # 't'
-        21: 1,  # 'u'
-        19: 1,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 2,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 1,  # 'á'
-        15: 1,  # 'é'
-        30: 0,  # 'í'
-        25: 0,  # 'ó'
-        24: 0,  # 'ö'
-        31: 0,  # 'ú'
-        29: 0,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    29: {  # 'ü'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 1,  # 'a'
-        18: 1,  # 'b'
-        26: 1,  # 'c'
-        17: 2,  # 'd'
-        1: 1,  # 'e'
-        27: 1,  # 'f'
-        12: 3,  # 'g'
-        20: 2,  # 'h'
-        9: 1,  # 'i'
-        22: 1,  # 'j'
-        7: 3,  # 'k'
-        6: 3,  # 'l'
-        13: 1,  # 'm'
-        4: 3,  # 'n'
-        8: 0,  # 'o'
-        23: 1,  # 'p'
-        10: 2,  # 'r'
-        5: 2,  # 's'
-        3: 2,  # 't'
-        21: 0,  # 'u'
-        19: 2,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 2,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 0,  # 'á'
-        15: 1,  # 'é'
-        30: 0,  # 'í'
-        25: 0,  # 'ó'
-        24: 0,  # 'ö'
-        31: 0,  # 'ú'
-        29: 0,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    42: {  # 'ő'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 1,  # 'a'
-        18: 2,  # 'b'
-        26: 1,  # 'c'
-        17: 2,  # 'd'
-        1: 1,  # 'e'
-        27: 1,  # 'f'
-        12: 1,  # 'g'
-        20: 1,  # 'h'
-        9: 1,  # 'i'
-        22: 1,  # 'j'
-        7: 2,  # 'k'
-        6: 3,  # 'l'
-        13: 1,  # 'm'
-        4: 2,  # 'n'
-        8: 1,  # 'o'
-        23: 1,  # 'p'
-        10: 2,  # 'r'
-        5: 2,  # 's'
-        3: 2,  # 't'
-        21: 1,  # 'u'
-        19: 1,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 2,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 0,  # 'á'
-        15: 1,  # 'é'
-        30: 1,  # 'í'
-        25: 0,  # 'ó'
-        24: 0,  # 'ö'
-        31: 0,  # 'ú'
-        29: 1,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-    56: {  # 'ű'
-        28: 0,  # 'A'
-        40: 0,  # 'B'
-        54: 0,  # 'C'
-        45: 0,  # 'D'
-        32: 0,  # 'E'
-        50: 0,  # 'F'
-        49: 0,  # 'G'
-        38: 0,  # 'H'
-        39: 0,  # 'I'
-        53: 0,  # 'J'
-        36: 0,  # 'K'
-        41: 0,  # 'L'
-        34: 0,  # 'M'
-        35: 0,  # 'N'
-        47: 0,  # 'O'
-        46: 0,  # 'P'
-        43: 0,  # 'R'
-        33: 0,  # 'S'
-        37: 0,  # 'T'
-        57: 0,  # 'U'
-        48: 0,  # 'V'
-        55: 0,  # 'Y'
-        52: 0,  # 'Z'
-        2: 1,  # 'a'
-        18: 1,  # 'b'
-        26: 0,  # 'c'
-        17: 1,  # 'd'
-        1: 1,  # 'e'
-        27: 1,  # 'f'
-        12: 1,  # 'g'
-        20: 1,  # 'h'
-        9: 1,  # 'i'
-        22: 1,  # 'j'
-        7: 1,  # 'k'
-        6: 1,  # 'l'
-        13: 0,  # 'm'
-        4: 2,  # 'n'
-        8: 0,  # 'o'
-        23: 0,  # 'p'
-        10: 1,  # 'r'
-        5: 1,  # 's'
-        3: 1,  # 't'
-        21: 0,  # 'u'
-        19: 1,  # 'v'
-        62: 0,  # 'x'
-        16: 0,  # 'y'
-        11: 2,  # 'z'
-        51: 0,  # 'Á'
-        44: 0,  # 'É'
-        61: 0,  # 'Í'
-        58: 0,  # 'Ó'
-        59: 0,  # 'Ö'
-        60: 0,  # 'Ú'
-        63: 0,  # 'Ü'
-        14: 0,  # 'á'
-        15: 0,  # 'é'
-        30: 0,  # 'í'
-        25: 0,  # 'ó'
-        24: 0,  # 'ö'
-        31: 0,  # 'ú'
-        29: 0,  # 'ü'
-        42: 0,  # 'ő'
-        56: 0,  # 'ű'
-    },
-}
-
-# 255: Undefined characters that did not exist in training text
-# 254: Carriage/Return
-# 253: symbol (punctuation) that does not belong to word
-# 252: 0 - 9
-# 251: Control characters
-
-# Character Mapping Table(s):
-WINDOWS_1250_HUNGARIAN_CHAR_TO_ORDER = {
-    0: 255,  # '\x00'
-    1: 255,  # '\x01'
-    2: 255,  # '\x02'
-    3: 255,  # '\x03'
-    4: 255,  # '\x04'
-    5: 255,  # '\x05'
-    6: 255,  # '\x06'
-    7: 255,  # '\x07'
-    8: 255,  # '\x08'
-    9: 255,  # '\t'
-    10: 254,  # '\n'
-    11: 255,  # '\x0b'
-    12: 255,  # '\x0c'
-    13: 254,  # '\r'
-    14: 255,  # '\x0e'
-    15: 255,  # '\x0f'
-    16: 255,  # '\x10'
-    17: 255,  # '\x11'
-    18: 255,  # '\x12'
-    19: 255,  # '\x13'
-    20: 255,  # '\x14'
-    21: 255,  # '\x15'
-    22: 255,  # '\x16'
-    23: 255,  # '\x17'
-    24: 255,  # '\x18'
-    25: 255,  # '\x19'
-    26: 255,  # '\x1a'
-    27: 255,  # '\x1b'
-    28: 255,  # '\x1c'
-    29: 255,  # '\x1d'
-    30: 255,  # '\x1e'
-    31: 255,  # '\x1f'
-    32: 253,  # ' '
-    33: 253,  # '!'
-    34: 253,  # '"'
-    35: 253,  # '#'
-    36: 253,  # '$'
-    37: 253,  # '%'
-    38: 253,  # '&'
-    39: 253,  # "'"
-    40: 253,  # '('
-    41: 253,  # ')'
-    42: 253,  # '*'
-    43: 253,  # '+'
-    44: 253,  # ','
-    45: 253,  # '-'
-    46: 253,  # '.'
-    47: 253,  # '/'
-    48: 252,  # '0'
-    49: 252,  # '1'
-    50: 252,  # '2'
-    51: 252,  # '3'
-    52: 252,  # '4'
-    53: 252,  # '5'
-    54: 252,  # '6'
-    55: 252,  # '7'
-    56: 252,  # '8'
-    57: 252,  # '9'
-    58: 253,  # ':'
-    59: 253,  # ';'
-    60: 253,  # '<'
-    61: 253,  # '='
-    62: 253,  # '>'
-    63: 253,  # '?'
-    64: 253,  # '@'
-    65: 28,  # 'A'
-    66: 40,  # 'B'
-    67: 54,  # 'C'
-    68: 45,  # 'D'
-    69: 32,  # 'E'
-    70: 50,  # 'F'
-    71: 49,  # 'G'
-    72: 38,  # 'H'
-    73: 39,  # 'I'
-    74: 53,  # 'J'
-    75: 36,  # 'K'
-    76: 41,  # 'L'
-    77: 34,  # 'M'
-    78: 35,  # 'N'
-    79: 47,  # 'O'
-    80: 46,  # 'P'
-    81: 72,  # 'Q'
-    82: 43,  # 'R'
-    83: 33,  # 'S'
-    84: 37,  # 'T'
-    85: 57,  # 'U'
-    86: 48,  # 'V'
-    87: 64,  # 'W'
-    88: 68,  # 'X'
-    89: 55,  # 'Y'
-    90: 52,  # 'Z'
-    91: 253,  # '['
-    92: 253,  # '\\'
-    93: 253,  # ']'
-    94: 253,  # '^'
-    95: 253,  # '_'
-    96: 253,  # '`'
-    97: 2,  # 'a'
-    98: 18,  # 'b'
-    99: 26,  # 'c'
-    100: 17,  # 'd'
-    101: 1,  # 'e'
-    102: 27,  # 'f'
-    103: 12,  # 'g'
-    104: 20,  # 'h'
-    105: 9,  # 'i'
-    106: 22,  # 'j'
-    107: 7,  # 'k'
-    108: 6,  # 'l'
-    109: 13,  # 'm'
-    110: 4,  # 'n'
-    111: 8,  # 'o'
-    112: 23,  # 'p'
-    113: 67,  # 'q'
-    114: 10,  # 'r'
-    115: 5,  # 's'
-    116: 3,  # 't'
-    117: 21,  # 'u'
-    118: 19,  # 'v'
-    119: 65,  # 'w'
-    120: 62,  # 'x'
-    121: 16,  # 'y'
-    122: 11,  # 'z'
-    123: 253,  # '{'
-    124: 253,  # '|'
-    125: 253,  # '}'
-    126: 253,  # '~'
-    127: 253,  # '\x7f'
-    128: 161,  # '€'
-    129: 162,  # None
-    130: 163,  # '‚'
-    131: 164,  # None
-    132: 165,  # '„'
-    133: 166,  # '…'
-    134: 167,  # '†'
-    135: 168,  # '‡'
-    136: 169,  # None
-    137: 170,  # '‰'
-    138: 171,  # 'Š'
-    139: 172,  # '‹'
-    140: 173,  # 'Ś'
-    141: 174,  # 'Ť'
-    142: 175,  # 'Ž'
-    143: 176,  # 'Ź'
-    144: 177,  # None
-    145: 178,  # '‘'
-    146: 179,  # '’'
-    147: 180,  # '“'
-    148: 78,  # '”'
-    149: 181,  # '•'
-    150: 69,  # '–'
-    151: 182,  # '—'
-    152: 183,  # None
-    153: 184,  # '™'
-    154: 185,  # 'š'
-    155: 186,  # '›'
-    156: 187,  # 'ś'
-    157: 188,  # 'ť'
-    158: 189,  # 'ž'
-    159: 190,  # 'ź'
-    160: 191,  # '\xa0'
-    161: 192,  # 'ˇ'
-    162: 193,  # '˘'
-    163: 194,  # 'Ł'
-    164: 195,  # '¤'
-    165: 196,  # 'Ą'
-    166: 197,  # '¦'
-    167: 76,  # '§'
-    168: 198,  # '¨'
-    169: 199,  # '©'
-    170: 200,  # 'Ş'
-    171: 201,  # '«'
-    172: 202,  # '¬'
-    173: 203,  # '\xad'
-    174: 204,  # '®'
-    175: 205,  # 'Ż'
-    176: 81,  # '°'
-    177: 206,  # '±'
-    178: 207,  # '˛'
-    179: 208,  # 'ł'
-    180: 209,  # '´'
-    181: 210,  # 'µ'
-    182: 211,  # '¶'
-    183: 212,  # '·'
-    184: 213,  # '¸'
-    185: 214,  # 'ą'
-    186: 215,  # 'ş'
-    187: 216,  # '»'
-    188: 217,  # 'Ľ'
-    189: 218,  # '˝'
-    190: 219,  # 'ľ'
-    191: 220,  # 'ż'
-    192: 221,  # 'Ŕ'
-    193: 51,  # 'Á'
-    194: 83,  # 'Â'
-    195: 222,  # 'Ă'
-    196: 80,  # 'Ä'
-    197: 223,  # 'Ĺ'
-    198: 224,  # 'Ć'
-    199: 225,  # 'Ç'
-    200: 226,  # 'Č'
-    201: 44,  # 'É'
-    202: 227,  # 'Ę'
-    203: 228,  # 'Ë'
-    204: 229,  # 'Ě'
-    205: 61,  # 'Í'
-    206: 230,  # 'Î'
-    207: 231,  # 'Ď'
-    208: 232,  # 'Đ'
-    209: 233,  # 'Ń'
-    210: 234,  # 'Ň'
-    211: 58,  # 'Ó'
-    212: 235,  # 'Ô'
-    213: 66,  # 'Ő'
-    214: 59,  # 'Ö'
-    215: 236,  # '×'
-    216: 237,  # 'Ř'
-    217: 238,  # 'Ů'
-    218: 60,  # 'Ú'
-    219: 70,  # 'Ű'
-    220: 63,  # 'Ü'
-    221: 239,  # 'Ý'
-    222: 240,  # 'Ţ'
-    223: 241,  # 'ß'
-    224: 84,  # 'ŕ'
-    225: 14,  # 'á'
-    226: 75,  # 'â'
-    227: 242,  # 'ă'
-    228: 71,  # 'ä'
-    229: 82,  # 'ĺ'
-    230: 243,  # 'ć'
-    231: 73,  # 'ç'
-    232: 244,  # 'č'
-    233: 15,  # 'é'
-    234: 85,  # 'ę'
-    235: 79,  # 'ë'
-    236: 86,  # 'ě'
-    237: 30,  # 'í'
-    238: 77,  # 'î'
-    239: 87,  # 'ď'
-    240: 245,  # 'đ'
-    241: 246,  # 'ń'
-    242: 247,  # 'ň'
-    243: 25,  # 'ó'
-    244: 74,  # 'ô'
-    245: 42,  # 'ő'
-    246: 24,  # 'ö'
-    247: 248,  # '÷'
-    248: 249,  # 'ř'
-    249: 250,  # 'ů'
-    250: 31,  # 'ú'
-    251: 56,  # 'ű'
-    252: 29,  # 'ü'
-    253: 251,  # 'ý'
-    254: 252,  # 'ţ'
-    255: 253,  # '˙'
-}
-
-WINDOWS_1250_HUNGARIAN_MODEL = SingleByteCharSetModel(
-    charset_name="windows-1250",
-    language="Hungarian",
-    char_to_order_map=WINDOWS_1250_HUNGARIAN_CHAR_TO_ORDER,
-    language_model=HUNGARIAN_LANG_MODEL,
-    typical_positive_ratio=0.947368,
-    keep_ascii_letters=True,
-    alphabet="ABCDEFGHIJKLMNOPRSTUVZabcdefghijklmnoprstuvzÁÉÍÓÖÚÜáéíóöúüŐőŰű",
-)
-
-ISO_8859_2_HUNGARIAN_CHAR_TO_ORDER = {
-    0: 255,  # '\x00'
-    1: 255,  # '\x01'
-    2: 255,  # '\x02'
-    3: 255,  # '\x03'
-    4: 255,  # '\x04'
-    5: 255,  # '\x05'
-    6: 255,  # '\x06'
-    7: 255,  # '\x07'
-    8: 255,  # '\x08'
-    9: 255,  # '\t'
-    10: 254,  # '\n'
-    11: 255,  # '\x0b'
-    12: 255,  # '\x0c'
-    13: 254,  # '\r'
-    14: 255,  # '\x0e'
-    15: 255,  # '\x0f'
-    16: 255,  # '\x10'
-    17: 255,  # '\x11'
-    18: 255,  # '\x12'
-    19: 255,  # '\x13'
-    20: 255,  # '\x14'
-    21: 255,  # '\x15'
-    22: 255,  # '\x16'
-    23: 255,  # '\x17'
-    24: 255,  # '\x18'
-    25: 255,  # '\x19'
-    26: 255,  # '\x1a'
-    27: 255,  # '\x1b'
-    28: 255,  # '\x1c'
-    29: 255,  # '\x1d'
-    30: 255,  # '\x1e'
-    31: 255,  # '\x1f'
-    32: 253,  # ' '
-    33: 253,  # '!'
-    34: 253,  # '"'
-    35: 253,  # '#'
-    36: 253,  # '$'
-    37: 253,  # '%'
-    38: 253,  # '&'
-    39: 253,  # "'"
-    40: 253,  # '('
-    41: 253,  # ')'
-    42: 253,  # '*'
-    43: 253,  # '+'
-    44: 253,  # ','
-    45: 253,  # '-'
-    46: 253,  # '.'
-    47: 253,  # '/'
-    48: 252,  # '0'
-    49: 252,  # '1'
-    50: 252,  # '2'
-    51: 252,  # '3'
-    52: 252,  # '4'
-    53: 252,  # '5'
-    54: 252,  # '6'
-    55: 252,  # '7'
-    56: 252,  # '8'
-    57: 252,  # '9'
-    58: 253,  # ':'
-    59: 253,  # ';'
-    60: 253,  # '<'
-    61: 253,  # '='
-    62: 253,  # '>'
-    63: 253,  # '?'
-    64: 253,  # '@'
-    65: 28,  # 'A'
-    66: 40,  # 'B'
-    67: 54,  # 'C'
-    68: 45,  # 'D'
-    69: 32,  # 'E'
-    70: 50,  # 'F'
-    71: 49,  # 'G'
-    72: 38,  # 'H'
-    73: 39,  # 'I'
-    74: 53,  # 'J'
-    75: 36,  # 'K'
-    76: 41,  # 'L'
-    77: 34,  # 'M'
-    78: 35,  # 'N'
-    79: 47,  # 'O'
-    80: 46,  # 'P'
-    81: 71,  # 'Q'
-    82: 43,  # 'R'
-    83: 33,  # 'S'
-    84: 37,  # 'T'
-    85: 57,  # 'U'
-    86: 48,  # 'V'
-    87: 64,  # 'W'
-    88: 68,  # 'X'
-    89: 55,  # 'Y'
-    90: 52,  # 'Z'
-    91: 253,  # '['
-    92: 253,  # '\\'
-    93: 253,  # ']'
-    94: 253,  # '^'
-    95: 253,  # '_'
-    96: 253,  # '`'
-    97: 2,  # 'a'
-    98: 18,  # 'b'
-    99: 26,  # 'c'
-    100: 17,  # 'd'
-    101: 1,  # 'e'
-    102: 27,  # 'f'
-    103: 12,  # 'g'
-    104: 20,  # 'h'
-    105: 9,  # 'i'
-    106: 22,  # 'j'
-    107: 7,  # 'k'
-    108: 6,  # 'l'
-    109: 13,  # 'm'
-    110: 4,  # 'n'
-    111: 8,  # 'o'
-    112: 23,  # 'p'
-    113: 67,  # 'q'
-    114: 10,  # 'r'
-    115: 5,  # 's'
-    116: 3,  # 't'
-    117: 21,  # 'u'
-    118: 19,  # 'v'
-    119: 65,  # 'w'
-    120: 62,  # 'x'
-    121: 16,  # 'y'
-    122: 11,  # 'z'
-    123: 253,  # '{'
-    124: 253,  # '|'
-    125: 253,  # '}'
-    126: 253,  # '~'
-    127: 253,  # '\x7f'
-    128: 159,  # '\x80'
-    129: 160,  # '\x81'
-    130: 161,  # '\x82'
-    131: 162,  # '\x83'
-    132: 163,  # '\x84'
-    133: 164,  # '\x85'
-    134: 165,  # '\x86'
-    135: 166,  # '\x87'
-    136: 167,  # '\x88'
-    137: 168,  # '\x89'
-    138: 169,  # '\x8a'
-    139: 170,  # '\x8b'
-    140: 171,  # '\x8c'
-    141: 172,  # '\x8d'
-    142: 173,  # '\x8e'
-    143: 174,  # '\x8f'
-    144: 175,  # '\x90'
-    145: 176,  # '\x91'
-    146: 177,  # '\x92'
-    147: 178,  # '\x93'
-    148: 179,  # '\x94'
-    149: 180,  # '\x95'
-    150: 181,  # '\x96'
-    151: 182,  # '\x97'
-    152: 183,  # '\x98'
-    153: 184,  # '\x99'
-    154: 185,  # '\x9a'
-    155: 186,  # '\x9b'
-    156: 187,  # '\x9c'
-    157: 188,  # '\x9d'
-    158: 189,  # '\x9e'
-    159: 190,  # '\x9f'
-    160: 191,  # '\xa0'
-    161: 192,  # 'Ą'
-    162: 193,  # '˘'
-    163: 194,  # 'Ł'
-    164: 195,  # '¤'
-    165: 196,  # 'Ľ'
-    166: 197,  # 'Ś'
-    167: 75,  # '§'
-    168: 198,  # '¨'
-    169: 199,  # 'Š'
-    170: 200,  # 'Ş'
-    171: 201,  # 'Ť'
-    172: 202,  # 'Ź'
-    173: 203,  # '\xad'
-    174: 204,  # 'Ž'
-    175: 205,  # 'Ż'
-    176: 79,  # '°'
-    177: 206,  # 'ą'
-    178: 207,  # '˛'
-    179: 208,  # 'ł'
-    180: 209,  # '´'
-    181: 210,  # 'ľ'
-    182: 211,  # 'ś'
-    183: 212,  # 'ˇ'
-    184: 213,  # '¸'
-    185: 214,  # 'š'
-    186: 215,  # 'ş'
-    187: 216,  # 'ť'
-    188: 217,  # 'ź'
-    189: 218,  # '˝'
-    190: 219,  # 'ž'
-    191: 220,  # 'ż'
-    192: 221,  # 'Ŕ'
-    193: 51,  # 'Á'
-    194: 81,  # 'Â'
-    195: 222,  # 'Ă'
-    196: 78,  # 'Ä'
-    197: 223,  # 'Ĺ'
-    198: 224,  # 'Ć'
-    199: 225,  # 'Ç'
-    200: 226,  # 'Č'
-    201: 44,  # 'É'
-    202: 227,  # 'Ę'
-    203: 228,  # 'Ë'
-    204: 229,  # 'Ě'
-    205: 61,  # 'Í'
-    206: 230,  # 'Î'
-    207: 231,  # 'Ď'
-    208: 232,  # 'Đ'
-    209: 233,  # 'Ń'
-    210: 234,  # 'Ň'
-    211: 58,  # 'Ó'
-    212: 235,  # 'Ô'
-    213: 66,  # 'Ő'
-    214: 59,  # 'Ö'
-    215: 236,  # '×'
-    216: 237,  # 'Ř'
-    217: 238,  # 'Ů'
-    218: 60,  # 'Ú'
-    219: 69,  # 'Ű'
-    220: 63,  # 'Ü'
-    221: 239,  # 'Ý'
-    222: 240,  # 'Ţ'
-    223: 241,  # 'ß'
-    224: 82,  # 'ŕ'
-    225: 14,  # 'á'
-    226: 74,  # 'â'
-    227: 242,  # 'ă'
-    228: 70,  # 'ä'
-    229: 80,  # 'ĺ'
-    230: 243,  # 'ć'
-    231: 72,  # 'ç'
-    232: 244,  # 'č'
-    233: 15,  # 'é'
-    234: 83,  # 'ę'
-    235: 77,  # 'ë'
-    236: 84,  # 'ě'
-    237: 30,  # 'í'
-    238: 76,  # 'î'
-    239: 85,  # 'ď'
-    240: 245,  # 'đ'
-    241: 246,  # 'ń'
-    242: 247,  # 'ň'
-    243: 25,  # 'ó'
-    244: 73,  # 'ô'
-    245: 42,  # 'ő'
-    246: 24,  # 'ö'
-    247: 248,  # '÷'
-    248: 249,  # 'ř'
-    249: 250,  # 'ů'
-    250: 31,  # 'ú'
-    251: 56,  # 'ű'
-    252: 29,  # 'ü'
-    253: 251,  # 'ý'
-    254: 252,  # 'ţ'
-    255: 253,  # '˙'
-}
-
-ISO_8859_2_HUNGARIAN_MODEL = SingleByteCharSetModel(
-    charset_name="ISO-8859-2",
-    language="Hungarian",
-    char_to_order_map=ISO_8859_2_HUNGARIAN_CHAR_TO_ORDER,
-    language_model=HUNGARIAN_LANG_MODEL,
-    typical_positive_ratio=0.947368,
-    keep_ascii_letters=True,
-    alphabet="ABCDEFGHIJKLMNOPRSTUVZabcdefghijklmnoprstuvzÁÉÍÓÖÚÜáéíóöúüŐőŰű",
-)
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/langrussianmodel.py b/.venv/Lib/site-packages/pip/_vendor/chardet/langrussianmodel.py
deleted file mode 100644
index 39a5388..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/langrussianmodel.py
+++ /dev/null
@@ -1,5725 +0,0 @@
-from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel
-
-# 3: Positive
-# 2: Likely
-# 1: Unlikely
-# 0: Negative
-
-RUSSIAN_LANG_MODEL = {
-    37: {  # 'А'
-        37: 0,  # 'А'
-        44: 1,  # 'Б'
-        33: 1,  # 'В'
-        46: 1,  # 'Г'
-        41: 1,  # 'Д'
-        48: 1,  # 'Е'
-        56: 1,  # 'Ж'
-        51: 1,  # 'З'
-        42: 1,  # 'И'
-        60: 1,  # 'Й'
-        36: 1,  # 'К'
-        49: 1,  # 'Л'
-        38: 1,  # 'М'
-        31: 2,  # 'Н'
-        34: 1,  # 'О'
-        35: 1,  # 'П'
-        45: 1,  # 'Р'
-        32: 1,  # 'С'
-        40: 1,  # 'Т'
-        52: 1,  # 'У'
-        53: 1,  # 'Ф'
-        55: 1,  # 'Х'
-        58: 1,  # 'Ц'
-        50: 1,  # 'Ч'
-        57: 1,  # 'Ш'
-        63: 1,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 1,  # 'Ю'
-        43: 1,  # 'Я'
-        3: 1,  # 'а'
-        21: 2,  # 'б'
-        10: 2,  # 'в'
-        19: 2,  # 'г'
-        13: 2,  # 'д'
-        2: 0,  # 'е'
-        24: 1,  # 'ж'
-        20: 1,  # 'з'
-        4: 0,  # 'и'
-        23: 1,  # 'й'
-        11: 2,  # 'к'
-        8: 3,  # 'л'
-        12: 2,  # 'м'
-        5: 2,  # 'н'
-        1: 0,  # 'о'
-        15: 2,  # 'п'
-        9: 2,  # 'р'
-        7: 2,  # 'с'
-        6: 2,  # 'т'
-        14: 2,  # 'у'
-        39: 2,  # 'ф'
-        26: 2,  # 'х'
-        28: 0,  # 'ц'
-        22: 1,  # 'ч'
-        25: 2,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 1,  # 'э'
-        27: 0,  # 'ю'
-        16: 0,  # 'я'
-    },
-    44: {  # 'Б'
-        37: 1,  # 'А'
-        44: 0,  # 'Б'
-        33: 1,  # 'В'
-        46: 1,  # 'Г'
-        41: 0,  # 'Д'
-        48: 1,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 1,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 1,  # 'Л'
-        38: 1,  # 'М'
-        31: 1,  # 'Н'
-        34: 1,  # 'О'
-        35: 0,  # 'П'
-        45: 1,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 1,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 1,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 1,  # 'Я'
-        3: 2,  # 'а'
-        21: 0,  # 'б'
-        10: 0,  # 'в'
-        19: 0,  # 'г'
-        13: 1,  # 'д'
-        2: 3,  # 'е'
-        24: 0,  # 'ж'
-        20: 0,  # 'з'
-        4: 2,  # 'и'
-        23: 0,  # 'й'
-        11: 0,  # 'к'
-        8: 2,  # 'л'
-        12: 0,  # 'м'
-        5: 0,  # 'н'
-        1: 3,  # 'о'
-        15: 0,  # 'п'
-        9: 2,  # 'р'
-        7: 0,  # 'с'
-        6: 0,  # 'т'
-        14: 2,  # 'у'
-        39: 0,  # 'ф'
-        26: 0,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 0,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 2,  # 'ы'
-        17: 1,  # 'ь'
-        30: 2,  # 'э'
-        27: 1,  # 'ю'
-        16: 1,  # 'я'
-    },
-    33: {  # 'В'
-        37: 2,  # 'А'
-        44: 0,  # 'Б'
-        33: 1,  # 'В'
-        46: 0,  # 'Г'
-        41: 1,  # 'Д'
-        48: 1,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 1,  # 'И'
-        60: 0,  # 'Й'
-        36: 1,  # 'К'
-        49: 1,  # 'Л'
-        38: 1,  # 'М'
-        31: 1,  # 'Н'
-        34: 1,  # 'О'
-        35: 1,  # 'П'
-        45: 1,  # 'Р'
-        32: 1,  # 'С'
-        40: 1,  # 'Т'
-        52: 1,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 1,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 1,  # 'Ы'
-        61: 1,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 1,  # 'Я'
-        3: 2,  # 'а'
-        21: 1,  # 'б'
-        10: 1,  # 'в'
-        19: 1,  # 'г'
-        13: 2,  # 'д'
-        2: 3,  # 'е'
-        24: 0,  # 'ж'
-        20: 2,  # 'з'
-        4: 2,  # 'и'
-        23: 0,  # 'й'
-        11: 1,  # 'к'
-        8: 2,  # 'л'
-        12: 2,  # 'м'
-        5: 2,  # 'н'
-        1: 3,  # 'о'
-        15: 2,  # 'п'
-        9: 2,  # 'р'
-        7: 3,  # 'с'
-        6: 2,  # 'т'
-        14: 2,  # 'у'
-        39: 0,  # 'ф'
-        26: 1,  # 'х'
-        28: 1,  # 'ц'
-        22: 2,  # 'ч'
-        25: 1,  # 'ш'
-        29: 0,  # 'щ'
-        54: 1,  # 'ъ'
-        18: 3,  # 'ы'
-        17: 1,  # 'ь'
-        30: 2,  # 'э'
-        27: 0,  # 'ю'
-        16: 1,  # 'я'
-    },
-    46: {  # 'Г'
-        37: 1,  # 'А'
-        44: 1,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 1,  # 'Д'
-        48: 1,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 1,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 1,  # 'Л'
-        38: 1,  # 'М'
-        31: 1,  # 'Н'
-        34: 1,  # 'О'
-        35: 1,  # 'П'
-        45: 1,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 1,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 2,  # 'а'
-        21: 0,  # 'б'
-        10: 1,  # 'в'
-        19: 0,  # 'г'
-        13: 2,  # 'д'
-        2: 2,  # 'е'
-        24: 0,  # 'ж'
-        20: 0,  # 'з'
-        4: 2,  # 'и'
-        23: 0,  # 'й'
-        11: 0,  # 'к'
-        8: 2,  # 'л'
-        12: 1,  # 'м'
-        5: 1,  # 'н'
-        1: 3,  # 'о'
-        15: 0,  # 'п'
-        9: 2,  # 'р'
-        7: 0,  # 'с'
-        6: 0,  # 'т'
-        14: 2,  # 'у'
-        39: 0,  # 'ф'
-        26: 0,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 0,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 1,  # 'ь'
-        30: 1,  # 'э'
-        27: 1,  # 'ю'
-        16: 0,  # 'я'
-    },
-    41: {  # 'Д'
-        37: 1,  # 'А'
-        44: 0,  # 'Б'
-        33: 1,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 2,  # 'Е'
-        56: 1,  # 'Ж'
-        51: 0,  # 'З'
-        42: 1,  # 'И'
-        60: 0,  # 'Й'
-        36: 1,  # 'К'
-        49: 1,  # 'Л'
-        38: 0,  # 'М'
-        31: 1,  # 'Н'
-        34: 1,  # 'О'
-        35: 0,  # 'П'
-        45: 1,  # 'Р'
-        32: 1,  # 'С'
-        40: 0,  # 'Т'
-        52: 1,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 1,  # 'Ц'
-        50: 1,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 1,  # 'Ы'
-        61: 1,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 1,  # 'Я'
-        3: 3,  # 'а'
-        21: 0,  # 'б'
-        10: 2,  # 'в'
-        19: 0,  # 'г'
-        13: 0,  # 'д'
-        2: 2,  # 'е'
-        24: 3,  # 'ж'
-        20: 1,  # 'з'
-        4: 2,  # 'и'
-        23: 0,  # 'й'
-        11: 0,  # 'к'
-        8: 2,  # 'л'
-        12: 1,  # 'м'
-        5: 1,  # 'н'
-        1: 3,  # 'о'
-        15: 0,  # 'п'
-        9: 2,  # 'р'
-        7: 0,  # 'с'
-        6: 0,  # 'т'
-        14: 2,  # 'у'
-        39: 0,  # 'ф'
-        26: 1,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 0,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 1,  # 'ы'
-        17: 1,  # 'ь'
-        30: 2,  # 'э'
-        27: 1,  # 'ю'
-        16: 1,  # 'я'
-    },
-    48: {  # 'Е'
-        37: 1,  # 'А'
-        44: 1,  # 'Б'
-        33: 1,  # 'В'
-        46: 1,  # 'Г'
-        41: 1,  # 'Д'
-        48: 1,  # 'Е'
-        56: 1,  # 'Ж'
-        51: 1,  # 'З'
-        42: 1,  # 'И'
-        60: 1,  # 'Й'
-        36: 1,  # 'К'
-        49: 1,  # 'Л'
-        38: 1,  # 'М'
-        31: 2,  # 'Н'
-        34: 1,  # 'О'
-        35: 1,  # 'П'
-        45: 2,  # 'Р'
-        32: 2,  # 'С'
-        40: 1,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 1,  # 'Х'
-        58: 1,  # 'Ц'
-        50: 1,  # 'Ч'
-        57: 1,  # 'Ш'
-        63: 1,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 1,  # 'Я'
-        3: 0,  # 'а'
-        21: 0,  # 'б'
-        10: 2,  # 'в'
-        19: 2,  # 'г'
-        13: 2,  # 'д'
-        2: 2,  # 'е'
-        24: 1,  # 'ж'
-        20: 1,  # 'з'
-        4: 0,  # 'и'
-        23: 2,  # 'й'
-        11: 1,  # 'к'
-        8: 2,  # 'л'
-        12: 2,  # 'м'
-        5: 1,  # 'н'
-        1: 0,  # 'о'
-        15: 1,  # 'п'
-        9: 1,  # 'р'
-        7: 3,  # 'с'
-        6: 0,  # 'т'
-        14: 0,  # 'у'
-        39: 1,  # 'ф'
-        26: 1,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 1,  # 'ш'
-        29: 2,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 0,  # 'э'
-        27: 1,  # 'ю'
-        16: 0,  # 'я'
-    },
-    56: {  # 'Ж'
-        37: 1,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 1,  # 'Д'
-        48: 1,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 1,  # 'З'
-        42: 1,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 1,  # 'Н'
-        34: 1,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 1,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 2,  # 'а'
-        21: 1,  # 'б'
-        10: 0,  # 'в'
-        19: 1,  # 'г'
-        13: 1,  # 'д'
-        2: 2,  # 'е'
-        24: 1,  # 'ж'
-        20: 0,  # 'з'
-        4: 2,  # 'и'
-        23: 0,  # 'й'
-        11: 0,  # 'к'
-        8: 0,  # 'л'
-        12: 1,  # 'м'
-        5: 0,  # 'н'
-        1: 2,  # 'о'
-        15: 0,  # 'п'
-        9: 1,  # 'р'
-        7: 0,  # 'с'
-        6: 0,  # 'т'
-        14: 2,  # 'у'
-        39: 0,  # 'ф'
-        26: 0,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 0,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 0,  # 'э'
-        27: 2,  # 'ю'
-        16: 0,  # 'я'
-    },
-    51: {  # 'З'
-        37: 1,  # 'А'
-        44: 0,  # 'Б'
-        33: 1,  # 'В'
-        46: 1,  # 'Г'
-        41: 1,  # 'Д'
-        48: 1,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 1,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 1,  # 'Л'
-        38: 1,  # 'М'
-        31: 1,  # 'Н'
-        34: 1,  # 'О'
-        35: 0,  # 'П'
-        45: 1,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 1,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 1,  # 'Ы'
-        61: 1,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 3,  # 'а'
-        21: 1,  # 'б'
-        10: 2,  # 'в'
-        19: 0,  # 'г'
-        13: 2,  # 'д'
-        2: 2,  # 'е'
-        24: 0,  # 'ж'
-        20: 0,  # 'з'
-        4: 2,  # 'и'
-        23: 0,  # 'й'
-        11: 0,  # 'к'
-        8: 1,  # 'л'
-        12: 1,  # 'м'
-        5: 2,  # 'н'
-        1: 2,  # 'о'
-        15: 0,  # 'п'
-        9: 1,  # 'р'
-        7: 0,  # 'с'
-        6: 0,  # 'т'
-        14: 1,  # 'у'
-        39: 0,  # 'ф'
-        26: 0,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 0,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 1,  # 'ы'
-        17: 0,  # 'ь'
-        30: 0,  # 'э'
-        27: 0,  # 'ю'
-        16: 1,  # 'я'
-    },
-    42: {  # 'И'
-        37: 1,  # 'А'
-        44: 1,  # 'Б'
-        33: 1,  # 'В'
-        46: 1,  # 'Г'
-        41: 1,  # 'Д'
-        48: 2,  # 'Е'
-        56: 1,  # 'Ж'
-        51: 1,  # 'З'
-        42: 1,  # 'И'
-        60: 1,  # 'Й'
-        36: 1,  # 'К'
-        49: 1,  # 'Л'
-        38: 1,  # 'М'
-        31: 1,  # 'Н'
-        34: 1,  # 'О'
-        35: 1,  # 'П'
-        45: 1,  # 'Р'
-        32: 2,  # 'С'
-        40: 1,  # 'Т'
-        52: 0,  # 'У'
-        53: 1,  # 'Ф'
-        55: 1,  # 'Х'
-        58: 1,  # 'Ц'
-        50: 1,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 1,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 1,  # 'Ю'
-        43: 1,  # 'Я'
-        3: 1,  # 'а'
-        21: 2,  # 'б'
-        10: 2,  # 'в'
-        19: 2,  # 'г'
-        13: 2,  # 'д'
-        2: 2,  # 'е'
-        24: 0,  # 'ж'
-        20: 2,  # 'з'
-        4: 1,  # 'и'
-        23: 0,  # 'й'
-        11: 1,  # 'к'
-        8: 2,  # 'л'
-        12: 2,  # 'м'
-        5: 2,  # 'н'
-        1: 1,  # 'о'
-        15: 1,  # 'п'
-        9: 2,  # 'р'
-        7: 2,  # 'с'
-        6: 2,  # 'т'
-        14: 1,  # 'у'
-        39: 1,  # 'ф'
-        26: 2,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 1,  # 'ш'
-        29: 1,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 0,  # 'э'
-        27: 1,  # 'ю'
-        16: 0,  # 'я'
-    },
-    60: {  # 'Й'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 1,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 1,  # 'К'
-        49: 1,  # 'Л'
-        38: 0,  # 'М'
-        31: 1,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 1,  # 'С'
-        40: 1,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 1,  # 'Х'
-        58: 1,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 0,  # 'а'
-        21: 0,  # 'б'
-        10: 0,  # 'в'
-        19: 0,  # 'г'
-        13: 0,  # 'д'
-        2: 1,  # 'е'
-        24: 0,  # 'ж'
-        20: 0,  # 'з'
-        4: 0,  # 'и'
-        23: 0,  # 'й'
-        11: 0,  # 'к'
-        8: 0,  # 'л'
-        12: 0,  # 'м'
-        5: 0,  # 'н'
-        1: 2,  # 'о'
-        15: 0,  # 'п'
-        9: 0,  # 'р'
-        7: 0,  # 'с'
-        6: 0,  # 'т'
-        14: 0,  # 'у'
-        39: 0,  # 'ф'
-        26: 0,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 0,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 0,  # 'э'
-        27: 0,  # 'ю'
-        16: 0,  # 'я'
-    },
-    36: {  # 'К'
-        37: 2,  # 'А'
-        44: 0,  # 'Б'
-        33: 1,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 1,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 1,  # 'З'
-        42: 1,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 1,  # 'Л'
-        38: 0,  # 'М'
-        31: 1,  # 'Н'
-        34: 2,  # 'О'
-        35: 1,  # 'П'
-        45: 1,  # 'Р'
-        32: 1,  # 'С'
-        40: 1,  # 'Т'
-        52: 1,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 1,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 3,  # 'а'
-        21: 0,  # 'б'
-        10: 1,  # 'в'
-        19: 0,  # 'г'
-        13: 0,  # 'д'
-        2: 2,  # 'е'
-        24: 0,  # 'ж'
-        20: 0,  # 'з'
-        4: 2,  # 'и'
-        23: 0,  # 'й'
-        11: 0,  # 'к'
-        8: 2,  # 'л'
-        12: 0,  # 'м'
-        5: 1,  # 'н'
-        1: 3,  # 'о'
-        15: 0,  # 'п'
-        9: 2,  # 'р'
-        7: 2,  # 'с'
-        6: 2,  # 'т'
-        14: 2,  # 'у'
-        39: 0,  # 'ф'
-        26: 1,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 0,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 1,  # 'ы'
-        17: 1,  # 'ь'
-        30: 2,  # 'э'
-        27: 1,  # 'ю'
-        16: 0,  # 'я'
-    },
-    49: {  # 'Л'
-        37: 2,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 1,  # 'Г'
-        41: 0,  # 'Д'
-        48: 1,  # 'Е'
-        56: 1,  # 'Ж'
-        51: 0,  # 'З'
-        42: 1,  # 'И'
-        60: 0,  # 'Й'
-        36: 1,  # 'К'
-        49: 1,  # 'Л'
-        38: 1,  # 'М'
-        31: 0,  # 'Н'
-        34: 1,  # 'О'
-        35: 1,  # 'П'
-        45: 0,  # 'Р'
-        32: 1,  # 'С'
-        40: 1,  # 'Т'
-        52: 1,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 1,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 1,  # 'Ы'
-        61: 1,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 1,  # 'Ю'
-        43: 1,  # 'Я'
-        3: 2,  # 'а'
-        21: 0,  # 'б'
-        10: 0,  # 'в'
-        19: 1,  # 'г'
-        13: 0,  # 'д'
-        2: 2,  # 'е'
-        24: 1,  # 'ж'
-        20: 0,  # 'з'
-        4: 2,  # 'и'
-        23: 0,  # 'й'
-        11: 0,  # 'к'
-        8: 1,  # 'л'
-        12: 0,  # 'м'
-        5: 1,  # 'н'
-        1: 2,  # 'о'
-        15: 0,  # 'п'
-        9: 0,  # 'р'
-        7: 0,  # 'с'
-        6: 0,  # 'т'
-        14: 2,  # 'у'
-        39: 0,  # 'ф'
-        26: 1,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 0,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 1,  # 'ы'
-        17: 1,  # 'ь'
-        30: 2,  # 'э'
-        27: 2,  # 'ю'
-        16: 1,  # 'я'
-    },
-    38: {  # 'М'
-        37: 1,  # 'А'
-        44: 1,  # 'Б'
-        33: 1,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 1,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 1,  # 'И'
-        60: 0,  # 'Й'
-        36: 1,  # 'К'
-        49: 1,  # 'Л'
-        38: 1,  # 'М'
-        31: 1,  # 'Н'
-        34: 1,  # 'О'
-        35: 1,  # 'П'
-        45: 1,  # 'Р'
-        32: 1,  # 'С'
-        40: 1,  # 'Т'
-        52: 1,  # 'У'
-        53: 1,  # 'Ф'
-        55: 1,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 1,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 1,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 1,  # 'Я'
-        3: 3,  # 'а'
-        21: 0,  # 'б'
-        10: 0,  # 'в'
-        19: 1,  # 'г'
-        13: 0,  # 'д'
-        2: 2,  # 'е'
-        24: 0,  # 'ж'
-        20: 0,  # 'з'
-        4: 3,  # 'и'
-        23: 0,  # 'й'
-        11: 0,  # 'к'
-        8: 1,  # 'л'
-        12: 1,  # 'м'
-        5: 2,  # 'н'
-        1: 3,  # 'о'
-        15: 0,  # 'п'
-        9: 1,  # 'р'
-        7: 1,  # 'с'
-        6: 0,  # 'т'
-        14: 2,  # 'у'
-        39: 0,  # 'ф'
-        26: 0,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 0,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 3,  # 'ы'
-        17: 1,  # 'ь'
-        30: 2,  # 'э'
-        27: 1,  # 'ю'
-        16: 1,  # 'я'
-    },
-    31: {  # 'Н'
-        37: 2,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 1,  # 'Г'
-        41: 1,  # 'Д'
-        48: 1,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 1,  # 'З'
-        42: 2,  # 'И'
-        60: 0,  # 'Й'
-        36: 1,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 1,  # 'Н'
-        34: 1,  # 'О'
-        35: 0,  # 'П'
-        45: 1,  # 'Р'
-        32: 1,  # 'С'
-        40: 1,  # 'Т'
-        52: 1,  # 'У'
-        53: 1,  # 'Ф'
-        55: 1,  # 'Х'
-        58: 1,  # 'Ц'
-        50: 1,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 1,  # 'Ы'
-        61: 1,  # 'Ь'
-        47: 1,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 1,  # 'Я'
-        3: 3,  # 'а'
-        21: 0,  # 'б'
-        10: 0,  # 'в'
-        19: 0,  # 'г'
-        13: 0,  # 'д'
-        2: 3,  # 'е'
-        24: 0,  # 'ж'
-        20: 0,  # 'з'
-        4: 3,  # 'и'
-        23: 0,  # 'й'
-        11: 0,  # 'к'
-        8: 0,  # 'л'
-        12: 0,  # 'м'
-        5: 0,  # 'н'
-        1: 3,  # 'о'
-        15: 0,  # 'п'
-        9: 1,  # 'р'
-        7: 0,  # 'с'
-        6: 0,  # 'т'
-        14: 3,  # 'у'
-        39: 0,  # 'ф'
-        26: 1,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 0,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 1,  # 'ы'
-        17: 2,  # 'ь'
-        30: 1,  # 'э'
-        27: 1,  # 'ю'
-        16: 1,  # 'я'
-    },
-    34: {  # 'О'
-        37: 0,  # 'А'
-        44: 1,  # 'Б'
-        33: 1,  # 'В'
-        46: 1,  # 'Г'
-        41: 2,  # 'Д'
-        48: 1,  # 'Е'
-        56: 1,  # 'Ж'
-        51: 1,  # 'З'
-        42: 1,  # 'И'
-        60: 1,  # 'Й'
-        36: 1,  # 'К'
-        49: 2,  # 'Л'
-        38: 1,  # 'М'
-        31: 2,  # 'Н'
-        34: 1,  # 'О'
-        35: 1,  # 'П'
-        45: 2,  # 'Р'
-        32: 1,  # 'С'
-        40: 1,  # 'Т'
-        52: 1,  # 'У'
-        53: 1,  # 'Ф'
-        55: 1,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 1,  # 'Ч'
-        57: 1,  # 'Ш'
-        63: 1,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 1,  # 'Я'
-        3: 1,  # 'а'
-        21: 2,  # 'б'
-        10: 1,  # 'в'
-        19: 2,  # 'г'
-        13: 2,  # 'д'
-        2: 0,  # 'е'
-        24: 1,  # 'ж'
-        20: 1,  # 'з'
-        4: 0,  # 'и'
-        23: 1,  # 'й'
-        11: 2,  # 'к'
-        8: 2,  # 'л'
-        12: 1,  # 'м'
-        5: 3,  # 'н'
-        1: 0,  # 'о'
-        15: 2,  # 'п'
-        9: 2,  # 'р'
-        7: 2,  # 'с'
-        6: 2,  # 'т'
-        14: 1,  # 'у'
-        39: 1,  # 'ф'
-        26: 2,  # 'х'
-        28: 1,  # 'ц'
-        22: 2,  # 'ч'
-        25: 2,  # 'ш'
-        29: 1,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 0,  # 'э'
-        27: 0,  # 'ю'
-        16: 0,  # 'я'
-    },
-    35: {  # 'П'
-        37: 1,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 1,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 1,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 1,  # 'Л'
-        38: 0,  # 'М'
-        31: 1,  # 'Н'
-        34: 1,  # 'О'
-        35: 1,  # 'П'
-        45: 2,  # 'Р'
-        32: 1,  # 'С'
-        40: 1,  # 'Т'
-        52: 1,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 1,  # 'Ы'
-        61: 1,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 1,  # 'Я'
-        3: 2,  # 'а'
-        21: 0,  # 'б'
-        10: 0,  # 'в'
-        19: 0,  # 'г'
-        13: 0,  # 'д'
-        2: 2,  # 'е'
-        24: 0,  # 'ж'
-        20: 0,  # 'з'
-        4: 2,  # 'и'
-        23: 0,  # 'й'
-        11: 0,  # 'к'
-        8: 2,  # 'л'
-        12: 0,  # 'м'
-        5: 1,  # 'н'
-        1: 3,  # 'о'
-        15: 0,  # 'п'
-        9: 3,  # 'р'
-        7: 1,  # 'с'
-        6: 1,  # 'т'
-        14: 2,  # 'у'
-        39: 1,  # 'ф'
-        26: 0,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 1,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 1,  # 'ы'
-        17: 2,  # 'ь'
-        30: 1,  # 'э'
-        27: 0,  # 'ю'
-        16: 2,  # 'я'
-    },
-    45: {  # 'Р'
-        37: 2,  # 'А'
-        44: 1,  # 'Б'
-        33: 1,  # 'В'
-        46: 1,  # 'Г'
-        41: 1,  # 'Д'
-        48: 2,  # 'Е'
-        56: 1,  # 'Ж'
-        51: 0,  # 'З'
-        42: 2,  # 'И'
-        60: 0,  # 'Й'
-        36: 1,  # 'К'
-        49: 1,  # 'Л'
-        38: 1,  # 'М'
-        31: 1,  # 'Н'
-        34: 2,  # 'О'
-        35: 0,  # 'П'
-        45: 1,  # 'Р'
-        32: 1,  # 'С'
-        40: 1,  # 'Т'
-        52: 1,  # 'У'
-        53: 0,  # 'Ф'
-        55: 1,  # 'Х'
-        58: 1,  # 'Ц'
-        50: 1,  # 'Ч'
-        57: 1,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 1,  # 'Ы'
-        61: 1,  # 'Ь'
-        47: 1,  # 'Э'
-        59: 1,  # 'Ю'
-        43: 1,  # 'Я'
-        3: 3,  # 'а'
-        21: 0,  # 'б'
-        10: 1,  # 'в'
-        19: 0,  # 'г'
-        13: 0,  # 'д'
-        2: 2,  # 'е'
-        24: 1,  # 'ж'
-        20: 0,  # 'з'
-        4: 2,  # 'и'
-        23: 0,  # 'й'
-        11: 0,  # 'к'
-        8: 0,  # 'л'
-        12: 0,  # 'м'
-        5: 0,  # 'н'
-        1: 3,  # 'о'
-        15: 0,  # 'п'
-        9: 1,  # 'р'
-        7: 0,  # 'с'
-        6: 0,  # 'т'
-        14: 2,  # 'у'
-        39: 0,  # 'ф'
-        26: 0,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 0,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 2,  # 'ы'
-        17: 0,  # 'ь'
-        30: 1,  # 'э'
-        27: 1,  # 'ю'
-        16: 2,  # 'я'
-    },
-    32: {  # 'С'
-        37: 1,  # 'А'
-        44: 1,  # 'Б'
-        33: 1,  # 'В'
-        46: 1,  # 'Г'
-        41: 1,  # 'Д'
-        48: 1,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 1,  # 'И'
-        60: 0,  # 'Й'
-        36: 1,  # 'К'
-        49: 1,  # 'Л'
-        38: 1,  # 'М'
-        31: 1,  # 'Н'
-        34: 1,  # 'О'
-        35: 1,  # 'П'
-        45: 1,  # 'Р'
-        32: 1,  # 'С'
-        40: 2,  # 'Т'
-        52: 1,  # 'У'
-        53: 0,  # 'Ф'
-        55: 1,  # 'Х'
-        58: 1,  # 'Ц'
-        50: 1,  # 'Ч'
-        57: 1,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 1,  # 'Ы'
-        61: 1,  # 'Ь'
-        47: 1,  # 'Э'
-        59: 1,  # 'Ю'
-        43: 1,  # 'Я'
-        3: 2,  # 'а'
-        21: 1,  # 'б'
-        10: 2,  # 'в'
-        19: 1,  # 'г'
-        13: 2,  # 'д'
-        2: 3,  # 'е'
-        24: 1,  # 'ж'
-        20: 1,  # 'з'
-        4: 2,  # 'и'
-        23: 0,  # 'й'
-        11: 2,  # 'к'
-        8: 2,  # 'л'
-        12: 2,  # 'м'
-        5: 2,  # 'н'
-        1: 2,  # 'о'
-        15: 2,  # 'п'
-        9: 2,  # 'р'
-        7: 1,  # 'с'
-        6: 3,  # 'т'
-        14: 2,  # 'у'
-        39: 1,  # 'ф'
-        26: 1,  # 'х'
-        28: 1,  # 'ц'
-        22: 1,  # 'ч'
-        25: 0,  # 'ш'
-        29: 0,  # 'щ'
-        54: 1,  # 'ъ'
-        18: 1,  # 'ы'
-        17: 1,  # 'ь'
-        30: 2,  # 'э'
-        27: 1,  # 'ю'
-        16: 1,  # 'я'
-    },
-    40: {  # 'Т'
-        37: 1,  # 'А'
-        44: 0,  # 'Б'
-        33: 1,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 1,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 1,  # 'И'
-        60: 0,  # 'Й'
-        36: 1,  # 'К'
-        49: 1,  # 'Л'
-        38: 1,  # 'М'
-        31: 1,  # 'Н'
-        34: 2,  # 'О'
-        35: 0,  # 'П'
-        45: 1,  # 'Р'
-        32: 1,  # 'С'
-        40: 1,  # 'Т'
-        52: 1,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 1,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 1,  # 'Ы'
-        61: 1,  # 'Ь'
-        47: 1,  # 'Э'
-        59: 1,  # 'Ю'
-        43: 1,  # 'Я'
-        3: 3,  # 'а'
-        21: 1,  # 'б'
-        10: 2,  # 'в'
-        19: 0,  # 'г'
-        13: 0,  # 'д'
-        2: 3,  # 'е'
-        24: 0,  # 'ж'
-        20: 0,  # 'з'
-        4: 2,  # 'и'
-        23: 0,  # 'й'
-        11: 1,  # 'к'
-        8: 1,  # 'л'
-        12: 0,  # 'м'
-        5: 0,  # 'н'
-        1: 3,  # 'о'
-        15: 0,  # 'п'
-        9: 2,  # 'р'
-        7: 1,  # 'с'
-        6: 0,  # 'т'
-        14: 2,  # 'у'
-        39: 0,  # 'ф'
-        26: 0,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 0,  # 'ш'
-        29: 1,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 3,  # 'ы'
-        17: 1,  # 'ь'
-        30: 2,  # 'э'
-        27: 1,  # 'ю'
-        16: 1,  # 'я'
-    },
-    52: {  # 'У'
-        37: 1,  # 'А'
-        44: 1,  # 'Б'
-        33: 1,  # 'В'
-        46: 1,  # 'Г'
-        41: 1,  # 'Д'
-        48: 1,  # 'Е'
-        56: 1,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 1,  # 'Й'
-        36: 1,  # 'К'
-        49: 1,  # 'Л'
-        38: 1,  # 'М'
-        31: 1,  # 'Н'
-        34: 1,  # 'О'
-        35: 1,  # 'П'
-        45: 1,  # 'Р'
-        32: 1,  # 'С'
-        40: 1,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 1,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 1,  # 'Ч'
-        57: 1,  # 'Ш'
-        63: 1,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 1,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 1,  # 'а'
-        21: 2,  # 'б'
-        10: 2,  # 'в'
-        19: 1,  # 'г'
-        13: 2,  # 'д'
-        2: 1,  # 'е'
-        24: 2,  # 'ж'
-        20: 2,  # 'з'
-        4: 2,  # 'и'
-        23: 1,  # 'й'
-        11: 1,  # 'к'
-        8: 2,  # 'л'
-        12: 2,  # 'м'
-        5: 1,  # 'н'
-        1: 2,  # 'о'
-        15: 1,  # 'п'
-        9: 2,  # 'р'
-        7: 2,  # 'с'
-        6: 2,  # 'т'
-        14: 0,  # 'у'
-        39: 1,  # 'ф'
-        26: 1,  # 'х'
-        28: 1,  # 'ц'
-        22: 2,  # 'ч'
-        25: 1,  # 'ш'
-        29: 1,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 2,  # 'э'
-        27: 1,  # 'ю'
-        16: 0,  # 'я'
-    },
-    53: {  # 'Ф'
-        37: 1,  # 'А'
-        44: 1,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 1,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 1,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 1,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 1,  # 'О'
-        35: 0,  # 'П'
-        45: 1,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 1,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 2,  # 'а'
-        21: 0,  # 'б'
-        10: 0,  # 'в'
-        19: 0,  # 'г'
-        13: 0,  # 'д'
-        2: 2,  # 'е'
-        24: 0,  # 'ж'
-        20: 0,  # 'з'
-        4: 2,  # 'и'
-        23: 0,  # 'й'
-        11: 0,  # 'к'
-        8: 2,  # 'л'
-        12: 0,  # 'м'
-        5: 0,  # 'н'
-        1: 2,  # 'о'
-        15: 0,  # 'п'
-        9: 2,  # 'р'
-        7: 0,  # 'с'
-        6: 1,  # 'т'
-        14: 2,  # 'у'
-        39: 0,  # 'ф'
-        26: 0,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 0,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 1,  # 'ь'
-        30: 2,  # 'э'
-        27: 0,  # 'ю'
-        16: 0,  # 'я'
-    },
-    55: {  # 'Х'
-        37: 1,  # 'А'
-        44: 0,  # 'Б'
-        33: 1,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 1,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 1,  # 'Л'
-        38: 1,  # 'М'
-        31: 1,  # 'Н'
-        34: 1,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 2,  # 'а'
-        21: 0,  # 'б'
-        10: 2,  # 'в'
-        19: 0,  # 'г'
-        13: 0,  # 'д'
-        2: 2,  # 'е'
-        24: 0,  # 'ж'
-        20: 0,  # 'з'
-        4: 2,  # 'и'
-        23: 0,  # 'й'
-        11: 0,  # 'к'
-        8: 2,  # 'л'
-        12: 1,  # 'м'
-        5: 0,  # 'н'
-        1: 2,  # 'о'
-        15: 0,  # 'п'
-        9: 2,  # 'р'
-        7: 0,  # 'с'
-        6: 0,  # 'т'
-        14: 1,  # 'у'
-        39: 0,  # 'ф'
-        26: 0,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 0,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 1,  # 'ь'
-        30: 1,  # 'э'
-        27: 0,  # 'ю'
-        16: 0,  # 'я'
-    },
-    58: {  # 'Ц'
-        37: 1,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 1,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 1,  # 'И'
-        60: 0,  # 'Й'
-        36: 1,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 1,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 1,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 1,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 1,  # 'а'
-        21: 0,  # 'б'
-        10: 1,  # 'в'
-        19: 0,  # 'г'
-        13: 0,  # 'д'
-        2: 2,  # 'е'
-        24: 0,  # 'ж'
-        20: 0,  # 'з'
-        4: 2,  # 'и'
-        23: 0,  # 'й'
-        11: 0,  # 'к'
-        8: 0,  # 'л'
-        12: 0,  # 'м'
-        5: 0,  # 'н'
-        1: 0,  # 'о'
-        15: 0,  # 'п'
-        9: 0,  # 'р'
-        7: 0,  # 'с'
-        6: 0,  # 'т'
-        14: 1,  # 'у'
-        39: 0,  # 'ф'
-        26: 0,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 0,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 1,  # 'ы'
-        17: 0,  # 'ь'
-        30: 0,  # 'э'
-        27: 1,  # 'ю'
-        16: 0,  # 'я'
-    },
-    50: {  # 'Ч'
-        37: 1,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 1,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 1,  # 'И'
-        60: 0,  # 'Й'
-        36: 1,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 1,  # 'Н'
-        34: 0,  # 'О'
-        35: 1,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 1,  # 'Т'
-        52: 1,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 1,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 2,  # 'а'
-        21: 0,  # 'б'
-        10: 0,  # 'в'
-        19: 0,  # 'г'
-        13: 0,  # 'д'
-        2: 2,  # 'е'
-        24: 0,  # 'ж'
-        20: 0,  # 'з'
-        4: 2,  # 'и'
-        23: 0,  # 'й'
-        11: 0,  # 'к'
-        8: 1,  # 'л'
-        12: 0,  # 'м'
-        5: 0,  # 'н'
-        1: 1,  # 'о'
-        15: 0,  # 'п'
-        9: 1,  # 'р'
-        7: 0,  # 'с'
-        6: 3,  # 'т'
-        14: 2,  # 'у'
-        39: 0,  # 'ф'
-        26: 0,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 0,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 1,  # 'ь'
-        30: 0,  # 'э'
-        27: 0,  # 'ю'
-        16: 0,  # 'я'
-    },
-    57: {  # 'Ш'
-        37: 1,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 1,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 1,  # 'И'
-        60: 0,  # 'Й'
-        36: 1,  # 'К'
-        49: 1,  # 'Л'
-        38: 0,  # 'М'
-        31: 1,  # 'Н'
-        34: 1,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 1,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 2,  # 'а'
-        21: 0,  # 'б'
-        10: 1,  # 'в'
-        19: 0,  # 'г'
-        13: 0,  # 'д'
-        2: 2,  # 'е'
-        24: 0,  # 'ж'
-        20: 0,  # 'з'
-        4: 1,  # 'и'
-        23: 0,  # 'й'
-        11: 1,  # 'к'
-        8: 2,  # 'л'
-        12: 1,  # 'м'
-        5: 1,  # 'н'
-        1: 2,  # 'о'
-        15: 2,  # 'п'
-        9: 1,  # 'р'
-        7: 0,  # 'с'
-        6: 2,  # 'т'
-        14: 2,  # 'у'
-        39: 0,  # 'ф'
-        26: 1,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 1,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 1,  # 'э'
-        27: 0,  # 'ю'
-        16: 0,  # 'я'
-    },
-    63: {  # 'Щ'
-        37: 1,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 1,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 1,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 1,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 1,  # 'а'
-        21: 0,  # 'б'
-        10: 0,  # 'в'
-        19: 0,  # 'г'
-        13: 0,  # 'д'
-        2: 1,  # 'е'
-        24: 0,  # 'ж'
-        20: 0,  # 'з'
-        4: 1,  # 'и'
-        23: 0,  # 'й'
-        11: 0,  # 'к'
-        8: 0,  # 'л'
-        12: 0,  # 'м'
-        5: 0,  # 'н'
-        1: 1,  # 'о'
-        15: 0,  # 'п'
-        9: 0,  # 'р'
-        7: 0,  # 'с'
-        6: 0,  # 'т'
-        14: 1,  # 'у'
-        39: 0,  # 'ф'
-        26: 0,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 0,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 0,  # 'э'
-        27: 0,  # 'ю'
-        16: 0,  # 'я'
-    },
-    62: {  # 'Ы'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 1,  # 'В'
-        46: 1,  # 'Г'
-        41: 0,  # 'Д'
-        48: 1,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 1,  # 'Й'
-        36: 1,  # 'К'
-        49: 1,  # 'Л'
-        38: 1,  # 'М'
-        31: 1,  # 'Н'
-        34: 0,  # 'О'
-        35: 1,  # 'П'
-        45: 1,  # 'Р'
-        32: 1,  # 'С'
-        40: 1,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 1,  # 'Х'
-        58: 1,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 1,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 0,  # 'а'
-        21: 0,  # 'б'
-        10: 0,  # 'в'
-        19: 0,  # 'г'
-        13: 0,  # 'д'
-        2: 0,  # 'е'
-        24: 0,  # 'ж'
-        20: 0,  # 'з'
-        4: 0,  # 'и'
-        23: 0,  # 'й'
-        11: 0,  # 'к'
-        8: 0,  # 'л'
-        12: 0,  # 'м'
-        5: 0,  # 'н'
-        1: 0,  # 'о'
-        15: 0,  # 'п'
-        9: 0,  # 'р'
-        7: 0,  # 'с'
-        6: 0,  # 'т'
-        14: 0,  # 'у'
-        39: 0,  # 'ф'
-        26: 0,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 0,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 0,  # 'э'
-        27: 0,  # 'ю'
-        16: 0,  # 'я'
-    },
-    61: {  # 'Ь'
-        37: 0,  # 'А'
-        44: 1,  # 'Б'
-        33: 1,  # 'В'
-        46: 0,  # 'Г'
-        41: 1,  # 'Д'
-        48: 1,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 1,  # 'И'
-        60: 0,  # 'Й'
-        36: 1,  # 'К'
-        49: 0,  # 'Л'
-        38: 1,  # 'М'
-        31: 1,  # 'Н'
-        34: 1,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 1,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 1,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 1,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 1,  # 'Ю'
-        43: 1,  # 'Я'
-        3: 0,  # 'а'
-        21: 0,  # 'б'
-        10: 0,  # 'в'
-        19: 0,  # 'г'
-        13: 0,  # 'д'
-        2: 0,  # 'е'
-        24: 0,  # 'ж'
-        20: 0,  # 'з'
-        4: 0,  # 'и'
-        23: 0,  # 'й'
-        11: 0,  # 'к'
-        8: 0,  # 'л'
-        12: 0,  # 'м'
-        5: 0,  # 'н'
-        1: 0,  # 'о'
-        15: 0,  # 'п'
-        9: 0,  # 'р'
-        7: 0,  # 'с'
-        6: 0,  # 'т'
-        14: 0,  # 'у'
-        39: 0,  # 'ф'
-        26: 0,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 0,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 0,  # 'э'
-        27: 0,  # 'ю'
-        16: 0,  # 'я'
-    },
-    47: {  # 'Э'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 1,  # 'В'
-        46: 0,  # 'Г'
-        41: 1,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 1,  # 'Й'
-        36: 1,  # 'К'
-        49: 1,  # 'Л'
-        38: 1,  # 'М'
-        31: 1,  # 'Н'
-        34: 0,  # 'О'
-        35: 1,  # 'П'
-        45: 1,  # 'Р'
-        32: 1,  # 'С'
-        40: 1,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 1,  # 'а'
-        21: 1,  # 'б'
-        10: 2,  # 'в'
-        19: 1,  # 'г'
-        13: 2,  # 'д'
-        2: 0,  # 'е'
-        24: 1,  # 'ж'
-        20: 0,  # 'з'
-        4: 0,  # 'и'
-        23: 2,  # 'й'
-        11: 2,  # 'к'
-        8: 2,  # 'л'
-        12: 2,  # 'м'
-        5: 2,  # 'н'
-        1: 0,  # 'о'
-        15: 1,  # 'п'
-        9: 2,  # 'р'
-        7: 1,  # 'с'
-        6: 3,  # 'т'
-        14: 1,  # 'у'
-        39: 1,  # 'ф'
-        26: 1,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 1,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 0,  # 'э'
-        27: 0,  # 'ю'
-        16: 0,  # 'я'
-    },
-    59: {  # 'Ю'
-        37: 1,  # 'А'
-        44: 1,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 1,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 1,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 1,  # 'Р'
-        32: 0,  # 'С'
-        40: 1,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 1,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 1,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 0,  # 'а'
-        21: 1,  # 'б'
-        10: 0,  # 'в'
-        19: 1,  # 'г'
-        13: 1,  # 'д'
-        2: 0,  # 'е'
-        24: 1,  # 'ж'
-        20: 0,  # 'з'
-        4: 0,  # 'и'
-        23: 0,  # 'й'
-        11: 1,  # 'к'
-        8: 2,  # 'л'
-        12: 1,  # 'м'
-        5: 2,  # 'н'
-        1: 0,  # 'о'
-        15: 1,  # 'п'
-        9: 1,  # 'р'
-        7: 1,  # 'с'
-        6: 0,  # 'т'
-        14: 0,  # 'у'
-        39: 0,  # 'ф'
-        26: 1,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 0,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 0,  # 'э'
-        27: 0,  # 'ю'
-        16: 0,  # 'я'
-    },
-    43: {  # 'Я'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 1,  # 'В'
-        46: 1,  # 'Г'
-        41: 0,  # 'Д'
-        48: 1,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 1,  # 'И'
-        60: 0,  # 'Й'
-        36: 1,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 1,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 1,  # 'С'
-        40: 1,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 1,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 1,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 1,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 1,  # 'Ю'
-        43: 1,  # 'Я'
-        3: 0,  # 'а'
-        21: 1,  # 'б'
-        10: 1,  # 'в'
-        19: 1,  # 'г'
-        13: 1,  # 'д'
-        2: 0,  # 'е'
-        24: 0,  # 'ж'
-        20: 1,  # 'з'
-        4: 0,  # 'и'
-        23: 1,  # 'й'
-        11: 1,  # 'к'
-        8: 1,  # 'л'
-        12: 1,  # 'м'
-        5: 2,  # 'н'
-        1: 0,  # 'о'
-        15: 1,  # 'п'
-        9: 1,  # 'р'
-        7: 1,  # 'с'
-        6: 0,  # 'т'
-        14: 0,  # 'у'
-        39: 0,  # 'ф'
-        26: 1,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 1,  # 'ш'
-        29: 1,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 0,  # 'э'
-        27: 0,  # 'ю'
-        16: 0,  # 'я'
-    },
-    3: {  # 'а'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 1,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 1,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 2,  # 'а'
-        21: 3,  # 'б'
-        10: 3,  # 'в'
-        19: 3,  # 'г'
-        13: 3,  # 'д'
-        2: 3,  # 'е'
-        24: 3,  # 'ж'
-        20: 3,  # 'з'
-        4: 3,  # 'и'
-        23: 3,  # 'й'
-        11: 3,  # 'к'
-        8: 3,  # 'л'
-        12: 3,  # 'м'
-        5: 3,  # 'н'
-        1: 2,  # 'о'
-        15: 3,  # 'п'
-        9: 3,  # 'р'
-        7: 3,  # 'с'
-        6: 3,  # 'т'
-        14: 3,  # 'у'
-        39: 2,  # 'ф'
-        26: 3,  # 'х'
-        28: 3,  # 'ц'
-        22: 3,  # 'ч'
-        25: 3,  # 'ш'
-        29: 3,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 2,  # 'э'
-        27: 3,  # 'ю'
-        16: 3,  # 'я'
-    },
-    21: {  # 'б'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 1,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 3,  # 'а'
-        21: 2,  # 'б'
-        10: 2,  # 'в'
-        19: 1,  # 'г'
-        13: 2,  # 'д'
-        2: 3,  # 'е'
-        24: 2,  # 'ж'
-        20: 1,  # 'з'
-        4: 3,  # 'и'
-        23: 0,  # 'й'
-        11: 2,  # 'к'
-        8: 3,  # 'л'
-        12: 2,  # 'м'
-        5: 3,  # 'н'
-        1: 3,  # 'о'
-        15: 1,  # 'п'
-        9: 3,  # 'р'
-        7: 3,  # 'с'
-        6: 2,  # 'т'
-        14: 3,  # 'у'
-        39: 0,  # 'ф'
-        26: 2,  # 'х'
-        28: 1,  # 'ц'
-        22: 1,  # 'ч'
-        25: 2,  # 'ш'
-        29: 3,  # 'щ'
-        54: 2,  # 'ъ'
-        18: 3,  # 'ы'
-        17: 2,  # 'ь'
-        30: 1,  # 'э'
-        27: 2,  # 'ю'
-        16: 3,  # 'я'
-    },
-    10: {  # 'в'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 3,  # 'а'
-        21: 2,  # 'б'
-        10: 2,  # 'в'
-        19: 2,  # 'г'
-        13: 3,  # 'д'
-        2: 3,  # 'е'
-        24: 1,  # 'ж'
-        20: 3,  # 'з'
-        4: 3,  # 'и'
-        23: 0,  # 'й'
-        11: 3,  # 'к'
-        8: 3,  # 'л'
-        12: 2,  # 'м'
-        5: 3,  # 'н'
-        1: 3,  # 'о'
-        15: 3,  # 'п'
-        9: 3,  # 'р'
-        7: 3,  # 'с'
-        6: 3,  # 'т'
-        14: 3,  # 'у'
-        39: 1,  # 'ф'
-        26: 2,  # 'х'
-        28: 2,  # 'ц'
-        22: 2,  # 'ч'
-        25: 3,  # 'ш'
-        29: 2,  # 'щ'
-        54: 2,  # 'ъ'
-        18: 3,  # 'ы'
-        17: 3,  # 'ь'
-        30: 1,  # 'э'
-        27: 1,  # 'ю'
-        16: 3,  # 'я'
-    },
-    19: {  # 'г'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 3,  # 'а'
-        21: 1,  # 'б'
-        10: 2,  # 'в'
-        19: 1,  # 'г'
-        13: 3,  # 'д'
-        2: 3,  # 'е'
-        24: 0,  # 'ж'
-        20: 1,  # 'з'
-        4: 3,  # 'и'
-        23: 0,  # 'й'
-        11: 2,  # 'к'
-        8: 3,  # 'л'
-        12: 2,  # 'м'
-        5: 3,  # 'н'
-        1: 3,  # 'о'
-        15: 0,  # 'п'
-        9: 3,  # 'р'
-        7: 2,  # 'с'
-        6: 2,  # 'т'
-        14: 3,  # 'у'
-        39: 1,  # 'ф'
-        26: 1,  # 'х'
-        28: 1,  # 'ц'
-        22: 2,  # 'ч'
-        25: 1,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 1,  # 'ы'
-        17: 1,  # 'ь'
-        30: 1,  # 'э'
-        27: 1,  # 'ю'
-        16: 0,  # 'я'
-    },
-    13: {  # 'д'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 3,  # 'а'
-        21: 2,  # 'б'
-        10: 3,  # 'в'
-        19: 2,  # 'г'
-        13: 2,  # 'д'
-        2: 3,  # 'е'
-        24: 2,  # 'ж'
-        20: 2,  # 'з'
-        4: 3,  # 'и'
-        23: 0,  # 'й'
-        11: 3,  # 'к'
-        8: 3,  # 'л'
-        12: 2,  # 'м'
-        5: 3,  # 'н'
-        1: 3,  # 'о'
-        15: 2,  # 'п'
-        9: 3,  # 'р'
-        7: 3,  # 'с'
-        6: 3,  # 'т'
-        14: 3,  # 'у'
-        39: 1,  # 'ф'
-        26: 2,  # 'х'
-        28: 3,  # 'ц'
-        22: 2,  # 'ч'
-        25: 2,  # 'ш'
-        29: 1,  # 'щ'
-        54: 2,  # 'ъ'
-        18: 3,  # 'ы'
-        17: 3,  # 'ь'
-        30: 1,  # 'э'
-        27: 2,  # 'ю'
-        16: 3,  # 'я'
-    },
-    2: {  # 'е'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 2,  # 'а'
-        21: 3,  # 'б'
-        10: 3,  # 'в'
-        19: 3,  # 'г'
-        13: 3,  # 'д'
-        2: 3,  # 'е'
-        24: 3,  # 'ж'
-        20: 3,  # 'з'
-        4: 2,  # 'и'
-        23: 3,  # 'й'
-        11: 3,  # 'к'
-        8: 3,  # 'л'
-        12: 3,  # 'м'
-        5: 3,  # 'н'
-        1: 3,  # 'о'
-        15: 3,  # 'п'
-        9: 3,  # 'р'
-        7: 3,  # 'с'
-        6: 3,  # 'т'
-        14: 2,  # 'у'
-        39: 2,  # 'ф'
-        26: 3,  # 'х'
-        28: 3,  # 'ц'
-        22: 3,  # 'ч'
-        25: 3,  # 'ш'
-        29: 3,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 1,  # 'э'
-        27: 2,  # 'ю'
-        16: 3,  # 'я'
-    },
-    24: {  # 'ж'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 3,  # 'а'
-        21: 2,  # 'б'
-        10: 1,  # 'в'
-        19: 2,  # 'г'
-        13: 3,  # 'д'
-        2: 3,  # 'е'
-        24: 2,  # 'ж'
-        20: 1,  # 'з'
-        4: 3,  # 'и'
-        23: 0,  # 'й'
-        11: 2,  # 'к'
-        8: 2,  # 'л'
-        12: 1,  # 'м'
-        5: 3,  # 'н'
-        1: 2,  # 'о'
-        15: 1,  # 'п'
-        9: 2,  # 'р'
-        7: 2,  # 'с'
-        6: 1,  # 'т'
-        14: 3,  # 'у'
-        39: 1,  # 'ф'
-        26: 0,  # 'х'
-        28: 1,  # 'ц'
-        22: 2,  # 'ч'
-        25: 0,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 1,  # 'ы'
-        17: 2,  # 'ь'
-        30: 1,  # 'э'
-        27: 1,  # 'ю'
-        16: 1,  # 'я'
-    },
-    20: {  # 'з'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 3,  # 'а'
-        21: 3,  # 'б'
-        10: 3,  # 'в'
-        19: 3,  # 'г'
-        13: 3,  # 'д'
-        2: 3,  # 'е'
-        24: 2,  # 'ж'
-        20: 2,  # 'з'
-        4: 3,  # 'и'
-        23: 0,  # 'й'
-        11: 3,  # 'к'
-        8: 3,  # 'л'
-        12: 3,  # 'м'
-        5: 3,  # 'н'
-        1: 3,  # 'о'
-        15: 0,  # 'п'
-        9: 3,  # 'р'
-        7: 2,  # 'с'
-        6: 2,  # 'т'
-        14: 3,  # 'у'
-        39: 0,  # 'ф'
-        26: 0,  # 'х'
-        28: 1,  # 'ц'
-        22: 2,  # 'ч'
-        25: 1,  # 'ш'
-        29: 0,  # 'щ'
-        54: 2,  # 'ъ'
-        18: 3,  # 'ы'
-        17: 2,  # 'ь'
-        30: 1,  # 'э'
-        27: 1,  # 'ю'
-        16: 3,  # 'я'
-    },
-    4: {  # 'и'
-        37: 1,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 1,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 3,  # 'а'
-        21: 3,  # 'б'
-        10: 3,  # 'в'
-        19: 3,  # 'г'
-        13: 3,  # 'д'
-        2: 3,  # 'е'
-        24: 3,  # 'ж'
-        20: 3,  # 'з'
-        4: 3,  # 'и'
-        23: 3,  # 'й'
-        11: 3,  # 'к'
-        8: 3,  # 'л'
-        12: 3,  # 'м'
-        5: 3,  # 'н'
-        1: 3,  # 'о'
-        15: 3,  # 'п'
-        9: 3,  # 'р'
-        7: 3,  # 'с'
-        6: 3,  # 'т'
-        14: 2,  # 'у'
-        39: 2,  # 'ф'
-        26: 3,  # 'х'
-        28: 3,  # 'ц'
-        22: 3,  # 'ч'
-        25: 3,  # 'ш'
-        29: 3,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 2,  # 'э'
-        27: 3,  # 'ю'
-        16: 3,  # 'я'
-    },
-    23: {  # 'й'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 1,  # 'а'
-        21: 1,  # 'б'
-        10: 1,  # 'в'
-        19: 2,  # 'г'
-        13: 3,  # 'д'
-        2: 2,  # 'е'
-        24: 0,  # 'ж'
-        20: 2,  # 'з'
-        4: 1,  # 'и'
-        23: 0,  # 'й'
-        11: 2,  # 'к'
-        8: 2,  # 'л'
-        12: 2,  # 'м'
-        5: 3,  # 'н'
-        1: 2,  # 'о'
-        15: 1,  # 'п'
-        9: 2,  # 'р'
-        7: 3,  # 'с'
-        6: 3,  # 'т'
-        14: 1,  # 'у'
-        39: 2,  # 'ф'
-        26: 1,  # 'х'
-        28: 2,  # 'ц'
-        22: 3,  # 'ч'
-        25: 2,  # 'ш'
-        29: 1,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 1,  # 'э'
-        27: 1,  # 'ю'
-        16: 2,  # 'я'
-    },
-    11: {  # 'к'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 3,  # 'а'
-        21: 1,  # 'б'
-        10: 3,  # 'в'
-        19: 1,  # 'г'
-        13: 1,  # 'д'
-        2: 3,  # 'е'
-        24: 2,  # 'ж'
-        20: 2,  # 'з'
-        4: 3,  # 'и'
-        23: 0,  # 'й'
-        11: 2,  # 'к'
-        8: 3,  # 'л'
-        12: 1,  # 'м'
-        5: 3,  # 'н'
-        1: 3,  # 'о'
-        15: 0,  # 'п'
-        9: 3,  # 'р'
-        7: 3,  # 'с'
-        6: 3,  # 'т'
-        14: 3,  # 'у'
-        39: 1,  # 'ф'
-        26: 2,  # 'х'
-        28: 2,  # 'ц'
-        22: 1,  # 'ч'
-        25: 2,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 1,  # 'ы'
-        17: 1,  # 'ь'
-        30: 1,  # 'э'
-        27: 1,  # 'ю'
-        16: 1,  # 'я'
-    },
-    8: {  # 'л'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 3,  # 'а'
-        21: 2,  # 'б'
-        10: 2,  # 'в'
-        19: 3,  # 'г'
-        13: 2,  # 'д'
-        2: 3,  # 'е'
-        24: 3,  # 'ж'
-        20: 2,  # 'з'
-        4: 3,  # 'и'
-        23: 0,  # 'й'
-        11: 3,  # 'к'
-        8: 3,  # 'л'
-        12: 2,  # 'м'
-        5: 3,  # 'н'
-        1: 3,  # 'о'
-        15: 2,  # 'п'
-        9: 1,  # 'р'
-        7: 3,  # 'с'
-        6: 2,  # 'т'
-        14: 3,  # 'у'
-        39: 2,  # 'ф'
-        26: 2,  # 'х'
-        28: 1,  # 'ц'
-        22: 3,  # 'ч'
-        25: 2,  # 'ш'
-        29: 1,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 3,  # 'ы'
-        17: 3,  # 'ь'
-        30: 1,  # 'э'
-        27: 3,  # 'ю'
-        16: 3,  # 'я'
-    },
-    12: {  # 'м'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 3,  # 'а'
-        21: 2,  # 'б'
-        10: 2,  # 'в'
-        19: 2,  # 'г'
-        13: 1,  # 'д'
-        2: 3,  # 'е'
-        24: 1,  # 'ж'
-        20: 1,  # 'з'
-        4: 3,  # 'и'
-        23: 0,  # 'й'
-        11: 2,  # 'к'
-        8: 3,  # 'л'
-        12: 2,  # 'м'
-        5: 3,  # 'н'
-        1: 3,  # 'о'
-        15: 2,  # 'п'
-        9: 2,  # 'р'
-        7: 3,  # 'с'
-        6: 2,  # 'т'
-        14: 3,  # 'у'
-        39: 2,  # 'ф'
-        26: 2,  # 'х'
-        28: 2,  # 'ц'
-        22: 2,  # 'ч'
-        25: 1,  # 'ш'
-        29: 1,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 3,  # 'ы'
-        17: 2,  # 'ь'
-        30: 2,  # 'э'
-        27: 1,  # 'ю'
-        16: 3,  # 'я'
-    },
-    5: {  # 'н'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 3,  # 'а'
-        21: 2,  # 'б'
-        10: 2,  # 'в'
-        19: 3,  # 'г'
-        13: 3,  # 'д'
-        2: 3,  # 'е'
-        24: 2,  # 'ж'
-        20: 2,  # 'з'
-        4: 3,  # 'и'
-        23: 0,  # 'й'
-        11: 3,  # 'к'
-        8: 2,  # 'л'
-        12: 1,  # 'м'
-        5: 3,  # 'н'
-        1: 3,  # 'о'
-        15: 1,  # 'п'
-        9: 2,  # 'р'
-        7: 3,  # 'с'
-        6: 3,  # 'т'
-        14: 3,  # 'у'
-        39: 2,  # 'ф'
-        26: 2,  # 'х'
-        28: 3,  # 'ц'
-        22: 3,  # 'ч'
-        25: 2,  # 'ш'
-        29: 2,  # 'щ'
-        54: 1,  # 'ъ'
-        18: 3,  # 'ы'
-        17: 3,  # 'ь'
-        30: 1,  # 'э'
-        27: 3,  # 'ю'
-        16: 3,  # 'я'
-    },
-    1: {  # 'о'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 2,  # 'а'
-        21: 3,  # 'б'
-        10: 3,  # 'в'
-        19: 3,  # 'г'
-        13: 3,  # 'д'
-        2: 3,  # 'е'
-        24: 3,  # 'ж'
-        20: 3,  # 'з'
-        4: 3,  # 'и'
-        23: 3,  # 'й'
-        11: 3,  # 'к'
-        8: 3,  # 'л'
-        12: 3,  # 'м'
-        5: 3,  # 'н'
-        1: 3,  # 'о'
-        15: 3,  # 'п'
-        9: 3,  # 'р'
-        7: 3,  # 'с'
-        6: 3,  # 'т'
-        14: 2,  # 'у'
-        39: 2,  # 'ф'
-        26: 3,  # 'х'
-        28: 2,  # 'ц'
-        22: 3,  # 'ч'
-        25: 3,  # 'ш'
-        29: 3,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 2,  # 'э'
-        27: 3,  # 'ю'
-        16: 3,  # 'я'
-    },
-    15: {  # 'п'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 3,  # 'а'
-        21: 1,  # 'б'
-        10: 0,  # 'в'
-        19: 0,  # 'г'
-        13: 0,  # 'д'
-        2: 3,  # 'е'
-        24: 0,  # 'ж'
-        20: 0,  # 'з'
-        4: 3,  # 'и'
-        23: 0,  # 'й'
-        11: 2,  # 'к'
-        8: 3,  # 'л'
-        12: 1,  # 'м'
-        5: 3,  # 'н'
-        1: 3,  # 'о'
-        15: 2,  # 'п'
-        9: 3,  # 'р'
-        7: 2,  # 'с'
-        6: 2,  # 'т'
-        14: 3,  # 'у'
-        39: 1,  # 'ф'
-        26: 0,  # 'х'
-        28: 2,  # 'ц'
-        22: 2,  # 'ч'
-        25: 1,  # 'ш'
-        29: 1,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 3,  # 'ы'
-        17: 2,  # 'ь'
-        30: 1,  # 'э'
-        27: 1,  # 'ю'
-        16: 3,  # 'я'
-    },
-    9: {  # 'р'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 3,  # 'а'
-        21: 2,  # 'б'
-        10: 3,  # 'в'
-        19: 3,  # 'г'
-        13: 3,  # 'д'
-        2: 3,  # 'е'
-        24: 3,  # 'ж'
-        20: 2,  # 'з'
-        4: 3,  # 'и'
-        23: 0,  # 'й'
-        11: 3,  # 'к'
-        8: 2,  # 'л'
-        12: 3,  # 'м'
-        5: 3,  # 'н'
-        1: 3,  # 'о'
-        15: 2,  # 'п'
-        9: 2,  # 'р'
-        7: 3,  # 'с'
-        6: 3,  # 'т'
-        14: 3,  # 'у'
-        39: 2,  # 'ф'
-        26: 3,  # 'х'
-        28: 2,  # 'ц'
-        22: 2,  # 'ч'
-        25: 3,  # 'ш'
-        29: 2,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 3,  # 'ы'
-        17: 3,  # 'ь'
-        30: 2,  # 'э'
-        27: 2,  # 'ю'
-        16: 3,  # 'я'
-    },
-    7: {  # 'с'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 1,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 3,  # 'а'
-        21: 2,  # 'б'
-        10: 3,  # 'в'
-        19: 2,  # 'г'
-        13: 3,  # 'д'
-        2: 3,  # 'е'
-        24: 2,  # 'ж'
-        20: 2,  # 'з'
-        4: 3,  # 'и'
-        23: 0,  # 'й'
-        11: 3,  # 'к'
-        8: 3,  # 'л'
-        12: 3,  # 'м'
-        5: 3,  # 'н'
-        1: 3,  # 'о'
-        15: 3,  # 'п'
-        9: 3,  # 'р'
-        7: 3,  # 'с'
-        6: 3,  # 'т'
-        14: 3,  # 'у'
-        39: 2,  # 'ф'
-        26: 3,  # 'х'
-        28: 2,  # 'ц'
-        22: 3,  # 'ч'
-        25: 2,  # 'ш'
-        29: 1,  # 'щ'
-        54: 2,  # 'ъ'
-        18: 3,  # 'ы'
-        17: 3,  # 'ь'
-        30: 2,  # 'э'
-        27: 3,  # 'ю'
-        16: 3,  # 'я'
-    },
-    6: {  # 'т'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 3,  # 'а'
-        21: 2,  # 'б'
-        10: 3,  # 'в'
-        19: 2,  # 'г'
-        13: 2,  # 'д'
-        2: 3,  # 'е'
-        24: 1,  # 'ж'
-        20: 1,  # 'з'
-        4: 3,  # 'и'
-        23: 0,  # 'й'
-        11: 3,  # 'к'
-        8: 3,  # 'л'
-        12: 2,  # 'м'
-        5: 3,  # 'н'
-        1: 3,  # 'о'
-        15: 2,  # 'п'
-        9: 3,  # 'р'
-        7: 3,  # 'с'
-        6: 2,  # 'т'
-        14: 3,  # 'у'
-        39: 2,  # 'ф'
-        26: 2,  # 'х'
-        28: 2,  # 'ц'
-        22: 2,  # 'ч'
-        25: 2,  # 'ш'
-        29: 2,  # 'щ'
-        54: 2,  # 'ъ'
-        18: 3,  # 'ы'
-        17: 3,  # 'ь'
-        30: 2,  # 'э'
-        27: 2,  # 'ю'
-        16: 3,  # 'я'
-    },
-    14: {  # 'у'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 2,  # 'а'
-        21: 3,  # 'б'
-        10: 3,  # 'в'
-        19: 3,  # 'г'
-        13: 3,  # 'д'
-        2: 3,  # 'е'
-        24: 3,  # 'ж'
-        20: 3,  # 'з'
-        4: 2,  # 'и'
-        23: 2,  # 'й'
-        11: 3,  # 'к'
-        8: 3,  # 'л'
-        12: 3,  # 'м'
-        5: 3,  # 'н'
-        1: 2,  # 'о'
-        15: 3,  # 'п'
-        9: 3,  # 'р'
-        7: 3,  # 'с'
-        6: 3,  # 'т'
-        14: 1,  # 'у'
-        39: 2,  # 'ф'
-        26: 3,  # 'х'
-        28: 2,  # 'ц'
-        22: 3,  # 'ч'
-        25: 3,  # 'ш'
-        29: 3,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 2,  # 'э'
-        27: 3,  # 'ю'
-        16: 2,  # 'я'
-    },
-    39: {  # 'ф'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 3,  # 'а'
-        21: 1,  # 'б'
-        10: 0,  # 'в'
-        19: 1,  # 'г'
-        13: 0,  # 'д'
-        2: 3,  # 'е'
-        24: 0,  # 'ж'
-        20: 0,  # 'з'
-        4: 3,  # 'и'
-        23: 0,  # 'й'
-        11: 1,  # 'к'
-        8: 2,  # 'л'
-        12: 1,  # 'м'
-        5: 1,  # 'н'
-        1: 3,  # 'о'
-        15: 1,  # 'п'
-        9: 2,  # 'р'
-        7: 2,  # 'с'
-        6: 2,  # 'т'
-        14: 2,  # 'у'
-        39: 2,  # 'ф'
-        26: 0,  # 'х'
-        28: 0,  # 'ц'
-        22: 1,  # 'ч'
-        25: 1,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 2,  # 'ы'
-        17: 1,  # 'ь'
-        30: 2,  # 'э'
-        27: 1,  # 'ю'
-        16: 1,  # 'я'
-    },
-    26: {  # 'х'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 3,  # 'а'
-        21: 0,  # 'б'
-        10: 3,  # 'в'
-        19: 1,  # 'г'
-        13: 1,  # 'д'
-        2: 2,  # 'е'
-        24: 0,  # 'ж'
-        20: 1,  # 'з'
-        4: 3,  # 'и'
-        23: 0,  # 'й'
-        11: 1,  # 'к'
-        8: 2,  # 'л'
-        12: 2,  # 'м'
-        5: 3,  # 'н'
-        1: 3,  # 'о'
-        15: 1,  # 'п'
-        9: 3,  # 'р'
-        7: 2,  # 'с'
-        6: 2,  # 'т'
-        14: 2,  # 'у'
-        39: 1,  # 'ф'
-        26: 1,  # 'х'
-        28: 1,  # 'ц'
-        22: 1,  # 'ч'
-        25: 2,  # 'ш'
-        29: 0,  # 'щ'
-        54: 1,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 1,  # 'ь'
-        30: 1,  # 'э'
-        27: 1,  # 'ю'
-        16: 0,  # 'я'
-    },
-    28: {  # 'ц'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 3,  # 'а'
-        21: 1,  # 'б'
-        10: 2,  # 'в'
-        19: 1,  # 'г'
-        13: 1,  # 'д'
-        2: 3,  # 'е'
-        24: 0,  # 'ж'
-        20: 1,  # 'з'
-        4: 3,  # 'и'
-        23: 0,  # 'й'
-        11: 2,  # 'к'
-        8: 1,  # 'л'
-        12: 1,  # 'м'
-        5: 1,  # 'н'
-        1: 3,  # 'о'
-        15: 0,  # 'п'
-        9: 1,  # 'р'
-        7: 0,  # 'с'
-        6: 1,  # 'т'
-        14: 3,  # 'у'
-        39: 0,  # 'ф'
-        26: 0,  # 'х'
-        28: 1,  # 'ц'
-        22: 0,  # 'ч'
-        25: 1,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 3,  # 'ы'
-        17: 1,  # 'ь'
-        30: 0,  # 'э'
-        27: 1,  # 'ю'
-        16: 0,  # 'я'
-    },
-    22: {  # 'ч'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 3,  # 'а'
-        21: 1,  # 'б'
-        10: 1,  # 'в'
-        19: 0,  # 'г'
-        13: 0,  # 'д'
-        2: 3,  # 'е'
-        24: 1,  # 'ж'
-        20: 0,  # 'з'
-        4: 3,  # 'и'
-        23: 0,  # 'й'
-        11: 3,  # 'к'
-        8: 2,  # 'л'
-        12: 1,  # 'м'
-        5: 3,  # 'н'
-        1: 2,  # 'о'
-        15: 0,  # 'п'
-        9: 2,  # 'р'
-        7: 1,  # 'с'
-        6: 3,  # 'т'
-        14: 3,  # 'у'
-        39: 1,  # 'ф'
-        26: 1,  # 'х'
-        28: 0,  # 'ц'
-        22: 1,  # 'ч'
-        25: 2,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 3,  # 'ь'
-        30: 0,  # 'э'
-        27: 0,  # 'ю'
-        16: 0,  # 'я'
-    },
-    25: {  # 'ш'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 3,  # 'а'
-        21: 1,  # 'б'
-        10: 2,  # 'в'
-        19: 1,  # 'г'
-        13: 0,  # 'д'
-        2: 3,  # 'е'
-        24: 0,  # 'ж'
-        20: 0,  # 'з'
-        4: 3,  # 'и'
-        23: 0,  # 'й'
-        11: 3,  # 'к'
-        8: 3,  # 'л'
-        12: 2,  # 'м'
-        5: 3,  # 'н'
-        1: 3,  # 'о'
-        15: 2,  # 'п'
-        9: 2,  # 'р'
-        7: 1,  # 'с'
-        6: 2,  # 'т'
-        14: 3,  # 'у'
-        39: 2,  # 'ф'
-        26: 1,  # 'х'
-        28: 1,  # 'ц'
-        22: 1,  # 'ч'
-        25: 1,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 3,  # 'ь'
-        30: 1,  # 'э'
-        27: 1,  # 'ю'
-        16: 0,  # 'я'
-    },
-    29: {  # 'щ'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 3,  # 'а'
-        21: 0,  # 'б'
-        10: 1,  # 'в'
-        19: 0,  # 'г'
-        13: 0,  # 'д'
-        2: 3,  # 'е'
-        24: 0,  # 'ж'
-        20: 0,  # 'з'
-        4: 3,  # 'и'
-        23: 0,  # 'й'
-        11: 0,  # 'к'
-        8: 0,  # 'л'
-        12: 1,  # 'м'
-        5: 2,  # 'н'
-        1: 1,  # 'о'
-        15: 0,  # 'п'
-        9: 2,  # 'р'
-        7: 0,  # 'с'
-        6: 0,  # 'т'
-        14: 2,  # 'у'
-        39: 0,  # 'ф'
-        26: 0,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 0,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 2,  # 'ь'
-        30: 0,  # 'э'
-        27: 0,  # 'ю'
-        16: 0,  # 'я'
-    },
-    54: {  # 'ъ'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 0,  # 'а'
-        21: 0,  # 'б'
-        10: 0,  # 'в'
-        19: 0,  # 'г'
-        13: 0,  # 'д'
-        2: 2,  # 'е'
-        24: 0,  # 'ж'
-        20: 0,  # 'з'
-        4: 0,  # 'и'
-        23: 0,  # 'й'
-        11: 0,  # 'к'
-        8: 0,  # 'л'
-        12: 0,  # 'м'
-        5: 0,  # 'н'
-        1: 0,  # 'о'
-        15: 0,  # 'п'
-        9: 0,  # 'р'
-        7: 0,  # 'с'
-        6: 0,  # 'т'
-        14: 0,  # 'у'
-        39: 0,  # 'ф'
-        26: 0,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 0,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 0,  # 'э'
-        27: 1,  # 'ю'
-        16: 2,  # 'я'
-    },
-    18: {  # 'ы'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 0,  # 'а'
-        21: 3,  # 'б'
-        10: 3,  # 'в'
-        19: 2,  # 'г'
-        13: 2,  # 'д'
-        2: 3,  # 'е'
-        24: 2,  # 'ж'
-        20: 2,  # 'з'
-        4: 2,  # 'и'
-        23: 3,  # 'й'
-        11: 3,  # 'к'
-        8: 3,  # 'л'
-        12: 3,  # 'м'
-        5: 3,  # 'н'
-        1: 1,  # 'о'
-        15: 3,  # 'п'
-        9: 3,  # 'р'
-        7: 3,  # 'с'
-        6: 3,  # 'т'
-        14: 1,  # 'у'
-        39: 0,  # 'ф'
-        26: 3,  # 'х'
-        28: 2,  # 'ц'
-        22: 3,  # 'ч'
-        25: 3,  # 'ш'
-        29: 2,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 0,  # 'э'
-        27: 0,  # 'ю'
-        16: 2,  # 'я'
-    },
-    17: {  # 'ь'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 0,  # 'а'
-        21: 2,  # 'б'
-        10: 2,  # 'в'
-        19: 2,  # 'г'
-        13: 2,  # 'д'
-        2: 3,  # 'е'
-        24: 1,  # 'ж'
-        20: 3,  # 'з'
-        4: 2,  # 'и'
-        23: 0,  # 'й'
-        11: 3,  # 'к'
-        8: 0,  # 'л'
-        12: 3,  # 'м'
-        5: 3,  # 'н'
-        1: 2,  # 'о'
-        15: 2,  # 'п'
-        9: 1,  # 'р'
-        7: 3,  # 'с'
-        6: 2,  # 'т'
-        14: 0,  # 'у'
-        39: 2,  # 'ф'
-        26: 1,  # 'х'
-        28: 2,  # 'ц'
-        22: 2,  # 'ч'
-        25: 3,  # 'ш'
-        29: 2,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 1,  # 'э'
-        27: 3,  # 'ю'
-        16: 3,  # 'я'
-    },
-    30: {  # 'э'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 1,  # 'М'
-        31: 1,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 1,  # 'Р'
-        32: 1,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 1,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 0,  # 'а'
-        21: 1,  # 'б'
-        10: 1,  # 'в'
-        19: 1,  # 'г'
-        13: 2,  # 'д'
-        2: 1,  # 'е'
-        24: 0,  # 'ж'
-        20: 1,  # 'з'
-        4: 0,  # 'и'
-        23: 2,  # 'й'
-        11: 2,  # 'к'
-        8: 2,  # 'л'
-        12: 2,  # 'м'
-        5: 2,  # 'н'
-        1: 0,  # 'о'
-        15: 2,  # 'п'
-        9: 2,  # 'р'
-        7: 2,  # 'с'
-        6: 3,  # 'т'
-        14: 1,  # 'у'
-        39: 2,  # 'ф'
-        26: 1,  # 'х'
-        28: 0,  # 'ц'
-        22: 0,  # 'ч'
-        25: 1,  # 'ш'
-        29: 0,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 1,  # 'э'
-        27: 1,  # 'ю'
-        16: 1,  # 'я'
-    },
-    27: {  # 'ю'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 2,  # 'а'
-        21: 3,  # 'б'
-        10: 1,  # 'в'
-        19: 2,  # 'г'
-        13: 3,  # 'д'
-        2: 1,  # 'е'
-        24: 2,  # 'ж'
-        20: 2,  # 'з'
-        4: 1,  # 'и'
-        23: 1,  # 'й'
-        11: 2,  # 'к'
-        8: 2,  # 'л'
-        12: 2,  # 'м'
-        5: 2,  # 'н'
-        1: 1,  # 'о'
-        15: 2,  # 'п'
-        9: 2,  # 'р'
-        7: 3,  # 'с'
-        6: 3,  # 'т'
-        14: 0,  # 'у'
-        39: 1,  # 'ф'
-        26: 2,  # 'х'
-        28: 2,  # 'ц'
-        22: 2,  # 'ч'
-        25: 2,  # 'ш'
-        29: 3,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 1,  # 'э'
-        27: 2,  # 'ю'
-        16: 1,  # 'я'
-    },
-    16: {  # 'я'
-        37: 0,  # 'А'
-        44: 0,  # 'Б'
-        33: 0,  # 'В'
-        46: 0,  # 'Г'
-        41: 0,  # 'Д'
-        48: 0,  # 'Е'
-        56: 0,  # 'Ж'
-        51: 0,  # 'З'
-        42: 0,  # 'И'
-        60: 0,  # 'Й'
-        36: 0,  # 'К'
-        49: 0,  # 'Л'
-        38: 0,  # 'М'
-        31: 0,  # 'Н'
-        34: 0,  # 'О'
-        35: 0,  # 'П'
-        45: 0,  # 'Р'
-        32: 0,  # 'С'
-        40: 0,  # 'Т'
-        52: 0,  # 'У'
-        53: 0,  # 'Ф'
-        55: 0,  # 'Х'
-        58: 0,  # 'Ц'
-        50: 0,  # 'Ч'
-        57: 0,  # 'Ш'
-        63: 0,  # 'Щ'
-        62: 0,  # 'Ы'
-        61: 0,  # 'Ь'
-        47: 0,  # 'Э'
-        59: 0,  # 'Ю'
-        43: 0,  # 'Я'
-        3: 0,  # 'а'
-        21: 2,  # 'б'
-        10: 3,  # 'в'
-        19: 2,  # 'г'
-        13: 3,  # 'д'
-        2: 3,  # 'е'
-        24: 3,  # 'ж'
-        20: 3,  # 'з'
-        4: 2,  # 'и'
-        23: 2,  # 'й'
-        11: 3,  # 'к'
-        8: 3,  # 'л'
-        12: 3,  # 'м'
-        5: 3,  # 'н'
-        1: 0,  # 'о'
-        15: 2,  # 'п'
-        9: 2,  # 'р'
-        7: 3,  # 'с'
-        6: 3,  # 'т'
-        14: 1,  # 'у'
-        39: 1,  # 'ф'
-        26: 3,  # 'х'
-        28: 2,  # 'ц'
-        22: 2,  # 'ч'
-        25: 2,  # 'ш'
-        29: 3,  # 'щ'
-        54: 0,  # 'ъ'
-        18: 0,  # 'ы'
-        17: 0,  # 'ь'
-        30: 0,  # 'э'
-        27: 2,  # 'ю'
-        16: 2,  # 'я'
-    },
-}
-
-# 255: Undefined characters that did not exist in training text
-# 254: Carriage/Return
-# 253: symbol (punctuation) that does not belong to word
-# 252: 0 - 9
-# 251: Control characters
-
-# Character Mapping Table(s):
-IBM866_RUSSIAN_CHAR_TO_ORDER = {
-    0: 255,  # '\x00'
-    1: 255,  # '\x01'
-    2: 255,  # '\x02'
-    3: 255,  # '\x03'
-    4: 255,  # '\x04'
-    5: 255,  # '\x05'
-    6: 255,  # '\x06'
-    7: 255,  # '\x07'
-    8: 255,  # '\x08'
-    9: 255,  # '\t'
-    10: 254,  # '\n'
-    11: 255,  # '\x0b'
-    12: 255,  # '\x0c'
-    13: 254,  # '\r'
-    14: 255,  # '\x0e'
-    15: 255,  # '\x0f'
-    16: 255,  # '\x10'
-    17: 255,  # '\x11'
-    18: 255,  # '\x12'
-    19: 255,  # '\x13'
-    20: 255,  # '\x14'
-    21: 255,  # '\x15'
-    22: 255,  # '\x16'
-    23: 255,  # '\x17'
-    24: 255,  # '\x18'
-    25: 255,  # '\x19'
-    26: 255,  # '\x1a'
-    27: 255,  # '\x1b'
-    28: 255,  # '\x1c'
-    29: 255,  # '\x1d'
-    30: 255,  # '\x1e'
-    31: 255,  # '\x1f'
-    32: 253,  # ' '
-    33: 253,  # '!'
-    34: 253,  # '"'
-    35: 253,  # '#'
-    36: 253,  # '$'
-    37: 253,  # '%'
-    38: 253,  # '&'
-    39: 253,  # "'"
-    40: 253,  # '('
-    41: 253,  # ')'
-    42: 253,  # '*'
-    43: 253,  # '+'
-    44: 253,  # ','
-    45: 253,  # '-'
-    46: 253,  # '.'
-    47: 253,  # '/'
-    48: 252,  # '0'
-    49: 252,  # '1'
-    50: 252,  # '2'
-    51: 252,  # '3'
-    52: 252,  # '4'
-    53: 252,  # '5'
-    54: 252,  # '6'
-    55: 252,  # '7'
-    56: 252,  # '8'
-    57: 252,  # '9'
-    58: 253,  # ':'
-    59: 253,  # ';'
-    60: 253,  # '<'
-    61: 253,  # '='
-    62: 253,  # '>'
-    63: 253,  # '?'
-    64: 253,  # '@'
-    65: 142,  # 'A'
-    66: 143,  # 'B'
-    67: 144,  # 'C'
-    68: 145,  # 'D'
-    69: 146,  # 'E'
-    70: 147,  # 'F'
-    71: 148,  # 'G'
-    72: 149,  # 'H'
-    73: 150,  # 'I'
-    74: 151,  # 'J'
-    75: 152,  # 'K'
-    76: 74,  # 'L'
-    77: 153,  # 'M'
-    78: 75,  # 'N'
-    79: 154,  # 'O'
-    80: 155,  # 'P'
-    81: 156,  # 'Q'
-    82: 157,  # 'R'
-    83: 158,  # 'S'
-    84: 159,  # 'T'
-    85: 160,  # 'U'
-    86: 161,  # 'V'
-    87: 162,  # 'W'
-    88: 163,  # 'X'
-    89: 164,  # 'Y'
-    90: 165,  # 'Z'
-    91: 253,  # '['
-    92: 253,  # '\\'
-    93: 253,  # ']'
-    94: 253,  # '^'
-    95: 253,  # '_'
-    96: 253,  # '`'
-    97: 71,  # 'a'
-    98: 172,  # 'b'
-    99: 66,  # 'c'
-    100: 173,  # 'd'
-    101: 65,  # 'e'
-    102: 174,  # 'f'
-    103: 76,  # 'g'
-    104: 175,  # 'h'
-    105: 64,  # 'i'
-    106: 176,  # 'j'
-    107: 177,  # 'k'
-    108: 77,  # 'l'
-    109: 72,  # 'm'
-    110: 178,  # 'n'
-    111: 69,  # 'o'
-    112: 67,  # 'p'
-    113: 179,  # 'q'
-    114: 78,  # 'r'
-    115: 73,  # 's'
-    116: 180,  # 't'
-    117: 181,  # 'u'
-    118: 79,  # 'v'
-    119: 182,  # 'w'
-    120: 183,  # 'x'
-    121: 184,  # 'y'
-    122: 185,  # 'z'
-    123: 253,  # '{'
-    124: 253,  # '|'
-    125: 253,  # '}'
-    126: 253,  # '~'
-    127: 253,  # '\x7f'
-    128: 37,  # 'А'
-    129: 44,  # 'Б'
-    130: 33,  # 'В'
-    131: 46,  # 'Г'
-    132: 41,  # 'Д'
-    133: 48,  # 'Е'
-    134: 56,  # 'Ж'
-    135: 51,  # 'З'
-    136: 42,  # 'И'
-    137: 60,  # 'Й'
-    138: 36,  # 'К'
-    139: 49,  # 'Л'
-    140: 38,  # 'М'
-    141: 31,  # 'Н'
-    142: 34,  # 'О'
-    143: 35,  # 'П'
-    144: 45,  # 'Р'
-    145: 32,  # 'С'
-    146: 40,  # 'Т'
-    147: 52,  # 'У'
-    148: 53,  # 'Ф'
-    149: 55,  # 'Х'
-    150: 58,  # 'Ц'
-    151: 50,  # 'Ч'
-    152: 57,  # 'Ш'
-    153: 63,  # 'Щ'
-    154: 70,  # 'Ъ'
-    155: 62,  # 'Ы'
-    156: 61,  # 'Ь'
-    157: 47,  # 'Э'
-    158: 59,  # 'Ю'
-    159: 43,  # 'Я'
-    160: 3,  # 'а'
-    161: 21,  # 'б'
-    162: 10,  # 'в'
-    163: 19,  # 'г'
-    164: 13,  # 'д'
-    165: 2,  # 'е'
-    166: 24,  # 'ж'
-    167: 20,  # 'з'
-    168: 4,  # 'и'
-    169: 23,  # 'й'
-    170: 11,  # 'к'
-    171: 8,  # 'л'
-    172: 12,  # 'м'
-    173: 5,  # 'н'
-    174: 1,  # 'о'
-    175: 15,  # 'п'
-    176: 191,  # '░'
-    177: 192,  # '▒'
-    178: 193,  # '▓'
-    179: 194,  # '│'
-    180: 195,  # '┤'
-    181: 196,  # '╡'
-    182: 197,  # '╢'
-    183: 198,  # '╖'
-    184: 199,  # '╕'
-    185: 200,  # '╣'
-    186: 201,  # '║'
-    187: 202,  # '╗'
-    188: 203,  # '╝'
-    189: 204,  # '╜'
-    190: 205,  # '╛'
-    191: 206,  # '┐'
-    192: 207,  # '└'
-    193: 208,  # '┴'
-    194: 209,  # '┬'
-    195: 210,  # '├'
-    196: 211,  # '─'
-    197: 212,  # '┼'
-    198: 213,  # '╞'
-    199: 214,  # '╟'
-    200: 215,  # '╚'
-    201: 216,  # '╔'
-    202: 217,  # '╩'
-    203: 218,  # '╦'
-    204: 219,  # '╠'
-    205: 220,  # '═'
-    206: 221,  # '╬'
-    207: 222,  # '╧'
-    208: 223,  # '╨'
-    209: 224,  # '╤'
-    210: 225,  # '╥'
-    211: 226,  # '╙'
-    212: 227,  # '╘'
-    213: 228,  # '╒'
-    214: 229,  # '╓'
-    215: 230,  # '╫'
-    216: 231,  # '╪'
-    217: 232,  # '┘'
-    218: 233,  # '┌'
-    219: 234,  # '█'
-    220: 235,  # '▄'
-    221: 236,  # '▌'
-    222: 237,  # '▐'
-    223: 238,  # '▀'
-    224: 9,  # 'р'
-    225: 7,  # 'с'
-    226: 6,  # 'т'
-    227: 14,  # 'у'
-    228: 39,  # 'ф'
-    229: 26,  # 'х'
-    230: 28,  # 'ц'
-    231: 22,  # 'ч'
-    232: 25,  # 'ш'
-    233: 29,  # 'щ'
-    234: 54,  # 'ъ'
-    235: 18,  # 'ы'
-    236: 17,  # 'ь'
-    237: 30,  # 'э'
-    238: 27,  # 'ю'
-    239: 16,  # 'я'
-    240: 239,  # 'Ё'
-    241: 68,  # 'ё'
-    242: 240,  # 'Є'
-    243: 241,  # 'є'
-    244: 242,  # 'Ї'
-    245: 243,  # 'ї'
-    246: 244,  # 'Ў'
-    247: 245,  # 'ў'
-    248: 246,  # '°'
-    249: 247,  # '∙'
-    250: 248,  # '·'
-    251: 249,  # '√'
-    252: 250,  # '№'
-    253: 251,  # '¤'
-    254: 252,  # '■'
-    255: 255,  # '\xa0'
-}
-
-IBM866_RUSSIAN_MODEL = SingleByteCharSetModel(
-    charset_name="IBM866",
-    language="Russian",
-    char_to_order_map=IBM866_RUSSIAN_CHAR_TO_ORDER,
-    language_model=RUSSIAN_LANG_MODEL,
-    typical_positive_ratio=0.976601,
-    keep_ascii_letters=False,
-    alphabet="ЁАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюяё",
-)
-
-WINDOWS_1251_RUSSIAN_CHAR_TO_ORDER = {
-    0: 255,  # '\x00'
-    1: 255,  # '\x01'
-    2: 255,  # '\x02'
-    3: 255,  # '\x03'
-    4: 255,  # '\x04'
-    5: 255,  # '\x05'
-    6: 255,  # '\x06'
-    7: 255,  # '\x07'
-    8: 255,  # '\x08'
-    9: 255,  # '\t'
-    10: 254,  # '\n'
-    11: 255,  # '\x0b'
-    12: 255,  # '\x0c'
-    13: 254,  # '\r'
-    14: 255,  # '\x0e'
-    15: 255,  # '\x0f'
-    16: 255,  # '\x10'
-    17: 255,  # '\x11'
-    18: 255,  # '\x12'
-    19: 255,  # '\x13'
-    20: 255,  # '\x14'
-    21: 255,  # '\x15'
-    22: 255,  # '\x16'
-    23: 255,  # '\x17'
-    24: 255,  # '\x18'
-    25: 255,  # '\x19'
-    26: 255,  # '\x1a'
-    27: 255,  # '\x1b'
-    28: 255,  # '\x1c'
-    29: 255,  # '\x1d'
-    30: 255,  # '\x1e'
-    31: 255,  # '\x1f'
-    32: 253,  # ' '
-    33: 253,  # '!'
-    34: 253,  # '"'
-    35: 253,  # '#'
-    36: 253,  # '$'
-    37: 253,  # '%'
-    38: 253,  # '&'
-    39: 253,  # "'"
-    40: 253,  # '('
-    41: 253,  # ')'
-    42: 253,  # '*'
-    43: 253,  # '+'
-    44: 253,  # ','
-    45: 253,  # '-'
-    46: 253,  # '.'
-    47: 253,  # '/'
-    48: 252,  # '0'
-    49: 252,  # '1'
-    50: 252,  # '2'
-    51: 252,  # '3'
-    52: 252,  # '4'
-    53: 252,  # '5'
-    54: 252,  # '6'
-    55: 252,  # '7'
-    56: 252,  # '8'
-    57: 252,  # '9'
-    58: 253,  # ':'
-    59: 253,  # ';'
-    60: 253,  # '<'
-    61: 253,  # '='
-    62: 253,  # '>'
-    63: 253,  # '?'
-    64: 253,  # '@'
-    65: 142,  # 'A'
-    66: 143,  # 'B'
-    67: 144,  # 'C'
-    68: 145,  # 'D'
-    69: 146,  # 'E'
-    70: 147,  # 'F'
-    71: 148,  # 'G'
-    72: 149,  # 'H'
-    73: 150,  # 'I'
-    74: 151,  # 'J'
-    75: 152,  # 'K'
-    76: 74,  # 'L'
-    77: 153,  # 'M'
-    78: 75,  # 'N'
-    79: 154,  # 'O'
-    80: 155,  # 'P'
-    81: 156,  # 'Q'
-    82: 157,  # 'R'
-    83: 158,  # 'S'
-    84: 159,  # 'T'
-    85: 160,  # 'U'
-    86: 161,  # 'V'
-    87: 162,  # 'W'
-    88: 163,  # 'X'
-    89: 164,  # 'Y'
-    90: 165,  # 'Z'
-    91: 253,  # '['
-    92: 253,  # '\\'
-    93: 253,  # ']'
-    94: 253,  # '^'
-    95: 253,  # '_'
-    96: 253,  # '`'
-    97: 71,  # 'a'
-    98: 172,  # 'b'
-    99: 66,  # 'c'
-    100: 173,  # 'd'
-    101: 65,  # 'e'
-    102: 174,  # 'f'
-    103: 76,  # 'g'
-    104: 175,  # 'h'
-    105: 64,  # 'i'
-    106: 176,  # 'j'
-    107: 177,  # 'k'
-    108: 77,  # 'l'
-    109: 72,  # 'm'
-    110: 178,  # 'n'
-    111: 69,  # 'o'
-    112: 67,  # 'p'
-    113: 179,  # 'q'
-    114: 78,  # 'r'
-    115: 73,  # 's'
-    116: 180,  # 't'
-    117: 181,  # 'u'
-    118: 79,  # 'v'
-    119: 182,  # 'w'
-    120: 183,  # 'x'
-    121: 184,  # 'y'
-    122: 185,  # 'z'
-    123: 253,  # '{'
-    124: 253,  # '|'
-    125: 253,  # '}'
-    126: 253,  # '~'
-    127: 253,  # '\x7f'
-    128: 191,  # 'Ђ'
-    129: 192,  # 'Ѓ'
-    130: 193,  # '‚'
-    131: 194,  # 'ѓ'
-    132: 195,  # '„'
-    133: 196,  # '…'
-    134: 197,  # '†'
-    135: 198,  # '‡'
-    136: 199,  # '€'
-    137: 200,  # '‰'
-    138: 201,  # 'Љ'
-    139: 202,  # '‹'
-    140: 203,  # 'Њ'
-    141: 204,  # 'Ќ'
-    142: 205,  # 'Ћ'
-    143: 206,  # 'Џ'
-    144: 207,  # 'ђ'
-    145: 208,  # '‘'
-    146: 209,  # '’'
-    147: 210,  # '“'
-    148: 211,  # '”'
-    149: 212,  # '•'
-    150: 213,  # '–'
-    151: 214,  # '—'
-    152: 215,  # None
-    153: 216,  # '™'
-    154: 217,  # 'љ'
-    155: 218,  # '›'
-    156: 219,  # 'њ'
-    157: 220,  # 'ќ'
-    158: 221,  # 'ћ'
-    159: 222,  # 'џ'
-    160: 223,  # '\xa0'
-    161: 224,  # 'Ў'
-    162: 225,  # 'ў'
-    163: 226,  # 'Ј'
-    164: 227,  # '¤'
-    165: 228,  # 'Ґ'
-    166: 229,  # '¦'
-    167: 230,  # '§'
-    168: 231,  # 'Ё'
-    169: 232,  # '©'
-    170: 233,  # 'Є'
-    171: 234,  # '«'
-    172: 235,  # '¬'
-    173: 236,  # '\xad'
-    174: 237,  # '®'
-    175: 238,  # 'Ї'
-    176: 239,  # '°'
-    177: 240,  # '±'
-    178: 241,  # 'І'
-    179: 242,  # 'і'
-    180: 243,  # 'ґ'
-    181: 244,  # 'µ'
-    182: 245,  # '¶'
-    183: 246,  # '·'
-    184: 68,  # 'ё'
-    185: 247,  # '№'
-    186: 248,  # 'є'
-    187: 249,  # '»'
-    188: 250,  # 'ј'
-    189: 251,  # 'Ѕ'
-    190: 252,  # 'ѕ'
-    191: 253,  # 'ї'
-    192: 37,  # 'А'
-    193: 44,  # 'Б'
-    194: 33,  # 'В'
-    195: 46,  # 'Г'
-    196: 41,  # 'Д'
-    197: 48,  # 'Е'
-    198: 56,  # 'Ж'
-    199: 51,  # 'З'
-    200: 42,  # 'И'
-    201: 60,  # 'Й'
-    202: 36,  # 'К'
-    203: 49,  # 'Л'
-    204: 38,  # 'М'
-    205: 31,  # 'Н'
-    206: 34,  # 'О'
-    207: 35,  # 'П'
-    208: 45,  # 'Р'
-    209: 32,  # 'С'
-    210: 40,  # 'Т'
-    211: 52,  # 'У'
-    212: 53,  # 'Ф'
-    213: 55,  # 'Х'
-    214: 58,  # 'Ц'
-    215: 50,  # 'Ч'
-    216: 57,  # 'Ш'
-    217: 63,  # 'Щ'
-    218: 70,  # 'Ъ'
-    219: 62,  # 'Ы'
-    220: 61,  # 'Ь'
-    221: 47,  # 'Э'
-    222: 59,  # 'Ю'
-    223: 43,  # 'Я'
-    224: 3,  # 'а'
-    225: 21,  # 'б'
-    226: 10,  # 'в'
-    227: 19,  # 'г'
-    228: 13,  # 'д'
-    229: 2,  # 'е'
-    230: 24,  # 'ж'
-    231: 20,  # 'з'
-    232: 4,  # 'и'
-    233: 23,  # 'й'
-    234: 11,  # 'к'
-    235: 8,  # 'л'
-    236: 12,  # 'м'
-    237: 5,  # 'н'
-    238: 1,  # 'о'
-    239: 15,  # 'п'
-    240: 9,  # 'р'
-    241: 7,  # 'с'
-    242: 6,  # 'т'
-    243: 14,  # 'у'
-    244: 39,  # 'ф'
-    245: 26,  # 'х'
-    246: 28,  # 'ц'
-    247: 22,  # 'ч'
-    248: 25,  # 'ш'
-    249: 29,  # 'щ'
-    250: 54,  # 'ъ'
-    251: 18,  # 'ы'
-    252: 17,  # 'ь'
-    253: 30,  # 'э'
-    254: 27,  # 'ю'
-    255: 16,  # 'я'
-}
-
-WINDOWS_1251_RUSSIAN_MODEL = SingleByteCharSetModel(
-    charset_name="windows-1251",
-    language="Russian",
-    char_to_order_map=WINDOWS_1251_RUSSIAN_CHAR_TO_ORDER,
-    language_model=RUSSIAN_LANG_MODEL,
-    typical_positive_ratio=0.976601,
-    keep_ascii_letters=False,
-    alphabet="ЁАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюяё",
-)
-
-IBM855_RUSSIAN_CHAR_TO_ORDER = {
-    0: 255,  # '\x00'
-    1: 255,  # '\x01'
-    2: 255,  # '\x02'
-    3: 255,  # '\x03'
-    4: 255,  # '\x04'
-    5: 255,  # '\x05'
-    6: 255,  # '\x06'
-    7: 255,  # '\x07'
-    8: 255,  # '\x08'
-    9: 255,  # '\t'
-    10: 254,  # '\n'
-    11: 255,  # '\x0b'
-    12: 255,  # '\x0c'
-    13: 254,  # '\r'
-    14: 255,  # '\x0e'
-    15: 255,  # '\x0f'
-    16: 255,  # '\x10'
-    17: 255,  # '\x11'
-    18: 255,  # '\x12'
-    19: 255,  # '\x13'
-    20: 255,  # '\x14'
-    21: 255,  # '\x15'
-    22: 255,  # '\x16'
-    23: 255,  # '\x17'
-    24: 255,  # '\x18'
-    25: 255,  # '\x19'
-    26: 255,  # '\x1a'
-    27: 255,  # '\x1b'
-    28: 255,  # '\x1c'
-    29: 255,  # '\x1d'
-    30: 255,  # '\x1e'
-    31: 255,  # '\x1f'
-    32: 253,  # ' '
-    33: 253,  # '!'
-    34: 253,  # '"'
-    35: 253,  # '#'
-    36: 253,  # '$'
-    37: 253,  # '%'
-    38: 253,  # '&'
-    39: 253,  # "'"
-    40: 253,  # '('
-    41: 253,  # ')'
-    42: 253,  # '*'
-    43: 253,  # '+'
-    44: 253,  # ','
-    45: 253,  # '-'
-    46: 253,  # '.'
-    47: 253,  # '/'
-    48: 252,  # '0'
-    49: 252,  # '1'
-    50: 252,  # '2'
-    51: 252,  # '3'
-    52: 252,  # '4'
-    53: 252,  # '5'
-    54: 252,  # '6'
-    55: 252,  # '7'
-    56: 252,  # '8'
-    57: 252,  # '9'
-    58: 253,  # ':'
-    59: 253,  # ';'
-    60: 253,  # '<'
-    61: 253,  # '='
-    62: 253,  # '>'
-    63: 253,  # '?'
-    64: 253,  # '@'
-    65: 142,  # 'A'
-    66: 143,  # 'B'
-    67: 144,  # 'C'
-    68: 145,  # 'D'
-    69: 146,  # 'E'
-    70: 147,  # 'F'
-    71: 148,  # 'G'
-    72: 149,  # 'H'
-    73: 150,  # 'I'
-    74: 151,  # 'J'
-    75: 152,  # 'K'
-    76: 74,  # 'L'
-    77: 153,  # 'M'
-    78: 75,  # 'N'
-    79: 154,  # 'O'
-    80: 155,  # 'P'
-    81: 156,  # 'Q'
-    82: 157,  # 'R'
-    83: 158,  # 'S'
-    84: 159,  # 'T'
-    85: 160,  # 'U'
-    86: 161,  # 'V'
-    87: 162,  # 'W'
-    88: 163,  # 'X'
-    89: 164,  # 'Y'
-    90: 165,  # 'Z'
-    91: 253,  # '['
-    92: 253,  # '\\'
-    93: 253,  # ']'
-    94: 253,  # '^'
-    95: 253,  # '_'
-    96: 253,  # '`'
-    97: 71,  # 'a'
-    98: 172,  # 'b'
-    99: 66,  # 'c'
-    100: 173,  # 'd'
-    101: 65,  # 'e'
-    102: 174,  # 'f'
-    103: 76,  # 'g'
-    104: 175,  # 'h'
-    105: 64,  # 'i'
-    106: 176,  # 'j'
-    107: 177,  # 'k'
-    108: 77,  # 'l'
-    109: 72,  # 'm'
-    110: 178,  # 'n'
-    111: 69,  # 'o'
-    112: 67,  # 'p'
-    113: 179,  # 'q'
-    114: 78,  # 'r'
-    115: 73,  # 's'
-    116: 180,  # 't'
-    117: 181,  # 'u'
-    118: 79,  # 'v'
-    119: 182,  # 'w'
-    120: 183,  # 'x'
-    121: 184,  # 'y'
-    122: 185,  # 'z'
-    123: 253,  # '{'
-    124: 253,  # '|'
-    125: 253,  # '}'
-    126: 253,  # '~'
-    127: 253,  # '\x7f'
-    128: 191,  # 'ђ'
-    129: 192,  # 'Ђ'
-    130: 193,  # 'ѓ'
-    131: 194,  # 'Ѓ'
-    132: 68,  # 'ё'
-    133: 195,  # 'Ё'
-    134: 196,  # 'є'
-    135: 197,  # 'Є'
-    136: 198,  # 'ѕ'
-    137: 199,  # 'Ѕ'
-    138: 200,  # 'і'
-    139: 201,  # 'І'
-    140: 202,  # 'ї'
-    141: 203,  # 'Ї'
-    142: 204,  # 'ј'
-    143: 205,  # 'Ј'
-    144: 206,  # 'љ'
-    145: 207,  # 'Љ'
-    146: 208,  # 'њ'
-    147: 209,  # 'Њ'
-    148: 210,  # 'ћ'
-    149: 211,  # 'Ћ'
-    150: 212,  # 'ќ'
-    151: 213,  # 'Ќ'
-    152: 214,  # 'ў'
-    153: 215,  # 'Ў'
-    154: 216,  # 'џ'
-    155: 217,  # 'Џ'
-    156: 27,  # 'ю'
-    157: 59,  # 'Ю'
-    158: 54,  # 'ъ'
-    159: 70,  # 'Ъ'
-    160: 3,  # 'а'
-    161: 37,  # 'А'
-    162: 21,  # 'б'
-    163: 44,  # 'Б'
-    164: 28,  # 'ц'
-    165: 58,  # 'Ц'
-    166: 13,  # 'д'
-    167: 41,  # 'Д'
-    168: 2,  # 'е'
-    169: 48,  # 'Е'
-    170: 39,  # 'ф'
-    171: 53,  # 'Ф'
-    172: 19,  # 'г'
-    173: 46,  # 'Г'
-    174: 218,  # '«'
-    175: 219,  # '»'
-    176: 220,  # '░'
-    177: 221,  # '▒'
-    178: 222,  # '▓'
-    179: 223,  # '│'
-    180: 224,  # '┤'
-    181: 26,  # 'х'
-    182: 55,  # 'Х'
-    183: 4,  # 'и'
-    184: 42,  # 'И'
-    185: 225,  # '╣'
-    186: 226,  # '║'
-    187: 227,  # '╗'
-    188: 228,  # '╝'
-    189: 23,  # 'й'
-    190: 60,  # 'Й'
-    191: 229,  # '┐'
-    192: 230,  # '└'
-    193: 231,  # '┴'
-    194: 232,  # '┬'
-    195: 233,  # '├'
-    196: 234,  # '─'
-    197: 235,  # '┼'
-    198: 11,  # 'к'
-    199: 36,  # 'К'
-    200: 236,  # '╚'
-    201: 237,  # '╔'
-    202: 238,  # '╩'
-    203: 239,  # '╦'
-    204: 240,  # '╠'
-    205: 241,  # '═'
-    206: 242,  # '╬'
-    207: 243,  # '¤'
-    208: 8,  # 'л'
-    209: 49,  # 'Л'
-    210: 12,  # 'м'
-    211: 38,  # 'М'
-    212: 5,  # 'н'
-    213: 31,  # 'Н'
-    214: 1,  # 'о'
-    215: 34,  # 'О'
-    216: 15,  # 'п'
-    217: 244,  # '┘'
-    218: 245,  # '┌'
-    219: 246,  # '█'
-    220: 247,  # '▄'
-    221: 35,  # 'П'
-    222: 16,  # 'я'
-    223: 248,  # '▀'
-    224: 43,  # 'Я'
-    225: 9,  # 'р'
-    226: 45,  # 'Р'
-    227: 7,  # 'с'
-    228: 32,  # 'С'
-    229: 6,  # 'т'
-    230: 40,  # 'Т'
-    231: 14,  # 'у'
-    232: 52,  # 'У'
-    233: 24,  # 'ж'
-    234: 56,  # 'Ж'
-    235: 10,  # 'в'
-    236: 33,  # 'В'
-    237: 17,  # 'ь'
-    238: 61,  # 'Ь'
-    239: 249,  # '№'
-    240: 250,  # '\xad'
-    241: 18,  # 'ы'
-    242: 62,  # 'Ы'
-    243: 20,  # 'з'
-    244: 51,  # 'З'
-    245: 25,  # 'ш'
-    246: 57,  # 'Ш'
-    247: 30,  # 'э'
-    248: 47,  # 'Э'
-    249: 29,  # 'щ'
-    250: 63,  # 'Щ'
-    251: 22,  # 'ч'
-    252: 50,  # 'Ч'
-    253: 251,  # '§'
-    254: 252,  # '■'
-    255: 255,  # '\xa0'
-}
-
-IBM855_RUSSIAN_MODEL = SingleByteCharSetModel(
-    charset_name="IBM855",
-    language="Russian",
-    char_to_order_map=IBM855_RUSSIAN_CHAR_TO_ORDER,
-    language_model=RUSSIAN_LANG_MODEL,
-    typical_positive_ratio=0.976601,
-    keep_ascii_letters=False,
-    alphabet="ЁАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюяё",
-)
-
-KOI8_R_RUSSIAN_CHAR_TO_ORDER = {
-    0: 255,  # '\x00'
-    1: 255,  # '\x01'
-    2: 255,  # '\x02'
-    3: 255,  # '\x03'
-    4: 255,  # '\x04'
-    5: 255,  # '\x05'
-    6: 255,  # '\x06'
-    7: 255,  # '\x07'
-    8: 255,  # '\x08'
-    9: 255,  # '\t'
-    10: 254,  # '\n'
-    11: 255,  # '\x0b'
-    12: 255,  # '\x0c'
-    13: 254,  # '\r'
-    14: 255,  # '\x0e'
-    15: 255,  # '\x0f'
-    16: 255,  # '\x10'
-    17: 255,  # '\x11'
-    18: 255,  # '\x12'
-    19: 255,  # '\x13'
-    20: 255,  # '\x14'
-    21: 255,  # '\x15'
-    22: 255,  # '\x16'
-    23: 255,  # '\x17'
-    24: 255,  # '\x18'
-    25: 255,  # '\x19'
-    26: 255,  # '\x1a'
-    27: 255,  # '\x1b'
-    28: 255,  # '\x1c'
-    29: 255,  # '\x1d'
-    30: 255,  # '\x1e'
-    31: 255,  # '\x1f'
-    32: 253,  # ' '
-    33: 253,  # '!'
-    34: 253,  # '"'
-    35: 253,  # '#'
-    36: 253,  # '$'
-    37: 253,  # '%'
-    38: 253,  # '&'
-    39: 253,  # "'"
-    40: 253,  # '('
-    41: 253,  # ')'
-    42: 253,  # '*'
-    43: 253,  # '+'
-    44: 253,  # ','
-    45: 253,  # '-'
-    46: 253,  # '.'
-    47: 253,  # '/'
-    48: 252,  # '0'
-    49: 252,  # '1'
-    50: 252,  # '2'
-    51: 252,  # '3'
-    52: 252,  # '4'
-    53: 252,  # '5'
-    54: 252,  # '6'
-    55: 252,  # '7'
-    56: 252,  # '8'
-    57: 252,  # '9'
-    58: 253,  # ':'
-    59: 253,  # ';'
-    60: 253,  # '<'
-    61: 253,  # '='
-    62: 253,  # '>'
-    63: 253,  # '?'
-    64: 253,  # '@'
-    65: 142,  # 'A'
-    66: 143,  # 'B'
-    67: 144,  # 'C'
-    68: 145,  # 'D'
-    69: 146,  # 'E'
-    70: 147,  # 'F'
-    71: 148,  # 'G'
-    72: 149,  # 'H'
-    73: 150,  # 'I'
-    74: 151,  # 'J'
-    75: 152,  # 'K'
-    76: 74,  # 'L'
-    77: 153,  # 'M'
-    78: 75,  # 'N'
-    79: 154,  # 'O'
-    80: 155,  # 'P'
-    81: 156,  # 'Q'
-    82: 157,  # 'R'
-    83: 158,  # 'S'
-    84: 159,  # 'T'
-    85: 160,  # 'U'
-    86: 161,  # 'V'
-    87: 162,  # 'W'
-    88: 163,  # 'X'
-    89: 164,  # 'Y'
-    90: 165,  # 'Z'
-    91: 253,  # '['
-    92: 253,  # '\\'
-    93: 253,  # ']'
-    94: 253,  # '^'
-    95: 253,  # '_'
-    96: 253,  # '`'
-    97: 71,  # 'a'
-    98: 172,  # 'b'
-    99: 66,  # 'c'
-    100: 173,  # 'd'
-    101: 65,  # 'e'
-    102: 174,  # 'f'
-    103: 76,  # 'g'
-    104: 175,  # 'h'
-    105: 64,  # 'i'
-    106: 176,  # 'j'
-    107: 177,  # 'k'
-    108: 77,  # 'l'
-    109: 72,  # 'm'
-    110: 178,  # 'n'
-    111: 69,  # 'o'
-    112: 67,  # 'p'
-    113: 179,  # 'q'
-    114: 78,  # 'r'
-    115: 73,  # 's'
-    116: 180,  # 't'
-    117: 181,  # 'u'
-    118: 79,  # 'v'
-    119: 182,  # 'w'
-    120: 183,  # 'x'
-    121: 184,  # 'y'
-    122: 185,  # 'z'
-    123: 253,  # '{'
-    124: 253,  # '|'
-    125: 253,  # '}'
-    126: 253,  # '~'
-    127: 253,  # '\x7f'
-    128: 191,  # '─'
-    129: 192,  # '│'
-    130: 193,  # '┌'
-    131: 194,  # '┐'
-    132: 195,  # '└'
-    133: 196,  # '┘'
-    134: 197,  # '├'
-    135: 198,  # '┤'
-    136: 199,  # '┬'
-    137: 200,  # '┴'
-    138: 201,  # '┼'
-    139: 202,  # '▀'
-    140: 203,  # '▄'
-    141: 204,  # '█'
-    142: 205,  # '▌'
-    143: 206,  # '▐'
-    144: 207,  # '░'
-    145: 208,  # '▒'
-    146: 209,  # '▓'
-    147: 210,  # '⌠'
-    148: 211,  # '■'
-    149: 212,  # '∙'
-    150: 213,  # '√'
-    151: 214,  # '≈'
-    152: 215,  # '≤'
-    153: 216,  # '≥'
-    154: 217,  # '\xa0'
-    155: 218,  # '⌡'
-    156: 219,  # '°'
-    157: 220,  # '²'
-    158: 221,  # '·'
-    159: 222,  # '÷'
-    160: 223,  # '═'
-    161: 224,  # '║'
-    162: 225,  # '╒'
-    163: 68,  # 'ё'
-    164: 226,  # '╓'
-    165: 227,  # '╔'
-    166: 228,  # '╕'
-    167: 229,  # '╖'
-    168: 230,  # '╗'
-    169: 231,  # '╘'
-    170: 232,  # '╙'
-    171: 233,  # '╚'
-    172: 234,  # '╛'
-    173: 235,  # '╜'
-    174: 236,  # '╝'
-    175: 237,  # '╞'
-    176: 238,  # '╟'
-    177: 239,  # '╠'
-    178: 240,  # '╡'
-    179: 241,  # 'Ё'
-    180: 242,  # '╢'
-    181: 243,  # '╣'
-    182: 244,  # '╤'
-    183: 245,  # '╥'
-    184: 246,  # '╦'
-    185: 247,  # '╧'
-    186: 248,  # '╨'
-    187: 249,  # '╩'
-    188: 250,  # '╪'
-    189: 251,  # '╫'
-    190: 252,  # '╬'
-    191: 253,  # '©'
-    192: 27,  # 'ю'
-    193: 3,  # 'а'
-    194: 21,  # 'б'
-    195: 28,  # 'ц'
-    196: 13,  # 'д'
-    197: 2,  # 'е'
-    198: 39,  # 'ф'
-    199: 19,  # 'г'
-    200: 26,  # 'х'
-    201: 4,  # 'и'
-    202: 23,  # 'й'
-    203: 11,  # 'к'
-    204: 8,  # 'л'
-    205: 12,  # 'м'
-    206: 5,  # 'н'
-    207: 1,  # 'о'
-    208: 15,  # 'п'
-    209: 16,  # 'я'
-    210: 9,  # 'р'
-    211: 7,  # 'с'
-    212: 6,  # 'т'
-    213: 14,  # 'у'
-    214: 24,  # 'ж'
-    215: 10,  # 'в'
-    216: 17,  # 'ь'
-    217: 18,  # 'ы'
-    218: 20,  # 'з'
-    219: 25,  # 'ш'
-    220: 30,  # 'э'
-    221: 29,  # 'щ'
-    222: 22,  # 'ч'
-    223: 54,  # 'ъ'
-    224: 59,  # 'Ю'
-    225: 37,  # 'А'
-    226: 44,  # 'Б'
-    227: 58,  # 'Ц'
-    228: 41,  # 'Д'
-    229: 48,  # 'Е'
-    230: 53,  # 'Ф'
-    231: 46,  # 'Г'
-    232: 55,  # 'Х'
-    233: 42,  # 'И'
-    234: 60,  # 'Й'
-    235: 36,  # 'К'
-    236: 49,  # 'Л'
-    237: 38,  # 'М'
-    238: 31,  # 'Н'
-    239: 34,  # 'О'
-    240: 35,  # 'П'
-    241: 43,  # 'Я'
-    242: 45,  # 'Р'
-    243: 32,  # 'С'
-    244: 40,  # 'Т'
-    245: 52,  # 'У'
-    246: 56,  # 'Ж'
-    247: 33,  # 'В'
-    248: 61,  # 'Ь'
-    249: 62,  # 'Ы'
-    250: 51,  # 'З'
-    251: 57,  # 'Ш'
-    252: 47,  # 'Э'
-    253: 63,  # 'Щ'
-    254: 50,  # 'Ч'
-    255: 70,  # 'Ъ'
-}
-
-KOI8_R_RUSSIAN_MODEL = SingleByteCharSetModel(
-    charset_name="KOI8-R",
-    language="Russian",
-    char_to_order_map=KOI8_R_RUSSIAN_CHAR_TO_ORDER,
-    language_model=RUSSIAN_LANG_MODEL,
-    typical_positive_ratio=0.976601,
-    keep_ascii_letters=False,
-    alphabet="ЁАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюяё",
-)
-
-MACCYRILLIC_RUSSIAN_CHAR_TO_ORDER = {
-    0: 255,  # '\x00'
-    1: 255,  # '\x01'
-    2: 255,  # '\x02'
-    3: 255,  # '\x03'
-    4: 255,  # '\x04'
-    5: 255,  # '\x05'
-    6: 255,  # '\x06'
-    7: 255,  # '\x07'
-    8: 255,  # '\x08'
-    9: 255,  # '\t'
-    10: 254,  # '\n'
-    11: 255,  # '\x0b'
-    12: 255,  # '\x0c'
-    13: 254,  # '\r'
-    14: 255,  # '\x0e'
-    15: 255,  # '\x0f'
-    16: 255,  # '\x10'
-    17: 255,  # '\x11'
-    18: 255,  # '\x12'
-    19: 255,  # '\x13'
-    20: 255,  # '\x14'
-    21: 255,  # '\x15'
-    22: 255,  # '\x16'
-    23: 255,  # '\x17'
-    24: 255,  # '\x18'
-    25: 255,  # '\x19'
-    26: 255,  # '\x1a'
-    27: 255,  # '\x1b'
-    28: 255,  # '\x1c'
-    29: 255,  # '\x1d'
-    30: 255,  # '\x1e'
-    31: 255,  # '\x1f'
-    32: 253,  # ' '
-    33: 253,  # '!'
-    34: 253,  # '"'
-    35: 253,  # '#'
-    36: 253,  # '$'
-    37: 253,  # '%'
-    38: 253,  # '&'
-    39: 253,  # "'"
-    40: 253,  # '('
-    41: 253,  # ')'
-    42: 253,  # '*'
-    43: 253,  # '+'
-    44: 253,  # ','
-    45: 253,  # '-'
-    46: 253,  # '.'
-    47: 253,  # '/'
-    48: 252,  # '0'
-    49: 252,  # '1'
-    50: 252,  # '2'
-    51: 252,  # '3'
-    52: 252,  # '4'
-    53: 252,  # '5'
-    54: 252,  # '6'
-    55: 252,  # '7'
-    56: 252,  # '8'
-    57: 252,  # '9'
-    58: 253,  # ':'
-    59: 253,  # ';'
-    60: 253,  # '<'
-    61: 253,  # '='
-    62: 253,  # '>'
-    63: 253,  # '?'
-    64: 253,  # '@'
-    65: 142,  # 'A'
-    66: 143,  # 'B'
-    67: 144,  # 'C'
-    68: 145,  # 'D'
-    69: 146,  # 'E'
-    70: 147,  # 'F'
-    71: 148,  # 'G'
-    72: 149,  # 'H'
-    73: 150,  # 'I'
-    74: 151,  # 'J'
-    75: 152,  # 'K'
-    76: 74,  # 'L'
-    77: 153,  # 'M'
-    78: 75,  # 'N'
-    79: 154,  # 'O'
-    80: 155,  # 'P'
-    81: 156,  # 'Q'
-    82: 157,  # 'R'
-    83: 158,  # 'S'
-    84: 159,  # 'T'
-    85: 160,  # 'U'
-    86: 161,  # 'V'
-    87: 162,  # 'W'
-    88: 163,  # 'X'
-    89: 164,  # 'Y'
-    90: 165,  # 'Z'
-    91: 253,  # '['
-    92: 253,  # '\\'
-    93: 253,  # ']'
-    94: 253,  # '^'
-    95: 253,  # '_'
-    96: 253,  # '`'
-    97: 71,  # 'a'
-    98: 172,  # 'b'
-    99: 66,  # 'c'
-    100: 173,  # 'd'
-    101: 65,  # 'e'
-    102: 174,  # 'f'
-    103: 76,  # 'g'
-    104: 175,  # 'h'
-    105: 64,  # 'i'
-    106: 176,  # 'j'
-    107: 177,  # 'k'
-    108: 77,  # 'l'
-    109: 72,  # 'm'
-    110: 178,  # 'n'
-    111: 69,  # 'o'
-    112: 67,  # 'p'
-    113: 179,  # 'q'
-    114: 78,  # 'r'
-    115: 73,  # 's'
-    116: 180,  # 't'
-    117: 181,  # 'u'
-    118: 79,  # 'v'
-    119: 182,  # 'w'
-    120: 183,  # 'x'
-    121: 184,  # 'y'
-    122: 185,  # 'z'
-    123: 253,  # '{'
-    124: 253,  # '|'
-    125: 253,  # '}'
-    126: 253,  # '~'
-    127: 253,  # '\x7f'
-    128: 37,  # 'А'
-    129: 44,  # 'Б'
-    130: 33,  # 'В'
-    131: 46,  # 'Г'
-    132: 41,  # 'Д'
-    133: 48,  # 'Е'
-    134: 56,  # 'Ж'
-    135: 51,  # 'З'
-    136: 42,  # 'И'
-    137: 60,  # 'Й'
-    138: 36,  # 'К'
-    139: 49,  # 'Л'
-    140: 38,  # 'М'
-    141: 31,  # 'Н'
-    142: 34,  # 'О'
-    143: 35,  # 'П'
-    144: 45,  # 'Р'
-    145: 32,  # 'С'
-    146: 40,  # 'Т'
-    147: 52,  # 'У'
-    148: 53,  # 'Ф'
-    149: 55,  # 'Х'
-    150: 58,  # 'Ц'
-    151: 50,  # 'Ч'
-    152: 57,  # 'Ш'
-    153: 63,  # 'Щ'
-    154: 70,  # 'Ъ'
-    155: 62,  # 'Ы'
-    156: 61,  # 'Ь'
-    157: 47,  # 'Э'
-    158: 59,  # 'Ю'
-    159: 43,  # 'Я'
-    160: 191,  # '†'
-    161: 192,  # '°'
-    162: 193,  # 'Ґ'
-    163: 194,  # '£'
-    164: 195,  # '§'
-    165: 196,  # '•'
-    166: 197,  # '¶'
-    167: 198,  # 'І'
-    168: 199,  # '®'
-    169: 200,  # '©'
-    170: 201,  # '™'
-    171: 202,  # 'Ђ'
-    172: 203,  # 'ђ'
-    173: 204,  # '≠'
-    174: 205,  # 'Ѓ'
-    175: 206,  # 'ѓ'
-    176: 207,  # '∞'
-    177: 208,  # '±'
-    178: 209,  # '≤'
-    179: 210,  # '≥'
-    180: 211,  # 'і'
-    181: 212,  # 'µ'
-    182: 213,  # 'ґ'
-    183: 214,  # 'Ј'
-    184: 215,  # 'Є'
-    185: 216,  # 'є'
-    186: 217,  # 'Ї'
-    187: 218,  # 'ї'
-    188: 219,  # 'Љ'
-    189: 220,  # 'љ'
-    190: 221,  # 'Њ'
-    191: 222,  # 'њ'
-    192: 223,  # 'ј'
-    193: 224,  # 'Ѕ'
-    194: 225,  # '¬'
-    195: 226,  # '√'
-    196: 227,  # 'ƒ'
-    197: 228,  # '≈'
-    198: 229,  # '∆'
-    199: 230,  # '«'
-    200: 231,  # '»'
-    201: 232,  # '…'
-    202: 233,  # '\xa0'
-    203: 234,  # 'Ћ'
-    204: 235,  # 'ћ'
-    205: 236,  # 'Ќ'
-    206: 237,  # 'ќ'
-    207: 238,  # 'ѕ'
-    208: 239,  # '–'
-    209: 240,  # '—'
-    210: 241,  # '“'
-    211: 242,  # '”'
-    212: 243,  # '‘'
-    213: 244,  # '’'
-    214: 245,  # '÷'
-    215: 246,  # '„'
-    216: 247,  # 'Ў'
-    217: 248,  # 'ў'
-    218: 249,  # 'Џ'
-    219: 250,  # 'џ'
-    220: 251,  # '№'
-    221: 252,  # 'Ё'
-    222: 68,  # 'ё'
-    223: 16,  # 'я'
-    224: 3,  # 'а'
-    225: 21,  # 'б'
-    226: 10,  # 'в'
-    227: 19,  # 'г'
-    228: 13,  # 'д'
-    229: 2,  # 'е'
-    230: 24,  # 'ж'
-    231: 20,  # 'з'
-    232: 4,  # 'и'
-    233: 23,  # 'й'
-    234: 11,  # 'к'
-    235: 8,  # 'л'
-    236: 12,  # 'м'
-    237: 5,  # 'н'
-    238: 1,  # 'о'
-    239: 15,  # 'п'
-    240: 9,  # 'р'
-    241: 7,  # 'с'
-    242: 6,  # 'т'
-    243: 14,  # 'у'
-    244: 39,  # 'ф'
-    245: 26,  # 'х'
-    246: 28,  # 'ц'
-    247: 22,  # 'ч'
-    248: 25,  # 'ш'
-    249: 29,  # 'щ'
-    250: 54,  # 'ъ'
-    251: 18,  # 'ы'
-    252: 17,  # 'ь'
-    253: 30,  # 'э'
-    254: 27,  # 'ю'
-    255: 255,  # '€'
-}
-
-MACCYRILLIC_RUSSIAN_MODEL = SingleByteCharSetModel(
-    charset_name="MacCyrillic",
-    language="Russian",
-    char_to_order_map=MACCYRILLIC_RUSSIAN_CHAR_TO_ORDER,
-    language_model=RUSSIAN_LANG_MODEL,
-    typical_positive_ratio=0.976601,
-    keep_ascii_letters=False,
-    alphabet="ЁАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюяё",
-)
-
-ISO_8859_5_RUSSIAN_CHAR_TO_ORDER = {
-    0: 255,  # '\x00'
-    1: 255,  # '\x01'
-    2: 255,  # '\x02'
-    3: 255,  # '\x03'
-    4: 255,  # '\x04'
-    5: 255,  # '\x05'
-    6: 255,  # '\x06'
-    7: 255,  # '\x07'
-    8: 255,  # '\x08'
-    9: 255,  # '\t'
-    10: 254,  # '\n'
-    11: 255,  # '\x0b'
-    12: 255,  # '\x0c'
-    13: 254,  # '\r'
-    14: 255,  # '\x0e'
-    15: 255,  # '\x0f'
-    16: 255,  # '\x10'
-    17: 255,  # '\x11'
-    18: 255,  # '\x12'
-    19: 255,  # '\x13'
-    20: 255,  # '\x14'
-    21: 255,  # '\x15'
-    22: 255,  # '\x16'
-    23: 255,  # '\x17'
-    24: 255,  # '\x18'
-    25: 255,  # '\x19'
-    26: 255,  # '\x1a'
-    27: 255,  # '\x1b'
-    28: 255,  # '\x1c'
-    29: 255,  # '\x1d'
-    30: 255,  # '\x1e'
-    31: 255,  # '\x1f'
-    32: 253,  # ' '
-    33: 253,  # '!'
-    34: 253,  # '"'
-    35: 253,  # '#'
-    36: 253,  # '$'
-    37: 253,  # '%'
-    38: 253,  # '&'
-    39: 253,  # "'"
-    40: 253,  # '('
-    41: 253,  # ')'
-    42: 253,  # '*'
-    43: 253,  # '+'
-    44: 253,  # ','
-    45: 253,  # '-'
-    46: 253,  # '.'
-    47: 253,  # '/'
-    48: 252,  # '0'
-    49: 252,  # '1'
-    50: 252,  # '2'
-    51: 252,  # '3'
-    52: 252,  # '4'
-    53: 252,  # '5'
-    54: 252,  # '6'
-    55: 252,  # '7'
-    56: 252,  # '8'
-    57: 252,  # '9'
-    58: 253,  # ':'
-    59: 253,  # ';'
-    60: 253,  # '<'
-    61: 253,  # '='
-    62: 253,  # '>'
-    63: 253,  # '?'
-    64: 253,  # '@'
-    65: 142,  # 'A'
-    66: 143,  # 'B'
-    67: 144,  # 'C'
-    68: 145,  # 'D'
-    69: 146,  # 'E'
-    70: 147,  # 'F'
-    71: 148,  # 'G'
-    72: 149,  # 'H'
-    73: 150,  # 'I'
-    74: 151,  # 'J'
-    75: 152,  # 'K'
-    76: 74,  # 'L'
-    77: 153,  # 'M'
-    78: 75,  # 'N'
-    79: 154,  # 'O'
-    80: 155,  # 'P'
-    81: 156,  # 'Q'
-    82: 157,  # 'R'
-    83: 158,  # 'S'
-    84: 159,  # 'T'
-    85: 160,  # 'U'
-    86: 161,  # 'V'
-    87: 162,  # 'W'
-    88: 163,  # 'X'
-    89: 164,  # 'Y'
-    90: 165,  # 'Z'
-    91: 253,  # '['
-    92: 253,  # '\\'
-    93: 253,  # ']'
-    94: 253,  # '^'
-    95: 253,  # '_'
-    96: 253,  # '`'
-    97: 71,  # 'a'
-    98: 172,  # 'b'
-    99: 66,  # 'c'
-    100: 173,  # 'd'
-    101: 65,  # 'e'
-    102: 174,  # 'f'
-    103: 76,  # 'g'
-    104: 175,  # 'h'
-    105: 64,  # 'i'
-    106: 176,  # 'j'
-    107: 177,  # 'k'
-    108: 77,  # 'l'
-    109: 72,  # 'm'
-    110: 178,  # 'n'
-    111: 69,  # 'o'
-    112: 67,  # 'p'
-    113: 179,  # 'q'
-    114: 78,  # 'r'
-    115: 73,  # 's'
-    116: 180,  # 't'
-    117: 181,  # 'u'
-    118: 79,  # 'v'
-    119: 182,  # 'w'
-    120: 183,  # 'x'
-    121: 184,  # 'y'
-    122: 185,  # 'z'
-    123: 253,  # '{'
-    124: 253,  # '|'
-    125: 253,  # '}'
-    126: 253,  # '~'
-    127: 253,  # '\x7f'
-    128: 191,  # '\x80'
-    129: 192,  # '\x81'
-    130: 193,  # '\x82'
-    131: 194,  # '\x83'
-    132: 195,  # '\x84'
-    133: 196,  # '\x85'
-    134: 197,  # '\x86'
-    135: 198,  # '\x87'
-    136: 199,  # '\x88'
-    137: 200,  # '\x89'
-    138: 201,  # '\x8a'
-    139: 202,  # '\x8b'
-    140: 203,  # '\x8c'
-    141: 204,  # '\x8d'
-    142: 205,  # '\x8e'
-    143: 206,  # '\x8f'
-    144: 207,  # '\x90'
-    145: 208,  # '\x91'
-    146: 209,  # '\x92'
-    147: 210,  # '\x93'
-    148: 211,  # '\x94'
-    149: 212,  # '\x95'
-    150: 213,  # '\x96'
-    151: 214,  # '\x97'
-    152: 215,  # '\x98'
-    153: 216,  # '\x99'
-    154: 217,  # '\x9a'
-    155: 218,  # '\x9b'
-    156: 219,  # '\x9c'
-    157: 220,  # '\x9d'
-    158: 221,  # '\x9e'
-    159: 222,  # '\x9f'
-    160: 223,  # '\xa0'
-    161: 224,  # 'Ё'
-    162: 225,  # 'Ђ'
-    163: 226,  # 'Ѓ'
-    164: 227,  # 'Є'
-    165: 228,  # 'Ѕ'
-    166: 229,  # 'І'
-    167: 230,  # 'Ї'
-    168: 231,  # 'Ј'
-    169: 232,  # 'Љ'
-    170: 233,  # 'Њ'
-    171: 234,  # 'Ћ'
-    172: 235,  # 'Ќ'
-    173: 236,  # '\xad'
-    174: 237,  # 'Ў'
-    175: 238,  # 'Џ'
-    176: 37,  # 'А'
-    177: 44,  # 'Б'
-    178: 33,  # 'В'
-    179: 46,  # 'Г'
-    180: 41,  # 'Д'
-    181: 48,  # 'Е'
-    182: 56,  # 'Ж'
-    183: 51,  # 'З'
-    184: 42,  # 'И'
-    185: 60,  # 'Й'
-    186: 36,  # 'К'
-    187: 49,  # 'Л'
-    188: 38,  # 'М'
-    189: 31,  # 'Н'
-    190: 34,  # 'О'
-    191: 35,  # 'П'
-    192: 45,  # 'Р'
-    193: 32,  # 'С'
-    194: 40,  # 'Т'
-    195: 52,  # 'У'
-    196: 53,  # 'Ф'
-    197: 55,  # 'Х'
-    198: 58,  # 'Ц'
-    199: 50,  # 'Ч'
-    200: 57,  # 'Ш'
-    201: 63,  # 'Щ'
-    202: 70,  # 'Ъ'
-    203: 62,  # 'Ы'
-    204: 61,  # 'Ь'
-    205: 47,  # 'Э'
-    206: 59,  # 'Ю'
-    207: 43,  # 'Я'
-    208: 3,  # 'а'
-    209: 21,  # 'б'
-    210: 10,  # 'в'
-    211: 19,  # 'г'
-    212: 13,  # 'д'
-    213: 2,  # 'е'
-    214: 24,  # 'ж'
-    215: 20,  # 'з'
-    216: 4,  # 'и'
-    217: 23,  # 'й'
-    218: 11,  # 'к'
-    219: 8,  # 'л'
-    220: 12,  # 'м'
-    221: 5,  # 'н'
-    222: 1,  # 'о'
-    223: 15,  # 'п'
-    224: 9,  # 'р'
-    225: 7,  # 'с'
-    226: 6,  # 'т'
-    227: 14,  # 'у'
-    228: 39,  # 'ф'
-    229: 26,  # 'х'
-    230: 28,  # 'ц'
-    231: 22,  # 'ч'
-    232: 25,  # 'ш'
-    233: 29,  # 'щ'
-    234: 54,  # 'ъ'
-    235: 18,  # 'ы'
-    236: 17,  # 'ь'
-    237: 30,  # 'э'
-    238: 27,  # 'ю'
-    239: 16,  # 'я'
-    240: 239,  # '№'
-    241: 68,  # 'ё'
-    242: 240,  # 'ђ'
-    243: 241,  # 'ѓ'
-    244: 242,  # 'є'
-    245: 243,  # 'ѕ'
-    246: 244,  # 'і'
-    247: 245,  # 'ї'
-    248: 246,  # 'ј'
-    249: 247,  # 'љ'
-    250: 248,  # 'њ'
-    251: 249,  # 'ћ'
-    252: 250,  # 'ќ'
-    253: 251,  # '§'
-    254: 252,  # 'ў'
-    255: 255,  # 'џ'
-}
-
-ISO_8859_5_RUSSIAN_MODEL = SingleByteCharSetModel(
-    charset_name="ISO-8859-5",
-    language="Russian",
-    char_to_order_map=ISO_8859_5_RUSSIAN_CHAR_TO_ORDER,
-    language_model=RUSSIAN_LANG_MODEL,
-    typical_positive_ratio=0.976601,
-    keep_ascii_letters=False,
-    alphabet="ЁАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюяё",
-)
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/langthaimodel.py b/.venv/Lib/site-packages/pip/_vendor/chardet/langthaimodel.py
deleted file mode 100644
index 489cad9..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/langthaimodel.py
+++ /dev/null
@@ -1,4380 +0,0 @@
-from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel
-
-# 3: Positive
-# 2: Likely
-# 1: Unlikely
-# 0: Negative
-
-THAI_LANG_MODEL = {
-    5: {  # 'ก'
-        5: 2,  # 'ก'
-        30: 2,  # 'ข'
-        24: 2,  # 'ค'
-        8: 2,  # 'ง'
-        26: 2,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 1,  # 'ช'
-        51: 1,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 3,  # 'ฎ'
-        57: 2,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 2,  # 'ณ'
-        20: 2,  # 'ด'
-        19: 3,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 2,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 2,  # 'น'
-        17: 1,  # 'บ'
-        25: 2,  # 'ป'
-        39: 1,  # 'ผ'
-        62: 1,  # 'ฝ'
-        31: 1,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 1,  # 'ภ'
-        9: 2,  # 'ม'
-        16: 1,  # 'ย'
-        2: 3,  # 'ร'
-        61: 2,  # 'ฤ'
-        15: 3,  # 'ล'
-        12: 3,  # 'ว'
-        42: 2,  # 'ศ'
-        46: 3,  # 'ษ'
-        18: 2,  # 'ส'
-        21: 2,  # 'ห'
-        4: 3,  # 'อ'
-        63: 1,  # 'ฯ'
-        22: 2,  # 'ะ'
-        10: 3,  # 'ั'
-        1: 3,  # 'า'
-        36: 3,  # 'ำ'
-        23: 3,  # 'ิ'
-        13: 3,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 2,  # 'ื'
-        32: 2,  # 'ุ'
-        35: 1,  # 'ู'
-        11: 2,  # 'เ'
-        28: 2,  # 'แ'
-        41: 1,  # 'โ'
-        29: 1,  # 'ใ'
-        33: 2,  # 'ไ'
-        50: 1,  # 'ๆ'
-        37: 3,  # '็'
-        6: 3,  # '่'
-        7: 3,  # '้'
-        38: 2,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    30: {  # 'ข'
-        5: 1,  # 'ก'
-        30: 0,  # 'ข'
-        24: 1,  # 'ค'
-        8: 1,  # 'ง'
-        26: 1,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 2,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 2,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 1,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 2,  # 'น'
-        17: 1,  # 'บ'
-        25: 1,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 0,  # 'ม'
-        16: 2,  # 'ย'
-        2: 1,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 0,  # 'ล'
-        12: 2,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 1,  # 'ส'
-        21: 1,  # 'ห'
-        4: 3,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 3,  # 'ั'
-        1: 3,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 2,  # 'ี'
-        40: 3,  # 'ึ'
-        27: 1,  # 'ื'
-        32: 1,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 1,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 1,  # '็'
-        6: 2,  # '่'
-        7: 3,  # '้'
-        38: 1,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    24: {  # 'ค'
-        5: 0,  # 'ก'
-        30: 0,  # 'ข'
-        24: 2,  # 'ค'
-        8: 2,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 2,  # 'ณ'
-        20: 2,  # 'ด'
-        19: 2,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 1,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 3,  # 'น'
-        17: 0,  # 'บ'
-        25: 1,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 2,  # 'ม'
-        16: 2,  # 'ย'
-        2: 3,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 3,  # 'ล'
-        12: 3,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 1,  # 'ส'
-        21: 0,  # 'ห'
-        4: 2,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 2,  # 'ะ'
-        10: 3,  # 'ั'
-        1: 2,  # 'า'
-        36: 3,  # 'ำ'
-        23: 3,  # 'ิ'
-        13: 2,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 3,  # 'ื'
-        32: 3,  # 'ุ'
-        35: 2,  # 'ู'
-        11: 1,  # 'เ'
-        28: 0,  # 'แ'
-        41: 3,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 1,  # '็'
-        6: 3,  # '่'
-        7: 3,  # '้'
-        38: 3,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    8: {  # 'ง'
-        5: 3,  # 'ก'
-        30: 2,  # 'ข'
-        24: 3,  # 'ค'
-        8: 2,  # 'ง'
-        26: 2,  # 'จ'
-        52: 1,  # 'ฉ'
-        34: 2,  # 'ช'
-        51: 1,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 2,  # 'ด'
-        19: 2,  # 'ต'
-        44: 1,  # 'ถ'
-        14: 3,  # 'ท'
-        48: 1,  # 'ธ'
-        3: 3,  # 'น'
-        17: 2,  # 'บ'
-        25: 2,  # 'ป'
-        39: 2,  # 'ผ'
-        62: 1,  # 'ฝ'
-        31: 2,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 1,  # 'ภ'
-        9: 2,  # 'ม'
-        16: 1,  # 'ย'
-        2: 2,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 2,  # 'ล'
-        12: 2,  # 'ว'
-        42: 2,  # 'ศ'
-        46: 1,  # 'ษ'
-        18: 3,  # 'ส'
-        21: 3,  # 'ห'
-        4: 2,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 1,  # 'ั'
-        1: 3,  # 'า'
-        36: 0,  # 'ำ'
-        23: 2,  # 'ิ'
-        13: 1,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 1,  # 'ื'
-        32: 1,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 3,  # 'เ'
-        28: 2,  # 'แ'
-        41: 1,  # 'โ'
-        29: 2,  # 'ใ'
-        33: 2,  # 'ไ'
-        50: 3,  # 'ๆ'
-        37: 0,  # '็'
-        6: 2,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    26: {  # 'จ'
-        5: 2,  # 'ก'
-        30: 1,  # 'ข'
-        24: 0,  # 'ค'
-        8: 2,  # 'ง'
-        26: 3,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 2,  # 'ด'
-        19: 1,  # 'ต'
-        44: 1,  # 'ถ'
-        14: 2,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 3,  # 'น'
-        17: 1,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 1,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 1,  # 'ม'
-        16: 1,  # 'ย'
-        2: 3,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 0,  # 'ล'
-        12: 1,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 2,  # 'ส'
-        21: 1,  # 'ห'
-        4: 2,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 3,  # 'ะ'
-        10: 3,  # 'ั'
-        1: 3,  # 'า'
-        36: 3,  # 'ำ'
-        23: 2,  # 'ิ'
-        13: 1,  # 'ี'
-        40: 3,  # 'ึ'
-        27: 1,  # 'ื'
-        32: 3,  # 'ุ'
-        35: 2,  # 'ู'
-        11: 1,  # 'เ'
-        28: 1,  # 'แ'
-        41: 0,  # 'โ'
-        29: 1,  # 'ใ'
-        33: 1,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 2,  # '่'
-        7: 2,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    52: {  # 'ฉ'
-        5: 0,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 0,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 0,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 0,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 0,  # 'น'
-        17: 3,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 3,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 1,  # 'ม'
-        16: 1,  # 'ย'
-        2: 0,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 2,  # 'ล'
-        12: 1,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 0,  # 'ส'
-        21: 0,  # 'ห'
-        4: 0,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 1,  # 'ะ'
-        10: 1,  # 'ั'
-        1: 1,  # 'า'
-        36: 0,  # 'ำ'
-        23: 1,  # 'ิ'
-        13: 1,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 1,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    34: {  # 'ช'
-        5: 1,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 1,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 1,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 0,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 1,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 3,  # 'น'
-        17: 2,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 2,  # 'ม'
-        16: 1,  # 'ย'
-        2: 1,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 0,  # 'ล'
-        12: 1,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 0,  # 'ส'
-        21: 0,  # 'ห'
-        4: 2,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 2,  # 'ั'
-        1: 3,  # 'า'
-        36: 1,  # 'ำ'
-        23: 3,  # 'ิ'
-        13: 2,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 3,  # 'ื'
-        32: 3,  # 'ุ'
-        35: 1,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 1,  # '็'
-        6: 3,  # '่'
-        7: 3,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    51: {  # 'ซ'
-        5: 0,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 0,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 0,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 0,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 1,  # 'น'
-        17: 0,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 0,  # 'ม'
-        16: 0,  # 'ย'
-        2: 0,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 1,  # 'ล'
-        12: 0,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 1,  # 'ส'
-        21: 0,  # 'ห'
-        4: 2,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 1,  # 'ั'
-        1: 1,  # 'า'
-        36: 0,  # 'ำ'
-        23: 1,  # 'ิ'
-        13: 2,  # 'ี'
-        40: 3,  # 'ึ'
-        27: 2,  # 'ื'
-        32: 1,  # 'ุ'
-        35: 1,  # 'ู'
-        11: 1,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 1,  # '็'
-        6: 1,  # '่'
-        7: 2,  # '้'
-        38: 1,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    47: {  # 'ญ'
-        5: 1,  # 'ก'
-        30: 1,  # 'ข'
-        24: 0,  # 'ค'
-        8: 0,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 1,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 3,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 0,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 1,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 0,  # 'น'
-        17: 1,  # 'บ'
-        25: 1,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 1,  # 'ม'
-        16: 0,  # 'ย'
-        2: 0,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 1,  # 'ล'
-        12: 0,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 1,  # 'ส'
-        21: 2,  # 'ห'
-        4: 1,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 1,  # 'ะ'
-        10: 2,  # 'ั'
-        1: 3,  # 'า'
-        36: 0,  # 'ำ'
-        23: 1,  # 'ิ'
-        13: 1,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 1,  # 'เ'
-        28: 1,  # 'แ'
-        41: 0,  # 'โ'
-        29: 1,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 1,  # 'ๆ'
-        37: 0,  # '็'
-        6: 2,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    58: {  # 'ฎ'
-        5: 2,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 0,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 0,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 0,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 0,  # 'น'
-        17: 0,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 0,  # 'ม'
-        16: 0,  # 'ย'
-        2: 0,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 0,  # 'ล'
-        12: 0,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 0,  # 'ส'
-        21: 1,  # 'ห'
-        4: 0,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 1,  # 'ิ'
-        13: 2,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    57: {  # 'ฏ'
-        5: 0,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 0,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 0,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 0,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 0,  # 'น'
-        17: 0,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 0,  # 'ม'
-        16: 0,  # 'ย'
-        2: 0,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 0,  # 'ล'
-        12: 0,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 0,  # 'ส'
-        21: 0,  # 'ห'
-        4: 0,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 3,  # 'ิ'
-        13: 1,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    49: {  # 'ฐ'
-        5: 1,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 0,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 0,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 0,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 0,  # 'น'
-        17: 2,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 2,  # 'ม'
-        16: 0,  # 'ย'
-        2: 0,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 0,  # 'ล'
-        12: 0,  # 'ว'
-        42: 1,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 0,  # 'ส'
-        21: 0,  # 'ห'
-        4: 1,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 3,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 1,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    53: {  # 'ฑ'
-        5: 0,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 0,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 0,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 0,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 0,  # 'น'
-        17: 0,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 0,  # 'ม'
-        16: 0,  # 'ย'
-        2: 0,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 0,  # 'ล'
-        12: 0,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 0,  # 'ส'
-        21: 0,  # 'ห'
-        4: 0,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 2,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 3,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    55: {  # 'ฒ'
-        5: 0,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 0,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 0,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 0,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 3,  # 'น'
-        17: 0,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 1,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 0,  # 'ม'
-        16: 0,  # 'ย'
-        2: 0,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 0,  # 'ล'
-        12: 0,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 0,  # 'ส'
-        21: 0,  # 'ห'
-        4: 0,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 1,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    43: {  # 'ณ'
-        5: 1,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 0,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 3,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 0,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 0,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 0,  # 'น'
-        17: 0,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 3,  # 'ภ'
-        9: 0,  # 'ม'
-        16: 0,  # 'ย'
-        2: 1,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 0,  # 'ล'
-        12: 1,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 1,  # 'ส'
-        21: 1,  # 'ห'
-        4: 0,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 3,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 3,  # 'า'
-        36: 0,  # 'ำ'
-        23: 1,  # 'ิ'
-        13: 2,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 1,  # 'เ'
-        28: 1,  # 'แ'
-        41: 0,  # 'โ'
-        29: 1,  # 'ใ'
-        33: 1,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 3,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    20: {  # 'ด'
-        5: 2,  # 'ก'
-        30: 2,  # 'ข'
-        24: 2,  # 'ค'
-        8: 3,  # 'ง'
-        26: 2,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 1,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 1,  # 'ด'
-        19: 2,  # 'ต'
-        44: 1,  # 'ถ'
-        14: 2,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 1,  # 'น'
-        17: 1,  # 'บ'
-        25: 1,  # 'ป'
-        39: 1,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 1,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 1,  # 'ภ'
-        9: 2,  # 'ม'
-        16: 3,  # 'ย'
-        2: 2,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 2,  # 'ล'
-        12: 2,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 2,  # 'ส'
-        21: 2,  # 'ห'
-        4: 1,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 3,  # 'ั'
-        1: 2,  # 'า'
-        36: 2,  # 'ำ'
-        23: 3,  # 'ิ'
-        13: 3,  # 'ี'
-        40: 1,  # 'ึ'
-        27: 2,  # 'ื'
-        32: 3,  # 'ุ'
-        35: 2,  # 'ู'
-        11: 2,  # 'เ'
-        28: 2,  # 'แ'
-        41: 1,  # 'โ'
-        29: 2,  # 'ใ'
-        33: 2,  # 'ไ'
-        50: 2,  # 'ๆ'
-        37: 2,  # '็'
-        6: 1,  # '่'
-        7: 3,  # '้'
-        38: 1,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    19: {  # 'ต'
-        5: 2,  # 'ก'
-        30: 1,  # 'ข'
-        24: 1,  # 'ค'
-        8: 0,  # 'ง'
-        26: 1,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 1,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 1,  # 'ด'
-        19: 1,  # 'ต'
-        44: 2,  # 'ถ'
-        14: 1,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 2,  # 'น'
-        17: 1,  # 'บ'
-        25: 1,  # 'ป'
-        39: 1,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 1,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 2,  # 'ภ'
-        9: 1,  # 'ม'
-        16: 1,  # 'ย'
-        2: 3,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 2,  # 'ล'
-        12: 1,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 3,  # 'ส'
-        21: 0,  # 'ห'
-        4: 3,  # 'อ'
-        63: 1,  # 'ฯ'
-        22: 2,  # 'ะ'
-        10: 3,  # 'ั'
-        1: 3,  # 'า'
-        36: 2,  # 'ำ'
-        23: 3,  # 'ิ'
-        13: 2,  # 'ี'
-        40: 1,  # 'ึ'
-        27: 1,  # 'ื'
-        32: 3,  # 'ุ'
-        35: 2,  # 'ู'
-        11: 1,  # 'เ'
-        28: 1,  # 'แ'
-        41: 1,  # 'โ'
-        29: 1,  # 'ใ'
-        33: 1,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 2,  # '็'
-        6: 3,  # '่'
-        7: 3,  # '้'
-        38: 2,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    44: {  # 'ถ'
-        5: 1,  # 'ก'
-        30: 0,  # 'ข'
-        24: 1,  # 'ค'
-        8: 0,  # 'ง'
-        26: 1,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 1,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 1,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 1,  # 'น'
-        17: 2,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 1,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 0,  # 'ม'
-        16: 0,  # 'ย'
-        2: 1,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 1,  # 'ล'
-        12: 1,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 1,  # 'ส'
-        21: 0,  # 'ห'
-        4: 1,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 2,  # 'ั'
-        1: 3,  # 'า'
-        36: 0,  # 'ำ'
-        23: 2,  # 'ิ'
-        13: 1,  # 'ี'
-        40: 3,  # 'ึ'
-        27: 2,  # 'ื'
-        32: 2,  # 'ุ'
-        35: 3,  # 'ู'
-        11: 1,  # 'เ'
-        28: 1,  # 'แ'
-        41: 0,  # 'โ'
-        29: 1,  # 'ใ'
-        33: 1,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 2,  # '่'
-        7: 3,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    14: {  # 'ท'
-        5: 1,  # 'ก'
-        30: 1,  # 'ข'
-        24: 3,  # 'ค'
-        8: 1,  # 'ง'
-        26: 1,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 2,  # 'ด'
-        19: 1,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 1,  # 'ท'
-        48: 3,  # 'ธ'
-        3: 3,  # 'น'
-        17: 2,  # 'บ'
-        25: 2,  # 'ป'
-        39: 1,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 2,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 1,  # 'ม'
-        16: 3,  # 'ย'
-        2: 3,  # 'ร'
-        61: 1,  # 'ฤ'
-        15: 1,  # 'ล'
-        12: 2,  # 'ว'
-        42: 3,  # 'ศ'
-        46: 1,  # 'ษ'
-        18: 1,  # 'ส'
-        21: 0,  # 'ห'
-        4: 2,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 2,  # 'ะ'
-        10: 3,  # 'ั'
-        1: 3,  # 'า'
-        36: 3,  # 'ำ'
-        23: 2,  # 'ิ'
-        13: 3,  # 'ี'
-        40: 2,  # 'ึ'
-        27: 1,  # 'ื'
-        32: 3,  # 'ุ'
-        35: 1,  # 'ู'
-        11: 0,  # 'เ'
-        28: 1,  # 'แ'
-        41: 0,  # 'โ'
-        29: 1,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 1,  # '็'
-        6: 3,  # '่'
-        7: 3,  # '้'
-        38: 2,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    48: {  # 'ธ'
-        5: 0,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 1,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 0,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 0,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 1,  # 'น'
-        17: 0,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 0,  # 'ม'
-        16: 0,  # 'ย'
-        2: 2,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 0,  # 'ล'
-        12: 0,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 0,  # 'ส'
-        21: 0,  # 'ห'
-        4: 0,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 2,  # 'า'
-        36: 0,  # 'ำ'
-        23: 3,  # 'ิ'
-        13: 3,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 2,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 3,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    3: {  # 'น'
-        5: 3,  # 'ก'
-        30: 2,  # 'ข'
-        24: 3,  # 'ค'
-        8: 1,  # 'ง'
-        26: 2,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 1,  # 'ช'
-        51: 1,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 1,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 3,  # 'ด'
-        19: 3,  # 'ต'
-        44: 2,  # 'ถ'
-        14: 3,  # 'ท'
-        48: 3,  # 'ธ'
-        3: 2,  # 'น'
-        17: 2,  # 'บ'
-        25: 2,  # 'ป'
-        39: 2,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 2,  # 'พ'
-        54: 1,  # 'ฟ'
-        45: 1,  # 'ภ'
-        9: 2,  # 'ม'
-        16: 2,  # 'ย'
-        2: 2,  # 'ร'
-        61: 1,  # 'ฤ'
-        15: 2,  # 'ล'
-        12: 3,  # 'ว'
-        42: 1,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 2,  # 'ส'
-        21: 2,  # 'ห'
-        4: 3,  # 'อ'
-        63: 1,  # 'ฯ'
-        22: 2,  # 'ะ'
-        10: 3,  # 'ั'
-        1: 3,  # 'า'
-        36: 3,  # 'ำ'
-        23: 3,  # 'ิ'
-        13: 3,  # 'ี'
-        40: 3,  # 'ึ'
-        27: 3,  # 'ื'
-        32: 3,  # 'ุ'
-        35: 2,  # 'ู'
-        11: 3,  # 'เ'
-        28: 2,  # 'แ'
-        41: 3,  # 'โ'
-        29: 3,  # 'ใ'
-        33: 3,  # 'ไ'
-        50: 2,  # 'ๆ'
-        37: 1,  # '็'
-        6: 3,  # '่'
-        7: 3,  # '้'
-        38: 2,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    17: {  # 'บ'
-        5: 3,  # 'ก'
-        30: 2,  # 'ข'
-        24: 2,  # 'ค'
-        8: 1,  # 'ง'
-        26: 1,  # 'จ'
-        52: 1,  # 'ฉ'
-        34: 1,  # 'ช'
-        51: 1,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 1,  # 'ด'
-        19: 2,  # 'ต'
-        44: 1,  # 'ถ'
-        14: 3,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 3,  # 'น'
-        17: 3,  # 'บ'
-        25: 2,  # 'ป'
-        39: 2,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 1,  # 'พ'
-        54: 1,  # 'ฟ'
-        45: 1,  # 'ภ'
-        9: 1,  # 'ม'
-        16: 0,  # 'ย'
-        2: 3,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 2,  # 'ล'
-        12: 3,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 2,  # 'ส'
-        21: 2,  # 'ห'
-        4: 2,  # 'อ'
-        63: 1,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 3,  # 'ั'
-        1: 3,  # 'า'
-        36: 2,  # 'ำ'
-        23: 2,  # 'ิ'
-        13: 2,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 2,  # 'ื'
-        32: 3,  # 'ุ'
-        35: 2,  # 'ู'
-        11: 2,  # 'เ'
-        28: 2,  # 'แ'
-        41: 1,  # 'โ'
-        29: 2,  # 'ใ'
-        33: 2,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 1,  # '็'
-        6: 2,  # '่'
-        7: 2,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    25: {  # 'ป'
-        5: 2,  # 'ก'
-        30: 0,  # 'ข'
-        24: 1,  # 'ค'
-        8: 0,  # 'ง'
-        26: 1,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 1,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 1,  # 'ฎ'
-        57: 3,  # 'ฏ'
-        49: 1,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 1,  # 'ด'
-        19: 1,  # 'ต'
-        44: 1,  # 'ถ'
-        14: 1,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 2,  # 'น'
-        17: 0,  # 'บ'
-        25: 1,  # 'ป'
-        39: 1,  # 'ผ'
-        62: 1,  # 'ฝ'
-        31: 1,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 1,  # 'ม'
-        16: 0,  # 'ย'
-        2: 3,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 3,  # 'ล'
-        12: 1,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 1,  # 'ษ'
-        18: 2,  # 'ส'
-        21: 1,  # 'ห'
-        4: 2,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 1,  # 'ะ'
-        10: 3,  # 'ั'
-        1: 1,  # 'า'
-        36: 0,  # 'ำ'
-        23: 2,  # 'ิ'
-        13: 3,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 1,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 1,  # 'เ'
-        28: 2,  # 'แ'
-        41: 0,  # 'โ'
-        29: 1,  # 'ใ'
-        33: 2,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 3,  # '็'
-        6: 1,  # '่'
-        7: 2,  # '้'
-        38: 1,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    39: {  # 'ผ'
-        5: 1,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 1,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 0,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 0,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 2,  # 'น'
-        17: 0,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 1,  # 'ม'
-        16: 2,  # 'ย'
-        2: 0,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 3,  # 'ล'
-        12: 0,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 1,  # 'ส'
-        21: 0,  # 'ห'
-        4: 0,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 1,  # 'ะ'
-        10: 1,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 2,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 1,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 3,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 3,  # '่'
-        7: 1,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    62: {  # 'ฝ'
-        5: 0,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 0,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 0,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 0,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 1,  # 'น'
-        17: 0,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 0,  # 'ม'
-        16: 0,  # 'ย'
-        2: 1,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 0,  # 'ล'
-        12: 0,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 0,  # 'ส'
-        21: 0,  # 'ห'
-        4: 0,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 1,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 1,  # 'ี'
-        40: 2,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 2,  # '่'
-        7: 1,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    31: {  # 'พ'
-        5: 1,  # 'ก'
-        30: 1,  # 'ข'
-        24: 1,  # 'ค'
-        8: 1,  # 'ง'
-        26: 1,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 1,  # 'ณ'
-        20: 1,  # 'ด'
-        19: 1,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 2,  # 'ท'
-        48: 1,  # 'ธ'
-        3: 3,  # 'น'
-        17: 2,  # 'บ'
-        25: 0,  # 'ป'
-        39: 1,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 1,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 1,  # 'ม'
-        16: 2,  # 'ย'
-        2: 3,  # 'ร'
-        61: 2,  # 'ฤ'
-        15: 2,  # 'ล'
-        12: 2,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 1,  # 'ส'
-        21: 1,  # 'ห'
-        4: 2,  # 'อ'
-        63: 1,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 3,  # 'ั'
-        1: 3,  # 'า'
-        36: 0,  # 'ำ'
-        23: 3,  # 'ิ'
-        13: 2,  # 'ี'
-        40: 1,  # 'ึ'
-        27: 3,  # 'ื'
-        32: 1,  # 'ุ'
-        35: 2,  # 'ู'
-        11: 1,  # 'เ'
-        28: 1,  # 'แ'
-        41: 0,  # 'โ'
-        29: 1,  # 'ใ'
-        33: 1,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 1,  # '็'
-        6: 0,  # '่'
-        7: 1,  # '้'
-        38: 3,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    54: {  # 'ฟ'
-        5: 0,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 0,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 1,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 1,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 1,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 0,  # 'น'
-        17: 0,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 2,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 0,  # 'ม'
-        16: 0,  # 'ย'
-        2: 1,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 2,  # 'ล'
-        12: 0,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 1,  # 'ส'
-        21: 0,  # 'ห'
-        4: 1,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 2,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 1,  # 'ิ'
-        13: 1,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 1,  # 'ื'
-        32: 1,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 1,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 2,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    45: {  # 'ภ'
-        5: 0,  # 'ก'
-        30: 0,  # 'ข'
-        24: 1,  # 'ค'
-        8: 0,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 0,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 3,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 0,  # 'น'
-        17: 0,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 1,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 0,  # 'ม'
-        16: 0,  # 'ย'
-        2: 1,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 0,  # 'ล'
-        12: 0,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 0,  # 'ส'
-        21: 0,  # 'ห'
-        4: 0,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 3,  # 'ั'
-        1: 3,  # 'า'
-        36: 0,  # 'ำ'
-        23: 1,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 2,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 1,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    9: {  # 'ม'
-        5: 2,  # 'ก'
-        30: 2,  # 'ข'
-        24: 2,  # 'ค'
-        8: 2,  # 'ง'
-        26: 2,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 1,  # 'ช'
-        51: 1,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 1,  # 'ณ'
-        20: 2,  # 'ด'
-        19: 2,  # 'ต'
-        44: 1,  # 'ถ'
-        14: 2,  # 'ท'
-        48: 1,  # 'ธ'
-        3: 3,  # 'น'
-        17: 2,  # 'บ'
-        25: 2,  # 'ป'
-        39: 1,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 3,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 1,  # 'ภ'
-        9: 2,  # 'ม'
-        16: 1,  # 'ย'
-        2: 2,  # 'ร'
-        61: 2,  # 'ฤ'
-        15: 2,  # 'ล'
-        12: 2,  # 'ว'
-        42: 1,  # 'ศ'
-        46: 1,  # 'ษ'
-        18: 3,  # 'ส'
-        21: 3,  # 'ห'
-        4: 3,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 1,  # 'ะ'
-        10: 3,  # 'ั'
-        1: 3,  # 'า'
-        36: 0,  # 'ำ'
-        23: 3,  # 'ิ'
-        13: 3,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 3,  # 'ื'
-        32: 3,  # 'ุ'
-        35: 3,  # 'ู'
-        11: 2,  # 'เ'
-        28: 2,  # 'แ'
-        41: 2,  # 'โ'
-        29: 2,  # 'ใ'
-        33: 2,  # 'ไ'
-        50: 1,  # 'ๆ'
-        37: 1,  # '็'
-        6: 3,  # '่'
-        7: 2,  # '้'
-        38: 1,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    16: {  # 'ย'
-        5: 3,  # 'ก'
-        30: 1,  # 'ข'
-        24: 2,  # 'ค'
-        8: 3,  # 'ง'
-        26: 2,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 2,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 2,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 2,  # 'ด'
-        19: 2,  # 'ต'
-        44: 1,  # 'ถ'
-        14: 2,  # 'ท'
-        48: 1,  # 'ธ'
-        3: 3,  # 'น'
-        17: 3,  # 'บ'
-        25: 1,  # 'ป'
-        39: 1,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 1,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 1,  # 'ภ'
-        9: 2,  # 'ม'
-        16: 0,  # 'ย'
-        2: 2,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 1,  # 'ล'
-        12: 3,  # 'ว'
-        42: 1,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 2,  # 'ส'
-        21: 1,  # 'ห'
-        4: 2,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 2,  # 'ะ'
-        10: 3,  # 'ั'
-        1: 3,  # 'า'
-        36: 0,  # 'ำ'
-        23: 2,  # 'ิ'
-        13: 3,  # 'ี'
-        40: 1,  # 'ึ'
-        27: 2,  # 'ื'
-        32: 2,  # 'ุ'
-        35: 3,  # 'ู'
-        11: 2,  # 'เ'
-        28: 1,  # 'แ'
-        41: 1,  # 'โ'
-        29: 2,  # 'ใ'
-        33: 2,  # 'ไ'
-        50: 2,  # 'ๆ'
-        37: 1,  # '็'
-        6: 3,  # '่'
-        7: 2,  # '้'
-        38: 3,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    2: {  # 'ร'
-        5: 3,  # 'ก'
-        30: 2,  # 'ข'
-        24: 2,  # 'ค'
-        8: 3,  # 'ง'
-        26: 2,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 2,  # 'ช'
-        51: 1,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 3,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 3,  # 'ณ'
-        20: 2,  # 'ด'
-        19: 2,  # 'ต'
-        44: 3,  # 'ถ'
-        14: 3,  # 'ท'
-        48: 1,  # 'ธ'
-        3: 2,  # 'น'
-        17: 2,  # 'บ'
-        25: 3,  # 'ป'
-        39: 2,  # 'ผ'
-        62: 1,  # 'ฝ'
-        31: 2,  # 'พ'
-        54: 1,  # 'ฟ'
-        45: 1,  # 'ภ'
-        9: 3,  # 'ม'
-        16: 2,  # 'ย'
-        2: 3,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 2,  # 'ล'
-        12: 3,  # 'ว'
-        42: 2,  # 'ศ'
-        46: 2,  # 'ษ'
-        18: 2,  # 'ส'
-        21: 2,  # 'ห'
-        4: 3,  # 'อ'
-        63: 1,  # 'ฯ'
-        22: 3,  # 'ะ'
-        10: 3,  # 'ั'
-        1: 3,  # 'า'
-        36: 0,  # 'ำ'
-        23: 3,  # 'ิ'
-        13: 3,  # 'ี'
-        40: 2,  # 'ึ'
-        27: 3,  # 'ื'
-        32: 3,  # 'ุ'
-        35: 3,  # 'ู'
-        11: 3,  # 'เ'
-        28: 3,  # 'แ'
-        41: 1,  # 'โ'
-        29: 2,  # 'ใ'
-        33: 1,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 3,  # '็'
-        6: 3,  # '่'
-        7: 3,  # '้'
-        38: 3,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    61: {  # 'ฤ'
-        5: 0,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 0,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 2,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 2,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 0,  # 'น'
-        17: 0,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 1,  # 'ม'
-        16: 0,  # 'ย'
-        2: 0,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 0,  # 'ล'
-        12: 0,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 2,  # 'ษ'
-        18: 0,  # 'ส'
-        21: 0,  # 'ห'
-        4: 0,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    15: {  # 'ล'
-        5: 2,  # 'ก'
-        30: 3,  # 'ข'
-        24: 1,  # 'ค'
-        8: 3,  # 'ง'
-        26: 1,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 1,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 2,  # 'ด'
-        19: 2,  # 'ต'
-        44: 1,  # 'ถ'
-        14: 2,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 1,  # 'น'
-        17: 2,  # 'บ'
-        25: 2,  # 'ป'
-        39: 1,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 1,  # 'ภ'
-        9: 1,  # 'ม'
-        16: 3,  # 'ย'
-        2: 1,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 1,  # 'ล'
-        12: 1,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 2,  # 'ส'
-        21: 1,  # 'ห'
-        4: 3,  # 'อ'
-        63: 2,  # 'ฯ'
-        22: 3,  # 'ะ'
-        10: 3,  # 'ั'
-        1: 3,  # 'า'
-        36: 2,  # 'ำ'
-        23: 3,  # 'ิ'
-        13: 3,  # 'ี'
-        40: 2,  # 'ึ'
-        27: 3,  # 'ื'
-        32: 2,  # 'ุ'
-        35: 3,  # 'ู'
-        11: 2,  # 'เ'
-        28: 1,  # 'แ'
-        41: 1,  # 'โ'
-        29: 2,  # 'ใ'
-        33: 1,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 2,  # '็'
-        6: 3,  # '่'
-        7: 3,  # '้'
-        38: 2,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    12: {  # 'ว'
-        5: 3,  # 'ก'
-        30: 2,  # 'ข'
-        24: 1,  # 'ค'
-        8: 3,  # 'ง'
-        26: 2,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 1,  # 'ช'
-        51: 1,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 1,  # 'ณ'
-        20: 2,  # 'ด'
-        19: 1,  # 'ต'
-        44: 1,  # 'ถ'
-        14: 1,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 3,  # 'น'
-        17: 2,  # 'บ'
-        25: 1,  # 'ป'
-        39: 1,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 1,  # 'พ'
-        54: 1,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 3,  # 'ม'
-        16: 3,  # 'ย'
-        2: 3,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 3,  # 'ล'
-        12: 1,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 2,  # 'ส'
-        21: 2,  # 'ห'
-        4: 2,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 2,  # 'ะ'
-        10: 3,  # 'ั'
-        1: 3,  # 'า'
-        36: 0,  # 'ำ'
-        23: 3,  # 'ิ'
-        13: 2,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 2,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 3,  # 'เ'
-        28: 2,  # 'แ'
-        41: 1,  # 'โ'
-        29: 1,  # 'ใ'
-        33: 2,  # 'ไ'
-        50: 1,  # 'ๆ'
-        37: 0,  # '็'
-        6: 3,  # '่'
-        7: 3,  # '้'
-        38: 1,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    42: {  # 'ศ'
-        5: 1,  # 'ก'
-        30: 0,  # 'ข'
-        24: 1,  # 'ค'
-        8: 0,  # 'ง'
-        26: 1,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 1,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 1,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 1,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 2,  # 'น'
-        17: 0,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 0,  # 'ม'
-        16: 0,  # 'ย'
-        2: 2,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 0,  # 'ล'
-        12: 2,  # 'ว'
-        42: 1,  # 'ศ'
-        46: 2,  # 'ษ'
-        18: 1,  # 'ส'
-        21: 0,  # 'ห'
-        4: 0,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 2,  # 'ั'
-        1: 3,  # 'า'
-        36: 0,  # 'ำ'
-        23: 2,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 3,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 2,  # 'ู'
-        11: 0,  # 'เ'
-        28: 1,  # 'แ'
-        41: 0,  # 'โ'
-        29: 1,  # 'ใ'
-        33: 1,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 1,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    46: {  # 'ษ'
-        5: 0,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 0,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 2,  # 'ฎ'
-        57: 1,  # 'ฏ'
-        49: 2,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 3,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 1,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 1,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 0,  # 'น'
-        17: 0,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 1,  # 'ภ'
-        9: 1,  # 'ม'
-        16: 2,  # 'ย'
-        2: 2,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 0,  # 'ล'
-        12: 0,  # 'ว'
-        42: 1,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 0,  # 'ส'
-        21: 0,  # 'ห'
-        4: 0,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 2,  # 'ะ'
-        10: 2,  # 'ั'
-        1: 3,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 1,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 1,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 2,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    18: {  # 'ส'
-        5: 2,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 2,  # 'ง'
-        26: 1,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 3,  # 'ด'
-        19: 3,  # 'ต'
-        44: 3,  # 'ถ'
-        14: 0,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 3,  # 'น'
-        17: 2,  # 'บ'
-        25: 1,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 2,  # 'ภ'
-        9: 3,  # 'ม'
-        16: 1,  # 'ย'
-        2: 3,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 1,  # 'ล'
-        12: 2,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 0,  # 'ส'
-        21: 2,  # 'ห'
-        4: 3,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 2,  # 'ะ'
-        10: 3,  # 'ั'
-        1: 3,  # 'า'
-        36: 3,  # 'ำ'
-        23: 3,  # 'ิ'
-        13: 3,  # 'ี'
-        40: 2,  # 'ึ'
-        27: 3,  # 'ื'
-        32: 3,  # 'ุ'
-        35: 3,  # 'ู'
-        11: 2,  # 'เ'
-        28: 0,  # 'แ'
-        41: 1,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 1,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 3,  # '่'
-        7: 1,  # '้'
-        38: 2,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    21: {  # 'ห'
-        5: 3,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 1,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 2,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 1,  # 'ด'
-        19: 3,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 0,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 3,  # 'น'
-        17: 0,  # 'บ'
-        25: 1,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 1,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 3,  # 'ม'
-        16: 2,  # 'ย'
-        2: 3,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 3,  # 'ล'
-        12: 2,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 0,  # 'ส'
-        21: 0,  # 'ห'
-        4: 3,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 1,  # 'ะ'
-        10: 3,  # 'ั'
-        1: 3,  # 'า'
-        36: 0,  # 'ำ'
-        23: 1,  # 'ิ'
-        13: 1,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 1,  # 'ุ'
-        35: 1,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 3,  # '็'
-        6: 3,  # '่'
-        7: 3,  # '้'
-        38: 2,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    4: {  # 'อ'
-        5: 3,  # 'ก'
-        30: 1,  # 'ข'
-        24: 2,  # 'ค'
-        8: 3,  # 'ง'
-        26: 1,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 1,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 3,  # 'ด'
-        19: 2,  # 'ต'
-        44: 1,  # 'ถ'
-        14: 2,  # 'ท'
-        48: 1,  # 'ธ'
-        3: 3,  # 'น'
-        17: 3,  # 'บ'
-        25: 1,  # 'ป'
-        39: 1,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 1,  # 'พ'
-        54: 1,  # 'ฟ'
-        45: 1,  # 'ภ'
-        9: 3,  # 'ม'
-        16: 3,  # 'ย'
-        2: 3,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 2,  # 'ล'
-        12: 2,  # 'ว'
-        42: 1,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 2,  # 'ส'
-        21: 2,  # 'ห'
-        4: 3,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 2,  # 'ะ'
-        10: 3,  # 'ั'
-        1: 3,  # 'า'
-        36: 2,  # 'ำ'
-        23: 2,  # 'ิ'
-        13: 3,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 3,  # 'ื'
-        32: 3,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 3,  # 'เ'
-        28: 1,  # 'แ'
-        41: 1,  # 'โ'
-        29: 2,  # 'ใ'
-        33: 2,  # 'ไ'
-        50: 1,  # 'ๆ'
-        37: 1,  # '็'
-        6: 2,  # '่'
-        7: 2,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    63: {  # 'ฯ'
-        5: 0,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 0,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 0,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 0,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 0,  # 'น'
-        17: 0,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 0,  # 'ม'
-        16: 0,  # 'ย'
-        2: 0,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 2,  # 'ล'
-        12: 0,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 0,  # 'ส'
-        21: 0,  # 'ห'
-        4: 0,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    22: {  # 'ะ'
-        5: 3,  # 'ก'
-        30: 1,  # 'ข'
-        24: 2,  # 'ค'
-        8: 1,  # 'ง'
-        26: 2,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 3,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 3,  # 'ด'
-        19: 3,  # 'ต'
-        44: 1,  # 'ถ'
-        14: 3,  # 'ท'
-        48: 1,  # 'ธ'
-        3: 2,  # 'น'
-        17: 3,  # 'บ'
-        25: 2,  # 'ป'
-        39: 1,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 2,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 1,  # 'ภ'
-        9: 3,  # 'ม'
-        16: 2,  # 'ย'
-        2: 2,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 2,  # 'ล'
-        12: 2,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 3,  # 'ส'
-        21: 3,  # 'ห'
-        4: 2,  # 'อ'
-        63: 1,  # 'ฯ'
-        22: 1,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 3,  # 'เ'
-        28: 2,  # 'แ'
-        41: 1,  # 'โ'
-        29: 2,  # 'ใ'
-        33: 2,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    10: {  # 'ั'
-        5: 3,  # 'ก'
-        30: 0,  # 'ข'
-        24: 1,  # 'ค'
-        8: 3,  # 'ง'
-        26: 3,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 1,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 3,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 2,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 3,  # 'ฒ'
-        43: 3,  # 'ณ'
-        20: 3,  # 'ด'
-        19: 3,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 2,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 3,  # 'น'
-        17: 3,  # 'บ'
-        25: 1,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 2,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 3,  # 'ม'
-        16: 3,  # 'ย'
-        2: 0,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 2,  # 'ล'
-        12: 3,  # 'ว'
-        42: 2,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 3,  # 'ส'
-        21: 0,  # 'ห'
-        4: 0,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 3,  # '่'
-        7: 3,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    1: {  # 'า'
-        5: 3,  # 'ก'
-        30: 2,  # 'ข'
-        24: 3,  # 'ค'
-        8: 3,  # 'ง'
-        26: 3,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 3,  # 'ช'
-        51: 1,  # 'ซ'
-        47: 2,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 3,  # 'ณ'
-        20: 3,  # 'ด'
-        19: 3,  # 'ต'
-        44: 1,  # 'ถ'
-        14: 3,  # 'ท'
-        48: 2,  # 'ธ'
-        3: 3,  # 'น'
-        17: 3,  # 'บ'
-        25: 2,  # 'ป'
-        39: 1,  # 'ผ'
-        62: 1,  # 'ฝ'
-        31: 3,  # 'พ'
-        54: 1,  # 'ฟ'
-        45: 1,  # 'ภ'
-        9: 3,  # 'ม'
-        16: 3,  # 'ย'
-        2: 3,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 3,  # 'ล'
-        12: 3,  # 'ว'
-        42: 2,  # 'ศ'
-        46: 3,  # 'ษ'
-        18: 3,  # 'ส'
-        21: 3,  # 'ห'
-        4: 2,  # 'อ'
-        63: 1,  # 'ฯ'
-        22: 3,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 3,  # 'เ'
-        28: 2,  # 'แ'
-        41: 1,  # 'โ'
-        29: 2,  # 'ใ'
-        33: 2,  # 'ไ'
-        50: 1,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    36: {  # 'ำ'
-        5: 2,  # 'ก'
-        30: 1,  # 'ข'
-        24: 3,  # 'ค'
-        8: 2,  # 'ง'
-        26: 1,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 1,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 1,  # 'ด'
-        19: 1,  # 'ต'
-        44: 1,  # 'ถ'
-        14: 1,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 3,  # 'น'
-        17: 1,  # 'บ'
-        25: 1,  # 'ป'
-        39: 1,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 1,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 1,  # 'ภ'
-        9: 1,  # 'ม'
-        16: 0,  # 'ย'
-        2: 2,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 2,  # 'ล'
-        12: 1,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 1,  # 'ส'
-        21: 3,  # 'ห'
-        4: 1,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 3,  # 'เ'
-        28: 2,  # 'แ'
-        41: 1,  # 'โ'
-        29: 2,  # 'ใ'
-        33: 2,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    23: {  # 'ิ'
-        5: 3,  # 'ก'
-        30: 1,  # 'ข'
-        24: 2,  # 'ค'
-        8: 3,  # 'ง'
-        26: 3,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 3,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 2,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 3,  # 'ด'
-        19: 3,  # 'ต'
-        44: 1,  # 'ถ'
-        14: 3,  # 'ท'
-        48: 3,  # 'ธ'
-        3: 3,  # 'น'
-        17: 3,  # 'บ'
-        25: 2,  # 'ป'
-        39: 2,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 3,  # 'พ'
-        54: 1,  # 'ฟ'
-        45: 2,  # 'ภ'
-        9: 3,  # 'ม'
-        16: 2,  # 'ย'
-        2: 2,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 2,  # 'ล'
-        12: 3,  # 'ว'
-        42: 3,  # 'ศ'
-        46: 2,  # 'ษ'
-        18: 2,  # 'ส'
-        21: 3,  # 'ห'
-        4: 1,  # 'อ'
-        63: 1,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 3,  # 'เ'
-        28: 1,  # 'แ'
-        41: 1,  # 'โ'
-        29: 1,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 3,  # '่'
-        7: 2,  # '้'
-        38: 2,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    13: {  # 'ี'
-        5: 3,  # 'ก'
-        30: 2,  # 'ข'
-        24: 2,  # 'ค'
-        8: 0,  # 'ง'
-        26: 1,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 1,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 2,  # 'ด'
-        19: 1,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 2,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 1,  # 'น'
-        17: 2,  # 'บ'
-        25: 2,  # 'ป'
-        39: 1,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 2,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 2,  # 'ม'
-        16: 3,  # 'ย'
-        2: 2,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 1,  # 'ล'
-        12: 2,  # 'ว'
-        42: 1,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 2,  # 'ส'
-        21: 1,  # 'ห'
-        4: 2,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 2,  # 'เ'
-        28: 2,  # 'แ'
-        41: 1,  # 'โ'
-        29: 1,  # 'ใ'
-        33: 1,  # 'ไ'
-        50: 1,  # 'ๆ'
-        37: 0,  # '็'
-        6: 3,  # '่'
-        7: 3,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    40: {  # 'ึ'
-        5: 3,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 3,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 1,  # 'ด'
-        19: 0,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 0,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 0,  # 'น'
-        17: 0,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 1,  # 'ม'
-        16: 0,  # 'ย'
-        2: 0,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 0,  # 'ล'
-        12: 0,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 0,  # 'ส'
-        21: 0,  # 'ห'
-        4: 0,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 3,  # '่'
-        7: 3,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    27: {  # 'ื'
-        5: 0,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 0,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 1,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 1,  # 'ด'
-        19: 0,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 0,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 2,  # 'น'
-        17: 3,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 2,  # 'ม'
-        16: 0,  # 'ย'
-        2: 0,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 0,  # 'ล'
-        12: 0,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 0,  # 'ส'
-        21: 0,  # 'ห'
-        4: 3,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 3,  # '่'
-        7: 3,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    32: {  # 'ุ'
-        5: 3,  # 'ก'
-        30: 2,  # 'ข'
-        24: 3,  # 'ค'
-        8: 3,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 2,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 1,  # 'ฒ'
-        43: 3,  # 'ณ'
-        20: 3,  # 'ด'
-        19: 3,  # 'ต'
-        44: 1,  # 'ถ'
-        14: 2,  # 'ท'
-        48: 1,  # 'ธ'
-        3: 2,  # 'น'
-        17: 2,  # 'บ'
-        25: 2,  # 'ป'
-        39: 2,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 1,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 1,  # 'ภ'
-        9: 3,  # 'ม'
-        16: 1,  # 'ย'
-        2: 2,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 2,  # 'ล'
-        12: 1,  # 'ว'
-        42: 1,  # 'ศ'
-        46: 2,  # 'ษ'
-        18: 1,  # 'ส'
-        21: 1,  # 'ห'
-        4: 1,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 1,  # 'เ'
-        28: 0,  # 'แ'
-        41: 1,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 1,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 3,  # '่'
-        7: 2,  # '้'
-        38: 1,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    35: {  # 'ู'
-        5: 3,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 2,  # 'ง'
-        26: 1,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 2,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 1,  # 'ณ'
-        20: 2,  # 'ด'
-        19: 2,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 1,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 2,  # 'น'
-        17: 0,  # 'บ'
-        25: 3,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 2,  # 'ม'
-        16: 0,  # 'ย'
-        2: 1,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 3,  # 'ล'
-        12: 1,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 0,  # 'ส'
-        21: 0,  # 'ห'
-        4: 0,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 1,  # 'เ'
-        28: 1,  # 'แ'
-        41: 1,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 3,  # '่'
-        7: 3,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    11: {  # 'เ'
-        5: 3,  # 'ก'
-        30: 3,  # 'ข'
-        24: 3,  # 'ค'
-        8: 2,  # 'ง'
-        26: 3,  # 'จ'
-        52: 3,  # 'ฉ'
-        34: 3,  # 'ช'
-        51: 2,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 1,  # 'ณ'
-        20: 3,  # 'ด'
-        19: 3,  # 'ต'
-        44: 1,  # 'ถ'
-        14: 3,  # 'ท'
-        48: 1,  # 'ธ'
-        3: 3,  # 'น'
-        17: 3,  # 'บ'
-        25: 3,  # 'ป'
-        39: 2,  # 'ผ'
-        62: 1,  # 'ฝ'
-        31: 3,  # 'พ'
-        54: 1,  # 'ฟ'
-        45: 3,  # 'ภ'
-        9: 3,  # 'ม'
-        16: 2,  # 'ย'
-        2: 3,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 3,  # 'ล'
-        12: 3,  # 'ว'
-        42: 2,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 3,  # 'ส'
-        21: 3,  # 'ห'
-        4: 3,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    28: {  # 'แ'
-        5: 3,  # 'ก'
-        30: 2,  # 'ข'
-        24: 2,  # 'ค'
-        8: 1,  # 'ง'
-        26: 2,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 1,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 2,  # 'ด'
-        19: 3,  # 'ต'
-        44: 2,  # 'ถ'
-        14: 3,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 3,  # 'น'
-        17: 3,  # 'บ'
-        25: 2,  # 'ป'
-        39: 3,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 2,  # 'พ'
-        54: 2,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 2,  # 'ม'
-        16: 2,  # 'ย'
-        2: 2,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 3,  # 'ล'
-        12: 2,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 3,  # 'ส'
-        21: 3,  # 'ห'
-        4: 1,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    41: {  # 'โ'
-        5: 2,  # 'ก'
-        30: 1,  # 'ข'
-        24: 2,  # 'ค'
-        8: 0,  # 'ง'
-        26: 1,  # 'จ'
-        52: 1,  # 'ฉ'
-        34: 1,  # 'ช'
-        51: 1,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 3,  # 'ด'
-        19: 2,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 2,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 3,  # 'น'
-        17: 1,  # 'บ'
-        25: 3,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 1,  # 'พ'
-        54: 1,  # 'ฟ'
-        45: 1,  # 'ภ'
-        9: 1,  # 'ม'
-        16: 2,  # 'ย'
-        2: 2,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 3,  # 'ล'
-        12: 0,  # 'ว'
-        42: 1,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 2,  # 'ส'
-        21: 0,  # 'ห'
-        4: 2,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    29: {  # 'ใ'
-        5: 2,  # 'ก'
-        30: 0,  # 'ข'
-        24: 1,  # 'ค'
-        8: 0,  # 'ง'
-        26: 3,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 3,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 3,  # 'ด'
-        19: 1,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 0,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 3,  # 'น'
-        17: 2,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 0,  # 'ม'
-        16: 1,  # 'ย'
-        2: 0,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 0,  # 'ล'
-        12: 0,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 3,  # 'ส'
-        21: 3,  # 'ห'
-        4: 0,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    33: {  # 'ไ'
-        5: 1,  # 'ก'
-        30: 2,  # 'ข'
-        24: 0,  # 'ค'
-        8: 0,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 1,  # 'ช'
-        51: 1,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 3,  # 'ด'
-        19: 1,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 3,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 0,  # 'น'
-        17: 1,  # 'บ'
-        25: 3,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 2,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 3,  # 'ม'
-        16: 0,  # 'ย'
-        2: 3,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 1,  # 'ล'
-        12: 3,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 1,  # 'ส'
-        21: 2,  # 'ห'
-        4: 0,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    50: {  # 'ๆ'
-        5: 0,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 0,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 0,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 0,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 0,  # 'น'
-        17: 0,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 0,  # 'ม'
-        16: 0,  # 'ย'
-        2: 0,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 0,  # 'ล'
-        12: 0,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 0,  # 'ส'
-        21: 0,  # 'ห'
-        4: 0,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    37: {  # '็'
-        5: 2,  # 'ก'
-        30: 1,  # 'ข'
-        24: 2,  # 'ค'
-        8: 2,  # 'ง'
-        26: 3,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 1,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 1,  # 'ด'
-        19: 2,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 1,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 3,  # 'น'
-        17: 3,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 2,  # 'ม'
-        16: 1,  # 'ย'
-        2: 0,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 0,  # 'ล'
-        12: 2,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 1,  # 'ส'
-        21: 0,  # 'ห'
-        4: 1,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 1,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 1,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    6: {  # '่'
-        5: 2,  # 'ก'
-        30: 1,  # 'ข'
-        24: 2,  # 'ค'
-        8: 3,  # 'ง'
-        26: 2,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 1,  # 'ช'
-        51: 1,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 1,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 1,  # 'ด'
-        19: 2,  # 'ต'
-        44: 1,  # 'ถ'
-        14: 2,  # 'ท'
-        48: 1,  # 'ธ'
-        3: 3,  # 'น'
-        17: 1,  # 'บ'
-        25: 2,  # 'ป'
-        39: 2,  # 'ผ'
-        62: 1,  # 'ฝ'
-        31: 1,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 3,  # 'ม'
-        16: 3,  # 'ย'
-        2: 2,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 2,  # 'ล'
-        12: 3,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 2,  # 'ส'
-        21: 1,  # 'ห'
-        4: 3,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 1,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 3,  # 'า'
-        36: 2,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 3,  # 'เ'
-        28: 2,  # 'แ'
-        41: 1,  # 'โ'
-        29: 2,  # 'ใ'
-        33: 2,  # 'ไ'
-        50: 1,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    7: {  # '้'
-        5: 2,  # 'ก'
-        30: 1,  # 'ข'
-        24: 2,  # 'ค'
-        8: 3,  # 'ง'
-        26: 2,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 1,  # 'ช'
-        51: 1,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 1,  # 'ด'
-        19: 2,  # 'ต'
-        44: 1,  # 'ถ'
-        14: 2,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 3,  # 'น'
-        17: 2,  # 'บ'
-        25: 2,  # 'ป'
-        39: 2,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 1,  # 'พ'
-        54: 1,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 3,  # 'ม'
-        16: 2,  # 'ย'
-        2: 2,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 1,  # 'ล'
-        12: 3,  # 'ว'
-        42: 1,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 2,  # 'ส'
-        21: 2,  # 'ห'
-        4: 3,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 3,  # 'า'
-        36: 2,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 2,  # 'เ'
-        28: 2,  # 'แ'
-        41: 1,  # 'โ'
-        29: 2,  # 'ใ'
-        33: 2,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    38: {  # '์'
-        5: 2,  # 'ก'
-        30: 1,  # 'ข'
-        24: 1,  # 'ค'
-        8: 0,  # 'ง'
-        26: 1,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 1,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 2,  # 'ด'
-        19: 1,  # 'ต'
-        44: 1,  # 'ถ'
-        14: 1,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 1,  # 'น'
-        17: 1,  # 'บ'
-        25: 1,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 1,  # 'พ'
-        54: 1,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 2,  # 'ม'
-        16: 0,  # 'ย'
-        2: 1,  # 'ร'
-        61: 1,  # 'ฤ'
-        15: 1,  # 'ล'
-        12: 1,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 1,  # 'ส'
-        21: 1,  # 'ห'
-        4: 2,  # 'อ'
-        63: 1,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 2,  # 'เ'
-        28: 2,  # 'แ'
-        41: 1,  # 'โ'
-        29: 1,  # 'ใ'
-        33: 1,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 0,  # '๑'
-        59: 0,  # '๒'
-        60: 0,  # '๕'
-    },
-    56: {  # '๑'
-        5: 0,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 0,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 0,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 0,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 0,  # 'น'
-        17: 0,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 0,  # 'ม'
-        16: 0,  # 'ย'
-        2: 0,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 0,  # 'ล'
-        12: 0,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 0,  # 'ส'
-        21: 0,  # 'ห'
-        4: 0,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 2,  # '๑'
-        59: 1,  # '๒'
-        60: 1,  # '๕'
-    },
-    59: {  # '๒'
-        5: 0,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 0,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 0,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 0,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 0,  # 'น'
-        17: 0,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 0,  # 'ม'
-        16: 0,  # 'ย'
-        2: 0,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 0,  # 'ล'
-        12: 0,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 0,  # 'ส'
-        21: 0,  # 'ห'
-        4: 0,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 1,  # '๑'
-        59: 1,  # '๒'
-        60: 3,  # '๕'
-    },
-    60: {  # '๕'
-        5: 0,  # 'ก'
-        30: 0,  # 'ข'
-        24: 0,  # 'ค'
-        8: 0,  # 'ง'
-        26: 0,  # 'จ'
-        52: 0,  # 'ฉ'
-        34: 0,  # 'ช'
-        51: 0,  # 'ซ'
-        47: 0,  # 'ญ'
-        58: 0,  # 'ฎ'
-        57: 0,  # 'ฏ'
-        49: 0,  # 'ฐ'
-        53: 0,  # 'ฑ'
-        55: 0,  # 'ฒ'
-        43: 0,  # 'ณ'
-        20: 0,  # 'ด'
-        19: 0,  # 'ต'
-        44: 0,  # 'ถ'
-        14: 0,  # 'ท'
-        48: 0,  # 'ธ'
-        3: 0,  # 'น'
-        17: 0,  # 'บ'
-        25: 0,  # 'ป'
-        39: 0,  # 'ผ'
-        62: 0,  # 'ฝ'
-        31: 0,  # 'พ'
-        54: 0,  # 'ฟ'
-        45: 0,  # 'ภ'
-        9: 0,  # 'ม'
-        16: 0,  # 'ย'
-        2: 0,  # 'ร'
-        61: 0,  # 'ฤ'
-        15: 0,  # 'ล'
-        12: 0,  # 'ว'
-        42: 0,  # 'ศ'
-        46: 0,  # 'ษ'
-        18: 0,  # 'ส'
-        21: 0,  # 'ห'
-        4: 0,  # 'อ'
-        63: 0,  # 'ฯ'
-        22: 0,  # 'ะ'
-        10: 0,  # 'ั'
-        1: 0,  # 'า'
-        36: 0,  # 'ำ'
-        23: 0,  # 'ิ'
-        13: 0,  # 'ี'
-        40: 0,  # 'ึ'
-        27: 0,  # 'ื'
-        32: 0,  # 'ุ'
-        35: 0,  # 'ู'
-        11: 0,  # 'เ'
-        28: 0,  # 'แ'
-        41: 0,  # 'โ'
-        29: 0,  # 'ใ'
-        33: 0,  # 'ไ'
-        50: 0,  # 'ๆ'
-        37: 0,  # '็'
-        6: 0,  # '่'
-        7: 0,  # '้'
-        38: 0,  # '์'
-        56: 2,  # '๑'
-        59: 1,  # '๒'
-        60: 0,  # '๕'
-    },
-}
-
-# 255: Undefined characters that did not exist in training text
-# 254: Carriage/Return
-# 253: symbol (punctuation) that does not belong to word
-# 252: 0 - 9
-# 251: Control characters
-
-# Character Mapping Table(s):
-TIS_620_THAI_CHAR_TO_ORDER = {
-    0: 255,  # '\x00'
-    1: 255,  # '\x01'
-    2: 255,  # '\x02'
-    3: 255,  # '\x03'
-    4: 255,  # '\x04'
-    5: 255,  # '\x05'
-    6: 255,  # '\x06'
-    7: 255,  # '\x07'
-    8: 255,  # '\x08'
-    9: 255,  # '\t'
-    10: 254,  # '\n'
-    11: 255,  # '\x0b'
-    12: 255,  # '\x0c'
-    13: 254,  # '\r'
-    14: 255,  # '\x0e'
-    15: 255,  # '\x0f'
-    16: 255,  # '\x10'
-    17: 255,  # '\x11'
-    18: 255,  # '\x12'
-    19: 255,  # '\x13'
-    20: 255,  # '\x14'
-    21: 255,  # '\x15'
-    22: 255,  # '\x16'
-    23: 255,  # '\x17'
-    24: 255,  # '\x18'
-    25: 255,  # '\x19'
-    26: 255,  # '\x1a'
-    27: 255,  # '\x1b'
-    28: 255,  # '\x1c'
-    29: 255,  # '\x1d'
-    30: 255,  # '\x1e'
-    31: 255,  # '\x1f'
-    32: 253,  # ' '
-    33: 253,  # '!'
-    34: 253,  # '"'
-    35: 253,  # '#'
-    36: 253,  # '$'
-    37: 253,  # '%'
-    38: 253,  # '&'
-    39: 253,  # "'"
-    40: 253,  # '('
-    41: 253,  # ')'
-    42: 253,  # '*'
-    43: 253,  # '+'
-    44: 253,  # ','
-    45: 253,  # '-'
-    46: 253,  # '.'
-    47: 253,  # '/'
-    48: 252,  # '0'
-    49: 252,  # '1'
-    50: 252,  # '2'
-    51: 252,  # '3'
-    52: 252,  # '4'
-    53: 252,  # '5'
-    54: 252,  # '6'
-    55: 252,  # '7'
-    56: 252,  # '8'
-    57: 252,  # '9'
-    58: 253,  # ':'
-    59: 253,  # ';'
-    60: 253,  # '<'
-    61: 253,  # '='
-    62: 253,  # '>'
-    63: 253,  # '?'
-    64: 253,  # '@'
-    65: 182,  # 'A'
-    66: 106,  # 'B'
-    67: 107,  # 'C'
-    68: 100,  # 'D'
-    69: 183,  # 'E'
-    70: 184,  # 'F'
-    71: 185,  # 'G'
-    72: 101,  # 'H'
-    73: 94,  # 'I'
-    74: 186,  # 'J'
-    75: 187,  # 'K'
-    76: 108,  # 'L'
-    77: 109,  # 'M'
-    78: 110,  # 'N'
-    79: 111,  # 'O'
-    80: 188,  # 'P'
-    81: 189,  # 'Q'
-    82: 190,  # 'R'
-    83: 89,  # 'S'
-    84: 95,  # 'T'
-    85: 112,  # 'U'
-    86: 113,  # 'V'
-    87: 191,  # 'W'
-    88: 192,  # 'X'
-    89: 193,  # 'Y'
-    90: 194,  # 'Z'
-    91: 253,  # '['
-    92: 253,  # '\\'
-    93: 253,  # ']'
-    94: 253,  # '^'
-    95: 253,  # '_'
-    96: 253,  # '`'
-    97: 64,  # 'a'
-    98: 72,  # 'b'
-    99: 73,  # 'c'
-    100: 114,  # 'd'
-    101: 74,  # 'e'
-    102: 115,  # 'f'
-    103: 116,  # 'g'
-    104: 102,  # 'h'
-    105: 81,  # 'i'
-    106: 201,  # 'j'
-    107: 117,  # 'k'
-    108: 90,  # 'l'
-    109: 103,  # 'm'
-    110: 78,  # 'n'
-    111: 82,  # 'o'
-    112: 96,  # 'p'
-    113: 202,  # 'q'
-    114: 91,  # 'r'
-    115: 79,  # 's'
-    116: 84,  # 't'
-    117: 104,  # 'u'
-    118: 105,  # 'v'
-    119: 97,  # 'w'
-    120: 98,  # 'x'
-    121: 92,  # 'y'
-    122: 203,  # 'z'
-    123: 253,  # '{'
-    124: 253,  # '|'
-    125: 253,  # '}'
-    126: 253,  # '~'
-    127: 253,  # '\x7f'
-    128: 209,  # '\x80'
-    129: 210,  # '\x81'
-    130: 211,  # '\x82'
-    131: 212,  # '\x83'
-    132: 213,  # '\x84'
-    133: 88,  # '\x85'
-    134: 214,  # '\x86'
-    135: 215,  # '\x87'
-    136: 216,  # '\x88'
-    137: 217,  # '\x89'
-    138: 218,  # '\x8a'
-    139: 219,  # '\x8b'
-    140: 220,  # '\x8c'
-    141: 118,  # '\x8d'
-    142: 221,  # '\x8e'
-    143: 222,  # '\x8f'
-    144: 223,  # '\x90'
-    145: 224,  # '\x91'
-    146: 99,  # '\x92'
-    147: 85,  # '\x93'
-    148: 83,  # '\x94'
-    149: 225,  # '\x95'
-    150: 226,  # '\x96'
-    151: 227,  # '\x97'
-    152: 228,  # '\x98'
-    153: 229,  # '\x99'
-    154: 230,  # '\x9a'
-    155: 231,  # '\x9b'
-    156: 232,  # '\x9c'
-    157: 233,  # '\x9d'
-    158: 234,  # '\x9e'
-    159: 235,  # '\x9f'
-    160: 236,  # None
-    161: 5,  # 'ก'
-    162: 30,  # 'ข'
-    163: 237,  # 'ฃ'
-    164: 24,  # 'ค'
-    165: 238,  # 'ฅ'
-    166: 75,  # 'ฆ'
-    167: 8,  # 'ง'
-    168: 26,  # 'จ'
-    169: 52,  # 'ฉ'
-    170: 34,  # 'ช'
-    171: 51,  # 'ซ'
-    172: 119,  # 'ฌ'
-    173: 47,  # 'ญ'
-    174: 58,  # 'ฎ'
-    175: 57,  # 'ฏ'
-    176: 49,  # 'ฐ'
-    177: 53,  # 'ฑ'
-    178: 55,  # 'ฒ'
-    179: 43,  # 'ณ'
-    180: 20,  # 'ด'
-    181: 19,  # 'ต'
-    182: 44,  # 'ถ'
-    183: 14,  # 'ท'
-    184: 48,  # 'ธ'
-    185: 3,  # 'น'
-    186: 17,  # 'บ'
-    187: 25,  # 'ป'
-    188: 39,  # 'ผ'
-    189: 62,  # 'ฝ'
-    190: 31,  # 'พ'
-    191: 54,  # 'ฟ'
-    192: 45,  # 'ภ'
-    193: 9,  # 'ม'
-    194: 16,  # 'ย'
-    195: 2,  # 'ร'
-    196: 61,  # 'ฤ'
-    197: 15,  # 'ล'
-    198: 239,  # 'ฦ'
-    199: 12,  # 'ว'
-    200: 42,  # 'ศ'
-    201: 46,  # 'ษ'
-    202: 18,  # 'ส'
-    203: 21,  # 'ห'
-    204: 76,  # 'ฬ'
-    205: 4,  # 'อ'
-    206: 66,  # 'ฮ'
-    207: 63,  # 'ฯ'
-    208: 22,  # 'ะ'
-    209: 10,  # 'ั'
-    210: 1,  # 'า'
-    211: 36,  # 'ำ'
-    212: 23,  # 'ิ'
-    213: 13,  # 'ี'
-    214: 40,  # 'ึ'
-    215: 27,  # 'ื'
-    216: 32,  # 'ุ'
-    217: 35,  # 'ู'
-    218: 86,  # 'ฺ'
-    219: 240,  # None
-    220: 241,  # None
-    221: 242,  # None
-    222: 243,  # None
-    223: 244,  # '฿'
-    224: 11,  # 'เ'
-    225: 28,  # 'แ'
-    226: 41,  # 'โ'
-    227: 29,  # 'ใ'
-    228: 33,  # 'ไ'
-    229: 245,  # 'ๅ'
-    230: 50,  # 'ๆ'
-    231: 37,  # '็'
-    232: 6,  # '่'
-    233: 7,  # '้'
-    234: 67,  # '๊'
-    235: 77,  # '๋'
-    236: 38,  # '์'
-    237: 93,  # 'ํ'
-    238: 246,  # '๎'
-    239: 247,  # '๏'
-    240: 68,  # '๐'
-    241: 56,  # '๑'
-    242: 59,  # '๒'
-    243: 65,  # '๓'
-    244: 69,  # '๔'
-    245: 60,  # '๕'
-    246: 70,  # '๖'
-    247: 80,  # '๗'
-    248: 71,  # '๘'
-    249: 87,  # '๙'
-    250: 248,  # '๚'
-    251: 249,  # '๛'
-    252: 250,  # None
-    253: 251,  # None
-    254: 252,  # None
-    255: 253,  # None
-}
-
-TIS_620_THAI_MODEL = SingleByteCharSetModel(
-    charset_name="TIS-620",
-    language="Thai",
-    char_to_order_map=TIS_620_THAI_CHAR_TO_ORDER,
-    language_model=THAI_LANG_MODEL,
-    typical_positive_ratio=0.926386,
-    keep_ascii_letters=False,
-    alphabet="กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛",
-)
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/langturkishmodel.py b/.venv/Lib/site-packages/pip/_vendor/chardet/langturkishmodel.py
deleted file mode 100644
index 291857c..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/langturkishmodel.py
+++ /dev/null
@@ -1,4380 +0,0 @@
-from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel
-
-# 3: Positive
-# 2: Likely
-# 1: Unlikely
-# 0: Negative
-
-TURKISH_LANG_MODEL = {
-    23: {  # 'A'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 0,  # 'K'
-        49: 0,  # 'L'
-        20: 0,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 0,  # 'b'
-        28: 0,  # 'c'
-        12: 2,  # 'd'
-        2: 3,  # 'e'
-        18: 0,  # 'f'
-        27: 1,  # 'g'
-        25: 1,  # 'h'
-        3: 1,  # 'i'
-        24: 0,  # 'j'
-        10: 2,  # 'k'
-        5: 1,  # 'l'
-        13: 1,  # 'm'
-        4: 1,  # 'n'
-        15: 0,  # 'o'
-        26: 0,  # 'p'
-        7: 1,  # 'r'
-        8: 1,  # 's'
-        9: 1,  # 't'
-        14: 1,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 3,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 1,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 0,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 0,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    37: {  # 'B'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 2,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 2,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 1,  # 'K'
-        49: 0,  # 'L'
-        20: 0,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 1,  # 'P'
-        44: 0,  # 'R'
-        35: 1,  # 'S'
-        31: 0,  # 'T'
-        51: 0,  # 'U'
-        38: 1,  # 'V'
-        62: 0,  # 'W'
-        43: 1,  # 'Y'
-        56: 0,  # 'Z'
-        1: 2,  # 'a'
-        21: 0,  # 'b'
-        28: 2,  # 'c'
-        12: 0,  # 'd'
-        2: 3,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 0,  # 'i'
-        24: 0,  # 'j'
-        10: 0,  # 'k'
-        5: 0,  # 'l'
-        13: 1,  # 'm'
-        4: 1,  # 'n'
-        15: 0,  # 'o'
-        26: 0,  # 'p'
-        7: 0,  # 'r'
-        8: 0,  # 's'
-        9: 0,  # 't'
-        14: 2,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 0,  # 'y'
-        22: 1,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 1,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 1,  # 'ö'
-        17: 0,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 0,  # 'ı'
-        40: 1,  # 'Ş'
-        19: 1,  # 'ş'
-    },
-    47: {  # 'C'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 1,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 0,  # 'K'
-        49: 1,  # 'L'
-        20: 0,  # 'M'
-        46: 1,  # 'N'
-        42: 0,  # 'O'
-        48: 1,  # 'P'
-        44: 1,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 0,  # 'U'
-        38: 1,  # 'V'
-        62: 0,  # 'W'
-        43: 1,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 0,  # 'b'
-        28: 2,  # 'c'
-        12: 0,  # 'd'
-        2: 3,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 0,  # 'i'
-        24: 2,  # 'j'
-        10: 1,  # 'k'
-        5: 2,  # 'l'
-        13: 2,  # 'm'
-        4: 2,  # 'n'
-        15: 1,  # 'o'
-        26: 0,  # 'p'
-        7: 2,  # 'r'
-        8: 0,  # 's'
-        9: 0,  # 't'
-        14: 3,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 0,  # 'y'
-        22: 2,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 1,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 1,  # 'ç'
-        61: 0,  # 'î'
-        34: 1,  # 'ö'
-        17: 0,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 1,  # 'İ'
-        6: 3,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    39: {  # 'D'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 1,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 1,  # 'K'
-        49: 0,  # 'L'
-        20: 0,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 1,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 2,  # 'a'
-        21: 0,  # 'b'
-        28: 2,  # 'c'
-        12: 0,  # 'd'
-        2: 2,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 0,  # 'i'
-        24: 0,  # 'j'
-        10: 0,  # 'k'
-        5: 1,  # 'l'
-        13: 3,  # 'm'
-        4: 0,  # 'n'
-        15: 1,  # 'o'
-        26: 0,  # 'p'
-        7: 0,  # 'r'
-        8: 0,  # 's'
-        9: 0,  # 't'
-        14: 1,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 0,  # 'y'
-        22: 1,  # 'z'
-        63: 0,  # '·'
-        54: 1,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 1,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 0,  # 'ü'
-        30: 1,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 1,  # 'ı'
-        40: 1,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    29: {  # 'E'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 1,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 3,  # 'K'
-        49: 0,  # 'L'
-        20: 1,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 0,  # 'b'
-        28: 0,  # 'c'
-        12: 2,  # 'd'
-        2: 3,  # 'e'
-        18: 0,  # 'f'
-        27: 1,  # 'g'
-        25: 0,  # 'h'
-        3: 1,  # 'i'
-        24: 1,  # 'j'
-        10: 0,  # 'k'
-        5: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        15: 0,  # 'o'
-        26: 0,  # 'p'
-        7: 0,  # 'r'
-        8: 1,  # 's'
-        9: 1,  # 't'
-        14: 1,  # 'u'
-        32: 1,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 2,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 0,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 3,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    52: {  # 'F'
-        23: 0,  # 'A'
-        37: 1,  # 'B'
-        47: 1,  # 'C'
-        39: 1,  # 'D'
-        29: 1,  # 'E'
-        52: 2,  # 'F'
-        36: 0,  # 'G'
-        45: 2,  # 'H'
-        53: 1,  # 'I'
-        60: 0,  # 'J'
-        16: 0,  # 'K'
-        49: 0,  # 'L'
-        20: 1,  # 'M'
-        46: 1,  # 'N'
-        42: 1,  # 'O'
-        48: 2,  # 'P'
-        44: 1,  # 'R'
-        35: 1,  # 'S'
-        31: 1,  # 'T'
-        51: 1,  # 'U'
-        38: 1,  # 'V'
-        62: 0,  # 'W'
-        43: 2,  # 'Y'
-        56: 0,  # 'Z'
-        1: 0,  # 'a'
-        21: 1,  # 'b'
-        28: 1,  # 'c'
-        12: 1,  # 'd'
-        2: 0,  # 'e'
-        18: 1,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 2,  # 'i'
-        24: 1,  # 'j'
-        10: 0,  # 'k'
-        5: 0,  # 'l'
-        13: 1,  # 'm'
-        4: 2,  # 'n'
-        15: 1,  # 'o'
-        26: 0,  # 'p'
-        7: 2,  # 'r'
-        8: 1,  # 's'
-        9: 1,  # 't'
-        14: 1,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 1,  # 'y'
-        22: 1,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 1,  # 'Ö'
-        55: 2,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 2,  # 'ö'
-        17: 0,  # 'ü'
-        30: 1,  # 'ğ'
-        41: 1,  # 'İ'
-        6: 2,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 2,  # 'ş'
-    },
-    36: {  # 'G'
-        23: 1,  # 'A'
-        37: 0,  # 'B'
-        47: 1,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 1,  # 'F'
-        36: 2,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 2,  # 'K'
-        49: 0,  # 'L'
-        20: 0,  # 'M'
-        46: 2,  # 'N'
-        42: 1,  # 'O'
-        48: 1,  # 'P'
-        44: 1,  # 'R'
-        35: 1,  # 'S'
-        31: 0,  # 'T'
-        51: 1,  # 'U'
-        38: 2,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 0,  # 'b'
-        28: 1,  # 'c'
-        12: 0,  # 'd'
-        2: 3,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 0,  # 'i'
-        24: 1,  # 'j'
-        10: 1,  # 'k'
-        5: 0,  # 'l'
-        13: 3,  # 'm'
-        4: 2,  # 'n'
-        15: 0,  # 'o'
-        26: 1,  # 'p'
-        7: 0,  # 'r'
-        8: 1,  # 's'
-        9: 1,  # 't'
-        14: 3,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 1,  # 'x'
-        11: 0,  # 'y'
-        22: 2,  # 'z'
-        63: 0,  # '·'
-        54: 1,  # 'Ç'
-        50: 2,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 1,  # 'â'
-        33: 2,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 0,  # 'ü'
-        30: 1,  # 'ğ'
-        41: 1,  # 'İ'
-        6: 2,  # 'ı'
-        40: 2,  # 'Ş'
-        19: 1,  # 'ş'
-    },
-    45: {  # 'H'
-        23: 0,  # 'A'
-        37: 1,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 2,  # 'F'
-        36: 2,  # 'G'
-        45: 1,  # 'H'
-        53: 1,  # 'I'
-        60: 0,  # 'J'
-        16: 2,  # 'K'
-        49: 1,  # 'L'
-        20: 0,  # 'M'
-        46: 1,  # 'N'
-        42: 1,  # 'O'
-        48: 1,  # 'P'
-        44: 0,  # 'R'
-        35: 2,  # 'S'
-        31: 0,  # 'T'
-        51: 1,  # 'U'
-        38: 2,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 0,  # 'b'
-        28: 2,  # 'c'
-        12: 0,  # 'd'
-        2: 3,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 2,  # 'i'
-        24: 0,  # 'j'
-        10: 1,  # 'k'
-        5: 0,  # 'l'
-        13: 2,  # 'm'
-        4: 0,  # 'n'
-        15: 1,  # 'o'
-        26: 1,  # 'p'
-        7: 1,  # 'r'
-        8: 0,  # 's'
-        9: 0,  # 't'
-        14: 3,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 0,  # 'y'
-        22: 2,  # 'z'
-        63: 0,  # '·'
-        54: 1,  # 'Ç'
-        50: 1,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 1,  # 'ç'
-        61: 0,  # 'î'
-        34: 1,  # 'ö'
-        17: 0,  # 'ü'
-        30: 2,  # 'ğ'
-        41: 1,  # 'İ'
-        6: 0,  # 'ı'
-        40: 2,  # 'Ş'
-        19: 1,  # 'ş'
-    },
-    53: {  # 'I'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 1,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 2,  # 'K'
-        49: 0,  # 'L'
-        20: 0,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 1,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 2,  # 'a'
-        21: 0,  # 'b'
-        28: 2,  # 'c'
-        12: 0,  # 'd'
-        2: 2,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 0,  # 'i'
-        24: 0,  # 'j'
-        10: 0,  # 'k'
-        5: 2,  # 'l'
-        13: 2,  # 'm'
-        4: 0,  # 'n'
-        15: 0,  # 'o'
-        26: 0,  # 'p'
-        7: 0,  # 'r'
-        8: 0,  # 's'
-        9: 0,  # 't'
-        14: 2,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 0,  # 'y'
-        22: 2,  # 'z'
-        63: 0,  # '·'
-        54: 1,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 2,  # 'ç'
-        61: 0,  # 'î'
-        34: 1,  # 'ö'
-        17: 0,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 0,  # 'ı'
-        40: 1,  # 'Ş'
-        19: 1,  # 'ş'
-    },
-    60: {  # 'J'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 0,  # 'K'
-        49: 0,  # 'L'
-        20: 1,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 0,  # 'a'
-        21: 1,  # 'b'
-        28: 0,  # 'c'
-        12: 1,  # 'd'
-        2: 0,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 1,  # 'i'
-        24: 0,  # 'j'
-        10: 0,  # 'k'
-        5: 0,  # 'l'
-        13: 0,  # 'm'
-        4: 1,  # 'n'
-        15: 0,  # 'o'
-        26: 0,  # 'p'
-        7: 0,  # 'r'
-        8: 1,  # 's'
-        9: 0,  # 't'
-        14: 0,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 0,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 0,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 0,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    16: {  # 'K'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 3,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 0,  # 'K'
-        49: 0,  # 'L'
-        20: 2,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 2,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 2,  # 'a'
-        21: 3,  # 'b'
-        28: 0,  # 'c'
-        12: 3,  # 'd'
-        2: 1,  # 'e'
-        18: 3,  # 'f'
-        27: 3,  # 'g'
-        25: 3,  # 'h'
-        3: 3,  # 'i'
-        24: 2,  # 'j'
-        10: 3,  # 'k'
-        5: 0,  # 'l'
-        13: 0,  # 'm'
-        4: 3,  # 'n'
-        15: 0,  # 'o'
-        26: 1,  # 'p'
-        7: 3,  # 'r'
-        8: 3,  # 's'
-        9: 3,  # 't'
-        14: 0,  # 'u'
-        32: 3,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 2,  # 'y'
-        22: 1,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 2,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 1,  # 'İ'
-        6: 3,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    49: {  # 'L'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 2,  # 'E'
-        52: 0,  # 'F'
-        36: 1,  # 'G'
-        45: 1,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 0,  # 'K'
-        49: 0,  # 'L'
-        20: 1,  # 'M'
-        46: 0,  # 'N'
-        42: 2,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 1,  # 'Y'
-        56: 0,  # 'Z'
-        1: 0,  # 'a'
-        21: 3,  # 'b'
-        28: 0,  # 'c'
-        12: 2,  # 'd'
-        2: 0,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 2,  # 'i'
-        24: 0,  # 'j'
-        10: 1,  # 'k'
-        5: 0,  # 'l'
-        13: 0,  # 'm'
-        4: 2,  # 'n'
-        15: 1,  # 'o'
-        26: 1,  # 'p'
-        7: 1,  # 'r'
-        8: 1,  # 's'
-        9: 1,  # 't'
-        14: 0,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 2,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 2,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 1,  # 'ö'
-        17: 1,  # 'ü'
-        30: 1,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 2,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    20: {  # 'M'
-        23: 1,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 1,  # 'J'
-        16: 3,  # 'K'
-        49: 0,  # 'L'
-        20: 2,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 1,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 2,  # 'b'
-        28: 0,  # 'c'
-        12: 3,  # 'd'
-        2: 3,  # 'e'
-        18: 0,  # 'f'
-        27: 1,  # 'g'
-        25: 1,  # 'h'
-        3: 2,  # 'i'
-        24: 2,  # 'j'
-        10: 2,  # 'k'
-        5: 2,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        15: 0,  # 'o'
-        26: 1,  # 'p'
-        7: 3,  # 'r'
-        8: 0,  # 's'
-        9: 2,  # 't'
-        14: 3,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 2,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 3,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 0,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 3,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    46: {  # 'N'
-        23: 0,  # 'A'
-        37: 1,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 1,  # 'F'
-        36: 1,  # 'G'
-        45: 1,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 2,  # 'K'
-        49: 0,  # 'L'
-        20: 0,  # 'M'
-        46: 1,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 1,  # 'R'
-        35: 1,  # 'S'
-        31: 0,  # 'T'
-        51: 1,  # 'U'
-        38: 2,  # 'V'
-        62: 0,  # 'W'
-        43: 1,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 0,  # 'b'
-        28: 2,  # 'c'
-        12: 0,  # 'd'
-        2: 3,  # 'e'
-        18: 0,  # 'f'
-        27: 1,  # 'g'
-        25: 0,  # 'h'
-        3: 0,  # 'i'
-        24: 2,  # 'j'
-        10: 1,  # 'k'
-        5: 1,  # 'l'
-        13: 3,  # 'm'
-        4: 2,  # 'n'
-        15: 1,  # 'o'
-        26: 1,  # 'p'
-        7: 1,  # 'r'
-        8: 0,  # 's'
-        9: 0,  # 't'
-        14: 3,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 1,  # 'x'
-        11: 1,  # 'y'
-        22: 2,  # 'z'
-        63: 0,  # '·'
-        54: 1,  # 'Ç'
-        50: 1,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 1,  # 'ö'
-        17: 0,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 1,  # 'İ'
-        6: 2,  # 'ı'
-        40: 1,  # 'Ş'
-        19: 1,  # 'ş'
-    },
-    42: {  # 'O'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 1,  # 'F'
-        36: 0,  # 'G'
-        45: 1,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 2,  # 'K'
-        49: 1,  # 'L'
-        20: 0,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 2,  # 'P'
-        44: 1,  # 'R'
-        35: 1,  # 'S'
-        31: 0,  # 'T'
-        51: 1,  # 'U'
-        38: 1,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 0,  # 'b'
-        28: 2,  # 'c'
-        12: 0,  # 'd'
-        2: 2,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 0,  # 'i'
-        24: 0,  # 'j'
-        10: 0,  # 'k'
-        5: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 0,  # 'n'
-        15: 1,  # 'o'
-        26: 0,  # 'p'
-        7: 0,  # 'r'
-        8: 0,  # 's'
-        9: 0,  # 't'
-        14: 2,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 0,  # 'y'
-        22: 2,  # 'z'
-        63: 0,  # '·'
-        54: 2,  # 'Ç'
-        50: 1,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 2,  # 'ç'
-        61: 0,  # 'î'
-        34: 1,  # 'ö'
-        17: 0,  # 'ü'
-        30: 1,  # 'ğ'
-        41: 2,  # 'İ'
-        6: 1,  # 'ı'
-        40: 1,  # 'Ş'
-        19: 1,  # 'ş'
-    },
-    48: {  # 'P'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 2,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 2,  # 'F'
-        36: 1,  # 'G'
-        45: 1,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 2,  # 'K'
-        49: 0,  # 'L'
-        20: 0,  # 'M'
-        46: 1,  # 'N'
-        42: 1,  # 'O'
-        48: 1,  # 'P'
-        44: 0,  # 'R'
-        35: 1,  # 'S'
-        31: 0,  # 'T'
-        51: 0,  # 'U'
-        38: 1,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 2,  # 'a'
-        21: 0,  # 'b'
-        28: 2,  # 'c'
-        12: 0,  # 'd'
-        2: 3,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 0,  # 'i'
-        24: 0,  # 'j'
-        10: 1,  # 'k'
-        5: 0,  # 'l'
-        13: 2,  # 'm'
-        4: 0,  # 'n'
-        15: 2,  # 'o'
-        26: 0,  # 'p'
-        7: 0,  # 'r'
-        8: 0,  # 's'
-        9: 0,  # 't'
-        14: 2,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 2,  # 'x'
-        11: 0,  # 'y'
-        22: 2,  # 'z'
-        63: 0,  # '·'
-        54: 1,  # 'Ç'
-        50: 2,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 2,  # 'ö'
-        17: 0,  # 'ü'
-        30: 1,  # 'ğ'
-        41: 1,  # 'İ'
-        6: 0,  # 'ı'
-        40: 2,  # 'Ş'
-        19: 1,  # 'ş'
-    },
-    44: {  # 'R'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 1,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 1,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 3,  # 'K'
-        49: 0,  # 'L'
-        20: 0,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 1,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 1,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 1,  # 'b'
-        28: 1,  # 'c'
-        12: 0,  # 'd'
-        2: 2,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 0,  # 'i'
-        24: 0,  # 'j'
-        10: 1,  # 'k'
-        5: 2,  # 'l'
-        13: 2,  # 'm'
-        4: 0,  # 'n'
-        15: 1,  # 'o'
-        26: 0,  # 'p'
-        7: 0,  # 'r'
-        8: 0,  # 's'
-        9: 0,  # 't'
-        14: 2,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 1,  # 'y'
-        22: 2,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 1,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 1,  # 'ç'
-        61: 0,  # 'î'
-        34: 1,  # 'ö'
-        17: 1,  # 'ü'
-        30: 1,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 2,  # 'ı'
-        40: 1,  # 'Ş'
-        19: 1,  # 'ş'
-    },
-    35: {  # 'S'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 1,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 1,  # 'F'
-        36: 1,  # 'G'
-        45: 1,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 3,  # 'K'
-        49: 1,  # 'L'
-        20: 1,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 1,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 1,  # 'U'
-        38: 1,  # 'V'
-        62: 0,  # 'W'
-        43: 1,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 0,  # 'b'
-        28: 2,  # 'c'
-        12: 0,  # 'd'
-        2: 3,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 0,  # 'i'
-        24: 0,  # 'j'
-        10: 1,  # 'k'
-        5: 1,  # 'l'
-        13: 2,  # 'm'
-        4: 1,  # 'n'
-        15: 0,  # 'o'
-        26: 0,  # 'p'
-        7: 0,  # 'r'
-        8: 0,  # 's'
-        9: 1,  # 't'
-        14: 2,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 0,  # 'y'
-        22: 1,  # 'z'
-        63: 0,  # '·'
-        54: 2,  # 'Ç'
-        50: 2,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 3,  # 'ç'
-        61: 0,  # 'î'
-        34: 1,  # 'ö'
-        17: 0,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 3,  # 'ı'
-        40: 2,  # 'Ş'
-        19: 1,  # 'ş'
-    },
-    31: {  # 'T'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 1,  # 'J'
-        16: 2,  # 'K'
-        49: 0,  # 'L'
-        20: 1,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 2,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 2,  # 'b'
-        28: 0,  # 'c'
-        12: 1,  # 'd'
-        2: 3,  # 'e'
-        18: 2,  # 'f'
-        27: 2,  # 'g'
-        25: 0,  # 'h'
-        3: 1,  # 'i'
-        24: 1,  # 'j'
-        10: 2,  # 'k'
-        5: 2,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        15: 0,  # 'o'
-        26: 2,  # 'p'
-        7: 2,  # 'r'
-        8: 0,  # 's'
-        9: 2,  # 't'
-        14: 2,  # 'u'
-        32: 1,  # 'v'
-        57: 1,  # 'w'
-        58: 1,  # 'x'
-        11: 2,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 1,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 3,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    51: {  # 'U'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 1,  # 'F'
-        36: 1,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 1,  # 'K'
-        49: 0,  # 'L'
-        20: 0,  # 'M'
-        46: 1,  # 'N'
-        42: 0,  # 'O'
-        48: 1,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 1,  # 'U'
-        38: 1,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 0,  # 'b'
-        28: 1,  # 'c'
-        12: 0,  # 'd'
-        2: 3,  # 'e'
-        18: 0,  # 'f'
-        27: 2,  # 'g'
-        25: 0,  # 'h'
-        3: 0,  # 'i'
-        24: 0,  # 'j'
-        10: 1,  # 'k'
-        5: 1,  # 'l'
-        13: 3,  # 'm'
-        4: 2,  # 'n'
-        15: 0,  # 'o'
-        26: 1,  # 'p'
-        7: 0,  # 'r'
-        8: 0,  # 's'
-        9: 0,  # 't'
-        14: 2,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 0,  # 'y'
-        22: 2,  # 'z'
-        63: 0,  # '·'
-        54: 1,  # 'Ç'
-        50: 1,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 0,  # 'ü'
-        30: 1,  # 'ğ'
-        41: 1,  # 'İ'
-        6: 2,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 1,  # 'ş'
-    },
-    38: {  # 'V'
-        23: 1,  # 'A'
-        37: 1,  # 'B'
-        47: 1,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 2,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 3,  # 'K'
-        49: 0,  # 'L'
-        20: 3,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 1,  # 'P'
-        44: 1,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 1,  # 'U'
-        38: 1,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 0,  # 'b'
-        28: 2,  # 'c'
-        12: 0,  # 'd'
-        2: 3,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 0,  # 'i'
-        24: 0,  # 'j'
-        10: 0,  # 'k'
-        5: 2,  # 'l'
-        13: 2,  # 'm'
-        4: 0,  # 'n'
-        15: 2,  # 'o'
-        26: 0,  # 'p'
-        7: 0,  # 'r'
-        8: 0,  # 's'
-        9: 1,  # 't'
-        14: 3,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 1,  # 'y'
-        22: 2,  # 'z'
-        63: 0,  # '·'
-        54: 1,  # 'Ç'
-        50: 1,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 1,  # 'â'
-        33: 2,  # 'ç'
-        61: 0,  # 'î'
-        34: 1,  # 'ö'
-        17: 0,  # 'ü'
-        30: 1,  # 'ğ'
-        41: 1,  # 'İ'
-        6: 3,  # 'ı'
-        40: 2,  # 'Ş'
-        19: 1,  # 'ş'
-    },
-    62: {  # 'W'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 0,  # 'K'
-        49: 0,  # 'L'
-        20: 0,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 0,  # 'a'
-        21: 0,  # 'b'
-        28: 0,  # 'c'
-        12: 0,  # 'd'
-        2: 0,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 0,  # 'i'
-        24: 0,  # 'j'
-        10: 0,  # 'k'
-        5: 0,  # 'l'
-        13: 0,  # 'm'
-        4: 0,  # 'n'
-        15: 0,  # 'o'
-        26: 0,  # 'p'
-        7: 0,  # 'r'
-        8: 0,  # 's'
-        9: 0,  # 't'
-        14: 0,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 0,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 0,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 0,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    43: {  # 'Y'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 1,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 2,  # 'F'
-        36: 0,  # 'G'
-        45: 1,  # 'H'
-        53: 1,  # 'I'
-        60: 0,  # 'J'
-        16: 2,  # 'K'
-        49: 0,  # 'L'
-        20: 0,  # 'M'
-        46: 2,  # 'N'
-        42: 0,  # 'O'
-        48: 2,  # 'P'
-        44: 1,  # 'R'
-        35: 1,  # 'S'
-        31: 0,  # 'T'
-        51: 1,  # 'U'
-        38: 2,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 0,  # 'b'
-        28: 2,  # 'c'
-        12: 0,  # 'd'
-        2: 2,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 0,  # 'i'
-        24: 1,  # 'j'
-        10: 1,  # 'k'
-        5: 1,  # 'l'
-        13: 3,  # 'm'
-        4: 0,  # 'n'
-        15: 2,  # 'o'
-        26: 0,  # 'p'
-        7: 0,  # 'r'
-        8: 0,  # 's'
-        9: 0,  # 't'
-        14: 3,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 1,  # 'x'
-        11: 0,  # 'y'
-        22: 2,  # 'z'
-        63: 0,  # '·'
-        54: 1,  # 'Ç'
-        50: 2,  # 'Ö'
-        55: 1,  # 'Ü'
-        59: 1,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 1,  # 'ö'
-        17: 0,  # 'ü'
-        30: 1,  # 'ğ'
-        41: 1,  # 'İ'
-        6: 0,  # 'ı'
-        40: 2,  # 'Ş'
-        19: 1,  # 'ş'
-    },
-    56: {  # 'Z'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 0,  # 'K'
-        49: 0,  # 'L'
-        20: 0,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 2,  # 'Z'
-        1: 2,  # 'a'
-        21: 1,  # 'b'
-        28: 0,  # 'c'
-        12: 0,  # 'd'
-        2: 2,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 2,  # 'i'
-        24: 1,  # 'j'
-        10: 0,  # 'k'
-        5: 0,  # 'l'
-        13: 1,  # 'm'
-        4: 1,  # 'n'
-        15: 0,  # 'o'
-        26: 0,  # 'p'
-        7: 1,  # 'r'
-        8: 1,  # 's'
-        9: 0,  # 't'
-        14: 2,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 0,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 1,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 1,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    1: {  # 'a'
-        23: 3,  # 'A'
-        37: 0,  # 'B'
-        47: 1,  # 'C'
-        39: 0,  # 'D'
-        29: 3,  # 'E'
-        52: 0,  # 'F'
-        36: 1,  # 'G'
-        45: 1,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 0,  # 'K'
-        49: 0,  # 'L'
-        20: 3,  # 'M'
-        46: 1,  # 'N'
-        42: 0,  # 'O'
-        48: 1,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 3,  # 'T'
-        51: 0,  # 'U'
-        38: 1,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 2,  # 'Z'
-        1: 2,  # 'a'
-        21: 3,  # 'b'
-        28: 0,  # 'c'
-        12: 3,  # 'd'
-        2: 2,  # 'e'
-        18: 3,  # 'f'
-        27: 3,  # 'g'
-        25: 3,  # 'h'
-        3: 3,  # 'i'
-        24: 3,  # 'j'
-        10: 3,  # 'k'
-        5: 0,  # 'l'
-        13: 2,  # 'm'
-        4: 3,  # 'n'
-        15: 1,  # 'o'
-        26: 3,  # 'p'
-        7: 3,  # 'r'
-        8: 3,  # 's'
-        9: 3,  # 't'
-        14: 3,  # 'u'
-        32: 3,  # 'v'
-        57: 2,  # 'w'
-        58: 0,  # 'x'
-        11: 3,  # 'y'
-        22: 0,  # 'z'
-        63: 1,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 1,  # 'ç'
-        61: 1,  # 'î'
-        34: 1,  # 'ö'
-        17: 3,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 3,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 1,  # 'ş'
-    },
-    21: {  # 'b'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 1,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 1,  # 'J'
-        16: 2,  # 'K'
-        49: 0,  # 'L'
-        20: 2,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 1,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 1,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 2,  # 'b'
-        28: 0,  # 'c'
-        12: 3,  # 'd'
-        2: 3,  # 'e'
-        18: 0,  # 'f'
-        27: 3,  # 'g'
-        25: 1,  # 'h'
-        3: 3,  # 'i'
-        24: 2,  # 'j'
-        10: 3,  # 'k'
-        5: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        15: 0,  # 'o'
-        26: 3,  # 'p'
-        7: 1,  # 'r'
-        8: 2,  # 's'
-        9: 2,  # 't'
-        14: 2,  # 'u'
-        32: 1,  # 'v'
-        57: 0,  # 'w'
-        58: 1,  # 'x'
-        11: 3,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 1,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 0,  # 'ü'
-        30: 1,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 2,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    28: {  # 'c'
-        23: 0,  # 'A'
-        37: 1,  # 'B'
-        47: 1,  # 'C'
-        39: 1,  # 'D'
-        29: 2,  # 'E'
-        52: 0,  # 'F'
-        36: 2,  # 'G'
-        45: 2,  # 'H'
-        53: 1,  # 'I'
-        60: 0,  # 'J'
-        16: 0,  # 'K'
-        49: 0,  # 'L'
-        20: 2,  # 'M'
-        46: 1,  # 'N'
-        42: 1,  # 'O'
-        48: 2,  # 'P'
-        44: 1,  # 'R'
-        35: 1,  # 'S'
-        31: 2,  # 'T'
-        51: 2,  # 'U'
-        38: 2,  # 'V'
-        62: 0,  # 'W'
-        43: 3,  # 'Y'
-        56: 0,  # 'Z'
-        1: 1,  # 'a'
-        21: 1,  # 'b'
-        28: 2,  # 'c'
-        12: 2,  # 'd'
-        2: 1,  # 'e'
-        18: 1,  # 'f'
-        27: 2,  # 'g'
-        25: 2,  # 'h'
-        3: 3,  # 'i'
-        24: 1,  # 'j'
-        10: 3,  # 'k'
-        5: 0,  # 'l'
-        13: 2,  # 'm'
-        4: 3,  # 'n'
-        15: 2,  # 'o'
-        26: 2,  # 'p'
-        7: 3,  # 'r'
-        8: 3,  # 's'
-        9: 3,  # 't'
-        14: 1,  # 'u'
-        32: 0,  # 'v'
-        57: 1,  # 'w'
-        58: 0,  # 'x'
-        11: 2,  # 'y'
-        22: 1,  # 'z'
-        63: 1,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 1,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 1,  # 'î'
-        34: 2,  # 'ö'
-        17: 2,  # 'ü'
-        30: 2,  # 'ğ'
-        41: 1,  # 'İ'
-        6: 3,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 2,  # 'ş'
-    },
-    12: {  # 'd'
-        23: 1,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 2,  # 'J'
-        16: 3,  # 'K'
-        49: 0,  # 'L'
-        20: 3,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 1,  # 'S'
-        31: 1,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 2,  # 'b'
-        28: 1,  # 'c'
-        12: 3,  # 'd'
-        2: 3,  # 'e'
-        18: 1,  # 'f'
-        27: 3,  # 'g'
-        25: 3,  # 'h'
-        3: 2,  # 'i'
-        24: 3,  # 'j'
-        10: 2,  # 'k'
-        5: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        15: 1,  # 'o'
-        26: 2,  # 'p'
-        7: 3,  # 'r'
-        8: 2,  # 's'
-        9: 2,  # 't'
-        14: 3,  # 'u'
-        32: 1,  # 'v'
-        57: 0,  # 'w'
-        58: 1,  # 'x'
-        11: 3,  # 'y'
-        22: 1,  # 'z'
-        63: 1,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 1,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 2,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    2: {  # 'e'
-        23: 2,  # 'A'
-        37: 0,  # 'B'
-        47: 2,  # 'C'
-        39: 0,  # 'D'
-        29: 3,  # 'E'
-        52: 1,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 1,  # 'K'
-        49: 0,  # 'L'
-        20: 3,  # 'M'
-        46: 1,  # 'N'
-        42: 0,  # 'O'
-        48: 1,  # 'P'
-        44: 1,  # 'R'
-        35: 0,  # 'S'
-        31: 3,  # 'T'
-        51: 0,  # 'U'
-        38: 1,  # 'V'
-        62: 0,  # 'W'
-        43: 1,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 3,  # 'b'
-        28: 0,  # 'c'
-        12: 3,  # 'd'
-        2: 2,  # 'e'
-        18: 3,  # 'f'
-        27: 3,  # 'g'
-        25: 3,  # 'h'
-        3: 3,  # 'i'
-        24: 3,  # 'j'
-        10: 3,  # 'k'
-        5: 0,  # 'l'
-        13: 2,  # 'm'
-        4: 3,  # 'n'
-        15: 1,  # 'o'
-        26: 3,  # 'p'
-        7: 3,  # 'r'
-        8: 3,  # 's'
-        9: 3,  # 't'
-        14: 3,  # 'u'
-        32: 3,  # 'v'
-        57: 2,  # 'w'
-        58: 0,  # 'x'
-        11: 3,  # 'y'
-        22: 1,  # 'z'
-        63: 1,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 1,  # 'ç'
-        61: 0,  # 'î'
-        34: 1,  # 'ö'
-        17: 3,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 3,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    18: {  # 'f'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 2,  # 'K'
-        49: 0,  # 'L'
-        20: 2,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 2,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 1,  # 'b'
-        28: 0,  # 'c'
-        12: 3,  # 'd'
-        2: 3,  # 'e'
-        18: 2,  # 'f'
-        27: 1,  # 'g'
-        25: 1,  # 'h'
-        3: 1,  # 'i'
-        24: 1,  # 'j'
-        10: 1,  # 'k'
-        5: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        15: 0,  # 'o'
-        26: 2,  # 'p'
-        7: 1,  # 'r'
-        8: 3,  # 's'
-        9: 3,  # 't'
-        14: 1,  # 'u'
-        32: 2,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 1,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 1,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 1,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 1,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    27: {  # 'g'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 3,  # 'K'
-        49: 0,  # 'L'
-        20: 0,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 1,  # 'S'
-        31: 1,  # 'T'
-        51: 0,  # 'U'
-        38: 2,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 1,  # 'b'
-        28: 0,  # 'c'
-        12: 1,  # 'd'
-        2: 3,  # 'e'
-        18: 0,  # 'f'
-        27: 2,  # 'g'
-        25: 1,  # 'h'
-        3: 2,  # 'i'
-        24: 3,  # 'j'
-        10: 2,  # 'k'
-        5: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 2,  # 'n'
-        15: 0,  # 'o'
-        26: 1,  # 'p'
-        7: 2,  # 'r'
-        8: 2,  # 's'
-        9: 3,  # 't'
-        14: 3,  # 'u'
-        32: 1,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 1,  # 'y'
-        22: 0,  # 'z'
-        63: 1,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 0,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 2,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    25: {  # 'h'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 2,  # 'K'
-        49: 0,  # 'L'
-        20: 0,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 0,  # 'b'
-        28: 0,  # 'c'
-        12: 2,  # 'd'
-        2: 3,  # 'e'
-        18: 0,  # 'f'
-        27: 1,  # 'g'
-        25: 2,  # 'h'
-        3: 2,  # 'i'
-        24: 3,  # 'j'
-        10: 3,  # 'k'
-        5: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        15: 1,  # 'o'
-        26: 1,  # 'p'
-        7: 3,  # 'r'
-        8: 3,  # 's'
-        9: 2,  # 't'
-        14: 3,  # 'u'
-        32: 2,  # 'v'
-        57: 1,  # 'w'
-        58: 0,  # 'x'
-        11: 1,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 0,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 3,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    3: {  # 'i'
-        23: 2,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 1,  # 'J'
-        16: 3,  # 'K'
-        49: 0,  # 'L'
-        20: 3,  # 'M'
-        46: 0,  # 'N'
-        42: 1,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 1,  # 'S'
-        31: 2,  # 'T'
-        51: 0,  # 'U'
-        38: 1,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 2,  # 'b'
-        28: 0,  # 'c'
-        12: 3,  # 'd'
-        2: 3,  # 'e'
-        18: 2,  # 'f'
-        27: 3,  # 'g'
-        25: 1,  # 'h'
-        3: 3,  # 'i'
-        24: 2,  # 'j'
-        10: 3,  # 'k'
-        5: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        15: 1,  # 'o'
-        26: 3,  # 'p'
-        7: 3,  # 'r'
-        8: 3,  # 's'
-        9: 3,  # 't'
-        14: 3,  # 'u'
-        32: 2,  # 'v'
-        57: 1,  # 'w'
-        58: 1,  # 'x'
-        11: 3,  # 'y'
-        22: 1,  # 'z'
-        63: 1,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 1,  # 'Ü'
-        59: 0,  # 'â'
-        33: 2,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 3,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 1,  # 'İ'
-        6: 2,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    24: {  # 'j'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 1,  # 'J'
-        16: 2,  # 'K'
-        49: 0,  # 'L'
-        20: 2,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 1,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 1,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 1,  # 'Z'
-        1: 3,  # 'a'
-        21: 1,  # 'b'
-        28: 1,  # 'c'
-        12: 3,  # 'd'
-        2: 3,  # 'e'
-        18: 2,  # 'f'
-        27: 1,  # 'g'
-        25: 1,  # 'h'
-        3: 2,  # 'i'
-        24: 1,  # 'j'
-        10: 2,  # 'k'
-        5: 2,  # 'l'
-        13: 3,  # 'm'
-        4: 2,  # 'n'
-        15: 0,  # 'o'
-        26: 1,  # 'p'
-        7: 2,  # 'r'
-        8: 3,  # 's'
-        9: 2,  # 't'
-        14: 3,  # 'u'
-        32: 2,  # 'v'
-        57: 0,  # 'w'
-        58: 2,  # 'x'
-        11: 1,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 1,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 1,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 3,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    10: {  # 'k'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 3,  # 'K'
-        49: 0,  # 'L'
-        20: 2,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 3,  # 'T'
-        51: 0,  # 'U'
-        38: 1,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 1,  # 'Z'
-        1: 3,  # 'a'
-        21: 2,  # 'b'
-        28: 0,  # 'c'
-        12: 2,  # 'd'
-        2: 3,  # 'e'
-        18: 1,  # 'f'
-        27: 2,  # 'g'
-        25: 2,  # 'h'
-        3: 3,  # 'i'
-        24: 2,  # 'j'
-        10: 2,  # 'k'
-        5: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        15: 0,  # 'o'
-        26: 3,  # 'p'
-        7: 2,  # 'r'
-        8: 2,  # 's'
-        9: 2,  # 't'
-        14: 3,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 1,  # 'x'
-        11: 3,  # 'y'
-        22: 0,  # 'z'
-        63: 1,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 3,  # 'ç'
-        61: 0,  # 'î'
-        34: 1,  # 'ö'
-        17: 3,  # 'ü'
-        30: 1,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 3,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 1,  # 'ş'
-    },
-    5: {  # 'l'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 3,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 0,  # 'K'
-        49: 0,  # 'L'
-        20: 2,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 1,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 0,  # 'a'
-        21: 3,  # 'b'
-        28: 0,  # 'c'
-        12: 3,  # 'd'
-        2: 1,  # 'e'
-        18: 3,  # 'f'
-        27: 3,  # 'g'
-        25: 2,  # 'h'
-        3: 3,  # 'i'
-        24: 2,  # 'j'
-        10: 3,  # 'k'
-        5: 1,  # 'l'
-        13: 1,  # 'm'
-        4: 3,  # 'n'
-        15: 0,  # 'o'
-        26: 2,  # 'p'
-        7: 3,  # 'r'
-        8: 3,  # 's'
-        9: 3,  # 't'
-        14: 2,  # 'u'
-        32: 2,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 3,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 1,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 2,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 3,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    13: {  # 'm'
-        23: 1,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 3,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 0,  # 'K'
-        49: 0,  # 'L'
-        20: 3,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 3,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 1,  # 'Y'
-        56: 0,  # 'Z'
-        1: 2,  # 'a'
-        21: 3,  # 'b'
-        28: 0,  # 'c'
-        12: 3,  # 'd'
-        2: 2,  # 'e'
-        18: 3,  # 'f'
-        27: 3,  # 'g'
-        25: 3,  # 'h'
-        3: 3,  # 'i'
-        24: 3,  # 'j'
-        10: 3,  # 'k'
-        5: 0,  # 'l'
-        13: 2,  # 'm'
-        4: 3,  # 'n'
-        15: 1,  # 'o'
-        26: 2,  # 'p'
-        7: 3,  # 'r'
-        8: 3,  # 's'
-        9: 3,  # 't'
-        14: 2,  # 'u'
-        32: 2,  # 'v'
-        57: 1,  # 'w'
-        58: 0,  # 'x'
-        11: 3,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 3,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 3,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 1,  # 'ş'
-    },
-    4: {  # 'n'
-        23: 1,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 1,  # 'H'
-        53: 0,  # 'I'
-        60: 2,  # 'J'
-        16: 3,  # 'K'
-        49: 0,  # 'L'
-        20: 3,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 2,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 2,  # 'b'
-        28: 1,  # 'c'
-        12: 3,  # 'd'
-        2: 3,  # 'e'
-        18: 1,  # 'f'
-        27: 2,  # 'g'
-        25: 3,  # 'h'
-        3: 2,  # 'i'
-        24: 2,  # 'j'
-        10: 3,  # 'k'
-        5: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        15: 1,  # 'o'
-        26: 3,  # 'p'
-        7: 2,  # 'r'
-        8: 3,  # 's'
-        9: 3,  # 't'
-        14: 3,  # 'u'
-        32: 2,  # 'v'
-        57: 0,  # 'w'
-        58: 2,  # 'x'
-        11: 3,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 1,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 2,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 1,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    15: {  # 'o'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 1,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 2,  # 'F'
-        36: 1,  # 'G'
-        45: 1,  # 'H'
-        53: 1,  # 'I'
-        60: 0,  # 'J'
-        16: 3,  # 'K'
-        49: 2,  # 'L'
-        20: 0,  # 'M'
-        46: 2,  # 'N'
-        42: 1,  # 'O'
-        48: 2,  # 'P'
-        44: 1,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 0,  # 'b'
-        28: 2,  # 'c'
-        12: 0,  # 'd'
-        2: 3,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 1,  # 'i'
-        24: 2,  # 'j'
-        10: 1,  # 'k'
-        5: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 2,  # 'n'
-        15: 2,  # 'o'
-        26: 0,  # 'p'
-        7: 1,  # 'r'
-        8: 0,  # 's'
-        9: 0,  # 't'
-        14: 3,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 2,  # 'x'
-        11: 0,  # 'y'
-        22: 2,  # 'z'
-        63: 0,  # '·'
-        54: 1,  # 'Ç'
-        50: 2,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 3,  # 'ç'
-        61: 0,  # 'î'
-        34: 1,  # 'ö'
-        17: 0,  # 'ü'
-        30: 2,  # 'ğ'
-        41: 2,  # 'İ'
-        6: 3,  # 'ı'
-        40: 2,  # 'Ş'
-        19: 2,  # 'ş'
-    },
-    26: {  # 'p'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 3,  # 'K'
-        49: 0,  # 'L'
-        20: 1,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 1,  # 'b'
-        28: 0,  # 'c'
-        12: 1,  # 'd'
-        2: 3,  # 'e'
-        18: 0,  # 'f'
-        27: 1,  # 'g'
-        25: 1,  # 'h'
-        3: 2,  # 'i'
-        24: 3,  # 'j'
-        10: 1,  # 'k'
-        5: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 2,  # 'n'
-        15: 0,  # 'o'
-        26: 2,  # 'p'
-        7: 2,  # 'r'
-        8: 1,  # 's'
-        9: 1,  # 't'
-        14: 3,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 1,  # 'x'
-        11: 1,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 3,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 1,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 3,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    7: {  # 'r'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 1,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 2,  # 'J'
-        16: 3,  # 'K'
-        49: 0,  # 'L'
-        20: 2,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 2,  # 'T'
-        51: 1,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 1,  # 'Z'
-        1: 3,  # 'a'
-        21: 1,  # 'b'
-        28: 0,  # 'c'
-        12: 3,  # 'd'
-        2: 3,  # 'e'
-        18: 0,  # 'f'
-        27: 2,  # 'g'
-        25: 3,  # 'h'
-        3: 2,  # 'i'
-        24: 2,  # 'j'
-        10: 3,  # 'k'
-        5: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        15: 0,  # 'o'
-        26: 2,  # 'p'
-        7: 3,  # 'r'
-        8: 3,  # 's'
-        9: 3,  # 't'
-        14: 3,  # 'u'
-        32: 2,  # 'v'
-        57: 0,  # 'w'
-        58: 1,  # 'x'
-        11: 2,  # 'y'
-        22: 0,  # 'z'
-        63: 1,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 2,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 3,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 2,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    8: {  # 's'
-        23: 1,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 1,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 3,  # 'K'
-        49: 0,  # 'L'
-        20: 3,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 2,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 1,  # 'Z'
-        1: 3,  # 'a'
-        21: 2,  # 'b'
-        28: 1,  # 'c'
-        12: 3,  # 'd'
-        2: 3,  # 'e'
-        18: 0,  # 'f'
-        27: 2,  # 'g'
-        25: 2,  # 'h'
-        3: 2,  # 'i'
-        24: 3,  # 'j'
-        10: 3,  # 'k'
-        5: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        15: 0,  # 'o'
-        26: 3,  # 'p'
-        7: 3,  # 'r'
-        8: 3,  # 's'
-        9: 3,  # 't'
-        14: 3,  # 'u'
-        32: 2,  # 'v'
-        57: 0,  # 'w'
-        58: 1,  # 'x'
-        11: 2,  # 'y'
-        22: 1,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 2,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 2,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 3,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 1,  # 'ş'
-    },
-    9: {  # 't'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 1,  # 'J'
-        16: 3,  # 'K'
-        49: 0,  # 'L'
-        20: 2,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 2,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 1,  # 'Z'
-        1: 3,  # 'a'
-        21: 3,  # 'b'
-        28: 0,  # 'c'
-        12: 3,  # 'd'
-        2: 3,  # 'e'
-        18: 2,  # 'f'
-        27: 2,  # 'g'
-        25: 2,  # 'h'
-        3: 2,  # 'i'
-        24: 2,  # 'j'
-        10: 3,  # 'k'
-        5: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        15: 0,  # 'o'
-        26: 2,  # 'p'
-        7: 3,  # 'r'
-        8: 3,  # 's'
-        9: 3,  # 't'
-        14: 3,  # 'u'
-        32: 3,  # 'v'
-        57: 0,  # 'w'
-        58: 2,  # 'x'
-        11: 2,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 3,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 2,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 3,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    14: {  # 'u'
-        23: 3,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 3,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 1,  # 'H'
-        53: 0,  # 'I'
-        60: 1,  # 'J'
-        16: 0,  # 'K'
-        49: 0,  # 'L'
-        20: 3,  # 'M'
-        46: 2,  # 'N'
-        42: 0,  # 'O'
-        48: 1,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 3,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 1,  # 'Y'
-        56: 2,  # 'Z'
-        1: 2,  # 'a'
-        21: 3,  # 'b'
-        28: 0,  # 'c'
-        12: 3,  # 'd'
-        2: 2,  # 'e'
-        18: 2,  # 'f'
-        27: 3,  # 'g'
-        25: 3,  # 'h'
-        3: 3,  # 'i'
-        24: 2,  # 'j'
-        10: 3,  # 'k'
-        5: 0,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        15: 0,  # 'o'
-        26: 3,  # 'p'
-        7: 3,  # 'r'
-        8: 3,  # 's'
-        9: 3,  # 't'
-        14: 3,  # 'u'
-        32: 2,  # 'v'
-        57: 2,  # 'w'
-        58: 0,  # 'x'
-        11: 3,  # 'y'
-        22: 0,  # 'z'
-        63: 1,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 3,  # 'ü'
-        30: 1,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 3,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    32: {  # 'v'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 3,  # 'K'
-        49: 0,  # 'L'
-        20: 1,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 0,  # 'b'
-        28: 0,  # 'c'
-        12: 3,  # 'd'
-        2: 3,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 0,  # 'i'
-        24: 1,  # 'j'
-        10: 1,  # 'k'
-        5: 3,  # 'l'
-        13: 2,  # 'm'
-        4: 3,  # 'n'
-        15: 0,  # 'o'
-        26: 1,  # 'p'
-        7: 1,  # 'r'
-        8: 2,  # 's'
-        9: 3,  # 't'
-        14: 3,  # 'u'
-        32: 1,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 0,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 2,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 0,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 1,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    57: {  # 'w'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 0,  # 'K'
-        49: 0,  # 'L'
-        20: 0,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 1,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 1,  # 'a'
-        21: 0,  # 'b'
-        28: 0,  # 'c'
-        12: 0,  # 'd'
-        2: 2,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 1,  # 'h'
-        3: 0,  # 'i'
-        24: 0,  # 'j'
-        10: 1,  # 'k'
-        5: 0,  # 'l'
-        13: 0,  # 'm'
-        4: 1,  # 'n'
-        15: 0,  # 'o'
-        26: 0,  # 'p'
-        7: 0,  # 'r'
-        8: 1,  # 's'
-        9: 0,  # 't'
-        14: 1,  # 'u'
-        32: 0,  # 'v'
-        57: 2,  # 'w'
-        58: 0,  # 'x'
-        11: 0,  # 'y'
-        22: 0,  # 'z'
-        63: 1,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 1,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 0,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    58: {  # 'x'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 1,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 1,  # 'J'
-        16: 0,  # 'K'
-        49: 0,  # 'L'
-        20: 1,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 0,  # 'a'
-        21: 1,  # 'b'
-        28: 0,  # 'c'
-        12: 2,  # 'd'
-        2: 1,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 2,  # 'i'
-        24: 2,  # 'j'
-        10: 1,  # 'k'
-        5: 0,  # 'l'
-        13: 0,  # 'm'
-        4: 2,  # 'n'
-        15: 0,  # 'o'
-        26: 0,  # 'p'
-        7: 1,  # 'r'
-        8: 2,  # 's'
-        9: 1,  # 't'
-        14: 0,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 2,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 1,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 2,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    11: {  # 'y'
-        23: 1,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 1,  # 'J'
-        16: 3,  # 'K'
-        49: 0,  # 'L'
-        20: 1,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 1,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 1,  # 'Y'
-        56: 1,  # 'Z'
-        1: 3,  # 'a'
-        21: 1,  # 'b'
-        28: 0,  # 'c'
-        12: 2,  # 'd'
-        2: 3,  # 'e'
-        18: 0,  # 'f'
-        27: 2,  # 'g'
-        25: 2,  # 'h'
-        3: 2,  # 'i'
-        24: 1,  # 'j'
-        10: 2,  # 'k'
-        5: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        15: 0,  # 'o'
-        26: 1,  # 'p'
-        7: 2,  # 'r'
-        8: 1,  # 's'
-        9: 2,  # 't'
-        14: 3,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 1,  # 'x'
-        11: 3,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 3,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 2,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 3,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    22: {  # 'z'
-        23: 2,  # 'A'
-        37: 2,  # 'B'
-        47: 1,  # 'C'
-        39: 2,  # 'D'
-        29: 3,  # 'E'
-        52: 1,  # 'F'
-        36: 2,  # 'G'
-        45: 2,  # 'H'
-        53: 1,  # 'I'
-        60: 0,  # 'J'
-        16: 0,  # 'K'
-        49: 0,  # 'L'
-        20: 3,  # 'M'
-        46: 2,  # 'N'
-        42: 2,  # 'O'
-        48: 2,  # 'P'
-        44: 1,  # 'R'
-        35: 1,  # 'S'
-        31: 3,  # 'T'
-        51: 2,  # 'U'
-        38: 2,  # 'V'
-        62: 0,  # 'W'
-        43: 2,  # 'Y'
-        56: 1,  # 'Z'
-        1: 1,  # 'a'
-        21: 2,  # 'b'
-        28: 1,  # 'c'
-        12: 2,  # 'd'
-        2: 2,  # 'e'
-        18: 3,  # 'f'
-        27: 2,  # 'g'
-        25: 2,  # 'h'
-        3: 3,  # 'i'
-        24: 2,  # 'j'
-        10: 3,  # 'k'
-        5: 0,  # 'l'
-        13: 2,  # 'm'
-        4: 3,  # 'n'
-        15: 2,  # 'o'
-        26: 2,  # 'p'
-        7: 3,  # 'r'
-        8: 3,  # 's'
-        9: 3,  # 't'
-        14: 0,  # 'u'
-        32: 2,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 3,  # 'y'
-        22: 2,  # 'z'
-        63: 1,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 2,  # 'Ü'
-        59: 1,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 2,  # 'ö'
-        17: 2,  # 'ü'
-        30: 2,  # 'ğ'
-        41: 1,  # 'İ'
-        6: 3,  # 'ı'
-        40: 1,  # 'Ş'
-        19: 2,  # 'ş'
-    },
-    63: {  # '·'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 0,  # 'K'
-        49: 0,  # 'L'
-        20: 0,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 0,  # 'a'
-        21: 0,  # 'b'
-        28: 0,  # 'c'
-        12: 0,  # 'd'
-        2: 1,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 0,  # 'i'
-        24: 0,  # 'j'
-        10: 0,  # 'k'
-        5: 0,  # 'l'
-        13: 2,  # 'm'
-        4: 0,  # 'n'
-        15: 0,  # 'o'
-        26: 0,  # 'p'
-        7: 0,  # 'r'
-        8: 0,  # 's'
-        9: 0,  # 't'
-        14: 2,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 0,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 0,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 0,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    54: {  # 'Ç'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 1,  # 'C'
-        39: 1,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 1,  # 'G'
-        45: 1,  # 'H'
-        53: 1,  # 'I'
-        60: 0,  # 'J'
-        16: 0,  # 'K'
-        49: 0,  # 'L'
-        20: 0,  # 'M'
-        46: 0,  # 'N'
-        42: 1,  # 'O'
-        48: 1,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 1,  # 'U'
-        38: 1,  # 'V'
-        62: 0,  # 'W'
-        43: 2,  # 'Y'
-        56: 0,  # 'Z'
-        1: 0,  # 'a'
-        21: 1,  # 'b'
-        28: 0,  # 'c'
-        12: 1,  # 'd'
-        2: 0,  # 'e'
-        18: 0,  # 'f'
-        27: 1,  # 'g'
-        25: 0,  # 'h'
-        3: 3,  # 'i'
-        24: 0,  # 'j'
-        10: 1,  # 'k'
-        5: 0,  # 'l'
-        13: 0,  # 'm'
-        4: 2,  # 'n'
-        15: 1,  # 'o'
-        26: 0,  # 'p'
-        7: 2,  # 'r'
-        8: 0,  # 's'
-        9: 1,  # 't'
-        14: 0,  # 'u'
-        32: 2,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 0,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 2,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 1,  # 'ö'
-        17: 0,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 2,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 1,  # 'ş'
-    },
-    50: {  # 'Ö'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 1,  # 'C'
-        39: 1,  # 'D'
-        29: 2,  # 'E'
-        52: 0,  # 'F'
-        36: 1,  # 'G'
-        45: 2,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 0,  # 'K'
-        49: 0,  # 'L'
-        20: 1,  # 'M'
-        46: 1,  # 'N'
-        42: 2,  # 'O'
-        48: 2,  # 'P'
-        44: 1,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 1,  # 'U'
-        38: 1,  # 'V'
-        62: 0,  # 'W'
-        43: 2,  # 'Y'
-        56: 0,  # 'Z'
-        1: 0,  # 'a'
-        21: 2,  # 'b'
-        28: 1,  # 'c'
-        12: 2,  # 'd'
-        2: 0,  # 'e'
-        18: 1,  # 'f'
-        27: 1,  # 'g'
-        25: 1,  # 'h'
-        3: 2,  # 'i'
-        24: 0,  # 'j'
-        10: 2,  # 'k'
-        5: 0,  # 'l'
-        13: 0,  # 'm'
-        4: 3,  # 'n'
-        15: 2,  # 'o'
-        26: 2,  # 'p'
-        7: 3,  # 'r'
-        8: 1,  # 's'
-        9: 2,  # 't'
-        14: 0,  # 'u'
-        32: 1,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 0,  # 'y'
-        22: 1,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 2,  # 'ö'
-        17: 2,  # 'ü'
-        30: 1,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 2,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 1,  # 'ş'
-    },
-    55: {  # 'Ü'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 2,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 1,  # 'K'
-        49: 0,  # 'L'
-        20: 0,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 1,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 0,  # 'U'
-        38: 1,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 2,  # 'a'
-        21: 0,  # 'b'
-        28: 2,  # 'c'
-        12: 0,  # 'd'
-        2: 2,  # 'e'
-        18: 0,  # 'f'
-        27: 1,  # 'g'
-        25: 0,  # 'h'
-        3: 0,  # 'i'
-        24: 0,  # 'j'
-        10: 0,  # 'k'
-        5: 1,  # 'l'
-        13: 1,  # 'm'
-        4: 1,  # 'n'
-        15: 0,  # 'o'
-        26: 0,  # 'p'
-        7: 0,  # 'r'
-        8: 0,  # 's'
-        9: 1,  # 't'
-        14: 2,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 0,  # 'y'
-        22: 1,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 1,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 1,  # 'ö'
-        17: 0,  # 'ü'
-        30: 1,  # 'ğ'
-        41: 1,  # 'İ'
-        6: 0,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 1,  # 'ş'
-    },
-    59: {  # 'â'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 1,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 1,  # 'K'
-        49: 0,  # 'L'
-        20: 0,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 2,  # 'a'
-        21: 0,  # 'b'
-        28: 0,  # 'c'
-        12: 0,  # 'd'
-        2: 2,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 0,  # 'i'
-        24: 0,  # 'j'
-        10: 0,  # 'k'
-        5: 0,  # 'l'
-        13: 2,  # 'm'
-        4: 0,  # 'n'
-        15: 1,  # 'o'
-        26: 0,  # 'p'
-        7: 0,  # 'r'
-        8: 0,  # 's'
-        9: 0,  # 't'
-        14: 2,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 0,  # 'y'
-        22: 1,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 0,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 1,  # 'ı'
-        40: 1,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    33: {  # 'ç'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 3,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 0,  # 'K'
-        49: 0,  # 'L'
-        20: 1,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 2,  # 'T'
-        51: 0,  # 'U'
-        38: 1,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 0,  # 'Z'
-        1: 0,  # 'a'
-        21: 3,  # 'b'
-        28: 0,  # 'c'
-        12: 2,  # 'd'
-        2: 0,  # 'e'
-        18: 2,  # 'f'
-        27: 1,  # 'g'
-        25: 3,  # 'h'
-        3: 3,  # 'i'
-        24: 0,  # 'j'
-        10: 3,  # 'k'
-        5: 0,  # 'l'
-        13: 0,  # 'm'
-        4: 3,  # 'n'
-        15: 0,  # 'o'
-        26: 1,  # 'p'
-        7: 3,  # 'r'
-        8: 2,  # 's'
-        9: 3,  # 't'
-        14: 0,  # 'u'
-        32: 2,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 2,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 1,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 3,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    61: {  # 'î'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 0,  # 'K'
-        49: 0,  # 'L'
-        20: 0,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 0,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 1,  # 'Z'
-        1: 2,  # 'a'
-        21: 0,  # 'b'
-        28: 0,  # 'c'
-        12: 0,  # 'd'
-        2: 2,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 0,  # 'i'
-        24: 1,  # 'j'
-        10: 0,  # 'k'
-        5: 0,  # 'l'
-        13: 1,  # 'm'
-        4: 1,  # 'n'
-        15: 0,  # 'o'
-        26: 0,  # 'p'
-        7: 0,  # 'r'
-        8: 0,  # 's'
-        9: 0,  # 't'
-        14: 1,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 0,  # 'y'
-        22: 1,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 1,  # 'î'
-        34: 0,  # 'ö'
-        17: 0,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 1,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    34: {  # 'ö'
-        23: 0,  # 'A'
-        37: 1,  # 'B'
-        47: 1,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 2,  # 'F'
-        36: 1,  # 'G'
-        45: 1,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 3,  # 'K'
-        49: 1,  # 'L'
-        20: 0,  # 'M'
-        46: 1,  # 'N'
-        42: 1,  # 'O'
-        48: 2,  # 'P'
-        44: 1,  # 'R'
-        35: 1,  # 'S'
-        31: 1,  # 'T'
-        51: 1,  # 'U'
-        38: 1,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 1,  # 'Z'
-        1: 3,  # 'a'
-        21: 1,  # 'b'
-        28: 2,  # 'c'
-        12: 1,  # 'd'
-        2: 3,  # 'e'
-        18: 0,  # 'f'
-        27: 2,  # 'g'
-        25: 2,  # 'h'
-        3: 1,  # 'i'
-        24: 2,  # 'j'
-        10: 1,  # 'k'
-        5: 2,  # 'l'
-        13: 3,  # 'm'
-        4: 2,  # 'n'
-        15: 2,  # 'o'
-        26: 0,  # 'p'
-        7: 0,  # 'r'
-        8: 3,  # 's'
-        9: 1,  # 't'
-        14: 3,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 1,  # 'y'
-        22: 2,  # 'z'
-        63: 0,  # '·'
-        54: 1,  # 'Ç'
-        50: 2,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 2,  # 'ç'
-        61: 0,  # 'î'
-        34: 2,  # 'ö'
-        17: 0,  # 'ü'
-        30: 2,  # 'ğ'
-        41: 1,  # 'İ'
-        6: 1,  # 'ı'
-        40: 2,  # 'Ş'
-        19: 1,  # 'ş'
-    },
-    17: {  # 'ü'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 1,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 0,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 1,  # 'J'
-        16: 1,  # 'K'
-        49: 0,  # 'L'
-        20: 1,  # 'M'
-        46: 0,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 1,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 0,  # 'Y'
-        56: 1,  # 'Z'
-        1: 3,  # 'a'
-        21: 0,  # 'b'
-        28: 0,  # 'c'
-        12: 1,  # 'd'
-        2: 3,  # 'e'
-        18: 1,  # 'f'
-        27: 2,  # 'g'
-        25: 0,  # 'h'
-        3: 1,  # 'i'
-        24: 1,  # 'j'
-        10: 2,  # 'k'
-        5: 3,  # 'l'
-        13: 2,  # 'm'
-        4: 3,  # 'n'
-        15: 0,  # 'o'
-        26: 2,  # 'p'
-        7: 2,  # 'r'
-        8: 3,  # 's'
-        9: 2,  # 't'
-        14: 3,  # 'u'
-        32: 1,  # 'v'
-        57: 1,  # 'w'
-        58: 0,  # 'x'
-        11: 0,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 1,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 2,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 2,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    30: {  # 'ğ'
-        23: 0,  # 'A'
-        37: 2,  # 'B'
-        47: 1,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 2,  # 'F'
-        36: 1,  # 'G'
-        45: 0,  # 'H'
-        53: 1,  # 'I'
-        60: 0,  # 'J'
-        16: 3,  # 'K'
-        49: 0,  # 'L'
-        20: 1,  # 'M'
-        46: 2,  # 'N'
-        42: 2,  # 'O'
-        48: 1,  # 'P'
-        44: 1,  # 'R'
-        35: 0,  # 'S'
-        31: 1,  # 'T'
-        51: 0,  # 'U'
-        38: 2,  # 'V'
-        62: 0,  # 'W'
-        43: 2,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 0,  # 'b'
-        28: 2,  # 'c'
-        12: 0,  # 'd'
-        2: 2,  # 'e'
-        18: 0,  # 'f'
-        27: 0,  # 'g'
-        25: 0,  # 'h'
-        3: 0,  # 'i'
-        24: 3,  # 'j'
-        10: 1,  # 'k'
-        5: 2,  # 'l'
-        13: 3,  # 'm'
-        4: 0,  # 'n'
-        15: 1,  # 'o'
-        26: 0,  # 'p'
-        7: 1,  # 'r'
-        8: 0,  # 's'
-        9: 0,  # 't'
-        14: 3,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 0,  # 'y'
-        22: 2,  # 'z'
-        63: 0,  # '·'
-        54: 2,  # 'Ç'
-        50: 2,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 1,  # 'ç'
-        61: 0,  # 'î'
-        34: 2,  # 'ö'
-        17: 0,  # 'ü'
-        30: 1,  # 'ğ'
-        41: 2,  # 'İ'
-        6: 2,  # 'ı'
-        40: 2,  # 'Ş'
-        19: 1,  # 'ş'
-    },
-    41: {  # 'İ'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 1,  # 'C'
-        39: 1,  # 'D'
-        29: 1,  # 'E'
-        52: 0,  # 'F'
-        36: 2,  # 'G'
-        45: 2,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 0,  # 'K'
-        49: 0,  # 'L'
-        20: 2,  # 'M'
-        46: 1,  # 'N'
-        42: 1,  # 'O'
-        48: 2,  # 'P'
-        44: 0,  # 'R'
-        35: 1,  # 'S'
-        31: 1,  # 'T'
-        51: 1,  # 'U'
-        38: 1,  # 'V'
-        62: 0,  # 'W'
-        43: 2,  # 'Y'
-        56: 0,  # 'Z'
-        1: 1,  # 'a'
-        21: 2,  # 'b'
-        28: 1,  # 'c'
-        12: 2,  # 'd'
-        2: 1,  # 'e'
-        18: 0,  # 'f'
-        27: 3,  # 'g'
-        25: 2,  # 'h'
-        3: 2,  # 'i'
-        24: 2,  # 'j'
-        10: 2,  # 'k'
-        5: 0,  # 'l'
-        13: 1,  # 'm'
-        4: 3,  # 'n'
-        15: 1,  # 'o'
-        26: 1,  # 'p'
-        7: 3,  # 'r'
-        8: 3,  # 's'
-        9: 2,  # 't'
-        14: 0,  # 'u'
-        32: 0,  # 'v'
-        57: 1,  # 'w'
-        58: 0,  # 'x'
-        11: 2,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 1,  # 'Ü'
-        59: 1,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 1,  # 'ö'
-        17: 1,  # 'ü'
-        30: 2,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 3,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 1,  # 'ş'
-    },
-    6: {  # 'ı'
-        23: 2,  # 'A'
-        37: 0,  # 'B'
-        47: 0,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 0,  # 'F'
-        36: 1,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 2,  # 'J'
-        16: 3,  # 'K'
-        49: 0,  # 'L'
-        20: 3,  # 'M'
-        46: 1,  # 'N'
-        42: 0,  # 'O'
-        48: 0,  # 'P'
-        44: 0,  # 'R'
-        35: 0,  # 'S'
-        31: 2,  # 'T'
-        51: 0,  # 'U'
-        38: 0,  # 'V'
-        62: 0,  # 'W'
-        43: 2,  # 'Y'
-        56: 1,  # 'Z'
-        1: 3,  # 'a'
-        21: 2,  # 'b'
-        28: 1,  # 'c'
-        12: 3,  # 'd'
-        2: 3,  # 'e'
-        18: 3,  # 'f'
-        27: 3,  # 'g'
-        25: 2,  # 'h'
-        3: 3,  # 'i'
-        24: 3,  # 'j'
-        10: 3,  # 'k'
-        5: 3,  # 'l'
-        13: 3,  # 'm'
-        4: 3,  # 'n'
-        15: 0,  # 'o'
-        26: 3,  # 'p'
-        7: 3,  # 'r'
-        8: 3,  # 's'
-        9: 3,  # 't'
-        14: 3,  # 'u'
-        32: 3,  # 'v'
-        57: 1,  # 'w'
-        58: 1,  # 'x'
-        11: 3,  # 'y'
-        22: 0,  # 'z'
-        63: 1,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 2,  # 'ç'
-        61: 0,  # 'î'
-        34: 0,  # 'ö'
-        17: 3,  # 'ü'
-        30: 0,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 3,  # 'ı'
-        40: 0,  # 'Ş'
-        19: 0,  # 'ş'
-    },
-    40: {  # 'Ş'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 1,  # 'C'
-        39: 1,  # 'D'
-        29: 1,  # 'E'
-        52: 0,  # 'F'
-        36: 1,  # 'G'
-        45: 2,  # 'H'
-        53: 1,  # 'I'
-        60: 0,  # 'J'
-        16: 0,  # 'K'
-        49: 0,  # 'L'
-        20: 2,  # 'M'
-        46: 1,  # 'N'
-        42: 1,  # 'O'
-        48: 2,  # 'P'
-        44: 2,  # 'R'
-        35: 1,  # 'S'
-        31: 1,  # 'T'
-        51: 0,  # 'U'
-        38: 1,  # 'V'
-        62: 0,  # 'W'
-        43: 2,  # 'Y'
-        56: 1,  # 'Z'
-        1: 0,  # 'a'
-        21: 2,  # 'b'
-        28: 0,  # 'c'
-        12: 2,  # 'd'
-        2: 0,  # 'e'
-        18: 3,  # 'f'
-        27: 0,  # 'g'
-        25: 2,  # 'h'
-        3: 3,  # 'i'
-        24: 2,  # 'j'
-        10: 1,  # 'k'
-        5: 0,  # 'l'
-        13: 1,  # 'm'
-        4: 3,  # 'n'
-        15: 2,  # 'o'
-        26: 0,  # 'p'
-        7: 3,  # 'r'
-        8: 2,  # 's'
-        9: 2,  # 't'
-        14: 1,  # 'u'
-        32: 3,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 2,  # 'y'
-        22: 0,  # 'z'
-        63: 0,  # '·'
-        54: 0,  # 'Ç'
-        50: 0,  # 'Ö'
-        55: 1,  # 'Ü'
-        59: 0,  # 'â'
-        33: 0,  # 'ç'
-        61: 0,  # 'î'
-        34: 2,  # 'ö'
-        17: 1,  # 'ü'
-        30: 2,  # 'ğ'
-        41: 0,  # 'İ'
-        6: 2,  # 'ı'
-        40: 1,  # 'Ş'
-        19: 2,  # 'ş'
-    },
-    19: {  # 'ş'
-        23: 0,  # 'A'
-        37: 0,  # 'B'
-        47: 1,  # 'C'
-        39: 0,  # 'D'
-        29: 0,  # 'E'
-        52: 2,  # 'F'
-        36: 1,  # 'G'
-        45: 0,  # 'H'
-        53: 0,  # 'I'
-        60: 0,  # 'J'
-        16: 3,  # 'K'
-        49: 2,  # 'L'
-        20: 0,  # 'M'
-        46: 1,  # 'N'
-        42: 1,  # 'O'
-        48: 1,  # 'P'
-        44: 1,  # 'R'
-        35: 1,  # 'S'
-        31: 0,  # 'T'
-        51: 1,  # 'U'
-        38: 1,  # 'V'
-        62: 0,  # 'W'
-        43: 1,  # 'Y'
-        56: 0,  # 'Z'
-        1: 3,  # 'a'
-        21: 1,  # 'b'
-        28: 2,  # 'c'
-        12: 0,  # 'd'
-        2: 3,  # 'e'
-        18: 0,  # 'f'
-        27: 2,  # 'g'
-        25: 1,  # 'h'
-        3: 1,  # 'i'
-        24: 0,  # 'j'
-        10: 2,  # 'k'
-        5: 2,  # 'l'
-        13: 3,  # 'm'
-        4: 0,  # 'n'
-        15: 0,  # 'o'
-        26: 1,  # 'p'
-        7: 3,  # 'r'
-        8: 0,  # 's'
-        9: 0,  # 't'
-        14: 3,  # 'u'
-        32: 0,  # 'v'
-        57: 0,  # 'w'
-        58: 0,  # 'x'
-        11: 0,  # 'y'
-        22: 2,  # 'z'
-        63: 0,  # '·'
-        54: 1,  # 'Ç'
-        50: 2,  # 'Ö'
-        55: 0,  # 'Ü'
-        59: 0,  # 'â'
-        33: 1,  # 'ç'
-        61: 1,  # 'î'
-        34: 2,  # 'ö'
-        17: 0,  # 'ü'
-        30: 1,  # 'ğ'
-        41: 1,  # 'İ'
-        6: 1,  # 'ı'
-        40: 1,  # 'Ş'
-        19: 1,  # 'ş'
-    },
-}
-
-# 255: Undefined characters that did not exist in training text
-# 254: Carriage/Return
-# 253: symbol (punctuation) that does not belong to word
-# 252: 0 - 9
-# 251: Control characters
-
-# Character Mapping Table(s):
-ISO_8859_9_TURKISH_CHAR_TO_ORDER = {
-    0: 255,  # '\x00'
-    1: 255,  # '\x01'
-    2: 255,  # '\x02'
-    3: 255,  # '\x03'
-    4: 255,  # '\x04'
-    5: 255,  # '\x05'
-    6: 255,  # '\x06'
-    7: 255,  # '\x07'
-    8: 255,  # '\x08'
-    9: 255,  # '\t'
-    10: 255,  # '\n'
-    11: 255,  # '\x0b'
-    12: 255,  # '\x0c'
-    13: 255,  # '\r'
-    14: 255,  # '\x0e'
-    15: 255,  # '\x0f'
-    16: 255,  # '\x10'
-    17: 255,  # '\x11'
-    18: 255,  # '\x12'
-    19: 255,  # '\x13'
-    20: 255,  # '\x14'
-    21: 255,  # '\x15'
-    22: 255,  # '\x16'
-    23: 255,  # '\x17'
-    24: 255,  # '\x18'
-    25: 255,  # '\x19'
-    26: 255,  # '\x1a'
-    27: 255,  # '\x1b'
-    28: 255,  # '\x1c'
-    29: 255,  # '\x1d'
-    30: 255,  # '\x1e'
-    31: 255,  # '\x1f'
-    32: 255,  # ' '
-    33: 255,  # '!'
-    34: 255,  # '"'
-    35: 255,  # '#'
-    36: 255,  # '$'
-    37: 255,  # '%'
-    38: 255,  # '&'
-    39: 255,  # "'"
-    40: 255,  # '('
-    41: 255,  # ')'
-    42: 255,  # '*'
-    43: 255,  # '+'
-    44: 255,  # ','
-    45: 255,  # '-'
-    46: 255,  # '.'
-    47: 255,  # '/'
-    48: 255,  # '0'
-    49: 255,  # '1'
-    50: 255,  # '2'
-    51: 255,  # '3'
-    52: 255,  # '4'
-    53: 255,  # '5'
-    54: 255,  # '6'
-    55: 255,  # '7'
-    56: 255,  # '8'
-    57: 255,  # '9'
-    58: 255,  # ':'
-    59: 255,  # ';'
-    60: 255,  # '<'
-    61: 255,  # '='
-    62: 255,  # '>'
-    63: 255,  # '?'
-    64: 255,  # '@'
-    65: 23,  # 'A'
-    66: 37,  # 'B'
-    67: 47,  # 'C'
-    68: 39,  # 'D'
-    69: 29,  # 'E'
-    70: 52,  # 'F'
-    71: 36,  # 'G'
-    72: 45,  # 'H'
-    73: 53,  # 'I'
-    74: 60,  # 'J'
-    75: 16,  # 'K'
-    76: 49,  # 'L'
-    77: 20,  # 'M'
-    78: 46,  # 'N'
-    79: 42,  # 'O'
-    80: 48,  # 'P'
-    81: 69,  # 'Q'
-    82: 44,  # 'R'
-    83: 35,  # 'S'
-    84: 31,  # 'T'
-    85: 51,  # 'U'
-    86: 38,  # 'V'
-    87: 62,  # 'W'
-    88: 65,  # 'X'
-    89: 43,  # 'Y'
-    90: 56,  # 'Z'
-    91: 255,  # '['
-    92: 255,  # '\\'
-    93: 255,  # ']'
-    94: 255,  # '^'
-    95: 255,  # '_'
-    96: 255,  # '`'
-    97: 1,  # 'a'
-    98: 21,  # 'b'
-    99: 28,  # 'c'
-    100: 12,  # 'd'
-    101: 2,  # 'e'
-    102: 18,  # 'f'
-    103: 27,  # 'g'
-    104: 25,  # 'h'
-    105: 3,  # 'i'
-    106: 24,  # 'j'
-    107: 10,  # 'k'
-    108: 5,  # 'l'
-    109: 13,  # 'm'
-    110: 4,  # 'n'
-    111: 15,  # 'o'
-    112: 26,  # 'p'
-    113: 64,  # 'q'
-    114: 7,  # 'r'
-    115: 8,  # 's'
-    116: 9,  # 't'
-    117: 14,  # 'u'
-    118: 32,  # 'v'
-    119: 57,  # 'w'
-    120: 58,  # 'x'
-    121: 11,  # 'y'
-    122: 22,  # 'z'
-    123: 255,  # '{'
-    124: 255,  # '|'
-    125: 255,  # '}'
-    126: 255,  # '~'
-    127: 255,  # '\x7f'
-    128: 180,  # '\x80'
-    129: 179,  # '\x81'
-    130: 178,  # '\x82'
-    131: 177,  # '\x83'
-    132: 176,  # '\x84'
-    133: 175,  # '\x85'
-    134: 174,  # '\x86'
-    135: 173,  # '\x87'
-    136: 172,  # '\x88'
-    137: 171,  # '\x89'
-    138: 170,  # '\x8a'
-    139: 169,  # '\x8b'
-    140: 168,  # '\x8c'
-    141: 167,  # '\x8d'
-    142: 166,  # '\x8e'
-    143: 165,  # '\x8f'
-    144: 164,  # '\x90'
-    145: 163,  # '\x91'
-    146: 162,  # '\x92'
-    147: 161,  # '\x93'
-    148: 160,  # '\x94'
-    149: 159,  # '\x95'
-    150: 101,  # '\x96'
-    151: 158,  # '\x97'
-    152: 157,  # '\x98'
-    153: 156,  # '\x99'
-    154: 155,  # '\x9a'
-    155: 154,  # '\x9b'
-    156: 153,  # '\x9c'
-    157: 152,  # '\x9d'
-    158: 151,  # '\x9e'
-    159: 106,  # '\x9f'
-    160: 150,  # '\xa0'
-    161: 149,  # '¡'
-    162: 148,  # '¢'
-    163: 147,  # '£'
-    164: 146,  # '¤'
-    165: 145,  # '¥'
-    166: 144,  # '¦'
-    167: 100,  # '§'
-    168: 143,  # '¨'
-    169: 142,  # '©'
-    170: 141,  # 'ª'
-    171: 140,  # '«'
-    172: 139,  # '¬'
-    173: 138,  # '\xad'
-    174: 137,  # '®'
-    175: 136,  # '¯'
-    176: 94,  # '°'
-    177: 80,  # '±'
-    178: 93,  # '²'
-    179: 135,  # '³'
-    180: 105,  # '´'
-    181: 134,  # 'µ'
-    182: 133,  # '¶'
-    183: 63,  # '·'
-    184: 132,  # '¸'
-    185: 131,  # '¹'
-    186: 130,  # 'º'
-    187: 129,  # '»'
-    188: 128,  # '¼'
-    189: 127,  # '½'
-    190: 126,  # '¾'
-    191: 125,  # '¿'
-    192: 124,  # 'À'
-    193: 104,  # 'Á'
-    194: 73,  # 'Â'
-    195: 99,  # 'Ã'
-    196: 79,  # 'Ä'
-    197: 85,  # 'Å'
-    198: 123,  # 'Æ'
-    199: 54,  # 'Ç'
-    200: 122,  # 'È'
-    201: 98,  # 'É'
-    202: 92,  # 'Ê'
-    203: 121,  # 'Ë'
-    204: 120,  # 'Ì'
-    205: 91,  # 'Í'
-    206: 103,  # 'Î'
-    207: 119,  # 'Ï'
-    208: 68,  # 'Ğ'
-    209: 118,  # 'Ñ'
-    210: 117,  # 'Ò'
-    211: 97,  # 'Ó'
-    212: 116,  # 'Ô'
-    213: 115,  # 'Õ'
-    214: 50,  # 'Ö'
-    215: 90,  # '×'
-    216: 114,  # 'Ø'
-    217: 113,  # 'Ù'
-    218: 112,  # 'Ú'
-    219: 111,  # 'Û'
-    220: 55,  # 'Ü'
-    221: 41,  # 'İ'
-    222: 40,  # 'Ş'
-    223: 86,  # 'ß'
-    224: 89,  # 'à'
-    225: 70,  # 'á'
-    226: 59,  # 'â'
-    227: 78,  # 'ã'
-    228: 71,  # 'ä'
-    229: 82,  # 'å'
-    230: 88,  # 'æ'
-    231: 33,  # 'ç'
-    232: 77,  # 'è'
-    233: 66,  # 'é'
-    234: 84,  # 'ê'
-    235: 83,  # 'ë'
-    236: 110,  # 'ì'
-    237: 75,  # 'í'
-    238: 61,  # 'î'
-    239: 96,  # 'ï'
-    240: 30,  # 'ğ'
-    241: 67,  # 'ñ'
-    242: 109,  # 'ò'
-    243: 74,  # 'ó'
-    244: 87,  # 'ô'
-    245: 102,  # 'õ'
-    246: 34,  # 'ö'
-    247: 95,  # '÷'
-    248: 81,  # 'ø'
-    249: 108,  # 'ù'
-    250: 76,  # 'ú'
-    251: 72,  # 'û'
-    252: 17,  # 'ü'
-    253: 6,  # 'ı'
-    254: 19,  # 'ş'
-    255: 107,  # 'ÿ'
-}
-
-ISO_8859_9_TURKISH_MODEL = SingleByteCharSetModel(
-    charset_name="ISO-8859-9",
-    language="Turkish",
-    char_to_order_map=ISO_8859_9_TURKISH_CHAR_TO_ORDER,
-    language_model=TURKISH_LANG_MODEL,
-    typical_positive_ratio=0.97029,
-    keep_ascii_letters=True,
-    alphabet="ABCDEFGHIJKLMNOPRSTUVYZabcdefghijklmnoprstuvyzÂÇÎÖÛÜâçîöûüĞğİıŞş",
-)
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/latin1prober.py b/.venv/Lib/site-packages/pip/_vendor/chardet/latin1prober.py
deleted file mode 100644
index 59a01d9..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/latin1prober.py
+++ /dev/null
@@ -1,147 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is Mozilla Universal charset detector code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 2001
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#   Shy Shalom - original C code
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-from typing import List, Union
-
-from .charsetprober import CharSetProber
-from .enums import ProbingState
-
-FREQ_CAT_NUM = 4
-
-UDF = 0  # undefined
-OTH = 1  # other
-ASC = 2  # ascii capital letter
-ASS = 3  # ascii small letter
-ACV = 4  # accent capital vowel
-ACO = 5  # accent capital other
-ASV = 6  # accent small vowel
-ASO = 7  # accent small other
-CLASS_NUM = 8  # total classes
-
-# fmt: off
-Latin1_CharToClass = (
-    OTH, OTH, OTH, OTH, OTH, OTH, OTH, OTH,   # 00 - 07
-    OTH, OTH, OTH, OTH, OTH, OTH, OTH, OTH,   # 08 - 0F
-    OTH, OTH, OTH, OTH, OTH, OTH, OTH, OTH,   # 10 - 17
-    OTH, OTH, OTH, OTH, OTH, OTH, OTH, OTH,   # 18 - 1F
-    OTH, OTH, OTH, OTH, OTH, OTH, OTH, OTH,   # 20 - 27
-    OTH, OTH, OTH, OTH, OTH, OTH, OTH, OTH,   # 28 - 2F
-    OTH, OTH, OTH, OTH, OTH, OTH, OTH, OTH,   # 30 - 37
-    OTH, OTH, OTH, OTH, OTH, OTH, OTH, OTH,   # 38 - 3F
-    OTH, ASC, ASC, ASC, ASC, ASC, ASC, ASC,   # 40 - 47
-    ASC, ASC, ASC, ASC, ASC, ASC, ASC, ASC,   # 48 - 4F
-    ASC, ASC, ASC, ASC, ASC, ASC, ASC, ASC,   # 50 - 57
-    ASC, ASC, ASC, OTH, OTH, OTH, OTH, OTH,   # 58 - 5F
-    OTH, ASS, ASS, ASS, ASS, ASS, ASS, ASS,   # 60 - 67
-    ASS, ASS, ASS, ASS, ASS, ASS, ASS, ASS,   # 68 - 6F
-    ASS, ASS, ASS, ASS, ASS, ASS, ASS, ASS,   # 70 - 77
-    ASS, ASS, ASS, OTH, OTH, OTH, OTH, OTH,   # 78 - 7F
-    OTH, UDF, OTH, ASO, OTH, OTH, OTH, OTH,   # 80 - 87
-    OTH, OTH, ACO, OTH, ACO, UDF, ACO, UDF,   # 88 - 8F
-    UDF, OTH, OTH, OTH, OTH, OTH, OTH, OTH,   # 90 - 97
-    OTH, OTH, ASO, OTH, ASO, UDF, ASO, ACO,   # 98 - 9F
-    OTH, OTH, OTH, OTH, OTH, OTH, OTH, OTH,   # A0 - A7
-    OTH, OTH, OTH, OTH, OTH, OTH, OTH, OTH,   # A8 - AF
-    OTH, OTH, OTH, OTH, OTH, OTH, OTH, OTH,   # B0 - B7
-    OTH, OTH, OTH, OTH, OTH, OTH, OTH, OTH,   # B8 - BF
-    ACV, ACV, ACV, ACV, ACV, ACV, ACO, ACO,   # C0 - C7
-    ACV, ACV, ACV, ACV, ACV, ACV, ACV, ACV,   # C8 - CF
-    ACO, ACO, ACV, ACV, ACV, ACV, ACV, OTH,   # D0 - D7
-    ACV, ACV, ACV, ACV, ACV, ACO, ACO, ACO,   # D8 - DF
-    ASV, ASV, ASV, ASV, ASV, ASV, ASO, ASO,   # E0 - E7
-    ASV, ASV, ASV, ASV, ASV, ASV, ASV, ASV,   # E8 - EF
-    ASO, ASO, ASV, ASV, ASV, ASV, ASV, OTH,   # F0 - F7
-    ASV, ASV, ASV, ASV, ASV, ASO, ASO, ASO,   # F8 - FF
-)
-
-# 0 : illegal
-# 1 : very unlikely
-# 2 : normal
-# 3 : very likely
-Latin1ClassModel = (
-# UDF OTH ASC ASS ACV ACO ASV ASO
-    0,  0,  0,  0,  0,  0,  0,  0,  # UDF
-    0,  3,  3,  3,  3,  3,  3,  3,  # OTH
-    0,  3,  3,  3,  3,  3,  3,  3,  # ASC
-    0,  3,  3,  3,  1,  1,  3,  3,  # ASS
-    0,  3,  3,  3,  1,  2,  1,  2,  # ACV
-    0,  3,  3,  3,  3,  3,  3,  3,  # ACO
-    0,  3,  1,  3,  1,  1,  1,  3,  # ASV
-    0,  3,  1,  3,  1,  1,  3,  3,  # ASO
-)
-# fmt: on
-
-
-class Latin1Prober(CharSetProber):
-    def __init__(self) -> None:
-        super().__init__()
-        self._last_char_class = OTH
-        self._freq_counter: List[int] = []
-        self.reset()
-
-    def reset(self) -> None:
-        self._last_char_class = OTH
-        self._freq_counter = [0] * FREQ_CAT_NUM
-        super().reset()
-
-    @property
-    def charset_name(self) -> str:
-        return "ISO-8859-1"
-
-    @property
-    def language(self) -> str:
-        return ""
-
-    def feed(self, byte_str: Union[bytes, bytearray]) -> ProbingState:
-        byte_str = self.remove_xml_tags(byte_str)
-        for c in byte_str:
-            char_class = Latin1_CharToClass[c]
-            freq = Latin1ClassModel[(self._last_char_class * CLASS_NUM) + char_class]
-            if freq == 0:
-                self._state = ProbingState.NOT_ME
-                break
-            self._freq_counter[freq] += 1
-            self._last_char_class = char_class
-
-        return self.state
-
-    def get_confidence(self) -> float:
-        if self.state == ProbingState.NOT_ME:
-            return 0.01
-
-        total = sum(self._freq_counter)
-        confidence = (
-            0.0
-            if total < 0.01
-            else (self._freq_counter[3] - self._freq_counter[1] * 20.0) / total
-        )
-        confidence = max(confidence, 0.0)
-        # lower the confidence of latin1 so that other more accurate
-        # detector can take priority.
-        confidence *= 0.73
-        return confidence
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/macromanprober.py b/.venv/Lib/site-packages/pip/_vendor/chardet/macromanprober.py
deleted file mode 100644
index 1425d10..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/macromanprober.py
+++ /dev/null
@@ -1,162 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# This code was modified from latin1prober.py by Rob Speer .
-# The Original Code is Mozilla Universal charset detector code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 2001
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Rob Speer - adapt to MacRoman encoding
-#   Mark Pilgrim - port to Python
-#   Shy Shalom - original C code
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-from typing import List, Union
-
-from .charsetprober import CharSetProber
-from .enums import ProbingState
-
-FREQ_CAT_NUM = 4
-
-UDF = 0  # undefined
-OTH = 1  # other
-ASC = 2  # ascii capital letter
-ASS = 3  # ascii small letter
-ACV = 4  # accent capital vowel
-ACO = 5  # accent capital other
-ASV = 6  # accent small vowel
-ASO = 7  # accent small other
-ODD = 8  # character that is unlikely to appear
-CLASS_NUM = 9  # total classes
-
-# The change from Latin1 is that we explicitly look for extended characters
-# that are infrequently-occurring symbols, and consider them to always be
-# improbable. This should let MacRoman get out of the way of more likely
-# encodings in most situations.
-
-# fmt: off
-MacRoman_CharToClass = (
-    OTH, OTH, OTH, OTH, OTH, OTH, OTH, OTH,  # 00 - 07
-    OTH, OTH, OTH, OTH, OTH, OTH, OTH, OTH,  # 08 - 0F
-    OTH, OTH, OTH, OTH, OTH, OTH, OTH, OTH,  # 10 - 17
-    OTH, OTH, OTH, OTH, OTH, OTH, OTH, OTH,  # 18 - 1F
-    OTH, OTH, OTH, OTH, OTH, OTH, OTH, OTH,  # 20 - 27
-    OTH, OTH, OTH, OTH, OTH, OTH, OTH, OTH,  # 28 - 2F
-    OTH, OTH, OTH, OTH, OTH, OTH, OTH, OTH,  # 30 - 37
-    OTH, OTH, OTH, OTH, OTH, OTH, OTH, OTH,  # 38 - 3F
-    OTH, ASC, ASC, ASC, ASC, ASC, ASC, ASC,  # 40 - 47
-    ASC, ASC, ASC, ASC, ASC, ASC, ASC, ASC,  # 48 - 4F
-    ASC, ASC, ASC, ASC, ASC, ASC, ASC, ASC,  # 50 - 57
-    ASC, ASC, ASC, OTH, OTH, OTH, OTH, OTH,  # 58 - 5F
-    OTH, ASS, ASS, ASS, ASS, ASS, ASS, ASS,  # 60 - 67
-    ASS, ASS, ASS, ASS, ASS, ASS, ASS, ASS,  # 68 - 6F
-    ASS, ASS, ASS, ASS, ASS, ASS, ASS, ASS,  # 70 - 77
-    ASS, ASS, ASS, OTH, OTH, OTH, OTH, OTH,  # 78 - 7F
-    ACV, ACV, ACO, ACV, ACO, ACV, ACV, ASV,  # 80 - 87
-    ASV, ASV, ASV, ASV, ASV, ASO, ASV, ASV,  # 88 - 8F
-    ASV, ASV, ASV, ASV, ASV, ASV, ASO, ASV,  # 90 - 97
-    ASV, ASV, ASV, ASV, ASV, ASV, ASV, ASV,  # 98 - 9F
-    OTH, OTH, OTH, OTH, OTH, OTH, OTH, ASO,  # A0 - A7
-    OTH, OTH, ODD, ODD, OTH, OTH, ACV, ACV,  # A8 - AF
-    OTH, OTH, OTH, OTH, OTH, OTH, OTH, OTH,  # B0 - B7
-    OTH, OTH, OTH, OTH, OTH, OTH, ASV, ASV,  # B8 - BF
-    OTH, OTH, ODD, OTH, ODD, OTH, OTH, OTH,  # C0 - C7
-    OTH, OTH, OTH, ACV, ACV, ACV, ACV, ASV,  # C8 - CF
-    OTH, OTH, OTH, OTH, OTH, OTH, OTH, ODD,  # D0 - D7
-    ASV, ACV, ODD, OTH, OTH, OTH, OTH, OTH,  # D8 - DF
-    OTH, OTH, OTH, OTH, OTH, ACV, ACV, ACV,  # E0 - E7
-    ACV, ACV, ACV, ACV, ACV, ACV, ACV, ACV,  # E8 - EF
-    ODD, ACV, ACV, ACV, ACV, ASV, ODD, ODD,  # F0 - F7
-    ODD, ODD, ODD, ODD, ODD, ODD, ODD, ODD,  # F8 - FF
-)
-
-# 0 : illegal
-# 1 : very unlikely
-# 2 : normal
-# 3 : very likely
-MacRomanClassModel = (
-# UDF OTH ASC ASS ACV ACO ASV ASO ODD
-    0,  0,  0,  0,  0,  0,  0,  0,  0,  # UDF
-    0,  3,  3,  3,  3,  3,  3,  3,  1,  # OTH
-    0,  3,  3,  3,  3,  3,  3,  3,  1,  # ASC
-    0,  3,  3,  3,  1,  1,  3,  3,  1,  # ASS
-    0,  3,  3,  3,  1,  2,  1,  2,  1,  # ACV
-    0,  3,  3,  3,  3,  3,  3,  3,  1,  # ACO
-    0,  3,  1,  3,  1,  1,  1,  3,  1,  # ASV
-    0,  3,  1,  3,  1,  1,  3,  3,  1,  # ASO
-    0,  1,  1,  1,  1,  1,  1,  1,  1,  # ODD
-)
-# fmt: on
-
-
-class MacRomanProber(CharSetProber):
-    def __init__(self) -> None:
-        super().__init__()
-        self._last_char_class = OTH
-        self._freq_counter: List[int] = []
-        self.reset()
-
-    def reset(self) -> None:
-        self._last_char_class = OTH
-        self._freq_counter = [0] * FREQ_CAT_NUM
-
-        # express the prior that MacRoman is a somewhat rare encoding;
-        # this can be done by starting out in a slightly improbable state
-        # that must be overcome
-        self._freq_counter[2] = 10
-
-        super().reset()
-
-    @property
-    def charset_name(self) -> str:
-        return "MacRoman"
-
-    @property
-    def language(self) -> str:
-        return ""
-
-    def feed(self, byte_str: Union[bytes, bytearray]) -> ProbingState:
-        byte_str = self.remove_xml_tags(byte_str)
-        for c in byte_str:
-            char_class = MacRoman_CharToClass[c]
-            freq = MacRomanClassModel[(self._last_char_class * CLASS_NUM) + char_class]
-            if freq == 0:
-                self._state = ProbingState.NOT_ME
-                break
-            self._freq_counter[freq] += 1
-            self._last_char_class = char_class
-
-        return self.state
-
-    def get_confidence(self) -> float:
-        if self.state == ProbingState.NOT_ME:
-            return 0.01
-
-        total = sum(self._freq_counter)
-        confidence = (
-            0.0
-            if total < 0.01
-            else (self._freq_counter[3] - self._freq_counter[1] * 20.0) / total
-        )
-        confidence = max(confidence, 0.0)
-        # lower the confidence of MacRoman so that other more accurate
-        # detector can take priority.
-        confidence *= 0.73
-        return confidence
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/mbcharsetprober.py b/.venv/Lib/site-packages/pip/_vendor/chardet/mbcharsetprober.py
deleted file mode 100644
index 666307e..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/mbcharsetprober.py
+++ /dev/null
@@ -1,95 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is Mozilla Universal charset detector code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 2001
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#   Shy Shalom - original C code
-#   Proofpoint, Inc.
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-from typing import Optional, Union
-
-from .chardistribution import CharDistributionAnalysis
-from .charsetprober import CharSetProber
-from .codingstatemachine import CodingStateMachine
-from .enums import LanguageFilter, MachineState, ProbingState
-
-
-class MultiByteCharSetProber(CharSetProber):
-    """
-    MultiByteCharSetProber
-    """
-
-    def __init__(self, lang_filter: LanguageFilter = LanguageFilter.NONE) -> None:
-        super().__init__(lang_filter=lang_filter)
-        self.distribution_analyzer: Optional[CharDistributionAnalysis] = None
-        self.coding_sm: Optional[CodingStateMachine] = None
-        self._last_char = bytearray(b"\0\0")
-
-    def reset(self) -> None:
-        super().reset()
-        if self.coding_sm:
-            self.coding_sm.reset()
-        if self.distribution_analyzer:
-            self.distribution_analyzer.reset()
-        self._last_char = bytearray(b"\0\0")
-
-    def feed(self, byte_str: Union[bytes, bytearray]) -> ProbingState:
-        assert self.coding_sm is not None
-        assert self.distribution_analyzer is not None
-
-        for i, byte in enumerate(byte_str):
-            coding_state = self.coding_sm.next_state(byte)
-            if coding_state == MachineState.ERROR:
-                self.logger.debug(
-                    "%s %s prober hit error at byte %s",
-                    self.charset_name,
-                    self.language,
-                    i,
-                )
-                self._state = ProbingState.NOT_ME
-                break
-            if coding_state == MachineState.ITS_ME:
-                self._state = ProbingState.FOUND_IT
-                break
-            if coding_state == MachineState.START:
-                char_len = self.coding_sm.get_current_charlen()
-                if i == 0:
-                    self._last_char[1] = byte
-                    self.distribution_analyzer.feed(self._last_char, char_len)
-                else:
-                    self.distribution_analyzer.feed(byte_str[i - 1 : i + 1], char_len)
-
-        self._last_char[0] = byte_str[-1]
-
-        if self.state == ProbingState.DETECTING:
-            if self.distribution_analyzer.got_enough_data() and (
-                self.get_confidence() > self.SHORTCUT_THRESHOLD
-            ):
-                self._state = ProbingState.FOUND_IT
-
-        return self.state
-
-    def get_confidence(self) -> float:
-        assert self.distribution_analyzer is not None
-        return self.distribution_analyzer.get_confidence()
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/mbcsgroupprober.py b/.venv/Lib/site-packages/pip/_vendor/chardet/mbcsgroupprober.py
deleted file mode 100644
index 6cb9cc7..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/mbcsgroupprober.py
+++ /dev/null
@@ -1,57 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is Mozilla Universal charset detector code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 2001
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#   Shy Shalom - original C code
-#   Proofpoint, Inc.
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-from .big5prober import Big5Prober
-from .charsetgroupprober import CharSetGroupProber
-from .cp949prober import CP949Prober
-from .enums import LanguageFilter
-from .eucjpprober import EUCJPProber
-from .euckrprober import EUCKRProber
-from .euctwprober import EUCTWProber
-from .gb2312prober import GB2312Prober
-from .johabprober import JOHABProber
-from .sjisprober import SJISProber
-from .utf8prober import UTF8Prober
-
-
-class MBCSGroupProber(CharSetGroupProber):
-    def __init__(self, lang_filter: LanguageFilter = LanguageFilter.NONE) -> None:
-        super().__init__(lang_filter=lang_filter)
-        self.probers = [
-            UTF8Prober(),
-            SJISProber(),
-            EUCJPProber(),
-            GB2312Prober(),
-            EUCKRProber(),
-            CP949Prober(),
-            Big5Prober(),
-            EUCTWProber(),
-            JOHABProber(),
-        ]
-        self.reset()
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/mbcssm.py b/.venv/Lib/site-packages/pip/_vendor/chardet/mbcssm.py
deleted file mode 100644
index 7bbe97e..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/mbcssm.py
+++ /dev/null
@@ -1,661 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is mozilla.org code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-from .codingstatemachinedict import CodingStateMachineDict
-from .enums import MachineState
-
-# BIG5
-
-# fmt: off
-BIG5_CLS = (
-    1, 1, 1, 1, 1, 1, 1, 1,  # 00 - 07    #allow 0x00 as legal value
-    1, 1, 1, 1, 1, 1, 0, 0,  # 08 - 0f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 10 - 17
-    1, 1, 1, 0, 1, 1, 1, 1,  # 18 - 1f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 20 - 27
-    1, 1, 1, 1, 1, 1, 1, 1,  # 28 - 2f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 30 - 37
-    1, 1, 1, 1, 1, 1, 1, 1,  # 38 - 3f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 40 - 47
-    2, 2, 2, 2, 2, 2, 2, 2,  # 48 - 4f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 50 - 57
-    2, 2, 2, 2, 2, 2, 2, 2,  # 58 - 5f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 60 - 67
-    2, 2, 2, 2, 2, 2, 2, 2,  # 68 - 6f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 70 - 77
-    2, 2, 2, 2, 2, 2, 2, 1,  # 78 - 7f
-    4, 4, 4, 4, 4, 4, 4, 4,  # 80 - 87
-    4, 4, 4, 4, 4, 4, 4, 4,  # 88 - 8f
-    4, 4, 4, 4, 4, 4, 4, 4,  # 90 - 97
-    4, 4, 4, 4, 4, 4, 4, 4,  # 98 - 9f
-    4, 3, 3, 3, 3, 3, 3, 3,  # a0 - a7
-    3, 3, 3, 3, 3, 3, 3, 3,  # a8 - af
-    3, 3, 3, 3, 3, 3, 3, 3,  # b0 - b7
-    3, 3, 3, 3, 3, 3, 3, 3,  # b8 - bf
-    3, 3, 3, 3, 3, 3, 3, 3,  # c0 - c7
-    3, 3, 3, 3, 3, 3, 3, 3,  # c8 - cf
-    3, 3, 3, 3, 3, 3, 3, 3,  # d0 - d7
-    3, 3, 3, 3, 3, 3, 3, 3,  # d8 - df
-    3, 3, 3, 3, 3, 3, 3, 3,  # e0 - e7
-    3, 3, 3, 3, 3, 3, 3, 3,  # e8 - ef
-    3, 3, 3, 3, 3, 3, 3, 3,  # f0 - f7
-    3, 3, 3, 3, 3, 3, 3, 0  # f8 - ff
-)
-
-BIG5_ST = (
-    MachineState.ERROR,MachineState.START,MachineState.START,     3,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,#00-07
-    MachineState.ERROR,MachineState.ERROR,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ERROR,#08-0f
-    MachineState.ERROR,MachineState.START,MachineState.START,MachineState.START,MachineState.START,MachineState.START,MachineState.START,MachineState.START#10-17
-)
-# fmt: on
-
-BIG5_CHAR_LEN_TABLE = (0, 1, 1, 2, 0)
-
-BIG5_SM_MODEL: CodingStateMachineDict = {
-    "class_table": BIG5_CLS,
-    "class_factor": 5,
-    "state_table": BIG5_ST,
-    "char_len_table": BIG5_CHAR_LEN_TABLE,
-    "name": "Big5",
-}
-
-# CP949
-# fmt: off
-CP949_CLS  = (
-    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0,  # 00 - 0f
-    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1,  # 10 - 1f
-    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  # 20 - 2f
-    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  # 30 - 3f
-    1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,  # 40 - 4f
-    4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 1, 1, 1, 1, 1,  # 50 - 5f
-    1, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,  # 60 - 6f
-    5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 1, 1, 1, 1, 1,  # 70 - 7f
-    0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,  # 80 - 8f
-    6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,  # 90 - 9f
-    6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8,  # a0 - af
-    7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,  # b0 - bf
-    7, 7, 7, 7, 7, 7, 9, 2, 2, 3, 2, 2, 2, 2, 2, 2,  # c0 - cf
-    2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,  # d0 - df
-    2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,  # e0 - ef
-    2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0,  # f0 - ff
-)
-
-CP949_ST = (
-#cls=    0      1      2      3      4      5      6      7      8      9  # previous state =
-    MachineState.ERROR,MachineState.START,     3,MachineState.ERROR,MachineState.START,MachineState.START,     4,     5,MachineState.ERROR,     6, # MachineState.START
-    MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR, # MachineState.ERROR
-    MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME, # MachineState.ITS_ME
-    MachineState.ERROR,MachineState.ERROR,MachineState.START,MachineState.START,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.START,MachineState.START,MachineState.START, # 3
-    MachineState.ERROR,MachineState.ERROR,MachineState.START,MachineState.START,MachineState.START,MachineState.START,MachineState.START,MachineState.START,MachineState.START,MachineState.START, # 4
-    MachineState.ERROR,MachineState.START,MachineState.START,MachineState.START,MachineState.START,MachineState.START,MachineState.START,MachineState.START,MachineState.START,MachineState.START, # 5
-    MachineState.ERROR,MachineState.START,MachineState.START,MachineState.START,MachineState.START,MachineState.ERROR,MachineState.ERROR,MachineState.START,MachineState.START,MachineState.START, # 6
-)
-# fmt: on
-
-CP949_CHAR_LEN_TABLE = (0, 1, 2, 0, 1, 1, 2, 2, 0, 2)
-
-CP949_SM_MODEL: CodingStateMachineDict = {
-    "class_table": CP949_CLS,
-    "class_factor": 10,
-    "state_table": CP949_ST,
-    "char_len_table": CP949_CHAR_LEN_TABLE,
-    "name": "CP949",
-}
-
-# EUC-JP
-# fmt: off
-EUCJP_CLS = (
-    4, 4, 4, 4, 4, 4, 4, 4,  # 00 - 07
-    4, 4, 4, 4, 4, 4, 5, 5,  # 08 - 0f
-    4, 4, 4, 4, 4, 4, 4, 4,  # 10 - 17
-    4, 4, 4, 5, 4, 4, 4, 4,  # 18 - 1f
-    4, 4, 4, 4, 4, 4, 4, 4,  # 20 - 27
-    4, 4, 4, 4, 4, 4, 4, 4,  # 28 - 2f
-    4, 4, 4, 4, 4, 4, 4, 4,  # 30 - 37
-    4, 4, 4, 4, 4, 4, 4, 4,  # 38 - 3f
-    4, 4, 4, 4, 4, 4, 4, 4,  # 40 - 47
-    4, 4, 4, 4, 4, 4, 4, 4,  # 48 - 4f
-    4, 4, 4, 4, 4, 4, 4, 4,  # 50 - 57
-    4, 4, 4, 4, 4, 4, 4, 4,  # 58 - 5f
-    4, 4, 4, 4, 4, 4, 4, 4,  # 60 - 67
-    4, 4, 4, 4, 4, 4, 4, 4,  # 68 - 6f
-    4, 4, 4, 4, 4, 4, 4, 4,  # 70 - 77
-    4, 4, 4, 4, 4, 4, 4, 4,  # 78 - 7f
-    5, 5, 5, 5, 5, 5, 5, 5,  # 80 - 87
-    5, 5, 5, 5, 5, 5, 1, 3,  # 88 - 8f
-    5, 5, 5, 5, 5, 5, 5, 5,  # 90 - 97
-    5, 5, 5, 5, 5, 5, 5, 5,  # 98 - 9f
-    5, 2, 2, 2, 2, 2, 2, 2,  # a0 - a7
-    2, 2, 2, 2, 2, 2, 2, 2,  # a8 - af
-    2, 2, 2, 2, 2, 2, 2, 2,  # b0 - b7
-    2, 2, 2, 2, 2, 2, 2, 2,  # b8 - bf
-    2, 2, 2, 2, 2, 2, 2, 2,  # c0 - c7
-    2, 2, 2, 2, 2, 2, 2, 2,  # c8 - cf
-    2, 2, 2, 2, 2, 2, 2, 2,  # d0 - d7
-    2, 2, 2, 2, 2, 2, 2, 2,  # d8 - df
-    0, 0, 0, 0, 0, 0, 0, 0,  # e0 - e7
-    0, 0, 0, 0, 0, 0, 0, 0,  # e8 - ef
-    0, 0, 0, 0, 0, 0, 0, 0,  # f0 - f7
-    0, 0, 0, 0, 0, 0, 0, 5  # f8 - ff
-)
-
-EUCJP_ST = (
-          3,     4,     3,     5,MachineState.START,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,#00-07
-     MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,#08-0f
-     MachineState.ITS_ME,MachineState.ITS_ME,MachineState.START,MachineState.ERROR,MachineState.START,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,#10-17
-     MachineState.ERROR,MachineState.ERROR,MachineState.START,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,     3,MachineState.ERROR,#18-1f
-          3,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.START,MachineState.START,MachineState.START,MachineState.START#20-27
-)
-# fmt: on
-
-EUCJP_CHAR_LEN_TABLE = (2, 2, 2, 3, 1, 0)
-
-EUCJP_SM_MODEL: CodingStateMachineDict = {
-    "class_table": EUCJP_CLS,
-    "class_factor": 6,
-    "state_table": EUCJP_ST,
-    "char_len_table": EUCJP_CHAR_LEN_TABLE,
-    "name": "EUC-JP",
-}
-
-# EUC-KR
-# fmt: off
-EUCKR_CLS  = (
-    1, 1, 1, 1, 1, 1, 1, 1,  # 00 - 07
-    1, 1, 1, 1, 1, 1, 0, 0,  # 08 - 0f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 10 - 17
-    1, 1, 1, 0, 1, 1, 1, 1,  # 18 - 1f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 20 - 27
-    1, 1, 1, 1, 1, 1, 1, 1,  # 28 - 2f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 30 - 37
-    1, 1, 1, 1, 1, 1, 1, 1,  # 38 - 3f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 40 - 47
-    1, 1, 1, 1, 1, 1, 1, 1,  # 48 - 4f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 50 - 57
-    1, 1, 1, 1, 1, 1, 1, 1,  # 58 - 5f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 60 - 67
-    1, 1, 1, 1, 1, 1, 1, 1,  # 68 - 6f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 70 - 77
-    1, 1, 1, 1, 1, 1, 1, 1,  # 78 - 7f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 80 - 87
-    0, 0, 0, 0, 0, 0, 0, 0,  # 88 - 8f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 90 - 97
-    0, 0, 0, 0, 0, 0, 0, 0,  # 98 - 9f
-    0, 2, 2, 2, 2, 2, 2, 2,  # a0 - a7
-    2, 2, 2, 2, 2, 3, 3, 3,  # a8 - af
-    2, 2, 2, 2, 2, 2, 2, 2,  # b0 - b7
-    2, 2, 2, 2, 2, 2, 2, 2,  # b8 - bf
-    2, 2, 2, 2, 2, 2, 2, 2,  # c0 - c7
-    2, 3, 2, 2, 2, 2, 2, 2,  # c8 - cf
-    2, 2, 2, 2, 2, 2, 2, 2,  # d0 - d7
-    2, 2, 2, 2, 2, 2, 2, 2,  # d8 - df
-    2, 2, 2, 2, 2, 2, 2, 2,  # e0 - e7
-    2, 2, 2, 2, 2, 2, 2, 2,  # e8 - ef
-    2, 2, 2, 2, 2, 2, 2, 2,  # f0 - f7
-    2, 2, 2, 2, 2, 2, 2, 0   # f8 - ff
-)
-
-EUCKR_ST = (
-    MachineState.ERROR,MachineState.START,     3,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,#00-07
-    MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ERROR,MachineState.ERROR,MachineState.START,MachineState.START #08-0f
-)
-# fmt: on
-
-EUCKR_CHAR_LEN_TABLE = (0, 1, 2, 0)
-
-EUCKR_SM_MODEL: CodingStateMachineDict = {
-    "class_table": EUCKR_CLS,
-    "class_factor": 4,
-    "state_table": EUCKR_ST,
-    "char_len_table": EUCKR_CHAR_LEN_TABLE,
-    "name": "EUC-KR",
-}
-
-# JOHAB
-# fmt: off
-JOHAB_CLS = (
-    4,4,4,4,4,4,4,4,  # 00 - 07
-    4,4,4,4,4,4,0,0,  # 08 - 0f
-    4,4,4,4,4,4,4,4,  # 10 - 17
-    4,4,4,0,4,4,4,4,  # 18 - 1f
-    4,4,4,4,4,4,4,4,  # 20 - 27
-    4,4,4,4,4,4,4,4,  # 28 - 2f
-    4,3,3,3,3,3,3,3,  # 30 - 37
-    3,3,3,3,3,3,3,3,  # 38 - 3f
-    3,1,1,1,1,1,1,1,  # 40 - 47
-    1,1,1,1,1,1,1,1,  # 48 - 4f
-    1,1,1,1,1,1,1,1,  # 50 - 57
-    1,1,1,1,1,1,1,1,  # 58 - 5f
-    1,1,1,1,1,1,1,1,  # 60 - 67
-    1,1,1,1,1,1,1,1,  # 68 - 6f
-    1,1,1,1,1,1,1,1,  # 70 - 77
-    1,1,1,1,1,1,1,2,  # 78 - 7f
-    6,6,6,6,8,8,8,8,  # 80 - 87
-    8,8,8,8,8,8,8,8,  # 88 - 8f
-    8,7,7,7,7,7,7,7,  # 90 - 97
-    7,7,7,7,7,7,7,7,  # 98 - 9f
-    7,7,7,7,7,7,7,7,  # a0 - a7
-    7,7,7,7,7,7,7,7,  # a8 - af
-    7,7,7,7,7,7,7,7,  # b0 - b7
-    7,7,7,7,7,7,7,7,  # b8 - bf
-    7,7,7,7,7,7,7,7,  # c0 - c7
-    7,7,7,7,7,7,7,7,  # c8 - cf
-    7,7,7,7,5,5,5,5,  # d0 - d7
-    5,9,9,9,9,9,9,5,  # d8 - df
-    9,9,9,9,9,9,9,9,  # e0 - e7
-    9,9,9,9,9,9,9,9,  # e8 - ef
-    9,9,9,9,9,9,9,9,  # f0 - f7
-    9,9,5,5,5,5,5,0   # f8 - ff
-)
-
-JOHAB_ST = (
-# cls = 0                   1                   2                   3                   4                   5                   6                   7                   8                   9
-    MachineState.ERROR ,MachineState.START ,MachineState.START ,MachineState.START ,MachineState.START ,MachineState.ERROR ,MachineState.ERROR ,3                  ,3                  ,4                  ,  # MachineState.START
-    MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,  # MachineState.ITS_ME
-    MachineState.ERROR ,MachineState.ERROR ,MachineState.ERROR ,MachineState.ERROR ,MachineState.ERROR ,MachineState.ERROR ,MachineState.ERROR ,MachineState.ERROR ,MachineState.ERROR ,MachineState.ERROR ,  # MachineState.ERROR
-    MachineState.ERROR ,MachineState.START ,MachineState.START ,MachineState.ERROR ,MachineState.ERROR ,MachineState.START ,MachineState.START ,MachineState.START ,MachineState.START ,MachineState.START ,  # 3
-    MachineState.ERROR ,MachineState.START ,MachineState.ERROR ,MachineState.START ,MachineState.ERROR ,MachineState.START ,MachineState.ERROR ,MachineState.START ,MachineState.ERROR ,MachineState.START ,  # 4
-)
-# fmt: on
-
-JOHAB_CHAR_LEN_TABLE = (0, 1, 1, 1, 1, 0, 0, 2, 2, 2)
-
-JOHAB_SM_MODEL: CodingStateMachineDict = {
-    "class_table": JOHAB_CLS,
-    "class_factor": 10,
-    "state_table": JOHAB_ST,
-    "char_len_table": JOHAB_CHAR_LEN_TABLE,
-    "name": "Johab",
-}
-
-# EUC-TW
-# fmt: off
-EUCTW_CLS = (
-    2, 2, 2, 2, 2, 2, 2, 2,  # 00 - 07
-    2, 2, 2, 2, 2, 2, 0, 0,  # 08 - 0f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 10 - 17
-    2, 2, 2, 0, 2, 2, 2, 2,  # 18 - 1f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 20 - 27
-    2, 2, 2, 2, 2, 2, 2, 2,  # 28 - 2f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 30 - 37
-    2, 2, 2, 2, 2, 2, 2, 2,  # 38 - 3f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 40 - 47
-    2, 2, 2, 2, 2, 2, 2, 2,  # 48 - 4f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 50 - 57
-    2, 2, 2, 2, 2, 2, 2, 2,  # 58 - 5f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 60 - 67
-    2, 2, 2, 2, 2, 2, 2, 2,  # 68 - 6f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 70 - 77
-    2, 2, 2, 2, 2, 2, 2, 2,  # 78 - 7f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 80 - 87
-    0, 0, 0, 0, 0, 0, 6, 0,  # 88 - 8f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 90 - 97
-    0, 0, 0, 0, 0, 0, 0, 0,  # 98 - 9f
-    0, 3, 4, 4, 4, 4, 4, 4,  # a0 - a7
-    5, 5, 1, 1, 1, 1, 1, 1,  # a8 - af
-    1, 1, 1, 1, 1, 1, 1, 1,  # b0 - b7
-    1, 1, 1, 1, 1, 1, 1, 1,  # b8 - bf
-    1, 1, 3, 1, 3, 3, 3, 3,  # c0 - c7
-    3, 3, 3, 3, 3, 3, 3, 3,  # c8 - cf
-    3, 3, 3, 3, 3, 3, 3, 3,  # d0 - d7
-    3, 3, 3, 3, 3, 3, 3, 3,  # d8 - df
-    3, 3, 3, 3, 3, 3, 3, 3,  # e0 - e7
-    3, 3, 3, 3, 3, 3, 3, 3,  # e8 - ef
-    3, 3, 3, 3, 3, 3, 3, 3,  # f0 - f7
-    3, 3, 3, 3, 3, 3, 3, 0   # f8 - ff
-)
-
-EUCTW_ST = (
-    MachineState.ERROR,MachineState.ERROR,MachineState.START,     3,     3,     3,     4,MachineState.ERROR,#00-07
-    MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ITS_ME,MachineState.ITS_ME,#08-0f
-    MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ERROR,MachineState.START,MachineState.ERROR,#10-17
-    MachineState.START,MachineState.START,MachineState.START,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,#18-1f
-         5,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.START,MachineState.ERROR,MachineState.START,MachineState.START,#20-27
-    MachineState.START,MachineState.ERROR,MachineState.START,MachineState.START,MachineState.START,MachineState.START,MachineState.START,MachineState.START #28-2f
-)
-# fmt: on
-
-EUCTW_CHAR_LEN_TABLE = (0, 0, 1, 2, 2, 2, 3)
-
-EUCTW_SM_MODEL: CodingStateMachineDict = {
-    "class_table": EUCTW_CLS,
-    "class_factor": 7,
-    "state_table": EUCTW_ST,
-    "char_len_table": EUCTW_CHAR_LEN_TABLE,
-    "name": "x-euc-tw",
-}
-
-# GB2312
-# fmt: off
-GB2312_CLS = (
-    1, 1, 1, 1, 1, 1, 1, 1,  # 00 - 07
-    1, 1, 1, 1, 1, 1, 0, 0,  # 08 - 0f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 10 - 17
-    1, 1, 1, 0, 1, 1, 1, 1,  # 18 - 1f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 20 - 27
-    1, 1, 1, 1, 1, 1, 1, 1,  # 28 - 2f
-    3, 3, 3, 3, 3, 3, 3, 3,  # 30 - 37
-    3, 3, 1, 1, 1, 1, 1, 1,  # 38 - 3f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 40 - 47
-    2, 2, 2, 2, 2, 2, 2, 2,  # 48 - 4f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 50 - 57
-    2, 2, 2, 2, 2, 2, 2, 2,  # 58 - 5f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 60 - 67
-    2, 2, 2, 2, 2, 2, 2, 2,  # 68 - 6f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 70 - 77
-    2, 2, 2, 2, 2, 2, 2, 4,  # 78 - 7f
-    5, 6, 6, 6, 6, 6, 6, 6,  # 80 - 87
-    6, 6, 6, 6, 6, 6, 6, 6,  # 88 - 8f
-    6, 6, 6, 6, 6, 6, 6, 6,  # 90 - 97
-    6, 6, 6, 6, 6, 6, 6, 6,  # 98 - 9f
-    6, 6, 6, 6, 6, 6, 6, 6,  # a0 - a7
-    6, 6, 6, 6, 6, 6, 6, 6,  # a8 - af
-    6, 6, 6, 6, 6, 6, 6, 6,  # b0 - b7
-    6, 6, 6, 6, 6, 6, 6, 6,  # b8 - bf
-    6, 6, 6, 6, 6, 6, 6, 6,  # c0 - c7
-    6, 6, 6, 6, 6, 6, 6, 6,  # c8 - cf
-    6, 6, 6, 6, 6, 6, 6, 6,  # d0 - d7
-    6, 6, 6, 6, 6, 6, 6, 6,  # d8 - df
-    6, 6, 6, 6, 6, 6, 6, 6,  # e0 - e7
-    6, 6, 6, 6, 6, 6, 6, 6,  # e8 - ef
-    6, 6, 6, 6, 6, 6, 6, 6,  # f0 - f7
-    6, 6, 6, 6, 6, 6, 6, 0   # f8 - ff
-)
-
-GB2312_ST = (
-    MachineState.ERROR,MachineState.START,MachineState.START,MachineState.START,MachineState.START,MachineState.START,     3,MachineState.ERROR,#00-07
-    MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ITS_ME,MachineState.ITS_ME,#08-0f
-    MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ERROR,MachineState.ERROR,MachineState.START,#10-17
-         4,MachineState.ERROR,MachineState.START,MachineState.START,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,#18-1f
-    MachineState.ERROR,MachineState.ERROR,     5,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ITS_ME,MachineState.ERROR,#20-27
-    MachineState.ERROR,MachineState.ERROR,MachineState.START,MachineState.START,MachineState.START,MachineState.START,MachineState.START,MachineState.START #28-2f
-)
-# fmt: on
-
-# To be accurate, the length of class 6 can be either 2 or 4.
-# But it is not necessary to discriminate between the two since
-# it is used for frequency analysis only, and we are validating
-# each code range there as well. So it is safe to set it to be
-# 2 here.
-GB2312_CHAR_LEN_TABLE = (0, 1, 1, 1, 1, 1, 2)
-
-GB2312_SM_MODEL: CodingStateMachineDict = {
-    "class_table": GB2312_CLS,
-    "class_factor": 7,
-    "state_table": GB2312_ST,
-    "char_len_table": GB2312_CHAR_LEN_TABLE,
-    "name": "GB2312",
-}
-
-# Shift_JIS
-# fmt: off
-SJIS_CLS = (
-    1, 1, 1, 1, 1, 1, 1, 1,  # 00 - 07
-    1, 1, 1, 1, 1, 1, 0, 0,  # 08 - 0f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 10 - 17
-    1, 1, 1, 0, 1, 1, 1, 1,  # 18 - 1f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 20 - 27
-    1, 1, 1, 1, 1, 1, 1, 1,  # 28 - 2f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 30 - 37
-    1, 1, 1, 1, 1, 1, 1, 1,  # 38 - 3f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 40 - 47
-    2, 2, 2, 2, 2, 2, 2, 2,  # 48 - 4f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 50 - 57
-    2, 2, 2, 2, 2, 2, 2, 2,  # 58 - 5f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 60 - 67
-    2, 2, 2, 2, 2, 2, 2, 2,  # 68 - 6f
-    2, 2, 2, 2, 2, 2, 2, 2,  # 70 - 77
-    2, 2, 2, 2, 2, 2, 2, 1,  # 78 - 7f
-    3, 3, 3, 3, 3, 2, 2, 3,  # 80 - 87
-    3, 3, 3, 3, 3, 3, 3, 3,  # 88 - 8f
-    3, 3, 3, 3, 3, 3, 3, 3,  # 90 - 97
-    3, 3, 3, 3, 3, 3, 3, 3,  # 98 - 9f
-    #0xa0 is illegal in sjis encoding, but some pages does
-    #contain such byte. We need to be more error forgiven.
-    2, 2, 2, 2, 2, 2, 2, 2,  # a0 - a7
-    2, 2, 2, 2, 2, 2, 2, 2,  # a8 - af
-    2, 2, 2, 2, 2, 2, 2, 2,  # b0 - b7
-    2, 2, 2, 2, 2, 2, 2, 2,  # b8 - bf
-    2, 2, 2, 2, 2, 2, 2, 2,  # c0 - c7
-    2, 2, 2, 2, 2, 2, 2, 2,  # c8 - cf
-    2, 2, 2, 2, 2, 2, 2, 2,  # d0 - d7
-    2, 2, 2, 2, 2, 2, 2, 2,  # d8 - df
-    3, 3, 3, 3, 3, 3, 3, 3,  # e0 - e7
-    3, 3, 3, 3, 3, 4, 4, 4,  # e8 - ef
-    3, 3, 3, 3, 3, 3, 3, 3,  # f0 - f7
-    3, 3, 3, 3, 3, 0, 0, 0,  # f8 - ff
-)
-
-SJIS_ST = (
-    MachineState.ERROR,MachineState.START,MachineState.START,     3,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,#00-07
-    MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,#08-0f
-    MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ERROR,MachineState.ERROR,MachineState.START,MachineState.START,MachineState.START,MachineState.START #10-17
-)
-# fmt: on
-
-SJIS_CHAR_LEN_TABLE = (0, 1, 1, 2, 0, 0)
-
-SJIS_SM_MODEL: CodingStateMachineDict = {
-    "class_table": SJIS_CLS,
-    "class_factor": 6,
-    "state_table": SJIS_ST,
-    "char_len_table": SJIS_CHAR_LEN_TABLE,
-    "name": "Shift_JIS",
-}
-
-# UCS2-BE
-# fmt: off
-UCS2BE_CLS = (
-    0, 0, 0, 0, 0, 0, 0, 0,  # 00 - 07
-    0, 0, 1, 0, 0, 2, 0, 0,  # 08 - 0f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 10 - 17
-    0, 0, 0, 3, 0, 0, 0, 0,  # 18 - 1f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 20 - 27
-    0, 3, 3, 3, 3, 3, 0, 0,  # 28 - 2f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 30 - 37
-    0, 0, 0, 0, 0, 0, 0, 0,  # 38 - 3f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 40 - 47
-    0, 0, 0, 0, 0, 0, 0, 0,  # 48 - 4f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 50 - 57
-    0, 0, 0, 0, 0, 0, 0, 0,  # 58 - 5f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 60 - 67
-    0, 0, 0, 0, 0, 0, 0, 0,  # 68 - 6f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 70 - 77
-    0, 0, 0, 0, 0, 0, 0, 0,  # 78 - 7f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 80 - 87
-    0, 0, 0, 0, 0, 0, 0, 0,  # 88 - 8f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 90 - 97
-    0, 0, 0, 0, 0, 0, 0, 0,  # 98 - 9f
-    0, 0, 0, 0, 0, 0, 0, 0,  # a0 - a7
-    0, 0, 0, 0, 0, 0, 0, 0,  # a8 - af
-    0, 0, 0, 0, 0, 0, 0, 0,  # b0 - b7
-    0, 0, 0, 0, 0, 0, 0, 0,  # b8 - bf
-    0, 0, 0, 0, 0, 0, 0, 0,  # c0 - c7
-    0, 0, 0, 0, 0, 0, 0, 0,  # c8 - cf
-    0, 0, 0, 0, 0, 0, 0, 0,  # d0 - d7
-    0, 0, 0, 0, 0, 0, 0, 0,  # d8 - df
-    0, 0, 0, 0, 0, 0, 0, 0,  # e0 - e7
-    0, 0, 0, 0, 0, 0, 0, 0,  # e8 - ef
-    0, 0, 0, 0, 0, 0, 0, 0,  # f0 - f7
-    0, 0, 0, 0, 0, 0, 4, 5   # f8 - ff
-)
-
-UCS2BE_ST  = (
-          5,     7,     7,MachineState.ERROR,     4,     3,MachineState.ERROR,MachineState.ERROR,#00-07
-     MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,#08-0f
-     MachineState.ITS_ME,MachineState.ITS_ME,     6,     6,     6,     6,MachineState.ERROR,MachineState.ERROR,#10-17
-          6,     6,     6,     6,     6,MachineState.ITS_ME,     6,     6,#18-1f
-          6,     6,     6,     6,     5,     7,     7,MachineState.ERROR,#20-27
-          5,     8,     6,     6,MachineState.ERROR,     6,     6,     6,#28-2f
-          6,     6,     6,     6,MachineState.ERROR,MachineState.ERROR,MachineState.START,MachineState.START #30-37
-)
-# fmt: on
-
-UCS2BE_CHAR_LEN_TABLE = (2, 2, 2, 0, 2, 2)
-
-UCS2BE_SM_MODEL: CodingStateMachineDict = {
-    "class_table": UCS2BE_CLS,
-    "class_factor": 6,
-    "state_table": UCS2BE_ST,
-    "char_len_table": UCS2BE_CHAR_LEN_TABLE,
-    "name": "UTF-16BE",
-}
-
-# UCS2-LE
-# fmt: off
-UCS2LE_CLS = (
-    0, 0, 0, 0, 0, 0, 0, 0,  # 00 - 07
-    0, 0, 1, 0, 0, 2, 0, 0,  # 08 - 0f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 10 - 17
-    0, 0, 0, 3, 0, 0, 0, 0,  # 18 - 1f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 20 - 27
-    0, 3, 3, 3, 3, 3, 0, 0,  # 28 - 2f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 30 - 37
-    0, 0, 0, 0, 0, 0, 0, 0,  # 38 - 3f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 40 - 47
-    0, 0, 0, 0, 0, 0, 0, 0,  # 48 - 4f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 50 - 57
-    0, 0, 0, 0, 0, 0, 0, 0,  # 58 - 5f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 60 - 67
-    0, 0, 0, 0, 0, 0, 0, 0,  # 68 - 6f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 70 - 77
-    0, 0, 0, 0, 0, 0, 0, 0,  # 78 - 7f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 80 - 87
-    0, 0, 0, 0, 0, 0, 0, 0,  # 88 - 8f
-    0, 0, 0, 0, 0, 0, 0, 0,  # 90 - 97
-    0, 0, 0, 0, 0, 0, 0, 0,  # 98 - 9f
-    0, 0, 0, 0, 0, 0, 0, 0,  # a0 - a7
-    0, 0, 0, 0, 0, 0, 0, 0,  # a8 - af
-    0, 0, 0, 0, 0, 0, 0, 0,  # b0 - b7
-    0, 0, 0, 0, 0, 0, 0, 0,  # b8 - bf
-    0, 0, 0, 0, 0, 0, 0, 0,  # c0 - c7
-    0, 0, 0, 0, 0, 0, 0, 0,  # c8 - cf
-    0, 0, 0, 0, 0, 0, 0, 0,  # d0 - d7
-    0, 0, 0, 0, 0, 0, 0, 0,  # d8 - df
-    0, 0, 0, 0, 0, 0, 0, 0,  # e0 - e7
-    0, 0, 0, 0, 0, 0, 0, 0,  # e8 - ef
-    0, 0, 0, 0, 0, 0, 0, 0,  # f0 - f7
-    0, 0, 0, 0, 0, 0, 4, 5   # f8 - ff
-)
-
-UCS2LE_ST = (
-          6,     6,     7,     6,     4,     3,MachineState.ERROR,MachineState.ERROR,#00-07
-     MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,#08-0f
-     MachineState.ITS_ME,MachineState.ITS_ME,     5,     5,     5,MachineState.ERROR,MachineState.ITS_ME,MachineState.ERROR,#10-17
-          5,     5,     5,MachineState.ERROR,     5,MachineState.ERROR,     6,     6,#18-1f
-          7,     6,     8,     8,     5,     5,     5,MachineState.ERROR,#20-27
-          5,     5,     5,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,     5,     5,#28-2f
-          5,     5,     5,MachineState.ERROR,     5,MachineState.ERROR,MachineState.START,MachineState.START #30-37
-)
-# fmt: on
-
-UCS2LE_CHAR_LEN_TABLE = (2, 2, 2, 2, 2, 2)
-
-UCS2LE_SM_MODEL: CodingStateMachineDict = {
-    "class_table": UCS2LE_CLS,
-    "class_factor": 6,
-    "state_table": UCS2LE_ST,
-    "char_len_table": UCS2LE_CHAR_LEN_TABLE,
-    "name": "UTF-16LE",
-}
-
-# UTF-8
-# fmt: off
-UTF8_CLS = (
-    1, 1, 1, 1, 1, 1, 1, 1,  # 00 - 07  #allow 0x00 as a legal value
-    1, 1, 1, 1, 1, 1, 0, 0,  # 08 - 0f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 10 - 17
-    1, 1, 1, 0, 1, 1, 1, 1,  # 18 - 1f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 20 - 27
-    1, 1, 1, 1, 1, 1, 1, 1,  # 28 - 2f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 30 - 37
-    1, 1, 1, 1, 1, 1, 1, 1,  # 38 - 3f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 40 - 47
-    1, 1, 1, 1, 1, 1, 1, 1,  # 48 - 4f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 50 - 57
-    1, 1, 1, 1, 1, 1, 1, 1,  # 58 - 5f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 60 - 67
-    1, 1, 1, 1, 1, 1, 1, 1,  # 68 - 6f
-    1, 1, 1, 1, 1, 1, 1, 1,  # 70 - 77
-    1, 1, 1, 1, 1, 1, 1, 1,  # 78 - 7f
-    2, 2, 2, 2, 3, 3, 3, 3,  # 80 - 87
-    4, 4, 4, 4, 4, 4, 4, 4,  # 88 - 8f
-    4, 4, 4, 4, 4, 4, 4, 4,  # 90 - 97
-    4, 4, 4, 4, 4, 4, 4, 4,  # 98 - 9f
-    5, 5, 5, 5, 5, 5, 5, 5,  # a0 - a7
-    5, 5, 5, 5, 5, 5, 5, 5,  # a8 - af
-    5, 5, 5, 5, 5, 5, 5, 5,  # b0 - b7
-    5, 5, 5, 5, 5, 5, 5, 5,  # b8 - bf
-    0, 0, 6, 6, 6, 6, 6, 6,  # c0 - c7
-    6, 6, 6, 6, 6, 6, 6, 6,  # c8 - cf
-    6, 6, 6, 6, 6, 6, 6, 6,  # d0 - d7
-    6, 6, 6, 6, 6, 6, 6, 6,  # d8 - df
-    7, 8, 8, 8, 8, 8, 8, 8,  # e0 - e7
-    8, 8, 8, 8, 8, 9, 8, 8,  # e8 - ef
-    10, 11, 11, 11, 11, 11, 11, 11,  # f0 - f7
-    12, 13, 13, 13, 14, 15, 0, 0    # f8 - ff
-)
-
-UTF8_ST = (
-    MachineState.ERROR,MachineState.START,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,     12,   10,#00-07
-         9,     11,     8,     7,     6,     5,     4,    3,#08-0f
-    MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,#10-17
-    MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,#18-1f
-    MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,#20-27
-    MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,MachineState.ITS_ME,#28-2f
-    MachineState.ERROR,MachineState.ERROR,     5,     5,     5,     5,MachineState.ERROR,MachineState.ERROR,#30-37
-    MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,#38-3f
-    MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,     5,     5,     5,MachineState.ERROR,MachineState.ERROR,#40-47
-    MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,#48-4f
-    MachineState.ERROR,MachineState.ERROR,     7,     7,     7,     7,MachineState.ERROR,MachineState.ERROR,#50-57
-    MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,#58-5f
-    MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,     7,     7,MachineState.ERROR,MachineState.ERROR,#60-67
-    MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,#68-6f
-    MachineState.ERROR,MachineState.ERROR,     9,     9,     9,     9,MachineState.ERROR,MachineState.ERROR,#70-77
-    MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,#78-7f
-    MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,     9,MachineState.ERROR,MachineState.ERROR,#80-87
-    MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,#88-8f
-    MachineState.ERROR,MachineState.ERROR,    12,    12,    12,    12,MachineState.ERROR,MachineState.ERROR,#90-97
-    MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,#98-9f
-    MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,    12,MachineState.ERROR,MachineState.ERROR,#a0-a7
-    MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,#a8-af
-    MachineState.ERROR,MachineState.ERROR,    12,    12,    12,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,#b0-b7
-    MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,#b8-bf
-    MachineState.ERROR,MachineState.ERROR,MachineState.START,MachineState.START,MachineState.START,MachineState.START,MachineState.ERROR,MachineState.ERROR,#c0-c7
-    MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR,MachineState.ERROR #c8-cf
-)
-# fmt: on
-
-UTF8_CHAR_LEN_TABLE = (0, 1, 0, 0, 0, 0, 2, 3, 3, 3, 4, 4, 5, 5, 6, 6)
-
-UTF8_SM_MODEL: CodingStateMachineDict = {
-    "class_table": UTF8_CLS,
-    "class_factor": 16,
-    "state_table": UTF8_ST,
-    "char_len_table": UTF8_CHAR_LEN_TABLE,
-    "name": "UTF-8",
-}
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/metadata/__init__.py b/.venv/Lib/site-packages/pip/_vendor/chardet/metadata/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/metadata/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/metadata/__pycache__/__init__.cpython-311.pyc
deleted file mode 100644
index 386e424..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/metadata/__pycache__/__init__.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/metadata/__pycache__/languages.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/chardet/metadata/__pycache__/languages.cpython-311.pyc
deleted file mode 100644
index 9174663..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/chardet/metadata/__pycache__/languages.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/metadata/languages.py b/.venv/Lib/site-packages/pip/_vendor/chardet/metadata/languages.py
deleted file mode 100644
index eb40c5f..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/metadata/languages.py
+++ /dev/null
@@ -1,352 +0,0 @@
-"""
-Metadata about languages used by our model training code for our
-SingleByteCharSetProbers.  Could be used for other things in the future.
-
-This code is based on the language metadata from the uchardet project.
-"""
-
-from string import ascii_letters
-from typing import List, Optional
-
-# TODO: Add Ukrainian (KOI8-U)
-
-
-class Language:
-    """Metadata about a language useful for training models
-
-    :ivar name: The human name for the language, in English.
-    :type name: str
-    :ivar iso_code: 2-letter ISO 639-1 if possible, 3-letter ISO code otherwise,
-                    or use another catalog as a last resort.
-    :type iso_code: str
-    :ivar use_ascii: Whether or not ASCII letters should be included in trained
-                     models.
-    :type use_ascii: bool
-    :ivar charsets: The charsets we want to support and create data for.
-    :type charsets: list of str
-    :ivar alphabet: The characters in the language's alphabet. If `use_ascii` is
-                    `True`, you only need to add those not in the ASCII set.
-    :type alphabet: str
-    :ivar wiki_start_pages: The Wikipedia pages to start from if we're crawling
-                            Wikipedia for training data.
-    :type wiki_start_pages: list of str
-    """
-
-    def __init__(
-        self,
-        name: Optional[str] = None,
-        iso_code: Optional[str] = None,
-        use_ascii: bool = True,
-        charsets: Optional[List[str]] = None,
-        alphabet: Optional[str] = None,
-        wiki_start_pages: Optional[List[str]] = None,
-    ) -> None:
-        super().__init__()
-        self.name = name
-        self.iso_code = iso_code
-        self.use_ascii = use_ascii
-        self.charsets = charsets
-        if self.use_ascii:
-            if alphabet:
-                alphabet += ascii_letters
-            else:
-                alphabet = ascii_letters
-        elif not alphabet:
-            raise ValueError("Must supply alphabet if use_ascii is False")
-        self.alphabet = "".join(sorted(set(alphabet))) if alphabet else None
-        self.wiki_start_pages = wiki_start_pages
-
-    def __repr__(self) -> str:
-        param_str = ", ".join(
-            f"{k}={v!r}" for k, v in self.__dict__.items() if not k.startswith("_")
-        )
-        return f"{self.__class__.__name__}({param_str})"
-
-
-LANGUAGES = {
-    "Arabic": Language(
-        name="Arabic",
-        iso_code="ar",
-        use_ascii=False,
-        # We only support encodings that use isolated
-        # forms, because the current recommendation is
-        # that the rendering system handles presentation
-        # forms. This means we purposefully skip IBM864.
-        charsets=["ISO-8859-6", "WINDOWS-1256", "CP720", "CP864"],
-        alphabet="ءآأؤإئابةتثجحخدذرزسشصضطظعغػؼؽؾؿـفقكلمنهوىيًٌٍَُِّ",
-        wiki_start_pages=["الصفحة_الرئيسية"],
-    ),
-    "Belarusian": Language(
-        name="Belarusian",
-        iso_code="be",
-        use_ascii=False,
-        charsets=["ISO-8859-5", "WINDOWS-1251", "IBM866", "MacCyrillic"],
-        alphabet="АБВГДЕЁЖЗІЙКЛМНОПРСТУЎФХЦЧШЫЬЭЮЯабвгдеёжзійклмнопрстуўфхцчшыьэюяʼ",
-        wiki_start_pages=["Галоўная_старонка"],
-    ),
-    "Bulgarian": Language(
-        name="Bulgarian",
-        iso_code="bg",
-        use_ascii=False,
-        charsets=["ISO-8859-5", "WINDOWS-1251", "IBM855"],
-        alphabet="АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЬЮЯабвгдежзийклмнопрстуфхцчшщъьюя",
-        wiki_start_pages=["Начална_страница"],
-    ),
-    "Czech": Language(
-        name="Czech",
-        iso_code="cz",
-        use_ascii=True,
-        charsets=["ISO-8859-2", "WINDOWS-1250"],
-        alphabet="áčďéěíňóřšťúůýžÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ",
-        wiki_start_pages=["Hlavní_strana"],
-    ),
-    "Danish": Language(
-        name="Danish",
-        iso_code="da",
-        use_ascii=True,
-        charsets=["ISO-8859-1", "ISO-8859-15", "WINDOWS-1252", "MacRoman"],
-        alphabet="æøåÆØÅ",
-        wiki_start_pages=["Forside"],
-    ),
-    "German": Language(
-        name="German",
-        iso_code="de",
-        use_ascii=True,
-        charsets=["ISO-8859-1", "ISO-8859-15", "WINDOWS-1252", "MacRoman"],
-        alphabet="äöüßẞÄÖÜ",
-        wiki_start_pages=["Wikipedia:Hauptseite"],
-    ),
-    "Greek": Language(
-        name="Greek",
-        iso_code="el",
-        use_ascii=False,
-        charsets=["ISO-8859-7", "WINDOWS-1253"],
-        alphabet="αβγδεζηθικλμνξοπρσςτυφχψωάέήίόύώΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΣΤΥΦΧΨΩΆΈΉΊΌΎΏ",
-        wiki_start_pages=["Πύλη:Κύρια"],
-    ),
-    "English": Language(
-        name="English",
-        iso_code="en",
-        use_ascii=True,
-        charsets=["ISO-8859-1", "WINDOWS-1252", "MacRoman"],
-        wiki_start_pages=["Main_Page"],
-    ),
-    "Esperanto": Language(
-        name="Esperanto",
-        iso_code="eo",
-        # Q, W, X, and Y not used at all
-        use_ascii=False,
-        charsets=["ISO-8859-3"],
-        alphabet="abcĉdefgĝhĥijĵklmnoprsŝtuŭvzABCĈDEFGĜHĤIJĴKLMNOPRSŜTUŬVZ",
-        wiki_start_pages=["Vikipedio:Ĉefpaĝo"],
-    ),
-    "Spanish": Language(
-        name="Spanish",
-        iso_code="es",
-        use_ascii=True,
-        charsets=["ISO-8859-1", "ISO-8859-15", "WINDOWS-1252", "MacRoman"],
-        alphabet="ñáéíóúüÑÁÉÍÓÚÜ",
-        wiki_start_pages=["Wikipedia:Portada"],
-    ),
-    "Estonian": Language(
-        name="Estonian",
-        iso_code="et",
-        use_ascii=False,
-        charsets=["ISO-8859-4", "ISO-8859-13", "WINDOWS-1257"],
-        # C, F, Š, Q, W, X, Y, Z, Ž are only for
-        # loanwords
-        alphabet="ABDEGHIJKLMNOPRSTUVÕÄÖÜabdeghijklmnoprstuvõäöü",
-        wiki_start_pages=["Esileht"],
-    ),
-    "Finnish": Language(
-        name="Finnish",
-        iso_code="fi",
-        use_ascii=True,
-        charsets=["ISO-8859-1", "ISO-8859-15", "WINDOWS-1252", "MacRoman"],
-        alphabet="ÅÄÖŠŽåäöšž",
-        wiki_start_pages=["Wikipedia:Etusivu"],
-    ),
-    "French": Language(
-        name="French",
-        iso_code="fr",
-        use_ascii=True,
-        charsets=["ISO-8859-1", "ISO-8859-15", "WINDOWS-1252", "MacRoman"],
-        alphabet="œàâçèéîïùûêŒÀÂÇÈÉÎÏÙÛÊ",
-        wiki_start_pages=["Wikipédia:Accueil_principal", "Bœuf (animal)"],
-    ),
-    "Hebrew": Language(
-        name="Hebrew",
-        iso_code="he",
-        use_ascii=False,
-        charsets=["ISO-8859-8", "WINDOWS-1255"],
-        alphabet="אבגדהוזחטיךכלםמןנסעףפץצקרשתװױײ",
-        wiki_start_pages=["עמוד_ראשי"],
-    ),
-    "Croatian": Language(
-        name="Croatian",
-        iso_code="hr",
-        # Q, W, X, Y are only used for foreign words.
-        use_ascii=False,
-        charsets=["ISO-8859-2", "WINDOWS-1250"],
-        alphabet="abcčćdđefghijklmnoprsštuvzžABCČĆDĐEFGHIJKLMNOPRSŠTUVZŽ",
-        wiki_start_pages=["Glavna_stranica"],
-    ),
-    "Hungarian": Language(
-        name="Hungarian",
-        iso_code="hu",
-        # Q, W, X, Y are only used for foreign words.
-        use_ascii=False,
-        charsets=["ISO-8859-2", "WINDOWS-1250"],
-        alphabet="abcdefghijklmnoprstuvzáéíóöőúüűABCDEFGHIJKLMNOPRSTUVZÁÉÍÓÖŐÚÜŰ",
-        wiki_start_pages=["Kezdőlap"],
-    ),
-    "Italian": Language(
-        name="Italian",
-        iso_code="it",
-        use_ascii=True,
-        charsets=["ISO-8859-1", "ISO-8859-15", "WINDOWS-1252", "MacRoman"],
-        alphabet="ÀÈÉÌÒÓÙàèéìòóù",
-        wiki_start_pages=["Pagina_principale"],
-    ),
-    "Lithuanian": Language(
-        name="Lithuanian",
-        iso_code="lt",
-        use_ascii=False,
-        charsets=["ISO-8859-13", "WINDOWS-1257", "ISO-8859-4"],
-        # Q, W, and X not used at all
-        alphabet="AĄBCČDEĘĖFGHIĮYJKLMNOPRSŠTUŲŪVZŽaąbcčdeęėfghiįyjklmnoprsštuųūvzž",
-        wiki_start_pages=["Pagrindinis_puslapis"],
-    ),
-    "Latvian": Language(
-        name="Latvian",
-        iso_code="lv",
-        use_ascii=False,
-        charsets=["ISO-8859-13", "WINDOWS-1257", "ISO-8859-4"],
-        # Q, W, X, Y are only for loanwords
-        alphabet="AĀBCČDEĒFGĢHIĪJKĶLĻMNŅOPRSŠTUŪVZŽaābcčdeēfgģhiījkķlļmnņoprsštuūvzž",
-        wiki_start_pages=["Sākumlapa"],
-    ),
-    "Macedonian": Language(
-        name="Macedonian",
-        iso_code="mk",
-        use_ascii=False,
-        charsets=["ISO-8859-5", "WINDOWS-1251", "MacCyrillic", "IBM855"],
-        alphabet="АБВГДЃЕЖЗЅИЈКЛЉМНЊОПРСТЌУФХЦЧЏШабвгдѓежзѕијклљмнњопрстќуфхцчџш",
-        wiki_start_pages=["Главна_страница"],
-    ),
-    "Dutch": Language(
-        name="Dutch",
-        iso_code="nl",
-        use_ascii=True,
-        charsets=["ISO-8859-1", "WINDOWS-1252", "MacRoman"],
-        wiki_start_pages=["Hoofdpagina"],
-    ),
-    "Polish": Language(
-        name="Polish",
-        iso_code="pl",
-        # Q and X are only used for foreign words.
-        use_ascii=False,
-        charsets=["ISO-8859-2", "WINDOWS-1250"],
-        alphabet="AĄBCĆDEĘFGHIJKLŁMNŃOÓPRSŚTUWYZŹŻaąbcćdeęfghijklłmnńoóprsśtuwyzźż",
-        wiki_start_pages=["Wikipedia:Strona_główna"],
-    ),
-    "Portuguese": Language(
-        name="Portuguese",
-        iso_code="pt",
-        use_ascii=True,
-        charsets=["ISO-8859-1", "ISO-8859-15", "WINDOWS-1252", "MacRoman"],
-        alphabet="ÁÂÃÀÇÉÊÍÓÔÕÚáâãàçéêíóôõú",
-        wiki_start_pages=["Wikipédia:Página_principal"],
-    ),
-    "Romanian": Language(
-        name="Romanian",
-        iso_code="ro",
-        use_ascii=True,
-        charsets=["ISO-8859-2", "WINDOWS-1250"],
-        alphabet="ăâîșțĂÂÎȘȚ",
-        wiki_start_pages=["Pagina_principală"],
-    ),
-    "Russian": Language(
-        name="Russian",
-        iso_code="ru",
-        use_ascii=False,
-        charsets=[
-            "ISO-8859-5",
-            "WINDOWS-1251",
-            "KOI8-R",
-            "MacCyrillic",
-            "IBM866",
-            "IBM855",
-        ],
-        alphabet="абвгдеёжзийклмнопрстуфхцчшщъыьэюяАБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ",
-        wiki_start_pages=["Заглавная_страница"],
-    ),
-    "Slovak": Language(
-        name="Slovak",
-        iso_code="sk",
-        use_ascii=True,
-        charsets=["ISO-8859-2", "WINDOWS-1250"],
-        alphabet="áäčďéíĺľňóôŕšťúýžÁÄČĎÉÍĹĽŇÓÔŔŠŤÚÝŽ",
-        wiki_start_pages=["Hlavná_stránka"],
-    ),
-    "Slovene": Language(
-        name="Slovene",
-        iso_code="sl",
-        # Q, W, X, Y are only used for foreign words.
-        use_ascii=False,
-        charsets=["ISO-8859-2", "WINDOWS-1250"],
-        alphabet="abcčdefghijklmnoprsštuvzžABCČDEFGHIJKLMNOPRSŠTUVZŽ",
-        wiki_start_pages=["Glavna_stran"],
-    ),
-    # Serbian can be written in both Latin and Cyrillic, but there's no
-    # simple way to get the Latin alphabet pages from Wikipedia through
-    # the API, so for now we just support Cyrillic.
-    "Serbian": Language(
-        name="Serbian",
-        iso_code="sr",
-        alphabet="АБВГДЂЕЖЗИЈКЛЉМНЊОПРСТЋУФХЦЧЏШабвгдђежзијклљмнњопрстћуфхцчџш",
-        charsets=["ISO-8859-5", "WINDOWS-1251", "MacCyrillic", "IBM855"],
-        wiki_start_pages=["Главна_страна"],
-    ),
-    "Thai": Language(
-        name="Thai",
-        iso_code="th",
-        use_ascii=False,
-        charsets=["ISO-8859-11", "TIS-620", "CP874"],
-        alphabet="กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛",
-        wiki_start_pages=["หน้าหลัก"],
-    ),
-    "Turkish": Language(
-        name="Turkish",
-        iso_code="tr",
-        # Q, W, and X are not used by Turkish
-        use_ascii=False,
-        charsets=["ISO-8859-3", "ISO-8859-9", "WINDOWS-1254"],
-        alphabet="abcçdefgğhıijklmnoöprsştuüvyzâîûABCÇDEFGĞHIİJKLMNOÖPRSŞTUÜVYZÂÎÛ",
-        wiki_start_pages=["Ana_Sayfa"],
-    ),
-    "Vietnamese": Language(
-        name="Vietnamese",
-        iso_code="vi",
-        use_ascii=False,
-        # Windows-1258 is the only common 8-bit
-        # Vietnamese encoding supported by Python.
-        # From Wikipedia:
-        # For systems that lack support for Unicode,
-        # dozens of 8-bit Vietnamese code pages are
-        # available.[1] The most common are VISCII
-        # (TCVN 5712:1993), VPS, and Windows-1258.[3]
-        # Where ASCII is required, such as when
-        # ensuring readability in plain text e-mail,
-        # Vietnamese letters are often encoded
-        # according to Vietnamese Quoted-Readable
-        # (VIQR) or VSCII Mnemonic (VSCII-MNEM),[4]
-        # though usage of either variable-width
-        # scheme has declined dramatically following
-        # the adoption of Unicode on the World Wide
-        # Web.
-        charsets=["WINDOWS-1258"],
-        alphabet="aăâbcdđeêghiklmnoôơpqrstuưvxyAĂÂBCDĐEÊGHIKLMNOÔƠPQRSTUƯVXY",
-        wiki_start_pages=["Chữ_Quốc_ngữ"],
-    ),
-}
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/resultdict.py b/.venv/Lib/site-packages/pip/_vendor/chardet/resultdict.py
deleted file mode 100644
index 7d36e64..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/resultdict.py
+++ /dev/null
@@ -1,16 +0,0 @@
-from typing import TYPE_CHECKING, Optional
-
-if TYPE_CHECKING:
-    # TypedDict was introduced in Python 3.8.
-    #
-    # TODO: Remove the else block and TYPE_CHECKING check when dropping support
-    # for Python 3.7.
-    from typing import TypedDict
-
-    class ResultDict(TypedDict):
-        encoding: Optional[str]
-        confidence: float
-        language: Optional[str]
-
-else:
-    ResultDict = dict
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/sbcharsetprober.py b/.venv/Lib/site-packages/pip/_vendor/chardet/sbcharsetprober.py
deleted file mode 100644
index 0ffbcdd..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/sbcharsetprober.py
+++ /dev/null
@@ -1,162 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is Mozilla Universal charset detector code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 2001
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#   Shy Shalom - original C code
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-from typing import Dict, List, NamedTuple, Optional, Union
-
-from .charsetprober import CharSetProber
-from .enums import CharacterCategory, ProbingState, SequenceLikelihood
-
-
-class SingleByteCharSetModel(NamedTuple):
-    charset_name: str
-    language: str
-    char_to_order_map: Dict[int, int]
-    language_model: Dict[int, Dict[int, int]]
-    typical_positive_ratio: float
-    keep_ascii_letters: bool
-    alphabet: str
-
-
-class SingleByteCharSetProber(CharSetProber):
-    SAMPLE_SIZE = 64
-    SB_ENOUGH_REL_THRESHOLD = 1024  # 0.25 * SAMPLE_SIZE^2
-    POSITIVE_SHORTCUT_THRESHOLD = 0.95
-    NEGATIVE_SHORTCUT_THRESHOLD = 0.05
-
-    def __init__(
-        self,
-        model: SingleByteCharSetModel,
-        is_reversed: bool = False,
-        name_prober: Optional[CharSetProber] = None,
-    ) -> None:
-        super().__init__()
-        self._model = model
-        # TRUE if we need to reverse every pair in the model lookup
-        self._reversed = is_reversed
-        # Optional auxiliary prober for name decision
-        self._name_prober = name_prober
-        self._last_order = 255
-        self._seq_counters: List[int] = []
-        self._total_seqs = 0
-        self._total_char = 0
-        self._control_char = 0
-        self._freq_char = 0
-        self.reset()
-
-    def reset(self) -> None:
-        super().reset()
-        # char order of last character
-        self._last_order = 255
-        self._seq_counters = [0] * SequenceLikelihood.get_num_categories()
-        self._total_seqs = 0
-        self._total_char = 0
-        self._control_char = 0
-        # characters that fall in our sampling range
-        self._freq_char = 0
-
-    @property
-    def charset_name(self) -> Optional[str]:
-        if self._name_prober:
-            return self._name_prober.charset_name
-        return self._model.charset_name
-
-    @property
-    def language(self) -> Optional[str]:
-        if self._name_prober:
-            return self._name_prober.language
-        return self._model.language
-
-    def feed(self, byte_str: Union[bytes, bytearray]) -> ProbingState:
-        # TODO: Make filter_international_words keep things in self.alphabet
-        if not self._model.keep_ascii_letters:
-            byte_str = self.filter_international_words(byte_str)
-        else:
-            byte_str = self.remove_xml_tags(byte_str)
-        if not byte_str:
-            return self.state
-        char_to_order_map = self._model.char_to_order_map
-        language_model = self._model.language_model
-        for char in byte_str:
-            order = char_to_order_map.get(char, CharacterCategory.UNDEFINED)
-            # XXX: This was SYMBOL_CAT_ORDER before, with a value of 250, but
-            #      CharacterCategory.SYMBOL is actually 253, so we use CONTROL
-            #      to make it closer to the original intent. The only difference
-            #      is whether or not we count digits and control characters for
-            #      _total_char purposes.
-            if order < CharacterCategory.CONTROL:
-                self._total_char += 1
-            if order < self.SAMPLE_SIZE:
-                self._freq_char += 1
-                if self._last_order < self.SAMPLE_SIZE:
-                    self._total_seqs += 1
-                    if not self._reversed:
-                        lm_cat = language_model[self._last_order][order]
-                    else:
-                        lm_cat = language_model[order][self._last_order]
-                    self._seq_counters[lm_cat] += 1
-            self._last_order = order
-
-        charset_name = self._model.charset_name
-        if self.state == ProbingState.DETECTING:
-            if self._total_seqs > self.SB_ENOUGH_REL_THRESHOLD:
-                confidence = self.get_confidence()
-                if confidence > self.POSITIVE_SHORTCUT_THRESHOLD:
-                    self.logger.debug(
-                        "%s confidence = %s, we have a winner", charset_name, confidence
-                    )
-                    self._state = ProbingState.FOUND_IT
-                elif confidence < self.NEGATIVE_SHORTCUT_THRESHOLD:
-                    self.logger.debug(
-                        "%s confidence = %s, below negative shortcut threshold %s",
-                        charset_name,
-                        confidence,
-                        self.NEGATIVE_SHORTCUT_THRESHOLD,
-                    )
-                    self._state = ProbingState.NOT_ME
-
-        return self.state
-
-    def get_confidence(self) -> float:
-        r = 0.01
-        if self._total_seqs > 0:
-            r = (
-                (
-                    self._seq_counters[SequenceLikelihood.POSITIVE]
-                    + 0.25 * self._seq_counters[SequenceLikelihood.LIKELY]
-                )
-                / self._total_seqs
-                / self._model.typical_positive_ratio
-            )
-            # The more control characters (proportionnaly to the size
-            # of the text), the less confident we become in the current
-            # charset.
-            r = r * (self._total_char - self._control_char) / self._total_char
-            r = r * self._freq_char / self._total_char
-            if r >= 1.0:
-                r = 0.99
-        return r
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/sbcsgroupprober.py b/.venv/Lib/site-packages/pip/_vendor/chardet/sbcsgroupprober.py
deleted file mode 100644
index 890ae84..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/sbcsgroupprober.py
+++ /dev/null
@@ -1,88 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is Mozilla Universal charset detector code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 2001
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#   Shy Shalom - original C code
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-from .charsetgroupprober import CharSetGroupProber
-from .hebrewprober import HebrewProber
-from .langbulgarianmodel import ISO_8859_5_BULGARIAN_MODEL, WINDOWS_1251_BULGARIAN_MODEL
-from .langgreekmodel import ISO_8859_7_GREEK_MODEL, WINDOWS_1253_GREEK_MODEL
-from .langhebrewmodel import WINDOWS_1255_HEBREW_MODEL
-
-# from .langhungarianmodel import (ISO_8859_2_HUNGARIAN_MODEL,
-#                                  WINDOWS_1250_HUNGARIAN_MODEL)
-from .langrussianmodel import (
-    IBM855_RUSSIAN_MODEL,
-    IBM866_RUSSIAN_MODEL,
-    ISO_8859_5_RUSSIAN_MODEL,
-    KOI8_R_RUSSIAN_MODEL,
-    MACCYRILLIC_RUSSIAN_MODEL,
-    WINDOWS_1251_RUSSIAN_MODEL,
-)
-from .langthaimodel import TIS_620_THAI_MODEL
-from .langturkishmodel import ISO_8859_9_TURKISH_MODEL
-from .sbcharsetprober import SingleByteCharSetProber
-
-
-class SBCSGroupProber(CharSetGroupProber):
-    def __init__(self) -> None:
-        super().__init__()
-        hebrew_prober = HebrewProber()
-        logical_hebrew_prober = SingleByteCharSetProber(
-            WINDOWS_1255_HEBREW_MODEL, is_reversed=False, name_prober=hebrew_prober
-        )
-        # TODO: See if using ISO-8859-8 Hebrew model works better here, since
-        #       it's actually the visual one
-        visual_hebrew_prober = SingleByteCharSetProber(
-            WINDOWS_1255_HEBREW_MODEL, is_reversed=True, name_prober=hebrew_prober
-        )
-        hebrew_prober.set_model_probers(logical_hebrew_prober, visual_hebrew_prober)
-        # TODO: ORDER MATTERS HERE. I changed the order vs what was in master
-        #       and several tests failed that did not before. Some thought
-        #       should be put into the ordering, and we should consider making
-        #       order not matter here, because that is very counter-intuitive.
-        self.probers = [
-            SingleByteCharSetProber(WINDOWS_1251_RUSSIAN_MODEL),
-            SingleByteCharSetProber(KOI8_R_RUSSIAN_MODEL),
-            SingleByteCharSetProber(ISO_8859_5_RUSSIAN_MODEL),
-            SingleByteCharSetProber(MACCYRILLIC_RUSSIAN_MODEL),
-            SingleByteCharSetProber(IBM866_RUSSIAN_MODEL),
-            SingleByteCharSetProber(IBM855_RUSSIAN_MODEL),
-            SingleByteCharSetProber(ISO_8859_7_GREEK_MODEL),
-            SingleByteCharSetProber(WINDOWS_1253_GREEK_MODEL),
-            SingleByteCharSetProber(ISO_8859_5_BULGARIAN_MODEL),
-            SingleByteCharSetProber(WINDOWS_1251_BULGARIAN_MODEL),
-            # TODO: Restore Hungarian encodings (iso-8859-2 and windows-1250)
-            #       after we retrain model.
-            # SingleByteCharSetProber(ISO_8859_2_HUNGARIAN_MODEL),
-            # SingleByteCharSetProber(WINDOWS_1250_HUNGARIAN_MODEL),
-            SingleByteCharSetProber(TIS_620_THAI_MODEL),
-            SingleByteCharSetProber(ISO_8859_9_TURKISH_MODEL),
-            hebrew_prober,
-            logical_hebrew_prober,
-            visual_hebrew_prober,
-        ]
-        self.reset()
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/sjisprober.py b/.venv/Lib/site-packages/pip/_vendor/chardet/sjisprober.py
deleted file mode 100644
index 91df077..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/sjisprober.py
+++ /dev/null
@@ -1,105 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is mozilla.org code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-from typing import Union
-
-from .chardistribution import SJISDistributionAnalysis
-from .codingstatemachine import CodingStateMachine
-from .enums import MachineState, ProbingState
-from .jpcntx import SJISContextAnalysis
-from .mbcharsetprober import MultiByteCharSetProber
-from .mbcssm import SJIS_SM_MODEL
-
-
-class SJISProber(MultiByteCharSetProber):
-    def __init__(self) -> None:
-        super().__init__()
-        self.coding_sm = CodingStateMachine(SJIS_SM_MODEL)
-        self.distribution_analyzer = SJISDistributionAnalysis()
-        self.context_analyzer = SJISContextAnalysis()
-        self.reset()
-
-    def reset(self) -> None:
-        super().reset()
-        self.context_analyzer.reset()
-
-    @property
-    def charset_name(self) -> str:
-        return self.context_analyzer.charset_name
-
-    @property
-    def language(self) -> str:
-        return "Japanese"
-
-    def feed(self, byte_str: Union[bytes, bytearray]) -> ProbingState:
-        assert self.coding_sm is not None
-        assert self.distribution_analyzer is not None
-
-        for i, byte in enumerate(byte_str):
-            coding_state = self.coding_sm.next_state(byte)
-            if coding_state == MachineState.ERROR:
-                self.logger.debug(
-                    "%s %s prober hit error at byte %s",
-                    self.charset_name,
-                    self.language,
-                    i,
-                )
-                self._state = ProbingState.NOT_ME
-                break
-            if coding_state == MachineState.ITS_ME:
-                self._state = ProbingState.FOUND_IT
-                break
-            if coding_state == MachineState.START:
-                char_len = self.coding_sm.get_current_charlen()
-                if i == 0:
-                    self._last_char[1] = byte
-                    self.context_analyzer.feed(
-                        self._last_char[2 - char_len :], char_len
-                    )
-                    self.distribution_analyzer.feed(self._last_char, char_len)
-                else:
-                    self.context_analyzer.feed(
-                        byte_str[i + 1 - char_len : i + 3 - char_len], char_len
-                    )
-                    self.distribution_analyzer.feed(byte_str[i - 1 : i + 1], char_len)
-
-        self._last_char[0] = byte_str[-1]
-
-        if self.state == ProbingState.DETECTING:
-            if self.context_analyzer.got_enough_data() and (
-                self.get_confidence() > self.SHORTCUT_THRESHOLD
-            ):
-                self._state = ProbingState.FOUND_IT
-
-        return self.state
-
-    def get_confidence(self) -> float:
-        assert self.distribution_analyzer is not None
-
-        context_conf = self.context_analyzer.get_confidence()
-        distrib_conf = self.distribution_analyzer.get_confidence()
-        return max(context_conf, distrib_conf)
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/universaldetector.py b/.venv/Lib/site-packages/pip/_vendor/chardet/universaldetector.py
deleted file mode 100644
index 30c441d..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/universaldetector.py
+++ /dev/null
@@ -1,362 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is Mozilla Universal charset detector code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 2001
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#   Shy Shalom - original C code
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-"""
-Module containing the UniversalDetector detector class, which is the primary
-class a user of ``chardet`` should use.
-
-:author: Mark Pilgrim (initial port to Python)
-:author: Shy Shalom (original C code)
-:author: Dan Blanchard (major refactoring for 3.0)
-:author: Ian Cordasco
-"""
-
-
-import codecs
-import logging
-import re
-from typing import List, Optional, Union
-
-from .charsetgroupprober import CharSetGroupProber
-from .charsetprober import CharSetProber
-from .enums import InputState, LanguageFilter, ProbingState
-from .escprober import EscCharSetProber
-from .latin1prober import Latin1Prober
-from .macromanprober import MacRomanProber
-from .mbcsgroupprober import MBCSGroupProber
-from .resultdict import ResultDict
-from .sbcsgroupprober import SBCSGroupProber
-from .utf1632prober import UTF1632Prober
-
-
-class UniversalDetector:
-    """
-    The ``UniversalDetector`` class underlies the ``chardet.detect`` function
-    and coordinates all of the different charset probers.
-
-    To get a ``dict`` containing an encoding and its confidence, you can simply
-    run:
-
-    .. code::
-
-            u = UniversalDetector()
-            u.feed(some_bytes)
-            u.close()
-            detected = u.result
-
-    """
-
-    MINIMUM_THRESHOLD = 0.20
-    HIGH_BYTE_DETECTOR = re.compile(b"[\x80-\xFF]")
-    ESC_DETECTOR = re.compile(b"(\033|~{)")
-    WIN_BYTE_DETECTOR = re.compile(b"[\x80-\x9F]")
-    ISO_WIN_MAP = {
-        "iso-8859-1": "Windows-1252",
-        "iso-8859-2": "Windows-1250",
-        "iso-8859-5": "Windows-1251",
-        "iso-8859-6": "Windows-1256",
-        "iso-8859-7": "Windows-1253",
-        "iso-8859-8": "Windows-1255",
-        "iso-8859-9": "Windows-1254",
-        "iso-8859-13": "Windows-1257",
-    }
-    # Based on https://encoding.spec.whatwg.org/#names-and-labels
-    # but altered to match Python names for encodings and remove mappings
-    # that break tests.
-    LEGACY_MAP = {
-        "ascii": "Windows-1252",
-        "iso-8859-1": "Windows-1252",
-        "tis-620": "ISO-8859-11",
-        "iso-8859-9": "Windows-1254",
-        "gb2312": "GB18030",
-        "euc-kr": "CP949",
-        "utf-16le": "UTF-16",
-    }
-
-    def __init__(
-        self,
-        lang_filter: LanguageFilter = LanguageFilter.ALL,
-        should_rename_legacy: bool = False,
-    ) -> None:
-        self._esc_charset_prober: Optional[EscCharSetProber] = None
-        self._utf1632_prober: Optional[UTF1632Prober] = None
-        self._charset_probers: List[CharSetProber] = []
-        self.result: ResultDict = {
-            "encoding": None,
-            "confidence": 0.0,
-            "language": None,
-        }
-        self.done = False
-        self._got_data = False
-        self._input_state = InputState.PURE_ASCII
-        self._last_char = b""
-        self.lang_filter = lang_filter
-        self.logger = logging.getLogger(__name__)
-        self._has_win_bytes = False
-        self.should_rename_legacy = should_rename_legacy
-        self.reset()
-
-    @property
-    def input_state(self) -> int:
-        return self._input_state
-
-    @property
-    def has_win_bytes(self) -> bool:
-        return self._has_win_bytes
-
-    @property
-    def charset_probers(self) -> List[CharSetProber]:
-        return self._charset_probers
-
-    def reset(self) -> None:
-        """
-        Reset the UniversalDetector and all of its probers back to their
-        initial states.  This is called by ``__init__``, so you only need to
-        call this directly in between analyses of different documents.
-        """
-        self.result = {"encoding": None, "confidence": 0.0, "language": None}
-        self.done = False
-        self._got_data = False
-        self._has_win_bytes = False
-        self._input_state = InputState.PURE_ASCII
-        self._last_char = b""
-        if self._esc_charset_prober:
-            self._esc_charset_prober.reset()
-        if self._utf1632_prober:
-            self._utf1632_prober.reset()
-        for prober in self._charset_probers:
-            prober.reset()
-
-    def feed(self, byte_str: Union[bytes, bytearray]) -> None:
-        """
-        Takes a chunk of a document and feeds it through all of the relevant
-        charset probers.
-
-        After calling ``feed``, you can check the value of the ``done``
-        attribute to see if you need to continue feeding the
-        ``UniversalDetector`` more data, or if it has made a prediction
-        (in the ``result`` attribute).
-
-        .. note::
-           You should always call ``close`` when you're done feeding in your
-           document if ``done`` is not already ``True``.
-        """
-        if self.done:
-            return
-
-        if not byte_str:
-            return
-
-        if not isinstance(byte_str, bytearray):
-            byte_str = bytearray(byte_str)
-
-        # First check for known BOMs, since these are guaranteed to be correct
-        if not self._got_data:
-            # If the data starts with BOM, we know it is UTF
-            if byte_str.startswith(codecs.BOM_UTF8):
-                # EF BB BF  UTF-8 with BOM
-                self.result = {
-                    "encoding": "UTF-8-SIG",
-                    "confidence": 1.0,
-                    "language": "",
-                }
-            elif byte_str.startswith((codecs.BOM_UTF32_LE, codecs.BOM_UTF32_BE)):
-                # FF FE 00 00  UTF-32, little-endian BOM
-                # 00 00 FE FF  UTF-32, big-endian BOM
-                self.result = {"encoding": "UTF-32", "confidence": 1.0, "language": ""}
-            elif byte_str.startswith(b"\xFE\xFF\x00\x00"):
-                # FE FF 00 00  UCS-4, unusual octet order BOM (3412)
-                self.result = {
-                    # TODO: This encoding is not supported by Python. Should remove?
-                    "encoding": "X-ISO-10646-UCS-4-3412",
-                    "confidence": 1.0,
-                    "language": "",
-                }
-            elif byte_str.startswith(b"\x00\x00\xFF\xFE"):
-                # 00 00 FF FE  UCS-4, unusual octet order BOM (2143)
-                self.result = {
-                    # TODO: This encoding is not supported by Python. Should remove?
-                    "encoding": "X-ISO-10646-UCS-4-2143",
-                    "confidence": 1.0,
-                    "language": "",
-                }
-            elif byte_str.startswith((codecs.BOM_LE, codecs.BOM_BE)):
-                # FF FE  UTF-16, little endian BOM
-                # FE FF  UTF-16, big endian BOM
-                self.result = {"encoding": "UTF-16", "confidence": 1.0, "language": ""}
-
-            self._got_data = True
-            if self.result["encoding"] is not None:
-                self.done = True
-                return
-
-        # If none of those matched and we've only see ASCII so far, check
-        # for high bytes and escape sequences
-        if self._input_state == InputState.PURE_ASCII:
-            if self.HIGH_BYTE_DETECTOR.search(byte_str):
-                self._input_state = InputState.HIGH_BYTE
-            elif (
-                self._input_state == InputState.PURE_ASCII
-                and self.ESC_DETECTOR.search(self._last_char + byte_str)
-            ):
-                self._input_state = InputState.ESC_ASCII
-
-        self._last_char = byte_str[-1:]
-
-        # next we will look to see if it is appears to be either a UTF-16 or
-        # UTF-32 encoding
-        if not self._utf1632_prober:
-            self._utf1632_prober = UTF1632Prober()
-
-        if self._utf1632_prober.state == ProbingState.DETECTING:
-            if self._utf1632_prober.feed(byte_str) == ProbingState.FOUND_IT:
-                self.result = {
-                    "encoding": self._utf1632_prober.charset_name,
-                    "confidence": self._utf1632_prober.get_confidence(),
-                    "language": "",
-                }
-                self.done = True
-                return
-
-        # If we've seen escape sequences, use the EscCharSetProber, which
-        # uses a simple state machine to check for known escape sequences in
-        # HZ and ISO-2022 encodings, since those are the only encodings that
-        # use such sequences.
-        if self._input_state == InputState.ESC_ASCII:
-            if not self._esc_charset_prober:
-                self._esc_charset_prober = EscCharSetProber(self.lang_filter)
-            if self._esc_charset_prober.feed(byte_str) == ProbingState.FOUND_IT:
-                self.result = {
-                    "encoding": self._esc_charset_prober.charset_name,
-                    "confidence": self._esc_charset_prober.get_confidence(),
-                    "language": self._esc_charset_prober.language,
-                }
-                self.done = True
-        # If we've seen high bytes (i.e., those with values greater than 127),
-        # we need to do more complicated checks using all our multi-byte and
-        # single-byte probers that are left.  The single-byte probers
-        # use character bigram distributions to determine the encoding, whereas
-        # the multi-byte probers use a combination of character unigram and
-        # bigram distributions.
-        elif self._input_state == InputState.HIGH_BYTE:
-            if not self._charset_probers:
-                self._charset_probers = [MBCSGroupProber(self.lang_filter)]
-                # If we're checking non-CJK encodings, use single-byte prober
-                if self.lang_filter & LanguageFilter.NON_CJK:
-                    self._charset_probers.append(SBCSGroupProber())
-                self._charset_probers.append(Latin1Prober())
-                self._charset_probers.append(MacRomanProber())
-            for prober in self._charset_probers:
-                if prober.feed(byte_str) == ProbingState.FOUND_IT:
-                    self.result = {
-                        "encoding": prober.charset_name,
-                        "confidence": prober.get_confidence(),
-                        "language": prober.language,
-                    }
-                    self.done = True
-                    break
-            if self.WIN_BYTE_DETECTOR.search(byte_str):
-                self._has_win_bytes = True
-
-    def close(self) -> ResultDict:
-        """
-        Stop analyzing the current document and come up with a final
-        prediction.
-
-        :returns:  The ``result`` attribute, a ``dict`` with the keys
-                   `encoding`, `confidence`, and `language`.
-        """
-        # Don't bother with checks if we're already done
-        if self.done:
-            return self.result
-        self.done = True
-
-        if not self._got_data:
-            self.logger.debug("no data received!")
-
-        # Default to ASCII if it is all we've seen so far
-        elif self._input_state == InputState.PURE_ASCII:
-            self.result = {"encoding": "ascii", "confidence": 1.0, "language": ""}
-
-        # If we have seen non-ASCII, return the best that met MINIMUM_THRESHOLD
-        elif self._input_state == InputState.HIGH_BYTE:
-            prober_confidence = None
-            max_prober_confidence = 0.0
-            max_prober = None
-            for prober in self._charset_probers:
-                if not prober:
-                    continue
-                prober_confidence = prober.get_confidence()
-                if prober_confidence > max_prober_confidence:
-                    max_prober_confidence = prober_confidence
-                    max_prober = prober
-            if max_prober and (max_prober_confidence > self.MINIMUM_THRESHOLD):
-                charset_name = max_prober.charset_name
-                assert charset_name is not None
-                lower_charset_name = charset_name.lower()
-                confidence = max_prober.get_confidence()
-                # Use Windows encoding name instead of ISO-8859 if we saw any
-                # extra Windows-specific bytes
-                if lower_charset_name.startswith("iso-8859"):
-                    if self._has_win_bytes:
-                        charset_name = self.ISO_WIN_MAP.get(
-                            lower_charset_name, charset_name
-                        )
-                # Rename legacy encodings with superset encodings if asked
-                if self.should_rename_legacy:
-                    charset_name = self.LEGACY_MAP.get(
-                        (charset_name or "").lower(), charset_name
-                    )
-                self.result = {
-                    "encoding": charset_name,
-                    "confidence": confidence,
-                    "language": max_prober.language,
-                }
-
-        # Log all prober confidences if none met MINIMUM_THRESHOLD
-        if self.logger.getEffectiveLevel() <= logging.DEBUG:
-            if self.result["encoding"] is None:
-                self.logger.debug("no probers hit minimum threshold")
-                for group_prober in self._charset_probers:
-                    if not group_prober:
-                        continue
-                    if isinstance(group_prober, CharSetGroupProber):
-                        for prober in group_prober.probers:
-                            self.logger.debug(
-                                "%s %s confidence = %s",
-                                prober.charset_name,
-                                prober.language,
-                                prober.get_confidence(),
-                            )
-                    else:
-                        self.logger.debug(
-                            "%s %s confidence = %s",
-                            group_prober.charset_name,
-                            group_prober.language,
-                            group_prober.get_confidence(),
-                        )
-        return self.result
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/utf1632prober.py b/.venv/Lib/site-packages/pip/_vendor/chardet/utf1632prober.py
deleted file mode 100644
index 6bdec63..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/utf1632prober.py
+++ /dev/null
@@ -1,225 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-#
-# Contributor(s):
-#   Jason Zavaglia
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-from typing import List, Union
-
-from .charsetprober import CharSetProber
-from .enums import ProbingState
-
-
-class UTF1632Prober(CharSetProber):
-    """
-    This class simply looks for occurrences of zero bytes, and infers
-    whether the file is UTF16 or UTF32 (low-endian or big-endian)
-    For instance, files looking like ( \0 \0 \0 [nonzero] )+
-    have a good probability to be UTF32BE.  Files looking like ( \0 [nonzero] )+
-    may be guessed to be UTF16BE, and inversely for little-endian varieties.
-    """
-
-    # how many logical characters to scan before feeling confident of prediction
-    MIN_CHARS_FOR_DETECTION = 20
-    # a fixed constant ratio of expected zeros or non-zeros in modulo-position.
-    EXPECTED_RATIO = 0.94
-
-    def __init__(self) -> None:
-        super().__init__()
-        self.position = 0
-        self.zeros_at_mod = [0] * 4
-        self.nonzeros_at_mod = [0] * 4
-        self._state = ProbingState.DETECTING
-        self.quad = [0, 0, 0, 0]
-        self.invalid_utf16be = False
-        self.invalid_utf16le = False
-        self.invalid_utf32be = False
-        self.invalid_utf32le = False
-        self.first_half_surrogate_pair_detected_16be = False
-        self.first_half_surrogate_pair_detected_16le = False
-        self.reset()
-
-    def reset(self) -> None:
-        super().reset()
-        self.position = 0
-        self.zeros_at_mod = [0] * 4
-        self.nonzeros_at_mod = [0] * 4
-        self._state = ProbingState.DETECTING
-        self.invalid_utf16be = False
-        self.invalid_utf16le = False
-        self.invalid_utf32be = False
-        self.invalid_utf32le = False
-        self.first_half_surrogate_pair_detected_16be = False
-        self.first_half_surrogate_pair_detected_16le = False
-        self.quad = [0, 0, 0, 0]
-
-    @property
-    def charset_name(self) -> str:
-        if self.is_likely_utf32be():
-            return "utf-32be"
-        if self.is_likely_utf32le():
-            return "utf-32le"
-        if self.is_likely_utf16be():
-            return "utf-16be"
-        if self.is_likely_utf16le():
-            return "utf-16le"
-        # default to something valid
-        return "utf-16"
-
-    @property
-    def language(self) -> str:
-        return ""
-
-    def approx_32bit_chars(self) -> float:
-        return max(1.0, self.position / 4.0)
-
-    def approx_16bit_chars(self) -> float:
-        return max(1.0, self.position / 2.0)
-
-    def is_likely_utf32be(self) -> bool:
-        approx_chars = self.approx_32bit_chars()
-        return approx_chars >= self.MIN_CHARS_FOR_DETECTION and (
-            self.zeros_at_mod[0] / approx_chars > self.EXPECTED_RATIO
-            and self.zeros_at_mod[1] / approx_chars > self.EXPECTED_RATIO
-            and self.zeros_at_mod[2] / approx_chars > self.EXPECTED_RATIO
-            and self.nonzeros_at_mod[3] / approx_chars > self.EXPECTED_RATIO
-            and not self.invalid_utf32be
-        )
-
-    def is_likely_utf32le(self) -> bool:
-        approx_chars = self.approx_32bit_chars()
-        return approx_chars >= self.MIN_CHARS_FOR_DETECTION and (
-            self.nonzeros_at_mod[0] / approx_chars > self.EXPECTED_RATIO
-            and self.zeros_at_mod[1] / approx_chars > self.EXPECTED_RATIO
-            and self.zeros_at_mod[2] / approx_chars > self.EXPECTED_RATIO
-            and self.zeros_at_mod[3] / approx_chars > self.EXPECTED_RATIO
-            and not self.invalid_utf32le
-        )
-
-    def is_likely_utf16be(self) -> bool:
-        approx_chars = self.approx_16bit_chars()
-        return approx_chars >= self.MIN_CHARS_FOR_DETECTION and (
-            (self.nonzeros_at_mod[1] + self.nonzeros_at_mod[3]) / approx_chars
-            > self.EXPECTED_RATIO
-            and (self.zeros_at_mod[0] + self.zeros_at_mod[2]) / approx_chars
-            > self.EXPECTED_RATIO
-            and not self.invalid_utf16be
-        )
-
-    def is_likely_utf16le(self) -> bool:
-        approx_chars = self.approx_16bit_chars()
-        return approx_chars >= self.MIN_CHARS_FOR_DETECTION and (
-            (self.nonzeros_at_mod[0] + self.nonzeros_at_mod[2]) / approx_chars
-            > self.EXPECTED_RATIO
-            and (self.zeros_at_mod[1] + self.zeros_at_mod[3]) / approx_chars
-            > self.EXPECTED_RATIO
-            and not self.invalid_utf16le
-        )
-
-    def validate_utf32_characters(self, quad: List[int]) -> None:
-        """
-        Validate if the quad of bytes is valid UTF-32.
-
-        UTF-32 is valid in the range 0x00000000 - 0x0010FFFF
-        excluding 0x0000D800 - 0x0000DFFF
-
-        https://en.wikipedia.org/wiki/UTF-32
-        """
-        if (
-            quad[0] != 0
-            or quad[1] > 0x10
-            or (quad[0] == 0 and quad[1] == 0 and 0xD8 <= quad[2] <= 0xDF)
-        ):
-            self.invalid_utf32be = True
-        if (
-            quad[3] != 0
-            or quad[2] > 0x10
-            or (quad[3] == 0 and quad[2] == 0 and 0xD8 <= quad[1] <= 0xDF)
-        ):
-            self.invalid_utf32le = True
-
-    def validate_utf16_characters(self, pair: List[int]) -> None:
-        """
-        Validate if the pair of bytes is  valid UTF-16.
-
-        UTF-16 is valid in the range 0x0000 - 0xFFFF excluding 0xD800 - 0xFFFF
-        with an exception for surrogate pairs, which must be in the range
-        0xD800-0xDBFF followed by 0xDC00-0xDFFF
-
-        https://en.wikipedia.org/wiki/UTF-16
-        """
-        if not self.first_half_surrogate_pair_detected_16be:
-            if 0xD8 <= pair[0] <= 0xDB:
-                self.first_half_surrogate_pair_detected_16be = True
-            elif 0xDC <= pair[0] <= 0xDF:
-                self.invalid_utf16be = True
-        else:
-            if 0xDC <= pair[0] <= 0xDF:
-                self.first_half_surrogate_pair_detected_16be = False
-            else:
-                self.invalid_utf16be = True
-
-        if not self.first_half_surrogate_pair_detected_16le:
-            if 0xD8 <= pair[1] <= 0xDB:
-                self.first_half_surrogate_pair_detected_16le = True
-            elif 0xDC <= pair[1] <= 0xDF:
-                self.invalid_utf16le = True
-        else:
-            if 0xDC <= pair[1] <= 0xDF:
-                self.first_half_surrogate_pair_detected_16le = False
-            else:
-                self.invalid_utf16le = True
-
-    def feed(self, byte_str: Union[bytes, bytearray]) -> ProbingState:
-        for c in byte_str:
-            mod4 = self.position % 4
-            self.quad[mod4] = c
-            if mod4 == 3:
-                self.validate_utf32_characters(self.quad)
-                self.validate_utf16_characters(self.quad[0:2])
-                self.validate_utf16_characters(self.quad[2:4])
-            if c == 0:
-                self.zeros_at_mod[mod4] += 1
-            else:
-                self.nonzeros_at_mod[mod4] += 1
-            self.position += 1
-        return self.state
-
-    @property
-    def state(self) -> ProbingState:
-        if self._state in {ProbingState.NOT_ME, ProbingState.FOUND_IT}:
-            # terminal, decided states
-            return self._state
-        if self.get_confidence() > 0.80:
-            self._state = ProbingState.FOUND_IT
-        elif self.position > 4 * 1024:
-            # if we get to 4kb into the file, and we can't conclude it's UTF,
-            # let's give up
-            self._state = ProbingState.NOT_ME
-        return self._state
-
-    def get_confidence(self) -> float:
-        return (
-            0.85
-            if (
-                self.is_likely_utf16le()
-                or self.is_likely_utf16be()
-                or self.is_likely_utf32le()
-                or self.is_likely_utf32be()
-            )
-            else 0.00
-        )
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/utf8prober.py b/.venv/Lib/site-packages/pip/_vendor/chardet/utf8prober.py
deleted file mode 100644
index d96354d..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/utf8prober.py
+++ /dev/null
@@ -1,82 +0,0 @@
-######################## BEGIN LICENSE BLOCK ########################
-# The Original Code is mozilla.org code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Mark Pilgrim - port to Python
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301  USA
-######################### END LICENSE BLOCK #########################
-
-from typing import Union
-
-from .charsetprober import CharSetProber
-from .codingstatemachine import CodingStateMachine
-from .enums import MachineState, ProbingState
-from .mbcssm import UTF8_SM_MODEL
-
-
-class UTF8Prober(CharSetProber):
-    ONE_CHAR_PROB = 0.5
-
-    def __init__(self) -> None:
-        super().__init__()
-        self.coding_sm = CodingStateMachine(UTF8_SM_MODEL)
-        self._num_mb_chars = 0
-        self.reset()
-
-    def reset(self) -> None:
-        super().reset()
-        self.coding_sm.reset()
-        self._num_mb_chars = 0
-
-    @property
-    def charset_name(self) -> str:
-        return "utf-8"
-
-    @property
-    def language(self) -> str:
-        return ""
-
-    def feed(self, byte_str: Union[bytes, bytearray]) -> ProbingState:
-        for c in byte_str:
-            coding_state = self.coding_sm.next_state(c)
-            if coding_state == MachineState.ERROR:
-                self._state = ProbingState.NOT_ME
-                break
-            if coding_state == MachineState.ITS_ME:
-                self._state = ProbingState.FOUND_IT
-                break
-            if coding_state == MachineState.START:
-                if self.coding_sm.get_current_charlen() >= 2:
-                    self._num_mb_chars += 1
-
-        if self.state == ProbingState.DETECTING:
-            if self.get_confidence() > self.SHORTCUT_THRESHOLD:
-                self._state = ProbingState.FOUND_IT
-
-        return self.state
-
-    def get_confidence(self) -> float:
-        unlike = 0.99
-        if self._num_mb_chars < 6:
-            unlike *= self.ONE_CHAR_PROB**self._num_mb_chars
-            return 1.0 - unlike
-        return unlike
diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/version.py b/.venv/Lib/site-packages/pip/_vendor/chardet/version.py
deleted file mode 100644
index c5e9d85..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/chardet/version.py
+++ /dev/null
@@ -1,9 +0,0 @@
-"""
-This module exists only to simplify retrieving the version number of chardet
-from within setuptools and from chardet subpackages.
-
-:author: Dan Blanchard (dan.blanchard@gmail.com)
-"""
-
-__version__ = "5.1.0"
-VERSION = __version__.split(".")
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/__init__.py b/.venv/Lib/site-packages/pip/_vendor/colorama/__init__.py
deleted file mode 100644
index 383101c..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/colorama/__init__.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file.
-from .initialise import init, deinit, reinit, colorama_text, just_fix_windows_console
-from .ansi import Fore, Back, Style, Cursor
-from .ansitowin32 import AnsiToWin32
-
-__version__ = '0.4.6'
-
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/colorama/__pycache__/__init__.cpython-311.pyc
deleted file mode 100644
index 6db522a..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/colorama/__pycache__/__init__.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/__pycache__/ansi.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/colorama/__pycache__/ansi.cpython-311.pyc
deleted file mode 100644
index d4501e0..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/colorama/__pycache__/ansi.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/__pycache__/ansitowin32.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/colorama/__pycache__/ansitowin32.cpython-311.pyc
deleted file mode 100644
index 78f9c15..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/colorama/__pycache__/ansitowin32.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/__pycache__/initialise.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/colorama/__pycache__/initialise.cpython-311.pyc
deleted file mode 100644
index 664619b..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/colorama/__pycache__/initialise.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/__pycache__/win32.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/colorama/__pycache__/win32.cpython-311.pyc
deleted file mode 100644
index 68fff36..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/colorama/__pycache__/win32.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/__pycache__/winterm.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/colorama/__pycache__/winterm.cpython-311.pyc
deleted file mode 100644
index 4ae8f9e..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/colorama/__pycache__/winterm.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/ansi.py b/.venv/Lib/site-packages/pip/_vendor/colorama/ansi.py
deleted file mode 100644
index 11ec695..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/colorama/ansi.py
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file.
-'''
-This module generates ANSI character codes to printing colors to terminals.
-See: http://en.wikipedia.org/wiki/ANSI_escape_code
-'''
-
-CSI = '\033['
-OSC = '\033]'
-BEL = '\a'
-
-
-def code_to_chars(code):
-    return CSI + str(code) + 'm'
-
-def set_title(title):
-    return OSC + '2;' + title + BEL
-
-def clear_screen(mode=2):
-    return CSI + str(mode) + 'J'
-
-def clear_line(mode=2):
-    return CSI + str(mode) + 'K'
-
-
-class AnsiCodes(object):
-    def __init__(self):
-        # the subclasses declare class attributes which are numbers.
-        # Upon instantiation we define instance attributes, which are the same
-        # as the class attributes but wrapped with the ANSI escape sequence
-        for name in dir(self):
-            if not name.startswith('_'):
-                value = getattr(self, name)
-                setattr(self, name, code_to_chars(value))
-
-
-class AnsiCursor(object):
-    def UP(self, n=1):
-        return CSI + str(n) + 'A'
-    def DOWN(self, n=1):
-        return CSI + str(n) + 'B'
-    def FORWARD(self, n=1):
-        return CSI + str(n) + 'C'
-    def BACK(self, n=1):
-        return CSI + str(n) + 'D'
-    def POS(self, x=1, y=1):
-        return CSI + str(y) + ';' + str(x) + 'H'
-
-
-class AnsiFore(AnsiCodes):
-    BLACK           = 30
-    RED             = 31
-    GREEN           = 32
-    YELLOW          = 33
-    BLUE            = 34
-    MAGENTA         = 35
-    CYAN            = 36
-    WHITE           = 37
-    RESET           = 39
-
-    # These are fairly well supported, but not part of the standard.
-    LIGHTBLACK_EX   = 90
-    LIGHTRED_EX     = 91
-    LIGHTGREEN_EX   = 92
-    LIGHTYELLOW_EX  = 93
-    LIGHTBLUE_EX    = 94
-    LIGHTMAGENTA_EX = 95
-    LIGHTCYAN_EX    = 96
-    LIGHTWHITE_EX   = 97
-
-
-class AnsiBack(AnsiCodes):
-    BLACK           = 40
-    RED             = 41
-    GREEN           = 42
-    YELLOW          = 43
-    BLUE            = 44
-    MAGENTA         = 45
-    CYAN            = 46
-    WHITE           = 47
-    RESET           = 49
-
-    # These are fairly well supported, but not part of the standard.
-    LIGHTBLACK_EX   = 100
-    LIGHTRED_EX     = 101
-    LIGHTGREEN_EX   = 102
-    LIGHTYELLOW_EX  = 103
-    LIGHTBLUE_EX    = 104
-    LIGHTMAGENTA_EX = 105
-    LIGHTCYAN_EX    = 106
-    LIGHTWHITE_EX   = 107
-
-
-class AnsiStyle(AnsiCodes):
-    BRIGHT    = 1
-    DIM       = 2
-    NORMAL    = 22
-    RESET_ALL = 0
-
-Fore   = AnsiFore()
-Back   = AnsiBack()
-Style  = AnsiStyle()
-Cursor = AnsiCursor()
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/ansitowin32.py b/.venv/Lib/site-packages/pip/_vendor/colorama/ansitowin32.py
deleted file mode 100644
index abf209e..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/colorama/ansitowin32.py
+++ /dev/null
@@ -1,277 +0,0 @@
-# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file.
-import re
-import sys
-import os
-
-from .ansi import AnsiFore, AnsiBack, AnsiStyle, Style, BEL
-from .winterm import enable_vt_processing, WinTerm, WinColor, WinStyle
-from .win32 import windll, winapi_test
-
-
-winterm = None
-if windll is not None:
-    winterm = WinTerm()
-
-
-class StreamWrapper(object):
-    '''
-    Wraps a stream (such as stdout), acting as a transparent proxy for all
-    attribute access apart from method 'write()', which is delegated to our
-    Converter instance.
-    '''
-    def __init__(self, wrapped, converter):
-        # double-underscore everything to prevent clashes with names of
-        # attributes on the wrapped stream object.
-        self.__wrapped = wrapped
-        self.__convertor = converter
-
-    def __getattr__(self, name):
-        return getattr(self.__wrapped, name)
-
-    def __enter__(self, *args, **kwargs):
-        # special method lookup bypasses __getattr__/__getattribute__, see
-        # https://stackoverflow.com/questions/12632894/why-doesnt-getattr-work-with-exit
-        # thus, contextlib magic methods are not proxied via __getattr__
-        return self.__wrapped.__enter__(*args, **kwargs)
-
-    def __exit__(self, *args, **kwargs):
-        return self.__wrapped.__exit__(*args, **kwargs)
-
-    def __setstate__(self, state):
-        self.__dict__ = state
-
-    def __getstate__(self):
-        return self.__dict__
-
-    def write(self, text):
-        self.__convertor.write(text)
-
-    def isatty(self):
-        stream = self.__wrapped
-        if 'PYCHARM_HOSTED' in os.environ:
-            if stream is not None and (stream is sys.__stdout__ or stream is sys.__stderr__):
-                return True
-        try:
-            stream_isatty = stream.isatty
-        except AttributeError:
-            return False
-        else:
-            return stream_isatty()
-
-    @property
-    def closed(self):
-        stream = self.__wrapped
-        try:
-            return stream.closed
-        # AttributeError in the case that the stream doesn't support being closed
-        # ValueError for the case that the stream has already been detached when atexit runs
-        except (AttributeError, ValueError):
-            return True
-
-
-class AnsiToWin32(object):
-    '''
-    Implements a 'write()' method which, on Windows, will strip ANSI character
-    sequences from the text, and if outputting to a tty, will convert them into
-    win32 function calls.
-    '''
-    ANSI_CSI_RE = re.compile('\001?\033\\[((?:\\d|;)*)([a-zA-Z])\002?')   # Control Sequence Introducer
-    ANSI_OSC_RE = re.compile('\001?\033\\]([^\a]*)(\a)\002?')             # Operating System Command
-
-    def __init__(self, wrapped, convert=None, strip=None, autoreset=False):
-        # The wrapped stream (normally sys.stdout or sys.stderr)
-        self.wrapped = wrapped
-
-        # should we reset colors to defaults after every .write()
-        self.autoreset = autoreset
-
-        # create the proxy wrapping our output stream
-        self.stream = StreamWrapper(wrapped, self)
-
-        on_windows = os.name == 'nt'
-        # We test if the WinAPI works, because even if we are on Windows
-        # we may be using a terminal that doesn't support the WinAPI
-        # (e.g. Cygwin Terminal). In this case it's up to the terminal
-        # to support the ANSI codes.
-        conversion_supported = on_windows and winapi_test()
-        try:
-            fd = wrapped.fileno()
-        except Exception:
-            fd = -1
-        system_has_native_ansi = not on_windows or enable_vt_processing(fd)
-        have_tty = not self.stream.closed and self.stream.isatty()
-        need_conversion = conversion_supported and not system_has_native_ansi
-
-        # should we strip ANSI sequences from our output?
-        if strip is None:
-            strip = need_conversion or not have_tty
-        self.strip = strip
-
-        # should we should convert ANSI sequences into win32 calls?
-        if convert is None:
-            convert = need_conversion and have_tty
-        self.convert = convert
-
-        # dict of ansi codes to win32 functions and parameters
-        self.win32_calls = self.get_win32_calls()
-
-        # are we wrapping stderr?
-        self.on_stderr = self.wrapped is sys.stderr
-
-    def should_wrap(self):
-        '''
-        True if this class is actually needed. If false, then the output
-        stream will not be affected, nor will win32 calls be issued, so
-        wrapping stdout is not actually required. This will generally be
-        False on non-Windows platforms, unless optional functionality like
-        autoreset has been requested using kwargs to init()
-        '''
-        return self.convert or self.strip or self.autoreset
-
-    def get_win32_calls(self):
-        if self.convert and winterm:
-            return {
-                AnsiStyle.RESET_ALL: (winterm.reset_all, ),
-                AnsiStyle.BRIGHT: (winterm.style, WinStyle.BRIGHT),
-                AnsiStyle.DIM: (winterm.style, WinStyle.NORMAL),
-                AnsiStyle.NORMAL: (winterm.style, WinStyle.NORMAL),
-                AnsiFore.BLACK: (winterm.fore, WinColor.BLACK),
-                AnsiFore.RED: (winterm.fore, WinColor.RED),
-                AnsiFore.GREEN: (winterm.fore, WinColor.GREEN),
-                AnsiFore.YELLOW: (winterm.fore, WinColor.YELLOW),
-                AnsiFore.BLUE: (winterm.fore, WinColor.BLUE),
-                AnsiFore.MAGENTA: (winterm.fore, WinColor.MAGENTA),
-                AnsiFore.CYAN: (winterm.fore, WinColor.CYAN),
-                AnsiFore.WHITE: (winterm.fore, WinColor.GREY),
-                AnsiFore.RESET: (winterm.fore, ),
-                AnsiFore.LIGHTBLACK_EX: (winterm.fore, WinColor.BLACK, True),
-                AnsiFore.LIGHTRED_EX: (winterm.fore, WinColor.RED, True),
-                AnsiFore.LIGHTGREEN_EX: (winterm.fore, WinColor.GREEN, True),
-                AnsiFore.LIGHTYELLOW_EX: (winterm.fore, WinColor.YELLOW, True),
-                AnsiFore.LIGHTBLUE_EX: (winterm.fore, WinColor.BLUE, True),
-                AnsiFore.LIGHTMAGENTA_EX: (winterm.fore, WinColor.MAGENTA, True),
-                AnsiFore.LIGHTCYAN_EX: (winterm.fore, WinColor.CYAN, True),
-                AnsiFore.LIGHTWHITE_EX: (winterm.fore, WinColor.GREY, True),
-                AnsiBack.BLACK: (winterm.back, WinColor.BLACK),
-                AnsiBack.RED: (winterm.back, WinColor.RED),
-                AnsiBack.GREEN: (winterm.back, WinColor.GREEN),
-                AnsiBack.YELLOW: (winterm.back, WinColor.YELLOW),
-                AnsiBack.BLUE: (winterm.back, WinColor.BLUE),
-                AnsiBack.MAGENTA: (winterm.back, WinColor.MAGENTA),
-                AnsiBack.CYAN: (winterm.back, WinColor.CYAN),
-                AnsiBack.WHITE: (winterm.back, WinColor.GREY),
-                AnsiBack.RESET: (winterm.back, ),
-                AnsiBack.LIGHTBLACK_EX: (winterm.back, WinColor.BLACK, True),
-                AnsiBack.LIGHTRED_EX: (winterm.back, WinColor.RED, True),
-                AnsiBack.LIGHTGREEN_EX: (winterm.back, WinColor.GREEN, True),
-                AnsiBack.LIGHTYELLOW_EX: (winterm.back, WinColor.YELLOW, True),
-                AnsiBack.LIGHTBLUE_EX: (winterm.back, WinColor.BLUE, True),
-                AnsiBack.LIGHTMAGENTA_EX: (winterm.back, WinColor.MAGENTA, True),
-                AnsiBack.LIGHTCYAN_EX: (winterm.back, WinColor.CYAN, True),
-                AnsiBack.LIGHTWHITE_EX: (winterm.back, WinColor.GREY, True),
-            }
-        return dict()
-
-    def write(self, text):
-        if self.strip or self.convert:
-            self.write_and_convert(text)
-        else:
-            self.wrapped.write(text)
-            self.wrapped.flush()
-        if self.autoreset:
-            self.reset_all()
-
-
-    def reset_all(self):
-        if self.convert:
-            self.call_win32('m', (0,))
-        elif not self.strip and not self.stream.closed:
-            self.wrapped.write(Style.RESET_ALL)
-
-
-    def write_and_convert(self, text):
-        '''
-        Write the given text to our wrapped stream, stripping any ANSI
-        sequences from the text, and optionally converting them into win32
-        calls.
-        '''
-        cursor = 0
-        text = self.convert_osc(text)
-        for match in self.ANSI_CSI_RE.finditer(text):
-            start, end = match.span()
-            self.write_plain_text(text, cursor, start)
-            self.convert_ansi(*match.groups())
-            cursor = end
-        self.write_plain_text(text, cursor, len(text))
-
-
-    def write_plain_text(self, text, start, end):
-        if start < end:
-            self.wrapped.write(text[start:end])
-            self.wrapped.flush()
-
-
-    def convert_ansi(self, paramstring, command):
-        if self.convert:
-            params = self.extract_params(command, paramstring)
-            self.call_win32(command, params)
-
-
-    def extract_params(self, command, paramstring):
-        if command in 'Hf':
-            params = tuple(int(p) if len(p) != 0 else 1 for p in paramstring.split(';'))
-            while len(params) < 2:
-                # defaults:
-                params = params + (1,)
-        else:
-            params = tuple(int(p) for p in paramstring.split(';') if len(p) != 0)
-            if len(params) == 0:
-                # defaults:
-                if command in 'JKm':
-                    params = (0,)
-                elif command in 'ABCD':
-                    params = (1,)
-
-        return params
-
-
-    def call_win32(self, command, params):
-        if command == 'm':
-            for param in params:
-                if param in self.win32_calls:
-                    func_args = self.win32_calls[param]
-                    func = func_args[0]
-                    args = func_args[1:]
-                    kwargs = dict(on_stderr=self.on_stderr)
-                    func(*args, **kwargs)
-        elif command in 'J':
-            winterm.erase_screen(params[0], on_stderr=self.on_stderr)
-        elif command in 'K':
-            winterm.erase_line(params[0], on_stderr=self.on_stderr)
-        elif command in 'Hf':     # cursor position - absolute
-            winterm.set_cursor_position(params, on_stderr=self.on_stderr)
-        elif command in 'ABCD':   # cursor position - relative
-            n = params[0]
-            # A - up, B - down, C - forward, D - back
-            x, y = {'A': (0, -n), 'B': (0, n), 'C': (n, 0), 'D': (-n, 0)}[command]
-            winterm.cursor_adjust(x, y, on_stderr=self.on_stderr)
-
-
-    def convert_osc(self, text):
-        for match in self.ANSI_OSC_RE.finditer(text):
-            start, end = match.span()
-            text = text[:start] + text[end:]
-            paramstring, command = match.groups()
-            if command == BEL:
-                if paramstring.count(";") == 1:
-                    params = paramstring.split(";")
-                    # 0 - change title and icon (we will only change title)
-                    # 1 - change icon (we don't support this)
-                    # 2 - change title
-                    if params[0] in '02':
-                        winterm.set_title(params[1])
-        return text
-
-
-    def flush(self):
-        self.wrapped.flush()
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/initialise.py b/.venv/Lib/site-packages/pip/_vendor/colorama/initialise.py
deleted file mode 100644
index d5fd4b7..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/colorama/initialise.py
+++ /dev/null
@@ -1,121 +0,0 @@
-# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file.
-import atexit
-import contextlib
-import sys
-
-from .ansitowin32 import AnsiToWin32
-
-
-def _wipe_internal_state_for_tests():
-    global orig_stdout, orig_stderr
-    orig_stdout = None
-    orig_stderr = None
-
-    global wrapped_stdout, wrapped_stderr
-    wrapped_stdout = None
-    wrapped_stderr = None
-
-    global atexit_done
-    atexit_done = False
-
-    global fixed_windows_console
-    fixed_windows_console = False
-
-    try:
-        # no-op if it wasn't registered
-        atexit.unregister(reset_all)
-    except AttributeError:
-        # python 2: no atexit.unregister. Oh well, we did our best.
-        pass
-
-
-def reset_all():
-    if AnsiToWin32 is not None:    # Issue #74: objects might become None at exit
-        AnsiToWin32(orig_stdout).reset_all()
-
-
-def init(autoreset=False, convert=None, strip=None, wrap=True):
-
-    if not wrap and any([autoreset, convert, strip]):
-        raise ValueError('wrap=False conflicts with any other arg=True')
-
-    global wrapped_stdout, wrapped_stderr
-    global orig_stdout, orig_stderr
-
-    orig_stdout = sys.stdout
-    orig_stderr = sys.stderr
-
-    if sys.stdout is None:
-        wrapped_stdout = None
-    else:
-        sys.stdout = wrapped_stdout = \
-            wrap_stream(orig_stdout, convert, strip, autoreset, wrap)
-    if sys.stderr is None:
-        wrapped_stderr = None
-    else:
-        sys.stderr = wrapped_stderr = \
-            wrap_stream(orig_stderr, convert, strip, autoreset, wrap)
-
-    global atexit_done
-    if not atexit_done:
-        atexit.register(reset_all)
-        atexit_done = True
-
-
-def deinit():
-    if orig_stdout is not None:
-        sys.stdout = orig_stdout
-    if orig_stderr is not None:
-        sys.stderr = orig_stderr
-
-
-def just_fix_windows_console():
-    global fixed_windows_console
-
-    if sys.platform != "win32":
-        return
-    if fixed_windows_console:
-        return
-    if wrapped_stdout is not None or wrapped_stderr is not None:
-        # Someone already ran init() and it did stuff, so we won't second-guess them
-        return
-
-    # On newer versions of Windows, AnsiToWin32.__init__ will implicitly enable the
-    # native ANSI support in the console as a side-effect. We only need to actually
-    # replace sys.stdout/stderr if we're in the old-style conversion mode.
-    new_stdout = AnsiToWin32(sys.stdout, convert=None, strip=None, autoreset=False)
-    if new_stdout.convert:
-        sys.stdout = new_stdout
-    new_stderr = AnsiToWin32(sys.stderr, convert=None, strip=None, autoreset=False)
-    if new_stderr.convert:
-        sys.stderr = new_stderr
-
-    fixed_windows_console = True
-
-@contextlib.contextmanager
-def colorama_text(*args, **kwargs):
-    init(*args, **kwargs)
-    try:
-        yield
-    finally:
-        deinit()
-
-
-def reinit():
-    if wrapped_stdout is not None:
-        sys.stdout = wrapped_stdout
-    if wrapped_stderr is not None:
-        sys.stderr = wrapped_stderr
-
-
-def wrap_stream(stream, convert, strip, autoreset, wrap):
-    if wrap:
-        wrapper = AnsiToWin32(stream,
-            convert=convert, strip=strip, autoreset=autoreset)
-        if wrapper.should_wrap():
-            stream = wrapper.stream
-    return stream
-
-
-# Use this for initial setup as well, to reduce code duplication
-_wipe_internal_state_for_tests()
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__init__.py b/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__init__.py
deleted file mode 100644
index 8c5661e..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__init__.py
+++ /dev/null
@@ -1 +0,0 @@
-# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file.
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__pycache__/__init__.cpython-311.pyc
deleted file mode 100644
index 6cade7b..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__pycache__/__init__.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__pycache__/ansi_test.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__pycache__/ansi_test.cpython-311.pyc
deleted file mode 100644
index d748bbc..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__pycache__/ansi_test.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__pycache__/ansitowin32_test.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__pycache__/ansitowin32_test.cpython-311.pyc
deleted file mode 100644
index 597435b..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__pycache__/ansitowin32_test.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__pycache__/initialise_test.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__pycache__/initialise_test.cpython-311.pyc
deleted file mode 100644
index 2e506cc..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__pycache__/initialise_test.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__pycache__/isatty_test.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__pycache__/isatty_test.cpython-311.pyc
deleted file mode 100644
index 11bd364..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__pycache__/isatty_test.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__pycache__/utils.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__pycache__/utils.cpython-311.pyc
deleted file mode 100644
index fd7ab07..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__pycache__/utils.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__pycache__/winterm_test.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__pycache__/winterm_test.cpython-311.pyc
deleted file mode 100644
index 9d2c38b..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/__pycache__/winterm_test.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/ansi_test.py b/.venv/Lib/site-packages/pip/_vendor/colorama/tests/ansi_test.py
deleted file mode 100644
index 0a20c80..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/ansi_test.py
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file.
-import sys
-from unittest import TestCase, main
-
-from ..ansi import Back, Fore, Style
-from ..ansitowin32 import AnsiToWin32
-
-stdout_orig = sys.stdout
-stderr_orig = sys.stderr
-
-
-class AnsiTest(TestCase):
-
-    def setUp(self):
-        # sanity check: stdout should be a file or StringIO object.
-        # It will only be AnsiToWin32 if init() has previously wrapped it
-        self.assertNotEqual(type(sys.stdout), AnsiToWin32)
-        self.assertNotEqual(type(sys.stderr), AnsiToWin32)
-
-    def tearDown(self):
-        sys.stdout = stdout_orig
-        sys.stderr = stderr_orig
-
-
-    def testForeAttributes(self):
-        self.assertEqual(Fore.BLACK, '\033[30m')
-        self.assertEqual(Fore.RED, '\033[31m')
-        self.assertEqual(Fore.GREEN, '\033[32m')
-        self.assertEqual(Fore.YELLOW, '\033[33m')
-        self.assertEqual(Fore.BLUE, '\033[34m')
-        self.assertEqual(Fore.MAGENTA, '\033[35m')
-        self.assertEqual(Fore.CYAN, '\033[36m')
-        self.assertEqual(Fore.WHITE, '\033[37m')
-        self.assertEqual(Fore.RESET, '\033[39m')
-
-        # Check the light, extended versions.
-        self.assertEqual(Fore.LIGHTBLACK_EX, '\033[90m')
-        self.assertEqual(Fore.LIGHTRED_EX, '\033[91m')
-        self.assertEqual(Fore.LIGHTGREEN_EX, '\033[92m')
-        self.assertEqual(Fore.LIGHTYELLOW_EX, '\033[93m')
-        self.assertEqual(Fore.LIGHTBLUE_EX, '\033[94m')
-        self.assertEqual(Fore.LIGHTMAGENTA_EX, '\033[95m')
-        self.assertEqual(Fore.LIGHTCYAN_EX, '\033[96m')
-        self.assertEqual(Fore.LIGHTWHITE_EX, '\033[97m')
-
-
-    def testBackAttributes(self):
-        self.assertEqual(Back.BLACK, '\033[40m')
-        self.assertEqual(Back.RED, '\033[41m')
-        self.assertEqual(Back.GREEN, '\033[42m')
-        self.assertEqual(Back.YELLOW, '\033[43m')
-        self.assertEqual(Back.BLUE, '\033[44m')
-        self.assertEqual(Back.MAGENTA, '\033[45m')
-        self.assertEqual(Back.CYAN, '\033[46m')
-        self.assertEqual(Back.WHITE, '\033[47m')
-        self.assertEqual(Back.RESET, '\033[49m')
-
-        # Check the light, extended versions.
-        self.assertEqual(Back.LIGHTBLACK_EX, '\033[100m')
-        self.assertEqual(Back.LIGHTRED_EX, '\033[101m')
-        self.assertEqual(Back.LIGHTGREEN_EX, '\033[102m')
-        self.assertEqual(Back.LIGHTYELLOW_EX, '\033[103m')
-        self.assertEqual(Back.LIGHTBLUE_EX, '\033[104m')
-        self.assertEqual(Back.LIGHTMAGENTA_EX, '\033[105m')
-        self.assertEqual(Back.LIGHTCYAN_EX, '\033[106m')
-        self.assertEqual(Back.LIGHTWHITE_EX, '\033[107m')
-
-
-    def testStyleAttributes(self):
-        self.assertEqual(Style.DIM, '\033[2m')
-        self.assertEqual(Style.NORMAL, '\033[22m')
-        self.assertEqual(Style.BRIGHT, '\033[1m')
-
-
-if __name__ == '__main__':
-    main()
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/ansitowin32_test.py b/.venv/Lib/site-packages/pip/_vendor/colorama/tests/ansitowin32_test.py
deleted file mode 100644
index 91ca551..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/ansitowin32_test.py
+++ /dev/null
@@ -1,294 +0,0 @@
-# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file.
-from io import StringIO, TextIOWrapper
-from unittest import TestCase, main
-try:
-    from contextlib import ExitStack
-except ImportError:
-    # python 2
-    from contextlib2 import ExitStack
-
-try:
-    from unittest.mock import MagicMock, Mock, patch
-except ImportError:
-    from mock import MagicMock, Mock, patch
-
-from ..ansitowin32 import AnsiToWin32, StreamWrapper
-from ..win32 import ENABLE_VIRTUAL_TERMINAL_PROCESSING
-from .utils import osname
-
-
-class StreamWrapperTest(TestCase):
-
-    def testIsAProxy(self):
-        mockStream = Mock()
-        wrapper = StreamWrapper(mockStream, None)
-        self.assertTrue( wrapper.random_attr is mockStream.random_attr )
-
-    def testDelegatesWrite(self):
-        mockStream = Mock()
-        mockConverter = Mock()
-        wrapper = StreamWrapper(mockStream, mockConverter)
-        wrapper.write('hello')
-        self.assertTrue(mockConverter.write.call_args, (('hello',), {}))
-
-    def testDelegatesContext(self):
-        mockConverter = Mock()
-        s = StringIO()
-        with StreamWrapper(s, mockConverter) as fp:
-            fp.write(u'hello')
-        self.assertTrue(s.closed)
-
-    def testProxyNoContextManager(self):
-        mockStream = MagicMock()
-        mockStream.__enter__.side_effect = AttributeError()
-        mockConverter = Mock()
-        with self.assertRaises(AttributeError) as excinfo:
-            with StreamWrapper(mockStream, mockConverter) as wrapper:
-                wrapper.write('hello')
-
-    def test_closed_shouldnt_raise_on_closed_stream(self):
-        stream = StringIO()
-        stream.close()
-        wrapper = StreamWrapper(stream, None)
-        self.assertEqual(wrapper.closed, True)
-
-    def test_closed_shouldnt_raise_on_detached_stream(self):
-        stream = TextIOWrapper(StringIO())
-        stream.detach()
-        wrapper = StreamWrapper(stream, None)
-        self.assertEqual(wrapper.closed, True)
-
-class AnsiToWin32Test(TestCase):
-
-    def testInit(self):
-        mockStdout = Mock()
-        auto = Mock()
-        stream = AnsiToWin32(mockStdout, autoreset=auto)
-        self.assertEqual(stream.wrapped, mockStdout)
-        self.assertEqual(stream.autoreset, auto)
-
-    @patch('colorama.ansitowin32.winterm', None)
-    @patch('colorama.ansitowin32.winapi_test', lambda *_: True)
-    def testStripIsTrueOnWindows(self):
-        with osname('nt'):
-            mockStdout = Mock()
-            stream = AnsiToWin32(mockStdout)
-            self.assertTrue(stream.strip)
-
-    def testStripIsFalseOffWindows(self):
-        with osname('posix'):
-            mockStdout = Mock(closed=False)
-            stream = AnsiToWin32(mockStdout)
-            self.assertFalse(stream.strip)
-
-    def testWriteStripsAnsi(self):
-        mockStdout = Mock()
-        stream = AnsiToWin32(mockStdout)
-        stream.wrapped = Mock()
-        stream.write_and_convert = Mock()
-        stream.strip = True
-
-        stream.write('abc')
-
-        self.assertFalse(stream.wrapped.write.called)
-        self.assertEqual(stream.write_and_convert.call_args, (('abc',), {}))
-
-    def testWriteDoesNotStripAnsi(self):
-        mockStdout = Mock()
-        stream = AnsiToWin32(mockStdout)
-        stream.wrapped = Mock()
-        stream.write_and_convert = Mock()
-        stream.strip = False
-        stream.convert = False
-
-        stream.write('abc')
-
-        self.assertFalse(stream.write_and_convert.called)
-        self.assertEqual(stream.wrapped.write.call_args, (('abc',), {}))
-
-    def assert_autoresets(self, convert, autoreset=True):
-        stream = AnsiToWin32(Mock())
-        stream.convert = convert
-        stream.reset_all = Mock()
-        stream.autoreset = autoreset
-        stream.winterm = Mock()
-
-        stream.write('abc')
-
-        self.assertEqual(stream.reset_all.called, autoreset)
-
-    def testWriteAutoresets(self):
-        self.assert_autoresets(convert=True)
-        self.assert_autoresets(convert=False)
-        self.assert_autoresets(convert=True, autoreset=False)
-        self.assert_autoresets(convert=False, autoreset=False)
-
-    def testWriteAndConvertWritesPlainText(self):
-        stream = AnsiToWin32(Mock())
-        stream.write_and_convert( 'abc' )
-        self.assertEqual( stream.wrapped.write.call_args, (('abc',), {}) )
-
-    def testWriteAndConvertStripsAllValidAnsi(self):
-        stream = AnsiToWin32(Mock())
-        stream.call_win32 = Mock()
-        data = [
-            'abc\033[mdef',
-            'abc\033[0mdef',
-            'abc\033[2mdef',
-            'abc\033[02mdef',
-            'abc\033[002mdef',
-            'abc\033[40mdef',
-            'abc\033[040mdef',
-            'abc\033[0;1mdef',
-            'abc\033[40;50mdef',
-            'abc\033[50;30;40mdef',
-            'abc\033[Adef',
-            'abc\033[0Gdef',
-            'abc\033[1;20;128Hdef',
-        ]
-        for datum in data:
-            stream.wrapped.write.reset_mock()
-            stream.write_and_convert( datum )
-            self.assertEqual(
-               [args[0] for args in stream.wrapped.write.call_args_list],
-               [ ('abc',), ('def',) ]
-            )
-
-    def testWriteAndConvertSkipsEmptySnippets(self):
-        stream = AnsiToWin32(Mock())
-        stream.call_win32 = Mock()
-        stream.write_and_convert( '\033[40m\033[41m' )
-        self.assertFalse( stream.wrapped.write.called )
-
-    def testWriteAndConvertCallsWin32WithParamsAndCommand(self):
-        stream = AnsiToWin32(Mock())
-        stream.convert = True
-        stream.call_win32 = Mock()
-        stream.extract_params = Mock(return_value='params')
-        data = {
-            'abc\033[adef':         ('a', 'params'),
-            'abc\033[;;bdef':       ('b', 'params'),
-            'abc\033[0cdef':        ('c', 'params'),
-            'abc\033[;;0;;Gdef':    ('G', 'params'),
-            'abc\033[1;20;128Hdef': ('H', 'params'),
-        }
-        for datum, expected in data.items():
-            stream.call_win32.reset_mock()
-            stream.write_and_convert( datum )
-            self.assertEqual( stream.call_win32.call_args[0], expected )
-
-    def test_reset_all_shouldnt_raise_on_closed_orig_stdout(self):
-        stream = StringIO()
-        converter = AnsiToWin32(stream)
-        stream.close()
-
-        converter.reset_all()
-
-    def test_wrap_shouldnt_raise_on_closed_orig_stdout(self):
-        stream = StringIO()
-        stream.close()
-        with \
-            patch("colorama.ansitowin32.os.name", "nt"), \
-            patch("colorama.ansitowin32.winapi_test", lambda: True):
-                converter = AnsiToWin32(stream)
-        self.assertTrue(converter.strip)
-        self.assertFalse(converter.convert)
-
-    def test_wrap_shouldnt_raise_on_missing_closed_attr(self):
-        with \
-            patch("colorama.ansitowin32.os.name", "nt"), \
-            patch("colorama.ansitowin32.winapi_test", lambda: True):
-                converter = AnsiToWin32(object())
-        self.assertTrue(converter.strip)
-        self.assertFalse(converter.convert)
-
-    def testExtractParams(self):
-        stream = AnsiToWin32(Mock())
-        data = {
-            '':               (0,),
-            ';;':             (0,),
-            '2':              (2,),
-            ';;002;;':        (2,),
-            '0;1':            (0, 1),
-            ';;003;;456;;':   (3, 456),
-            '11;22;33;44;55': (11, 22, 33, 44, 55),
-        }
-        for datum, expected in data.items():
-            self.assertEqual(stream.extract_params('m', datum), expected)
-
-    def testCallWin32UsesLookup(self):
-        listener = Mock()
-        stream = AnsiToWin32(listener)
-        stream.win32_calls = {
-            1: (lambda *_, **__: listener(11),),
-            2: (lambda *_, **__: listener(22),),
-            3: (lambda *_, **__: listener(33),),
-        }
-        stream.call_win32('m', (3, 1, 99, 2))
-        self.assertEqual(
-            [a[0][0] for a in listener.call_args_list],
-            [33, 11, 22] )
-
-    def test_osc_codes(self):
-        mockStdout = Mock()
-        stream = AnsiToWin32(mockStdout, convert=True)
-        with patch('colorama.ansitowin32.winterm') as winterm:
-            data = [
-                '\033]0\x07',                      # missing arguments
-                '\033]0;foo\x08',                  # wrong OSC command
-                '\033]0;colorama_test_title\x07',  # should work
-                '\033]1;colorama_test_title\x07',  # wrong set command
-                '\033]2;colorama_test_title\x07',  # should work
-                '\033]' + ';' * 64 + '\x08',       # see issue #247
-            ]
-            for code in data:
-                stream.write(code)
-            self.assertEqual(winterm.set_title.call_count, 2)
-
-    def test_native_windows_ansi(self):
-        with ExitStack() as stack:
-            def p(a, b):
-                stack.enter_context(patch(a, b, create=True))
-            # Pretend to be on Windows
-            p("colorama.ansitowin32.os.name", "nt")
-            p("colorama.ansitowin32.winapi_test", lambda: True)
-            p("colorama.win32.winapi_test", lambda: True)
-            p("colorama.winterm.win32.windll", "non-None")
-            p("colorama.winterm.get_osfhandle", lambda _: 1234)
-
-            # Pretend that our mock stream has native ANSI support
-            p(
-                "colorama.winterm.win32.GetConsoleMode",
-                lambda _: ENABLE_VIRTUAL_TERMINAL_PROCESSING,
-            )
-            SetConsoleMode = Mock()
-            p("colorama.winterm.win32.SetConsoleMode", SetConsoleMode)
-
-            stdout = Mock()
-            stdout.closed = False
-            stdout.isatty.return_value = True
-            stdout.fileno.return_value = 1
-
-            # Our fake console says it has native vt support, so AnsiToWin32 should
-            # enable that support and do nothing else.
-            stream = AnsiToWin32(stdout)
-            SetConsoleMode.assert_called_with(1234, ENABLE_VIRTUAL_TERMINAL_PROCESSING)
-            self.assertFalse(stream.strip)
-            self.assertFalse(stream.convert)
-            self.assertFalse(stream.should_wrap())
-
-            # Now let's pretend we're on an old Windows console, that doesn't have
-            # native ANSI support.
-            p("colorama.winterm.win32.GetConsoleMode", lambda _: 0)
-            SetConsoleMode = Mock()
-            p("colorama.winterm.win32.SetConsoleMode", SetConsoleMode)
-
-            stream = AnsiToWin32(stdout)
-            SetConsoleMode.assert_called_with(1234, ENABLE_VIRTUAL_TERMINAL_PROCESSING)
-            self.assertTrue(stream.strip)
-            self.assertTrue(stream.convert)
-            self.assertTrue(stream.should_wrap())
-
-
-if __name__ == '__main__':
-    main()
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/initialise_test.py b/.venv/Lib/site-packages/pip/_vendor/colorama/tests/initialise_test.py
deleted file mode 100644
index 89f9b07..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/initialise_test.py
+++ /dev/null
@@ -1,189 +0,0 @@
-# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file.
-import sys
-from unittest import TestCase, main, skipUnless
-
-try:
-    from unittest.mock import patch, Mock
-except ImportError:
-    from mock import patch, Mock
-
-from ..ansitowin32 import StreamWrapper
-from ..initialise import init, just_fix_windows_console, _wipe_internal_state_for_tests
-from .utils import osname, replace_by
-
-orig_stdout = sys.stdout
-orig_stderr = sys.stderr
-
-
-class InitTest(TestCase):
-
-    @skipUnless(sys.stdout.isatty(), "sys.stdout is not a tty")
-    def setUp(self):
-        # sanity check
-        self.assertNotWrapped()
-
-    def tearDown(self):
-        _wipe_internal_state_for_tests()
-        sys.stdout = orig_stdout
-        sys.stderr = orig_stderr
-
-    def assertWrapped(self):
-        self.assertIsNot(sys.stdout, orig_stdout, 'stdout should be wrapped')
-        self.assertIsNot(sys.stderr, orig_stderr, 'stderr should be wrapped')
-        self.assertTrue(isinstance(sys.stdout, StreamWrapper),
-            'bad stdout wrapper')
-        self.assertTrue(isinstance(sys.stderr, StreamWrapper),
-            'bad stderr wrapper')
-
-    def assertNotWrapped(self):
-        self.assertIs(sys.stdout, orig_stdout, 'stdout should not be wrapped')
-        self.assertIs(sys.stderr, orig_stderr, 'stderr should not be wrapped')
-
-    @patch('colorama.initialise.reset_all')
-    @patch('colorama.ansitowin32.winapi_test', lambda *_: True)
-    @patch('colorama.ansitowin32.enable_vt_processing', lambda *_: False)
-    def testInitWrapsOnWindows(self, _):
-        with osname("nt"):
-            init()
-            self.assertWrapped()
-
-    @patch('colorama.initialise.reset_all')
-    @patch('colorama.ansitowin32.winapi_test', lambda *_: False)
-    def testInitDoesntWrapOnEmulatedWindows(self, _):
-        with osname("nt"):
-            init()
-            self.assertNotWrapped()
-
-    def testInitDoesntWrapOnNonWindows(self):
-        with osname("posix"):
-            init()
-            self.assertNotWrapped()
-
-    def testInitDoesntWrapIfNone(self):
-        with replace_by(None):
-            init()
-            # We can't use assertNotWrapped here because replace_by(None)
-            # changes stdout/stderr already.
-            self.assertIsNone(sys.stdout)
-            self.assertIsNone(sys.stderr)
-
-    def testInitAutoresetOnWrapsOnAllPlatforms(self):
-        with osname("posix"):
-            init(autoreset=True)
-            self.assertWrapped()
-
-    def testInitWrapOffDoesntWrapOnWindows(self):
-        with osname("nt"):
-            init(wrap=False)
-            self.assertNotWrapped()
-
-    def testInitWrapOffIncompatibleWithAutoresetOn(self):
-        self.assertRaises(ValueError, lambda: init(autoreset=True, wrap=False))
-
-    @patch('colorama.win32.SetConsoleTextAttribute')
-    @patch('colorama.initialise.AnsiToWin32')
-    def testAutoResetPassedOn(self, mockATW32, _):
-        with osname("nt"):
-            init(autoreset=True)
-            self.assertEqual(len(mockATW32.call_args_list), 2)
-            self.assertEqual(mockATW32.call_args_list[1][1]['autoreset'], True)
-            self.assertEqual(mockATW32.call_args_list[0][1]['autoreset'], True)
-
-    @patch('colorama.initialise.AnsiToWin32')
-    def testAutoResetChangeable(self, mockATW32):
-        with osname("nt"):
-            init()
-
-            init(autoreset=True)
-            self.assertEqual(len(mockATW32.call_args_list), 4)
-            self.assertEqual(mockATW32.call_args_list[2][1]['autoreset'], True)
-            self.assertEqual(mockATW32.call_args_list[3][1]['autoreset'], True)
-
-            init()
-            self.assertEqual(len(mockATW32.call_args_list), 6)
-            self.assertEqual(
-                mockATW32.call_args_list[4][1]['autoreset'], False)
-            self.assertEqual(
-                mockATW32.call_args_list[5][1]['autoreset'], False)
-
-
-    @patch('colorama.initialise.atexit.register')
-    def testAtexitRegisteredOnlyOnce(self, mockRegister):
-        init()
-        self.assertTrue(mockRegister.called)
-        mockRegister.reset_mock()
-        init()
-        self.assertFalse(mockRegister.called)
-
-
-class JustFixWindowsConsoleTest(TestCase):
-    def _reset(self):
-        _wipe_internal_state_for_tests()
-        sys.stdout = orig_stdout
-        sys.stderr = orig_stderr
-
-    def tearDown(self):
-        self._reset()
-
-    @patch("colorama.ansitowin32.winapi_test", lambda: True)
-    def testJustFixWindowsConsole(self):
-        if sys.platform != "win32":
-            # just_fix_windows_console should be a no-op
-            just_fix_windows_console()
-            self.assertIs(sys.stdout, orig_stdout)
-            self.assertIs(sys.stderr, orig_stderr)
-        else:
-            def fake_std():
-                # Emulate stdout=not a tty, stderr=tty
-                # to check that we handle both cases correctly
-                stdout = Mock()
-                stdout.closed = False
-                stdout.isatty.return_value = False
-                stdout.fileno.return_value = 1
-                sys.stdout = stdout
-
-                stderr = Mock()
-                stderr.closed = False
-                stderr.isatty.return_value = True
-                stderr.fileno.return_value = 2
-                sys.stderr = stderr
-
-            for native_ansi in [False, True]:
-                with patch(
-                    'colorama.ansitowin32.enable_vt_processing',
-                    lambda *_: native_ansi
-                ):
-                    self._reset()
-                    fake_std()
-
-                    # Regular single-call test
-                    prev_stdout = sys.stdout
-                    prev_stderr = sys.stderr
-                    just_fix_windows_console()
-                    self.assertIs(sys.stdout, prev_stdout)
-                    if native_ansi:
-                        self.assertIs(sys.stderr, prev_stderr)
-                    else:
-                        self.assertIsNot(sys.stderr, prev_stderr)
-
-                    # second call without resetting is always a no-op
-                    prev_stdout = sys.stdout
-                    prev_stderr = sys.stderr
-                    just_fix_windows_console()
-                    self.assertIs(sys.stdout, prev_stdout)
-                    self.assertIs(sys.stderr, prev_stderr)
-
-                    self._reset()
-                    fake_std()
-
-                    # If init() runs first, just_fix_windows_console should be a no-op
-                    init()
-                    prev_stdout = sys.stdout
-                    prev_stderr = sys.stderr
-                    just_fix_windows_console()
-                    self.assertIs(prev_stdout, sys.stdout)
-                    self.assertIs(prev_stderr, sys.stderr)
-
-
-if __name__ == '__main__':
-    main()
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/isatty_test.py b/.venv/Lib/site-packages/pip/_vendor/colorama/tests/isatty_test.py
deleted file mode 100644
index 0f84e4b..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/isatty_test.py
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file.
-import sys
-from unittest import TestCase, main
-
-from ..ansitowin32 import StreamWrapper, AnsiToWin32
-from .utils import pycharm, replace_by, replace_original_by, StreamTTY, StreamNonTTY
-
-
-def is_a_tty(stream):
-    return StreamWrapper(stream, None).isatty()
-
-class IsattyTest(TestCase):
-
-    def test_TTY(self):
-        tty = StreamTTY()
-        self.assertTrue(is_a_tty(tty))
-        with pycharm():
-            self.assertTrue(is_a_tty(tty))
-
-    def test_nonTTY(self):
-        non_tty = StreamNonTTY()
-        self.assertFalse(is_a_tty(non_tty))
-        with pycharm():
-            self.assertFalse(is_a_tty(non_tty))
-
-    def test_withPycharm(self):
-        with pycharm():
-            self.assertTrue(is_a_tty(sys.stderr))
-            self.assertTrue(is_a_tty(sys.stdout))
-
-    def test_withPycharmTTYOverride(self):
-        tty = StreamTTY()
-        with pycharm(), replace_by(tty):
-            self.assertTrue(is_a_tty(tty))
-
-    def test_withPycharmNonTTYOverride(self):
-        non_tty = StreamNonTTY()
-        with pycharm(), replace_by(non_tty):
-            self.assertFalse(is_a_tty(non_tty))
-
-    def test_withPycharmNoneOverride(self):
-        with pycharm():
-            with replace_by(None), replace_original_by(None):
-                self.assertFalse(is_a_tty(None))
-                self.assertFalse(is_a_tty(StreamNonTTY()))
-                self.assertTrue(is_a_tty(StreamTTY()))
-
-    def test_withPycharmStreamWrapped(self):
-        with pycharm():
-            self.assertTrue(AnsiToWin32(StreamTTY()).stream.isatty())
-            self.assertFalse(AnsiToWin32(StreamNonTTY()).stream.isatty())
-            self.assertTrue(AnsiToWin32(sys.stdout).stream.isatty())
-            self.assertTrue(AnsiToWin32(sys.stderr).stream.isatty())
-
-
-if __name__ == '__main__':
-    main()
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/utils.py b/.venv/Lib/site-packages/pip/_vendor/colorama/tests/utils.py
deleted file mode 100644
index 472fafb..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/utils.py
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file.
-from contextlib import contextmanager
-from io import StringIO
-import sys
-import os
-
-
-class StreamTTY(StringIO):
-    def isatty(self):
-        return True
-
-class StreamNonTTY(StringIO):
-    def isatty(self):
-        return False
-
-@contextmanager
-def osname(name):
-    orig = os.name
-    os.name = name
-    yield
-    os.name = orig
-
-@contextmanager
-def replace_by(stream):
-    orig_stdout = sys.stdout
-    orig_stderr = sys.stderr
-    sys.stdout = stream
-    sys.stderr = stream
-    yield
-    sys.stdout = orig_stdout
-    sys.stderr = orig_stderr
-
-@contextmanager
-def replace_original_by(stream):
-    orig_stdout = sys.__stdout__
-    orig_stderr = sys.__stderr__
-    sys.__stdout__ = stream
-    sys.__stderr__ = stream
-    yield
-    sys.__stdout__ = orig_stdout
-    sys.__stderr__ = orig_stderr
-
-@contextmanager
-def pycharm():
-    os.environ["PYCHARM_HOSTED"] = "1"
-    non_tty = StreamNonTTY()
-    with replace_by(non_tty), replace_original_by(non_tty):
-        yield
-    del os.environ["PYCHARM_HOSTED"]
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/winterm_test.py b/.venv/Lib/site-packages/pip/_vendor/colorama/tests/winterm_test.py
deleted file mode 100644
index d0955f9..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/colorama/tests/winterm_test.py
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file.
-import sys
-from unittest import TestCase, main, skipUnless
-
-try:
-    from unittest.mock import Mock, patch
-except ImportError:
-    from mock import Mock, patch
-
-from ..winterm import WinColor, WinStyle, WinTerm
-
-
-class WinTermTest(TestCase):
-
-    @patch('colorama.winterm.win32')
-    def testInit(self, mockWin32):
-        mockAttr = Mock()
-        mockAttr.wAttributes = 7 + 6 * 16 + 8
-        mockWin32.GetConsoleScreenBufferInfo.return_value = mockAttr
-        term = WinTerm()
-        self.assertEqual(term._fore, 7)
-        self.assertEqual(term._back, 6)
-        self.assertEqual(term._style, 8)
-
-    @skipUnless(sys.platform.startswith("win"), "requires Windows")
-    def testGetAttrs(self):
-        term = WinTerm()
-
-        term._fore = 0
-        term._back = 0
-        term._style = 0
-        self.assertEqual(term.get_attrs(), 0)
-
-        term._fore = WinColor.YELLOW
-        self.assertEqual(term.get_attrs(), WinColor.YELLOW)
-
-        term._back = WinColor.MAGENTA
-        self.assertEqual(
-            term.get_attrs(),
-            WinColor.YELLOW + WinColor.MAGENTA * 16)
-
-        term._style = WinStyle.BRIGHT
-        self.assertEqual(
-            term.get_attrs(),
-            WinColor.YELLOW + WinColor.MAGENTA * 16 + WinStyle.BRIGHT)
-
-    @patch('colorama.winterm.win32')
-    def testResetAll(self, mockWin32):
-        mockAttr = Mock()
-        mockAttr.wAttributes = 1 + 2 * 16 + 8
-        mockWin32.GetConsoleScreenBufferInfo.return_value = mockAttr
-        term = WinTerm()
-
-        term.set_console = Mock()
-        term._fore = -1
-        term._back = -1
-        term._style = -1
-
-        term.reset_all()
-
-        self.assertEqual(term._fore, 1)
-        self.assertEqual(term._back, 2)
-        self.assertEqual(term._style, 8)
-        self.assertEqual(term.set_console.called, True)
-
-    @skipUnless(sys.platform.startswith("win"), "requires Windows")
-    def testFore(self):
-        term = WinTerm()
-        term.set_console = Mock()
-        term._fore = 0
-
-        term.fore(5)
-
-        self.assertEqual(term._fore, 5)
-        self.assertEqual(term.set_console.called, True)
-
-    @skipUnless(sys.platform.startswith("win"), "requires Windows")
-    def testBack(self):
-        term = WinTerm()
-        term.set_console = Mock()
-        term._back = 0
-
-        term.back(5)
-
-        self.assertEqual(term._back, 5)
-        self.assertEqual(term.set_console.called, True)
-
-    @skipUnless(sys.platform.startswith("win"), "requires Windows")
-    def testStyle(self):
-        term = WinTerm()
-        term.set_console = Mock()
-        term._style = 0
-
-        term.style(22)
-
-        self.assertEqual(term._style, 22)
-        self.assertEqual(term.set_console.called, True)
-
-    @patch('colorama.winterm.win32')
-    def testSetConsole(self, mockWin32):
-        mockAttr = Mock()
-        mockAttr.wAttributes = 0
-        mockWin32.GetConsoleScreenBufferInfo.return_value = mockAttr
-        term = WinTerm()
-        term.windll = Mock()
-
-        term.set_console()
-
-        self.assertEqual(
-            mockWin32.SetConsoleTextAttribute.call_args,
-            ((mockWin32.STDOUT, term.get_attrs()), {})
-        )
-
-    @patch('colorama.winterm.win32')
-    def testSetConsoleOnStderr(self, mockWin32):
-        mockAttr = Mock()
-        mockAttr.wAttributes = 0
-        mockWin32.GetConsoleScreenBufferInfo.return_value = mockAttr
-        term = WinTerm()
-        term.windll = Mock()
-
-        term.set_console(on_stderr=True)
-
-        self.assertEqual(
-            mockWin32.SetConsoleTextAttribute.call_args,
-            ((mockWin32.STDERR, term.get_attrs()), {})
-        )
-
-
-if __name__ == '__main__':
-    main()
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/win32.py b/.venv/Lib/site-packages/pip/_vendor/colorama/win32.py
deleted file mode 100644
index 841b0e2..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/colorama/win32.py
+++ /dev/null
@@ -1,180 +0,0 @@
-# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file.
-
-# from winbase.h
-STDOUT = -11
-STDERR = -12
-
-ENABLE_VIRTUAL_TERMINAL_PROCESSING = 0x0004
-
-try:
-    import ctypes
-    from ctypes import LibraryLoader
-    windll = LibraryLoader(ctypes.WinDLL)
-    from ctypes import wintypes
-except (AttributeError, ImportError):
-    windll = None
-    SetConsoleTextAttribute = lambda *_: None
-    winapi_test = lambda *_: None
-else:
-    from ctypes import byref, Structure, c_char, POINTER
-
-    COORD = wintypes._COORD
-
-    class CONSOLE_SCREEN_BUFFER_INFO(Structure):
-        """struct in wincon.h."""
-        _fields_ = [
-            ("dwSize", COORD),
-            ("dwCursorPosition", COORD),
-            ("wAttributes", wintypes.WORD),
-            ("srWindow", wintypes.SMALL_RECT),
-            ("dwMaximumWindowSize", COORD),
-        ]
-        def __str__(self):
-            return '(%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d)' % (
-                self.dwSize.Y, self.dwSize.X
-                , self.dwCursorPosition.Y, self.dwCursorPosition.X
-                , self.wAttributes
-                , self.srWindow.Top, self.srWindow.Left, self.srWindow.Bottom, self.srWindow.Right
-                , self.dwMaximumWindowSize.Y, self.dwMaximumWindowSize.X
-            )
-
-    _GetStdHandle = windll.kernel32.GetStdHandle
-    _GetStdHandle.argtypes = [
-        wintypes.DWORD,
-    ]
-    _GetStdHandle.restype = wintypes.HANDLE
-
-    _GetConsoleScreenBufferInfo = windll.kernel32.GetConsoleScreenBufferInfo
-    _GetConsoleScreenBufferInfo.argtypes = [
-        wintypes.HANDLE,
-        POINTER(CONSOLE_SCREEN_BUFFER_INFO),
-    ]
-    _GetConsoleScreenBufferInfo.restype = wintypes.BOOL
-
-    _SetConsoleTextAttribute = windll.kernel32.SetConsoleTextAttribute
-    _SetConsoleTextAttribute.argtypes = [
-        wintypes.HANDLE,
-        wintypes.WORD,
-    ]
-    _SetConsoleTextAttribute.restype = wintypes.BOOL
-
-    _SetConsoleCursorPosition = windll.kernel32.SetConsoleCursorPosition
-    _SetConsoleCursorPosition.argtypes = [
-        wintypes.HANDLE,
-        COORD,
-    ]
-    _SetConsoleCursorPosition.restype = wintypes.BOOL
-
-    _FillConsoleOutputCharacterA = windll.kernel32.FillConsoleOutputCharacterA
-    _FillConsoleOutputCharacterA.argtypes = [
-        wintypes.HANDLE,
-        c_char,
-        wintypes.DWORD,
-        COORD,
-        POINTER(wintypes.DWORD),
-    ]
-    _FillConsoleOutputCharacterA.restype = wintypes.BOOL
-
-    _FillConsoleOutputAttribute = windll.kernel32.FillConsoleOutputAttribute
-    _FillConsoleOutputAttribute.argtypes = [
-        wintypes.HANDLE,
-        wintypes.WORD,
-        wintypes.DWORD,
-        COORD,
-        POINTER(wintypes.DWORD),
-    ]
-    _FillConsoleOutputAttribute.restype = wintypes.BOOL
-
-    _SetConsoleTitleW = windll.kernel32.SetConsoleTitleW
-    _SetConsoleTitleW.argtypes = [
-        wintypes.LPCWSTR
-    ]
-    _SetConsoleTitleW.restype = wintypes.BOOL
-
-    _GetConsoleMode = windll.kernel32.GetConsoleMode
-    _GetConsoleMode.argtypes = [
-        wintypes.HANDLE,
-        POINTER(wintypes.DWORD)
-    ]
-    _GetConsoleMode.restype = wintypes.BOOL
-
-    _SetConsoleMode = windll.kernel32.SetConsoleMode
-    _SetConsoleMode.argtypes = [
-        wintypes.HANDLE,
-        wintypes.DWORD
-    ]
-    _SetConsoleMode.restype = wintypes.BOOL
-
-    def _winapi_test(handle):
-        csbi = CONSOLE_SCREEN_BUFFER_INFO()
-        success = _GetConsoleScreenBufferInfo(
-            handle, byref(csbi))
-        return bool(success)
-
-    def winapi_test():
-        return any(_winapi_test(h) for h in
-                   (_GetStdHandle(STDOUT), _GetStdHandle(STDERR)))
-
-    def GetConsoleScreenBufferInfo(stream_id=STDOUT):
-        handle = _GetStdHandle(stream_id)
-        csbi = CONSOLE_SCREEN_BUFFER_INFO()
-        success = _GetConsoleScreenBufferInfo(
-            handle, byref(csbi))
-        return csbi
-
-    def SetConsoleTextAttribute(stream_id, attrs):
-        handle = _GetStdHandle(stream_id)
-        return _SetConsoleTextAttribute(handle, attrs)
-
-    def SetConsoleCursorPosition(stream_id, position, adjust=True):
-        position = COORD(*position)
-        # If the position is out of range, do nothing.
-        if position.Y <= 0 or position.X <= 0:
-            return
-        # Adjust for Windows' SetConsoleCursorPosition:
-        #    1. being 0-based, while ANSI is 1-based.
-        #    2. expecting (x,y), while ANSI uses (y,x).
-        adjusted_position = COORD(position.Y - 1, position.X - 1)
-        if adjust:
-            # Adjust for viewport's scroll position
-            sr = GetConsoleScreenBufferInfo(STDOUT).srWindow
-            adjusted_position.Y += sr.Top
-            adjusted_position.X += sr.Left
-        # Resume normal processing
-        handle = _GetStdHandle(stream_id)
-        return _SetConsoleCursorPosition(handle, adjusted_position)
-
-    def FillConsoleOutputCharacter(stream_id, char, length, start):
-        handle = _GetStdHandle(stream_id)
-        char = c_char(char.encode())
-        length = wintypes.DWORD(length)
-        num_written = wintypes.DWORD(0)
-        # Note that this is hard-coded for ANSI (vs wide) bytes.
-        success = _FillConsoleOutputCharacterA(
-            handle, char, length, start, byref(num_written))
-        return num_written.value
-
-    def FillConsoleOutputAttribute(stream_id, attr, length, start):
-        ''' FillConsoleOutputAttribute( hConsole, csbi.wAttributes, dwConSize, coordScreen, &cCharsWritten )'''
-        handle = _GetStdHandle(stream_id)
-        attribute = wintypes.WORD(attr)
-        length = wintypes.DWORD(length)
-        num_written = wintypes.DWORD(0)
-        # Note that this is hard-coded for ANSI (vs wide) bytes.
-        return _FillConsoleOutputAttribute(
-            handle, attribute, length, start, byref(num_written))
-
-    def SetConsoleTitle(title):
-        return _SetConsoleTitleW(title)
-
-    def GetConsoleMode(handle):
-        mode = wintypes.DWORD()
-        success = _GetConsoleMode(handle, byref(mode))
-        if not success:
-            raise ctypes.WinError()
-        return mode.value
-
-    def SetConsoleMode(handle, mode):
-        success = _SetConsoleMode(handle, mode)
-        if not success:
-            raise ctypes.WinError()
diff --git a/.venv/Lib/site-packages/pip/_vendor/colorama/winterm.py b/.venv/Lib/site-packages/pip/_vendor/colorama/winterm.py
deleted file mode 100644
index aad867e..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/colorama/winterm.py
+++ /dev/null
@@ -1,195 +0,0 @@
-# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file.
-try:
-    from msvcrt import get_osfhandle
-except ImportError:
-    def get_osfhandle(_):
-        raise OSError("This isn't windows!")
-
-
-from . import win32
-
-# from wincon.h
-class WinColor(object):
-    BLACK   = 0
-    BLUE    = 1
-    GREEN   = 2
-    CYAN    = 3
-    RED     = 4
-    MAGENTA = 5
-    YELLOW  = 6
-    GREY    = 7
-
-# from wincon.h
-class WinStyle(object):
-    NORMAL              = 0x00 # dim text, dim background
-    BRIGHT              = 0x08 # bright text, dim background
-    BRIGHT_BACKGROUND   = 0x80 # dim text, bright background
-
-class WinTerm(object):
-
-    def __init__(self):
-        self._default = win32.GetConsoleScreenBufferInfo(win32.STDOUT).wAttributes
-        self.set_attrs(self._default)
-        self._default_fore = self._fore
-        self._default_back = self._back
-        self._default_style = self._style
-        # In order to emulate LIGHT_EX in windows, we borrow the BRIGHT style.
-        # So that LIGHT_EX colors and BRIGHT style do not clobber each other,
-        # we track them separately, since LIGHT_EX is overwritten by Fore/Back
-        # and BRIGHT is overwritten by Style codes.
-        self._light = 0
-
-    def get_attrs(self):
-        return self._fore + self._back * 16 + (self._style | self._light)
-
-    def set_attrs(self, value):
-        self._fore = value & 7
-        self._back = (value >> 4) & 7
-        self._style = value & (WinStyle.BRIGHT | WinStyle.BRIGHT_BACKGROUND)
-
-    def reset_all(self, on_stderr=None):
-        self.set_attrs(self._default)
-        self.set_console(attrs=self._default)
-        self._light = 0
-
-    def fore(self, fore=None, light=False, on_stderr=False):
-        if fore is None:
-            fore = self._default_fore
-        self._fore = fore
-        # Emulate LIGHT_EX with BRIGHT Style
-        if light:
-            self._light |= WinStyle.BRIGHT
-        else:
-            self._light &= ~WinStyle.BRIGHT
-        self.set_console(on_stderr=on_stderr)
-
-    def back(self, back=None, light=False, on_stderr=False):
-        if back is None:
-            back = self._default_back
-        self._back = back
-        # Emulate LIGHT_EX with BRIGHT_BACKGROUND Style
-        if light:
-            self._light |= WinStyle.BRIGHT_BACKGROUND
-        else:
-            self._light &= ~WinStyle.BRIGHT_BACKGROUND
-        self.set_console(on_stderr=on_stderr)
-
-    def style(self, style=None, on_stderr=False):
-        if style is None:
-            style = self._default_style
-        self._style = style
-        self.set_console(on_stderr=on_stderr)
-
-    def set_console(self, attrs=None, on_stderr=False):
-        if attrs is None:
-            attrs = self.get_attrs()
-        handle = win32.STDOUT
-        if on_stderr:
-            handle = win32.STDERR
-        win32.SetConsoleTextAttribute(handle, attrs)
-
-    def get_position(self, handle):
-        position = win32.GetConsoleScreenBufferInfo(handle).dwCursorPosition
-        # Because Windows coordinates are 0-based,
-        # and win32.SetConsoleCursorPosition expects 1-based.
-        position.X += 1
-        position.Y += 1
-        return position
-
-    def set_cursor_position(self, position=None, on_stderr=False):
-        if position is None:
-            # I'm not currently tracking the position, so there is no default.
-            # position = self.get_position()
-            return
-        handle = win32.STDOUT
-        if on_stderr:
-            handle = win32.STDERR
-        win32.SetConsoleCursorPosition(handle, position)
-
-    def cursor_adjust(self, x, y, on_stderr=False):
-        handle = win32.STDOUT
-        if on_stderr:
-            handle = win32.STDERR
-        position = self.get_position(handle)
-        adjusted_position = (position.Y + y, position.X + x)
-        win32.SetConsoleCursorPosition(handle, adjusted_position, adjust=False)
-
-    def erase_screen(self, mode=0, on_stderr=False):
-        # 0 should clear from the cursor to the end of the screen.
-        # 1 should clear from the cursor to the beginning of the screen.
-        # 2 should clear the entire screen, and move cursor to (1,1)
-        handle = win32.STDOUT
-        if on_stderr:
-            handle = win32.STDERR
-        csbi = win32.GetConsoleScreenBufferInfo(handle)
-        # get the number of character cells in the current buffer
-        cells_in_screen = csbi.dwSize.X * csbi.dwSize.Y
-        # get number of character cells before current cursor position
-        cells_before_cursor = csbi.dwSize.X * csbi.dwCursorPosition.Y + csbi.dwCursorPosition.X
-        if mode == 0:
-            from_coord = csbi.dwCursorPosition
-            cells_to_erase = cells_in_screen - cells_before_cursor
-        elif mode == 1:
-            from_coord = win32.COORD(0, 0)
-            cells_to_erase = cells_before_cursor
-        elif mode == 2:
-            from_coord = win32.COORD(0, 0)
-            cells_to_erase = cells_in_screen
-        else:
-            # invalid mode
-            return
-        # fill the entire screen with blanks
-        win32.FillConsoleOutputCharacter(handle, ' ', cells_to_erase, from_coord)
-        # now set the buffer's attributes accordingly
-        win32.FillConsoleOutputAttribute(handle, self.get_attrs(), cells_to_erase, from_coord)
-        if mode == 2:
-            # put the cursor where needed
-            win32.SetConsoleCursorPosition(handle, (1, 1))
-
-    def erase_line(self, mode=0, on_stderr=False):
-        # 0 should clear from the cursor to the end of the line.
-        # 1 should clear from the cursor to the beginning of the line.
-        # 2 should clear the entire line.
-        handle = win32.STDOUT
-        if on_stderr:
-            handle = win32.STDERR
-        csbi = win32.GetConsoleScreenBufferInfo(handle)
-        if mode == 0:
-            from_coord = csbi.dwCursorPosition
-            cells_to_erase = csbi.dwSize.X - csbi.dwCursorPosition.X
-        elif mode == 1:
-            from_coord = win32.COORD(0, csbi.dwCursorPosition.Y)
-            cells_to_erase = csbi.dwCursorPosition.X
-        elif mode == 2:
-            from_coord = win32.COORD(0, csbi.dwCursorPosition.Y)
-            cells_to_erase = csbi.dwSize.X
-        else:
-            # invalid mode
-            return
-        # fill the entire screen with blanks
-        win32.FillConsoleOutputCharacter(handle, ' ', cells_to_erase, from_coord)
-        # now set the buffer's attributes accordingly
-        win32.FillConsoleOutputAttribute(handle, self.get_attrs(), cells_to_erase, from_coord)
-
-    def set_title(self, title):
-        win32.SetConsoleTitle(title)
-
-
-def enable_vt_processing(fd):
-    if win32.windll is None or not win32.winapi_test():
-        return False
-
-    try:
-        handle = get_osfhandle(fd)
-        mode = win32.GetConsoleMode(handle)
-        win32.SetConsoleMode(
-            handle,
-            mode | win32.ENABLE_VIRTUAL_TERMINAL_PROCESSING,
-        )
-
-        mode = win32.GetConsoleMode(handle)
-        if mode & win32.ENABLE_VIRTUAL_TERMINAL_PROCESSING:
-            return True
-    # Can get TypeError in testsuite where 'fd' is a Mock()
-    except (OSError, TypeError):
-        return False
diff --git a/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__init__.py b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__init__.py
new file mode 100644
index 0000000..9fec202
--- /dev/null
+++ b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__init__.py
@@ -0,0 +1,13 @@
+from ._implementation import (
+    CyclicDependencyError,
+    DependencyGroupInclude,
+    DependencyGroupResolver,
+    resolve,
+)
+
+__all__ = (
+    "CyclicDependencyError",
+    "DependencyGroupInclude",
+    "DependencyGroupResolver",
+    "resolve",
+)
diff --git a/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__main__.py b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__main__.py
new file mode 100644
index 0000000..48ebb0d
--- /dev/null
+++ b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__main__.py
@@ -0,0 +1,65 @@
+import argparse
+import sys
+
+from ._implementation import resolve
+from ._toml_compat import tomllib
+
+
+def main() -> None:
+    if tomllib is None:
+        print(
+            "Usage error: dependency-groups CLI requires tomli or Python 3.11+",
+            file=sys.stderr,
+        )
+        raise SystemExit(2)
+
+    parser = argparse.ArgumentParser(
+        description=(
+            "A dependency-groups CLI. Prints out a resolved group, newline-delimited."
+        )
+    )
+    parser.add_argument(
+        "GROUP_NAME", nargs="*", help="The dependency group(s) to resolve."
+    )
+    parser.add_argument(
+        "-f",
+        "--pyproject-file",
+        default="pyproject.toml",
+        help="The pyproject.toml file. Defaults to trying in the current directory.",
+    )
+    parser.add_argument(
+        "-o",
+        "--output",
+        help="An output file. Defaults to stdout.",
+    )
+    parser.add_argument(
+        "-l",
+        "--list",
+        action="store_true",
+        help="List the available dependency groups",
+    )
+    args = parser.parse_args()
+
+    with open(args.pyproject_file, "rb") as fp:
+        pyproject = tomllib.load(fp)
+
+    dependency_groups_raw = pyproject.get("dependency-groups", {})
+
+    if args.list:
+        print(*dependency_groups_raw.keys())
+        return
+    if not args.GROUP_NAME:
+        print("A GROUP_NAME is required", file=sys.stderr)
+        raise SystemExit(3)
+
+    content = "\n".join(resolve(dependency_groups_raw, *args.GROUP_NAME))
+
+    if args.output is None or args.output == "-":
+        print(content)
+    else:
+        with open(args.output, "w", encoding="utf-8") as fp:
+            print(content, file=fp)
+
+
+if __name__ == "__main__":
+    main()
diff --git a/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/__init__.cpython-311.pyc
new file mode 100644
index 0000000..8f2d5f6
Binary files /dev/null and b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/__main__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/__main__.cpython-311.pyc
new file mode 100644
index 0000000..cdf7107
Binary files /dev/null and b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/__main__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_implementation.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_implementation.cpython-311.pyc
new file mode 100644
index 0000000..81c782d
Binary files /dev/null and b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_implementation.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_lint_dependency_groups.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_lint_dependency_groups.cpython-311.pyc
new file mode 100644
index 0000000..f75911f
Binary files /dev/null and b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_lint_dependency_groups.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_pip_wrapper.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_pip_wrapper.cpython-311.pyc
new file mode 100644
index 0000000..9666190
Binary files /dev/null and b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_pip_wrapper.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_toml_compat.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_toml_compat.cpython-311.pyc
new file mode 100644
index 0000000..41f09ab
Binary files /dev/null and b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_toml_compat.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/dependency_groups/_implementation.py b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/_implementation.py
new file mode 100644
index 0000000..64e314a
--- /dev/null
+++ b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/_implementation.py
@@ -0,0 +1,209 @@
+from __future__ import annotations
+
+import dataclasses
+import re
+from collections.abc import Mapping
+
+from pip._vendor.packaging.requirements import Requirement
+
+
+def _normalize_name(name: str) -> str:
+    return re.sub(r"[-_.]+", "-", name).lower()
+
+
+def _normalize_group_names(
+    dependency_groups: Mapping[str, str | Mapping[str, str]],
+) -> Mapping[str, str | Mapping[str, str]]:
+    original_names: dict[str, list[str]] = {}
+    normalized_groups = {}
+
+    for group_name, value in dependency_groups.items():
+        normed_group_name = _normalize_name(group_name)
+        original_names.setdefault(normed_group_name, []).append(group_name)
+        normalized_groups[normed_group_name] = value
+
+    errors = []
+    for normed_name, names in original_names.items():
+        if len(names) > 1:
+            errors.append(f"{normed_name} ({', '.join(names)})")
+    if errors:
+        raise ValueError(f"Duplicate dependency group names: {', '.join(errors)}")
+
+    return normalized_groups
+
+
+@dataclasses.dataclass
+class DependencyGroupInclude:
+    include_group: str
+
+
+class CyclicDependencyError(ValueError):
+    """
+    An error representing the detection of a cycle.
+    """
+
+    def __init__(self, requested_group: str, group: str, include_group: str) -> None:
+        self.requested_group = requested_group
+        self.group = group
+        self.include_group = include_group
+
+        if include_group == group:
+            reason = f"{group} includes itself"
+        else:
+            reason = f"{include_group} -> {group}, {group} -> {include_group}"
+        super().__init__(
+            "Cyclic dependency group include while resolving "
+            f"{requested_group}: {reason}"
+        )
+
+
+class DependencyGroupResolver:
+    """
+    A resolver for Dependency Group data.
+
+    This class handles caching, name normalization, cycle detection, and other
+    parsing requirements. There are only two public methods for exploring the data:
+    ``lookup()`` and ``resolve()``.
+
+    :param dependency_groups: A mapping, as provided via pyproject
+        ``[dependency-groups]``.
+    """
+
+    def __init__(
+        self,
+        dependency_groups: Mapping[str, str | Mapping[str, str]],
+    ) -> None:
+        if not isinstance(dependency_groups, Mapping):
+            raise TypeError("Dependency Groups table is not a mapping")
+        self.dependency_groups = _normalize_group_names(dependency_groups)
+        # a map of group names to parsed data
+        self._parsed_groups: dict[
+            str, tuple[Requirement | DependencyGroupInclude, ...]
+        ] = {}
+        # a map of group names to their ancestors, used for cycle detection
+        self._include_graph_ancestors: dict[str, tuple[str, ...]] = {}
+        # a cache of completed resolutions to Requirement lists
+        self._resolve_cache: dict[str, tuple[Requirement, ...]] = {}
+
+    def lookup(self, group: str) -> tuple[Requirement | DependencyGroupInclude, ...]:
+        """
+        Lookup a group name, returning the parsed dependency data for that group.
+        This will not resolve includes.
+
+        :param group: the name of the group to lookup
+
+        :raises ValueError: if the data does not appear to be valid dependency group
+            data
+        :raises TypeError: if the data is not a string
+        :raises LookupError: if group name is absent
+        :raises packaging.requirements.InvalidRequirement: if a specifier is not valid
+        """
+        if not isinstance(group, str):
+            raise TypeError("Dependency group name is not a str")
+        group = _normalize_name(group)
+        return self._parse_group(group)
+
+    def resolve(self, group: str) -> tuple[Requirement, ...]:
+        """
+        Resolve a dependency group to a list of requirements.
+
+        :param group: the name of the group to resolve
+
+        :raises TypeError: if the inputs appear to be the wrong types
+        :raises ValueError: if the data does not appear to be valid dependency group
+            data
+        :raises LookupError: if group name is absent
+        :raises packaging.requirements.InvalidRequirement: if a specifier is not valid
+        """
+        if not isinstance(group, str):
+            raise TypeError("Dependency group name is not a str")
+        group = _normalize_name(group)
+        return self._resolve(group, group)
+
+    def _parse_group(
+        self, group: str
+    ) -> tuple[Requirement | DependencyGroupInclude, ...]:
+        # short circuit -- never do the work twice
+        if group in self._parsed_groups:
+            return self._parsed_groups[group]
+
+        if group not in self.dependency_groups:
+            raise LookupError(f"Dependency group '{group}' not found")
+
+        raw_group = self.dependency_groups[group]
+        if not isinstance(raw_group, list):
+            raise TypeError(f"Dependency group '{group}' is not a list")
+
+        elements: list[Requirement | DependencyGroupInclude] = []
+        for item in raw_group:
+            if isinstance(item, str):
+                # packaging.requirements.Requirement parsing ensures that this is a
+                # valid PEP 508 Dependency Specifier
+                # raises InvalidRequirement on failure
+                elements.append(Requirement(item))
+            elif isinstance(item, dict):
+                if tuple(item.keys()) != ("include-group",):
+                    raise ValueError(f"Invalid dependency group item: {item}")
+
+                include_group = next(iter(item.values()))
+                elements.append(DependencyGroupInclude(include_group=include_group))
+            else:
+                raise ValueError(f"Invalid dependency group item: {item}")
+
+        self._parsed_groups[group] = tuple(elements)
+        return self._parsed_groups[group]
+
+    def _resolve(self, group: str, requested_group: str) -> tuple[Requirement, ...]:
+        """
+        This is a helper for cached resolution to strings.
+
+        :param group: The name of the group to resolve.
+        :param requested_group: The group which was used in the original, user-facing
+            request.
+        """
+        if group in self._resolve_cache:
+            return self._resolve_cache[group]
+
+        parsed = self._parse_group(group)
+
+        resolved_group = []
+        for item in parsed:
+            if isinstance(item, Requirement):
+                resolved_group.append(item)
+            elif isinstance(item, DependencyGroupInclude):
+                include_group = _normalize_name(item.include_group)
+                if include_group in self._include_graph_ancestors.get(group, ()):
+                    raise CyclicDependencyError(
+                        requested_group, group, item.include_group
+                    )
+                self._include_graph_ancestors[include_group] = (
+                    *self._include_graph_ancestors.get(group, ()),
+                    group,
+                )
+                resolved_group.extend(self._resolve(include_group, requested_group))
+            else:  # unreachable
+                raise NotImplementedError(
+                    f"Invalid dependency group item after parse: {item}"
+                )
+
+        self._resolve_cache[group] = tuple(resolved_group)
+        return self._resolve_cache[group]
+
+
+def resolve(
+    dependency_groups: Mapping[str, str | Mapping[str, str]], /, *groups: str
+) -> tuple[str, ...]:
+    """
+    Resolve a dependency group to a tuple of requirements, as strings.
+
+    :param dependency_groups: the parsed contents of the ``[dependency-groups]`` table
+        from ``pyproject.toml``
+    :param groups: the name of the group(s) to resolve
+
+    :raises TypeError: if the inputs appear to be the wrong types
+    :raises ValueError: if the data does not appear to be valid dependency group data
+    :raises LookupError: if group name is absent
+    :raises packaging.requirements.InvalidRequirement: if a specifier is not valid
+    """
+    resolver = DependencyGroupResolver(dependency_groups)
+    return tuple(str(r) for group in groups for r in resolver.resolve(group))
diff --git a/.venv/Lib/site-packages/pip/_vendor/dependency_groups/_lint_dependency_groups.py b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/_lint_dependency_groups.py
new file mode 100644
index 0000000..09454bd
--- /dev/null
+++ b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/_lint_dependency_groups.py
@@ -0,0 +1,59 @@
+from __future__ import annotations
+
+import argparse
+import sys
+
+from ._implementation import DependencyGroupResolver
+from ._toml_compat import tomllib
+
+
+def main(*, argv: list[str] | None = None) -> None:
+    if tomllib is None:
+        print(
+            "Usage error: dependency-groups CLI requires tomli or Python 3.11+",
+            file=sys.stderr,
+        )
+        raise SystemExit(2)
+
+    parser = argparse.ArgumentParser(
+        description=(
+            "Lint Dependency Groups for validity. "
+            "This will eagerly load and check all of your Dependency Groups."
+        )
+    )
+    parser.add_argument(
+        "-f",
+        "--pyproject-file",
+        default="pyproject.toml",
+        help="The pyproject.toml file. Defaults to trying in the current directory.",
+    )
+    args = parser.parse_args(argv if argv is not None else sys.argv[1:])
+
+    with open(args.pyproject_file, "rb") as fp:
+        pyproject = tomllib.load(fp)
+    dependency_groups_raw = pyproject.get("dependency-groups", {})
+
+    errors: list[str] = []
+    try:
+        resolver = DependencyGroupResolver(dependency_groups_raw)
+    except (ValueError, TypeError) as e:
+        errors.append(f"{type(e).__name__}: {e}")
+    else:
+        for groupname in resolver.dependency_groups:
+            try:
+                resolver.resolve(groupname)
+            except (LookupError, ValueError, TypeError) as e:
+                errors.append(f"{type(e).__name__}: {e}")
+
+    if errors:
+        print("errors encountered while examining dependency groups:")
+        for msg in errors:
+            print(f"  {msg}")
+        sys.exit(1)
+    else:
+        print("ok")
+        sys.exit(0)
+
+
+if __name__ == "__main__":
+    main()
diff --git a/.venv/Lib/site-packages/pip/_vendor/dependency_groups/_pip_wrapper.py b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/_pip_wrapper.py
new file mode 100644
index 0000000..f86d896
--- /dev/null
+++ b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/_pip_wrapper.py
@@ -0,0 +1,62 @@
+from __future__ import annotations
+
+import argparse
+import subprocess
+import sys
+
+from ._implementation import DependencyGroupResolver
+from ._toml_compat import tomllib
+
+
+def _invoke_pip(deps: list[str]) -> None:
+    subprocess.check_call([sys.executable, "-m", "pip", "install", *deps])
+
+
+def main(*, argv: list[str] | None = None) -> None:
+    if tomllib is None:
+        print(
+            "Usage error: dependency-groups CLI requires tomli or Python 3.11+",
+            file=sys.stderr,
+        )
+        raise SystemExit(2)
+
+    parser = argparse.ArgumentParser(description="Install Dependency Groups.")
+    parser.add_argument(
+        "DEPENDENCY_GROUP", nargs="+", help="The dependency groups to install."
+    )
+    parser.add_argument(
+        "-f",
+        "--pyproject-file",
+        default="pyproject.toml",
+        help="The pyproject.toml file. Defaults to trying in the current directory.",
+    )
+    args = parser.parse_args(argv if argv is not None else sys.argv[1:])
+
+    with open(args.pyproject_file, "rb") as fp:
+        pyproject = tomllib.load(fp)
+    dependency_groups_raw = pyproject.get("dependency-groups", {})
+
+    errors: list[str] = []
+    resolved: list[str] = []
+    try:
+        resolver = DependencyGroupResolver(dependency_groups_raw)
+    except (ValueError, TypeError) as e:
+        errors.append(f"{type(e).__name__}: {e}")
+    else:
+        for groupname in args.DEPENDENCY_GROUP:
+            try:
+                resolved.extend(str(r) for r in resolver.resolve(groupname))
+            except (LookupError, ValueError, TypeError) as e:
+                errors.append(f"{type(e).__name__}: {e}")
+
+    if errors:
+        print("errors encountered while examining dependency groups:")
+        for msg in errors:
+            print(f"  {msg}")
+        sys.exit(1)
+
+    _invoke_pip(resolved)
+
+
+if __name__ == "__main__":
+    main()
diff --git a/.venv/Lib/site-packages/pip/_vendor/dependency_groups/_toml_compat.py b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/_toml_compat.py
new file mode 100644
index 0000000..8d6f921
--- /dev/null
+++ b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/_toml_compat.py
@@ -0,0 +1,9 @@
+try:
+    import tomllib
+except ImportError:
+    try:
+        from pip._vendor import tomli as tomllib  # type: ignore[no-redef, unused-ignore]
+    except ModuleNotFoundError:  # pragma: no cover
+        tomllib = None  # type: ignore[assignment, unused-ignore]
+
+__all__ = ("tomllib",)
diff --git a/.venv/Lib/site-packages/pip/_vendor/pyparsing/py.typed b/.venv/Lib/site-packages/pip/_vendor/dependency_groups/py.typed
similarity index 100%
rename from .venv/Lib/site-packages/pip/_vendor/pyparsing/py.typed
rename to .venv/Lib/site-packages/pip/_vendor/dependency_groups/py.typed
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/__init__.py b/.venv/Lib/site-packages/pip/_vendor/distlib/__init__.py
index e999438..4e82943 100644
--- a/.venv/Lib/site-packages/pip/_vendor/distlib/__init__.py
+++ b/.venv/Lib/site-packages/pip/_vendor/distlib/__init__.py
@@ -1,12 +1,12 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2012-2023 Vinay Sajip.
+# Copyright (C) 2012-2024 Vinay Sajip.
 # Licensed to the Python Software Foundation under a contributor agreement.
 # See LICENSE.txt and CONTRIBUTORS.txt.
 #
 import logging
 
-__version__ = '0.3.8'
+__version__ = '0.4.0'
 
 
 class DistlibException(Exception):
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/__init__.cpython-311.pyc
index 14b6719..5ae35a0 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/compat.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/compat.cpython-311.pyc
index a60b9fe..4ed4a0f 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/compat.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/compat.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/database.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/database.cpython-311.pyc
deleted file mode 100644
index 74357d8..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/database.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/index.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/index.cpython-311.pyc
deleted file mode 100644
index 230f261..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/index.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/locators.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/locators.cpython-311.pyc
deleted file mode 100644
index 50193ee..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/locators.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/manifest.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/manifest.cpython-311.pyc
deleted file mode 100644
index 4d119b7..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/manifest.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/markers.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/markers.cpython-311.pyc
deleted file mode 100644
index 00ae19e..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/markers.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/metadata.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/metadata.cpython-311.pyc
deleted file mode 100644
index 42f5a0e..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/metadata.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/resources.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/resources.cpython-311.pyc
index 4d6f284..f0c75df 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/resources.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/resources.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/scripts.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/scripts.cpython-311.pyc
index dfffb08..b1ef11e 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/scripts.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/scripts.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/util.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/util.cpython-311.pyc
index e169aae..f3b8484 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/util.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/util.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/version.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/version.cpython-311.pyc
deleted file mode 100644
index 6c082b9..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/version.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/wheel.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/wheel.cpython-311.pyc
deleted file mode 100644
index c4eabff..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/distlib/__pycache__/wheel.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/compat.py b/.venv/Lib/site-packages/pip/_vendor/distlib/compat.py
index e93dc27..ca561dd 100644
--- a/.venv/Lib/site-packages/pip/_vendor/distlib/compat.py
+++ b/.venv/Lib/site-packages/pip/_vendor/distlib/compat.py
@@ -217,8 +217,7 @@ except ImportError:  # pragma: no cover
         # Additionally check that `file` is not a directory, as on Windows
         # directories pass the os.access check.
         def _access_check(fn, mode):
-            return (os.path.exists(fn) and os.access(fn, mode)
-                    and not os.path.isdir(fn))
+            return (os.path.exists(fn) and os.access(fn, mode) and not os.path.isdir(fn))
 
         # If we're given a path with a directory part, look it up directly rather
         # than referring to PATH directories. This includes checking relative to the
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/database.py b/.venv/Lib/site-packages/pip/_vendor/distlib/database.py
deleted file mode 100644
index eb3765f..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/distlib/database.py
+++ /dev/null
@@ -1,1359 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2012-2023 The Python Software Foundation.
-# See LICENSE.txt and CONTRIBUTORS.txt.
-#
-"""PEP 376 implementation."""
-
-from __future__ import unicode_literals
-
-import base64
-import codecs
-import contextlib
-import hashlib
-import logging
-import os
-import posixpath
-import sys
-import zipimport
-
-from . import DistlibException, resources
-from .compat import StringIO
-from .version import get_scheme, UnsupportedVersionError
-from .metadata import (Metadata, METADATA_FILENAME, WHEEL_METADATA_FILENAME,
-                       LEGACY_METADATA_FILENAME)
-from .util import (parse_requirement, cached_property, parse_name_and_version,
-                   read_exports, write_exports, CSVReader, CSVWriter)
-
-__all__ = [
-    'Distribution', 'BaseInstalledDistribution', 'InstalledDistribution',
-    'EggInfoDistribution', 'DistributionPath'
-]
-
-logger = logging.getLogger(__name__)
-
-EXPORTS_FILENAME = 'pydist-exports.json'
-COMMANDS_FILENAME = 'pydist-commands.json'
-
-DIST_FILES = ('INSTALLER', METADATA_FILENAME, 'RECORD', 'REQUESTED',
-              'RESOURCES', EXPORTS_FILENAME, 'SHARED')
-
-DISTINFO_EXT = '.dist-info'
-
-
-class _Cache(object):
-    """
-    A simple cache mapping names and .dist-info paths to distributions
-    """
-
-    def __init__(self):
-        """
-        Initialise an instance. There is normally one for each DistributionPath.
-        """
-        self.name = {}
-        self.path = {}
-        self.generated = False
-
-    def clear(self):
-        """
-        Clear the cache, setting it to its initial state.
-        """
-        self.name.clear()
-        self.path.clear()
-        self.generated = False
-
-    def add(self, dist):
-        """
-        Add a distribution to the cache.
-        :param dist: The distribution to add.
-        """
-        if dist.path not in self.path:
-            self.path[dist.path] = dist
-            self.name.setdefault(dist.key, []).append(dist)
-
-
-class DistributionPath(object):
-    """
-    Represents a set of distributions installed on a path (typically sys.path).
-    """
-
-    def __init__(self, path=None, include_egg=False):
-        """
-        Create an instance from a path, optionally including legacy (distutils/
-        setuptools/distribute) distributions.
-        :param path: The path to use, as a list of directories. If not specified,
-                     sys.path is used.
-        :param include_egg: If True, this instance will look for and return legacy
-                            distributions as well as those based on PEP 376.
-        """
-        if path is None:
-            path = sys.path
-        self.path = path
-        self._include_dist = True
-        self._include_egg = include_egg
-
-        self._cache = _Cache()
-        self._cache_egg = _Cache()
-        self._cache_enabled = True
-        self._scheme = get_scheme('default')
-
-    def _get_cache_enabled(self):
-        return self._cache_enabled
-
-    def _set_cache_enabled(self, value):
-        self._cache_enabled = value
-
-    cache_enabled = property(_get_cache_enabled, _set_cache_enabled)
-
-    def clear_cache(self):
-        """
-        Clears the internal cache.
-        """
-        self._cache.clear()
-        self._cache_egg.clear()
-
-    def _yield_distributions(self):
-        """
-        Yield .dist-info and/or .egg(-info) distributions.
-        """
-        # We need to check if we've seen some resources already, because on
-        # some Linux systems (e.g. some Debian/Ubuntu variants) there are
-        # symlinks which alias other files in the environment.
-        seen = set()
-        for path in self.path:
-            finder = resources.finder_for_path(path)
-            if finder is None:
-                continue
-            r = finder.find('')
-            if not r or not r.is_container:
-                continue
-            rset = sorted(r.resources)
-            for entry in rset:
-                r = finder.find(entry)
-                if not r or r.path in seen:
-                    continue
-                try:
-                    if self._include_dist and entry.endswith(DISTINFO_EXT):
-                        possible_filenames = [
-                            METADATA_FILENAME, WHEEL_METADATA_FILENAME,
-                            LEGACY_METADATA_FILENAME
-                        ]
-                        for metadata_filename in possible_filenames:
-                            metadata_path = posixpath.join(
-                                entry, metadata_filename)
-                            pydist = finder.find(metadata_path)
-                            if pydist:
-                                break
-                        else:
-                            continue
-
-                        with contextlib.closing(pydist.as_stream()) as stream:
-                            metadata = Metadata(fileobj=stream,
-                                                scheme='legacy')
-                        logger.debug('Found %s', r.path)
-                        seen.add(r.path)
-                        yield new_dist_class(r.path,
-                                             metadata=metadata,
-                                             env=self)
-                    elif self._include_egg and entry.endswith(
-                            ('.egg-info', '.egg')):
-                        logger.debug('Found %s', r.path)
-                        seen.add(r.path)
-                        yield old_dist_class(r.path, self)
-                except Exception as e:
-                    msg = 'Unable to read distribution at %s, perhaps due to bad metadata: %s'
-                    logger.warning(msg, r.path, e)
-                    import warnings
-                    warnings.warn(msg % (r.path, e), stacklevel=2)
-
-    def _generate_cache(self):
-        """
-        Scan the path for distributions and populate the cache with
-        those that are found.
-        """
-        gen_dist = not self._cache.generated
-        gen_egg = self._include_egg and not self._cache_egg.generated
-        if gen_dist or gen_egg:
-            for dist in self._yield_distributions():
-                if isinstance(dist, InstalledDistribution):
-                    self._cache.add(dist)
-                else:
-                    self._cache_egg.add(dist)
-
-            if gen_dist:
-                self._cache.generated = True
-            if gen_egg:
-                self._cache_egg.generated = True
-
-    @classmethod
-    def distinfo_dirname(cls, name, version):
-        """
-        The *name* and *version* parameters are converted into their
-        filename-escaped form, i.e. any ``'-'`` characters are replaced
-        with ``'_'`` other than the one in ``'dist-info'`` and the one
-        separating the name from the version number.
-
-        :parameter name: is converted to a standard distribution name by replacing
-                         any runs of non- alphanumeric characters with a single
-                         ``'-'``.
-        :type name: string
-        :parameter version: is converted to a standard version string. Spaces
-                            become dots, and all other non-alphanumeric characters
-                            (except dots) become dashes, with runs of multiple
-                            dashes condensed to a single dash.
-        :type version: string
-        :returns: directory name
-        :rtype: string"""
-        name = name.replace('-', '_')
-        return '-'.join([name, version]) + DISTINFO_EXT
-
-    def get_distributions(self):
-        """
-        Provides an iterator that looks for distributions and returns
-        :class:`InstalledDistribution` or
-        :class:`EggInfoDistribution` instances for each one of them.
-
-        :rtype: iterator of :class:`InstalledDistribution` and
-                :class:`EggInfoDistribution` instances
-        """
-        if not self._cache_enabled:
-            for dist in self._yield_distributions():
-                yield dist
-        else:
-            self._generate_cache()
-
-            for dist in self._cache.path.values():
-                yield dist
-
-            if self._include_egg:
-                for dist in self._cache_egg.path.values():
-                    yield dist
-
-    def get_distribution(self, name):
-        """
-        Looks for a named distribution on the path.
-
-        This function only returns the first result found, as no more than one
-        value is expected. If nothing is found, ``None`` is returned.
-
-        :rtype: :class:`InstalledDistribution`, :class:`EggInfoDistribution`
-                or ``None``
-        """
-        result = None
-        name = name.lower()
-        if not self._cache_enabled:
-            for dist in self._yield_distributions():
-                if dist.key == name:
-                    result = dist
-                    break
-        else:
-            self._generate_cache()
-
-            if name in self._cache.name:
-                result = self._cache.name[name][0]
-            elif self._include_egg and name in self._cache_egg.name:
-                result = self._cache_egg.name[name][0]
-        return result
-
-    def provides_distribution(self, name, version=None):
-        """
-        Iterates over all distributions to find which distributions provide *name*.
-        If a *version* is provided, it will be used to filter the results.
-
-        This function only returns the first result found, since no more than
-        one values are expected. If the directory is not found, returns ``None``.
-
-        :parameter version: a version specifier that indicates the version
-                            required, conforming to the format in ``PEP-345``
-
-        :type name: string
-        :type version: string
-        """
-        matcher = None
-        if version is not None:
-            try:
-                matcher = self._scheme.matcher('%s (%s)' % (name, version))
-            except ValueError:
-                raise DistlibException('invalid name or version: %r, %r' %
-                                       (name, version))
-
-        for dist in self.get_distributions():
-            # We hit a problem on Travis where enum34 was installed and doesn't
-            # have a provides attribute ...
-            if not hasattr(dist, 'provides'):
-                logger.debug('No "provides": %s', dist)
-            else:
-                provided = dist.provides
-
-                for p in provided:
-                    p_name, p_ver = parse_name_and_version(p)
-                    if matcher is None:
-                        if p_name == name:
-                            yield dist
-                            break
-                    else:
-                        if p_name == name and matcher.match(p_ver):
-                            yield dist
-                            break
-
-    def get_file_path(self, name, relative_path):
-        """
-        Return the path to a resource file.
-        """
-        dist = self.get_distribution(name)
-        if dist is None:
-            raise LookupError('no distribution named %r found' % name)
-        return dist.get_resource_path(relative_path)
-
-    def get_exported_entries(self, category, name=None):
-        """
-        Return all of the exported entries in a particular category.
-
-        :param category: The category to search for entries.
-        :param name: If specified, only entries with that name are returned.
-        """
-        for dist in self.get_distributions():
-            r = dist.exports
-            if category in r:
-                d = r[category]
-                if name is not None:
-                    if name in d:
-                        yield d[name]
-                else:
-                    for v in d.values():
-                        yield v
-
-
-class Distribution(object):
-    """
-    A base class for distributions, whether installed or from indexes.
-    Either way, it must have some metadata, so that's all that's needed
-    for construction.
-    """
-
-    build_time_dependency = False
-    """
-    Set to True if it's known to be only a build-time dependency (i.e.
-    not needed after installation).
-    """
-
-    requested = False
-    """A boolean that indicates whether the ``REQUESTED`` metadata file is
-    present (in other words, whether the package was installed by user
-    request or it was installed as a dependency)."""
-
-    def __init__(self, metadata):
-        """
-        Initialise an instance.
-        :param metadata: The instance of :class:`Metadata` describing this
-        distribution.
-        """
-        self.metadata = metadata
-        self.name = metadata.name
-        self.key = self.name.lower()  # for case-insensitive comparisons
-        self.version = metadata.version
-        self.locator = None
-        self.digest = None
-        self.extras = None  # additional features requested
-        self.context = None  # environment marker overrides
-        self.download_urls = set()
-        self.digests = {}
-
-    @property
-    def source_url(self):
-        """
-        The source archive download URL for this distribution.
-        """
-        return self.metadata.source_url
-
-    download_url = source_url  # Backward compatibility
-
-    @property
-    def name_and_version(self):
-        """
-        A utility property which displays the name and version in parentheses.
-        """
-        return '%s (%s)' % (self.name, self.version)
-
-    @property
-    def provides(self):
-        """
-        A set of distribution names and versions provided by this distribution.
-        :return: A set of "name (version)" strings.
-        """
-        plist = self.metadata.provides
-        s = '%s (%s)' % (self.name, self.version)
-        if s not in plist:
-            plist.append(s)
-        return plist
-
-    def _get_requirements(self, req_attr):
-        md = self.metadata
-        reqts = getattr(md, req_attr)
-        logger.debug('%s: got requirements %r from metadata: %r', self.name,
-                     req_attr, reqts)
-        return set(
-            md.get_requirements(reqts, extras=self.extras, env=self.context))
-
-    @property
-    def run_requires(self):
-        return self._get_requirements('run_requires')
-
-    @property
-    def meta_requires(self):
-        return self._get_requirements('meta_requires')
-
-    @property
-    def build_requires(self):
-        return self._get_requirements('build_requires')
-
-    @property
-    def test_requires(self):
-        return self._get_requirements('test_requires')
-
-    @property
-    def dev_requires(self):
-        return self._get_requirements('dev_requires')
-
-    def matches_requirement(self, req):
-        """
-        Say if this instance matches (fulfills) a requirement.
-        :param req: The requirement to match.
-        :rtype req: str
-        :return: True if it matches, else False.
-        """
-        # Requirement may contain extras - parse to lose those
-        # from what's passed to the matcher
-        r = parse_requirement(req)
-        scheme = get_scheme(self.metadata.scheme)
-        try:
-            matcher = scheme.matcher(r.requirement)
-        except UnsupportedVersionError:
-            # XXX compat-mode if cannot read the version
-            logger.warning('could not read version %r - using name only', req)
-            name = req.split()[0]
-            matcher = scheme.matcher(name)
-
-        name = matcher.key  # case-insensitive
-
-        result = False
-        for p in self.provides:
-            p_name, p_ver = parse_name_and_version(p)
-            if p_name != name:
-                continue
-            try:
-                result = matcher.match(p_ver)
-                break
-            except UnsupportedVersionError:
-                pass
-        return result
-
-    def __repr__(self):
-        """
-        Return a textual representation of this instance,
-        """
-        if self.source_url:
-            suffix = ' [%s]' % self.source_url
-        else:
-            suffix = ''
-        return '' % (self.name, self.version, suffix)
-
-    def __eq__(self, other):
-        """
-        See if this distribution is the same as another.
-        :param other: The distribution to compare with. To be equal to one
-                      another. distributions must have the same type, name,
-                      version and source_url.
-        :return: True if it is the same, else False.
-        """
-        if type(other) is not type(self):
-            result = False
-        else:
-            result = (self.name == other.name and self.version == other.version
-                      and self.source_url == other.source_url)
-        return result
-
-    def __hash__(self):
-        """
-        Compute hash in a way which matches the equality test.
-        """
-        return hash(self.name) + hash(self.version) + hash(self.source_url)
-
-
-class BaseInstalledDistribution(Distribution):
-    """
-    This is the base class for installed distributions (whether PEP 376 or
-    legacy).
-    """
-
-    hasher = None
-
-    def __init__(self, metadata, path, env=None):
-        """
-        Initialise an instance.
-        :param metadata: An instance of :class:`Metadata` which describes the
-                         distribution. This will normally have been initialised
-                         from a metadata file in the ``path``.
-        :param path:     The path of the ``.dist-info`` or ``.egg-info``
-                         directory for the distribution.
-        :param env:      This is normally the :class:`DistributionPath`
-                         instance where this distribution was found.
-        """
-        super(BaseInstalledDistribution, self).__init__(metadata)
-        self.path = path
-        self.dist_path = env
-
-    def get_hash(self, data, hasher=None):
-        """
-        Get the hash of some data, using a particular hash algorithm, if
-        specified.
-
-        :param data: The data to be hashed.
-        :type data: bytes
-        :param hasher: The name of a hash implementation, supported by hashlib,
-                       or ``None``. Examples of valid values are ``'sha1'``,
-                       ``'sha224'``, ``'sha384'``, '``sha256'``, ``'md5'`` and
-                       ``'sha512'``. If no hasher is specified, the ``hasher``
-                       attribute of the :class:`InstalledDistribution` instance
-                       is used. If the hasher is determined to be ``None``, MD5
-                       is used as the hashing algorithm.
-        :returns: The hash of the data. If a hasher was explicitly specified,
-                  the returned hash will be prefixed with the specified hasher
-                  followed by '='.
-        :rtype: str
-        """
-        if hasher is None:
-            hasher = self.hasher
-        if hasher is None:
-            hasher = hashlib.md5
-            prefix = ''
-        else:
-            hasher = getattr(hashlib, hasher)
-            prefix = '%s=' % self.hasher
-        digest = hasher(data).digest()
-        digest = base64.urlsafe_b64encode(digest).rstrip(b'=').decode('ascii')
-        return '%s%s' % (prefix, digest)
-
-
-class InstalledDistribution(BaseInstalledDistribution):
-    """
-    Created with the *path* of the ``.dist-info`` directory provided to the
-    constructor. It reads the metadata contained in ``pydist.json`` when it is
-    instantiated., or uses a passed in Metadata instance (useful for when
-    dry-run mode is being used).
-    """
-
-    hasher = 'sha256'
-
-    def __init__(self, path, metadata=None, env=None):
-        self.modules = []
-        self.finder = finder = resources.finder_for_path(path)
-        if finder is None:
-            raise ValueError('finder unavailable for %s' % path)
-        if env and env._cache_enabled and path in env._cache.path:
-            metadata = env._cache.path[path].metadata
-        elif metadata is None:
-            r = finder.find(METADATA_FILENAME)
-            # Temporary - for Wheel 0.23 support
-            if r is None:
-                r = finder.find(WHEEL_METADATA_FILENAME)
-            # Temporary - for legacy support
-            if r is None:
-                r = finder.find(LEGACY_METADATA_FILENAME)
-            if r is None:
-                raise ValueError('no %s found in %s' %
-                                 (METADATA_FILENAME, path))
-            with contextlib.closing(r.as_stream()) as stream:
-                metadata = Metadata(fileobj=stream, scheme='legacy')
-
-        super(InstalledDistribution, self).__init__(metadata, path, env)
-
-        if env and env._cache_enabled:
-            env._cache.add(self)
-
-        r = finder.find('REQUESTED')
-        self.requested = r is not None
-        p = os.path.join(path, 'top_level.txt')
-        if os.path.exists(p):
-            with open(p, 'rb') as f:
-                data = f.read().decode('utf-8')
-            self.modules = data.splitlines()
-
-    def __repr__(self):
-        return '' % (
-            self.name, self.version, self.path)
-
-    def __str__(self):
-        return "%s %s" % (self.name, self.version)
-
-    def _get_records(self):
-        """
-        Get the list of installed files for the distribution
-        :return: A list of tuples of path, hash and size. Note that hash and
-                 size might be ``None`` for some entries. The path is exactly
-                 as stored in the file (which is as in PEP 376).
-        """
-        results = []
-        r = self.get_distinfo_resource('RECORD')
-        with contextlib.closing(r.as_stream()) as stream:
-            with CSVReader(stream=stream) as record_reader:
-                # Base location is parent dir of .dist-info dir
-                # base_location = os.path.dirname(self.path)
-                # base_location = os.path.abspath(base_location)
-                for row in record_reader:
-                    missing = [None for i in range(len(row), 3)]
-                    path, checksum, size = row + missing
-                    # if not os.path.isabs(path):
-                    #     path = path.replace('/', os.sep)
-                    #     path = os.path.join(base_location, path)
-                    results.append((path, checksum, size))
-        return results
-
-    @cached_property
-    def exports(self):
-        """
-        Return the information exported by this distribution.
-        :return: A dictionary of exports, mapping an export category to a dict
-                 of :class:`ExportEntry` instances describing the individual
-                 export entries, and keyed by name.
-        """
-        result = {}
-        r = self.get_distinfo_resource(EXPORTS_FILENAME)
-        if r:
-            result = self.read_exports()
-        return result
-
-    def read_exports(self):
-        """
-        Read exports data from a file in .ini format.
-
-        :return: A dictionary of exports, mapping an export category to a list
-                 of :class:`ExportEntry` instances describing the individual
-                 export entries.
-        """
-        result = {}
-        r = self.get_distinfo_resource(EXPORTS_FILENAME)
-        if r:
-            with contextlib.closing(r.as_stream()) as stream:
-                result = read_exports(stream)
-        return result
-
-    def write_exports(self, exports):
-        """
-        Write a dictionary of exports to a file in .ini format.
-        :param exports: A dictionary of exports, mapping an export category to
-                        a list of :class:`ExportEntry` instances describing the
-                        individual export entries.
-        """
-        rf = self.get_distinfo_file(EXPORTS_FILENAME)
-        with open(rf, 'w') as f:
-            write_exports(exports, f)
-
-    def get_resource_path(self, relative_path):
-        """
-        NOTE: This API may change in the future.
-
-        Return the absolute path to a resource file with the given relative
-        path.
-
-        :param relative_path: The path, relative to .dist-info, of the resource
-                              of interest.
-        :return: The absolute path where the resource is to be found.
-        """
-        r = self.get_distinfo_resource('RESOURCES')
-        with contextlib.closing(r.as_stream()) as stream:
-            with CSVReader(stream=stream) as resources_reader:
-                for relative, destination in resources_reader:
-                    if relative == relative_path:
-                        return destination
-        raise KeyError('no resource file with relative path %r '
-                       'is installed' % relative_path)
-
-    def list_installed_files(self):
-        """
-        Iterates over the ``RECORD`` entries and returns a tuple
-        ``(path, hash, size)`` for each line.
-
-        :returns: iterator of (path, hash, size)
-        """
-        for result in self._get_records():
-            yield result
-
-    def write_installed_files(self, paths, prefix, dry_run=False):
-        """
-        Writes the ``RECORD`` file, using the ``paths`` iterable passed in. Any
-        existing ``RECORD`` file is silently overwritten.
-
-        prefix is used to determine when to write absolute paths.
-        """
-        prefix = os.path.join(prefix, '')
-        base = os.path.dirname(self.path)
-        base_under_prefix = base.startswith(prefix)
-        base = os.path.join(base, '')
-        record_path = self.get_distinfo_file('RECORD')
-        logger.info('creating %s', record_path)
-        if dry_run:
-            return None
-        with CSVWriter(record_path) as writer:
-            for path in paths:
-                if os.path.isdir(path) or path.endswith(('.pyc', '.pyo')):
-                    # do not put size and hash, as in PEP-376
-                    hash_value = size = ''
-                else:
-                    size = '%d' % os.path.getsize(path)
-                    with open(path, 'rb') as fp:
-                        hash_value = self.get_hash(fp.read())
-                if path.startswith(base) or (base_under_prefix
-                                             and path.startswith(prefix)):
-                    path = os.path.relpath(path, base)
-                writer.writerow((path, hash_value, size))
-
-            # add the RECORD file itself
-            if record_path.startswith(base):
-                record_path = os.path.relpath(record_path, base)
-            writer.writerow((record_path, '', ''))
-        return record_path
-
-    def check_installed_files(self):
-        """
-        Checks that the hashes and sizes of the files in ``RECORD`` are
-        matched by the files themselves. Returns a (possibly empty) list of
-        mismatches. Each entry in the mismatch list will be a tuple consisting
-        of the path, 'exists', 'size' or 'hash' according to what didn't match
-        (existence is checked first, then size, then hash), the expected
-        value and the actual value.
-        """
-        mismatches = []
-        base = os.path.dirname(self.path)
-        record_path = self.get_distinfo_file('RECORD')
-        for path, hash_value, size in self.list_installed_files():
-            if not os.path.isabs(path):
-                path = os.path.join(base, path)
-            if path == record_path:
-                continue
-            if not os.path.exists(path):
-                mismatches.append((path, 'exists', True, False))
-            elif os.path.isfile(path):
-                actual_size = str(os.path.getsize(path))
-                if size and actual_size != size:
-                    mismatches.append((path, 'size', size, actual_size))
-                elif hash_value:
-                    if '=' in hash_value:
-                        hasher = hash_value.split('=', 1)[0]
-                    else:
-                        hasher = None
-
-                    with open(path, 'rb') as f:
-                        actual_hash = self.get_hash(f.read(), hasher)
-                        if actual_hash != hash_value:
-                            mismatches.append(
-                                (path, 'hash', hash_value, actual_hash))
-        return mismatches
-
-    @cached_property
-    def shared_locations(self):
-        """
-        A dictionary of shared locations whose keys are in the set 'prefix',
-        'purelib', 'platlib', 'scripts', 'headers', 'data' and 'namespace'.
-        The corresponding value is the absolute path of that category for
-        this distribution, and takes into account any paths selected by the
-        user at installation time (e.g. via command-line arguments). In the
-        case of the 'namespace' key, this would be a list of absolute paths
-        for the roots of namespace packages in this distribution.
-
-        The first time this property is accessed, the relevant information is
-        read from the SHARED file in the .dist-info directory.
-        """
-        result = {}
-        shared_path = os.path.join(self.path, 'SHARED')
-        if os.path.isfile(shared_path):
-            with codecs.open(shared_path, 'r', encoding='utf-8') as f:
-                lines = f.read().splitlines()
-            for line in lines:
-                key, value = line.split('=', 1)
-                if key == 'namespace':
-                    result.setdefault(key, []).append(value)
-                else:
-                    result[key] = value
-        return result
-
-    def write_shared_locations(self, paths, dry_run=False):
-        """
-        Write shared location information to the SHARED file in .dist-info.
-        :param paths: A dictionary as described in the documentation for
-        :meth:`shared_locations`.
-        :param dry_run: If True, the action is logged but no file is actually
-                        written.
-        :return: The path of the file written to.
-        """
-        shared_path = os.path.join(self.path, 'SHARED')
-        logger.info('creating %s', shared_path)
-        if dry_run:
-            return None
-        lines = []
-        for key in ('prefix', 'lib', 'headers', 'scripts', 'data'):
-            path = paths[key]
-            if os.path.isdir(paths[key]):
-                lines.append('%s=%s' % (key, path))
-        for ns in paths.get('namespace', ()):
-            lines.append('namespace=%s' % ns)
-
-        with codecs.open(shared_path, 'w', encoding='utf-8') as f:
-            f.write('\n'.join(lines))
-        return shared_path
-
-    def get_distinfo_resource(self, path):
-        if path not in DIST_FILES:
-            raise DistlibException('invalid path for a dist-info file: '
-                                   '%r at %r' % (path, self.path))
-        finder = resources.finder_for_path(self.path)
-        if finder is None:
-            raise DistlibException('Unable to get a finder for %s' % self.path)
-        return finder.find(path)
-
-    def get_distinfo_file(self, path):
-        """
-        Returns a path located under the ``.dist-info`` directory. Returns a
-        string representing the path.
-
-        :parameter path: a ``'/'``-separated path relative to the
-                         ``.dist-info`` directory or an absolute path;
-                         If *path* is an absolute path and doesn't start
-                         with the ``.dist-info`` directory path,
-                         a :class:`DistlibException` is raised
-        :type path: str
-        :rtype: str
-        """
-        # Check if it is an absolute path  # XXX use relpath, add tests
-        if path.find(os.sep) >= 0:
-            # it's an absolute path?
-            distinfo_dirname, path = path.split(os.sep)[-2:]
-            if distinfo_dirname != self.path.split(os.sep)[-1]:
-                raise DistlibException(
-                    'dist-info file %r does not belong to the %r %s '
-                    'distribution' % (path, self.name, self.version))
-
-        # The file must be relative
-        if path not in DIST_FILES:
-            raise DistlibException('invalid path for a dist-info file: '
-                                   '%r at %r' % (path, self.path))
-
-        return os.path.join(self.path, path)
-
-    def list_distinfo_files(self):
-        """
-        Iterates over the ``RECORD`` entries and returns paths for each line if
-        the path is pointing to a file located in the ``.dist-info`` directory
-        or one of its subdirectories.
-
-        :returns: iterator of paths
-        """
-        base = os.path.dirname(self.path)
-        for path, checksum, size in self._get_records():
-            # XXX add separator or use real relpath algo
-            if not os.path.isabs(path):
-                path = os.path.join(base, path)
-            if path.startswith(self.path):
-                yield path
-
-    def __eq__(self, other):
-        return (isinstance(other, InstalledDistribution)
-                and self.path == other.path)
-
-    # See http://docs.python.org/reference/datamodel#object.__hash__
-    __hash__ = object.__hash__
-
-
-class EggInfoDistribution(BaseInstalledDistribution):
-    """Created with the *path* of the ``.egg-info`` directory or file provided
-    to the constructor. It reads the metadata contained in the file itself, or
-    if the given path happens to be a directory, the metadata is read from the
-    file ``PKG-INFO`` under that directory."""
-
-    requested = True  # as we have no way of knowing, assume it was
-    shared_locations = {}
-
-    def __init__(self, path, env=None):
-
-        def set_name_and_version(s, n, v):
-            s.name = n
-            s.key = n.lower()  # for case-insensitive comparisons
-            s.version = v
-
-        self.path = path
-        self.dist_path = env
-        if env and env._cache_enabled and path in env._cache_egg.path:
-            metadata = env._cache_egg.path[path].metadata
-            set_name_and_version(self, metadata.name, metadata.version)
-        else:
-            metadata = self._get_metadata(path)
-
-            # Need to be set before caching
-            set_name_and_version(self, metadata.name, metadata.version)
-
-            if env and env._cache_enabled:
-                env._cache_egg.add(self)
-        super(EggInfoDistribution, self).__init__(metadata, path, env)
-
-    def _get_metadata(self, path):
-        requires = None
-
-        def parse_requires_data(data):
-            """Create a list of dependencies from a requires.txt file.
-
-            *data*: the contents of a setuptools-produced requires.txt file.
-            """
-            reqs = []
-            lines = data.splitlines()
-            for line in lines:
-                line = line.strip()
-                # sectioned files have bare newlines (separating sections)
-                if not line:  # pragma: no cover
-                    continue
-                if line.startswith('['):  # pragma: no cover
-                    logger.warning(
-                        'Unexpected line: quitting requirement scan: %r', line)
-                    break
-                r = parse_requirement(line)
-                if not r:  # pragma: no cover
-                    logger.warning('Not recognised as a requirement: %r', line)
-                    continue
-                if r.extras:  # pragma: no cover
-                    logger.warning('extra requirements in requires.txt are '
-                                   'not supported')
-                if not r.constraints:
-                    reqs.append(r.name)
-                else:
-                    cons = ', '.join('%s%s' % c for c in r.constraints)
-                    reqs.append('%s (%s)' % (r.name, cons))
-            return reqs
-
-        def parse_requires_path(req_path):
-            """Create a list of dependencies from a requires.txt file.
-
-            *req_path*: the path to a setuptools-produced requires.txt file.
-            """
-
-            reqs = []
-            try:
-                with codecs.open(req_path, 'r', 'utf-8') as fp:
-                    reqs = parse_requires_data(fp.read())
-            except IOError:
-                pass
-            return reqs
-
-        tl_path = tl_data = None
-        if path.endswith('.egg'):
-            if os.path.isdir(path):
-                p = os.path.join(path, 'EGG-INFO')
-                meta_path = os.path.join(p, 'PKG-INFO')
-                metadata = Metadata(path=meta_path, scheme='legacy')
-                req_path = os.path.join(p, 'requires.txt')
-                tl_path = os.path.join(p, 'top_level.txt')
-                requires = parse_requires_path(req_path)
-            else:
-                # FIXME handle the case where zipfile is not available
-                zipf = zipimport.zipimporter(path)
-                fileobj = StringIO(
-                    zipf.get_data('EGG-INFO/PKG-INFO').decode('utf8'))
-                metadata = Metadata(fileobj=fileobj, scheme='legacy')
-                try:
-                    data = zipf.get_data('EGG-INFO/requires.txt')
-                    tl_data = zipf.get_data('EGG-INFO/top_level.txt').decode(
-                        'utf-8')
-                    requires = parse_requires_data(data.decode('utf-8'))
-                except IOError:
-                    requires = None
-        elif path.endswith('.egg-info'):
-            if os.path.isdir(path):
-                req_path = os.path.join(path, 'requires.txt')
-                requires = parse_requires_path(req_path)
-                path = os.path.join(path, 'PKG-INFO')
-                tl_path = os.path.join(path, 'top_level.txt')
-            metadata = Metadata(path=path, scheme='legacy')
-        else:
-            raise DistlibException('path must end with .egg-info or .egg, '
-                                   'got %r' % path)
-
-        if requires:
-            metadata.add_requirements(requires)
-        # look for top-level modules in top_level.txt, if present
-        if tl_data is None:
-            if tl_path is not None and os.path.exists(tl_path):
-                with open(tl_path, 'rb') as f:
-                    tl_data = f.read().decode('utf-8')
-        if not tl_data:
-            tl_data = []
-        else:
-            tl_data = tl_data.splitlines()
-        self.modules = tl_data
-        return metadata
-
-    def __repr__(self):
-        return '' % (self.name, self.version,
-                                                      self.path)
-
-    def __str__(self):
-        return "%s %s" % (self.name, self.version)
-
-    def check_installed_files(self):
-        """
-        Checks that the hashes and sizes of the files in ``RECORD`` are
-        matched by the files themselves. Returns a (possibly empty) list of
-        mismatches. Each entry in the mismatch list will be a tuple consisting
-        of the path, 'exists', 'size' or 'hash' according to what didn't match
-        (existence is checked first, then size, then hash), the expected
-        value and the actual value.
-        """
-        mismatches = []
-        record_path = os.path.join(self.path, 'installed-files.txt')
-        if os.path.exists(record_path):
-            for path, _, _ in self.list_installed_files():
-                if path == record_path:
-                    continue
-                if not os.path.exists(path):
-                    mismatches.append((path, 'exists', True, False))
-        return mismatches
-
-    def list_installed_files(self):
-        """
-        Iterates over the ``installed-files.txt`` entries and returns a tuple
-        ``(path, hash, size)`` for each line.
-
-        :returns: a list of (path, hash, size)
-        """
-
-        def _md5(path):
-            f = open(path, 'rb')
-            try:
-                content = f.read()
-            finally:
-                f.close()
-            return hashlib.md5(content).hexdigest()
-
-        def _size(path):
-            return os.stat(path).st_size
-
-        record_path = os.path.join(self.path, 'installed-files.txt')
-        result = []
-        if os.path.exists(record_path):
-            with codecs.open(record_path, 'r', encoding='utf-8') as f:
-                for line in f:
-                    line = line.strip()
-                    p = os.path.normpath(os.path.join(self.path, line))
-                    # "./" is present as a marker between installed files
-                    # and installation metadata files
-                    if not os.path.exists(p):
-                        logger.warning('Non-existent file: %s', p)
-                        if p.endswith(('.pyc', '.pyo')):
-                            continue
-                        # otherwise fall through and fail
-                    if not os.path.isdir(p):
-                        result.append((p, _md5(p), _size(p)))
-            result.append((record_path, None, None))
-        return result
-
-    def list_distinfo_files(self, absolute=False):
-        """
-        Iterates over the ``installed-files.txt`` entries and returns paths for
-        each line if the path is pointing to a file located in the
-        ``.egg-info`` directory or one of its subdirectories.
-
-        :parameter absolute: If *absolute* is ``True``, each returned path is
-                          transformed into a local absolute path. Otherwise the
-                          raw value from ``installed-files.txt`` is returned.
-        :type absolute: boolean
-        :returns: iterator of paths
-        """
-        record_path = os.path.join(self.path, 'installed-files.txt')
-        if os.path.exists(record_path):
-            skip = True
-            with codecs.open(record_path, 'r', encoding='utf-8') as f:
-                for line in f:
-                    line = line.strip()
-                    if line == './':
-                        skip = False
-                        continue
-                    if not skip:
-                        p = os.path.normpath(os.path.join(self.path, line))
-                        if p.startswith(self.path):
-                            if absolute:
-                                yield p
-                            else:
-                                yield line
-
-    def __eq__(self, other):
-        return (isinstance(other, EggInfoDistribution)
-                and self.path == other.path)
-
-    # See http://docs.python.org/reference/datamodel#object.__hash__
-    __hash__ = object.__hash__
-
-
-new_dist_class = InstalledDistribution
-old_dist_class = EggInfoDistribution
-
-
-class DependencyGraph(object):
-    """
-    Represents a dependency graph between distributions.
-
-    The dependency relationships are stored in an ``adjacency_list`` that maps
-    distributions to a list of ``(other, label)`` tuples where  ``other``
-    is a distribution and the edge is labeled with ``label`` (i.e. the version
-    specifier, if such was provided). Also, for more efficient traversal, for
-    every distribution ``x``, a list of predecessors is kept in
-    ``reverse_list[x]``. An edge from distribution ``a`` to
-    distribution ``b`` means that ``a`` depends on ``b``. If any missing
-    dependencies are found, they are stored in ``missing``, which is a
-    dictionary that maps distributions to a list of requirements that were not
-    provided by any other distributions.
-    """
-
-    def __init__(self):
-        self.adjacency_list = {}
-        self.reverse_list = {}
-        self.missing = {}
-
-    def add_distribution(self, distribution):
-        """Add the *distribution* to the graph.
-
-        :type distribution: :class:`distutils2.database.InstalledDistribution`
-                            or :class:`distutils2.database.EggInfoDistribution`
-        """
-        self.adjacency_list[distribution] = []
-        self.reverse_list[distribution] = []
-        # self.missing[distribution] = []
-
-    def add_edge(self, x, y, label=None):
-        """Add an edge from distribution *x* to distribution *y* with the given
-        *label*.
-
-        :type x: :class:`distutils2.database.InstalledDistribution` or
-                 :class:`distutils2.database.EggInfoDistribution`
-        :type y: :class:`distutils2.database.InstalledDistribution` or
-                 :class:`distutils2.database.EggInfoDistribution`
-        :type label: ``str`` or ``None``
-        """
-        self.adjacency_list[x].append((y, label))
-        # multiple edges are allowed, so be careful
-        if x not in self.reverse_list[y]:
-            self.reverse_list[y].append(x)
-
-    def add_missing(self, distribution, requirement):
-        """
-        Add a missing *requirement* for the given *distribution*.
-
-        :type distribution: :class:`distutils2.database.InstalledDistribution`
-                            or :class:`distutils2.database.EggInfoDistribution`
-        :type requirement: ``str``
-        """
-        logger.debug('%s missing %r', distribution, requirement)
-        self.missing.setdefault(distribution, []).append(requirement)
-
-    def _repr_dist(self, dist):
-        return '%s %s' % (dist.name, dist.version)
-
-    def repr_node(self, dist, level=1):
-        """Prints only a subgraph"""
-        output = [self._repr_dist(dist)]
-        for other, label in self.adjacency_list[dist]:
-            dist = self._repr_dist(other)
-            if label is not None:
-                dist = '%s [%s]' % (dist, label)
-            output.append('    ' * level + str(dist))
-            suboutput = self.repr_node(other, level + 1)
-            subs = suboutput.split('\n')
-            output.extend(subs[1:])
-        return '\n'.join(output)
-
-    def to_dot(self, f, skip_disconnected=True):
-        """Writes a DOT output for the graph to the provided file *f*.
-
-        If *skip_disconnected* is set to ``True``, then all distributions
-        that are not dependent on any other distribution are skipped.
-
-        :type f: has to support ``file``-like operations
-        :type skip_disconnected: ``bool``
-        """
-        disconnected = []
-
-        f.write("digraph dependencies {\n")
-        for dist, adjs in self.adjacency_list.items():
-            if len(adjs) == 0 and not skip_disconnected:
-                disconnected.append(dist)
-            for other, label in adjs:
-                if label is not None:
-                    f.write('"%s" -> "%s" [label="%s"]\n' %
-                            (dist.name, other.name, label))
-                else:
-                    f.write('"%s" -> "%s"\n' % (dist.name, other.name))
-        if not skip_disconnected and len(disconnected) > 0:
-            f.write('subgraph disconnected {\n')
-            f.write('label = "Disconnected"\n')
-            f.write('bgcolor = red\n')
-
-            for dist in disconnected:
-                f.write('"%s"' % dist.name)
-                f.write('\n')
-            f.write('}\n')
-        f.write('}\n')
-
-    def topological_sort(self):
-        """
-        Perform a topological sort of the graph.
-        :return: A tuple, the first element of which is a topologically sorted
-                 list of distributions, and the second element of which is a
-                 list of distributions that cannot be sorted because they have
-                 circular dependencies and so form a cycle.
-        """
-        result = []
-        # Make a shallow copy of the adjacency list
-        alist = {}
-        for k, v in self.adjacency_list.items():
-            alist[k] = v[:]
-        while True:
-            # See what we can remove in this run
-            to_remove = []
-            for k, v in list(alist.items())[:]:
-                if not v:
-                    to_remove.append(k)
-                    del alist[k]
-            if not to_remove:
-                # What's left in alist (if anything) is a cycle.
-                break
-            # Remove from the adjacency list of others
-            for k, v in alist.items():
-                alist[k] = [(d, r) for d, r in v if d not in to_remove]
-            logger.debug('Moving to result: %s',
-                         ['%s (%s)' % (d.name, d.version) for d in to_remove])
-            result.extend(to_remove)
-        return result, list(alist.keys())
-
-    def __repr__(self):
-        """Representation of the graph"""
-        output = []
-        for dist, adjs in self.adjacency_list.items():
-            output.append(self.repr_node(dist))
-        return '\n'.join(output)
-
-
-def make_graph(dists, scheme='default'):
-    """Makes a dependency graph from the given distributions.
-
-    :parameter dists: a list of distributions
-    :type dists: list of :class:`distutils2.database.InstalledDistribution` and
-                 :class:`distutils2.database.EggInfoDistribution` instances
-    :rtype: a :class:`DependencyGraph` instance
-    """
-    scheme = get_scheme(scheme)
-    graph = DependencyGraph()
-    provided = {}  # maps names to lists of (version, dist) tuples
-
-    # first, build the graph and find out what's provided
-    for dist in dists:
-        graph.add_distribution(dist)
-
-        for p in dist.provides:
-            name, version = parse_name_and_version(p)
-            logger.debug('Add to provided: %s, %s, %s', name, version, dist)
-            provided.setdefault(name, []).append((version, dist))
-
-    # now make the edges
-    for dist in dists:
-        requires = (dist.run_requires | dist.meta_requires
-                    | dist.build_requires | dist.dev_requires)
-        for req in requires:
-            try:
-                matcher = scheme.matcher(req)
-            except UnsupportedVersionError:
-                # XXX compat-mode if cannot read the version
-                logger.warning('could not read version %r - using name only',
-                               req)
-                name = req.split()[0]
-                matcher = scheme.matcher(name)
-
-            name = matcher.key  # case-insensitive
-
-            matched = False
-            if name in provided:
-                for version, provider in provided[name]:
-                    try:
-                        match = matcher.match(version)
-                    except UnsupportedVersionError:
-                        match = False
-
-                    if match:
-                        graph.add_edge(dist, provider, req)
-                        matched = True
-                        break
-            if not matched:
-                graph.add_missing(dist, req)
-    return graph
-
-
-def get_dependent_dists(dists, dist):
-    """Recursively generate a list of distributions from *dists* that are
-    dependent on *dist*.
-
-    :param dists: a list of distributions
-    :param dist: a distribution, member of *dists* for which we are interested
-    """
-    if dist not in dists:
-        raise DistlibException('given distribution %r is not a member '
-                               'of the list' % dist.name)
-    graph = make_graph(dists)
-
-    dep = [dist]  # dependent distributions
-    todo = graph.reverse_list[dist]  # list of nodes we should inspect
-
-    while todo:
-        d = todo.pop()
-        dep.append(d)
-        for succ in graph.reverse_list[d]:
-            if succ not in dep:
-                todo.append(succ)
-
-    dep.pop(0)  # remove dist from dep, was there to prevent infinite loops
-    return dep
-
-
-def get_required_dists(dists, dist):
-    """Recursively generate a list of distributions from *dists* that are
-    required by *dist*.
-
-    :param dists: a list of distributions
-    :param dist: a distribution, member of *dists* for which we are interested
-                 in finding the dependencies.
-    """
-    if dist not in dists:
-        raise DistlibException('given distribution %r is not a member '
-                               'of the list' % dist.name)
-    graph = make_graph(dists)
-
-    req = set()  # required distributions
-    todo = graph.adjacency_list[dist]  # list of nodes we should inspect
-    seen = set(t[0] for t in todo)  # already added to todo
-
-    while todo:
-        d = todo.pop()[0]
-        req.add(d)
-        pred_list = graph.adjacency_list[d]
-        for pred in pred_list:
-            d = pred[0]
-            if d not in req and d not in seen:
-                seen.add(d)
-                todo.append(pred)
-    return req
-
-
-def make_dist(name, version, **kwargs):
-    """
-    A convenience method for making a dist given just a name and version.
-    """
-    summary = kwargs.pop('summary', 'Placeholder for summary')
-    md = Metadata(**kwargs)
-    md.name = name
-    md.version = version
-    md.summary = summary or 'Placeholder for summary'
-    return Distribution(md)
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/index.py b/.venv/Lib/site-packages/pip/_vendor/distlib/index.py
deleted file mode 100644
index 56cd286..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/distlib/index.py
+++ /dev/null
@@ -1,508 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2013-2023 Vinay Sajip.
-# Licensed to the Python Software Foundation under a contributor agreement.
-# See LICENSE.txt and CONTRIBUTORS.txt.
-#
-import hashlib
-import logging
-import os
-import shutil
-import subprocess
-import tempfile
-try:
-    from threading import Thread
-except ImportError:  # pragma: no cover
-    from dummy_threading import Thread
-
-from . import DistlibException
-from .compat import (HTTPBasicAuthHandler, Request, HTTPPasswordMgr,
-                     urlparse, build_opener, string_types)
-from .util import zip_dir, ServerProxy
-
-logger = logging.getLogger(__name__)
-
-DEFAULT_INDEX = 'https://pypi.org/pypi'
-DEFAULT_REALM = 'pypi'
-
-
-class PackageIndex(object):
-    """
-    This class represents a package index compatible with PyPI, the Python
-    Package Index.
-    """
-
-    boundary = b'----------ThIs_Is_tHe_distlib_index_bouNdaRY_$'
-
-    def __init__(self, url=None):
-        """
-        Initialise an instance.
-
-        :param url: The URL of the index. If not specified, the URL for PyPI is
-                    used.
-        """
-        self.url = url or DEFAULT_INDEX
-        self.read_configuration()
-        scheme, netloc, path, params, query, frag = urlparse(self.url)
-        if params or query or frag or scheme not in ('http', 'https'):
-            raise DistlibException('invalid repository: %s' % self.url)
-        self.password_handler = None
-        self.ssl_verifier = None
-        self.gpg = None
-        self.gpg_home = None
-        with open(os.devnull, 'w') as sink:
-            # Use gpg by default rather than gpg2, as gpg2 insists on
-            # prompting for passwords
-            for s in ('gpg', 'gpg2'):
-                try:
-                    rc = subprocess.check_call([s, '--version'], stdout=sink,
-                                               stderr=sink)
-                    if rc == 0:
-                        self.gpg = s
-                        break
-                except OSError:
-                    pass
-
-    def _get_pypirc_command(self):
-        """
-        Get the distutils command for interacting with PyPI configurations.
-        :return: the command.
-        """
-        from .util import _get_pypirc_command as cmd
-        return cmd()
-
-    def read_configuration(self):
-        """
-        Read the PyPI access configuration as supported by distutils. This populates
-        ``username``, ``password``, ``realm`` and ``url`` attributes from the
-        configuration.
-        """
-        from .util import _load_pypirc
-        cfg = _load_pypirc(self)
-        self.username = cfg.get('username')
-        self.password = cfg.get('password')
-        self.realm = cfg.get('realm', 'pypi')
-        self.url = cfg.get('repository', self.url)
-
-    def save_configuration(self):
-        """
-        Save the PyPI access configuration. You must have set ``username`` and
-        ``password`` attributes before calling this method.
-        """
-        self.check_credentials()
-        from .util import _store_pypirc
-        _store_pypirc(self)
-
-    def check_credentials(self):
-        """
-        Check that ``username`` and ``password`` have been set, and raise an
-        exception if not.
-        """
-        if self.username is None or self.password is None:
-            raise DistlibException('username and password must be set')
-        pm = HTTPPasswordMgr()
-        _, netloc, _, _, _, _ = urlparse(self.url)
-        pm.add_password(self.realm, netloc, self.username, self.password)
-        self.password_handler = HTTPBasicAuthHandler(pm)
-
-    def register(self, metadata):  # pragma: no cover
-        """
-        Register a distribution on PyPI, using the provided metadata.
-
-        :param metadata: A :class:`Metadata` instance defining at least a name
-                         and version number for the distribution to be
-                         registered.
-        :return: The HTTP response received from PyPI upon submission of the
-                request.
-        """
-        self.check_credentials()
-        metadata.validate()
-        d = metadata.todict()
-        d[':action'] = 'verify'
-        request = self.encode_request(d.items(), [])
-        self.send_request(request)
-        d[':action'] = 'submit'
-        request = self.encode_request(d.items(), [])
-        return self.send_request(request)
-
-    def _reader(self, name, stream, outbuf):
-        """
-        Thread runner for reading lines of from a subprocess into a buffer.
-
-        :param name: The logical name of the stream (used for logging only).
-        :param stream: The stream to read from. This will typically a pipe
-                       connected to the output stream of a subprocess.
-        :param outbuf: The list to append the read lines to.
-        """
-        while True:
-            s = stream.readline()
-            if not s:
-                break
-            s = s.decode('utf-8').rstrip()
-            outbuf.append(s)
-            logger.debug('%s: %s' % (name, s))
-        stream.close()
-
-    def get_sign_command(self, filename, signer, sign_password, keystore=None):  # pragma: no cover
-        """
-        Return a suitable command for signing a file.
-
-        :param filename: The pathname to the file to be signed.
-        :param signer: The identifier of the signer of the file.
-        :param sign_password: The passphrase for the signer's
-                              private key used for signing.
-        :param keystore: The path to a directory which contains the keys
-                         used in verification. If not specified, the
-                         instance's ``gpg_home`` attribute is used instead.
-        :return: The signing command as a list suitable to be
-                 passed to :class:`subprocess.Popen`.
-        """
-        cmd = [self.gpg, '--status-fd', '2', '--no-tty']
-        if keystore is None:
-            keystore = self.gpg_home
-        if keystore:
-            cmd.extend(['--homedir', keystore])
-        if sign_password is not None:
-            cmd.extend(['--batch', '--passphrase-fd', '0'])
-        td = tempfile.mkdtemp()
-        sf = os.path.join(td, os.path.basename(filename) + '.asc')
-        cmd.extend(['--detach-sign', '--armor', '--local-user',
-                    signer, '--output', sf, filename])
-        logger.debug('invoking: %s', ' '.join(cmd))
-        return cmd, sf
-
-    def run_command(self, cmd, input_data=None):
-        """
-        Run a command in a child process , passing it any input data specified.
-
-        :param cmd: The command to run.
-        :param input_data: If specified, this must be a byte string containing
-                           data to be sent to the child process.
-        :return: A tuple consisting of the subprocess' exit code, a list of
-                 lines read from the subprocess' ``stdout``, and a list of
-                 lines read from the subprocess' ``stderr``.
-        """
-        kwargs = {
-            'stdout': subprocess.PIPE,
-            'stderr': subprocess.PIPE,
-        }
-        if input_data is not None:
-            kwargs['stdin'] = subprocess.PIPE
-        stdout = []
-        stderr = []
-        p = subprocess.Popen(cmd, **kwargs)
-        # We don't use communicate() here because we may need to
-        # get clever with interacting with the command
-        t1 = Thread(target=self._reader, args=('stdout', p.stdout, stdout))
-        t1.start()
-        t2 = Thread(target=self._reader, args=('stderr', p.stderr, stderr))
-        t2.start()
-        if input_data is not None:
-            p.stdin.write(input_data)
-            p.stdin.close()
-
-        p.wait()
-        t1.join()
-        t2.join()
-        return p.returncode, stdout, stderr
-
-    def sign_file(self, filename, signer, sign_password, keystore=None):  # pragma: no cover
-        """
-        Sign a file.
-
-        :param filename: The pathname to the file to be signed.
-        :param signer: The identifier of the signer of the file.
-        :param sign_password: The passphrase for the signer's
-                              private key used for signing.
-        :param keystore: The path to a directory which contains the keys
-                         used in signing. If not specified, the instance's
-                         ``gpg_home`` attribute is used instead.
-        :return: The absolute pathname of the file where the signature is
-                 stored.
-        """
-        cmd, sig_file = self.get_sign_command(filename, signer, sign_password,
-                                              keystore)
-        rc, stdout, stderr = self.run_command(cmd,
-                                              sign_password.encode('utf-8'))
-        if rc != 0:
-            raise DistlibException('sign command failed with error '
-                                   'code %s' % rc)
-        return sig_file
-
-    def upload_file(self, metadata, filename, signer=None, sign_password=None,
-                    filetype='sdist', pyversion='source', keystore=None):
-        """
-        Upload a release file to the index.
-
-        :param metadata: A :class:`Metadata` instance defining at least a name
-                         and version number for the file to be uploaded.
-        :param filename: The pathname of the file to be uploaded.
-        :param signer: The identifier of the signer of the file.
-        :param sign_password: The passphrase for the signer's
-                              private key used for signing.
-        :param filetype: The type of the file being uploaded. This is the
-                        distutils command which produced that file, e.g.
-                        ``sdist`` or ``bdist_wheel``.
-        :param pyversion: The version of Python which the release relates
-                          to. For code compatible with any Python, this would
-                          be ``source``, otherwise it would be e.g. ``3.2``.
-        :param keystore: The path to a directory which contains the keys
-                         used in signing. If not specified, the instance's
-                         ``gpg_home`` attribute is used instead.
-        :return: The HTTP response received from PyPI upon submission of the
-                request.
-        """
-        self.check_credentials()
-        if not os.path.exists(filename):
-            raise DistlibException('not found: %s' % filename)
-        metadata.validate()
-        d = metadata.todict()
-        sig_file = None
-        if signer:
-            if not self.gpg:
-                logger.warning('no signing program available - not signed')
-            else:
-                sig_file = self.sign_file(filename, signer, sign_password,
-                                          keystore)
-        with open(filename, 'rb') as f:
-            file_data = f.read()
-        md5_digest = hashlib.md5(file_data).hexdigest()
-        sha256_digest = hashlib.sha256(file_data).hexdigest()
-        d.update({
-            ':action': 'file_upload',
-            'protocol_version': '1',
-            'filetype': filetype,
-            'pyversion': pyversion,
-            'md5_digest': md5_digest,
-            'sha256_digest': sha256_digest,
-        })
-        files = [('content', os.path.basename(filename), file_data)]
-        if sig_file:
-            with open(sig_file, 'rb') as f:
-                sig_data = f.read()
-            files.append(('gpg_signature', os.path.basename(sig_file),
-                         sig_data))
-            shutil.rmtree(os.path.dirname(sig_file))
-        request = self.encode_request(d.items(), files)
-        return self.send_request(request)
-
-    def upload_documentation(self, metadata, doc_dir):  # pragma: no cover
-        """
-        Upload documentation to the index.
-
-        :param metadata: A :class:`Metadata` instance defining at least a name
-                         and version number for the documentation to be
-                         uploaded.
-        :param doc_dir: The pathname of the directory which contains the
-                        documentation. This should be the directory that
-                        contains the ``index.html`` for the documentation.
-        :return: The HTTP response received from PyPI upon submission of the
-                request.
-        """
-        self.check_credentials()
-        if not os.path.isdir(doc_dir):
-            raise DistlibException('not a directory: %r' % doc_dir)
-        fn = os.path.join(doc_dir, 'index.html')
-        if not os.path.exists(fn):
-            raise DistlibException('not found: %r' % fn)
-        metadata.validate()
-        name, version = metadata.name, metadata.version
-        zip_data = zip_dir(doc_dir).getvalue()
-        fields = [(':action', 'doc_upload'),
-                  ('name', name), ('version', version)]
-        files = [('content', name, zip_data)]
-        request = self.encode_request(fields, files)
-        return self.send_request(request)
-
-    def get_verify_command(self, signature_filename, data_filename,
-                           keystore=None):
-        """
-        Return a suitable command for verifying a file.
-
-        :param signature_filename: The pathname to the file containing the
-                                   signature.
-        :param data_filename: The pathname to the file containing the
-                              signed data.
-        :param keystore: The path to a directory which contains the keys
-                         used in verification. If not specified, the
-                         instance's ``gpg_home`` attribute is used instead.
-        :return: The verifying command as a list suitable to be
-                 passed to :class:`subprocess.Popen`.
-        """
-        cmd = [self.gpg, '--status-fd', '2', '--no-tty']
-        if keystore is None:
-            keystore = self.gpg_home
-        if keystore:
-            cmd.extend(['--homedir', keystore])
-        cmd.extend(['--verify', signature_filename, data_filename])
-        logger.debug('invoking: %s', ' '.join(cmd))
-        return cmd
-
-    def verify_signature(self, signature_filename, data_filename,
-                         keystore=None):
-        """
-        Verify a signature for a file.
-
-        :param signature_filename: The pathname to the file containing the
-                                   signature.
-        :param data_filename: The pathname to the file containing the
-                              signed data.
-        :param keystore: The path to a directory which contains the keys
-                         used in verification. If not specified, the
-                         instance's ``gpg_home`` attribute is used instead.
-        :return: True if the signature was verified, else False.
-        """
-        if not self.gpg:
-            raise DistlibException('verification unavailable because gpg '
-                                   'unavailable')
-        cmd = self.get_verify_command(signature_filename, data_filename,
-                                      keystore)
-        rc, stdout, stderr = self.run_command(cmd)
-        if rc not in (0, 1):
-            raise DistlibException('verify command failed with error code %s' % rc)
-        return rc == 0
-
-    def download_file(self, url, destfile, digest=None, reporthook=None):
-        """
-        This is a convenience method for downloading a file from an URL.
-        Normally, this will be a file from the index, though currently
-        no check is made for this (i.e. a file can be downloaded from
-        anywhere).
-
-        The method is just like the :func:`urlretrieve` function in the
-        standard library, except that it allows digest computation to be
-        done during download and checking that the downloaded data
-        matched any expected value.
-
-        :param url: The URL of the file to be downloaded (assumed to be
-                    available via an HTTP GET request).
-        :param destfile: The pathname where the downloaded file is to be
-                         saved.
-        :param digest: If specified, this must be a (hasher, value)
-                       tuple, where hasher is the algorithm used (e.g.
-                       ``'md5'``) and ``value`` is the expected value.
-        :param reporthook: The same as for :func:`urlretrieve` in the
-                           standard library.
-        """
-        if digest is None:
-            digester = None
-            logger.debug('No digest specified')
-        else:
-            if isinstance(digest, (list, tuple)):
-                hasher, digest = digest
-            else:
-                hasher = 'md5'
-            digester = getattr(hashlib, hasher)()
-            logger.debug('Digest specified: %s' % digest)
-        # The following code is equivalent to urlretrieve.
-        # We need to do it this way so that we can compute the
-        # digest of the file as we go.
-        with open(destfile, 'wb') as dfp:
-            # addinfourl is not a context manager on 2.x
-            # so we have to use try/finally
-            sfp = self.send_request(Request(url))
-            try:
-                headers = sfp.info()
-                blocksize = 8192
-                size = -1
-                read = 0
-                blocknum = 0
-                if "content-length" in headers:
-                    size = int(headers["Content-Length"])
-                if reporthook:
-                    reporthook(blocknum, blocksize, size)
-                while True:
-                    block = sfp.read(blocksize)
-                    if not block:
-                        break
-                    read += len(block)
-                    dfp.write(block)
-                    if digester:
-                        digester.update(block)
-                    blocknum += 1
-                    if reporthook:
-                        reporthook(blocknum, blocksize, size)
-            finally:
-                sfp.close()
-
-        # check that we got the whole file, if we can
-        if size >= 0 and read < size:
-            raise DistlibException(
-                'retrieval incomplete: got only %d out of %d bytes'
-                % (read, size))
-        # if we have a digest, it must match.
-        if digester:
-            actual = digester.hexdigest()
-            if digest != actual:
-                raise DistlibException('%s digest mismatch for %s: expected '
-                                       '%s, got %s' % (hasher, destfile,
-                                                       digest, actual))
-            logger.debug('Digest verified: %s', digest)
-
-    def send_request(self, req):
-        """
-        Send a standard library :class:`Request` to PyPI and return its
-        response.
-
-        :param req: The request to send.
-        :return: The HTTP response from PyPI (a standard library HTTPResponse).
-        """
-        handlers = []
-        if self.password_handler:
-            handlers.append(self.password_handler)
-        if self.ssl_verifier:
-            handlers.append(self.ssl_verifier)
-        opener = build_opener(*handlers)
-        return opener.open(req)
-
-    def encode_request(self, fields, files):
-        """
-        Encode fields and files for posting to an HTTP server.
-
-        :param fields: The fields to send as a list of (fieldname, value)
-                       tuples.
-        :param files: The files to send as a list of (fieldname, filename,
-                      file_bytes) tuple.
-        """
-        # Adapted from packaging, which in turn was adapted from
-        # http://code.activestate.com/recipes/146306
-
-        parts = []
-        boundary = self.boundary
-        for k, values in fields:
-            if not isinstance(values, (list, tuple)):
-                values = [values]
-
-            for v in values:
-                parts.extend((
-                    b'--' + boundary,
-                    ('Content-Disposition: form-data; name="%s"' %
-                     k).encode('utf-8'),
-                    b'',
-                    v.encode('utf-8')))
-        for key, filename, value in files:
-            parts.extend((
-                b'--' + boundary,
-                ('Content-Disposition: form-data; name="%s"; filename="%s"' %
-                 (key, filename)).encode('utf-8'),
-                b'',
-                value))
-
-        parts.extend((b'--' + boundary + b'--', b''))
-
-        body = b'\r\n'.join(parts)
-        ct = b'multipart/form-data; boundary=' + boundary
-        headers = {
-            'Content-type': ct,
-            'Content-length': str(len(body))
-        }
-        return Request(self.url, body, headers)
-
-    def search(self, terms, operator=None):  # pragma: no cover
-        if isinstance(terms, string_types):
-            terms = {'name': terms}
-        rpc_proxy = ServerProxy(self.url, timeout=3.0)
-        try:
-            return rpc_proxy.search(terms, operator or 'and')
-        finally:
-            rpc_proxy('close')()
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/locators.py b/.venv/Lib/site-packages/pip/_vendor/distlib/locators.py
deleted file mode 100644
index f9f0788..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/distlib/locators.py
+++ /dev/null
@@ -1,1303 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2012-2023 Vinay Sajip.
-# Licensed to the Python Software Foundation under a contributor agreement.
-# See LICENSE.txt and CONTRIBUTORS.txt.
-#
-
-import gzip
-from io import BytesIO
-import json
-import logging
-import os
-import posixpath
-import re
-try:
-    import threading
-except ImportError:  # pragma: no cover
-    import dummy_threading as threading
-import zlib
-
-from . import DistlibException
-from .compat import (urljoin, urlparse, urlunparse, url2pathname, pathname2url,
-                     queue, quote, unescape, build_opener,
-                     HTTPRedirectHandler as BaseRedirectHandler, text_type,
-                     Request, HTTPError, URLError)
-from .database import Distribution, DistributionPath, make_dist
-from .metadata import Metadata, MetadataInvalidError
-from .util import (cached_property, ensure_slash, split_filename, get_project_data,
-                   parse_requirement, parse_name_and_version, ServerProxy,
-                   normalize_name)
-from .version import get_scheme, UnsupportedVersionError
-from .wheel import Wheel, is_compatible
-
-logger = logging.getLogger(__name__)
-
-HASHER_HASH = re.compile(r'^(\w+)=([a-f0-9]+)')
-CHARSET = re.compile(r';\s*charset\s*=\s*(.*)\s*$', re.I)
-HTML_CONTENT_TYPE = re.compile('text/html|application/x(ht)?ml')
-DEFAULT_INDEX = 'https://pypi.org/pypi'
-
-
-def get_all_distribution_names(url=None):
-    """
-    Return all distribution names known by an index.
-    :param url: The URL of the index.
-    :return: A list of all known distribution names.
-    """
-    if url is None:
-        url = DEFAULT_INDEX
-    client = ServerProxy(url, timeout=3.0)
-    try:
-        return client.list_packages()
-    finally:
-        client('close')()
-
-
-class RedirectHandler(BaseRedirectHandler):
-    """
-    A class to work around a bug in some Python 3.2.x releases.
-    """
-    # There's a bug in the base version for some 3.2.x
-    # (e.g. 3.2.2 on Ubuntu Oneiric). If a Location header
-    # returns e.g. /abc, it bails because it says the scheme ''
-    # is bogus, when actually it should use the request's
-    # URL for the scheme. See Python issue #13696.
-    def http_error_302(self, req, fp, code, msg, headers):
-        # Some servers (incorrectly) return multiple Location headers
-        # (so probably same goes for URI).  Use first header.
-        newurl = None
-        for key in ('location', 'uri'):
-            if key in headers:
-                newurl = headers[key]
-                break
-        if newurl is None:  # pragma: no cover
-            return
-        urlparts = urlparse(newurl)
-        if urlparts.scheme == '':
-            newurl = urljoin(req.get_full_url(), newurl)
-            if hasattr(headers, 'replace_header'):
-                headers.replace_header(key, newurl)
-            else:
-                headers[key] = newurl
-        return BaseRedirectHandler.http_error_302(self, req, fp, code, msg,
-                                                  headers)
-
-    http_error_301 = http_error_303 = http_error_307 = http_error_302
-
-
-class Locator(object):
-    """
-    A base class for locators - things that locate distributions.
-    """
-    source_extensions = ('.tar.gz', '.tar.bz2', '.tar', '.zip', '.tgz', '.tbz')
-    binary_extensions = ('.egg', '.exe', '.whl')
-    excluded_extensions = ('.pdf',)
-
-    # A list of tags indicating which wheels you want to match. The default
-    # value of None matches against the tags compatible with the running
-    # Python. If you want to match other values, set wheel_tags on a locator
-    # instance to a list of tuples (pyver, abi, arch) which you want to match.
-    wheel_tags = None
-
-    downloadable_extensions = source_extensions + ('.whl',)
-
-    def __init__(self, scheme='default'):
-        """
-        Initialise an instance.
-        :param scheme: Because locators look for most recent versions, they
-                       need to know the version scheme to use. This specifies
-                       the current PEP-recommended scheme - use ``'legacy'``
-                       if you need to support existing distributions on PyPI.
-        """
-        self._cache = {}
-        self.scheme = scheme
-        # Because of bugs in some of the handlers on some of the platforms,
-        # we use our own opener rather than just using urlopen.
-        self.opener = build_opener(RedirectHandler())
-        # If get_project() is called from locate(), the matcher instance
-        # is set from the requirement passed to locate(). See issue #18 for
-        # why this can be useful to know.
-        self.matcher = None
-        self.errors = queue.Queue()
-
-    def get_errors(self):
-        """
-        Return any errors which have occurred.
-        """
-        result = []
-        while not self.errors.empty():  # pragma: no cover
-            try:
-                e = self.errors.get(False)
-                result.append(e)
-            except self.errors.Empty:
-                continue
-            self.errors.task_done()
-        return result
-
-    def clear_errors(self):
-        """
-        Clear any errors which may have been logged.
-        """
-        # Just get the errors and throw them away
-        self.get_errors()
-
-    def clear_cache(self):
-        self._cache.clear()
-
-    def _get_scheme(self):
-        return self._scheme
-
-    def _set_scheme(self, value):
-        self._scheme = value
-
-    scheme = property(_get_scheme, _set_scheme)
-
-    def _get_project(self, name):
-        """
-        For a given project, get a dictionary mapping available versions to Distribution
-        instances.
-
-        This should be implemented in subclasses.
-
-        If called from a locate() request, self.matcher will be set to a
-        matcher for the requirement to satisfy, otherwise it will be None.
-        """
-        raise NotImplementedError('Please implement in the subclass')
-
-    def get_distribution_names(self):
-        """
-        Return all the distribution names known to this locator.
-        """
-        raise NotImplementedError('Please implement in the subclass')
-
-    def get_project(self, name):
-        """
-        For a given project, get a dictionary mapping available versions to Distribution
-        instances.
-
-        This calls _get_project to do all the work, and just implements a caching layer on top.
-        """
-        if self._cache is None:  # pragma: no cover
-            result = self._get_project(name)
-        elif name in self._cache:
-            result = self._cache[name]
-        else:
-            self.clear_errors()
-            result = self._get_project(name)
-            self._cache[name] = result
-        return result
-
-    def score_url(self, url):
-        """
-        Give an url a score which can be used to choose preferred URLs
-        for a given project release.
-        """
-        t = urlparse(url)
-        basename = posixpath.basename(t.path)
-        compatible = True
-        is_wheel = basename.endswith('.whl')
-        is_downloadable = basename.endswith(self.downloadable_extensions)
-        if is_wheel:
-            compatible = is_compatible(Wheel(basename), self.wheel_tags)
-        return (t.scheme == 'https', 'pypi.org' in t.netloc,
-                is_downloadable, is_wheel, compatible, basename)
-
-    def prefer_url(self, url1, url2):
-        """
-        Choose one of two URLs where both are candidates for distribution
-        archives for the same version of a distribution (for example,
-        .tar.gz vs. zip).
-
-        The current implementation favours https:// URLs over http://, archives
-        from PyPI over those from other locations, wheel compatibility (if a
-        wheel) and then the archive name.
-        """
-        result = url2
-        if url1:
-            s1 = self.score_url(url1)
-            s2 = self.score_url(url2)
-            if s1 > s2:
-                result = url1
-            if result != url2:
-                logger.debug('Not replacing %r with %r', url1, url2)
-            else:
-                logger.debug('Replacing %r with %r', url1, url2)
-        return result
-
-    def split_filename(self, filename, project_name):
-        """
-        Attempt to split a filename in project name, version and Python version.
-        """
-        return split_filename(filename, project_name)
-
-    def convert_url_to_download_info(self, url, project_name):
-        """
-        See if a URL is a candidate for a download URL for a project (the URL
-        has typically been scraped from an HTML page).
-
-        If it is, a dictionary is returned with keys "name", "version",
-        "filename" and "url"; otherwise, None is returned.
-        """
-        def same_project(name1, name2):
-            return normalize_name(name1) == normalize_name(name2)
-
-        result = None
-        scheme, netloc, path, params, query, frag = urlparse(url)
-        if frag.lower().startswith('egg='):  # pragma: no cover
-            logger.debug('%s: version hint in fragment: %r',
-                         project_name, frag)
-        m = HASHER_HASH.match(frag)
-        if m:
-            algo, digest = m.groups()
-        else:
-            algo, digest = None, None
-        origpath = path
-        if path and path[-1] == '/':  # pragma: no cover
-            path = path[:-1]
-        if path.endswith('.whl'):
-            try:
-                wheel = Wheel(path)
-                if not is_compatible(wheel, self.wheel_tags):
-                    logger.debug('Wheel not compatible: %s', path)
-                else:
-                    if project_name is None:
-                        include = True
-                    else:
-                        include = same_project(wheel.name, project_name)
-                    if include:
-                        result = {
-                            'name': wheel.name,
-                            'version': wheel.version,
-                            'filename': wheel.filename,
-                            'url': urlunparse((scheme, netloc, origpath,
-                                               params, query, '')),
-                            'python-version': ', '.join(
-                                ['.'.join(list(v[2:])) for v in wheel.pyver]),
-                        }
-            except Exception:  # pragma: no cover
-                logger.warning('invalid path for wheel: %s', path)
-        elif not path.endswith(self.downloadable_extensions):  # pragma: no cover
-            logger.debug('Not downloadable: %s', path)
-        else:  # downloadable extension
-            path = filename = posixpath.basename(path)
-            for ext in self.downloadable_extensions:
-                if path.endswith(ext):
-                    path = path[:-len(ext)]
-                    t = self.split_filename(path, project_name)
-                    if not t:  # pragma: no cover
-                        logger.debug('No match for project/version: %s', path)
-                    else:
-                        name, version, pyver = t
-                        if not project_name or same_project(project_name, name):
-                            result = {
-                                'name': name,
-                                'version': version,
-                                'filename': filename,
-                                'url': urlunparse((scheme, netloc, origpath,
-                                                   params, query, '')),
-                            }
-                            if pyver:  # pragma: no cover
-                                result['python-version'] = pyver
-                    break
-        if result and algo:
-            result['%s_digest' % algo] = digest
-        return result
-
-    def _get_digest(self, info):
-        """
-        Get a digest from a dictionary by looking at a "digests" dictionary
-        or keys of the form 'algo_digest'.
-
-        Returns a 2-tuple (algo, digest) if found, else None. Currently
-        looks only for SHA256, then MD5.
-        """
-        result = None
-        if 'digests' in info:
-            digests = info['digests']
-            for algo in ('sha256', 'md5'):
-                if algo in digests:
-                    result = (algo, digests[algo])
-                    break
-        if not result:
-            for algo in ('sha256', 'md5'):
-                key = '%s_digest' % algo
-                if key in info:
-                    result = (algo, info[key])
-                    break
-        return result
-
-    def _update_version_data(self, result, info):
-        """
-        Update a result dictionary (the final result from _get_project) with a
-        dictionary for a specific version, which typically holds information
-        gleaned from a filename or URL for an archive for the distribution.
-        """
-        name = info.pop('name')
-        version = info.pop('version')
-        if version in result:
-            dist = result[version]
-            md = dist.metadata
-        else:
-            dist = make_dist(name, version, scheme=self.scheme)
-            md = dist.metadata
-        dist.digest = digest = self._get_digest(info)
-        url = info['url']
-        result['digests'][url] = digest
-        if md.source_url != info['url']:
-            md.source_url = self.prefer_url(md.source_url, url)
-            result['urls'].setdefault(version, set()).add(url)
-        dist.locator = self
-        result[version] = dist
-
-    def locate(self, requirement, prereleases=False):
-        """
-        Find the most recent distribution which matches the given
-        requirement.
-
-        :param requirement: A requirement of the form 'foo (1.0)' or perhaps
-                            'foo (>= 1.0, < 2.0, != 1.3)'
-        :param prereleases: If ``True``, allow pre-release versions
-                            to be located. Otherwise, pre-release versions
-                            are not returned.
-        :return: A :class:`Distribution` instance, or ``None`` if no such
-                 distribution could be located.
-        """
-        result = None
-        r = parse_requirement(requirement)
-        if r is None:  # pragma: no cover
-            raise DistlibException('Not a valid requirement: %r' % requirement)
-        scheme = get_scheme(self.scheme)
-        self.matcher = matcher = scheme.matcher(r.requirement)
-        logger.debug('matcher: %s (%s)', matcher, type(matcher).__name__)
-        versions = self.get_project(r.name)
-        if len(versions) > 2:   # urls and digests keys are present
-            # sometimes, versions are invalid
-            slist = []
-            vcls = matcher.version_class
-            for k in versions:
-                if k in ('urls', 'digests'):
-                    continue
-                try:
-                    if not matcher.match(k):
-                        pass  # logger.debug('%s did not match %r', matcher, k)
-                    else:
-                        if prereleases or not vcls(k).is_prerelease:
-                            slist.append(k)
-                except Exception:  # pragma: no cover
-                    logger.warning('error matching %s with %r', matcher, k)
-                    pass  # slist.append(k)
-            if len(slist) > 1:
-                slist = sorted(slist, key=scheme.key)
-            if slist:
-                logger.debug('sorted list: %s', slist)
-                version = slist[-1]
-                result = versions[version]
-        if result:
-            if r.extras:
-                result.extras = r.extras
-            result.download_urls = versions.get('urls', {}).get(version, set())
-            d = {}
-            sd = versions.get('digests', {})
-            for url in result.download_urls:
-                if url in sd:  # pragma: no cover
-                    d[url] = sd[url]
-            result.digests = d
-        self.matcher = None
-        return result
-
-
-class PyPIRPCLocator(Locator):
-    """
-    This locator uses XML-RPC to locate distributions. It therefore
-    cannot be used with simple mirrors (that only mirror file content).
-    """
-    def __init__(self, url, **kwargs):
-        """
-        Initialise an instance.
-
-        :param url: The URL to use for XML-RPC.
-        :param kwargs: Passed to the superclass constructor.
-        """
-        super(PyPIRPCLocator, self).__init__(**kwargs)
-        self.base_url = url
-        self.client = ServerProxy(url, timeout=3.0)
-
-    def get_distribution_names(self):
-        """
-        Return all the distribution names known to this locator.
-        """
-        return set(self.client.list_packages())
-
-    def _get_project(self, name):
-        result = {'urls': {}, 'digests': {}}
-        versions = self.client.package_releases(name, True)
-        for v in versions:
-            urls = self.client.release_urls(name, v)
-            data = self.client.release_data(name, v)
-            metadata = Metadata(scheme=self.scheme)
-            metadata.name = data['name']
-            metadata.version = data['version']
-            metadata.license = data.get('license')
-            metadata.keywords = data.get('keywords', [])
-            metadata.summary = data.get('summary')
-            dist = Distribution(metadata)
-            if urls:
-                info = urls[0]
-                metadata.source_url = info['url']
-                dist.digest = self._get_digest(info)
-                dist.locator = self
-                result[v] = dist
-                for info in urls:
-                    url = info['url']
-                    digest = self._get_digest(info)
-                    result['urls'].setdefault(v, set()).add(url)
-                    result['digests'][url] = digest
-        return result
-
-
-class PyPIJSONLocator(Locator):
-    """
-    This locator uses PyPI's JSON interface. It's very limited in functionality
-    and probably not worth using.
-    """
-    def __init__(self, url, **kwargs):
-        super(PyPIJSONLocator, self).__init__(**kwargs)
-        self.base_url = ensure_slash(url)
-
-    def get_distribution_names(self):
-        """
-        Return all the distribution names known to this locator.
-        """
-        raise NotImplementedError('Not available from this locator')
-
-    def _get_project(self, name):
-        result = {'urls': {}, 'digests': {}}
-        url = urljoin(self.base_url, '%s/json' % quote(name))
-        try:
-            resp = self.opener.open(url)
-            data = resp.read().decode()  # for now
-            d = json.loads(data)
-            md = Metadata(scheme=self.scheme)
-            data = d['info']
-            md.name = data['name']
-            md.version = data['version']
-            md.license = data.get('license')
-            md.keywords = data.get('keywords', [])
-            md.summary = data.get('summary')
-            dist = Distribution(md)
-            dist.locator = self
-            # urls = d['urls']
-            result[md.version] = dist
-            for info in d['urls']:
-                url = info['url']
-                dist.download_urls.add(url)
-                dist.digests[url] = self._get_digest(info)
-                result['urls'].setdefault(md.version, set()).add(url)
-                result['digests'][url] = self._get_digest(info)
-            # Now get other releases
-            for version, infos in d['releases'].items():
-                if version == md.version:
-                    continue    # already done
-                omd = Metadata(scheme=self.scheme)
-                omd.name = md.name
-                omd.version = version
-                odist = Distribution(omd)
-                odist.locator = self
-                result[version] = odist
-                for info in infos:
-                    url = info['url']
-                    odist.download_urls.add(url)
-                    odist.digests[url] = self._get_digest(info)
-                    result['urls'].setdefault(version, set()).add(url)
-                    result['digests'][url] = self._get_digest(info)
-#            for info in urls:
-#                md.source_url = info['url']
-#                dist.digest = self._get_digest(info)
-#                dist.locator = self
-#                for info in urls:
-#                    url = info['url']
-#                    result['urls'].setdefault(md.version, set()).add(url)
-#                    result['digests'][url] = self._get_digest(info)
-        except Exception as e:
-            self.errors.put(text_type(e))
-            logger.exception('JSON fetch failed: %s', e)
-        return result
-
-
-class Page(object):
-    """
-    This class represents a scraped HTML page.
-    """
-    # The following slightly hairy-looking regex just looks for the contents of
-    # an anchor link, which has an attribute "href" either immediately preceded
-    # or immediately followed by a "rel" attribute. The attribute values can be
-    # declared with double quotes, single quotes or no quotes - which leads to
-    # the length of the expression.
-    _href = re.compile("""
-(rel\\s*=\\s*(?:"(?P[^"]*)"|'(?P[^']*)'|(?P[^>\\s\n]*))\\s+)?
-href\\s*=\\s*(?:"(?P[^"]*)"|'(?P[^']*)'|(?P[^>\\s\n]*))
-(\\s+rel\\s*=\\s*(?:"(?P[^"]*)"|'(?P[^']*)'|(?P[^>\\s\n]*)))?
-""", re.I | re.S | re.X)
-    _base = re.compile(r"""]+)""", re.I | re.S)
-
-    def __init__(self, data, url):
-        """
-        Initialise an instance with the Unicode page contents and the URL they
-        came from.
-        """
-        self.data = data
-        self.base_url = self.url = url
-        m = self._base.search(self.data)
-        if m:
-            self.base_url = m.group(1)
-
-    _clean_re = re.compile(r'[^a-z0-9$&+,/:;=?@.#%_\\|-]', re.I)
-
-    @cached_property
-    def links(self):
-        """
-        Return the URLs of all the links on a page together with information
-        about their "rel" attribute, for determining which ones to treat as
-        downloads and which ones to queue for further scraping.
-        """
-        def clean(url):
-            "Tidy up an URL."
-            scheme, netloc, path, params, query, frag = urlparse(url)
-            return urlunparse((scheme, netloc, quote(path),
-                               params, query, frag))
-
-        result = set()
-        for match in self._href.finditer(self.data):
-            d = match.groupdict('')
-            rel = (d['rel1'] or d['rel2'] or d['rel3'] or
-                   d['rel4'] or d['rel5'] or d['rel6'])
-            url = d['url1'] or d['url2'] or d['url3']
-            url = urljoin(self.base_url, url)
-            url = unescape(url)
-            url = self._clean_re.sub(lambda m: '%%%2x' % ord(m.group(0)), url)
-            result.add((url, rel))
-        # We sort the result, hoping to bring the most recent versions
-        # to the front
-        result = sorted(result, key=lambda t: t[0], reverse=True)
-        return result
-
-
-class SimpleScrapingLocator(Locator):
-    """
-    A locator which scrapes HTML pages to locate downloads for a distribution.
-    This runs multiple threads to do the I/O; performance is at least as good
-    as pip's PackageFinder, which works in an analogous fashion.
-    """
-
-    # These are used to deal with various Content-Encoding schemes.
-    decoders = {
-        'deflate': zlib.decompress,
-        'gzip': lambda b: gzip.GzipFile(fileobj=BytesIO(b)).read(),
-        'none': lambda b: b,
-    }
-
-    def __init__(self, url, timeout=None, num_workers=10, **kwargs):
-        """
-        Initialise an instance.
-        :param url: The root URL to use for scraping.
-        :param timeout: The timeout, in seconds, to be applied to requests.
-                        This defaults to ``None`` (no timeout specified).
-        :param num_workers: The number of worker threads you want to do I/O,
-                            This defaults to 10.
-        :param kwargs: Passed to the superclass.
-        """
-        super(SimpleScrapingLocator, self).__init__(**kwargs)
-        self.base_url = ensure_slash(url)
-        self.timeout = timeout
-        self._page_cache = {}
-        self._seen = set()
-        self._to_fetch = queue.Queue()
-        self._bad_hosts = set()
-        self.skip_externals = False
-        self.num_workers = num_workers
-        self._lock = threading.RLock()
-        # See issue #45: we need to be resilient when the locator is used
-        # in a thread, e.g. with concurrent.futures. We can't use self._lock
-        # as it is for coordinating our internal threads - the ones created
-        # in _prepare_threads.
-        self._gplock = threading.RLock()
-        self.platform_check = False  # See issue #112
-
-    def _prepare_threads(self):
-        """
-        Threads are created only when get_project is called, and terminate
-        before it returns. They are there primarily to parallelise I/O (i.e.
-        fetching web pages).
-        """
-        self._threads = []
-        for i in range(self.num_workers):
-            t = threading.Thread(target=self._fetch)
-            t.daemon = True
-            t.start()
-            self._threads.append(t)
-
-    def _wait_threads(self):
-        """
-        Tell all the threads to terminate (by sending a sentinel value) and
-        wait for them to do so.
-        """
-        # Note that you need two loops, since you can't say which
-        # thread will get each sentinel
-        for t in self._threads:
-            self._to_fetch.put(None)    # sentinel
-        for t in self._threads:
-            t.join()
-        self._threads = []
-
-    def _get_project(self, name):
-        result = {'urls': {}, 'digests': {}}
-        with self._gplock:
-            self.result = result
-            self.project_name = name
-            url = urljoin(self.base_url, '%s/' % quote(name))
-            self._seen.clear()
-            self._page_cache.clear()
-            self._prepare_threads()
-            try:
-                logger.debug('Queueing %s', url)
-                self._to_fetch.put(url)
-                self._to_fetch.join()
-            finally:
-                self._wait_threads()
-            del self.result
-        return result
-
-    platform_dependent = re.compile(r'\b(linux_(i\d86|x86_64|arm\w+)|'
-                                    r'win(32|_amd64)|macosx_?\d+)\b', re.I)
-
-    def _is_platform_dependent(self, url):
-        """
-        Does an URL refer to a platform-specific download?
-        """
-        return self.platform_dependent.search(url)
-
-    def _process_download(self, url):
-        """
-        See if an URL is a suitable download for a project.
-
-        If it is, register information in the result dictionary (for
-        _get_project) about the specific version it's for.
-
-        Note that the return value isn't actually used other than as a boolean
-        value.
-        """
-        if self.platform_check and self._is_platform_dependent(url):
-            info = None
-        else:
-            info = self.convert_url_to_download_info(url, self.project_name)
-        logger.debug('process_download: %s -> %s', url, info)
-        if info:
-            with self._lock:    # needed because self.result is shared
-                self._update_version_data(self.result, info)
-        return info
-
-    def _should_queue(self, link, referrer, rel):
-        """
-        Determine whether a link URL from a referring page and with a
-        particular "rel" attribute should be queued for scraping.
-        """
-        scheme, netloc, path, _, _, _ = urlparse(link)
-        if path.endswith(self.source_extensions + self.binary_extensions +
-                         self.excluded_extensions):
-            result = False
-        elif self.skip_externals and not link.startswith(self.base_url):
-            result = False
-        elif not referrer.startswith(self.base_url):
-            result = False
-        elif rel not in ('homepage', 'download'):
-            result = False
-        elif scheme not in ('http', 'https', 'ftp'):
-            result = False
-        elif self._is_platform_dependent(link):
-            result = False
-        else:
-            host = netloc.split(':', 1)[0]
-            if host.lower() == 'localhost':
-                result = False
-            else:
-                result = True
-        logger.debug('should_queue: %s (%s) from %s -> %s', link, rel,
-                     referrer, result)
-        return result
-
-    def _fetch(self):
-        """
-        Get a URL to fetch from the work queue, get the HTML page, examine its
-        links for download candidates and candidates for further scraping.
-
-        This is a handy method to run in a thread.
-        """
-        while True:
-            url = self._to_fetch.get()
-            try:
-                if url:
-                    page = self.get_page(url)
-                    if page is None:    # e.g. after an error
-                        continue
-                    for link, rel in page.links:
-                        if link not in self._seen:
-                            try:
-                                self._seen.add(link)
-                                if (not self._process_download(link) and
-                                        self._should_queue(link, url, rel)):
-                                    logger.debug('Queueing %s from %s', link, url)
-                                    self._to_fetch.put(link)
-                            except MetadataInvalidError:  # e.g. invalid versions
-                                pass
-            except Exception as e:  # pragma: no cover
-                self.errors.put(text_type(e))
-            finally:
-                # always do this, to avoid hangs :-)
-                self._to_fetch.task_done()
-            if not url:
-                # logger.debug('Sentinel seen, quitting.')
-                break
-
-    def get_page(self, url):
-        """
-        Get the HTML for an URL, possibly from an in-memory cache.
-
-        XXX TODO Note: this cache is never actually cleared. It's assumed that
-        the data won't get stale over the lifetime of a locator instance (not
-        necessarily true for the default_locator).
-        """
-        # http://peak.telecommunity.com/DevCenter/EasyInstall#package-index-api
-        scheme, netloc, path, _, _, _ = urlparse(url)
-        if scheme == 'file' and os.path.isdir(url2pathname(path)):
-            url = urljoin(ensure_slash(url), 'index.html')
-
-        if url in self._page_cache:
-            result = self._page_cache[url]
-            logger.debug('Returning %s from cache: %s', url, result)
-        else:
-            host = netloc.split(':', 1)[0]
-            result = None
-            if host in self._bad_hosts:
-                logger.debug('Skipping %s due to bad host %s', url, host)
-            else:
-                req = Request(url, headers={'Accept-encoding': 'identity'})
-                try:
-                    logger.debug('Fetching %s', url)
-                    resp = self.opener.open(req, timeout=self.timeout)
-                    logger.debug('Fetched %s', url)
-                    headers = resp.info()
-                    content_type = headers.get('Content-Type', '')
-                    if HTML_CONTENT_TYPE.match(content_type):
-                        final_url = resp.geturl()
-                        data = resp.read()
-                        encoding = headers.get('Content-Encoding')
-                        if encoding:
-                            decoder = self.decoders[encoding]   # fail if not found
-                            data = decoder(data)
-                        encoding = 'utf-8'
-                        m = CHARSET.search(content_type)
-                        if m:
-                            encoding = m.group(1)
-                        try:
-                            data = data.decode(encoding)
-                        except UnicodeError:  # pragma: no cover
-                            data = data.decode('latin-1')    # fallback
-                        result = Page(data, final_url)
-                        self._page_cache[final_url] = result
-                except HTTPError as e:
-                    if e.code != 404:
-                        logger.exception('Fetch failed: %s: %s', url, e)
-                except URLError as e:  # pragma: no cover
-                    logger.exception('Fetch failed: %s: %s', url, e)
-                    with self._lock:
-                        self._bad_hosts.add(host)
-                except Exception as e:  # pragma: no cover
-                    logger.exception('Fetch failed: %s: %s', url, e)
-                finally:
-                    self._page_cache[url] = result   # even if None (failure)
-        return result
-
-    _distname_re = re.compile(']*>([^<]+)<')
-
-    def get_distribution_names(self):
-        """
-        Return all the distribution names known to this locator.
-        """
-        result = set()
-        page = self.get_page(self.base_url)
-        if not page:
-            raise DistlibException('Unable to get %s' % self.base_url)
-        for match in self._distname_re.finditer(page.data):
-            result.add(match.group(1))
-        return result
-
-
-class DirectoryLocator(Locator):
-    """
-    This class locates distributions in a directory tree.
-    """
-
-    def __init__(self, path, **kwargs):
-        """
-        Initialise an instance.
-        :param path: The root of the directory tree to search.
-        :param kwargs: Passed to the superclass constructor,
-                       except for:
-                       * recursive - if True (the default), subdirectories are
-                         recursed into. If False, only the top-level directory
-                         is searched,
-        """
-        self.recursive = kwargs.pop('recursive', True)
-        super(DirectoryLocator, self).__init__(**kwargs)
-        path = os.path.abspath(path)
-        if not os.path.isdir(path):  # pragma: no cover
-            raise DistlibException('Not a directory: %r' % path)
-        self.base_dir = path
-
-    def should_include(self, filename, parent):
-        """
-        Should a filename be considered as a candidate for a distribution
-        archive? As well as the filename, the directory which contains it
-        is provided, though not used by the current implementation.
-        """
-        return filename.endswith(self.downloadable_extensions)
-
-    def _get_project(self, name):
-        result = {'urls': {}, 'digests': {}}
-        for root, dirs, files in os.walk(self.base_dir):
-            for fn in files:
-                if self.should_include(fn, root):
-                    fn = os.path.join(root, fn)
-                    url = urlunparse(('file', '',
-                                      pathname2url(os.path.abspath(fn)),
-                                      '', '', ''))
-                    info = self.convert_url_to_download_info(url, name)
-                    if info:
-                        self._update_version_data(result, info)
-            if not self.recursive:
-                break
-        return result
-
-    def get_distribution_names(self):
-        """
-        Return all the distribution names known to this locator.
-        """
-        result = set()
-        for root, dirs, files in os.walk(self.base_dir):
-            for fn in files:
-                if self.should_include(fn, root):
-                    fn = os.path.join(root, fn)
-                    url = urlunparse(('file', '',
-                                      pathname2url(os.path.abspath(fn)),
-                                      '', '', ''))
-                    info = self.convert_url_to_download_info(url, None)
-                    if info:
-                        result.add(info['name'])
-            if not self.recursive:
-                break
-        return result
-
-
-class JSONLocator(Locator):
-    """
-    This locator uses special extended metadata (not available on PyPI) and is
-    the basis of performant dependency resolution in distlib. Other locators
-    require archive downloads before dependencies can be determined! As you
-    might imagine, that can be slow.
-    """
-    def get_distribution_names(self):
-        """
-        Return all the distribution names known to this locator.
-        """
-        raise NotImplementedError('Not available from this locator')
-
-    def _get_project(self, name):
-        result = {'urls': {}, 'digests': {}}
-        data = get_project_data(name)
-        if data:
-            for info in data.get('files', []):
-                if info['ptype'] != 'sdist' or info['pyversion'] != 'source':
-                    continue
-                # We don't store summary in project metadata as it makes
-                # the data bigger for no benefit during dependency
-                # resolution
-                dist = make_dist(data['name'], info['version'],
-                                 summary=data.get('summary',
-                                                  'Placeholder for summary'),
-                                 scheme=self.scheme)
-                md = dist.metadata
-                md.source_url = info['url']
-                # TODO SHA256 digest
-                if 'digest' in info and info['digest']:
-                    dist.digest = ('md5', info['digest'])
-                md.dependencies = info.get('requirements', {})
-                dist.exports = info.get('exports', {})
-                result[dist.version] = dist
-                result['urls'].setdefault(dist.version, set()).add(info['url'])
-        return result
-
-
-class DistPathLocator(Locator):
-    """
-    This locator finds installed distributions in a path. It can be useful for
-    adding to an :class:`AggregatingLocator`.
-    """
-    def __init__(self, distpath, **kwargs):
-        """
-        Initialise an instance.
-
-        :param distpath: A :class:`DistributionPath` instance to search.
-        """
-        super(DistPathLocator, self).__init__(**kwargs)
-        assert isinstance(distpath, DistributionPath)
-        self.distpath = distpath
-
-    def _get_project(self, name):
-        dist = self.distpath.get_distribution(name)
-        if dist is None:
-            result = {'urls': {}, 'digests': {}}
-        else:
-            result = {
-                dist.version: dist,
-                'urls': {dist.version: set([dist.source_url])},
-                'digests': {dist.version: set([None])}
-            }
-        return result
-
-
-class AggregatingLocator(Locator):
-    """
-    This class allows you to chain and/or merge a list of locators.
-    """
-    def __init__(self, *locators, **kwargs):
-        """
-        Initialise an instance.
-
-        :param locators: The list of locators to search.
-        :param kwargs: Passed to the superclass constructor,
-                       except for:
-                       * merge - if False (the default), the first successful
-                         search from any of the locators is returned. If True,
-                         the results from all locators are merged (this can be
-                         slow).
-        """
-        self.merge = kwargs.pop('merge', False)
-        self.locators = locators
-        super(AggregatingLocator, self).__init__(**kwargs)
-
-    def clear_cache(self):
-        super(AggregatingLocator, self).clear_cache()
-        for locator in self.locators:
-            locator.clear_cache()
-
-    def _set_scheme(self, value):
-        self._scheme = value
-        for locator in self.locators:
-            locator.scheme = value
-
-    scheme = property(Locator.scheme.fget, _set_scheme)
-
-    def _get_project(self, name):
-        result = {}
-        for locator in self.locators:
-            d = locator.get_project(name)
-            if d:
-                if self.merge:
-                    files = result.get('urls', {})
-                    digests = result.get('digests', {})
-                    # next line could overwrite result['urls'], result['digests']
-                    result.update(d)
-                    df = result.get('urls')
-                    if files and df:
-                        for k, v in files.items():
-                            if k in df:
-                                df[k] |= v
-                            else:
-                                df[k] = v
-                    dd = result.get('digests')
-                    if digests and dd:
-                        dd.update(digests)
-                else:
-                    # See issue #18. If any dists are found and we're looking
-                    # for specific constraints, we only return something if
-                    # a match is found. For example, if a DirectoryLocator
-                    # returns just foo (1.0) while we're looking for
-                    # foo (>= 2.0), we'll pretend there was nothing there so
-                    # that subsequent locators can be queried. Otherwise we
-                    # would just return foo (1.0) which would then lead to a
-                    # failure to find foo (>= 2.0), because other locators
-                    # weren't searched. Note that this only matters when
-                    # merge=False.
-                    if self.matcher is None:
-                        found = True
-                    else:
-                        found = False
-                        for k in d:
-                            if self.matcher.match(k):
-                                found = True
-                                break
-                    if found:
-                        result = d
-                        break
-        return result
-
-    def get_distribution_names(self):
-        """
-        Return all the distribution names known to this locator.
-        """
-        result = set()
-        for locator in self.locators:
-            try:
-                result |= locator.get_distribution_names()
-            except NotImplementedError:
-                pass
-        return result
-
-
-# We use a legacy scheme simply because most of the dists on PyPI use legacy
-# versions which don't conform to PEP 440.
-default_locator = AggregatingLocator(
-                    # JSONLocator(), # don't use as PEP 426 is withdrawn
-                    SimpleScrapingLocator('https://pypi.org/simple/',
-                                          timeout=3.0),
-                    scheme='legacy')
-
-locate = default_locator.locate
-
-
-class DependencyFinder(object):
-    """
-    Locate dependencies for distributions.
-    """
-
-    def __init__(self, locator=None):
-        """
-        Initialise an instance, using the specified locator
-        to locate distributions.
-        """
-        self.locator = locator or default_locator
-        self.scheme = get_scheme(self.locator.scheme)
-
-    def add_distribution(self, dist):
-        """
-        Add a distribution to the finder. This will update internal information
-        about who provides what.
-        :param dist: The distribution to add.
-        """
-        logger.debug('adding distribution %s', dist)
-        name = dist.key
-        self.dists_by_name[name] = dist
-        self.dists[(name, dist.version)] = dist
-        for p in dist.provides:
-            name, version = parse_name_and_version(p)
-            logger.debug('Add to provided: %s, %s, %s', name, version, dist)
-            self.provided.setdefault(name, set()).add((version, dist))
-
-    def remove_distribution(self, dist):
-        """
-        Remove a distribution from the finder. This will update internal
-        information about who provides what.
-        :param dist: The distribution to remove.
-        """
-        logger.debug('removing distribution %s', dist)
-        name = dist.key
-        del self.dists_by_name[name]
-        del self.dists[(name, dist.version)]
-        for p in dist.provides:
-            name, version = parse_name_and_version(p)
-            logger.debug('Remove from provided: %s, %s, %s', name, version, dist)
-            s = self.provided[name]
-            s.remove((version, dist))
-            if not s:
-                del self.provided[name]
-
-    def get_matcher(self, reqt):
-        """
-        Get a version matcher for a requirement.
-        :param reqt: The requirement
-        :type reqt: str
-        :return: A version matcher (an instance of
-                 :class:`distlib.version.Matcher`).
-        """
-        try:
-            matcher = self.scheme.matcher(reqt)
-        except UnsupportedVersionError:  # pragma: no cover
-            # XXX compat-mode if cannot read the version
-            name = reqt.split()[0]
-            matcher = self.scheme.matcher(name)
-        return matcher
-
-    def find_providers(self, reqt):
-        """
-        Find the distributions which can fulfill a requirement.
-
-        :param reqt: The requirement.
-         :type reqt: str
-        :return: A set of distribution which can fulfill the requirement.
-        """
-        matcher = self.get_matcher(reqt)
-        name = matcher.key   # case-insensitive
-        result = set()
-        provided = self.provided
-        if name in provided:
-            for version, provider in provided[name]:
-                try:
-                    match = matcher.match(version)
-                except UnsupportedVersionError:
-                    match = False
-
-                if match:
-                    result.add(provider)
-                    break
-        return result
-
-    def try_to_replace(self, provider, other, problems):
-        """
-        Attempt to replace one provider with another. This is typically used
-        when resolving dependencies from multiple sources, e.g. A requires
-        (B >= 1.0) while C requires (B >= 1.1).
-
-        For successful replacement, ``provider`` must meet all the requirements
-        which ``other`` fulfills.
-
-        :param provider: The provider we are trying to replace with.
-        :param other: The provider we're trying to replace.
-        :param problems: If False is returned, this will contain what
-                         problems prevented replacement. This is currently
-                         a tuple of the literal string 'cantreplace',
-                         ``provider``, ``other``  and the set of requirements
-                         that ``provider`` couldn't fulfill.
-        :return: True if we can replace ``other`` with ``provider``, else
-                 False.
-        """
-        rlist = self.reqts[other]
-        unmatched = set()
-        for s in rlist:
-            matcher = self.get_matcher(s)
-            if not matcher.match(provider.version):
-                unmatched.add(s)
-        if unmatched:
-            # can't replace other with provider
-            problems.add(('cantreplace', provider, other,
-                          frozenset(unmatched)))
-            result = False
-        else:
-            # can replace other with provider
-            self.remove_distribution(other)
-            del self.reqts[other]
-            for s in rlist:
-                self.reqts.setdefault(provider, set()).add(s)
-            self.add_distribution(provider)
-            result = True
-        return result
-
-    def find(self, requirement, meta_extras=None, prereleases=False):
-        """
-        Find a distribution and all distributions it depends on.
-
-        :param requirement: The requirement specifying the distribution to
-                            find, or a Distribution instance.
-        :param meta_extras: A list of meta extras such as :test:, :build: and
-                            so on.
-        :param prereleases: If ``True``, allow pre-release versions to be
-                            returned - otherwise, don't return prereleases
-                            unless they're all that's available.
-
-        Return a set of :class:`Distribution` instances and a set of
-        problems.
-
-        The distributions returned should be such that they have the
-        :attr:`required` attribute set to ``True`` if they were
-        from the ``requirement`` passed to ``find()``, and they have the
-        :attr:`build_time_dependency` attribute set to ``True`` unless they
-        are post-installation dependencies of the ``requirement``.
-
-        The problems should be a tuple consisting of the string
-        ``'unsatisfied'`` and the requirement which couldn't be satisfied
-        by any distribution known to the locator.
-        """
-
-        self.provided = {}
-        self.dists = {}
-        self.dists_by_name = {}
-        self.reqts = {}
-
-        meta_extras = set(meta_extras or [])
-        if ':*:' in meta_extras:
-            meta_extras.remove(':*:')
-            # :meta: and :run: are implicitly included
-            meta_extras |= set([':test:', ':build:', ':dev:'])
-
-        if isinstance(requirement, Distribution):
-            dist = odist = requirement
-            logger.debug('passed %s as requirement', odist)
-        else:
-            dist = odist = self.locator.locate(requirement,
-                                               prereleases=prereleases)
-            if dist is None:
-                raise DistlibException('Unable to locate %r' % requirement)
-            logger.debug('located %s', odist)
-        dist.requested = True
-        problems = set()
-        todo = set([dist])
-        install_dists = set([odist])
-        while todo:
-            dist = todo.pop()
-            name = dist.key     # case-insensitive
-            if name not in self.dists_by_name:
-                self.add_distribution(dist)
-            else:
-                # import pdb; pdb.set_trace()
-                other = self.dists_by_name[name]
-                if other != dist:
-                    self.try_to_replace(dist, other, problems)
-
-            ireqts = dist.run_requires | dist.meta_requires
-            sreqts = dist.build_requires
-            ereqts = set()
-            if meta_extras and dist in install_dists:
-                for key in ('test', 'build', 'dev'):
-                    e = ':%s:' % key
-                    if e in meta_extras:
-                        ereqts |= getattr(dist, '%s_requires' % key)
-            all_reqts = ireqts | sreqts | ereqts
-            for r in all_reqts:
-                providers = self.find_providers(r)
-                if not providers:
-                    logger.debug('No providers found for %r', r)
-                    provider = self.locator.locate(r, prereleases=prereleases)
-                    # If no provider is found and we didn't consider
-                    # prereleases, consider them now.
-                    if provider is None and not prereleases:
-                        provider = self.locator.locate(r, prereleases=True)
-                    if provider is None:
-                        logger.debug('Cannot satisfy %r', r)
-                        problems.add(('unsatisfied', r))
-                    else:
-                        n, v = provider.key, provider.version
-                        if (n, v) not in self.dists:
-                            todo.add(provider)
-                        providers.add(provider)
-                        if r in ireqts and dist in install_dists:
-                            install_dists.add(provider)
-                            logger.debug('Adding %s to install_dists',
-                                         provider.name_and_version)
-                for p in providers:
-                    name = p.key
-                    if name not in self.dists_by_name:
-                        self.reqts.setdefault(p, set()).add(r)
-                    else:
-                        other = self.dists_by_name[name]
-                        if other != p:
-                            # see if other can be replaced by p
-                            self.try_to_replace(p, other, problems)
-
-        dists = set(self.dists.values())
-        for dist in dists:
-            dist.build_time_dependency = dist not in install_dists
-            if dist.build_time_dependency:
-                logger.debug('%s is a build-time dependency only.',
-                             dist.name_and_version)
-        logger.debug('find done for %s', odist)
-        return dists, problems
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/manifest.py b/.venv/Lib/site-packages/pip/_vendor/distlib/manifest.py
deleted file mode 100644
index 420dcf1..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/distlib/manifest.py
+++ /dev/null
@@ -1,384 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2012-2023 Python Software Foundation.
-# See LICENSE.txt and CONTRIBUTORS.txt.
-#
-"""
-Class representing the list of files in a distribution.
-
-Equivalent to distutils.filelist, but fixes some problems.
-"""
-import fnmatch
-import logging
-import os
-import re
-import sys
-
-from . import DistlibException
-from .compat import fsdecode
-from .util import convert_path
-
-
-__all__ = ['Manifest']
-
-logger = logging.getLogger(__name__)
-
-# a \ followed by some spaces + EOL
-_COLLAPSE_PATTERN = re.compile('\\\\w*\n', re.M)
-_COMMENTED_LINE = re.compile('#.*?(?=\n)|\n(?=$)', re.M | re.S)
-
-#
-# Due to the different results returned by fnmatch.translate, we need
-# to do slightly different processing for Python 2.7 and 3.2 ... this needed
-# to be brought in for Python 3.6 onwards.
-#
-_PYTHON_VERSION = sys.version_info[:2]
-
-
-class Manifest(object):
-    """
-    A list of files built by exploring the filesystem and filtered by applying various
-    patterns to what we find there.
-    """
-
-    def __init__(self, base=None):
-        """
-        Initialise an instance.
-
-        :param base: The base directory to explore under.
-        """
-        self.base = os.path.abspath(os.path.normpath(base or os.getcwd()))
-        self.prefix = self.base + os.sep
-        self.allfiles = None
-        self.files = set()
-
-    #
-    # Public API
-    #
-
-    def findall(self):
-        """Find all files under the base and set ``allfiles`` to the absolute
-        pathnames of files found.
-        """
-        from stat import S_ISREG, S_ISDIR, S_ISLNK
-
-        self.allfiles = allfiles = []
-        root = self.base
-        stack = [root]
-        pop = stack.pop
-        push = stack.append
-
-        while stack:
-            root = pop()
-            names = os.listdir(root)
-
-            for name in names:
-                fullname = os.path.join(root, name)
-
-                # Avoid excess stat calls -- just one will do, thank you!
-                stat = os.stat(fullname)
-                mode = stat.st_mode
-                if S_ISREG(mode):
-                    allfiles.append(fsdecode(fullname))
-                elif S_ISDIR(mode) and not S_ISLNK(mode):
-                    push(fullname)
-
-    def add(self, item):
-        """
-        Add a file to the manifest.
-
-        :param item: The pathname to add. This can be relative to the base.
-        """
-        if not item.startswith(self.prefix):
-            item = os.path.join(self.base, item)
-        self.files.add(os.path.normpath(item))
-
-    def add_many(self, items):
-        """
-        Add a list of files to the manifest.
-
-        :param items: The pathnames to add. These can be relative to the base.
-        """
-        for item in items:
-            self.add(item)
-
-    def sorted(self, wantdirs=False):
-        """
-        Return sorted files in directory order
-        """
-
-        def add_dir(dirs, d):
-            dirs.add(d)
-            logger.debug('add_dir added %s', d)
-            if d != self.base:
-                parent, _ = os.path.split(d)
-                assert parent not in ('', '/')
-                add_dir(dirs, parent)
-
-        result = set(self.files)    # make a copy!
-        if wantdirs:
-            dirs = set()
-            for f in result:
-                add_dir(dirs, os.path.dirname(f))
-            result |= dirs
-        return [os.path.join(*path_tuple) for path_tuple in
-                sorted(os.path.split(path) for path in result)]
-
-    def clear(self):
-        """Clear all collected files."""
-        self.files = set()
-        self.allfiles = []
-
-    def process_directive(self, directive):
-        """
-        Process a directive which either adds some files from ``allfiles`` to
-        ``files``, or removes some files from ``files``.
-
-        :param directive: The directive to process. This should be in a format
-                     compatible with distutils ``MANIFEST.in`` files:
-
-                     http://docs.python.org/distutils/sourcedist.html#commands
-        """
-        # Parse the line: split it up, make sure the right number of words
-        # is there, and return the relevant words.  'action' is always
-        # defined: it's the first word of the line.  Which of the other
-        # three are defined depends on the action; it'll be either
-        # patterns, (dir and patterns), or (dirpattern).
-        action, patterns, thedir, dirpattern = self._parse_directive(directive)
-
-        # OK, now we know that the action is valid and we have the
-        # right number of words on the line for that action -- so we
-        # can proceed with minimal error-checking.
-        if action == 'include':
-            for pattern in patterns:
-                if not self._include_pattern(pattern, anchor=True):
-                    logger.warning('no files found matching %r', pattern)
-
-        elif action == 'exclude':
-            for pattern in patterns:
-                self._exclude_pattern(pattern, anchor=True)
-
-        elif action == 'global-include':
-            for pattern in patterns:
-                if not self._include_pattern(pattern, anchor=False):
-                    logger.warning('no files found matching %r '
-                                   'anywhere in distribution', pattern)
-
-        elif action == 'global-exclude':
-            for pattern in patterns:
-                self._exclude_pattern(pattern, anchor=False)
-
-        elif action == 'recursive-include':
-            for pattern in patterns:
-                if not self._include_pattern(pattern, prefix=thedir):
-                    logger.warning('no files found matching %r '
-                                   'under directory %r', pattern, thedir)
-
-        elif action == 'recursive-exclude':
-            for pattern in patterns:
-                self._exclude_pattern(pattern, prefix=thedir)
-
-        elif action == 'graft':
-            if not self._include_pattern(None, prefix=dirpattern):
-                logger.warning('no directories found matching %r',
-                               dirpattern)
-
-        elif action == 'prune':
-            if not self._exclude_pattern(None, prefix=dirpattern):
-                logger.warning('no previously-included directories found '
-                               'matching %r', dirpattern)
-        else:   # pragma: no cover
-            # This should never happen, as it should be caught in
-            # _parse_template_line
-            raise DistlibException(
-                'invalid action %r' % action)
-
-    #
-    # Private API
-    #
-
-    def _parse_directive(self, directive):
-        """
-        Validate a directive.
-        :param directive: The directive to validate.
-        :return: A tuple of action, patterns, thedir, dir_patterns
-        """
-        words = directive.split()
-        if len(words) == 1 and words[0] not in ('include', 'exclude',
-                                                'global-include',
-                                                'global-exclude',
-                                                'recursive-include',
-                                                'recursive-exclude',
-                                                'graft', 'prune'):
-            # no action given, let's use the default 'include'
-            words.insert(0, 'include')
-
-        action = words[0]
-        patterns = thedir = dir_pattern = None
-
-        if action in ('include', 'exclude',
-                      'global-include', 'global-exclude'):
-            if len(words) < 2:
-                raise DistlibException(
-                    '%r expects   ...' % action)
-
-            patterns = [convert_path(word) for word in words[1:]]
-
-        elif action in ('recursive-include', 'recursive-exclude'):
-            if len(words) < 3:
-                raise DistlibException(
-                    '%r expects    ...' % action)
-
-            thedir = convert_path(words[1])
-            patterns = [convert_path(word) for word in words[2:]]
-
-        elif action in ('graft', 'prune'):
-            if len(words) != 2:
-                raise DistlibException(
-                    '%r expects a single ' % action)
-
-            dir_pattern = convert_path(words[1])
-
-        else:
-            raise DistlibException('unknown action %r' % action)
-
-        return action, patterns, thedir, dir_pattern
-
-    def _include_pattern(self, pattern, anchor=True, prefix=None,
-                         is_regex=False):
-        """Select strings (presumably filenames) from 'self.files' that
-        match 'pattern', a Unix-style wildcard (glob) pattern.
-
-        Patterns are not quite the same as implemented by the 'fnmatch'
-        module: '*' and '?'  match non-special characters, where "special"
-        is platform-dependent: slash on Unix; colon, slash, and backslash on
-        DOS/Windows; and colon on Mac OS.
-
-        If 'anchor' is true (the default), then the pattern match is more
-        stringent: "*.py" will match "foo.py" but not "foo/bar.py".  If
-        'anchor' is false, both of these will match.
-
-        If 'prefix' is supplied, then only filenames starting with 'prefix'
-        (itself a pattern) and ending with 'pattern', with anything in between
-        them, will match.  'anchor' is ignored in this case.
-
-        If 'is_regex' is true, 'anchor' and 'prefix' are ignored, and
-        'pattern' is assumed to be either a string containing a regex or a
-        regex object -- no translation is done, the regex is just compiled
-        and used as-is.
-
-        Selected strings will be added to self.files.
-
-        Return True if files are found.
-        """
-        # XXX docstring lying about what the special chars are?
-        found = False
-        pattern_re = self._translate_pattern(pattern, anchor, prefix, is_regex)
-
-        # delayed loading of allfiles list
-        if self.allfiles is None:
-            self.findall()
-
-        for name in self.allfiles:
-            if pattern_re.search(name):
-                self.files.add(name)
-                found = True
-        return found
-
-    def _exclude_pattern(self, pattern, anchor=True, prefix=None,
-                         is_regex=False):
-        """Remove strings (presumably filenames) from 'files' that match
-        'pattern'.
-
-        Other parameters are the same as for 'include_pattern()', above.
-        The list 'self.files' is modified in place. Return True if files are
-        found.
-
-        This API is public to allow e.g. exclusion of SCM subdirs, e.g. when
-        packaging source distributions
-        """
-        found = False
-        pattern_re = self._translate_pattern(pattern, anchor, prefix, is_regex)
-        for f in list(self.files):
-            if pattern_re.search(f):
-                self.files.remove(f)
-                found = True
-        return found
-
-    def _translate_pattern(self, pattern, anchor=True, prefix=None,
-                           is_regex=False):
-        """Translate a shell-like wildcard pattern to a compiled regular
-        expression.
-
-        Return the compiled regex.  If 'is_regex' true,
-        then 'pattern' is directly compiled to a regex (if it's a string)
-        or just returned as-is (assumes it's a regex object).
-        """
-        if is_regex:
-            if isinstance(pattern, str):
-                return re.compile(pattern)
-            else:
-                return pattern
-
-        if _PYTHON_VERSION > (3, 2):
-            # ditch start and end characters
-            start, _, end = self._glob_to_re('_').partition('_')
-
-        if pattern:
-            pattern_re = self._glob_to_re(pattern)
-            if _PYTHON_VERSION > (3, 2):
-                assert pattern_re.startswith(start) and pattern_re.endswith(end)
-        else:
-            pattern_re = ''
-
-        base = re.escape(os.path.join(self.base, ''))
-        if prefix is not None:
-            # ditch end of pattern character
-            if _PYTHON_VERSION <= (3, 2):
-                empty_pattern = self._glob_to_re('')
-                prefix_re = self._glob_to_re(prefix)[:-len(empty_pattern)]
-            else:
-                prefix_re = self._glob_to_re(prefix)
-                assert prefix_re.startswith(start) and prefix_re.endswith(end)
-                prefix_re = prefix_re[len(start): len(prefix_re) - len(end)]
-            sep = os.sep
-            if os.sep == '\\':
-                sep = r'\\'
-            if _PYTHON_VERSION <= (3, 2):
-                pattern_re = '^' + base + sep.join((prefix_re,
-                                                    '.*' + pattern_re))
-            else:
-                pattern_re = pattern_re[len(start): len(pattern_re) - len(end)]
-                pattern_re = r'%s%s%s%s.*%s%s' % (start, base, prefix_re, sep,
-                                                  pattern_re, end)
-        else:  # no prefix -- respect anchor flag
-            if anchor:
-                if _PYTHON_VERSION <= (3, 2):
-                    pattern_re = '^' + base + pattern_re
-                else:
-                    pattern_re = r'%s%s%s' % (start, base, pattern_re[len(start):])
-
-        return re.compile(pattern_re)
-
-    def _glob_to_re(self, pattern):
-        """Translate a shell-like glob pattern to a regular expression.
-
-        Return a string containing the regex.  Differs from
-        'fnmatch.translate()' in that '*' does not match "special characters"
-        (which are platform-specific).
-        """
-        pattern_re = fnmatch.translate(pattern)
-
-        # '?' and '*' in the glob pattern become '.' and '.*' in the RE, which
-        # IMHO is wrong -- '?' and '*' aren't supposed to match slash in Unix,
-        # and by extension they shouldn't match such "special characters" under
-        # any OS.  So change all non-escaped dots in the RE to match any
-        # character except the special characters (currently: just os.sep).
-        sep = os.sep
-        if os.sep == '\\':
-            # we're using a regex to manipulate a regex, so we need
-            # to escape the backslash twice
-            sep = r'\\\\'
-        escaped = r'\1[^%s]' % sep
-        pattern_re = re.sub(r'((? y,
-        '!=': lambda x, y: x != y,
-        '<': lambda x, y: x < y,
-        '<=': lambda x, y: x == y or x < y,
-        '>': lambda x, y: x > y,
-        '>=': lambda x, y: x == y or x > y,
-        'and': lambda x, y: x and y,
-        'or': lambda x, y: x or y,
-        'in': lambda x, y: x in y,
-        'not in': lambda x, y: x not in y,
-    }
-
-    def evaluate(self, expr, context):
-        """
-        Evaluate a marker expression returned by the :func:`parse_requirement`
-        function in the specified context.
-        """
-        if isinstance(expr, string_types):
-            if expr[0] in '\'"':
-                result = expr[1:-1]
-            else:
-                if expr not in context:
-                    raise SyntaxError('unknown variable: %s' % expr)
-                result = context[expr]
-        else:
-            assert isinstance(expr, dict)
-            op = expr['op']
-            if op not in self.operations:
-                raise NotImplementedError('op not implemented: %s' % op)
-            elhs = expr['lhs']
-            erhs = expr['rhs']
-            if _is_literal(expr['lhs']) and _is_literal(expr['rhs']):
-                raise SyntaxError('invalid comparison: %s %s %s' %
-                                  (elhs, op, erhs))
-
-            lhs = self.evaluate(elhs, context)
-            rhs = self.evaluate(erhs, context)
-            if ((_is_version_marker(elhs) or _is_version_marker(erhs))
-                    and op in ('<', '<=', '>', '>=', '===', '==', '!=', '~=')):
-                lhs = LV(lhs)
-                rhs = LV(rhs)
-            elif _is_version_marker(elhs) and op in ('in', 'not in'):
-                lhs = LV(lhs)
-                rhs = _get_versions(rhs)
-            result = self.operations[op](lhs, rhs)
-        return result
-
-
-_DIGITS = re.compile(r'\d+\.\d+')
-
-
-def default_context():
-
-    def format_full_version(info):
-        version = '%s.%s.%s' % (info.major, info.minor, info.micro)
-        kind = info.releaselevel
-        if kind != 'final':
-            version += kind[0] + str(info.serial)
-        return version
-
-    if hasattr(sys, 'implementation'):
-        implementation_version = format_full_version(
-            sys.implementation.version)
-        implementation_name = sys.implementation.name
-    else:
-        implementation_version = '0'
-        implementation_name = ''
-
-    ppv = platform.python_version()
-    m = _DIGITS.match(ppv)
-    pv = m.group(0)
-    result = {
-        'implementation_name': implementation_name,
-        'implementation_version': implementation_version,
-        'os_name': os.name,
-        'platform_machine': platform.machine(),
-        'platform_python_implementation': platform.python_implementation(),
-        'platform_release': platform.release(),
-        'platform_system': platform.system(),
-        'platform_version': platform.version(),
-        'platform_in_venv': str(in_venv()),
-        'python_full_version': ppv,
-        'python_version': pv,
-        'sys_platform': sys.platform,
-    }
-    return result
-
-
-DEFAULT_CONTEXT = default_context()
-del default_context
-
-evaluator = Evaluator()
-
-
-def interpret(marker, execution_context=None):
-    """
-    Interpret a marker and return a result depending on environment.
-
-    :param marker: The marker to interpret.
-    :type marker: str
-    :param execution_context: The context used for name lookup.
-    :type execution_context: mapping
-    """
-    try:
-        expr, rest = parse_marker(marker)
-    except Exception as e:
-        raise SyntaxError('Unable to interpret marker syntax: %s: %s' %
-                          (marker, e))
-    if rest and rest[0] != '#':
-        raise SyntaxError('unexpected trailing data in marker: %s: %s' %
-                          (marker, rest))
-    context = dict(DEFAULT_CONTEXT)
-    if execution_context:
-        context.update(execution_context)
-    return evaluator.evaluate(expr, context)
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/metadata.py b/.venv/Lib/site-packages/pip/_vendor/distlib/metadata.py
deleted file mode 100644
index 7189aee..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/distlib/metadata.py
+++ /dev/null
@@ -1,1068 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2012 The Python Software Foundation.
-# See LICENSE.txt and CONTRIBUTORS.txt.
-#
-"""Implementation of the Metadata for Python packages PEPs.
-
-Supports all metadata formats (1.0, 1.1, 1.2, 1.3/2.1 and 2.2).
-"""
-from __future__ import unicode_literals
-
-import codecs
-from email import message_from_file
-import json
-import logging
-import re
-
-
-from . import DistlibException, __version__
-from .compat import StringIO, string_types, text_type
-from .markers import interpret
-from .util import extract_by_key, get_extras
-from .version import get_scheme, PEP440_VERSION_RE
-
-logger = logging.getLogger(__name__)
-
-
-class MetadataMissingError(DistlibException):
-    """A required metadata is missing"""
-
-
-class MetadataConflictError(DistlibException):
-    """Attempt to read or write metadata fields that are conflictual."""
-
-
-class MetadataUnrecognizedVersionError(DistlibException):
-    """Unknown metadata version number."""
-
-
-class MetadataInvalidError(DistlibException):
-    """A metadata value is invalid"""
-
-# public API of this module
-__all__ = ['Metadata', 'PKG_INFO_ENCODING', 'PKG_INFO_PREFERRED_VERSION']
-
-# Encoding used for the PKG-INFO files
-PKG_INFO_ENCODING = 'utf-8'
-
-# preferred version. Hopefully will be changed
-# to 1.2 once PEP 345 is supported everywhere
-PKG_INFO_PREFERRED_VERSION = '1.1'
-
-_LINE_PREFIX_1_2 = re.compile('\n       \\|')
-_LINE_PREFIX_PRE_1_2 = re.compile('\n        ')
-_241_FIELDS = ('Metadata-Version', 'Name', 'Version', 'Platform',
-               'Summary', 'Description',
-               'Keywords', 'Home-page', 'Author', 'Author-email',
-               'License')
-
-_314_FIELDS = ('Metadata-Version', 'Name', 'Version', 'Platform',
-               'Supported-Platform', 'Summary', 'Description',
-               'Keywords', 'Home-page', 'Author', 'Author-email',
-               'License', 'Classifier', 'Download-URL', 'Obsoletes',
-               'Provides', 'Requires')
-
-_314_MARKERS = ('Obsoletes', 'Provides', 'Requires', 'Classifier',
-                'Download-URL')
-
-_345_FIELDS = ('Metadata-Version', 'Name', 'Version', 'Platform',
-               'Supported-Platform', 'Summary', 'Description',
-               'Keywords', 'Home-page', 'Author', 'Author-email',
-               'Maintainer', 'Maintainer-email', 'License',
-               'Classifier', 'Download-URL', 'Obsoletes-Dist',
-               'Project-URL', 'Provides-Dist', 'Requires-Dist',
-               'Requires-Python', 'Requires-External')
-
-_345_MARKERS = ('Provides-Dist', 'Requires-Dist', 'Requires-Python',
-                'Obsoletes-Dist', 'Requires-External', 'Maintainer',
-                'Maintainer-email', 'Project-URL')
-
-_426_FIELDS = ('Metadata-Version', 'Name', 'Version', 'Platform',
-               'Supported-Platform', 'Summary', 'Description',
-               'Keywords', 'Home-page', 'Author', 'Author-email',
-               'Maintainer', 'Maintainer-email', 'License',
-               'Classifier', 'Download-URL', 'Obsoletes-Dist',
-               'Project-URL', 'Provides-Dist', 'Requires-Dist',
-               'Requires-Python', 'Requires-External', 'Private-Version',
-               'Obsoleted-By', 'Setup-Requires-Dist', 'Extension',
-               'Provides-Extra')
-
-_426_MARKERS = ('Private-Version', 'Provides-Extra', 'Obsoleted-By',
-                'Setup-Requires-Dist', 'Extension')
-
-# See issue #106: Sometimes 'Requires' and 'Provides' occur wrongly in
-# the metadata. Include them in the tuple literal below to allow them
-# (for now).
-# Ditto for Obsoletes - see issue #140.
-_566_FIELDS = _426_FIELDS + ('Description-Content-Type',
-                             'Requires', 'Provides', 'Obsoletes')
-
-_566_MARKERS = ('Description-Content-Type',)
-
-_643_MARKERS = ('Dynamic', 'License-File')
-
-_643_FIELDS = _566_FIELDS + _643_MARKERS
-
-_ALL_FIELDS = set()
-_ALL_FIELDS.update(_241_FIELDS)
-_ALL_FIELDS.update(_314_FIELDS)
-_ALL_FIELDS.update(_345_FIELDS)
-_ALL_FIELDS.update(_426_FIELDS)
-_ALL_FIELDS.update(_566_FIELDS)
-_ALL_FIELDS.update(_643_FIELDS)
-
-EXTRA_RE = re.compile(r'''extra\s*==\s*("([^"]+)"|'([^']+)')''')
-
-
-def _version2fieldlist(version):
-    if version == '1.0':
-        return _241_FIELDS
-    elif version == '1.1':
-        return _314_FIELDS
-    elif version == '1.2':
-        return _345_FIELDS
-    elif version in ('1.3', '2.1'):
-        # avoid adding field names if already there
-        return _345_FIELDS + tuple(f for f in _566_FIELDS if f not in _345_FIELDS)
-    elif version == '2.0':
-        raise ValueError('Metadata 2.0 is withdrawn and not supported')
-        # return _426_FIELDS
-    elif version == '2.2':
-        return _643_FIELDS
-    raise MetadataUnrecognizedVersionError(version)
-
-
-def _best_version(fields):
-    """Detect the best version depending on the fields used."""
-    def _has_marker(keys, markers):
-        return any(marker in keys for marker in markers)
-
-    keys = [key for key, value in fields.items() if value not in ([], 'UNKNOWN', None)]
-    possible_versions = ['1.0', '1.1', '1.2', '1.3', '2.1', '2.2']  # 2.0 removed
-
-    # first let's try to see if a field is not part of one of the version
-    for key in keys:
-        if key not in _241_FIELDS and '1.0' in possible_versions:
-            possible_versions.remove('1.0')
-            logger.debug('Removed 1.0 due to %s', key)
-        if key not in _314_FIELDS and '1.1' in possible_versions:
-            possible_versions.remove('1.1')
-            logger.debug('Removed 1.1 due to %s', key)
-        if key not in _345_FIELDS and '1.2' in possible_versions:
-            possible_versions.remove('1.2')
-            logger.debug('Removed 1.2 due to %s', key)
-        if key not in _566_FIELDS and '1.3' in possible_versions:
-            possible_versions.remove('1.3')
-            logger.debug('Removed 1.3 due to %s', key)
-        if key not in _566_FIELDS and '2.1' in possible_versions:
-            if key != 'Description':  # In 2.1, description allowed after headers
-                possible_versions.remove('2.1')
-                logger.debug('Removed 2.1 due to %s', key)
-        if key not in _643_FIELDS and '2.2' in possible_versions:
-            possible_versions.remove('2.2')
-            logger.debug('Removed 2.2 due to %s', key)
-        # if key not in _426_FIELDS and '2.0' in possible_versions:
-            # possible_versions.remove('2.0')
-            # logger.debug('Removed 2.0 due to %s', key)
-
-    # possible_version contains qualified versions
-    if len(possible_versions) == 1:
-        return possible_versions[0]   # found !
-    elif len(possible_versions) == 0:
-        logger.debug('Out of options - unknown metadata set: %s', fields)
-        raise MetadataConflictError('Unknown metadata set')
-
-    # let's see if one unique marker is found
-    is_1_1 = '1.1' in possible_versions and _has_marker(keys, _314_MARKERS)
-    is_1_2 = '1.2' in possible_versions and _has_marker(keys, _345_MARKERS)
-    is_2_1 = '2.1' in possible_versions and _has_marker(keys, _566_MARKERS)
-    # is_2_0 = '2.0' in possible_versions and _has_marker(keys, _426_MARKERS)
-    is_2_2 = '2.2' in possible_versions and _has_marker(keys, _643_MARKERS)
-    if int(is_1_1) + int(is_1_2) + int(is_2_1) + int(is_2_2) > 1:
-        raise MetadataConflictError('You used incompatible 1.1/1.2/2.1/2.2 fields')
-
-    # we have the choice, 1.0, or 1.2, 2.1 or 2.2
-    #   - 1.0 has a broken Summary field but works with all tools
-    #   - 1.1 is to avoid
-    #   - 1.2 fixes Summary but has little adoption
-    #   - 2.1 adds more features
-    #   - 2.2 is the latest
-    if not is_1_1 and not is_1_2 and not is_2_1 and not is_2_2:
-        # we couldn't find any specific marker
-        if PKG_INFO_PREFERRED_VERSION in possible_versions:
-            return PKG_INFO_PREFERRED_VERSION
-    if is_1_1:
-        return '1.1'
-    if is_1_2:
-        return '1.2'
-    if is_2_1:
-        return '2.1'
-    # if is_2_2:
-        # return '2.2'
-
-    return '2.2'
-
-# This follows the rules about transforming keys as described in
-# https://www.python.org/dev/peps/pep-0566/#id17
-_ATTR2FIELD = {
-    name.lower().replace("-", "_"): name for name in _ALL_FIELDS
-}
-_FIELD2ATTR = {field: attr for attr, field in _ATTR2FIELD.items()}
-
-_PREDICATE_FIELDS = ('Requires-Dist', 'Obsoletes-Dist', 'Provides-Dist')
-_VERSIONS_FIELDS = ('Requires-Python',)
-_VERSION_FIELDS = ('Version',)
-_LISTFIELDS = ('Platform', 'Classifier', 'Obsoletes',
-               'Requires', 'Provides', 'Obsoletes-Dist',
-               'Provides-Dist', 'Requires-Dist', 'Requires-External',
-               'Project-URL', 'Supported-Platform', 'Setup-Requires-Dist',
-               'Provides-Extra', 'Extension', 'License-File')
-_LISTTUPLEFIELDS = ('Project-URL',)
-
-_ELEMENTSFIELD = ('Keywords',)
-
-_UNICODEFIELDS = ('Author', 'Maintainer', 'Summary', 'Description')
-
-_MISSING = object()
-
-_FILESAFE = re.compile('[^A-Za-z0-9.]+')
-
-
-def _get_name_and_version(name, version, for_filename=False):
-    """Return the distribution name with version.
-
-    If for_filename is true, return a filename-escaped form."""
-    if for_filename:
-        # For both name and version any runs of non-alphanumeric or '.'
-        # characters are replaced with a single '-'.  Additionally any
-        # spaces in the version string become '.'
-        name = _FILESAFE.sub('-', name)
-        version = _FILESAFE.sub('-', version.replace(' ', '.'))
-    return '%s-%s' % (name, version)
-
-
-class LegacyMetadata(object):
-    """The legacy metadata of a release.
-
-    Supports versions 1.0, 1.1, 1.2, 2.0 and 1.3/2.1 (auto-detected). You can
-    instantiate the class with one of these arguments (or none):
-    - *path*, the path to a metadata file
-    - *fileobj* give a file-like object with metadata as content
-    - *mapping* is a dict-like object
-    - *scheme* is a version scheme name
-    """
-    # TODO document the mapping API and UNKNOWN default key
-
-    def __init__(self, path=None, fileobj=None, mapping=None,
-                 scheme='default'):
-        if [path, fileobj, mapping].count(None) < 2:
-            raise TypeError('path, fileobj and mapping are exclusive')
-        self._fields = {}
-        self.requires_files = []
-        self._dependencies = None
-        self.scheme = scheme
-        if path is not None:
-            self.read(path)
-        elif fileobj is not None:
-            self.read_file(fileobj)
-        elif mapping is not None:
-            self.update(mapping)
-            self.set_metadata_version()
-
-    def set_metadata_version(self):
-        self._fields['Metadata-Version'] = _best_version(self._fields)
-
-    def _write_field(self, fileobj, name, value):
-        fileobj.write('%s: %s\n' % (name, value))
-
-    def __getitem__(self, name):
-        return self.get(name)
-
-    def __setitem__(self, name, value):
-        return self.set(name, value)
-
-    def __delitem__(self, name):
-        field_name = self._convert_name(name)
-        try:
-            del self._fields[field_name]
-        except KeyError:
-            raise KeyError(name)
-
-    def __contains__(self, name):
-        return (name in self._fields or
-                self._convert_name(name) in self._fields)
-
-    def _convert_name(self, name):
-        if name in _ALL_FIELDS:
-            return name
-        name = name.replace('-', '_').lower()
-        return _ATTR2FIELD.get(name, name)
-
-    def _default_value(self, name):
-        if name in _LISTFIELDS or name in _ELEMENTSFIELD:
-            return []
-        return 'UNKNOWN'
-
-    def _remove_line_prefix(self, value):
-        if self.metadata_version in ('1.0', '1.1'):
-            return _LINE_PREFIX_PRE_1_2.sub('\n', value)
-        else:
-            return _LINE_PREFIX_1_2.sub('\n', value)
-
-    def __getattr__(self, name):
-        if name in _ATTR2FIELD:
-            return self[name]
-        raise AttributeError(name)
-
-    #
-    # Public API
-    #
-
-#    dependencies = property(_get_dependencies, _set_dependencies)
-
-    def get_fullname(self, filesafe=False):
-        """Return the distribution name with version.
-
-        If filesafe is true, return a filename-escaped form."""
-        return _get_name_and_version(self['Name'], self['Version'], filesafe)
-
-    def is_field(self, name):
-        """return True if name is a valid metadata key"""
-        name = self._convert_name(name)
-        return name in _ALL_FIELDS
-
-    def is_multi_field(self, name):
-        name = self._convert_name(name)
-        return name in _LISTFIELDS
-
-    def read(self, filepath):
-        """Read the metadata values from a file path."""
-        fp = codecs.open(filepath, 'r', encoding='utf-8')
-        try:
-            self.read_file(fp)
-        finally:
-            fp.close()
-
-    def read_file(self, fileob):
-        """Read the metadata values from a file object."""
-        msg = message_from_file(fileob)
-        self._fields['Metadata-Version'] = msg['metadata-version']
-
-        # When reading, get all the fields we can
-        for field in _ALL_FIELDS:
-            if field not in msg:
-                continue
-            if field in _LISTFIELDS:
-                # we can have multiple lines
-                values = msg.get_all(field)
-                if field in _LISTTUPLEFIELDS and values is not None:
-                    values = [tuple(value.split(',')) for value in values]
-                self.set(field, values)
-            else:
-                # single line
-                value = msg[field]
-                if value is not None and value != 'UNKNOWN':
-                    self.set(field, value)
-
-        # PEP 566 specifies that the body be used for the description, if
-        # available
-        body = msg.get_payload()
-        self["Description"] = body if body else self["Description"]
-        # logger.debug('Attempting to set metadata for %s', self)
-        # self.set_metadata_version()
-
-    def write(self, filepath, skip_unknown=False):
-        """Write the metadata fields to filepath."""
-        fp = codecs.open(filepath, 'w', encoding='utf-8')
-        try:
-            self.write_file(fp, skip_unknown)
-        finally:
-            fp.close()
-
-    def write_file(self, fileobject, skip_unknown=False):
-        """Write the PKG-INFO format data to a file object."""
-        self.set_metadata_version()
-
-        for field in _version2fieldlist(self['Metadata-Version']):
-            values = self.get(field)
-            if skip_unknown and values in ('UNKNOWN', [], ['UNKNOWN']):
-                continue
-            if field in _ELEMENTSFIELD:
-                self._write_field(fileobject, field, ','.join(values))
-                continue
-            if field not in _LISTFIELDS:
-                if field == 'Description':
-                    if self.metadata_version in ('1.0', '1.1'):
-                        values = values.replace('\n', '\n        ')
-                    else:
-                        values = values.replace('\n', '\n       |')
-                values = [values]
-
-            if field in _LISTTUPLEFIELDS:
-                values = [','.join(value) for value in values]
-
-            for value in values:
-                self._write_field(fileobject, field, value)
-
-    def update(self, other=None, **kwargs):
-        """Set metadata values from the given iterable `other` and kwargs.
-
-        Behavior is like `dict.update`: If `other` has a ``keys`` method,
-        they are looped over and ``self[key]`` is assigned ``other[key]``.
-        Else, ``other`` is an iterable of ``(key, value)`` iterables.
-
-        Keys that don't match a metadata field or that have an empty value are
-        dropped.
-        """
-        def _set(key, value):
-            if key in _ATTR2FIELD and value:
-                self.set(self._convert_name(key), value)
-
-        if not other:
-            # other is None or empty container
-            pass
-        elif hasattr(other, 'keys'):
-            for k in other.keys():
-                _set(k, other[k])
-        else:
-            for k, v in other:
-                _set(k, v)
-
-        if kwargs:
-            for k, v in kwargs.items():
-                _set(k, v)
-
-    def set(self, name, value):
-        """Control then set a metadata field."""
-        name = self._convert_name(name)
-
-        if ((name in _ELEMENTSFIELD or name == 'Platform') and
-            not isinstance(value, (list, tuple))):
-            if isinstance(value, string_types):
-                value = [v.strip() for v in value.split(',')]
-            else:
-                value = []
-        elif (name in _LISTFIELDS and
-              not isinstance(value, (list, tuple))):
-            if isinstance(value, string_types):
-                value = [value]
-            else:
-                value = []
-
-        if logger.isEnabledFor(logging.WARNING):
-            project_name = self['Name']
-
-            scheme = get_scheme(self.scheme)
-            if name in _PREDICATE_FIELDS and value is not None:
-                for v in value:
-                    # check that the values are valid
-                    if not scheme.is_valid_matcher(v.split(';')[0]):
-                        logger.warning(
-                            "'%s': '%s' is not valid (field '%s')",
-                            project_name, v, name)
-            # FIXME this rejects UNKNOWN, is that right?
-            elif name in _VERSIONS_FIELDS and value is not None:
-                if not scheme.is_valid_constraint_list(value):
-                    logger.warning("'%s': '%s' is not a valid version (field '%s')",
-                                   project_name, value, name)
-            elif name in _VERSION_FIELDS and value is not None:
-                if not scheme.is_valid_version(value):
-                    logger.warning("'%s': '%s' is not a valid version (field '%s')",
-                                   project_name, value, name)
-
-        if name in _UNICODEFIELDS:
-            if name == 'Description':
-                value = self._remove_line_prefix(value)
-
-        self._fields[name] = value
-
-    def get(self, name, default=_MISSING):
-        """Get a metadata field."""
-        name = self._convert_name(name)
-        if name not in self._fields:
-            if default is _MISSING:
-                default = self._default_value(name)
-            return default
-        if name in _UNICODEFIELDS:
-            value = self._fields[name]
-            return value
-        elif name in _LISTFIELDS:
-            value = self._fields[name]
-            if value is None:
-                return []
-            res = []
-            for val in value:
-                if name not in _LISTTUPLEFIELDS:
-                    res.append(val)
-                else:
-                    # That's for Project-URL
-                    res.append((val[0], val[1]))
-            return res
-
-        elif name in _ELEMENTSFIELD:
-            value = self._fields[name]
-            if isinstance(value, string_types):
-                return value.split(',')
-        return self._fields[name]
-
-    def check(self, strict=False):
-        """Check if the metadata is compliant. If strict is True then raise if
-        no Name or Version are provided"""
-        self.set_metadata_version()
-
-        # XXX should check the versions (if the file was loaded)
-        missing, warnings = [], []
-
-        for attr in ('Name', 'Version'):  # required by PEP 345
-            if attr not in self:
-                missing.append(attr)
-
-        if strict and missing != []:
-            msg = 'missing required metadata: %s' % ', '.join(missing)
-            raise MetadataMissingError(msg)
-
-        for attr in ('Home-page', 'Author'):
-            if attr not in self:
-                missing.append(attr)
-
-        # checking metadata 1.2 (XXX needs to check 1.1, 1.0)
-        if self['Metadata-Version'] != '1.2':
-            return missing, warnings
-
-        scheme = get_scheme(self.scheme)
-
-        def are_valid_constraints(value):
-            for v in value:
-                if not scheme.is_valid_matcher(v.split(';')[0]):
-                    return False
-            return True
-
-        for fields, controller in ((_PREDICATE_FIELDS, are_valid_constraints),
-                                   (_VERSIONS_FIELDS,
-                                    scheme.is_valid_constraint_list),
-                                   (_VERSION_FIELDS,
-                                    scheme.is_valid_version)):
-            for field in fields:
-                value = self.get(field, None)
-                if value is not None and not controller(value):
-                    warnings.append("Wrong value for '%s': %s" % (field, value))
-
-        return missing, warnings
-
-    def todict(self, skip_missing=False):
-        """Return fields as a dict.
-
-        Field names will be converted to use the underscore-lowercase style
-        instead of hyphen-mixed case (i.e. home_page instead of Home-page).
-        This is as per https://www.python.org/dev/peps/pep-0566/#id17.
-        """
-        self.set_metadata_version()
-
-        fields = _version2fieldlist(self['Metadata-Version'])
-
-        data = {}
-
-        for field_name in fields:
-            if not skip_missing or field_name in self._fields:
-                key = _FIELD2ATTR[field_name]
-                if key != 'project_url':
-                    data[key] = self[field_name]
-                else:
-                    data[key] = [','.join(u) for u in self[field_name]]
-
-        return data
-
-    def add_requirements(self, requirements):
-        if self['Metadata-Version'] == '1.1':
-            # we can't have 1.1 metadata *and* Setuptools requires
-            for field in ('Obsoletes', 'Requires', 'Provides'):
-                if field in self:
-                    del self[field]
-        self['Requires-Dist'] += requirements
-
-    # Mapping API
-    # TODO could add iter* variants
-
-    def keys(self):
-        return list(_version2fieldlist(self['Metadata-Version']))
-
-    def __iter__(self):
-        for key in self.keys():
-            yield key
-
-    def values(self):
-        return [self[key] for key in self.keys()]
-
-    def items(self):
-        return [(key, self[key]) for key in self.keys()]
-
-    def __repr__(self):
-        return '<%s %s %s>' % (self.__class__.__name__, self.name,
-                               self.version)
-
-
-METADATA_FILENAME = 'pydist.json'
-WHEEL_METADATA_FILENAME = 'metadata.json'
-LEGACY_METADATA_FILENAME = 'METADATA'
-
-
-class Metadata(object):
-    """
-    The metadata of a release. This implementation uses 2.1
-    metadata where possible. If not possible, it wraps a LegacyMetadata
-    instance which handles the key-value metadata format.
-    """
-
-    METADATA_VERSION_MATCHER = re.compile(r'^\d+(\.\d+)*$')
-
-    NAME_MATCHER = re.compile('^[0-9A-Z]([0-9A-Z_.-]*[0-9A-Z])?$', re.I)
-
-    FIELDNAME_MATCHER = re.compile('^[A-Z]([0-9A-Z-]*[0-9A-Z])?$', re.I)
-
-    VERSION_MATCHER = PEP440_VERSION_RE
-
-    SUMMARY_MATCHER = re.compile('.{1,2047}')
-
-    METADATA_VERSION = '2.0'
-
-    GENERATOR = 'distlib (%s)' % __version__
-
-    MANDATORY_KEYS = {
-        'name': (),
-        'version': (),
-        'summary': ('legacy',),
-    }
-
-    INDEX_KEYS = ('name version license summary description author '
-                  'author_email keywords platform home_page classifiers '
-                  'download_url')
-
-    DEPENDENCY_KEYS = ('extras run_requires test_requires build_requires '
-                       'dev_requires provides meta_requires obsoleted_by '
-                       'supports_environments')
-
-    SYNTAX_VALIDATORS = {
-        'metadata_version': (METADATA_VERSION_MATCHER, ()),
-        'name': (NAME_MATCHER, ('legacy',)),
-        'version': (VERSION_MATCHER, ('legacy',)),
-        'summary': (SUMMARY_MATCHER, ('legacy',)),
-        'dynamic': (FIELDNAME_MATCHER, ('legacy',)),
-    }
-
-    __slots__ = ('_legacy', '_data', 'scheme')
-
-    def __init__(self, path=None, fileobj=None, mapping=None,
-                 scheme='default'):
-        if [path, fileobj, mapping].count(None) < 2:
-            raise TypeError('path, fileobj and mapping are exclusive')
-        self._legacy = None
-        self._data = None
-        self.scheme = scheme
-        #import pdb; pdb.set_trace()
-        if mapping is not None:
-            try:
-                self._validate_mapping(mapping, scheme)
-                self._data = mapping
-            except MetadataUnrecognizedVersionError:
-                self._legacy = LegacyMetadata(mapping=mapping, scheme=scheme)
-                self.validate()
-        else:
-            data = None
-            if path:
-                with open(path, 'rb') as f:
-                    data = f.read()
-            elif fileobj:
-                data = fileobj.read()
-            if data is None:
-                # Initialised with no args - to be added
-                self._data = {
-                    'metadata_version': self.METADATA_VERSION,
-                    'generator': self.GENERATOR,
-                }
-            else:
-                if not isinstance(data, text_type):
-                    data = data.decode('utf-8')
-                try:
-                    self._data = json.loads(data)
-                    self._validate_mapping(self._data, scheme)
-                except ValueError:
-                    # Note: MetadataUnrecognizedVersionError does not
-                    # inherit from ValueError (it's a DistlibException,
-                    # which should not inherit from ValueError).
-                    # The ValueError comes from the json.load - if that
-                    # succeeds and we get a validation error, we want
-                    # that to propagate
-                    self._legacy = LegacyMetadata(fileobj=StringIO(data),
-                                                  scheme=scheme)
-                    self.validate()
-
-    common_keys = set(('name', 'version', 'license', 'keywords', 'summary'))
-
-    none_list = (None, list)
-    none_dict = (None, dict)
-
-    mapped_keys = {
-        'run_requires': ('Requires-Dist', list),
-        'build_requires': ('Setup-Requires-Dist', list),
-        'dev_requires': none_list,
-        'test_requires': none_list,
-        'meta_requires': none_list,
-        'extras': ('Provides-Extra', list),
-        'modules': none_list,
-        'namespaces': none_list,
-        'exports': none_dict,
-        'commands': none_dict,
-        'classifiers': ('Classifier', list),
-        'source_url': ('Download-URL', None),
-        'metadata_version': ('Metadata-Version', None),
-    }
-
-    del none_list, none_dict
-
-    def __getattribute__(self, key):
-        common = object.__getattribute__(self, 'common_keys')
-        mapped = object.__getattribute__(self, 'mapped_keys')
-        if key in mapped:
-            lk, maker = mapped[key]
-            if self._legacy:
-                if lk is None:
-                    result = None if maker is None else maker()
-                else:
-                    result = self._legacy.get(lk)
-            else:
-                value = None if maker is None else maker()
-                if key not in ('commands', 'exports', 'modules', 'namespaces',
-                               'classifiers'):
-                    result = self._data.get(key, value)
-                else:
-                    # special cases for PEP 459
-                    sentinel = object()
-                    result = sentinel
-                    d = self._data.get('extensions')
-                    if d:
-                        if key == 'commands':
-                            result = d.get('python.commands', value)
-                        elif key == 'classifiers':
-                            d = d.get('python.details')
-                            if d:
-                                result = d.get(key, value)
-                        else:
-                            d = d.get('python.exports')
-                            if not d:
-                                d = self._data.get('python.exports')
-                            if d:
-                                result = d.get(key, value)
-                    if result is sentinel:
-                        result = value
-        elif key not in common:
-            result = object.__getattribute__(self, key)
-        elif self._legacy:
-            result = self._legacy.get(key)
-        else:
-            result = self._data.get(key)
-        return result
-
-    def _validate_value(self, key, value, scheme=None):
-        if key in self.SYNTAX_VALIDATORS:
-            pattern, exclusions = self.SYNTAX_VALIDATORS[key]
-            if (scheme or self.scheme) not in exclusions:
-                m = pattern.match(value)
-                if not m:
-                    raise MetadataInvalidError("'%s' is an invalid value for "
-                                               "the '%s' property" % (value,
-                                                                    key))
-
-    def __setattr__(self, key, value):
-        self._validate_value(key, value)
-        common = object.__getattribute__(self, 'common_keys')
-        mapped = object.__getattribute__(self, 'mapped_keys')
-        if key in mapped:
-            lk, _ = mapped[key]
-            if self._legacy:
-                if lk is None:
-                    raise NotImplementedError
-                self._legacy[lk] = value
-            elif key not in ('commands', 'exports', 'modules', 'namespaces',
-                             'classifiers'):
-                self._data[key] = value
-            else:
-                # special cases for PEP 459
-                d = self._data.setdefault('extensions', {})
-                if key == 'commands':
-                    d['python.commands'] = value
-                elif key == 'classifiers':
-                    d = d.setdefault('python.details', {})
-                    d[key] = value
-                else:
-                    d = d.setdefault('python.exports', {})
-                    d[key] = value
-        elif key not in common:
-            object.__setattr__(self, key, value)
-        else:
-            if key == 'keywords':
-                if isinstance(value, string_types):
-                    value = value.strip()
-                    if value:
-                        value = value.split()
-                    else:
-                        value = []
-            if self._legacy:
-                self._legacy[key] = value
-            else:
-                self._data[key] = value
-
-    @property
-    def name_and_version(self):
-        return _get_name_and_version(self.name, self.version, True)
-
-    @property
-    def provides(self):
-        if self._legacy:
-            result = self._legacy['Provides-Dist']
-        else:
-            result = self._data.setdefault('provides', [])
-        s = '%s (%s)' % (self.name, self.version)
-        if s not in result:
-            result.append(s)
-        return result
-
-    @provides.setter
-    def provides(self, value):
-        if self._legacy:
-            self._legacy['Provides-Dist'] = value
-        else:
-            self._data['provides'] = value
-
-    def get_requirements(self, reqts, extras=None, env=None):
-        """
-        Base method to get dependencies, given a set of extras
-        to satisfy and an optional environment context.
-        :param reqts: A list of sometimes-wanted dependencies,
-                      perhaps dependent on extras and environment.
-        :param extras: A list of optional components being requested.
-        :param env: An optional environment for marker evaluation.
-        """
-        if self._legacy:
-            result = reqts
-        else:
-            result = []
-            extras = get_extras(extras or [], self.extras)
-            for d in reqts:
-                if 'extra' not in d and 'environment' not in d:
-                    # unconditional
-                    include = True
-                else:
-                    if 'extra' not in d:
-                        # Not extra-dependent - only environment-dependent
-                        include = True
-                    else:
-                        include = d.get('extra') in extras
-                    if include:
-                        # Not excluded because of extras, check environment
-                        marker = d.get('environment')
-                        if marker:
-                            include = interpret(marker, env)
-                if include:
-                    result.extend(d['requires'])
-            for key in ('build', 'dev', 'test'):
-                e = ':%s:' % key
-                if e in extras:
-                    extras.remove(e)
-                    # A recursive call, but it should terminate since 'test'
-                    # has been removed from the extras
-                    reqts = self._data.get('%s_requires' % key, [])
-                    result.extend(self.get_requirements(reqts, extras=extras,
-                                                        env=env))
-        return result
-
-    @property
-    def dictionary(self):
-        if self._legacy:
-            return self._from_legacy()
-        return self._data
-
-    @property
-    def dependencies(self):
-        if self._legacy:
-            raise NotImplementedError
-        else:
-            return extract_by_key(self._data, self.DEPENDENCY_KEYS)
-
-    @dependencies.setter
-    def dependencies(self, value):
-        if self._legacy:
-            raise NotImplementedError
-        else:
-            self._data.update(value)
-
-    def _validate_mapping(self, mapping, scheme):
-        if mapping.get('metadata_version') != self.METADATA_VERSION:
-            raise MetadataUnrecognizedVersionError()
-        missing = []
-        for key, exclusions in self.MANDATORY_KEYS.items():
-            if key not in mapping:
-                if scheme not in exclusions:
-                    missing.append(key)
-        if missing:
-            msg = 'Missing metadata items: %s' % ', '.join(missing)
-            raise MetadataMissingError(msg)
-        for k, v in mapping.items():
-            self._validate_value(k, v, scheme)
-
-    def validate(self):
-        if self._legacy:
-            missing, warnings = self._legacy.check(True)
-            if missing or warnings:
-                logger.warning('Metadata: missing: %s, warnings: %s',
-                               missing, warnings)
-        else:
-            self._validate_mapping(self._data, self.scheme)
-
-    def todict(self):
-        if self._legacy:
-            return self._legacy.todict(True)
-        else:
-            result = extract_by_key(self._data, self.INDEX_KEYS)
-            return result
-
-    def _from_legacy(self):
-        assert self._legacy and not self._data
-        result = {
-            'metadata_version': self.METADATA_VERSION,
-            'generator': self.GENERATOR,
-        }
-        lmd = self._legacy.todict(True)     # skip missing ones
-        for k in ('name', 'version', 'license', 'summary', 'description',
-                  'classifier'):
-            if k in lmd:
-                if k == 'classifier':
-                    nk = 'classifiers'
-                else:
-                    nk = k
-                result[nk] = lmd[k]
-        kw = lmd.get('Keywords', [])
-        if kw == ['']:
-            kw = []
-        result['keywords'] = kw
-        keys = (('requires_dist', 'run_requires'),
-                ('setup_requires_dist', 'build_requires'))
-        for ok, nk in keys:
-            if ok in lmd and lmd[ok]:
-                result[nk] = [{'requires': lmd[ok]}]
-        result['provides'] = self.provides
-        author = {}
-        maintainer = {}
-        return result
-
-    LEGACY_MAPPING = {
-        'name': 'Name',
-        'version': 'Version',
-        ('extensions', 'python.details', 'license'): 'License',
-        'summary': 'Summary',
-        'description': 'Description',
-        ('extensions', 'python.project', 'project_urls', 'Home'): 'Home-page',
-        ('extensions', 'python.project', 'contacts', 0, 'name'): 'Author',
-        ('extensions', 'python.project', 'contacts', 0, 'email'): 'Author-email',
-        'source_url': 'Download-URL',
-        ('extensions', 'python.details', 'classifiers'): 'Classifier',
-    }
-
-    def _to_legacy(self):
-        def process_entries(entries):
-            reqts = set()
-            for e in entries:
-                extra = e.get('extra')
-                env = e.get('environment')
-                rlist = e['requires']
-                for r in rlist:
-                    if not env and not extra:
-                        reqts.add(r)
-                    else:
-                        marker = ''
-                        if extra:
-                            marker = 'extra == "%s"' % extra
-                        if env:
-                            if marker:
-                                marker = '(%s) and %s' % (env, marker)
-                            else:
-                                marker = env
-                        reqts.add(';'.join((r, marker)))
-            return reqts
-
-        assert self._data and not self._legacy
-        result = LegacyMetadata()
-        nmd = self._data
-        # import pdb; pdb.set_trace()
-        for nk, ok in self.LEGACY_MAPPING.items():
-            if not isinstance(nk, tuple):
-                if nk in nmd:
-                    result[ok] = nmd[nk]
-            else:
-                d = nmd
-                found = True
-                for k in nk:
-                    try:
-                        d = d[k]
-                    except (KeyError, IndexError):
-                        found = False
-                        break
-                if found:
-                    result[ok] = d
-        r1 = process_entries(self.run_requires + self.meta_requires)
-        r2 = process_entries(self.build_requires + self.dev_requires)
-        if self.extras:
-            result['Provides-Extra'] = sorted(self.extras)
-        result['Requires-Dist'] = sorted(r1)
-        result['Setup-Requires-Dist'] = sorted(r2)
-        # TODO: any other fields wanted
-        return result
-
-    def write(self, path=None, fileobj=None, legacy=False, skip_unknown=True):
-        if [path, fileobj].count(None) != 1:
-            raise ValueError('Exactly one of path and fileobj is needed')
-        self.validate()
-        if legacy:
-            if self._legacy:
-                legacy_md = self._legacy
-            else:
-                legacy_md = self._to_legacy()
-            if path:
-                legacy_md.write(path, skip_unknown=skip_unknown)
-            else:
-                legacy_md.write_file(fileobj, skip_unknown=skip_unknown)
-        else:
-            if self._legacy:
-                d = self._from_legacy()
-            else:
-                d = self._data
-            if fileobj:
-                json.dump(d, fileobj, ensure_ascii=True, indent=2,
-                          sort_keys=True)
-            else:
-                with codecs.open(path, 'w', 'utf-8') as f:
-                    json.dump(d, f, ensure_ascii=True, indent=2,
-                              sort_keys=True)
-
-    def add_requirements(self, requirements):
-        if self._legacy:
-            self._legacy.add_requirements(requirements)
-        else:
-            run_requires = self._data.setdefault('run_requires', [])
-            always = None
-            for entry in run_requires:
-                if 'environment' not in entry and 'extra' not in entry:
-                    always = entry
-                    break
-            if always is None:
-                always = { 'requires': requirements }
-                run_requires.insert(0, always)
-            else:
-                rset = set(always['requires']) | set(requirements)
-                always['requires'] = sorted(rset)
-
-    def __repr__(self):
-        name = self.name or '(no name)'
-        version = self.version or 'no version'
-        return '<%s %s %s (%s)>' % (self.__class__.__name__,
-                                    self.metadata_version, name, version)
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/scripts.py b/.venv/Lib/site-packages/pip/_vendor/distlib/scripts.py
index cfa45d2..195dc3f 100644
--- a/.venv/Lib/site-packages/pip/_vendor/distlib/scripts.py
+++ b/.venv/Lib/site-packages/pip/_vendor/distlib/scripts.py
@@ -15,8 +15,7 @@ from zipfile import ZipInfo
 
 from .compat import sysconfig, detect_encoding, ZipFile
 from .resources import finder
-from .util import (FileOperator, get_export_entry, convert_path,
-                   get_executable, get_platform, in_venv)
+from .util import (FileOperator, get_export_entry, convert_path, get_executable, get_platform, in_venv)
 
 logger = logging.getLogger(__name__)
 
@@ -43,12 +42,31 @@ FIRST_LINE_RE = re.compile(b'^#!.*pythonw?[0-9.]*([ \t].*)?$')
 SCRIPT_TEMPLATE = r'''# -*- coding: utf-8 -*-
 import re
 import sys
-from %(module)s import %(import_name)s
 if __name__ == '__main__':
+    from %(module)s import %(import_name)s
     sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
     sys.exit(%(func)s())
 '''
 
+# Pre-fetch the contents of all executable wrapper stubs.
+# This is to address https://github.com/pypa/pip/issues/12666.
+# When updating pip, we rename the old pip in place before installing the
+# new version. If we try to fetch a wrapper *after* that rename, the finder
+# machinery will be confused as the package is no longer available at the
+# location where it was imported from. So we load everything into memory in
+# advance.
+
+if os.name == 'nt' or (os.name == 'java' and os._name == 'nt'):
+    # Issue 31: don't hardcode an absolute package name, but
+    # determine it relative to the current package
+    DISTLIB_PACKAGE = __name__.rsplit('.', 1)[0]
+
+    WRAPPERS = {
+        r.name: r.bytes
+        for r in finder(DISTLIB_PACKAGE).iterator("")
+        if r.name.endswith(".exe")
+    }
+
 
 def enquote_executable(executable):
     if ' ' in executable:
@@ -79,25 +97,18 @@ class ScriptMaker(object):
 
     executable = None  # for shebangs
 
-    def __init__(self,
-                 source_dir,
-                 target_dir,
-                 add_launchers=True,
-                 dry_run=False,
-                 fileop=None):
+    def __init__(self, source_dir, target_dir, add_launchers=True, dry_run=False, fileop=None):
         self.source_dir = source_dir
         self.target_dir = target_dir
         self.add_launchers = add_launchers
         self.force = False
         self.clobber = False
         # It only makes sense to set mode bits on POSIX.
-        self.set_mode = (os.name == 'posix') or (os.name == 'java'
-                                                 and os._name == 'posix')
+        self.set_mode = (os.name == 'posix') or (os.name == 'java' and os._name == 'posix')
         self.variants = set(('', 'X.Y'))
         self._fileop = fileop or FileOperator(dry_run)
 
-        self._is_nt = os.name == 'nt' or (os.name == 'java'
-                                          and os._name == 'nt')
+        self._is_nt = os.name == 'nt' or (os.name == 'java' and os._name == 'nt')
         self.version_info = sys.version_info
 
     def _get_alternate_executable(self, executable, options):
@@ -146,6 +157,12 @@ class ScriptMaker(object):
         """
         if os.name != 'posix':
             simple_shebang = True
+        elif getattr(sys, "cross_compiling", False):
+            # In a cross-compiling environment, the shebang will likely be a
+            # script; this *must* be invoked with the "safe" version of the
+            # shebang, or else using os.exec() to run the entry script will
+            # fail, raising "OSError 8 [Errno 8] Exec format error".
+            simple_shebang = False
         else:
             # Add 3 for '#!' prefix and newline suffix.
             shebang_length = len(executable) + len(post_interp) + 3
@@ -153,15 +170,14 @@ class ScriptMaker(object):
                 max_shebang_length = 512
             else:
                 max_shebang_length = 127
-            simple_shebang = ((b' ' not in executable)
-                              and (shebang_length <= max_shebang_length))
+            simple_shebang = ((b' ' not in executable) and (shebang_length <= max_shebang_length))
 
         if simple_shebang:
             result = b'#!' + executable + post_interp + b'\n'
         else:
             result = b'#!/bin/sh\n'
             result += b"'''exec' " + executable + post_interp + b' "$0" "$@"\n'
-            result += b"' '''"
+            result += b"' '''\n"
         return result
 
     def _get_shebang(self, encoding, post_interp=b'', options=None):
@@ -172,21 +188,17 @@ class ScriptMaker(object):
         elif not sysconfig.is_python_build():
             executable = get_executable()
         elif in_venv():  # pragma: no cover
-            executable = os.path.join(
-                sysconfig.get_path('scripts'),
-                'python%s' % sysconfig.get_config_var('EXE'))
+            executable = os.path.join(sysconfig.get_path('scripts'), 'python%s' % sysconfig.get_config_var('EXE'))
         else:  # pragma: no cover
             if os.name == 'nt':
                 # for Python builds from source on Windows, no Python executables with
                 # a version suffix are created, so we use python.exe
-                executable = os.path.join(
-                    sysconfig.get_config_var('BINDIR'),
-                    'python%s' % (sysconfig.get_config_var('EXE')))
+                executable = os.path.join(sysconfig.get_config_var('BINDIR'),
+                                          'python%s' % (sysconfig.get_config_var('EXE')))
             else:
                 executable = os.path.join(
                     sysconfig.get_config_var('BINDIR'),
-                    'python%s%s' % (sysconfig.get_config_var('VERSION'),
-                                    sysconfig.get_config_var('EXE')))
+                    'python%s%s' % (sysconfig.get_config_var('VERSION'), sysconfig.get_config_var('EXE')))
         if options:
             executable = self._get_alternate_executable(executable, options)
 
@@ -210,8 +222,8 @@ class ScriptMaker(object):
         # check that the shebang is decodable using utf-8.
         executable = executable.encode('utf-8')
         # in case of IronPython, play safe and enable frames support
-        if (sys.platform == 'cli' and '-X:Frames' not in post_interp
-                and '-X:FullFrames' not in post_interp):  # pragma: no cover
+        if (sys.platform == 'cli' and '-X:Frames' not in post_interp and
+                '-X:FullFrames' not in post_interp):  # pragma: no cover
             post_interp += b' -X:Frames'
         shebang = self._build_shebang(executable, post_interp)
         # Python parser starts to read a script using UTF-8 until
@@ -222,8 +234,7 @@ class ScriptMaker(object):
         try:
             shebang.decode('utf-8')
         except UnicodeDecodeError:  # pragma: no cover
-            raise ValueError('The shebang (%r) is not decodable from utf-8' %
-                             shebang)
+            raise ValueError('The shebang (%r) is not decodable from utf-8' % shebang)
         # If the script is encoded to a custom encoding (use a
         # #coding:xxx cookie), the shebang has to be decodable from
         # the script encoding too.
@@ -232,15 +243,12 @@ class ScriptMaker(object):
                 shebang.decode(encoding)
             except UnicodeDecodeError:  # pragma: no cover
                 raise ValueError('The shebang (%r) is not decodable '
-                                 'from the script encoding (%r)' %
-                                 (shebang, encoding))
+                                 'from the script encoding (%r)' % (shebang, encoding))
         return shebang
 
     def _get_script_text(self, entry):
         return self.script_template % dict(
-            module=entry.prefix,
-            import_name=entry.suffix.split('.')[0],
-            func=entry.suffix)
+            module=entry.prefix, import_name=entry.suffix.split('.')[0], func=entry.suffix)
 
     manifest = _DEFAULT_MANIFEST
 
@@ -250,9 +258,6 @@ class ScriptMaker(object):
 
     def _write_script(self, names, shebang, script_bytes, filenames, ext):
         use_launcher = self.add_launchers and self._is_nt
-        linesep = os.linesep.encode('utf-8')
-        if not shebang.endswith(linesep):
-            shebang += linesep
         if not use_launcher:
             script_bytes = shebang + script_bytes
         else:  # pragma: no cover
@@ -265,8 +270,7 @@ class ScriptMaker(object):
                 source_date_epoch = os.environ.get('SOURCE_DATE_EPOCH')
                 if source_date_epoch:
                     date_time = time.gmtime(int(source_date_epoch))[:6]
-                    zinfo = ZipInfo(filename='__main__.py',
-                                    date_time=date_time)
+                    zinfo = ZipInfo(filename='__main__.py', date_time=date_time)
                     zf.writestr(zinfo, script_bytes)
                 else:
                     zf.writestr('__main__.py', script_bytes)
@@ -297,8 +301,7 @@ class ScriptMaker(object):
                     except Exception:
                         pass  # still in use - ignore error
             else:
-                if self._is_nt and not outname.endswith(
-                        '.' + ext):  # pragma: no cover
+                if self._is_nt and not outname.endswith('.' + ext):  # pragma: no cover
                     outname = '%s.%s' % (outname, ext)
                 if os.path.exists(outname) and not self.clobber:
                     logger.warning('Skipping existing file %s', outname)
@@ -317,9 +320,7 @@ class ScriptMaker(object):
         if 'X' in self.variants:
             result.add('%s%s' % (name, self.version_info[0]))
         if 'X.Y' in self.variants:
-            result.add('%s%s%s.%s' %
-                       (name, self.variant_separator, self.version_info[0],
-                        self.version_info[1]))
+            result.add('%s%s%s.%s' % (name, self.variant_separator, self.version_info[0], self.version_info[1]))
         return result
 
     def _make_script(self, entry, filenames, options=None):
@@ -374,8 +375,7 @@ class ScriptMaker(object):
                 self._fileop.set_executable_mode([outname])
             filenames.append(outname)
         else:
-            logger.info('copying and adjusting %s -> %s', script,
-                        self.target_dir)
+            logger.info('copying and adjusting %s -> %s', script, self.target_dir)
             if not self._fileop.dry_run:
                 encoding, lines = detect_encoding(f.readline)
                 f.seek(0)
@@ -397,8 +397,7 @@ class ScriptMaker(object):
     def dry_run(self, value):
         self._fileop.dry_run = value
 
-    if os.name == 'nt' or (os.name == 'java'
-                           and os._name == 'nt'):  # pragma: no cover
+    if os.name == 'nt' or (os.name == 'java' and os._name == 'nt'):  # pragma: no cover
         # Executable launcher support.
         # Launchers are from https://bitbucket.org/vinay.sajip/simple_launcher/
 
@@ -409,15 +408,11 @@ class ScriptMaker(object):
                 bits = '32'
             platform_suffix = '-arm' if get_platform() == 'win-arm64' else ''
             name = '%s%s%s.exe' % (kind, bits, platform_suffix)
-            # Issue 31: don't hardcode an absolute package name, but
-            # determine it relative to the current package
-            distlib_package = __name__.rsplit('.', 1)[0]
-            resource = finder(distlib_package).find(name)
-            if not resource:
+            if name not in WRAPPERS:
                 msg = ('Unable to find resource %s in package %s' %
-                       (name, distlib_package))
+                       (name, DISTLIB_PACKAGE))
                 raise ValueError(msg)
-            return resource.bytes
+            return WRAPPERS[name]
 
     # Public API follows
 
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/util.py b/.venv/Lib/site-packages/pip/_vendor/distlib/util.py
index ba58858..0d5bd7a 100644
--- a/.venv/Lib/site-packages/pip/_vendor/distlib/util.py
+++ b/.venv/Lib/site-packages/pip/_vendor/distlib/util.py
@@ -31,11 +31,9 @@ except ImportError:  # pragma: no cover
 import time
 
 from . import DistlibException
-from .compat import (string_types, text_type, shutil, raw_input, StringIO,
-                     cache_from_source, urlopen, urljoin, httplib, xmlrpclib,
-                     HTTPHandler, BaseConfigurator, valid_ident,
-                     Container, configparser, URLError, ZipFile, fsdecode,
-                     unquote, urlparse)
+from .compat import (string_types, text_type, shutil, raw_input, StringIO, cache_from_source, urlopen, urljoin, httplib,
+                     xmlrpclib, HTTPHandler, BaseConfigurator, valid_ident, Container, configparser, URLError, ZipFile,
+                     fsdecode, unquote, urlparse)
 
 logger = logging.getLogger(__name__)
 
@@ -88,8 +86,7 @@ def parse_marker(marker_string):
                 else:
                     m = STRING_CHUNK.match(remaining)
                     if not m:
-                        raise SyntaxError('error in string literal: %s' %
-                                          remaining)
+                        raise SyntaxError('error in string literal: %s' % remaining)
                     parts.append(m.groups()[0])
                     remaining = remaining[m.end():]
             else:
@@ -210,8 +207,7 @@ def parse_requirement(req):
                         ver_remaining = ver_remaining[m.end():]
                         m = VERSION_IDENTIFIER.match(ver_remaining)
                         if not m:
-                            raise SyntaxError('invalid version: %s' %
-                                              ver_remaining)
+                            raise SyntaxError('invalid version: %s' % ver_remaining)
                         v = m.groups()[0]
                         versions.append((op, v))
                         ver_remaining = ver_remaining[m.end():]
@@ -224,8 +220,7 @@ def parse_requirement(req):
                             break
                         m = COMPARE_OP.match(ver_remaining)
                         if not m:
-                            raise SyntaxError('invalid constraint: %s' %
-                                              ver_remaining)
+                            raise SyntaxError('invalid constraint: %s' % ver_remaining)
                     if not versions:
                         versions = None
                 return versions, ver_remaining
@@ -235,8 +230,7 @@ def parse_requirement(req):
             else:
                 i = remaining.find(')', 1)
                 if i < 0:
-                    raise SyntaxError('unterminated parenthesis: %s' %
-                                      remaining)
+                    raise SyntaxError('unterminated parenthesis: %s' % remaining)
                 s = remaining[1:i]
                 remaining = remaining[i + 1:].lstrip()
                 # As a special diversion from PEP 508, allow a version number
@@ -267,14 +261,8 @@ def parse_requirement(req):
     if not versions:
         rs = distname
     else:
-        rs = '%s %s' % (distname, ', '.join(
-            ['%s %s' % con for con in versions]))
-    return Container(name=distname,
-                     extras=extras,
-                     constraints=versions,
-                     marker=mark_expr,
-                     url=uri,
-                     requirement=rs)
+        rs = '%s %s' % (distname, ', '.join(['%s %s' % con for con in versions]))
+    return Container(name=distname, extras=extras, constraints=versions, marker=mark_expr, url=uri, requirement=rs)
 
 
 def get_resources_dests(resources_root, rules):
@@ -524,8 +512,7 @@ class FileOperator(object):
         second will have the same "age".
         """
         if not os.path.exists(source):
-            raise DistlibException("file '%r' does not exist" %
-                                   os.path.abspath(source))
+            raise DistlibException("file '%r' does not exist" % os.path.abspath(source))
         if not os.path.exists(target):
             return True
 
@@ -601,12 +588,7 @@ class FileOperator(object):
             if self.record:
                 self.dirs_created.add(path)
 
-    def byte_compile(self,
-                     path,
-                     optimize=False,
-                     force=False,
-                     prefix=None,
-                     hashed_invalidation=False):
+    def byte_compile(self, path, optimize=False, force=False, prefix=None, hashed_invalidation=False):
         dpath = cache_from_source(path, not optimize)
         logger.info('Byte-compiling %s to %s', path, dpath)
         if not self.dry_run:
@@ -617,12 +599,11 @@ class FileOperator(object):
                     assert path.startswith(prefix)
                     diagpath = path[len(prefix):]
             compile_kwargs = {}
-            if hashed_invalidation and hasattr(py_compile,
-                                               'PycInvalidationMode'):
-                compile_kwargs[
-                    'invalidation_mode'] = py_compile.PycInvalidationMode.CHECKED_HASH
-            py_compile.compile(path, dpath, diagpath, True,
-                               **compile_kwargs)  # raise error
+            if hashed_invalidation and hasattr(py_compile, 'PycInvalidationMode'):
+                if not isinstance(hashed_invalidation, py_compile.PycInvalidationMode):
+                    hashed_invalidation = py_compile.PycInvalidationMode.CHECKED_HASH
+                compile_kwargs['invalidation_mode'] = hashed_invalidation
+            py_compile.compile(path, dpath, diagpath, True, **compile_kwargs)  # raise error
         self.record_as_written(dpath)
         return dpath
 
@@ -716,16 +697,14 @@ class ExportEntry(object):
         return resolve(self.prefix, self.suffix)
 
     def __repr__(self):  # pragma: no cover
-        return '' % (self.name, self.prefix,
-                                                self.suffix, self.flags)
+        return '' % (self.name, self.prefix, self.suffix, self.flags)
 
     def __eq__(self, other):
         if not isinstance(other, ExportEntry):
             result = False
         else:
-            result = (self.name == other.name and self.prefix == other.prefix
-                      and self.suffix == other.suffix
-                      and self.flags == other.flags)
+            result = (self.name == other.name and self.prefix == other.prefix and self.suffix == other.suffix and
+                      self.flags == other.flags)
         return result
 
     __hash__ = object.__hash__
@@ -810,7 +789,7 @@ def get_cache_base(suffix=None):
     return os.path.join(result, suffix)
 
 
-def path_to_cache_dir(path):
+def path_to_cache_dir(path, use_abspath=True):
     """
     Convert an absolute path to a directory name for use in a cache.
 
@@ -820,7 +799,7 @@ def path_to_cache_dir(path):
     #. Any occurrence of ``os.sep`` is replaced with ``'--'``.
     #. ``'.cache'`` is appended.
     """
-    d, p = os.path.splitdrive(os.path.abspath(path))
+    d, p = os.path.splitdrive(os.path.abspath(path) if use_abspath else path)
     if d:
         d = d.replace(':', '---')
     p = p.replace(os.sep, '--')
@@ -865,9 +844,8 @@ def is_string_sequence(seq):
     return result
 
 
-PROJECT_NAME_AND_VERSION = re.compile(
-    '([a-z0-9_]+([.-][a-z_][a-z0-9_]*)*)-'
-    '([a-z0-9_.+-]+)', re.I)
+PROJECT_NAME_AND_VERSION = re.compile('([a-z0-9_]+([.-][a-z_][a-z0-9_]*)*)-'
+                                      '([a-z0-9_.+-]+)', re.I)
 PYTHON_VERSION = re.compile(r'-py(\d\.?\d?)')
 
 
@@ -1003,11 +981,11 @@ class Cache(object):
             logger.warning('Directory \'%s\' is not private', base)
         self.base = os.path.abspath(os.path.normpath(base))
 
-    def prefix_to_dir(self, prefix):
+    def prefix_to_dir(self, prefix, use_abspath=True):
         """
         Converts a resource prefix to a directory name in the cache.
         """
-        return path_to_cache_dir(prefix)
+        return path_to_cache_dir(prefix, use_abspath=use_abspath)
 
     def clear(self):
         """
@@ -1092,8 +1070,7 @@ class EventMixin(object):
                 logger.exception('Exception during event publication')
                 value = None
             result.append(value)
-        logger.debug('publish %s: args = %s, kwargs = %s, result = %s', event,
-                     args, kwargs, result)
+        logger.debug('publish %s: args = %s, kwargs = %s, result = %s', event, args, kwargs, result)
         return result
 
 
@@ -1145,8 +1122,7 @@ class Sequencer(object):
             raise ValueError('%r not a successor of %r' % (succ, pred))
 
     def is_step(self, step):
-        return (step in self._preds or step in self._succs
-                or step in self._nodes)
+        return (step in self._preds or step in self._succs or step in self._nodes)
 
     def get_steps(self, final):
         if not self.is_step(final):
@@ -1242,8 +1218,7 @@ class Sequencer(object):
 # Unarchiving functionality for zip, tar, tgz, tbz, whl
 #
 
-ARCHIVE_EXTENSIONS = ('.tar.gz', '.tar.bz2', '.tar', '.zip', '.tgz', '.tbz',
-                      '.whl')
+ARCHIVE_EXTENSIONS = ('.tar.gz', '.tar.bz2', '.tar', '.zip', '.tgz', '.tbz', '.whl')
 
 
 def unarchive(archive_filename, dest_dir, format=None, check=True):
@@ -1474,8 +1449,7 @@ def _iglob(path_glob):
 
 
 if ssl:
-    from .compat import (HTTPSHandler as BaseHTTPSHandler, match_hostname,
-                         CertificateError)
+    from .compat import (HTTPSHandler as BaseHTTPSHandler, match_hostname, CertificateError)
 
     #
     # HTTPSConnection which verifies certificates/matches domains
@@ -1487,8 +1461,7 @@ if ssl:
 
         # noinspection PyPropertyAccess
         def connect(self):
-            sock = socket.create_connection((self.host, self.port),
-                                            self.timeout)
+            sock = socket.create_connection((self.host, self.port), self.timeout)
             if getattr(self, '_tunnel_host', False):
                 self.sock = sock
                 self._tunnel()
@@ -1543,9 +1516,8 @@ if ssl:
                 return self.do_open(self._conn_maker, req)
             except URLError as e:
                 if 'certificate verify failed' in str(e.reason):
-                    raise CertificateError(
-                        'Unable to verify server certificate '
-                        'for %s' % req.host)
+                    raise CertificateError('Unable to verify server certificate '
+                                           'for %s' % req.host)
                 else:
                     raise
 
@@ -1561,9 +1533,8 @@ if ssl:
     class HTTPSOnlyHandler(HTTPSHandler, HTTPHandler):
 
         def http_open(self, req):
-            raise URLError(
-                'Unexpected HTTP request on what should be a secure '
-                'connection: %s' % req)
+            raise URLError('Unexpected HTTP request on what should be a secure '
+                           'connection: %s' % req)
 
 
 #
@@ -1598,8 +1569,7 @@ if ssl:
             kwargs['timeout'] = self.timeout
             if not self._connection or host != self._connection[0]:
                 self._extra_headers = eh
-                self._connection = host, httplib.HTTPSConnection(
-                    h, None, **kwargs)
+                self._connection = host, httplib.HTTPSConnection(h, None, **kwargs)
             return self._connection[1]
 
 
@@ -1789,10 +1759,7 @@ class SubprocessMixin(object):
         stream.close()
 
     def run_command(self, cmd, **kwargs):
-        p = subprocess.Popen(cmd,
-                             stdout=subprocess.PIPE,
-                             stderr=subprocess.PIPE,
-                             **kwargs)
+        p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, **kwargs)
         t1 = threading.Thread(target=self.reader, args=(p.stdout, 'stdout'))
         t1.start()
         t2 = threading.Thread(target=self.reader, args=(p.stderr, 'stderr'))
@@ -1847,10 +1814,7 @@ class PyPIRCFile(object):
             if 'distutils' in sections:
                 # let's get the list of servers
                 index_servers = config.get('distutils', 'index-servers')
-                _servers = [
-                    server.strip() for server in index_servers.split('\n')
-                    if server.strip() != ''
-                ]
+                _servers = [server.strip() for server in index_servers.split('\n') if server.strip() != '']
                 if _servers == []:
                     # nothing set, let's try to get the default pypi
                     if 'pypi' in sections:
@@ -1861,9 +1825,7 @@ class PyPIRCFile(object):
                         result['username'] = config.get(server, 'username')
 
                         # optional params
-                        for key, default in (('repository',
-                                              self.DEFAULT_REPOSITORY),
-                                             ('realm', self.DEFAULT_REALM),
+                        for key, default in (('repository', self.DEFAULT_REPOSITORY), ('realm', self.DEFAULT_REALM),
                                              ('password', None)):
                             if config.has_option(server, key):
                                 result[key] = config.get(server, key)
@@ -1873,11 +1835,9 @@ class PyPIRCFile(object):
                         # work around people having "repository" for the "pypi"
                         # section of their config set to the HTTP (rather than
                         # HTTPS) URL
-                        if (server == 'pypi' and repository
-                                in (self.DEFAULT_REPOSITORY, 'pypi')):
+                        if (server == 'pypi' and repository in (self.DEFAULT_REPOSITORY, 'pypi')):
                             result['repository'] = self.DEFAULT_REPOSITORY
-                        elif (result['server'] != repository
-                              and result['repository'] != repository):
+                        elif (result['server'] != repository and result['repository'] != repository):
                             result = {}
             elif 'server-login' in sections:
                 # old format
@@ -2003,8 +1963,7 @@ def get_host_platform():
             from distutils import sysconfig
         except ImportError:
             import sysconfig
-        osname, release, machine = _osx_support.get_platform_osx(
-            sysconfig.get_config_vars(), osname, release, machine)
+        osname, release, machine = _osx_support.get_platform_osx(sysconfig.get_config_vars(), osname, release, machine)
 
     return '%s-%s-%s' % (osname, release, machine)
 
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/version.py b/.venv/Lib/site-packages/pip/_vendor/distlib/version.py
deleted file mode 100644
index 14171ac..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/distlib/version.py
+++ /dev/null
@@ -1,751 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2012-2023 The Python Software Foundation.
-# See LICENSE.txt and CONTRIBUTORS.txt.
-#
-"""
-Implementation of a flexible versioning scheme providing support for PEP-440,
-setuptools-compatible and semantic versioning.
-"""
-
-import logging
-import re
-
-from .compat import string_types
-from .util import parse_requirement
-
-__all__ = ['NormalizedVersion', 'NormalizedMatcher',
-           'LegacyVersion', 'LegacyMatcher',
-           'SemanticVersion', 'SemanticMatcher',
-           'UnsupportedVersionError', 'get_scheme']
-
-logger = logging.getLogger(__name__)
-
-
-class UnsupportedVersionError(ValueError):
-    """This is an unsupported version."""
-    pass
-
-
-class Version(object):
-    def __init__(self, s):
-        self._string = s = s.strip()
-        self._parts = parts = self.parse(s)
-        assert isinstance(parts, tuple)
-        assert len(parts) > 0
-
-    def parse(self, s):
-        raise NotImplementedError('please implement in a subclass')
-
-    def _check_compatible(self, other):
-        if type(self) != type(other):
-            raise TypeError('cannot compare %r and %r' % (self, other))
-
-    def __eq__(self, other):
-        self._check_compatible(other)
-        return self._parts == other._parts
-
-    def __ne__(self, other):
-        return not self.__eq__(other)
-
-    def __lt__(self, other):
-        self._check_compatible(other)
-        return self._parts < other._parts
-
-    def __gt__(self, other):
-        return not (self.__lt__(other) or self.__eq__(other))
-
-    def __le__(self, other):
-        return self.__lt__(other) or self.__eq__(other)
-
-    def __ge__(self, other):
-        return self.__gt__(other) or self.__eq__(other)
-
-    # See http://docs.python.org/reference/datamodel#object.__hash__
-    def __hash__(self):
-        return hash(self._parts)
-
-    def __repr__(self):
-        return "%s('%s')" % (self.__class__.__name__, self._string)
-
-    def __str__(self):
-        return self._string
-
-    @property
-    def is_prerelease(self):
-        raise NotImplementedError('Please implement in subclasses.')
-
-
-class Matcher(object):
-    version_class = None
-
-    # value is either a callable or the name of a method
-    _operators = {
-        '<': lambda v, c, p: v < c,
-        '>': lambda v, c, p: v > c,
-        '<=': lambda v, c, p: v == c or v < c,
-        '>=': lambda v, c, p: v == c or v > c,
-        '==': lambda v, c, p: v == c,
-        '===': lambda v, c, p: v == c,
-        # by default, compatible => >=.
-        '~=': lambda v, c, p: v == c or v > c,
-        '!=': lambda v, c, p: v != c,
-    }
-
-    # this is a method only to support alternative implementations
-    # via overriding
-    def parse_requirement(self, s):
-        return parse_requirement(s)
-
-    def __init__(self, s):
-        if self.version_class is None:
-            raise ValueError('Please specify a version class')
-        self._string = s = s.strip()
-        r = self.parse_requirement(s)
-        if not r:
-            raise ValueError('Not valid: %r' % s)
-        self.name = r.name
-        self.key = self.name.lower()    # for case-insensitive comparisons
-        clist = []
-        if r.constraints:
-            # import pdb; pdb.set_trace()
-            for op, s in r.constraints:
-                if s.endswith('.*'):
-                    if op not in ('==', '!='):
-                        raise ValueError('\'.*\' not allowed for '
-                                         '%r constraints' % op)
-                    # Could be a partial version (e.g. for '2.*') which
-                    # won't parse as a version, so keep it as a string
-                    vn, prefix = s[:-2], True
-                    # Just to check that vn is a valid version
-                    self.version_class(vn)
-                else:
-                    # Should parse as a version, so we can create an
-                    # instance for the comparison
-                    vn, prefix = self.version_class(s), False
-                clist.append((op, vn, prefix))
-        self._parts = tuple(clist)
-
-    def match(self, version):
-        """
-        Check if the provided version matches the constraints.
-
-        :param version: The version to match against this instance.
-        :type version: String or :class:`Version` instance.
-        """
-        if isinstance(version, string_types):
-            version = self.version_class(version)
-        for operator, constraint, prefix in self._parts:
-            f = self._operators.get(operator)
-            if isinstance(f, string_types):
-                f = getattr(self, f)
-            if not f:
-                msg = ('%r not implemented '
-                       'for %s' % (operator, self.__class__.__name__))
-                raise NotImplementedError(msg)
-            if not f(version, constraint, prefix):
-                return False
-        return True
-
-    @property
-    def exact_version(self):
-        result = None
-        if len(self._parts) == 1 and self._parts[0][0] in ('==', '==='):
-            result = self._parts[0][1]
-        return result
-
-    def _check_compatible(self, other):
-        if type(self) != type(other) or self.name != other.name:
-            raise TypeError('cannot compare %s and %s' % (self, other))
-
-    def __eq__(self, other):
-        self._check_compatible(other)
-        return self.key == other.key and self._parts == other._parts
-
-    def __ne__(self, other):
-        return not self.__eq__(other)
-
-    # See http://docs.python.org/reference/datamodel#object.__hash__
-    def __hash__(self):
-        return hash(self.key) + hash(self._parts)
-
-    def __repr__(self):
-        return "%s(%r)" % (self.__class__.__name__, self._string)
-
-    def __str__(self):
-        return self._string
-
-
-PEP440_VERSION_RE = re.compile(r'^v?(\d+!)?(\d+(\.\d+)*)((a|alpha|b|beta|c|rc|pre|preview)(\d+)?)?'
-                               r'(\.(post|r|rev)(\d+)?)?([._-]?(dev)(\d+)?)?'
-                               r'(\+([a-zA-Z\d]+(\.[a-zA-Z\d]+)?))?$', re.I)
-
-
-def _pep_440_key(s):
-    s = s.strip()
-    m = PEP440_VERSION_RE.match(s)
-    if not m:
-        raise UnsupportedVersionError('Not a valid version: %s' % s)
-    groups = m.groups()
-    nums = tuple(int(v) for v in groups[1].split('.'))
-    while len(nums) > 1 and nums[-1] == 0:
-        nums = nums[:-1]
-
-    if not groups[0]:
-        epoch = 0
-    else:
-        epoch = int(groups[0][:-1])
-    pre = groups[4:6]
-    post = groups[7:9]
-    dev = groups[10:12]
-    local = groups[13]
-    if pre == (None, None):
-        pre = ()
-    else:
-        if pre[1] is None:
-            pre = pre[0], 0
-        else:
-            pre = pre[0], int(pre[1])
-    if post == (None, None):
-        post = ()
-    else:
-        if post[1] is None:
-            post = post[0], 0
-        else:
-            post = post[0], int(post[1])
-    if dev == (None, None):
-        dev = ()
-    else:
-        if dev[1] is None:
-            dev = dev[0], 0
-        else:
-            dev = dev[0], int(dev[1])
-    if local is None:
-        local = ()
-    else:
-        parts = []
-        for part in local.split('.'):
-            # to ensure that numeric compares as > lexicographic, avoid
-            # comparing them directly, but encode a tuple which ensures
-            # correct sorting
-            if part.isdigit():
-                part = (1, int(part))
-            else:
-                part = (0, part)
-            parts.append(part)
-        local = tuple(parts)
-    if not pre:
-        # either before pre-release, or final release and after
-        if not post and dev:
-            # before pre-release
-            pre = ('a', -1)     # to sort before a0
-        else:
-            pre = ('z',)        # to sort after all pre-releases
-    # now look at the state of post and dev.
-    if not post:
-        post = ('_',)   # sort before 'a'
-    if not dev:
-        dev = ('final',)
-
-    return epoch, nums, pre, post, dev, local
-
-
-_normalized_key = _pep_440_key
-
-
-class NormalizedVersion(Version):
-    """A rational version.
-
-    Good:
-        1.2         # equivalent to "1.2.0"
-        1.2.0
-        1.2a1
-        1.2.3a2
-        1.2.3b1
-        1.2.3c1
-        1.2.3.4
-        TODO: fill this out
-
-    Bad:
-        1           # minimum two numbers
-        1.2a        # release level must have a release serial
-        1.2.3b
-    """
-    def parse(self, s):
-        result = _normalized_key(s)
-        # _normalized_key loses trailing zeroes in the release
-        # clause, since that's needed to ensure that X.Y == X.Y.0 == X.Y.0.0
-        # However, PEP 440 prefix matching needs it: for example,
-        # (~= 1.4.5.0) matches differently to (~= 1.4.5.0.0).
-        m = PEP440_VERSION_RE.match(s)      # must succeed
-        groups = m.groups()
-        self._release_clause = tuple(int(v) for v in groups[1].split('.'))
-        return result
-
-    PREREL_TAGS = set(['a', 'b', 'c', 'rc', 'dev'])
-
-    @property
-    def is_prerelease(self):
-        return any(t[0] in self.PREREL_TAGS for t in self._parts if t)
-
-
-def _match_prefix(x, y):
-    x = str(x)
-    y = str(y)
-    if x == y:
-        return True
-    if not x.startswith(y):
-        return False
-    n = len(y)
-    return x[n] == '.'
-
-
-class NormalizedMatcher(Matcher):
-    version_class = NormalizedVersion
-
-    # value is either a callable or the name of a method
-    _operators = {
-        '~=': '_match_compatible',
-        '<': '_match_lt',
-        '>': '_match_gt',
-        '<=': '_match_le',
-        '>=': '_match_ge',
-        '==': '_match_eq',
-        '===': '_match_arbitrary',
-        '!=': '_match_ne',
-    }
-
-    def _adjust_local(self, version, constraint, prefix):
-        if prefix:
-            strip_local = '+' not in constraint and version._parts[-1]
-        else:
-            # both constraint and version are
-            # NormalizedVersion instances.
-            # If constraint does not have a local component,
-            # ensure the version doesn't, either.
-            strip_local = not constraint._parts[-1] and version._parts[-1]
-        if strip_local:
-            s = version._string.split('+', 1)[0]
-            version = self.version_class(s)
-        return version, constraint
-
-    def _match_lt(self, version, constraint, prefix):
-        version, constraint = self._adjust_local(version, constraint, prefix)
-        if version >= constraint:
-            return False
-        release_clause = constraint._release_clause
-        pfx = '.'.join([str(i) for i in release_clause])
-        return not _match_prefix(version, pfx)
-
-    def _match_gt(self, version, constraint, prefix):
-        version, constraint = self._adjust_local(version, constraint, prefix)
-        if version <= constraint:
-            return False
-        release_clause = constraint._release_clause
-        pfx = '.'.join([str(i) for i in release_clause])
-        return not _match_prefix(version, pfx)
-
-    def _match_le(self, version, constraint, prefix):
-        version, constraint = self._adjust_local(version, constraint, prefix)
-        return version <= constraint
-
-    def _match_ge(self, version, constraint, prefix):
-        version, constraint = self._adjust_local(version, constraint, prefix)
-        return version >= constraint
-
-    def _match_eq(self, version, constraint, prefix):
-        version, constraint = self._adjust_local(version, constraint, prefix)
-        if not prefix:
-            result = (version == constraint)
-        else:
-            result = _match_prefix(version, constraint)
-        return result
-
-    def _match_arbitrary(self, version, constraint, prefix):
-        return str(version) == str(constraint)
-
-    def _match_ne(self, version, constraint, prefix):
-        version, constraint = self._adjust_local(version, constraint, prefix)
-        if not prefix:
-            result = (version != constraint)
-        else:
-            result = not _match_prefix(version, constraint)
-        return result
-
-    def _match_compatible(self, version, constraint, prefix):
-        version, constraint = self._adjust_local(version, constraint, prefix)
-        if version == constraint:
-            return True
-        if version < constraint:
-            return False
-#        if not prefix:
-#            return True
-        release_clause = constraint._release_clause
-        if len(release_clause) > 1:
-            release_clause = release_clause[:-1]
-        pfx = '.'.join([str(i) for i in release_clause])
-        return _match_prefix(version, pfx)
-
-
-_REPLACEMENTS = (
-    (re.compile('[.+-]$'), ''),                     # remove trailing puncts
-    (re.compile(r'^[.](\d)'), r'0.\1'),             # .N -> 0.N at start
-    (re.compile('^[.-]'), ''),                      # remove leading puncts
-    (re.compile(r'^\((.*)\)$'), r'\1'),             # remove parentheses
-    (re.compile(r'^v(ersion)?\s*(\d+)'), r'\2'),    # remove leading v(ersion)
-    (re.compile(r'^r(ev)?\s*(\d+)'), r'\2'),        # remove leading v(ersion)
-    (re.compile('[.]{2,}'), '.'),                   # multiple runs of '.'
-    (re.compile(r'\b(alfa|apha)\b'), 'alpha'),      # misspelt alpha
-    (re.compile(r'\b(pre-alpha|prealpha)\b'),
-        'pre.alpha'),                               # standardise
-    (re.compile(r'\(beta\)$'), 'beta'),             # remove parentheses
-)
-
-_SUFFIX_REPLACEMENTS = (
-    (re.compile('^[:~._+-]+'), ''),                   # remove leading puncts
-    (re.compile('[,*")([\\]]'), ''),                  # remove unwanted chars
-    (re.compile('[~:+_ -]'), '.'),                    # replace illegal chars
-    (re.compile('[.]{2,}'), '.'),                   # multiple runs of '.'
-    (re.compile(r'\.$'), ''),                       # trailing '.'
-)
-
-_NUMERIC_PREFIX = re.compile(r'(\d+(\.\d+)*)')
-
-
-def _suggest_semantic_version(s):
-    """
-    Try to suggest a semantic form for a version for which
-    _suggest_normalized_version couldn't come up with anything.
-    """
-    result = s.strip().lower()
-    for pat, repl in _REPLACEMENTS:
-        result = pat.sub(repl, result)
-    if not result:
-        result = '0.0.0'
-
-    # Now look for numeric prefix, and separate it out from
-    # the rest.
-    # import pdb; pdb.set_trace()
-    m = _NUMERIC_PREFIX.match(result)
-    if not m:
-        prefix = '0.0.0'
-        suffix = result
-    else:
-        prefix = m.groups()[0].split('.')
-        prefix = [int(i) for i in prefix]
-        while len(prefix) < 3:
-            prefix.append(0)
-        if len(prefix) == 3:
-            suffix = result[m.end():]
-        else:
-            suffix = '.'.join([str(i) for i in prefix[3:]]) + result[m.end():]
-            prefix = prefix[:3]
-        prefix = '.'.join([str(i) for i in prefix])
-        suffix = suffix.strip()
-    if suffix:
-        # import pdb; pdb.set_trace()
-        # massage the suffix.
-        for pat, repl in _SUFFIX_REPLACEMENTS:
-            suffix = pat.sub(repl, suffix)
-
-    if not suffix:
-        result = prefix
-    else:
-        sep = '-' if 'dev' in suffix else '+'
-        result = prefix + sep + suffix
-    if not is_semver(result):
-        result = None
-    return result
-
-
-def _suggest_normalized_version(s):
-    """Suggest a normalized version close to the given version string.
-
-    If you have a version string that isn't rational (i.e. NormalizedVersion
-    doesn't like it) then you might be able to get an equivalent (or close)
-    rational version from this function.
-
-    This does a number of simple normalizations to the given string, based
-    on observation of versions currently in use on PyPI. Given a dump of
-    those version during PyCon 2009, 4287 of them:
-    - 2312 (53.93%) match NormalizedVersion without change
-      with the automatic suggestion
-    - 3474 (81.04%) match when using this suggestion method
-
-    @param s {str} An irrational version string.
-    @returns A rational version string, or None, if couldn't determine one.
-    """
-    try:
-        _normalized_key(s)
-        return s   # already rational
-    except UnsupportedVersionError:
-        pass
-
-    rs = s.lower()
-
-    # part of this could use maketrans
-    for orig, repl in (('-alpha', 'a'), ('-beta', 'b'), ('alpha', 'a'),
-                       ('beta', 'b'), ('rc', 'c'), ('-final', ''),
-                       ('-pre', 'c'),
-                       ('-release', ''), ('.release', ''), ('-stable', ''),
-                       ('+', '.'), ('_', '.'), (' ', ''), ('.final', ''),
-                       ('final', '')):
-        rs = rs.replace(orig, repl)
-
-    # if something ends with dev or pre, we add a 0
-    rs = re.sub(r"pre$", r"pre0", rs)
-    rs = re.sub(r"dev$", r"dev0", rs)
-
-    # if we have something like "b-2" or "a.2" at the end of the
-    # version, that is probably beta, alpha, etc
-    # let's remove the dash or dot
-    rs = re.sub(r"([abc]|rc)[\-\.](\d+)$", r"\1\2", rs)
-
-    # 1.0-dev-r371 -> 1.0.dev371
-    # 0.1-dev-r79 -> 0.1.dev79
-    rs = re.sub(r"[\-\.](dev)[\-\.]?r?(\d+)$", r".\1\2", rs)
-
-    # Clean: 2.0.a.3, 2.0.b1, 0.9.0~c1
-    rs = re.sub(r"[.~]?([abc])\.?", r"\1", rs)
-
-    # Clean: v0.3, v1.0
-    if rs.startswith('v'):
-        rs = rs[1:]
-
-    # Clean leading '0's on numbers.
-    # TODO: unintended side-effect on, e.g., "2003.05.09"
-    # PyPI stats: 77 (~2%) better
-    rs = re.sub(r"\b0+(\d+)(?!\d)", r"\1", rs)
-
-    # Clean a/b/c with no version. E.g. "1.0a" -> "1.0a0". Setuptools infers
-    # zero.
-    # PyPI stats: 245 (7.56%) better
-    rs = re.sub(r"(\d+[abc])$", r"\g<1>0", rs)
-
-    # the 'dev-rNNN' tag is a dev tag
-    rs = re.sub(r"\.?(dev-r|dev\.r)\.?(\d+)$", r".dev\2", rs)
-
-    # clean the - when used as a pre delimiter
-    rs = re.sub(r"-(a|b|c)(\d+)$", r"\1\2", rs)
-
-    # a terminal "dev" or "devel" can be changed into ".dev0"
-    rs = re.sub(r"[\.\-](dev|devel)$", r".dev0", rs)
-
-    # a terminal "dev" can be changed into ".dev0"
-    rs = re.sub(r"(?![\.\-])dev$", r".dev0", rs)
-
-    # a terminal "final" or "stable" can be removed
-    rs = re.sub(r"(final|stable)$", "", rs)
-
-    # The 'r' and the '-' tags are post release tags
-    #   0.4a1.r10       ->  0.4a1.post10
-    #   0.9.33-17222    ->  0.9.33.post17222
-    #   0.9.33-r17222   ->  0.9.33.post17222
-    rs = re.sub(r"\.?(r|-|-r)\.?(\d+)$", r".post\2", rs)
-
-    # Clean 'r' instead of 'dev' usage:
-    #   0.9.33+r17222   ->  0.9.33.dev17222
-    #   1.0dev123       ->  1.0.dev123
-    #   1.0.git123      ->  1.0.dev123
-    #   1.0.bzr123      ->  1.0.dev123
-    #   0.1a0dev.123    ->  0.1a0.dev123
-    # PyPI stats:  ~150 (~4%) better
-    rs = re.sub(r"\.?(dev|git|bzr)\.?(\d+)$", r".dev\2", rs)
-
-    # Clean '.pre' (normalized from '-pre' above) instead of 'c' usage:
-    #   0.2.pre1        ->  0.2c1
-    #   0.2-c1         ->  0.2c1
-    #   1.0preview123   ->  1.0c123
-    # PyPI stats: ~21 (0.62%) better
-    rs = re.sub(r"\.?(pre|preview|-c)(\d+)$", r"c\g<2>", rs)
-
-    # Tcl/Tk uses "px" for their post release markers
-    rs = re.sub(r"p(\d+)$", r".post\1", rs)
-
-    try:
-        _normalized_key(rs)
-    except UnsupportedVersionError:
-        rs = None
-    return rs
-
-#
-#   Legacy version processing (distribute-compatible)
-#
-
-
-_VERSION_PART = re.compile(r'([a-z]+|\d+|[\.-])', re.I)
-_VERSION_REPLACE = {
-    'pre': 'c',
-    'preview': 'c',
-    '-': 'final-',
-    'rc': 'c',
-    'dev': '@',
-    '': None,
-    '.': None,
-}
-
-
-def _legacy_key(s):
-    def get_parts(s):
-        result = []
-        for p in _VERSION_PART.split(s.lower()):
-            p = _VERSION_REPLACE.get(p, p)
-            if p:
-                if '0' <= p[:1] <= '9':
-                    p = p.zfill(8)
-                else:
-                    p = '*' + p
-                result.append(p)
-        result.append('*final')
-        return result
-
-    result = []
-    for p in get_parts(s):
-        if p.startswith('*'):
-            if p < '*final':
-                while result and result[-1] == '*final-':
-                    result.pop()
-            while result and result[-1] == '00000000':
-                result.pop()
-        result.append(p)
-    return tuple(result)
-
-
-class LegacyVersion(Version):
-    def parse(self, s):
-        return _legacy_key(s)
-
-    @property
-    def is_prerelease(self):
-        result = False
-        for x in self._parts:
-            if (isinstance(x, string_types) and x.startswith('*') and
-                    x < '*final'):
-                result = True
-                break
-        return result
-
-
-class LegacyMatcher(Matcher):
-    version_class = LegacyVersion
-
-    _operators = dict(Matcher._operators)
-    _operators['~='] = '_match_compatible'
-
-    numeric_re = re.compile(r'^(\d+(\.\d+)*)')
-
-    def _match_compatible(self, version, constraint, prefix):
-        if version < constraint:
-            return False
-        m = self.numeric_re.match(str(constraint))
-        if not m:
-            logger.warning('Cannot compute compatible match for version %s '
-                           ' and constraint %s', version, constraint)
-            return True
-        s = m.groups()[0]
-        if '.' in s:
-            s = s.rsplit('.', 1)[0]
-        return _match_prefix(version, s)
-
-#
-#   Semantic versioning
-#
-
-
-_SEMVER_RE = re.compile(r'^(\d+)\.(\d+)\.(\d+)'
-                        r'(-[a-z0-9]+(\.[a-z0-9-]+)*)?'
-                        r'(\+[a-z0-9]+(\.[a-z0-9-]+)*)?$', re.I)
-
-
-def is_semver(s):
-    return _SEMVER_RE.match(s)
-
-
-def _semantic_key(s):
-    def make_tuple(s, absent):
-        if s is None:
-            result = (absent,)
-        else:
-            parts = s[1:].split('.')
-            # We can't compare ints and strings on Python 3, so fudge it
-            # by zero-filling numeric values so simulate a numeric comparison
-            result = tuple([p.zfill(8) if p.isdigit() else p for p in parts])
-        return result
-
-    m = is_semver(s)
-    if not m:
-        raise UnsupportedVersionError(s)
-    groups = m.groups()
-    major, minor, patch = [int(i) for i in groups[:3]]
-    # choose the '|' and '*' so that versions sort correctly
-    pre, build = make_tuple(groups[3], '|'), make_tuple(groups[5], '*')
-    return (major, minor, patch), pre, build
-
-
-class SemanticVersion(Version):
-    def parse(self, s):
-        return _semantic_key(s)
-
-    @property
-    def is_prerelease(self):
-        return self._parts[1][0] != '|'
-
-
-class SemanticMatcher(Matcher):
-    version_class = SemanticVersion
-
-
-class VersionScheme(object):
-    def __init__(self, key, matcher, suggester=None):
-        self.key = key
-        self.matcher = matcher
-        self.suggester = suggester
-
-    def is_valid_version(self, s):
-        try:
-            self.matcher.version_class(s)
-            result = True
-        except UnsupportedVersionError:
-            result = False
-        return result
-
-    def is_valid_matcher(self, s):
-        try:
-            self.matcher(s)
-            result = True
-        except UnsupportedVersionError:
-            result = False
-        return result
-
-    def is_valid_constraint_list(self, s):
-        """
-        Used for processing some metadata fields
-        """
-        # See issue #140. Be tolerant of a single trailing comma.
-        if s.endswith(','):
-            s = s[:-1]
-        return self.is_valid_matcher('dummy_name (%s)' % s)
-
-    def suggest(self, s):
-        if self.suggester is None:
-            result = None
-        else:
-            result = self.suggester(s)
-        return result
-
-
-_SCHEMES = {
-    'normalized': VersionScheme(_normalized_key, NormalizedMatcher,
-                                _suggest_normalized_version),
-    'legacy': VersionScheme(_legacy_key, LegacyMatcher, lambda self, s: s),
-    'semantic': VersionScheme(_semantic_key, SemanticMatcher,
-                              _suggest_semantic_version),
-}
-
-_SCHEMES['default'] = _SCHEMES['normalized']
-
-
-def get_scheme(name):
-    if name not in _SCHEMES:
-        raise ValueError('unknown scheme name: %r' % name)
-    return _SCHEMES[name]
diff --git a/.venv/Lib/site-packages/pip/_vendor/distlib/wheel.py b/.venv/Lib/site-packages/pip/_vendor/distlib/wheel.py
deleted file mode 100644
index 4a5a30e..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/distlib/wheel.py
+++ /dev/null
@@ -1,1099 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2013-2023 Vinay Sajip.
-# Licensed to the Python Software Foundation under a contributor agreement.
-# See LICENSE.txt and CONTRIBUTORS.txt.
-#
-from __future__ import unicode_literals
-
-import base64
-import codecs
-import datetime
-from email import message_from_file
-import hashlib
-import json
-import logging
-import os
-import posixpath
-import re
-import shutil
-import sys
-import tempfile
-import zipfile
-
-from . import __version__, DistlibException
-from .compat import sysconfig, ZipFile, fsdecode, text_type, filter
-from .database import InstalledDistribution
-from .metadata import Metadata, WHEEL_METADATA_FILENAME, LEGACY_METADATA_FILENAME
-from .util import (FileOperator, convert_path, CSVReader, CSVWriter, Cache,
-                   cached_property, get_cache_base, read_exports, tempdir,
-                   get_platform)
-from .version import NormalizedVersion, UnsupportedVersionError
-
-logger = logging.getLogger(__name__)
-
-cache = None  # created when needed
-
-if hasattr(sys, 'pypy_version_info'):  # pragma: no cover
-    IMP_PREFIX = 'pp'
-elif sys.platform.startswith('java'):  # pragma: no cover
-    IMP_PREFIX = 'jy'
-elif sys.platform == 'cli':  # pragma: no cover
-    IMP_PREFIX = 'ip'
-else:
-    IMP_PREFIX = 'cp'
-
-VER_SUFFIX = sysconfig.get_config_var('py_version_nodot')
-if not VER_SUFFIX:  # pragma: no cover
-    VER_SUFFIX = '%s%s' % sys.version_info[:2]
-PYVER = 'py' + VER_SUFFIX
-IMPVER = IMP_PREFIX + VER_SUFFIX
-
-ARCH = get_platform().replace('-', '_').replace('.', '_')
-
-ABI = sysconfig.get_config_var('SOABI')
-if ABI and ABI.startswith('cpython-'):
-    ABI = ABI.replace('cpython-', 'cp').split('-')[0]
-else:
-
-    def _derive_abi():
-        parts = ['cp', VER_SUFFIX]
-        if sysconfig.get_config_var('Py_DEBUG'):
-            parts.append('d')
-        if IMP_PREFIX == 'cp':
-            vi = sys.version_info[:2]
-            if vi < (3, 8):
-                wpm = sysconfig.get_config_var('WITH_PYMALLOC')
-                if wpm is None:
-                    wpm = True
-                if wpm:
-                    parts.append('m')
-                if vi < (3, 3):
-                    us = sysconfig.get_config_var('Py_UNICODE_SIZE')
-                    if us == 4 or (us is None and sys.maxunicode == 0x10FFFF):
-                        parts.append('u')
-        return ''.join(parts)
-
-    ABI = _derive_abi()
-    del _derive_abi
-
-FILENAME_RE = re.compile(
-    r'''
-(?P[^-]+)
--(?P\d+[^-]*)
-(-(?P\d+[^-]*))?
--(?P\w+\d+(\.\w+\d+)*)
--(?P\w+)
--(?P\w+(\.\w+)*)
-\.whl$
-''', re.IGNORECASE | re.VERBOSE)
-
-NAME_VERSION_RE = re.compile(
-    r'''
-(?P[^-]+)
--(?P\d+[^-]*)
-(-(?P\d+[^-]*))?$
-''', re.IGNORECASE | re.VERBOSE)
-
-SHEBANG_RE = re.compile(br'\s*#![^\r\n]*')
-SHEBANG_DETAIL_RE = re.compile(br'^(\s*#!("[^"]+"|\S+))\s+(.*)$')
-SHEBANG_PYTHON = b'#!python'
-SHEBANG_PYTHONW = b'#!pythonw'
-
-if os.sep == '/':
-    to_posix = lambda o: o
-else:
-    to_posix = lambda o: o.replace(os.sep, '/')
-
-if sys.version_info[0] < 3:
-    import imp
-else:
-    imp = None
-    import importlib.machinery
-    import importlib.util
-
-
-def _get_suffixes():
-    if imp:
-        return [s[0] for s in imp.get_suffixes()]
-    else:
-        return importlib.machinery.EXTENSION_SUFFIXES
-
-
-def _load_dynamic(name, path):
-    # https://docs.python.org/3/library/importlib.html#importing-a-source-file-directly
-    if imp:
-        return imp.load_dynamic(name, path)
-    else:
-        spec = importlib.util.spec_from_file_location(name, path)
-        module = importlib.util.module_from_spec(spec)
-        sys.modules[name] = module
-        spec.loader.exec_module(module)
-        return module
-
-
-class Mounter(object):
-
-    def __init__(self):
-        self.impure_wheels = {}
-        self.libs = {}
-
-    def add(self, pathname, extensions):
-        self.impure_wheels[pathname] = extensions
-        self.libs.update(extensions)
-
-    def remove(self, pathname):
-        extensions = self.impure_wheels.pop(pathname)
-        for k, v in extensions:
-            if k in self.libs:
-                del self.libs[k]
-
-    def find_module(self, fullname, path=None):
-        if fullname in self.libs:
-            result = self
-        else:
-            result = None
-        return result
-
-    def load_module(self, fullname):
-        if fullname in sys.modules:
-            result = sys.modules[fullname]
-        else:
-            if fullname not in self.libs:
-                raise ImportError('unable to find extension for %s' % fullname)
-            result = _load_dynamic(fullname, self.libs[fullname])
-            result.__loader__ = self
-            parts = fullname.rsplit('.', 1)
-            if len(parts) > 1:
-                result.__package__ = parts[0]
-        return result
-
-
-_hook = Mounter()
-
-
-class Wheel(object):
-    """
-    Class to build and install from Wheel files (PEP 427).
-    """
-
-    wheel_version = (1, 1)
-    hash_kind = 'sha256'
-
-    def __init__(self, filename=None, sign=False, verify=False):
-        """
-        Initialise an instance using a (valid) filename.
-        """
-        self.sign = sign
-        self.should_verify = verify
-        self.buildver = ''
-        self.pyver = [PYVER]
-        self.abi = ['none']
-        self.arch = ['any']
-        self.dirname = os.getcwd()
-        if filename is None:
-            self.name = 'dummy'
-            self.version = '0.1'
-            self._filename = self.filename
-        else:
-            m = NAME_VERSION_RE.match(filename)
-            if m:
-                info = m.groupdict('')
-                self.name = info['nm']
-                # Reinstate the local version separator
-                self.version = info['vn'].replace('_', '-')
-                self.buildver = info['bn']
-                self._filename = self.filename
-            else:
-                dirname, filename = os.path.split(filename)
-                m = FILENAME_RE.match(filename)
-                if not m:
-                    raise DistlibException('Invalid name or '
-                                           'filename: %r' % filename)
-                if dirname:
-                    self.dirname = os.path.abspath(dirname)
-                self._filename = filename
-                info = m.groupdict('')
-                self.name = info['nm']
-                self.version = info['vn']
-                self.buildver = info['bn']
-                self.pyver = info['py'].split('.')
-                self.abi = info['bi'].split('.')
-                self.arch = info['ar'].split('.')
-
-    @property
-    def filename(self):
-        """
-        Build and return a filename from the various components.
-        """
-        if self.buildver:
-            buildver = '-' + self.buildver
-        else:
-            buildver = ''
-        pyver = '.'.join(self.pyver)
-        abi = '.'.join(self.abi)
-        arch = '.'.join(self.arch)
-        # replace - with _ as a local version separator
-        version = self.version.replace('-', '_')
-        return '%s-%s%s-%s-%s-%s.whl' % (self.name, version, buildver, pyver,
-                                         abi, arch)
-
-    @property
-    def exists(self):
-        path = os.path.join(self.dirname, self.filename)
-        return os.path.isfile(path)
-
-    @property
-    def tags(self):
-        for pyver in self.pyver:
-            for abi in self.abi:
-                for arch in self.arch:
-                    yield pyver, abi, arch
-
-    @cached_property
-    def metadata(self):
-        pathname = os.path.join(self.dirname, self.filename)
-        name_ver = '%s-%s' % (self.name, self.version)
-        info_dir = '%s.dist-info' % name_ver
-        wrapper = codecs.getreader('utf-8')
-        with ZipFile(pathname, 'r') as zf:
-            self.get_wheel_metadata(zf)
-            # wv = wheel_metadata['Wheel-Version'].split('.', 1)
-            # file_version = tuple([int(i) for i in wv])
-            # if file_version < (1, 1):
-            # fns = [WHEEL_METADATA_FILENAME, METADATA_FILENAME,
-            # LEGACY_METADATA_FILENAME]
-            # else:
-            # fns = [WHEEL_METADATA_FILENAME, METADATA_FILENAME]
-            fns = [WHEEL_METADATA_FILENAME, LEGACY_METADATA_FILENAME]
-            result = None
-            for fn in fns:
-                try:
-                    metadata_filename = posixpath.join(info_dir, fn)
-                    with zf.open(metadata_filename) as bf:
-                        wf = wrapper(bf)
-                        result = Metadata(fileobj=wf)
-                        if result:
-                            break
-                except KeyError:
-                    pass
-            if not result:
-                raise ValueError('Invalid wheel, because metadata is '
-                                 'missing: looked in %s' % ', '.join(fns))
-        return result
-
-    def get_wheel_metadata(self, zf):
-        name_ver = '%s-%s' % (self.name, self.version)
-        info_dir = '%s.dist-info' % name_ver
-        metadata_filename = posixpath.join(info_dir, 'WHEEL')
-        with zf.open(metadata_filename) as bf:
-            wf = codecs.getreader('utf-8')(bf)
-            message = message_from_file(wf)
-        return dict(message)
-
-    @cached_property
-    def info(self):
-        pathname = os.path.join(self.dirname, self.filename)
-        with ZipFile(pathname, 'r') as zf:
-            result = self.get_wheel_metadata(zf)
-        return result
-
-    def process_shebang(self, data):
-        m = SHEBANG_RE.match(data)
-        if m:
-            end = m.end()
-            shebang, data_after_shebang = data[:end], data[end:]
-            # Preserve any arguments after the interpreter
-            if b'pythonw' in shebang.lower():
-                shebang_python = SHEBANG_PYTHONW
-            else:
-                shebang_python = SHEBANG_PYTHON
-            m = SHEBANG_DETAIL_RE.match(shebang)
-            if m:
-                args = b' ' + m.groups()[-1]
-            else:
-                args = b''
-            shebang = shebang_python + args
-            data = shebang + data_after_shebang
-        else:
-            cr = data.find(b'\r')
-            lf = data.find(b'\n')
-            if cr < 0 or cr > lf:
-                term = b'\n'
-            else:
-                if data[cr:cr + 2] == b'\r\n':
-                    term = b'\r\n'
-                else:
-                    term = b'\r'
-            data = SHEBANG_PYTHON + term + data
-        return data
-
-    def get_hash(self, data, hash_kind=None):
-        if hash_kind is None:
-            hash_kind = self.hash_kind
-        try:
-            hasher = getattr(hashlib, hash_kind)
-        except AttributeError:
-            raise DistlibException('Unsupported hash algorithm: %r' %
-                                   hash_kind)
-        result = hasher(data).digest()
-        result = base64.urlsafe_b64encode(result).rstrip(b'=').decode('ascii')
-        return hash_kind, result
-
-    def write_record(self, records, record_path, archive_record_path):
-        records = list(records)  # make a copy, as mutated
-        records.append((archive_record_path, '', ''))
-        with CSVWriter(record_path) as writer:
-            for row in records:
-                writer.writerow(row)
-
-    def write_records(self, info, libdir, archive_paths):
-        records = []
-        distinfo, info_dir = info
-        # hasher = getattr(hashlib, self.hash_kind)
-        for ap, p in archive_paths:
-            with open(p, 'rb') as f:
-                data = f.read()
-            digest = '%s=%s' % self.get_hash(data)
-            size = os.path.getsize(p)
-            records.append((ap, digest, size))
-
-        p = os.path.join(distinfo, 'RECORD')
-        ap = to_posix(os.path.join(info_dir, 'RECORD'))
-        self.write_record(records, p, ap)
-        archive_paths.append((ap, p))
-
-    def build_zip(self, pathname, archive_paths):
-        with ZipFile(pathname, 'w', zipfile.ZIP_DEFLATED) as zf:
-            for ap, p in archive_paths:
-                logger.debug('Wrote %s to %s in wheel', p, ap)
-                zf.write(p, ap)
-
-    def build(self, paths, tags=None, wheel_version=None):
-        """
-        Build a wheel from files in specified paths, and use any specified tags
-        when determining the name of the wheel.
-        """
-        if tags is None:
-            tags = {}
-
-        libkey = list(filter(lambda o: o in paths, ('purelib', 'platlib')))[0]
-        if libkey == 'platlib':
-            is_pure = 'false'
-            default_pyver = [IMPVER]
-            default_abi = [ABI]
-            default_arch = [ARCH]
-        else:
-            is_pure = 'true'
-            default_pyver = [PYVER]
-            default_abi = ['none']
-            default_arch = ['any']
-
-        self.pyver = tags.get('pyver', default_pyver)
-        self.abi = tags.get('abi', default_abi)
-        self.arch = tags.get('arch', default_arch)
-
-        libdir = paths[libkey]
-
-        name_ver = '%s-%s' % (self.name, self.version)
-        data_dir = '%s.data' % name_ver
-        info_dir = '%s.dist-info' % name_ver
-
-        archive_paths = []
-
-        # First, stuff which is not in site-packages
-        for key in ('data', 'headers', 'scripts'):
-            if key not in paths:
-                continue
-            path = paths[key]
-            if os.path.isdir(path):
-                for root, dirs, files in os.walk(path):
-                    for fn in files:
-                        p = fsdecode(os.path.join(root, fn))
-                        rp = os.path.relpath(p, path)
-                        ap = to_posix(os.path.join(data_dir, key, rp))
-                        archive_paths.append((ap, p))
-                        if key == 'scripts' and not p.endswith('.exe'):
-                            with open(p, 'rb') as f:
-                                data = f.read()
-                            data = self.process_shebang(data)
-                            with open(p, 'wb') as f:
-                                f.write(data)
-
-        # Now, stuff which is in site-packages, other than the
-        # distinfo stuff.
-        path = libdir
-        distinfo = None
-        for root, dirs, files in os.walk(path):
-            if root == path:
-                # At the top level only, save distinfo for later
-                # and skip it for now
-                for i, dn in enumerate(dirs):
-                    dn = fsdecode(dn)
-                    if dn.endswith('.dist-info'):
-                        distinfo = os.path.join(root, dn)
-                        del dirs[i]
-                        break
-                assert distinfo, '.dist-info directory expected, not found'
-
-            for fn in files:
-                # comment out next suite to leave .pyc files in
-                if fsdecode(fn).endswith(('.pyc', '.pyo')):
-                    continue
-                p = os.path.join(root, fn)
-                rp = to_posix(os.path.relpath(p, path))
-                archive_paths.append((rp, p))
-
-        # Now distinfo. Assumed to be flat, i.e. os.listdir is enough.
-        files = os.listdir(distinfo)
-        for fn in files:
-            if fn not in ('RECORD', 'INSTALLER', 'SHARED', 'WHEEL'):
-                p = fsdecode(os.path.join(distinfo, fn))
-                ap = to_posix(os.path.join(info_dir, fn))
-                archive_paths.append((ap, p))
-
-        wheel_metadata = [
-            'Wheel-Version: %d.%d' % (wheel_version or self.wheel_version),
-            'Generator: distlib %s' % __version__,
-            'Root-Is-Purelib: %s' % is_pure,
-        ]
-        for pyver, abi, arch in self.tags:
-            wheel_metadata.append('Tag: %s-%s-%s' % (pyver, abi, arch))
-        p = os.path.join(distinfo, 'WHEEL')
-        with open(p, 'w') as f:
-            f.write('\n'.join(wheel_metadata))
-        ap = to_posix(os.path.join(info_dir, 'WHEEL'))
-        archive_paths.append((ap, p))
-
-        # sort the entries by archive path. Not needed by any spec, but it
-        # keeps the archive listing and RECORD tidier than they would otherwise
-        # be. Use the number of path segments to keep directory entries together,
-        # and keep the dist-info stuff at the end.
-        def sorter(t):
-            ap = t[0]
-            n = ap.count('/')
-            if '.dist-info' in ap:
-                n += 10000
-            return (n, ap)
-
-        archive_paths = sorted(archive_paths, key=sorter)
-
-        # Now, at last, RECORD.
-        # Paths in here are archive paths - nothing else makes sense.
-        self.write_records((distinfo, info_dir), libdir, archive_paths)
-        # Now, ready to build the zip file
-        pathname = os.path.join(self.dirname, self.filename)
-        self.build_zip(pathname, archive_paths)
-        return pathname
-
-    def skip_entry(self, arcname):
-        """
-        Determine whether an archive entry should be skipped when verifying
-        or installing.
-        """
-        # The signature file won't be in RECORD,
-        # and we  don't currently don't do anything with it
-        # We also skip directories, as they won't be in RECORD
-        # either. See:
-        #
-        # https://github.com/pypa/wheel/issues/294
-        # https://github.com/pypa/wheel/issues/287
-        # https://github.com/pypa/wheel/pull/289
-        #
-        return arcname.endswith(('/', '/RECORD.jws'))
-
-    def install(self, paths, maker, **kwargs):
-        """
-        Install a wheel to the specified paths. If kwarg ``warner`` is
-        specified, it should be a callable, which will be called with two
-        tuples indicating the wheel version of this software and the wheel
-        version in the file, if there is a discrepancy in the versions.
-        This can be used to issue any warnings to raise any exceptions.
-        If kwarg ``lib_only`` is True, only the purelib/platlib files are
-        installed, and the headers, scripts, data and dist-info metadata are
-        not written. If kwarg ``bytecode_hashed_invalidation`` is True, written
-        bytecode will try to use file-hash based invalidation (PEP-552) on
-        supported interpreter versions (CPython 2.7+).
-
-        The return value is a :class:`InstalledDistribution` instance unless
-        ``options.lib_only`` is True, in which case the return value is ``None``.
-        """
-
-        dry_run = maker.dry_run
-        warner = kwargs.get('warner')
-        lib_only = kwargs.get('lib_only', False)
-        bc_hashed_invalidation = kwargs.get('bytecode_hashed_invalidation',
-                                            False)
-
-        pathname = os.path.join(self.dirname, self.filename)
-        name_ver = '%s-%s' % (self.name, self.version)
-        data_dir = '%s.data' % name_ver
-        info_dir = '%s.dist-info' % name_ver
-
-        metadata_name = posixpath.join(info_dir, LEGACY_METADATA_FILENAME)
-        wheel_metadata_name = posixpath.join(info_dir, 'WHEEL')
-        record_name = posixpath.join(info_dir, 'RECORD')
-
-        wrapper = codecs.getreader('utf-8')
-
-        with ZipFile(pathname, 'r') as zf:
-            with zf.open(wheel_metadata_name) as bwf:
-                wf = wrapper(bwf)
-                message = message_from_file(wf)
-            wv = message['Wheel-Version'].split('.', 1)
-            file_version = tuple([int(i) for i in wv])
-            if (file_version != self.wheel_version) and warner:
-                warner(self.wheel_version, file_version)
-
-            if message['Root-Is-Purelib'] == 'true':
-                libdir = paths['purelib']
-            else:
-                libdir = paths['platlib']
-
-            records = {}
-            with zf.open(record_name) as bf:
-                with CSVReader(stream=bf) as reader:
-                    for row in reader:
-                        p = row[0]
-                        records[p] = row
-
-            data_pfx = posixpath.join(data_dir, '')
-            info_pfx = posixpath.join(info_dir, '')
-            script_pfx = posixpath.join(data_dir, 'scripts', '')
-
-            # make a new instance rather than a copy of maker's,
-            # as we mutate it
-            fileop = FileOperator(dry_run=dry_run)
-            fileop.record = True  # so we can rollback if needed
-
-            bc = not sys.dont_write_bytecode  # Double negatives. Lovely!
-
-            outfiles = []  # for RECORD writing
-
-            # for script copying/shebang processing
-            workdir = tempfile.mkdtemp()
-            # set target dir later
-            # we default add_launchers to False, as the
-            # Python Launcher should be used instead
-            maker.source_dir = workdir
-            maker.target_dir = None
-            try:
-                for zinfo in zf.infolist():
-                    arcname = zinfo.filename
-                    if isinstance(arcname, text_type):
-                        u_arcname = arcname
-                    else:
-                        u_arcname = arcname.decode('utf-8')
-                    if self.skip_entry(u_arcname):
-                        continue
-                    row = records[u_arcname]
-                    if row[2] and str(zinfo.file_size) != row[2]:
-                        raise DistlibException('size mismatch for '
-                                               '%s' % u_arcname)
-                    if row[1]:
-                        kind, value = row[1].split('=', 1)
-                        with zf.open(arcname) as bf:
-                            data = bf.read()
-                        _, digest = self.get_hash(data, kind)
-                        if digest != value:
-                            raise DistlibException('digest mismatch for '
-                                                   '%s' % arcname)
-
-                    if lib_only and u_arcname.startswith((info_pfx, data_pfx)):
-                        logger.debug('lib_only: skipping %s', u_arcname)
-                        continue
-                    is_script = (u_arcname.startswith(script_pfx)
-                                 and not u_arcname.endswith('.exe'))
-
-                    if u_arcname.startswith(data_pfx):
-                        _, where, rp = u_arcname.split('/', 2)
-                        outfile = os.path.join(paths[where], convert_path(rp))
-                    else:
-                        # meant for site-packages.
-                        if u_arcname in (wheel_metadata_name, record_name):
-                            continue
-                        outfile = os.path.join(libdir, convert_path(u_arcname))
-                    if not is_script:
-                        with zf.open(arcname) as bf:
-                            fileop.copy_stream(bf, outfile)
-                        # Issue #147: permission bits aren't preserved. Using
-                        # zf.extract(zinfo, libdir) should have worked, but didn't,
-                        # see https://www.thetopsites.net/article/53834422.shtml
-                        # So ... manually preserve permission bits as given in zinfo
-                        if os.name == 'posix':
-                            # just set the normal permission bits
-                            os.chmod(outfile,
-                                     (zinfo.external_attr >> 16) & 0x1FF)
-                        outfiles.append(outfile)
-                        # Double check the digest of the written file
-                        if not dry_run and row[1]:
-                            with open(outfile, 'rb') as bf:
-                                data = bf.read()
-                                _, newdigest = self.get_hash(data, kind)
-                                if newdigest != digest:
-                                    raise DistlibException('digest mismatch '
-                                                           'on write for '
-                                                           '%s' % outfile)
-                        if bc and outfile.endswith('.py'):
-                            try:
-                                pyc = fileop.byte_compile(
-                                    outfile,
-                                    hashed_invalidation=bc_hashed_invalidation)
-                                outfiles.append(pyc)
-                            except Exception:
-                                # Don't give up if byte-compilation fails,
-                                # but log it and perhaps warn the user
-                                logger.warning('Byte-compilation failed',
-                                               exc_info=True)
-                    else:
-                        fn = os.path.basename(convert_path(arcname))
-                        workname = os.path.join(workdir, fn)
-                        with zf.open(arcname) as bf:
-                            fileop.copy_stream(bf, workname)
-
-                        dn, fn = os.path.split(outfile)
-                        maker.target_dir = dn
-                        filenames = maker.make(fn)
-                        fileop.set_executable_mode(filenames)
-                        outfiles.extend(filenames)
-
-                if lib_only:
-                    logger.debug('lib_only: returning None')
-                    dist = None
-                else:
-                    # Generate scripts
-
-                    # Try to get pydist.json so we can see if there are
-                    # any commands to generate. If this fails (e.g. because
-                    # of a legacy wheel), log a warning but don't give up.
-                    commands = None
-                    file_version = self.info['Wheel-Version']
-                    if file_version == '1.0':
-                        # Use legacy info
-                        ep = posixpath.join(info_dir, 'entry_points.txt')
-                        try:
-                            with zf.open(ep) as bwf:
-                                epdata = read_exports(bwf)
-                            commands = {}
-                            for key in ('console', 'gui'):
-                                k = '%s_scripts' % key
-                                if k in epdata:
-                                    commands['wrap_%s' % key] = d = {}
-                                    for v in epdata[k].values():
-                                        s = '%s:%s' % (v.prefix, v.suffix)
-                                        if v.flags:
-                                            s += ' [%s]' % ','.join(v.flags)
-                                        d[v.name] = s
-                        except Exception:
-                            logger.warning('Unable to read legacy script '
-                                           'metadata, so cannot generate '
-                                           'scripts')
-                    else:
-                        try:
-                            with zf.open(metadata_name) as bwf:
-                                wf = wrapper(bwf)
-                                commands = json.load(wf).get('extensions')
-                                if commands:
-                                    commands = commands.get('python.commands')
-                        except Exception:
-                            logger.warning('Unable to read JSON metadata, so '
-                                           'cannot generate scripts')
-                    if commands:
-                        console_scripts = commands.get('wrap_console', {})
-                        gui_scripts = commands.get('wrap_gui', {})
-                        if console_scripts or gui_scripts:
-                            script_dir = paths.get('scripts', '')
-                            if not os.path.isdir(script_dir):
-                                raise ValueError('Valid script path not '
-                                                 'specified')
-                            maker.target_dir = script_dir
-                            for k, v in console_scripts.items():
-                                script = '%s = %s' % (k, v)
-                                filenames = maker.make(script)
-                                fileop.set_executable_mode(filenames)
-
-                            if gui_scripts:
-                                options = {'gui': True}
-                                for k, v in gui_scripts.items():
-                                    script = '%s = %s' % (k, v)
-                                    filenames = maker.make(script, options)
-                                    fileop.set_executable_mode(filenames)
-
-                    p = os.path.join(libdir, info_dir)
-                    dist = InstalledDistribution(p)
-
-                    # Write SHARED
-                    paths = dict(paths)  # don't change passed in dict
-                    del paths['purelib']
-                    del paths['platlib']
-                    paths['lib'] = libdir
-                    p = dist.write_shared_locations(paths, dry_run)
-                    if p:
-                        outfiles.append(p)
-
-                    # Write RECORD
-                    dist.write_installed_files(outfiles, paths['prefix'],
-                                               dry_run)
-                return dist
-            except Exception:  # pragma: no cover
-                logger.exception('installation failed.')
-                fileop.rollback()
-                raise
-            finally:
-                shutil.rmtree(workdir)
-
-    def _get_dylib_cache(self):
-        global cache
-        if cache is None:
-            # Use native string to avoid issues on 2.x: see Python #20140.
-            base = os.path.join(get_cache_base(), str('dylib-cache'),
-                                '%s.%s' % sys.version_info[:2])
-            cache = Cache(base)
-        return cache
-
-    def _get_extensions(self):
-        pathname = os.path.join(self.dirname, self.filename)
-        name_ver = '%s-%s' % (self.name, self.version)
-        info_dir = '%s.dist-info' % name_ver
-        arcname = posixpath.join(info_dir, 'EXTENSIONS')
-        wrapper = codecs.getreader('utf-8')
-        result = []
-        with ZipFile(pathname, 'r') as zf:
-            try:
-                with zf.open(arcname) as bf:
-                    wf = wrapper(bf)
-                    extensions = json.load(wf)
-                    cache = self._get_dylib_cache()
-                    prefix = cache.prefix_to_dir(pathname)
-                    cache_base = os.path.join(cache.base, prefix)
-                    if not os.path.isdir(cache_base):
-                        os.makedirs(cache_base)
-                    for name, relpath in extensions.items():
-                        dest = os.path.join(cache_base, convert_path(relpath))
-                        if not os.path.exists(dest):
-                            extract = True
-                        else:
-                            file_time = os.stat(dest).st_mtime
-                            file_time = datetime.datetime.fromtimestamp(
-                                file_time)
-                            info = zf.getinfo(relpath)
-                            wheel_time = datetime.datetime(*info.date_time)
-                            extract = wheel_time > file_time
-                        if extract:
-                            zf.extract(relpath, cache_base)
-                        result.append((name, dest))
-            except KeyError:
-                pass
-        return result
-
-    def is_compatible(self):
-        """
-        Determine if a wheel is compatible with the running system.
-        """
-        return is_compatible(self)
-
-    def is_mountable(self):
-        """
-        Determine if a wheel is asserted as mountable by its metadata.
-        """
-        return True  # for now - metadata details TBD
-
-    def mount(self, append=False):
-        pathname = os.path.abspath(os.path.join(self.dirname, self.filename))
-        if not self.is_compatible():
-            msg = 'Wheel %s not compatible with this Python.' % pathname
-            raise DistlibException(msg)
-        if not self.is_mountable():
-            msg = 'Wheel %s is marked as not mountable.' % pathname
-            raise DistlibException(msg)
-        if pathname in sys.path:
-            logger.debug('%s already in path', pathname)
-        else:
-            if append:
-                sys.path.append(pathname)
-            else:
-                sys.path.insert(0, pathname)
-            extensions = self._get_extensions()
-            if extensions:
-                if _hook not in sys.meta_path:
-                    sys.meta_path.append(_hook)
-                _hook.add(pathname, extensions)
-
-    def unmount(self):
-        pathname = os.path.abspath(os.path.join(self.dirname, self.filename))
-        if pathname not in sys.path:
-            logger.debug('%s not in path', pathname)
-        else:
-            sys.path.remove(pathname)
-            if pathname in _hook.impure_wheels:
-                _hook.remove(pathname)
-            if not _hook.impure_wheels:
-                if _hook in sys.meta_path:
-                    sys.meta_path.remove(_hook)
-
-    def verify(self):
-        pathname = os.path.join(self.dirname, self.filename)
-        name_ver = '%s-%s' % (self.name, self.version)
-        # data_dir = '%s.data' % name_ver
-        info_dir = '%s.dist-info' % name_ver
-
-        # metadata_name = posixpath.join(info_dir, LEGACY_METADATA_FILENAME)
-        wheel_metadata_name = posixpath.join(info_dir, 'WHEEL')
-        record_name = posixpath.join(info_dir, 'RECORD')
-
-        wrapper = codecs.getreader('utf-8')
-
-        with ZipFile(pathname, 'r') as zf:
-            with zf.open(wheel_metadata_name) as bwf:
-                wf = wrapper(bwf)
-                message_from_file(wf)
-            # wv = message['Wheel-Version'].split('.', 1)
-            # file_version = tuple([int(i) for i in wv])
-            # TODO version verification
-
-            records = {}
-            with zf.open(record_name) as bf:
-                with CSVReader(stream=bf) as reader:
-                    for row in reader:
-                        p = row[0]
-                        records[p] = row
-
-            for zinfo in zf.infolist():
-                arcname = zinfo.filename
-                if isinstance(arcname, text_type):
-                    u_arcname = arcname
-                else:
-                    u_arcname = arcname.decode('utf-8')
-                # See issue #115: some wheels have .. in their entries, but
-                # in the filename ... e.g. __main__..py ! So the check is
-                # updated to look for .. in the directory portions
-                p = u_arcname.split('/')
-                if '..' in p:
-                    raise DistlibException('invalid entry in '
-                                           'wheel: %r' % u_arcname)
-
-                if self.skip_entry(u_arcname):
-                    continue
-                row = records[u_arcname]
-                if row[2] and str(zinfo.file_size) != row[2]:
-                    raise DistlibException('size mismatch for '
-                                           '%s' % u_arcname)
-                if row[1]:
-                    kind, value = row[1].split('=', 1)
-                    with zf.open(arcname) as bf:
-                        data = bf.read()
-                    _, digest = self.get_hash(data, kind)
-                    if digest != value:
-                        raise DistlibException('digest mismatch for '
-                                               '%s' % arcname)
-
-    def update(self, modifier, dest_dir=None, **kwargs):
-        """
-        Update the contents of a wheel in a generic way. The modifier should
-        be a callable which expects a dictionary argument: its keys are
-        archive-entry paths, and its values are absolute filesystem paths
-        where the contents the corresponding archive entries can be found. The
-        modifier is free to change the contents of the files pointed to, add
-        new entries and remove entries, before returning. This method will
-        extract the entire contents of the wheel to a temporary location, call
-        the modifier, and then use the passed (and possibly updated)
-        dictionary to write a new wheel. If ``dest_dir`` is specified, the new
-        wheel is written there -- otherwise, the original wheel is overwritten.
-
-        The modifier should return True if it updated the wheel, else False.
-        This method returns the same value the modifier returns.
-        """
-
-        def get_version(path_map, info_dir):
-            version = path = None
-            key = '%s/%s' % (info_dir, LEGACY_METADATA_FILENAME)
-            if key not in path_map:
-                key = '%s/PKG-INFO' % info_dir
-            if key in path_map:
-                path = path_map[key]
-                version = Metadata(path=path).version
-            return version, path
-
-        def update_version(version, path):
-            updated = None
-            try:
-                NormalizedVersion(version)
-                i = version.find('-')
-                if i < 0:
-                    updated = '%s+1' % version
-                else:
-                    parts = [int(s) for s in version[i + 1:].split('.')]
-                    parts[-1] += 1
-                    updated = '%s+%s' % (version[:i], '.'.join(
-                        str(i) for i in parts))
-            except UnsupportedVersionError:
-                logger.debug(
-                    'Cannot update non-compliant (PEP-440) '
-                    'version %r', version)
-            if updated:
-                md = Metadata(path=path)
-                md.version = updated
-                legacy = path.endswith(LEGACY_METADATA_FILENAME)
-                md.write(path=path, legacy=legacy)
-                logger.debug('Version updated from %r to %r', version, updated)
-
-        pathname = os.path.join(self.dirname, self.filename)
-        name_ver = '%s-%s' % (self.name, self.version)
-        info_dir = '%s.dist-info' % name_ver
-        record_name = posixpath.join(info_dir, 'RECORD')
-        with tempdir() as workdir:
-            with ZipFile(pathname, 'r') as zf:
-                path_map = {}
-                for zinfo in zf.infolist():
-                    arcname = zinfo.filename
-                    if isinstance(arcname, text_type):
-                        u_arcname = arcname
-                    else:
-                        u_arcname = arcname.decode('utf-8')
-                    if u_arcname == record_name:
-                        continue
-                    if '..' in u_arcname:
-                        raise DistlibException('invalid entry in '
-                                               'wheel: %r' % u_arcname)
-                    zf.extract(zinfo, workdir)
-                    path = os.path.join(workdir, convert_path(u_arcname))
-                    path_map[u_arcname] = path
-
-            # Remember the version.
-            original_version, _ = get_version(path_map, info_dir)
-            # Files extracted. Call the modifier.
-            modified = modifier(path_map, **kwargs)
-            if modified:
-                # Something changed - need to build a new wheel.
-                current_version, path = get_version(path_map, info_dir)
-                if current_version and (current_version == original_version):
-                    # Add or update local version to signify changes.
-                    update_version(current_version, path)
-                # Decide where the new wheel goes.
-                if dest_dir is None:
-                    fd, newpath = tempfile.mkstemp(suffix='.whl',
-                                                   prefix='wheel-update-',
-                                                   dir=workdir)
-                    os.close(fd)
-                else:
-                    if not os.path.isdir(dest_dir):
-                        raise DistlibException('Not a directory: %r' %
-                                               dest_dir)
-                    newpath = os.path.join(dest_dir, self.filename)
-                archive_paths = list(path_map.items())
-                distinfo = os.path.join(workdir, info_dir)
-                info = distinfo, info_dir
-                self.write_records(info, workdir, archive_paths)
-                self.build_zip(newpath, archive_paths)
-                if dest_dir is None:
-                    shutil.copyfile(newpath, pathname)
-        return modified
-
-
-def _get_glibc_version():
-    import platform
-    ver = platform.libc_ver()
-    result = []
-    if ver[0] == 'glibc':
-        for s in ver[1].split('.'):
-            result.append(int(s) if s.isdigit() else 0)
-        result = tuple(result)
-    return result
-
-
-def compatible_tags():
-    """
-    Return (pyver, abi, arch) tuples compatible with this Python.
-    """
-    versions = [VER_SUFFIX]
-    major = VER_SUFFIX[0]
-    for minor in range(sys.version_info[1] - 1, -1, -1):
-        versions.append(''.join([major, str(minor)]))
-
-    abis = []
-    for suffix in _get_suffixes():
-        if suffix.startswith('.abi'):
-            abis.append(suffix.split('.', 2)[1])
-    abis.sort()
-    if ABI != 'none':
-        abis.insert(0, ABI)
-    abis.append('none')
-    result = []
-
-    arches = [ARCH]
-    if sys.platform == 'darwin':
-        m = re.match(r'(\w+)_(\d+)_(\d+)_(\w+)$', ARCH)
-        if m:
-            name, major, minor, arch = m.groups()
-            minor = int(minor)
-            matches = [arch]
-            if arch in ('i386', 'ppc'):
-                matches.append('fat')
-            if arch in ('i386', 'ppc', 'x86_64'):
-                matches.append('fat3')
-            if arch in ('ppc64', 'x86_64'):
-                matches.append('fat64')
-            if arch in ('i386', 'x86_64'):
-                matches.append('intel')
-            if arch in ('i386', 'x86_64', 'intel', 'ppc', 'ppc64'):
-                matches.append('universal')
-            while minor >= 0:
-                for match in matches:
-                    s = '%s_%s_%s_%s' % (name, major, minor, match)
-                    if s != ARCH:  # already there
-                        arches.append(s)
-                minor -= 1
-
-    # Most specific - our Python version, ABI and arch
-    for abi in abis:
-        for arch in arches:
-            result.append((''.join((IMP_PREFIX, versions[0])), abi, arch))
-            # manylinux
-            if abi != 'none' and sys.platform.startswith('linux'):
-                arch = arch.replace('linux_', '')
-                parts = _get_glibc_version()
-                if len(parts) == 2:
-                    if parts >= (2, 5):
-                        result.append((''.join((IMP_PREFIX, versions[0])), abi,
-                                       'manylinux1_%s' % arch))
-                    if parts >= (2, 12):
-                        result.append((''.join((IMP_PREFIX, versions[0])), abi,
-                                       'manylinux2010_%s' % arch))
-                    if parts >= (2, 17):
-                        result.append((''.join((IMP_PREFIX, versions[0])), abi,
-                                       'manylinux2014_%s' % arch))
-                    result.append(
-                        (''.join((IMP_PREFIX, versions[0])), abi,
-                         'manylinux_%s_%s_%s' % (parts[0], parts[1], arch)))
-
-    # where no ABI / arch dependency, but IMP_PREFIX dependency
-    for i, version in enumerate(versions):
-        result.append((''.join((IMP_PREFIX, version)), 'none', 'any'))
-        if i == 0:
-            result.append((''.join((IMP_PREFIX, version[0])), 'none', 'any'))
-
-    # no IMP_PREFIX, ABI or arch dependency
-    for i, version in enumerate(versions):
-        result.append((''.join(('py', version)), 'none', 'any'))
-        if i == 0:
-            result.append((''.join(('py', version[0])), 'none', 'any'))
-
-    return set(result)
-
-
-COMPATIBLE_TAGS = compatible_tags()
-
-del compatible_tags
-
-
-def is_compatible(wheel, tags=None):
-    if not isinstance(wheel, Wheel):
-        wheel = Wheel(wheel)  # assume it's a filename
-    result = False
-    if tags is None:
-        tags = COMPATIBLE_TAGS
-    for ver, abi, arch in tags:
-        if ver in wheel.pyver and abi in wheel.abi and arch in wheel.arch:
-            result = True
-            break
-    return result
diff --git a/.venv/Lib/site-packages/pip/_vendor/distro/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/distro/__pycache__/__init__.cpython-311.pyc
index 10ed6e1..cac8484 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/distro/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/distro/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/distro/__pycache__/__main__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/distro/__pycache__/__main__.cpython-311.pyc
index 2175b03..a672c33 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/distro/__pycache__/__main__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/distro/__pycache__/__main__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/distro/__pycache__/distro.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/distro/__pycache__/distro.cpython-311.pyc
index f66d068..96fa4c8 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/distro/__pycache__/distro.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/distro/__pycache__/distro.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/distro/distro.py b/.venv/Lib/site-packages/pip/_vendor/distro/distro.py
index 89e1868..78ccdfa 100644
--- a/.venv/Lib/site-packages/pip/_vendor/distro/distro.py
+++ b/.venv/Lib/site-packages/pip/_vendor/distro/distro.py
@@ -1,5 +1,5 @@
 #!/usr/bin/env python
-# Copyright 2015,2016,2017 Nir Cohen
+# Copyright 2015-2021 Nir Cohen
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -55,7 +55,7 @@ except ImportError:
     # Python 3.7
     TypedDict = dict
 
-__version__ = "1.8.0"
+__version__ = "1.9.0"
 
 
 class VersionDict(TypedDict):
@@ -125,6 +125,7 @@ _DISTRO_RELEASE_BASENAME_PATTERN = re.compile(r"(\w+)[-_](release|version)$")
 # Base file names to be looked up for if _UNIXCONFDIR is not readable.
 _DISTRO_RELEASE_BASENAMES = [
     "SuSE-release",
+    "altlinux-release",
     "arch-release",
     "base-release",
     "centos-release",
@@ -151,6 +152,8 @@ _DISTRO_RELEASE_IGNORE_BASENAMES = (
     "system-release",
     "plesk-release",
     "iredmail-release",
+    "board-release",
+    "ec2_version",
 )
 
 
@@ -243,6 +246,7 @@ def id() -> str:
     "rocky"         Rocky Linux
     "aix"           AIX
     "guix"          Guix System
+    "altlinux"      ALT Linux
     ==============  =========================================
 
     If you have a need to get distros for reliable IDs added into this set,
@@ -991,10 +995,10 @@ class LinuxDistribution:
 
         For details, see :func:`distro.info`.
         """
-        return dict(
+        return InfoDict(
             id=self.id(),
             version=self.version(pretty, best),
-            version_parts=dict(
+            version_parts=VersionDict(
                 major=self.major_version(best),
                 minor=self.minor_version(best),
                 build_number=self.build_number(best),
diff --git a/.venv/Lib/site-packages/pip/_vendor/idna/__init__.py b/.venv/Lib/site-packages/pip/_vendor/idna/__init__.py
index a40eeaf..cfdc030 100644
--- a/.venv/Lib/site-packages/pip/_vendor/idna/__init__.py
+++ b/.venv/Lib/site-packages/pip/_vendor/idna/__init__.py
@@ -1,4 +1,3 @@
-from .package_data import __version__
 from .core import (
     IDNABidiError,
     IDNAError,
@@ -20,8 +19,10 @@ from .core import (
     valid_string_length,
 )
 from .intranges import intranges_contain
+from .package_data import __version__
 
 __all__ = [
+    "__version__",
     "IDNABidiError",
     "IDNAError",
     "InvalidCodepoint",
diff --git a/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/__init__.cpython-311.pyc
index 7d55dcf..b7893cd 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/codec.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/codec.cpython-311.pyc
index 8975948..3e7f38a 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/codec.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/codec.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/compat.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/compat.cpython-311.pyc
index 0b993cd..5968085 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/compat.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/compat.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/core.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/core.cpython-311.pyc
index 93864b5..d2958e6 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/core.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/core.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/idnadata.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/idnadata.cpython-311.pyc
index afdd48f..5861edb 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/idnadata.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/idnadata.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/intranges.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/intranges.cpython-311.pyc
index 1121840..e5978c0 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/intranges.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/intranges.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/package_data.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/package_data.cpython-311.pyc
index e01ffd2..dfff90b 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/package_data.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/package_data.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-311.pyc
index def8685..54a3535 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/idna/codec.py b/.venv/Lib/site-packages/pip/_vendor/idna/codec.py
index 1ca9ba6..913abfd 100644
--- a/.venv/Lib/site-packages/pip/_vendor/idna/codec.py
+++ b/.venv/Lib/site-packages/pip/_vendor/idna/codec.py
@@ -1,49 +1,51 @@
-from .core import encode, decode, alabel, ulabel, IDNAError
 import codecs
 import re
-from typing import Tuple, Optional
+from typing import Any, Optional, Tuple
+
+from .core import IDNAError, alabel, decode, encode, ulabel
+
+_unicode_dots_re = re.compile("[\u002e\u3002\uff0e\uff61]")
 
-_unicode_dots_re = re.compile('[\u002e\u3002\uff0e\uff61]')
 
 class Codec(codecs.Codec):
-
-    def encode(self, data: str, errors: str = 'strict') -> Tuple[bytes, int]:
-        if errors != 'strict':
-            raise IDNAError('Unsupported error handling \"{}\"'.format(errors))
+    def encode(self, data: str, errors: str = "strict") -> Tuple[bytes, int]:
+        if errors != "strict":
+            raise IDNAError('Unsupported error handling "{}"'.format(errors))
 
         if not data:
             return b"", 0
 
         return encode(data), len(data)
 
-    def decode(self, data: bytes, errors: str = 'strict') -> Tuple[str, int]:
-        if errors != 'strict':
-            raise IDNAError('Unsupported error handling \"{}\"'.format(errors))
-
-        if not data:
-            return '', 0
-
-        return decode(data), len(data)
-
-class IncrementalEncoder(codecs.BufferedIncrementalEncoder):
-    def _buffer_encode(self, data: str, errors: str, final: bool) -> Tuple[str, int]:  # type: ignore
-        if errors != 'strict':
-            raise IDNAError('Unsupported error handling \"{}\"'.format(errors))
+    def decode(self, data: bytes, errors: str = "strict") -> Tuple[str, int]:
+        if errors != "strict":
+            raise IDNAError('Unsupported error handling "{}"'.format(errors))
 
         if not data:
             return "", 0
 
+        return decode(data), len(data)
+
+
+class IncrementalEncoder(codecs.BufferedIncrementalEncoder):
+    def _buffer_encode(self, data: str, errors: str, final: bool) -> Tuple[bytes, int]:
+        if errors != "strict":
+            raise IDNAError('Unsupported error handling "{}"'.format(errors))
+
+        if not data:
+            return b"", 0
+
         labels = _unicode_dots_re.split(data)
-        trailing_dot = ''
+        trailing_dot = b""
         if labels:
             if not labels[-1]:
-                trailing_dot = '.'
+                trailing_dot = b"."
                 del labels[-1]
             elif not final:
                 # Keep potentially unfinished label until the next call
                 del labels[-1]
                 if labels:
-                    trailing_dot = '.'
+                    trailing_dot = b"."
 
         result = []
         size = 0
@@ -54,29 +56,33 @@ class IncrementalEncoder(codecs.BufferedIncrementalEncoder):
             size += len(label)
 
         # Join with U+002E
-        result_str = '.'.join(result) + trailing_dot  # type: ignore
+        result_bytes = b".".join(result) + trailing_dot
         size += len(trailing_dot)
-        return result_str, size
+        return result_bytes, size
+
 
 class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
-    def _buffer_decode(self, data: str, errors: str, final: bool) -> Tuple[str, int]:  # type: ignore
-        if errors != 'strict':
-            raise IDNAError('Unsupported error handling \"{}\"'.format(errors))
+    def _buffer_decode(self, data: Any, errors: str, final: bool) -> Tuple[str, int]:
+        if errors != "strict":
+            raise IDNAError('Unsupported error handling "{}"'.format(errors))
 
         if not data:
-            return ('', 0)
+            return ("", 0)
+
+        if not isinstance(data, str):
+            data = str(data, "ascii")
 
         labels = _unicode_dots_re.split(data)
-        trailing_dot = ''
+        trailing_dot = ""
         if labels:
             if not labels[-1]:
-                trailing_dot = '.'
+                trailing_dot = "."
                 del labels[-1]
             elif not final:
                 # Keep potentially unfinished label until the next call
                 del labels[-1]
                 if labels:
-                    trailing_dot = '.'
+                    trailing_dot = "."
 
         result = []
         size = 0
@@ -86,7 +92,7 @@ class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
                 size += 1
             size += len(label)
 
-        result_str = '.'.join(result) + trailing_dot
+        result_str = ".".join(result) + trailing_dot
         size += len(trailing_dot)
         return (result_str, size)
 
@@ -99,14 +105,18 @@ class StreamReader(Codec, codecs.StreamReader):
     pass
 
 
-def getregentry() -> codecs.CodecInfo:
-    # Compatibility as a search_function for codecs.register()
+def search_function(name: str) -> Optional[codecs.CodecInfo]:
+    if name != "idna2008":
+        return None
     return codecs.CodecInfo(
-        name='idna',
-        encode=Codec().encode,  # type: ignore
-        decode=Codec().decode,  # type: ignore
+        name=name,
+        encode=Codec().encode,
+        decode=Codec().decode,
         incrementalencoder=IncrementalEncoder,
         incrementaldecoder=IncrementalDecoder,
         streamwriter=StreamWriter,
         streamreader=StreamReader,
     )
+
+
+codecs.register(search_function)
diff --git a/.venv/Lib/site-packages/pip/_vendor/idna/compat.py b/.venv/Lib/site-packages/pip/_vendor/idna/compat.py
index 786e6bd..1df9f2a 100644
--- a/.venv/Lib/site-packages/pip/_vendor/idna/compat.py
+++ b/.venv/Lib/site-packages/pip/_vendor/idna/compat.py
@@ -1,13 +1,15 @@
-from .core import *
-from .codec import *
 from typing import Any, Union
 
+from .core import decode, encode
+
+
 def ToASCII(label: str) -> bytes:
     return encode(label)
 
+
 def ToUnicode(label: Union[bytes, bytearray]) -> str:
     return decode(label)
 
-def nameprep(s: Any) -> None:
-    raise NotImplementedError('IDNA 2008 does not utilise nameprep protocol')
 
+def nameprep(s: Any) -> None:
+    raise NotImplementedError("IDNA 2008 does not utilise nameprep protocol")
diff --git a/.venv/Lib/site-packages/pip/_vendor/idna/core.py b/.venv/Lib/site-packages/pip/_vendor/idna/core.py
index 4f30037..9115f12 100644
--- a/.venv/Lib/site-packages/pip/_vendor/idna/core.py
+++ b/.venv/Lib/site-packages/pip/_vendor/idna/core.py
@@ -1,31 +1,37 @@
-from . import idnadata
 import bisect
-import unicodedata
 import re
-from typing import Union, Optional
+import unicodedata
+from typing import Optional, Union
+
+from . import idnadata
 from .intranges import intranges_contain
 
 _virama_combining_class = 9
-_alabel_prefix = b'xn--'
-_unicode_dots_re = re.compile('[\u002e\u3002\uff0e\uff61]')
+_alabel_prefix = b"xn--"
+_unicode_dots_re = re.compile("[\u002e\u3002\uff0e\uff61]")
+
 
 class IDNAError(UnicodeError):
-    """ Base exception for all IDNA-encoding related problems """
+    """Base exception for all IDNA-encoding related problems"""
+
     pass
 
 
 class IDNABidiError(IDNAError):
-    """ Exception when bidirectional requirements are not satisfied """
+    """Exception when bidirectional requirements are not satisfied"""
+
     pass
 
 
 class InvalidCodepoint(IDNAError):
-    """ Exception when a disallowed or unallocated codepoint is used """
+    """Exception when a disallowed or unallocated codepoint is used"""
+
     pass
 
 
 class InvalidCodepointContext(IDNAError):
-    """ Exception when the codepoint is not valid in the context it is used """
+    """Exception when the codepoint is not valid in the context it is used"""
+
     pass
 
 
@@ -33,17 +39,20 @@ def _combining_class(cp: int) -> int:
     v = unicodedata.combining(chr(cp))
     if v == 0:
         if not unicodedata.name(chr(cp)):
-            raise ValueError('Unknown character in unicodedata')
+            raise ValueError("Unknown character in unicodedata")
     return v
 
+
 def _is_script(cp: str, script: str) -> bool:
     return intranges_contain(ord(cp), idnadata.scripts[script])
 
+
 def _punycode(s: str) -> bytes:
-    return s.encode('punycode')
+    return s.encode("punycode")
+
 
 def _unot(s: int) -> str:
-    return 'U+{:04X}'.format(s)
+    return "U+{:04X}".format(s)
 
 
 def valid_label_length(label: Union[bytes, str]) -> bool:
@@ -61,158 +70,170 @@ def valid_string_length(label: Union[bytes, str], trailing_dot: bool) -> bool:
 def check_bidi(label: str, check_ltr: bool = False) -> bool:
     # Bidi rules should only be applied if string contains RTL characters
     bidi_label = False
-    for (idx, cp) in enumerate(label, 1):
+    for idx, cp in enumerate(label, 1):
         direction = unicodedata.bidirectional(cp)
-        if direction == '':
+        if direction == "":
             # String likely comes from a newer version of Unicode
-            raise IDNABidiError('Unknown directionality in label {} at position {}'.format(repr(label), idx))
-        if direction in ['R', 'AL', 'AN']:
+            raise IDNABidiError("Unknown directionality in label {} at position {}".format(repr(label), idx))
+        if direction in ["R", "AL", "AN"]:
             bidi_label = True
     if not bidi_label and not check_ltr:
         return True
 
     # Bidi rule 1
     direction = unicodedata.bidirectional(label[0])
-    if direction in ['R', 'AL']:
+    if direction in ["R", "AL"]:
         rtl = True
-    elif direction == 'L':
+    elif direction == "L":
         rtl = False
     else:
-        raise IDNABidiError('First codepoint in label {} must be directionality L, R or AL'.format(repr(label)))
+        raise IDNABidiError("First codepoint in label {} must be directionality L, R or AL".format(repr(label)))
 
     valid_ending = False
-    number_type = None  # type: Optional[str]
-    for (idx, cp) in enumerate(label, 1):
+    number_type: Optional[str] = None
+    for idx, cp in enumerate(label, 1):
         direction = unicodedata.bidirectional(cp)
 
         if rtl:
             # Bidi rule 2
-            if not direction in ['R', 'AL', 'AN', 'EN', 'ES', 'CS', 'ET', 'ON', 'BN', 'NSM']:
-                raise IDNABidiError('Invalid direction for codepoint at position {} in a right-to-left label'.format(idx))
+            if direction not in [
+                "R",
+                "AL",
+                "AN",
+                "EN",
+                "ES",
+                "CS",
+                "ET",
+                "ON",
+                "BN",
+                "NSM",
+            ]:
+                raise IDNABidiError("Invalid direction for codepoint at position {} in a right-to-left label".format(idx))
             # Bidi rule 3
-            if direction in ['R', 'AL', 'EN', 'AN']:
+            if direction in ["R", "AL", "EN", "AN"]:
                 valid_ending = True
-            elif direction != 'NSM':
+            elif direction != "NSM":
                 valid_ending = False
             # Bidi rule 4
-            if direction in ['AN', 'EN']:
+            if direction in ["AN", "EN"]:
                 if not number_type:
                     number_type = direction
                 else:
                     if number_type != direction:
-                        raise IDNABidiError('Can not mix numeral types in a right-to-left label')
+                        raise IDNABidiError("Can not mix numeral types in a right-to-left label")
         else:
             # Bidi rule 5
-            if not direction in ['L', 'EN', 'ES', 'CS', 'ET', 'ON', 'BN', 'NSM']:
-                raise IDNABidiError('Invalid direction for codepoint at position {} in a left-to-right label'.format(idx))
+            if direction not in ["L", "EN", "ES", "CS", "ET", "ON", "BN", "NSM"]:
+                raise IDNABidiError("Invalid direction for codepoint at position {} in a left-to-right label".format(idx))
             # Bidi rule 6
-            if direction in ['L', 'EN']:
+            if direction in ["L", "EN"]:
                 valid_ending = True
-            elif direction != 'NSM':
+            elif direction != "NSM":
                 valid_ending = False
 
     if not valid_ending:
-        raise IDNABidiError('Label ends with illegal codepoint directionality')
+        raise IDNABidiError("Label ends with illegal codepoint directionality")
 
     return True
 
 
 def check_initial_combiner(label: str) -> bool:
-    if unicodedata.category(label[0])[0] == 'M':
-        raise IDNAError('Label begins with an illegal combining character')
+    if unicodedata.category(label[0])[0] == "M":
+        raise IDNAError("Label begins with an illegal combining character")
     return True
 
 
 def check_hyphen_ok(label: str) -> bool:
-    if label[2:4] == '--':
-        raise IDNAError('Label has disallowed hyphens in 3rd and 4th position')
-    if label[0] == '-' or label[-1] == '-':
-        raise IDNAError('Label must not start or end with a hyphen')
+    if label[2:4] == "--":
+        raise IDNAError("Label has disallowed hyphens in 3rd and 4th position")
+    if label[0] == "-" or label[-1] == "-":
+        raise IDNAError("Label must not start or end with a hyphen")
     return True
 
 
 def check_nfc(label: str) -> None:
-    if unicodedata.normalize('NFC', label) != label:
-        raise IDNAError('Label must be in Normalization Form C')
+    if unicodedata.normalize("NFC", label) != label:
+        raise IDNAError("Label must be in Normalization Form C")
 
 
 def valid_contextj(label: str, pos: int) -> bool:
     cp_value = ord(label[pos])
 
-    if cp_value == 0x200c:
-
+    if cp_value == 0x200C:
         if pos > 0:
             if _combining_class(ord(label[pos - 1])) == _virama_combining_class:
                 return True
 
         ok = False
-        for i in range(pos-1, -1, -1):
+        for i in range(pos - 1, -1, -1):
             joining_type = idnadata.joining_types.get(ord(label[i]))
-            if joining_type == ord('T'):
+            if joining_type == ord("T"):
                 continue
-            if joining_type in [ord('L'), ord('D')]:
+            elif joining_type in [ord("L"), ord("D")]:
                 ok = True
                 break
+            else:
+                break
 
         if not ok:
             return False
 
         ok = False
-        for i in range(pos+1, len(label)):
+        for i in range(pos + 1, len(label)):
             joining_type = idnadata.joining_types.get(ord(label[i]))
-            if joining_type == ord('T'):
+            if joining_type == ord("T"):
                 continue
-            if joining_type in [ord('R'), ord('D')]:
+            elif joining_type in [ord("R"), ord("D")]:
                 ok = True
                 break
+            else:
+                break
         return ok
 
-    if cp_value == 0x200d:
-
+    if cp_value == 0x200D:
         if pos > 0:
             if _combining_class(ord(label[pos - 1])) == _virama_combining_class:
                 return True
         return False
 
     else:
-
         return False
 
 
 def valid_contexto(label: str, pos: int, exception: bool = False) -> bool:
     cp_value = ord(label[pos])
 
-    if cp_value == 0x00b7:
-        if 0 < pos < len(label)-1:
-            if ord(label[pos - 1]) == 0x006c and ord(label[pos + 1]) == 0x006c:
+    if cp_value == 0x00B7:
+        if 0 < pos < len(label) - 1:
+            if ord(label[pos - 1]) == 0x006C and ord(label[pos + 1]) == 0x006C:
                 return True
         return False
 
     elif cp_value == 0x0375:
-        if pos < len(label)-1 and len(label) > 1:
-            return _is_script(label[pos + 1], 'Greek')
+        if pos < len(label) - 1 and len(label) > 1:
+            return _is_script(label[pos + 1], "Greek")
         return False
 
-    elif cp_value == 0x05f3 or cp_value == 0x05f4:
+    elif cp_value == 0x05F3 or cp_value == 0x05F4:
         if pos > 0:
-            return _is_script(label[pos - 1], 'Hebrew')
+            return _is_script(label[pos - 1], "Hebrew")
         return False
 
-    elif cp_value == 0x30fb:
+    elif cp_value == 0x30FB:
         for cp in label:
-            if cp == '\u30fb':
+            if cp == "\u30fb":
                 continue
-            if _is_script(cp, 'Hiragana') or _is_script(cp, 'Katakana') or _is_script(cp, 'Han'):
+            if _is_script(cp, "Hiragana") or _is_script(cp, "Katakana") or _is_script(cp, "Han"):
                 return True
         return False
 
     elif 0x660 <= cp_value <= 0x669:
         for cp in label:
-            if 0x6f0 <= ord(cp) <= 0x06f9:
+            if 0x6F0 <= ord(cp) <= 0x06F9:
                 return False
         return True
 
-    elif 0x6f0 <= cp_value <= 0x6f9:
+    elif 0x6F0 <= cp_value <= 0x6F9:
         for cp in label:
             if 0x660 <= ord(cp) <= 0x0669:
                 return False
@@ -223,55 +244,58 @@ def valid_contexto(label: str, pos: int, exception: bool = False) -> bool:
 
 def check_label(label: Union[str, bytes, bytearray]) -> None:
     if isinstance(label, (bytes, bytearray)):
-        label = label.decode('utf-8')
+        label = label.decode("utf-8")
     if len(label) == 0:
-        raise IDNAError('Empty Label')
+        raise IDNAError("Empty Label")
 
     check_nfc(label)
     check_hyphen_ok(label)
     check_initial_combiner(label)
 
-    for (pos, cp) in enumerate(label):
+    for pos, cp in enumerate(label):
         cp_value = ord(cp)
-        if intranges_contain(cp_value, idnadata.codepoint_classes['PVALID']):
+        if intranges_contain(cp_value, idnadata.codepoint_classes["PVALID"]):
             continue
-        elif intranges_contain(cp_value, idnadata.codepoint_classes['CONTEXTJ']):
+        elif intranges_contain(cp_value, idnadata.codepoint_classes["CONTEXTJ"]):
             try:
                 if not valid_contextj(label, pos):
-                    raise InvalidCodepointContext('Joiner {} not allowed at position {} in {}'.format(
-                        _unot(cp_value), pos+1, repr(label)))
+                    raise InvalidCodepointContext(
+                        "Joiner {} not allowed at position {} in {}".format(_unot(cp_value), pos + 1, repr(label))
+                    )
             except ValueError:
-                raise IDNAError('Unknown codepoint adjacent to joiner {} at position {} in {}'.format(
-                    _unot(cp_value), pos+1, repr(label)))
-        elif intranges_contain(cp_value, idnadata.codepoint_classes['CONTEXTO']):
+                raise IDNAError(
+                    "Unknown codepoint adjacent to joiner {} at position {} in {}".format(
+                        _unot(cp_value), pos + 1, repr(label)
+                    )
+                )
+        elif intranges_contain(cp_value, idnadata.codepoint_classes["CONTEXTO"]):
             if not valid_contexto(label, pos):
-                raise InvalidCodepointContext('Codepoint {} not allowed at position {} in {}'.format(_unot(cp_value), pos+1, repr(label)))
+                raise InvalidCodepointContext(
+                    "Codepoint {} not allowed at position {} in {}".format(_unot(cp_value), pos + 1, repr(label))
+                )
         else:
-            raise InvalidCodepoint('Codepoint {} at position {} of {} not allowed'.format(_unot(cp_value), pos+1, repr(label)))
+            raise InvalidCodepoint(
+                "Codepoint {} at position {} of {} not allowed".format(_unot(cp_value), pos + 1, repr(label))
+            )
 
     check_bidi(label)
 
 
 def alabel(label: str) -> bytes:
     try:
-        label_bytes = label.encode('ascii')
+        label_bytes = label.encode("ascii")
         ulabel(label_bytes)
         if not valid_label_length(label_bytes):
-            raise IDNAError('Label too long')
+            raise IDNAError("Label too long")
         return label_bytes
     except UnicodeEncodeError:
         pass
 
-    if not label:
-        raise IDNAError('No Input')
-
-    label = str(label)
     check_label(label)
-    label_bytes = _punycode(label)
-    label_bytes = _alabel_prefix + label_bytes
+    label_bytes = _alabel_prefix + _punycode(label)
 
     if not valid_label_length(label_bytes):
-        raise IDNAError('Label too long')
+        raise IDNAError("Label too long")
 
     return label_bytes
 
@@ -279,7 +303,7 @@ def alabel(label: str) -> bytes:
 def ulabel(label: Union[str, bytes, bytearray]) -> str:
     if not isinstance(label, (bytes, bytearray)):
         try:
-            label_bytes = label.encode('ascii')
+            label_bytes = label.encode("ascii")
         except UnicodeEncodeError:
             check_label(label)
             return label
@@ -288,19 +312,19 @@ def ulabel(label: Union[str, bytes, bytearray]) -> str:
 
     label_bytes = label_bytes.lower()
     if label_bytes.startswith(_alabel_prefix):
-        label_bytes = label_bytes[len(_alabel_prefix):]
+        label_bytes = label_bytes[len(_alabel_prefix) :]
         if not label_bytes:
-            raise IDNAError('Malformed A-label, no Punycode eligible content found')
-        if label_bytes.decode('ascii')[-1] == '-':
-            raise IDNAError('A-label must not end with a hyphen')
+            raise IDNAError("Malformed A-label, no Punycode eligible content found")
+        if label_bytes.decode("ascii")[-1] == "-":
+            raise IDNAError("A-label must not end with a hyphen")
     else:
         check_label(label_bytes)
-        return label_bytes.decode('ascii')
+        return label_bytes.decode("ascii")
 
     try:
-        label = label_bytes.decode('punycode')
+        label = label_bytes.decode("punycode")
     except UnicodeError:
-        raise IDNAError('Invalid A-label')
+        raise IDNAError("Invalid A-label")
     check_label(label)
     return label
 
@@ -308,52 +332,60 @@ def ulabel(label: Union[str, bytes, bytearray]) -> str:
 def uts46_remap(domain: str, std3_rules: bool = True, transitional: bool = False) -> str:
     """Re-map the characters in the string according to UTS46 processing."""
     from .uts46data import uts46data
-    output = ''
+
+    output = ""
 
     for pos, char in enumerate(domain):
         code_point = ord(char)
         try:
-            uts46row = uts46data[code_point if code_point < 256 else
-                bisect.bisect_left(uts46data, (code_point, 'Z')) - 1]
+            uts46row = uts46data[code_point if code_point < 256 else bisect.bisect_left(uts46data, (code_point, "Z")) - 1]
             status = uts46row[1]
-            replacement = None  # type: Optional[str]
+            replacement: Optional[str] = None
             if len(uts46row) == 3:
-                replacement = uts46row[2]  # type: ignore
-            if (status == 'V' or
-                    (status == 'D' and not transitional) or
-                    (status == '3' and not std3_rules and replacement is None)):
+                replacement = uts46row[2]
+            if (
+                status == "V"
+                or (status == "D" and not transitional)
+                or (status == "3" and not std3_rules and replacement is None)
+            ):
                 output += char
-            elif replacement is not None and (status == 'M' or
-                    (status == '3' and not std3_rules) or
-                    (status == 'D' and transitional)):
+            elif replacement is not None and (
+                status == "M" or (status == "3" and not std3_rules) or (status == "D" and transitional)
+            ):
                 output += replacement
-            elif status != 'I':
+            elif status != "I":
                 raise IndexError()
         except IndexError:
             raise InvalidCodepoint(
-                'Codepoint {} not allowed at position {} in {}'.format(
-                _unot(code_point), pos + 1, repr(domain)))
+                "Codepoint {} not allowed at position {} in {}".format(_unot(code_point), pos + 1, repr(domain))
+            )
 
-    return unicodedata.normalize('NFC', output)
+    return unicodedata.normalize("NFC", output)
 
 
-def encode(s: Union[str, bytes, bytearray], strict: bool = False, uts46: bool = False, std3_rules: bool = False, transitional: bool = False) -> bytes:
-    if isinstance(s, (bytes, bytearray)):
+def encode(
+    s: Union[str, bytes, bytearray],
+    strict: bool = False,
+    uts46: bool = False,
+    std3_rules: bool = False,
+    transitional: bool = False,
+) -> bytes:
+    if not isinstance(s, str):
         try:
-            s = s.decode('ascii')
+            s = str(s, "ascii")
         except UnicodeDecodeError:
-            raise IDNAError('should pass a unicode string to the function rather than a byte string.')
+            raise IDNAError("should pass a unicode string to the function rather than a byte string.")
     if uts46:
         s = uts46_remap(s, std3_rules, transitional)
     trailing_dot = False
     result = []
     if strict:
-        labels = s.split('.')
+        labels = s.split(".")
     else:
         labels = _unicode_dots_re.split(s)
-    if not labels or labels == ['']:
-        raise IDNAError('Empty domain')
-    if labels[-1] == '':
+    if not labels or labels == [""]:
+        raise IDNAError("Empty domain")
+    if labels[-1] == "":
         del labels[-1]
         trailing_dot = True
     for label in labels:
@@ -361,21 +393,26 @@ def encode(s: Union[str, bytes, bytearray], strict: bool = False, uts46: bool =
         if s:
             result.append(s)
         else:
-            raise IDNAError('Empty label')
+            raise IDNAError("Empty label")
     if trailing_dot:
-        result.append(b'')
-    s = b'.'.join(result)
+        result.append(b"")
+    s = b".".join(result)
     if not valid_string_length(s, trailing_dot):
-        raise IDNAError('Domain too long')
+        raise IDNAError("Domain too long")
     return s
 
 
-def decode(s: Union[str, bytes, bytearray], strict: bool = False, uts46: bool = False, std3_rules: bool = False) -> str:
+def decode(
+    s: Union[str, bytes, bytearray],
+    strict: bool = False,
+    uts46: bool = False,
+    std3_rules: bool = False,
+) -> str:
     try:
-        if isinstance(s, (bytes, bytearray)):
-            s = s.decode('ascii')
+        if not isinstance(s, str):
+            s = str(s, "ascii")
     except UnicodeDecodeError:
-        raise IDNAError('Invalid ASCII in A-label')
+        raise IDNAError("Invalid ASCII in A-label")
     if uts46:
         s = uts46_remap(s, std3_rules, False)
     trailing_dot = False
@@ -383,9 +420,9 @@ def decode(s: Union[str, bytes, bytearray], strict: bool = False, uts46: bool =
     if not strict:
         labels = _unicode_dots_re.split(s)
     else:
-        labels = s.split('.')
-    if not labels or labels == ['']:
-        raise IDNAError('Empty domain')
+        labels = s.split(".")
+    if not labels or labels == [""]:
+        raise IDNAError("Empty domain")
     if not labels[-1]:
         del labels[-1]
         trailing_dot = True
@@ -394,7 +431,7 @@ def decode(s: Union[str, bytes, bytearray], strict: bool = False, uts46: bool =
         if s:
             result.append(s)
         else:
-            raise IDNAError('Empty label')
+            raise IDNAError("Empty label")
     if trailing_dot:
-        result.append('')
-    return '.'.join(result)
+        result.append("")
+    return ".".join(result)
diff --git a/.venv/Lib/site-packages/pip/_vendor/idna/idnadata.py b/.venv/Lib/site-packages/pip/_vendor/idna/idnadata.py
index 67db462..4be6004 100644
--- a/.venv/Lib/site-packages/pip/_vendor/idna/idnadata.py
+++ b/.venv/Lib/site-packages/pip/_vendor/idna/idnadata.py
@@ -1,115 +1,290 @@
 # This file is automatically generated by tools/idna-data
 
-__version__ = '15.0.0'
+__version__ = "15.1.0"
 scripts = {
-    'Greek': (
+    "Greek": (
         0x37000000374,
         0x37500000378,
-        0x37a0000037e,
-        0x37f00000380,
+        0x37A0000037E,
+        0x37F00000380,
         0x38400000385,
         0x38600000387,
-        0x3880000038b,
-        0x38c0000038d,
-        0x38e000003a2,
-        0x3a3000003e2,
-        0x3f000000400,
-        0x1d2600001d2b,
-        0x1d5d00001d62,
-        0x1d6600001d6b,
-        0x1dbf00001dc0,
-        0x1f0000001f16,
-        0x1f1800001f1e,
-        0x1f2000001f46,
-        0x1f4800001f4e,
-        0x1f5000001f58,
-        0x1f5900001f5a,
-        0x1f5b00001f5c,
-        0x1f5d00001f5e,
-        0x1f5f00001f7e,
-        0x1f8000001fb5,
-        0x1fb600001fc5,
-        0x1fc600001fd4,
-        0x1fd600001fdc,
-        0x1fdd00001ff0,
-        0x1ff200001ff5,
-        0x1ff600001fff,
+        0x3880000038B,
+        0x38C0000038D,
+        0x38E000003A2,
+        0x3A3000003E2,
+        0x3F000000400,
+        0x1D2600001D2B,
+        0x1D5D00001D62,
+        0x1D6600001D6B,
+        0x1DBF00001DC0,
+        0x1F0000001F16,
+        0x1F1800001F1E,
+        0x1F2000001F46,
+        0x1F4800001F4E,
+        0x1F5000001F58,
+        0x1F5900001F5A,
+        0x1F5B00001F5C,
+        0x1F5D00001F5E,
+        0x1F5F00001F7E,
+        0x1F8000001FB5,
+        0x1FB600001FC5,
+        0x1FC600001FD4,
+        0x1FD600001FDC,
+        0x1FDD00001FF0,
+        0x1FF200001FF5,
+        0x1FF600001FFF,
         0x212600002127,
-        0xab650000ab66,
-        0x101400001018f,
-        0x101a0000101a1,
-        0x1d2000001d246,
+        0xAB650000AB66,
+        0x101400001018F,
+        0x101A0000101A1,
+        0x1D2000001D246,
     ),
-    'Han': (
-        0x2e8000002e9a,
-        0x2e9b00002ef4,
-        0x2f0000002fd6,
+    "Han": (
+        0x2E8000002E9A,
+        0x2E9B00002EF4,
+        0x2F0000002FD6,
         0x300500003006,
         0x300700003008,
-        0x30210000302a,
-        0x30380000303c,
-        0x340000004dc0,
-        0x4e000000a000,
-        0xf9000000fa6e,
-        0xfa700000fada,
-        0x16fe200016fe4,
-        0x16ff000016ff2,
-        0x200000002a6e0,
-        0x2a7000002b73a,
-        0x2b7400002b81e,
-        0x2b8200002cea2,
-        0x2ceb00002ebe1,
-        0x2f8000002fa1e,
-        0x300000003134b,
-        0x31350000323b0,
+        0x30210000302A,
+        0x30380000303C,
+        0x340000004DC0,
+        0x4E000000A000,
+        0xF9000000FA6E,
+        0xFA700000FADA,
+        0x16FE200016FE4,
+        0x16FF000016FF2,
+        0x200000002A6E0,
+        0x2A7000002B73A,
+        0x2B7400002B81E,
+        0x2B8200002CEA2,
+        0x2CEB00002EBE1,
+        0x2EBF00002EE5E,
+        0x2F8000002FA1E,
+        0x300000003134B,
+        0x31350000323B0,
     ),
-    'Hebrew': (
-        0x591000005c8,
-        0x5d0000005eb,
-        0x5ef000005f5,
-        0xfb1d0000fb37,
-        0xfb380000fb3d,
-        0xfb3e0000fb3f,
-        0xfb400000fb42,
-        0xfb430000fb45,
-        0xfb460000fb50,
+    "Hebrew": (
+        0x591000005C8,
+        0x5D0000005EB,
+        0x5EF000005F5,
+        0xFB1D0000FB37,
+        0xFB380000FB3D,
+        0xFB3E0000FB3F,
+        0xFB400000FB42,
+        0xFB430000FB45,
+        0xFB460000FB50,
     ),
-    'Hiragana': (
+    "Hiragana": (
         0x304100003097,
-        0x309d000030a0,
-        0x1b0010001b120,
-        0x1b1320001b133,
-        0x1b1500001b153,
-        0x1f2000001f201,
+        0x309D000030A0,
+        0x1B0010001B120,
+        0x1B1320001B133,
+        0x1B1500001B153,
+        0x1F2000001F201,
     ),
-    'Katakana': (
-        0x30a1000030fb,
-        0x30fd00003100,
-        0x31f000003200,
-        0x32d0000032ff,
+    "Katakana": (
+        0x30A1000030FB,
+        0x30FD00003100,
+        0x31F000003200,
+        0x32D0000032FF,
         0x330000003358,
-        0xff660000ff70,
-        0xff710000ff9e,
-        0x1aff00001aff4,
-        0x1aff50001affc,
-        0x1affd0001afff,
-        0x1b0000001b001,
-        0x1b1200001b123,
-        0x1b1550001b156,
-        0x1b1640001b168,
+        0xFF660000FF70,
+        0xFF710000FF9E,
+        0x1AFF00001AFF4,
+        0x1AFF50001AFFC,
+        0x1AFFD0001AFFF,
+        0x1B0000001B001,
+        0x1B1200001B123,
+        0x1B1550001B156,
+        0x1B1640001B168,
     ),
 }
 joining_types = {
-    0x600: 85,
-    0x601: 85,
-    0x602: 85,
-    0x603: 85,
-    0x604: 85,
-    0x605: 85,
-    0x608: 85,
-    0x60b: 85,
+    0xAD: 84,
+    0x300: 84,
+    0x301: 84,
+    0x302: 84,
+    0x303: 84,
+    0x304: 84,
+    0x305: 84,
+    0x306: 84,
+    0x307: 84,
+    0x308: 84,
+    0x309: 84,
+    0x30A: 84,
+    0x30B: 84,
+    0x30C: 84,
+    0x30D: 84,
+    0x30E: 84,
+    0x30F: 84,
+    0x310: 84,
+    0x311: 84,
+    0x312: 84,
+    0x313: 84,
+    0x314: 84,
+    0x315: 84,
+    0x316: 84,
+    0x317: 84,
+    0x318: 84,
+    0x319: 84,
+    0x31A: 84,
+    0x31B: 84,
+    0x31C: 84,
+    0x31D: 84,
+    0x31E: 84,
+    0x31F: 84,
+    0x320: 84,
+    0x321: 84,
+    0x322: 84,
+    0x323: 84,
+    0x324: 84,
+    0x325: 84,
+    0x326: 84,
+    0x327: 84,
+    0x328: 84,
+    0x329: 84,
+    0x32A: 84,
+    0x32B: 84,
+    0x32C: 84,
+    0x32D: 84,
+    0x32E: 84,
+    0x32F: 84,
+    0x330: 84,
+    0x331: 84,
+    0x332: 84,
+    0x333: 84,
+    0x334: 84,
+    0x335: 84,
+    0x336: 84,
+    0x337: 84,
+    0x338: 84,
+    0x339: 84,
+    0x33A: 84,
+    0x33B: 84,
+    0x33C: 84,
+    0x33D: 84,
+    0x33E: 84,
+    0x33F: 84,
+    0x340: 84,
+    0x341: 84,
+    0x342: 84,
+    0x343: 84,
+    0x344: 84,
+    0x345: 84,
+    0x346: 84,
+    0x347: 84,
+    0x348: 84,
+    0x349: 84,
+    0x34A: 84,
+    0x34B: 84,
+    0x34C: 84,
+    0x34D: 84,
+    0x34E: 84,
+    0x34F: 84,
+    0x350: 84,
+    0x351: 84,
+    0x352: 84,
+    0x353: 84,
+    0x354: 84,
+    0x355: 84,
+    0x356: 84,
+    0x357: 84,
+    0x358: 84,
+    0x359: 84,
+    0x35A: 84,
+    0x35B: 84,
+    0x35C: 84,
+    0x35D: 84,
+    0x35E: 84,
+    0x35F: 84,
+    0x360: 84,
+    0x361: 84,
+    0x362: 84,
+    0x363: 84,
+    0x364: 84,
+    0x365: 84,
+    0x366: 84,
+    0x367: 84,
+    0x368: 84,
+    0x369: 84,
+    0x36A: 84,
+    0x36B: 84,
+    0x36C: 84,
+    0x36D: 84,
+    0x36E: 84,
+    0x36F: 84,
+    0x483: 84,
+    0x484: 84,
+    0x485: 84,
+    0x486: 84,
+    0x487: 84,
+    0x488: 84,
+    0x489: 84,
+    0x591: 84,
+    0x592: 84,
+    0x593: 84,
+    0x594: 84,
+    0x595: 84,
+    0x596: 84,
+    0x597: 84,
+    0x598: 84,
+    0x599: 84,
+    0x59A: 84,
+    0x59B: 84,
+    0x59C: 84,
+    0x59D: 84,
+    0x59E: 84,
+    0x59F: 84,
+    0x5A0: 84,
+    0x5A1: 84,
+    0x5A2: 84,
+    0x5A3: 84,
+    0x5A4: 84,
+    0x5A5: 84,
+    0x5A6: 84,
+    0x5A7: 84,
+    0x5A8: 84,
+    0x5A9: 84,
+    0x5AA: 84,
+    0x5AB: 84,
+    0x5AC: 84,
+    0x5AD: 84,
+    0x5AE: 84,
+    0x5AF: 84,
+    0x5B0: 84,
+    0x5B1: 84,
+    0x5B2: 84,
+    0x5B3: 84,
+    0x5B4: 84,
+    0x5B5: 84,
+    0x5B6: 84,
+    0x5B7: 84,
+    0x5B8: 84,
+    0x5B9: 84,
+    0x5BA: 84,
+    0x5BB: 84,
+    0x5BC: 84,
+    0x5BD: 84,
+    0x5BF: 84,
+    0x5C1: 84,
+    0x5C2: 84,
+    0x5C4: 84,
+    0x5C5: 84,
+    0x5C7: 84,
+    0x610: 84,
+    0x611: 84,
+    0x612: 84,
+    0x613: 84,
+    0x614: 84,
+    0x615: 84,
+    0x616: 84,
+    0x617: 84,
+    0x618: 84,
+    0x619: 84,
+    0x61A: 84,
+    0x61C: 84,
     0x620: 68,
-    0x621: 85,
     0x622: 82,
     0x623: 82,
     0x624: 82,
@@ -118,12 +293,12 @@ joining_types = {
     0x627: 82,
     0x628: 68,
     0x629: 82,
-    0x62a: 68,
-    0x62b: 68,
-    0x62c: 68,
-    0x62d: 68,
-    0x62e: 68,
-    0x62f: 82,
+    0x62A: 68,
+    0x62B: 68,
+    0x62C: 68,
+    0x62D: 68,
+    0x62E: 68,
+    0x62F: 82,
     0x630: 82,
     0x631: 82,
     0x632: 82,
@@ -134,12 +309,12 @@ joining_types = {
     0x637: 68,
     0x638: 68,
     0x639: 68,
-    0x63a: 68,
-    0x63b: 68,
-    0x63c: 68,
-    0x63d: 68,
-    0x63e: 68,
-    0x63f: 68,
+    0x63A: 68,
+    0x63B: 68,
+    0x63C: 68,
+    0x63D: 68,
+    0x63E: 68,
+    0x63F: 68,
     0x640: 67,
     0x641: 68,
     0x642: 68,
@@ -150,24 +325,45 @@ joining_types = {
     0x647: 68,
     0x648: 82,
     0x649: 68,
-    0x64a: 68,
-    0x66e: 68,
-    0x66f: 68,
+    0x64A: 68,
+    0x64B: 84,
+    0x64C: 84,
+    0x64D: 84,
+    0x64E: 84,
+    0x64F: 84,
+    0x650: 84,
+    0x651: 84,
+    0x652: 84,
+    0x653: 84,
+    0x654: 84,
+    0x655: 84,
+    0x656: 84,
+    0x657: 84,
+    0x658: 84,
+    0x659: 84,
+    0x65A: 84,
+    0x65B: 84,
+    0x65C: 84,
+    0x65D: 84,
+    0x65E: 84,
+    0x65F: 84,
+    0x66E: 68,
+    0x66F: 68,
+    0x670: 84,
     0x671: 82,
     0x672: 82,
     0x673: 82,
-    0x674: 85,
     0x675: 82,
     0x676: 82,
     0x677: 82,
     0x678: 68,
     0x679: 68,
-    0x67a: 68,
-    0x67b: 68,
-    0x67c: 68,
-    0x67d: 68,
-    0x67e: 68,
-    0x67f: 68,
+    0x67A: 68,
+    0x67B: 68,
+    0x67C: 68,
+    0x67D: 68,
+    0x67E: 68,
+    0x67F: 68,
     0x680: 68,
     0x681: 68,
     0x682: 68,
@@ -178,12 +374,12 @@ joining_types = {
     0x687: 68,
     0x688: 82,
     0x689: 82,
-    0x68a: 82,
-    0x68b: 82,
-    0x68c: 82,
-    0x68d: 82,
-    0x68e: 82,
-    0x68f: 82,
+    0x68A: 82,
+    0x68B: 82,
+    0x68C: 82,
+    0x68D: 82,
+    0x68E: 82,
+    0x68F: 82,
     0x690: 82,
     0x691: 82,
     0x692: 82,
@@ -194,74 +390,93 @@ joining_types = {
     0x697: 82,
     0x698: 82,
     0x699: 82,
-    0x69a: 68,
-    0x69b: 68,
-    0x69c: 68,
-    0x69d: 68,
-    0x69e: 68,
-    0x69f: 68,
-    0x6a0: 68,
-    0x6a1: 68,
-    0x6a2: 68,
-    0x6a3: 68,
-    0x6a4: 68,
-    0x6a5: 68,
-    0x6a6: 68,
-    0x6a7: 68,
-    0x6a8: 68,
-    0x6a9: 68,
-    0x6aa: 68,
-    0x6ab: 68,
-    0x6ac: 68,
-    0x6ad: 68,
-    0x6ae: 68,
-    0x6af: 68,
-    0x6b0: 68,
-    0x6b1: 68,
-    0x6b2: 68,
-    0x6b3: 68,
-    0x6b4: 68,
-    0x6b5: 68,
-    0x6b6: 68,
-    0x6b7: 68,
-    0x6b8: 68,
-    0x6b9: 68,
-    0x6ba: 68,
-    0x6bb: 68,
-    0x6bc: 68,
-    0x6bd: 68,
-    0x6be: 68,
-    0x6bf: 68,
-    0x6c0: 82,
-    0x6c1: 68,
-    0x6c2: 68,
-    0x6c3: 82,
-    0x6c4: 82,
-    0x6c5: 82,
-    0x6c6: 82,
-    0x6c7: 82,
-    0x6c8: 82,
-    0x6c9: 82,
-    0x6ca: 82,
-    0x6cb: 82,
-    0x6cc: 68,
-    0x6cd: 82,
-    0x6ce: 68,
-    0x6cf: 82,
-    0x6d0: 68,
-    0x6d1: 68,
-    0x6d2: 82,
-    0x6d3: 82,
-    0x6d5: 82,
-    0x6dd: 85,
-    0x6ee: 82,
-    0x6ef: 82,
-    0x6fa: 68,
-    0x6fb: 68,
-    0x6fc: 68,
-    0x6ff: 68,
-    0x70f: 84,
+    0x69A: 68,
+    0x69B: 68,
+    0x69C: 68,
+    0x69D: 68,
+    0x69E: 68,
+    0x69F: 68,
+    0x6A0: 68,
+    0x6A1: 68,
+    0x6A2: 68,
+    0x6A3: 68,
+    0x6A4: 68,
+    0x6A5: 68,
+    0x6A6: 68,
+    0x6A7: 68,
+    0x6A8: 68,
+    0x6A9: 68,
+    0x6AA: 68,
+    0x6AB: 68,
+    0x6AC: 68,
+    0x6AD: 68,
+    0x6AE: 68,
+    0x6AF: 68,
+    0x6B0: 68,
+    0x6B1: 68,
+    0x6B2: 68,
+    0x6B3: 68,
+    0x6B4: 68,
+    0x6B5: 68,
+    0x6B6: 68,
+    0x6B7: 68,
+    0x6B8: 68,
+    0x6B9: 68,
+    0x6BA: 68,
+    0x6BB: 68,
+    0x6BC: 68,
+    0x6BD: 68,
+    0x6BE: 68,
+    0x6BF: 68,
+    0x6C0: 82,
+    0x6C1: 68,
+    0x6C2: 68,
+    0x6C3: 82,
+    0x6C4: 82,
+    0x6C5: 82,
+    0x6C6: 82,
+    0x6C7: 82,
+    0x6C8: 82,
+    0x6C9: 82,
+    0x6CA: 82,
+    0x6CB: 82,
+    0x6CC: 68,
+    0x6CD: 82,
+    0x6CE: 68,
+    0x6CF: 82,
+    0x6D0: 68,
+    0x6D1: 68,
+    0x6D2: 82,
+    0x6D3: 82,
+    0x6D5: 82,
+    0x6D6: 84,
+    0x6D7: 84,
+    0x6D8: 84,
+    0x6D9: 84,
+    0x6DA: 84,
+    0x6DB: 84,
+    0x6DC: 84,
+    0x6DF: 84,
+    0x6E0: 84,
+    0x6E1: 84,
+    0x6E2: 84,
+    0x6E3: 84,
+    0x6E4: 84,
+    0x6E7: 84,
+    0x6E8: 84,
+    0x6EA: 84,
+    0x6EB: 84,
+    0x6EC: 84,
+    0x6ED: 84,
+    0x6EE: 82,
+    0x6EF: 82,
+    0x6FA: 68,
+    0x6FB: 68,
+    0x6FC: 68,
+    0x6FF: 68,
+    0x70F: 84,
     0x710: 82,
+    0x711: 84,
     0x712: 68,
     0x713: 68,
     0x714: 68,
@@ -270,12 +485,12 @@ joining_types = {
     0x717: 82,
     0x718: 82,
     0x719: 82,
-    0x71a: 68,
-    0x71b: 68,
-    0x71c: 68,
-    0x71d: 68,
-    0x71e: 82,
-    0x71f: 68,
+    0x71A: 68,
+    0x71B: 68,
+    0x71C: 68,
+    0x71D: 68,
+    0x71E: 82,
+    0x71F: 68,
     0x720: 68,
     0x721: 68,
     0x722: 68,
@@ -286,15 +501,42 @@ joining_types = {
     0x727: 68,
     0x728: 82,
     0x729: 68,
-    0x72a: 82,
-    0x72b: 68,
-    0x72c: 82,
-    0x72d: 68,
-    0x72e: 68,
-    0x72f: 82,
-    0x74d: 82,
-    0x74e: 68,
-    0x74f: 68,
+    0x72A: 82,
+    0x72B: 68,
+    0x72C: 82,
+    0x72D: 68,
+    0x72E: 68,
+    0x72F: 82,
+    0x730: 84,
+    0x731: 84,
+    0x732: 84,
+    0x733: 84,
+    0x734: 84,
+    0x735: 84,
+    0x736: 84,
+    0x737: 84,
+    0x738: 84,
+    0x739: 84,
+    0x73A: 84,
+    0x73B: 84,
+    0x73C: 84,
+    0x73D: 84,
+    0x73E: 84,
+    0x73F: 84,
+    0x740: 84,
+    0x741: 84,
+    0x742: 84,
+    0x743: 84,
+    0x744: 84,
+    0x745: 84,
+    0x746: 84,
+    0x747: 84,
+    0x748: 84,
+    0x749: 84,
+    0x74A: 84,
+    0x74D: 82,
+    0x74E: 68,
+    0x74F: 68,
     0x750: 68,
     0x751: 68,
     0x752: 68,
@@ -305,12 +547,12 @@ joining_types = {
     0x757: 68,
     0x758: 68,
     0x759: 82,
-    0x75a: 82,
-    0x75b: 82,
-    0x75c: 68,
-    0x75d: 68,
-    0x75e: 68,
-    0x75f: 68,
+    0x75A: 82,
+    0x75B: 82,
+    0x75C: 68,
+    0x75D: 68,
+    0x75E: 68,
+    0x75F: 68,
     0x760: 68,
     0x761: 68,
     0x762: 68,
@@ -321,12 +563,12 @@ joining_types = {
     0x767: 68,
     0x768: 68,
     0x769: 68,
-    0x76a: 68,
-    0x76b: 82,
-    0x76c: 82,
-    0x76d: 68,
-    0x76e: 68,
-    0x76f: 68,
+    0x76A: 68,
+    0x76B: 82,
+    0x76C: 82,
+    0x76D: 68,
+    0x76E: 68,
+    0x76F: 68,
     0x770: 68,
     0x771: 82,
     0x772: 68,
@@ -337,46 +579,88 @@ joining_types = {
     0x777: 68,
     0x778: 82,
     0x779: 82,
-    0x77a: 68,
-    0x77b: 68,
-    0x77c: 68,
-    0x77d: 68,
-    0x77e: 68,
-    0x77f: 68,
-    0x7ca: 68,
-    0x7cb: 68,
-    0x7cc: 68,
-    0x7cd: 68,
-    0x7ce: 68,
-    0x7cf: 68,
-    0x7d0: 68,
-    0x7d1: 68,
-    0x7d2: 68,
-    0x7d3: 68,
-    0x7d4: 68,
-    0x7d5: 68,
-    0x7d6: 68,
-    0x7d7: 68,
-    0x7d8: 68,
-    0x7d9: 68,
-    0x7da: 68,
-    0x7db: 68,
-    0x7dc: 68,
-    0x7dd: 68,
-    0x7de: 68,
-    0x7df: 68,
-    0x7e0: 68,
-    0x7e1: 68,
-    0x7e2: 68,
-    0x7e3: 68,
-    0x7e4: 68,
-    0x7e5: 68,
-    0x7e6: 68,
-    0x7e7: 68,
-    0x7e8: 68,
-    0x7e9: 68,
-    0x7ea: 68,
-    0x7fa: 67,
+    0x77A: 68,
+    0x77B: 68,
+    0x77C: 68,
+    0x77D: 68,
+    0x77E: 68,
+    0x77F: 68,
+    0x7A6: 84,
+    0x7A7: 84,
+    0x7A8: 84,
+    0x7A9: 84,
+    0x7AA: 84,
+    0x7AB: 84,
+    0x7AC: 84,
+    0x7AD: 84,
+    0x7AE: 84,
+    0x7AF: 84,
+    0x7B0: 84,
+    0x7CA: 68,
+    0x7CB: 68,
+    0x7CC: 68,
+    0x7CD: 68,
+    0x7CE: 68,
+    0x7CF: 68,
+    0x7D0: 68,
+    0x7D1: 68,
+    0x7D2: 68,
+    0x7D3: 68,
+    0x7D4: 68,
+    0x7D5: 68,
+    0x7D6: 68,
+    0x7D7: 68,
+    0x7D8: 68,
+    0x7D9: 68,
+    0x7DA: 68,
+    0x7DB: 68,
+    0x7DC: 68,
+    0x7DD: 68,
+    0x7DE: 68,
+    0x7DF: 68,
+    0x7E0: 68,
+    0x7E1: 68,
+    0x7E2: 68,
+    0x7E3: 68,
+    0x7E4: 68,
+    0x7E5: 68,
+    0x7E6: 68,
+    0x7E7: 68,
+    0x7E8: 68,
+    0x7E9: 68,
+    0x7EA: 68,
+    0x7EB: 84,
+    0x7EC: 84,
+    0x7ED: 84,
+    0x7EE: 84,
+    0x7EF: 84,
+    0x7F0: 84,
+    0x7F1: 84,
+    0x7F2: 84,
+    0x7F3: 84,
+    0x7FA: 67,
+    0x7FD: 84,
+    0x816: 84,
+    0x817: 84,
+    0x818: 84,
+    0x819: 84,
+    0x81B: 84,
+    0x81C: 84,
+    0x81D: 84,
+    0x81E: 84,
+    0x81F: 84,
+    0x820: 84,
+    0x821: 84,
+    0x822: 84,
+    0x823: 84,
+    0x825: 84,
+    0x826: 84,
+    0x827: 84,
+    0x829: 84,
+    0x82A: 84,
+    0x82B: 84,
+    0x82C: 84,
+    0x82D: 84,
     0x840: 82,
     0x841: 68,
     0x842: 68,
@@ -387,12 +671,12 @@ joining_types = {
     0x847: 82,
     0x848: 68,
     0x849: 82,
-    0x84a: 68,
-    0x84b: 68,
-    0x84c: 68,
-    0x84d: 68,
-    0x84e: 68,
-    0x84f: 68,
+    0x84A: 68,
+    0x84B: 68,
+    0x84C: 68,
+    0x84D: 68,
+    0x84E: 68,
+    0x84F: 68,
     0x850: 68,
     0x851: 68,
     0x852: 68,
@@ -402,17 +686,18 @@ joining_types = {
     0x856: 82,
     0x857: 82,
     0x858: 82,
+    0x859: 84,
+    0x85A: 84,
+    0x85B: 84,
     0x860: 68,
-    0x861: 85,
     0x862: 68,
     0x863: 68,
     0x864: 68,
     0x865: 68,
-    0x866: 85,
     0x867: 82,
     0x868: 68,
     0x869: 82,
-    0x86a: 82,
+    0x86A: 82,
     0x870: 82,
     0x871: 82,
     0x872: 82,
@@ -423,12 +708,12 @@ joining_types = {
     0x877: 82,
     0x878: 82,
     0x879: 82,
-    0x87a: 82,
-    0x87b: 82,
-    0x87c: 82,
-    0x87d: 82,
-    0x87e: 82,
-    0x87f: 82,
+    0x87A: 82,
+    0x87B: 82,
+    0x87C: 82,
+    0x87D: 82,
+    0x87E: 82,
+    0x87F: 82,
     0x880: 82,
     0x881: 82,
     0x882: 82,
@@ -436,62 +721,411 @@ joining_types = {
     0x884: 67,
     0x885: 67,
     0x886: 68,
-    0x887: 85,
-    0x888: 85,
     0x889: 68,
-    0x88a: 68,
-    0x88b: 68,
-    0x88c: 68,
-    0x88d: 68,
-    0x88e: 82,
-    0x890: 85,
-    0x891: 85,
-    0x8a0: 68,
-    0x8a1: 68,
-    0x8a2: 68,
-    0x8a3: 68,
-    0x8a4: 68,
-    0x8a5: 68,
-    0x8a6: 68,
-    0x8a7: 68,
-    0x8a8: 68,
-    0x8a9: 68,
-    0x8aa: 82,
-    0x8ab: 82,
-    0x8ac: 82,
-    0x8ad: 85,
-    0x8ae: 82,
-    0x8af: 68,
-    0x8b0: 68,
-    0x8b1: 82,
-    0x8b2: 82,
-    0x8b3: 68,
-    0x8b4: 68,
-    0x8b5: 68,
-    0x8b6: 68,
-    0x8b7: 68,
-    0x8b8: 68,
-    0x8b9: 82,
-    0x8ba: 68,
-    0x8bb: 68,
-    0x8bc: 68,
-    0x8bd: 68,
-    0x8be: 68,
-    0x8bf: 68,
-    0x8c0: 68,
-    0x8c1: 68,
-    0x8c2: 68,
-    0x8c3: 68,
-    0x8c4: 68,
-    0x8c5: 68,
-    0x8c6: 68,
-    0x8c7: 68,
-    0x8c8: 68,
-    0x8e2: 85,
-    0x1806: 85,
+    0x88A: 68,
+    0x88B: 68,
+    0x88C: 68,
+    0x88D: 68,
+    0x88E: 82,
+    0x898: 84,
+    0x899: 84,
+    0x89A: 84,
+    0x89B: 84,
+    0x89C: 84,
+    0x89D: 84,
+    0x89E: 84,
+    0x89F: 84,
+    0x8A0: 68,
+    0x8A1: 68,
+    0x8A2: 68,
+    0x8A3: 68,
+    0x8A4: 68,
+    0x8A5: 68,
+    0x8A6: 68,
+    0x8A7: 68,
+    0x8A8: 68,
+    0x8A9: 68,
+    0x8AA: 82,
+    0x8AB: 82,
+    0x8AC: 82,
+    0x8AE: 82,
+    0x8AF: 68,
+    0x8B0: 68,
+    0x8B1: 82,
+    0x8B2: 82,
+    0x8B3: 68,
+    0x8B4: 68,
+    0x8B5: 68,
+    0x8B6: 68,
+    0x8B7: 68,
+    0x8B8: 68,
+    0x8B9: 82,
+    0x8BA: 68,
+    0x8BB: 68,
+    0x8BC: 68,
+    0x8BD: 68,
+    0x8BE: 68,
+    0x8BF: 68,
+    0x8C0: 68,
+    0x8C1: 68,
+    0x8C2: 68,
+    0x8C3: 68,
+    0x8C4: 68,
+    0x8C5: 68,
+    0x8C6: 68,
+    0x8C7: 68,
+    0x8C8: 68,
+    0x8CA: 84,
+    0x8CB: 84,
+    0x8CC: 84,
+    0x8CD: 84,
+    0x8CE: 84,
+    0x8CF: 84,
+    0x8D0: 84,
+    0x8D1: 84,
+    0x8D2: 84,
+    0x8D3: 84,
+    0x8D4: 84,
+    0x8D5: 84,
+    0x8D6: 84,
+    0x8D7: 84,
+    0x8D8: 84,
+    0x8D9: 84,
+    0x8DA: 84,
+    0x8DB: 84,
+    0x8DC: 84,
+    0x8DD: 84,
+    0x8DE: 84,
+    0x8DF: 84,
+    0x8E0: 84,
+    0x8E1: 84,
+    0x8E3: 84,
+    0x8E4: 84,
+    0x8E5: 84,
+    0x8E6: 84,
+    0x8E7: 84,
+    0x8E8: 84,
+    0x8E9: 84,
+    0x8EA: 84,
+    0x8EB: 84,
+    0x8EC: 84,
+    0x8ED: 84,
+    0x8EE: 84,
+    0x8EF: 84,
+    0x8F0: 84,
+    0x8F1: 84,
+    0x8F2: 84,
+    0x8F3: 84,
+    0x8F4: 84,
+    0x8F5: 84,
+    0x8F6: 84,
+    0x8F7: 84,
+    0x8F8: 84,
+    0x8F9: 84,
+    0x8FA: 84,
+    0x8FB: 84,
+    0x8FC: 84,
+    0x8FD: 84,
+    0x8FE: 84,
+    0x8FF: 84,
+    0x900: 84,
+    0x901: 84,
+    0x902: 84,
+    0x93A: 84,
+    0x93C: 84,
+    0x941: 84,
+    0x942: 84,
+    0x943: 84,
+    0x944: 84,
+    0x945: 84,
+    0x946: 84,
+    0x947: 84,
+    0x948: 84,
+    0x94D: 84,
+    0x951: 84,
+    0x952: 84,
+    0x953: 84,
+    0x954: 84,
+    0x955: 84,
+    0x956: 84,
+    0x957: 84,
+    0x962: 84,
+    0x963: 84,
+    0x981: 84,
+    0x9BC: 84,
+    0x9C1: 84,
+    0x9C2: 84,
+    0x9C3: 84,
+    0x9C4: 84,
+    0x9CD: 84,
+    0x9E2: 84,
+    0x9E3: 84,
+    0x9FE: 84,
+    0xA01: 84,
+    0xA02: 84,
+    0xA3C: 84,
+    0xA41: 84,
+    0xA42: 84,
+    0xA47: 84,
+    0xA48: 84,
+    0xA4B: 84,
+    0xA4C: 84,
+    0xA4D: 84,
+    0xA51: 84,
+    0xA70: 84,
+    0xA71: 84,
+    0xA75: 84,
+    0xA81: 84,
+    0xA82: 84,
+    0xABC: 84,
+    0xAC1: 84,
+    0xAC2: 84,
+    0xAC3: 84,
+    0xAC4: 84,
+    0xAC5: 84,
+    0xAC7: 84,
+    0xAC8: 84,
+    0xACD: 84,
+    0xAE2: 84,
+    0xAE3: 84,
+    0xAFA: 84,
+    0xAFB: 84,
+    0xAFC: 84,
+    0xAFD: 84,
+    0xAFE: 84,
+    0xAFF: 84,
+    0xB01: 84,
+    0xB3C: 84,
+    0xB3F: 84,
+    0xB41: 84,
+    0xB42: 84,
+    0xB43: 84,
+    0xB44: 84,
+    0xB4D: 84,
+    0xB55: 84,
+    0xB56: 84,
+    0xB62: 84,
+    0xB63: 84,
+    0xB82: 84,
+    0xBC0: 84,
+    0xBCD: 84,
+    0xC00: 84,
+    0xC04: 84,
+    0xC3C: 84,
+    0xC3E: 84,
+    0xC3F: 84,
+    0xC40: 84,
+    0xC46: 84,
+    0xC47: 84,
+    0xC48: 84,
+    0xC4A: 84,
+    0xC4B: 84,
+    0xC4C: 84,
+    0xC4D: 84,
+    0xC55: 84,
+    0xC56: 84,
+    0xC62: 84,
+    0xC63: 84,
+    0xC81: 84,
+    0xCBC: 84,
+    0xCBF: 84,
+    0xCC6: 84,
+    0xCCC: 84,
+    0xCCD: 84,
+    0xCE2: 84,
+    0xCE3: 84,
+    0xD00: 84,
+    0xD01: 84,
+    0xD3B: 84,
+    0xD3C: 84,
+    0xD41: 84,
+    0xD42: 84,
+    0xD43: 84,
+    0xD44: 84,
+    0xD4D: 84,
+    0xD62: 84,
+    0xD63: 84,
+    0xD81: 84,
+    0xDCA: 84,
+    0xDD2: 84,
+    0xDD3: 84,
+    0xDD4: 84,
+    0xDD6: 84,
+    0xE31: 84,
+    0xE34: 84,
+    0xE35: 84,
+    0xE36: 84,
+    0xE37: 84,
+    0xE38: 84,
+    0xE39: 84,
+    0xE3A: 84,
+    0xE47: 84,
+    0xE48: 84,
+    0xE49: 84,
+    0xE4A: 84,
+    0xE4B: 84,
+    0xE4C: 84,
+    0xE4D: 84,
+    0xE4E: 84,
+    0xEB1: 84,
+    0xEB4: 84,
+    0xEB5: 84,
+    0xEB6: 84,
+    0xEB7: 84,
+    0xEB8: 84,
+    0xEB9: 84,
+    0xEBA: 84,
+    0xEBB: 84,
+    0xEBC: 84,
+    0xEC8: 84,
+    0xEC9: 84,
+    0xECA: 84,
+    0xECB: 84,
+    0xECC: 84,
+    0xECD: 84,
+    0xECE: 84,
+    0xF18: 84,
+    0xF19: 84,
+    0xF35: 84,
+    0xF37: 84,
+    0xF39: 84,
+    0xF71: 84,
+    0xF72: 84,
+    0xF73: 84,
+    0xF74: 84,
+    0xF75: 84,
+    0xF76: 84,
+    0xF77: 84,
+    0xF78: 84,
+    0xF79: 84,
+    0xF7A: 84,
+    0xF7B: 84,
+    0xF7C: 84,
+    0xF7D: 84,
+    0xF7E: 84,
+    0xF80: 84,
+    0xF81: 84,
+    0xF82: 84,
+    0xF83: 84,
+    0xF84: 84,
+    0xF86: 84,
+    0xF87: 84,
+    0xF8D: 84,
+    0xF8E: 84,
+    0xF8F: 84,
+    0xF90: 84,
+    0xF91: 84,
+    0xF92: 84,
+    0xF93: 84,
+    0xF94: 84,
+    0xF95: 84,
+    0xF96: 84,
+    0xF97: 84,
+    0xF99: 84,
+    0xF9A: 84,
+    0xF9B: 84,
+    0xF9C: 84,
+    0xF9D: 84,
+    0xF9E: 84,
+    0xF9F: 84,
+    0xFA0: 84,
+    0xFA1: 84,
+    0xFA2: 84,
+    0xFA3: 84,
+    0xFA4: 84,
+    0xFA5: 84,
+    0xFA6: 84,
+    0xFA7: 84,
+    0xFA8: 84,
+    0xFA9: 84,
+    0xFAA: 84,
+    0xFAB: 84,
+    0xFAC: 84,
+    0xFAD: 84,
+    0xFAE: 84,
+    0xFAF: 84,
+    0xFB0: 84,
+    0xFB1: 84,
+    0xFB2: 84,
+    0xFB3: 84,
+    0xFB4: 84,
+    0xFB5: 84,
+    0xFB6: 84,
+    0xFB7: 84,
+    0xFB8: 84,
+    0xFB9: 84,
+    0xFBA: 84,
+    0xFBB: 84,
+    0xFBC: 84,
+    0xFC6: 84,
+    0x102D: 84,
+    0x102E: 84,
+    0x102F: 84,
+    0x1030: 84,
+    0x1032: 84,
+    0x1033: 84,
+    0x1034: 84,
+    0x1035: 84,
+    0x1036: 84,
+    0x1037: 84,
+    0x1039: 84,
+    0x103A: 84,
+    0x103D: 84,
+    0x103E: 84,
+    0x1058: 84,
+    0x1059: 84,
+    0x105E: 84,
+    0x105F: 84,
+    0x1060: 84,
+    0x1071: 84,
+    0x1072: 84,
+    0x1073: 84,
+    0x1074: 84,
+    0x1082: 84,
+    0x1085: 84,
+    0x1086: 84,
+    0x108D: 84,
+    0x109D: 84,
+    0x135D: 84,
+    0x135E: 84,
+    0x135F: 84,
+    0x1712: 84,
+    0x1713: 84,
+    0x1714: 84,
+    0x1732: 84,
+    0x1733: 84,
+    0x1752: 84,
+    0x1753: 84,
+    0x1772: 84,
+    0x1773: 84,
+    0x17B4: 84,
+    0x17B5: 84,
+    0x17B7: 84,
+    0x17B8: 84,
+    0x17B9: 84,
+    0x17BA: 84,
+    0x17BB: 84,
+    0x17BC: 84,
+    0x17BD: 84,
+    0x17C6: 84,
+    0x17C9: 84,
+    0x17CA: 84,
+    0x17CB: 84,
+    0x17CC: 84,
+    0x17CD: 84,
+    0x17CE: 84,
+    0x17CF: 84,
+    0x17D0: 84,
+    0x17D1: 84,
+    0x17D2: 84,
+    0x17D3: 84,
+    0x17DD: 84,
     0x1807: 68,
-    0x180a: 67,
-    0x180e: 85,
+    0x180A: 67,
+    0x180B: 84,
+    0x180C: 84,
+    0x180D: 84,
+    0x180F: 84,
     0x1820: 68,
     0x1821: 68,
     0x1822: 68,
@@ -502,12 +1136,12 @@ joining_types = {
     0x1827: 68,
     0x1828: 68,
     0x1829: 68,
-    0x182a: 68,
-    0x182b: 68,
-    0x182c: 68,
-    0x182d: 68,
-    0x182e: 68,
-    0x182f: 68,
+    0x182A: 68,
+    0x182B: 68,
+    0x182C: 68,
+    0x182D: 68,
+    0x182E: 68,
+    0x182F: 68,
     0x1830: 68,
     0x1831: 68,
     0x1832: 68,
@@ -518,12 +1152,12 @@ joining_types = {
     0x1837: 68,
     0x1838: 68,
     0x1839: 68,
-    0x183a: 68,
-    0x183b: 68,
-    0x183c: 68,
-    0x183d: 68,
-    0x183e: 68,
-    0x183f: 68,
+    0x183A: 68,
+    0x183B: 68,
+    0x183C: 68,
+    0x183D: 68,
+    0x183E: 68,
+    0x183F: 68,
     0x1840: 68,
     0x1841: 68,
     0x1842: 68,
@@ -534,12 +1168,12 @@ joining_types = {
     0x1847: 68,
     0x1848: 68,
     0x1849: 68,
-    0x184a: 68,
-    0x184b: 68,
-    0x184c: 68,
-    0x184d: 68,
-    0x184e: 68,
-    0x184f: 68,
+    0x184A: 68,
+    0x184B: 68,
+    0x184C: 68,
+    0x184D: 68,
+    0x184E: 68,
+    0x184F: 68,
     0x1850: 68,
     0x1851: 68,
     0x1852: 68,
@@ -550,12 +1184,12 @@ joining_types = {
     0x1857: 68,
     0x1858: 68,
     0x1859: 68,
-    0x185a: 68,
-    0x185b: 68,
-    0x185c: 68,
-    0x185d: 68,
-    0x185e: 68,
-    0x185f: 68,
+    0x185A: 68,
+    0x185B: 68,
+    0x185C: 68,
+    0x185D: 68,
+    0x185E: 68,
+    0x185F: 68,
     0x1860: 68,
     0x1861: 68,
     0x1862: 68,
@@ -566,12 +1200,12 @@ joining_types = {
     0x1867: 68,
     0x1868: 68,
     0x1869: 68,
-    0x186a: 68,
-    0x186b: 68,
-    0x186c: 68,
-    0x186d: 68,
-    0x186e: 68,
-    0x186f: 68,
+    0x186A: 68,
+    0x186B: 68,
+    0x186C: 68,
+    0x186D: 68,
+    0x186E: 68,
+    0x186F: 68,
     0x1870: 68,
     0x1871: 68,
     0x1872: 68,
@@ -581,22 +1215,17 @@ joining_types = {
     0x1876: 68,
     0x1877: 68,
     0x1878: 68,
-    0x1880: 85,
-    0x1881: 85,
-    0x1882: 85,
-    0x1883: 85,
-    0x1884: 85,
     0x1885: 84,
     0x1886: 84,
     0x1887: 68,
     0x1888: 68,
     0x1889: 68,
-    0x188a: 68,
-    0x188b: 68,
-    0x188c: 68,
-    0x188d: 68,
-    0x188e: 68,
-    0x188f: 68,
+    0x188A: 68,
+    0x188B: 68,
+    0x188C: 68,
+    0x188D: 68,
+    0x188E: 68,
+    0x188F: 68,
     0x1890: 68,
     0x1891: 68,
     0x1892: 68,
@@ -607,1545 +1236,3008 @@ joining_types = {
     0x1897: 68,
     0x1898: 68,
     0x1899: 68,
-    0x189a: 68,
-    0x189b: 68,
-    0x189c: 68,
-    0x189d: 68,
-    0x189e: 68,
-    0x189f: 68,
-    0x18a0: 68,
-    0x18a1: 68,
-    0x18a2: 68,
-    0x18a3: 68,
-    0x18a4: 68,
-    0x18a5: 68,
-    0x18a6: 68,
-    0x18a7: 68,
-    0x18a8: 68,
-    0x18aa: 68,
-    0x200c: 85,
-    0x200d: 67,
-    0x202f: 85,
-    0x2066: 85,
-    0x2067: 85,
-    0x2068: 85,
-    0x2069: 85,
-    0xa840: 68,
-    0xa841: 68,
-    0xa842: 68,
-    0xa843: 68,
-    0xa844: 68,
-    0xa845: 68,
-    0xa846: 68,
-    0xa847: 68,
-    0xa848: 68,
-    0xa849: 68,
-    0xa84a: 68,
-    0xa84b: 68,
-    0xa84c: 68,
-    0xa84d: 68,
-    0xa84e: 68,
-    0xa84f: 68,
-    0xa850: 68,
-    0xa851: 68,
-    0xa852: 68,
-    0xa853: 68,
-    0xa854: 68,
-    0xa855: 68,
-    0xa856: 68,
-    0xa857: 68,
-    0xa858: 68,
-    0xa859: 68,
-    0xa85a: 68,
-    0xa85b: 68,
-    0xa85c: 68,
-    0xa85d: 68,
-    0xa85e: 68,
-    0xa85f: 68,
-    0xa860: 68,
-    0xa861: 68,
-    0xa862: 68,
-    0xa863: 68,
-    0xa864: 68,
-    0xa865: 68,
-    0xa866: 68,
-    0xa867: 68,
-    0xa868: 68,
-    0xa869: 68,
-    0xa86a: 68,
-    0xa86b: 68,
-    0xa86c: 68,
-    0xa86d: 68,
-    0xa86e: 68,
-    0xa86f: 68,
-    0xa870: 68,
-    0xa871: 68,
-    0xa872: 76,
-    0xa873: 85,
-    0x10ac0: 68,
-    0x10ac1: 68,
-    0x10ac2: 68,
-    0x10ac3: 68,
-    0x10ac4: 68,
-    0x10ac5: 82,
-    0x10ac6: 85,
-    0x10ac7: 82,
-    0x10ac8: 85,
-    0x10ac9: 82,
-    0x10aca: 82,
-    0x10acb: 85,
-    0x10acc: 85,
-    0x10acd: 76,
-    0x10ace: 82,
-    0x10acf: 82,
-    0x10ad0: 82,
-    0x10ad1: 82,
-    0x10ad2: 82,
-    0x10ad3: 68,
-    0x10ad4: 68,
-    0x10ad5: 68,
-    0x10ad6: 68,
-    0x10ad7: 76,
-    0x10ad8: 68,
-    0x10ad9: 68,
-    0x10ada: 68,
-    0x10adb: 68,
-    0x10adc: 68,
-    0x10add: 82,
-    0x10ade: 68,
-    0x10adf: 68,
-    0x10ae0: 68,
-    0x10ae1: 82,
-    0x10ae2: 85,
-    0x10ae3: 85,
-    0x10ae4: 82,
-    0x10aeb: 68,
-    0x10aec: 68,
-    0x10aed: 68,
-    0x10aee: 68,
-    0x10aef: 82,
-    0x10b80: 68,
-    0x10b81: 82,
-    0x10b82: 68,
-    0x10b83: 82,
-    0x10b84: 82,
-    0x10b85: 82,
-    0x10b86: 68,
-    0x10b87: 68,
-    0x10b88: 68,
-    0x10b89: 82,
-    0x10b8a: 68,
-    0x10b8b: 68,
-    0x10b8c: 82,
-    0x10b8d: 68,
-    0x10b8e: 82,
-    0x10b8f: 82,
-    0x10b90: 68,
-    0x10b91: 82,
-    0x10ba9: 82,
-    0x10baa: 82,
-    0x10bab: 82,
-    0x10bac: 82,
-    0x10bad: 68,
-    0x10bae: 68,
-    0x10baf: 85,
-    0x10d00: 76,
-    0x10d01: 68,
-    0x10d02: 68,
-    0x10d03: 68,
-    0x10d04: 68,
-    0x10d05: 68,
-    0x10d06: 68,
-    0x10d07: 68,
-    0x10d08: 68,
-    0x10d09: 68,
-    0x10d0a: 68,
-    0x10d0b: 68,
-    0x10d0c: 68,
-    0x10d0d: 68,
-    0x10d0e: 68,
-    0x10d0f: 68,
-    0x10d10: 68,
-    0x10d11: 68,
-    0x10d12: 68,
-    0x10d13: 68,
-    0x10d14: 68,
-    0x10d15: 68,
-    0x10d16: 68,
-    0x10d17: 68,
-    0x10d18: 68,
-    0x10d19: 68,
-    0x10d1a: 68,
-    0x10d1b: 68,
-    0x10d1c: 68,
-    0x10d1d: 68,
-    0x10d1e: 68,
-    0x10d1f: 68,
-    0x10d20: 68,
-    0x10d21: 68,
-    0x10d22: 82,
-    0x10d23: 68,
-    0x10f30: 68,
-    0x10f31: 68,
-    0x10f32: 68,
-    0x10f33: 82,
-    0x10f34: 68,
-    0x10f35: 68,
-    0x10f36: 68,
-    0x10f37: 68,
-    0x10f38: 68,
-    0x10f39: 68,
-    0x10f3a: 68,
-    0x10f3b: 68,
-    0x10f3c: 68,
-    0x10f3d: 68,
-    0x10f3e: 68,
-    0x10f3f: 68,
-    0x10f40: 68,
-    0x10f41: 68,
-    0x10f42: 68,
-    0x10f43: 68,
-    0x10f44: 68,
-    0x10f45: 85,
-    0x10f51: 68,
-    0x10f52: 68,
-    0x10f53: 68,
-    0x10f54: 82,
-    0x10f70: 68,
-    0x10f71: 68,
-    0x10f72: 68,
-    0x10f73: 68,
-    0x10f74: 82,
-    0x10f75: 82,
-    0x10f76: 68,
-    0x10f77: 68,
-    0x10f78: 68,
-    0x10f79: 68,
-    0x10f7a: 68,
-    0x10f7b: 68,
-    0x10f7c: 68,
-    0x10f7d: 68,
-    0x10f7e: 68,
-    0x10f7f: 68,
-    0x10f80: 68,
-    0x10f81: 68,
-    0x10fb0: 68,
-    0x10fb1: 85,
-    0x10fb2: 68,
-    0x10fb3: 68,
-    0x10fb4: 82,
-    0x10fb5: 82,
-    0x10fb6: 82,
-    0x10fb7: 85,
-    0x10fb8: 68,
-    0x10fb9: 82,
-    0x10fba: 82,
-    0x10fbb: 68,
-    0x10fbc: 68,
-    0x10fbd: 82,
-    0x10fbe: 68,
-    0x10fbf: 68,
-    0x10fc0: 85,
-    0x10fc1: 68,
-    0x10fc2: 82,
-    0x10fc3: 82,
-    0x10fc4: 68,
-    0x10fc5: 85,
-    0x10fc6: 85,
-    0x10fc7: 85,
-    0x10fc8: 85,
-    0x10fc9: 82,
-    0x10fca: 68,
-    0x10fcb: 76,
-    0x110bd: 85,
-    0x110cd: 85,
-    0x1e900: 68,
-    0x1e901: 68,
-    0x1e902: 68,
-    0x1e903: 68,
-    0x1e904: 68,
-    0x1e905: 68,
-    0x1e906: 68,
-    0x1e907: 68,
-    0x1e908: 68,
-    0x1e909: 68,
-    0x1e90a: 68,
-    0x1e90b: 68,
-    0x1e90c: 68,
-    0x1e90d: 68,
-    0x1e90e: 68,
-    0x1e90f: 68,
-    0x1e910: 68,
-    0x1e911: 68,
-    0x1e912: 68,
-    0x1e913: 68,
-    0x1e914: 68,
-    0x1e915: 68,
-    0x1e916: 68,
-    0x1e917: 68,
-    0x1e918: 68,
-    0x1e919: 68,
-    0x1e91a: 68,
-    0x1e91b: 68,
-    0x1e91c: 68,
-    0x1e91d: 68,
-    0x1e91e: 68,
-    0x1e91f: 68,
-    0x1e920: 68,
-    0x1e921: 68,
-    0x1e922: 68,
-    0x1e923: 68,
-    0x1e924: 68,
-    0x1e925: 68,
-    0x1e926: 68,
-    0x1e927: 68,
-    0x1e928: 68,
-    0x1e929: 68,
-    0x1e92a: 68,
-    0x1e92b: 68,
-    0x1e92c: 68,
-    0x1e92d: 68,
-    0x1e92e: 68,
-    0x1e92f: 68,
-    0x1e930: 68,
-    0x1e931: 68,
-    0x1e932: 68,
-    0x1e933: 68,
-    0x1e934: 68,
-    0x1e935: 68,
-    0x1e936: 68,
-    0x1e937: 68,
-    0x1e938: 68,
-    0x1e939: 68,
-    0x1e93a: 68,
-    0x1e93b: 68,
-    0x1e93c: 68,
-    0x1e93d: 68,
-    0x1e93e: 68,
-    0x1e93f: 68,
-    0x1e940: 68,
-    0x1e941: 68,
-    0x1e942: 68,
-    0x1e943: 68,
-    0x1e94b: 84,
+    0x189A: 68,
+    0x189B: 68,
+    0x189C: 68,
+    0x189D: 68,
+    0x189E: 68,
+    0x189F: 68,
+    0x18A0: 68,
+    0x18A1: 68,
+    0x18A2: 68,
+    0x18A3: 68,
+    0x18A4: 68,
+    0x18A5: 68,
+    0x18A6: 68,
+    0x18A7: 68,
+    0x18A8: 68,
+    0x18A9: 84,
+    0x18AA: 68,
+    0x1920: 84,
+    0x1921: 84,
+    0x1922: 84,
+    0x1927: 84,
+    0x1928: 84,
+    0x1932: 84,
+    0x1939: 84,
+    0x193A: 84,
+    0x193B: 84,
+    0x1A17: 84,
+    0x1A18: 84,
+    0x1A1B: 84,
+    0x1A56: 84,
+    0x1A58: 84,
+    0x1A59: 84,
+    0x1A5A: 84,
+    0x1A5B: 84,
+    0x1A5C: 84,
+    0x1A5D: 84,
+    0x1A5E: 84,
+    0x1A60: 84,
+    0x1A62: 84,
+    0x1A65: 84,
+    0x1A66: 84,
+    0x1A67: 84,
+    0x1A68: 84,
+    0x1A69: 84,
+    0x1A6A: 84,
+    0x1A6B: 84,
+    0x1A6C: 84,
+    0x1A73: 84,
+    0x1A74: 84,
+    0x1A75: 84,
+    0x1A76: 84,
+    0x1A77: 84,
+    0x1A78: 84,
+    0x1A79: 84,
+    0x1A7A: 84,
+    0x1A7B: 84,
+    0x1A7C: 84,
+    0x1A7F: 84,
+    0x1AB0: 84,
+    0x1AB1: 84,
+    0x1AB2: 84,
+    0x1AB3: 84,
+    0x1AB4: 84,
+    0x1AB5: 84,
+    0x1AB6: 84,
+    0x1AB7: 84,
+    0x1AB8: 84,
+    0x1AB9: 84,
+    0x1ABA: 84,
+    0x1ABB: 84,
+    0x1ABC: 84,
+    0x1ABD: 84,
+    0x1ABE: 84,
+    0x1ABF: 84,
+    0x1AC0: 84,
+    0x1AC1: 84,
+    0x1AC2: 84,
+    0x1AC3: 84,
+    0x1AC4: 84,
+    0x1AC5: 84,
+    0x1AC6: 84,
+    0x1AC7: 84,
+    0x1AC8: 84,
+    0x1AC9: 84,
+    0x1ACA: 84,
+    0x1ACB: 84,
+    0x1ACC: 84,
+    0x1ACD: 84,
+    0x1ACE: 84,
+    0x1B00: 84,
+    0x1B01: 84,
+    0x1B02: 84,
+    0x1B03: 84,
+    0x1B34: 84,
+    0x1B36: 84,
+    0x1B37: 84,
+    0x1B38: 84,
+    0x1B39: 84,
+    0x1B3A: 84,
+    0x1B3C: 84,
+    0x1B42: 84,
+    0x1B6B: 84,
+    0x1B6C: 84,
+    0x1B6D: 84,
+    0x1B6E: 84,
+    0x1B6F: 84,
+    0x1B70: 84,
+    0x1B71: 84,
+    0x1B72: 84,
+    0x1B73: 84,
+    0x1B80: 84,
+    0x1B81: 84,
+    0x1BA2: 84,
+    0x1BA3: 84,
+    0x1BA4: 84,
+    0x1BA5: 84,
+    0x1BA8: 84,
+    0x1BA9: 84,
+    0x1BAB: 84,
+    0x1BAC: 84,
+    0x1BAD: 84,
+    0x1BE6: 84,
+    0x1BE8: 84,
+    0x1BE9: 84,
+    0x1BED: 84,
+    0x1BEF: 84,
+    0x1BF0: 84,
+    0x1BF1: 84,
+    0x1C2C: 84,
+    0x1C2D: 84,
+    0x1C2E: 84,
+    0x1C2F: 84,
+    0x1C30: 84,
+    0x1C31: 84,
+    0x1C32: 84,
+    0x1C33: 84,
+    0x1C36: 84,
+    0x1C37: 84,
+    0x1CD0: 84,
+    0x1CD1: 84,
+    0x1CD2: 84,
+    0x1CD4: 84,
+    0x1CD5: 84,
+    0x1CD6: 84,
+    0x1CD7: 84,
+    0x1CD8: 84,
+    0x1CD9: 84,
+    0x1CDA: 84,
+    0x1CDB: 84,
+    0x1CDC: 84,
+    0x1CDD: 84,
+    0x1CDE: 84,
+    0x1CDF: 84,
+    0x1CE0: 84,
+    0x1CE2: 84,
+    0x1CE3: 84,
+    0x1CE4: 84,
+    0x1CE5: 84,
+    0x1CE6: 84,
+    0x1CE7: 84,
+    0x1CE8: 84,
+    0x1CED: 84,
+    0x1CF4: 84,
+    0x1CF8: 84,
+    0x1CF9: 84,
+    0x1DC0: 84,
+    0x1DC1: 84,
+    0x1DC2: 84,
+    0x1DC3: 84,
+    0x1DC4: 84,
+    0x1DC5: 84,
+    0x1DC6: 84,
+    0x1DC7: 84,
+    0x1DC8: 84,
+    0x1DC9: 84,
+    0x1DCA: 84,
+    0x1DCB: 84,
+    0x1DCC: 84,
+    0x1DCD: 84,
+    0x1DCE: 84,
+    0x1DCF: 84,
+    0x1DD0: 84,
+    0x1DD1: 84,
+    0x1DD2: 84,
+    0x1DD3: 84,
+    0x1DD4: 84,
+    0x1DD5: 84,
+    0x1DD6: 84,
+    0x1DD7: 84,
+    0x1DD8: 84,
+    0x1DD9: 84,
+    0x1DDA: 84,
+    0x1DDB: 84,
+    0x1DDC: 84,
+    0x1DDD: 84,
+    0x1DDE: 84,
+    0x1DDF: 84,
+    0x1DE0: 84,
+    0x1DE1: 84,
+    0x1DE2: 84,
+    0x1DE3: 84,
+    0x1DE4: 84,
+    0x1DE5: 84,
+    0x1DE6: 84,
+    0x1DE7: 84,
+    0x1DE8: 84,
+    0x1DE9: 84,
+    0x1DEA: 84,
+    0x1DEB: 84,
+    0x1DEC: 84,
+    0x1DED: 84,
+    0x1DEE: 84,
+    0x1DEF: 84,
+    0x1DF0: 84,
+    0x1DF1: 84,
+    0x1DF2: 84,
+    0x1DF3: 84,
+    0x1DF4: 84,
+    0x1DF5: 84,
+    0x1DF6: 84,
+    0x1DF7: 84,
+    0x1DF8: 84,
+    0x1DF9: 84,
+    0x1DFA: 84,
+    0x1DFB: 84,
+    0x1DFC: 84,
+    0x1DFD: 84,
+    0x1DFE: 84,
+    0x1DFF: 84,
+    0x200B: 84,
+    0x200D: 67,
+    0x200E: 84,
+    0x200F: 84,
+    0x202A: 84,
+    0x202B: 84,
+    0x202C: 84,
+    0x202D: 84,
+    0x202E: 84,
+    0x2060: 84,
+    0x2061: 84,
+    0x2062: 84,
+    0x2063: 84,
+    0x2064: 84,
+    0x206A: 84,
+    0x206B: 84,
+    0x206C: 84,
+    0x206D: 84,
+    0x206E: 84,
+    0x206F: 84,
+    0x20D0: 84,
+    0x20D1: 84,
+    0x20D2: 84,
+    0x20D3: 84,
+    0x20D4: 84,
+    0x20D5: 84,
+    0x20D6: 84,
+    0x20D7: 84,
+    0x20D8: 84,
+    0x20D9: 84,
+    0x20DA: 84,
+    0x20DB: 84,
+    0x20DC: 84,
+    0x20DD: 84,
+    0x20DE: 84,
+    0x20DF: 84,
+    0x20E0: 84,
+    0x20E1: 84,
+    0x20E2: 84,
+    0x20E3: 84,
+    0x20E4: 84,
+    0x20E5: 84,
+    0x20E6: 84,
+    0x20E7: 84,
+    0x20E8: 84,
+    0x20E9: 84,
+    0x20EA: 84,
+    0x20EB: 84,
+    0x20EC: 84,
+    0x20ED: 84,
+    0x20EE: 84,
+    0x20EF: 84,
+    0x20F0: 84,
+    0x2CEF: 84,
+    0x2CF0: 84,
+    0x2CF1: 84,
+    0x2D7F: 84,
+    0x2DE0: 84,
+    0x2DE1: 84,
+    0x2DE2: 84,
+    0x2DE3: 84,
+    0x2DE4: 84,
+    0x2DE5: 84,
+    0x2DE6: 84,
+    0x2DE7: 84,
+    0x2DE8: 84,
+    0x2DE9: 84,
+    0x2DEA: 84,
+    0x2DEB: 84,
+    0x2DEC: 84,
+    0x2DED: 84,
+    0x2DEE: 84,
+    0x2DEF: 84,
+    0x2DF0: 84,
+    0x2DF1: 84,
+    0x2DF2: 84,
+    0x2DF3: 84,
+    0x2DF4: 84,
+    0x2DF5: 84,
+    0x2DF6: 84,
+    0x2DF7: 84,
+    0x2DF8: 84,
+    0x2DF9: 84,
+    0x2DFA: 84,
+    0x2DFB: 84,
+    0x2DFC: 84,
+    0x2DFD: 84,
+    0x2DFE: 84,
+    0x2DFF: 84,
+    0x302A: 84,
+    0x302B: 84,
+    0x302C: 84,
+    0x302D: 84,
+    0x3099: 84,
+    0x309A: 84,
+    0xA66F: 84,
+    0xA670: 84,
+    0xA671: 84,
+    0xA672: 84,
+    0xA674: 84,
+    0xA675: 84,
+    0xA676: 84,
+    0xA677: 84,
+    0xA678: 84,
+    0xA679: 84,
+    0xA67A: 84,
+    0xA67B: 84,
+    0xA67C: 84,
+    0xA67D: 84,
+    0xA69E: 84,
+    0xA69F: 84,
+    0xA6F0: 84,
+    0xA6F1: 84,
+    0xA802: 84,
+    0xA806: 84,
+    0xA80B: 84,
+    0xA825: 84,
+    0xA826: 84,
+    0xA82C: 84,
+    0xA840: 68,
+    0xA841: 68,
+    0xA842: 68,
+    0xA843: 68,
+    0xA844: 68,
+    0xA845: 68,
+    0xA846: 68,
+    0xA847: 68,
+    0xA848: 68,
+    0xA849: 68,
+    0xA84A: 68,
+    0xA84B: 68,
+    0xA84C: 68,
+    0xA84D: 68,
+    0xA84E: 68,
+    0xA84F: 68,
+    0xA850: 68,
+    0xA851: 68,
+    0xA852: 68,
+    0xA853: 68,
+    0xA854: 68,
+    0xA855: 68,
+    0xA856: 68,
+    0xA857: 68,
+    0xA858: 68,
+    0xA859: 68,
+    0xA85A: 68,
+    0xA85B: 68,
+    0xA85C: 68,
+    0xA85D: 68,
+    0xA85E: 68,
+    0xA85F: 68,
+    0xA860: 68,
+    0xA861: 68,
+    0xA862: 68,
+    0xA863: 68,
+    0xA864: 68,
+    0xA865: 68,
+    0xA866: 68,
+    0xA867: 68,
+    0xA868: 68,
+    0xA869: 68,
+    0xA86A: 68,
+    0xA86B: 68,
+    0xA86C: 68,
+    0xA86D: 68,
+    0xA86E: 68,
+    0xA86F: 68,
+    0xA870: 68,
+    0xA871: 68,
+    0xA872: 76,
+    0xA8C4: 84,
+    0xA8C5: 84,
+    0xA8E0: 84,
+    0xA8E1: 84,
+    0xA8E2: 84,
+    0xA8E3: 84,
+    0xA8E4: 84,
+    0xA8E5: 84,
+    0xA8E6: 84,
+    0xA8E7: 84,
+    0xA8E8: 84,
+    0xA8E9: 84,
+    0xA8EA: 84,
+    0xA8EB: 84,
+    0xA8EC: 84,
+    0xA8ED: 84,
+    0xA8EE: 84,
+    0xA8EF: 84,
+    0xA8F0: 84,
+    0xA8F1: 84,
+    0xA8FF: 84,
+    0xA926: 84,
+    0xA927: 84,
+    0xA928: 84,
+    0xA929: 84,
+    0xA92A: 84,
+    0xA92B: 84,
+    0xA92C: 84,
+    0xA92D: 84,
+    0xA947: 84,
+    0xA948: 84,
+    0xA949: 84,
+    0xA94A: 84,
+    0xA94B: 84,
+    0xA94C: 84,
+    0xA94D: 84,
+    0xA94E: 84,
+    0xA94F: 84,
+    0xA950: 84,
+    0xA951: 84,
+    0xA980: 84,
+    0xA981: 84,
+    0xA982: 84,
+    0xA9B3: 84,
+    0xA9B6: 84,
+    0xA9B7: 84,
+    0xA9B8: 84,
+    0xA9B9: 84,
+    0xA9BC: 84,
+    0xA9BD: 84,
+    0xA9E5: 84,
+    0xAA29: 84,
+    0xAA2A: 84,
+    0xAA2B: 84,
+    0xAA2C: 84,
+    0xAA2D: 84,
+    0xAA2E: 84,
+    0xAA31: 84,
+    0xAA32: 84,
+    0xAA35: 84,
+    0xAA36: 84,
+    0xAA43: 84,
+    0xAA4C: 84,
+    0xAA7C: 84,
+    0xAAB0: 84,
+    0xAAB2: 84,
+    0xAAB3: 84,
+    0xAAB4: 84,
+    0xAAB7: 84,
+    0xAAB8: 84,
+    0xAABE: 84,
+    0xAABF: 84,
+    0xAAC1: 84,
+    0xAAEC: 84,
+    0xAAED: 84,
+    0xAAF6: 84,
+    0xABE5: 84,
+    0xABE8: 84,
+    0xABED: 84,
+    0xFB1E: 84,
+    0xFE00: 84,
+    0xFE01: 84,
+    0xFE02: 84,
+    0xFE03: 84,
+    0xFE04: 84,
+    0xFE05: 84,
+    0xFE06: 84,
+    0xFE07: 84,
+    0xFE08: 84,
+    0xFE09: 84,
+    0xFE0A: 84,
+    0xFE0B: 84,
+    0xFE0C: 84,
+    0xFE0D: 84,
+    0xFE0E: 84,
+    0xFE0F: 84,
+    0xFE20: 84,
+    0xFE21: 84,
+    0xFE22: 84,
+    0xFE23: 84,
+    0xFE24: 84,
+    0xFE25: 84,
+    0xFE26: 84,
+    0xFE27: 84,
+    0xFE28: 84,
+    0xFE29: 84,
+    0xFE2A: 84,
+    0xFE2B: 84,
+    0xFE2C: 84,
+    0xFE2D: 84,
+    0xFE2E: 84,
+    0xFE2F: 84,
+    0xFEFF: 84,
+    0xFFF9: 84,
+    0xFFFA: 84,
+    0xFFFB: 84,
+    0x101FD: 84,
+    0x102E0: 84,
+    0x10376: 84,
+    0x10377: 84,
+    0x10378: 84,
+    0x10379: 84,
+    0x1037A: 84,
+    0x10A01: 84,
+    0x10A02: 84,
+    0x10A03: 84,
+    0x10A05: 84,
+    0x10A06: 84,
+    0x10A0C: 84,
+    0x10A0D: 84,
+    0x10A0E: 84,
+    0x10A0F: 84,
+    0x10A38: 84,
+    0x10A39: 84,
+    0x10A3A: 84,
+    0x10A3F: 84,
+    0x10AC0: 68,
+    0x10AC1: 68,
+    0x10AC2: 68,
+    0x10AC3: 68,
+    0x10AC4: 68,
+    0x10AC5: 82,
+    0x10AC7: 82,
+    0x10AC9: 82,
+    0x10ACA: 82,
+    0x10ACD: 76,
+    0x10ACE: 82,
+    0x10ACF: 82,
+    0x10AD0: 82,
+    0x10AD1: 82,
+    0x10AD2: 82,
+    0x10AD3: 68,
+    0x10AD4: 68,
+    0x10AD5: 68,
+    0x10AD6: 68,
+    0x10AD7: 76,
+    0x10AD8: 68,
+    0x10AD9: 68,
+    0x10ADA: 68,
+    0x10ADB: 68,
+    0x10ADC: 68,
+    0x10ADD: 82,
+    0x10ADE: 68,
+    0x10ADF: 68,
+    0x10AE0: 68,
+    0x10AE1: 82,
+    0x10AE4: 82,
+    0x10AE5: 84,
+    0x10AE6: 84,
+    0x10AEB: 68,
+    0x10AEC: 68,
+    0x10AED: 68,
+    0x10AEE: 68,
+    0x10AEF: 82,
+    0x10B80: 68,
+    0x10B81: 82,
+    0x10B82: 68,
+    0x10B83: 82,
+    0x10B84: 82,
+    0x10B85: 82,
+    0x10B86: 68,
+    0x10B87: 68,
+    0x10B88: 68,
+    0x10B89: 82,
+    0x10B8A: 68,
+    0x10B8B: 68,
+    0x10B8C: 82,
+    0x10B8D: 68,
+    0x10B8E: 82,
+    0x10B8F: 82,
+    0x10B90: 68,
+    0x10B91: 82,
+    0x10BA9: 82,
+    0x10BAA: 82,
+    0x10BAB: 82,
+    0x10BAC: 82,
+    0x10BAD: 68,
+    0x10BAE: 68,
+    0x10D00: 76,
+    0x10D01: 68,
+    0x10D02: 68,
+    0x10D03: 68,
+    0x10D04: 68,
+    0x10D05: 68,
+    0x10D06: 68,
+    0x10D07: 68,
+    0x10D08: 68,
+    0x10D09: 68,
+    0x10D0A: 68,
+    0x10D0B: 68,
+    0x10D0C: 68,
+    0x10D0D: 68,
+    0x10D0E: 68,
+    0x10D0F: 68,
+    0x10D10: 68,
+    0x10D11: 68,
+    0x10D12: 68,
+    0x10D13: 68,
+    0x10D14: 68,
+    0x10D15: 68,
+    0x10D16: 68,
+    0x10D17: 68,
+    0x10D18: 68,
+    0x10D19: 68,
+    0x10D1A: 68,
+    0x10D1B: 68,
+    0x10D1C: 68,
+    0x10D1D: 68,
+    0x10D1E: 68,
+    0x10D1F: 68,
+    0x10D20: 68,
+    0x10D21: 68,
+    0x10D22: 82,
+    0x10D23: 68,
+    0x10D24: 84,
+    0x10D25: 84,
+    0x10D26: 84,
+    0x10D27: 84,
+    0x10EAB: 84,
+    0x10EAC: 84,
+    0x10EFD: 84,
+    0x10EFE: 84,
+    0x10EFF: 84,
+    0x10F30: 68,
+    0x10F31: 68,
+    0x10F32: 68,
+    0x10F33: 82,
+    0x10F34: 68,
+    0x10F35: 68,
+    0x10F36: 68,
+    0x10F37: 68,
+    0x10F38: 68,
+    0x10F39: 68,
+    0x10F3A: 68,
+    0x10F3B: 68,
+    0x10F3C: 68,
+    0x10F3D: 68,
+    0x10F3E: 68,
+    0x10F3F: 68,
+    0x10F40: 68,
+    0x10F41: 68,
+    0x10F42: 68,
+    0x10F43: 68,
+    0x10F44: 68,
+    0x10F46: 84,
+    0x10F47: 84,
+    0x10F48: 84,
+    0x10F49: 84,
+    0x10F4A: 84,
+    0x10F4B: 84,
+    0x10F4C: 84,
+    0x10F4D: 84,
+    0x10F4E: 84,
+    0x10F4F: 84,
+    0x10F50: 84,
+    0x10F51: 68,
+    0x10F52: 68,
+    0x10F53: 68,
+    0x10F54: 82,
+    0x10F70: 68,
+    0x10F71: 68,
+    0x10F72: 68,
+    0x10F73: 68,
+    0x10F74: 82,
+    0x10F75: 82,
+    0x10F76: 68,
+    0x10F77: 68,
+    0x10F78: 68,
+    0x10F79: 68,
+    0x10F7A: 68,
+    0x10F7B: 68,
+    0x10F7C: 68,
+    0x10F7D: 68,
+    0x10F7E: 68,
+    0x10F7F: 68,
+    0x10F80: 68,
+    0x10F81: 68,
+    0x10F82: 84,
+    0x10F83: 84,
+    0x10F84: 84,
+    0x10F85: 84,
+    0x10FB0: 68,
+    0x10FB2: 68,
+    0x10FB3: 68,
+    0x10FB4: 82,
+    0x10FB5: 82,
+    0x10FB6: 82,
+    0x10FB8: 68,
+    0x10FB9: 82,
+    0x10FBA: 82,
+    0x10FBB: 68,
+    0x10FBC: 68,
+    0x10FBD: 82,
+    0x10FBE: 68,
+    0x10FBF: 68,
+    0x10FC1: 68,
+    0x10FC2: 82,
+    0x10FC3: 82,
+    0x10FC4: 68,
+    0x10FC9: 82,
+    0x10FCA: 68,
+    0x10FCB: 76,
+    0x11001: 84,
+    0x11038: 84,
+    0x11039: 84,
+    0x1103A: 84,
+    0x1103B: 84,
+    0x1103C: 84,
+    0x1103D: 84,
+    0x1103E: 84,
+    0x1103F: 84,
+    0x11040: 84,
+    0x11041: 84,
+    0x11042: 84,
+    0x11043: 84,
+    0x11044: 84,
+    0x11045: 84,
+    0x11046: 84,
+    0x11070: 84,
+    0x11073: 84,
+    0x11074: 84,
+    0x1107F: 84,
+    0x11080: 84,
+    0x11081: 84,
+    0x110B3: 84,
+    0x110B4: 84,
+    0x110B5: 84,
+    0x110B6: 84,
+    0x110B9: 84,
+    0x110BA: 84,
+    0x110C2: 84,
+    0x11100: 84,
+    0x11101: 84,
+    0x11102: 84,
+    0x11127: 84,
+    0x11128: 84,
+    0x11129: 84,
+    0x1112A: 84,
+    0x1112B: 84,
+    0x1112D: 84,
+    0x1112E: 84,
+    0x1112F: 84,
+    0x11130: 84,
+    0x11131: 84,
+    0x11132: 84,
+    0x11133: 84,
+    0x11134: 84,
+    0x11173: 84,
+    0x11180: 84,
+    0x11181: 84,
+    0x111B6: 84,
+    0x111B7: 84,
+    0x111B8: 84,
+    0x111B9: 84,
+    0x111BA: 84,
+    0x111BB: 84,
+    0x111BC: 84,
+    0x111BD: 84,
+    0x111BE: 84,
+    0x111C9: 84,
+    0x111CA: 84,
+    0x111CB: 84,
+    0x111CC: 84,
+    0x111CF: 84,
+    0x1122F: 84,
+    0x11230: 84,
+    0x11231: 84,
+    0x11234: 84,
+    0x11236: 84,
+    0x11237: 84,
+    0x1123E: 84,
+    0x11241: 84,
+    0x112DF: 84,
+    0x112E3: 84,
+    0x112E4: 84,
+    0x112E5: 84,
+    0x112E6: 84,
+    0x112E7: 84,
+    0x112E8: 84,
+    0x112E9: 84,
+    0x112EA: 84,
+    0x11300: 84,
+    0x11301: 84,
+    0x1133B: 84,
+    0x1133C: 84,
+    0x11340: 84,
+    0x11366: 84,
+    0x11367: 84,
+    0x11368: 84,
+    0x11369: 84,
+    0x1136A: 84,
+    0x1136B: 84,
+    0x1136C: 84,
+    0x11370: 84,
+    0x11371: 84,
+    0x11372: 84,
+    0x11373: 84,
+    0x11374: 84,
+    0x11438: 84,
+    0x11439: 84,
+    0x1143A: 84,
+    0x1143B: 84,
+    0x1143C: 84,
+    0x1143D: 84,
+    0x1143E: 84,
+    0x1143F: 84,
+    0x11442: 84,
+    0x11443: 84,
+    0x11444: 84,
+    0x11446: 84,
+    0x1145E: 84,
+    0x114B3: 84,
+    0x114B4: 84,
+    0x114B5: 84,
+    0x114B6: 84,
+    0x114B7: 84,
+    0x114B8: 84,
+    0x114BA: 84,
+    0x114BF: 84,
+    0x114C0: 84,
+    0x114C2: 84,
+    0x114C3: 84,
+    0x115B2: 84,
+    0x115B3: 84,
+    0x115B4: 84,
+    0x115B5: 84,
+    0x115BC: 84,
+    0x115BD: 84,
+    0x115BF: 84,
+    0x115C0: 84,
+    0x115DC: 84,
+    0x115DD: 84,
+    0x11633: 84,
+    0x11634: 84,
+    0x11635: 84,
+    0x11636: 84,
+    0x11637: 84,
+    0x11638: 84,
+    0x11639: 84,
+    0x1163A: 84,
+    0x1163D: 84,
+    0x1163F: 84,
+    0x11640: 84,
+    0x116AB: 84,
+    0x116AD: 84,
+    0x116B0: 84,
+    0x116B1: 84,
+    0x116B2: 84,
+    0x116B3: 84,
+    0x116B4: 84,
+    0x116B5: 84,
+    0x116B7: 84,
+    0x1171D: 84,
+    0x1171E: 84,
+    0x1171F: 84,
+    0x11722: 84,
+    0x11723: 84,
+    0x11724: 84,
+    0x11725: 84,
+    0x11727: 84,
+    0x11728: 84,
+    0x11729: 84,
+    0x1172A: 84,
+    0x1172B: 84,
+    0x1182F: 84,
+    0x11830: 84,
+    0x11831: 84,
+    0x11832: 84,
+    0x11833: 84,
+    0x11834: 84,
+    0x11835: 84,
+    0x11836: 84,
+    0x11837: 84,
+    0x11839: 84,
+    0x1183A: 84,
+    0x1193B: 84,
+    0x1193C: 84,
+    0x1193E: 84,
+    0x11943: 84,
+    0x119D4: 84,
+    0x119D5: 84,
+    0x119D6: 84,
+    0x119D7: 84,
+    0x119DA: 84,
+    0x119DB: 84,
+    0x119E0: 84,
+    0x11A01: 84,
+    0x11A02: 84,
+    0x11A03: 84,
+    0x11A04: 84,
+    0x11A05: 84,
+    0x11A06: 84,
+    0x11A07: 84,
+    0x11A08: 84,
+    0x11A09: 84,
+    0x11A0A: 84,
+    0x11A33: 84,
+    0x11A34: 84,
+    0x11A35: 84,
+    0x11A36: 84,
+    0x11A37: 84,
+    0x11A38: 84,
+    0x11A3B: 84,
+    0x11A3C: 84,
+    0x11A3D: 84,
+    0x11A3E: 84,
+    0x11A47: 84,
+    0x11A51: 84,
+    0x11A52: 84,
+    0x11A53: 84,
+    0x11A54: 84,
+    0x11A55: 84,
+    0x11A56: 84,
+    0x11A59: 84,
+    0x11A5A: 84,
+    0x11A5B: 84,
+    0x11A8A: 84,
+    0x11A8B: 84,
+    0x11A8C: 84,
+    0x11A8D: 84,
+    0x11A8E: 84,
+    0x11A8F: 84,
+    0x11A90: 84,
+    0x11A91: 84,
+    0x11A92: 84,
+    0x11A93: 84,
+    0x11A94: 84,
+    0x11A95: 84,
+    0x11A96: 84,
+    0x11A98: 84,
+    0x11A99: 84,
+    0x11C30: 84,
+    0x11C31: 84,
+    0x11C32: 84,
+    0x11C33: 84,
+    0x11C34: 84,
+    0x11C35: 84,
+    0x11C36: 84,
+    0x11C38: 84,
+    0x11C39: 84,
+    0x11C3A: 84,
+    0x11C3B: 84,
+    0x11C3C: 84,
+    0x11C3D: 84,
+    0x11C3F: 84,
+    0x11C92: 84,
+    0x11C93: 84,
+    0x11C94: 84,
+    0x11C95: 84,
+    0x11C96: 84,
+    0x11C97: 84,
+    0x11C98: 84,
+    0x11C99: 84,
+    0x11C9A: 84,
+    0x11C9B: 84,
+    0x11C9C: 84,
+    0x11C9D: 84,
+    0x11C9E: 84,
+    0x11C9F: 84,
+    0x11CA0: 84,
+    0x11CA1: 84,
+    0x11CA2: 84,
+    0x11CA3: 84,
+    0x11CA4: 84,
+    0x11CA5: 84,
+    0x11CA6: 84,
+    0x11CA7: 84,
+    0x11CAA: 84,
+    0x11CAB: 84,
+    0x11CAC: 84,
+    0x11CAD: 84,
+    0x11CAE: 84,
+    0x11CAF: 84,
+    0x11CB0: 84,
+    0x11CB2: 84,
+    0x11CB3: 84,
+    0x11CB5: 84,
+    0x11CB6: 84,
+    0x11D31: 84,
+    0x11D32: 84,
+    0x11D33: 84,
+    0x11D34: 84,
+    0x11D35: 84,
+    0x11D36: 84,
+    0x11D3A: 84,
+    0x11D3C: 84,
+    0x11D3D: 84,
+    0x11D3F: 84,
+    0x11D40: 84,
+    0x11D41: 84,
+    0x11D42: 84,
+    0x11D43: 84,
+    0x11D44: 84,
+    0x11D45: 84,
+    0x11D47: 84,
+    0x11D90: 84,
+    0x11D91: 84,
+    0x11D95: 84,
+    0x11D97: 84,
+    0x11EF3: 84,
+    0x11EF4: 84,
+    0x11F00: 84,
+    0x11F01: 84,
+    0x11F36: 84,
+    0x11F37: 84,
+    0x11F38: 84,
+    0x11F39: 84,
+    0x11F3A: 84,
+    0x11F40: 84,
+    0x11F42: 84,
+    0x13430: 84,
+    0x13431: 84,
+    0x13432: 84,
+    0x13433: 84,
+    0x13434: 84,
+    0x13435: 84,
+    0x13436: 84,
+    0x13437: 84,
+    0x13438: 84,
+    0x13439: 84,
+    0x1343A: 84,
+    0x1343B: 84,
+    0x1343C: 84,
+    0x1343D: 84,
+    0x1343E: 84,
+    0x1343F: 84,
+    0x13440: 84,
+    0x13447: 84,
+    0x13448: 84,
+    0x13449: 84,
+    0x1344A: 84,
+    0x1344B: 84,
+    0x1344C: 84,
+    0x1344D: 84,
+    0x1344E: 84,
+    0x1344F: 84,
+    0x13450: 84,
+    0x13451: 84,
+    0x13452: 84,
+    0x13453: 84,
+    0x13454: 84,
+    0x13455: 84,
+    0x16AF0: 84,
+    0x16AF1: 84,
+    0x16AF2: 84,
+    0x16AF3: 84,
+    0x16AF4: 84,
+    0x16B30: 84,
+    0x16B31: 84,
+    0x16B32: 84,
+    0x16B33: 84,
+    0x16B34: 84,
+    0x16B35: 84,
+    0x16B36: 84,
+    0x16F4F: 84,
+    0x16F8F: 84,
+    0x16F90: 84,
+    0x16F91: 84,
+    0x16F92: 84,
+    0x16FE4: 84,
+    0x1BC9D: 84,
+    0x1BC9E: 84,
+    0x1BCA0: 84,
+    0x1BCA1: 84,
+    0x1BCA2: 84,
+    0x1BCA3: 84,
+    0x1CF00: 84,
+    0x1CF01: 84,
+    0x1CF02: 84,
+    0x1CF03: 84,
+    0x1CF04: 84,
+    0x1CF05: 84,
+    0x1CF06: 84,
+    0x1CF07: 84,
+    0x1CF08: 84,
+    0x1CF09: 84,
+    0x1CF0A: 84,
+    0x1CF0B: 84,
+    0x1CF0C: 84,
+    0x1CF0D: 84,
+    0x1CF0E: 84,
+    0x1CF0F: 84,
+    0x1CF10: 84,
+    0x1CF11: 84,
+    0x1CF12: 84,
+    0x1CF13: 84,
+    0x1CF14: 84,
+    0x1CF15: 84,
+    0x1CF16: 84,
+    0x1CF17: 84,
+    0x1CF18: 84,
+    0x1CF19: 84,
+    0x1CF1A: 84,
+    0x1CF1B: 84,
+    0x1CF1C: 84,
+    0x1CF1D: 84,
+    0x1CF1E: 84,
+    0x1CF1F: 84,
+    0x1CF20: 84,
+    0x1CF21: 84,
+    0x1CF22: 84,
+    0x1CF23: 84,
+    0x1CF24: 84,
+    0x1CF25: 84,
+    0x1CF26: 84,
+    0x1CF27: 84,
+    0x1CF28: 84,
+    0x1CF29: 84,
+    0x1CF2A: 84,
+    0x1CF2B: 84,
+    0x1CF2C: 84,
+    0x1CF2D: 84,
+    0x1CF30: 84,
+    0x1CF31: 84,
+    0x1CF32: 84,
+    0x1CF33: 84,
+    0x1CF34: 84,
+    0x1CF35: 84,
+    0x1CF36: 84,
+    0x1CF37: 84,
+    0x1CF38: 84,
+    0x1CF39: 84,
+    0x1CF3A: 84,
+    0x1CF3B: 84,
+    0x1CF3C: 84,
+    0x1CF3D: 84,
+    0x1CF3E: 84,
+    0x1CF3F: 84,
+    0x1CF40: 84,
+    0x1CF41: 84,
+    0x1CF42: 84,
+    0x1CF43: 84,
+    0x1CF44: 84,
+    0x1CF45: 84,
+    0x1CF46: 84,
+    0x1D167: 84,
+    0x1D168: 84,
+    0x1D169: 84,
+    0x1D173: 84,
+    0x1D174: 84,
+    0x1D175: 84,
+    0x1D176: 84,
+    0x1D177: 84,
+    0x1D178: 84,
+    0x1D179: 84,
+    0x1D17A: 84,
+    0x1D17B: 84,
+    0x1D17C: 84,
+    0x1D17D: 84,
+    0x1D17E: 84,
+    0x1D17F: 84,
+    0x1D180: 84,
+    0x1D181: 84,
+    0x1D182: 84,
+    0x1D185: 84,
+    0x1D186: 84,
+    0x1D187: 84,
+    0x1D188: 84,
+    0x1D189: 84,
+    0x1D18A: 84,
+    0x1D18B: 84,
+    0x1D1AA: 84,
+    0x1D1AB: 84,
+    0x1D1AC: 84,
+    0x1D1AD: 84,
+    0x1D242: 84,
+    0x1D243: 84,
+    0x1D244: 84,
+    0x1DA00: 84,
+    0x1DA01: 84,
+    0x1DA02: 84,
+    0x1DA03: 84,
+    0x1DA04: 84,
+    0x1DA05: 84,
+    0x1DA06: 84,
+    0x1DA07: 84,
+    0x1DA08: 84,
+    0x1DA09: 84,
+    0x1DA0A: 84,
+    0x1DA0B: 84,
+    0x1DA0C: 84,
+    0x1DA0D: 84,
+    0x1DA0E: 84,
+    0x1DA0F: 84,
+    0x1DA10: 84,
+    0x1DA11: 84,
+    0x1DA12: 84,
+    0x1DA13: 84,
+    0x1DA14: 84,
+    0x1DA15: 84,
+    0x1DA16: 84,
+    0x1DA17: 84,
+    0x1DA18: 84,
+    0x1DA19: 84,
+    0x1DA1A: 84,
+    0x1DA1B: 84,
+    0x1DA1C: 84,
+    0x1DA1D: 84,
+    0x1DA1E: 84,
+    0x1DA1F: 84,
+    0x1DA20: 84,
+    0x1DA21: 84,
+    0x1DA22: 84,
+    0x1DA23: 84,
+    0x1DA24: 84,
+    0x1DA25: 84,
+    0x1DA26: 84,
+    0x1DA27: 84,
+    0x1DA28: 84,
+    0x1DA29: 84,
+    0x1DA2A: 84,
+    0x1DA2B: 84,
+    0x1DA2C: 84,
+    0x1DA2D: 84,
+    0x1DA2E: 84,
+    0x1DA2F: 84,
+    0x1DA30: 84,
+    0x1DA31: 84,
+    0x1DA32: 84,
+    0x1DA33: 84,
+    0x1DA34: 84,
+    0x1DA35: 84,
+    0x1DA36: 84,
+    0x1DA3B: 84,
+    0x1DA3C: 84,
+    0x1DA3D: 84,
+    0x1DA3E: 84,
+    0x1DA3F: 84,
+    0x1DA40: 84,
+    0x1DA41: 84,
+    0x1DA42: 84,
+    0x1DA43: 84,
+    0x1DA44: 84,
+    0x1DA45: 84,
+    0x1DA46: 84,
+    0x1DA47: 84,
+    0x1DA48: 84,
+    0x1DA49: 84,
+    0x1DA4A: 84,
+    0x1DA4B: 84,
+    0x1DA4C: 84,
+    0x1DA4D: 84,
+    0x1DA4E: 84,
+    0x1DA4F: 84,
+    0x1DA50: 84,
+    0x1DA51: 84,
+    0x1DA52: 84,
+    0x1DA53: 84,
+    0x1DA54: 84,
+    0x1DA55: 84,
+    0x1DA56: 84,
+    0x1DA57: 84,
+    0x1DA58: 84,
+    0x1DA59: 84,
+    0x1DA5A: 84,
+    0x1DA5B: 84,
+    0x1DA5C: 84,
+    0x1DA5D: 84,
+    0x1DA5E: 84,
+    0x1DA5F: 84,
+    0x1DA60: 84,
+    0x1DA61: 84,
+    0x1DA62: 84,
+    0x1DA63: 84,
+    0x1DA64: 84,
+    0x1DA65: 84,
+    0x1DA66: 84,
+    0x1DA67: 84,
+    0x1DA68: 84,
+    0x1DA69: 84,
+    0x1DA6A: 84,
+    0x1DA6B: 84,
+    0x1DA6C: 84,
+    0x1DA75: 84,
+    0x1DA84: 84,
+    0x1DA9B: 84,
+    0x1DA9C: 84,
+    0x1DA9D: 84,
+    0x1DA9E: 84,
+    0x1DA9F: 84,
+    0x1DAA1: 84,
+    0x1DAA2: 84,
+    0x1DAA3: 84,
+    0x1DAA4: 84,
+    0x1DAA5: 84,
+    0x1DAA6: 84,
+    0x1DAA7: 84,
+    0x1DAA8: 84,
+    0x1DAA9: 84,
+    0x1DAAA: 84,
+    0x1DAAB: 84,
+    0x1DAAC: 84,
+    0x1DAAD: 84,
+    0x1DAAE: 84,
+    0x1DAAF: 84,
+    0x1E000: 84,
+    0x1E001: 84,
+    0x1E002: 84,
+    0x1E003: 84,
+    0x1E004: 84,
+    0x1E005: 84,
+    0x1E006: 84,
+    0x1E008: 84,
+    0x1E009: 84,
+    0x1E00A: 84,
+    0x1E00B: 84,
+    0x1E00C: 84,
+    0x1E00D: 84,
+    0x1E00E: 84,
+    0x1E00F: 84,
+    0x1E010: 84,
+    0x1E011: 84,
+    0x1E012: 84,
+    0x1E013: 84,
+    0x1E014: 84,
+    0x1E015: 84,
+    0x1E016: 84,
+    0x1E017: 84,
+    0x1E018: 84,
+    0x1E01B: 84,
+    0x1E01C: 84,
+    0x1E01D: 84,
+    0x1E01E: 84,
+    0x1E01F: 84,
+    0x1E020: 84,
+    0x1E021: 84,
+    0x1E023: 84,
+    0x1E024: 84,
+    0x1E026: 84,
+    0x1E027: 84,
+    0x1E028: 84,
+    0x1E029: 84,
+    0x1E02A: 84,
+    0x1E08F: 84,
+    0x1E130: 84,
+    0x1E131: 84,
+    0x1E132: 84,
+    0x1E133: 84,
+    0x1E134: 84,
+    0x1E135: 84,
+    0x1E136: 84,
+    0x1E2AE: 84,
+    0x1E2EC: 84,
+    0x1E2ED: 84,
+    0x1E2EE: 84,
+    0x1E2EF: 84,
+    0x1E4EC: 84,
+    0x1E4ED: 84,
+    0x1E4EE: 84,
+    0x1E4EF: 84,
+    0x1E8D0: 84,
+    0x1E8D1: 84,
+    0x1E8D2: 84,
+    0x1E8D3: 84,
+    0x1E8D4: 84,
+    0x1E8D5: 84,
+    0x1E8D6: 84,
+    0x1E900: 68,
+    0x1E901: 68,
+    0x1E902: 68,
+    0x1E903: 68,
+    0x1E904: 68,
+    0x1E905: 68,
+    0x1E906: 68,
+    0x1E907: 68,
+    0x1E908: 68,
+    0x1E909: 68,
+    0x1E90A: 68,
+    0x1E90B: 68,
+    0x1E90C: 68,
+    0x1E90D: 68,
+    0x1E90E: 68,
+    0x1E90F: 68,
+    0x1E910: 68,
+    0x1E911: 68,
+    0x1E912: 68,
+    0x1E913: 68,
+    0x1E914: 68,
+    0x1E915: 68,
+    0x1E916: 68,
+    0x1E917: 68,
+    0x1E918: 68,
+    0x1E919: 68,
+    0x1E91A: 68,
+    0x1E91B: 68,
+    0x1E91C: 68,
+    0x1E91D: 68,
+    0x1E91E: 68,
+    0x1E91F: 68,
+    0x1E920: 68,
+    0x1E921: 68,
+    0x1E922: 68,
+    0x1E923: 68,
+    0x1E924: 68,
+    0x1E925: 68,
+    0x1E926: 68,
+    0x1E927: 68,
+    0x1E928: 68,
+    0x1E929: 68,
+    0x1E92A: 68,
+    0x1E92B: 68,
+    0x1E92C: 68,
+    0x1E92D: 68,
+    0x1E92E: 68,
+    0x1E92F: 68,
+    0x1E930: 68,
+    0x1E931: 68,
+    0x1E932: 68,
+    0x1E933: 68,
+    0x1E934: 68,
+    0x1E935: 68,
+    0x1E936: 68,
+    0x1E937: 68,
+    0x1E938: 68,
+    0x1E939: 68,
+    0x1E93A: 68,
+    0x1E93B: 68,
+    0x1E93C: 68,
+    0x1E93D: 68,
+    0x1E93E: 68,
+    0x1E93F: 68,
+    0x1E940: 68,
+    0x1E941: 68,
+    0x1E942: 68,
+    0x1E943: 68,
+    0x1E944: 84,
+    0x1E945: 84,
+    0x1E946: 84,
+    0x1E947: 84,
+    0x1E948: 84,
+    0x1E949: 84,
+    0x1E94A: 84,
+    0x1E94B: 84,
+    0xE0001: 84,
+    0xE0020: 84,
+    0xE0021: 84,
+    0xE0022: 84,
+    0xE0023: 84,
+    0xE0024: 84,
+    0xE0025: 84,
+    0xE0026: 84,
+    0xE0027: 84,
+    0xE0028: 84,
+    0xE0029: 84,
+    0xE002A: 84,
+    0xE002B: 84,
+    0xE002C: 84,
+    0xE002D: 84,
+    0xE002E: 84,
+    0xE002F: 84,
+    0xE0030: 84,
+    0xE0031: 84,
+    0xE0032: 84,
+    0xE0033: 84,
+    0xE0034: 84,
+    0xE0035: 84,
+    0xE0036: 84,
+    0xE0037: 84,
+    0xE0038: 84,
+    0xE0039: 84,
+    0xE003A: 84,
+    0xE003B: 84,
+    0xE003C: 84,
+    0xE003D: 84,
+    0xE003E: 84,
+    0xE003F: 84,
+    0xE0040: 84,
+    0xE0041: 84,
+    0xE0042: 84,
+    0xE0043: 84,
+    0xE0044: 84,
+    0xE0045: 84,
+    0xE0046: 84,
+    0xE0047: 84,
+    0xE0048: 84,
+    0xE0049: 84,
+    0xE004A: 84,
+    0xE004B: 84,
+    0xE004C: 84,
+    0xE004D: 84,
+    0xE004E: 84,
+    0xE004F: 84,
+    0xE0050: 84,
+    0xE0051: 84,
+    0xE0052: 84,
+    0xE0053: 84,
+    0xE0054: 84,
+    0xE0055: 84,
+    0xE0056: 84,
+    0xE0057: 84,
+    0xE0058: 84,
+    0xE0059: 84,
+    0xE005A: 84,
+    0xE005B: 84,
+    0xE005C: 84,
+    0xE005D: 84,
+    0xE005E: 84,
+    0xE005F: 84,
+    0xE0060: 84,
+    0xE0061: 84,
+    0xE0062: 84,
+    0xE0063: 84,
+    0xE0064: 84,
+    0xE0065: 84,
+    0xE0066: 84,
+    0xE0067: 84,
+    0xE0068: 84,
+    0xE0069: 84,
+    0xE006A: 84,
+    0xE006B: 84,
+    0xE006C: 84,
+    0xE006D: 84,
+    0xE006E: 84,
+    0xE006F: 84,
+    0xE0070: 84,
+    0xE0071: 84,
+    0xE0072: 84,
+    0xE0073: 84,
+    0xE0074: 84,
+    0xE0075: 84,
+    0xE0076: 84,
+    0xE0077: 84,
+    0xE0078: 84,
+    0xE0079: 84,
+    0xE007A: 84,
+    0xE007B: 84,
+    0xE007C: 84,
+    0xE007D: 84,
+    0xE007E: 84,
+    0xE007F: 84,
+    0xE0100: 84,
+    0xE0101: 84,
+    0xE0102: 84,
+    0xE0103: 84,
+    0xE0104: 84,
+    0xE0105: 84,
+    0xE0106: 84,
+    0xE0107: 84,
+    0xE0108: 84,
+    0xE0109: 84,
+    0xE010A: 84,
+    0xE010B: 84,
+    0xE010C: 84,
+    0xE010D: 84,
+    0xE010E: 84,
+    0xE010F: 84,
+    0xE0110: 84,
+    0xE0111: 84,
+    0xE0112: 84,
+    0xE0113: 84,
+    0xE0114: 84,
+    0xE0115: 84,
+    0xE0116: 84,
+    0xE0117: 84,
+    0xE0118: 84,
+    0xE0119: 84,
+    0xE011A: 84,
+    0xE011B: 84,
+    0xE011C: 84,
+    0xE011D: 84,
+    0xE011E: 84,
+    0xE011F: 84,
+    0xE0120: 84,
+    0xE0121: 84,
+    0xE0122: 84,
+    0xE0123: 84,
+    0xE0124: 84,
+    0xE0125: 84,
+    0xE0126: 84,
+    0xE0127: 84,
+    0xE0128: 84,
+    0xE0129: 84,
+    0xE012A: 84,
+    0xE012B: 84,
+    0xE012C: 84,
+    0xE012D: 84,
+    0xE012E: 84,
+    0xE012F: 84,
+    0xE0130: 84,
+    0xE0131: 84,
+    0xE0132: 84,
+    0xE0133: 84,
+    0xE0134: 84,
+    0xE0135: 84,
+    0xE0136: 84,
+    0xE0137: 84,
+    0xE0138: 84,
+    0xE0139: 84,
+    0xE013A: 84,
+    0xE013B: 84,
+    0xE013C: 84,
+    0xE013D: 84,
+    0xE013E: 84,
+    0xE013F: 84,
+    0xE0140: 84,
+    0xE0141: 84,
+    0xE0142: 84,
+    0xE0143: 84,
+    0xE0144: 84,
+    0xE0145: 84,
+    0xE0146: 84,
+    0xE0147: 84,
+    0xE0148: 84,
+    0xE0149: 84,
+    0xE014A: 84,
+    0xE014B: 84,
+    0xE014C: 84,
+    0xE014D: 84,
+    0xE014E: 84,
+    0xE014F: 84,
+    0xE0150: 84,
+    0xE0151: 84,
+    0xE0152: 84,
+    0xE0153: 84,
+    0xE0154: 84,
+    0xE0155: 84,
+    0xE0156: 84,
+    0xE0157: 84,
+    0xE0158: 84,
+    0xE0159: 84,
+    0xE015A: 84,
+    0xE015B: 84,
+    0xE015C: 84,
+    0xE015D: 84,
+    0xE015E: 84,
+    0xE015F: 84,
+    0xE0160: 84,
+    0xE0161: 84,
+    0xE0162: 84,
+    0xE0163: 84,
+    0xE0164: 84,
+    0xE0165: 84,
+    0xE0166: 84,
+    0xE0167: 84,
+    0xE0168: 84,
+    0xE0169: 84,
+    0xE016A: 84,
+    0xE016B: 84,
+    0xE016C: 84,
+    0xE016D: 84,
+    0xE016E: 84,
+    0xE016F: 84,
+    0xE0170: 84,
+    0xE0171: 84,
+    0xE0172: 84,
+    0xE0173: 84,
+    0xE0174: 84,
+    0xE0175: 84,
+    0xE0176: 84,
+    0xE0177: 84,
+    0xE0178: 84,
+    0xE0179: 84,
+    0xE017A: 84,
+    0xE017B: 84,
+    0xE017C: 84,
+    0xE017D: 84,
+    0xE017E: 84,
+    0xE017F: 84,
+    0xE0180: 84,
+    0xE0181: 84,
+    0xE0182: 84,
+    0xE0183: 84,
+    0xE0184: 84,
+    0xE0185: 84,
+    0xE0186: 84,
+    0xE0187: 84,
+    0xE0188: 84,
+    0xE0189: 84,
+    0xE018A: 84,
+    0xE018B: 84,
+    0xE018C: 84,
+    0xE018D: 84,
+    0xE018E: 84,
+    0xE018F: 84,
+    0xE0190: 84,
+    0xE0191: 84,
+    0xE0192: 84,
+    0xE0193: 84,
+    0xE0194: 84,
+    0xE0195: 84,
+    0xE0196: 84,
+    0xE0197: 84,
+    0xE0198: 84,
+    0xE0199: 84,
+    0xE019A: 84,
+    0xE019B: 84,
+    0xE019C: 84,
+    0xE019D: 84,
+    0xE019E: 84,
+    0xE019F: 84,
+    0xE01A0: 84,
+    0xE01A1: 84,
+    0xE01A2: 84,
+    0xE01A3: 84,
+    0xE01A4: 84,
+    0xE01A5: 84,
+    0xE01A6: 84,
+    0xE01A7: 84,
+    0xE01A8: 84,
+    0xE01A9: 84,
+    0xE01AA: 84,
+    0xE01AB: 84,
+    0xE01AC: 84,
+    0xE01AD: 84,
+    0xE01AE: 84,
+    0xE01AF: 84,
+    0xE01B0: 84,
+    0xE01B1: 84,
+    0xE01B2: 84,
+    0xE01B3: 84,
+    0xE01B4: 84,
+    0xE01B5: 84,
+    0xE01B6: 84,
+    0xE01B7: 84,
+    0xE01B8: 84,
+    0xE01B9: 84,
+    0xE01BA: 84,
+    0xE01BB: 84,
+    0xE01BC: 84,
+    0xE01BD: 84,
+    0xE01BE: 84,
+    0xE01BF: 84,
+    0xE01C0: 84,
+    0xE01C1: 84,
+    0xE01C2: 84,
+    0xE01C3: 84,
+    0xE01C4: 84,
+    0xE01C5: 84,
+    0xE01C6: 84,
+    0xE01C7: 84,
+    0xE01C8: 84,
+    0xE01C9: 84,
+    0xE01CA: 84,
+    0xE01CB: 84,
+    0xE01CC: 84,
+    0xE01CD: 84,
+    0xE01CE: 84,
+    0xE01CF: 84,
+    0xE01D0: 84,
+    0xE01D1: 84,
+    0xE01D2: 84,
+    0xE01D3: 84,
+    0xE01D4: 84,
+    0xE01D5: 84,
+    0xE01D6: 84,
+    0xE01D7: 84,
+    0xE01D8: 84,
+    0xE01D9: 84,
+    0xE01DA: 84,
+    0xE01DB: 84,
+    0xE01DC: 84,
+    0xE01DD: 84,
+    0xE01DE: 84,
+    0xE01DF: 84,
+    0xE01E0: 84,
+    0xE01E1: 84,
+    0xE01E2: 84,
+    0xE01E3: 84,
+    0xE01E4: 84,
+    0xE01E5: 84,
+    0xE01E6: 84,
+    0xE01E7: 84,
+    0xE01E8: 84,
+    0xE01E9: 84,
+    0xE01EA: 84,
+    0xE01EB: 84,
+    0xE01EC: 84,
+    0xE01ED: 84,
+    0xE01EE: 84,
+    0xE01EF: 84,
 }
 codepoint_classes = {
-    'PVALID': (
-        0x2d0000002e,
-        0x300000003a,
-        0x610000007b,
-        0xdf000000f7,
-        0xf800000100,
+    "PVALID": (
+        0x2D0000002E,
+        0x300000003A,
+        0x610000007B,
+        0xDF000000F7,
+        0xF800000100,
         0x10100000102,
         0x10300000104,
         0x10500000106,
         0x10700000108,
-        0x1090000010a,
-        0x10b0000010c,
-        0x10d0000010e,
-        0x10f00000110,
+        0x1090000010A,
+        0x10B0000010C,
+        0x10D0000010E,
+        0x10F00000110,
         0x11100000112,
         0x11300000114,
         0x11500000116,
         0x11700000118,
-        0x1190000011a,
-        0x11b0000011c,
-        0x11d0000011e,
-        0x11f00000120,
+        0x1190000011A,
+        0x11B0000011C,
+        0x11D0000011E,
+        0x11F00000120,
         0x12100000122,
         0x12300000124,
         0x12500000126,
         0x12700000128,
-        0x1290000012a,
-        0x12b0000012c,
-        0x12d0000012e,
-        0x12f00000130,
+        0x1290000012A,
+        0x12B0000012C,
+        0x12D0000012E,
+        0x12F00000130,
         0x13100000132,
         0x13500000136,
         0x13700000139,
-        0x13a0000013b,
-        0x13c0000013d,
-        0x13e0000013f,
+        0x13A0000013B,
+        0x13C0000013D,
+        0x13E0000013F,
         0x14200000143,
         0x14400000145,
         0x14600000147,
         0x14800000149,
-        0x14b0000014c,
-        0x14d0000014e,
-        0x14f00000150,
+        0x14B0000014C,
+        0x14D0000014E,
+        0x14F00000150,
         0x15100000152,
         0x15300000154,
         0x15500000156,
         0x15700000158,
-        0x1590000015a,
-        0x15b0000015c,
-        0x15d0000015e,
-        0x15f00000160,
+        0x1590000015A,
+        0x15B0000015C,
+        0x15D0000015E,
+        0x15F00000160,
         0x16100000162,
         0x16300000164,
         0x16500000166,
         0x16700000168,
-        0x1690000016a,
-        0x16b0000016c,
-        0x16d0000016e,
-        0x16f00000170,
+        0x1690000016A,
+        0x16B0000016C,
+        0x16D0000016E,
+        0x16F00000170,
         0x17100000172,
         0x17300000174,
         0x17500000176,
         0x17700000178,
-        0x17a0000017b,
-        0x17c0000017d,
-        0x17e0000017f,
+        0x17A0000017B,
+        0x17C0000017D,
+        0x17E0000017F,
         0x18000000181,
         0x18300000184,
         0x18500000186,
         0x18800000189,
-        0x18c0000018e,
+        0x18C0000018E,
         0x19200000193,
         0x19500000196,
-        0x1990000019c,
-        0x19e0000019f,
-        0x1a1000001a2,
-        0x1a3000001a4,
-        0x1a5000001a6,
-        0x1a8000001a9,
-        0x1aa000001ac,
-        0x1ad000001ae,
-        0x1b0000001b1,
-        0x1b4000001b5,
-        0x1b6000001b7,
-        0x1b9000001bc,
-        0x1bd000001c4,
-        0x1ce000001cf,
-        0x1d0000001d1,
-        0x1d2000001d3,
-        0x1d4000001d5,
-        0x1d6000001d7,
-        0x1d8000001d9,
-        0x1da000001db,
-        0x1dc000001de,
-        0x1df000001e0,
-        0x1e1000001e2,
-        0x1e3000001e4,
-        0x1e5000001e6,
-        0x1e7000001e8,
-        0x1e9000001ea,
-        0x1eb000001ec,
-        0x1ed000001ee,
-        0x1ef000001f1,
-        0x1f5000001f6,
-        0x1f9000001fa,
-        0x1fb000001fc,
-        0x1fd000001fe,
-        0x1ff00000200,
+        0x1990000019C,
+        0x19E0000019F,
+        0x1A1000001A2,
+        0x1A3000001A4,
+        0x1A5000001A6,
+        0x1A8000001A9,
+        0x1AA000001AC,
+        0x1AD000001AE,
+        0x1B0000001B1,
+        0x1B4000001B5,
+        0x1B6000001B7,
+        0x1B9000001BC,
+        0x1BD000001C4,
+        0x1CE000001CF,
+        0x1D0000001D1,
+        0x1D2000001D3,
+        0x1D4000001D5,
+        0x1D6000001D7,
+        0x1D8000001D9,
+        0x1DA000001DB,
+        0x1DC000001DE,
+        0x1DF000001E0,
+        0x1E1000001E2,
+        0x1E3000001E4,
+        0x1E5000001E6,
+        0x1E7000001E8,
+        0x1E9000001EA,
+        0x1EB000001EC,
+        0x1ED000001EE,
+        0x1EF000001F1,
+        0x1F5000001F6,
+        0x1F9000001FA,
+        0x1FB000001FC,
+        0x1FD000001FE,
+        0x1FF00000200,
         0x20100000202,
         0x20300000204,
         0x20500000206,
         0x20700000208,
-        0x2090000020a,
-        0x20b0000020c,
-        0x20d0000020e,
-        0x20f00000210,
+        0x2090000020A,
+        0x20B0000020C,
+        0x20D0000020E,
+        0x20F00000210,
         0x21100000212,
         0x21300000214,
         0x21500000216,
         0x21700000218,
-        0x2190000021a,
-        0x21b0000021c,
-        0x21d0000021e,
-        0x21f00000220,
+        0x2190000021A,
+        0x21B0000021C,
+        0x21D0000021E,
+        0x21F00000220,
         0x22100000222,
         0x22300000224,
         0x22500000226,
         0x22700000228,
-        0x2290000022a,
-        0x22b0000022c,
-        0x22d0000022e,
-        0x22f00000230,
+        0x2290000022A,
+        0x22B0000022C,
+        0x22D0000022E,
+        0x22F00000230,
         0x23100000232,
-        0x2330000023a,
-        0x23c0000023d,
-        0x23f00000241,
+        0x2330000023A,
+        0x23C0000023D,
+        0x23F00000241,
         0x24200000243,
         0x24700000248,
-        0x2490000024a,
-        0x24b0000024c,
-        0x24d0000024e,
-        0x24f000002b0,
-        0x2b9000002c2,
-        0x2c6000002d2,
-        0x2ec000002ed,
-        0x2ee000002ef,
+        0x2490000024A,
+        0x24B0000024C,
+        0x24D0000024E,
+        0x24F000002B0,
+        0x2B9000002C2,
+        0x2C6000002D2,
+        0x2EC000002ED,
+        0x2EE000002EF,
         0x30000000340,
         0x34200000343,
-        0x3460000034f,
+        0x3460000034F,
         0x35000000370,
         0x37100000372,
         0x37300000374,
         0x37700000378,
-        0x37b0000037e,
+        0x37B0000037E,
         0x39000000391,
-        0x3ac000003cf,
-        0x3d7000003d8,
-        0x3d9000003da,
-        0x3db000003dc,
-        0x3dd000003de,
-        0x3df000003e0,
-        0x3e1000003e2,
-        0x3e3000003e4,
-        0x3e5000003e6,
-        0x3e7000003e8,
-        0x3e9000003ea,
-        0x3eb000003ec,
-        0x3ed000003ee,
-        0x3ef000003f0,
-        0x3f3000003f4,
-        0x3f8000003f9,
-        0x3fb000003fd,
+        0x3AC000003CF,
+        0x3D7000003D8,
+        0x3D9000003DA,
+        0x3DB000003DC,
+        0x3DD000003DE,
+        0x3DF000003E0,
+        0x3E1000003E2,
+        0x3E3000003E4,
+        0x3E5000003E6,
+        0x3E7000003E8,
+        0x3E9000003EA,
+        0x3EB000003EC,
+        0x3ED000003EE,
+        0x3EF000003F0,
+        0x3F3000003F4,
+        0x3F8000003F9,
+        0x3FB000003FD,
         0x43000000460,
         0x46100000462,
         0x46300000464,
         0x46500000466,
         0x46700000468,
-        0x4690000046a,
-        0x46b0000046c,
-        0x46d0000046e,
-        0x46f00000470,
+        0x4690000046A,
+        0x46B0000046C,
+        0x46D0000046E,
+        0x46F00000470,
         0x47100000472,
         0x47300000474,
         0x47500000476,
         0x47700000478,
-        0x4790000047a,
-        0x47b0000047c,
-        0x47d0000047e,
-        0x47f00000480,
+        0x4790000047A,
+        0x47B0000047C,
+        0x47D0000047E,
+        0x47F00000480,
         0x48100000482,
         0x48300000488,
-        0x48b0000048c,
-        0x48d0000048e,
-        0x48f00000490,
+        0x48B0000048C,
+        0x48D0000048E,
+        0x48F00000490,
         0x49100000492,
         0x49300000494,
         0x49500000496,
         0x49700000498,
-        0x4990000049a,
-        0x49b0000049c,
-        0x49d0000049e,
-        0x49f000004a0,
-        0x4a1000004a2,
-        0x4a3000004a4,
-        0x4a5000004a6,
-        0x4a7000004a8,
-        0x4a9000004aa,
-        0x4ab000004ac,
-        0x4ad000004ae,
-        0x4af000004b0,
-        0x4b1000004b2,
-        0x4b3000004b4,
-        0x4b5000004b6,
-        0x4b7000004b8,
-        0x4b9000004ba,
-        0x4bb000004bc,
-        0x4bd000004be,
-        0x4bf000004c0,
-        0x4c2000004c3,
-        0x4c4000004c5,
-        0x4c6000004c7,
-        0x4c8000004c9,
-        0x4ca000004cb,
-        0x4cc000004cd,
-        0x4ce000004d0,
-        0x4d1000004d2,
-        0x4d3000004d4,
-        0x4d5000004d6,
-        0x4d7000004d8,
-        0x4d9000004da,
-        0x4db000004dc,
-        0x4dd000004de,
-        0x4df000004e0,
-        0x4e1000004e2,
-        0x4e3000004e4,
-        0x4e5000004e6,
-        0x4e7000004e8,
-        0x4e9000004ea,
-        0x4eb000004ec,
-        0x4ed000004ee,
-        0x4ef000004f0,
-        0x4f1000004f2,
-        0x4f3000004f4,
-        0x4f5000004f6,
-        0x4f7000004f8,
-        0x4f9000004fa,
-        0x4fb000004fc,
-        0x4fd000004fe,
-        0x4ff00000500,
+        0x4990000049A,
+        0x49B0000049C,
+        0x49D0000049E,
+        0x49F000004A0,
+        0x4A1000004A2,
+        0x4A3000004A4,
+        0x4A5000004A6,
+        0x4A7000004A8,
+        0x4A9000004AA,
+        0x4AB000004AC,
+        0x4AD000004AE,
+        0x4AF000004B0,
+        0x4B1000004B2,
+        0x4B3000004B4,
+        0x4B5000004B6,
+        0x4B7000004B8,
+        0x4B9000004BA,
+        0x4BB000004BC,
+        0x4BD000004BE,
+        0x4BF000004C0,
+        0x4C2000004C3,
+        0x4C4000004C5,
+        0x4C6000004C7,
+        0x4C8000004C9,
+        0x4CA000004CB,
+        0x4CC000004CD,
+        0x4CE000004D0,
+        0x4D1000004D2,
+        0x4D3000004D4,
+        0x4D5000004D6,
+        0x4D7000004D8,
+        0x4D9000004DA,
+        0x4DB000004DC,
+        0x4DD000004DE,
+        0x4DF000004E0,
+        0x4E1000004E2,
+        0x4E3000004E4,
+        0x4E5000004E6,
+        0x4E7000004E8,
+        0x4E9000004EA,
+        0x4EB000004EC,
+        0x4ED000004EE,
+        0x4EF000004F0,
+        0x4F1000004F2,
+        0x4F3000004F4,
+        0x4F5000004F6,
+        0x4F7000004F8,
+        0x4F9000004FA,
+        0x4FB000004FC,
+        0x4FD000004FE,
+        0x4FF00000500,
         0x50100000502,
         0x50300000504,
         0x50500000506,
         0x50700000508,
-        0x5090000050a,
-        0x50b0000050c,
-        0x50d0000050e,
-        0x50f00000510,
+        0x5090000050A,
+        0x50B0000050C,
+        0x50D0000050E,
+        0x50F00000510,
         0x51100000512,
         0x51300000514,
         0x51500000516,
         0x51700000518,
-        0x5190000051a,
-        0x51b0000051c,
-        0x51d0000051e,
-        0x51f00000520,
+        0x5190000051A,
+        0x51B0000051C,
+        0x51D0000051E,
+        0x51F00000520,
         0x52100000522,
         0x52300000524,
         0x52500000526,
         0x52700000528,
-        0x5290000052a,
-        0x52b0000052c,
-        0x52d0000052e,
-        0x52f00000530,
-        0x5590000055a,
+        0x5290000052A,
+        0x52B0000052C,
+        0x52D0000052E,
+        0x52F00000530,
+        0x5590000055A,
         0x56000000587,
         0x58800000589,
-        0x591000005be,
-        0x5bf000005c0,
-        0x5c1000005c3,
-        0x5c4000005c6,
-        0x5c7000005c8,
-        0x5d0000005eb,
-        0x5ef000005f3,
-        0x6100000061b,
+        0x591000005BE,
+        0x5BF000005C0,
+        0x5C1000005C3,
+        0x5C4000005C6,
+        0x5C7000005C8,
+        0x5D0000005EB,
+        0x5EF000005F3,
+        0x6100000061B,
         0x62000000640,
         0x64100000660,
-        0x66e00000675,
-        0x679000006d4,
-        0x6d5000006dd,
-        0x6df000006e9,
-        0x6ea000006f0,
-        0x6fa00000700,
-        0x7100000074b,
-        0x74d000007b2,
-        0x7c0000007f6,
-        0x7fd000007fe,
-        0x8000000082e,
-        0x8400000085c,
-        0x8600000086b,
+        0x66E00000675,
+        0x679000006D4,
+        0x6D5000006DD,
+        0x6DF000006E9,
+        0x6EA000006F0,
+        0x6FA00000700,
+        0x7100000074B,
+        0x74D000007B2,
+        0x7C0000007F6,
+        0x7FD000007FE,
+        0x8000000082E,
+        0x8400000085C,
+        0x8600000086B,
         0x87000000888,
-        0x8890000088f,
-        0x898000008e2,
-        0x8e300000958,
+        0x8890000088F,
+        0x898000008E2,
+        0x8E300000958,
         0x96000000964,
         0x96600000970,
         0x97100000984,
-        0x9850000098d,
-        0x98f00000991,
-        0x993000009a9,
-        0x9aa000009b1,
-        0x9b2000009b3,
-        0x9b6000009ba,
-        0x9bc000009c5,
-        0x9c7000009c9,
-        0x9cb000009cf,
-        0x9d7000009d8,
-        0x9e0000009e4,
-        0x9e6000009f2,
-        0x9fc000009fd,
-        0x9fe000009ff,
-        0xa0100000a04,
-        0xa0500000a0b,
-        0xa0f00000a11,
-        0xa1300000a29,
-        0xa2a00000a31,
-        0xa3200000a33,
-        0xa3500000a36,
-        0xa3800000a3a,
-        0xa3c00000a3d,
-        0xa3e00000a43,
-        0xa4700000a49,
-        0xa4b00000a4e,
-        0xa5100000a52,
-        0xa5c00000a5d,
-        0xa6600000a76,
-        0xa8100000a84,
-        0xa8500000a8e,
-        0xa8f00000a92,
-        0xa9300000aa9,
-        0xaaa00000ab1,
-        0xab200000ab4,
-        0xab500000aba,
-        0xabc00000ac6,
-        0xac700000aca,
-        0xacb00000ace,
-        0xad000000ad1,
-        0xae000000ae4,
-        0xae600000af0,
-        0xaf900000b00,
-        0xb0100000b04,
-        0xb0500000b0d,
-        0xb0f00000b11,
-        0xb1300000b29,
-        0xb2a00000b31,
-        0xb3200000b34,
-        0xb3500000b3a,
-        0xb3c00000b45,
-        0xb4700000b49,
-        0xb4b00000b4e,
-        0xb5500000b58,
-        0xb5f00000b64,
-        0xb6600000b70,
-        0xb7100000b72,
-        0xb8200000b84,
-        0xb8500000b8b,
-        0xb8e00000b91,
-        0xb9200000b96,
-        0xb9900000b9b,
-        0xb9c00000b9d,
-        0xb9e00000ba0,
-        0xba300000ba5,
-        0xba800000bab,
-        0xbae00000bba,
-        0xbbe00000bc3,
-        0xbc600000bc9,
-        0xbca00000bce,
-        0xbd000000bd1,
-        0xbd700000bd8,
-        0xbe600000bf0,
-        0xc0000000c0d,
-        0xc0e00000c11,
-        0xc1200000c29,
-        0xc2a00000c3a,
-        0xc3c00000c45,
-        0xc4600000c49,
-        0xc4a00000c4e,
-        0xc5500000c57,
-        0xc5800000c5b,
-        0xc5d00000c5e,
-        0xc6000000c64,
-        0xc6600000c70,
-        0xc8000000c84,
-        0xc8500000c8d,
-        0xc8e00000c91,
-        0xc9200000ca9,
-        0xcaa00000cb4,
-        0xcb500000cba,
-        0xcbc00000cc5,
-        0xcc600000cc9,
-        0xcca00000cce,
-        0xcd500000cd7,
-        0xcdd00000cdf,
-        0xce000000ce4,
-        0xce600000cf0,
-        0xcf100000cf4,
-        0xd0000000d0d,
-        0xd0e00000d11,
-        0xd1200000d45,
-        0xd4600000d49,
-        0xd4a00000d4f,
-        0xd5400000d58,
-        0xd5f00000d64,
-        0xd6600000d70,
-        0xd7a00000d80,
-        0xd8100000d84,
-        0xd8500000d97,
-        0xd9a00000db2,
-        0xdb300000dbc,
-        0xdbd00000dbe,
-        0xdc000000dc7,
-        0xdca00000dcb,
-        0xdcf00000dd5,
-        0xdd600000dd7,
-        0xdd800000de0,
-        0xde600000df0,
-        0xdf200000df4,
-        0xe0100000e33,
-        0xe3400000e3b,
-        0xe4000000e4f,
-        0xe5000000e5a,
-        0xe8100000e83,
-        0xe8400000e85,
-        0xe8600000e8b,
-        0xe8c00000ea4,
-        0xea500000ea6,
-        0xea700000eb3,
-        0xeb400000ebe,
-        0xec000000ec5,
-        0xec600000ec7,
-        0xec800000ecf,
-        0xed000000eda,
-        0xede00000ee0,
-        0xf0000000f01,
-        0xf0b00000f0c,
-        0xf1800000f1a,
-        0xf2000000f2a,
-        0xf3500000f36,
-        0xf3700000f38,
-        0xf3900000f3a,
-        0xf3e00000f43,
-        0xf4400000f48,
-        0xf4900000f4d,
-        0xf4e00000f52,
-        0xf5300000f57,
-        0xf5800000f5c,
-        0xf5d00000f69,
-        0xf6a00000f6d,
-        0xf7100000f73,
-        0xf7400000f75,
-        0xf7a00000f81,
-        0xf8200000f85,
-        0xf8600000f93,
-        0xf9400000f98,
-        0xf9900000f9d,
-        0xf9e00000fa2,
-        0xfa300000fa7,
-        0xfa800000fac,
-        0xfad00000fb9,
-        0xfba00000fbd,
-        0xfc600000fc7,
-        0x10000000104a,
-        0x10500000109e,
-        0x10d0000010fb,
-        0x10fd00001100,
+        0x9850000098D,
+        0x98F00000991,
+        0x993000009A9,
+        0x9AA000009B1,
+        0x9B2000009B3,
+        0x9B6000009BA,
+        0x9BC000009C5,
+        0x9C7000009C9,
+        0x9CB000009CF,
+        0x9D7000009D8,
+        0x9E0000009E4,
+        0x9E6000009F2,
+        0x9FC000009FD,
+        0x9FE000009FF,
+        0xA0100000A04,
+        0xA0500000A0B,
+        0xA0F00000A11,
+        0xA1300000A29,
+        0xA2A00000A31,
+        0xA3200000A33,
+        0xA3500000A36,
+        0xA3800000A3A,
+        0xA3C00000A3D,
+        0xA3E00000A43,
+        0xA4700000A49,
+        0xA4B00000A4E,
+        0xA5100000A52,
+        0xA5C00000A5D,
+        0xA6600000A76,
+        0xA8100000A84,
+        0xA8500000A8E,
+        0xA8F00000A92,
+        0xA9300000AA9,
+        0xAAA00000AB1,
+        0xAB200000AB4,
+        0xAB500000ABA,
+        0xABC00000AC6,
+        0xAC700000ACA,
+        0xACB00000ACE,
+        0xAD000000AD1,
+        0xAE000000AE4,
+        0xAE600000AF0,
+        0xAF900000B00,
+        0xB0100000B04,
+        0xB0500000B0D,
+        0xB0F00000B11,
+        0xB1300000B29,
+        0xB2A00000B31,
+        0xB3200000B34,
+        0xB3500000B3A,
+        0xB3C00000B45,
+        0xB4700000B49,
+        0xB4B00000B4E,
+        0xB5500000B58,
+        0xB5F00000B64,
+        0xB6600000B70,
+        0xB7100000B72,
+        0xB8200000B84,
+        0xB8500000B8B,
+        0xB8E00000B91,
+        0xB9200000B96,
+        0xB9900000B9B,
+        0xB9C00000B9D,
+        0xB9E00000BA0,
+        0xBA300000BA5,
+        0xBA800000BAB,
+        0xBAE00000BBA,
+        0xBBE00000BC3,
+        0xBC600000BC9,
+        0xBCA00000BCE,
+        0xBD000000BD1,
+        0xBD700000BD8,
+        0xBE600000BF0,
+        0xC0000000C0D,
+        0xC0E00000C11,
+        0xC1200000C29,
+        0xC2A00000C3A,
+        0xC3C00000C45,
+        0xC4600000C49,
+        0xC4A00000C4E,
+        0xC5500000C57,
+        0xC5800000C5B,
+        0xC5D00000C5E,
+        0xC6000000C64,
+        0xC6600000C70,
+        0xC8000000C84,
+        0xC8500000C8D,
+        0xC8E00000C91,
+        0xC9200000CA9,
+        0xCAA00000CB4,
+        0xCB500000CBA,
+        0xCBC00000CC5,
+        0xCC600000CC9,
+        0xCCA00000CCE,
+        0xCD500000CD7,
+        0xCDD00000CDF,
+        0xCE000000CE4,
+        0xCE600000CF0,
+        0xCF100000CF4,
+        0xD0000000D0D,
+        0xD0E00000D11,
+        0xD1200000D45,
+        0xD4600000D49,
+        0xD4A00000D4F,
+        0xD5400000D58,
+        0xD5F00000D64,
+        0xD6600000D70,
+        0xD7A00000D80,
+        0xD8100000D84,
+        0xD8500000D97,
+        0xD9A00000DB2,
+        0xDB300000DBC,
+        0xDBD00000DBE,
+        0xDC000000DC7,
+        0xDCA00000DCB,
+        0xDCF00000DD5,
+        0xDD600000DD7,
+        0xDD800000DE0,
+        0xDE600000DF0,
+        0xDF200000DF4,
+        0xE0100000E33,
+        0xE3400000E3B,
+        0xE4000000E4F,
+        0xE5000000E5A,
+        0xE8100000E83,
+        0xE8400000E85,
+        0xE8600000E8B,
+        0xE8C00000EA4,
+        0xEA500000EA6,
+        0xEA700000EB3,
+        0xEB400000EBE,
+        0xEC000000EC5,
+        0xEC600000EC7,
+        0xEC800000ECF,
+        0xED000000EDA,
+        0xEDE00000EE0,
+        0xF0000000F01,
+        0xF0B00000F0C,
+        0xF1800000F1A,
+        0xF2000000F2A,
+        0xF3500000F36,
+        0xF3700000F38,
+        0xF3900000F3A,
+        0xF3E00000F43,
+        0xF4400000F48,
+        0xF4900000F4D,
+        0xF4E00000F52,
+        0xF5300000F57,
+        0xF5800000F5C,
+        0xF5D00000F69,
+        0xF6A00000F6D,
+        0xF7100000F73,
+        0xF7400000F75,
+        0xF7A00000F81,
+        0xF8200000F85,
+        0xF8600000F93,
+        0xF9400000F98,
+        0xF9900000F9D,
+        0xF9E00000FA2,
+        0xFA300000FA7,
+        0xFA800000FAC,
+        0xFAD00000FB9,
+        0xFBA00000FBD,
+        0xFC600000FC7,
+        0x10000000104A,
+        0x10500000109E,
+        0x10D0000010FB,
+        0x10FD00001100,
         0x120000001249,
-        0x124a0000124e,
+        0x124A0000124E,
         0x125000001257,
         0x125800001259,
-        0x125a0000125e,
+        0x125A0000125E,
         0x126000001289,
-        0x128a0000128e,
-        0x1290000012b1,
-        0x12b2000012b6,
-        0x12b8000012bf,
-        0x12c0000012c1,
-        0x12c2000012c6,
-        0x12c8000012d7,
-        0x12d800001311,
+        0x128A0000128E,
+        0x1290000012B1,
+        0x12B2000012B6,
+        0x12B8000012BF,
+        0x12C0000012C1,
+        0x12C2000012C6,
+        0x12C8000012D7,
+        0x12D800001311,
         0x131200001316,
-        0x13180000135b,
-        0x135d00001360,
+        0x13180000135B,
+        0x135D00001360,
         0x138000001390,
-        0x13a0000013f6,
-        0x14010000166d,
-        0x166f00001680,
-        0x16810000169b,
-        0x16a0000016eb,
-        0x16f1000016f9,
+        0x13A0000013F6,
+        0x14010000166D,
+        0x166F00001680,
+        0x16810000169B,
+        0x16A0000016EB,
+        0x16F1000016F9,
         0x170000001716,
-        0x171f00001735,
+        0x171F00001735,
         0x174000001754,
-        0x17600000176d,
-        0x176e00001771,
+        0x17600000176D,
+        0x176E00001771,
         0x177200001774,
-        0x1780000017b4,
-        0x17b6000017d4,
-        0x17d7000017d8,
-        0x17dc000017de,
-        0x17e0000017ea,
-        0x18100000181a,
+        0x1780000017B4,
+        0x17B6000017D4,
+        0x17D7000017D8,
+        0x17DC000017DE,
+        0x17E0000017EA,
+        0x18100000181A,
         0x182000001879,
-        0x1880000018ab,
-        0x18b0000018f6,
-        0x19000000191f,
-        0x19200000192c,
-        0x19300000193c,
-        0x19460000196e,
+        0x1880000018AB,
+        0x18B0000018F6,
+        0x19000000191F,
+        0x19200000192C,
+        0x19300000193C,
+        0x19460000196E,
         0x197000001975,
-        0x1980000019ac,
-        0x19b0000019ca,
-        0x19d0000019da,
-        0x1a0000001a1c,
-        0x1a2000001a5f,
-        0x1a6000001a7d,
-        0x1a7f00001a8a,
-        0x1a9000001a9a,
-        0x1aa700001aa8,
-        0x1ab000001abe,
-        0x1abf00001acf,
-        0x1b0000001b4d,
-        0x1b5000001b5a,
-        0x1b6b00001b74,
-        0x1b8000001bf4,
-        0x1c0000001c38,
-        0x1c4000001c4a,
-        0x1c4d00001c7e,
-        0x1cd000001cd3,
-        0x1cd400001cfb,
-        0x1d0000001d2c,
-        0x1d2f00001d30,
-        0x1d3b00001d3c,
-        0x1d4e00001d4f,
-        0x1d6b00001d78,
-        0x1d7900001d9b,
-        0x1dc000001e00,
-        0x1e0100001e02,
-        0x1e0300001e04,
-        0x1e0500001e06,
-        0x1e0700001e08,
-        0x1e0900001e0a,
-        0x1e0b00001e0c,
-        0x1e0d00001e0e,
-        0x1e0f00001e10,
-        0x1e1100001e12,
-        0x1e1300001e14,
-        0x1e1500001e16,
-        0x1e1700001e18,
-        0x1e1900001e1a,
-        0x1e1b00001e1c,
-        0x1e1d00001e1e,
-        0x1e1f00001e20,
-        0x1e2100001e22,
-        0x1e2300001e24,
-        0x1e2500001e26,
-        0x1e2700001e28,
-        0x1e2900001e2a,
-        0x1e2b00001e2c,
-        0x1e2d00001e2e,
-        0x1e2f00001e30,
-        0x1e3100001e32,
-        0x1e3300001e34,
-        0x1e3500001e36,
-        0x1e3700001e38,
-        0x1e3900001e3a,
-        0x1e3b00001e3c,
-        0x1e3d00001e3e,
-        0x1e3f00001e40,
-        0x1e4100001e42,
-        0x1e4300001e44,
-        0x1e4500001e46,
-        0x1e4700001e48,
-        0x1e4900001e4a,
-        0x1e4b00001e4c,
-        0x1e4d00001e4e,
-        0x1e4f00001e50,
-        0x1e5100001e52,
-        0x1e5300001e54,
-        0x1e5500001e56,
-        0x1e5700001e58,
-        0x1e5900001e5a,
-        0x1e5b00001e5c,
-        0x1e5d00001e5e,
-        0x1e5f00001e60,
-        0x1e6100001e62,
-        0x1e6300001e64,
-        0x1e6500001e66,
-        0x1e6700001e68,
-        0x1e6900001e6a,
-        0x1e6b00001e6c,
-        0x1e6d00001e6e,
-        0x1e6f00001e70,
-        0x1e7100001e72,
-        0x1e7300001e74,
-        0x1e7500001e76,
-        0x1e7700001e78,
-        0x1e7900001e7a,
-        0x1e7b00001e7c,
-        0x1e7d00001e7e,
-        0x1e7f00001e80,
-        0x1e8100001e82,
-        0x1e8300001e84,
-        0x1e8500001e86,
-        0x1e8700001e88,
-        0x1e8900001e8a,
-        0x1e8b00001e8c,
-        0x1e8d00001e8e,
-        0x1e8f00001e90,
-        0x1e9100001e92,
-        0x1e9300001e94,
-        0x1e9500001e9a,
-        0x1e9c00001e9e,
-        0x1e9f00001ea0,
-        0x1ea100001ea2,
-        0x1ea300001ea4,
-        0x1ea500001ea6,
-        0x1ea700001ea8,
-        0x1ea900001eaa,
-        0x1eab00001eac,
-        0x1ead00001eae,
-        0x1eaf00001eb0,
-        0x1eb100001eb2,
-        0x1eb300001eb4,
-        0x1eb500001eb6,
-        0x1eb700001eb8,
-        0x1eb900001eba,
-        0x1ebb00001ebc,
-        0x1ebd00001ebe,
-        0x1ebf00001ec0,
-        0x1ec100001ec2,
-        0x1ec300001ec4,
-        0x1ec500001ec6,
-        0x1ec700001ec8,
-        0x1ec900001eca,
-        0x1ecb00001ecc,
-        0x1ecd00001ece,
-        0x1ecf00001ed0,
-        0x1ed100001ed2,
-        0x1ed300001ed4,
-        0x1ed500001ed6,
-        0x1ed700001ed8,
-        0x1ed900001eda,
-        0x1edb00001edc,
-        0x1edd00001ede,
-        0x1edf00001ee0,
-        0x1ee100001ee2,
-        0x1ee300001ee4,
-        0x1ee500001ee6,
-        0x1ee700001ee8,
-        0x1ee900001eea,
-        0x1eeb00001eec,
-        0x1eed00001eee,
-        0x1eef00001ef0,
-        0x1ef100001ef2,
-        0x1ef300001ef4,
-        0x1ef500001ef6,
-        0x1ef700001ef8,
-        0x1ef900001efa,
-        0x1efb00001efc,
-        0x1efd00001efe,
-        0x1eff00001f08,
-        0x1f1000001f16,
-        0x1f2000001f28,
-        0x1f3000001f38,
-        0x1f4000001f46,
-        0x1f5000001f58,
-        0x1f6000001f68,
-        0x1f7000001f71,
-        0x1f7200001f73,
-        0x1f7400001f75,
-        0x1f7600001f77,
-        0x1f7800001f79,
-        0x1f7a00001f7b,
-        0x1f7c00001f7d,
-        0x1fb000001fb2,
-        0x1fb600001fb7,
-        0x1fc600001fc7,
-        0x1fd000001fd3,
-        0x1fd600001fd8,
-        0x1fe000001fe3,
-        0x1fe400001fe8,
-        0x1ff600001ff7,
-        0x214e0000214f,
+        0x1980000019AC,
+        0x19B0000019CA,
+        0x19D0000019DA,
+        0x1A0000001A1C,
+        0x1A2000001A5F,
+        0x1A6000001A7D,
+        0x1A7F00001A8A,
+        0x1A9000001A9A,
+        0x1AA700001AA8,
+        0x1AB000001ABE,
+        0x1ABF00001ACF,
+        0x1B0000001B4D,
+        0x1B5000001B5A,
+        0x1B6B00001B74,
+        0x1B8000001BF4,
+        0x1C0000001C38,
+        0x1C4000001C4A,
+        0x1C4D00001C7E,
+        0x1CD000001CD3,
+        0x1CD400001CFB,
+        0x1D0000001D2C,
+        0x1D2F00001D30,
+        0x1D3B00001D3C,
+        0x1D4E00001D4F,
+        0x1D6B00001D78,
+        0x1D7900001D9B,
+        0x1DC000001E00,
+        0x1E0100001E02,
+        0x1E0300001E04,
+        0x1E0500001E06,
+        0x1E0700001E08,
+        0x1E0900001E0A,
+        0x1E0B00001E0C,
+        0x1E0D00001E0E,
+        0x1E0F00001E10,
+        0x1E1100001E12,
+        0x1E1300001E14,
+        0x1E1500001E16,
+        0x1E1700001E18,
+        0x1E1900001E1A,
+        0x1E1B00001E1C,
+        0x1E1D00001E1E,
+        0x1E1F00001E20,
+        0x1E2100001E22,
+        0x1E2300001E24,
+        0x1E2500001E26,
+        0x1E2700001E28,
+        0x1E2900001E2A,
+        0x1E2B00001E2C,
+        0x1E2D00001E2E,
+        0x1E2F00001E30,
+        0x1E3100001E32,
+        0x1E3300001E34,
+        0x1E3500001E36,
+        0x1E3700001E38,
+        0x1E3900001E3A,
+        0x1E3B00001E3C,
+        0x1E3D00001E3E,
+        0x1E3F00001E40,
+        0x1E4100001E42,
+        0x1E4300001E44,
+        0x1E4500001E46,
+        0x1E4700001E48,
+        0x1E4900001E4A,
+        0x1E4B00001E4C,
+        0x1E4D00001E4E,
+        0x1E4F00001E50,
+        0x1E5100001E52,
+        0x1E5300001E54,
+        0x1E5500001E56,
+        0x1E5700001E58,
+        0x1E5900001E5A,
+        0x1E5B00001E5C,
+        0x1E5D00001E5E,
+        0x1E5F00001E60,
+        0x1E6100001E62,
+        0x1E6300001E64,
+        0x1E6500001E66,
+        0x1E6700001E68,
+        0x1E6900001E6A,
+        0x1E6B00001E6C,
+        0x1E6D00001E6E,
+        0x1E6F00001E70,
+        0x1E7100001E72,
+        0x1E7300001E74,
+        0x1E7500001E76,
+        0x1E7700001E78,
+        0x1E7900001E7A,
+        0x1E7B00001E7C,
+        0x1E7D00001E7E,
+        0x1E7F00001E80,
+        0x1E8100001E82,
+        0x1E8300001E84,
+        0x1E8500001E86,
+        0x1E8700001E88,
+        0x1E8900001E8A,
+        0x1E8B00001E8C,
+        0x1E8D00001E8E,
+        0x1E8F00001E90,
+        0x1E9100001E92,
+        0x1E9300001E94,
+        0x1E9500001E9A,
+        0x1E9C00001E9E,
+        0x1E9F00001EA0,
+        0x1EA100001EA2,
+        0x1EA300001EA4,
+        0x1EA500001EA6,
+        0x1EA700001EA8,
+        0x1EA900001EAA,
+        0x1EAB00001EAC,
+        0x1EAD00001EAE,
+        0x1EAF00001EB0,
+        0x1EB100001EB2,
+        0x1EB300001EB4,
+        0x1EB500001EB6,
+        0x1EB700001EB8,
+        0x1EB900001EBA,
+        0x1EBB00001EBC,
+        0x1EBD00001EBE,
+        0x1EBF00001EC0,
+        0x1EC100001EC2,
+        0x1EC300001EC4,
+        0x1EC500001EC6,
+        0x1EC700001EC8,
+        0x1EC900001ECA,
+        0x1ECB00001ECC,
+        0x1ECD00001ECE,
+        0x1ECF00001ED0,
+        0x1ED100001ED2,
+        0x1ED300001ED4,
+        0x1ED500001ED6,
+        0x1ED700001ED8,
+        0x1ED900001EDA,
+        0x1EDB00001EDC,
+        0x1EDD00001EDE,
+        0x1EDF00001EE0,
+        0x1EE100001EE2,
+        0x1EE300001EE4,
+        0x1EE500001EE6,
+        0x1EE700001EE8,
+        0x1EE900001EEA,
+        0x1EEB00001EEC,
+        0x1EED00001EEE,
+        0x1EEF00001EF0,
+        0x1EF100001EF2,
+        0x1EF300001EF4,
+        0x1EF500001EF6,
+        0x1EF700001EF8,
+        0x1EF900001EFA,
+        0x1EFB00001EFC,
+        0x1EFD00001EFE,
+        0x1EFF00001F08,
+        0x1F1000001F16,
+        0x1F2000001F28,
+        0x1F3000001F38,
+        0x1F4000001F46,
+        0x1F5000001F58,
+        0x1F6000001F68,
+        0x1F7000001F71,
+        0x1F7200001F73,
+        0x1F7400001F75,
+        0x1F7600001F77,
+        0x1F7800001F79,
+        0x1F7A00001F7B,
+        0x1F7C00001F7D,
+        0x1FB000001FB2,
+        0x1FB600001FB7,
+        0x1FC600001FC7,
+        0x1FD000001FD3,
+        0x1FD600001FD8,
+        0x1FE000001FE3,
+        0x1FE400001FE8,
+        0x1FF600001FF7,
+        0x214E0000214F,
         0x218400002185,
-        0x2c3000002c60,
-        0x2c6100002c62,
-        0x2c6500002c67,
-        0x2c6800002c69,
-        0x2c6a00002c6b,
-        0x2c6c00002c6d,
-        0x2c7100002c72,
-        0x2c7300002c75,
-        0x2c7600002c7c,
-        0x2c8100002c82,
-        0x2c8300002c84,
-        0x2c8500002c86,
-        0x2c8700002c88,
-        0x2c8900002c8a,
-        0x2c8b00002c8c,
-        0x2c8d00002c8e,
-        0x2c8f00002c90,
-        0x2c9100002c92,
-        0x2c9300002c94,
-        0x2c9500002c96,
-        0x2c9700002c98,
-        0x2c9900002c9a,
-        0x2c9b00002c9c,
-        0x2c9d00002c9e,
-        0x2c9f00002ca0,
-        0x2ca100002ca2,
-        0x2ca300002ca4,
-        0x2ca500002ca6,
-        0x2ca700002ca8,
-        0x2ca900002caa,
-        0x2cab00002cac,
-        0x2cad00002cae,
-        0x2caf00002cb0,
-        0x2cb100002cb2,
-        0x2cb300002cb4,
-        0x2cb500002cb6,
-        0x2cb700002cb8,
-        0x2cb900002cba,
-        0x2cbb00002cbc,
-        0x2cbd00002cbe,
-        0x2cbf00002cc0,
-        0x2cc100002cc2,
-        0x2cc300002cc4,
-        0x2cc500002cc6,
-        0x2cc700002cc8,
-        0x2cc900002cca,
-        0x2ccb00002ccc,
-        0x2ccd00002cce,
-        0x2ccf00002cd0,
-        0x2cd100002cd2,
-        0x2cd300002cd4,
-        0x2cd500002cd6,
-        0x2cd700002cd8,
-        0x2cd900002cda,
-        0x2cdb00002cdc,
-        0x2cdd00002cde,
-        0x2cdf00002ce0,
-        0x2ce100002ce2,
-        0x2ce300002ce5,
-        0x2cec00002ced,
-        0x2cee00002cf2,
-        0x2cf300002cf4,
-        0x2d0000002d26,
-        0x2d2700002d28,
-        0x2d2d00002d2e,
-        0x2d3000002d68,
-        0x2d7f00002d97,
-        0x2da000002da7,
-        0x2da800002daf,
-        0x2db000002db7,
-        0x2db800002dbf,
-        0x2dc000002dc7,
-        0x2dc800002dcf,
-        0x2dd000002dd7,
-        0x2dd800002ddf,
-        0x2de000002e00,
-        0x2e2f00002e30,
+        0x2C3000002C60,
+        0x2C6100002C62,
+        0x2C6500002C67,
+        0x2C6800002C69,
+        0x2C6A00002C6B,
+        0x2C6C00002C6D,
+        0x2C7100002C72,
+        0x2C7300002C75,
+        0x2C7600002C7C,
+        0x2C8100002C82,
+        0x2C8300002C84,
+        0x2C8500002C86,
+        0x2C8700002C88,
+        0x2C8900002C8A,
+        0x2C8B00002C8C,
+        0x2C8D00002C8E,
+        0x2C8F00002C90,
+        0x2C9100002C92,
+        0x2C9300002C94,
+        0x2C9500002C96,
+        0x2C9700002C98,
+        0x2C9900002C9A,
+        0x2C9B00002C9C,
+        0x2C9D00002C9E,
+        0x2C9F00002CA0,
+        0x2CA100002CA2,
+        0x2CA300002CA4,
+        0x2CA500002CA6,
+        0x2CA700002CA8,
+        0x2CA900002CAA,
+        0x2CAB00002CAC,
+        0x2CAD00002CAE,
+        0x2CAF00002CB0,
+        0x2CB100002CB2,
+        0x2CB300002CB4,
+        0x2CB500002CB6,
+        0x2CB700002CB8,
+        0x2CB900002CBA,
+        0x2CBB00002CBC,
+        0x2CBD00002CBE,
+        0x2CBF00002CC0,
+        0x2CC100002CC2,
+        0x2CC300002CC4,
+        0x2CC500002CC6,
+        0x2CC700002CC8,
+        0x2CC900002CCA,
+        0x2CCB00002CCC,
+        0x2CCD00002CCE,
+        0x2CCF00002CD0,
+        0x2CD100002CD2,
+        0x2CD300002CD4,
+        0x2CD500002CD6,
+        0x2CD700002CD8,
+        0x2CD900002CDA,
+        0x2CDB00002CDC,
+        0x2CDD00002CDE,
+        0x2CDF00002CE0,
+        0x2CE100002CE2,
+        0x2CE300002CE5,
+        0x2CEC00002CED,
+        0x2CEE00002CF2,
+        0x2CF300002CF4,
+        0x2D0000002D26,
+        0x2D2700002D28,
+        0x2D2D00002D2E,
+        0x2D3000002D68,
+        0x2D7F00002D97,
+        0x2DA000002DA7,
+        0x2DA800002DAF,
+        0x2DB000002DB7,
+        0x2DB800002DBF,
+        0x2DC000002DC7,
+        0x2DC800002DCF,
+        0x2DD000002DD7,
+        0x2DD800002DDF,
+        0x2DE000002E00,
+        0x2E2F00002E30,
         0x300500003008,
-        0x302a0000302e,
-        0x303c0000303d,
+        0x302A0000302E,
+        0x303C0000303D,
         0x304100003097,
-        0x30990000309b,
-        0x309d0000309f,
-        0x30a1000030fb,
-        0x30fc000030ff,
+        0x30990000309B,
+        0x309D0000309F,
+        0x30A1000030FB,
+        0x30FC000030FF,
         0x310500003130,
-        0x31a0000031c0,
-        0x31f000003200,
-        0x340000004dc0,
-        0x4e000000a48d,
-        0xa4d00000a4fe,
-        0xa5000000a60d,
-        0xa6100000a62c,
-        0xa6410000a642,
-        0xa6430000a644,
-        0xa6450000a646,
-        0xa6470000a648,
-        0xa6490000a64a,
-        0xa64b0000a64c,
-        0xa64d0000a64e,
-        0xa64f0000a650,
-        0xa6510000a652,
-        0xa6530000a654,
-        0xa6550000a656,
-        0xa6570000a658,
-        0xa6590000a65a,
-        0xa65b0000a65c,
-        0xa65d0000a65e,
-        0xa65f0000a660,
-        0xa6610000a662,
-        0xa6630000a664,
-        0xa6650000a666,
-        0xa6670000a668,
-        0xa6690000a66a,
-        0xa66b0000a66c,
-        0xa66d0000a670,
-        0xa6740000a67e,
-        0xa67f0000a680,
-        0xa6810000a682,
-        0xa6830000a684,
-        0xa6850000a686,
-        0xa6870000a688,
-        0xa6890000a68a,
-        0xa68b0000a68c,
-        0xa68d0000a68e,
-        0xa68f0000a690,
-        0xa6910000a692,
-        0xa6930000a694,
-        0xa6950000a696,
-        0xa6970000a698,
-        0xa6990000a69a,
-        0xa69b0000a69c,
-        0xa69e0000a6e6,
-        0xa6f00000a6f2,
-        0xa7170000a720,
-        0xa7230000a724,
-        0xa7250000a726,
-        0xa7270000a728,
-        0xa7290000a72a,
-        0xa72b0000a72c,
-        0xa72d0000a72e,
-        0xa72f0000a732,
-        0xa7330000a734,
-        0xa7350000a736,
-        0xa7370000a738,
-        0xa7390000a73a,
-        0xa73b0000a73c,
-        0xa73d0000a73e,
-        0xa73f0000a740,
-        0xa7410000a742,
-        0xa7430000a744,
-        0xa7450000a746,
-        0xa7470000a748,
-        0xa7490000a74a,
-        0xa74b0000a74c,
-        0xa74d0000a74e,
-        0xa74f0000a750,
-        0xa7510000a752,
-        0xa7530000a754,
-        0xa7550000a756,
-        0xa7570000a758,
-        0xa7590000a75a,
-        0xa75b0000a75c,
-        0xa75d0000a75e,
-        0xa75f0000a760,
-        0xa7610000a762,
-        0xa7630000a764,
-        0xa7650000a766,
-        0xa7670000a768,
-        0xa7690000a76a,
-        0xa76b0000a76c,
-        0xa76d0000a76e,
-        0xa76f0000a770,
-        0xa7710000a779,
-        0xa77a0000a77b,
-        0xa77c0000a77d,
-        0xa77f0000a780,
-        0xa7810000a782,
-        0xa7830000a784,
-        0xa7850000a786,
-        0xa7870000a789,
-        0xa78c0000a78d,
-        0xa78e0000a790,
-        0xa7910000a792,
-        0xa7930000a796,
-        0xa7970000a798,
-        0xa7990000a79a,
-        0xa79b0000a79c,
-        0xa79d0000a79e,
-        0xa79f0000a7a0,
-        0xa7a10000a7a2,
-        0xa7a30000a7a4,
-        0xa7a50000a7a6,
-        0xa7a70000a7a8,
-        0xa7a90000a7aa,
-        0xa7af0000a7b0,
-        0xa7b50000a7b6,
-        0xa7b70000a7b8,
-        0xa7b90000a7ba,
-        0xa7bb0000a7bc,
-        0xa7bd0000a7be,
-        0xa7bf0000a7c0,
-        0xa7c10000a7c2,
-        0xa7c30000a7c4,
-        0xa7c80000a7c9,
-        0xa7ca0000a7cb,
-        0xa7d10000a7d2,
-        0xa7d30000a7d4,
-        0xa7d50000a7d6,
-        0xa7d70000a7d8,
-        0xa7d90000a7da,
-        0xa7f20000a7f5,
-        0xa7f60000a7f8,
-        0xa7fa0000a828,
-        0xa82c0000a82d,
-        0xa8400000a874,
-        0xa8800000a8c6,
-        0xa8d00000a8da,
-        0xa8e00000a8f8,
-        0xa8fb0000a8fc,
-        0xa8fd0000a92e,
-        0xa9300000a954,
-        0xa9800000a9c1,
-        0xa9cf0000a9da,
-        0xa9e00000a9ff,
-        0xaa000000aa37,
-        0xaa400000aa4e,
-        0xaa500000aa5a,
-        0xaa600000aa77,
-        0xaa7a0000aac3,
-        0xaadb0000aade,
-        0xaae00000aaf0,
-        0xaaf20000aaf7,
-        0xab010000ab07,
-        0xab090000ab0f,
-        0xab110000ab17,
-        0xab200000ab27,
-        0xab280000ab2f,
-        0xab300000ab5b,
-        0xab600000ab69,
-        0xabc00000abeb,
-        0xabec0000abee,
-        0xabf00000abfa,
-        0xac000000d7a4,
-        0xfa0e0000fa10,
-        0xfa110000fa12,
-        0xfa130000fa15,
-        0xfa1f0000fa20,
-        0xfa210000fa22,
-        0xfa230000fa25,
-        0xfa270000fa2a,
-        0xfb1e0000fb1f,
-        0xfe200000fe30,
-        0xfe730000fe74,
-        0x100000001000c,
-        0x1000d00010027,
-        0x100280001003b,
-        0x1003c0001003e,
-        0x1003f0001004e,
-        0x100500001005e,
-        0x10080000100fb,
-        0x101fd000101fe,
-        0x102800001029d,
-        0x102a0000102d1,
-        0x102e0000102e1,
+        0x31A0000031C0,
+        0x31F000003200,
+        0x340000004DC0,
+        0x4E000000A48D,
+        0xA4D00000A4FE,
+        0xA5000000A60D,
+        0xA6100000A62C,
+        0xA6410000A642,
+        0xA6430000A644,
+        0xA6450000A646,
+        0xA6470000A648,
+        0xA6490000A64A,
+        0xA64B0000A64C,
+        0xA64D0000A64E,
+        0xA64F0000A650,
+        0xA6510000A652,
+        0xA6530000A654,
+        0xA6550000A656,
+        0xA6570000A658,
+        0xA6590000A65A,
+        0xA65B0000A65C,
+        0xA65D0000A65E,
+        0xA65F0000A660,
+        0xA6610000A662,
+        0xA6630000A664,
+        0xA6650000A666,
+        0xA6670000A668,
+        0xA6690000A66A,
+        0xA66B0000A66C,
+        0xA66D0000A670,
+        0xA6740000A67E,
+        0xA67F0000A680,
+        0xA6810000A682,
+        0xA6830000A684,
+        0xA6850000A686,
+        0xA6870000A688,
+        0xA6890000A68A,
+        0xA68B0000A68C,
+        0xA68D0000A68E,
+        0xA68F0000A690,
+        0xA6910000A692,
+        0xA6930000A694,
+        0xA6950000A696,
+        0xA6970000A698,
+        0xA6990000A69A,
+        0xA69B0000A69C,
+        0xA69E0000A6E6,
+        0xA6F00000A6F2,
+        0xA7170000A720,
+        0xA7230000A724,
+        0xA7250000A726,
+        0xA7270000A728,
+        0xA7290000A72A,
+        0xA72B0000A72C,
+        0xA72D0000A72E,
+        0xA72F0000A732,
+        0xA7330000A734,
+        0xA7350000A736,
+        0xA7370000A738,
+        0xA7390000A73A,
+        0xA73B0000A73C,
+        0xA73D0000A73E,
+        0xA73F0000A740,
+        0xA7410000A742,
+        0xA7430000A744,
+        0xA7450000A746,
+        0xA7470000A748,
+        0xA7490000A74A,
+        0xA74B0000A74C,
+        0xA74D0000A74E,
+        0xA74F0000A750,
+        0xA7510000A752,
+        0xA7530000A754,
+        0xA7550000A756,
+        0xA7570000A758,
+        0xA7590000A75A,
+        0xA75B0000A75C,
+        0xA75D0000A75E,
+        0xA75F0000A760,
+        0xA7610000A762,
+        0xA7630000A764,
+        0xA7650000A766,
+        0xA7670000A768,
+        0xA7690000A76A,
+        0xA76B0000A76C,
+        0xA76D0000A76E,
+        0xA76F0000A770,
+        0xA7710000A779,
+        0xA77A0000A77B,
+        0xA77C0000A77D,
+        0xA77F0000A780,
+        0xA7810000A782,
+        0xA7830000A784,
+        0xA7850000A786,
+        0xA7870000A789,
+        0xA78C0000A78D,
+        0xA78E0000A790,
+        0xA7910000A792,
+        0xA7930000A796,
+        0xA7970000A798,
+        0xA7990000A79A,
+        0xA79B0000A79C,
+        0xA79D0000A79E,
+        0xA79F0000A7A0,
+        0xA7A10000A7A2,
+        0xA7A30000A7A4,
+        0xA7A50000A7A6,
+        0xA7A70000A7A8,
+        0xA7A90000A7AA,
+        0xA7AF0000A7B0,
+        0xA7B50000A7B6,
+        0xA7B70000A7B8,
+        0xA7B90000A7BA,
+        0xA7BB0000A7BC,
+        0xA7BD0000A7BE,
+        0xA7BF0000A7C0,
+        0xA7C10000A7C2,
+        0xA7C30000A7C4,
+        0xA7C80000A7C9,
+        0xA7CA0000A7CB,
+        0xA7D10000A7D2,
+        0xA7D30000A7D4,
+        0xA7D50000A7D6,
+        0xA7D70000A7D8,
+        0xA7D90000A7DA,
+        0xA7F60000A7F8,
+        0xA7FA0000A828,
+        0xA82C0000A82D,
+        0xA8400000A874,
+        0xA8800000A8C6,
+        0xA8D00000A8DA,
+        0xA8E00000A8F8,
+        0xA8FB0000A8FC,
+        0xA8FD0000A92E,
+        0xA9300000A954,
+        0xA9800000A9C1,
+        0xA9CF0000A9DA,
+        0xA9E00000A9FF,
+        0xAA000000AA37,
+        0xAA400000AA4E,
+        0xAA500000AA5A,
+        0xAA600000AA77,
+        0xAA7A0000AAC3,
+        0xAADB0000AADE,
+        0xAAE00000AAF0,
+        0xAAF20000AAF7,
+        0xAB010000AB07,
+        0xAB090000AB0F,
+        0xAB110000AB17,
+        0xAB200000AB27,
+        0xAB280000AB2F,
+        0xAB300000AB5B,
+        0xAB600000AB69,
+        0xABC00000ABEB,
+        0xABEC0000ABEE,
+        0xABF00000ABFA,
+        0xAC000000D7A4,
+        0xFA0E0000FA10,
+        0xFA110000FA12,
+        0xFA130000FA15,
+        0xFA1F0000FA20,
+        0xFA210000FA22,
+        0xFA230000FA25,
+        0xFA270000FA2A,
+        0xFB1E0000FB1F,
+        0xFE200000FE30,
+        0xFE730000FE74,
+        0x100000001000C,
+        0x1000D00010027,
+        0x100280001003B,
+        0x1003C0001003E,
+        0x1003F0001004E,
+        0x100500001005E,
+        0x10080000100FB,
+        0x101FD000101FE,
+        0x102800001029D,
+        0x102A0000102D1,
+        0x102E0000102E1,
         0x1030000010320,
-        0x1032d00010341,
-        0x103420001034a,
-        0x103500001037b,
-        0x103800001039e,
-        0x103a0000103c4,
-        0x103c8000103d0,
-        0x104280001049e,
-        0x104a0000104aa,
-        0x104d8000104fc,
+        0x1032D00010341,
+        0x103420001034A,
+        0x103500001037B,
+        0x103800001039E,
+        0x103A0000103C4,
+        0x103C8000103D0,
+        0x104280001049E,
+        0x104A0000104AA,
+        0x104D8000104FC,
         0x1050000010528,
         0x1053000010564,
-        0x10597000105a2,
-        0x105a3000105b2,
-        0x105b3000105ba,
-        0x105bb000105bd,
+        0x10597000105A2,
+        0x105A3000105B2,
+        0x105B3000105BA,
+        0x105BB000105BD,
         0x1060000010737,
         0x1074000010756,
         0x1076000010768,
-        0x1078000010786,
-        0x10787000107b1,
-        0x107b2000107bb,
+        0x1078000010781,
         0x1080000010806,
         0x1080800010809,
-        0x1080a00010836,
+        0x1080A00010836,
         0x1083700010839,
-        0x1083c0001083d,
-        0x1083f00010856,
+        0x1083C0001083D,
+        0x1083F00010856,
         0x1086000010877,
-        0x108800001089f,
-        0x108e0000108f3,
-        0x108f4000108f6,
+        0x108800001089F,
+        0x108E0000108F3,
+        0x108F4000108F6,
         0x1090000010916,
-        0x109200001093a,
-        0x10980000109b8,
-        0x109be000109c0,
-        0x10a0000010a04,
-        0x10a0500010a07,
-        0x10a0c00010a14,
-        0x10a1500010a18,
-        0x10a1900010a36,
-        0x10a3800010a3b,
-        0x10a3f00010a40,
-        0x10a6000010a7d,
-        0x10a8000010a9d,
-        0x10ac000010ac8,
-        0x10ac900010ae7,
-        0x10b0000010b36,
-        0x10b4000010b56,
-        0x10b6000010b73,
-        0x10b8000010b92,
-        0x10c0000010c49,
-        0x10cc000010cf3,
-        0x10d0000010d28,
-        0x10d3000010d3a,
-        0x10e8000010eaa,
-        0x10eab00010ead,
-        0x10eb000010eb2,
-        0x10efd00010f1d,
-        0x10f2700010f28,
-        0x10f3000010f51,
-        0x10f7000010f86,
-        0x10fb000010fc5,
-        0x10fe000010ff7,
+        0x109200001093A,
+        0x10980000109B8,
+        0x109BE000109C0,
+        0x10A0000010A04,
+        0x10A0500010A07,
+        0x10A0C00010A14,
+        0x10A1500010A18,
+        0x10A1900010A36,
+        0x10A3800010A3B,
+        0x10A3F00010A40,
+        0x10A6000010A7D,
+        0x10A8000010A9D,
+        0x10AC000010AC8,
+        0x10AC900010AE7,
+        0x10B0000010B36,
+        0x10B4000010B56,
+        0x10B6000010B73,
+        0x10B8000010B92,
+        0x10C0000010C49,
+        0x10CC000010CF3,
+        0x10D0000010D28,
+        0x10D3000010D3A,
+        0x10E8000010EAA,
+        0x10EAB00010EAD,
+        0x10EB000010EB2,
+        0x10EFD00010F1D,
+        0x10F2700010F28,
+        0x10F3000010F51,
+        0x10F7000010F86,
+        0x10FB000010FC5,
+        0x10FE000010FF7,
         0x1100000011047,
         0x1106600011076,
-        0x1107f000110bb,
-        0x110c2000110c3,
-        0x110d0000110e9,
-        0x110f0000110fa,
+        0x1107F000110BB,
+        0x110C2000110C3,
+        0x110D0000110E9,
+        0x110F0000110FA,
         0x1110000011135,
         0x1113600011140,
         0x1114400011148,
         0x1115000011174,
         0x1117600011177,
-        0x11180000111c5,
-        0x111c9000111cd,
-        0x111ce000111db,
-        0x111dc000111dd,
+        0x11180000111C5,
+        0x111C9000111CD,
+        0x111CE000111DB,
+        0x111DC000111DD,
         0x1120000011212,
         0x1121300011238,
-        0x1123e00011242,
+        0x1123E00011242,
         0x1128000011287,
         0x1128800011289,
-        0x1128a0001128e,
-        0x1128f0001129e,
-        0x1129f000112a9,
-        0x112b0000112eb,
-        0x112f0000112fa,
+        0x1128A0001128E,
+        0x1128F0001129E,
+        0x1129F000112A9,
+        0x112B0000112EB,
+        0x112F0000112FA,
         0x1130000011304,
-        0x113050001130d,
-        0x1130f00011311,
+        0x113050001130D,
+        0x1130F00011311,
         0x1131300011329,
-        0x1132a00011331,
+        0x1132A00011331,
         0x1133200011334,
-        0x113350001133a,
-        0x1133b00011345,
+        0x113350001133A,
+        0x1133B00011345,
         0x1134700011349,
-        0x1134b0001134e,
+        0x1134B0001134E,
         0x1135000011351,
         0x1135700011358,
-        0x1135d00011364,
-        0x113660001136d,
+        0x1135D00011364,
+        0x113660001136D,
         0x1137000011375,
-        0x114000001144b,
-        0x114500001145a,
-        0x1145e00011462,
-        0x11480000114c6,
-        0x114c7000114c8,
-        0x114d0000114da,
-        0x11580000115b6,
-        0x115b8000115c1,
-        0x115d8000115de,
+        0x114000001144B,
+        0x114500001145A,
+        0x1145E00011462,
+        0x11480000114C6,
+        0x114C7000114C8,
+        0x114D0000114DA,
+        0x11580000115B6,
+        0x115B8000115C1,
+        0x115D8000115DE,
         0x1160000011641,
         0x1164400011645,
-        0x116500001165a,
-        0x11680000116b9,
-        0x116c0000116ca,
-        0x117000001171b,
-        0x1171d0001172c,
-        0x117300001173a,
+        0x116500001165A,
+        0x11680000116B9,
+        0x116C0000116CA,
+        0x117000001171B,
+        0x1171D0001172C,
+        0x117300001173A,
         0x1174000011747,
-        0x118000001183b,
-        0x118c0000118ea,
-        0x118ff00011907,
-        0x119090001190a,
-        0x1190c00011914,
+        0x118000001183B,
+        0x118C0000118EA,
+        0x118FF00011907,
+        0x119090001190A,
+        0x1190C00011914,
         0x1191500011917,
         0x1191800011936,
         0x1193700011939,
-        0x1193b00011944,
-        0x119500001195a,
-        0x119a0000119a8,
-        0x119aa000119d8,
-        0x119da000119e2,
-        0x119e3000119e5,
-        0x11a0000011a3f,
-        0x11a4700011a48,
-        0x11a5000011a9a,
-        0x11a9d00011a9e,
-        0x11ab000011af9,
-        0x11c0000011c09,
-        0x11c0a00011c37,
-        0x11c3800011c41,
-        0x11c5000011c5a,
-        0x11c7200011c90,
-        0x11c9200011ca8,
-        0x11ca900011cb7,
-        0x11d0000011d07,
-        0x11d0800011d0a,
-        0x11d0b00011d37,
-        0x11d3a00011d3b,
-        0x11d3c00011d3e,
-        0x11d3f00011d48,
-        0x11d5000011d5a,
-        0x11d6000011d66,
-        0x11d6700011d69,
-        0x11d6a00011d8f,
-        0x11d9000011d92,
-        0x11d9300011d99,
-        0x11da000011daa,
-        0x11ee000011ef7,
-        0x11f0000011f11,
-        0x11f1200011f3b,
-        0x11f3e00011f43,
-        0x11f5000011f5a,
-        0x11fb000011fb1,
-        0x120000001239a,
+        0x1193B00011944,
+        0x119500001195A,
+        0x119A0000119A8,
+        0x119AA000119D8,
+        0x119DA000119E2,
+        0x119E3000119E5,
+        0x11A0000011A3F,
+        0x11A4700011A48,
+        0x11A5000011A9A,
+        0x11A9D00011A9E,
+        0x11AB000011AF9,
+        0x11C0000011C09,
+        0x11C0A00011C37,
+        0x11C3800011C41,
+        0x11C5000011C5A,
+        0x11C7200011C90,
+        0x11C9200011CA8,
+        0x11CA900011CB7,
+        0x11D0000011D07,
+        0x11D0800011D0A,
+        0x11D0B00011D37,
+        0x11D3A00011D3B,
+        0x11D3C00011D3E,
+        0x11D3F00011D48,
+        0x11D5000011D5A,
+        0x11D6000011D66,
+        0x11D6700011D69,
+        0x11D6A00011D8F,
+        0x11D9000011D92,
+        0x11D9300011D99,
+        0x11DA000011DAA,
+        0x11EE000011EF7,
+        0x11F0000011F11,
+        0x11F1200011F3B,
+        0x11F3E00011F43,
+        0x11F5000011F5A,
+        0x11FB000011FB1,
+        0x120000001239A,
         0x1248000012544,
-        0x12f9000012ff1,
+        0x12F9000012FF1,
         0x1300000013430,
         0x1344000013456,
         0x1440000014647,
-        0x1680000016a39,
-        0x16a4000016a5f,
-        0x16a6000016a6a,
-        0x16a7000016abf,
-        0x16ac000016aca,
-        0x16ad000016aee,
-        0x16af000016af5,
-        0x16b0000016b37,
-        0x16b4000016b44,
-        0x16b5000016b5a,
-        0x16b6300016b78,
-        0x16b7d00016b90,
-        0x16e6000016e80,
-        0x16f0000016f4b,
-        0x16f4f00016f88,
-        0x16f8f00016fa0,
-        0x16fe000016fe2,
-        0x16fe300016fe5,
-        0x16ff000016ff2,
-        0x17000000187f8,
-        0x1880000018cd6,
-        0x18d0000018d09,
-        0x1aff00001aff4,
-        0x1aff50001affc,
-        0x1affd0001afff,
-        0x1b0000001b123,
-        0x1b1320001b133,
-        0x1b1500001b153,
-        0x1b1550001b156,
-        0x1b1640001b168,
-        0x1b1700001b2fc,
-        0x1bc000001bc6b,
-        0x1bc700001bc7d,
-        0x1bc800001bc89,
-        0x1bc900001bc9a,
-        0x1bc9d0001bc9f,
-        0x1cf000001cf2e,
-        0x1cf300001cf47,
-        0x1da000001da37,
-        0x1da3b0001da6d,
-        0x1da750001da76,
-        0x1da840001da85,
-        0x1da9b0001daa0,
-        0x1daa10001dab0,
-        0x1df000001df1f,
-        0x1df250001df2b,
-        0x1e0000001e007,
-        0x1e0080001e019,
-        0x1e01b0001e022,
-        0x1e0230001e025,
-        0x1e0260001e02b,
-        0x1e0300001e06e,
-        0x1e08f0001e090,
-        0x1e1000001e12d,
-        0x1e1300001e13e,
-        0x1e1400001e14a,
-        0x1e14e0001e14f,
-        0x1e2900001e2af,
-        0x1e2c00001e2fa,
-        0x1e4d00001e4fa,
-        0x1e7e00001e7e7,
-        0x1e7e80001e7ec,
-        0x1e7ed0001e7ef,
-        0x1e7f00001e7ff,
-        0x1e8000001e8c5,
-        0x1e8d00001e8d7,
-        0x1e9220001e94c,
-        0x1e9500001e95a,
-        0x200000002a6e0,
-        0x2a7000002b73a,
-        0x2b7400002b81e,
-        0x2b8200002cea2,
-        0x2ceb00002ebe1,
-        0x300000003134b,
-        0x31350000323b0,
+        0x1680000016A39,
+        0x16A4000016A5F,
+        0x16A6000016A6A,
+        0x16A7000016ABF,
+        0x16AC000016ACA,
+        0x16AD000016AEE,
+        0x16AF000016AF5,
+        0x16B0000016B37,
+        0x16B4000016B44,
+        0x16B5000016B5A,
+        0x16B6300016B78,
+        0x16B7D00016B90,
+        0x16E6000016E80,
+        0x16F0000016F4B,
+        0x16F4F00016F88,
+        0x16F8F00016FA0,
+        0x16FE000016FE2,
+        0x16FE300016FE5,
+        0x16FF000016FF2,
+        0x17000000187F8,
+        0x1880000018CD6,
+        0x18D0000018D09,
+        0x1AFF00001AFF4,
+        0x1AFF50001AFFC,
+        0x1AFFD0001AFFF,
+        0x1B0000001B123,
+        0x1B1320001B133,
+        0x1B1500001B153,
+        0x1B1550001B156,
+        0x1B1640001B168,
+        0x1B1700001B2FC,
+        0x1BC000001BC6B,
+        0x1BC700001BC7D,
+        0x1BC800001BC89,
+        0x1BC900001BC9A,
+        0x1BC9D0001BC9F,
+        0x1CF000001CF2E,
+        0x1CF300001CF47,
+        0x1DA000001DA37,
+        0x1DA3B0001DA6D,
+        0x1DA750001DA76,
+        0x1DA840001DA85,
+        0x1DA9B0001DAA0,
+        0x1DAA10001DAB0,
+        0x1DF000001DF1F,
+        0x1DF250001DF2B,
+        0x1E0000001E007,
+        0x1E0080001E019,
+        0x1E01B0001E022,
+        0x1E0230001E025,
+        0x1E0260001E02B,
+        0x1E08F0001E090,
+        0x1E1000001E12D,
+        0x1E1300001E13E,
+        0x1E1400001E14A,
+        0x1E14E0001E14F,
+        0x1E2900001E2AF,
+        0x1E2C00001E2FA,
+        0x1E4D00001E4FA,
+        0x1E7E00001E7E7,
+        0x1E7E80001E7EC,
+        0x1E7ED0001E7EF,
+        0x1E7F00001E7FF,
+        0x1E8000001E8C5,
+        0x1E8D00001E8D7,
+        0x1E9220001E94C,
+        0x1E9500001E95A,
+        0x200000002A6E0,
+        0x2A7000002B73A,
+        0x2B7400002B81E,
+        0x2B8200002CEA2,
+        0x2CEB00002EBE1,
+        0x2EBF00002EE5E,
+        0x300000003134B,
+        0x31350000323B0,
     ),
-    'CONTEXTJ': (
-        0x200c0000200e,
-    ),
-    'CONTEXTO': (
-        0xb7000000b8,
+    "CONTEXTJ": (0x200C0000200E,),
+    "CONTEXTO": (
+        0xB7000000B8,
         0x37500000376,
-        0x5f3000005f5,
-        0x6600000066a,
-        0x6f0000006fa,
-        0x30fb000030fc,
+        0x5F3000005F5,
+        0x6600000066A,
+        0x6F0000006FA,
+        0x30FB000030FC,
     ),
 }
diff --git a/.venv/Lib/site-packages/pip/_vendor/idna/intranges.py b/.venv/Lib/site-packages/pip/_vendor/idna/intranges.py
index 6a43b04..7bfaa8d 100644
--- a/.venv/Lib/site-packages/pip/_vendor/idna/intranges.py
+++ b/.venv/Lib/site-packages/pip/_vendor/idna/intranges.py
@@ -8,6 +8,7 @@ in the original list?" in time O(log(# runs)).
 import bisect
 from typing import List, Tuple
 
+
 def intranges_from_list(list_: List[int]) -> Tuple[int, ...]:
     """Represent a list of integers as a sequence of ranges:
     ((start_0, end_0), (start_1, end_1), ...), such that the original
@@ -20,18 +21,20 @@ def intranges_from_list(list_: List[int]) -> Tuple[int, ...]:
     ranges = []
     last_write = -1
     for i in range(len(sorted_list)):
-        if i+1 < len(sorted_list):
-            if sorted_list[i] == sorted_list[i+1]-1:
+        if i + 1 < len(sorted_list):
+            if sorted_list[i] == sorted_list[i + 1] - 1:
                 continue
-        current_range = sorted_list[last_write+1:i+1]
+        current_range = sorted_list[last_write + 1 : i + 1]
         ranges.append(_encode_range(current_range[0], current_range[-1] + 1))
         last_write = i
 
     return tuple(ranges)
 
+
 def _encode_range(start: int, end: int) -> int:
     return (start << 32) | end
 
+
 def _decode_range(r: int) -> Tuple[int, int]:
     return (r >> 32), (r & ((1 << 32) - 1))
 
@@ -43,7 +46,7 @@ def intranges_contain(int_: int, ranges: Tuple[int, ...]) -> bool:
     # we could be immediately ahead of a tuple (start, end)
     # with start < int_ <= end
     if pos > 0:
-        left, right = _decode_range(ranges[pos-1])
+        left, right = _decode_range(ranges[pos - 1])
         if left <= int_ < right:
             return True
     # or we could be immediately behind a tuple (int_, end)
diff --git a/.venv/Lib/site-packages/pip/_vendor/idna/package_data.py b/.venv/Lib/site-packages/pip/_vendor/idna/package_data.py
index 8501893..514ff7e 100644
--- a/.venv/Lib/site-packages/pip/_vendor/idna/package_data.py
+++ b/.venv/Lib/site-packages/pip/_vendor/idna/package_data.py
@@ -1,2 +1 @@
-__version__ = '3.4'
-
+__version__ = "3.10"
diff --git a/.venv/Lib/site-packages/pip/_vendor/idna/uts46data.py b/.venv/Lib/site-packages/pip/_vendor/idna/uts46data.py
index 186796c..eb89432 100644
--- a/.venv/Lib/site-packages/pip/_vendor/idna/uts46data.py
+++ b/.venv/Lib/site-packages/pip/_vendor/idna/uts46data.py
@@ -3,8517 +3,8598 @@
 
 from typing import List, Tuple, Union
 
-
 """IDNA Mapping Table from UTS46."""
 
 
-__version__ = '15.0.0'
+__version__ = "15.1.0"
+
+
 def _seg_0() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x0, '3'),
-    (0x1, '3'),
-    (0x2, '3'),
-    (0x3, '3'),
-    (0x4, '3'),
-    (0x5, '3'),
-    (0x6, '3'),
-    (0x7, '3'),
-    (0x8, '3'),
-    (0x9, '3'),
-    (0xA, '3'),
-    (0xB, '3'),
-    (0xC, '3'),
-    (0xD, '3'),
-    (0xE, '3'),
-    (0xF, '3'),
-    (0x10, '3'),
-    (0x11, '3'),
-    (0x12, '3'),
-    (0x13, '3'),
-    (0x14, '3'),
-    (0x15, '3'),
-    (0x16, '3'),
-    (0x17, '3'),
-    (0x18, '3'),
-    (0x19, '3'),
-    (0x1A, '3'),
-    (0x1B, '3'),
-    (0x1C, '3'),
-    (0x1D, '3'),
-    (0x1E, '3'),
-    (0x1F, '3'),
-    (0x20, '3'),
-    (0x21, '3'),
-    (0x22, '3'),
-    (0x23, '3'),
-    (0x24, '3'),
-    (0x25, '3'),
-    (0x26, '3'),
-    (0x27, '3'),
-    (0x28, '3'),
-    (0x29, '3'),
-    (0x2A, '3'),
-    (0x2B, '3'),
-    (0x2C, '3'),
-    (0x2D, 'V'),
-    (0x2E, 'V'),
-    (0x2F, '3'),
-    (0x30, 'V'),
-    (0x31, 'V'),
-    (0x32, 'V'),
-    (0x33, 'V'),
-    (0x34, 'V'),
-    (0x35, 'V'),
-    (0x36, 'V'),
-    (0x37, 'V'),
-    (0x38, 'V'),
-    (0x39, 'V'),
-    (0x3A, '3'),
-    (0x3B, '3'),
-    (0x3C, '3'),
-    (0x3D, '3'),
-    (0x3E, '3'),
-    (0x3F, '3'),
-    (0x40, '3'),
-    (0x41, 'M', 'a'),
-    (0x42, 'M', 'b'),
-    (0x43, 'M', 'c'),
-    (0x44, 'M', 'd'),
-    (0x45, 'M', 'e'),
-    (0x46, 'M', 'f'),
-    (0x47, 'M', 'g'),
-    (0x48, 'M', 'h'),
-    (0x49, 'M', 'i'),
-    (0x4A, 'M', 'j'),
-    (0x4B, 'M', 'k'),
-    (0x4C, 'M', 'l'),
-    (0x4D, 'M', 'm'),
-    (0x4E, 'M', 'n'),
-    (0x4F, 'M', 'o'),
-    (0x50, 'M', 'p'),
-    (0x51, 'M', 'q'),
-    (0x52, 'M', 'r'),
-    (0x53, 'M', 's'),
-    (0x54, 'M', 't'),
-    (0x55, 'M', 'u'),
-    (0x56, 'M', 'v'),
-    (0x57, 'M', 'w'),
-    (0x58, 'M', 'x'),
-    (0x59, 'M', 'y'),
-    (0x5A, 'M', 'z'),
-    (0x5B, '3'),
-    (0x5C, '3'),
-    (0x5D, '3'),
-    (0x5E, '3'),
-    (0x5F, '3'),
-    (0x60, '3'),
-    (0x61, 'V'),
-    (0x62, 'V'),
-    (0x63, 'V'),
+        (0x0, "3"),
+        (0x1, "3"),
+        (0x2, "3"),
+        (0x3, "3"),
+        (0x4, "3"),
+        (0x5, "3"),
+        (0x6, "3"),
+        (0x7, "3"),
+        (0x8, "3"),
+        (0x9, "3"),
+        (0xA, "3"),
+        (0xB, "3"),
+        (0xC, "3"),
+        (0xD, "3"),
+        (0xE, "3"),
+        (0xF, "3"),
+        (0x10, "3"),
+        (0x11, "3"),
+        (0x12, "3"),
+        (0x13, "3"),
+        (0x14, "3"),
+        (0x15, "3"),
+        (0x16, "3"),
+        (0x17, "3"),
+        (0x18, "3"),
+        (0x19, "3"),
+        (0x1A, "3"),
+        (0x1B, "3"),
+        (0x1C, "3"),
+        (0x1D, "3"),
+        (0x1E, "3"),
+        (0x1F, "3"),
+        (0x20, "3"),
+        (0x21, "3"),
+        (0x22, "3"),
+        (0x23, "3"),
+        (0x24, "3"),
+        (0x25, "3"),
+        (0x26, "3"),
+        (0x27, "3"),
+        (0x28, "3"),
+        (0x29, "3"),
+        (0x2A, "3"),
+        (0x2B, "3"),
+        (0x2C, "3"),
+        (0x2D, "V"),
+        (0x2E, "V"),
+        (0x2F, "3"),
+        (0x30, "V"),
+        (0x31, "V"),
+        (0x32, "V"),
+        (0x33, "V"),
+        (0x34, "V"),
+        (0x35, "V"),
+        (0x36, "V"),
+        (0x37, "V"),
+        (0x38, "V"),
+        (0x39, "V"),
+        (0x3A, "3"),
+        (0x3B, "3"),
+        (0x3C, "3"),
+        (0x3D, "3"),
+        (0x3E, "3"),
+        (0x3F, "3"),
+        (0x40, "3"),
+        (0x41, "M", "a"),
+        (0x42, "M", "b"),
+        (0x43, "M", "c"),
+        (0x44, "M", "d"),
+        (0x45, "M", "e"),
+        (0x46, "M", "f"),
+        (0x47, "M", "g"),
+        (0x48, "M", "h"),
+        (0x49, "M", "i"),
+        (0x4A, "M", "j"),
+        (0x4B, "M", "k"),
+        (0x4C, "M", "l"),
+        (0x4D, "M", "m"),
+        (0x4E, "M", "n"),
+        (0x4F, "M", "o"),
+        (0x50, "M", "p"),
+        (0x51, "M", "q"),
+        (0x52, "M", "r"),
+        (0x53, "M", "s"),
+        (0x54, "M", "t"),
+        (0x55, "M", "u"),
+        (0x56, "M", "v"),
+        (0x57, "M", "w"),
+        (0x58, "M", "x"),
+        (0x59, "M", "y"),
+        (0x5A, "M", "z"),
+        (0x5B, "3"),
+        (0x5C, "3"),
+        (0x5D, "3"),
+        (0x5E, "3"),
+        (0x5F, "3"),
+        (0x60, "3"),
+        (0x61, "V"),
+        (0x62, "V"),
+        (0x63, "V"),
     ]
 
+
 def _seg_1() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x64, 'V'),
-    (0x65, 'V'),
-    (0x66, 'V'),
-    (0x67, 'V'),
-    (0x68, 'V'),
-    (0x69, 'V'),
-    (0x6A, 'V'),
-    (0x6B, 'V'),
-    (0x6C, 'V'),
-    (0x6D, 'V'),
-    (0x6E, 'V'),
-    (0x6F, 'V'),
-    (0x70, 'V'),
-    (0x71, 'V'),
-    (0x72, 'V'),
-    (0x73, 'V'),
-    (0x74, 'V'),
-    (0x75, 'V'),
-    (0x76, 'V'),
-    (0x77, 'V'),
-    (0x78, 'V'),
-    (0x79, 'V'),
-    (0x7A, 'V'),
-    (0x7B, '3'),
-    (0x7C, '3'),
-    (0x7D, '3'),
-    (0x7E, '3'),
-    (0x7F, '3'),
-    (0x80, 'X'),
-    (0x81, 'X'),
-    (0x82, 'X'),
-    (0x83, 'X'),
-    (0x84, 'X'),
-    (0x85, 'X'),
-    (0x86, 'X'),
-    (0x87, 'X'),
-    (0x88, 'X'),
-    (0x89, 'X'),
-    (0x8A, 'X'),
-    (0x8B, 'X'),
-    (0x8C, 'X'),
-    (0x8D, 'X'),
-    (0x8E, 'X'),
-    (0x8F, 'X'),
-    (0x90, 'X'),
-    (0x91, 'X'),
-    (0x92, 'X'),
-    (0x93, 'X'),
-    (0x94, 'X'),
-    (0x95, 'X'),
-    (0x96, 'X'),
-    (0x97, 'X'),
-    (0x98, 'X'),
-    (0x99, 'X'),
-    (0x9A, 'X'),
-    (0x9B, 'X'),
-    (0x9C, 'X'),
-    (0x9D, 'X'),
-    (0x9E, 'X'),
-    (0x9F, 'X'),
-    (0xA0, '3', ' '),
-    (0xA1, 'V'),
-    (0xA2, 'V'),
-    (0xA3, 'V'),
-    (0xA4, 'V'),
-    (0xA5, 'V'),
-    (0xA6, 'V'),
-    (0xA7, 'V'),
-    (0xA8, '3', ' ̈'),
-    (0xA9, 'V'),
-    (0xAA, 'M', 'a'),
-    (0xAB, 'V'),
-    (0xAC, 'V'),
-    (0xAD, 'I'),
-    (0xAE, 'V'),
-    (0xAF, '3', ' ̄'),
-    (0xB0, 'V'),
-    (0xB1, 'V'),
-    (0xB2, 'M', '2'),
-    (0xB3, 'M', '3'),
-    (0xB4, '3', ' ́'),
-    (0xB5, 'M', 'μ'),
-    (0xB6, 'V'),
-    (0xB7, 'V'),
-    (0xB8, '3', ' ̧'),
-    (0xB9, 'M', '1'),
-    (0xBA, 'M', 'o'),
-    (0xBB, 'V'),
-    (0xBC, 'M', '1⁄4'),
-    (0xBD, 'M', '1⁄2'),
-    (0xBE, 'M', '3⁄4'),
-    (0xBF, 'V'),
-    (0xC0, 'M', 'à'),
-    (0xC1, 'M', 'á'),
-    (0xC2, 'M', 'â'),
-    (0xC3, 'M', 'ã'),
-    (0xC4, 'M', 'ä'),
-    (0xC5, 'M', 'å'),
-    (0xC6, 'M', 'æ'),
-    (0xC7, 'M', 'ç'),
+        (0x64, "V"),
+        (0x65, "V"),
+        (0x66, "V"),
+        (0x67, "V"),
+        (0x68, "V"),
+        (0x69, "V"),
+        (0x6A, "V"),
+        (0x6B, "V"),
+        (0x6C, "V"),
+        (0x6D, "V"),
+        (0x6E, "V"),
+        (0x6F, "V"),
+        (0x70, "V"),
+        (0x71, "V"),
+        (0x72, "V"),
+        (0x73, "V"),
+        (0x74, "V"),
+        (0x75, "V"),
+        (0x76, "V"),
+        (0x77, "V"),
+        (0x78, "V"),
+        (0x79, "V"),
+        (0x7A, "V"),
+        (0x7B, "3"),
+        (0x7C, "3"),
+        (0x7D, "3"),
+        (0x7E, "3"),
+        (0x7F, "3"),
+        (0x80, "X"),
+        (0x81, "X"),
+        (0x82, "X"),
+        (0x83, "X"),
+        (0x84, "X"),
+        (0x85, "X"),
+        (0x86, "X"),
+        (0x87, "X"),
+        (0x88, "X"),
+        (0x89, "X"),
+        (0x8A, "X"),
+        (0x8B, "X"),
+        (0x8C, "X"),
+        (0x8D, "X"),
+        (0x8E, "X"),
+        (0x8F, "X"),
+        (0x90, "X"),
+        (0x91, "X"),
+        (0x92, "X"),
+        (0x93, "X"),
+        (0x94, "X"),
+        (0x95, "X"),
+        (0x96, "X"),
+        (0x97, "X"),
+        (0x98, "X"),
+        (0x99, "X"),
+        (0x9A, "X"),
+        (0x9B, "X"),
+        (0x9C, "X"),
+        (0x9D, "X"),
+        (0x9E, "X"),
+        (0x9F, "X"),
+        (0xA0, "3", " "),
+        (0xA1, "V"),
+        (0xA2, "V"),
+        (0xA3, "V"),
+        (0xA4, "V"),
+        (0xA5, "V"),
+        (0xA6, "V"),
+        (0xA7, "V"),
+        (0xA8, "3", " ̈"),
+        (0xA9, "V"),
+        (0xAA, "M", "a"),
+        (0xAB, "V"),
+        (0xAC, "V"),
+        (0xAD, "I"),
+        (0xAE, "V"),
+        (0xAF, "3", " ̄"),
+        (0xB0, "V"),
+        (0xB1, "V"),
+        (0xB2, "M", "2"),
+        (0xB3, "M", "3"),
+        (0xB4, "3", " ́"),
+        (0xB5, "M", "μ"),
+        (0xB6, "V"),
+        (0xB7, "V"),
+        (0xB8, "3", " ̧"),
+        (0xB9, "M", "1"),
+        (0xBA, "M", "o"),
+        (0xBB, "V"),
+        (0xBC, "M", "1⁄4"),
+        (0xBD, "M", "1⁄2"),
+        (0xBE, "M", "3⁄4"),
+        (0xBF, "V"),
+        (0xC0, "M", "à"),
+        (0xC1, "M", "á"),
+        (0xC2, "M", "â"),
+        (0xC3, "M", "ã"),
+        (0xC4, "M", "ä"),
+        (0xC5, "M", "å"),
+        (0xC6, "M", "æ"),
+        (0xC7, "M", "ç"),
     ]
 
+
 def _seg_2() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0xC8, 'M', 'è'),
-    (0xC9, 'M', 'é'),
-    (0xCA, 'M', 'ê'),
-    (0xCB, 'M', 'ë'),
-    (0xCC, 'M', 'ì'),
-    (0xCD, 'M', 'í'),
-    (0xCE, 'M', 'î'),
-    (0xCF, 'M', 'ï'),
-    (0xD0, 'M', 'ð'),
-    (0xD1, 'M', 'ñ'),
-    (0xD2, 'M', 'ò'),
-    (0xD3, 'M', 'ó'),
-    (0xD4, 'M', 'ô'),
-    (0xD5, 'M', 'õ'),
-    (0xD6, 'M', 'ö'),
-    (0xD7, 'V'),
-    (0xD8, 'M', 'ø'),
-    (0xD9, 'M', 'ù'),
-    (0xDA, 'M', 'ú'),
-    (0xDB, 'M', 'û'),
-    (0xDC, 'M', 'ü'),
-    (0xDD, 'M', 'ý'),
-    (0xDE, 'M', 'þ'),
-    (0xDF, 'D', 'ss'),
-    (0xE0, 'V'),
-    (0xE1, 'V'),
-    (0xE2, 'V'),
-    (0xE3, 'V'),
-    (0xE4, 'V'),
-    (0xE5, 'V'),
-    (0xE6, 'V'),
-    (0xE7, 'V'),
-    (0xE8, 'V'),
-    (0xE9, 'V'),
-    (0xEA, 'V'),
-    (0xEB, 'V'),
-    (0xEC, 'V'),
-    (0xED, 'V'),
-    (0xEE, 'V'),
-    (0xEF, 'V'),
-    (0xF0, 'V'),
-    (0xF1, 'V'),
-    (0xF2, 'V'),
-    (0xF3, 'V'),
-    (0xF4, 'V'),
-    (0xF5, 'V'),
-    (0xF6, 'V'),
-    (0xF7, 'V'),
-    (0xF8, 'V'),
-    (0xF9, 'V'),
-    (0xFA, 'V'),
-    (0xFB, 'V'),
-    (0xFC, 'V'),
-    (0xFD, 'V'),
-    (0xFE, 'V'),
-    (0xFF, 'V'),
-    (0x100, 'M', 'ā'),
-    (0x101, 'V'),
-    (0x102, 'M', 'ă'),
-    (0x103, 'V'),
-    (0x104, 'M', 'ą'),
-    (0x105, 'V'),
-    (0x106, 'M', 'ć'),
-    (0x107, 'V'),
-    (0x108, 'M', 'ĉ'),
-    (0x109, 'V'),
-    (0x10A, 'M', 'ċ'),
-    (0x10B, 'V'),
-    (0x10C, 'M', 'č'),
-    (0x10D, 'V'),
-    (0x10E, 'M', 'ď'),
-    (0x10F, 'V'),
-    (0x110, 'M', 'đ'),
-    (0x111, 'V'),
-    (0x112, 'M', 'ē'),
-    (0x113, 'V'),
-    (0x114, 'M', 'ĕ'),
-    (0x115, 'V'),
-    (0x116, 'M', 'ė'),
-    (0x117, 'V'),
-    (0x118, 'M', 'ę'),
-    (0x119, 'V'),
-    (0x11A, 'M', 'ě'),
-    (0x11B, 'V'),
-    (0x11C, 'M', 'ĝ'),
-    (0x11D, 'V'),
-    (0x11E, 'M', 'ğ'),
-    (0x11F, 'V'),
-    (0x120, 'M', 'ġ'),
-    (0x121, 'V'),
-    (0x122, 'M', 'ģ'),
-    (0x123, 'V'),
-    (0x124, 'M', 'ĥ'),
-    (0x125, 'V'),
-    (0x126, 'M', 'ħ'),
-    (0x127, 'V'),
-    (0x128, 'M', 'ĩ'),
-    (0x129, 'V'),
-    (0x12A, 'M', 'ī'),
-    (0x12B, 'V'),
+        (0xC8, "M", "è"),
+        (0xC9, "M", "é"),
+        (0xCA, "M", "ê"),
+        (0xCB, "M", "ë"),
+        (0xCC, "M", "ì"),
+        (0xCD, "M", "í"),
+        (0xCE, "M", "î"),
+        (0xCF, "M", "ï"),
+        (0xD0, "M", "ð"),
+        (0xD1, "M", "ñ"),
+        (0xD2, "M", "ò"),
+        (0xD3, "M", "ó"),
+        (0xD4, "M", "ô"),
+        (0xD5, "M", "õ"),
+        (0xD6, "M", "ö"),
+        (0xD7, "V"),
+        (0xD8, "M", "ø"),
+        (0xD9, "M", "ù"),
+        (0xDA, "M", "ú"),
+        (0xDB, "M", "û"),
+        (0xDC, "M", "ü"),
+        (0xDD, "M", "ý"),
+        (0xDE, "M", "þ"),
+        (0xDF, "D", "ss"),
+        (0xE0, "V"),
+        (0xE1, "V"),
+        (0xE2, "V"),
+        (0xE3, "V"),
+        (0xE4, "V"),
+        (0xE5, "V"),
+        (0xE6, "V"),
+        (0xE7, "V"),
+        (0xE8, "V"),
+        (0xE9, "V"),
+        (0xEA, "V"),
+        (0xEB, "V"),
+        (0xEC, "V"),
+        (0xED, "V"),
+        (0xEE, "V"),
+        (0xEF, "V"),
+        (0xF0, "V"),
+        (0xF1, "V"),
+        (0xF2, "V"),
+        (0xF3, "V"),
+        (0xF4, "V"),
+        (0xF5, "V"),
+        (0xF6, "V"),
+        (0xF7, "V"),
+        (0xF8, "V"),
+        (0xF9, "V"),
+        (0xFA, "V"),
+        (0xFB, "V"),
+        (0xFC, "V"),
+        (0xFD, "V"),
+        (0xFE, "V"),
+        (0xFF, "V"),
+        (0x100, "M", "ā"),
+        (0x101, "V"),
+        (0x102, "M", "ă"),
+        (0x103, "V"),
+        (0x104, "M", "ą"),
+        (0x105, "V"),
+        (0x106, "M", "ć"),
+        (0x107, "V"),
+        (0x108, "M", "ĉ"),
+        (0x109, "V"),
+        (0x10A, "M", "ċ"),
+        (0x10B, "V"),
+        (0x10C, "M", "č"),
+        (0x10D, "V"),
+        (0x10E, "M", "ď"),
+        (0x10F, "V"),
+        (0x110, "M", "đ"),
+        (0x111, "V"),
+        (0x112, "M", "ē"),
+        (0x113, "V"),
+        (0x114, "M", "ĕ"),
+        (0x115, "V"),
+        (0x116, "M", "ė"),
+        (0x117, "V"),
+        (0x118, "M", "ę"),
+        (0x119, "V"),
+        (0x11A, "M", "ě"),
+        (0x11B, "V"),
+        (0x11C, "M", "ĝ"),
+        (0x11D, "V"),
+        (0x11E, "M", "ğ"),
+        (0x11F, "V"),
+        (0x120, "M", "ġ"),
+        (0x121, "V"),
+        (0x122, "M", "ģ"),
+        (0x123, "V"),
+        (0x124, "M", "ĥ"),
+        (0x125, "V"),
+        (0x126, "M", "ħ"),
+        (0x127, "V"),
+        (0x128, "M", "ĩ"),
+        (0x129, "V"),
+        (0x12A, "M", "ī"),
+        (0x12B, "V"),
     ]
 
+
 def _seg_3() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x12C, 'M', 'ĭ'),
-    (0x12D, 'V'),
-    (0x12E, 'M', 'į'),
-    (0x12F, 'V'),
-    (0x130, 'M', 'i̇'),
-    (0x131, 'V'),
-    (0x132, 'M', 'ij'),
-    (0x134, 'M', 'ĵ'),
-    (0x135, 'V'),
-    (0x136, 'M', 'ķ'),
-    (0x137, 'V'),
-    (0x139, 'M', 'ĺ'),
-    (0x13A, 'V'),
-    (0x13B, 'M', 'ļ'),
-    (0x13C, 'V'),
-    (0x13D, 'M', 'ľ'),
-    (0x13E, 'V'),
-    (0x13F, 'M', 'l·'),
-    (0x141, 'M', 'ł'),
-    (0x142, 'V'),
-    (0x143, 'M', 'ń'),
-    (0x144, 'V'),
-    (0x145, 'M', 'ņ'),
-    (0x146, 'V'),
-    (0x147, 'M', 'ň'),
-    (0x148, 'V'),
-    (0x149, 'M', 'ʼn'),
-    (0x14A, 'M', 'ŋ'),
-    (0x14B, 'V'),
-    (0x14C, 'M', 'ō'),
-    (0x14D, 'V'),
-    (0x14E, 'M', 'ŏ'),
-    (0x14F, 'V'),
-    (0x150, 'M', 'ő'),
-    (0x151, 'V'),
-    (0x152, 'M', 'œ'),
-    (0x153, 'V'),
-    (0x154, 'M', 'ŕ'),
-    (0x155, 'V'),
-    (0x156, 'M', 'ŗ'),
-    (0x157, 'V'),
-    (0x158, 'M', 'ř'),
-    (0x159, 'V'),
-    (0x15A, 'M', 'ś'),
-    (0x15B, 'V'),
-    (0x15C, 'M', 'ŝ'),
-    (0x15D, 'V'),
-    (0x15E, 'M', 'ş'),
-    (0x15F, 'V'),
-    (0x160, 'M', 'š'),
-    (0x161, 'V'),
-    (0x162, 'M', 'ţ'),
-    (0x163, 'V'),
-    (0x164, 'M', 'ť'),
-    (0x165, 'V'),
-    (0x166, 'M', 'ŧ'),
-    (0x167, 'V'),
-    (0x168, 'M', 'ũ'),
-    (0x169, 'V'),
-    (0x16A, 'M', 'ū'),
-    (0x16B, 'V'),
-    (0x16C, 'M', 'ŭ'),
-    (0x16D, 'V'),
-    (0x16E, 'M', 'ů'),
-    (0x16F, 'V'),
-    (0x170, 'M', 'ű'),
-    (0x171, 'V'),
-    (0x172, 'M', 'ų'),
-    (0x173, 'V'),
-    (0x174, 'M', 'ŵ'),
-    (0x175, 'V'),
-    (0x176, 'M', 'ŷ'),
-    (0x177, 'V'),
-    (0x178, 'M', 'ÿ'),
-    (0x179, 'M', 'ź'),
-    (0x17A, 'V'),
-    (0x17B, 'M', 'ż'),
-    (0x17C, 'V'),
-    (0x17D, 'M', 'ž'),
-    (0x17E, 'V'),
-    (0x17F, 'M', 's'),
-    (0x180, 'V'),
-    (0x181, 'M', 'ɓ'),
-    (0x182, 'M', 'ƃ'),
-    (0x183, 'V'),
-    (0x184, 'M', 'ƅ'),
-    (0x185, 'V'),
-    (0x186, 'M', 'ɔ'),
-    (0x187, 'M', 'ƈ'),
-    (0x188, 'V'),
-    (0x189, 'M', 'ɖ'),
-    (0x18A, 'M', 'ɗ'),
-    (0x18B, 'M', 'ƌ'),
-    (0x18C, 'V'),
-    (0x18E, 'M', 'ǝ'),
-    (0x18F, 'M', 'ə'),
-    (0x190, 'M', 'ɛ'),
-    (0x191, 'M', 'ƒ'),
-    (0x192, 'V'),
-    (0x193, 'M', 'ɠ'),
+        (0x12C, "M", "ĭ"),
+        (0x12D, "V"),
+        (0x12E, "M", "į"),
+        (0x12F, "V"),
+        (0x130, "M", "i̇"),
+        (0x131, "V"),
+        (0x132, "M", "ij"),
+        (0x134, "M", "ĵ"),
+        (0x135, "V"),
+        (0x136, "M", "ķ"),
+        (0x137, "V"),
+        (0x139, "M", "ĺ"),
+        (0x13A, "V"),
+        (0x13B, "M", "ļ"),
+        (0x13C, "V"),
+        (0x13D, "M", "ľ"),
+        (0x13E, "V"),
+        (0x13F, "M", "l·"),
+        (0x141, "M", "ł"),
+        (0x142, "V"),
+        (0x143, "M", "ń"),
+        (0x144, "V"),
+        (0x145, "M", "ņ"),
+        (0x146, "V"),
+        (0x147, "M", "ň"),
+        (0x148, "V"),
+        (0x149, "M", "ʼn"),
+        (0x14A, "M", "ŋ"),
+        (0x14B, "V"),
+        (0x14C, "M", "ō"),
+        (0x14D, "V"),
+        (0x14E, "M", "ŏ"),
+        (0x14F, "V"),
+        (0x150, "M", "ő"),
+        (0x151, "V"),
+        (0x152, "M", "œ"),
+        (0x153, "V"),
+        (0x154, "M", "ŕ"),
+        (0x155, "V"),
+        (0x156, "M", "ŗ"),
+        (0x157, "V"),
+        (0x158, "M", "ř"),
+        (0x159, "V"),
+        (0x15A, "M", "ś"),
+        (0x15B, "V"),
+        (0x15C, "M", "ŝ"),
+        (0x15D, "V"),
+        (0x15E, "M", "ş"),
+        (0x15F, "V"),
+        (0x160, "M", "š"),
+        (0x161, "V"),
+        (0x162, "M", "ţ"),
+        (0x163, "V"),
+        (0x164, "M", "ť"),
+        (0x165, "V"),
+        (0x166, "M", "ŧ"),
+        (0x167, "V"),
+        (0x168, "M", "ũ"),
+        (0x169, "V"),
+        (0x16A, "M", "ū"),
+        (0x16B, "V"),
+        (0x16C, "M", "ŭ"),
+        (0x16D, "V"),
+        (0x16E, "M", "ů"),
+        (0x16F, "V"),
+        (0x170, "M", "ű"),
+        (0x171, "V"),
+        (0x172, "M", "ų"),
+        (0x173, "V"),
+        (0x174, "M", "ŵ"),
+        (0x175, "V"),
+        (0x176, "M", "ŷ"),
+        (0x177, "V"),
+        (0x178, "M", "ÿ"),
+        (0x179, "M", "ź"),
+        (0x17A, "V"),
+        (0x17B, "M", "ż"),
+        (0x17C, "V"),
+        (0x17D, "M", "ž"),
+        (0x17E, "V"),
+        (0x17F, "M", "s"),
+        (0x180, "V"),
+        (0x181, "M", "ɓ"),
+        (0x182, "M", "ƃ"),
+        (0x183, "V"),
+        (0x184, "M", "ƅ"),
+        (0x185, "V"),
+        (0x186, "M", "ɔ"),
+        (0x187, "M", "ƈ"),
+        (0x188, "V"),
+        (0x189, "M", "ɖ"),
+        (0x18A, "M", "ɗ"),
+        (0x18B, "M", "ƌ"),
+        (0x18C, "V"),
+        (0x18E, "M", "ǝ"),
+        (0x18F, "M", "ə"),
+        (0x190, "M", "ɛ"),
+        (0x191, "M", "ƒ"),
+        (0x192, "V"),
+        (0x193, "M", "ɠ"),
     ]
 
+
 def _seg_4() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x194, 'M', 'ɣ'),
-    (0x195, 'V'),
-    (0x196, 'M', 'ɩ'),
-    (0x197, 'M', 'ɨ'),
-    (0x198, 'M', 'ƙ'),
-    (0x199, 'V'),
-    (0x19C, 'M', 'ɯ'),
-    (0x19D, 'M', 'ɲ'),
-    (0x19E, 'V'),
-    (0x19F, 'M', 'ɵ'),
-    (0x1A0, 'M', 'ơ'),
-    (0x1A1, 'V'),
-    (0x1A2, 'M', 'ƣ'),
-    (0x1A3, 'V'),
-    (0x1A4, 'M', 'ƥ'),
-    (0x1A5, 'V'),
-    (0x1A6, 'M', 'ʀ'),
-    (0x1A7, 'M', 'ƨ'),
-    (0x1A8, 'V'),
-    (0x1A9, 'M', 'ʃ'),
-    (0x1AA, 'V'),
-    (0x1AC, 'M', 'ƭ'),
-    (0x1AD, 'V'),
-    (0x1AE, 'M', 'ʈ'),
-    (0x1AF, 'M', 'ư'),
-    (0x1B0, 'V'),
-    (0x1B1, 'M', 'ʊ'),
-    (0x1B2, 'M', 'ʋ'),
-    (0x1B3, 'M', 'ƴ'),
-    (0x1B4, 'V'),
-    (0x1B5, 'M', 'ƶ'),
-    (0x1B6, 'V'),
-    (0x1B7, 'M', 'ʒ'),
-    (0x1B8, 'M', 'ƹ'),
-    (0x1B9, 'V'),
-    (0x1BC, 'M', 'ƽ'),
-    (0x1BD, 'V'),
-    (0x1C4, 'M', 'dž'),
-    (0x1C7, 'M', 'lj'),
-    (0x1CA, 'M', 'nj'),
-    (0x1CD, 'M', 'ǎ'),
-    (0x1CE, 'V'),
-    (0x1CF, 'M', 'ǐ'),
-    (0x1D0, 'V'),
-    (0x1D1, 'M', 'ǒ'),
-    (0x1D2, 'V'),
-    (0x1D3, 'M', 'ǔ'),
-    (0x1D4, 'V'),
-    (0x1D5, 'M', 'ǖ'),
-    (0x1D6, 'V'),
-    (0x1D7, 'M', 'ǘ'),
-    (0x1D8, 'V'),
-    (0x1D9, 'M', 'ǚ'),
-    (0x1DA, 'V'),
-    (0x1DB, 'M', 'ǜ'),
-    (0x1DC, 'V'),
-    (0x1DE, 'M', 'ǟ'),
-    (0x1DF, 'V'),
-    (0x1E0, 'M', 'ǡ'),
-    (0x1E1, 'V'),
-    (0x1E2, 'M', 'ǣ'),
-    (0x1E3, 'V'),
-    (0x1E4, 'M', 'ǥ'),
-    (0x1E5, 'V'),
-    (0x1E6, 'M', 'ǧ'),
-    (0x1E7, 'V'),
-    (0x1E8, 'M', 'ǩ'),
-    (0x1E9, 'V'),
-    (0x1EA, 'M', 'ǫ'),
-    (0x1EB, 'V'),
-    (0x1EC, 'M', 'ǭ'),
-    (0x1ED, 'V'),
-    (0x1EE, 'M', 'ǯ'),
-    (0x1EF, 'V'),
-    (0x1F1, 'M', 'dz'),
-    (0x1F4, 'M', 'ǵ'),
-    (0x1F5, 'V'),
-    (0x1F6, 'M', 'ƕ'),
-    (0x1F7, 'M', 'ƿ'),
-    (0x1F8, 'M', 'ǹ'),
-    (0x1F9, 'V'),
-    (0x1FA, 'M', 'ǻ'),
-    (0x1FB, 'V'),
-    (0x1FC, 'M', 'ǽ'),
-    (0x1FD, 'V'),
-    (0x1FE, 'M', 'ǿ'),
-    (0x1FF, 'V'),
-    (0x200, 'M', 'ȁ'),
-    (0x201, 'V'),
-    (0x202, 'M', 'ȃ'),
-    (0x203, 'V'),
-    (0x204, 'M', 'ȅ'),
-    (0x205, 'V'),
-    (0x206, 'M', 'ȇ'),
-    (0x207, 'V'),
-    (0x208, 'M', 'ȉ'),
-    (0x209, 'V'),
-    (0x20A, 'M', 'ȋ'),
-    (0x20B, 'V'),
-    (0x20C, 'M', 'ȍ'),
+        (0x194, "M", "ɣ"),
+        (0x195, "V"),
+        (0x196, "M", "ɩ"),
+        (0x197, "M", "ɨ"),
+        (0x198, "M", "ƙ"),
+        (0x199, "V"),
+        (0x19C, "M", "ɯ"),
+        (0x19D, "M", "ɲ"),
+        (0x19E, "V"),
+        (0x19F, "M", "ɵ"),
+        (0x1A0, "M", "ơ"),
+        (0x1A1, "V"),
+        (0x1A2, "M", "ƣ"),
+        (0x1A3, "V"),
+        (0x1A4, "M", "ƥ"),
+        (0x1A5, "V"),
+        (0x1A6, "M", "ʀ"),
+        (0x1A7, "M", "ƨ"),
+        (0x1A8, "V"),
+        (0x1A9, "M", "ʃ"),
+        (0x1AA, "V"),
+        (0x1AC, "M", "ƭ"),
+        (0x1AD, "V"),
+        (0x1AE, "M", "ʈ"),
+        (0x1AF, "M", "ư"),
+        (0x1B0, "V"),
+        (0x1B1, "M", "ʊ"),
+        (0x1B2, "M", "ʋ"),
+        (0x1B3, "M", "ƴ"),
+        (0x1B4, "V"),
+        (0x1B5, "M", "ƶ"),
+        (0x1B6, "V"),
+        (0x1B7, "M", "ʒ"),
+        (0x1B8, "M", "ƹ"),
+        (0x1B9, "V"),
+        (0x1BC, "M", "ƽ"),
+        (0x1BD, "V"),
+        (0x1C4, "M", "dž"),
+        (0x1C7, "M", "lj"),
+        (0x1CA, "M", "nj"),
+        (0x1CD, "M", "ǎ"),
+        (0x1CE, "V"),
+        (0x1CF, "M", "ǐ"),
+        (0x1D0, "V"),
+        (0x1D1, "M", "ǒ"),
+        (0x1D2, "V"),
+        (0x1D3, "M", "ǔ"),
+        (0x1D4, "V"),
+        (0x1D5, "M", "ǖ"),
+        (0x1D6, "V"),
+        (0x1D7, "M", "ǘ"),
+        (0x1D8, "V"),
+        (0x1D9, "M", "ǚ"),
+        (0x1DA, "V"),
+        (0x1DB, "M", "ǜ"),
+        (0x1DC, "V"),
+        (0x1DE, "M", "ǟ"),
+        (0x1DF, "V"),
+        (0x1E0, "M", "ǡ"),
+        (0x1E1, "V"),
+        (0x1E2, "M", "ǣ"),
+        (0x1E3, "V"),
+        (0x1E4, "M", "ǥ"),
+        (0x1E5, "V"),
+        (0x1E6, "M", "ǧ"),
+        (0x1E7, "V"),
+        (0x1E8, "M", "ǩ"),
+        (0x1E9, "V"),
+        (0x1EA, "M", "ǫ"),
+        (0x1EB, "V"),
+        (0x1EC, "M", "ǭ"),
+        (0x1ED, "V"),
+        (0x1EE, "M", "ǯ"),
+        (0x1EF, "V"),
+        (0x1F1, "M", "dz"),
+        (0x1F4, "M", "ǵ"),
+        (0x1F5, "V"),
+        (0x1F6, "M", "ƕ"),
+        (0x1F7, "M", "ƿ"),
+        (0x1F8, "M", "ǹ"),
+        (0x1F9, "V"),
+        (0x1FA, "M", "ǻ"),
+        (0x1FB, "V"),
+        (0x1FC, "M", "ǽ"),
+        (0x1FD, "V"),
+        (0x1FE, "M", "ǿ"),
+        (0x1FF, "V"),
+        (0x200, "M", "ȁ"),
+        (0x201, "V"),
+        (0x202, "M", "ȃ"),
+        (0x203, "V"),
+        (0x204, "M", "ȅ"),
+        (0x205, "V"),
+        (0x206, "M", "ȇ"),
+        (0x207, "V"),
+        (0x208, "M", "ȉ"),
+        (0x209, "V"),
+        (0x20A, "M", "ȋ"),
+        (0x20B, "V"),
+        (0x20C, "M", "ȍ"),
     ]
 
+
 def _seg_5() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x20D, 'V'),
-    (0x20E, 'M', 'ȏ'),
-    (0x20F, 'V'),
-    (0x210, 'M', 'ȑ'),
-    (0x211, 'V'),
-    (0x212, 'M', 'ȓ'),
-    (0x213, 'V'),
-    (0x214, 'M', 'ȕ'),
-    (0x215, 'V'),
-    (0x216, 'M', 'ȗ'),
-    (0x217, 'V'),
-    (0x218, 'M', 'ș'),
-    (0x219, 'V'),
-    (0x21A, 'M', 'ț'),
-    (0x21B, 'V'),
-    (0x21C, 'M', 'ȝ'),
-    (0x21D, 'V'),
-    (0x21E, 'M', 'ȟ'),
-    (0x21F, 'V'),
-    (0x220, 'M', 'ƞ'),
-    (0x221, 'V'),
-    (0x222, 'M', 'ȣ'),
-    (0x223, 'V'),
-    (0x224, 'M', 'ȥ'),
-    (0x225, 'V'),
-    (0x226, 'M', 'ȧ'),
-    (0x227, 'V'),
-    (0x228, 'M', 'ȩ'),
-    (0x229, 'V'),
-    (0x22A, 'M', 'ȫ'),
-    (0x22B, 'V'),
-    (0x22C, 'M', 'ȭ'),
-    (0x22D, 'V'),
-    (0x22E, 'M', 'ȯ'),
-    (0x22F, 'V'),
-    (0x230, 'M', 'ȱ'),
-    (0x231, 'V'),
-    (0x232, 'M', 'ȳ'),
-    (0x233, 'V'),
-    (0x23A, 'M', 'ⱥ'),
-    (0x23B, 'M', 'ȼ'),
-    (0x23C, 'V'),
-    (0x23D, 'M', 'ƚ'),
-    (0x23E, 'M', 'ⱦ'),
-    (0x23F, 'V'),
-    (0x241, 'M', 'ɂ'),
-    (0x242, 'V'),
-    (0x243, 'M', 'ƀ'),
-    (0x244, 'M', 'ʉ'),
-    (0x245, 'M', 'ʌ'),
-    (0x246, 'M', 'ɇ'),
-    (0x247, 'V'),
-    (0x248, 'M', 'ɉ'),
-    (0x249, 'V'),
-    (0x24A, 'M', 'ɋ'),
-    (0x24B, 'V'),
-    (0x24C, 'M', 'ɍ'),
-    (0x24D, 'V'),
-    (0x24E, 'M', 'ɏ'),
-    (0x24F, 'V'),
-    (0x2B0, 'M', 'h'),
-    (0x2B1, 'M', 'ɦ'),
-    (0x2B2, 'M', 'j'),
-    (0x2B3, 'M', 'r'),
-    (0x2B4, 'M', 'ɹ'),
-    (0x2B5, 'M', 'ɻ'),
-    (0x2B6, 'M', 'ʁ'),
-    (0x2B7, 'M', 'w'),
-    (0x2B8, 'M', 'y'),
-    (0x2B9, 'V'),
-    (0x2D8, '3', ' ̆'),
-    (0x2D9, '3', ' ̇'),
-    (0x2DA, '3', ' ̊'),
-    (0x2DB, '3', ' ̨'),
-    (0x2DC, '3', ' ̃'),
-    (0x2DD, '3', ' ̋'),
-    (0x2DE, 'V'),
-    (0x2E0, 'M', 'ɣ'),
-    (0x2E1, 'M', 'l'),
-    (0x2E2, 'M', 's'),
-    (0x2E3, 'M', 'x'),
-    (0x2E4, 'M', 'ʕ'),
-    (0x2E5, 'V'),
-    (0x340, 'M', '̀'),
-    (0x341, 'M', '́'),
-    (0x342, 'V'),
-    (0x343, 'M', '̓'),
-    (0x344, 'M', '̈́'),
-    (0x345, 'M', 'ι'),
-    (0x346, 'V'),
-    (0x34F, 'I'),
-    (0x350, 'V'),
-    (0x370, 'M', 'ͱ'),
-    (0x371, 'V'),
-    (0x372, 'M', 'ͳ'),
-    (0x373, 'V'),
-    (0x374, 'M', 'ʹ'),
-    (0x375, 'V'),
-    (0x376, 'M', 'ͷ'),
-    (0x377, 'V'),
+        (0x20D, "V"),
+        (0x20E, "M", "ȏ"),
+        (0x20F, "V"),
+        (0x210, "M", "ȑ"),
+        (0x211, "V"),
+        (0x212, "M", "ȓ"),
+        (0x213, "V"),
+        (0x214, "M", "ȕ"),
+        (0x215, "V"),
+        (0x216, "M", "ȗ"),
+        (0x217, "V"),
+        (0x218, "M", "ș"),
+        (0x219, "V"),
+        (0x21A, "M", "ț"),
+        (0x21B, "V"),
+        (0x21C, "M", "ȝ"),
+        (0x21D, "V"),
+        (0x21E, "M", "ȟ"),
+        (0x21F, "V"),
+        (0x220, "M", "ƞ"),
+        (0x221, "V"),
+        (0x222, "M", "ȣ"),
+        (0x223, "V"),
+        (0x224, "M", "ȥ"),
+        (0x225, "V"),
+        (0x226, "M", "ȧ"),
+        (0x227, "V"),
+        (0x228, "M", "ȩ"),
+        (0x229, "V"),
+        (0x22A, "M", "ȫ"),
+        (0x22B, "V"),
+        (0x22C, "M", "ȭ"),
+        (0x22D, "V"),
+        (0x22E, "M", "ȯ"),
+        (0x22F, "V"),
+        (0x230, "M", "ȱ"),
+        (0x231, "V"),
+        (0x232, "M", "ȳ"),
+        (0x233, "V"),
+        (0x23A, "M", "ⱥ"),
+        (0x23B, "M", "ȼ"),
+        (0x23C, "V"),
+        (0x23D, "M", "ƚ"),
+        (0x23E, "M", "ⱦ"),
+        (0x23F, "V"),
+        (0x241, "M", "ɂ"),
+        (0x242, "V"),
+        (0x243, "M", "ƀ"),
+        (0x244, "M", "ʉ"),
+        (0x245, "M", "ʌ"),
+        (0x246, "M", "ɇ"),
+        (0x247, "V"),
+        (0x248, "M", "ɉ"),
+        (0x249, "V"),
+        (0x24A, "M", "ɋ"),
+        (0x24B, "V"),
+        (0x24C, "M", "ɍ"),
+        (0x24D, "V"),
+        (0x24E, "M", "ɏ"),
+        (0x24F, "V"),
+        (0x2B0, "M", "h"),
+        (0x2B1, "M", "ɦ"),
+        (0x2B2, "M", "j"),
+        (0x2B3, "M", "r"),
+        (0x2B4, "M", "ɹ"),
+        (0x2B5, "M", "ɻ"),
+        (0x2B6, "M", "ʁ"),
+        (0x2B7, "M", "w"),
+        (0x2B8, "M", "y"),
+        (0x2B9, "V"),
+        (0x2D8, "3", " ̆"),
+        (0x2D9, "3", " ̇"),
+        (0x2DA, "3", " ̊"),
+        (0x2DB, "3", " ̨"),
+        (0x2DC, "3", " ̃"),
+        (0x2DD, "3", " ̋"),
+        (0x2DE, "V"),
+        (0x2E0, "M", "ɣ"),
+        (0x2E1, "M", "l"),
+        (0x2E2, "M", "s"),
+        (0x2E3, "M", "x"),
+        (0x2E4, "M", "ʕ"),
+        (0x2E5, "V"),
+        (0x340, "M", "̀"),
+        (0x341, "M", "́"),
+        (0x342, "V"),
+        (0x343, "M", "̓"),
+        (0x344, "M", "̈́"),
+        (0x345, "M", "ι"),
+        (0x346, "V"),
+        (0x34F, "I"),
+        (0x350, "V"),
+        (0x370, "M", "ͱ"),
+        (0x371, "V"),
+        (0x372, "M", "ͳ"),
+        (0x373, "V"),
+        (0x374, "M", "ʹ"),
+        (0x375, "V"),
+        (0x376, "M", "ͷ"),
+        (0x377, "V"),
     ]
 
+
 def _seg_6() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x378, 'X'),
-    (0x37A, '3', ' ι'),
-    (0x37B, 'V'),
-    (0x37E, '3', ';'),
-    (0x37F, 'M', 'ϳ'),
-    (0x380, 'X'),
-    (0x384, '3', ' ́'),
-    (0x385, '3', ' ̈́'),
-    (0x386, 'M', 'ά'),
-    (0x387, 'M', '·'),
-    (0x388, 'M', 'έ'),
-    (0x389, 'M', 'ή'),
-    (0x38A, 'M', 'ί'),
-    (0x38B, 'X'),
-    (0x38C, 'M', 'ό'),
-    (0x38D, 'X'),
-    (0x38E, 'M', 'ύ'),
-    (0x38F, 'M', 'ώ'),
-    (0x390, 'V'),
-    (0x391, 'M', 'α'),
-    (0x392, 'M', 'β'),
-    (0x393, 'M', 'γ'),
-    (0x394, 'M', 'δ'),
-    (0x395, 'M', 'ε'),
-    (0x396, 'M', 'ζ'),
-    (0x397, 'M', 'η'),
-    (0x398, 'M', 'θ'),
-    (0x399, 'M', 'ι'),
-    (0x39A, 'M', 'κ'),
-    (0x39B, 'M', 'λ'),
-    (0x39C, 'M', 'μ'),
-    (0x39D, 'M', 'ν'),
-    (0x39E, 'M', 'ξ'),
-    (0x39F, 'M', 'ο'),
-    (0x3A0, 'M', 'π'),
-    (0x3A1, 'M', 'ρ'),
-    (0x3A2, 'X'),
-    (0x3A3, 'M', 'σ'),
-    (0x3A4, 'M', 'τ'),
-    (0x3A5, 'M', 'υ'),
-    (0x3A6, 'M', 'φ'),
-    (0x3A7, 'M', 'χ'),
-    (0x3A8, 'M', 'ψ'),
-    (0x3A9, 'M', 'ω'),
-    (0x3AA, 'M', 'ϊ'),
-    (0x3AB, 'M', 'ϋ'),
-    (0x3AC, 'V'),
-    (0x3C2, 'D', 'σ'),
-    (0x3C3, 'V'),
-    (0x3CF, 'M', 'ϗ'),
-    (0x3D0, 'M', 'β'),
-    (0x3D1, 'M', 'θ'),
-    (0x3D2, 'M', 'υ'),
-    (0x3D3, 'M', 'ύ'),
-    (0x3D4, 'M', 'ϋ'),
-    (0x3D5, 'M', 'φ'),
-    (0x3D6, 'M', 'π'),
-    (0x3D7, 'V'),
-    (0x3D8, 'M', 'ϙ'),
-    (0x3D9, 'V'),
-    (0x3DA, 'M', 'ϛ'),
-    (0x3DB, 'V'),
-    (0x3DC, 'M', 'ϝ'),
-    (0x3DD, 'V'),
-    (0x3DE, 'M', 'ϟ'),
-    (0x3DF, 'V'),
-    (0x3E0, 'M', 'ϡ'),
-    (0x3E1, 'V'),
-    (0x3E2, 'M', 'ϣ'),
-    (0x3E3, 'V'),
-    (0x3E4, 'M', 'ϥ'),
-    (0x3E5, 'V'),
-    (0x3E6, 'M', 'ϧ'),
-    (0x3E7, 'V'),
-    (0x3E8, 'M', 'ϩ'),
-    (0x3E9, 'V'),
-    (0x3EA, 'M', 'ϫ'),
-    (0x3EB, 'V'),
-    (0x3EC, 'M', 'ϭ'),
-    (0x3ED, 'V'),
-    (0x3EE, 'M', 'ϯ'),
-    (0x3EF, 'V'),
-    (0x3F0, 'M', 'κ'),
-    (0x3F1, 'M', 'ρ'),
-    (0x3F2, 'M', 'σ'),
-    (0x3F3, 'V'),
-    (0x3F4, 'M', 'θ'),
-    (0x3F5, 'M', 'ε'),
-    (0x3F6, 'V'),
-    (0x3F7, 'M', 'ϸ'),
-    (0x3F8, 'V'),
-    (0x3F9, 'M', 'σ'),
-    (0x3FA, 'M', 'ϻ'),
-    (0x3FB, 'V'),
-    (0x3FD, 'M', 'ͻ'),
-    (0x3FE, 'M', 'ͼ'),
-    (0x3FF, 'M', 'ͽ'),
-    (0x400, 'M', 'ѐ'),
-    (0x401, 'M', 'ё'),
-    (0x402, 'M', 'ђ'),
+        (0x378, "X"),
+        (0x37A, "3", " ι"),
+        (0x37B, "V"),
+        (0x37E, "3", ";"),
+        (0x37F, "M", "ϳ"),
+        (0x380, "X"),
+        (0x384, "3", " ́"),
+        (0x385, "3", " ̈́"),
+        (0x386, "M", "ά"),
+        (0x387, "M", "·"),
+        (0x388, "M", "έ"),
+        (0x389, "M", "ή"),
+        (0x38A, "M", "ί"),
+        (0x38B, "X"),
+        (0x38C, "M", "ό"),
+        (0x38D, "X"),
+        (0x38E, "M", "ύ"),
+        (0x38F, "M", "ώ"),
+        (0x390, "V"),
+        (0x391, "M", "α"),
+        (0x392, "M", "β"),
+        (0x393, "M", "γ"),
+        (0x394, "M", "δ"),
+        (0x395, "M", "ε"),
+        (0x396, "M", "ζ"),
+        (0x397, "M", "η"),
+        (0x398, "M", "θ"),
+        (0x399, "M", "ι"),
+        (0x39A, "M", "κ"),
+        (0x39B, "M", "λ"),
+        (0x39C, "M", "μ"),
+        (0x39D, "M", "ν"),
+        (0x39E, "M", "ξ"),
+        (0x39F, "M", "ο"),
+        (0x3A0, "M", "π"),
+        (0x3A1, "M", "ρ"),
+        (0x3A2, "X"),
+        (0x3A3, "M", "σ"),
+        (0x3A4, "M", "τ"),
+        (0x3A5, "M", "υ"),
+        (0x3A6, "M", "φ"),
+        (0x3A7, "M", "χ"),
+        (0x3A8, "M", "ψ"),
+        (0x3A9, "M", "ω"),
+        (0x3AA, "M", "ϊ"),
+        (0x3AB, "M", "ϋ"),
+        (0x3AC, "V"),
+        (0x3C2, "D", "σ"),
+        (0x3C3, "V"),
+        (0x3CF, "M", "ϗ"),
+        (0x3D0, "M", "β"),
+        (0x3D1, "M", "θ"),
+        (0x3D2, "M", "υ"),
+        (0x3D3, "M", "ύ"),
+        (0x3D4, "M", "ϋ"),
+        (0x3D5, "M", "φ"),
+        (0x3D6, "M", "π"),
+        (0x3D7, "V"),
+        (0x3D8, "M", "ϙ"),
+        (0x3D9, "V"),
+        (0x3DA, "M", "ϛ"),
+        (0x3DB, "V"),
+        (0x3DC, "M", "ϝ"),
+        (0x3DD, "V"),
+        (0x3DE, "M", "ϟ"),
+        (0x3DF, "V"),
+        (0x3E0, "M", "ϡ"),
+        (0x3E1, "V"),
+        (0x3E2, "M", "ϣ"),
+        (0x3E3, "V"),
+        (0x3E4, "M", "ϥ"),
+        (0x3E5, "V"),
+        (0x3E6, "M", "ϧ"),
+        (0x3E7, "V"),
+        (0x3E8, "M", "ϩ"),
+        (0x3E9, "V"),
+        (0x3EA, "M", "ϫ"),
+        (0x3EB, "V"),
+        (0x3EC, "M", "ϭ"),
+        (0x3ED, "V"),
+        (0x3EE, "M", "ϯ"),
+        (0x3EF, "V"),
+        (0x3F0, "M", "κ"),
+        (0x3F1, "M", "ρ"),
+        (0x3F2, "M", "σ"),
+        (0x3F3, "V"),
+        (0x3F4, "M", "θ"),
+        (0x3F5, "M", "ε"),
+        (0x3F6, "V"),
+        (0x3F7, "M", "ϸ"),
+        (0x3F8, "V"),
+        (0x3F9, "M", "σ"),
+        (0x3FA, "M", "ϻ"),
+        (0x3FB, "V"),
+        (0x3FD, "M", "ͻ"),
+        (0x3FE, "M", "ͼ"),
+        (0x3FF, "M", "ͽ"),
+        (0x400, "M", "ѐ"),
+        (0x401, "M", "ё"),
+        (0x402, "M", "ђ"),
     ]
 
+
 def _seg_7() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x403, 'M', 'ѓ'),
-    (0x404, 'M', 'є'),
-    (0x405, 'M', 'ѕ'),
-    (0x406, 'M', 'і'),
-    (0x407, 'M', 'ї'),
-    (0x408, 'M', 'ј'),
-    (0x409, 'M', 'љ'),
-    (0x40A, 'M', 'њ'),
-    (0x40B, 'M', 'ћ'),
-    (0x40C, 'M', 'ќ'),
-    (0x40D, 'M', 'ѝ'),
-    (0x40E, 'M', 'ў'),
-    (0x40F, 'M', 'џ'),
-    (0x410, 'M', 'а'),
-    (0x411, 'M', 'б'),
-    (0x412, 'M', 'в'),
-    (0x413, 'M', 'г'),
-    (0x414, 'M', 'д'),
-    (0x415, 'M', 'е'),
-    (0x416, 'M', 'ж'),
-    (0x417, 'M', 'з'),
-    (0x418, 'M', 'и'),
-    (0x419, 'M', 'й'),
-    (0x41A, 'M', 'к'),
-    (0x41B, 'M', 'л'),
-    (0x41C, 'M', 'м'),
-    (0x41D, 'M', 'н'),
-    (0x41E, 'M', 'о'),
-    (0x41F, 'M', 'п'),
-    (0x420, 'M', 'р'),
-    (0x421, 'M', 'с'),
-    (0x422, 'M', 'т'),
-    (0x423, 'M', 'у'),
-    (0x424, 'M', 'ф'),
-    (0x425, 'M', 'х'),
-    (0x426, 'M', 'ц'),
-    (0x427, 'M', 'ч'),
-    (0x428, 'M', 'ш'),
-    (0x429, 'M', 'щ'),
-    (0x42A, 'M', 'ъ'),
-    (0x42B, 'M', 'ы'),
-    (0x42C, 'M', 'ь'),
-    (0x42D, 'M', 'э'),
-    (0x42E, 'M', 'ю'),
-    (0x42F, 'M', 'я'),
-    (0x430, 'V'),
-    (0x460, 'M', 'ѡ'),
-    (0x461, 'V'),
-    (0x462, 'M', 'ѣ'),
-    (0x463, 'V'),
-    (0x464, 'M', 'ѥ'),
-    (0x465, 'V'),
-    (0x466, 'M', 'ѧ'),
-    (0x467, 'V'),
-    (0x468, 'M', 'ѩ'),
-    (0x469, 'V'),
-    (0x46A, 'M', 'ѫ'),
-    (0x46B, 'V'),
-    (0x46C, 'M', 'ѭ'),
-    (0x46D, 'V'),
-    (0x46E, 'M', 'ѯ'),
-    (0x46F, 'V'),
-    (0x470, 'M', 'ѱ'),
-    (0x471, 'V'),
-    (0x472, 'M', 'ѳ'),
-    (0x473, 'V'),
-    (0x474, 'M', 'ѵ'),
-    (0x475, 'V'),
-    (0x476, 'M', 'ѷ'),
-    (0x477, 'V'),
-    (0x478, 'M', 'ѹ'),
-    (0x479, 'V'),
-    (0x47A, 'M', 'ѻ'),
-    (0x47B, 'V'),
-    (0x47C, 'M', 'ѽ'),
-    (0x47D, 'V'),
-    (0x47E, 'M', 'ѿ'),
-    (0x47F, 'V'),
-    (0x480, 'M', 'ҁ'),
-    (0x481, 'V'),
-    (0x48A, 'M', 'ҋ'),
-    (0x48B, 'V'),
-    (0x48C, 'M', 'ҍ'),
-    (0x48D, 'V'),
-    (0x48E, 'M', 'ҏ'),
-    (0x48F, 'V'),
-    (0x490, 'M', 'ґ'),
-    (0x491, 'V'),
-    (0x492, 'M', 'ғ'),
-    (0x493, 'V'),
-    (0x494, 'M', 'ҕ'),
-    (0x495, 'V'),
-    (0x496, 'M', 'җ'),
-    (0x497, 'V'),
-    (0x498, 'M', 'ҙ'),
-    (0x499, 'V'),
-    (0x49A, 'M', 'қ'),
-    (0x49B, 'V'),
-    (0x49C, 'M', 'ҝ'),
-    (0x49D, 'V'),
+        (0x403, "M", "ѓ"),
+        (0x404, "M", "є"),
+        (0x405, "M", "ѕ"),
+        (0x406, "M", "і"),
+        (0x407, "M", "ї"),
+        (0x408, "M", "ј"),
+        (0x409, "M", "љ"),
+        (0x40A, "M", "њ"),
+        (0x40B, "M", "ћ"),
+        (0x40C, "M", "ќ"),
+        (0x40D, "M", "ѝ"),
+        (0x40E, "M", "ў"),
+        (0x40F, "M", "џ"),
+        (0x410, "M", "а"),
+        (0x411, "M", "б"),
+        (0x412, "M", "в"),
+        (0x413, "M", "г"),
+        (0x414, "M", "д"),
+        (0x415, "M", "е"),
+        (0x416, "M", "ж"),
+        (0x417, "M", "з"),
+        (0x418, "M", "и"),
+        (0x419, "M", "й"),
+        (0x41A, "M", "к"),
+        (0x41B, "M", "л"),
+        (0x41C, "M", "м"),
+        (0x41D, "M", "н"),
+        (0x41E, "M", "о"),
+        (0x41F, "M", "п"),
+        (0x420, "M", "р"),
+        (0x421, "M", "с"),
+        (0x422, "M", "т"),
+        (0x423, "M", "у"),
+        (0x424, "M", "ф"),
+        (0x425, "M", "х"),
+        (0x426, "M", "ц"),
+        (0x427, "M", "ч"),
+        (0x428, "M", "ш"),
+        (0x429, "M", "щ"),
+        (0x42A, "M", "ъ"),
+        (0x42B, "M", "ы"),
+        (0x42C, "M", "ь"),
+        (0x42D, "M", "э"),
+        (0x42E, "M", "ю"),
+        (0x42F, "M", "я"),
+        (0x430, "V"),
+        (0x460, "M", "ѡ"),
+        (0x461, "V"),
+        (0x462, "M", "ѣ"),
+        (0x463, "V"),
+        (0x464, "M", "ѥ"),
+        (0x465, "V"),
+        (0x466, "M", "ѧ"),
+        (0x467, "V"),
+        (0x468, "M", "ѩ"),
+        (0x469, "V"),
+        (0x46A, "M", "ѫ"),
+        (0x46B, "V"),
+        (0x46C, "M", "ѭ"),
+        (0x46D, "V"),
+        (0x46E, "M", "ѯ"),
+        (0x46F, "V"),
+        (0x470, "M", "ѱ"),
+        (0x471, "V"),
+        (0x472, "M", "ѳ"),
+        (0x473, "V"),
+        (0x474, "M", "ѵ"),
+        (0x475, "V"),
+        (0x476, "M", "ѷ"),
+        (0x477, "V"),
+        (0x478, "M", "ѹ"),
+        (0x479, "V"),
+        (0x47A, "M", "ѻ"),
+        (0x47B, "V"),
+        (0x47C, "M", "ѽ"),
+        (0x47D, "V"),
+        (0x47E, "M", "ѿ"),
+        (0x47F, "V"),
+        (0x480, "M", "ҁ"),
+        (0x481, "V"),
+        (0x48A, "M", "ҋ"),
+        (0x48B, "V"),
+        (0x48C, "M", "ҍ"),
+        (0x48D, "V"),
+        (0x48E, "M", "ҏ"),
+        (0x48F, "V"),
+        (0x490, "M", "ґ"),
+        (0x491, "V"),
+        (0x492, "M", "ғ"),
+        (0x493, "V"),
+        (0x494, "M", "ҕ"),
+        (0x495, "V"),
+        (0x496, "M", "җ"),
+        (0x497, "V"),
+        (0x498, "M", "ҙ"),
+        (0x499, "V"),
+        (0x49A, "M", "қ"),
+        (0x49B, "V"),
+        (0x49C, "M", "ҝ"),
+        (0x49D, "V"),
     ]
 
+
 def _seg_8() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x49E, 'M', 'ҟ'),
-    (0x49F, 'V'),
-    (0x4A0, 'M', 'ҡ'),
-    (0x4A1, 'V'),
-    (0x4A2, 'M', 'ң'),
-    (0x4A3, 'V'),
-    (0x4A4, 'M', 'ҥ'),
-    (0x4A5, 'V'),
-    (0x4A6, 'M', 'ҧ'),
-    (0x4A7, 'V'),
-    (0x4A8, 'M', 'ҩ'),
-    (0x4A9, 'V'),
-    (0x4AA, 'M', 'ҫ'),
-    (0x4AB, 'V'),
-    (0x4AC, 'M', 'ҭ'),
-    (0x4AD, 'V'),
-    (0x4AE, 'M', 'ү'),
-    (0x4AF, 'V'),
-    (0x4B0, 'M', 'ұ'),
-    (0x4B1, 'V'),
-    (0x4B2, 'M', 'ҳ'),
-    (0x4B3, 'V'),
-    (0x4B4, 'M', 'ҵ'),
-    (0x4B5, 'V'),
-    (0x4B6, 'M', 'ҷ'),
-    (0x4B7, 'V'),
-    (0x4B8, 'M', 'ҹ'),
-    (0x4B9, 'V'),
-    (0x4BA, 'M', 'һ'),
-    (0x4BB, 'V'),
-    (0x4BC, 'M', 'ҽ'),
-    (0x4BD, 'V'),
-    (0x4BE, 'M', 'ҿ'),
-    (0x4BF, 'V'),
-    (0x4C0, 'X'),
-    (0x4C1, 'M', 'ӂ'),
-    (0x4C2, 'V'),
-    (0x4C3, 'M', 'ӄ'),
-    (0x4C4, 'V'),
-    (0x4C5, 'M', 'ӆ'),
-    (0x4C6, 'V'),
-    (0x4C7, 'M', 'ӈ'),
-    (0x4C8, 'V'),
-    (0x4C9, 'M', 'ӊ'),
-    (0x4CA, 'V'),
-    (0x4CB, 'M', 'ӌ'),
-    (0x4CC, 'V'),
-    (0x4CD, 'M', 'ӎ'),
-    (0x4CE, 'V'),
-    (0x4D0, 'M', 'ӑ'),
-    (0x4D1, 'V'),
-    (0x4D2, 'M', 'ӓ'),
-    (0x4D3, 'V'),
-    (0x4D4, 'M', 'ӕ'),
-    (0x4D5, 'V'),
-    (0x4D6, 'M', 'ӗ'),
-    (0x4D7, 'V'),
-    (0x4D8, 'M', 'ә'),
-    (0x4D9, 'V'),
-    (0x4DA, 'M', 'ӛ'),
-    (0x4DB, 'V'),
-    (0x4DC, 'M', 'ӝ'),
-    (0x4DD, 'V'),
-    (0x4DE, 'M', 'ӟ'),
-    (0x4DF, 'V'),
-    (0x4E0, 'M', 'ӡ'),
-    (0x4E1, 'V'),
-    (0x4E2, 'M', 'ӣ'),
-    (0x4E3, 'V'),
-    (0x4E4, 'M', 'ӥ'),
-    (0x4E5, 'V'),
-    (0x4E6, 'M', 'ӧ'),
-    (0x4E7, 'V'),
-    (0x4E8, 'M', 'ө'),
-    (0x4E9, 'V'),
-    (0x4EA, 'M', 'ӫ'),
-    (0x4EB, 'V'),
-    (0x4EC, 'M', 'ӭ'),
-    (0x4ED, 'V'),
-    (0x4EE, 'M', 'ӯ'),
-    (0x4EF, 'V'),
-    (0x4F0, 'M', 'ӱ'),
-    (0x4F1, 'V'),
-    (0x4F2, 'M', 'ӳ'),
-    (0x4F3, 'V'),
-    (0x4F4, 'M', 'ӵ'),
-    (0x4F5, 'V'),
-    (0x4F6, 'M', 'ӷ'),
-    (0x4F7, 'V'),
-    (0x4F8, 'M', 'ӹ'),
-    (0x4F9, 'V'),
-    (0x4FA, 'M', 'ӻ'),
-    (0x4FB, 'V'),
-    (0x4FC, 'M', 'ӽ'),
-    (0x4FD, 'V'),
-    (0x4FE, 'M', 'ӿ'),
-    (0x4FF, 'V'),
-    (0x500, 'M', 'ԁ'),
-    (0x501, 'V'),
-    (0x502, 'M', 'ԃ'),
+        (0x49E, "M", "ҟ"),
+        (0x49F, "V"),
+        (0x4A0, "M", "ҡ"),
+        (0x4A1, "V"),
+        (0x4A2, "M", "ң"),
+        (0x4A3, "V"),
+        (0x4A4, "M", "ҥ"),
+        (0x4A5, "V"),
+        (0x4A6, "M", "ҧ"),
+        (0x4A7, "V"),
+        (0x4A8, "M", "ҩ"),
+        (0x4A9, "V"),
+        (0x4AA, "M", "ҫ"),
+        (0x4AB, "V"),
+        (0x4AC, "M", "ҭ"),
+        (0x4AD, "V"),
+        (0x4AE, "M", "ү"),
+        (0x4AF, "V"),
+        (0x4B0, "M", "ұ"),
+        (0x4B1, "V"),
+        (0x4B2, "M", "ҳ"),
+        (0x4B3, "V"),
+        (0x4B4, "M", "ҵ"),
+        (0x4B5, "V"),
+        (0x4B6, "M", "ҷ"),
+        (0x4B7, "V"),
+        (0x4B8, "M", "ҹ"),
+        (0x4B9, "V"),
+        (0x4BA, "M", "һ"),
+        (0x4BB, "V"),
+        (0x4BC, "M", "ҽ"),
+        (0x4BD, "V"),
+        (0x4BE, "M", "ҿ"),
+        (0x4BF, "V"),
+        (0x4C0, "X"),
+        (0x4C1, "M", "ӂ"),
+        (0x4C2, "V"),
+        (0x4C3, "M", "ӄ"),
+        (0x4C4, "V"),
+        (0x4C5, "M", "ӆ"),
+        (0x4C6, "V"),
+        (0x4C7, "M", "ӈ"),
+        (0x4C8, "V"),
+        (0x4C9, "M", "ӊ"),
+        (0x4CA, "V"),
+        (0x4CB, "M", "ӌ"),
+        (0x4CC, "V"),
+        (0x4CD, "M", "ӎ"),
+        (0x4CE, "V"),
+        (0x4D0, "M", "ӑ"),
+        (0x4D1, "V"),
+        (0x4D2, "M", "ӓ"),
+        (0x4D3, "V"),
+        (0x4D4, "M", "ӕ"),
+        (0x4D5, "V"),
+        (0x4D6, "M", "ӗ"),
+        (0x4D7, "V"),
+        (0x4D8, "M", "ә"),
+        (0x4D9, "V"),
+        (0x4DA, "M", "ӛ"),
+        (0x4DB, "V"),
+        (0x4DC, "M", "ӝ"),
+        (0x4DD, "V"),
+        (0x4DE, "M", "ӟ"),
+        (0x4DF, "V"),
+        (0x4E0, "M", "ӡ"),
+        (0x4E1, "V"),
+        (0x4E2, "M", "ӣ"),
+        (0x4E3, "V"),
+        (0x4E4, "M", "ӥ"),
+        (0x4E5, "V"),
+        (0x4E6, "M", "ӧ"),
+        (0x4E7, "V"),
+        (0x4E8, "M", "ө"),
+        (0x4E9, "V"),
+        (0x4EA, "M", "ӫ"),
+        (0x4EB, "V"),
+        (0x4EC, "M", "ӭ"),
+        (0x4ED, "V"),
+        (0x4EE, "M", "ӯ"),
+        (0x4EF, "V"),
+        (0x4F0, "M", "ӱ"),
+        (0x4F1, "V"),
+        (0x4F2, "M", "ӳ"),
+        (0x4F3, "V"),
+        (0x4F4, "M", "ӵ"),
+        (0x4F5, "V"),
+        (0x4F6, "M", "ӷ"),
+        (0x4F7, "V"),
+        (0x4F8, "M", "ӹ"),
+        (0x4F9, "V"),
+        (0x4FA, "M", "ӻ"),
+        (0x4FB, "V"),
+        (0x4FC, "M", "ӽ"),
+        (0x4FD, "V"),
+        (0x4FE, "M", "ӿ"),
+        (0x4FF, "V"),
+        (0x500, "M", "ԁ"),
+        (0x501, "V"),
+        (0x502, "M", "ԃ"),
     ]
 
+
 def _seg_9() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x503, 'V'),
-    (0x504, 'M', 'ԅ'),
-    (0x505, 'V'),
-    (0x506, 'M', 'ԇ'),
-    (0x507, 'V'),
-    (0x508, 'M', 'ԉ'),
-    (0x509, 'V'),
-    (0x50A, 'M', 'ԋ'),
-    (0x50B, 'V'),
-    (0x50C, 'M', 'ԍ'),
-    (0x50D, 'V'),
-    (0x50E, 'M', 'ԏ'),
-    (0x50F, 'V'),
-    (0x510, 'M', 'ԑ'),
-    (0x511, 'V'),
-    (0x512, 'M', 'ԓ'),
-    (0x513, 'V'),
-    (0x514, 'M', 'ԕ'),
-    (0x515, 'V'),
-    (0x516, 'M', 'ԗ'),
-    (0x517, 'V'),
-    (0x518, 'M', 'ԙ'),
-    (0x519, 'V'),
-    (0x51A, 'M', 'ԛ'),
-    (0x51B, 'V'),
-    (0x51C, 'M', 'ԝ'),
-    (0x51D, 'V'),
-    (0x51E, 'M', 'ԟ'),
-    (0x51F, 'V'),
-    (0x520, 'M', 'ԡ'),
-    (0x521, 'V'),
-    (0x522, 'M', 'ԣ'),
-    (0x523, 'V'),
-    (0x524, 'M', 'ԥ'),
-    (0x525, 'V'),
-    (0x526, 'M', 'ԧ'),
-    (0x527, 'V'),
-    (0x528, 'M', 'ԩ'),
-    (0x529, 'V'),
-    (0x52A, 'M', 'ԫ'),
-    (0x52B, 'V'),
-    (0x52C, 'M', 'ԭ'),
-    (0x52D, 'V'),
-    (0x52E, 'M', 'ԯ'),
-    (0x52F, 'V'),
-    (0x530, 'X'),
-    (0x531, 'M', 'ա'),
-    (0x532, 'M', 'բ'),
-    (0x533, 'M', 'գ'),
-    (0x534, 'M', 'դ'),
-    (0x535, 'M', 'ե'),
-    (0x536, 'M', 'զ'),
-    (0x537, 'M', 'է'),
-    (0x538, 'M', 'ը'),
-    (0x539, 'M', 'թ'),
-    (0x53A, 'M', 'ժ'),
-    (0x53B, 'M', 'ի'),
-    (0x53C, 'M', 'լ'),
-    (0x53D, 'M', 'խ'),
-    (0x53E, 'M', 'ծ'),
-    (0x53F, 'M', 'կ'),
-    (0x540, 'M', 'հ'),
-    (0x541, 'M', 'ձ'),
-    (0x542, 'M', 'ղ'),
-    (0x543, 'M', 'ճ'),
-    (0x544, 'M', 'մ'),
-    (0x545, 'M', 'յ'),
-    (0x546, 'M', 'ն'),
-    (0x547, 'M', 'շ'),
-    (0x548, 'M', 'ո'),
-    (0x549, 'M', 'չ'),
-    (0x54A, 'M', 'պ'),
-    (0x54B, 'M', 'ջ'),
-    (0x54C, 'M', 'ռ'),
-    (0x54D, 'M', 'ս'),
-    (0x54E, 'M', 'վ'),
-    (0x54F, 'M', 'տ'),
-    (0x550, 'M', 'ր'),
-    (0x551, 'M', 'ց'),
-    (0x552, 'M', 'ւ'),
-    (0x553, 'M', 'փ'),
-    (0x554, 'M', 'ք'),
-    (0x555, 'M', 'օ'),
-    (0x556, 'M', 'ֆ'),
-    (0x557, 'X'),
-    (0x559, 'V'),
-    (0x587, 'M', 'եւ'),
-    (0x588, 'V'),
-    (0x58B, 'X'),
-    (0x58D, 'V'),
-    (0x590, 'X'),
-    (0x591, 'V'),
-    (0x5C8, 'X'),
-    (0x5D0, 'V'),
-    (0x5EB, 'X'),
-    (0x5EF, 'V'),
-    (0x5F5, 'X'),
-    (0x606, 'V'),
-    (0x61C, 'X'),
-    (0x61D, 'V'),
+        (0x503, "V"),
+        (0x504, "M", "ԅ"),
+        (0x505, "V"),
+        (0x506, "M", "ԇ"),
+        (0x507, "V"),
+        (0x508, "M", "ԉ"),
+        (0x509, "V"),
+        (0x50A, "M", "ԋ"),
+        (0x50B, "V"),
+        (0x50C, "M", "ԍ"),
+        (0x50D, "V"),
+        (0x50E, "M", "ԏ"),
+        (0x50F, "V"),
+        (0x510, "M", "ԑ"),
+        (0x511, "V"),
+        (0x512, "M", "ԓ"),
+        (0x513, "V"),
+        (0x514, "M", "ԕ"),
+        (0x515, "V"),
+        (0x516, "M", "ԗ"),
+        (0x517, "V"),
+        (0x518, "M", "ԙ"),
+        (0x519, "V"),
+        (0x51A, "M", "ԛ"),
+        (0x51B, "V"),
+        (0x51C, "M", "ԝ"),
+        (0x51D, "V"),
+        (0x51E, "M", "ԟ"),
+        (0x51F, "V"),
+        (0x520, "M", "ԡ"),
+        (0x521, "V"),
+        (0x522, "M", "ԣ"),
+        (0x523, "V"),
+        (0x524, "M", "ԥ"),
+        (0x525, "V"),
+        (0x526, "M", "ԧ"),
+        (0x527, "V"),
+        (0x528, "M", "ԩ"),
+        (0x529, "V"),
+        (0x52A, "M", "ԫ"),
+        (0x52B, "V"),
+        (0x52C, "M", "ԭ"),
+        (0x52D, "V"),
+        (0x52E, "M", "ԯ"),
+        (0x52F, "V"),
+        (0x530, "X"),
+        (0x531, "M", "ա"),
+        (0x532, "M", "բ"),
+        (0x533, "M", "գ"),
+        (0x534, "M", "դ"),
+        (0x535, "M", "ե"),
+        (0x536, "M", "զ"),
+        (0x537, "M", "է"),
+        (0x538, "M", "ը"),
+        (0x539, "M", "թ"),
+        (0x53A, "M", "ժ"),
+        (0x53B, "M", "ի"),
+        (0x53C, "M", "լ"),
+        (0x53D, "M", "խ"),
+        (0x53E, "M", "ծ"),
+        (0x53F, "M", "կ"),
+        (0x540, "M", "հ"),
+        (0x541, "M", "ձ"),
+        (0x542, "M", "ղ"),
+        (0x543, "M", "ճ"),
+        (0x544, "M", "մ"),
+        (0x545, "M", "յ"),
+        (0x546, "M", "ն"),
+        (0x547, "M", "շ"),
+        (0x548, "M", "ո"),
+        (0x549, "M", "չ"),
+        (0x54A, "M", "պ"),
+        (0x54B, "M", "ջ"),
+        (0x54C, "M", "ռ"),
+        (0x54D, "M", "ս"),
+        (0x54E, "M", "վ"),
+        (0x54F, "M", "տ"),
+        (0x550, "M", "ր"),
+        (0x551, "M", "ց"),
+        (0x552, "M", "ւ"),
+        (0x553, "M", "փ"),
+        (0x554, "M", "ք"),
+        (0x555, "M", "օ"),
+        (0x556, "M", "ֆ"),
+        (0x557, "X"),
+        (0x559, "V"),
+        (0x587, "M", "եւ"),
+        (0x588, "V"),
+        (0x58B, "X"),
+        (0x58D, "V"),
+        (0x590, "X"),
+        (0x591, "V"),
+        (0x5C8, "X"),
+        (0x5D0, "V"),
+        (0x5EB, "X"),
+        (0x5EF, "V"),
+        (0x5F5, "X"),
+        (0x606, "V"),
+        (0x61C, "X"),
+        (0x61D, "V"),
     ]
 
+
 def _seg_10() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x675, 'M', 'اٴ'),
-    (0x676, 'M', 'وٴ'),
-    (0x677, 'M', 'ۇٴ'),
-    (0x678, 'M', 'يٴ'),
-    (0x679, 'V'),
-    (0x6DD, 'X'),
-    (0x6DE, 'V'),
-    (0x70E, 'X'),
-    (0x710, 'V'),
-    (0x74B, 'X'),
-    (0x74D, 'V'),
-    (0x7B2, 'X'),
-    (0x7C0, 'V'),
-    (0x7FB, 'X'),
-    (0x7FD, 'V'),
-    (0x82E, 'X'),
-    (0x830, 'V'),
-    (0x83F, 'X'),
-    (0x840, 'V'),
-    (0x85C, 'X'),
-    (0x85E, 'V'),
-    (0x85F, 'X'),
-    (0x860, 'V'),
-    (0x86B, 'X'),
-    (0x870, 'V'),
-    (0x88F, 'X'),
-    (0x898, 'V'),
-    (0x8E2, 'X'),
-    (0x8E3, 'V'),
-    (0x958, 'M', 'क़'),
-    (0x959, 'M', 'ख़'),
-    (0x95A, 'M', 'ग़'),
-    (0x95B, 'M', 'ज़'),
-    (0x95C, 'M', 'ड़'),
-    (0x95D, 'M', 'ढ़'),
-    (0x95E, 'M', 'फ़'),
-    (0x95F, 'M', 'य़'),
-    (0x960, 'V'),
-    (0x984, 'X'),
-    (0x985, 'V'),
-    (0x98D, 'X'),
-    (0x98F, 'V'),
-    (0x991, 'X'),
-    (0x993, 'V'),
-    (0x9A9, 'X'),
-    (0x9AA, 'V'),
-    (0x9B1, 'X'),
-    (0x9B2, 'V'),
-    (0x9B3, 'X'),
-    (0x9B6, 'V'),
-    (0x9BA, 'X'),
-    (0x9BC, 'V'),
-    (0x9C5, 'X'),
-    (0x9C7, 'V'),
-    (0x9C9, 'X'),
-    (0x9CB, 'V'),
-    (0x9CF, 'X'),
-    (0x9D7, 'V'),
-    (0x9D8, 'X'),
-    (0x9DC, 'M', 'ড়'),
-    (0x9DD, 'M', 'ঢ়'),
-    (0x9DE, 'X'),
-    (0x9DF, 'M', 'য়'),
-    (0x9E0, 'V'),
-    (0x9E4, 'X'),
-    (0x9E6, 'V'),
-    (0x9FF, 'X'),
-    (0xA01, 'V'),
-    (0xA04, 'X'),
-    (0xA05, 'V'),
-    (0xA0B, 'X'),
-    (0xA0F, 'V'),
-    (0xA11, 'X'),
-    (0xA13, 'V'),
-    (0xA29, 'X'),
-    (0xA2A, 'V'),
-    (0xA31, 'X'),
-    (0xA32, 'V'),
-    (0xA33, 'M', 'ਲ਼'),
-    (0xA34, 'X'),
-    (0xA35, 'V'),
-    (0xA36, 'M', 'ਸ਼'),
-    (0xA37, 'X'),
-    (0xA38, 'V'),
-    (0xA3A, 'X'),
-    (0xA3C, 'V'),
-    (0xA3D, 'X'),
-    (0xA3E, 'V'),
-    (0xA43, 'X'),
-    (0xA47, 'V'),
-    (0xA49, 'X'),
-    (0xA4B, 'V'),
-    (0xA4E, 'X'),
-    (0xA51, 'V'),
-    (0xA52, 'X'),
-    (0xA59, 'M', 'ਖ਼'),
-    (0xA5A, 'M', 'ਗ਼'),
-    (0xA5B, 'M', 'ਜ਼'),
-    (0xA5C, 'V'),
-    (0xA5D, 'X'),
+        (0x675, "M", "اٴ"),
+        (0x676, "M", "وٴ"),
+        (0x677, "M", "ۇٴ"),
+        (0x678, "M", "يٴ"),
+        (0x679, "V"),
+        (0x6DD, "X"),
+        (0x6DE, "V"),
+        (0x70E, "X"),
+        (0x710, "V"),
+        (0x74B, "X"),
+        (0x74D, "V"),
+        (0x7B2, "X"),
+        (0x7C0, "V"),
+        (0x7FB, "X"),
+        (0x7FD, "V"),
+        (0x82E, "X"),
+        (0x830, "V"),
+        (0x83F, "X"),
+        (0x840, "V"),
+        (0x85C, "X"),
+        (0x85E, "V"),
+        (0x85F, "X"),
+        (0x860, "V"),
+        (0x86B, "X"),
+        (0x870, "V"),
+        (0x88F, "X"),
+        (0x898, "V"),
+        (0x8E2, "X"),
+        (0x8E3, "V"),
+        (0x958, "M", "क़"),
+        (0x959, "M", "ख़"),
+        (0x95A, "M", "ग़"),
+        (0x95B, "M", "ज़"),
+        (0x95C, "M", "ड़"),
+        (0x95D, "M", "ढ़"),
+        (0x95E, "M", "फ़"),
+        (0x95F, "M", "य़"),
+        (0x960, "V"),
+        (0x984, "X"),
+        (0x985, "V"),
+        (0x98D, "X"),
+        (0x98F, "V"),
+        (0x991, "X"),
+        (0x993, "V"),
+        (0x9A9, "X"),
+        (0x9AA, "V"),
+        (0x9B1, "X"),
+        (0x9B2, "V"),
+        (0x9B3, "X"),
+        (0x9B6, "V"),
+        (0x9BA, "X"),
+        (0x9BC, "V"),
+        (0x9C5, "X"),
+        (0x9C7, "V"),
+        (0x9C9, "X"),
+        (0x9CB, "V"),
+        (0x9CF, "X"),
+        (0x9D7, "V"),
+        (0x9D8, "X"),
+        (0x9DC, "M", "ড়"),
+        (0x9DD, "M", "ঢ়"),
+        (0x9DE, "X"),
+        (0x9DF, "M", "য়"),
+        (0x9E0, "V"),
+        (0x9E4, "X"),
+        (0x9E6, "V"),
+        (0x9FF, "X"),
+        (0xA01, "V"),
+        (0xA04, "X"),
+        (0xA05, "V"),
+        (0xA0B, "X"),
+        (0xA0F, "V"),
+        (0xA11, "X"),
+        (0xA13, "V"),
+        (0xA29, "X"),
+        (0xA2A, "V"),
+        (0xA31, "X"),
+        (0xA32, "V"),
+        (0xA33, "M", "ਲ਼"),
+        (0xA34, "X"),
+        (0xA35, "V"),
+        (0xA36, "M", "ਸ਼"),
+        (0xA37, "X"),
+        (0xA38, "V"),
+        (0xA3A, "X"),
+        (0xA3C, "V"),
+        (0xA3D, "X"),
+        (0xA3E, "V"),
+        (0xA43, "X"),
+        (0xA47, "V"),
+        (0xA49, "X"),
+        (0xA4B, "V"),
+        (0xA4E, "X"),
+        (0xA51, "V"),
+        (0xA52, "X"),
+        (0xA59, "M", "ਖ਼"),
+        (0xA5A, "M", "ਗ਼"),
+        (0xA5B, "M", "ਜ਼"),
+        (0xA5C, "V"),
+        (0xA5D, "X"),
     ]
 
+
 def _seg_11() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0xA5E, 'M', 'ਫ਼'),
-    (0xA5F, 'X'),
-    (0xA66, 'V'),
-    (0xA77, 'X'),
-    (0xA81, 'V'),
-    (0xA84, 'X'),
-    (0xA85, 'V'),
-    (0xA8E, 'X'),
-    (0xA8F, 'V'),
-    (0xA92, 'X'),
-    (0xA93, 'V'),
-    (0xAA9, 'X'),
-    (0xAAA, 'V'),
-    (0xAB1, 'X'),
-    (0xAB2, 'V'),
-    (0xAB4, 'X'),
-    (0xAB5, 'V'),
-    (0xABA, 'X'),
-    (0xABC, 'V'),
-    (0xAC6, 'X'),
-    (0xAC7, 'V'),
-    (0xACA, 'X'),
-    (0xACB, 'V'),
-    (0xACE, 'X'),
-    (0xAD0, 'V'),
-    (0xAD1, 'X'),
-    (0xAE0, 'V'),
-    (0xAE4, 'X'),
-    (0xAE6, 'V'),
-    (0xAF2, 'X'),
-    (0xAF9, 'V'),
-    (0xB00, 'X'),
-    (0xB01, 'V'),
-    (0xB04, 'X'),
-    (0xB05, 'V'),
-    (0xB0D, 'X'),
-    (0xB0F, 'V'),
-    (0xB11, 'X'),
-    (0xB13, 'V'),
-    (0xB29, 'X'),
-    (0xB2A, 'V'),
-    (0xB31, 'X'),
-    (0xB32, 'V'),
-    (0xB34, 'X'),
-    (0xB35, 'V'),
-    (0xB3A, 'X'),
-    (0xB3C, 'V'),
-    (0xB45, 'X'),
-    (0xB47, 'V'),
-    (0xB49, 'X'),
-    (0xB4B, 'V'),
-    (0xB4E, 'X'),
-    (0xB55, 'V'),
-    (0xB58, 'X'),
-    (0xB5C, 'M', 'ଡ଼'),
-    (0xB5D, 'M', 'ଢ଼'),
-    (0xB5E, 'X'),
-    (0xB5F, 'V'),
-    (0xB64, 'X'),
-    (0xB66, 'V'),
-    (0xB78, 'X'),
-    (0xB82, 'V'),
-    (0xB84, 'X'),
-    (0xB85, 'V'),
-    (0xB8B, 'X'),
-    (0xB8E, 'V'),
-    (0xB91, 'X'),
-    (0xB92, 'V'),
-    (0xB96, 'X'),
-    (0xB99, 'V'),
-    (0xB9B, 'X'),
-    (0xB9C, 'V'),
-    (0xB9D, 'X'),
-    (0xB9E, 'V'),
-    (0xBA0, 'X'),
-    (0xBA3, 'V'),
-    (0xBA5, 'X'),
-    (0xBA8, 'V'),
-    (0xBAB, 'X'),
-    (0xBAE, 'V'),
-    (0xBBA, 'X'),
-    (0xBBE, 'V'),
-    (0xBC3, 'X'),
-    (0xBC6, 'V'),
-    (0xBC9, 'X'),
-    (0xBCA, 'V'),
-    (0xBCE, 'X'),
-    (0xBD0, 'V'),
-    (0xBD1, 'X'),
-    (0xBD7, 'V'),
-    (0xBD8, 'X'),
-    (0xBE6, 'V'),
-    (0xBFB, 'X'),
-    (0xC00, 'V'),
-    (0xC0D, 'X'),
-    (0xC0E, 'V'),
-    (0xC11, 'X'),
-    (0xC12, 'V'),
-    (0xC29, 'X'),
-    (0xC2A, 'V'),
+        (0xA5E, "M", "ਫ਼"),
+        (0xA5F, "X"),
+        (0xA66, "V"),
+        (0xA77, "X"),
+        (0xA81, "V"),
+        (0xA84, "X"),
+        (0xA85, "V"),
+        (0xA8E, "X"),
+        (0xA8F, "V"),
+        (0xA92, "X"),
+        (0xA93, "V"),
+        (0xAA9, "X"),
+        (0xAAA, "V"),
+        (0xAB1, "X"),
+        (0xAB2, "V"),
+        (0xAB4, "X"),
+        (0xAB5, "V"),
+        (0xABA, "X"),
+        (0xABC, "V"),
+        (0xAC6, "X"),
+        (0xAC7, "V"),
+        (0xACA, "X"),
+        (0xACB, "V"),
+        (0xACE, "X"),
+        (0xAD0, "V"),
+        (0xAD1, "X"),
+        (0xAE0, "V"),
+        (0xAE4, "X"),
+        (0xAE6, "V"),
+        (0xAF2, "X"),
+        (0xAF9, "V"),
+        (0xB00, "X"),
+        (0xB01, "V"),
+        (0xB04, "X"),
+        (0xB05, "V"),
+        (0xB0D, "X"),
+        (0xB0F, "V"),
+        (0xB11, "X"),
+        (0xB13, "V"),
+        (0xB29, "X"),
+        (0xB2A, "V"),
+        (0xB31, "X"),
+        (0xB32, "V"),
+        (0xB34, "X"),
+        (0xB35, "V"),
+        (0xB3A, "X"),
+        (0xB3C, "V"),
+        (0xB45, "X"),
+        (0xB47, "V"),
+        (0xB49, "X"),
+        (0xB4B, "V"),
+        (0xB4E, "X"),
+        (0xB55, "V"),
+        (0xB58, "X"),
+        (0xB5C, "M", "ଡ଼"),
+        (0xB5D, "M", "ଢ଼"),
+        (0xB5E, "X"),
+        (0xB5F, "V"),
+        (0xB64, "X"),
+        (0xB66, "V"),
+        (0xB78, "X"),
+        (0xB82, "V"),
+        (0xB84, "X"),
+        (0xB85, "V"),
+        (0xB8B, "X"),
+        (0xB8E, "V"),
+        (0xB91, "X"),
+        (0xB92, "V"),
+        (0xB96, "X"),
+        (0xB99, "V"),
+        (0xB9B, "X"),
+        (0xB9C, "V"),
+        (0xB9D, "X"),
+        (0xB9E, "V"),
+        (0xBA0, "X"),
+        (0xBA3, "V"),
+        (0xBA5, "X"),
+        (0xBA8, "V"),
+        (0xBAB, "X"),
+        (0xBAE, "V"),
+        (0xBBA, "X"),
+        (0xBBE, "V"),
+        (0xBC3, "X"),
+        (0xBC6, "V"),
+        (0xBC9, "X"),
+        (0xBCA, "V"),
+        (0xBCE, "X"),
+        (0xBD0, "V"),
+        (0xBD1, "X"),
+        (0xBD7, "V"),
+        (0xBD8, "X"),
+        (0xBE6, "V"),
+        (0xBFB, "X"),
+        (0xC00, "V"),
+        (0xC0D, "X"),
+        (0xC0E, "V"),
+        (0xC11, "X"),
+        (0xC12, "V"),
+        (0xC29, "X"),
+        (0xC2A, "V"),
     ]
 
+
 def _seg_12() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0xC3A, 'X'),
-    (0xC3C, 'V'),
-    (0xC45, 'X'),
-    (0xC46, 'V'),
-    (0xC49, 'X'),
-    (0xC4A, 'V'),
-    (0xC4E, 'X'),
-    (0xC55, 'V'),
-    (0xC57, 'X'),
-    (0xC58, 'V'),
-    (0xC5B, 'X'),
-    (0xC5D, 'V'),
-    (0xC5E, 'X'),
-    (0xC60, 'V'),
-    (0xC64, 'X'),
-    (0xC66, 'V'),
-    (0xC70, 'X'),
-    (0xC77, 'V'),
-    (0xC8D, 'X'),
-    (0xC8E, 'V'),
-    (0xC91, 'X'),
-    (0xC92, 'V'),
-    (0xCA9, 'X'),
-    (0xCAA, 'V'),
-    (0xCB4, 'X'),
-    (0xCB5, 'V'),
-    (0xCBA, 'X'),
-    (0xCBC, 'V'),
-    (0xCC5, 'X'),
-    (0xCC6, 'V'),
-    (0xCC9, 'X'),
-    (0xCCA, 'V'),
-    (0xCCE, 'X'),
-    (0xCD5, 'V'),
-    (0xCD7, 'X'),
-    (0xCDD, 'V'),
-    (0xCDF, 'X'),
-    (0xCE0, 'V'),
-    (0xCE4, 'X'),
-    (0xCE6, 'V'),
-    (0xCF0, 'X'),
-    (0xCF1, 'V'),
-    (0xCF4, 'X'),
-    (0xD00, 'V'),
-    (0xD0D, 'X'),
-    (0xD0E, 'V'),
-    (0xD11, 'X'),
-    (0xD12, 'V'),
-    (0xD45, 'X'),
-    (0xD46, 'V'),
-    (0xD49, 'X'),
-    (0xD4A, 'V'),
-    (0xD50, 'X'),
-    (0xD54, 'V'),
-    (0xD64, 'X'),
-    (0xD66, 'V'),
-    (0xD80, 'X'),
-    (0xD81, 'V'),
-    (0xD84, 'X'),
-    (0xD85, 'V'),
-    (0xD97, 'X'),
-    (0xD9A, 'V'),
-    (0xDB2, 'X'),
-    (0xDB3, 'V'),
-    (0xDBC, 'X'),
-    (0xDBD, 'V'),
-    (0xDBE, 'X'),
-    (0xDC0, 'V'),
-    (0xDC7, 'X'),
-    (0xDCA, 'V'),
-    (0xDCB, 'X'),
-    (0xDCF, 'V'),
-    (0xDD5, 'X'),
-    (0xDD6, 'V'),
-    (0xDD7, 'X'),
-    (0xDD8, 'V'),
-    (0xDE0, 'X'),
-    (0xDE6, 'V'),
-    (0xDF0, 'X'),
-    (0xDF2, 'V'),
-    (0xDF5, 'X'),
-    (0xE01, 'V'),
-    (0xE33, 'M', 'ํา'),
-    (0xE34, 'V'),
-    (0xE3B, 'X'),
-    (0xE3F, 'V'),
-    (0xE5C, 'X'),
-    (0xE81, 'V'),
-    (0xE83, 'X'),
-    (0xE84, 'V'),
-    (0xE85, 'X'),
-    (0xE86, 'V'),
-    (0xE8B, 'X'),
-    (0xE8C, 'V'),
-    (0xEA4, 'X'),
-    (0xEA5, 'V'),
-    (0xEA6, 'X'),
-    (0xEA7, 'V'),
-    (0xEB3, 'M', 'ໍາ'),
-    (0xEB4, 'V'),
+        (0xC3A, "X"),
+        (0xC3C, "V"),
+        (0xC45, "X"),
+        (0xC46, "V"),
+        (0xC49, "X"),
+        (0xC4A, "V"),
+        (0xC4E, "X"),
+        (0xC55, "V"),
+        (0xC57, "X"),
+        (0xC58, "V"),
+        (0xC5B, "X"),
+        (0xC5D, "V"),
+        (0xC5E, "X"),
+        (0xC60, "V"),
+        (0xC64, "X"),
+        (0xC66, "V"),
+        (0xC70, "X"),
+        (0xC77, "V"),
+        (0xC8D, "X"),
+        (0xC8E, "V"),
+        (0xC91, "X"),
+        (0xC92, "V"),
+        (0xCA9, "X"),
+        (0xCAA, "V"),
+        (0xCB4, "X"),
+        (0xCB5, "V"),
+        (0xCBA, "X"),
+        (0xCBC, "V"),
+        (0xCC5, "X"),
+        (0xCC6, "V"),
+        (0xCC9, "X"),
+        (0xCCA, "V"),
+        (0xCCE, "X"),
+        (0xCD5, "V"),
+        (0xCD7, "X"),
+        (0xCDD, "V"),
+        (0xCDF, "X"),
+        (0xCE0, "V"),
+        (0xCE4, "X"),
+        (0xCE6, "V"),
+        (0xCF0, "X"),
+        (0xCF1, "V"),
+        (0xCF4, "X"),
+        (0xD00, "V"),
+        (0xD0D, "X"),
+        (0xD0E, "V"),
+        (0xD11, "X"),
+        (0xD12, "V"),
+        (0xD45, "X"),
+        (0xD46, "V"),
+        (0xD49, "X"),
+        (0xD4A, "V"),
+        (0xD50, "X"),
+        (0xD54, "V"),
+        (0xD64, "X"),
+        (0xD66, "V"),
+        (0xD80, "X"),
+        (0xD81, "V"),
+        (0xD84, "X"),
+        (0xD85, "V"),
+        (0xD97, "X"),
+        (0xD9A, "V"),
+        (0xDB2, "X"),
+        (0xDB3, "V"),
+        (0xDBC, "X"),
+        (0xDBD, "V"),
+        (0xDBE, "X"),
+        (0xDC0, "V"),
+        (0xDC7, "X"),
+        (0xDCA, "V"),
+        (0xDCB, "X"),
+        (0xDCF, "V"),
+        (0xDD5, "X"),
+        (0xDD6, "V"),
+        (0xDD7, "X"),
+        (0xDD8, "V"),
+        (0xDE0, "X"),
+        (0xDE6, "V"),
+        (0xDF0, "X"),
+        (0xDF2, "V"),
+        (0xDF5, "X"),
+        (0xE01, "V"),
+        (0xE33, "M", "ํา"),
+        (0xE34, "V"),
+        (0xE3B, "X"),
+        (0xE3F, "V"),
+        (0xE5C, "X"),
+        (0xE81, "V"),
+        (0xE83, "X"),
+        (0xE84, "V"),
+        (0xE85, "X"),
+        (0xE86, "V"),
+        (0xE8B, "X"),
+        (0xE8C, "V"),
+        (0xEA4, "X"),
+        (0xEA5, "V"),
+        (0xEA6, "X"),
+        (0xEA7, "V"),
+        (0xEB3, "M", "ໍາ"),
+        (0xEB4, "V"),
     ]
 
+
 def _seg_13() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0xEBE, 'X'),
-    (0xEC0, 'V'),
-    (0xEC5, 'X'),
-    (0xEC6, 'V'),
-    (0xEC7, 'X'),
-    (0xEC8, 'V'),
-    (0xECF, 'X'),
-    (0xED0, 'V'),
-    (0xEDA, 'X'),
-    (0xEDC, 'M', 'ຫນ'),
-    (0xEDD, 'M', 'ຫມ'),
-    (0xEDE, 'V'),
-    (0xEE0, 'X'),
-    (0xF00, 'V'),
-    (0xF0C, 'M', '་'),
-    (0xF0D, 'V'),
-    (0xF43, 'M', 'གྷ'),
-    (0xF44, 'V'),
-    (0xF48, 'X'),
-    (0xF49, 'V'),
-    (0xF4D, 'M', 'ཌྷ'),
-    (0xF4E, 'V'),
-    (0xF52, 'M', 'དྷ'),
-    (0xF53, 'V'),
-    (0xF57, 'M', 'བྷ'),
-    (0xF58, 'V'),
-    (0xF5C, 'M', 'ཛྷ'),
-    (0xF5D, 'V'),
-    (0xF69, 'M', 'ཀྵ'),
-    (0xF6A, 'V'),
-    (0xF6D, 'X'),
-    (0xF71, 'V'),
-    (0xF73, 'M', 'ཱི'),
-    (0xF74, 'V'),
-    (0xF75, 'M', 'ཱུ'),
-    (0xF76, 'M', 'ྲྀ'),
-    (0xF77, 'M', 'ྲཱྀ'),
-    (0xF78, 'M', 'ླྀ'),
-    (0xF79, 'M', 'ླཱྀ'),
-    (0xF7A, 'V'),
-    (0xF81, 'M', 'ཱྀ'),
-    (0xF82, 'V'),
-    (0xF93, 'M', 'ྒྷ'),
-    (0xF94, 'V'),
-    (0xF98, 'X'),
-    (0xF99, 'V'),
-    (0xF9D, 'M', 'ྜྷ'),
-    (0xF9E, 'V'),
-    (0xFA2, 'M', 'ྡྷ'),
-    (0xFA3, 'V'),
-    (0xFA7, 'M', 'ྦྷ'),
-    (0xFA8, 'V'),
-    (0xFAC, 'M', 'ྫྷ'),
-    (0xFAD, 'V'),
-    (0xFB9, 'M', 'ྐྵ'),
-    (0xFBA, 'V'),
-    (0xFBD, 'X'),
-    (0xFBE, 'V'),
-    (0xFCD, 'X'),
-    (0xFCE, 'V'),
-    (0xFDB, 'X'),
-    (0x1000, 'V'),
-    (0x10A0, 'X'),
-    (0x10C7, 'M', 'ⴧ'),
-    (0x10C8, 'X'),
-    (0x10CD, 'M', 'ⴭ'),
-    (0x10CE, 'X'),
-    (0x10D0, 'V'),
-    (0x10FC, 'M', 'ნ'),
-    (0x10FD, 'V'),
-    (0x115F, 'X'),
-    (0x1161, 'V'),
-    (0x1249, 'X'),
-    (0x124A, 'V'),
-    (0x124E, 'X'),
-    (0x1250, 'V'),
-    (0x1257, 'X'),
-    (0x1258, 'V'),
-    (0x1259, 'X'),
-    (0x125A, 'V'),
-    (0x125E, 'X'),
-    (0x1260, 'V'),
-    (0x1289, 'X'),
-    (0x128A, 'V'),
-    (0x128E, 'X'),
-    (0x1290, 'V'),
-    (0x12B1, 'X'),
-    (0x12B2, 'V'),
-    (0x12B6, 'X'),
-    (0x12B8, 'V'),
-    (0x12BF, 'X'),
-    (0x12C0, 'V'),
-    (0x12C1, 'X'),
-    (0x12C2, 'V'),
-    (0x12C6, 'X'),
-    (0x12C8, 'V'),
-    (0x12D7, 'X'),
-    (0x12D8, 'V'),
-    (0x1311, 'X'),
-    (0x1312, 'V'),
+        (0xEBE, "X"),
+        (0xEC0, "V"),
+        (0xEC5, "X"),
+        (0xEC6, "V"),
+        (0xEC7, "X"),
+        (0xEC8, "V"),
+        (0xECF, "X"),
+        (0xED0, "V"),
+        (0xEDA, "X"),
+        (0xEDC, "M", "ຫນ"),
+        (0xEDD, "M", "ຫມ"),
+        (0xEDE, "V"),
+        (0xEE0, "X"),
+        (0xF00, "V"),
+        (0xF0C, "M", "་"),
+        (0xF0D, "V"),
+        (0xF43, "M", "གྷ"),
+        (0xF44, "V"),
+        (0xF48, "X"),
+        (0xF49, "V"),
+        (0xF4D, "M", "ཌྷ"),
+        (0xF4E, "V"),
+        (0xF52, "M", "དྷ"),
+        (0xF53, "V"),
+        (0xF57, "M", "བྷ"),
+        (0xF58, "V"),
+        (0xF5C, "M", "ཛྷ"),
+        (0xF5D, "V"),
+        (0xF69, "M", "ཀྵ"),
+        (0xF6A, "V"),
+        (0xF6D, "X"),
+        (0xF71, "V"),
+        (0xF73, "M", "ཱི"),
+        (0xF74, "V"),
+        (0xF75, "M", "ཱུ"),
+        (0xF76, "M", "ྲྀ"),
+        (0xF77, "M", "ྲཱྀ"),
+        (0xF78, "M", "ླྀ"),
+        (0xF79, "M", "ླཱྀ"),
+        (0xF7A, "V"),
+        (0xF81, "M", "ཱྀ"),
+        (0xF82, "V"),
+        (0xF93, "M", "ྒྷ"),
+        (0xF94, "V"),
+        (0xF98, "X"),
+        (0xF99, "V"),
+        (0xF9D, "M", "ྜྷ"),
+        (0xF9E, "V"),
+        (0xFA2, "M", "ྡྷ"),
+        (0xFA3, "V"),
+        (0xFA7, "M", "ྦྷ"),
+        (0xFA8, "V"),
+        (0xFAC, "M", "ྫྷ"),
+        (0xFAD, "V"),
+        (0xFB9, "M", "ྐྵ"),
+        (0xFBA, "V"),
+        (0xFBD, "X"),
+        (0xFBE, "V"),
+        (0xFCD, "X"),
+        (0xFCE, "V"),
+        (0xFDB, "X"),
+        (0x1000, "V"),
+        (0x10A0, "X"),
+        (0x10C7, "M", "ⴧ"),
+        (0x10C8, "X"),
+        (0x10CD, "M", "ⴭ"),
+        (0x10CE, "X"),
+        (0x10D0, "V"),
+        (0x10FC, "M", "ნ"),
+        (0x10FD, "V"),
+        (0x115F, "X"),
+        (0x1161, "V"),
+        (0x1249, "X"),
+        (0x124A, "V"),
+        (0x124E, "X"),
+        (0x1250, "V"),
+        (0x1257, "X"),
+        (0x1258, "V"),
+        (0x1259, "X"),
+        (0x125A, "V"),
+        (0x125E, "X"),
+        (0x1260, "V"),
+        (0x1289, "X"),
+        (0x128A, "V"),
+        (0x128E, "X"),
+        (0x1290, "V"),
+        (0x12B1, "X"),
+        (0x12B2, "V"),
+        (0x12B6, "X"),
+        (0x12B8, "V"),
+        (0x12BF, "X"),
+        (0x12C0, "V"),
+        (0x12C1, "X"),
+        (0x12C2, "V"),
+        (0x12C6, "X"),
+        (0x12C8, "V"),
+        (0x12D7, "X"),
+        (0x12D8, "V"),
+        (0x1311, "X"),
+        (0x1312, "V"),
     ]
 
+
 def _seg_14() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1316, 'X'),
-    (0x1318, 'V'),
-    (0x135B, 'X'),
-    (0x135D, 'V'),
-    (0x137D, 'X'),
-    (0x1380, 'V'),
-    (0x139A, 'X'),
-    (0x13A0, 'V'),
-    (0x13F6, 'X'),
-    (0x13F8, 'M', 'Ᏸ'),
-    (0x13F9, 'M', 'Ᏹ'),
-    (0x13FA, 'M', 'Ᏺ'),
-    (0x13FB, 'M', 'Ᏻ'),
-    (0x13FC, 'M', 'Ᏼ'),
-    (0x13FD, 'M', 'Ᏽ'),
-    (0x13FE, 'X'),
-    (0x1400, 'V'),
-    (0x1680, 'X'),
-    (0x1681, 'V'),
-    (0x169D, 'X'),
-    (0x16A0, 'V'),
-    (0x16F9, 'X'),
-    (0x1700, 'V'),
-    (0x1716, 'X'),
-    (0x171F, 'V'),
-    (0x1737, 'X'),
-    (0x1740, 'V'),
-    (0x1754, 'X'),
-    (0x1760, 'V'),
-    (0x176D, 'X'),
-    (0x176E, 'V'),
-    (0x1771, 'X'),
-    (0x1772, 'V'),
-    (0x1774, 'X'),
-    (0x1780, 'V'),
-    (0x17B4, 'X'),
-    (0x17B6, 'V'),
-    (0x17DE, 'X'),
-    (0x17E0, 'V'),
-    (0x17EA, 'X'),
-    (0x17F0, 'V'),
-    (0x17FA, 'X'),
-    (0x1800, 'V'),
-    (0x1806, 'X'),
-    (0x1807, 'V'),
-    (0x180B, 'I'),
-    (0x180E, 'X'),
-    (0x180F, 'I'),
-    (0x1810, 'V'),
-    (0x181A, 'X'),
-    (0x1820, 'V'),
-    (0x1879, 'X'),
-    (0x1880, 'V'),
-    (0x18AB, 'X'),
-    (0x18B0, 'V'),
-    (0x18F6, 'X'),
-    (0x1900, 'V'),
-    (0x191F, 'X'),
-    (0x1920, 'V'),
-    (0x192C, 'X'),
-    (0x1930, 'V'),
-    (0x193C, 'X'),
-    (0x1940, 'V'),
-    (0x1941, 'X'),
-    (0x1944, 'V'),
-    (0x196E, 'X'),
-    (0x1970, 'V'),
-    (0x1975, 'X'),
-    (0x1980, 'V'),
-    (0x19AC, 'X'),
-    (0x19B0, 'V'),
-    (0x19CA, 'X'),
-    (0x19D0, 'V'),
-    (0x19DB, 'X'),
-    (0x19DE, 'V'),
-    (0x1A1C, 'X'),
-    (0x1A1E, 'V'),
-    (0x1A5F, 'X'),
-    (0x1A60, 'V'),
-    (0x1A7D, 'X'),
-    (0x1A7F, 'V'),
-    (0x1A8A, 'X'),
-    (0x1A90, 'V'),
-    (0x1A9A, 'X'),
-    (0x1AA0, 'V'),
-    (0x1AAE, 'X'),
-    (0x1AB0, 'V'),
-    (0x1ACF, 'X'),
-    (0x1B00, 'V'),
-    (0x1B4D, 'X'),
-    (0x1B50, 'V'),
-    (0x1B7F, 'X'),
-    (0x1B80, 'V'),
-    (0x1BF4, 'X'),
-    (0x1BFC, 'V'),
-    (0x1C38, 'X'),
-    (0x1C3B, 'V'),
-    (0x1C4A, 'X'),
-    (0x1C4D, 'V'),
-    (0x1C80, 'M', 'в'),
+        (0x1316, "X"),
+        (0x1318, "V"),
+        (0x135B, "X"),
+        (0x135D, "V"),
+        (0x137D, "X"),
+        (0x1380, "V"),
+        (0x139A, "X"),
+        (0x13A0, "V"),
+        (0x13F6, "X"),
+        (0x13F8, "M", "Ᏸ"),
+        (0x13F9, "M", "Ᏹ"),
+        (0x13FA, "M", "Ᏺ"),
+        (0x13FB, "M", "Ᏻ"),
+        (0x13FC, "M", "Ᏼ"),
+        (0x13FD, "M", "Ᏽ"),
+        (0x13FE, "X"),
+        (0x1400, "V"),
+        (0x1680, "X"),
+        (0x1681, "V"),
+        (0x169D, "X"),
+        (0x16A0, "V"),
+        (0x16F9, "X"),
+        (0x1700, "V"),
+        (0x1716, "X"),
+        (0x171F, "V"),
+        (0x1737, "X"),
+        (0x1740, "V"),
+        (0x1754, "X"),
+        (0x1760, "V"),
+        (0x176D, "X"),
+        (0x176E, "V"),
+        (0x1771, "X"),
+        (0x1772, "V"),
+        (0x1774, "X"),
+        (0x1780, "V"),
+        (0x17B4, "X"),
+        (0x17B6, "V"),
+        (0x17DE, "X"),
+        (0x17E0, "V"),
+        (0x17EA, "X"),
+        (0x17F0, "V"),
+        (0x17FA, "X"),
+        (0x1800, "V"),
+        (0x1806, "X"),
+        (0x1807, "V"),
+        (0x180B, "I"),
+        (0x180E, "X"),
+        (0x180F, "I"),
+        (0x1810, "V"),
+        (0x181A, "X"),
+        (0x1820, "V"),
+        (0x1879, "X"),
+        (0x1880, "V"),
+        (0x18AB, "X"),
+        (0x18B0, "V"),
+        (0x18F6, "X"),
+        (0x1900, "V"),
+        (0x191F, "X"),
+        (0x1920, "V"),
+        (0x192C, "X"),
+        (0x1930, "V"),
+        (0x193C, "X"),
+        (0x1940, "V"),
+        (0x1941, "X"),
+        (0x1944, "V"),
+        (0x196E, "X"),
+        (0x1970, "V"),
+        (0x1975, "X"),
+        (0x1980, "V"),
+        (0x19AC, "X"),
+        (0x19B0, "V"),
+        (0x19CA, "X"),
+        (0x19D0, "V"),
+        (0x19DB, "X"),
+        (0x19DE, "V"),
+        (0x1A1C, "X"),
+        (0x1A1E, "V"),
+        (0x1A5F, "X"),
+        (0x1A60, "V"),
+        (0x1A7D, "X"),
+        (0x1A7F, "V"),
+        (0x1A8A, "X"),
+        (0x1A90, "V"),
+        (0x1A9A, "X"),
+        (0x1AA0, "V"),
+        (0x1AAE, "X"),
+        (0x1AB0, "V"),
+        (0x1ACF, "X"),
+        (0x1B00, "V"),
+        (0x1B4D, "X"),
+        (0x1B50, "V"),
+        (0x1B7F, "X"),
+        (0x1B80, "V"),
+        (0x1BF4, "X"),
+        (0x1BFC, "V"),
+        (0x1C38, "X"),
+        (0x1C3B, "V"),
+        (0x1C4A, "X"),
+        (0x1C4D, "V"),
+        (0x1C80, "M", "в"),
     ]
 
+
 def _seg_15() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1C81, 'M', 'д'),
-    (0x1C82, 'M', 'о'),
-    (0x1C83, 'M', 'с'),
-    (0x1C84, 'M', 'т'),
-    (0x1C86, 'M', 'ъ'),
-    (0x1C87, 'M', 'ѣ'),
-    (0x1C88, 'M', 'ꙋ'),
-    (0x1C89, 'X'),
-    (0x1C90, 'M', 'ა'),
-    (0x1C91, 'M', 'ბ'),
-    (0x1C92, 'M', 'გ'),
-    (0x1C93, 'M', 'დ'),
-    (0x1C94, 'M', 'ე'),
-    (0x1C95, 'M', 'ვ'),
-    (0x1C96, 'M', 'ზ'),
-    (0x1C97, 'M', 'თ'),
-    (0x1C98, 'M', 'ი'),
-    (0x1C99, 'M', 'კ'),
-    (0x1C9A, 'M', 'ლ'),
-    (0x1C9B, 'M', 'მ'),
-    (0x1C9C, 'M', 'ნ'),
-    (0x1C9D, 'M', 'ო'),
-    (0x1C9E, 'M', 'პ'),
-    (0x1C9F, 'M', 'ჟ'),
-    (0x1CA0, 'M', 'რ'),
-    (0x1CA1, 'M', 'ს'),
-    (0x1CA2, 'M', 'ტ'),
-    (0x1CA3, 'M', 'უ'),
-    (0x1CA4, 'M', 'ფ'),
-    (0x1CA5, 'M', 'ქ'),
-    (0x1CA6, 'M', 'ღ'),
-    (0x1CA7, 'M', 'ყ'),
-    (0x1CA8, 'M', 'შ'),
-    (0x1CA9, 'M', 'ჩ'),
-    (0x1CAA, 'M', 'ც'),
-    (0x1CAB, 'M', 'ძ'),
-    (0x1CAC, 'M', 'წ'),
-    (0x1CAD, 'M', 'ჭ'),
-    (0x1CAE, 'M', 'ხ'),
-    (0x1CAF, 'M', 'ჯ'),
-    (0x1CB0, 'M', 'ჰ'),
-    (0x1CB1, 'M', 'ჱ'),
-    (0x1CB2, 'M', 'ჲ'),
-    (0x1CB3, 'M', 'ჳ'),
-    (0x1CB4, 'M', 'ჴ'),
-    (0x1CB5, 'M', 'ჵ'),
-    (0x1CB6, 'M', 'ჶ'),
-    (0x1CB7, 'M', 'ჷ'),
-    (0x1CB8, 'M', 'ჸ'),
-    (0x1CB9, 'M', 'ჹ'),
-    (0x1CBA, 'M', 'ჺ'),
-    (0x1CBB, 'X'),
-    (0x1CBD, 'M', 'ჽ'),
-    (0x1CBE, 'M', 'ჾ'),
-    (0x1CBF, 'M', 'ჿ'),
-    (0x1CC0, 'V'),
-    (0x1CC8, 'X'),
-    (0x1CD0, 'V'),
-    (0x1CFB, 'X'),
-    (0x1D00, 'V'),
-    (0x1D2C, 'M', 'a'),
-    (0x1D2D, 'M', 'æ'),
-    (0x1D2E, 'M', 'b'),
-    (0x1D2F, 'V'),
-    (0x1D30, 'M', 'd'),
-    (0x1D31, 'M', 'e'),
-    (0x1D32, 'M', 'ǝ'),
-    (0x1D33, 'M', 'g'),
-    (0x1D34, 'M', 'h'),
-    (0x1D35, 'M', 'i'),
-    (0x1D36, 'M', 'j'),
-    (0x1D37, 'M', 'k'),
-    (0x1D38, 'M', 'l'),
-    (0x1D39, 'M', 'm'),
-    (0x1D3A, 'M', 'n'),
-    (0x1D3B, 'V'),
-    (0x1D3C, 'M', 'o'),
-    (0x1D3D, 'M', 'ȣ'),
-    (0x1D3E, 'M', 'p'),
-    (0x1D3F, 'M', 'r'),
-    (0x1D40, 'M', 't'),
-    (0x1D41, 'M', 'u'),
-    (0x1D42, 'M', 'w'),
-    (0x1D43, 'M', 'a'),
-    (0x1D44, 'M', 'ɐ'),
-    (0x1D45, 'M', 'ɑ'),
-    (0x1D46, 'M', 'ᴂ'),
-    (0x1D47, 'M', 'b'),
-    (0x1D48, 'M', 'd'),
-    (0x1D49, 'M', 'e'),
-    (0x1D4A, 'M', 'ə'),
-    (0x1D4B, 'M', 'ɛ'),
-    (0x1D4C, 'M', 'ɜ'),
-    (0x1D4D, 'M', 'g'),
-    (0x1D4E, 'V'),
-    (0x1D4F, 'M', 'k'),
-    (0x1D50, 'M', 'm'),
-    (0x1D51, 'M', 'ŋ'),
-    (0x1D52, 'M', 'o'),
-    (0x1D53, 'M', 'ɔ'),
+        (0x1C81, "M", "д"),
+        (0x1C82, "M", "о"),
+        (0x1C83, "M", "с"),
+        (0x1C84, "M", "т"),
+        (0x1C86, "M", "ъ"),
+        (0x1C87, "M", "ѣ"),
+        (0x1C88, "M", "ꙋ"),
+        (0x1C89, "X"),
+        (0x1C90, "M", "ა"),
+        (0x1C91, "M", "ბ"),
+        (0x1C92, "M", "გ"),
+        (0x1C93, "M", "დ"),
+        (0x1C94, "M", "ე"),
+        (0x1C95, "M", "ვ"),
+        (0x1C96, "M", "ზ"),
+        (0x1C97, "M", "თ"),
+        (0x1C98, "M", "ი"),
+        (0x1C99, "M", "კ"),
+        (0x1C9A, "M", "ლ"),
+        (0x1C9B, "M", "მ"),
+        (0x1C9C, "M", "ნ"),
+        (0x1C9D, "M", "ო"),
+        (0x1C9E, "M", "პ"),
+        (0x1C9F, "M", "ჟ"),
+        (0x1CA0, "M", "რ"),
+        (0x1CA1, "M", "ს"),
+        (0x1CA2, "M", "ტ"),
+        (0x1CA3, "M", "უ"),
+        (0x1CA4, "M", "ფ"),
+        (0x1CA5, "M", "ქ"),
+        (0x1CA6, "M", "ღ"),
+        (0x1CA7, "M", "ყ"),
+        (0x1CA8, "M", "შ"),
+        (0x1CA9, "M", "ჩ"),
+        (0x1CAA, "M", "ც"),
+        (0x1CAB, "M", "ძ"),
+        (0x1CAC, "M", "წ"),
+        (0x1CAD, "M", "ჭ"),
+        (0x1CAE, "M", "ხ"),
+        (0x1CAF, "M", "ჯ"),
+        (0x1CB0, "M", "ჰ"),
+        (0x1CB1, "M", "ჱ"),
+        (0x1CB2, "M", "ჲ"),
+        (0x1CB3, "M", "ჳ"),
+        (0x1CB4, "M", "ჴ"),
+        (0x1CB5, "M", "ჵ"),
+        (0x1CB6, "M", "ჶ"),
+        (0x1CB7, "M", "ჷ"),
+        (0x1CB8, "M", "ჸ"),
+        (0x1CB9, "M", "ჹ"),
+        (0x1CBA, "M", "ჺ"),
+        (0x1CBB, "X"),
+        (0x1CBD, "M", "ჽ"),
+        (0x1CBE, "M", "ჾ"),
+        (0x1CBF, "M", "ჿ"),
+        (0x1CC0, "V"),
+        (0x1CC8, "X"),
+        (0x1CD0, "V"),
+        (0x1CFB, "X"),
+        (0x1D00, "V"),
+        (0x1D2C, "M", "a"),
+        (0x1D2D, "M", "æ"),
+        (0x1D2E, "M", "b"),
+        (0x1D2F, "V"),
+        (0x1D30, "M", "d"),
+        (0x1D31, "M", "e"),
+        (0x1D32, "M", "ǝ"),
+        (0x1D33, "M", "g"),
+        (0x1D34, "M", "h"),
+        (0x1D35, "M", "i"),
+        (0x1D36, "M", "j"),
+        (0x1D37, "M", "k"),
+        (0x1D38, "M", "l"),
+        (0x1D39, "M", "m"),
+        (0x1D3A, "M", "n"),
+        (0x1D3B, "V"),
+        (0x1D3C, "M", "o"),
+        (0x1D3D, "M", "ȣ"),
+        (0x1D3E, "M", "p"),
+        (0x1D3F, "M", "r"),
+        (0x1D40, "M", "t"),
+        (0x1D41, "M", "u"),
+        (0x1D42, "M", "w"),
+        (0x1D43, "M", "a"),
+        (0x1D44, "M", "ɐ"),
+        (0x1D45, "M", "ɑ"),
+        (0x1D46, "M", "ᴂ"),
+        (0x1D47, "M", "b"),
+        (0x1D48, "M", "d"),
+        (0x1D49, "M", "e"),
+        (0x1D4A, "M", "ə"),
+        (0x1D4B, "M", "ɛ"),
+        (0x1D4C, "M", "ɜ"),
+        (0x1D4D, "M", "g"),
+        (0x1D4E, "V"),
+        (0x1D4F, "M", "k"),
+        (0x1D50, "M", "m"),
+        (0x1D51, "M", "ŋ"),
+        (0x1D52, "M", "o"),
+        (0x1D53, "M", "ɔ"),
     ]
 
+
 def _seg_16() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1D54, 'M', 'ᴖ'),
-    (0x1D55, 'M', 'ᴗ'),
-    (0x1D56, 'M', 'p'),
-    (0x1D57, 'M', 't'),
-    (0x1D58, 'M', 'u'),
-    (0x1D59, 'M', 'ᴝ'),
-    (0x1D5A, 'M', 'ɯ'),
-    (0x1D5B, 'M', 'v'),
-    (0x1D5C, 'M', 'ᴥ'),
-    (0x1D5D, 'M', 'β'),
-    (0x1D5E, 'M', 'γ'),
-    (0x1D5F, 'M', 'δ'),
-    (0x1D60, 'M', 'φ'),
-    (0x1D61, 'M', 'χ'),
-    (0x1D62, 'M', 'i'),
-    (0x1D63, 'M', 'r'),
-    (0x1D64, 'M', 'u'),
-    (0x1D65, 'M', 'v'),
-    (0x1D66, 'M', 'β'),
-    (0x1D67, 'M', 'γ'),
-    (0x1D68, 'M', 'ρ'),
-    (0x1D69, 'M', 'φ'),
-    (0x1D6A, 'M', 'χ'),
-    (0x1D6B, 'V'),
-    (0x1D78, 'M', 'н'),
-    (0x1D79, 'V'),
-    (0x1D9B, 'M', 'ɒ'),
-    (0x1D9C, 'M', 'c'),
-    (0x1D9D, 'M', 'ɕ'),
-    (0x1D9E, 'M', 'ð'),
-    (0x1D9F, 'M', 'ɜ'),
-    (0x1DA0, 'M', 'f'),
-    (0x1DA1, 'M', 'ɟ'),
-    (0x1DA2, 'M', 'ɡ'),
-    (0x1DA3, 'M', 'ɥ'),
-    (0x1DA4, 'M', 'ɨ'),
-    (0x1DA5, 'M', 'ɩ'),
-    (0x1DA6, 'M', 'ɪ'),
-    (0x1DA7, 'M', 'ᵻ'),
-    (0x1DA8, 'M', 'ʝ'),
-    (0x1DA9, 'M', 'ɭ'),
-    (0x1DAA, 'M', 'ᶅ'),
-    (0x1DAB, 'M', 'ʟ'),
-    (0x1DAC, 'M', 'ɱ'),
-    (0x1DAD, 'M', 'ɰ'),
-    (0x1DAE, 'M', 'ɲ'),
-    (0x1DAF, 'M', 'ɳ'),
-    (0x1DB0, 'M', 'ɴ'),
-    (0x1DB1, 'M', 'ɵ'),
-    (0x1DB2, 'M', 'ɸ'),
-    (0x1DB3, 'M', 'ʂ'),
-    (0x1DB4, 'M', 'ʃ'),
-    (0x1DB5, 'M', 'ƫ'),
-    (0x1DB6, 'M', 'ʉ'),
-    (0x1DB7, 'M', 'ʊ'),
-    (0x1DB8, 'M', 'ᴜ'),
-    (0x1DB9, 'M', 'ʋ'),
-    (0x1DBA, 'M', 'ʌ'),
-    (0x1DBB, 'M', 'z'),
-    (0x1DBC, 'M', 'ʐ'),
-    (0x1DBD, 'M', 'ʑ'),
-    (0x1DBE, 'M', 'ʒ'),
-    (0x1DBF, 'M', 'θ'),
-    (0x1DC0, 'V'),
-    (0x1E00, 'M', 'ḁ'),
-    (0x1E01, 'V'),
-    (0x1E02, 'M', 'ḃ'),
-    (0x1E03, 'V'),
-    (0x1E04, 'M', 'ḅ'),
-    (0x1E05, 'V'),
-    (0x1E06, 'M', 'ḇ'),
-    (0x1E07, 'V'),
-    (0x1E08, 'M', 'ḉ'),
-    (0x1E09, 'V'),
-    (0x1E0A, 'M', 'ḋ'),
-    (0x1E0B, 'V'),
-    (0x1E0C, 'M', 'ḍ'),
-    (0x1E0D, 'V'),
-    (0x1E0E, 'M', 'ḏ'),
-    (0x1E0F, 'V'),
-    (0x1E10, 'M', 'ḑ'),
-    (0x1E11, 'V'),
-    (0x1E12, 'M', 'ḓ'),
-    (0x1E13, 'V'),
-    (0x1E14, 'M', 'ḕ'),
-    (0x1E15, 'V'),
-    (0x1E16, 'M', 'ḗ'),
-    (0x1E17, 'V'),
-    (0x1E18, 'M', 'ḙ'),
-    (0x1E19, 'V'),
-    (0x1E1A, 'M', 'ḛ'),
-    (0x1E1B, 'V'),
-    (0x1E1C, 'M', 'ḝ'),
-    (0x1E1D, 'V'),
-    (0x1E1E, 'M', 'ḟ'),
-    (0x1E1F, 'V'),
-    (0x1E20, 'M', 'ḡ'),
-    (0x1E21, 'V'),
-    (0x1E22, 'M', 'ḣ'),
-    (0x1E23, 'V'),
+        (0x1D54, "M", "ᴖ"),
+        (0x1D55, "M", "ᴗ"),
+        (0x1D56, "M", "p"),
+        (0x1D57, "M", "t"),
+        (0x1D58, "M", "u"),
+        (0x1D59, "M", "ᴝ"),
+        (0x1D5A, "M", "ɯ"),
+        (0x1D5B, "M", "v"),
+        (0x1D5C, "M", "ᴥ"),
+        (0x1D5D, "M", "β"),
+        (0x1D5E, "M", "γ"),
+        (0x1D5F, "M", "δ"),
+        (0x1D60, "M", "φ"),
+        (0x1D61, "M", "χ"),
+        (0x1D62, "M", "i"),
+        (0x1D63, "M", "r"),
+        (0x1D64, "M", "u"),
+        (0x1D65, "M", "v"),
+        (0x1D66, "M", "β"),
+        (0x1D67, "M", "γ"),
+        (0x1D68, "M", "ρ"),
+        (0x1D69, "M", "φ"),
+        (0x1D6A, "M", "χ"),
+        (0x1D6B, "V"),
+        (0x1D78, "M", "н"),
+        (0x1D79, "V"),
+        (0x1D9B, "M", "ɒ"),
+        (0x1D9C, "M", "c"),
+        (0x1D9D, "M", "ɕ"),
+        (0x1D9E, "M", "ð"),
+        (0x1D9F, "M", "ɜ"),
+        (0x1DA0, "M", "f"),
+        (0x1DA1, "M", "ɟ"),
+        (0x1DA2, "M", "ɡ"),
+        (0x1DA3, "M", "ɥ"),
+        (0x1DA4, "M", "ɨ"),
+        (0x1DA5, "M", "ɩ"),
+        (0x1DA6, "M", "ɪ"),
+        (0x1DA7, "M", "ᵻ"),
+        (0x1DA8, "M", "ʝ"),
+        (0x1DA9, "M", "ɭ"),
+        (0x1DAA, "M", "ᶅ"),
+        (0x1DAB, "M", "ʟ"),
+        (0x1DAC, "M", "ɱ"),
+        (0x1DAD, "M", "ɰ"),
+        (0x1DAE, "M", "ɲ"),
+        (0x1DAF, "M", "ɳ"),
+        (0x1DB0, "M", "ɴ"),
+        (0x1DB1, "M", "ɵ"),
+        (0x1DB2, "M", "ɸ"),
+        (0x1DB3, "M", "ʂ"),
+        (0x1DB4, "M", "ʃ"),
+        (0x1DB5, "M", "ƫ"),
+        (0x1DB6, "M", "ʉ"),
+        (0x1DB7, "M", "ʊ"),
+        (0x1DB8, "M", "ᴜ"),
+        (0x1DB9, "M", "ʋ"),
+        (0x1DBA, "M", "ʌ"),
+        (0x1DBB, "M", "z"),
+        (0x1DBC, "M", "ʐ"),
+        (0x1DBD, "M", "ʑ"),
+        (0x1DBE, "M", "ʒ"),
+        (0x1DBF, "M", "θ"),
+        (0x1DC0, "V"),
+        (0x1E00, "M", "ḁ"),
+        (0x1E01, "V"),
+        (0x1E02, "M", "ḃ"),
+        (0x1E03, "V"),
+        (0x1E04, "M", "ḅ"),
+        (0x1E05, "V"),
+        (0x1E06, "M", "ḇ"),
+        (0x1E07, "V"),
+        (0x1E08, "M", "ḉ"),
+        (0x1E09, "V"),
+        (0x1E0A, "M", "ḋ"),
+        (0x1E0B, "V"),
+        (0x1E0C, "M", "ḍ"),
+        (0x1E0D, "V"),
+        (0x1E0E, "M", "ḏ"),
+        (0x1E0F, "V"),
+        (0x1E10, "M", "ḑ"),
+        (0x1E11, "V"),
+        (0x1E12, "M", "ḓ"),
+        (0x1E13, "V"),
+        (0x1E14, "M", "ḕ"),
+        (0x1E15, "V"),
+        (0x1E16, "M", "ḗ"),
+        (0x1E17, "V"),
+        (0x1E18, "M", "ḙ"),
+        (0x1E19, "V"),
+        (0x1E1A, "M", "ḛ"),
+        (0x1E1B, "V"),
+        (0x1E1C, "M", "ḝ"),
+        (0x1E1D, "V"),
+        (0x1E1E, "M", "ḟ"),
+        (0x1E1F, "V"),
+        (0x1E20, "M", "ḡ"),
+        (0x1E21, "V"),
+        (0x1E22, "M", "ḣ"),
+        (0x1E23, "V"),
     ]
 
+
 def _seg_17() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1E24, 'M', 'ḥ'),
-    (0x1E25, 'V'),
-    (0x1E26, 'M', 'ḧ'),
-    (0x1E27, 'V'),
-    (0x1E28, 'M', 'ḩ'),
-    (0x1E29, 'V'),
-    (0x1E2A, 'M', 'ḫ'),
-    (0x1E2B, 'V'),
-    (0x1E2C, 'M', 'ḭ'),
-    (0x1E2D, 'V'),
-    (0x1E2E, 'M', 'ḯ'),
-    (0x1E2F, 'V'),
-    (0x1E30, 'M', 'ḱ'),
-    (0x1E31, 'V'),
-    (0x1E32, 'M', 'ḳ'),
-    (0x1E33, 'V'),
-    (0x1E34, 'M', 'ḵ'),
-    (0x1E35, 'V'),
-    (0x1E36, 'M', 'ḷ'),
-    (0x1E37, 'V'),
-    (0x1E38, 'M', 'ḹ'),
-    (0x1E39, 'V'),
-    (0x1E3A, 'M', 'ḻ'),
-    (0x1E3B, 'V'),
-    (0x1E3C, 'M', 'ḽ'),
-    (0x1E3D, 'V'),
-    (0x1E3E, 'M', 'ḿ'),
-    (0x1E3F, 'V'),
-    (0x1E40, 'M', 'ṁ'),
-    (0x1E41, 'V'),
-    (0x1E42, 'M', 'ṃ'),
-    (0x1E43, 'V'),
-    (0x1E44, 'M', 'ṅ'),
-    (0x1E45, 'V'),
-    (0x1E46, 'M', 'ṇ'),
-    (0x1E47, 'V'),
-    (0x1E48, 'M', 'ṉ'),
-    (0x1E49, 'V'),
-    (0x1E4A, 'M', 'ṋ'),
-    (0x1E4B, 'V'),
-    (0x1E4C, 'M', 'ṍ'),
-    (0x1E4D, 'V'),
-    (0x1E4E, 'M', 'ṏ'),
-    (0x1E4F, 'V'),
-    (0x1E50, 'M', 'ṑ'),
-    (0x1E51, 'V'),
-    (0x1E52, 'M', 'ṓ'),
-    (0x1E53, 'V'),
-    (0x1E54, 'M', 'ṕ'),
-    (0x1E55, 'V'),
-    (0x1E56, 'M', 'ṗ'),
-    (0x1E57, 'V'),
-    (0x1E58, 'M', 'ṙ'),
-    (0x1E59, 'V'),
-    (0x1E5A, 'M', 'ṛ'),
-    (0x1E5B, 'V'),
-    (0x1E5C, 'M', 'ṝ'),
-    (0x1E5D, 'V'),
-    (0x1E5E, 'M', 'ṟ'),
-    (0x1E5F, 'V'),
-    (0x1E60, 'M', 'ṡ'),
-    (0x1E61, 'V'),
-    (0x1E62, 'M', 'ṣ'),
-    (0x1E63, 'V'),
-    (0x1E64, 'M', 'ṥ'),
-    (0x1E65, 'V'),
-    (0x1E66, 'M', 'ṧ'),
-    (0x1E67, 'V'),
-    (0x1E68, 'M', 'ṩ'),
-    (0x1E69, 'V'),
-    (0x1E6A, 'M', 'ṫ'),
-    (0x1E6B, 'V'),
-    (0x1E6C, 'M', 'ṭ'),
-    (0x1E6D, 'V'),
-    (0x1E6E, 'M', 'ṯ'),
-    (0x1E6F, 'V'),
-    (0x1E70, 'M', 'ṱ'),
-    (0x1E71, 'V'),
-    (0x1E72, 'M', 'ṳ'),
-    (0x1E73, 'V'),
-    (0x1E74, 'M', 'ṵ'),
-    (0x1E75, 'V'),
-    (0x1E76, 'M', 'ṷ'),
-    (0x1E77, 'V'),
-    (0x1E78, 'M', 'ṹ'),
-    (0x1E79, 'V'),
-    (0x1E7A, 'M', 'ṻ'),
-    (0x1E7B, 'V'),
-    (0x1E7C, 'M', 'ṽ'),
-    (0x1E7D, 'V'),
-    (0x1E7E, 'M', 'ṿ'),
-    (0x1E7F, 'V'),
-    (0x1E80, 'M', 'ẁ'),
-    (0x1E81, 'V'),
-    (0x1E82, 'M', 'ẃ'),
-    (0x1E83, 'V'),
-    (0x1E84, 'M', 'ẅ'),
-    (0x1E85, 'V'),
-    (0x1E86, 'M', 'ẇ'),
-    (0x1E87, 'V'),
+        (0x1E24, "M", "ḥ"),
+        (0x1E25, "V"),
+        (0x1E26, "M", "ḧ"),
+        (0x1E27, "V"),
+        (0x1E28, "M", "ḩ"),
+        (0x1E29, "V"),
+        (0x1E2A, "M", "ḫ"),
+        (0x1E2B, "V"),
+        (0x1E2C, "M", "ḭ"),
+        (0x1E2D, "V"),
+        (0x1E2E, "M", "ḯ"),
+        (0x1E2F, "V"),
+        (0x1E30, "M", "ḱ"),
+        (0x1E31, "V"),
+        (0x1E32, "M", "ḳ"),
+        (0x1E33, "V"),
+        (0x1E34, "M", "ḵ"),
+        (0x1E35, "V"),
+        (0x1E36, "M", "ḷ"),
+        (0x1E37, "V"),
+        (0x1E38, "M", "ḹ"),
+        (0x1E39, "V"),
+        (0x1E3A, "M", "ḻ"),
+        (0x1E3B, "V"),
+        (0x1E3C, "M", "ḽ"),
+        (0x1E3D, "V"),
+        (0x1E3E, "M", "ḿ"),
+        (0x1E3F, "V"),
+        (0x1E40, "M", "ṁ"),
+        (0x1E41, "V"),
+        (0x1E42, "M", "ṃ"),
+        (0x1E43, "V"),
+        (0x1E44, "M", "ṅ"),
+        (0x1E45, "V"),
+        (0x1E46, "M", "ṇ"),
+        (0x1E47, "V"),
+        (0x1E48, "M", "ṉ"),
+        (0x1E49, "V"),
+        (0x1E4A, "M", "ṋ"),
+        (0x1E4B, "V"),
+        (0x1E4C, "M", "ṍ"),
+        (0x1E4D, "V"),
+        (0x1E4E, "M", "ṏ"),
+        (0x1E4F, "V"),
+        (0x1E50, "M", "ṑ"),
+        (0x1E51, "V"),
+        (0x1E52, "M", "ṓ"),
+        (0x1E53, "V"),
+        (0x1E54, "M", "ṕ"),
+        (0x1E55, "V"),
+        (0x1E56, "M", "ṗ"),
+        (0x1E57, "V"),
+        (0x1E58, "M", "ṙ"),
+        (0x1E59, "V"),
+        (0x1E5A, "M", "ṛ"),
+        (0x1E5B, "V"),
+        (0x1E5C, "M", "ṝ"),
+        (0x1E5D, "V"),
+        (0x1E5E, "M", "ṟ"),
+        (0x1E5F, "V"),
+        (0x1E60, "M", "ṡ"),
+        (0x1E61, "V"),
+        (0x1E62, "M", "ṣ"),
+        (0x1E63, "V"),
+        (0x1E64, "M", "ṥ"),
+        (0x1E65, "V"),
+        (0x1E66, "M", "ṧ"),
+        (0x1E67, "V"),
+        (0x1E68, "M", "ṩ"),
+        (0x1E69, "V"),
+        (0x1E6A, "M", "ṫ"),
+        (0x1E6B, "V"),
+        (0x1E6C, "M", "ṭ"),
+        (0x1E6D, "V"),
+        (0x1E6E, "M", "ṯ"),
+        (0x1E6F, "V"),
+        (0x1E70, "M", "ṱ"),
+        (0x1E71, "V"),
+        (0x1E72, "M", "ṳ"),
+        (0x1E73, "V"),
+        (0x1E74, "M", "ṵ"),
+        (0x1E75, "V"),
+        (0x1E76, "M", "ṷ"),
+        (0x1E77, "V"),
+        (0x1E78, "M", "ṹ"),
+        (0x1E79, "V"),
+        (0x1E7A, "M", "ṻ"),
+        (0x1E7B, "V"),
+        (0x1E7C, "M", "ṽ"),
+        (0x1E7D, "V"),
+        (0x1E7E, "M", "ṿ"),
+        (0x1E7F, "V"),
+        (0x1E80, "M", "ẁ"),
+        (0x1E81, "V"),
+        (0x1E82, "M", "ẃ"),
+        (0x1E83, "V"),
+        (0x1E84, "M", "ẅ"),
+        (0x1E85, "V"),
+        (0x1E86, "M", "ẇ"),
+        (0x1E87, "V"),
     ]
 
+
 def _seg_18() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1E88, 'M', 'ẉ'),
-    (0x1E89, 'V'),
-    (0x1E8A, 'M', 'ẋ'),
-    (0x1E8B, 'V'),
-    (0x1E8C, 'M', 'ẍ'),
-    (0x1E8D, 'V'),
-    (0x1E8E, 'M', 'ẏ'),
-    (0x1E8F, 'V'),
-    (0x1E90, 'M', 'ẑ'),
-    (0x1E91, 'V'),
-    (0x1E92, 'M', 'ẓ'),
-    (0x1E93, 'V'),
-    (0x1E94, 'M', 'ẕ'),
-    (0x1E95, 'V'),
-    (0x1E9A, 'M', 'aʾ'),
-    (0x1E9B, 'M', 'ṡ'),
-    (0x1E9C, 'V'),
-    (0x1E9E, 'M', 'ss'),
-    (0x1E9F, 'V'),
-    (0x1EA0, 'M', 'ạ'),
-    (0x1EA1, 'V'),
-    (0x1EA2, 'M', 'ả'),
-    (0x1EA3, 'V'),
-    (0x1EA4, 'M', 'ấ'),
-    (0x1EA5, 'V'),
-    (0x1EA6, 'M', 'ầ'),
-    (0x1EA7, 'V'),
-    (0x1EA8, 'M', 'ẩ'),
-    (0x1EA9, 'V'),
-    (0x1EAA, 'M', 'ẫ'),
-    (0x1EAB, 'V'),
-    (0x1EAC, 'M', 'ậ'),
-    (0x1EAD, 'V'),
-    (0x1EAE, 'M', 'ắ'),
-    (0x1EAF, 'V'),
-    (0x1EB0, 'M', 'ằ'),
-    (0x1EB1, 'V'),
-    (0x1EB2, 'M', 'ẳ'),
-    (0x1EB3, 'V'),
-    (0x1EB4, 'M', 'ẵ'),
-    (0x1EB5, 'V'),
-    (0x1EB6, 'M', 'ặ'),
-    (0x1EB7, 'V'),
-    (0x1EB8, 'M', 'ẹ'),
-    (0x1EB9, 'V'),
-    (0x1EBA, 'M', 'ẻ'),
-    (0x1EBB, 'V'),
-    (0x1EBC, 'M', 'ẽ'),
-    (0x1EBD, 'V'),
-    (0x1EBE, 'M', 'ế'),
-    (0x1EBF, 'V'),
-    (0x1EC0, 'M', 'ề'),
-    (0x1EC1, 'V'),
-    (0x1EC2, 'M', 'ể'),
-    (0x1EC3, 'V'),
-    (0x1EC4, 'M', 'ễ'),
-    (0x1EC5, 'V'),
-    (0x1EC6, 'M', 'ệ'),
-    (0x1EC7, 'V'),
-    (0x1EC8, 'M', 'ỉ'),
-    (0x1EC9, 'V'),
-    (0x1ECA, 'M', 'ị'),
-    (0x1ECB, 'V'),
-    (0x1ECC, 'M', 'ọ'),
-    (0x1ECD, 'V'),
-    (0x1ECE, 'M', 'ỏ'),
-    (0x1ECF, 'V'),
-    (0x1ED0, 'M', 'ố'),
-    (0x1ED1, 'V'),
-    (0x1ED2, 'M', 'ồ'),
-    (0x1ED3, 'V'),
-    (0x1ED4, 'M', 'ổ'),
-    (0x1ED5, 'V'),
-    (0x1ED6, 'M', 'ỗ'),
-    (0x1ED7, 'V'),
-    (0x1ED8, 'M', 'ộ'),
-    (0x1ED9, 'V'),
-    (0x1EDA, 'M', 'ớ'),
-    (0x1EDB, 'V'),
-    (0x1EDC, 'M', 'ờ'),
-    (0x1EDD, 'V'),
-    (0x1EDE, 'M', 'ở'),
-    (0x1EDF, 'V'),
-    (0x1EE0, 'M', 'ỡ'),
-    (0x1EE1, 'V'),
-    (0x1EE2, 'M', 'ợ'),
-    (0x1EE3, 'V'),
-    (0x1EE4, 'M', 'ụ'),
-    (0x1EE5, 'V'),
-    (0x1EE6, 'M', 'ủ'),
-    (0x1EE7, 'V'),
-    (0x1EE8, 'M', 'ứ'),
-    (0x1EE9, 'V'),
-    (0x1EEA, 'M', 'ừ'),
-    (0x1EEB, 'V'),
-    (0x1EEC, 'M', 'ử'),
-    (0x1EED, 'V'),
-    (0x1EEE, 'M', 'ữ'),
-    (0x1EEF, 'V'),
-    (0x1EF0, 'M', 'ự'),
+        (0x1E88, "M", "ẉ"),
+        (0x1E89, "V"),
+        (0x1E8A, "M", "ẋ"),
+        (0x1E8B, "V"),
+        (0x1E8C, "M", "ẍ"),
+        (0x1E8D, "V"),
+        (0x1E8E, "M", "ẏ"),
+        (0x1E8F, "V"),
+        (0x1E90, "M", "ẑ"),
+        (0x1E91, "V"),
+        (0x1E92, "M", "ẓ"),
+        (0x1E93, "V"),
+        (0x1E94, "M", "ẕ"),
+        (0x1E95, "V"),
+        (0x1E9A, "M", "aʾ"),
+        (0x1E9B, "M", "ṡ"),
+        (0x1E9C, "V"),
+        (0x1E9E, "M", "ß"),
+        (0x1E9F, "V"),
+        (0x1EA0, "M", "ạ"),
+        (0x1EA1, "V"),
+        (0x1EA2, "M", "ả"),
+        (0x1EA3, "V"),
+        (0x1EA4, "M", "ấ"),
+        (0x1EA5, "V"),
+        (0x1EA6, "M", "ầ"),
+        (0x1EA7, "V"),
+        (0x1EA8, "M", "ẩ"),
+        (0x1EA9, "V"),
+        (0x1EAA, "M", "ẫ"),
+        (0x1EAB, "V"),
+        (0x1EAC, "M", "ậ"),
+        (0x1EAD, "V"),
+        (0x1EAE, "M", "ắ"),
+        (0x1EAF, "V"),
+        (0x1EB0, "M", "ằ"),
+        (0x1EB1, "V"),
+        (0x1EB2, "M", "ẳ"),
+        (0x1EB3, "V"),
+        (0x1EB4, "M", "ẵ"),
+        (0x1EB5, "V"),
+        (0x1EB6, "M", "ặ"),
+        (0x1EB7, "V"),
+        (0x1EB8, "M", "ẹ"),
+        (0x1EB9, "V"),
+        (0x1EBA, "M", "ẻ"),
+        (0x1EBB, "V"),
+        (0x1EBC, "M", "ẽ"),
+        (0x1EBD, "V"),
+        (0x1EBE, "M", "ế"),
+        (0x1EBF, "V"),
+        (0x1EC0, "M", "ề"),
+        (0x1EC1, "V"),
+        (0x1EC2, "M", "ể"),
+        (0x1EC3, "V"),
+        (0x1EC4, "M", "ễ"),
+        (0x1EC5, "V"),
+        (0x1EC6, "M", "ệ"),
+        (0x1EC7, "V"),
+        (0x1EC8, "M", "ỉ"),
+        (0x1EC9, "V"),
+        (0x1ECA, "M", "ị"),
+        (0x1ECB, "V"),
+        (0x1ECC, "M", "ọ"),
+        (0x1ECD, "V"),
+        (0x1ECE, "M", "ỏ"),
+        (0x1ECF, "V"),
+        (0x1ED0, "M", "ố"),
+        (0x1ED1, "V"),
+        (0x1ED2, "M", "ồ"),
+        (0x1ED3, "V"),
+        (0x1ED4, "M", "ổ"),
+        (0x1ED5, "V"),
+        (0x1ED6, "M", "ỗ"),
+        (0x1ED7, "V"),
+        (0x1ED8, "M", "ộ"),
+        (0x1ED9, "V"),
+        (0x1EDA, "M", "ớ"),
+        (0x1EDB, "V"),
+        (0x1EDC, "M", "ờ"),
+        (0x1EDD, "V"),
+        (0x1EDE, "M", "ở"),
+        (0x1EDF, "V"),
+        (0x1EE0, "M", "ỡ"),
+        (0x1EE1, "V"),
+        (0x1EE2, "M", "ợ"),
+        (0x1EE3, "V"),
+        (0x1EE4, "M", "ụ"),
+        (0x1EE5, "V"),
+        (0x1EE6, "M", "ủ"),
+        (0x1EE7, "V"),
+        (0x1EE8, "M", "ứ"),
+        (0x1EE9, "V"),
+        (0x1EEA, "M", "ừ"),
+        (0x1EEB, "V"),
+        (0x1EEC, "M", "ử"),
+        (0x1EED, "V"),
+        (0x1EEE, "M", "ữ"),
+        (0x1EEF, "V"),
+        (0x1EF0, "M", "ự"),
     ]
 
+
 def _seg_19() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1EF1, 'V'),
-    (0x1EF2, 'M', 'ỳ'),
-    (0x1EF3, 'V'),
-    (0x1EF4, 'M', 'ỵ'),
-    (0x1EF5, 'V'),
-    (0x1EF6, 'M', 'ỷ'),
-    (0x1EF7, 'V'),
-    (0x1EF8, 'M', 'ỹ'),
-    (0x1EF9, 'V'),
-    (0x1EFA, 'M', 'ỻ'),
-    (0x1EFB, 'V'),
-    (0x1EFC, 'M', 'ỽ'),
-    (0x1EFD, 'V'),
-    (0x1EFE, 'M', 'ỿ'),
-    (0x1EFF, 'V'),
-    (0x1F08, 'M', 'ἀ'),
-    (0x1F09, 'M', 'ἁ'),
-    (0x1F0A, 'M', 'ἂ'),
-    (0x1F0B, 'M', 'ἃ'),
-    (0x1F0C, 'M', 'ἄ'),
-    (0x1F0D, 'M', 'ἅ'),
-    (0x1F0E, 'M', 'ἆ'),
-    (0x1F0F, 'M', 'ἇ'),
-    (0x1F10, 'V'),
-    (0x1F16, 'X'),
-    (0x1F18, 'M', 'ἐ'),
-    (0x1F19, 'M', 'ἑ'),
-    (0x1F1A, 'M', 'ἒ'),
-    (0x1F1B, 'M', 'ἓ'),
-    (0x1F1C, 'M', 'ἔ'),
-    (0x1F1D, 'M', 'ἕ'),
-    (0x1F1E, 'X'),
-    (0x1F20, 'V'),
-    (0x1F28, 'M', 'ἠ'),
-    (0x1F29, 'M', 'ἡ'),
-    (0x1F2A, 'M', 'ἢ'),
-    (0x1F2B, 'M', 'ἣ'),
-    (0x1F2C, 'M', 'ἤ'),
-    (0x1F2D, 'M', 'ἥ'),
-    (0x1F2E, 'M', 'ἦ'),
-    (0x1F2F, 'M', 'ἧ'),
-    (0x1F30, 'V'),
-    (0x1F38, 'M', 'ἰ'),
-    (0x1F39, 'M', 'ἱ'),
-    (0x1F3A, 'M', 'ἲ'),
-    (0x1F3B, 'M', 'ἳ'),
-    (0x1F3C, 'M', 'ἴ'),
-    (0x1F3D, 'M', 'ἵ'),
-    (0x1F3E, 'M', 'ἶ'),
-    (0x1F3F, 'M', 'ἷ'),
-    (0x1F40, 'V'),
-    (0x1F46, 'X'),
-    (0x1F48, 'M', 'ὀ'),
-    (0x1F49, 'M', 'ὁ'),
-    (0x1F4A, 'M', 'ὂ'),
-    (0x1F4B, 'M', 'ὃ'),
-    (0x1F4C, 'M', 'ὄ'),
-    (0x1F4D, 'M', 'ὅ'),
-    (0x1F4E, 'X'),
-    (0x1F50, 'V'),
-    (0x1F58, 'X'),
-    (0x1F59, 'M', 'ὑ'),
-    (0x1F5A, 'X'),
-    (0x1F5B, 'M', 'ὓ'),
-    (0x1F5C, 'X'),
-    (0x1F5D, 'M', 'ὕ'),
-    (0x1F5E, 'X'),
-    (0x1F5F, 'M', 'ὗ'),
-    (0x1F60, 'V'),
-    (0x1F68, 'M', 'ὠ'),
-    (0x1F69, 'M', 'ὡ'),
-    (0x1F6A, 'M', 'ὢ'),
-    (0x1F6B, 'M', 'ὣ'),
-    (0x1F6C, 'M', 'ὤ'),
-    (0x1F6D, 'M', 'ὥ'),
-    (0x1F6E, 'M', 'ὦ'),
-    (0x1F6F, 'M', 'ὧ'),
-    (0x1F70, 'V'),
-    (0x1F71, 'M', 'ά'),
-    (0x1F72, 'V'),
-    (0x1F73, 'M', 'έ'),
-    (0x1F74, 'V'),
-    (0x1F75, 'M', 'ή'),
-    (0x1F76, 'V'),
-    (0x1F77, 'M', 'ί'),
-    (0x1F78, 'V'),
-    (0x1F79, 'M', 'ό'),
-    (0x1F7A, 'V'),
-    (0x1F7B, 'M', 'ύ'),
-    (0x1F7C, 'V'),
-    (0x1F7D, 'M', 'ώ'),
-    (0x1F7E, 'X'),
-    (0x1F80, 'M', 'ἀι'),
-    (0x1F81, 'M', 'ἁι'),
-    (0x1F82, 'M', 'ἂι'),
-    (0x1F83, 'M', 'ἃι'),
-    (0x1F84, 'M', 'ἄι'),
-    (0x1F85, 'M', 'ἅι'),
-    (0x1F86, 'M', 'ἆι'),
-    (0x1F87, 'M', 'ἇι'),
+        (0x1EF1, "V"),
+        (0x1EF2, "M", "ỳ"),
+        (0x1EF3, "V"),
+        (0x1EF4, "M", "ỵ"),
+        (0x1EF5, "V"),
+        (0x1EF6, "M", "ỷ"),
+        (0x1EF7, "V"),
+        (0x1EF8, "M", "ỹ"),
+        (0x1EF9, "V"),
+        (0x1EFA, "M", "ỻ"),
+        (0x1EFB, "V"),
+        (0x1EFC, "M", "ỽ"),
+        (0x1EFD, "V"),
+        (0x1EFE, "M", "ỿ"),
+        (0x1EFF, "V"),
+        (0x1F08, "M", "ἀ"),
+        (0x1F09, "M", "ἁ"),
+        (0x1F0A, "M", "ἂ"),
+        (0x1F0B, "M", "ἃ"),
+        (0x1F0C, "M", "ἄ"),
+        (0x1F0D, "M", "ἅ"),
+        (0x1F0E, "M", "ἆ"),
+        (0x1F0F, "M", "ἇ"),
+        (0x1F10, "V"),
+        (0x1F16, "X"),
+        (0x1F18, "M", "ἐ"),
+        (0x1F19, "M", "ἑ"),
+        (0x1F1A, "M", "ἒ"),
+        (0x1F1B, "M", "ἓ"),
+        (0x1F1C, "M", "ἔ"),
+        (0x1F1D, "M", "ἕ"),
+        (0x1F1E, "X"),
+        (0x1F20, "V"),
+        (0x1F28, "M", "ἠ"),
+        (0x1F29, "M", "ἡ"),
+        (0x1F2A, "M", "ἢ"),
+        (0x1F2B, "M", "ἣ"),
+        (0x1F2C, "M", "ἤ"),
+        (0x1F2D, "M", "ἥ"),
+        (0x1F2E, "M", "ἦ"),
+        (0x1F2F, "M", "ἧ"),
+        (0x1F30, "V"),
+        (0x1F38, "M", "ἰ"),
+        (0x1F39, "M", "ἱ"),
+        (0x1F3A, "M", "ἲ"),
+        (0x1F3B, "M", "ἳ"),
+        (0x1F3C, "M", "ἴ"),
+        (0x1F3D, "M", "ἵ"),
+        (0x1F3E, "M", "ἶ"),
+        (0x1F3F, "M", "ἷ"),
+        (0x1F40, "V"),
+        (0x1F46, "X"),
+        (0x1F48, "M", "ὀ"),
+        (0x1F49, "M", "ὁ"),
+        (0x1F4A, "M", "ὂ"),
+        (0x1F4B, "M", "ὃ"),
+        (0x1F4C, "M", "ὄ"),
+        (0x1F4D, "M", "ὅ"),
+        (0x1F4E, "X"),
+        (0x1F50, "V"),
+        (0x1F58, "X"),
+        (0x1F59, "M", "ὑ"),
+        (0x1F5A, "X"),
+        (0x1F5B, "M", "ὓ"),
+        (0x1F5C, "X"),
+        (0x1F5D, "M", "ὕ"),
+        (0x1F5E, "X"),
+        (0x1F5F, "M", "ὗ"),
+        (0x1F60, "V"),
+        (0x1F68, "M", "ὠ"),
+        (0x1F69, "M", "ὡ"),
+        (0x1F6A, "M", "ὢ"),
+        (0x1F6B, "M", "ὣ"),
+        (0x1F6C, "M", "ὤ"),
+        (0x1F6D, "M", "ὥ"),
+        (0x1F6E, "M", "ὦ"),
+        (0x1F6F, "M", "ὧ"),
+        (0x1F70, "V"),
+        (0x1F71, "M", "ά"),
+        (0x1F72, "V"),
+        (0x1F73, "M", "έ"),
+        (0x1F74, "V"),
+        (0x1F75, "M", "ή"),
+        (0x1F76, "V"),
+        (0x1F77, "M", "ί"),
+        (0x1F78, "V"),
+        (0x1F79, "M", "ό"),
+        (0x1F7A, "V"),
+        (0x1F7B, "M", "ύ"),
+        (0x1F7C, "V"),
+        (0x1F7D, "M", "ώ"),
+        (0x1F7E, "X"),
+        (0x1F80, "M", "ἀι"),
+        (0x1F81, "M", "ἁι"),
+        (0x1F82, "M", "ἂι"),
+        (0x1F83, "M", "ἃι"),
+        (0x1F84, "M", "ἄι"),
+        (0x1F85, "M", "ἅι"),
+        (0x1F86, "M", "ἆι"),
+        (0x1F87, "M", "ἇι"),
     ]
 
+
 def _seg_20() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1F88, 'M', 'ἀι'),
-    (0x1F89, 'M', 'ἁι'),
-    (0x1F8A, 'M', 'ἂι'),
-    (0x1F8B, 'M', 'ἃι'),
-    (0x1F8C, 'M', 'ἄι'),
-    (0x1F8D, 'M', 'ἅι'),
-    (0x1F8E, 'M', 'ἆι'),
-    (0x1F8F, 'M', 'ἇι'),
-    (0x1F90, 'M', 'ἠι'),
-    (0x1F91, 'M', 'ἡι'),
-    (0x1F92, 'M', 'ἢι'),
-    (0x1F93, 'M', 'ἣι'),
-    (0x1F94, 'M', 'ἤι'),
-    (0x1F95, 'M', 'ἥι'),
-    (0x1F96, 'M', 'ἦι'),
-    (0x1F97, 'M', 'ἧι'),
-    (0x1F98, 'M', 'ἠι'),
-    (0x1F99, 'M', 'ἡι'),
-    (0x1F9A, 'M', 'ἢι'),
-    (0x1F9B, 'M', 'ἣι'),
-    (0x1F9C, 'M', 'ἤι'),
-    (0x1F9D, 'M', 'ἥι'),
-    (0x1F9E, 'M', 'ἦι'),
-    (0x1F9F, 'M', 'ἧι'),
-    (0x1FA0, 'M', 'ὠι'),
-    (0x1FA1, 'M', 'ὡι'),
-    (0x1FA2, 'M', 'ὢι'),
-    (0x1FA3, 'M', 'ὣι'),
-    (0x1FA4, 'M', 'ὤι'),
-    (0x1FA5, 'M', 'ὥι'),
-    (0x1FA6, 'M', 'ὦι'),
-    (0x1FA7, 'M', 'ὧι'),
-    (0x1FA8, 'M', 'ὠι'),
-    (0x1FA9, 'M', 'ὡι'),
-    (0x1FAA, 'M', 'ὢι'),
-    (0x1FAB, 'M', 'ὣι'),
-    (0x1FAC, 'M', 'ὤι'),
-    (0x1FAD, 'M', 'ὥι'),
-    (0x1FAE, 'M', 'ὦι'),
-    (0x1FAF, 'M', 'ὧι'),
-    (0x1FB0, 'V'),
-    (0x1FB2, 'M', 'ὰι'),
-    (0x1FB3, 'M', 'αι'),
-    (0x1FB4, 'M', 'άι'),
-    (0x1FB5, 'X'),
-    (0x1FB6, 'V'),
-    (0x1FB7, 'M', 'ᾶι'),
-    (0x1FB8, 'M', 'ᾰ'),
-    (0x1FB9, 'M', 'ᾱ'),
-    (0x1FBA, 'M', 'ὰ'),
-    (0x1FBB, 'M', 'ά'),
-    (0x1FBC, 'M', 'αι'),
-    (0x1FBD, '3', ' ̓'),
-    (0x1FBE, 'M', 'ι'),
-    (0x1FBF, '3', ' ̓'),
-    (0x1FC0, '3', ' ͂'),
-    (0x1FC1, '3', ' ̈͂'),
-    (0x1FC2, 'M', 'ὴι'),
-    (0x1FC3, 'M', 'ηι'),
-    (0x1FC4, 'M', 'ήι'),
-    (0x1FC5, 'X'),
-    (0x1FC6, 'V'),
-    (0x1FC7, 'M', 'ῆι'),
-    (0x1FC8, 'M', 'ὲ'),
-    (0x1FC9, 'M', 'έ'),
-    (0x1FCA, 'M', 'ὴ'),
-    (0x1FCB, 'M', 'ή'),
-    (0x1FCC, 'M', 'ηι'),
-    (0x1FCD, '3', ' ̓̀'),
-    (0x1FCE, '3', ' ̓́'),
-    (0x1FCF, '3', ' ̓͂'),
-    (0x1FD0, 'V'),
-    (0x1FD3, 'M', 'ΐ'),
-    (0x1FD4, 'X'),
-    (0x1FD6, 'V'),
-    (0x1FD8, 'M', 'ῐ'),
-    (0x1FD9, 'M', 'ῑ'),
-    (0x1FDA, 'M', 'ὶ'),
-    (0x1FDB, 'M', 'ί'),
-    (0x1FDC, 'X'),
-    (0x1FDD, '3', ' ̔̀'),
-    (0x1FDE, '3', ' ̔́'),
-    (0x1FDF, '3', ' ̔͂'),
-    (0x1FE0, 'V'),
-    (0x1FE3, 'M', 'ΰ'),
-    (0x1FE4, 'V'),
-    (0x1FE8, 'M', 'ῠ'),
-    (0x1FE9, 'M', 'ῡ'),
-    (0x1FEA, 'M', 'ὺ'),
-    (0x1FEB, 'M', 'ύ'),
-    (0x1FEC, 'M', 'ῥ'),
-    (0x1FED, '3', ' ̈̀'),
-    (0x1FEE, '3', ' ̈́'),
-    (0x1FEF, '3', '`'),
-    (0x1FF0, 'X'),
-    (0x1FF2, 'M', 'ὼι'),
-    (0x1FF3, 'M', 'ωι'),
-    (0x1FF4, 'M', 'ώι'),
-    (0x1FF5, 'X'),
-    (0x1FF6, 'V'),
+        (0x1F88, "M", "ἀι"),
+        (0x1F89, "M", "ἁι"),
+        (0x1F8A, "M", "ἂι"),
+        (0x1F8B, "M", "ἃι"),
+        (0x1F8C, "M", "ἄι"),
+        (0x1F8D, "M", "ἅι"),
+        (0x1F8E, "M", "ἆι"),
+        (0x1F8F, "M", "ἇι"),
+        (0x1F90, "M", "ἠι"),
+        (0x1F91, "M", "ἡι"),
+        (0x1F92, "M", "ἢι"),
+        (0x1F93, "M", "ἣι"),
+        (0x1F94, "M", "ἤι"),
+        (0x1F95, "M", "ἥι"),
+        (0x1F96, "M", "ἦι"),
+        (0x1F97, "M", "ἧι"),
+        (0x1F98, "M", "ἠι"),
+        (0x1F99, "M", "ἡι"),
+        (0x1F9A, "M", "ἢι"),
+        (0x1F9B, "M", "ἣι"),
+        (0x1F9C, "M", "ἤι"),
+        (0x1F9D, "M", "ἥι"),
+        (0x1F9E, "M", "ἦι"),
+        (0x1F9F, "M", "ἧι"),
+        (0x1FA0, "M", "ὠι"),
+        (0x1FA1, "M", "ὡι"),
+        (0x1FA2, "M", "ὢι"),
+        (0x1FA3, "M", "ὣι"),
+        (0x1FA4, "M", "ὤι"),
+        (0x1FA5, "M", "ὥι"),
+        (0x1FA6, "M", "ὦι"),
+        (0x1FA7, "M", "ὧι"),
+        (0x1FA8, "M", "ὠι"),
+        (0x1FA9, "M", "ὡι"),
+        (0x1FAA, "M", "ὢι"),
+        (0x1FAB, "M", "ὣι"),
+        (0x1FAC, "M", "ὤι"),
+        (0x1FAD, "M", "ὥι"),
+        (0x1FAE, "M", "ὦι"),
+        (0x1FAF, "M", "ὧι"),
+        (0x1FB0, "V"),
+        (0x1FB2, "M", "ὰι"),
+        (0x1FB3, "M", "αι"),
+        (0x1FB4, "M", "άι"),
+        (0x1FB5, "X"),
+        (0x1FB6, "V"),
+        (0x1FB7, "M", "ᾶι"),
+        (0x1FB8, "M", "ᾰ"),
+        (0x1FB9, "M", "ᾱ"),
+        (0x1FBA, "M", "ὰ"),
+        (0x1FBB, "M", "ά"),
+        (0x1FBC, "M", "αι"),
+        (0x1FBD, "3", " ̓"),
+        (0x1FBE, "M", "ι"),
+        (0x1FBF, "3", " ̓"),
+        (0x1FC0, "3", " ͂"),
+        (0x1FC1, "3", " ̈͂"),
+        (0x1FC2, "M", "ὴι"),
+        (0x1FC3, "M", "ηι"),
+        (0x1FC4, "M", "ήι"),
+        (0x1FC5, "X"),
+        (0x1FC6, "V"),
+        (0x1FC7, "M", "ῆι"),
+        (0x1FC8, "M", "ὲ"),
+        (0x1FC9, "M", "έ"),
+        (0x1FCA, "M", "ὴ"),
+        (0x1FCB, "M", "ή"),
+        (0x1FCC, "M", "ηι"),
+        (0x1FCD, "3", " ̓̀"),
+        (0x1FCE, "3", " ̓́"),
+        (0x1FCF, "3", " ̓͂"),
+        (0x1FD0, "V"),
+        (0x1FD3, "M", "ΐ"),
+        (0x1FD4, "X"),
+        (0x1FD6, "V"),
+        (0x1FD8, "M", "ῐ"),
+        (0x1FD9, "M", "ῑ"),
+        (0x1FDA, "M", "ὶ"),
+        (0x1FDB, "M", "ί"),
+        (0x1FDC, "X"),
+        (0x1FDD, "3", " ̔̀"),
+        (0x1FDE, "3", " ̔́"),
+        (0x1FDF, "3", " ̔͂"),
+        (0x1FE0, "V"),
+        (0x1FE3, "M", "ΰ"),
+        (0x1FE4, "V"),
+        (0x1FE8, "M", "ῠ"),
+        (0x1FE9, "M", "ῡ"),
+        (0x1FEA, "M", "ὺ"),
+        (0x1FEB, "M", "ύ"),
+        (0x1FEC, "M", "ῥ"),
+        (0x1FED, "3", " ̈̀"),
+        (0x1FEE, "3", " ̈́"),
+        (0x1FEF, "3", "`"),
+        (0x1FF0, "X"),
+        (0x1FF2, "M", "ὼι"),
+        (0x1FF3, "M", "ωι"),
+        (0x1FF4, "M", "ώι"),
+        (0x1FF5, "X"),
+        (0x1FF6, "V"),
     ]
 
+
 def _seg_21() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1FF7, 'M', 'ῶι'),
-    (0x1FF8, 'M', 'ὸ'),
-    (0x1FF9, 'M', 'ό'),
-    (0x1FFA, 'M', 'ὼ'),
-    (0x1FFB, 'M', 'ώ'),
-    (0x1FFC, 'M', 'ωι'),
-    (0x1FFD, '3', ' ́'),
-    (0x1FFE, '3', ' ̔'),
-    (0x1FFF, 'X'),
-    (0x2000, '3', ' '),
-    (0x200B, 'I'),
-    (0x200C, 'D', ''),
-    (0x200E, 'X'),
-    (0x2010, 'V'),
-    (0x2011, 'M', '‐'),
-    (0x2012, 'V'),
-    (0x2017, '3', ' ̳'),
-    (0x2018, 'V'),
-    (0x2024, 'X'),
-    (0x2027, 'V'),
-    (0x2028, 'X'),
-    (0x202F, '3', ' '),
-    (0x2030, 'V'),
-    (0x2033, 'M', '′′'),
-    (0x2034, 'M', '′′′'),
-    (0x2035, 'V'),
-    (0x2036, 'M', '‵‵'),
-    (0x2037, 'M', '‵‵‵'),
-    (0x2038, 'V'),
-    (0x203C, '3', '!!'),
-    (0x203D, 'V'),
-    (0x203E, '3', ' ̅'),
-    (0x203F, 'V'),
-    (0x2047, '3', '??'),
-    (0x2048, '3', '?!'),
-    (0x2049, '3', '!?'),
-    (0x204A, 'V'),
-    (0x2057, 'M', '′′′′'),
-    (0x2058, 'V'),
-    (0x205F, '3', ' '),
-    (0x2060, 'I'),
-    (0x2061, 'X'),
-    (0x2064, 'I'),
-    (0x2065, 'X'),
-    (0x2070, 'M', '0'),
-    (0x2071, 'M', 'i'),
-    (0x2072, 'X'),
-    (0x2074, 'M', '4'),
-    (0x2075, 'M', '5'),
-    (0x2076, 'M', '6'),
-    (0x2077, 'M', '7'),
-    (0x2078, 'M', '8'),
-    (0x2079, 'M', '9'),
-    (0x207A, '3', '+'),
-    (0x207B, 'M', '−'),
-    (0x207C, '3', '='),
-    (0x207D, '3', '('),
-    (0x207E, '3', ')'),
-    (0x207F, 'M', 'n'),
-    (0x2080, 'M', '0'),
-    (0x2081, 'M', '1'),
-    (0x2082, 'M', '2'),
-    (0x2083, 'M', '3'),
-    (0x2084, 'M', '4'),
-    (0x2085, 'M', '5'),
-    (0x2086, 'M', '6'),
-    (0x2087, 'M', '7'),
-    (0x2088, 'M', '8'),
-    (0x2089, 'M', '9'),
-    (0x208A, '3', '+'),
-    (0x208B, 'M', '−'),
-    (0x208C, '3', '='),
-    (0x208D, '3', '('),
-    (0x208E, '3', ')'),
-    (0x208F, 'X'),
-    (0x2090, 'M', 'a'),
-    (0x2091, 'M', 'e'),
-    (0x2092, 'M', 'o'),
-    (0x2093, 'M', 'x'),
-    (0x2094, 'M', 'ə'),
-    (0x2095, 'M', 'h'),
-    (0x2096, 'M', 'k'),
-    (0x2097, 'M', 'l'),
-    (0x2098, 'M', 'm'),
-    (0x2099, 'M', 'n'),
-    (0x209A, 'M', 'p'),
-    (0x209B, 'M', 's'),
-    (0x209C, 'M', 't'),
-    (0x209D, 'X'),
-    (0x20A0, 'V'),
-    (0x20A8, 'M', 'rs'),
-    (0x20A9, 'V'),
-    (0x20C1, 'X'),
-    (0x20D0, 'V'),
-    (0x20F1, 'X'),
-    (0x2100, '3', 'a/c'),
-    (0x2101, '3', 'a/s'),
-    (0x2102, 'M', 'c'),
-    (0x2103, 'M', '°c'),
-    (0x2104, 'V'),
+        (0x1FF7, "M", "ῶι"),
+        (0x1FF8, "M", "ὸ"),
+        (0x1FF9, "M", "ό"),
+        (0x1FFA, "M", "ὼ"),
+        (0x1FFB, "M", "ώ"),
+        (0x1FFC, "M", "ωι"),
+        (0x1FFD, "3", " ́"),
+        (0x1FFE, "3", " ̔"),
+        (0x1FFF, "X"),
+        (0x2000, "3", " "),
+        (0x200B, "I"),
+        (0x200C, "D", ""),
+        (0x200E, "X"),
+        (0x2010, "V"),
+        (0x2011, "M", "‐"),
+        (0x2012, "V"),
+        (0x2017, "3", " ̳"),
+        (0x2018, "V"),
+        (0x2024, "X"),
+        (0x2027, "V"),
+        (0x2028, "X"),
+        (0x202F, "3", " "),
+        (0x2030, "V"),
+        (0x2033, "M", "′′"),
+        (0x2034, "M", "′′′"),
+        (0x2035, "V"),
+        (0x2036, "M", "‵‵"),
+        (0x2037, "M", "‵‵‵"),
+        (0x2038, "V"),
+        (0x203C, "3", "!!"),
+        (0x203D, "V"),
+        (0x203E, "3", " ̅"),
+        (0x203F, "V"),
+        (0x2047, "3", "??"),
+        (0x2048, "3", "?!"),
+        (0x2049, "3", "!?"),
+        (0x204A, "V"),
+        (0x2057, "M", "′′′′"),
+        (0x2058, "V"),
+        (0x205F, "3", " "),
+        (0x2060, "I"),
+        (0x2061, "X"),
+        (0x2064, "I"),
+        (0x2065, "X"),
+        (0x2070, "M", "0"),
+        (0x2071, "M", "i"),
+        (0x2072, "X"),
+        (0x2074, "M", "4"),
+        (0x2075, "M", "5"),
+        (0x2076, "M", "6"),
+        (0x2077, "M", "7"),
+        (0x2078, "M", "8"),
+        (0x2079, "M", "9"),
+        (0x207A, "3", "+"),
+        (0x207B, "M", "−"),
+        (0x207C, "3", "="),
+        (0x207D, "3", "("),
+        (0x207E, "3", ")"),
+        (0x207F, "M", "n"),
+        (0x2080, "M", "0"),
+        (0x2081, "M", "1"),
+        (0x2082, "M", "2"),
+        (0x2083, "M", "3"),
+        (0x2084, "M", "4"),
+        (0x2085, "M", "5"),
+        (0x2086, "M", "6"),
+        (0x2087, "M", "7"),
+        (0x2088, "M", "8"),
+        (0x2089, "M", "9"),
+        (0x208A, "3", "+"),
+        (0x208B, "M", "−"),
+        (0x208C, "3", "="),
+        (0x208D, "3", "("),
+        (0x208E, "3", ")"),
+        (0x208F, "X"),
+        (0x2090, "M", "a"),
+        (0x2091, "M", "e"),
+        (0x2092, "M", "o"),
+        (0x2093, "M", "x"),
+        (0x2094, "M", "ə"),
+        (0x2095, "M", "h"),
+        (0x2096, "M", "k"),
+        (0x2097, "M", "l"),
+        (0x2098, "M", "m"),
+        (0x2099, "M", "n"),
+        (0x209A, "M", "p"),
+        (0x209B, "M", "s"),
+        (0x209C, "M", "t"),
+        (0x209D, "X"),
+        (0x20A0, "V"),
+        (0x20A8, "M", "rs"),
+        (0x20A9, "V"),
+        (0x20C1, "X"),
+        (0x20D0, "V"),
+        (0x20F1, "X"),
+        (0x2100, "3", "a/c"),
+        (0x2101, "3", "a/s"),
+        (0x2102, "M", "c"),
+        (0x2103, "M", "°c"),
+        (0x2104, "V"),
     ]
 
+
 def _seg_22() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x2105, '3', 'c/o'),
-    (0x2106, '3', 'c/u'),
-    (0x2107, 'M', 'ɛ'),
-    (0x2108, 'V'),
-    (0x2109, 'M', '°f'),
-    (0x210A, 'M', 'g'),
-    (0x210B, 'M', 'h'),
-    (0x210F, 'M', 'ħ'),
-    (0x2110, 'M', 'i'),
-    (0x2112, 'M', 'l'),
-    (0x2114, 'V'),
-    (0x2115, 'M', 'n'),
-    (0x2116, 'M', 'no'),
-    (0x2117, 'V'),
-    (0x2119, 'M', 'p'),
-    (0x211A, 'M', 'q'),
-    (0x211B, 'M', 'r'),
-    (0x211E, 'V'),
-    (0x2120, 'M', 'sm'),
-    (0x2121, 'M', 'tel'),
-    (0x2122, 'M', 'tm'),
-    (0x2123, 'V'),
-    (0x2124, 'M', 'z'),
-    (0x2125, 'V'),
-    (0x2126, 'M', 'ω'),
-    (0x2127, 'V'),
-    (0x2128, 'M', 'z'),
-    (0x2129, 'V'),
-    (0x212A, 'M', 'k'),
-    (0x212B, 'M', 'å'),
-    (0x212C, 'M', 'b'),
-    (0x212D, 'M', 'c'),
-    (0x212E, 'V'),
-    (0x212F, 'M', 'e'),
-    (0x2131, 'M', 'f'),
-    (0x2132, 'X'),
-    (0x2133, 'M', 'm'),
-    (0x2134, 'M', 'o'),
-    (0x2135, 'M', 'א'),
-    (0x2136, 'M', 'ב'),
-    (0x2137, 'M', 'ג'),
-    (0x2138, 'M', 'ד'),
-    (0x2139, 'M', 'i'),
-    (0x213A, 'V'),
-    (0x213B, 'M', 'fax'),
-    (0x213C, 'M', 'π'),
-    (0x213D, 'M', 'γ'),
-    (0x213F, 'M', 'π'),
-    (0x2140, 'M', '∑'),
-    (0x2141, 'V'),
-    (0x2145, 'M', 'd'),
-    (0x2147, 'M', 'e'),
-    (0x2148, 'M', 'i'),
-    (0x2149, 'M', 'j'),
-    (0x214A, 'V'),
-    (0x2150, 'M', '1⁄7'),
-    (0x2151, 'M', '1⁄9'),
-    (0x2152, 'M', '1⁄10'),
-    (0x2153, 'M', '1⁄3'),
-    (0x2154, 'M', '2⁄3'),
-    (0x2155, 'M', '1⁄5'),
-    (0x2156, 'M', '2⁄5'),
-    (0x2157, 'M', '3⁄5'),
-    (0x2158, 'M', '4⁄5'),
-    (0x2159, 'M', '1⁄6'),
-    (0x215A, 'M', '5⁄6'),
-    (0x215B, 'M', '1⁄8'),
-    (0x215C, 'M', '3⁄8'),
-    (0x215D, 'M', '5⁄8'),
-    (0x215E, 'M', '7⁄8'),
-    (0x215F, 'M', '1⁄'),
-    (0x2160, 'M', 'i'),
-    (0x2161, 'M', 'ii'),
-    (0x2162, 'M', 'iii'),
-    (0x2163, 'M', 'iv'),
-    (0x2164, 'M', 'v'),
-    (0x2165, 'M', 'vi'),
-    (0x2166, 'M', 'vii'),
-    (0x2167, 'M', 'viii'),
-    (0x2168, 'M', 'ix'),
-    (0x2169, 'M', 'x'),
-    (0x216A, 'M', 'xi'),
-    (0x216B, 'M', 'xii'),
-    (0x216C, 'M', 'l'),
-    (0x216D, 'M', 'c'),
-    (0x216E, 'M', 'd'),
-    (0x216F, 'M', 'm'),
-    (0x2170, 'M', 'i'),
-    (0x2171, 'M', 'ii'),
-    (0x2172, 'M', 'iii'),
-    (0x2173, 'M', 'iv'),
-    (0x2174, 'M', 'v'),
-    (0x2175, 'M', 'vi'),
-    (0x2176, 'M', 'vii'),
-    (0x2177, 'M', 'viii'),
-    (0x2178, 'M', 'ix'),
-    (0x2179, 'M', 'x'),
-    (0x217A, 'M', 'xi'),
-    (0x217B, 'M', 'xii'),
-    (0x217C, 'M', 'l'),
+        (0x2105, "3", "c/o"),
+        (0x2106, "3", "c/u"),
+        (0x2107, "M", "ɛ"),
+        (0x2108, "V"),
+        (0x2109, "M", "°f"),
+        (0x210A, "M", "g"),
+        (0x210B, "M", "h"),
+        (0x210F, "M", "ħ"),
+        (0x2110, "M", "i"),
+        (0x2112, "M", "l"),
+        (0x2114, "V"),
+        (0x2115, "M", "n"),
+        (0x2116, "M", "no"),
+        (0x2117, "V"),
+        (0x2119, "M", "p"),
+        (0x211A, "M", "q"),
+        (0x211B, "M", "r"),
+        (0x211E, "V"),
+        (0x2120, "M", "sm"),
+        (0x2121, "M", "tel"),
+        (0x2122, "M", "tm"),
+        (0x2123, "V"),
+        (0x2124, "M", "z"),
+        (0x2125, "V"),
+        (0x2126, "M", "ω"),
+        (0x2127, "V"),
+        (0x2128, "M", "z"),
+        (0x2129, "V"),
+        (0x212A, "M", "k"),
+        (0x212B, "M", "å"),
+        (0x212C, "M", "b"),
+        (0x212D, "M", "c"),
+        (0x212E, "V"),
+        (0x212F, "M", "e"),
+        (0x2131, "M", "f"),
+        (0x2132, "X"),
+        (0x2133, "M", "m"),
+        (0x2134, "M", "o"),
+        (0x2135, "M", "א"),
+        (0x2136, "M", "ב"),
+        (0x2137, "M", "ג"),
+        (0x2138, "M", "ד"),
+        (0x2139, "M", "i"),
+        (0x213A, "V"),
+        (0x213B, "M", "fax"),
+        (0x213C, "M", "π"),
+        (0x213D, "M", "γ"),
+        (0x213F, "M", "π"),
+        (0x2140, "M", "∑"),
+        (0x2141, "V"),
+        (0x2145, "M", "d"),
+        (0x2147, "M", "e"),
+        (0x2148, "M", "i"),
+        (0x2149, "M", "j"),
+        (0x214A, "V"),
+        (0x2150, "M", "1⁄7"),
+        (0x2151, "M", "1⁄9"),
+        (0x2152, "M", "1⁄10"),
+        (0x2153, "M", "1⁄3"),
+        (0x2154, "M", "2⁄3"),
+        (0x2155, "M", "1⁄5"),
+        (0x2156, "M", "2⁄5"),
+        (0x2157, "M", "3⁄5"),
+        (0x2158, "M", "4⁄5"),
+        (0x2159, "M", "1⁄6"),
+        (0x215A, "M", "5⁄6"),
+        (0x215B, "M", "1⁄8"),
+        (0x215C, "M", "3⁄8"),
+        (0x215D, "M", "5⁄8"),
+        (0x215E, "M", "7⁄8"),
+        (0x215F, "M", "1⁄"),
+        (0x2160, "M", "i"),
+        (0x2161, "M", "ii"),
+        (0x2162, "M", "iii"),
+        (0x2163, "M", "iv"),
+        (0x2164, "M", "v"),
+        (0x2165, "M", "vi"),
+        (0x2166, "M", "vii"),
+        (0x2167, "M", "viii"),
+        (0x2168, "M", "ix"),
+        (0x2169, "M", "x"),
+        (0x216A, "M", "xi"),
+        (0x216B, "M", "xii"),
+        (0x216C, "M", "l"),
+        (0x216D, "M", "c"),
+        (0x216E, "M", "d"),
+        (0x216F, "M", "m"),
+        (0x2170, "M", "i"),
+        (0x2171, "M", "ii"),
+        (0x2172, "M", "iii"),
+        (0x2173, "M", "iv"),
+        (0x2174, "M", "v"),
+        (0x2175, "M", "vi"),
+        (0x2176, "M", "vii"),
+        (0x2177, "M", "viii"),
+        (0x2178, "M", "ix"),
+        (0x2179, "M", "x"),
+        (0x217A, "M", "xi"),
+        (0x217B, "M", "xii"),
+        (0x217C, "M", "l"),
     ]
 
+
 def _seg_23() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x217D, 'M', 'c'),
-    (0x217E, 'M', 'd'),
-    (0x217F, 'M', 'm'),
-    (0x2180, 'V'),
-    (0x2183, 'X'),
-    (0x2184, 'V'),
-    (0x2189, 'M', '0⁄3'),
-    (0x218A, 'V'),
-    (0x218C, 'X'),
-    (0x2190, 'V'),
-    (0x222C, 'M', '∫∫'),
-    (0x222D, 'M', '∫∫∫'),
-    (0x222E, 'V'),
-    (0x222F, 'M', '∮∮'),
-    (0x2230, 'M', '∮∮∮'),
-    (0x2231, 'V'),
-    (0x2260, '3'),
-    (0x2261, 'V'),
-    (0x226E, '3'),
-    (0x2270, 'V'),
-    (0x2329, 'M', '〈'),
-    (0x232A, 'M', '〉'),
-    (0x232B, 'V'),
-    (0x2427, 'X'),
-    (0x2440, 'V'),
-    (0x244B, 'X'),
-    (0x2460, 'M', '1'),
-    (0x2461, 'M', '2'),
-    (0x2462, 'M', '3'),
-    (0x2463, 'M', '4'),
-    (0x2464, 'M', '5'),
-    (0x2465, 'M', '6'),
-    (0x2466, 'M', '7'),
-    (0x2467, 'M', '8'),
-    (0x2468, 'M', '9'),
-    (0x2469, 'M', '10'),
-    (0x246A, 'M', '11'),
-    (0x246B, 'M', '12'),
-    (0x246C, 'M', '13'),
-    (0x246D, 'M', '14'),
-    (0x246E, 'M', '15'),
-    (0x246F, 'M', '16'),
-    (0x2470, 'M', '17'),
-    (0x2471, 'M', '18'),
-    (0x2472, 'M', '19'),
-    (0x2473, 'M', '20'),
-    (0x2474, '3', '(1)'),
-    (0x2475, '3', '(2)'),
-    (0x2476, '3', '(3)'),
-    (0x2477, '3', '(4)'),
-    (0x2478, '3', '(5)'),
-    (0x2479, '3', '(6)'),
-    (0x247A, '3', '(7)'),
-    (0x247B, '3', '(8)'),
-    (0x247C, '3', '(9)'),
-    (0x247D, '3', '(10)'),
-    (0x247E, '3', '(11)'),
-    (0x247F, '3', '(12)'),
-    (0x2480, '3', '(13)'),
-    (0x2481, '3', '(14)'),
-    (0x2482, '3', '(15)'),
-    (0x2483, '3', '(16)'),
-    (0x2484, '3', '(17)'),
-    (0x2485, '3', '(18)'),
-    (0x2486, '3', '(19)'),
-    (0x2487, '3', '(20)'),
-    (0x2488, 'X'),
-    (0x249C, '3', '(a)'),
-    (0x249D, '3', '(b)'),
-    (0x249E, '3', '(c)'),
-    (0x249F, '3', '(d)'),
-    (0x24A0, '3', '(e)'),
-    (0x24A1, '3', '(f)'),
-    (0x24A2, '3', '(g)'),
-    (0x24A3, '3', '(h)'),
-    (0x24A4, '3', '(i)'),
-    (0x24A5, '3', '(j)'),
-    (0x24A6, '3', '(k)'),
-    (0x24A7, '3', '(l)'),
-    (0x24A8, '3', '(m)'),
-    (0x24A9, '3', '(n)'),
-    (0x24AA, '3', '(o)'),
-    (0x24AB, '3', '(p)'),
-    (0x24AC, '3', '(q)'),
-    (0x24AD, '3', '(r)'),
-    (0x24AE, '3', '(s)'),
-    (0x24AF, '3', '(t)'),
-    (0x24B0, '3', '(u)'),
-    (0x24B1, '3', '(v)'),
-    (0x24B2, '3', '(w)'),
-    (0x24B3, '3', '(x)'),
-    (0x24B4, '3', '(y)'),
-    (0x24B5, '3', '(z)'),
-    (0x24B6, 'M', 'a'),
-    (0x24B7, 'M', 'b'),
-    (0x24B8, 'M', 'c'),
-    (0x24B9, 'M', 'd'),
-    (0x24BA, 'M', 'e'),
-    (0x24BB, 'M', 'f'),
-    (0x24BC, 'M', 'g'),
+        (0x217D, "M", "c"),
+        (0x217E, "M", "d"),
+        (0x217F, "M", "m"),
+        (0x2180, "V"),
+        (0x2183, "X"),
+        (0x2184, "V"),
+        (0x2189, "M", "0⁄3"),
+        (0x218A, "V"),
+        (0x218C, "X"),
+        (0x2190, "V"),
+        (0x222C, "M", "∫∫"),
+        (0x222D, "M", "∫∫∫"),
+        (0x222E, "V"),
+        (0x222F, "M", "∮∮"),
+        (0x2230, "M", "∮∮∮"),
+        (0x2231, "V"),
+        (0x2329, "M", "〈"),
+        (0x232A, "M", "〉"),
+        (0x232B, "V"),
+        (0x2427, "X"),
+        (0x2440, "V"),
+        (0x244B, "X"),
+        (0x2460, "M", "1"),
+        (0x2461, "M", "2"),
+        (0x2462, "M", "3"),
+        (0x2463, "M", "4"),
+        (0x2464, "M", "5"),
+        (0x2465, "M", "6"),
+        (0x2466, "M", "7"),
+        (0x2467, "M", "8"),
+        (0x2468, "M", "9"),
+        (0x2469, "M", "10"),
+        (0x246A, "M", "11"),
+        (0x246B, "M", "12"),
+        (0x246C, "M", "13"),
+        (0x246D, "M", "14"),
+        (0x246E, "M", "15"),
+        (0x246F, "M", "16"),
+        (0x2470, "M", "17"),
+        (0x2471, "M", "18"),
+        (0x2472, "M", "19"),
+        (0x2473, "M", "20"),
+        (0x2474, "3", "(1)"),
+        (0x2475, "3", "(2)"),
+        (0x2476, "3", "(3)"),
+        (0x2477, "3", "(4)"),
+        (0x2478, "3", "(5)"),
+        (0x2479, "3", "(6)"),
+        (0x247A, "3", "(7)"),
+        (0x247B, "3", "(8)"),
+        (0x247C, "3", "(9)"),
+        (0x247D, "3", "(10)"),
+        (0x247E, "3", "(11)"),
+        (0x247F, "3", "(12)"),
+        (0x2480, "3", "(13)"),
+        (0x2481, "3", "(14)"),
+        (0x2482, "3", "(15)"),
+        (0x2483, "3", "(16)"),
+        (0x2484, "3", "(17)"),
+        (0x2485, "3", "(18)"),
+        (0x2486, "3", "(19)"),
+        (0x2487, "3", "(20)"),
+        (0x2488, "X"),
+        (0x249C, "3", "(a)"),
+        (0x249D, "3", "(b)"),
+        (0x249E, "3", "(c)"),
+        (0x249F, "3", "(d)"),
+        (0x24A0, "3", "(e)"),
+        (0x24A1, "3", "(f)"),
+        (0x24A2, "3", "(g)"),
+        (0x24A3, "3", "(h)"),
+        (0x24A4, "3", "(i)"),
+        (0x24A5, "3", "(j)"),
+        (0x24A6, "3", "(k)"),
+        (0x24A7, "3", "(l)"),
+        (0x24A8, "3", "(m)"),
+        (0x24A9, "3", "(n)"),
+        (0x24AA, "3", "(o)"),
+        (0x24AB, "3", "(p)"),
+        (0x24AC, "3", "(q)"),
+        (0x24AD, "3", "(r)"),
+        (0x24AE, "3", "(s)"),
+        (0x24AF, "3", "(t)"),
+        (0x24B0, "3", "(u)"),
+        (0x24B1, "3", "(v)"),
+        (0x24B2, "3", "(w)"),
+        (0x24B3, "3", "(x)"),
+        (0x24B4, "3", "(y)"),
+        (0x24B5, "3", "(z)"),
+        (0x24B6, "M", "a"),
+        (0x24B7, "M", "b"),
+        (0x24B8, "M", "c"),
+        (0x24B9, "M", "d"),
+        (0x24BA, "M", "e"),
+        (0x24BB, "M", "f"),
+        (0x24BC, "M", "g"),
+        (0x24BD, "M", "h"),
+        (0x24BE, "M", "i"),
+        (0x24BF, "M", "j"),
+        (0x24C0, "M", "k"),
     ]
 
+
 def _seg_24() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x24BD, 'M', 'h'),
-    (0x24BE, 'M', 'i'),
-    (0x24BF, 'M', 'j'),
-    (0x24C0, 'M', 'k'),
-    (0x24C1, 'M', 'l'),
-    (0x24C2, 'M', 'm'),
-    (0x24C3, 'M', 'n'),
-    (0x24C4, 'M', 'o'),
-    (0x24C5, 'M', 'p'),
-    (0x24C6, 'M', 'q'),
-    (0x24C7, 'M', 'r'),
-    (0x24C8, 'M', 's'),
-    (0x24C9, 'M', 't'),
-    (0x24CA, 'M', 'u'),
-    (0x24CB, 'M', 'v'),
-    (0x24CC, 'M', 'w'),
-    (0x24CD, 'M', 'x'),
-    (0x24CE, 'M', 'y'),
-    (0x24CF, 'M', 'z'),
-    (0x24D0, 'M', 'a'),
-    (0x24D1, 'M', 'b'),
-    (0x24D2, 'M', 'c'),
-    (0x24D3, 'M', 'd'),
-    (0x24D4, 'M', 'e'),
-    (0x24D5, 'M', 'f'),
-    (0x24D6, 'M', 'g'),
-    (0x24D7, 'M', 'h'),
-    (0x24D8, 'M', 'i'),
-    (0x24D9, 'M', 'j'),
-    (0x24DA, 'M', 'k'),
-    (0x24DB, 'M', 'l'),
-    (0x24DC, 'M', 'm'),
-    (0x24DD, 'M', 'n'),
-    (0x24DE, 'M', 'o'),
-    (0x24DF, 'M', 'p'),
-    (0x24E0, 'M', 'q'),
-    (0x24E1, 'M', 'r'),
-    (0x24E2, 'M', 's'),
-    (0x24E3, 'M', 't'),
-    (0x24E4, 'M', 'u'),
-    (0x24E5, 'M', 'v'),
-    (0x24E6, 'M', 'w'),
-    (0x24E7, 'M', 'x'),
-    (0x24E8, 'M', 'y'),
-    (0x24E9, 'M', 'z'),
-    (0x24EA, 'M', '0'),
-    (0x24EB, 'V'),
-    (0x2A0C, 'M', '∫∫∫∫'),
-    (0x2A0D, 'V'),
-    (0x2A74, '3', '::='),
-    (0x2A75, '3', '=='),
-    (0x2A76, '3', '==='),
-    (0x2A77, 'V'),
-    (0x2ADC, 'M', '⫝̸'),
-    (0x2ADD, 'V'),
-    (0x2B74, 'X'),
-    (0x2B76, 'V'),
-    (0x2B96, 'X'),
-    (0x2B97, 'V'),
-    (0x2C00, 'M', 'ⰰ'),
-    (0x2C01, 'M', 'ⰱ'),
-    (0x2C02, 'M', 'ⰲ'),
-    (0x2C03, 'M', 'ⰳ'),
-    (0x2C04, 'M', 'ⰴ'),
-    (0x2C05, 'M', 'ⰵ'),
-    (0x2C06, 'M', 'ⰶ'),
-    (0x2C07, 'M', 'ⰷ'),
-    (0x2C08, 'M', 'ⰸ'),
-    (0x2C09, 'M', 'ⰹ'),
-    (0x2C0A, 'M', 'ⰺ'),
-    (0x2C0B, 'M', 'ⰻ'),
-    (0x2C0C, 'M', 'ⰼ'),
-    (0x2C0D, 'M', 'ⰽ'),
-    (0x2C0E, 'M', 'ⰾ'),
-    (0x2C0F, 'M', 'ⰿ'),
-    (0x2C10, 'M', 'ⱀ'),
-    (0x2C11, 'M', 'ⱁ'),
-    (0x2C12, 'M', 'ⱂ'),
-    (0x2C13, 'M', 'ⱃ'),
-    (0x2C14, 'M', 'ⱄ'),
-    (0x2C15, 'M', 'ⱅ'),
-    (0x2C16, 'M', 'ⱆ'),
-    (0x2C17, 'M', 'ⱇ'),
-    (0x2C18, 'M', 'ⱈ'),
-    (0x2C19, 'M', 'ⱉ'),
-    (0x2C1A, 'M', 'ⱊ'),
-    (0x2C1B, 'M', 'ⱋ'),
-    (0x2C1C, 'M', 'ⱌ'),
-    (0x2C1D, 'M', 'ⱍ'),
-    (0x2C1E, 'M', 'ⱎ'),
-    (0x2C1F, 'M', 'ⱏ'),
-    (0x2C20, 'M', 'ⱐ'),
-    (0x2C21, 'M', 'ⱑ'),
-    (0x2C22, 'M', 'ⱒ'),
-    (0x2C23, 'M', 'ⱓ'),
-    (0x2C24, 'M', 'ⱔ'),
-    (0x2C25, 'M', 'ⱕ'),
-    (0x2C26, 'M', 'ⱖ'),
-    (0x2C27, 'M', 'ⱗ'),
-    (0x2C28, 'M', 'ⱘ'),
+        (0x24C1, "M", "l"),
+        (0x24C2, "M", "m"),
+        (0x24C3, "M", "n"),
+        (0x24C4, "M", "o"),
+        (0x24C5, "M", "p"),
+        (0x24C6, "M", "q"),
+        (0x24C7, "M", "r"),
+        (0x24C8, "M", "s"),
+        (0x24C9, "M", "t"),
+        (0x24CA, "M", "u"),
+        (0x24CB, "M", "v"),
+        (0x24CC, "M", "w"),
+        (0x24CD, "M", "x"),
+        (0x24CE, "M", "y"),
+        (0x24CF, "M", "z"),
+        (0x24D0, "M", "a"),
+        (0x24D1, "M", "b"),
+        (0x24D2, "M", "c"),
+        (0x24D3, "M", "d"),
+        (0x24D4, "M", "e"),
+        (0x24D5, "M", "f"),
+        (0x24D6, "M", "g"),
+        (0x24D7, "M", "h"),
+        (0x24D8, "M", "i"),
+        (0x24D9, "M", "j"),
+        (0x24DA, "M", "k"),
+        (0x24DB, "M", "l"),
+        (0x24DC, "M", "m"),
+        (0x24DD, "M", "n"),
+        (0x24DE, "M", "o"),
+        (0x24DF, "M", "p"),
+        (0x24E0, "M", "q"),
+        (0x24E1, "M", "r"),
+        (0x24E2, "M", "s"),
+        (0x24E3, "M", "t"),
+        (0x24E4, "M", "u"),
+        (0x24E5, "M", "v"),
+        (0x24E6, "M", "w"),
+        (0x24E7, "M", "x"),
+        (0x24E8, "M", "y"),
+        (0x24E9, "M", "z"),
+        (0x24EA, "M", "0"),
+        (0x24EB, "V"),
+        (0x2A0C, "M", "∫∫∫∫"),
+        (0x2A0D, "V"),
+        (0x2A74, "3", "::="),
+        (0x2A75, "3", "=="),
+        (0x2A76, "3", "==="),
+        (0x2A77, "V"),
+        (0x2ADC, "M", "⫝̸"),
+        (0x2ADD, "V"),
+        (0x2B74, "X"),
+        (0x2B76, "V"),
+        (0x2B96, "X"),
+        (0x2B97, "V"),
+        (0x2C00, "M", "ⰰ"),
+        (0x2C01, "M", "ⰱ"),
+        (0x2C02, "M", "ⰲ"),
+        (0x2C03, "M", "ⰳ"),
+        (0x2C04, "M", "ⰴ"),
+        (0x2C05, "M", "ⰵ"),
+        (0x2C06, "M", "ⰶ"),
+        (0x2C07, "M", "ⰷ"),
+        (0x2C08, "M", "ⰸ"),
+        (0x2C09, "M", "ⰹ"),
+        (0x2C0A, "M", "ⰺ"),
+        (0x2C0B, "M", "ⰻ"),
+        (0x2C0C, "M", "ⰼ"),
+        (0x2C0D, "M", "ⰽ"),
+        (0x2C0E, "M", "ⰾ"),
+        (0x2C0F, "M", "ⰿ"),
+        (0x2C10, "M", "ⱀ"),
+        (0x2C11, "M", "ⱁ"),
+        (0x2C12, "M", "ⱂ"),
+        (0x2C13, "M", "ⱃ"),
+        (0x2C14, "M", "ⱄ"),
+        (0x2C15, "M", "ⱅ"),
+        (0x2C16, "M", "ⱆ"),
+        (0x2C17, "M", "ⱇ"),
+        (0x2C18, "M", "ⱈ"),
+        (0x2C19, "M", "ⱉ"),
+        (0x2C1A, "M", "ⱊ"),
+        (0x2C1B, "M", "ⱋ"),
+        (0x2C1C, "M", "ⱌ"),
+        (0x2C1D, "M", "ⱍ"),
+        (0x2C1E, "M", "ⱎ"),
+        (0x2C1F, "M", "ⱏ"),
+        (0x2C20, "M", "ⱐ"),
+        (0x2C21, "M", "ⱑ"),
+        (0x2C22, "M", "ⱒ"),
+        (0x2C23, "M", "ⱓ"),
+        (0x2C24, "M", "ⱔ"),
+        (0x2C25, "M", "ⱕ"),
+        (0x2C26, "M", "ⱖ"),
+        (0x2C27, "M", "ⱗ"),
+        (0x2C28, "M", "ⱘ"),
+        (0x2C29, "M", "ⱙ"),
+        (0x2C2A, "M", "ⱚ"),
+        (0x2C2B, "M", "ⱛ"),
+        (0x2C2C, "M", "ⱜ"),
     ]
 
+
 def _seg_25() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x2C29, 'M', 'ⱙ'),
-    (0x2C2A, 'M', 'ⱚ'),
-    (0x2C2B, 'M', 'ⱛ'),
-    (0x2C2C, 'M', 'ⱜ'),
-    (0x2C2D, 'M', 'ⱝ'),
-    (0x2C2E, 'M', 'ⱞ'),
-    (0x2C2F, 'M', 'ⱟ'),
-    (0x2C30, 'V'),
-    (0x2C60, 'M', 'ⱡ'),
-    (0x2C61, 'V'),
-    (0x2C62, 'M', 'ɫ'),
-    (0x2C63, 'M', 'ᵽ'),
-    (0x2C64, 'M', 'ɽ'),
-    (0x2C65, 'V'),
-    (0x2C67, 'M', 'ⱨ'),
-    (0x2C68, 'V'),
-    (0x2C69, 'M', 'ⱪ'),
-    (0x2C6A, 'V'),
-    (0x2C6B, 'M', 'ⱬ'),
-    (0x2C6C, 'V'),
-    (0x2C6D, 'M', 'ɑ'),
-    (0x2C6E, 'M', 'ɱ'),
-    (0x2C6F, 'M', 'ɐ'),
-    (0x2C70, 'M', 'ɒ'),
-    (0x2C71, 'V'),
-    (0x2C72, 'M', 'ⱳ'),
-    (0x2C73, 'V'),
-    (0x2C75, 'M', 'ⱶ'),
-    (0x2C76, 'V'),
-    (0x2C7C, 'M', 'j'),
-    (0x2C7D, 'M', 'v'),
-    (0x2C7E, 'M', 'ȿ'),
-    (0x2C7F, 'M', 'ɀ'),
-    (0x2C80, 'M', 'ⲁ'),
-    (0x2C81, 'V'),
-    (0x2C82, 'M', 'ⲃ'),
-    (0x2C83, 'V'),
-    (0x2C84, 'M', 'ⲅ'),
-    (0x2C85, 'V'),
-    (0x2C86, 'M', 'ⲇ'),
-    (0x2C87, 'V'),
-    (0x2C88, 'M', 'ⲉ'),
-    (0x2C89, 'V'),
-    (0x2C8A, 'M', 'ⲋ'),
-    (0x2C8B, 'V'),
-    (0x2C8C, 'M', 'ⲍ'),
-    (0x2C8D, 'V'),
-    (0x2C8E, 'M', 'ⲏ'),
-    (0x2C8F, 'V'),
-    (0x2C90, 'M', 'ⲑ'),
-    (0x2C91, 'V'),
-    (0x2C92, 'M', 'ⲓ'),
-    (0x2C93, 'V'),
-    (0x2C94, 'M', 'ⲕ'),
-    (0x2C95, 'V'),
-    (0x2C96, 'M', 'ⲗ'),
-    (0x2C97, 'V'),
-    (0x2C98, 'M', 'ⲙ'),
-    (0x2C99, 'V'),
-    (0x2C9A, 'M', 'ⲛ'),
-    (0x2C9B, 'V'),
-    (0x2C9C, 'M', 'ⲝ'),
-    (0x2C9D, 'V'),
-    (0x2C9E, 'M', 'ⲟ'),
-    (0x2C9F, 'V'),
-    (0x2CA0, 'M', 'ⲡ'),
-    (0x2CA1, 'V'),
-    (0x2CA2, 'M', 'ⲣ'),
-    (0x2CA3, 'V'),
-    (0x2CA4, 'M', 'ⲥ'),
-    (0x2CA5, 'V'),
-    (0x2CA6, 'M', 'ⲧ'),
-    (0x2CA7, 'V'),
-    (0x2CA8, 'M', 'ⲩ'),
-    (0x2CA9, 'V'),
-    (0x2CAA, 'M', 'ⲫ'),
-    (0x2CAB, 'V'),
-    (0x2CAC, 'M', 'ⲭ'),
-    (0x2CAD, 'V'),
-    (0x2CAE, 'M', 'ⲯ'),
-    (0x2CAF, 'V'),
-    (0x2CB0, 'M', 'ⲱ'),
-    (0x2CB1, 'V'),
-    (0x2CB2, 'M', 'ⲳ'),
-    (0x2CB3, 'V'),
-    (0x2CB4, 'M', 'ⲵ'),
-    (0x2CB5, 'V'),
-    (0x2CB6, 'M', 'ⲷ'),
-    (0x2CB7, 'V'),
-    (0x2CB8, 'M', 'ⲹ'),
-    (0x2CB9, 'V'),
-    (0x2CBA, 'M', 'ⲻ'),
-    (0x2CBB, 'V'),
-    (0x2CBC, 'M', 'ⲽ'),
-    (0x2CBD, 'V'),
-    (0x2CBE, 'M', 'ⲿ'),
-    (0x2CBF, 'V'),
-    (0x2CC0, 'M', 'ⳁ'),
-    (0x2CC1, 'V'),
-    (0x2CC2, 'M', 'ⳃ'),
+        (0x2C2D, "M", "ⱝ"),
+        (0x2C2E, "M", "ⱞ"),
+        (0x2C2F, "M", "ⱟ"),
+        (0x2C30, "V"),
+        (0x2C60, "M", "ⱡ"),
+        (0x2C61, "V"),
+        (0x2C62, "M", "ɫ"),
+        (0x2C63, "M", "ᵽ"),
+        (0x2C64, "M", "ɽ"),
+        (0x2C65, "V"),
+        (0x2C67, "M", "ⱨ"),
+        (0x2C68, "V"),
+        (0x2C69, "M", "ⱪ"),
+        (0x2C6A, "V"),
+        (0x2C6B, "M", "ⱬ"),
+        (0x2C6C, "V"),
+        (0x2C6D, "M", "ɑ"),
+        (0x2C6E, "M", "ɱ"),
+        (0x2C6F, "M", "ɐ"),
+        (0x2C70, "M", "ɒ"),
+        (0x2C71, "V"),
+        (0x2C72, "M", "ⱳ"),
+        (0x2C73, "V"),
+        (0x2C75, "M", "ⱶ"),
+        (0x2C76, "V"),
+        (0x2C7C, "M", "j"),
+        (0x2C7D, "M", "v"),
+        (0x2C7E, "M", "ȿ"),
+        (0x2C7F, "M", "ɀ"),
+        (0x2C80, "M", "ⲁ"),
+        (0x2C81, "V"),
+        (0x2C82, "M", "ⲃ"),
+        (0x2C83, "V"),
+        (0x2C84, "M", "ⲅ"),
+        (0x2C85, "V"),
+        (0x2C86, "M", "ⲇ"),
+        (0x2C87, "V"),
+        (0x2C88, "M", "ⲉ"),
+        (0x2C89, "V"),
+        (0x2C8A, "M", "ⲋ"),
+        (0x2C8B, "V"),
+        (0x2C8C, "M", "ⲍ"),
+        (0x2C8D, "V"),
+        (0x2C8E, "M", "ⲏ"),
+        (0x2C8F, "V"),
+        (0x2C90, "M", "ⲑ"),
+        (0x2C91, "V"),
+        (0x2C92, "M", "ⲓ"),
+        (0x2C93, "V"),
+        (0x2C94, "M", "ⲕ"),
+        (0x2C95, "V"),
+        (0x2C96, "M", "ⲗ"),
+        (0x2C97, "V"),
+        (0x2C98, "M", "ⲙ"),
+        (0x2C99, "V"),
+        (0x2C9A, "M", "ⲛ"),
+        (0x2C9B, "V"),
+        (0x2C9C, "M", "ⲝ"),
+        (0x2C9D, "V"),
+        (0x2C9E, "M", "ⲟ"),
+        (0x2C9F, "V"),
+        (0x2CA0, "M", "ⲡ"),
+        (0x2CA1, "V"),
+        (0x2CA2, "M", "ⲣ"),
+        (0x2CA3, "V"),
+        (0x2CA4, "M", "ⲥ"),
+        (0x2CA5, "V"),
+        (0x2CA6, "M", "ⲧ"),
+        (0x2CA7, "V"),
+        (0x2CA8, "M", "ⲩ"),
+        (0x2CA9, "V"),
+        (0x2CAA, "M", "ⲫ"),
+        (0x2CAB, "V"),
+        (0x2CAC, "M", "ⲭ"),
+        (0x2CAD, "V"),
+        (0x2CAE, "M", "ⲯ"),
+        (0x2CAF, "V"),
+        (0x2CB0, "M", "ⲱ"),
+        (0x2CB1, "V"),
+        (0x2CB2, "M", "ⲳ"),
+        (0x2CB3, "V"),
+        (0x2CB4, "M", "ⲵ"),
+        (0x2CB5, "V"),
+        (0x2CB6, "M", "ⲷ"),
+        (0x2CB7, "V"),
+        (0x2CB8, "M", "ⲹ"),
+        (0x2CB9, "V"),
+        (0x2CBA, "M", "ⲻ"),
+        (0x2CBB, "V"),
+        (0x2CBC, "M", "ⲽ"),
+        (0x2CBD, "V"),
+        (0x2CBE, "M", "ⲿ"),
+        (0x2CBF, "V"),
+        (0x2CC0, "M", "ⳁ"),
+        (0x2CC1, "V"),
+        (0x2CC2, "M", "ⳃ"),
+        (0x2CC3, "V"),
+        (0x2CC4, "M", "ⳅ"),
+        (0x2CC5, "V"),
+        (0x2CC6, "M", "ⳇ"),
     ]
 
+
 def _seg_26() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x2CC3, 'V'),
-    (0x2CC4, 'M', 'ⳅ'),
-    (0x2CC5, 'V'),
-    (0x2CC6, 'M', 'ⳇ'),
-    (0x2CC7, 'V'),
-    (0x2CC8, 'M', 'ⳉ'),
-    (0x2CC9, 'V'),
-    (0x2CCA, 'M', 'ⳋ'),
-    (0x2CCB, 'V'),
-    (0x2CCC, 'M', 'ⳍ'),
-    (0x2CCD, 'V'),
-    (0x2CCE, 'M', 'ⳏ'),
-    (0x2CCF, 'V'),
-    (0x2CD0, 'M', 'ⳑ'),
-    (0x2CD1, 'V'),
-    (0x2CD2, 'M', 'ⳓ'),
-    (0x2CD3, 'V'),
-    (0x2CD4, 'M', 'ⳕ'),
-    (0x2CD5, 'V'),
-    (0x2CD6, 'M', 'ⳗ'),
-    (0x2CD7, 'V'),
-    (0x2CD8, 'M', 'ⳙ'),
-    (0x2CD9, 'V'),
-    (0x2CDA, 'M', 'ⳛ'),
-    (0x2CDB, 'V'),
-    (0x2CDC, 'M', 'ⳝ'),
-    (0x2CDD, 'V'),
-    (0x2CDE, 'M', 'ⳟ'),
-    (0x2CDF, 'V'),
-    (0x2CE0, 'M', 'ⳡ'),
-    (0x2CE1, 'V'),
-    (0x2CE2, 'M', 'ⳣ'),
-    (0x2CE3, 'V'),
-    (0x2CEB, 'M', 'ⳬ'),
-    (0x2CEC, 'V'),
-    (0x2CED, 'M', 'ⳮ'),
-    (0x2CEE, 'V'),
-    (0x2CF2, 'M', 'ⳳ'),
-    (0x2CF3, 'V'),
-    (0x2CF4, 'X'),
-    (0x2CF9, 'V'),
-    (0x2D26, 'X'),
-    (0x2D27, 'V'),
-    (0x2D28, 'X'),
-    (0x2D2D, 'V'),
-    (0x2D2E, 'X'),
-    (0x2D30, 'V'),
-    (0x2D68, 'X'),
-    (0x2D6F, 'M', 'ⵡ'),
-    (0x2D70, 'V'),
-    (0x2D71, 'X'),
-    (0x2D7F, 'V'),
-    (0x2D97, 'X'),
-    (0x2DA0, 'V'),
-    (0x2DA7, 'X'),
-    (0x2DA8, 'V'),
-    (0x2DAF, 'X'),
-    (0x2DB0, 'V'),
-    (0x2DB7, 'X'),
-    (0x2DB8, 'V'),
-    (0x2DBF, 'X'),
-    (0x2DC0, 'V'),
-    (0x2DC7, 'X'),
-    (0x2DC8, 'V'),
-    (0x2DCF, 'X'),
-    (0x2DD0, 'V'),
-    (0x2DD7, 'X'),
-    (0x2DD8, 'V'),
-    (0x2DDF, 'X'),
-    (0x2DE0, 'V'),
-    (0x2E5E, 'X'),
-    (0x2E80, 'V'),
-    (0x2E9A, 'X'),
-    (0x2E9B, 'V'),
-    (0x2E9F, 'M', '母'),
-    (0x2EA0, 'V'),
-    (0x2EF3, 'M', '龟'),
-    (0x2EF4, 'X'),
-    (0x2F00, 'M', '一'),
-    (0x2F01, 'M', '丨'),
-    (0x2F02, 'M', '丶'),
-    (0x2F03, 'M', '丿'),
-    (0x2F04, 'M', '乙'),
-    (0x2F05, 'M', '亅'),
-    (0x2F06, 'M', '二'),
-    (0x2F07, 'M', '亠'),
-    (0x2F08, 'M', '人'),
-    (0x2F09, 'M', '儿'),
-    (0x2F0A, 'M', '入'),
-    (0x2F0B, 'M', '八'),
-    (0x2F0C, 'M', '冂'),
-    (0x2F0D, 'M', '冖'),
-    (0x2F0E, 'M', '冫'),
-    (0x2F0F, 'M', '几'),
-    (0x2F10, 'M', '凵'),
-    (0x2F11, 'M', '刀'),
-    (0x2F12, 'M', '力'),
-    (0x2F13, 'M', '勹'),
-    (0x2F14, 'M', '匕'),
-    (0x2F15, 'M', '匚'),
+        (0x2CC7, "V"),
+        (0x2CC8, "M", "ⳉ"),
+        (0x2CC9, "V"),
+        (0x2CCA, "M", "ⳋ"),
+        (0x2CCB, "V"),
+        (0x2CCC, "M", "ⳍ"),
+        (0x2CCD, "V"),
+        (0x2CCE, "M", "ⳏ"),
+        (0x2CCF, "V"),
+        (0x2CD0, "M", "ⳑ"),
+        (0x2CD1, "V"),
+        (0x2CD2, "M", "ⳓ"),
+        (0x2CD3, "V"),
+        (0x2CD4, "M", "ⳕ"),
+        (0x2CD5, "V"),
+        (0x2CD6, "M", "ⳗ"),
+        (0x2CD7, "V"),
+        (0x2CD8, "M", "ⳙ"),
+        (0x2CD9, "V"),
+        (0x2CDA, "M", "ⳛ"),
+        (0x2CDB, "V"),
+        (0x2CDC, "M", "ⳝ"),
+        (0x2CDD, "V"),
+        (0x2CDE, "M", "ⳟ"),
+        (0x2CDF, "V"),
+        (0x2CE0, "M", "ⳡ"),
+        (0x2CE1, "V"),
+        (0x2CE2, "M", "ⳣ"),
+        (0x2CE3, "V"),
+        (0x2CEB, "M", "ⳬ"),
+        (0x2CEC, "V"),
+        (0x2CED, "M", "ⳮ"),
+        (0x2CEE, "V"),
+        (0x2CF2, "M", "ⳳ"),
+        (0x2CF3, "V"),
+        (0x2CF4, "X"),
+        (0x2CF9, "V"),
+        (0x2D26, "X"),
+        (0x2D27, "V"),
+        (0x2D28, "X"),
+        (0x2D2D, "V"),
+        (0x2D2E, "X"),
+        (0x2D30, "V"),
+        (0x2D68, "X"),
+        (0x2D6F, "M", "ⵡ"),
+        (0x2D70, "V"),
+        (0x2D71, "X"),
+        (0x2D7F, "V"),
+        (0x2D97, "X"),
+        (0x2DA0, "V"),
+        (0x2DA7, "X"),
+        (0x2DA8, "V"),
+        (0x2DAF, "X"),
+        (0x2DB0, "V"),
+        (0x2DB7, "X"),
+        (0x2DB8, "V"),
+        (0x2DBF, "X"),
+        (0x2DC0, "V"),
+        (0x2DC7, "X"),
+        (0x2DC8, "V"),
+        (0x2DCF, "X"),
+        (0x2DD0, "V"),
+        (0x2DD7, "X"),
+        (0x2DD8, "V"),
+        (0x2DDF, "X"),
+        (0x2DE0, "V"),
+        (0x2E5E, "X"),
+        (0x2E80, "V"),
+        (0x2E9A, "X"),
+        (0x2E9B, "V"),
+        (0x2E9F, "M", "母"),
+        (0x2EA0, "V"),
+        (0x2EF3, "M", "龟"),
+        (0x2EF4, "X"),
+        (0x2F00, "M", "一"),
+        (0x2F01, "M", "丨"),
+        (0x2F02, "M", "丶"),
+        (0x2F03, "M", "丿"),
+        (0x2F04, "M", "乙"),
+        (0x2F05, "M", "亅"),
+        (0x2F06, "M", "二"),
+        (0x2F07, "M", "亠"),
+        (0x2F08, "M", "人"),
+        (0x2F09, "M", "儿"),
+        (0x2F0A, "M", "入"),
+        (0x2F0B, "M", "八"),
+        (0x2F0C, "M", "冂"),
+        (0x2F0D, "M", "冖"),
+        (0x2F0E, "M", "冫"),
+        (0x2F0F, "M", "几"),
+        (0x2F10, "M", "凵"),
+        (0x2F11, "M", "刀"),
+        (0x2F12, "M", "力"),
+        (0x2F13, "M", "勹"),
+        (0x2F14, "M", "匕"),
+        (0x2F15, "M", "匚"),
+        (0x2F16, "M", "匸"),
+        (0x2F17, "M", "十"),
+        (0x2F18, "M", "卜"),
+        (0x2F19, "M", "卩"),
     ]
 
+
 def _seg_27() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x2F16, 'M', '匸'),
-    (0x2F17, 'M', '十'),
-    (0x2F18, 'M', '卜'),
-    (0x2F19, 'M', '卩'),
-    (0x2F1A, 'M', '厂'),
-    (0x2F1B, 'M', '厶'),
-    (0x2F1C, 'M', '又'),
-    (0x2F1D, 'M', '口'),
-    (0x2F1E, 'M', '囗'),
-    (0x2F1F, 'M', '土'),
-    (0x2F20, 'M', '士'),
-    (0x2F21, 'M', '夂'),
-    (0x2F22, 'M', '夊'),
-    (0x2F23, 'M', '夕'),
-    (0x2F24, 'M', '大'),
-    (0x2F25, 'M', '女'),
-    (0x2F26, 'M', '子'),
-    (0x2F27, 'M', '宀'),
-    (0x2F28, 'M', '寸'),
-    (0x2F29, 'M', '小'),
-    (0x2F2A, 'M', '尢'),
-    (0x2F2B, 'M', '尸'),
-    (0x2F2C, 'M', '屮'),
-    (0x2F2D, 'M', '山'),
-    (0x2F2E, 'M', '巛'),
-    (0x2F2F, 'M', '工'),
-    (0x2F30, 'M', '己'),
-    (0x2F31, 'M', '巾'),
-    (0x2F32, 'M', '干'),
-    (0x2F33, 'M', '幺'),
-    (0x2F34, 'M', '广'),
-    (0x2F35, 'M', '廴'),
-    (0x2F36, 'M', '廾'),
-    (0x2F37, 'M', '弋'),
-    (0x2F38, 'M', '弓'),
-    (0x2F39, 'M', '彐'),
-    (0x2F3A, 'M', '彡'),
-    (0x2F3B, 'M', '彳'),
-    (0x2F3C, 'M', '心'),
-    (0x2F3D, 'M', '戈'),
-    (0x2F3E, 'M', '戶'),
-    (0x2F3F, 'M', '手'),
-    (0x2F40, 'M', '支'),
-    (0x2F41, 'M', '攴'),
-    (0x2F42, 'M', '文'),
-    (0x2F43, 'M', '斗'),
-    (0x2F44, 'M', '斤'),
-    (0x2F45, 'M', '方'),
-    (0x2F46, 'M', '无'),
-    (0x2F47, 'M', '日'),
-    (0x2F48, 'M', '曰'),
-    (0x2F49, 'M', '月'),
-    (0x2F4A, 'M', '木'),
-    (0x2F4B, 'M', '欠'),
-    (0x2F4C, 'M', '止'),
-    (0x2F4D, 'M', '歹'),
-    (0x2F4E, 'M', '殳'),
-    (0x2F4F, 'M', '毋'),
-    (0x2F50, 'M', '比'),
-    (0x2F51, 'M', '毛'),
-    (0x2F52, 'M', '氏'),
-    (0x2F53, 'M', '气'),
-    (0x2F54, 'M', '水'),
-    (0x2F55, 'M', '火'),
-    (0x2F56, 'M', '爪'),
-    (0x2F57, 'M', '父'),
-    (0x2F58, 'M', '爻'),
-    (0x2F59, 'M', '爿'),
-    (0x2F5A, 'M', '片'),
-    (0x2F5B, 'M', '牙'),
-    (0x2F5C, 'M', '牛'),
-    (0x2F5D, 'M', '犬'),
-    (0x2F5E, 'M', '玄'),
-    (0x2F5F, 'M', '玉'),
-    (0x2F60, 'M', '瓜'),
-    (0x2F61, 'M', '瓦'),
-    (0x2F62, 'M', '甘'),
-    (0x2F63, 'M', '生'),
-    (0x2F64, 'M', '用'),
-    (0x2F65, 'M', '田'),
-    (0x2F66, 'M', '疋'),
-    (0x2F67, 'M', '疒'),
-    (0x2F68, 'M', '癶'),
-    (0x2F69, 'M', '白'),
-    (0x2F6A, 'M', '皮'),
-    (0x2F6B, 'M', '皿'),
-    (0x2F6C, 'M', '目'),
-    (0x2F6D, 'M', '矛'),
-    (0x2F6E, 'M', '矢'),
-    (0x2F6F, 'M', '石'),
-    (0x2F70, 'M', '示'),
-    (0x2F71, 'M', '禸'),
-    (0x2F72, 'M', '禾'),
-    (0x2F73, 'M', '穴'),
-    (0x2F74, 'M', '立'),
-    (0x2F75, 'M', '竹'),
-    (0x2F76, 'M', '米'),
-    (0x2F77, 'M', '糸'),
-    (0x2F78, 'M', '缶'),
-    (0x2F79, 'M', '网'),
+        (0x2F1A, "M", "厂"),
+        (0x2F1B, "M", "厶"),
+        (0x2F1C, "M", "又"),
+        (0x2F1D, "M", "口"),
+        (0x2F1E, "M", "囗"),
+        (0x2F1F, "M", "土"),
+        (0x2F20, "M", "士"),
+        (0x2F21, "M", "夂"),
+        (0x2F22, "M", "夊"),
+        (0x2F23, "M", "夕"),
+        (0x2F24, "M", "大"),
+        (0x2F25, "M", "女"),
+        (0x2F26, "M", "子"),
+        (0x2F27, "M", "宀"),
+        (0x2F28, "M", "寸"),
+        (0x2F29, "M", "小"),
+        (0x2F2A, "M", "尢"),
+        (0x2F2B, "M", "尸"),
+        (0x2F2C, "M", "屮"),
+        (0x2F2D, "M", "山"),
+        (0x2F2E, "M", "巛"),
+        (0x2F2F, "M", "工"),
+        (0x2F30, "M", "己"),
+        (0x2F31, "M", "巾"),
+        (0x2F32, "M", "干"),
+        (0x2F33, "M", "幺"),
+        (0x2F34, "M", "广"),
+        (0x2F35, "M", "廴"),
+        (0x2F36, "M", "廾"),
+        (0x2F37, "M", "弋"),
+        (0x2F38, "M", "弓"),
+        (0x2F39, "M", "彐"),
+        (0x2F3A, "M", "彡"),
+        (0x2F3B, "M", "彳"),
+        (0x2F3C, "M", "心"),
+        (0x2F3D, "M", "戈"),
+        (0x2F3E, "M", "戶"),
+        (0x2F3F, "M", "手"),
+        (0x2F40, "M", "支"),
+        (0x2F41, "M", "攴"),
+        (0x2F42, "M", "文"),
+        (0x2F43, "M", "斗"),
+        (0x2F44, "M", "斤"),
+        (0x2F45, "M", "方"),
+        (0x2F46, "M", "无"),
+        (0x2F47, "M", "日"),
+        (0x2F48, "M", "曰"),
+        (0x2F49, "M", "月"),
+        (0x2F4A, "M", "木"),
+        (0x2F4B, "M", "欠"),
+        (0x2F4C, "M", "止"),
+        (0x2F4D, "M", "歹"),
+        (0x2F4E, "M", "殳"),
+        (0x2F4F, "M", "毋"),
+        (0x2F50, "M", "比"),
+        (0x2F51, "M", "毛"),
+        (0x2F52, "M", "氏"),
+        (0x2F53, "M", "气"),
+        (0x2F54, "M", "水"),
+        (0x2F55, "M", "火"),
+        (0x2F56, "M", "爪"),
+        (0x2F57, "M", "父"),
+        (0x2F58, "M", "爻"),
+        (0x2F59, "M", "爿"),
+        (0x2F5A, "M", "片"),
+        (0x2F5B, "M", "牙"),
+        (0x2F5C, "M", "牛"),
+        (0x2F5D, "M", "犬"),
+        (0x2F5E, "M", "玄"),
+        (0x2F5F, "M", "玉"),
+        (0x2F60, "M", "瓜"),
+        (0x2F61, "M", "瓦"),
+        (0x2F62, "M", "甘"),
+        (0x2F63, "M", "生"),
+        (0x2F64, "M", "用"),
+        (0x2F65, "M", "田"),
+        (0x2F66, "M", "疋"),
+        (0x2F67, "M", "疒"),
+        (0x2F68, "M", "癶"),
+        (0x2F69, "M", "白"),
+        (0x2F6A, "M", "皮"),
+        (0x2F6B, "M", "皿"),
+        (0x2F6C, "M", "目"),
+        (0x2F6D, "M", "矛"),
+        (0x2F6E, "M", "矢"),
+        (0x2F6F, "M", "石"),
+        (0x2F70, "M", "示"),
+        (0x2F71, "M", "禸"),
+        (0x2F72, "M", "禾"),
+        (0x2F73, "M", "穴"),
+        (0x2F74, "M", "立"),
+        (0x2F75, "M", "竹"),
+        (0x2F76, "M", "米"),
+        (0x2F77, "M", "糸"),
+        (0x2F78, "M", "缶"),
+        (0x2F79, "M", "网"),
+        (0x2F7A, "M", "羊"),
+        (0x2F7B, "M", "羽"),
+        (0x2F7C, "M", "老"),
+        (0x2F7D, "M", "而"),
     ]
 
+
 def _seg_28() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x2F7A, 'M', '羊'),
-    (0x2F7B, 'M', '羽'),
-    (0x2F7C, 'M', '老'),
-    (0x2F7D, 'M', '而'),
-    (0x2F7E, 'M', '耒'),
-    (0x2F7F, 'M', '耳'),
-    (0x2F80, 'M', '聿'),
-    (0x2F81, 'M', '肉'),
-    (0x2F82, 'M', '臣'),
-    (0x2F83, 'M', '自'),
-    (0x2F84, 'M', '至'),
-    (0x2F85, 'M', '臼'),
-    (0x2F86, 'M', '舌'),
-    (0x2F87, 'M', '舛'),
-    (0x2F88, 'M', '舟'),
-    (0x2F89, 'M', '艮'),
-    (0x2F8A, 'M', '色'),
-    (0x2F8B, 'M', '艸'),
-    (0x2F8C, 'M', '虍'),
-    (0x2F8D, 'M', '虫'),
-    (0x2F8E, 'M', '血'),
-    (0x2F8F, 'M', '行'),
-    (0x2F90, 'M', '衣'),
-    (0x2F91, 'M', '襾'),
-    (0x2F92, 'M', '見'),
-    (0x2F93, 'M', '角'),
-    (0x2F94, 'M', '言'),
-    (0x2F95, 'M', '谷'),
-    (0x2F96, 'M', '豆'),
-    (0x2F97, 'M', '豕'),
-    (0x2F98, 'M', '豸'),
-    (0x2F99, 'M', '貝'),
-    (0x2F9A, 'M', '赤'),
-    (0x2F9B, 'M', '走'),
-    (0x2F9C, 'M', '足'),
-    (0x2F9D, 'M', '身'),
-    (0x2F9E, 'M', '車'),
-    (0x2F9F, 'M', '辛'),
-    (0x2FA0, 'M', '辰'),
-    (0x2FA1, 'M', '辵'),
-    (0x2FA2, 'M', '邑'),
-    (0x2FA3, 'M', '酉'),
-    (0x2FA4, 'M', '釆'),
-    (0x2FA5, 'M', '里'),
-    (0x2FA6, 'M', '金'),
-    (0x2FA7, 'M', '長'),
-    (0x2FA8, 'M', '門'),
-    (0x2FA9, 'M', '阜'),
-    (0x2FAA, 'M', '隶'),
-    (0x2FAB, 'M', '隹'),
-    (0x2FAC, 'M', '雨'),
-    (0x2FAD, 'M', '靑'),
-    (0x2FAE, 'M', '非'),
-    (0x2FAF, 'M', '面'),
-    (0x2FB0, 'M', '革'),
-    (0x2FB1, 'M', '韋'),
-    (0x2FB2, 'M', '韭'),
-    (0x2FB3, 'M', '音'),
-    (0x2FB4, 'M', '頁'),
-    (0x2FB5, 'M', '風'),
-    (0x2FB6, 'M', '飛'),
-    (0x2FB7, 'M', '食'),
-    (0x2FB8, 'M', '首'),
-    (0x2FB9, 'M', '香'),
-    (0x2FBA, 'M', '馬'),
-    (0x2FBB, 'M', '骨'),
-    (0x2FBC, 'M', '高'),
-    (0x2FBD, 'M', '髟'),
-    (0x2FBE, 'M', '鬥'),
-    (0x2FBF, 'M', '鬯'),
-    (0x2FC0, 'M', '鬲'),
-    (0x2FC1, 'M', '鬼'),
-    (0x2FC2, 'M', '魚'),
-    (0x2FC3, 'M', '鳥'),
-    (0x2FC4, 'M', '鹵'),
-    (0x2FC5, 'M', '鹿'),
-    (0x2FC6, 'M', '麥'),
-    (0x2FC7, 'M', '麻'),
-    (0x2FC8, 'M', '黃'),
-    (0x2FC9, 'M', '黍'),
-    (0x2FCA, 'M', '黑'),
-    (0x2FCB, 'M', '黹'),
-    (0x2FCC, 'M', '黽'),
-    (0x2FCD, 'M', '鼎'),
-    (0x2FCE, 'M', '鼓'),
-    (0x2FCF, 'M', '鼠'),
-    (0x2FD0, 'M', '鼻'),
-    (0x2FD1, 'M', '齊'),
-    (0x2FD2, 'M', '齒'),
-    (0x2FD3, 'M', '龍'),
-    (0x2FD4, 'M', '龜'),
-    (0x2FD5, 'M', '龠'),
-    (0x2FD6, 'X'),
-    (0x3000, '3', ' '),
-    (0x3001, 'V'),
-    (0x3002, 'M', '.'),
-    (0x3003, 'V'),
-    (0x3036, 'M', '〒'),
-    (0x3037, 'V'),
-    (0x3038, 'M', '十'),
+        (0x2F7E, "M", "耒"),
+        (0x2F7F, "M", "耳"),
+        (0x2F80, "M", "聿"),
+        (0x2F81, "M", "肉"),
+        (0x2F82, "M", "臣"),
+        (0x2F83, "M", "自"),
+        (0x2F84, "M", "至"),
+        (0x2F85, "M", "臼"),
+        (0x2F86, "M", "舌"),
+        (0x2F87, "M", "舛"),
+        (0x2F88, "M", "舟"),
+        (0x2F89, "M", "艮"),
+        (0x2F8A, "M", "色"),
+        (0x2F8B, "M", "艸"),
+        (0x2F8C, "M", "虍"),
+        (0x2F8D, "M", "虫"),
+        (0x2F8E, "M", "血"),
+        (0x2F8F, "M", "行"),
+        (0x2F90, "M", "衣"),
+        (0x2F91, "M", "襾"),
+        (0x2F92, "M", "見"),
+        (0x2F93, "M", "角"),
+        (0x2F94, "M", "言"),
+        (0x2F95, "M", "谷"),
+        (0x2F96, "M", "豆"),
+        (0x2F97, "M", "豕"),
+        (0x2F98, "M", "豸"),
+        (0x2F99, "M", "貝"),
+        (0x2F9A, "M", "赤"),
+        (0x2F9B, "M", "走"),
+        (0x2F9C, "M", "足"),
+        (0x2F9D, "M", "身"),
+        (0x2F9E, "M", "車"),
+        (0x2F9F, "M", "辛"),
+        (0x2FA0, "M", "辰"),
+        (0x2FA1, "M", "辵"),
+        (0x2FA2, "M", "邑"),
+        (0x2FA3, "M", "酉"),
+        (0x2FA4, "M", "釆"),
+        (0x2FA5, "M", "里"),
+        (0x2FA6, "M", "金"),
+        (0x2FA7, "M", "長"),
+        (0x2FA8, "M", "門"),
+        (0x2FA9, "M", "阜"),
+        (0x2FAA, "M", "隶"),
+        (0x2FAB, "M", "隹"),
+        (0x2FAC, "M", "雨"),
+        (0x2FAD, "M", "靑"),
+        (0x2FAE, "M", "非"),
+        (0x2FAF, "M", "面"),
+        (0x2FB0, "M", "革"),
+        (0x2FB1, "M", "韋"),
+        (0x2FB2, "M", "韭"),
+        (0x2FB3, "M", "音"),
+        (0x2FB4, "M", "頁"),
+        (0x2FB5, "M", "風"),
+        (0x2FB6, "M", "飛"),
+        (0x2FB7, "M", "食"),
+        (0x2FB8, "M", "首"),
+        (0x2FB9, "M", "香"),
+        (0x2FBA, "M", "馬"),
+        (0x2FBB, "M", "骨"),
+        (0x2FBC, "M", "高"),
+        (0x2FBD, "M", "髟"),
+        (0x2FBE, "M", "鬥"),
+        (0x2FBF, "M", "鬯"),
+        (0x2FC0, "M", "鬲"),
+        (0x2FC1, "M", "鬼"),
+        (0x2FC2, "M", "魚"),
+        (0x2FC3, "M", "鳥"),
+        (0x2FC4, "M", "鹵"),
+        (0x2FC5, "M", "鹿"),
+        (0x2FC6, "M", "麥"),
+        (0x2FC7, "M", "麻"),
+        (0x2FC8, "M", "黃"),
+        (0x2FC9, "M", "黍"),
+        (0x2FCA, "M", "黑"),
+        (0x2FCB, "M", "黹"),
+        (0x2FCC, "M", "黽"),
+        (0x2FCD, "M", "鼎"),
+        (0x2FCE, "M", "鼓"),
+        (0x2FCF, "M", "鼠"),
+        (0x2FD0, "M", "鼻"),
+        (0x2FD1, "M", "齊"),
+        (0x2FD2, "M", "齒"),
+        (0x2FD3, "M", "龍"),
+        (0x2FD4, "M", "龜"),
+        (0x2FD5, "M", "龠"),
+        (0x2FD6, "X"),
+        (0x3000, "3", " "),
+        (0x3001, "V"),
+        (0x3002, "M", "."),
+        (0x3003, "V"),
+        (0x3036, "M", "〒"),
+        (0x3037, "V"),
+        (0x3038, "M", "十"),
+        (0x3039, "M", "卄"),
+        (0x303A, "M", "卅"),
+        (0x303B, "V"),
+        (0x3040, "X"),
     ]
 
+
 def _seg_29() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x3039, 'M', '卄'),
-    (0x303A, 'M', '卅'),
-    (0x303B, 'V'),
-    (0x3040, 'X'),
-    (0x3041, 'V'),
-    (0x3097, 'X'),
-    (0x3099, 'V'),
-    (0x309B, '3', ' ゙'),
-    (0x309C, '3', ' ゚'),
-    (0x309D, 'V'),
-    (0x309F, 'M', 'より'),
-    (0x30A0, 'V'),
-    (0x30FF, 'M', 'コト'),
-    (0x3100, 'X'),
-    (0x3105, 'V'),
-    (0x3130, 'X'),
-    (0x3131, 'M', 'ᄀ'),
-    (0x3132, 'M', 'ᄁ'),
-    (0x3133, 'M', 'ᆪ'),
-    (0x3134, 'M', 'ᄂ'),
-    (0x3135, 'M', 'ᆬ'),
-    (0x3136, 'M', 'ᆭ'),
-    (0x3137, 'M', 'ᄃ'),
-    (0x3138, 'M', 'ᄄ'),
-    (0x3139, 'M', 'ᄅ'),
-    (0x313A, 'M', 'ᆰ'),
-    (0x313B, 'M', 'ᆱ'),
-    (0x313C, 'M', 'ᆲ'),
-    (0x313D, 'M', 'ᆳ'),
-    (0x313E, 'M', 'ᆴ'),
-    (0x313F, 'M', 'ᆵ'),
-    (0x3140, 'M', 'ᄚ'),
-    (0x3141, 'M', 'ᄆ'),
-    (0x3142, 'M', 'ᄇ'),
-    (0x3143, 'M', 'ᄈ'),
-    (0x3144, 'M', 'ᄡ'),
-    (0x3145, 'M', 'ᄉ'),
-    (0x3146, 'M', 'ᄊ'),
-    (0x3147, 'M', 'ᄋ'),
-    (0x3148, 'M', 'ᄌ'),
-    (0x3149, 'M', 'ᄍ'),
-    (0x314A, 'M', 'ᄎ'),
-    (0x314B, 'M', 'ᄏ'),
-    (0x314C, 'M', 'ᄐ'),
-    (0x314D, 'M', 'ᄑ'),
-    (0x314E, 'M', 'ᄒ'),
-    (0x314F, 'M', 'ᅡ'),
-    (0x3150, 'M', 'ᅢ'),
-    (0x3151, 'M', 'ᅣ'),
-    (0x3152, 'M', 'ᅤ'),
-    (0x3153, 'M', 'ᅥ'),
-    (0x3154, 'M', 'ᅦ'),
-    (0x3155, 'M', 'ᅧ'),
-    (0x3156, 'M', 'ᅨ'),
-    (0x3157, 'M', 'ᅩ'),
-    (0x3158, 'M', 'ᅪ'),
-    (0x3159, 'M', 'ᅫ'),
-    (0x315A, 'M', 'ᅬ'),
-    (0x315B, 'M', 'ᅭ'),
-    (0x315C, 'M', 'ᅮ'),
-    (0x315D, 'M', 'ᅯ'),
-    (0x315E, 'M', 'ᅰ'),
-    (0x315F, 'M', 'ᅱ'),
-    (0x3160, 'M', 'ᅲ'),
-    (0x3161, 'M', 'ᅳ'),
-    (0x3162, 'M', 'ᅴ'),
-    (0x3163, 'M', 'ᅵ'),
-    (0x3164, 'X'),
-    (0x3165, 'M', 'ᄔ'),
-    (0x3166, 'M', 'ᄕ'),
-    (0x3167, 'M', 'ᇇ'),
-    (0x3168, 'M', 'ᇈ'),
-    (0x3169, 'M', 'ᇌ'),
-    (0x316A, 'M', 'ᇎ'),
-    (0x316B, 'M', 'ᇓ'),
-    (0x316C, 'M', 'ᇗ'),
-    (0x316D, 'M', 'ᇙ'),
-    (0x316E, 'M', 'ᄜ'),
-    (0x316F, 'M', 'ᇝ'),
-    (0x3170, 'M', 'ᇟ'),
-    (0x3171, 'M', 'ᄝ'),
-    (0x3172, 'M', 'ᄞ'),
-    (0x3173, 'M', 'ᄠ'),
-    (0x3174, 'M', 'ᄢ'),
-    (0x3175, 'M', 'ᄣ'),
-    (0x3176, 'M', 'ᄧ'),
-    (0x3177, 'M', 'ᄩ'),
-    (0x3178, 'M', 'ᄫ'),
-    (0x3179, 'M', 'ᄬ'),
-    (0x317A, 'M', 'ᄭ'),
-    (0x317B, 'M', 'ᄮ'),
-    (0x317C, 'M', 'ᄯ'),
-    (0x317D, 'M', 'ᄲ'),
-    (0x317E, 'M', 'ᄶ'),
-    (0x317F, 'M', 'ᅀ'),
-    (0x3180, 'M', 'ᅇ'),
-    (0x3181, 'M', 'ᅌ'),
-    (0x3182, 'M', 'ᇱ'),
-    (0x3183, 'M', 'ᇲ'),
-    (0x3184, 'M', 'ᅗ'),
+        (0x3041, "V"),
+        (0x3097, "X"),
+        (0x3099, "V"),
+        (0x309B, "3", " ゙"),
+        (0x309C, "3", " ゚"),
+        (0x309D, "V"),
+        (0x309F, "M", "より"),
+        (0x30A0, "V"),
+        (0x30FF, "M", "コト"),
+        (0x3100, "X"),
+        (0x3105, "V"),
+        (0x3130, "X"),
+        (0x3131, "M", "ᄀ"),
+        (0x3132, "M", "ᄁ"),
+        (0x3133, "M", "ᆪ"),
+        (0x3134, "M", "ᄂ"),
+        (0x3135, "M", "ᆬ"),
+        (0x3136, "M", "ᆭ"),
+        (0x3137, "M", "ᄃ"),
+        (0x3138, "M", "ᄄ"),
+        (0x3139, "M", "ᄅ"),
+        (0x313A, "M", "ᆰ"),
+        (0x313B, "M", "ᆱ"),
+        (0x313C, "M", "ᆲ"),
+        (0x313D, "M", "ᆳ"),
+        (0x313E, "M", "ᆴ"),
+        (0x313F, "M", "ᆵ"),
+        (0x3140, "M", "ᄚ"),
+        (0x3141, "M", "ᄆ"),
+        (0x3142, "M", "ᄇ"),
+        (0x3143, "M", "ᄈ"),
+        (0x3144, "M", "ᄡ"),
+        (0x3145, "M", "ᄉ"),
+        (0x3146, "M", "ᄊ"),
+        (0x3147, "M", "ᄋ"),
+        (0x3148, "M", "ᄌ"),
+        (0x3149, "M", "ᄍ"),
+        (0x314A, "M", "ᄎ"),
+        (0x314B, "M", "ᄏ"),
+        (0x314C, "M", "ᄐ"),
+        (0x314D, "M", "ᄑ"),
+        (0x314E, "M", "ᄒ"),
+        (0x314F, "M", "ᅡ"),
+        (0x3150, "M", "ᅢ"),
+        (0x3151, "M", "ᅣ"),
+        (0x3152, "M", "ᅤ"),
+        (0x3153, "M", "ᅥ"),
+        (0x3154, "M", "ᅦ"),
+        (0x3155, "M", "ᅧ"),
+        (0x3156, "M", "ᅨ"),
+        (0x3157, "M", "ᅩ"),
+        (0x3158, "M", "ᅪ"),
+        (0x3159, "M", "ᅫ"),
+        (0x315A, "M", "ᅬ"),
+        (0x315B, "M", "ᅭ"),
+        (0x315C, "M", "ᅮ"),
+        (0x315D, "M", "ᅯ"),
+        (0x315E, "M", "ᅰ"),
+        (0x315F, "M", "ᅱ"),
+        (0x3160, "M", "ᅲ"),
+        (0x3161, "M", "ᅳ"),
+        (0x3162, "M", "ᅴ"),
+        (0x3163, "M", "ᅵ"),
+        (0x3164, "X"),
+        (0x3165, "M", "ᄔ"),
+        (0x3166, "M", "ᄕ"),
+        (0x3167, "M", "ᇇ"),
+        (0x3168, "M", "ᇈ"),
+        (0x3169, "M", "ᇌ"),
+        (0x316A, "M", "ᇎ"),
+        (0x316B, "M", "ᇓ"),
+        (0x316C, "M", "ᇗ"),
+        (0x316D, "M", "ᇙ"),
+        (0x316E, "M", "ᄜ"),
+        (0x316F, "M", "ᇝ"),
+        (0x3170, "M", "ᇟ"),
+        (0x3171, "M", "ᄝ"),
+        (0x3172, "M", "ᄞ"),
+        (0x3173, "M", "ᄠ"),
+        (0x3174, "M", "ᄢ"),
+        (0x3175, "M", "ᄣ"),
+        (0x3176, "M", "ᄧ"),
+        (0x3177, "M", "ᄩ"),
+        (0x3178, "M", "ᄫ"),
+        (0x3179, "M", "ᄬ"),
+        (0x317A, "M", "ᄭ"),
+        (0x317B, "M", "ᄮ"),
+        (0x317C, "M", "ᄯ"),
+        (0x317D, "M", "ᄲ"),
+        (0x317E, "M", "ᄶ"),
+        (0x317F, "M", "ᅀ"),
+        (0x3180, "M", "ᅇ"),
+        (0x3181, "M", "ᅌ"),
+        (0x3182, "M", "ᇱ"),
+        (0x3183, "M", "ᇲ"),
+        (0x3184, "M", "ᅗ"),
+        (0x3185, "M", "ᅘ"),
+        (0x3186, "M", "ᅙ"),
+        (0x3187, "M", "ᆄ"),
+        (0x3188, "M", "ᆅ"),
     ]
 
+
 def _seg_30() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x3185, 'M', 'ᅘ'),
-    (0x3186, 'M', 'ᅙ'),
-    (0x3187, 'M', 'ᆄ'),
-    (0x3188, 'M', 'ᆅ'),
-    (0x3189, 'M', 'ᆈ'),
-    (0x318A, 'M', 'ᆑ'),
-    (0x318B, 'M', 'ᆒ'),
-    (0x318C, 'M', 'ᆔ'),
-    (0x318D, 'M', 'ᆞ'),
-    (0x318E, 'M', 'ᆡ'),
-    (0x318F, 'X'),
-    (0x3190, 'V'),
-    (0x3192, 'M', '一'),
-    (0x3193, 'M', '二'),
-    (0x3194, 'M', '三'),
-    (0x3195, 'M', '四'),
-    (0x3196, 'M', '上'),
-    (0x3197, 'M', '中'),
-    (0x3198, 'M', '下'),
-    (0x3199, 'M', '甲'),
-    (0x319A, 'M', '乙'),
-    (0x319B, 'M', '丙'),
-    (0x319C, 'M', '丁'),
-    (0x319D, 'M', '天'),
-    (0x319E, 'M', '地'),
-    (0x319F, 'M', '人'),
-    (0x31A0, 'V'),
-    (0x31E4, 'X'),
-    (0x31F0, 'V'),
-    (0x3200, '3', '(ᄀ)'),
-    (0x3201, '3', '(ᄂ)'),
-    (0x3202, '3', '(ᄃ)'),
-    (0x3203, '3', '(ᄅ)'),
-    (0x3204, '3', '(ᄆ)'),
-    (0x3205, '3', '(ᄇ)'),
-    (0x3206, '3', '(ᄉ)'),
-    (0x3207, '3', '(ᄋ)'),
-    (0x3208, '3', '(ᄌ)'),
-    (0x3209, '3', '(ᄎ)'),
-    (0x320A, '3', '(ᄏ)'),
-    (0x320B, '3', '(ᄐ)'),
-    (0x320C, '3', '(ᄑ)'),
-    (0x320D, '3', '(ᄒ)'),
-    (0x320E, '3', '(가)'),
-    (0x320F, '3', '(나)'),
-    (0x3210, '3', '(다)'),
-    (0x3211, '3', '(라)'),
-    (0x3212, '3', '(마)'),
-    (0x3213, '3', '(바)'),
-    (0x3214, '3', '(사)'),
-    (0x3215, '3', '(아)'),
-    (0x3216, '3', '(자)'),
-    (0x3217, '3', '(차)'),
-    (0x3218, '3', '(카)'),
-    (0x3219, '3', '(타)'),
-    (0x321A, '3', '(파)'),
-    (0x321B, '3', '(하)'),
-    (0x321C, '3', '(주)'),
-    (0x321D, '3', '(오전)'),
-    (0x321E, '3', '(오후)'),
-    (0x321F, 'X'),
-    (0x3220, '3', '(一)'),
-    (0x3221, '3', '(二)'),
-    (0x3222, '3', '(三)'),
-    (0x3223, '3', '(四)'),
-    (0x3224, '3', '(五)'),
-    (0x3225, '3', '(六)'),
-    (0x3226, '3', '(七)'),
-    (0x3227, '3', '(八)'),
-    (0x3228, '3', '(九)'),
-    (0x3229, '3', '(十)'),
-    (0x322A, '3', '(月)'),
-    (0x322B, '3', '(火)'),
-    (0x322C, '3', '(水)'),
-    (0x322D, '3', '(木)'),
-    (0x322E, '3', '(金)'),
-    (0x322F, '3', '(土)'),
-    (0x3230, '3', '(日)'),
-    (0x3231, '3', '(株)'),
-    (0x3232, '3', '(有)'),
-    (0x3233, '3', '(社)'),
-    (0x3234, '3', '(名)'),
-    (0x3235, '3', '(特)'),
-    (0x3236, '3', '(財)'),
-    (0x3237, '3', '(祝)'),
-    (0x3238, '3', '(労)'),
-    (0x3239, '3', '(代)'),
-    (0x323A, '3', '(呼)'),
-    (0x323B, '3', '(学)'),
-    (0x323C, '3', '(監)'),
-    (0x323D, '3', '(企)'),
-    (0x323E, '3', '(資)'),
-    (0x323F, '3', '(協)'),
-    (0x3240, '3', '(祭)'),
-    (0x3241, '3', '(休)'),
-    (0x3242, '3', '(自)'),
-    (0x3243, '3', '(至)'),
-    (0x3244, 'M', '問'),
-    (0x3245, 'M', '幼'),
-    (0x3246, 'M', '文'),
+        (0x3189, "M", "ᆈ"),
+        (0x318A, "M", "ᆑ"),
+        (0x318B, "M", "ᆒ"),
+        (0x318C, "M", "ᆔ"),
+        (0x318D, "M", "ᆞ"),
+        (0x318E, "M", "ᆡ"),
+        (0x318F, "X"),
+        (0x3190, "V"),
+        (0x3192, "M", "一"),
+        (0x3193, "M", "二"),
+        (0x3194, "M", "三"),
+        (0x3195, "M", "四"),
+        (0x3196, "M", "上"),
+        (0x3197, "M", "中"),
+        (0x3198, "M", "下"),
+        (0x3199, "M", "甲"),
+        (0x319A, "M", "乙"),
+        (0x319B, "M", "丙"),
+        (0x319C, "M", "丁"),
+        (0x319D, "M", "天"),
+        (0x319E, "M", "地"),
+        (0x319F, "M", "人"),
+        (0x31A0, "V"),
+        (0x31E4, "X"),
+        (0x31F0, "V"),
+        (0x3200, "3", "(ᄀ)"),
+        (0x3201, "3", "(ᄂ)"),
+        (0x3202, "3", "(ᄃ)"),
+        (0x3203, "3", "(ᄅ)"),
+        (0x3204, "3", "(ᄆ)"),
+        (0x3205, "3", "(ᄇ)"),
+        (0x3206, "3", "(ᄉ)"),
+        (0x3207, "3", "(ᄋ)"),
+        (0x3208, "3", "(ᄌ)"),
+        (0x3209, "3", "(ᄎ)"),
+        (0x320A, "3", "(ᄏ)"),
+        (0x320B, "3", "(ᄐ)"),
+        (0x320C, "3", "(ᄑ)"),
+        (0x320D, "3", "(ᄒ)"),
+        (0x320E, "3", "(가)"),
+        (0x320F, "3", "(나)"),
+        (0x3210, "3", "(다)"),
+        (0x3211, "3", "(라)"),
+        (0x3212, "3", "(마)"),
+        (0x3213, "3", "(바)"),
+        (0x3214, "3", "(사)"),
+        (0x3215, "3", "(아)"),
+        (0x3216, "3", "(자)"),
+        (0x3217, "3", "(차)"),
+        (0x3218, "3", "(카)"),
+        (0x3219, "3", "(타)"),
+        (0x321A, "3", "(파)"),
+        (0x321B, "3", "(하)"),
+        (0x321C, "3", "(주)"),
+        (0x321D, "3", "(오전)"),
+        (0x321E, "3", "(오후)"),
+        (0x321F, "X"),
+        (0x3220, "3", "(一)"),
+        (0x3221, "3", "(二)"),
+        (0x3222, "3", "(三)"),
+        (0x3223, "3", "(四)"),
+        (0x3224, "3", "(五)"),
+        (0x3225, "3", "(六)"),
+        (0x3226, "3", "(七)"),
+        (0x3227, "3", "(八)"),
+        (0x3228, "3", "(九)"),
+        (0x3229, "3", "(十)"),
+        (0x322A, "3", "(月)"),
+        (0x322B, "3", "(火)"),
+        (0x322C, "3", "(水)"),
+        (0x322D, "3", "(木)"),
+        (0x322E, "3", "(金)"),
+        (0x322F, "3", "(土)"),
+        (0x3230, "3", "(日)"),
+        (0x3231, "3", "(株)"),
+        (0x3232, "3", "(有)"),
+        (0x3233, "3", "(社)"),
+        (0x3234, "3", "(名)"),
+        (0x3235, "3", "(特)"),
+        (0x3236, "3", "(財)"),
+        (0x3237, "3", "(祝)"),
+        (0x3238, "3", "(労)"),
+        (0x3239, "3", "(代)"),
+        (0x323A, "3", "(呼)"),
+        (0x323B, "3", "(学)"),
+        (0x323C, "3", "(監)"),
+        (0x323D, "3", "(企)"),
+        (0x323E, "3", "(資)"),
+        (0x323F, "3", "(協)"),
+        (0x3240, "3", "(祭)"),
+        (0x3241, "3", "(休)"),
+        (0x3242, "3", "(自)"),
+        (0x3243, "3", "(至)"),
+        (0x3244, "M", "問"),
+        (0x3245, "M", "幼"),
+        (0x3246, "M", "文"),
+        (0x3247, "M", "箏"),
+        (0x3248, "V"),
+        (0x3250, "M", "pte"),
+        (0x3251, "M", "21"),
     ]
 
+
 def _seg_31() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x3247, 'M', '箏'),
-    (0x3248, 'V'),
-    (0x3250, 'M', 'pte'),
-    (0x3251, 'M', '21'),
-    (0x3252, 'M', '22'),
-    (0x3253, 'M', '23'),
-    (0x3254, 'M', '24'),
-    (0x3255, 'M', '25'),
-    (0x3256, 'M', '26'),
-    (0x3257, 'M', '27'),
-    (0x3258, 'M', '28'),
-    (0x3259, 'M', '29'),
-    (0x325A, 'M', '30'),
-    (0x325B, 'M', '31'),
-    (0x325C, 'M', '32'),
-    (0x325D, 'M', '33'),
-    (0x325E, 'M', '34'),
-    (0x325F, 'M', '35'),
-    (0x3260, 'M', 'ᄀ'),
-    (0x3261, 'M', 'ᄂ'),
-    (0x3262, 'M', 'ᄃ'),
-    (0x3263, 'M', 'ᄅ'),
-    (0x3264, 'M', 'ᄆ'),
-    (0x3265, 'M', 'ᄇ'),
-    (0x3266, 'M', 'ᄉ'),
-    (0x3267, 'M', 'ᄋ'),
-    (0x3268, 'M', 'ᄌ'),
-    (0x3269, 'M', 'ᄎ'),
-    (0x326A, 'M', 'ᄏ'),
-    (0x326B, 'M', 'ᄐ'),
-    (0x326C, 'M', 'ᄑ'),
-    (0x326D, 'M', 'ᄒ'),
-    (0x326E, 'M', '가'),
-    (0x326F, 'M', '나'),
-    (0x3270, 'M', '다'),
-    (0x3271, 'M', '라'),
-    (0x3272, 'M', '마'),
-    (0x3273, 'M', '바'),
-    (0x3274, 'M', '사'),
-    (0x3275, 'M', '아'),
-    (0x3276, 'M', '자'),
-    (0x3277, 'M', '차'),
-    (0x3278, 'M', '카'),
-    (0x3279, 'M', '타'),
-    (0x327A, 'M', '파'),
-    (0x327B, 'M', '하'),
-    (0x327C, 'M', '참고'),
-    (0x327D, 'M', '주의'),
-    (0x327E, 'M', '우'),
-    (0x327F, 'V'),
-    (0x3280, 'M', '一'),
-    (0x3281, 'M', '二'),
-    (0x3282, 'M', '三'),
-    (0x3283, 'M', '四'),
-    (0x3284, 'M', '五'),
-    (0x3285, 'M', '六'),
-    (0x3286, 'M', '七'),
-    (0x3287, 'M', '八'),
-    (0x3288, 'M', '九'),
-    (0x3289, 'M', '十'),
-    (0x328A, 'M', '月'),
-    (0x328B, 'M', '火'),
-    (0x328C, 'M', '水'),
-    (0x328D, 'M', '木'),
-    (0x328E, 'M', '金'),
-    (0x328F, 'M', '土'),
-    (0x3290, 'M', '日'),
-    (0x3291, 'M', '株'),
-    (0x3292, 'M', '有'),
-    (0x3293, 'M', '社'),
-    (0x3294, 'M', '名'),
-    (0x3295, 'M', '特'),
-    (0x3296, 'M', '財'),
-    (0x3297, 'M', '祝'),
-    (0x3298, 'M', '労'),
-    (0x3299, 'M', '秘'),
-    (0x329A, 'M', '男'),
-    (0x329B, 'M', '女'),
-    (0x329C, 'M', '適'),
-    (0x329D, 'M', '優'),
-    (0x329E, 'M', '印'),
-    (0x329F, 'M', '注'),
-    (0x32A0, 'M', '項'),
-    (0x32A1, 'M', '休'),
-    (0x32A2, 'M', '写'),
-    (0x32A3, 'M', '正'),
-    (0x32A4, 'M', '上'),
-    (0x32A5, 'M', '中'),
-    (0x32A6, 'M', '下'),
-    (0x32A7, 'M', '左'),
-    (0x32A8, 'M', '右'),
-    (0x32A9, 'M', '医'),
-    (0x32AA, 'M', '宗'),
-    (0x32AB, 'M', '学'),
-    (0x32AC, 'M', '監'),
-    (0x32AD, 'M', '企'),
-    (0x32AE, 'M', '資'),
-    (0x32AF, 'M', '協'),
-    (0x32B0, 'M', '夜'),
-    (0x32B1, 'M', '36'),
+        (0x3252, "M", "22"),
+        (0x3253, "M", "23"),
+        (0x3254, "M", "24"),
+        (0x3255, "M", "25"),
+        (0x3256, "M", "26"),
+        (0x3257, "M", "27"),
+        (0x3258, "M", "28"),
+        (0x3259, "M", "29"),
+        (0x325A, "M", "30"),
+        (0x325B, "M", "31"),
+        (0x325C, "M", "32"),
+        (0x325D, "M", "33"),
+        (0x325E, "M", "34"),
+        (0x325F, "M", "35"),
+        (0x3260, "M", "ᄀ"),
+        (0x3261, "M", "ᄂ"),
+        (0x3262, "M", "ᄃ"),
+        (0x3263, "M", "ᄅ"),
+        (0x3264, "M", "ᄆ"),
+        (0x3265, "M", "ᄇ"),
+        (0x3266, "M", "ᄉ"),
+        (0x3267, "M", "ᄋ"),
+        (0x3268, "M", "ᄌ"),
+        (0x3269, "M", "ᄎ"),
+        (0x326A, "M", "ᄏ"),
+        (0x326B, "M", "ᄐ"),
+        (0x326C, "M", "ᄑ"),
+        (0x326D, "M", "ᄒ"),
+        (0x326E, "M", "가"),
+        (0x326F, "M", "나"),
+        (0x3270, "M", "다"),
+        (0x3271, "M", "라"),
+        (0x3272, "M", "마"),
+        (0x3273, "M", "바"),
+        (0x3274, "M", "사"),
+        (0x3275, "M", "아"),
+        (0x3276, "M", "자"),
+        (0x3277, "M", "차"),
+        (0x3278, "M", "카"),
+        (0x3279, "M", "타"),
+        (0x327A, "M", "파"),
+        (0x327B, "M", "하"),
+        (0x327C, "M", "참고"),
+        (0x327D, "M", "주의"),
+        (0x327E, "M", "우"),
+        (0x327F, "V"),
+        (0x3280, "M", "一"),
+        (0x3281, "M", "二"),
+        (0x3282, "M", "三"),
+        (0x3283, "M", "四"),
+        (0x3284, "M", "五"),
+        (0x3285, "M", "六"),
+        (0x3286, "M", "七"),
+        (0x3287, "M", "八"),
+        (0x3288, "M", "九"),
+        (0x3289, "M", "十"),
+        (0x328A, "M", "月"),
+        (0x328B, "M", "火"),
+        (0x328C, "M", "水"),
+        (0x328D, "M", "木"),
+        (0x328E, "M", "金"),
+        (0x328F, "M", "土"),
+        (0x3290, "M", "日"),
+        (0x3291, "M", "株"),
+        (0x3292, "M", "有"),
+        (0x3293, "M", "社"),
+        (0x3294, "M", "名"),
+        (0x3295, "M", "特"),
+        (0x3296, "M", "財"),
+        (0x3297, "M", "祝"),
+        (0x3298, "M", "労"),
+        (0x3299, "M", "秘"),
+        (0x329A, "M", "男"),
+        (0x329B, "M", "女"),
+        (0x329C, "M", "適"),
+        (0x329D, "M", "優"),
+        (0x329E, "M", "印"),
+        (0x329F, "M", "注"),
+        (0x32A0, "M", "項"),
+        (0x32A1, "M", "休"),
+        (0x32A2, "M", "写"),
+        (0x32A3, "M", "正"),
+        (0x32A4, "M", "上"),
+        (0x32A5, "M", "中"),
+        (0x32A6, "M", "下"),
+        (0x32A7, "M", "左"),
+        (0x32A8, "M", "右"),
+        (0x32A9, "M", "医"),
+        (0x32AA, "M", "宗"),
+        (0x32AB, "M", "学"),
+        (0x32AC, "M", "監"),
+        (0x32AD, "M", "企"),
+        (0x32AE, "M", "資"),
+        (0x32AF, "M", "協"),
+        (0x32B0, "M", "夜"),
+        (0x32B1, "M", "36"),
+        (0x32B2, "M", "37"),
+        (0x32B3, "M", "38"),
+        (0x32B4, "M", "39"),
+        (0x32B5, "M", "40"),
     ]
 
+
 def _seg_32() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x32B2, 'M', '37'),
-    (0x32B3, 'M', '38'),
-    (0x32B4, 'M', '39'),
-    (0x32B5, 'M', '40'),
-    (0x32B6, 'M', '41'),
-    (0x32B7, 'M', '42'),
-    (0x32B8, 'M', '43'),
-    (0x32B9, 'M', '44'),
-    (0x32BA, 'M', '45'),
-    (0x32BB, 'M', '46'),
-    (0x32BC, 'M', '47'),
-    (0x32BD, 'M', '48'),
-    (0x32BE, 'M', '49'),
-    (0x32BF, 'M', '50'),
-    (0x32C0, 'M', '1月'),
-    (0x32C1, 'M', '2月'),
-    (0x32C2, 'M', '3月'),
-    (0x32C3, 'M', '4月'),
-    (0x32C4, 'M', '5月'),
-    (0x32C5, 'M', '6月'),
-    (0x32C6, 'M', '7月'),
-    (0x32C7, 'M', '8月'),
-    (0x32C8, 'M', '9月'),
-    (0x32C9, 'M', '10月'),
-    (0x32CA, 'M', '11月'),
-    (0x32CB, 'M', '12月'),
-    (0x32CC, 'M', 'hg'),
-    (0x32CD, 'M', 'erg'),
-    (0x32CE, 'M', 'ev'),
-    (0x32CF, 'M', 'ltd'),
-    (0x32D0, 'M', 'ア'),
-    (0x32D1, 'M', 'イ'),
-    (0x32D2, 'M', 'ウ'),
-    (0x32D3, 'M', 'エ'),
-    (0x32D4, 'M', 'オ'),
-    (0x32D5, 'M', 'カ'),
-    (0x32D6, 'M', 'キ'),
-    (0x32D7, 'M', 'ク'),
-    (0x32D8, 'M', 'ケ'),
-    (0x32D9, 'M', 'コ'),
-    (0x32DA, 'M', 'サ'),
-    (0x32DB, 'M', 'シ'),
-    (0x32DC, 'M', 'ス'),
-    (0x32DD, 'M', 'セ'),
-    (0x32DE, 'M', 'ソ'),
-    (0x32DF, 'M', 'タ'),
-    (0x32E0, 'M', 'チ'),
-    (0x32E1, 'M', 'ツ'),
-    (0x32E2, 'M', 'テ'),
-    (0x32E3, 'M', 'ト'),
-    (0x32E4, 'M', 'ナ'),
-    (0x32E5, 'M', 'ニ'),
-    (0x32E6, 'M', 'ヌ'),
-    (0x32E7, 'M', 'ネ'),
-    (0x32E8, 'M', 'ノ'),
-    (0x32E9, 'M', 'ハ'),
-    (0x32EA, 'M', 'ヒ'),
-    (0x32EB, 'M', 'フ'),
-    (0x32EC, 'M', 'ヘ'),
-    (0x32ED, 'M', 'ホ'),
-    (0x32EE, 'M', 'マ'),
-    (0x32EF, 'M', 'ミ'),
-    (0x32F0, 'M', 'ム'),
-    (0x32F1, 'M', 'メ'),
-    (0x32F2, 'M', 'モ'),
-    (0x32F3, 'M', 'ヤ'),
-    (0x32F4, 'M', 'ユ'),
-    (0x32F5, 'M', 'ヨ'),
-    (0x32F6, 'M', 'ラ'),
-    (0x32F7, 'M', 'リ'),
-    (0x32F8, 'M', 'ル'),
-    (0x32F9, 'M', 'レ'),
-    (0x32FA, 'M', 'ロ'),
-    (0x32FB, 'M', 'ワ'),
-    (0x32FC, 'M', 'ヰ'),
-    (0x32FD, 'M', 'ヱ'),
-    (0x32FE, 'M', 'ヲ'),
-    (0x32FF, 'M', '令和'),
-    (0x3300, 'M', 'アパート'),
-    (0x3301, 'M', 'アルファ'),
-    (0x3302, 'M', 'アンペア'),
-    (0x3303, 'M', 'アール'),
-    (0x3304, 'M', 'イニング'),
-    (0x3305, 'M', 'インチ'),
-    (0x3306, 'M', 'ウォン'),
-    (0x3307, 'M', 'エスクード'),
-    (0x3308, 'M', 'エーカー'),
-    (0x3309, 'M', 'オンス'),
-    (0x330A, 'M', 'オーム'),
-    (0x330B, 'M', 'カイリ'),
-    (0x330C, 'M', 'カラット'),
-    (0x330D, 'M', 'カロリー'),
-    (0x330E, 'M', 'ガロン'),
-    (0x330F, 'M', 'ガンマ'),
-    (0x3310, 'M', 'ギガ'),
-    (0x3311, 'M', 'ギニー'),
-    (0x3312, 'M', 'キュリー'),
-    (0x3313, 'M', 'ギルダー'),
-    (0x3314, 'M', 'キロ'),
-    (0x3315, 'M', 'キログラム'),
+        (0x32B6, "M", "41"),
+        (0x32B7, "M", "42"),
+        (0x32B8, "M", "43"),
+        (0x32B9, "M", "44"),
+        (0x32BA, "M", "45"),
+        (0x32BB, "M", "46"),
+        (0x32BC, "M", "47"),
+        (0x32BD, "M", "48"),
+        (0x32BE, "M", "49"),
+        (0x32BF, "M", "50"),
+        (0x32C0, "M", "1月"),
+        (0x32C1, "M", "2月"),
+        (0x32C2, "M", "3月"),
+        (0x32C3, "M", "4月"),
+        (0x32C4, "M", "5月"),
+        (0x32C5, "M", "6月"),
+        (0x32C6, "M", "7月"),
+        (0x32C7, "M", "8月"),
+        (0x32C8, "M", "9月"),
+        (0x32C9, "M", "10月"),
+        (0x32CA, "M", "11月"),
+        (0x32CB, "M", "12月"),
+        (0x32CC, "M", "hg"),
+        (0x32CD, "M", "erg"),
+        (0x32CE, "M", "ev"),
+        (0x32CF, "M", "ltd"),
+        (0x32D0, "M", "ア"),
+        (0x32D1, "M", "イ"),
+        (0x32D2, "M", "ウ"),
+        (0x32D3, "M", "エ"),
+        (0x32D4, "M", "オ"),
+        (0x32D5, "M", "カ"),
+        (0x32D6, "M", "キ"),
+        (0x32D7, "M", "ク"),
+        (0x32D8, "M", "ケ"),
+        (0x32D9, "M", "コ"),
+        (0x32DA, "M", "サ"),
+        (0x32DB, "M", "シ"),
+        (0x32DC, "M", "ス"),
+        (0x32DD, "M", "セ"),
+        (0x32DE, "M", "ソ"),
+        (0x32DF, "M", "タ"),
+        (0x32E0, "M", "チ"),
+        (0x32E1, "M", "ツ"),
+        (0x32E2, "M", "テ"),
+        (0x32E3, "M", "ト"),
+        (0x32E4, "M", "ナ"),
+        (0x32E5, "M", "ニ"),
+        (0x32E6, "M", "ヌ"),
+        (0x32E7, "M", "ネ"),
+        (0x32E8, "M", "ノ"),
+        (0x32E9, "M", "ハ"),
+        (0x32EA, "M", "ヒ"),
+        (0x32EB, "M", "フ"),
+        (0x32EC, "M", "ヘ"),
+        (0x32ED, "M", "ホ"),
+        (0x32EE, "M", "マ"),
+        (0x32EF, "M", "ミ"),
+        (0x32F0, "M", "ム"),
+        (0x32F1, "M", "メ"),
+        (0x32F2, "M", "モ"),
+        (0x32F3, "M", "ヤ"),
+        (0x32F4, "M", "ユ"),
+        (0x32F5, "M", "ヨ"),
+        (0x32F6, "M", "ラ"),
+        (0x32F7, "M", "リ"),
+        (0x32F8, "M", "ル"),
+        (0x32F9, "M", "レ"),
+        (0x32FA, "M", "ロ"),
+        (0x32FB, "M", "ワ"),
+        (0x32FC, "M", "ヰ"),
+        (0x32FD, "M", "ヱ"),
+        (0x32FE, "M", "ヲ"),
+        (0x32FF, "M", "令和"),
+        (0x3300, "M", "アパート"),
+        (0x3301, "M", "アルファ"),
+        (0x3302, "M", "アンペア"),
+        (0x3303, "M", "アール"),
+        (0x3304, "M", "イニング"),
+        (0x3305, "M", "インチ"),
+        (0x3306, "M", "ウォン"),
+        (0x3307, "M", "エスクード"),
+        (0x3308, "M", "エーカー"),
+        (0x3309, "M", "オンス"),
+        (0x330A, "M", "オーム"),
+        (0x330B, "M", "カイリ"),
+        (0x330C, "M", "カラット"),
+        (0x330D, "M", "カロリー"),
+        (0x330E, "M", "ガロン"),
+        (0x330F, "M", "ガンマ"),
+        (0x3310, "M", "ギガ"),
+        (0x3311, "M", "ギニー"),
+        (0x3312, "M", "キュリー"),
+        (0x3313, "M", "ギルダー"),
+        (0x3314, "M", "キロ"),
+        (0x3315, "M", "キログラム"),
+        (0x3316, "M", "キロメートル"),
+        (0x3317, "M", "キロワット"),
+        (0x3318, "M", "グラム"),
+        (0x3319, "M", "グラムトン"),
     ]
 
+
 def _seg_33() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x3316, 'M', 'キロメートル'),
-    (0x3317, 'M', 'キロワット'),
-    (0x3318, 'M', 'グラム'),
-    (0x3319, 'M', 'グラムトン'),
-    (0x331A, 'M', 'クルゼイロ'),
-    (0x331B, 'M', 'クローネ'),
-    (0x331C, 'M', 'ケース'),
-    (0x331D, 'M', 'コルナ'),
-    (0x331E, 'M', 'コーポ'),
-    (0x331F, 'M', 'サイクル'),
-    (0x3320, 'M', 'サンチーム'),
-    (0x3321, 'M', 'シリング'),
-    (0x3322, 'M', 'センチ'),
-    (0x3323, 'M', 'セント'),
-    (0x3324, 'M', 'ダース'),
-    (0x3325, 'M', 'デシ'),
-    (0x3326, 'M', 'ドル'),
-    (0x3327, 'M', 'トン'),
-    (0x3328, 'M', 'ナノ'),
-    (0x3329, 'M', 'ノット'),
-    (0x332A, 'M', 'ハイツ'),
-    (0x332B, 'M', 'パーセント'),
-    (0x332C, 'M', 'パーツ'),
-    (0x332D, 'M', 'バーレル'),
-    (0x332E, 'M', 'ピアストル'),
-    (0x332F, 'M', 'ピクル'),
-    (0x3330, 'M', 'ピコ'),
-    (0x3331, 'M', 'ビル'),
-    (0x3332, 'M', 'ファラッド'),
-    (0x3333, 'M', 'フィート'),
-    (0x3334, 'M', 'ブッシェル'),
-    (0x3335, 'M', 'フラン'),
-    (0x3336, 'M', 'ヘクタール'),
-    (0x3337, 'M', 'ペソ'),
-    (0x3338, 'M', 'ペニヒ'),
-    (0x3339, 'M', 'ヘルツ'),
-    (0x333A, 'M', 'ペンス'),
-    (0x333B, 'M', 'ページ'),
-    (0x333C, 'M', 'ベータ'),
-    (0x333D, 'M', 'ポイント'),
-    (0x333E, 'M', 'ボルト'),
-    (0x333F, 'M', 'ホン'),
-    (0x3340, 'M', 'ポンド'),
-    (0x3341, 'M', 'ホール'),
-    (0x3342, 'M', 'ホーン'),
-    (0x3343, 'M', 'マイクロ'),
-    (0x3344, 'M', 'マイル'),
-    (0x3345, 'M', 'マッハ'),
-    (0x3346, 'M', 'マルク'),
-    (0x3347, 'M', 'マンション'),
-    (0x3348, 'M', 'ミクロン'),
-    (0x3349, 'M', 'ミリ'),
-    (0x334A, 'M', 'ミリバール'),
-    (0x334B, 'M', 'メガ'),
-    (0x334C, 'M', 'メガトン'),
-    (0x334D, 'M', 'メートル'),
-    (0x334E, 'M', 'ヤード'),
-    (0x334F, 'M', 'ヤール'),
-    (0x3350, 'M', 'ユアン'),
-    (0x3351, 'M', 'リットル'),
-    (0x3352, 'M', 'リラ'),
-    (0x3353, 'M', 'ルピー'),
-    (0x3354, 'M', 'ルーブル'),
-    (0x3355, 'M', 'レム'),
-    (0x3356, 'M', 'レントゲン'),
-    (0x3357, 'M', 'ワット'),
-    (0x3358, 'M', '0点'),
-    (0x3359, 'M', '1点'),
-    (0x335A, 'M', '2点'),
-    (0x335B, 'M', '3点'),
-    (0x335C, 'M', '4点'),
-    (0x335D, 'M', '5点'),
-    (0x335E, 'M', '6点'),
-    (0x335F, 'M', '7点'),
-    (0x3360, 'M', '8点'),
-    (0x3361, 'M', '9点'),
-    (0x3362, 'M', '10点'),
-    (0x3363, 'M', '11点'),
-    (0x3364, 'M', '12点'),
-    (0x3365, 'M', '13点'),
-    (0x3366, 'M', '14点'),
-    (0x3367, 'M', '15点'),
-    (0x3368, 'M', '16点'),
-    (0x3369, 'M', '17点'),
-    (0x336A, 'M', '18点'),
-    (0x336B, 'M', '19点'),
-    (0x336C, 'M', '20点'),
-    (0x336D, 'M', '21点'),
-    (0x336E, 'M', '22点'),
-    (0x336F, 'M', '23点'),
-    (0x3370, 'M', '24点'),
-    (0x3371, 'M', 'hpa'),
-    (0x3372, 'M', 'da'),
-    (0x3373, 'M', 'au'),
-    (0x3374, 'M', 'bar'),
-    (0x3375, 'M', 'ov'),
-    (0x3376, 'M', 'pc'),
-    (0x3377, 'M', 'dm'),
-    (0x3378, 'M', 'dm2'),
-    (0x3379, 'M', 'dm3'),
+        (0x331A, "M", "クルゼイロ"),
+        (0x331B, "M", "クローネ"),
+        (0x331C, "M", "ケース"),
+        (0x331D, "M", "コルナ"),
+        (0x331E, "M", "コーポ"),
+        (0x331F, "M", "サイクル"),
+        (0x3320, "M", "サンチーム"),
+        (0x3321, "M", "シリング"),
+        (0x3322, "M", "センチ"),
+        (0x3323, "M", "セント"),
+        (0x3324, "M", "ダース"),
+        (0x3325, "M", "デシ"),
+        (0x3326, "M", "ドル"),
+        (0x3327, "M", "トン"),
+        (0x3328, "M", "ナノ"),
+        (0x3329, "M", "ノット"),
+        (0x332A, "M", "ハイツ"),
+        (0x332B, "M", "パーセント"),
+        (0x332C, "M", "パーツ"),
+        (0x332D, "M", "バーレル"),
+        (0x332E, "M", "ピアストル"),
+        (0x332F, "M", "ピクル"),
+        (0x3330, "M", "ピコ"),
+        (0x3331, "M", "ビル"),
+        (0x3332, "M", "ファラッド"),
+        (0x3333, "M", "フィート"),
+        (0x3334, "M", "ブッシェル"),
+        (0x3335, "M", "フラン"),
+        (0x3336, "M", "ヘクタール"),
+        (0x3337, "M", "ペソ"),
+        (0x3338, "M", "ペニヒ"),
+        (0x3339, "M", "ヘルツ"),
+        (0x333A, "M", "ペンス"),
+        (0x333B, "M", "ページ"),
+        (0x333C, "M", "ベータ"),
+        (0x333D, "M", "ポイント"),
+        (0x333E, "M", "ボルト"),
+        (0x333F, "M", "ホン"),
+        (0x3340, "M", "ポンド"),
+        (0x3341, "M", "ホール"),
+        (0x3342, "M", "ホーン"),
+        (0x3343, "M", "マイクロ"),
+        (0x3344, "M", "マイル"),
+        (0x3345, "M", "マッハ"),
+        (0x3346, "M", "マルク"),
+        (0x3347, "M", "マンション"),
+        (0x3348, "M", "ミクロン"),
+        (0x3349, "M", "ミリ"),
+        (0x334A, "M", "ミリバール"),
+        (0x334B, "M", "メガ"),
+        (0x334C, "M", "メガトン"),
+        (0x334D, "M", "メートル"),
+        (0x334E, "M", "ヤード"),
+        (0x334F, "M", "ヤール"),
+        (0x3350, "M", "ユアン"),
+        (0x3351, "M", "リットル"),
+        (0x3352, "M", "リラ"),
+        (0x3353, "M", "ルピー"),
+        (0x3354, "M", "ルーブル"),
+        (0x3355, "M", "レム"),
+        (0x3356, "M", "レントゲン"),
+        (0x3357, "M", "ワット"),
+        (0x3358, "M", "0点"),
+        (0x3359, "M", "1点"),
+        (0x335A, "M", "2点"),
+        (0x335B, "M", "3点"),
+        (0x335C, "M", "4点"),
+        (0x335D, "M", "5点"),
+        (0x335E, "M", "6点"),
+        (0x335F, "M", "7点"),
+        (0x3360, "M", "8点"),
+        (0x3361, "M", "9点"),
+        (0x3362, "M", "10点"),
+        (0x3363, "M", "11点"),
+        (0x3364, "M", "12点"),
+        (0x3365, "M", "13点"),
+        (0x3366, "M", "14点"),
+        (0x3367, "M", "15点"),
+        (0x3368, "M", "16点"),
+        (0x3369, "M", "17点"),
+        (0x336A, "M", "18点"),
+        (0x336B, "M", "19点"),
+        (0x336C, "M", "20点"),
+        (0x336D, "M", "21点"),
+        (0x336E, "M", "22点"),
+        (0x336F, "M", "23点"),
+        (0x3370, "M", "24点"),
+        (0x3371, "M", "hpa"),
+        (0x3372, "M", "da"),
+        (0x3373, "M", "au"),
+        (0x3374, "M", "bar"),
+        (0x3375, "M", "ov"),
+        (0x3376, "M", "pc"),
+        (0x3377, "M", "dm"),
+        (0x3378, "M", "dm2"),
+        (0x3379, "M", "dm3"),
+        (0x337A, "M", "iu"),
+        (0x337B, "M", "平成"),
+        (0x337C, "M", "昭和"),
+        (0x337D, "M", "大正"),
     ]
 
+
 def _seg_34() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x337A, 'M', 'iu'),
-    (0x337B, 'M', '平成'),
-    (0x337C, 'M', '昭和'),
-    (0x337D, 'M', '大正'),
-    (0x337E, 'M', '明治'),
-    (0x337F, 'M', '株式会社'),
-    (0x3380, 'M', 'pa'),
-    (0x3381, 'M', 'na'),
-    (0x3382, 'M', 'μa'),
-    (0x3383, 'M', 'ma'),
-    (0x3384, 'M', 'ka'),
-    (0x3385, 'M', 'kb'),
-    (0x3386, 'M', 'mb'),
-    (0x3387, 'M', 'gb'),
-    (0x3388, 'M', 'cal'),
-    (0x3389, 'M', 'kcal'),
-    (0x338A, 'M', 'pf'),
-    (0x338B, 'M', 'nf'),
-    (0x338C, 'M', 'μf'),
-    (0x338D, 'M', 'μg'),
-    (0x338E, 'M', 'mg'),
-    (0x338F, 'M', 'kg'),
-    (0x3390, 'M', 'hz'),
-    (0x3391, 'M', 'khz'),
-    (0x3392, 'M', 'mhz'),
-    (0x3393, 'M', 'ghz'),
-    (0x3394, 'M', 'thz'),
-    (0x3395, 'M', 'μl'),
-    (0x3396, 'M', 'ml'),
-    (0x3397, 'M', 'dl'),
-    (0x3398, 'M', 'kl'),
-    (0x3399, 'M', 'fm'),
-    (0x339A, 'M', 'nm'),
-    (0x339B, 'M', 'μm'),
-    (0x339C, 'M', 'mm'),
-    (0x339D, 'M', 'cm'),
-    (0x339E, 'M', 'km'),
-    (0x339F, 'M', 'mm2'),
-    (0x33A0, 'M', 'cm2'),
-    (0x33A1, 'M', 'm2'),
-    (0x33A2, 'M', 'km2'),
-    (0x33A3, 'M', 'mm3'),
-    (0x33A4, 'M', 'cm3'),
-    (0x33A5, 'M', 'm3'),
-    (0x33A6, 'M', 'km3'),
-    (0x33A7, 'M', 'm∕s'),
-    (0x33A8, 'M', 'm∕s2'),
-    (0x33A9, 'M', 'pa'),
-    (0x33AA, 'M', 'kpa'),
-    (0x33AB, 'M', 'mpa'),
-    (0x33AC, 'M', 'gpa'),
-    (0x33AD, 'M', 'rad'),
-    (0x33AE, 'M', 'rad∕s'),
-    (0x33AF, 'M', 'rad∕s2'),
-    (0x33B0, 'M', 'ps'),
-    (0x33B1, 'M', 'ns'),
-    (0x33B2, 'M', 'μs'),
-    (0x33B3, 'M', 'ms'),
-    (0x33B4, 'M', 'pv'),
-    (0x33B5, 'M', 'nv'),
-    (0x33B6, 'M', 'μv'),
-    (0x33B7, 'M', 'mv'),
-    (0x33B8, 'M', 'kv'),
-    (0x33B9, 'M', 'mv'),
-    (0x33BA, 'M', 'pw'),
-    (0x33BB, 'M', 'nw'),
-    (0x33BC, 'M', 'μw'),
-    (0x33BD, 'M', 'mw'),
-    (0x33BE, 'M', 'kw'),
-    (0x33BF, 'M', 'mw'),
-    (0x33C0, 'M', 'kω'),
-    (0x33C1, 'M', 'mω'),
-    (0x33C2, 'X'),
-    (0x33C3, 'M', 'bq'),
-    (0x33C4, 'M', 'cc'),
-    (0x33C5, 'M', 'cd'),
-    (0x33C6, 'M', 'c∕kg'),
-    (0x33C7, 'X'),
-    (0x33C8, 'M', 'db'),
-    (0x33C9, 'M', 'gy'),
-    (0x33CA, 'M', 'ha'),
-    (0x33CB, 'M', 'hp'),
-    (0x33CC, 'M', 'in'),
-    (0x33CD, 'M', 'kk'),
-    (0x33CE, 'M', 'km'),
-    (0x33CF, 'M', 'kt'),
-    (0x33D0, 'M', 'lm'),
-    (0x33D1, 'M', 'ln'),
-    (0x33D2, 'M', 'log'),
-    (0x33D3, 'M', 'lx'),
-    (0x33D4, 'M', 'mb'),
-    (0x33D5, 'M', 'mil'),
-    (0x33D6, 'M', 'mol'),
-    (0x33D7, 'M', 'ph'),
-    (0x33D8, 'X'),
-    (0x33D9, 'M', 'ppm'),
-    (0x33DA, 'M', 'pr'),
-    (0x33DB, 'M', 'sr'),
-    (0x33DC, 'M', 'sv'),
-    (0x33DD, 'M', 'wb'),
+        (0x337E, "M", "明治"),
+        (0x337F, "M", "株式会社"),
+        (0x3380, "M", "pa"),
+        (0x3381, "M", "na"),
+        (0x3382, "M", "μa"),
+        (0x3383, "M", "ma"),
+        (0x3384, "M", "ka"),
+        (0x3385, "M", "kb"),
+        (0x3386, "M", "mb"),
+        (0x3387, "M", "gb"),
+        (0x3388, "M", "cal"),
+        (0x3389, "M", "kcal"),
+        (0x338A, "M", "pf"),
+        (0x338B, "M", "nf"),
+        (0x338C, "M", "μf"),
+        (0x338D, "M", "μg"),
+        (0x338E, "M", "mg"),
+        (0x338F, "M", "kg"),
+        (0x3390, "M", "hz"),
+        (0x3391, "M", "khz"),
+        (0x3392, "M", "mhz"),
+        (0x3393, "M", "ghz"),
+        (0x3394, "M", "thz"),
+        (0x3395, "M", "μl"),
+        (0x3396, "M", "ml"),
+        (0x3397, "M", "dl"),
+        (0x3398, "M", "kl"),
+        (0x3399, "M", "fm"),
+        (0x339A, "M", "nm"),
+        (0x339B, "M", "μm"),
+        (0x339C, "M", "mm"),
+        (0x339D, "M", "cm"),
+        (0x339E, "M", "km"),
+        (0x339F, "M", "mm2"),
+        (0x33A0, "M", "cm2"),
+        (0x33A1, "M", "m2"),
+        (0x33A2, "M", "km2"),
+        (0x33A3, "M", "mm3"),
+        (0x33A4, "M", "cm3"),
+        (0x33A5, "M", "m3"),
+        (0x33A6, "M", "km3"),
+        (0x33A7, "M", "m∕s"),
+        (0x33A8, "M", "m∕s2"),
+        (0x33A9, "M", "pa"),
+        (0x33AA, "M", "kpa"),
+        (0x33AB, "M", "mpa"),
+        (0x33AC, "M", "gpa"),
+        (0x33AD, "M", "rad"),
+        (0x33AE, "M", "rad∕s"),
+        (0x33AF, "M", "rad∕s2"),
+        (0x33B0, "M", "ps"),
+        (0x33B1, "M", "ns"),
+        (0x33B2, "M", "μs"),
+        (0x33B3, "M", "ms"),
+        (0x33B4, "M", "pv"),
+        (0x33B5, "M", "nv"),
+        (0x33B6, "M", "μv"),
+        (0x33B7, "M", "mv"),
+        (0x33B8, "M", "kv"),
+        (0x33B9, "M", "mv"),
+        (0x33BA, "M", "pw"),
+        (0x33BB, "M", "nw"),
+        (0x33BC, "M", "μw"),
+        (0x33BD, "M", "mw"),
+        (0x33BE, "M", "kw"),
+        (0x33BF, "M", "mw"),
+        (0x33C0, "M", "kω"),
+        (0x33C1, "M", "mω"),
+        (0x33C2, "X"),
+        (0x33C3, "M", "bq"),
+        (0x33C4, "M", "cc"),
+        (0x33C5, "M", "cd"),
+        (0x33C6, "M", "c∕kg"),
+        (0x33C7, "X"),
+        (0x33C8, "M", "db"),
+        (0x33C9, "M", "gy"),
+        (0x33CA, "M", "ha"),
+        (0x33CB, "M", "hp"),
+        (0x33CC, "M", "in"),
+        (0x33CD, "M", "kk"),
+        (0x33CE, "M", "km"),
+        (0x33CF, "M", "kt"),
+        (0x33D0, "M", "lm"),
+        (0x33D1, "M", "ln"),
+        (0x33D2, "M", "log"),
+        (0x33D3, "M", "lx"),
+        (0x33D4, "M", "mb"),
+        (0x33D5, "M", "mil"),
+        (0x33D6, "M", "mol"),
+        (0x33D7, "M", "ph"),
+        (0x33D8, "X"),
+        (0x33D9, "M", "ppm"),
+        (0x33DA, "M", "pr"),
+        (0x33DB, "M", "sr"),
+        (0x33DC, "M", "sv"),
+        (0x33DD, "M", "wb"),
+        (0x33DE, "M", "v∕m"),
+        (0x33DF, "M", "a∕m"),
+        (0x33E0, "M", "1日"),
+        (0x33E1, "M", "2日"),
     ]
 
+
 def _seg_35() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x33DE, 'M', 'v∕m'),
-    (0x33DF, 'M', 'a∕m'),
-    (0x33E0, 'M', '1日'),
-    (0x33E1, 'M', '2日'),
-    (0x33E2, 'M', '3日'),
-    (0x33E3, 'M', '4日'),
-    (0x33E4, 'M', '5日'),
-    (0x33E5, 'M', '6日'),
-    (0x33E6, 'M', '7日'),
-    (0x33E7, 'M', '8日'),
-    (0x33E8, 'M', '9日'),
-    (0x33E9, 'M', '10日'),
-    (0x33EA, 'M', '11日'),
-    (0x33EB, 'M', '12日'),
-    (0x33EC, 'M', '13日'),
-    (0x33ED, 'M', '14日'),
-    (0x33EE, 'M', '15日'),
-    (0x33EF, 'M', '16日'),
-    (0x33F0, 'M', '17日'),
-    (0x33F1, 'M', '18日'),
-    (0x33F2, 'M', '19日'),
-    (0x33F3, 'M', '20日'),
-    (0x33F4, 'M', '21日'),
-    (0x33F5, 'M', '22日'),
-    (0x33F6, 'M', '23日'),
-    (0x33F7, 'M', '24日'),
-    (0x33F8, 'M', '25日'),
-    (0x33F9, 'M', '26日'),
-    (0x33FA, 'M', '27日'),
-    (0x33FB, 'M', '28日'),
-    (0x33FC, 'M', '29日'),
-    (0x33FD, 'M', '30日'),
-    (0x33FE, 'M', '31日'),
-    (0x33FF, 'M', 'gal'),
-    (0x3400, 'V'),
-    (0xA48D, 'X'),
-    (0xA490, 'V'),
-    (0xA4C7, 'X'),
-    (0xA4D0, 'V'),
-    (0xA62C, 'X'),
-    (0xA640, 'M', 'ꙁ'),
-    (0xA641, 'V'),
-    (0xA642, 'M', 'ꙃ'),
-    (0xA643, 'V'),
-    (0xA644, 'M', 'ꙅ'),
-    (0xA645, 'V'),
-    (0xA646, 'M', 'ꙇ'),
-    (0xA647, 'V'),
-    (0xA648, 'M', 'ꙉ'),
-    (0xA649, 'V'),
-    (0xA64A, 'M', 'ꙋ'),
-    (0xA64B, 'V'),
-    (0xA64C, 'M', 'ꙍ'),
-    (0xA64D, 'V'),
-    (0xA64E, 'M', 'ꙏ'),
-    (0xA64F, 'V'),
-    (0xA650, 'M', 'ꙑ'),
-    (0xA651, 'V'),
-    (0xA652, 'M', 'ꙓ'),
-    (0xA653, 'V'),
-    (0xA654, 'M', 'ꙕ'),
-    (0xA655, 'V'),
-    (0xA656, 'M', 'ꙗ'),
-    (0xA657, 'V'),
-    (0xA658, 'M', 'ꙙ'),
-    (0xA659, 'V'),
-    (0xA65A, 'M', 'ꙛ'),
-    (0xA65B, 'V'),
-    (0xA65C, 'M', 'ꙝ'),
-    (0xA65D, 'V'),
-    (0xA65E, 'M', 'ꙟ'),
-    (0xA65F, 'V'),
-    (0xA660, 'M', 'ꙡ'),
-    (0xA661, 'V'),
-    (0xA662, 'M', 'ꙣ'),
-    (0xA663, 'V'),
-    (0xA664, 'M', 'ꙥ'),
-    (0xA665, 'V'),
-    (0xA666, 'M', 'ꙧ'),
-    (0xA667, 'V'),
-    (0xA668, 'M', 'ꙩ'),
-    (0xA669, 'V'),
-    (0xA66A, 'M', 'ꙫ'),
-    (0xA66B, 'V'),
-    (0xA66C, 'M', 'ꙭ'),
-    (0xA66D, 'V'),
-    (0xA680, 'M', 'ꚁ'),
-    (0xA681, 'V'),
-    (0xA682, 'M', 'ꚃ'),
-    (0xA683, 'V'),
-    (0xA684, 'M', 'ꚅ'),
-    (0xA685, 'V'),
-    (0xA686, 'M', 'ꚇ'),
-    (0xA687, 'V'),
-    (0xA688, 'M', 'ꚉ'),
-    (0xA689, 'V'),
-    (0xA68A, 'M', 'ꚋ'),
-    (0xA68B, 'V'),
-    (0xA68C, 'M', 'ꚍ'),
-    (0xA68D, 'V'),
+        (0x33E2, "M", "3日"),
+        (0x33E3, "M", "4日"),
+        (0x33E4, "M", "5日"),
+        (0x33E5, "M", "6日"),
+        (0x33E6, "M", "7日"),
+        (0x33E7, "M", "8日"),
+        (0x33E8, "M", "9日"),
+        (0x33E9, "M", "10日"),
+        (0x33EA, "M", "11日"),
+        (0x33EB, "M", "12日"),
+        (0x33EC, "M", "13日"),
+        (0x33ED, "M", "14日"),
+        (0x33EE, "M", "15日"),
+        (0x33EF, "M", "16日"),
+        (0x33F0, "M", "17日"),
+        (0x33F1, "M", "18日"),
+        (0x33F2, "M", "19日"),
+        (0x33F3, "M", "20日"),
+        (0x33F4, "M", "21日"),
+        (0x33F5, "M", "22日"),
+        (0x33F6, "M", "23日"),
+        (0x33F7, "M", "24日"),
+        (0x33F8, "M", "25日"),
+        (0x33F9, "M", "26日"),
+        (0x33FA, "M", "27日"),
+        (0x33FB, "M", "28日"),
+        (0x33FC, "M", "29日"),
+        (0x33FD, "M", "30日"),
+        (0x33FE, "M", "31日"),
+        (0x33FF, "M", "gal"),
+        (0x3400, "V"),
+        (0xA48D, "X"),
+        (0xA490, "V"),
+        (0xA4C7, "X"),
+        (0xA4D0, "V"),
+        (0xA62C, "X"),
+        (0xA640, "M", "ꙁ"),
+        (0xA641, "V"),
+        (0xA642, "M", "ꙃ"),
+        (0xA643, "V"),
+        (0xA644, "M", "ꙅ"),
+        (0xA645, "V"),
+        (0xA646, "M", "ꙇ"),
+        (0xA647, "V"),
+        (0xA648, "M", "ꙉ"),
+        (0xA649, "V"),
+        (0xA64A, "M", "ꙋ"),
+        (0xA64B, "V"),
+        (0xA64C, "M", "ꙍ"),
+        (0xA64D, "V"),
+        (0xA64E, "M", "ꙏ"),
+        (0xA64F, "V"),
+        (0xA650, "M", "ꙑ"),
+        (0xA651, "V"),
+        (0xA652, "M", "ꙓ"),
+        (0xA653, "V"),
+        (0xA654, "M", "ꙕ"),
+        (0xA655, "V"),
+        (0xA656, "M", "ꙗ"),
+        (0xA657, "V"),
+        (0xA658, "M", "ꙙ"),
+        (0xA659, "V"),
+        (0xA65A, "M", "ꙛ"),
+        (0xA65B, "V"),
+        (0xA65C, "M", "ꙝ"),
+        (0xA65D, "V"),
+        (0xA65E, "M", "ꙟ"),
+        (0xA65F, "V"),
+        (0xA660, "M", "ꙡ"),
+        (0xA661, "V"),
+        (0xA662, "M", "ꙣ"),
+        (0xA663, "V"),
+        (0xA664, "M", "ꙥ"),
+        (0xA665, "V"),
+        (0xA666, "M", "ꙧ"),
+        (0xA667, "V"),
+        (0xA668, "M", "ꙩ"),
+        (0xA669, "V"),
+        (0xA66A, "M", "ꙫ"),
+        (0xA66B, "V"),
+        (0xA66C, "M", "ꙭ"),
+        (0xA66D, "V"),
+        (0xA680, "M", "ꚁ"),
+        (0xA681, "V"),
+        (0xA682, "M", "ꚃ"),
+        (0xA683, "V"),
+        (0xA684, "M", "ꚅ"),
+        (0xA685, "V"),
+        (0xA686, "M", "ꚇ"),
+        (0xA687, "V"),
+        (0xA688, "M", "ꚉ"),
+        (0xA689, "V"),
+        (0xA68A, "M", "ꚋ"),
+        (0xA68B, "V"),
+        (0xA68C, "M", "ꚍ"),
+        (0xA68D, "V"),
+        (0xA68E, "M", "ꚏ"),
+        (0xA68F, "V"),
+        (0xA690, "M", "ꚑ"),
+        (0xA691, "V"),
     ]
 
+
 def _seg_36() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0xA68E, 'M', 'ꚏ'),
-    (0xA68F, 'V'),
-    (0xA690, 'M', 'ꚑ'),
-    (0xA691, 'V'),
-    (0xA692, 'M', 'ꚓ'),
-    (0xA693, 'V'),
-    (0xA694, 'M', 'ꚕ'),
-    (0xA695, 'V'),
-    (0xA696, 'M', 'ꚗ'),
-    (0xA697, 'V'),
-    (0xA698, 'M', 'ꚙ'),
-    (0xA699, 'V'),
-    (0xA69A, 'M', 'ꚛ'),
-    (0xA69B, 'V'),
-    (0xA69C, 'M', 'ъ'),
-    (0xA69D, 'M', 'ь'),
-    (0xA69E, 'V'),
-    (0xA6F8, 'X'),
-    (0xA700, 'V'),
-    (0xA722, 'M', 'ꜣ'),
-    (0xA723, 'V'),
-    (0xA724, 'M', 'ꜥ'),
-    (0xA725, 'V'),
-    (0xA726, 'M', 'ꜧ'),
-    (0xA727, 'V'),
-    (0xA728, 'M', 'ꜩ'),
-    (0xA729, 'V'),
-    (0xA72A, 'M', 'ꜫ'),
-    (0xA72B, 'V'),
-    (0xA72C, 'M', 'ꜭ'),
-    (0xA72D, 'V'),
-    (0xA72E, 'M', 'ꜯ'),
-    (0xA72F, 'V'),
-    (0xA732, 'M', 'ꜳ'),
-    (0xA733, 'V'),
-    (0xA734, 'M', 'ꜵ'),
-    (0xA735, 'V'),
-    (0xA736, 'M', 'ꜷ'),
-    (0xA737, 'V'),
-    (0xA738, 'M', 'ꜹ'),
-    (0xA739, 'V'),
-    (0xA73A, 'M', 'ꜻ'),
-    (0xA73B, 'V'),
-    (0xA73C, 'M', 'ꜽ'),
-    (0xA73D, 'V'),
-    (0xA73E, 'M', 'ꜿ'),
-    (0xA73F, 'V'),
-    (0xA740, 'M', 'ꝁ'),
-    (0xA741, 'V'),
-    (0xA742, 'M', 'ꝃ'),
-    (0xA743, 'V'),
-    (0xA744, 'M', 'ꝅ'),
-    (0xA745, 'V'),
-    (0xA746, 'M', 'ꝇ'),
-    (0xA747, 'V'),
-    (0xA748, 'M', 'ꝉ'),
-    (0xA749, 'V'),
-    (0xA74A, 'M', 'ꝋ'),
-    (0xA74B, 'V'),
-    (0xA74C, 'M', 'ꝍ'),
-    (0xA74D, 'V'),
-    (0xA74E, 'M', 'ꝏ'),
-    (0xA74F, 'V'),
-    (0xA750, 'M', 'ꝑ'),
-    (0xA751, 'V'),
-    (0xA752, 'M', 'ꝓ'),
-    (0xA753, 'V'),
-    (0xA754, 'M', 'ꝕ'),
-    (0xA755, 'V'),
-    (0xA756, 'M', 'ꝗ'),
-    (0xA757, 'V'),
-    (0xA758, 'M', 'ꝙ'),
-    (0xA759, 'V'),
-    (0xA75A, 'M', 'ꝛ'),
-    (0xA75B, 'V'),
-    (0xA75C, 'M', 'ꝝ'),
-    (0xA75D, 'V'),
-    (0xA75E, 'M', 'ꝟ'),
-    (0xA75F, 'V'),
-    (0xA760, 'M', 'ꝡ'),
-    (0xA761, 'V'),
-    (0xA762, 'M', 'ꝣ'),
-    (0xA763, 'V'),
-    (0xA764, 'M', 'ꝥ'),
-    (0xA765, 'V'),
-    (0xA766, 'M', 'ꝧ'),
-    (0xA767, 'V'),
-    (0xA768, 'M', 'ꝩ'),
-    (0xA769, 'V'),
-    (0xA76A, 'M', 'ꝫ'),
-    (0xA76B, 'V'),
-    (0xA76C, 'M', 'ꝭ'),
-    (0xA76D, 'V'),
-    (0xA76E, 'M', 'ꝯ'),
-    (0xA76F, 'V'),
-    (0xA770, 'M', 'ꝯ'),
-    (0xA771, 'V'),
-    (0xA779, 'M', 'ꝺ'),
-    (0xA77A, 'V'),
-    (0xA77B, 'M', 'ꝼ'),
+        (0xA692, "M", "ꚓ"),
+        (0xA693, "V"),
+        (0xA694, "M", "ꚕ"),
+        (0xA695, "V"),
+        (0xA696, "M", "ꚗ"),
+        (0xA697, "V"),
+        (0xA698, "M", "ꚙ"),
+        (0xA699, "V"),
+        (0xA69A, "M", "ꚛ"),
+        (0xA69B, "V"),
+        (0xA69C, "M", "ъ"),
+        (0xA69D, "M", "ь"),
+        (0xA69E, "V"),
+        (0xA6F8, "X"),
+        (0xA700, "V"),
+        (0xA722, "M", "ꜣ"),
+        (0xA723, "V"),
+        (0xA724, "M", "ꜥ"),
+        (0xA725, "V"),
+        (0xA726, "M", "ꜧ"),
+        (0xA727, "V"),
+        (0xA728, "M", "ꜩ"),
+        (0xA729, "V"),
+        (0xA72A, "M", "ꜫ"),
+        (0xA72B, "V"),
+        (0xA72C, "M", "ꜭ"),
+        (0xA72D, "V"),
+        (0xA72E, "M", "ꜯ"),
+        (0xA72F, "V"),
+        (0xA732, "M", "ꜳ"),
+        (0xA733, "V"),
+        (0xA734, "M", "ꜵ"),
+        (0xA735, "V"),
+        (0xA736, "M", "ꜷ"),
+        (0xA737, "V"),
+        (0xA738, "M", "ꜹ"),
+        (0xA739, "V"),
+        (0xA73A, "M", "ꜻ"),
+        (0xA73B, "V"),
+        (0xA73C, "M", "ꜽ"),
+        (0xA73D, "V"),
+        (0xA73E, "M", "ꜿ"),
+        (0xA73F, "V"),
+        (0xA740, "M", "ꝁ"),
+        (0xA741, "V"),
+        (0xA742, "M", "ꝃ"),
+        (0xA743, "V"),
+        (0xA744, "M", "ꝅ"),
+        (0xA745, "V"),
+        (0xA746, "M", "ꝇ"),
+        (0xA747, "V"),
+        (0xA748, "M", "ꝉ"),
+        (0xA749, "V"),
+        (0xA74A, "M", "ꝋ"),
+        (0xA74B, "V"),
+        (0xA74C, "M", "ꝍ"),
+        (0xA74D, "V"),
+        (0xA74E, "M", "ꝏ"),
+        (0xA74F, "V"),
+        (0xA750, "M", "ꝑ"),
+        (0xA751, "V"),
+        (0xA752, "M", "ꝓ"),
+        (0xA753, "V"),
+        (0xA754, "M", "ꝕ"),
+        (0xA755, "V"),
+        (0xA756, "M", "ꝗ"),
+        (0xA757, "V"),
+        (0xA758, "M", "ꝙ"),
+        (0xA759, "V"),
+        (0xA75A, "M", "ꝛ"),
+        (0xA75B, "V"),
+        (0xA75C, "M", "ꝝ"),
+        (0xA75D, "V"),
+        (0xA75E, "M", "ꝟ"),
+        (0xA75F, "V"),
+        (0xA760, "M", "ꝡ"),
+        (0xA761, "V"),
+        (0xA762, "M", "ꝣ"),
+        (0xA763, "V"),
+        (0xA764, "M", "ꝥ"),
+        (0xA765, "V"),
+        (0xA766, "M", "ꝧ"),
+        (0xA767, "V"),
+        (0xA768, "M", "ꝩ"),
+        (0xA769, "V"),
+        (0xA76A, "M", "ꝫ"),
+        (0xA76B, "V"),
+        (0xA76C, "M", "ꝭ"),
+        (0xA76D, "V"),
+        (0xA76E, "M", "ꝯ"),
+        (0xA76F, "V"),
+        (0xA770, "M", "ꝯ"),
+        (0xA771, "V"),
+        (0xA779, "M", "ꝺ"),
+        (0xA77A, "V"),
+        (0xA77B, "M", "ꝼ"),
+        (0xA77C, "V"),
+        (0xA77D, "M", "ᵹ"),
+        (0xA77E, "M", "ꝿ"),
+        (0xA77F, "V"),
     ]
 
+
 def _seg_37() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0xA77C, 'V'),
-    (0xA77D, 'M', 'ᵹ'),
-    (0xA77E, 'M', 'ꝿ'),
-    (0xA77F, 'V'),
-    (0xA780, 'M', 'ꞁ'),
-    (0xA781, 'V'),
-    (0xA782, 'M', 'ꞃ'),
-    (0xA783, 'V'),
-    (0xA784, 'M', 'ꞅ'),
-    (0xA785, 'V'),
-    (0xA786, 'M', 'ꞇ'),
-    (0xA787, 'V'),
-    (0xA78B, 'M', 'ꞌ'),
-    (0xA78C, 'V'),
-    (0xA78D, 'M', 'ɥ'),
-    (0xA78E, 'V'),
-    (0xA790, 'M', 'ꞑ'),
-    (0xA791, 'V'),
-    (0xA792, 'M', 'ꞓ'),
-    (0xA793, 'V'),
-    (0xA796, 'M', 'ꞗ'),
-    (0xA797, 'V'),
-    (0xA798, 'M', 'ꞙ'),
-    (0xA799, 'V'),
-    (0xA79A, 'M', 'ꞛ'),
-    (0xA79B, 'V'),
-    (0xA79C, 'M', 'ꞝ'),
-    (0xA79D, 'V'),
-    (0xA79E, 'M', 'ꞟ'),
-    (0xA79F, 'V'),
-    (0xA7A0, 'M', 'ꞡ'),
-    (0xA7A1, 'V'),
-    (0xA7A2, 'M', 'ꞣ'),
-    (0xA7A3, 'V'),
-    (0xA7A4, 'M', 'ꞥ'),
-    (0xA7A5, 'V'),
-    (0xA7A6, 'M', 'ꞧ'),
-    (0xA7A7, 'V'),
-    (0xA7A8, 'M', 'ꞩ'),
-    (0xA7A9, 'V'),
-    (0xA7AA, 'M', 'ɦ'),
-    (0xA7AB, 'M', 'ɜ'),
-    (0xA7AC, 'M', 'ɡ'),
-    (0xA7AD, 'M', 'ɬ'),
-    (0xA7AE, 'M', 'ɪ'),
-    (0xA7AF, 'V'),
-    (0xA7B0, 'M', 'ʞ'),
-    (0xA7B1, 'M', 'ʇ'),
-    (0xA7B2, 'M', 'ʝ'),
-    (0xA7B3, 'M', 'ꭓ'),
-    (0xA7B4, 'M', 'ꞵ'),
-    (0xA7B5, 'V'),
-    (0xA7B6, 'M', 'ꞷ'),
-    (0xA7B7, 'V'),
-    (0xA7B8, 'M', 'ꞹ'),
-    (0xA7B9, 'V'),
-    (0xA7BA, 'M', 'ꞻ'),
-    (0xA7BB, 'V'),
-    (0xA7BC, 'M', 'ꞽ'),
-    (0xA7BD, 'V'),
-    (0xA7BE, 'M', 'ꞿ'),
-    (0xA7BF, 'V'),
-    (0xA7C0, 'M', 'ꟁ'),
-    (0xA7C1, 'V'),
-    (0xA7C2, 'M', 'ꟃ'),
-    (0xA7C3, 'V'),
-    (0xA7C4, 'M', 'ꞔ'),
-    (0xA7C5, 'M', 'ʂ'),
-    (0xA7C6, 'M', 'ᶎ'),
-    (0xA7C7, 'M', 'ꟈ'),
-    (0xA7C8, 'V'),
-    (0xA7C9, 'M', 'ꟊ'),
-    (0xA7CA, 'V'),
-    (0xA7CB, 'X'),
-    (0xA7D0, 'M', 'ꟑ'),
-    (0xA7D1, 'V'),
-    (0xA7D2, 'X'),
-    (0xA7D3, 'V'),
-    (0xA7D4, 'X'),
-    (0xA7D5, 'V'),
-    (0xA7D6, 'M', 'ꟗ'),
-    (0xA7D7, 'V'),
-    (0xA7D8, 'M', 'ꟙ'),
-    (0xA7D9, 'V'),
-    (0xA7DA, 'X'),
-    (0xA7F2, 'M', 'c'),
-    (0xA7F3, 'M', 'f'),
-    (0xA7F4, 'M', 'q'),
-    (0xA7F5, 'M', 'ꟶ'),
-    (0xA7F6, 'V'),
-    (0xA7F8, 'M', 'ħ'),
-    (0xA7F9, 'M', 'œ'),
-    (0xA7FA, 'V'),
-    (0xA82D, 'X'),
-    (0xA830, 'V'),
-    (0xA83A, 'X'),
-    (0xA840, 'V'),
-    (0xA878, 'X'),
-    (0xA880, 'V'),
-    (0xA8C6, 'X'),
+        (0xA780, "M", "ꞁ"),
+        (0xA781, "V"),
+        (0xA782, "M", "ꞃ"),
+        (0xA783, "V"),
+        (0xA784, "M", "ꞅ"),
+        (0xA785, "V"),
+        (0xA786, "M", "ꞇ"),
+        (0xA787, "V"),
+        (0xA78B, "M", "ꞌ"),
+        (0xA78C, "V"),
+        (0xA78D, "M", "ɥ"),
+        (0xA78E, "V"),
+        (0xA790, "M", "ꞑ"),
+        (0xA791, "V"),
+        (0xA792, "M", "ꞓ"),
+        (0xA793, "V"),
+        (0xA796, "M", "ꞗ"),
+        (0xA797, "V"),
+        (0xA798, "M", "ꞙ"),
+        (0xA799, "V"),
+        (0xA79A, "M", "ꞛ"),
+        (0xA79B, "V"),
+        (0xA79C, "M", "ꞝ"),
+        (0xA79D, "V"),
+        (0xA79E, "M", "ꞟ"),
+        (0xA79F, "V"),
+        (0xA7A0, "M", "ꞡ"),
+        (0xA7A1, "V"),
+        (0xA7A2, "M", "ꞣ"),
+        (0xA7A3, "V"),
+        (0xA7A4, "M", "ꞥ"),
+        (0xA7A5, "V"),
+        (0xA7A6, "M", "ꞧ"),
+        (0xA7A7, "V"),
+        (0xA7A8, "M", "ꞩ"),
+        (0xA7A9, "V"),
+        (0xA7AA, "M", "ɦ"),
+        (0xA7AB, "M", "ɜ"),
+        (0xA7AC, "M", "ɡ"),
+        (0xA7AD, "M", "ɬ"),
+        (0xA7AE, "M", "ɪ"),
+        (0xA7AF, "V"),
+        (0xA7B0, "M", "ʞ"),
+        (0xA7B1, "M", "ʇ"),
+        (0xA7B2, "M", "ʝ"),
+        (0xA7B3, "M", "ꭓ"),
+        (0xA7B4, "M", "ꞵ"),
+        (0xA7B5, "V"),
+        (0xA7B6, "M", "ꞷ"),
+        (0xA7B7, "V"),
+        (0xA7B8, "M", "ꞹ"),
+        (0xA7B9, "V"),
+        (0xA7BA, "M", "ꞻ"),
+        (0xA7BB, "V"),
+        (0xA7BC, "M", "ꞽ"),
+        (0xA7BD, "V"),
+        (0xA7BE, "M", "ꞿ"),
+        (0xA7BF, "V"),
+        (0xA7C0, "M", "ꟁ"),
+        (0xA7C1, "V"),
+        (0xA7C2, "M", "ꟃ"),
+        (0xA7C3, "V"),
+        (0xA7C4, "M", "ꞔ"),
+        (0xA7C5, "M", "ʂ"),
+        (0xA7C6, "M", "ᶎ"),
+        (0xA7C7, "M", "ꟈ"),
+        (0xA7C8, "V"),
+        (0xA7C9, "M", "ꟊ"),
+        (0xA7CA, "V"),
+        (0xA7CB, "X"),
+        (0xA7D0, "M", "ꟑ"),
+        (0xA7D1, "V"),
+        (0xA7D2, "X"),
+        (0xA7D3, "V"),
+        (0xA7D4, "X"),
+        (0xA7D5, "V"),
+        (0xA7D6, "M", "ꟗ"),
+        (0xA7D7, "V"),
+        (0xA7D8, "M", "ꟙ"),
+        (0xA7D9, "V"),
+        (0xA7DA, "X"),
+        (0xA7F2, "M", "c"),
+        (0xA7F3, "M", "f"),
+        (0xA7F4, "M", "q"),
+        (0xA7F5, "M", "ꟶ"),
+        (0xA7F6, "V"),
+        (0xA7F8, "M", "ħ"),
+        (0xA7F9, "M", "œ"),
+        (0xA7FA, "V"),
+        (0xA82D, "X"),
+        (0xA830, "V"),
+        (0xA83A, "X"),
+        (0xA840, "V"),
+        (0xA878, "X"),
+        (0xA880, "V"),
+        (0xA8C6, "X"),
+        (0xA8CE, "V"),
+        (0xA8DA, "X"),
+        (0xA8E0, "V"),
+        (0xA954, "X"),
     ]
 
+
 def _seg_38() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0xA8CE, 'V'),
-    (0xA8DA, 'X'),
-    (0xA8E0, 'V'),
-    (0xA954, 'X'),
-    (0xA95F, 'V'),
-    (0xA97D, 'X'),
-    (0xA980, 'V'),
-    (0xA9CE, 'X'),
-    (0xA9CF, 'V'),
-    (0xA9DA, 'X'),
-    (0xA9DE, 'V'),
-    (0xA9FF, 'X'),
-    (0xAA00, 'V'),
-    (0xAA37, 'X'),
-    (0xAA40, 'V'),
-    (0xAA4E, 'X'),
-    (0xAA50, 'V'),
-    (0xAA5A, 'X'),
-    (0xAA5C, 'V'),
-    (0xAAC3, 'X'),
-    (0xAADB, 'V'),
-    (0xAAF7, 'X'),
-    (0xAB01, 'V'),
-    (0xAB07, 'X'),
-    (0xAB09, 'V'),
-    (0xAB0F, 'X'),
-    (0xAB11, 'V'),
-    (0xAB17, 'X'),
-    (0xAB20, 'V'),
-    (0xAB27, 'X'),
-    (0xAB28, 'V'),
-    (0xAB2F, 'X'),
-    (0xAB30, 'V'),
-    (0xAB5C, 'M', 'ꜧ'),
-    (0xAB5D, 'M', 'ꬷ'),
-    (0xAB5E, 'M', 'ɫ'),
-    (0xAB5F, 'M', 'ꭒ'),
-    (0xAB60, 'V'),
-    (0xAB69, 'M', 'ʍ'),
-    (0xAB6A, 'V'),
-    (0xAB6C, 'X'),
-    (0xAB70, 'M', 'Ꭰ'),
-    (0xAB71, 'M', 'Ꭱ'),
-    (0xAB72, 'M', 'Ꭲ'),
-    (0xAB73, 'M', 'Ꭳ'),
-    (0xAB74, 'M', 'Ꭴ'),
-    (0xAB75, 'M', 'Ꭵ'),
-    (0xAB76, 'M', 'Ꭶ'),
-    (0xAB77, 'M', 'Ꭷ'),
-    (0xAB78, 'M', 'Ꭸ'),
-    (0xAB79, 'M', 'Ꭹ'),
-    (0xAB7A, 'M', 'Ꭺ'),
-    (0xAB7B, 'M', 'Ꭻ'),
-    (0xAB7C, 'M', 'Ꭼ'),
-    (0xAB7D, 'M', 'Ꭽ'),
-    (0xAB7E, 'M', 'Ꭾ'),
-    (0xAB7F, 'M', 'Ꭿ'),
-    (0xAB80, 'M', 'Ꮀ'),
-    (0xAB81, 'M', 'Ꮁ'),
-    (0xAB82, 'M', 'Ꮂ'),
-    (0xAB83, 'M', 'Ꮃ'),
-    (0xAB84, 'M', 'Ꮄ'),
-    (0xAB85, 'M', 'Ꮅ'),
-    (0xAB86, 'M', 'Ꮆ'),
-    (0xAB87, 'M', 'Ꮇ'),
-    (0xAB88, 'M', 'Ꮈ'),
-    (0xAB89, 'M', 'Ꮉ'),
-    (0xAB8A, 'M', 'Ꮊ'),
-    (0xAB8B, 'M', 'Ꮋ'),
-    (0xAB8C, 'M', 'Ꮌ'),
-    (0xAB8D, 'M', 'Ꮍ'),
-    (0xAB8E, 'M', 'Ꮎ'),
-    (0xAB8F, 'M', 'Ꮏ'),
-    (0xAB90, 'M', 'Ꮐ'),
-    (0xAB91, 'M', 'Ꮑ'),
-    (0xAB92, 'M', 'Ꮒ'),
-    (0xAB93, 'M', 'Ꮓ'),
-    (0xAB94, 'M', 'Ꮔ'),
-    (0xAB95, 'M', 'Ꮕ'),
-    (0xAB96, 'M', 'Ꮖ'),
-    (0xAB97, 'M', 'Ꮗ'),
-    (0xAB98, 'M', 'Ꮘ'),
-    (0xAB99, 'M', 'Ꮙ'),
-    (0xAB9A, 'M', 'Ꮚ'),
-    (0xAB9B, 'M', 'Ꮛ'),
-    (0xAB9C, 'M', 'Ꮜ'),
-    (0xAB9D, 'M', 'Ꮝ'),
-    (0xAB9E, 'M', 'Ꮞ'),
-    (0xAB9F, 'M', 'Ꮟ'),
-    (0xABA0, 'M', 'Ꮠ'),
-    (0xABA1, 'M', 'Ꮡ'),
-    (0xABA2, 'M', 'Ꮢ'),
-    (0xABA3, 'M', 'Ꮣ'),
-    (0xABA4, 'M', 'Ꮤ'),
-    (0xABA5, 'M', 'Ꮥ'),
-    (0xABA6, 'M', 'Ꮦ'),
-    (0xABA7, 'M', 'Ꮧ'),
-    (0xABA8, 'M', 'Ꮨ'),
-    (0xABA9, 'M', 'Ꮩ'),
-    (0xABAA, 'M', 'Ꮪ'),
+        (0xA95F, "V"),
+        (0xA97D, "X"),
+        (0xA980, "V"),
+        (0xA9CE, "X"),
+        (0xA9CF, "V"),
+        (0xA9DA, "X"),
+        (0xA9DE, "V"),
+        (0xA9FF, "X"),
+        (0xAA00, "V"),
+        (0xAA37, "X"),
+        (0xAA40, "V"),
+        (0xAA4E, "X"),
+        (0xAA50, "V"),
+        (0xAA5A, "X"),
+        (0xAA5C, "V"),
+        (0xAAC3, "X"),
+        (0xAADB, "V"),
+        (0xAAF7, "X"),
+        (0xAB01, "V"),
+        (0xAB07, "X"),
+        (0xAB09, "V"),
+        (0xAB0F, "X"),
+        (0xAB11, "V"),
+        (0xAB17, "X"),
+        (0xAB20, "V"),
+        (0xAB27, "X"),
+        (0xAB28, "V"),
+        (0xAB2F, "X"),
+        (0xAB30, "V"),
+        (0xAB5C, "M", "ꜧ"),
+        (0xAB5D, "M", "ꬷ"),
+        (0xAB5E, "M", "ɫ"),
+        (0xAB5F, "M", "ꭒ"),
+        (0xAB60, "V"),
+        (0xAB69, "M", "ʍ"),
+        (0xAB6A, "V"),
+        (0xAB6C, "X"),
+        (0xAB70, "M", "Ꭰ"),
+        (0xAB71, "M", "Ꭱ"),
+        (0xAB72, "M", "Ꭲ"),
+        (0xAB73, "M", "Ꭳ"),
+        (0xAB74, "M", "Ꭴ"),
+        (0xAB75, "M", "Ꭵ"),
+        (0xAB76, "M", "Ꭶ"),
+        (0xAB77, "M", "Ꭷ"),
+        (0xAB78, "M", "Ꭸ"),
+        (0xAB79, "M", "Ꭹ"),
+        (0xAB7A, "M", "Ꭺ"),
+        (0xAB7B, "M", "Ꭻ"),
+        (0xAB7C, "M", "Ꭼ"),
+        (0xAB7D, "M", "Ꭽ"),
+        (0xAB7E, "M", "Ꭾ"),
+        (0xAB7F, "M", "Ꭿ"),
+        (0xAB80, "M", "Ꮀ"),
+        (0xAB81, "M", "Ꮁ"),
+        (0xAB82, "M", "Ꮂ"),
+        (0xAB83, "M", "Ꮃ"),
+        (0xAB84, "M", "Ꮄ"),
+        (0xAB85, "M", "Ꮅ"),
+        (0xAB86, "M", "Ꮆ"),
+        (0xAB87, "M", "Ꮇ"),
+        (0xAB88, "M", "Ꮈ"),
+        (0xAB89, "M", "Ꮉ"),
+        (0xAB8A, "M", "Ꮊ"),
+        (0xAB8B, "M", "Ꮋ"),
+        (0xAB8C, "M", "Ꮌ"),
+        (0xAB8D, "M", "Ꮍ"),
+        (0xAB8E, "M", "Ꮎ"),
+        (0xAB8F, "M", "Ꮏ"),
+        (0xAB90, "M", "Ꮐ"),
+        (0xAB91, "M", "Ꮑ"),
+        (0xAB92, "M", "Ꮒ"),
+        (0xAB93, "M", "Ꮓ"),
+        (0xAB94, "M", "Ꮔ"),
+        (0xAB95, "M", "Ꮕ"),
+        (0xAB96, "M", "Ꮖ"),
+        (0xAB97, "M", "Ꮗ"),
+        (0xAB98, "M", "Ꮘ"),
+        (0xAB99, "M", "Ꮙ"),
+        (0xAB9A, "M", "Ꮚ"),
+        (0xAB9B, "M", "Ꮛ"),
+        (0xAB9C, "M", "Ꮜ"),
+        (0xAB9D, "M", "Ꮝ"),
+        (0xAB9E, "M", "Ꮞ"),
+        (0xAB9F, "M", "Ꮟ"),
+        (0xABA0, "M", "Ꮠ"),
+        (0xABA1, "M", "Ꮡ"),
+        (0xABA2, "M", "Ꮢ"),
+        (0xABA3, "M", "Ꮣ"),
+        (0xABA4, "M", "Ꮤ"),
+        (0xABA5, "M", "Ꮥ"),
+        (0xABA6, "M", "Ꮦ"),
+        (0xABA7, "M", "Ꮧ"),
+        (0xABA8, "M", "Ꮨ"),
+        (0xABA9, "M", "Ꮩ"),
+        (0xABAA, "M", "Ꮪ"),
+        (0xABAB, "M", "Ꮫ"),
+        (0xABAC, "M", "Ꮬ"),
+        (0xABAD, "M", "Ꮭ"),
+        (0xABAE, "M", "Ꮮ"),
     ]
 
+
 def _seg_39() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0xABAB, 'M', 'Ꮫ'),
-    (0xABAC, 'M', 'Ꮬ'),
-    (0xABAD, 'M', 'Ꮭ'),
-    (0xABAE, 'M', 'Ꮮ'),
-    (0xABAF, 'M', 'Ꮯ'),
-    (0xABB0, 'M', 'Ꮰ'),
-    (0xABB1, 'M', 'Ꮱ'),
-    (0xABB2, 'M', 'Ꮲ'),
-    (0xABB3, 'M', 'Ꮳ'),
-    (0xABB4, 'M', 'Ꮴ'),
-    (0xABB5, 'M', 'Ꮵ'),
-    (0xABB6, 'M', 'Ꮶ'),
-    (0xABB7, 'M', 'Ꮷ'),
-    (0xABB8, 'M', 'Ꮸ'),
-    (0xABB9, 'M', 'Ꮹ'),
-    (0xABBA, 'M', 'Ꮺ'),
-    (0xABBB, 'M', 'Ꮻ'),
-    (0xABBC, 'M', 'Ꮼ'),
-    (0xABBD, 'M', 'Ꮽ'),
-    (0xABBE, 'M', 'Ꮾ'),
-    (0xABBF, 'M', 'Ꮿ'),
-    (0xABC0, 'V'),
-    (0xABEE, 'X'),
-    (0xABF0, 'V'),
-    (0xABFA, 'X'),
-    (0xAC00, 'V'),
-    (0xD7A4, 'X'),
-    (0xD7B0, 'V'),
-    (0xD7C7, 'X'),
-    (0xD7CB, 'V'),
-    (0xD7FC, 'X'),
-    (0xF900, 'M', '豈'),
-    (0xF901, 'M', '更'),
-    (0xF902, 'M', '車'),
-    (0xF903, 'M', '賈'),
-    (0xF904, 'M', '滑'),
-    (0xF905, 'M', '串'),
-    (0xF906, 'M', '句'),
-    (0xF907, 'M', '龜'),
-    (0xF909, 'M', '契'),
-    (0xF90A, 'M', '金'),
-    (0xF90B, 'M', '喇'),
-    (0xF90C, 'M', '奈'),
-    (0xF90D, 'M', '懶'),
-    (0xF90E, 'M', '癩'),
-    (0xF90F, 'M', '羅'),
-    (0xF910, 'M', '蘿'),
-    (0xF911, 'M', '螺'),
-    (0xF912, 'M', '裸'),
-    (0xF913, 'M', '邏'),
-    (0xF914, 'M', '樂'),
-    (0xF915, 'M', '洛'),
-    (0xF916, 'M', '烙'),
-    (0xF917, 'M', '珞'),
-    (0xF918, 'M', '落'),
-    (0xF919, 'M', '酪'),
-    (0xF91A, 'M', '駱'),
-    (0xF91B, 'M', '亂'),
-    (0xF91C, 'M', '卵'),
-    (0xF91D, 'M', '欄'),
-    (0xF91E, 'M', '爛'),
-    (0xF91F, 'M', '蘭'),
-    (0xF920, 'M', '鸞'),
-    (0xF921, 'M', '嵐'),
-    (0xF922, 'M', '濫'),
-    (0xF923, 'M', '藍'),
-    (0xF924, 'M', '襤'),
-    (0xF925, 'M', '拉'),
-    (0xF926, 'M', '臘'),
-    (0xF927, 'M', '蠟'),
-    (0xF928, 'M', '廊'),
-    (0xF929, 'M', '朗'),
-    (0xF92A, 'M', '浪'),
-    (0xF92B, 'M', '狼'),
-    (0xF92C, 'M', '郎'),
-    (0xF92D, 'M', '來'),
-    (0xF92E, 'M', '冷'),
-    (0xF92F, 'M', '勞'),
-    (0xF930, 'M', '擄'),
-    (0xF931, 'M', '櫓'),
-    (0xF932, 'M', '爐'),
-    (0xF933, 'M', '盧'),
-    (0xF934, 'M', '老'),
-    (0xF935, 'M', '蘆'),
-    (0xF936, 'M', '虜'),
-    (0xF937, 'M', '路'),
-    (0xF938, 'M', '露'),
-    (0xF939, 'M', '魯'),
-    (0xF93A, 'M', '鷺'),
-    (0xF93B, 'M', '碌'),
-    (0xF93C, 'M', '祿'),
-    (0xF93D, 'M', '綠'),
-    (0xF93E, 'M', '菉'),
-    (0xF93F, 'M', '錄'),
-    (0xF940, 'M', '鹿'),
-    (0xF941, 'M', '論'),
-    (0xF942, 'M', '壟'),
-    (0xF943, 'M', '弄'),
-    (0xF944, 'M', '籠'),
-    (0xF945, 'M', '聾'),
+        (0xABAF, "M", "Ꮯ"),
+        (0xABB0, "M", "Ꮰ"),
+        (0xABB1, "M", "Ꮱ"),
+        (0xABB2, "M", "Ꮲ"),
+        (0xABB3, "M", "Ꮳ"),
+        (0xABB4, "M", "Ꮴ"),
+        (0xABB5, "M", "Ꮵ"),
+        (0xABB6, "M", "Ꮶ"),
+        (0xABB7, "M", "Ꮷ"),
+        (0xABB8, "M", "Ꮸ"),
+        (0xABB9, "M", "Ꮹ"),
+        (0xABBA, "M", "Ꮺ"),
+        (0xABBB, "M", "Ꮻ"),
+        (0xABBC, "M", "Ꮼ"),
+        (0xABBD, "M", "Ꮽ"),
+        (0xABBE, "M", "Ꮾ"),
+        (0xABBF, "M", "Ꮿ"),
+        (0xABC0, "V"),
+        (0xABEE, "X"),
+        (0xABF0, "V"),
+        (0xABFA, "X"),
+        (0xAC00, "V"),
+        (0xD7A4, "X"),
+        (0xD7B0, "V"),
+        (0xD7C7, "X"),
+        (0xD7CB, "V"),
+        (0xD7FC, "X"),
+        (0xF900, "M", "豈"),
+        (0xF901, "M", "更"),
+        (0xF902, "M", "車"),
+        (0xF903, "M", "賈"),
+        (0xF904, "M", "滑"),
+        (0xF905, "M", "串"),
+        (0xF906, "M", "句"),
+        (0xF907, "M", "龜"),
+        (0xF909, "M", "契"),
+        (0xF90A, "M", "金"),
+        (0xF90B, "M", "喇"),
+        (0xF90C, "M", "奈"),
+        (0xF90D, "M", "懶"),
+        (0xF90E, "M", "癩"),
+        (0xF90F, "M", "羅"),
+        (0xF910, "M", "蘿"),
+        (0xF911, "M", "螺"),
+        (0xF912, "M", "裸"),
+        (0xF913, "M", "邏"),
+        (0xF914, "M", "樂"),
+        (0xF915, "M", "洛"),
+        (0xF916, "M", "烙"),
+        (0xF917, "M", "珞"),
+        (0xF918, "M", "落"),
+        (0xF919, "M", "酪"),
+        (0xF91A, "M", "駱"),
+        (0xF91B, "M", "亂"),
+        (0xF91C, "M", "卵"),
+        (0xF91D, "M", "欄"),
+        (0xF91E, "M", "爛"),
+        (0xF91F, "M", "蘭"),
+        (0xF920, "M", "鸞"),
+        (0xF921, "M", "嵐"),
+        (0xF922, "M", "濫"),
+        (0xF923, "M", "藍"),
+        (0xF924, "M", "襤"),
+        (0xF925, "M", "拉"),
+        (0xF926, "M", "臘"),
+        (0xF927, "M", "蠟"),
+        (0xF928, "M", "廊"),
+        (0xF929, "M", "朗"),
+        (0xF92A, "M", "浪"),
+        (0xF92B, "M", "狼"),
+        (0xF92C, "M", "郎"),
+        (0xF92D, "M", "來"),
+        (0xF92E, "M", "冷"),
+        (0xF92F, "M", "勞"),
+        (0xF930, "M", "擄"),
+        (0xF931, "M", "櫓"),
+        (0xF932, "M", "爐"),
+        (0xF933, "M", "盧"),
+        (0xF934, "M", "老"),
+        (0xF935, "M", "蘆"),
+        (0xF936, "M", "虜"),
+        (0xF937, "M", "路"),
+        (0xF938, "M", "露"),
+        (0xF939, "M", "魯"),
+        (0xF93A, "M", "鷺"),
+        (0xF93B, "M", "碌"),
+        (0xF93C, "M", "祿"),
+        (0xF93D, "M", "綠"),
+        (0xF93E, "M", "菉"),
+        (0xF93F, "M", "錄"),
+        (0xF940, "M", "鹿"),
+        (0xF941, "M", "論"),
+        (0xF942, "M", "壟"),
+        (0xF943, "M", "弄"),
+        (0xF944, "M", "籠"),
+        (0xF945, "M", "聾"),
+        (0xF946, "M", "牢"),
+        (0xF947, "M", "磊"),
+        (0xF948, "M", "賂"),
+        (0xF949, "M", "雷"),
     ]
 
+
 def _seg_40() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0xF946, 'M', '牢'),
-    (0xF947, 'M', '磊'),
-    (0xF948, 'M', '賂'),
-    (0xF949, 'M', '雷'),
-    (0xF94A, 'M', '壘'),
-    (0xF94B, 'M', '屢'),
-    (0xF94C, 'M', '樓'),
-    (0xF94D, 'M', '淚'),
-    (0xF94E, 'M', '漏'),
-    (0xF94F, 'M', '累'),
-    (0xF950, 'M', '縷'),
-    (0xF951, 'M', '陋'),
-    (0xF952, 'M', '勒'),
-    (0xF953, 'M', '肋'),
-    (0xF954, 'M', '凜'),
-    (0xF955, 'M', '凌'),
-    (0xF956, 'M', '稜'),
-    (0xF957, 'M', '綾'),
-    (0xF958, 'M', '菱'),
-    (0xF959, 'M', '陵'),
-    (0xF95A, 'M', '讀'),
-    (0xF95B, 'M', '拏'),
-    (0xF95C, 'M', '樂'),
-    (0xF95D, 'M', '諾'),
-    (0xF95E, 'M', '丹'),
-    (0xF95F, 'M', '寧'),
-    (0xF960, 'M', '怒'),
-    (0xF961, 'M', '率'),
-    (0xF962, 'M', '異'),
-    (0xF963, 'M', '北'),
-    (0xF964, 'M', '磻'),
-    (0xF965, 'M', '便'),
-    (0xF966, 'M', '復'),
-    (0xF967, 'M', '不'),
-    (0xF968, 'M', '泌'),
-    (0xF969, 'M', '數'),
-    (0xF96A, 'M', '索'),
-    (0xF96B, 'M', '參'),
-    (0xF96C, 'M', '塞'),
-    (0xF96D, 'M', '省'),
-    (0xF96E, 'M', '葉'),
-    (0xF96F, 'M', '說'),
-    (0xF970, 'M', '殺'),
-    (0xF971, 'M', '辰'),
-    (0xF972, 'M', '沈'),
-    (0xF973, 'M', '拾'),
-    (0xF974, 'M', '若'),
-    (0xF975, 'M', '掠'),
-    (0xF976, 'M', '略'),
-    (0xF977, 'M', '亮'),
-    (0xF978, 'M', '兩'),
-    (0xF979, 'M', '凉'),
-    (0xF97A, 'M', '梁'),
-    (0xF97B, 'M', '糧'),
-    (0xF97C, 'M', '良'),
-    (0xF97D, 'M', '諒'),
-    (0xF97E, 'M', '量'),
-    (0xF97F, 'M', '勵'),
-    (0xF980, 'M', '呂'),
-    (0xF981, 'M', '女'),
-    (0xF982, 'M', '廬'),
-    (0xF983, 'M', '旅'),
-    (0xF984, 'M', '濾'),
-    (0xF985, 'M', '礪'),
-    (0xF986, 'M', '閭'),
-    (0xF987, 'M', '驪'),
-    (0xF988, 'M', '麗'),
-    (0xF989, 'M', '黎'),
-    (0xF98A, 'M', '力'),
-    (0xF98B, 'M', '曆'),
-    (0xF98C, 'M', '歷'),
-    (0xF98D, 'M', '轢'),
-    (0xF98E, 'M', '年'),
-    (0xF98F, 'M', '憐'),
-    (0xF990, 'M', '戀'),
-    (0xF991, 'M', '撚'),
-    (0xF992, 'M', '漣'),
-    (0xF993, 'M', '煉'),
-    (0xF994, 'M', '璉'),
-    (0xF995, 'M', '秊'),
-    (0xF996, 'M', '練'),
-    (0xF997, 'M', '聯'),
-    (0xF998, 'M', '輦'),
-    (0xF999, 'M', '蓮'),
-    (0xF99A, 'M', '連'),
-    (0xF99B, 'M', '鍊'),
-    (0xF99C, 'M', '列'),
-    (0xF99D, 'M', '劣'),
-    (0xF99E, 'M', '咽'),
-    (0xF99F, 'M', '烈'),
-    (0xF9A0, 'M', '裂'),
-    (0xF9A1, 'M', '說'),
-    (0xF9A2, 'M', '廉'),
-    (0xF9A3, 'M', '念'),
-    (0xF9A4, 'M', '捻'),
-    (0xF9A5, 'M', '殮'),
-    (0xF9A6, 'M', '簾'),
-    (0xF9A7, 'M', '獵'),
-    (0xF9A8, 'M', '令'),
-    (0xF9A9, 'M', '囹'),
+        (0xF94A, "M", "壘"),
+        (0xF94B, "M", "屢"),
+        (0xF94C, "M", "樓"),
+        (0xF94D, "M", "淚"),
+        (0xF94E, "M", "漏"),
+        (0xF94F, "M", "累"),
+        (0xF950, "M", "縷"),
+        (0xF951, "M", "陋"),
+        (0xF952, "M", "勒"),
+        (0xF953, "M", "肋"),
+        (0xF954, "M", "凜"),
+        (0xF955, "M", "凌"),
+        (0xF956, "M", "稜"),
+        (0xF957, "M", "綾"),
+        (0xF958, "M", "菱"),
+        (0xF959, "M", "陵"),
+        (0xF95A, "M", "讀"),
+        (0xF95B, "M", "拏"),
+        (0xF95C, "M", "樂"),
+        (0xF95D, "M", "諾"),
+        (0xF95E, "M", "丹"),
+        (0xF95F, "M", "寧"),
+        (0xF960, "M", "怒"),
+        (0xF961, "M", "率"),
+        (0xF962, "M", "異"),
+        (0xF963, "M", "北"),
+        (0xF964, "M", "磻"),
+        (0xF965, "M", "便"),
+        (0xF966, "M", "復"),
+        (0xF967, "M", "不"),
+        (0xF968, "M", "泌"),
+        (0xF969, "M", "數"),
+        (0xF96A, "M", "索"),
+        (0xF96B, "M", "參"),
+        (0xF96C, "M", "塞"),
+        (0xF96D, "M", "省"),
+        (0xF96E, "M", "葉"),
+        (0xF96F, "M", "說"),
+        (0xF970, "M", "殺"),
+        (0xF971, "M", "辰"),
+        (0xF972, "M", "沈"),
+        (0xF973, "M", "拾"),
+        (0xF974, "M", "若"),
+        (0xF975, "M", "掠"),
+        (0xF976, "M", "略"),
+        (0xF977, "M", "亮"),
+        (0xF978, "M", "兩"),
+        (0xF979, "M", "凉"),
+        (0xF97A, "M", "梁"),
+        (0xF97B, "M", "糧"),
+        (0xF97C, "M", "良"),
+        (0xF97D, "M", "諒"),
+        (0xF97E, "M", "量"),
+        (0xF97F, "M", "勵"),
+        (0xF980, "M", "呂"),
+        (0xF981, "M", "女"),
+        (0xF982, "M", "廬"),
+        (0xF983, "M", "旅"),
+        (0xF984, "M", "濾"),
+        (0xF985, "M", "礪"),
+        (0xF986, "M", "閭"),
+        (0xF987, "M", "驪"),
+        (0xF988, "M", "麗"),
+        (0xF989, "M", "黎"),
+        (0xF98A, "M", "力"),
+        (0xF98B, "M", "曆"),
+        (0xF98C, "M", "歷"),
+        (0xF98D, "M", "轢"),
+        (0xF98E, "M", "年"),
+        (0xF98F, "M", "憐"),
+        (0xF990, "M", "戀"),
+        (0xF991, "M", "撚"),
+        (0xF992, "M", "漣"),
+        (0xF993, "M", "煉"),
+        (0xF994, "M", "璉"),
+        (0xF995, "M", "秊"),
+        (0xF996, "M", "練"),
+        (0xF997, "M", "聯"),
+        (0xF998, "M", "輦"),
+        (0xF999, "M", "蓮"),
+        (0xF99A, "M", "連"),
+        (0xF99B, "M", "鍊"),
+        (0xF99C, "M", "列"),
+        (0xF99D, "M", "劣"),
+        (0xF99E, "M", "咽"),
+        (0xF99F, "M", "烈"),
+        (0xF9A0, "M", "裂"),
+        (0xF9A1, "M", "說"),
+        (0xF9A2, "M", "廉"),
+        (0xF9A3, "M", "念"),
+        (0xF9A4, "M", "捻"),
+        (0xF9A5, "M", "殮"),
+        (0xF9A6, "M", "簾"),
+        (0xF9A7, "M", "獵"),
+        (0xF9A8, "M", "令"),
+        (0xF9A9, "M", "囹"),
+        (0xF9AA, "M", "寧"),
+        (0xF9AB, "M", "嶺"),
+        (0xF9AC, "M", "怜"),
+        (0xF9AD, "M", "玲"),
     ]
 
+
 def _seg_41() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0xF9AA, 'M', '寧'),
-    (0xF9AB, 'M', '嶺'),
-    (0xF9AC, 'M', '怜'),
-    (0xF9AD, 'M', '玲'),
-    (0xF9AE, 'M', '瑩'),
-    (0xF9AF, 'M', '羚'),
-    (0xF9B0, 'M', '聆'),
-    (0xF9B1, 'M', '鈴'),
-    (0xF9B2, 'M', '零'),
-    (0xF9B3, 'M', '靈'),
-    (0xF9B4, 'M', '領'),
-    (0xF9B5, 'M', '例'),
-    (0xF9B6, 'M', '禮'),
-    (0xF9B7, 'M', '醴'),
-    (0xF9B8, 'M', '隸'),
-    (0xF9B9, 'M', '惡'),
-    (0xF9BA, 'M', '了'),
-    (0xF9BB, 'M', '僚'),
-    (0xF9BC, 'M', '寮'),
-    (0xF9BD, 'M', '尿'),
-    (0xF9BE, 'M', '料'),
-    (0xF9BF, 'M', '樂'),
-    (0xF9C0, 'M', '燎'),
-    (0xF9C1, 'M', '療'),
-    (0xF9C2, 'M', '蓼'),
-    (0xF9C3, 'M', '遼'),
-    (0xF9C4, 'M', '龍'),
-    (0xF9C5, 'M', '暈'),
-    (0xF9C6, 'M', '阮'),
-    (0xF9C7, 'M', '劉'),
-    (0xF9C8, 'M', '杻'),
-    (0xF9C9, 'M', '柳'),
-    (0xF9CA, 'M', '流'),
-    (0xF9CB, 'M', '溜'),
-    (0xF9CC, 'M', '琉'),
-    (0xF9CD, 'M', '留'),
-    (0xF9CE, 'M', '硫'),
-    (0xF9CF, 'M', '紐'),
-    (0xF9D0, 'M', '類'),
-    (0xF9D1, 'M', '六'),
-    (0xF9D2, 'M', '戮'),
-    (0xF9D3, 'M', '陸'),
-    (0xF9D4, 'M', '倫'),
-    (0xF9D5, 'M', '崙'),
-    (0xF9D6, 'M', '淪'),
-    (0xF9D7, 'M', '輪'),
-    (0xF9D8, 'M', '律'),
-    (0xF9D9, 'M', '慄'),
-    (0xF9DA, 'M', '栗'),
-    (0xF9DB, 'M', '率'),
-    (0xF9DC, 'M', '隆'),
-    (0xF9DD, 'M', '利'),
-    (0xF9DE, 'M', '吏'),
-    (0xF9DF, 'M', '履'),
-    (0xF9E0, 'M', '易'),
-    (0xF9E1, 'M', '李'),
-    (0xF9E2, 'M', '梨'),
-    (0xF9E3, 'M', '泥'),
-    (0xF9E4, 'M', '理'),
-    (0xF9E5, 'M', '痢'),
-    (0xF9E6, 'M', '罹'),
-    (0xF9E7, 'M', '裏'),
-    (0xF9E8, 'M', '裡'),
-    (0xF9E9, 'M', '里'),
-    (0xF9EA, 'M', '離'),
-    (0xF9EB, 'M', '匿'),
-    (0xF9EC, 'M', '溺'),
-    (0xF9ED, 'M', '吝'),
-    (0xF9EE, 'M', '燐'),
-    (0xF9EF, 'M', '璘'),
-    (0xF9F0, 'M', '藺'),
-    (0xF9F1, 'M', '隣'),
-    (0xF9F2, 'M', '鱗'),
-    (0xF9F3, 'M', '麟'),
-    (0xF9F4, 'M', '林'),
-    (0xF9F5, 'M', '淋'),
-    (0xF9F6, 'M', '臨'),
-    (0xF9F7, 'M', '立'),
-    (0xF9F8, 'M', '笠'),
-    (0xF9F9, 'M', '粒'),
-    (0xF9FA, 'M', '狀'),
-    (0xF9FB, 'M', '炙'),
-    (0xF9FC, 'M', '識'),
-    (0xF9FD, 'M', '什'),
-    (0xF9FE, 'M', '茶'),
-    (0xF9FF, 'M', '刺'),
-    (0xFA00, 'M', '切'),
-    (0xFA01, 'M', '度'),
-    (0xFA02, 'M', '拓'),
-    (0xFA03, 'M', '糖'),
-    (0xFA04, 'M', '宅'),
-    (0xFA05, 'M', '洞'),
-    (0xFA06, 'M', '暴'),
-    (0xFA07, 'M', '輻'),
-    (0xFA08, 'M', '行'),
-    (0xFA09, 'M', '降'),
-    (0xFA0A, 'M', '見'),
-    (0xFA0B, 'M', '廓'),
-    (0xFA0C, 'M', '兀'),
-    (0xFA0D, 'M', '嗀'),
+        (0xF9AE, "M", "瑩"),
+        (0xF9AF, "M", "羚"),
+        (0xF9B0, "M", "聆"),
+        (0xF9B1, "M", "鈴"),
+        (0xF9B2, "M", "零"),
+        (0xF9B3, "M", "靈"),
+        (0xF9B4, "M", "領"),
+        (0xF9B5, "M", "例"),
+        (0xF9B6, "M", "禮"),
+        (0xF9B7, "M", "醴"),
+        (0xF9B8, "M", "隸"),
+        (0xF9B9, "M", "惡"),
+        (0xF9BA, "M", "了"),
+        (0xF9BB, "M", "僚"),
+        (0xF9BC, "M", "寮"),
+        (0xF9BD, "M", "尿"),
+        (0xF9BE, "M", "料"),
+        (0xF9BF, "M", "樂"),
+        (0xF9C0, "M", "燎"),
+        (0xF9C1, "M", "療"),
+        (0xF9C2, "M", "蓼"),
+        (0xF9C3, "M", "遼"),
+        (0xF9C4, "M", "龍"),
+        (0xF9C5, "M", "暈"),
+        (0xF9C6, "M", "阮"),
+        (0xF9C7, "M", "劉"),
+        (0xF9C8, "M", "杻"),
+        (0xF9C9, "M", "柳"),
+        (0xF9CA, "M", "流"),
+        (0xF9CB, "M", "溜"),
+        (0xF9CC, "M", "琉"),
+        (0xF9CD, "M", "留"),
+        (0xF9CE, "M", "硫"),
+        (0xF9CF, "M", "紐"),
+        (0xF9D0, "M", "類"),
+        (0xF9D1, "M", "六"),
+        (0xF9D2, "M", "戮"),
+        (0xF9D3, "M", "陸"),
+        (0xF9D4, "M", "倫"),
+        (0xF9D5, "M", "崙"),
+        (0xF9D6, "M", "淪"),
+        (0xF9D7, "M", "輪"),
+        (0xF9D8, "M", "律"),
+        (0xF9D9, "M", "慄"),
+        (0xF9DA, "M", "栗"),
+        (0xF9DB, "M", "率"),
+        (0xF9DC, "M", "隆"),
+        (0xF9DD, "M", "利"),
+        (0xF9DE, "M", "吏"),
+        (0xF9DF, "M", "履"),
+        (0xF9E0, "M", "易"),
+        (0xF9E1, "M", "李"),
+        (0xF9E2, "M", "梨"),
+        (0xF9E3, "M", "泥"),
+        (0xF9E4, "M", "理"),
+        (0xF9E5, "M", "痢"),
+        (0xF9E6, "M", "罹"),
+        (0xF9E7, "M", "裏"),
+        (0xF9E8, "M", "裡"),
+        (0xF9E9, "M", "里"),
+        (0xF9EA, "M", "離"),
+        (0xF9EB, "M", "匿"),
+        (0xF9EC, "M", "溺"),
+        (0xF9ED, "M", "吝"),
+        (0xF9EE, "M", "燐"),
+        (0xF9EF, "M", "璘"),
+        (0xF9F0, "M", "藺"),
+        (0xF9F1, "M", "隣"),
+        (0xF9F2, "M", "鱗"),
+        (0xF9F3, "M", "麟"),
+        (0xF9F4, "M", "林"),
+        (0xF9F5, "M", "淋"),
+        (0xF9F6, "M", "臨"),
+        (0xF9F7, "M", "立"),
+        (0xF9F8, "M", "笠"),
+        (0xF9F9, "M", "粒"),
+        (0xF9FA, "M", "狀"),
+        (0xF9FB, "M", "炙"),
+        (0xF9FC, "M", "識"),
+        (0xF9FD, "M", "什"),
+        (0xF9FE, "M", "茶"),
+        (0xF9FF, "M", "刺"),
+        (0xFA00, "M", "切"),
+        (0xFA01, "M", "度"),
+        (0xFA02, "M", "拓"),
+        (0xFA03, "M", "糖"),
+        (0xFA04, "M", "宅"),
+        (0xFA05, "M", "洞"),
+        (0xFA06, "M", "暴"),
+        (0xFA07, "M", "輻"),
+        (0xFA08, "M", "行"),
+        (0xFA09, "M", "降"),
+        (0xFA0A, "M", "見"),
+        (0xFA0B, "M", "廓"),
+        (0xFA0C, "M", "兀"),
+        (0xFA0D, "M", "嗀"),
+        (0xFA0E, "V"),
+        (0xFA10, "M", "塚"),
+        (0xFA11, "V"),
+        (0xFA12, "M", "晴"),
     ]
 
+
 def _seg_42() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0xFA0E, 'V'),
-    (0xFA10, 'M', '塚'),
-    (0xFA11, 'V'),
-    (0xFA12, 'M', '晴'),
-    (0xFA13, 'V'),
-    (0xFA15, 'M', '凞'),
-    (0xFA16, 'M', '猪'),
-    (0xFA17, 'M', '益'),
-    (0xFA18, 'M', '礼'),
-    (0xFA19, 'M', '神'),
-    (0xFA1A, 'M', '祥'),
-    (0xFA1B, 'M', '福'),
-    (0xFA1C, 'M', '靖'),
-    (0xFA1D, 'M', '精'),
-    (0xFA1E, 'M', '羽'),
-    (0xFA1F, 'V'),
-    (0xFA20, 'M', '蘒'),
-    (0xFA21, 'V'),
-    (0xFA22, 'M', '諸'),
-    (0xFA23, 'V'),
-    (0xFA25, 'M', '逸'),
-    (0xFA26, 'M', '都'),
-    (0xFA27, 'V'),
-    (0xFA2A, 'M', '飯'),
-    (0xFA2B, 'M', '飼'),
-    (0xFA2C, 'M', '館'),
-    (0xFA2D, 'M', '鶴'),
-    (0xFA2E, 'M', '郞'),
-    (0xFA2F, 'M', '隷'),
-    (0xFA30, 'M', '侮'),
-    (0xFA31, 'M', '僧'),
-    (0xFA32, 'M', '免'),
-    (0xFA33, 'M', '勉'),
-    (0xFA34, 'M', '勤'),
-    (0xFA35, 'M', '卑'),
-    (0xFA36, 'M', '喝'),
-    (0xFA37, 'M', '嘆'),
-    (0xFA38, 'M', '器'),
-    (0xFA39, 'M', '塀'),
-    (0xFA3A, 'M', '墨'),
-    (0xFA3B, 'M', '層'),
-    (0xFA3C, 'M', '屮'),
-    (0xFA3D, 'M', '悔'),
-    (0xFA3E, 'M', '慨'),
-    (0xFA3F, 'M', '憎'),
-    (0xFA40, 'M', '懲'),
-    (0xFA41, 'M', '敏'),
-    (0xFA42, 'M', '既'),
-    (0xFA43, 'M', '暑'),
-    (0xFA44, 'M', '梅'),
-    (0xFA45, 'M', '海'),
-    (0xFA46, 'M', '渚'),
-    (0xFA47, 'M', '漢'),
-    (0xFA48, 'M', '煮'),
-    (0xFA49, 'M', '爫'),
-    (0xFA4A, 'M', '琢'),
-    (0xFA4B, 'M', '碑'),
-    (0xFA4C, 'M', '社'),
-    (0xFA4D, 'M', '祉'),
-    (0xFA4E, 'M', '祈'),
-    (0xFA4F, 'M', '祐'),
-    (0xFA50, 'M', '祖'),
-    (0xFA51, 'M', '祝'),
-    (0xFA52, 'M', '禍'),
-    (0xFA53, 'M', '禎'),
-    (0xFA54, 'M', '穀'),
-    (0xFA55, 'M', '突'),
-    (0xFA56, 'M', '節'),
-    (0xFA57, 'M', '練'),
-    (0xFA58, 'M', '縉'),
-    (0xFA59, 'M', '繁'),
-    (0xFA5A, 'M', '署'),
-    (0xFA5B, 'M', '者'),
-    (0xFA5C, 'M', '臭'),
-    (0xFA5D, 'M', '艹'),
-    (0xFA5F, 'M', '著'),
-    (0xFA60, 'M', '褐'),
-    (0xFA61, 'M', '視'),
-    (0xFA62, 'M', '謁'),
-    (0xFA63, 'M', '謹'),
-    (0xFA64, 'M', '賓'),
-    (0xFA65, 'M', '贈'),
-    (0xFA66, 'M', '辶'),
-    (0xFA67, 'M', '逸'),
-    (0xFA68, 'M', '難'),
-    (0xFA69, 'M', '響'),
-    (0xFA6A, 'M', '頻'),
-    (0xFA6B, 'M', '恵'),
-    (0xFA6C, 'M', '𤋮'),
-    (0xFA6D, 'M', '舘'),
-    (0xFA6E, 'X'),
-    (0xFA70, 'M', '並'),
-    (0xFA71, 'M', '况'),
-    (0xFA72, 'M', '全'),
-    (0xFA73, 'M', '侀'),
-    (0xFA74, 'M', '充'),
-    (0xFA75, 'M', '冀'),
-    (0xFA76, 'M', '勇'),
-    (0xFA77, 'M', '勺'),
-    (0xFA78, 'M', '喝'),
+        (0xFA13, "V"),
+        (0xFA15, "M", "凞"),
+        (0xFA16, "M", "猪"),
+        (0xFA17, "M", "益"),
+        (0xFA18, "M", "礼"),
+        (0xFA19, "M", "神"),
+        (0xFA1A, "M", "祥"),
+        (0xFA1B, "M", "福"),
+        (0xFA1C, "M", "靖"),
+        (0xFA1D, "M", "精"),
+        (0xFA1E, "M", "羽"),
+        (0xFA1F, "V"),
+        (0xFA20, "M", "蘒"),
+        (0xFA21, "V"),
+        (0xFA22, "M", "諸"),
+        (0xFA23, "V"),
+        (0xFA25, "M", "逸"),
+        (0xFA26, "M", "都"),
+        (0xFA27, "V"),
+        (0xFA2A, "M", "飯"),
+        (0xFA2B, "M", "飼"),
+        (0xFA2C, "M", "館"),
+        (0xFA2D, "M", "鶴"),
+        (0xFA2E, "M", "郞"),
+        (0xFA2F, "M", "隷"),
+        (0xFA30, "M", "侮"),
+        (0xFA31, "M", "僧"),
+        (0xFA32, "M", "免"),
+        (0xFA33, "M", "勉"),
+        (0xFA34, "M", "勤"),
+        (0xFA35, "M", "卑"),
+        (0xFA36, "M", "喝"),
+        (0xFA37, "M", "嘆"),
+        (0xFA38, "M", "器"),
+        (0xFA39, "M", "塀"),
+        (0xFA3A, "M", "墨"),
+        (0xFA3B, "M", "層"),
+        (0xFA3C, "M", "屮"),
+        (0xFA3D, "M", "悔"),
+        (0xFA3E, "M", "慨"),
+        (0xFA3F, "M", "憎"),
+        (0xFA40, "M", "懲"),
+        (0xFA41, "M", "敏"),
+        (0xFA42, "M", "既"),
+        (0xFA43, "M", "暑"),
+        (0xFA44, "M", "梅"),
+        (0xFA45, "M", "海"),
+        (0xFA46, "M", "渚"),
+        (0xFA47, "M", "漢"),
+        (0xFA48, "M", "煮"),
+        (0xFA49, "M", "爫"),
+        (0xFA4A, "M", "琢"),
+        (0xFA4B, "M", "碑"),
+        (0xFA4C, "M", "社"),
+        (0xFA4D, "M", "祉"),
+        (0xFA4E, "M", "祈"),
+        (0xFA4F, "M", "祐"),
+        (0xFA50, "M", "祖"),
+        (0xFA51, "M", "祝"),
+        (0xFA52, "M", "禍"),
+        (0xFA53, "M", "禎"),
+        (0xFA54, "M", "穀"),
+        (0xFA55, "M", "突"),
+        (0xFA56, "M", "節"),
+        (0xFA57, "M", "練"),
+        (0xFA58, "M", "縉"),
+        (0xFA59, "M", "繁"),
+        (0xFA5A, "M", "署"),
+        (0xFA5B, "M", "者"),
+        (0xFA5C, "M", "臭"),
+        (0xFA5D, "M", "艹"),
+        (0xFA5F, "M", "著"),
+        (0xFA60, "M", "褐"),
+        (0xFA61, "M", "視"),
+        (0xFA62, "M", "謁"),
+        (0xFA63, "M", "謹"),
+        (0xFA64, "M", "賓"),
+        (0xFA65, "M", "贈"),
+        (0xFA66, "M", "辶"),
+        (0xFA67, "M", "逸"),
+        (0xFA68, "M", "難"),
+        (0xFA69, "M", "響"),
+        (0xFA6A, "M", "頻"),
+        (0xFA6B, "M", "恵"),
+        (0xFA6C, "M", "𤋮"),
+        (0xFA6D, "M", "舘"),
+        (0xFA6E, "X"),
+        (0xFA70, "M", "並"),
+        (0xFA71, "M", "况"),
+        (0xFA72, "M", "全"),
+        (0xFA73, "M", "侀"),
+        (0xFA74, "M", "充"),
+        (0xFA75, "M", "冀"),
+        (0xFA76, "M", "勇"),
+        (0xFA77, "M", "勺"),
+        (0xFA78, "M", "喝"),
+        (0xFA79, "M", "啕"),
+        (0xFA7A, "M", "喙"),
+        (0xFA7B, "M", "嗢"),
+        (0xFA7C, "M", "塚"),
     ]
 
+
 def _seg_43() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0xFA79, 'M', '啕'),
-    (0xFA7A, 'M', '喙'),
-    (0xFA7B, 'M', '嗢'),
-    (0xFA7C, 'M', '塚'),
-    (0xFA7D, 'M', '墳'),
-    (0xFA7E, 'M', '奄'),
-    (0xFA7F, 'M', '奔'),
-    (0xFA80, 'M', '婢'),
-    (0xFA81, 'M', '嬨'),
-    (0xFA82, 'M', '廒'),
-    (0xFA83, 'M', '廙'),
-    (0xFA84, 'M', '彩'),
-    (0xFA85, 'M', '徭'),
-    (0xFA86, 'M', '惘'),
-    (0xFA87, 'M', '慎'),
-    (0xFA88, 'M', '愈'),
-    (0xFA89, 'M', '憎'),
-    (0xFA8A, 'M', '慠'),
-    (0xFA8B, 'M', '懲'),
-    (0xFA8C, 'M', '戴'),
-    (0xFA8D, 'M', '揄'),
-    (0xFA8E, 'M', '搜'),
-    (0xFA8F, 'M', '摒'),
-    (0xFA90, 'M', '敖'),
-    (0xFA91, 'M', '晴'),
-    (0xFA92, 'M', '朗'),
-    (0xFA93, 'M', '望'),
-    (0xFA94, 'M', '杖'),
-    (0xFA95, 'M', '歹'),
-    (0xFA96, 'M', '殺'),
-    (0xFA97, 'M', '流'),
-    (0xFA98, 'M', '滛'),
-    (0xFA99, 'M', '滋'),
-    (0xFA9A, 'M', '漢'),
-    (0xFA9B, 'M', '瀞'),
-    (0xFA9C, 'M', '煮'),
-    (0xFA9D, 'M', '瞧'),
-    (0xFA9E, 'M', '爵'),
-    (0xFA9F, 'M', '犯'),
-    (0xFAA0, 'M', '猪'),
-    (0xFAA1, 'M', '瑱'),
-    (0xFAA2, 'M', '甆'),
-    (0xFAA3, 'M', '画'),
-    (0xFAA4, 'M', '瘝'),
-    (0xFAA5, 'M', '瘟'),
-    (0xFAA6, 'M', '益'),
-    (0xFAA7, 'M', '盛'),
-    (0xFAA8, 'M', '直'),
-    (0xFAA9, 'M', '睊'),
-    (0xFAAA, 'M', '着'),
-    (0xFAAB, 'M', '磌'),
-    (0xFAAC, 'M', '窱'),
-    (0xFAAD, 'M', '節'),
-    (0xFAAE, 'M', '类'),
-    (0xFAAF, 'M', '絛'),
-    (0xFAB0, 'M', '練'),
-    (0xFAB1, 'M', '缾'),
-    (0xFAB2, 'M', '者'),
-    (0xFAB3, 'M', '荒'),
-    (0xFAB4, 'M', '華'),
-    (0xFAB5, 'M', '蝹'),
-    (0xFAB6, 'M', '襁'),
-    (0xFAB7, 'M', '覆'),
-    (0xFAB8, 'M', '視'),
-    (0xFAB9, 'M', '調'),
-    (0xFABA, 'M', '諸'),
-    (0xFABB, 'M', '請'),
-    (0xFABC, 'M', '謁'),
-    (0xFABD, 'M', '諾'),
-    (0xFABE, 'M', '諭'),
-    (0xFABF, 'M', '謹'),
-    (0xFAC0, 'M', '變'),
-    (0xFAC1, 'M', '贈'),
-    (0xFAC2, 'M', '輸'),
-    (0xFAC3, 'M', '遲'),
-    (0xFAC4, 'M', '醙'),
-    (0xFAC5, 'M', '鉶'),
-    (0xFAC6, 'M', '陼'),
-    (0xFAC7, 'M', '難'),
-    (0xFAC8, 'M', '靖'),
-    (0xFAC9, 'M', '韛'),
-    (0xFACA, 'M', '響'),
-    (0xFACB, 'M', '頋'),
-    (0xFACC, 'M', '頻'),
-    (0xFACD, 'M', '鬒'),
-    (0xFACE, 'M', '龜'),
-    (0xFACF, 'M', '𢡊'),
-    (0xFAD0, 'M', '𢡄'),
-    (0xFAD1, 'M', '𣏕'),
-    (0xFAD2, 'M', '㮝'),
-    (0xFAD3, 'M', '䀘'),
-    (0xFAD4, 'M', '䀹'),
-    (0xFAD5, 'M', '𥉉'),
-    (0xFAD6, 'M', '𥳐'),
-    (0xFAD7, 'M', '𧻓'),
-    (0xFAD8, 'M', '齃'),
-    (0xFAD9, 'M', '龎'),
-    (0xFADA, 'X'),
-    (0xFB00, 'M', 'ff'),
-    (0xFB01, 'M', 'fi'),
+        (0xFA7D, "M", "墳"),
+        (0xFA7E, "M", "奄"),
+        (0xFA7F, "M", "奔"),
+        (0xFA80, "M", "婢"),
+        (0xFA81, "M", "嬨"),
+        (0xFA82, "M", "廒"),
+        (0xFA83, "M", "廙"),
+        (0xFA84, "M", "彩"),
+        (0xFA85, "M", "徭"),
+        (0xFA86, "M", "惘"),
+        (0xFA87, "M", "慎"),
+        (0xFA88, "M", "愈"),
+        (0xFA89, "M", "憎"),
+        (0xFA8A, "M", "慠"),
+        (0xFA8B, "M", "懲"),
+        (0xFA8C, "M", "戴"),
+        (0xFA8D, "M", "揄"),
+        (0xFA8E, "M", "搜"),
+        (0xFA8F, "M", "摒"),
+        (0xFA90, "M", "敖"),
+        (0xFA91, "M", "晴"),
+        (0xFA92, "M", "朗"),
+        (0xFA93, "M", "望"),
+        (0xFA94, "M", "杖"),
+        (0xFA95, "M", "歹"),
+        (0xFA96, "M", "殺"),
+        (0xFA97, "M", "流"),
+        (0xFA98, "M", "滛"),
+        (0xFA99, "M", "滋"),
+        (0xFA9A, "M", "漢"),
+        (0xFA9B, "M", "瀞"),
+        (0xFA9C, "M", "煮"),
+        (0xFA9D, "M", "瞧"),
+        (0xFA9E, "M", "爵"),
+        (0xFA9F, "M", "犯"),
+        (0xFAA0, "M", "猪"),
+        (0xFAA1, "M", "瑱"),
+        (0xFAA2, "M", "甆"),
+        (0xFAA3, "M", "画"),
+        (0xFAA4, "M", "瘝"),
+        (0xFAA5, "M", "瘟"),
+        (0xFAA6, "M", "益"),
+        (0xFAA7, "M", "盛"),
+        (0xFAA8, "M", "直"),
+        (0xFAA9, "M", "睊"),
+        (0xFAAA, "M", "着"),
+        (0xFAAB, "M", "磌"),
+        (0xFAAC, "M", "窱"),
+        (0xFAAD, "M", "節"),
+        (0xFAAE, "M", "类"),
+        (0xFAAF, "M", "絛"),
+        (0xFAB0, "M", "練"),
+        (0xFAB1, "M", "缾"),
+        (0xFAB2, "M", "者"),
+        (0xFAB3, "M", "荒"),
+        (0xFAB4, "M", "華"),
+        (0xFAB5, "M", "蝹"),
+        (0xFAB6, "M", "襁"),
+        (0xFAB7, "M", "覆"),
+        (0xFAB8, "M", "視"),
+        (0xFAB9, "M", "調"),
+        (0xFABA, "M", "諸"),
+        (0xFABB, "M", "請"),
+        (0xFABC, "M", "謁"),
+        (0xFABD, "M", "諾"),
+        (0xFABE, "M", "諭"),
+        (0xFABF, "M", "謹"),
+        (0xFAC0, "M", "變"),
+        (0xFAC1, "M", "贈"),
+        (0xFAC2, "M", "輸"),
+        (0xFAC3, "M", "遲"),
+        (0xFAC4, "M", "醙"),
+        (0xFAC5, "M", "鉶"),
+        (0xFAC6, "M", "陼"),
+        (0xFAC7, "M", "難"),
+        (0xFAC8, "M", "靖"),
+        (0xFAC9, "M", "韛"),
+        (0xFACA, "M", "響"),
+        (0xFACB, "M", "頋"),
+        (0xFACC, "M", "頻"),
+        (0xFACD, "M", "鬒"),
+        (0xFACE, "M", "龜"),
+        (0xFACF, "M", "𢡊"),
+        (0xFAD0, "M", "𢡄"),
+        (0xFAD1, "M", "𣏕"),
+        (0xFAD2, "M", "㮝"),
+        (0xFAD3, "M", "䀘"),
+        (0xFAD4, "M", "䀹"),
+        (0xFAD5, "M", "𥉉"),
+        (0xFAD6, "M", "𥳐"),
+        (0xFAD7, "M", "𧻓"),
+        (0xFAD8, "M", "齃"),
+        (0xFAD9, "M", "龎"),
+        (0xFADA, "X"),
+        (0xFB00, "M", "ff"),
+        (0xFB01, "M", "fi"),
+        (0xFB02, "M", "fl"),
+        (0xFB03, "M", "ffi"),
+        (0xFB04, "M", "ffl"),
+        (0xFB05, "M", "st"),
     ]
 
+
 def _seg_44() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0xFB02, 'M', 'fl'),
-    (0xFB03, 'M', 'ffi'),
-    (0xFB04, 'M', 'ffl'),
-    (0xFB05, 'M', 'st'),
-    (0xFB07, 'X'),
-    (0xFB13, 'M', 'մն'),
-    (0xFB14, 'M', 'մե'),
-    (0xFB15, 'M', 'մի'),
-    (0xFB16, 'M', 'վն'),
-    (0xFB17, 'M', 'մխ'),
-    (0xFB18, 'X'),
-    (0xFB1D, 'M', 'יִ'),
-    (0xFB1E, 'V'),
-    (0xFB1F, 'M', 'ײַ'),
-    (0xFB20, 'M', 'ע'),
-    (0xFB21, 'M', 'א'),
-    (0xFB22, 'M', 'ד'),
-    (0xFB23, 'M', 'ה'),
-    (0xFB24, 'M', 'כ'),
-    (0xFB25, 'M', 'ל'),
-    (0xFB26, 'M', 'ם'),
-    (0xFB27, 'M', 'ר'),
-    (0xFB28, 'M', 'ת'),
-    (0xFB29, '3', '+'),
-    (0xFB2A, 'M', 'שׁ'),
-    (0xFB2B, 'M', 'שׂ'),
-    (0xFB2C, 'M', 'שּׁ'),
-    (0xFB2D, 'M', 'שּׂ'),
-    (0xFB2E, 'M', 'אַ'),
-    (0xFB2F, 'M', 'אָ'),
-    (0xFB30, 'M', 'אּ'),
-    (0xFB31, 'M', 'בּ'),
-    (0xFB32, 'M', 'גּ'),
-    (0xFB33, 'M', 'דּ'),
-    (0xFB34, 'M', 'הּ'),
-    (0xFB35, 'M', 'וּ'),
-    (0xFB36, 'M', 'זּ'),
-    (0xFB37, 'X'),
-    (0xFB38, 'M', 'טּ'),
-    (0xFB39, 'M', 'יּ'),
-    (0xFB3A, 'M', 'ךּ'),
-    (0xFB3B, 'M', 'כּ'),
-    (0xFB3C, 'M', 'לּ'),
-    (0xFB3D, 'X'),
-    (0xFB3E, 'M', 'מּ'),
-    (0xFB3F, 'X'),
-    (0xFB40, 'M', 'נּ'),
-    (0xFB41, 'M', 'סּ'),
-    (0xFB42, 'X'),
-    (0xFB43, 'M', 'ףּ'),
-    (0xFB44, 'M', 'פּ'),
-    (0xFB45, 'X'),
-    (0xFB46, 'M', 'צּ'),
-    (0xFB47, 'M', 'קּ'),
-    (0xFB48, 'M', 'רּ'),
-    (0xFB49, 'M', 'שּ'),
-    (0xFB4A, 'M', 'תּ'),
-    (0xFB4B, 'M', 'וֹ'),
-    (0xFB4C, 'M', 'בֿ'),
-    (0xFB4D, 'M', 'כֿ'),
-    (0xFB4E, 'M', 'פֿ'),
-    (0xFB4F, 'M', 'אל'),
-    (0xFB50, 'M', 'ٱ'),
-    (0xFB52, 'M', 'ٻ'),
-    (0xFB56, 'M', 'پ'),
-    (0xFB5A, 'M', 'ڀ'),
-    (0xFB5E, 'M', 'ٺ'),
-    (0xFB62, 'M', 'ٿ'),
-    (0xFB66, 'M', 'ٹ'),
-    (0xFB6A, 'M', 'ڤ'),
-    (0xFB6E, 'M', 'ڦ'),
-    (0xFB72, 'M', 'ڄ'),
-    (0xFB76, 'M', 'ڃ'),
-    (0xFB7A, 'M', 'چ'),
-    (0xFB7E, 'M', 'ڇ'),
-    (0xFB82, 'M', 'ڍ'),
-    (0xFB84, 'M', 'ڌ'),
-    (0xFB86, 'M', 'ڎ'),
-    (0xFB88, 'M', 'ڈ'),
-    (0xFB8A, 'M', 'ژ'),
-    (0xFB8C, 'M', 'ڑ'),
-    (0xFB8E, 'M', 'ک'),
-    (0xFB92, 'M', 'گ'),
-    (0xFB96, 'M', 'ڳ'),
-    (0xFB9A, 'M', 'ڱ'),
-    (0xFB9E, 'M', 'ں'),
-    (0xFBA0, 'M', 'ڻ'),
-    (0xFBA4, 'M', 'ۀ'),
-    (0xFBA6, 'M', 'ہ'),
-    (0xFBAA, 'M', 'ھ'),
-    (0xFBAE, 'M', 'ے'),
-    (0xFBB0, 'M', 'ۓ'),
-    (0xFBB2, 'V'),
-    (0xFBC3, 'X'),
-    (0xFBD3, 'M', 'ڭ'),
-    (0xFBD7, 'M', 'ۇ'),
-    (0xFBD9, 'M', 'ۆ'),
-    (0xFBDB, 'M', 'ۈ'),
-    (0xFBDD, 'M', 'ۇٴ'),
-    (0xFBDE, 'M', 'ۋ'),
+        (0xFB07, "X"),
+        (0xFB13, "M", "մն"),
+        (0xFB14, "M", "մե"),
+        (0xFB15, "M", "մի"),
+        (0xFB16, "M", "վն"),
+        (0xFB17, "M", "մխ"),
+        (0xFB18, "X"),
+        (0xFB1D, "M", "יִ"),
+        (0xFB1E, "V"),
+        (0xFB1F, "M", "ײַ"),
+        (0xFB20, "M", "ע"),
+        (0xFB21, "M", "א"),
+        (0xFB22, "M", "ד"),
+        (0xFB23, "M", "ה"),
+        (0xFB24, "M", "כ"),
+        (0xFB25, "M", "ל"),
+        (0xFB26, "M", "ם"),
+        (0xFB27, "M", "ר"),
+        (0xFB28, "M", "ת"),
+        (0xFB29, "3", "+"),
+        (0xFB2A, "M", "שׁ"),
+        (0xFB2B, "M", "שׂ"),
+        (0xFB2C, "M", "שּׁ"),
+        (0xFB2D, "M", "שּׂ"),
+        (0xFB2E, "M", "אַ"),
+        (0xFB2F, "M", "אָ"),
+        (0xFB30, "M", "אּ"),
+        (0xFB31, "M", "בּ"),
+        (0xFB32, "M", "גּ"),
+        (0xFB33, "M", "דּ"),
+        (0xFB34, "M", "הּ"),
+        (0xFB35, "M", "וּ"),
+        (0xFB36, "M", "זּ"),
+        (0xFB37, "X"),
+        (0xFB38, "M", "טּ"),
+        (0xFB39, "M", "יּ"),
+        (0xFB3A, "M", "ךּ"),
+        (0xFB3B, "M", "כּ"),
+        (0xFB3C, "M", "לּ"),
+        (0xFB3D, "X"),
+        (0xFB3E, "M", "מּ"),
+        (0xFB3F, "X"),
+        (0xFB40, "M", "נּ"),
+        (0xFB41, "M", "סּ"),
+        (0xFB42, "X"),
+        (0xFB43, "M", "ףּ"),
+        (0xFB44, "M", "פּ"),
+        (0xFB45, "X"),
+        (0xFB46, "M", "צּ"),
+        (0xFB47, "M", "קּ"),
+        (0xFB48, "M", "רּ"),
+        (0xFB49, "M", "שּ"),
+        (0xFB4A, "M", "תּ"),
+        (0xFB4B, "M", "וֹ"),
+        (0xFB4C, "M", "בֿ"),
+        (0xFB4D, "M", "כֿ"),
+        (0xFB4E, "M", "פֿ"),
+        (0xFB4F, "M", "אל"),
+        (0xFB50, "M", "ٱ"),
+        (0xFB52, "M", "ٻ"),
+        (0xFB56, "M", "پ"),
+        (0xFB5A, "M", "ڀ"),
+        (0xFB5E, "M", "ٺ"),
+        (0xFB62, "M", "ٿ"),
+        (0xFB66, "M", "ٹ"),
+        (0xFB6A, "M", "ڤ"),
+        (0xFB6E, "M", "ڦ"),
+        (0xFB72, "M", "ڄ"),
+        (0xFB76, "M", "ڃ"),
+        (0xFB7A, "M", "چ"),
+        (0xFB7E, "M", "ڇ"),
+        (0xFB82, "M", "ڍ"),
+        (0xFB84, "M", "ڌ"),
+        (0xFB86, "M", "ڎ"),
+        (0xFB88, "M", "ڈ"),
+        (0xFB8A, "M", "ژ"),
+        (0xFB8C, "M", "ڑ"),
+        (0xFB8E, "M", "ک"),
+        (0xFB92, "M", "گ"),
+        (0xFB96, "M", "ڳ"),
+        (0xFB9A, "M", "ڱ"),
+        (0xFB9E, "M", "ں"),
+        (0xFBA0, "M", "ڻ"),
+        (0xFBA4, "M", "ۀ"),
+        (0xFBA6, "M", "ہ"),
+        (0xFBAA, "M", "ھ"),
+        (0xFBAE, "M", "ے"),
+        (0xFBB0, "M", "ۓ"),
+        (0xFBB2, "V"),
+        (0xFBC3, "X"),
+        (0xFBD3, "M", "ڭ"),
+        (0xFBD7, "M", "ۇ"),
+        (0xFBD9, "M", "ۆ"),
+        (0xFBDB, "M", "ۈ"),
+        (0xFBDD, "M", "ۇٴ"),
+        (0xFBDE, "M", "ۋ"),
+        (0xFBE0, "M", "ۅ"),
+        (0xFBE2, "M", "ۉ"),
+        (0xFBE4, "M", "ې"),
+        (0xFBE8, "M", "ى"),
     ]
 
+
 def _seg_45() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0xFBE0, 'M', 'ۅ'),
-    (0xFBE2, 'M', 'ۉ'),
-    (0xFBE4, 'M', 'ې'),
-    (0xFBE8, 'M', 'ى'),
-    (0xFBEA, 'M', 'ئا'),
-    (0xFBEC, 'M', 'ئە'),
-    (0xFBEE, 'M', 'ئو'),
-    (0xFBF0, 'M', 'ئۇ'),
-    (0xFBF2, 'M', 'ئۆ'),
-    (0xFBF4, 'M', 'ئۈ'),
-    (0xFBF6, 'M', 'ئې'),
-    (0xFBF9, 'M', 'ئى'),
-    (0xFBFC, 'M', 'ی'),
-    (0xFC00, 'M', 'ئج'),
-    (0xFC01, 'M', 'ئح'),
-    (0xFC02, 'M', 'ئم'),
-    (0xFC03, 'M', 'ئى'),
-    (0xFC04, 'M', 'ئي'),
-    (0xFC05, 'M', 'بج'),
-    (0xFC06, 'M', 'بح'),
-    (0xFC07, 'M', 'بخ'),
-    (0xFC08, 'M', 'بم'),
-    (0xFC09, 'M', 'بى'),
-    (0xFC0A, 'M', 'بي'),
-    (0xFC0B, 'M', 'تج'),
-    (0xFC0C, 'M', 'تح'),
-    (0xFC0D, 'M', 'تخ'),
-    (0xFC0E, 'M', 'تم'),
-    (0xFC0F, 'M', 'تى'),
-    (0xFC10, 'M', 'تي'),
-    (0xFC11, 'M', 'ثج'),
-    (0xFC12, 'M', 'ثم'),
-    (0xFC13, 'M', 'ثى'),
-    (0xFC14, 'M', 'ثي'),
-    (0xFC15, 'M', 'جح'),
-    (0xFC16, 'M', 'جم'),
-    (0xFC17, 'M', 'حج'),
-    (0xFC18, 'M', 'حم'),
-    (0xFC19, 'M', 'خج'),
-    (0xFC1A, 'M', 'خح'),
-    (0xFC1B, 'M', 'خم'),
-    (0xFC1C, 'M', 'سج'),
-    (0xFC1D, 'M', 'سح'),
-    (0xFC1E, 'M', 'سخ'),
-    (0xFC1F, 'M', 'سم'),
-    (0xFC20, 'M', 'صح'),
-    (0xFC21, 'M', 'صم'),
-    (0xFC22, 'M', 'ضج'),
-    (0xFC23, 'M', 'ضح'),
-    (0xFC24, 'M', 'ضخ'),
-    (0xFC25, 'M', 'ضم'),
-    (0xFC26, 'M', 'طح'),
-    (0xFC27, 'M', 'طم'),
-    (0xFC28, 'M', 'ظم'),
-    (0xFC29, 'M', 'عج'),
-    (0xFC2A, 'M', 'عم'),
-    (0xFC2B, 'M', 'غج'),
-    (0xFC2C, 'M', 'غم'),
-    (0xFC2D, 'M', 'فج'),
-    (0xFC2E, 'M', 'فح'),
-    (0xFC2F, 'M', 'فخ'),
-    (0xFC30, 'M', 'فم'),
-    (0xFC31, 'M', 'فى'),
-    (0xFC32, 'M', 'في'),
-    (0xFC33, 'M', 'قح'),
-    (0xFC34, 'M', 'قم'),
-    (0xFC35, 'M', 'قى'),
-    (0xFC36, 'M', 'قي'),
-    (0xFC37, 'M', 'كا'),
-    (0xFC38, 'M', 'كج'),
-    (0xFC39, 'M', 'كح'),
-    (0xFC3A, 'M', 'كخ'),
-    (0xFC3B, 'M', 'كل'),
-    (0xFC3C, 'M', 'كم'),
-    (0xFC3D, 'M', 'كى'),
-    (0xFC3E, 'M', 'كي'),
-    (0xFC3F, 'M', 'لج'),
-    (0xFC40, 'M', 'لح'),
-    (0xFC41, 'M', 'لخ'),
-    (0xFC42, 'M', 'لم'),
-    (0xFC43, 'M', 'لى'),
-    (0xFC44, 'M', 'لي'),
-    (0xFC45, 'M', 'مج'),
-    (0xFC46, 'M', 'مح'),
-    (0xFC47, 'M', 'مخ'),
-    (0xFC48, 'M', 'مم'),
-    (0xFC49, 'M', 'مى'),
-    (0xFC4A, 'M', 'مي'),
-    (0xFC4B, 'M', 'نج'),
-    (0xFC4C, 'M', 'نح'),
-    (0xFC4D, 'M', 'نخ'),
-    (0xFC4E, 'M', 'نم'),
-    (0xFC4F, 'M', 'نى'),
-    (0xFC50, 'M', 'ني'),
-    (0xFC51, 'M', 'هج'),
-    (0xFC52, 'M', 'هم'),
-    (0xFC53, 'M', 'هى'),
-    (0xFC54, 'M', 'هي'),
-    (0xFC55, 'M', 'يج'),
-    (0xFC56, 'M', 'يح'),
+        (0xFBEA, "M", "ئا"),
+        (0xFBEC, "M", "ئە"),
+        (0xFBEE, "M", "ئو"),
+        (0xFBF0, "M", "ئۇ"),
+        (0xFBF2, "M", "ئۆ"),
+        (0xFBF4, "M", "ئۈ"),
+        (0xFBF6, "M", "ئې"),
+        (0xFBF9, "M", "ئى"),
+        (0xFBFC, "M", "ی"),
+        (0xFC00, "M", "ئج"),
+        (0xFC01, "M", "ئح"),
+        (0xFC02, "M", "ئم"),
+        (0xFC03, "M", "ئى"),
+        (0xFC04, "M", "ئي"),
+        (0xFC05, "M", "بج"),
+        (0xFC06, "M", "بح"),
+        (0xFC07, "M", "بخ"),
+        (0xFC08, "M", "بم"),
+        (0xFC09, "M", "بى"),
+        (0xFC0A, "M", "بي"),
+        (0xFC0B, "M", "تج"),
+        (0xFC0C, "M", "تح"),
+        (0xFC0D, "M", "تخ"),
+        (0xFC0E, "M", "تم"),
+        (0xFC0F, "M", "تى"),
+        (0xFC10, "M", "تي"),
+        (0xFC11, "M", "ثج"),
+        (0xFC12, "M", "ثم"),
+        (0xFC13, "M", "ثى"),
+        (0xFC14, "M", "ثي"),
+        (0xFC15, "M", "جح"),
+        (0xFC16, "M", "جم"),
+        (0xFC17, "M", "حج"),
+        (0xFC18, "M", "حم"),
+        (0xFC19, "M", "خج"),
+        (0xFC1A, "M", "خح"),
+        (0xFC1B, "M", "خم"),
+        (0xFC1C, "M", "سج"),
+        (0xFC1D, "M", "سح"),
+        (0xFC1E, "M", "سخ"),
+        (0xFC1F, "M", "سم"),
+        (0xFC20, "M", "صح"),
+        (0xFC21, "M", "صم"),
+        (0xFC22, "M", "ضج"),
+        (0xFC23, "M", "ضح"),
+        (0xFC24, "M", "ضخ"),
+        (0xFC25, "M", "ضم"),
+        (0xFC26, "M", "طح"),
+        (0xFC27, "M", "طم"),
+        (0xFC28, "M", "ظم"),
+        (0xFC29, "M", "عج"),
+        (0xFC2A, "M", "عم"),
+        (0xFC2B, "M", "غج"),
+        (0xFC2C, "M", "غم"),
+        (0xFC2D, "M", "فج"),
+        (0xFC2E, "M", "فح"),
+        (0xFC2F, "M", "فخ"),
+        (0xFC30, "M", "فم"),
+        (0xFC31, "M", "فى"),
+        (0xFC32, "M", "في"),
+        (0xFC33, "M", "قح"),
+        (0xFC34, "M", "قم"),
+        (0xFC35, "M", "قى"),
+        (0xFC36, "M", "قي"),
+        (0xFC37, "M", "كا"),
+        (0xFC38, "M", "كج"),
+        (0xFC39, "M", "كح"),
+        (0xFC3A, "M", "كخ"),
+        (0xFC3B, "M", "كل"),
+        (0xFC3C, "M", "كم"),
+        (0xFC3D, "M", "كى"),
+        (0xFC3E, "M", "كي"),
+        (0xFC3F, "M", "لج"),
+        (0xFC40, "M", "لح"),
+        (0xFC41, "M", "لخ"),
+        (0xFC42, "M", "لم"),
+        (0xFC43, "M", "لى"),
+        (0xFC44, "M", "لي"),
+        (0xFC45, "M", "مج"),
+        (0xFC46, "M", "مح"),
+        (0xFC47, "M", "مخ"),
+        (0xFC48, "M", "مم"),
+        (0xFC49, "M", "مى"),
+        (0xFC4A, "M", "مي"),
+        (0xFC4B, "M", "نج"),
+        (0xFC4C, "M", "نح"),
+        (0xFC4D, "M", "نخ"),
+        (0xFC4E, "M", "نم"),
+        (0xFC4F, "M", "نى"),
+        (0xFC50, "M", "ني"),
+        (0xFC51, "M", "هج"),
+        (0xFC52, "M", "هم"),
+        (0xFC53, "M", "هى"),
+        (0xFC54, "M", "هي"),
+        (0xFC55, "M", "يج"),
+        (0xFC56, "M", "يح"),
+        (0xFC57, "M", "يخ"),
+        (0xFC58, "M", "يم"),
+        (0xFC59, "M", "يى"),
+        (0xFC5A, "M", "يي"),
     ]
 
+
 def _seg_46() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0xFC57, 'M', 'يخ'),
-    (0xFC58, 'M', 'يم'),
-    (0xFC59, 'M', 'يى'),
-    (0xFC5A, 'M', 'يي'),
-    (0xFC5B, 'M', 'ذٰ'),
-    (0xFC5C, 'M', 'رٰ'),
-    (0xFC5D, 'M', 'ىٰ'),
-    (0xFC5E, '3', ' ٌّ'),
-    (0xFC5F, '3', ' ٍّ'),
-    (0xFC60, '3', ' َّ'),
-    (0xFC61, '3', ' ُّ'),
-    (0xFC62, '3', ' ِّ'),
-    (0xFC63, '3', ' ّٰ'),
-    (0xFC64, 'M', 'ئر'),
-    (0xFC65, 'M', 'ئز'),
-    (0xFC66, 'M', 'ئم'),
-    (0xFC67, 'M', 'ئن'),
-    (0xFC68, 'M', 'ئى'),
-    (0xFC69, 'M', 'ئي'),
-    (0xFC6A, 'M', 'بر'),
-    (0xFC6B, 'M', 'بز'),
-    (0xFC6C, 'M', 'بم'),
-    (0xFC6D, 'M', 'بن'),
-    (0xFC6E, 'M', 'بى'),
-    (0xFC6F, 'M', 'بي'),
-    (0xFC70, 'M', 'تر'),
-    (0xFC71, 'M', 'تز'),
-    (0xFC72, 'M', 'تم'),
-    (0xFC73, 'M', 'تن'),
-    (0xFC74, 'M', 'تى'),
-    (0xFC75, 'M', 'تي'),
-    (0xFC76, 'M', 'ثر'),
-    (0xFC77, 'M', 'ثز'),
-    (0xFC78, 'M', 'ثم'),
-    (0xFC79, 'M', 'ثن'),
-    (0xFC7A, 'M', 'ثى'),
-    (0xFC7B, 'M', 'ثي'),
-    (0xFC7C, 'M', 'فى'),
-    (0xFC7D, 'M', 'في'),
-    (0xFC7E, 'M', 'قى'),
-    (0xFC7F, 'M', 'قي'),
-    (0xFC80, 'M', 'كا'),
-    (0xFC81, 'M', 'كل'),
-    (0xFC82, 'M', 'كم'),
-    (0xFC83, 'M', 'كى'),
-    (0xFC84, 'M', 'كي'),
-    (0xFC85, 'M', 'لم'),
-    (0xFC86, 'M', 'لى'),
-    (0xFC87, 'M', 'لي'),
-    (0xFC88, 'M', 'ما'),
-    (0xFC89, 'M', 'مم'),
-    (0xFC8A, 'M', 'نر'),
-    (0xFC8B, 'M', 'نز'),
-    (0xFC8C, 'M', 'نم'),
-    (0xFC8D, 'M', 'نن'),
-    (0xFC8E, 'M', 'نى'),
-    (0xFC8F, 'M', 'ني'),
-    (0xFC90, 'M', 'ىٰ'),
-    (0xFC91, 'M', 'ير'),
-    (0xFC92, 'M', 'يز'),
-    (0xFC93, 'M', 'يم'),
-    (0xFC94, 'M', 'ين'),
-    (0xFC95, 'M', 'يى'),
-    (0xFC96, 'M', 'يي'),
-    (0xFC97, 'M', 'ئج'),
-    (0xFC98, 'M', 'ئح'),
-    (0xFC99, 'M', 'ئخ'),
-    (0xFC9A, 'M', 'ئم'),
-    (0xFC9B, 'M', 'ئه'),
-    (0xFC9C, 'M', 'بج'),
-    (0xFC9D, 'M', 'بح'),
-    (0xFC9E, 'M', 'بخ'),
-    (0xFC9F, 'M', 'بم'),
-    (0xFCA0, 'M', 'به'),
-    (0xFCA1, 'M', 'تج'),
-    (0xFCA2, 'M', 'تح'),
-    (0xFCA3, 'M', 'تخ'),
-    (0xFCA4, 'M', 'تم'),
-    (0xFCA5, 'M', 'ته'),
-    (0xFCA6, 'M', 'ثم'),
-    (0xFCA7, 'M', 'جح'),
-    (0xFCA8, 'M', 'جم'),
-    (0xFCA9, 'M', 'حج'),
-    (0xFCAA, 'M', 'حم'),
-    (0xFCAB, 'M', 'خج'),
-    (0xFCAC, 'M', 'خم'),
-    (0xFCAD, 'M', 'سج'),
-    (0xFCAE, 'M', 'سح'),
-    (0xFCAF, 'M', 'سخ'),
-    (0xFCB0, 'M', 'سم'),
-    (0xFCB1, 'M', 'صح'),
-    (0xFCB2, 'M', 'صخ'),
-    (0xFCB3, 'M', 'صم'),
-    (0xFCB4, 'M', 'ضج'),
-    (0xFCB5, 'M', 'ضح'),
-    (0xFCB6, 'M', 'ضخ'),
-    (0xFCB7, 'M', 'ضم'),
-    (0xFCB8, 'M', 'طح'),
-    (0xFCB9, 'M', 'ظم'),
-    (0xFCBA, 'M', 'عج'),
+        (0xFC5B, "M", "ذٰ"),
+        (0xFC5C, "M", "رٰ"),
+        (0xFC5D, "M", "ىٰ"),
+        (0xFC5E, "3", " ٌّ"),
+        (0xFC5F, "3", " ٍّ"),
+        (0xFC60, "3", " َّ"),
+        (0xFC61, "3", " ُّ"),
+        (0xFC62, "3", " ِّ"),
+        (0xFC63, "3", " ّٰ"),
+        (0xFC64, "M", "ئر"),
+        (0xFC65, "M", "ئز"),
+        (0xFC66, "M", "ئم"),
+        (0xFC67, "M", "ئن"),
+        (0xFC68, "M", "ئى"),
+        (0xFC69, "M", "ئي"),
+        (0xFC6A, "M", "بر"),
+        (0xFC6B, "M", "بز"),
+        (0xFC6C, "M", "بم"),
+        (0xFC6D, "M", "بن"),
+        (0xFC6E, "M", "بى"),
+        (0xFC6F, "M", "بي"),
+        (0xFC70, "M", "تر"),
+        (0xFC71, "M", "تز"),
+        (0xFC72, "M", "تم"),
+        (0xFC73, "M", "تن"),
+        (0xFC74, "M", "تى"),
+        (0xFC75, "M", "تي"),
+        (0xFC76, "M", "ثر"),
+        (0xFC77, "M", "ثز"),
+        (0xFC78, "M", "ثم"),
+        (0xFC79, "M", "ثن"),
+        (0xFC7A, "M", "ثى"),
+        (0xFC7B, "M", "ثي"),
+        (0xFC7C, "M", "فى"),
+        (0xFC7D, "M", "في"),
+        (0xFC7E, "M", "قى"),
+        (0xFC7F, "M", "قي"),
+        (0xFC80, "M", "كا"),
+        (0xFC81, "M", "كل"),
+        (0xFC82, "M", "كم"),
+        (0xFC83, "M", "كى"),
+        (0xFC84, "M", "كي"),
+        (0xFC85, "M", "لم"),
+        (0xFC86, "M", "لى"),
+        (0xFC87, "M", "لي"),
+        (0xFC88, "M", "ما"),
+        (0xFC89, "M", "مم"),
+        (0xFC8A, "M", "نر"),
+        (0xFC8B, "M", "نز"),
+        (0xFC8C, "M", "نم"),
+        (0xFC8D, "M", "نن"),
+        (0xFC8E, "M", "نى"),
+        (0xFC8F, "M", "ني"),
+        (0xFC90, "M", "ىٰ"),
+        (0xFC91, "M", "ير"),
+        (0xFC92, "M", "يز"),
+        (0xFC93, "M", "يم"),
+        (0xFC94, "M", "ين"),
+        (0xFC95, "M", "يى"),
+        (0xFC96, "M", "يي"),
+        (0xFC97, "M", "ئج"),
+        (0xFC98, "M", "ئح"),
+        (0xFC99, "M", "ئخ"),
+        (0xFC9A, "M", "ئم"),
+        (0xFC9B, "M", "ئه"),
+        (0xFC9C, "M", "بج"),
+        (0xFC9D, "M", "بح"),
+        (0xFC9E, "M", "بخ"),
+        (0xFC9F, "M", "بم"),
+        (0xFCA0, "M", "به"),
+        (0xFCA1, "M", "تج"),
+        (0xFCA2, "M", "تح"),
+        (0xFCA3, "M", "تخ"),
+        (0xFCA4, "M", "تم"),
+        (0xFCA5, "M", "ته"),
+        (0xFCA6, "M", "ثم"),
+        (0xFCA7, "M", "جح"),
+        (0xFCA8, "M", "جم"),
+        (0xFCA9, "M", "حج"),
+        (0xFCAA, "M", "حم"),
+        (0xFCAB, "M", "خج"),
+        (0xFCAC, "M", "خم"),
+        (0xFCAD, "M", "سج"),
+        (0xFCAE, "M", "سح"),
+        (0xFCAF, "M", "سخ"),
+        (0xFCB0, "M", "سم"),
+        (0xFCB1, "M", "صح"),
+        (0xFCB2, "M", "صخ"),
+        (0xFCB3, "M", "صم"),
+        (0xFCB4, "M", "ضج"),
+        (0xFCB5, "M", "ضح"),
+        (0xFCB6, "M", "ضخ"),
+        (0xFCB7, "M", "ضم"),
+        (0xFCB8, "M", "طح"),
+        (0xFCB9, "M", "ظم"),
+        (0xFCBA, "M", "عج"),
+        (0xFCBB, "M", "عم"),
+        (0xFCBC, "M", "غج"),
+        (0xFCBD, "M", "غم"),
+        (0xFCBE, "M", "فج"),
     ]
 
+
 def _seg_47() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0xFCBB, 'M', 'عم'),
-    (0xFCBC, 'M', 'غج'),
-    (0xFCBD, 'M', 'غم'),
-    (0xFCBE, 'M', 'فج'),
-    (0xFCBF, 'M', 'فح'),
-    (0xFCC0, 'M', 'فخ'),
-    (0xFCC1, 'M', 'فم'),
-    (0xFCC2, 'M', 'قح'),
-    (0xFCC3, 'M', 'قم'),
-    (0xFCC4, 'M', 'كج'),
-    (0xFCC5, 'M', 'كح'),
-    (0xFCC6, 'M', 'كخ'),
-    (0xFCC7, 'M', 'كل'),
-    (0xFCC8, 'M', 'كم'),
-    (0xFCC9, 'M', 'لج'),
-    (0xFCCA, 'M', 'لح'),
-    (0xFCCB, 'M', 'لخ'),
-    (0xFCCC, 'M', 'لم'),
-    (0xFCCD, 'M', 'له'),
-    (0xFCCE, 'M', 'مج'),
-    (0xFCCF, 'M', 'مح'),
-    (0xFCD0, 'M', 'مخ'),
-    (0xFCD1, 'M', 'مم'),
-    (0xFCD2, 'M', 'نج'),
-    (0xFCD3, 'M', 'نح'),
-    (0xFCD4, 'M', 'نخ'),
-    (0xFCD5, 'M', 'نم'),
-    (0xFCD6, 'M', 'نه'),
-    (0xFCD7, 'M', 'هج'),
-    (0xFCD8, 'M', 'هم'),
-    (0xFCD9, 'M', 'هٰ'),
-    (0xFCDA, 'M', 'يج'),
-    (0xFCDB, 'M', 'يح'),
-    (0xFCDC, 'M', 'يخ'),
-    (0xFCDD, 'M', 'يم'),
-    (0xFCDE, 'M', 'يه'),
-    (0xFCDF, 'M', 'ئم'),
-    (0xFCE0, 'M', 'ئه'),
-    (0xFCE1, 'M', 'بم'),
-    (0xFCE2, 'M', 'به'),
-    (0xFCE3, 'M', 'تم'),
-    (0xFCE4, 'M', 'ته'),
-    (0xFCE5, 'M', 'ثم'),
-    (0xFCE6, 'M', 'ثه'),
-    (0xFCE7, 'M', 'سم'),
-    (0xFCE8, 'M', 'سه'),
-    (0xFCE9, 'M', 'شم'),
-    (0xFCEA, 'M', 'شه'),
-    (0xFCEB, 'M', 'كل'),
-    (0xFCEC, 'M', 'كم'),
-    (0xFCED, 'M', 'لم'),
-    (0xFCEE, 'M', 'نم'),
-    (0xFCEF, 'M', 'نه'),
-    (0xFCF0, 'M', 'يم'),
-    (0xFCF1, 'M', 'يه'),
-    (0xFCF2, 'M', 'ـَّ'),
-    (0xFCF3, 'M', 'ـُّ'),
-    (0xFCF4, 'M', 'ـِّ'),
-    (0xFCF5, 'M', 'طى'),
-    (0xFCF6, 'M', 'طي'),
-    (0xFCF7, 'M', 'عى'),
-    (0xFCF8, 'M', 'عي'),
-    (0xFCF9, 'M', 'غى'),
-    (0xFCFA, 'M', 'غي'),
-    (0xFCFB, 'M', 'سى'),
-    (0xFCFC, 'M', 'سي'),
-    (0xFCFD, 'M', 'شى'),
-    (0xFCFE, 'M', 'شي'),
-    (0xFCFF, 'M', 'حى'),
-    (0xFD00, 'M', 'حي'),
-    (0xFD01, 'M', 'جى'),
-    (0xFD02, 'M', 'جي'),
-    (0xFD03, 'M', 'خى'),
-    (0xFD04, 'M', 'خي'),
-    (0xFD05, 'M', 'صى'),
-    (0xFD06, 'M', 'صي'),
-    (0xFD07, 'M', 'ضى'),
-    (0xFD08, 'M', 'ضي'),
-    (0xFD09, 'M', 'شج'),
-    (0xFD0A, 'M', 'شح'),
-    (0xFD0B, 'M', 'شخ'),
-    (0xFD0C, 'M', 'شم'),
-    (0xFD0D, 'M', 'شر'),
-    (0xFD0E, 'M', 'سر'),
-    (0xFD0F, 'M', 'صر'),
-    (0xFD10, 'M', 'ضر'),
-    (0xFD11, 'M', 'طى'),
-    (0xFD12, 'M', 'طي'),
-    (0xFD13, 'M', 'عى'),
-    (0xFD14, 'M', 'عي'),
-    (0xFD15, 'M', 'غى'),
-    (0xFD16, 'M', 'غي'),
-    (0xFD17, 'M', 'سى'),
-    (0xFD18, 'M', 'سي'),
-    (0xFD19, 'M', 'شى'),
-    (0xFD1A, 'M', 'شي'),
-    (0xFD1B, 'M', 'حى'),
-    (0xFD1C, 'M', 'حي'),
-    (0xFD1D, 'M', 'جى'),
-    (0xFD1E, 'M', 'جي'),
+        (0xFCBF, "M", "فح"),
+        (0xFCC0, "M", "فخ"),
+        (0xFCC1, "M", "فم"),
+        (0xFCC2, "M", "قح"),
+        (0xFCC3, "M", "قم"),
+        (0xFCC4, "M", "كج"),
+        (0xFCC5, "M", "كح"),
+        (0xFCC6, "M", "كخ"),
+        (0xFCC7, "M", "كل"),
+        (0xFCC8, "M", "كم"),
+        (0xFCC9, "M", "لج"),
+        (0xFCCA, "M", "لح"),
+        (0xFCCB, "M", "لخ"),
+        (0xFCCC, "M", "لم"),
+        (0xFCCD, "M", "له"),
+        (0xFCCE, "M", "مج"),
+        (0xFCCF, "M", "مح"),
+        (0xFCD0, "M", "مخ"),
+        (0xFCD1, "M", "مم"),
+        (0xFCD2, "M", "نج"),
+        (0xFCD3, "M", "نح"),
+        (0xFCD4, "M", "نخ"),
+        (0xFCD5, "M", "نم"),
+        (0xFCD6, "M", "نه"),
+        (0xFCD7, "M", "هج"),
+        (0xFCD8, "M", "هم"),
+        (0xFCD9, "M", "هٰ"),
+        (0xFCDA, "M", "يج"),
+        (0xFCDB, "M", "يح"),
+        (0xFCDC, "M", "يخ"),
+        (0xFCDD, "M", "يم"),
+        (0xFCDE, "M", "يه"),
+        (0xFCDF, "M", "ئم"),
+        (0xFCE0, "M", "ئه"),
+        (0xFCE1, "M", "بم"),
+        (0xFCE2, "M", "به"),
+        (0xFCE3, "M", "تم"),
+        (0xFCE4, "M", "ته"),
+        (0xFCE5, "M", "ثم"),
+        (0xFCE6, "M", "ثه"),
+        (0xFCE7, "M", "سم"),
+        (0xFCE8, "M", "سه"),
+        (0xFCE9, "M", "شم"),
+        (0xFCEA, "M", "شه"),
+        (0xFCEB, "M", "كل"),
+        (0xFCEC, "M", "كم"),
+        (0xFCED, "M", "لم"),
+        (0xFCEE, "M", "نم"),
+        (0xFCEF, "M", "نه"),
+        (0xFCF0, "M", "يم"),
+        (0xFCF1, "M", "يه"),
+        (0xFCF2, "M", "ـَّ"),
+        (0xFCF3, "M", "ـُّ"),
+        (0xFCF4, "M", "ـِّ"),
+        (0xFCF5, "M", "طى"),
+        (0xFCF6, "M", "طي"),
+        (0xFCF7, "M", "عى"),
+        (0xFCF8, "M", "عي"),
+        (0xFCF9, "M", "غى"),
+        (0xFCFA, "M", "غي"),
+        (0xFCFB, "M", "سى"),
+        (0xFCFC, "M", "سي"),
+        (0xFCFD, "M", "شى"),
+        (0xFCFE, "M", "شي"),
+        (0xFCFF, "M", "حى"),
+        (0xFD00, "M", "حي"),
+        (0xFD01, "M", "جى"),
+        (0xFD02, "M", "جي"),
+        (0xFD03, "M", "خى"),
+        (0xFD04, "M", "خي"),
+        (0xFD05, "M", "صى"),
+        (0xFD06, "M", "صي"),
+        (0xFD07, "M", "ضى"),
+        (0xFD08, "M", "ضي"),
+        (0xFD09, "M", "شج"),
+        (0xFD0A, "M", "شح"),
+        (0xFD0B, "M", "شخ"),
+        (0xFD0C, "M", "شم"),
+        (0xFD0D, "M", "شر"),
+        (0xFD0E, "M", "سر"),
+        (0xFD0F, "M", "صر"),
+        (0xFD10, "M", "ضر"),
+        (0xFD11, "M", "طى"),
+        (0xFD12, "M", "طي"),
+        (0xFD13, "M", "عى"),
+        (0xFD14, "M", "عي"),
+        (0xFD15, "M", "غى"),
+        (0xFD16, "M", "غي"),
+        (0xFD17, "M", "سى"),
+        (0xFD18, "M", "سي"),
+        (0xFD19, "M", "شى"),
+        (0xFD1A, "M", "شي"),
+        (0xFD1B, "M", "حى"),
+        (0xFD1C, "M", "حي"),
+        (0xFD1D, "M", "جى"),
+        (0xFD1E, "M", "جي"),
+        (0xFD1F, "M", "خى"),
+        (0xFD20, "M", "خي"),
+        (0xFD21, "M", "صى"),
+        (0xFD22, "M", "صي"),
     ]
 
+
 def _seg_48() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0xFD1F, 'M', 'خى'),
-    (0xFD20, 'M', 'خي'),
-    (0xFD21, 'M', 'صى'),
-    (0xFD22, 'M', 'صي'),
-    (0xFD23, 'M', 'ضى'),
-    (0xFD24, 'M', 'ضي'),
-    (0xFD25, 'M', 'شج'),
-    (0xFD26, 'M', 'شح'),
-    (0xFD27, 'M', 'شخ'),
-    (0xFD28, 'M', 'شم'),
-    (0xFD29, 'M', 'شر'),
-    (0xFD2A, 'M', 'سر'),
-    (0xFD2B, 'M', 'صر'),
-    (0xFD2C, 'M', 'ضر'),
-    (0xFD2D, 'M', 'شج'),
-    (0xFD2E, 'M', 'شح'),
-    (0xFD2F, 'M', 'شخ'),
-    (0xFD30, 'M', 'شم'),
-    (0xFD31, 'M', 'سه'),
-    (0xFD32, 'M', 'شه'),
-    (0xFD33, 'M', 'طم'),
-    (0xFD34, 'M', 'سج'),
-    (0xFD35, 'M', 'سح'),
-    (0xFD36, 'M', 'سخ'),
-    (0xFD37, 'M', 'شج'),
-    (0xFD38, 'M', 'شح'),
-    (0xFD39, 'M', 'شخ'),
-    (0xFD3A, 'M', 'طم'),
-    (0xFD3B, 'M', 'ظم'),
-    (0xFD3C, 'M', 'اً'),
-    (0xFD3E, 'V'),
-    (0xFD50, 'M', 'تجم'),
-    (0xFD51, 'M', 'تحج'),
-    (0xFD53, 'M', 'تحم'),
-    (0xFD54, 'M', 'تخم'),
-    (0xFD55, 'M', 'تمج'),
-    (0xFD56, 'M', 'تمح'),
-    (0xFD57, 'M', 'تمخ'),
-    (0xFD58, 'M', 'جمح'),
-    (0xFD5A, 'M', 'حمي'),
-    (0xFD5B, 'M', 'حمى'),
-    (0xFD5C, 'M', 'سحج'),
-    (0xFD5D, 'M', 'سجح'),
-    (0xFD5E, 'M', 'سجى'),
-    (0xFD5F, 'M', 'سمح'),
-    (0xFD61, 'M', 'سمج'),
-    (0xFD62, 'M', 'سمم'),
-    (0xFD64, 'M', 'صحح'),
-    (0xFD66, 'M', 'صمم'),
-    (0xFD67, 'M', 'شحم'),
-    (0xFD69, 'M', 'شجي'),
-    (0xFD6A, 'M', 'شمخ'),
-    (0xFD6C, 'M', 'شمم'),
-    (0xFD6E, 'M', 'ضحى'),
-    (0xFD6F, 'M', 'ضخم'),
-    (0xFD71, 'M', 'طمح'),
-    (0xFD73, 'M', 'طمم'),
-    (0xFD74, 'M', 'طمي'),
-    (0xFD75, 'M', 'عجم'),
-    (0xFD76, 'M', 'عمم'),
-    (0xFD78, 'M', 'عمى'),
-    (0xFD79, 'M', 'غمم'),
-    (0xFD7A, 'M', 'غمي'),
-    (0xFD7B, 'M', 'غمى'),
-    (0xFD7C, 'M', 'فخم'),
-    (0xFD7E, 'M', 'قمح'),
-    (0xFD7F, 'M', 'قمم'),
-    (0xFD80, 'M', 'لحم'),
-    (0xFD81, 'M', 'لحي'),
-    (0xFD82, 'M', 'لحى'),
-    (0xFD83, 'M', 'لجج'),
-    (0xFD85, 'M', 'لخم'),
-    (0xFD87, 'M', 'لمح'),
-    (0xFD89, 'M', 'محج'),
-    (0xFD8A, 'M', 'محم'),
-    (0xFD8B, 'M', 'محي'),
-    (0xFD8C, 'M', 'مجح'),
-    (0xFD8D, 'M', 'مجم'),
-    (0xFD8E, 'M', 'مخج'),
-    (0xFD8F, 'M', 'مخم'),
-    (0xFD90, 'X'),
-    (0xFD92, 'M', 'مجخ'),
-    (0xFD93, 'M', 'همج'),
-    (0xFD94, 'M', 'همم'),
-    (0xFD95, 'M', 'نحم'),
-    (0xFD96, 'M', 'نحى'),
-    (0xFD97, 'M', 'نجم'),
-    (0xFD99, 'M', 'نجى'),
-    (0xFD9A, 'M', 'نمي'),
-    (0xFD9B, 'M', 'نمى'),
-    (0xFD9C, 'M', 'يمم'),
-    (0xFD9E, 'M', 'بخي'),
-    (0xFD9F, 'M', 'تجي'),
-    (0xFDA0, 'M', 'تجى'),
-    (0xFDA1, 'M', 'تخي'),
-    (0xFDA2, 'M', 'تخى'),
-    (0xFDA3, 'M', 'تمي'),
-    (0xFDA4, 'M', 'تمى'),
-    (0xFDA5, 'M', 'جمي'),
-    (0xFDA6, 'M', 'جحى'),
+        (0xFD23, "M", "ضى"),
+        (0xFD24, "M", "ضي"),
+        (0xFD25, "M", "شج"),
+        (0xFD26, "M", "شح"),
+        (0xFD27, "M", "شخ"),
+        (0xFD28, "M", "شم"),
+        (0xFD29, "M", "شر"),
+        (0xFD2A, "M", "سر"),
+        (0xFD2B, "M", "صر"),
+        (0xFD2C, "M", "ضر"),
+        (0xFD2D, "M", "شج"),
+        (0xFD2E, "M", "شح"),
+        (0xFD2F, "M", "شخ"),
+        (0xFD30, "M", "شم"),
+        (0xFD31, "M", "سه"),
+        (0xFD32, "M", "شه"),
+        (0xFD33, "M", "طم"),
+        (0xFD34, "M", "سج"),
+        (0xFD35, "M", "سح"),
+        (0xFD36, "M", "سخ"),
+        (0xFD37, "M", "شج"),
+        (0xFD38, "M", "شح"),
+        (0xFD39, "M", "شخ"),
+        (0xFD3A, "M", "طم"),
+        (0xFD3B, "M", "ظم"),
+        (0xFD3C, "M", "اً"),
+        (0xFD3E, "V"),
+        (0xFD50, "M", "تجم"),
+        (0xFD51, "M", "تحج"),
+        (0xFD53, "M", "تحم"),
+        (0xFD54, "M", "تخم"),
+        (0xFD55, "M", "تمج"),
+        (0xFD56, "M", "تمح"),
+        (0xFD57, "M", "تمخ"),
+        (0xFD58, "M", "جمح"),
+        (0xFD5A, "M", "حمي"),
+        (0xFD5B, "M", "حمى"),
+        (0xFD5C, "M", "سحج"),
+        (0xFD5D, "M", "سجح"),
+        (0xFD5E, "M", "سجى"),
+        (0xFD5F, "M", "سمح"),
+        (0xFD61, "M", "سمج"),
+        (0xFD62, "M", "سمم"),
+        (0xFD64, "M", "صحح"),
+        (0xFD66, "M", "صمم"),
+        (0xFD67, "M", "شحم"),
+        (0xFD69, "M", "شجي"),
+        (0xFD6A, "M", "شمخ"),
+        (0xFD6C, "M", "شمم"),
+        (0xFD6E, "M", "ضحى"),
+        (0xFD6F, "M", "ضخم"),
+        (0xFD71, "M", "طمح"),
+        (0xFD73, "M", "طمم"),
+        (0xFD74, "M", "طمي"),
+        (0xFD75, "M", "عجم"),
+        (0xFD76, "M", "عمم"),
+        (0xFD78, "M", "عمى"),
+        (0xFD79, "M", "غمم"),
+        (0xFD7A, "M", "غمي"),
+        (0xFD7B, "M", "غمى"),
+        (0xFD7C, "M", "فخم"),
+        (0xFD7E, "M", "قمح"),
+        (0xFD7F, "M", "قمم"),
+        (0xFD80, "M", "لحم"),
+        (0xFD81, "M", "لحي"),
+        (0xFD82, "M", "لحى"),
+        (0xFD83, "M", "لجج"),
+        (0xFD85, "M", "لخم"),
+        (0xFD87, "M", "لمح"),
+        (0xFD89, "M", "محج"),
+        (0xFD8A, "M", "محم"),
+        (0xFD8B, "M", "محي"),
+        (0xFD8C, "M", "مجح"),
+        (0xFD8D, "M", "مجم"),
+        (0xFD8E, "M", "مخج"),
+        (0xFD8F, "M", "مخم"),
+        (0xFD90, "X"),
+        (0xFD92, "M", "مجخ"),
+        (0xFD93, "M", "همج"),
+        (0xFD94, "M", "همم"),
+        (0xFD95, "M", "نحم"),
+        (0xFD96, "M", "نحى"),
+        (0xFD97, "M", "نجم"),
+        (0xFD99, "M", "نجى"),
+        (0xFD9A, "M", "نمي"),
+        (0xFD9B, "M", "نمى"),
+        (0xFD9C, "M", "يمم"),
+        (0xFD9E, "M", "بخي"),
+        (0xFD9F, "M", "تجي"),
+        (0xFDA0, "M", "تجى"),
+        (0xFDA1, "M", "تخي"),
+        (0xFDA2, "M", "تخى"),
+        (0xFDA3, "M", "تمي"),
+        (0xFDA4, "M", "تمى"),
+        (0xFDA5, "M", "جمي"),
+        (0xFDA6, "M", "جحى"),
+        (0xFDA7, "M", "جمى"),
+        (0xFDA8, "M", "سخى"),
+        (0xFDA9, "M", "صحي"),
+        (0xFDAA, "M", "شحي"),
     ]
 
+
 def _seg_49() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0xFDA7, 'M', 'جمى'),
-    (0xFDA8, 'M', 'سخى'),
-    (0xFDA9, 'M', 'صحي'),
-    (0xFDAA, 'M', 'شحي'),
-    (0xFDAB, 'M', 'ضحي'),
-    (0xFDAC, 'M', 'لجي'),
-    (0xFDAD, 'M', 'لمي'),
-    (0xFDAE, 'M', 'يحي'),
-    (0xFDAF, 'M', 'يجي'),
-    (0xFDB0, 'M', 'يمي'),
-    (0xFDB1, 'M', 'ممي'),
-    (0xFDB2, 'M', 'قمي'),
-    (0xFDB3, 'M', 'نحي'),
-    (0xFDB4, 'M', 'قمح'),
-    (0xFDB5, 'M', 'لحم'),
-    (0xFDB6, 'M', 'عمي'),
-    (0xFDB7, 'M', 'كمي'),
-    (0xFDB8, 'M', 'نجح'),
-    (0xFDB9, 'M', 'مخي'),
-    (0xFDBA, 'M', 'لجم'),
-    (0xFDBB, 'M', 'كمم'),
-    (0xFDBC, 'M', 'لجم'),
-    (0xFDBD, 'M', 'نجح'),
-    (0xFDBE, 'M', 'جحي'),
-    (0xFDBF, 'M', 'حجي'),
-    (0xFDC0, 'M', 'مجي'),
-    (0xFDC1, 'M', 'فمي'),
-    (0xFDC2, 'M', 'بحي'),
-    (0xFDC3, 'M', 'كمم'),
-    (0xFDC4, 'M', 'عجم'),
-    (0xFDC5, 'M', 'صمم'),
-    (0xFDC6, 'M', 'سخي'),
-    (0xFDC7, 'M', 'نجي'),
-    (0xFDC8, 'X'),
-    (0xFDCF, 'V'),
-    (0xFDD0, 'X'),
-    (0xFDF0, 'M', 'صلے'),
-    (0xFDF1, 'M', 'قلے'),
-    (0xFDF2, 'M', 'الله'),
-    (0xFDF3, 'M', 'اكبر'),
-    (0xFDF4, 'M', 'محمد'),
-    (0xFDF5, 'M', 'صلعم'),
-    (0xFDF6, 'M', 'رسول'),
-    (0xFDF7, 'M', 'عليه'),
-    (0xFDF8, 'M', 'وسلم'),
-    (0xFDF9, 'M', 'صلى'),
-    (0xFDFA, '3', 'صلى الله عليه وسلم'),
-    (0xFDFB, '3', 'جل جلاله'),
-    (0xFDFC, 'M', 'ریال'),
-    (0xFDFD, 'V'),
-    (0xFE00, 'I'),
-    (0xFE10, '3', ','),
-    (0xFE11, 'M', '、'),
-    (0xFE12, 'X'),
-    (0xFE13, '3', ':'),
-    (0xFE14, '3', ';'),
-    (0xFE15, '3', '!'),
-    (0xFE16, '3', '?'),
-    (0xFE17, 'M', '〖'),
-    (0xFE18, 'M', '〗'),
-    (0xFE19, 'X'),
-    (0xFE20, 'V'),
-    (0xFE30, 'X'),
-    (0xFE31, 'M', '—'),
-    (0xFE32, 'M', '–'),
-    (0xFE33, '3', '_'),
-    (0xFE35, '3', '('),
-    (0xFE36, '3', ')'),
-    (0xFE37, '3', '{'),
-    (0xFE38, '3', '}'),
-    (0xFE39, 'M', '〔'),
-    (0xFE3A, 'M', '〕'),
-    (0xFE3B, 'M', '【'),
-    (0xFE3C, 'M', '】'),
-    (0xFE3D, 'M', '《'),
-    (0xFE3E, 'M', '》'),
-    (0xFE3F, 'M', '〈'),
-    (0xFE40, 'M', '〉'),
-    (0xFE41, 'M', '「'),
-    (0xFE42, 'M', '」'),
-    (0xFE43, 'M', '『'),
-    (0xFE44, 'M', '』'),
-    (0xFE45, 'V'),
-    (0xFE47, '3', '['),
-    (0xFE48, '3', ']'),
-    (0xFE49, '3', ' ̅'),
-    (0xFE4D, '3', '_'),
-    (0xFE50, '3', ','),
-    (0xFE51, 'M', '、'),
-    (0xFE52, 'X'),
-    (0xFE54, '3', ';'),
-    (0xFE55, '3', ':'),
-    (0xFE56, '3', '?'),
-    (0xFE57, '3', '!'),
-    (0xFE58, 'M', '—'),
-    (0xFE59, '3', '('),
-    (0xFE5A, '3', ')'),
-    (0xFE5B, '3', '{'),
-    (0xFE5C, '3', '}'),
-    (0xFE5D, 'M', '〔'),
+        (0xFDAB, "M", "ضحي"),
+        (0xFDAC, "M", "لجي"),
+        (0xFDAD, "M", "لمي"),
+        (0xFDAE, "M", "يحي"),
+        (0xFDAF, "M", "يجي"),
+        (0xFDB0, "M", "يمي"),
+        (0xFDB1, "M", "ممي"),
+        (0xFDB2, "M", "قمي"),
+        (0xFDB3, "M", "نحي"),
+        (0xFDB4, "M", "قمح"),
+        (0xFDB5, "M", "لحم"),
+        (0xFDB6, "M", "عمي"),
+        (0xFDB7, "M", "كمي"),
+        (0xFDB8, "M", "نجح"),
+        (0xFDB9, "M", "مخي"),
+        (0xFDBA, "M", "لجم"),
+        (0xFDBB, "M", "كمم"),
+        (0xFDBC, "M", "لجم"),
+        (0xFDBD, "M", "نجح"),
+        (0xFDBE, "M", "جحي"),
+        (0xFDBF, "M", "حجي"),
+        (0xFDC0, "M", "مجي"),
+        (0xFDC1, "M", "فمي"),
+        (0xFDC2, "M", "بحي"),
+        (0xFDC3, "M", "كمم"),
+        (0xFDC4, "M", "عجم"),
+        (0xFDC5, "M", "صمم"),
+        (0xFDC6, "M", "سخي"),
+        (0xFDC7, "M", "نجي"),
+        (0xFDC8, "X"),
+        (0xFDCF, "V"),
+        (0xFDD0, "X"),
+        (0xFDF0, "M", "صلے"),
+        (0xFDF1, "M", "قلے"),
+        (0xFDF2, "M", "الله"),
+        (0xFDF3, "M", "اكبر"),
+        (0xFDF4, "M", "محمد"),
+        (0xFDF5, "M", "صلعم"),
+        (0xFDF6, "M", "رسول"),
+        (0xFDF7, "M", "عليه"),
+        (0xFDF8, "M", "وسلم"),
+        (0xFDF9, "M", "صلى"),
+        (0xFDFA, "3", "صلى الله عليه وسلم"),
+        (0xFDFB, "3", "جل جلاله"),
+        (0xFDFC, "M", "ریال"),
+        (0xFDFD, "V"),
+        (0xFE00, "I"),
+        (0xFE10, "3", ","),
+        (0xFE11, "M", "、"),
+        (0xFE12, "X"),
+        (0xFE13, "3", ":"),
+        (0xFE14, "3", ";"),
+        (0xFE15, "3", "!"),
+        (0xFE16, "3", "?"),
+        (0xFE17, "M", "〖"),
+        (0xFE18, "M", "〗"),
+        (0xFE19, "X"),
+        (0xFE20, "V"),
+        (0xFE30, "X"),
+        (0xFE31, "M", "—"),
+        (0xFE32, "M", "–"),
+        (0xFE33, "3", "_"),
+        (0xFE35, "3", "("),
+        (0xFE36, "3", ")"),
+        (0xFE37, "3", "{"),
+        (0xFE38, "3", "}"),
+        (0xFE39, "M", "〔"),
+        (0xFE3A, "M", "〕"),
+        (0xFE3B, "M", "【"),
+        (0xFE3C, "M", "】"),
+        (0xFE3D, "M", "《"),
+        (0xFE3E, "M", "》"),
+        (0xFE3F, "M", "〈"),
+        (0xFE40, "M", "〉"),
+        (0xFE41, "M", "「"),
+        (0xFE42, "M", "」"),
+        (0xFE43, "M", "『"),
+        (0xFE44, "M", "』"),
+        (0xFE45, "V"),
+        (0xFE47, "3", "["),
+        (0xFE48, "3", "]"),
+        (0xFE49, "3", " ̅"),
+        (0xFE4D, "3", "_"),
+        (0xFE50, "3", ","),
+        (0xFE51, "M", "、"),
+        (0xFE52, "X"),
+        (0xFE54, "3", ";"),
+        (0xFE55, "3", ":"),
+        (0xFE56, "3", "?"),
+        (0xFE57, "3", "!"),
+        (0xFE58, "M", "—"),
+        (0xFE59, "3", "("),
+        (0xFE5A, "3", ")"),
+        (0xFE5B, "3", "{"),
+        (0xFE5C, "3", "}"),
+        (0xFE5D, "M", "〔"),
+        (0xFE5E, "M", "〕"),
+        (0xFE5F, "3", "#"),
+        (0xFE60, "3", "&"),
+        (0xFE61, "3", "*"),
     ]
 
+
 def _seg_50() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0xFE5E, 'M', '〕'),
-    (0xFE5F, '3', '#'),
-    (0xFE60, '3', '&'),
-    (0xFE61, '3', '*'),
-    (0xFE62, '3', '+'),
-    (0xFE63, 'M', '-'),
-    (0xFE64, '3', '<'),
-    (0xFE65, '3', '>'),
-    (0xFE66, '3', '='),
-    (0xFE67, 'X'),
-    (0xFE68, '3', '\\'),
-    (0xFE69, '3', '$'),
-    (0xFE6A, '3', '%'),
-    (0xFE6B, '3', '@'),
-    (0xFE6C, 'X'),
-    (0xFE70, '3', ' ً'),
-    (0xFE71, 'M', 'ـً'),
-    (0xFE72, '3', ' ٌ'),
-    (0xFE73, 'V'),
-    (0xFE74, '3', ' ٍ'),
-    (0xFE75, 'X'),
-    (0xFE76, '3', ' َ'),
-    (0xFE77, 'M', 'ـَ'),
-    (0xFE78, '3', ' ُ'),
-    (0xFE79, 'M', 'ـُ'),
-    (0xFE7A, '3', ' ِ'),
-    (0xFE7B, 'M', 'ـِ'),
-    (0xFE7C, '3', ' ّ'),
-    (0xFE7D, 'M', 'ـّ'),
-    (0xFE7E, '3', ' ْ'),
-    (0xFE7F, 'M', 'ـْ'),
-    (0xFE80, 'M', 'ء'),
-    (0xFE81, 'M', 'آ'),
-    (0xFE83, 'M', 'أ'),
-    (0xFE85, 'M', 'ؤ'),
-    (0xFE87, 'M', 'إ'),
-    (0xFE89, 'M', 'ئ'),
-    (0xFE8D, 'M', 'ا'),
-    (0xFE8F, 'M', 'ب'),
-    (0xFE93, 'M', 'ة'),
-    (0xFE95, 'M', 'ت'),
-    (0xFE99, 'M', 'ث'),
-    (0xFE9D, 'M', 'ج'),
-    (0xFEA1, 'M', 'ح'),
-    (0xFEA5, 'M', 'خ'),
-    (0xFEA9, 'M', 'د'),
-    (0xFEAB, 'M', 'ذ'),
-    (0xFEAD, 'M', 'ر'),
-    (0xFEAF, 'M', 'ز'),
-    (0xFEB1, 'M', 'س'),
-    (0xFEB5, 'M', 'ش'),
-    (0xFEB9, 'M', 'ص'),
-    (0xFEBD, 'M', 'ض'),
-    (0xFEC1, 'M', 'ط'),
-    (0xFEC5, 'M', 'ظ'),
-    (0xFEC9, 'M', 'ع'),
-    (0xFECD, 'M', 'غ'),
-    (0xFED1, 'M', 'ف'),
-    (0xFED5, 'M', 'ق'),
-    (0xFED9, 'M', 'ك'),
-    (0xFEDD, 'M', 'ل'),
-    (0xFEE1, 'M', 'م'),
-    (0xFEE5, 'M', 'ن'),
-    (0xFEE9, 'M', 'ه'),
-    (0xFEED, 'M', 'و'),
-    (0xFEEF, 'M', 'ى'),
-    (0xFEF1, 'M', 'ي'),
-    (0xFEF5, 'M', 'لآ'),
-    (0xFEF7, 'M', 'لأ'),
-    (0xFEF9, 'M', 'لإ'),
-    (0xFEFB, 'M', 'لا'),
-    (0xFEFD, 'X'),
-    (0xFEFF, 'I'),
-    (0xFF00, 'X'),
-    (0xFF01, '3', '!'),
-    (0xFF02, '3', '"'),
-    (0xFF03, '3', '#'),
-    (0xFF04, '3', '$'),
-    (0xFF05, '3', '%'),
-    (0xFF06, '3', '&'),
-    (0xFF07, '3', '\''),
-    (0xFF08, '3', '('),
-    (0xFF09, '3', ')'),
-    (0xFF0A, '3', '*'),
-    (0xFF0B, '3', '+'),
-    (0xFF0C, '3', ','),
-    (0xFF0D, 'M', '-'),
-    (0xFF0E, 'M', '.'),
-    (0xFF0F, '3', '/'),
-    (0xFF10, 'M', '0'),
-    (0xFF11, 'M', '1'),
-    (0xFF12, 'M', '2'),
-    (0xFF13, 'M', '3'),
-    (0xFF14, 'M', '4'),
-    (0xFF15, 'M', '5'),
-    (0xFF16, 'M', '6'),
-    (0xFF17, 'M', '7'),
-    (0xFF18, 'M', '8'),
-    (0xFF19, 'M', '9'),
-    (0xFF1A, '3', ':'),
+        (0xFE62, "3", "+"),
+        (0xFE63, "M", "-"),
+        (0xFE64, "3", "<"),
+        (0xFE65, "3", ">"),
+        (0xFE66, "3", "="),
+        (0xFE67, "X"),
+        (0xFE68, "3", "\\"),
+        (0xFE69, "3", "$"),
+        (0xFE6A, "3", "%"),
+        (0xFE6B, "3", "@"),
+        (0xFE6C, "X"),
+        (0xFE70, "3", " ً"),
+        (0xFE71, "M", "ـً"),
+        (0xFE72, "3", " ٌ"),
+        (0xFE73, "V"),
+        (0xFE74, "3", " ٍ"),
+        (0xFE75, "X"),
+        (0xFE76, "3", " َ"),
+        (0xFE77, "M", "ـَ"),
+        (0xFE78, "3", " ُ"),
+        (0xFE79, "M", "ـُ"),
+        (0xFE7A, "3", " ِ"),
+        (0xFE7B, "M", "ـِ"),
+        (0xFE7C, "3", " ّ"),
+        (0xFE7D, "M", "ـّ"),
+        (0xFE7E, "3", " ْ"),
+        (0xFE7F, "M", "ـْ"),
+        (0xFE80, "M", "ء"),
+        (0xFE81, "M", "آ"),
+        (0xFE83, "M", "أ"),
+        (0xFE85, "M", "ؤ"),
+        (0xFE87, "M", "إ"),
+        (0xFE89, "M", "ئ"),
+        (0xFE8D, "M", "ا"),
+        (0xFE8F, "M", "ب"),
+        (0xFE93, "M", "ة"),
+        (0xFE95, "M", "ت"),
+        (0xFE99, "M", "ث"),
+        (0xFE9D, "M", "ج"),
+        (0xFEA1, "M", "ح"),
+        (0xFEA5, "M", "خ"),
+        (0xFEA9, "M", "د"),
+        (0xFEAB, "M", "ذ"),
+        (0xFEAD, "M", "ر"),
+        (0xFEAF, "M", "ز"),
+        (0xFEB1, "M", "س"),
+        (0xFEB5, "M", "ش"),
+        (0xFEB9, "M", "ص"),
+        (0xFEBD, "M", "ض"),
+        (0xFEC1, "M", "ط"),
+        (0xFEC5, "M", "ظ"),
+        (0xFEC9, "M", "ع"),
+        (0xFECD, "M", "غ"),
+        (0xFED1, "M", "ف"),
+        (0xFED5, "M", "ق"),
+        (0xFED9, "M", "ك"),
+        (0xFEDD, "M", "ل"),
+        (0xFEE1, "M", "م"),
+        (0xFEE5, "M", "ن"),
+        (0xFEE9, "M", "ه"),
+        (0xFEED, "M", "و"),
+        (0xFEEF, "M", "ى"),
+        (0xFEF1, "M", "ي"),
+        (0xFEF5, "M", "لآ"),
+        (0xFEF7, "M", "لأ"),
+        (0xFEF9, "M", "لإ"),
+        (0xFEFB, "M", "لا"),
+        (0xFEFD, "X"),
+        (0xFEFF, "I"),
+        (0xFF00, "X"),
+        (0xFF01, "3", "!"),
+        (0xFF02, "3", '"'),
+        (0xFF03, "3", "#"),
+        (0xFF04, "3", "$"),
+        (0xFF05, "3", "%"),
+        (0xFF06, "3", "&"),
+        (0xFF07, "3", "'"),
+        (0xFF08, "3", "("),
+        (0xFF09, "3", ")"),
+        (0xFF0A, "3", "*"),
+        (0xFF0B, "3", "+"),
+        (0xFF0C, "3", ","),
+        (0xFF0D, "M", "-"),
+        (0xFF0E, "M", "."),
+        (0xFF0F, "3", "/"),
+        (0xFF10, "M", "0"),
+        (0xFF11, "M", "1"),
+        (0xFF12, "M", "2"),
+        (0xFF13, "M", "3"),
+        (0xFF14, "M", "4"),
+        (0xFF15, "M", "5"),
+        (0xFF16, "M", "6"),
+        (0xFF17, "M", "7"),
+        (0xFF18, "M", "8"),
+        (0xFF19, "M", "9"),
+        (0xFF1A, "3", ":"),
+        (0xFF1B, "3", ";"),
+        (0xFF1C, "3", "<"),
+        (0xFF1D, "3", "="),
+        (0xFF1E, "3", ">"),
     ]
 
+
 def _seg_51() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0xFF1B, '3', ';'),
-    (0xFF1C, '3', '<'),
-    (0xFF1D, '3', '='),
-    (0xFF1E, '3', '>'),
-    (0xFF1F, '3', '?'),
-    (0xFF20, '3', '@'),
-    (0xFF21, 'M', 'a'),
-    (0xFF22, 'M', 'b'),
-    (0xFF23, 'M', 'c'),
-    (0xFF24, 'M', 'd'),
-    (0xFF25, 'M', 'e'),
-    (0xFF26, 'M', 'f'),
-    (0xFF27, 'M', 'g'),
-    (0xFF28, 'M', 'h'),
-    (0xFF29, 'M', 'i'),
-    (0xFF2A, 'M', 'j'),
-    (0xFF2B, 'M', 'k'),
-    (0xFF2C, 'M', 'l'),
-    (0xFF2D, 'M', 'm'),
-    (0xFF2E, 'M', 'n'),
-    (0xFF2F, 'M', 'o'),
-    (0xFF30, 'M', 'p'),
-    (0xFF31, 'M', 'q'),
-    (0xFF32, 'M', 'r'),
-    (0xFF33, 'M', 's'),
-    (0xFF34, 'M', 't'),
-    (0xFF35, 'M', 'u'),
-    (0xFF36, 'M', 'v'),
-    (0xFF37, 'M', 'w'),
-    (0xFF38, 'M', 'x'),
-    (0xFF39, 'M', 'y'),
-    (0xFF3A, 'M', 'z'),
-    (0xFF3B, '3', '['),
-    (0xFF3C, '3', '\\'),
-    (0xFF3D, '3', ']'),
-    (0xFF3E, '3', '^'),
-    (0xFF3F, '3', '_'),
-    (0xFF40, '3', '`'),
-    (0xFF41, 'M', 'a'),
-    (0xFF42, 'M', 'b'),
-    (0xFF43, 'M', 'c'),
-    (0xFF44, 'M', 'd'),
-    (0xFF45, 'M', 'e'),
-    (0xFF46, 'M', 'f'),
-    (0xFF47, 'M', 'g'),
-    (0xFF48, 'M', 'h'),
-    (0xFF49, 'M', 'i'),
-    (0xFF4A, 'M', 'j'),
-    (0xFF4B, 'M', 'k'),
-    (0xFF4C, 'M', 'l'),
-    (0xFF4D, 'M', 'm'),
-    (0xFF4E, 'M', 'n'),
-    (0xFF4F, 'M', 'o'),
-    (0xFF50, 'M', 'p'),
-    (0xFF51, 'M', 'q'),
-    (0xFF52, 'M', 'r'),
-    (0xFF53, 'M', 's'),
-    (0xFF54, 'M', 't'),
-    (0xFF55, 'M', 'u'),
-    (0xFF56, 'M', 'v'),
-    (0xFF57, 'M', 'w'),
-    (0xFF58, 'M', 'x'),
-    (0xFF59, 'M', 'y'),
-    (0xFF5A, 'M', 'z'),
-    (0xFF5B, '3', '{'),
-    (0xFF5C, '3', '|'),
-    (0xFF5D, '3', '}'),
-    (0xFF5E, '3', '~'),
-    (0xFF5F, 'M', '⦅'),
-    (0xFF60, 'M', '⦆'),
-    (0xFF61, 'M', '.'),
-    (0xFF62, 'M', '「'),
-    (0xFF63, 'M', '」'),
-    (0xFF64, 'M', '、'),
-    (0xFF65, 'M', '・'),
-    (0xFF66, 'M', 'ヲ'),
-    (0xFF67, 'M', 'ァ'),
-    (0xFF68, 'M', 'ィ'),
-    (0xFF69, 'M', 'ゥ'),
-    (0xFF6A, 'M', 'ェ'),
-    (0xFF6B, 'M', 'ォ'),
-    (0xFF6C, 'M', 'ャ'),
-    (0xFF6D, 'M', 'ュ'),
-    (0xFF6E, 'M', 'ョ'),
-    (0xFF6F, 'M', 'ッ'),
-    (0xFF70, 'M', 'ー'),
-    (0xFF71, 'M', 'ア'),
-    (0xFF72, 'M', 'イ'),
-    (0xFF73, 'M', 'ウ'),
-    (0xFF74, 'M', 'エ'),
-    (0xFF75, 'M', 'オ'),
-    (0xFF76, 'M', 'カ'),
-    (0xFF77, 'M', 'キ'),
-    (0xFF78, 'M', 'ク'),
-    (0xFF79, 'M', 'ケ'),
-    (0xFF7A, 'M', 'コ'),
-    (0xFF7B, 'M', 'サ'),
-    (0xFF7C, 'M', 'シ'),
-    (0xFF7D, 'M', 'ス'),
-    (0xFF7E, 'M', 'セ'),
+        (0xFF1F, "3", "?"),
+        (0xFF20, "3", "@"),
+        (0xFF21, "M", "a"),
+        (0xFF22, "M", "b"),
+        (0xFF23, "M", "c"),
+        (0xFF24, "M", "d"),
+        (0xFF25, "M", "e"),
+        (0xFF26, "M", "f"),
+        (0xFF27, "M", "g"),
+        (0xFF28, "M", "h"),
+        (0xFF29, "M", "i"),
+        (0xFF2A, "M", "j"),
+        (0xFF2B, "M", "k"),
+        (0xFF2C, "M", "l"),
+        (0xFF2D, "M", "m"),
+        (0xFF2E, "M", "n"),
+        (0xFF2F, "M", "o"),
+        (0xFF30, "M", "p"),
+        (0xFF31, "M", "q"),
+        (0xFF32, "M", "r"),
+        (0xFF33, "M", "s"),
+        (0xFF34, "M", "t"),
+        (0xFF35, "M", "u"),
+        (0xFF36, "M", "v"),
+        (0xFF37, "M", "w"),
+        (0xFF38, "M", "x"),
+        (0xFF39, "M", "y"),
+        (0xFF3A, "M", "z"),
+        (0xFF3B, "3", "["),
+        (0xFF3C, "3", "\\"),
+        (0xFF3D, "3", "]"),
+        (0xFF3E, "3", "^"),
+        (0xFF3F, "3", "_"),
+        (0xFF40, "3", "`"),
+        (0xFF41, "M", "a"),
+        (0xFF42, "M", "b"),
+        (0xFF43, "M", "c"),
+        (0xFF44, "M", "d"),
+        (0xFF45, "M", "e"),
+        (0xFF46, "M", "f"),
+        (0xFF47, "M", "g"),
+        (0xFF48, "M", "h"),
+        (0xFF49, "M", "i"),
+        (0xFF4A, "M", "j"),
+        (0xFF4B, "M", "k"),
+        (0xFF4C, "M", "l"),
+        (0xFF4D, "M", "m"),
+        (0xFF4E, "M", "n"),
+        (0xFF4F, "M", "o"),
+        (0xFF50, "M", "p"),
+        (0xFF51, "M", "q"),
+        (0xFF52, "M", "r"),
+        (0xFF53, "M", "s"),
+        (0xFF54, "M", "t"),
+        (0xFF55, "M", "u"),
+        (0xFF56, "M", "v"),
+        (0xFF57, "M", "w"),
+        (0xFF58, "M", "x"),
+        (0xFF59, "M", "y"),
+        (0xFF5A, "M", "z"),
+        (0xFF5B, "3", "{"),
+        (0xFF5C, "3", "|"),
+        (0xFF5D, "3", "}"),
+        (0xFF5E, "3", "~"),
+        (0xFF5F, "M", "⦅"),
+        (0xFF60, "M", "⦆"),
+        (0xFF61, "M", "."),
+        (0xFF62, "M", "「"),
+        (0xFF63, "M", "」"),
+        (0xFF64, "M", "、"),
+        (0xFF65, "M", "・"),
+        (0xFF66, "M", "ヲ"),
+        (0xFF67, "M", "ァ"),
+        (0xFF68, "M", "ィ"),
+        (0xFF69, "M", "ゥ"),
+        (0xFF6A, "M", "ェ"),
+        (0xFF6B, "M", "ォ"),
+        (0xFF6C, "M", "ャ"),
+        (0xFF6D, "M", "ュ"),
+        (0xFF6E, "M", "ョ"),
+        (0xFF6F, "M", "ッ"),
+        (0xFF70, "M", "ー"),
+        (0xFF71, "M", "ア"),
+        (0xFF72, "M", "イ"),
+        (0xFF73, "M", "ウ"),
+        (0xFF74, "M", "エ"),
+        (0xFF75, "M", "オ"),
+        (0xFF76, "M", "カ"),
+        (0xFF77, "M", "キ"),
+        (0xFF78, "M", "ク"),
+        (0xFF79, "M", "ケ"),
+        (0xFF7A, "M", "コ"),
+        (0xFF7B, "M", "サ"),
+        (0xFF7C, "M", "シ"),
+        (0xFF7D, "M", "ス"),
+        (0xFF7E, "M", "セ"),
+        (0xFF7F, "M", "ソ"),
+        (0xFF80, "M", "タ"),
+        (0xFF81, "M", "チ"),
+        (0xFF82, "M", "ツ"),
     ]
 
+
 def _seg_52() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0xFF7F, 'M', 'ソ'),
-    (0xFF80, 'M', 'タ'),
-    (0xFF81, 'M', 'チ'),
-    (0xFF82, 'M', 'ツ'),
-    (0xFF83, 'M', 'テ'),
-    (0xFF84, 'M', 'ト'),
-    (0xFF85, 'M', 'ナ'),
-    (0xFF86, 'M', 'ニ'),
-    (0xFF87, 'M', 'ヌ'),
-    (0xFF88, 'M', 'ネ'),
-    (0xFF89, 'M', 'ノ'),
-    (0xFF8A, 'M', 'ハ'),
-    (0xFF8B, 'M', 'ヒ'),
-    (0xFF8C, 'M', 'フ'),
-    (0xFF8D, 'M', 'ヘ'),
-    (0xFF8E, 'M', 'ホ'),
-    (0xFF8F, 'M', 'マ'),
-    (0xFF90, 'M', 'ミ'),
-    (0xFF91, 'M', 'ム'),
-    (0xFF92, 'M', 'メ'),
-    (0xFF93, 'M', 'モ'),
-    (0xFF94, 'M', 'ヤ'),
-    (0xFF95, 'M', 'ユ'),
-    (0xFF96, 'M', 'ヨ'),
-    (0xFF97, 'M', 'ラ'),
-    (0xFF98, 'M', 'リ'),
-    (0xFF99, 'M', 'ル'),
-    (0xFF9A, 'M', 'レ'),
-    (0xFF9B, 'M', 'ロ'),
-    (0xFF9C, 'M', 'ワ'),
-    (0xFF9D, 'M', 'ン'),
-    (0xFF9E, 'M', '゙'),
-    (0xFF9F, 'M', '゚'),
-    (0xFFA0, 'X'),
-    (0xFFA1, 'M', 'ᄀ'),
-    (0xFFA2, 'M', 'ᄁ'),
-    (0xFFA3, 'M', 'ᆪ'),
-    (0xFFA4, 'M', 'ᄂ'),
-    (0xFFA5, 'M', 'ᆬ'),
-    (0xFFA6, 'M', 'ᆭ'),
-    (0xFFA7, 'M', 'ᄃ'),
-    (0xFFA8, 'M', 'ᄄ'),
-    (0xFFA9, 'M', 'ᄅ'),
-    (0xFFAA, 'M', 'ᆰ'),
-    (0xFFAB, 'M', 'ᆱ'),
-    (0xFFAC, 'M', 'ᆲ'),
-    (0xFFAD, 'M', 'ᆳ'),
-    (0xFFAE, 'M', 'ᆴ'),
-    (0xFFAF, 'M', 'ᆵ'),
-    (0xFFB0, 'M', 'ᄚ'),
-    (0xFFB1, 'M', 'ᄆ'),
-    (0xFFB2, 'M', 'ᄇ'),
-    (0xFFB3, 'M', 'ᄈ'),
-    (0xFFB4, 'M', 'ᄡ'),
-    (0xFFB5, 'M', 'ᄉ'),
-    (0xFFB6, 'M', 'ᄊ'),
-    (0xFFB7, 'M', 'ᄋ'),
-    (0xFFB8, 'M', 'ᄌ'),
-    (0xFFB9, 'M', 'ᄍ'),
-    (0xFFBA, 'M', 'ᄎ'),
-    (0xFFBB, 'M', 'ᄏ'),
-    (0xFFBC, 'M', 'ᄐ'),
-    (0xFFBD, 'M', 'ᄑ'),
-    (0xFFBE, 'M', 'ᄒ'),
-    (0xFFBF, 'X'),
-    (0xFFC2, 'M', 'ᅡ'),
-    (0xFFC3, 'M', 'ᅢ'),
-    (0xFFC4, 'M', 'ᅣ'),
-    (0xFFC5, 'M', 'ᅤ'),
-    (0xFFC6, 'M', 'ᅥ'),
-    (0xFFC7, 'M', 'ᅦ'),
-    (0xFFC8, 'X'),
-    (0xFFCA, 'M', 'ᅧ'),
-    (0xFFCB, 'M', 'ᅨ'),
-    (0xFFCC, 'M', 'ᅩ'),
-    (0xFFCD, 'M', 'ᅪ'),
-    (0xFFCE, 'M', 'ᅫ'),
-    (0xFFCF, 'M', 'ᅬ'),
-    (0xFFD0, 'X'),
-    (0xFFD2, 'M', 'ᅭ'),
-    (0xFFD3, 'M', 'ᅮ'),
-    (0xFFD4, 'M', 'ᅯ'),
-    (0xFFD5, 'M', 'ᅰ'),
-    (0xFFD6, 'M', 'ᅱ'),
-    (0xFFD7, 'M', 'ᅲ'),
-    (0xFFD8, 'X'),
-    (0xFFDA, 'M', 'ᅳ'),
-    (0xFFDB, 'M', 'ᅴ'),
-    (0xFFDC, 'M', 'ᅵ'),
-    (0xFFDD, 'X'),
-    (0xFFE0, 'M', '¢'),
-    (0xFFE1, 'M', '£'),
-    (0xFFE2, 'M', '¬'),
-    (0xFFE3, '3', ' ̄'),
-    (0xFFE4, 'M', '¦'),
-    (0xFFE5, 'M', '¥'),
-    (0xFFE6, 'M', '₩'),
-    (0xFFE7, 'X'),
-    (0xFFE8, 'M', '│'),
-    (0xFFE9, 'M', '←'),
+        (0xFF83, "M", "テ"),
+        (0xFF84, "M", "ト"),
+        (0xFF85, "M", "ナ"),
+        (0xFF86, "M", "ニ"),
+        (0xFF87, "M", "ヌ"),
+        (0xFF88, "M", "ネ"),
+        (0xFF89, "M", "ノ"),
+        (0xFF8A, "M", "ハ"),
+        (0xFF8B, "M", "ヒ"),
+        (0xFF8C, "M", "フ"),
+        (0xFF8D, "M", "ヘ"),
+        (0xFF8E, "M", "ホ"),
+        (0xFF8F, "M", "マ"),
+        (0xFF90, "M", "ミ"),
+        (0xFF91, "M", "ム"),
+        (0xFF92, "M", "メ"),
+        (0xFF93, "M", "モ"),
+        (0xFF94, "M", "ヤ"),
+        (0xFF95, "M", "ユ"),
+        (0xFF96, "M", "ヨ"),
+        (0xFF97, "M", "ラ"),
+        (0xFF98, "M", "リ"),
+        (0xFF99, "M", "ル"),
+        (0xFF9A, "M", "レ"),
+        (0xFF9B, "M", "ロ"),
+        (0xFF9C, "M", "ワ"),
+        (0xFF9D, "M", "ン"),
+        (0xFF9E, "M", "゙"),
+        (0xFF9F, "M", "゚"),
+        (0xFFA0, "X"),
+        (0xFFA1, "M", "ᄀ"),
+        (0xFFA2, "M", "ᄁ"),
+        (0xFFA3, "M", "ᆪ"),
+        (0xFFA4, "M", "ᄂ"),
+        (0xFFA5, "M", "ᆬ"),
+        (0xFFA6, "M", "ᆭ"),
+        (0xFFA7, "M", "ᄃ"),
+        (0xFFA8, "M", "ᄄ"),
+        (0xFFA9, "M", "ᄅ"),
+        (0xFFAA, "M", "ᆰ"),
+        (0xFFAB, "M", "ᆱ"),
+        (0xFFAC, "M", "ᆲ"),
+        (0xFFAD, "M", "ᆳ"),
+        (0xFFAE, "M", "ᆴ"),
+        (0xFFAF, "M", "ᆵ"),
+        (0xFFB0, "M", "ᄚ"),
+        (0xFFB1, "M", "ᄆ"),
+        (0xFFB2, "M", "ᄇ"),
+        (0xFFB3, "M", "ᄈ"),
+        (0xFFB4, "M", "ᄡ"),
+        (0xFFB5, "M", "ᄉ"),
+        (0xFFB6, "M", "ᄊ"),
+        (0xFFB7, "M", "ᄋ"),
+        (0xFFB8, "M", "ᄌ"),
+        (0xFFB9, "M", "ᄍ"),
+        (0xFFBA, "M", "ᄎ"),
+        (0xFFBB, "M", "ᄏ"),
+        (0xFFBC, "M", "ᄐ"),
+        (0xFFBD, "M", "ᄑ"),
+        (0xFFBE, "M", "ᄒ"),
+        (0xFFBF, "X"),
+        (0xFFC2, "M", "ᅡ"),
+        (0xFFC3, "M", "ᅢ"),
+        (0xFFC4, "M", "ᅣ"),
+        (0xFFC5, "M", "ᅤ"),
+        (0xFFC6, "M", "ᅥ"),
+        (0xFFC7, "M", "ᅦ"),
+        (0xFFC8, "X"),
+        (0xFFCA, "M", "ᅧ"),
+        (0xFFCB, "M", "ᅨ"),
+        (0xFFCC, "M", "ᅩ"),
+        (0xFFCD, "M", "ᅪ"),
+        (0xFFCE, "M", "ᅫ"),
+        (0xFFCF, "M", "ᅬ"),
+        (0xFFD0, "X"),
+        (0xFFD2, "M", "ᅭ"),
+        (0xFFD3, "M", "ᅮ"),
+        (0xFFD4, "M", "ᅯ"),
+        (0xFFD5, "M", "ᅰ"),
+        (0xFFD6, "M", "ᅱ"),
+        (0xFFD7, "M", "ᅲ"),
+        (0xFFD8, "X"),
+        (0xFFDA, "M", "ᅳ"),
+        (0xFFDB, "M", "ᅴ"),
+        (0xFFDC, "M", "ᅵ"),
+        (0xFFDD, "X"),
+        (0xFFE0, "M", "¢"),
+        (0xFFE1, "M", "£"),
+        (0xFFE2, "M", "¬"),
+        (0xFFE3, "3", " ̄"),
+        (0xFFE4, "M", "¦"),
+        (0xFFE5, "M", "¥"),
+        (0xFFE6, "M", "₩"),
+        (0xFFE7, "X"),
+        (0xFFE8, "M", "│"),
+        (0xFFE9, "M", "←"),
+        (0xFFEA, "M", "↑"),
+        (0xFFEB, "M", "→"),
+        (0xFFEC, "M", "↓"),
+        (0xFFED, "M", "■"),
     ]
 
+
 def _seg_53() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0xFFEA, 'M', '↑'),
-    (0xFFEB, 'M', '→'),
-    (0xFFEC, 'M', '↓'),
-    (0xFFED, 'M', '■'),
-    (0xFFEE, 'M', '○'),
-    (0xFFEF, 'X'),
-    (0x10000, 'V'),
-    (0x1000C, 'X'),
-    (0x1000D, 'V'),
-    (0x10027, 'X'),
-    (0x10028, 'V'),
-    (0x1003B, 'X'),
-    (0x1003C, 'V'),
-    (0x1003E, 'X'),
-    (0x1003F, 'V'),
-    (0x1004E, 'X'),
-    (0x10050, 'V'),
-    (0x1005E, 'X'),
-    (0x10080, 'V'),
-    (0x100FB, 'X'),
-    (0x10100, 'V'),
-    (0x10103, 'X'),
-    (0x10107, 'V'),
-    (0x10134, 'X'),
-    (0x10137, 'V'),
-    (0x1018F, 'X'),
-    (0x10190, 'V'),
-    (0x1019D, 'X'),
-    (0x101A0, 'V'),
-    (0x101A1, 'X'),
-    (0x101D0, 'V'),
-    (0x101FE, 'X'),
-    (0x10280, 'V'),
-    (0x1029D, 'X'),
-    (0x102A0, 'V'),
-    (0x102D1, 'X'),
-    (0x102E0, 'V'),
-    (0x102FC, 'X'),
-    (0x10300, 'V'),
-    (0x10324, 'X'),
-    (0x1032D, 'V'),
-    (0x1034B, 'X'),
-    (0x10350, 'V'),
-    (0x1037B, 'X'),
-    (0x10380, 'V'),
-    (0x1039E, 'X'),
-    (0x1039F, 'V'),
-    (0x103C4, 'X'),
-    (0x103C8, 'V'),
-    (0x103D6, 'X'),
-    (0x10400, 'M', '𐐨'),
-    (0x10401, 'M', '𐐩'),
-    (0x10402, 'M', '𐐪'),
-    (0x10403, 'M', '𐐫'),
-    (0x10404, 'M', '𐐬'),
-    (0x10405, 'M', '𐐭'),
-    (0x10406, 'M', '𐐮'),
-    (0x10407, 'M', '𐐯'),
-    (0x10408, 'M', '𐐰'),
-    (0x10409, 'M', '𐐱'),
-    (0x1040A, 'M', '𐐲'),
-    (0x1040B, 'M', '𐐳'),
-    (0x1040C, 'M', '𐐴'),
-    (0x1040D, 'M', '𐐵'),
-    (0x1040E, 'M', '𐐶'),
-    (0x1040F, 'M', '𐐷'),
-    (0x10410, 'M', '𐐸'),
-    (0x10411, 'M', '𐐹'),
-    (0x10412, 'M', '𐐺'),
-    (0x10413, 'M', '𐐻'),
-    (0x10414, 'M', '𐐼'),
-    (0x10415, 'M', '𐐽'),
-    (0x10416, 'M', '𐐾'),
-    (0x10417, 'M', '𐐿'),
-    (0x10418, 'M', '𐑀'),
-    (0x10419, 'M', '𐑁'),
-    (0x1041A, 'M', '𐑂'),
-    (0x1041B, 'M', '𐑃'),
-    (0x1041C, 'M', '𐑄'),
-    (0x1041D, 'M', '𐑅'),
-    (0x1041E, 'M', '𐑆'),
-    (0x1041F, 'M', '𐑇'),
-    (0x10420, 'M', '𐑈'),
-    (0x10421, 'M', '𐑉'),
-    (0x10422, 'M', '𐑊'),
-    (0x10423, 'M', '𐑋'),
-    (0x10424, 'M', '𐑌'),
-    (0x10425, 'M', '𐑍'),
-    (0x10426, 'M', '𐑎'),
-    (0x10427, 'M', '𐑏'),
-    (0x10428, 'V'),
-    (0x1049E, 'X'),
-    (0x104A0, 'V'),
-    (0x104AA, 'X'),
-    (0x104B0, 'M', '𐓘'),
-    (0x104B1, 'M', '𐓙'),
-    (0x104B2, 'M', '𐓚'),
-    (0x104B3, 'M', '𐓛'),
-    (0x104B4, 'M', '𐓜'),
-    (0x104B5, 'M', '𐓝'),
+        (0xFFEE, "M", "○"),
+        (0xFFEF, "X"),
+        (0x10000, "V"),
+        (0x1000C, "X"),
+        (0x1000D, "V"),
+        (0x10027, "X"),
+        (0x10028, "V"),
+        (0x1003B, "X"),
+        (0x1003C, "V"),
+        (0x1003E, "X"),
+        (0x1003F, "V"),
+        (0x1004E, "X"),
+        (0x10050, "V"),
+        (0x1005E, "X"),
+        (0x10080, "V"),
+        (0x100FB, "X"),
+        (0x10100, "V"),
+        (0x10103, "X"),
+        (0x10107, "V"),
+        (0x10134, "X"),
+        (0x10137, "V"),
+        (0x1018F, "X"),
+        (0x10190, "V"),
+        (0x1019D, "X"),
+        (0x101A0, "V"),
+        (0x101A1, "X"),
+        (0x101D0, "V"),
+        (0x101FE, "X"),
+        (0x10280, "V"),
+        (0x1029D, "X"),
+        (0x102A0, "V"),
+        (0x102D1, "X"),
+        (0x102E0, "V"),
+        (0x102FC, "X"),
+        (0x10300, "V"),
+        (0x10324, "X"),
+        (0x1032D, "V"),
+        (0x1034B, "X"),
+        (0x10350, "V"),
+        (0x1037B, "X"),
+        (0x10380, "V"),
+        (0x1039E, "X"),
+        (0x1039F, "V"),
+        (0x103C4, "X"),
+        (0x103C8, "V"),
+        (0x103D6, "X"),
+        (0x10400, "M", "𐐨"),
+        (0x10401, "M", "𐐩"),
+        (0x10402, "M", "𐐪"),
+        (0x10403, "M", "𐐫"),
+        (0x10404, "M", "𐐬"),
+        (0x10405, "M", "𐐭"),
+        (0x10406, "M", "𐐮"),
+        (0x10407, "M", "𐐯"),
+        (0x10408, "M", "𐐰"),
+        (0x10409, "M", "𐐱"),
+        (0x1040A, "M", "𐐲"),
+        (0x1040B, "M", "𐐳"),
+        (0x1040C, "M", "𐐴"),
+        (0x1040D, "M", "𐐵"),
+        (0x1040E, "M", "𐐶"),
+        (0x1040F, "M", "𐐷"),
+        (0x10410, "M", "𐐸"),
+        (0x10411, "M", "𐐹"),
+        (0x10412, "M", "𐐺"),
+        (0x10413, "M", "𐐻"),
+        (0x10414, "M", "𐐼"),
+        (0x10415, "M", "𐐽"),
+        (0x10416, "M", "𐐾"),
+        (0x10417, "M", "𐐿"),
+        (0x10418, "M", "𐑀"),
+        (0x10419, "M", "𐑁"),
+        (0x1041A, "M", "𐑂"),
+        (0x1041B, "M", "𐑃"),
+        (0x1041C, "M", "𐑄"),
+        (0x1041D, "M", "𐑅"),
+        (0x1041E, "M", "𐑆"),
+        (0x1041F, "M", "𐑇"),
+        (0x10420, "M", "𐑈"),
+        (0x10421, "M", "𐑉"),
+        (0x10422, "M", "𐑊"),
+        (0x10423, "M", "𐑋"),
+        (0x10424, "M", "𐑌"),
+        (0x10425, "M", "𐑍"),
+        (0x10426, "M", "𐑎"),
+        (0x10427, "M", "𐑏"),
+        (0x10428, "V"),
+        (0x1049E, "X"),
+        (0x104A0, "V"),
+        (0x104AA, "X"),
+        (0x104B0, "M", "𐓘"),
+        (0x104B1, "M", "𐓙"),
+        (0x104B2, "M", "𐓚"),
+        (0x104B3, "M", "𐓛"),
+        (0x104B4, "M", "𐓜"),
+        (0x104B5, "M", "𐓝"),
+        (0x104B6, "M", "𐓞"),
+        (0x104B7, "M", "𐓟"),
+        (0x104B8, "M", "𐓠"),
+        (0x104B9, "M", "𐓡"),
     ]
 
+
 def _seg_54() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x104B6, 'M', '𐓞'),
-    (0x104B7, 'M', '𐓟'),
-    (0x104B8, 'M', '𐓠'),
-    (0x104B9, 'M', '𐓡'),
-    (0x104BA, 'M', '𐓢'),
-    (0x104BB, 'M', '𐓣'),
-    (0x104BC, 'M', '𐓤'),
-    (0x104BD, 'M', '𐓥'),
-    (0x104BE, 'M', '𐓦'),
-    (0x104BF, 'M', '𐓧'),
-    (0x104C0, 'M', '𐓨'),
-    (0x104C1, 'M', '𐓩'),
-    (0x104C2, 'M', '𐓪'),
-    (0x104C3, 'M', '𐓫'),
-    (0x104C4, 'M', '𐓬'),
-    (0x104C5, 'M', '𐓭'),
-    (0x104C6, 'M', '𐓮'),
-    (0x104C7, 'M', '𐓯'),
-    (0x104C8, 'M', '𐓰'),
-    (0x104C9, 'M', '𐓱'),
-    (0x104CA, 'M', '𐓲'),
-    (0x104CB, 'M', '𐓳'),
-    (0x104CC, 'M', '𐓴'),
-    (0x104CD, 'M', '𐓵'),
-    (0x104CE, 'M', '𐓶'),
-    (0x104CF, 'M', '𐓷'),
-    (0x104D0, 'M', '𐓸'),
-    (0x104D1, 'M', '𐓹'),
-    (0x104D2, 'M', '𐓺'),
-    (0x104D3, 'M', '𐓻'),
-    (0x104D4, 'X'),
-    (0x104D8, 'V'),
-    (0x104FC, 'X'),
-    (0x10500, 'V'),
-    (0x10528, 'X'),
-    (0x10530, 'V'),
-    (0x10564, 'X'),
-    (0x1056F, 'V'),
-    (0x10570, 'M', '𐖗'),
-    (0x10571, 'M', '𐖘'),
-    (0x10572, 'M', '𐖙'),
-    (0x10573, 'M', '𐖚'),
-    (0x10574, 'M', '𐖛'),
-    (0x10575, 'M', '𐖜'),
-    (0x10576, 'M', '𐖝'),
-    (0x10577, 'M', '𐖞'),
-    (0x10578, 'M', '𐖟'),
-    (0x10579, 'M', '𐖠'),
-    (0x1057A, 'M', '𐖡'),
-    (0x1057B, 'X'),
-    (0x1057C, 'M', '𐖣'),
-    (0x1057D, 'M', '𐖤'),
-    (0x1057E, 'M', '𐖥'),
-    (0x1057F, 'M', '𐖦'),
-    (0x10580, 'M', '𐖧'),
-    (0x10581, 'M', '𐖨'),
-    (0x10582, 'M', '𐖩'),
-    (0x10583, 'M', '𐖪'),
-    (0x10584, 'M', '𐖫'),
-    (0x10585, 'M', '𐖬'),
-    (0x10586, 'M', '𐖭'),
-    (0x10587, 'M', '𐖮'),
-    (0x10588, 'M', '𐖯'),
-    (0x10589, 'M', '𐖰'),
-    (0x1058A, 'M', '𐖱'),
-    (0x1058B, 'X'),
-    (0x1058C, 'M', '𐖳'),
-    (0x1058D, 'M', '𐖴'),
-    (0x1058E, 'M', '𐖵'),
-    (0x1058F, 'M', '𐖶'),
-    (0x10590, 'M', '𐖷'),
-    (0x10591, 'M', '𐖸'),
-    (0x10592, 'M', '𐖹'),
-    (0x10593, 'X'),
-    (0x10594, 'M', '𐖻'),
-    (0x10595, 'M', '𐖼'),
-    (0x10596, 'X'),
-    (0x10597, 'V'),
-    (0x105A2, 'X'),
-    (0x105A3, 'V'),
-    (0x105B2, 'X'),
-    (0x105B3, 'V'),
-    (0x105BA, 'X'),
-    (0x105BB, 'V'),
-    (0x105BD, 'X'),
-    (0x10600, 'V'),
-    (0x10737, 'X'),
-    (0x10740, 'V'),
-    (0x10756, 'X'),
-    (0x10760, 'V'),
-    (0x10768, 'X'),
-    (0x10780, 'V'),
-    (0x10781, 'M', 'ː'),
-    (0x10782, 'M', 'ˑ'),
-    (0x10783, 'M', 'æ'),
-    (0x10784, 'M', 'ʙ'),
-    (0x10785, 'M', 'ɓ'),
-    (0x10786, 'X'),
-    (0x10787, 'M', 'ʣ'),
-    (0x10788, 'M', 'ꭦ'),
+        (0x104BA, "M", "𐓢"),
+        (0x104BB, "M", "𐓣"),
+        (0x104BC, "M", "𐓤"),
+        (0x104BD, "M", "𐓥"),
+        (0x104BE, "M", "𐓦"),
+        (0x104BF, "M", "𐓧"),
+        (0x104C0, "M", "𐓨"),
+        (0x104C1, "M", "𐓩"),
+        (0x104C2, "M", "𐓪"),
+        (0x104C3, "M", "𐓫"),
+        (0x104C4, "M", "𐓬"),
+        (0x104C5, "M", "𐓭"),
+        (0x104C6, "M", "𐓮"),
+        (0x104C7, "M", "𐓯"),
+        (0x104C8, "M", "𐓰"),
+        (0x104C9, "M", "𐓱"),
+        (0x104CA, "M", "𐓲"),
+        (0x104CB, "M", "𐓳"),
+        (0x104CC, "M", "𐓴"),
+        (0x104CD, "M", "𐓵"),
+        (0x104CE, "M", "𐓶"),
+        (0x104CF, "M", "𐓷"),
+        (0x104D0, "M", "𐓸"),
+        (0x104D1, "M", "𐓹"),
+        (0x104D2, "M", "𐓺"),
+        (0x104D3, "M", "𐓻"),
+        (0x104D4, "X"),
+        (0x104D8, "V"),
+        (0x104FC, "X"),
+        (0x10500, "V"),
+        (0x10528, "X"),
+        (0x10530, "V"),
+        (0x10564, "X"),
+        (0x1056F, "V"),
+        (0x10570, "M", "𐖗"),
+        (0x10571, "M", "𐖘"),
+        (0x10572, "M", "𐖙"),
+        (0x10573, "M", "𐖚"),
+        (0x10574, "M", "𐖛"),
+        (0x10575, "M", "𐖜"),
+        (0x10576, "M", "𐖝"),
+        (0x10577, "M", "𐖞"),
+        (0x10578, "M", "𐖟"),
+        (0x10579, "M", "𐖠"),
+        (0x1057A, "M", "𐖡"),
+        (0x1057B, "X"),
+        (0x1057C, "M", "𐖣"),
+        (0x1057D, "M", "𐖤"),
+        (0x1057E, "M", "𐖥"),
+        (0x1057F, "M", "𐖦"),
+        (0x10580, "M", "𐖧"),
+        (0x10581, "M", "𐖨"),
+        (0x10582, "M", "𐖩"),
+        (0x10583, "M", "𐖪"),
+        (0x10584, "M", "𐖫"),
+        (0x10585, "M", "𐖬"),
+        (0x10586, "M", "𐖭"),
+        (0x10587, "M", "𐖮"),
+        (0x10588, "M", "𐖯"),
+        (0x10589, "M", "𐖰"),
+        (0x1058A, "M", "𐖱"),
+        (0x1058B, "X"),
+        (0x1058C, "M", "𐖳"),
+        (0x1058D, "M", "𐖴"),
+        (0x1058E, "M", "𐖵"),
+        (0x1058F, "M", "𐖶"),
+        (0x10590, "M", "𐖷"),
+        (0x10591, "M", "𐖸"),
+        (0x10592, "M", "𐖹"),
+        (0x10593, "X"),
+        (0x10594, "M", "𐖻"),
+        (0x10595, "M", "𐖼"),
+        (0x10596, "X"),
+        (0x10597, "V"),
+        (0x105A2, "X"),
+        (0x105A3, "V"),
+        (0x105B2, "X"),
+        (0x105B3, "V"),
+        (0x105BA, "X"),
+        (0x105BB, "V"),
+        (0x105BD, "X"),
+        (0x10600, "V"),
+        (0x10737, "X"),
+        (0x10740, "V"),
+        (0x10756, "X"),
+        (0x10760, "V"),
+        (0x10768, "X"),
+        (0x10780, "V"),
+        (0x10781, "M", "ː"),
+        (0x10782, "M", "ˑ"),
+        (0x10783, "M", "æ"),
+        (0x10784, "M", "ʙ"),
+        (0x10785, "M", "ɓ"),
+        (0x10786, "X"),
+        (0x10787, "M", "ʣ"),
+        (0x10788, "M", "ꭦ"),
+        (0x10789, "M", "ʥ"),
+        (0x1078A, "M", "ʤ"),
+        (0x1078B, "M", "ɖ"),
+        (0x1078C, "M", "ɗ"),
     ]
 
+
 def _seg_55() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x10789, 'M', 'ʥ'),
-    (0x1078A, 'M', 'ʤ'),
-    (0x1078B, 'M', 'ɖ'),
-    (0x1078C, 'M', 'ɗ'),
-    (0x1078D, 'M', 'ᶑ'),
-    (0x1078E, 'M', 'ɘ'),
-    (0x1078F, 'M', 'ɞ'),
-    (0x10790, 'M', 'ʩ'),
-    (0x10791, 'M', 'ɤ'),
-    (0x10792, 'M', 'ɢ'),
-    (0x10793, 'M', 'ɠ'),
-    (0x10794, 'M', 'ʛ'),
-    (0x10795, 'M', 'ħ'),
-    (0x10796, 'M', 'ʜ'),
-    (0x10797, 'M', 'ɧ'),
-    (0x10798, 'M', 'ʄ'),
-    (0x10799, 'M', 'ʪ'),
-    (0x1079A, 'M', 'ʫ'),
-    (0x1079B, 'M', 'ɬ'),
-    (0x1079C, 'M', '𝼄'),
-    (0x1079D, 'M', 'ꞎ'),
-    (0x1079E, 'M', 'ɮ'),
-    (0x1079F, 'M', '𝼅'),
-    (0x107A0, 'M', 'ʎ'),
-    (0x107A1, 'M', '𝼆'),
-    (0x107A2, 'M', 'ø'),
-    (0x107A3, 'M', 'ɶ'),
-    (0x107A4, 'M', 'ɷ'),
-    (0x107A5, 'M', 'q'),
-    (0x107A6, 'M', 'ɺ'),
-    (0x107A7, 'M', '𝼈'),
-    (0x107A8, 'M', 'ɽ'),
-    (0x107A9, 'M', 'ɾ'),
-    (0x107AA, 'M', 'ʀ'),
-    (0x107AB, 'M', 'ʨ'),
-    (0x107AC, 'M', 'ʦ'),
-    (0x107AD, 'M', 'ꭧ'),
-    (0x107AE, 'M', 'ʧ'),
-    (0x107AF, 'M', 'ʈ'),
-    (0x107B0, 'M', 'ⱱ'),
-    (0x107B1, 'X'),
-    (0x107B2, 'M', 'ʏ'),
-    (0x107B3, 'M', 'ʡ'),
-    (0x107B4, 'M', 'ʢ'),
-    (0x107B5, 'M', 'ʘ'),
-    (0x107B6, 'M', 'ǀ'),
-    (0x107B7, 'M', 'ǁ'),
-    (0x107B8, 'M', 'ǂ'),
-    (0x107B9, 'M', '𝼊'),
-    (0x107BA, 'M', '𝼞'),
-    (0x107BB, 'X'),
-    (0x10800, 'V'),
-    (0x10806, 'X'),
-    (0x10808, 'V'),
-    (0x10809, 'X'),
-    (0x1080A, 'V'),
-    (0x10836, 'X'),
-    (0x10837, 'V'),
-    (0x10839, 'X'),
-    (0x1083C, 'V'),
-    (0x1083D, 'X'),
-    (0x1083F, 'V'),
-    (0x10856, 'X'),
-    (0x10857, 'V'),
-    (0x1089F, 'X'),
-    (0x108A7, 'V'),
-    (0x108B0, 'X'),
-    (0x108E0, 'V'),
-    (0x108F3, 'X'),
-    (0x108F4, 'V'),
-    (0x108F6, 'X'),
-    (0x108FB, 'V'),
-    (0x1091C, 'X'),
-    (0x1091F, 'V'),
-    (0x1093A, 'X'),
-    (0x1093F, 'V'),
-    (0x10940, 'X'),
-    (0x10980, 'V'),
-    (0x109B8, 'X'),
-    (0x109BC, 'V'),
-    (0x109D0, 'X'),
-    (0x109D2, 'V'),
-    (0x10A04, 'X'),
-    (0x10A05, 'V'),
-    (0x10A07, 'X'),
-    (0x10A0C, 'V'),
-    (0x10A14, 'X'),
-    (0x10A15, 'V'),
-    (0x10A18, 'X'),
-    (0x10A19, 'V'),
-    (0x10A36, 'X'),
-    (0x10A38, 'V'),
-    (0x10A3B, 'X'),
-    (0x10A3F, 'V'),
-    (0x10A49, 'X'),
-    (0x10A50, 'V'),
-    (0x10A59, 'X'),
-    (0x10A60, 'V'),
-    (0x10AA0, 'X'),
-    (0x10AC0, 'V'),
+        (0x1078D, "M", "ᶑ"),
+        (0x1078E, "M", "ɘ"),
+        (0x1078F, "M", "ɞ"),
+        (0x10790, "M", "ʩ"),
+        (0x10791, "M", "ɤ"),
+        (0x10792, "M", "ɢ"),
+        (0x10793, "M", "ɠ"),
+        (0x10794, "M", "ʛ"),
+        (0x10795, "M", "ħ"),
+        (0x10796, "M", "ʜ"),
+        (0x10797, "M", "ɧ"),
+        (0x10798, "M", "ʄ"),
+        (0x10799, "M", "ʪ"),
+        (0x1079A, "M", "ʫ"),
+        (0x1079B, "M", "ɬ"),
+        (0x1079C, "M", "𝼄"),
+        (0x1079D, "M", "ꞎ"),
+        (0x1079E, "M", "ɮ"),
+        (0x1079F, "M", "𝼅"),
+        (0x107A0, "M", "ʎ"),
+        (0x107A1, "M", "𝼆"),
+        (0x107A2, "M", "ø"),
+        (0x107A3, "M", "ɶ"),
+        (0x107A4, "M", "ɷ"),
+        (0x107A5, "M", "q"),
+        (0x107A6, "M", "ɺ"),
+        (0x107A7, "M", "𝼈"),
+        (0x107A8, "M", "ɽ"),
+        (0x107A9, "M", "ɾ"),
+        (0x107AA, "M", "ʀ"),
+        (0x107AB, "M", "ʨ"),
+        (0x107AC, "M", "ʦ"),
+        (0x107AD, "M", "ꭧ"),
+        (0x107AE, "M", "ʧ"),
+        (0x107AF, "M", "ʈ"),
+        (0x107B0, "M", "ⱱ"),
+        (0x107B1, "X"),
+        (0x107B2, "M", "ʏ"),
+        (0x107B3, "M", "ʡ"),
+        (0x107B4, "M", "ʢ"),
+        (0x107B5, "M", "ʘ"),
+        (0x107B6, "M", "ǀ"),
+        (0x107B7, "M", "ǁ"),
+        (0x107B8, "M", "ǂ"),
+        (0x107B9, "M", "𝼊"),
+        (0x107BA, "M", "𝼞"),
+        (0x107BB, "X"),
+        (0x10800, "V"),
+        (0x10806, "X"),
+        (0x10808, "V"),
+        (0x10809, "X"),
+        (0x1080A, "V"),
+        (0x10836, "X"),
+        (0x10837, "V"),
+        (0x10839, "X"),
+        (0x1083C, "V"),
+        (0x1083D, "X"),
+        (0x1083F, "V"),
+        (0x10856, "X"),
+        (0x10857, "V"),
+        (0x1089F, "X"),
+        (0x108A7, "V"),
+        (0x108B0, "X"),
+        (0x108E0, "V"),
+        (0x108F3, "X"),
+        (0x108F4, "V"),
+        (0x108F6, "X"),
+        (0x108FB, "V"),
+        (0x1091C, "X"),
+        (0x1091F, "V"),
+        (0x1093A, "X"),
+        (0x1093F, "V"),
+        (0x10940, "X"),
+        (0x10980, "V"),
+        (0x109B8, "X"),
+        (0x109BC, "V"),
+        (0x109D0, "X"),
+        (0x109D2, "V"),
+        (0x10A04, "X"),
+        (0x10A05, "V"),
+        (0x10A07, "X"),
+        (0x10A0C, "V"),
+        (0x10A14, "X"),
+        (0x10A15, "V"),
+        (0x10A18, "X"),
+        (0x10A19, "V"),
+        (0x10A36, "X"),
+        (0x10A38, "V"),
+        (0x10A3B, "X"),
+        (0x10A3F, "V"),
+        (0x10A49, "X"),
+        (0x10A50, "V"),
+        (0x10A59, "X"),
+        (0x10A60, "V"),
+        (0x10AA0, "X"),
+        (0x10AC0, "V"),
+        (0x10AE7, "X"),
+        (0x10AEB, "V"),
+        (0x10AF7, "X"),
+        (0x10B00, "V"),
     ]
 
+
 def _seg_56() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x10AE7, 'X'),
-    (0x10AEB, 'V'),
-    (0x10AF7, 'X'),
-    (0x10B00, 'V'),
-    (0x10B36, 'X'),
-    (0x10B39, 'V'),
-    (0x10B56, 'X'),
-    (0x10B58, 'V'),
-    (0x10B73, 'X'),
-    (0x10B78, 'V'),
-    (0x10B92, 'X'),
-    (0x10B99, 'V'),
-    (0x10B9D, 'X'),
-    (0x10BA9, 'V'),
-    (0x10BB0, 'X'),
-    (0x10C00, 'V'),
-    (0x10C49, 'X'),
-    (0x10C80, 'M', '𐳀'),
-    (0x10C81, 'M', '𐳁'),
-    (0x10C82, 'M', '𐳂'),
-    (0x10C83, 'M', '𐳃'),
-    (0x10C84, 'M', '𐳄'),
-    (0x10C85, 'M', '𐳅'),
-    (0x10C86, 'M', '𐳆'),
-    (0x10C87, 'M', '𐳇'),
-    (0x10C88, 'M', '𐳈'),
-    (0x10C89, 'M', '𐳉'),
-    (0x10C8A, 'M', '𐳊'),
-    (0x10C8B, 'M', '𐳋'),
-    (0x10C8C, 'M', '𐳌'),
-    (0x10C8D, 'M', '𐳍'),
-    (0x10C8E, 'M', '𐳎'),
-    (0x10C8F, 'M', '𐳏'),
-    (0x10C90, 'M', '𐳐'),
-    (0x10C91, 'M', '𐳑'),
-    (0x10C92, 'M', '𐳒'),
-    (0x10C93, 'M', '𐳓'),
-    (0x10C94, 'M', '𐳔'),
-    (0x10C95, 'M', '𐳕'),
-    (0x10C96, 'M', '𐳖'),
-    (0x10C97, 'M', '𐳗'),
-    (0x10C98, 'M', '𐳘'),
-    (0x10C99, 'M', '𐳙'),
-    (0x10C9A, 'M', '𐳚'),
-    (0x10C9B, 'M', '𐳛'),
-    (0x10C9C, 'M', '𐳜'),
-    (0x10C9D, 'M', '𐳝'),
-    (0x10C9E, 'M', '𐳞'),
-    (0x10C9F, 'M', '𐳟'),
-    (0x10CA0, 'M', '𐳠'),
-    (0x10CA1, 'M', '𐳡'),
-    (0x10CA2, 'M', '𐳢'),
-    (0x10CA3, 'M', '𐳣'),
-    (0x10CA4, 'M', '𐳤'),
-    (0x10CA5, 'M', '𐳥'),
-    (0x10CA6, 'M', '𐳦'),
-    (0x10CA7, 'M', '𐳧'),
-    (0x10CA8, 'M', '𐳨'),
-    (0x10CA9, 'M', '𐳩'),
-    (0x10CAA, 'M', '𐳪'),
-    (0x10CAB, 'M', '𐳫'),
-    (0x10CAC, 'M', '𐳬'),
-    (0x10CAD, 'M', '𐳭'),
-    (0x10CAE, 'M', '𐳮'),
-    (0x10CAF, 'M', '𐳯'),
-    (0x10CB0, 'M', '𐳰'),
-    (0x10CB1, 'M', '𐳱'),
-    (0x10CB2, 'M', '𐳲'),
-    (0x10CB3, 'X'),
-    (0x10CC0, 'V'),
-    (0x10CF3, 'X'),
-    (0x10CFA, 'V'),
-    (0x10D28, 'X'),
-    (0x10D30, 'V'),
-    (0x10D3A, 'X'),
-    (0x10E60, 'V'),
-    (0x10E7F, 'X'),
-    (0x10E80, 'V'),
-    (0x10EAA, 'X'),
-    (0x10EAB, 'V'),
-    (0x10EAE, 'X'),
-    (0x10EB0, 'V'),
-    (0x10EB2, 'X'),
-    (0x10EFD, 'V'),
-    (0x10F28, 'X'),
-    (0x10F30, 'V'),
-    (0x10F5A, 'X'),
-    (0x10F70, 'V'),
-    (0x10F8A, 'X'),
-    (0x10FB0, 'V'),
-    (0x10FCC, 'X'),
-    (0x10FE0, 'V'),
-    (0x10FF7, 'X'),
-    (0x11000, 'V'),
-    (0x1104E, 'X'),
-    (0x11052, 'V'),
-    (0x11076, 'X'),
-    (0x1107F, 'V'),
-    (0x110BD, 'X'),
-    (0x110BE, 'V'),
+        (0x10B36, "X"),
+        (0x10B39, "V"),
+        (0x10B56, "X"),
+        (0x10B58, "V"),
+        (0x10B73, "X"),
+        (0x10B78, "V"),
+        (0x10B92, "X"),
+        (0x10B99, "V"),
+        (0x10B9D, "X"),
+        (0x10BA9, "V"),
+        (0x10BB0, "X"),
+        (0x10C00, "V"),
+        (0x10C49, "X"),
+        (0x10C80, "M", "𐳀"),
+        (0x10C81, "M", "𐳁"),
+        (0x10C82, "M", "𐳂"),
+        (0x10C83, "M", "𐳃"),
+        (0x10C84, "M", "𐳄"),
+        (0x10C85, "M", "𐳅"),
+        (0x10C86, "M", "𐳆"),
+        (0x10C87, "M", "𐳇"),
+        (0x10C88, "M", "𐳈"),
+        (0x10C89, "M", "𐳉"),
+        (0x10C8A, "M", "𐳊"),
+        (0x10C8B, "M", "𐳋"),
+        (0x10C8C, "M", "𐳌"),
+        (0x10C8D, "M", "𐳍"),
+        (0x10C8E, "M", "𐳎"),
+        (0x10C8F, "M", "𐳏"),
+        (0x10C90, "M", "𐳐"),
+        (0x10C91, "M", "𐳑"),
+        (0x10C92, "M", "𐳒"),
+        (0x10C93, "M", "𐳓"),
+        (0x10C94, "M", "𐳔"),
+        (0x10C95, "M", "𐳕"),
+        (0x10C96, "M", "𐳖"),
+        (0x10C97, "M", "𐳗"),
+        (0x10C98, "M", "𐳘"),
+        (0x10C99, "M", "𐳙"),
+        (0x10C9A, "M", "𐳚"),
+        (0x10C9B, "M", "𐳛"),
+        (0x10C9C, "M", "𐳜"),
+        (0x10C9D, "M", "𐳝"),
+        (0x10C9E, "M", "𐳞"),
+        (0x10C9F, "M", "𐳟"),
+        (0x10CA0, "M", "𐳠"),
+        (0x10CA1, "M", "𐳡"),
+        (0x10CA2, "M", "𐳢"),
+        (0x10CA3, "M", "𐳣"),
+        (0x10CA4, "M", "𐳤"),
+        (0x10CA5, "M", "𐳥"),
+        (0x10CA6, "M", "𐳦"),
+        (0x10CA7, "M", "𐳧"),
+        (0x10CA8, "M", "𐳨"),
+        (0x10CA9, "M", "𐳩"),
+        (0x10CAA, "M", "𐳪"),
+        (0x10CAB, "M", "𐳫"),
+        (0x10CAC, "M", "𐳬"),
+        (0x10CAD, "M", "𐳭"),
+        (0x10CAE, "M", "𐳮"),
+        (0x10CAF, "M", "𐳯"),
+        (0x10CB0, "M", "𐳰"),
+        (0x10CB1, "M", "𐳱"),
+        (0x10CB2, "M", "𐳲"),
+        (0x10CB3, "X"),
+        (0x10CC0, "V"),
+        (0x10CF3, "X"),
+        (0x10CFA, "V"),
+        (0x10D28, "X"),
+        (0x10D30, "V"),
+        (0x10D3A, "X"),
+        (0x10E60, "V"),
+        (0x10E7F, "X"),
+        (0x10E80, "V"),
+        (0x10EAA, "X"),
+        (0x10EAB, "V"),
+        (0x10EAE, "X"),
+        (0x10EB0, "V"),
+        (0x10EB2, "X"),
+        (0x10EFD, "V"),
+        (0x10F28, "X"),
+        (0x10F30, "V"),
+        (0x10F5A, "X"),
+        (0x10F70, "V"),
+        (0x10F8A, "X"),
+        (0x10FB0, "V"),
+        (0x10FCC, "X"),
+        (0x10FE0, "V"),
+        (0x10FF7, "X"),
+        (0x11000, "V"),
+        (0x1104E, "X"),
+        (0x11052, "V"),
+        (0x11076, "X"),
+        (0x1107F, "V"),
+        (0x110BD, "X"),
+        (0x110BE, "V"),
+        (0x110C3, "X"),
+        (0x110D0, "V"),
+        (0x110E9, "X"),
+        (0x110F0, "V"),
     ]
 
+
 def _seg_57() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x110C3, 'X'),
-    (0x110D0, 'V'),
-    (0x110E9, 'X'),
-    (0x110F0, 'V'),
-    (0x110FA, 'X'),
-    (0x11100, 'V'),
-    (0x11135, 'X'),
-    (0x11136, 'V'),
-    (0x11148, 'X'),
-    (0x11150, 'V'),
-    (0x11177, 'X'),
-    (0x11180, 'V'),
-    (0x111E0, 'X'),
-    (0x111E1, 'V'),
-    (0x111F5, 'X'),
-    (0x11200, 'V'),
-    (0x11212, 'X'),
-    (0x11213, 'V'),
-    (0x11242, 'X'),
-    (0x11280, 'V'),
-    (0x11287, 'X'),
-    (0x11288, 'V'),
-    (0x11289, 'X'),
-    (0x1128A, 'V'),
-    (0x1128E, 'X'),
-    (0x1128F, 'V'),
-    (0x1129E, 'X'),
-    (0x1129F, 'V'),
-    (0x112AA, 'X'),
-    (0x112B0, 'V'),
-    (0x112EB, 'X'),
-    (0x112F0, 'V'),
-    (0x112FA, 'X'),
-    (0x11300, 'V'),
-    (0x11304, 'X'),
-    (0x11305, 'V'),
-    (0x1130D, 'X'),
-    (0x1130F, 'V'),
-    (0x11311, 'X'),
-    (0x11313, 'V'),
-    (0x11329, 'X'),
-    (0x1132A, 'V'),
-    (0x11331, 'X'),
-    (0x11332, 'V'),
-    (0x11334, 'X'),
-    (0x11335, 'V'),
-    (0x1133A, 'X'),
-    (0x1133B, 'V'),
-    (0x11345, 'X'),
-    (0x11347, 'V'),
-    (0x11349, 'X'),
-    (0x1134B, 'V'),
-    (0x1134E, 'X'),
-    (0x11350, 'V'),
-    (0x11351, 'X'),
-    (0x11357, 'V'),
-    (0x11358, 'X'),
-    (0x1135D, 'V'),
-    (0x11364, 'X'),
-    (0x11366, 'V'),
-    (0x1136D, 'X'),
-    (0x11370, 'V'),
-    (0x11375, 'X'),
-    (0x11400, 'V'),
-    (0x1145C, 'X'),
-    (0x1145D, 'V'),
-    (0x11462, 'X'),
-    (0x11480, 'V'),
-    (0x114C8, 'X'),
-    (0x114D0, 'V'),
-    (0x114DA, 'X'),
-    (0x11580, 'V'),
-    (0x115B6, 'X'),
-    (0x115B8, 'V'),
-    (0x115DE, 'X'),
-    (0x11600, 'V'),
-    (0x11645, 'X'),
-    (0x11650, 'V'),
-    (0x1165A, 'X'),
-    (0x11660, 'V'),
-    (0x1166D, 'X'),
-    (0x11680, 'V'),
-    (0x116BA, 'X'),
-    (0x116C0, 'V'),
-    (0x116CA, 'X'),
-    (0x11700, 'V'),
-    (0x1171B, 'X'),
-    (0x1171D, 'V'),
-    (0x1172C, 'X'),
-    (0x11730, 'V'),
-    (0x11747, 'X'),
-    (0x11800, 'V'),
-    (0x1183C, 'X'),
-    (0x118A0, 'M', '𑣀'),
-    (0x118A1, 'M', '𑣁'),
-    (0x118A2, 'M', '𑣂'),
-    (0x118A3, 'M', '𑣃'),
-    (0x118A4, 'M', '𑣄'),
-    (0x118A5, 'M', '𑣅'),
-    (0x118A6, 'M', '𑣆'),
+        (0x110FA, "X"),
+        (0x11100, "V"),
+        (0x11135, "X"),
+        (0x11136, "V"),
+        (0x11148, "X"),
+        (0x11150, "V"),
+        (0x11177, "X"),
+        (0x11180, "V"),
+        (0x111E0, "X"),
+        (0x111E1, "V"),
+        (0x111F5, "X"),
+        (0x11200, "V"),
+        (0x11212, "X"),
+        (0x11213, "V"),
+        (0x11242, "X"),
+        (0x11280, "V"),
+        (0x11287, "X"),
+        (0x11288, "V"),
+        (0x11289, "X"),
+        (0x1128A, "V"),
+        (0x1128E, "X"),
+        (0x1128F, "V"),
+        (0x1129E, "X"),
+        (0x1129F, "V"),
+        (0x112AA, "X"),
+        (0x112B0, "V"),
+        (0x112EB, "X"),
+        (0x112F0, "V"),
+        (0x112FA, "X"),
+        (0x11300, "V"),
+        (0x11304, "X"),
+        (0x11305, "V"),
+        (0x1130D, "X"),
+        (0x1130F, "V"),
+        (0x11311, "X"),
+        (0x11313, "V"),
+        (0x11329, "X"),
+        (0x1132A, "V"),
+        (0x11331, "X"),
+        (0x11332, "V"),
+        (0x11334, "X"),
+        (0x11335, "V"),
+        (0x1133A, "X"),
+        (0x1133B, "V"),
+        (0x11345, "X"),
+        (0x11347, "V"),
+        (0x11349, "X"),
+        (0x1134B, "V"),
+        (0x1134E, "X"),
+        (0x11350, "V"),
+        (0x11351, "X"),
+        (0x11357, "V"),
+        (0x11358, "X"),
+        (0x1135D, "V"),
+        (0x11364, "X"),
+        (0x11366, "V"),
+        (0x1136D, "X"),
+        (0x11370, "V"),
+        (0x11375, "X"),
+        (0x11400, "V"),
+        (0x1145C, "X"),
+        (0x1145D, "V"),
+        (0x11462, "X"),
+        (0x11480, "V"),
+        (0x114C8, "X"),
+        (0x114D0, "V"),
+        (0x114DA, "X"),
+        (0x11580, "V"),
+        (0x115B6, "X"),
+        (0x115B8, "V"),
+        (0x115DE, "X"),
+        (0x11600, "V"),
+        (0x11645, "X"),
+        (0x11650, "V"),
+        (0x1165A, "X"),
+        (0x11660, "V"),
+        (0x1166D, "X"),
+        (0x11680, "V"),
+        (0x116BA, "X"),
+        (0x116C0, "V"),
+        (0x116CA, "X"),
+        (0x11700, "V"),
+        (0x1171B, "X"),
+        (0x1171D, "V"),
+        (0x1172C, "X"),
+        (0x11730, "V"),
+        (0x11747, "X"),
+        (0x11800, "V"),
+        (0x1183C, "X"),
+        (0x118A0, "M", "𑣀"),
+        (0x118A1, "M", "𑣁"),
+        (0x118A2, "M", "𑣂"),
+        (0x118A3, "M", "𑣃"),
+        (0x118A4, "M", "𑣄"),
+        (0x118A5, "M", "𑣅"),
+        (0x118A6, "M", "𑣆"),
+        (0x118A7, "M", "𑣇"),
+        (0x118A8, "M", "𑣈"),
+        (0x118A9, "M", "𑣉"),
+        (0x118AA, "M", "𑣊"),
     ]
 
+
 def _seg_58() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x118A7, 'M', '𑣇'),
-    (0x118A8, 'M', '𑣈'),
-    (0x118A9, 'M', '𑣉'),
-    (0x118AA, 'M', '𑣊'),
-    (0x118AB, 'M', '𑣋'),
-    (0x118AC, 'M', '𑣌'),
-    (0x118AD, 'M', '𑣍'),
-    (0x118AE, 'M', '𑣎'),
-    (0x118AF, 'M', '𑣏'),
-    (0x118B0, 'M', '𑣐'),
-    (0x118B1, 'M', '𑣑'),
-    (0x118B2, 'M', '𑣒'),
-    (0x118B3, 'M', '𑣓'),
-    (0x118B4, 'M', '𑣔'),
-    (0x118B5, 'M', '𑣕'),
-    (0x118B6, 'M', '𑣖'),
-    (0x118B7, 'M', '𑣗'),
-    (0x118B8, 'M', '𑣘'),
-    (0x118B9, 'M', '𑣙'),
-    (0x118BA, 'M', '𑣚'),
-    (0x118BB, 'M', '𑣛'),
-    (0x118BC, 'M', '𑣜'),
-    (0x118BD, 'M', '𑣝'),
-    (0x118BE, 'M', '𑣞'),
-    (0x118BF, 'M', '𑣟'),
-    (0x118C0, 'V'),
-    (0x118F3, 'X'),
-    (0x118FF, 'V'),
-    (0x11907, 'X'),
-    (0x11909, 'V'),
-    (0x1190A, 'X'),
-    (0x1190C, 'V'),
-    (0x11914, 'X'),
-    (0x11915, 'V'),
-    (0x11917, 'X'),
-    (0x11918, 'V'),
-    (0x11936, 'X'),
-    (0x11937, 'V'),
-    (0x11939, 'X'),
-    (0x1193B, 'V'),
-    (0x11947, 'X'),
-    (0x11950, 'V'),
-    (0x1195A, 'X'),
-    (0x119A0, 'V'),
-    (0x119A8, 'X'),
-    (0x119AA, 'V'),
-    (0x119D8, 'X'),
-    (0x119DA, 'V'),
-    (0x119E5, 'X'),
-    (0x11A00, 'V'),
-    (0x11A48, 'X'),
-    (0x11A50, 'V'),
-    (0x11AA3, 'X'),
-    (0x11AB0, 'V'),
-    (0x11AF9, 'X'),
-    (0x11B00, 'V'),
-    (0x11B0A, 'X'),
-    (0x11C00, 'V'),
-    (0x11C09, 'X'),
-    (0x11C0A, 'V'),
-    (0x11C37, 'X'),
-    (0x11C38, 'V'),
-    (0x11C46, 'X'),
-    (0x11C50, 'V'),
-    (0x11C6D, 'X'),
-    (0x11C70, 'V'),
-    (0x11C90, 'X'),
-    (0x11C92, 'V'),
-    (0x11CA8, 'X'),
-    (0x11CA9, 'V'),
-    (0x11CB7, 'X'),
-    (0x11D00, 'V'),
-    (0x11D07, 'X'),
-    (0x11D08, 'V'),
-    (0x11D0A, 'X'),
-    (0x11D0B, 'V'),
-    (0x11D37, 'X'),
-    (0x11D3A, 'V'),
-    (0x11D3B, 'X'),
-    (0x11D3C, 'V'),
-    (0x11D3E, 'X'),
-    (0x11D3F, 'V'),
-    (0x11D48, 'X'),
-    (0x11D50, 'V'),
-    (0x11D5A, 'X'),
-    (0x11D60, 'V'),
-    (0x11D66, 'X'),
-    (0x11D67, 'V'),
-    (0x11D69, 'X'),
-    (0x11D6A, 'V'),
-    (0x11D8F, 'X'),
-    (0x11D90, 'V'),
-    (0x11D92, 'X'),
-    (0x11D93, 'V'),
-    (0x11D99, 'X'),
-    (0x11DA0, 'V'),
-    (0x11DAA, 'X'),
-    (0x11EE0, 'V'),
-    (0x11EF9, 'X'),
-    (0x11F00, 'V'),
+        (0x118AB, "M", "𑣋"),
+        (0x118AC, "M", "𑣌"),
+        (0x118AD, "M", "𑣍"),
+        (0x118AE, "M", "𑣎"),
+        (0x118AF, "M", "𑣏"),
+        (0x118B0, "M", "𑣐"),
+        (0x118B1, "M", "𑣑"),
+        (0x118B2, "M", "𑣒"),
+        (0x118B3, "M", "𑣓"),
+        (0x118B4, "M", "𑣔"),
+        (0x118B5, "M", "𑣕"),
+        (0x118B6, "M", "𑣖"),
+        (0x118B7, "M", "𑣗"),
+        (0x118B8, "M", "𑣘"),
+        (0x118B9, "M", "𑣙"),
+        (0x118BA, "M", "𑣚"),
+        (0x118BB, "M", "𑣛"),
+        (0x118BC, "M", "𑣜"),
+        (0x118BD, "M", "𑣝"),
+        (0x118BE, "M", "𑣞"),
+        (0x118BF, "M", "𑣟"),
+        (0x118C0, "V"),
+        (0x118F3, "X"),
+        (0x118FF, "V"),
+        (0x11907, "X"),
+        (0x11909, "V"),
+        (0x1190A, "X"),
+        (0x1190C, "V"),
+        (0x11914, "X"),
+        (0x11915, "V"),
+        (0x11917, "X"),
+        (0x11918, "V"),
+        (0x11936, "X"),
+        (0x11937, "V"),
+        (0x11939, "X"),
+        (0x1193B, "V"),
+        (0x11947, "X"),
+        (0x11950, "V"),
+        (0x1195A, "X"),
+        (0x119A0, "V"),
+        (0x119A8, "X"),
+        (0x119AA, "V"),
+        (0x119D8, "X"),
+        (0x119DA, "V"),
+        (0x119E5, "X"),
+        (0x11A00, "V"),
+        (0x11A48, "X"),
+        (0x11A50, "V"),
+        (0x11AA3, "X"),
+        (0x11AB0, "V"),
+        (0x11AF9, "X"),
+        (0x11B00, "V"),
+        (0x11B0A, "X"),
+        (0x11C00, "V"),
+        (0x11C09, "X"),
+        (0x11C0A, "V"),
+        (0x11C37, "X"),
+        (0x11C38, "V"),
+        (0x11C46, "X"),
+        (0x11C50, "V"),
+        (0x11C6D, "X"),
+        (0x11C70, "V"),
+        (0x11C90, "X"),
+        (0x11C92, "V"),
+        (0x11CA8, "X"),
+        (0x11CA9, "V"),
+        (0x11CB7, "X"),
+        (0x11D00, "V"),
+        (0x11D07, "X"),
+        (0x11D08, "V"),
+        (0x11D0A, "X"),
+        (0x11D0B, "V"),
+        (0x11D37, "X"),
+        (0x11D3A, "V"),
+        (0x11D3B, "X"),
+        (0x11D3C, "V"),
+        (0x11D3E, "X"),
+        (0x11D3F, "V"),
+        (0x11D48, "X"),
+        (0x11D50, "V"),
+        (0x11D5A, "X"),
+        (0x11D60, "V"),
+        (0x11D66, "X"),
+        (0x11D67, "V"),
+        (0x11D69, "X"),
+        (0x11D6A, "V"),
+        (0x11D8F, "X"),
+        (0x11D90, "V"),
+        (0x11D92, "X"),
+        (0x11D93, "V"),
+        (0x11D99, "X"),
+        (0x11DA0, "V"),
+        (0x11DAA, "X"),
+        (0x11EE0, "V"),
+        (0x11EF9, "X"),
+        (0x11F00, "V"),
+        (0x11F11, "X"),
+        (0x11F12, "V"),
+        (0x11F3B, "X"),
+        (0x11F3E, "V"),
     ]
 
+
 def _seg_59() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x11F11, 'X'),
-    (0x11F12, 'V'),
-    (0x11F3B, 'X'),
-    (0x11F3E, 'V'),
-    (0x11F5A, 'X'),
-    (0x11FB0, 'V'),
-    (0x11FB1, 'X'),
-    (0x11FC0, 'V'),
-    (0x11FF2, 'X'),
-    (0x11FFF, 'V'),
-    (0x1239A, 'X'),
-    (0x12400, 'V'),
-    (0x1246F, 'X'),
-    (0x12470, 'V'),
-    (0x12475, 'X'),
-    (0x12480, 'V'),
-    (0x12544, 'X'),
-    (0x12F90, 'V'),
-    (0x12FF3, 'X'),
-    (0x13000, 'V'),
-    (0x13430, 'X'),
-    (0x13440, 'V'),
-    (0x13456, 'X'),
-    (0x14400, 'V'),
-    (0x14647, 'X'),
-    (0x16800, 'V'),
-    (0x16A39, 'X'),
-    (0x16A40, 'V'),
-    (0x16A5F, 'X'),
-    (0x16A60, 'V'),
-    (0x16A6A, 'X'),
-    (0x16A6E, 'V'),
-    (0x16ABF, 'X'),
-    (0x16AC0, 'V'),
-    (0x16ACA, 'X'),
-    (0x16AD0, 'V'),
-    (0x16AEE, 'X'),
-    (0x16AF0, 'V'),
-    (0x16AF6, 'X'),
-    (0x16B00, 'V'),
-    (0x16B46, 'X'),
-    (0x16B50, 'V'),
-    (0x16B5A, 'X'),
-    (0x16B5B, 'V'),
-    (0x16B62, 'X'),
-    (0x16B63, 'V'),
-    (0x16B78, 'X'),
-    (0x16B7D, 'V'),
-    (0x16B90, 'X'),
-    (0x16E40, 'M', '𖹠'),
-    (0x16E41, 'M', '𖹡'),
-    (0x16E42, 'M', '𖹢'),
-    (0x16E43, 'M', '𖹣'),
-    (0x16E44, 'M', '𖹤'),
-    (0x16E45, 'M', '𖹥'),
-    (0x16E46, 'M', '𖹦'),
-    (0x16E47, 'M', '𖹧'),
-    (0x16E48, 'M', '𖹨'),
-    (0x16E49, 'M', '𖹩'),
-    (0x16E4A, 'M', '𖹪'),
-    (0x16E4B, 'M', '𖹫'),
-    (0x16E4C, 'M', '𖹬'),
-    (0x16E4D, 'M', '𖹭'),
-    (0x16E4E, 'M', '𖹮'),
-    (0x16E4F, 'M', '𖹯'),
-    (0x16E50, 'M', '𖹰'),
-    (0x16E51, 'M', '𖹱'),
-    (0x16E52, 'M', '𖹲'),
-    (0x16E53, 'M', '𖹳'),
-    (0x16E54, 'M', '𖹴'),
-    (0x16E55, 'M', '𖹵'),
-    (0x16E56, 'M', '𖹶'),
-    (0x16E57, 'M', '𖹷'),
-    (0x16E58, 'M', '𖹸'),
-    (0x16E59, 'M', '𖹹'),
-    (0x16E5A, 'M', '𖹺'),
-    (0x16E5B, 'M', '𖹻'),
-    (0x16E5C, 'M', '𖹼'),
-    (0x16E5D, 'M', '𖹽'),
-    (0x16E5E, 'M', '𖹾'),
-    (0x16E5F, 'M', '𖹿'),
-    (0x16E60, 'V'),
-    (0x16E9B, 'X'),
-    (0x16F00, 'V'),
-    (0x16F4B, 'X'),
-    (0x16F4F, 'V'),
-    (0x16F88, 'X'),
-    (0x16F8F, 'V'),
-    (0x16FA0, 'X'),
-    (0x16FE0, 'V'),
-    (0x16FE5, 'X'),
-    (0x16FF0, 'V'),
-    (0x16FF2, 'X'),
-    (0x17000, 'V'),
-    (0x187F8, 'X'),
-    (0x18800, 'V'),
-    (0x18CD6, 'X'),
-    (0x18D00, 'V'),
-    (0x18D09, 'X'),
-    (0x1AFF0, 'V'),
+        (0x11F5A, "X"),
+        (0x11FB0, "V"),
+        (0x11FB1, "X"),
+        (0x11FC0, "V"),
+        (0x11FF2, "X"),
+        (0x11FFF, "V"),
+        (0x1239A, "X"),
+        (0x12400, "V"),
+        (0x1246F, "X"),
+        (0x12470, "V"),
+        (0x12475, "X"),
+        (0x12480, "V"),
+        (0x12544, "X"),
+        (0x12F90, "V"),
+        (0x12FF3, "X"),
+        (0x13000, "V"),
+        (0x13430, "X"),
+        (0x13440, "V"),
+        (0x13456, "X"),
+        (0x14400, "V"),
+        (0x14647, "X"),
+        (0x16800, "V"),
+        (0x16A39, "X"),
+        (0x16A40, "V"),
+        (0x16A5F, "X"),
+        (0x16A60, "V"),
+        (0x16A6A, "X"),
+        (0x16A6E, "V"),
+        (0x16ABF, "X"),
+        (0x16AC0, "V"),
+        (0x16ACA, "X"),
+        (0x16AD0, "V"),
+        (0x16AEE, "X"),
+        (0x16AF0, "V"),
+        (0x16AF6, "X"),
+        (0x16B00, "V"),
+        (0x16B46, "X"),
+        (0x16B50, "V"),
+        (0x16B5A, "X"),
+        (0x16B5B, "V"),
+        (0x16B62, "X"),
+        (0x16B63, "V"),
+        (0x16B78, "X"),
+        (0x16B7D, "V"),
+        (0x16B90, "X"),
+        (0x16E40, "M", "𖹠"),
+        (0x16E41, "M", "𖹡"),
+        (0x16E42, "M", "𖹢"),
+        (0x16E43, "M", "𖹣"),
+        (0x16E44, "M", "𖹤"),
+        (0x16E45, "M", "𖹥"),
+        (0x16E46, "M", "𖹦"),
+        (0x16E47, "M", "𖹧"),
+        (0x16E48, "M", "𖹨"),
+        (0x16E49, "M", "𖹩"),
+        (0x16E4A, "M", "𖹪"),
+        (0x16E4B, "M", "𖹫"),
+        (0x16E4C, "M", "𖹬"),
+        (0x16E4D, "M", "𖹭"),
+        (0x16E4E, "M", "𖹮"),
+        (0x16E4F, "M", "𖹯"),
+        (0x16E50, "M", "𖹰"),
+        (0x16E51, "M", "𖹱"),
+        (0x16E52, "M", "𖹲"),
+        (0x16E53, "M", "𖹳"),
+        (0x16E54, "M", "𖹴"),
+        (0x16E55, "M", "𖹵"),
+        (0x16E56, "M", "𖹶"),
+        (0x16E57, "M", "𖹷"),
+        (0x16E58, "M", "𖹸"),
+        (0x16E59, "M", "𖹹"),
+        (0x16E5A, "M", "𖹺"),
+        (0x16E5B, "M", "𖹻"),
+        (0x16E5C, "M", "𖹼"),
+        (0x16E5D, "M", "𖹽"),
+        (0x16E5E, "M", "𖹾"),
+        (0x16E5F, "M", "𖹿"),
+        (0x16E60, "V"),
+        (0x16E9B, "X"),
+        (0x16F00, "V"),
+        (0x16F4B, "X"),
+        (0x16F4F, "V"),
+        (0x16F88, "X"),
+        (0x16F8F, "V"),
+        (0x16FA0, "X"),
+        (0x16FE0, "V"),
+        (0x16FE5, "X"),
+        (0x16FF0, "V"),
+        (0x16FF2, "X"),
+        (0x17000, "V"),
+        (0x187F8, "X"),
+        (0x18800, "V"),
+        (0x18CD6, "X"),
+        (0x18D00, "V"),
+        (0x18D09, "X"),
+        (0x1AFF0, "V"),
+        (0x1AFF4, "X"),
+        (0x1AFF5, "V"),
+        (0x1AFFC, "X"),
+        (0x1AFFD, "V"),
     ]
 
+
 def _seg_60() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1AFF4, 'X'),
-    (0x1AFF5, 'V'),
-    (0x1AFFC, 'X'),
-    (0x1AFFD, 'V'),
-    (0x1AFFF, 'X'),
-    (0x1B000, 'V'),
-    (0x1B123, 'X'),
-    (0x1B132, 'V'),
-    (0x1B133, 'X'),
-    (0x1B150, 'V'),
-    (0x1B153, 'X'),
-    (0x1B155, 'V'),
-    (0x1B156, 'X'),
-    (0x1B164, 'V'),
-    (0x1B168, 'X'),
-    (0x1B170, 'V'),
-    (0x1B2FC, 'X'),
-    (0x1BC00, 'V'),
-    (0x1BC6B, 'X'),
-    (0x1BC70, 'V'),
-    (0x1BC7D, 'X'),
-    (0x1BC80, 'V'),
-    (0x1BC89, 'X'),
-    (0x1BC90, 'V'),
-    (0x1BC9A, 'X'),
-    (0x1BC9C, 'V'),
-    (0x1BCA0, 'I'),
-    (0x1BCA4, 'X'),
-    (0x1CF00, 'V'),
-    (0x1CF2E, 'X'),
-    (0x1CF30, 'V'),
-    (0x1CF47, 'X'),
-    (0x1CF50, 'V'),
-    (0x1CFC4, 'X'),
-    (0x1D000, 'V'),
-    (0x1D0F6, 'X'),
-    (0x1D100, 'V'),
-    (0x1D127, 'X'),
-    (0x1D129, 'V'),
-    (0x1D15E, 'M', '𝅗𝅥'),
-    (0x1D15F, 'M', '𝅘𝅥'),
-    (0x1D160, 'M', '𝅘𝅥𝅮'),
-    (0x1D161, 'M', '𝅘𝅥𝅯'),
-    (0x1D162, 'M', '𝅘𝅥𝅰'),
-    (0x1D163, 'M', '𝅘𝅥𝅱'),
-    (0x1D164, 'M', '𝅘𝅥𝅲'),
-    (0x1D165, 'V'),
-    (0x1D173, 'X'),
-    (0x1D17B, 'V'),
-    (0x1D1BB, 'M', '𝆹𝅥'),
-    (0x1D1BC, 'M', '𝆺𝅥'),
-    (0x1D1BD, 'M', '𝆹𝅥𝅮'),
-    (0x1D1BE, 'M', '𝆺𝅥𝅮'),
-    (0x1D1BF, 'M', '𝆹𝅥𝅯'),
-    (0x1D1C0, 'M', '𝆺𝅥𝅯'),
-    (0x1D1C1, 'V'),
-    (0x1D1EB, 'X'),
-    (0x1D200, 'V'),
-    (0x1D246, 'X'),
-    (0x1D2C0, 'V'),
-    (0x1D2D4, 'X'),
-    (0x1D2E0, 'V'),
-    (0x1D2F4, 'X'),
-    (0x1D300, 'V'),
-    (0x1D357, 'X'),
-    (0x1D360, 'V'),
-    (0x1D379, 'X'),
-    (0x1D400, 'M', 'a'),
-    (0x1D401, 'M', 'b'),
-    (0x1D402, 'M', 'c'),
-    (0x1D403, 'M', 'd'),
-    (0x1D404, 'M', 'e'),
-    (0x1D405, 'M', 'f'),
-    (0x1D406, 'M', 'g'),
-    (0x1D407, 'M', 'h'),
-    (0x1D408, 'M', 'i'),
-    (0x1D409, 'M', 'j'),
-    (0x1D40A, 'M', 'k'),
-    (0x1D40B, 'M', 'l'),
-    (0x1D40C, 'M', 'm'),
-    (0x1D40D, 'M', 'n'),
-    (0x1D40E, 'M', 'o'),
-    (0x1D40F, 'M', 'p'),
-    (0x1D410, 'M', 'q'),
-    (0x1D411, 'M', 'r'),
-    (0x1D412, 'M', 's'),
-    (0x1D413, 'M', 't'),
-    (0x1D414, 'M', 'u'),
-    (0x1D415, 'M', 'v'),
-    (0x1D416, 'M', 'w'),
-    (0x1D417, 'M', 'x'),
-    (0x1D418, 'M', 'y'),
-    (0x1D419, 'M', 'z'),
-    (0x1D41A, 'M', 'a'),
-    (0x1D41B, 'M', 'b'),
-    (0x1D41C, 'M', 'c'),
-    (0x1D41D, 'M', 'd'),
-    (0x1D41E, 'M', 'e'),
-    (0x1D41F, 'M', 'f'),
-    (0x1D420, 'M', 'g'),
+        (0x1AFFF, "X"),
+        (0x1B000, "V"),
+        (0x1B123, "X"),
+        (0x1B132, "V"),
+        (0x1B133, "X"),
+        (0x1B150, "V"),
+        (0x1B153, "X"),
+        (0x1B155, "V"),
+        (0x1B156, "X"),
+        (0x1B164, "V"),
+        (0x1B168, "X"),
+        (0x1B170, "V"),
+        (0x1B2FC, "X"),
+        (0x1BC00, "V"),
+        (0x1BC6B, "X"),
+        (0x1BC70, "V"),
+        (0x1BC7D, "X"),
+        (0x1BC80, "V"),
+        (0x1BC89, "X"),
+        (0x1BC90, "V"),
+        (0x1BC9A, "X"),
+        (0x1BC9C, "V"),
+        (0x1BCA0, "I"),
+        (0x1BCA4, "X"),
+        (0x1CF00, "V"),
+        (0x1CF2E, "X"),
+        (0x1CF30, "V"),
+        (0x1CF47, "X"),
+        (0x1CF50, "V"),
+        (0x1CFC4, "X"),
+        (0x1D000, "V"),
+        (0x1D0F6, "X"),
+        (0x1D100, "V"),
+        (0x1D127, "X"),
+        (0x1D129, "V"),
+        (0x1D15E, "M", "𝅗𝅥"),
+        (0x1D15F, "M", "𝅘𝅥"),
+        (0x1D160, "M", "𝅘𝅥𝅮"),
+        (0x1D161, "M", "𝅘𝅥𝅯"),
+        (0x1D162, "M", "𝅘𝅥𝅰"),
+        (0x1D163, "M", "𝅘𝅥𝅱"),
+        (0x1D164, "M", "𝅘𝅥𝅲"),
+        (0x1D165, "V"),
+        (0x1D173, "X"),
+        (0x1D17B, "V"),
+        (0x1D1BB, "M", "𝆹𝅥"),
+        (0x1D1BC, "M", "𝆺𝅥"),
+        (0x1D1BD, "M", "𝆹𝅥𝅮"),
+        (0x1D1BE, "M", "𝆺𝅥𝅮"),
+        (0x1D1BF, "M", "𝆹𝅥𝅯"),
+        (0x1D1C0, "M", "𝆺𝅥𝅯"),
+        (0x1D1C1, "V"),
+        (0x1D1EB, "X"),
+        (0x1D200, "V"),
+        (0x1D246, "X"),
+        (0x1D2C0, "V"),
+        (0x1D2D4, "X"),
+        (0x1D2E0, "V"),
+        (0x1D2F4, "X"),
+        (0x1D300, "V"),
+        (0x1D357, "X"),
+        (0x1D360, "V"),
+        (0x1D379, "X"),
+        (0x1D400, "M", "a"),
+        (0x1D401, "M", "b"),
+        (0x1D402, "M", "c"),
+        (0x1D403, "M", "d"),
+        (0x1D404, "M", "e"),
+        (0x1D405, "M", "f"),
+        (0x1D406, "M", "g"),
+        (0x1D407, "M", "h"),
+        (0x1D408, "M", "i"),
+        (0x1D409, "M", "j"),
+        (0x1D40A, "M", "k"),
+        (0x1D40B, "M", "l"),
+        (0x1D40C, "M", "m"),
+        (0x1D40D, "M", "n"),
+        (0x1D40E, "M", "o"),
+        (0x1D40F, "M", "p"),
+        (0x1D410, "M", "q"),
+        (0x1D411, "M", "r"),
+        (0x1D412, "M", "s"),
+        (0x1D413, "M", "t"),
+        (0x1D414, "M", "u"),
+        (0x1D415, "M", "v"),
+        (0x1D416, "M", "w"),
+        (0x1D417, "M", "x"),
+        (0x1D418, "M", "y"),
+        (0x1D419, "M", "z"),
+        (0x1D41A, "M", "a"),
+        (0x1D41B, "M", "b"),
+        (0x1D41C, "M", "c"),
+        (0x1D41D, "M", "d"),
+        (0x1D41E, "M", "e"),
+        (0x1D41F, "M", "f"),
+        (0x1D420, "M", "g"),
+        (0x1D421, "M", "h"),
+        (0x1D422, "M", "i"),
+        (0x1D423, "M", "j"),
+        (0x1D424, "M", "k"),
     ]
 
+
 def _seg_61() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1D421, 'M', 'h'),
-    (0x1D422, 'M', 'i'),
-    (0x1D423, 'M', 'j'),
-    (0x1D424, 'M', 'k'),
-    (0x1D425, 'M', 'l'),
-    (0x1D426, 'M', 'm'),
-    (0x1D427, 'M', 'n'),
-    (0x1D428, 'M', 'o'),
-    (0x1D429, 'M', 'p'),
-    (0x1D42A, 'M', 'q'),
-    (0x1D42B, 'M', 'r'),
-    (0x1D42C, 'M', 's'),
-    (0x1D42D, 'M', 't'),
-    (0x1D42E, 'M', 'u'),
-    (0x1D42F, 'M', 'v'),
-    (0x1D430, 'M', 'w'),
-    (0x1D431, 'M', 'x'),
-    (0x1D432, 'M', 'y'),
-    (0x1D433, 'M', 'z'),
-    (0x1D434, 'M', 'a'),
-    (0x1D435, 'M', 'b'),
-    (0x1D436, 'M', 'c'),
-    (0x1D437, 'M', 'd'),
-    (0x1D438, 'M', 'e'),
-    (0x1D439, 'M', 'f'),
-    (0x1D43A, 'M', 'g'),
-    (0x1D43B, 'M', 'h'),
-    (0x1D43C, 'M', 'i'),
-    (0x1D43D, 'M', 'j'),
-    (0x1D43E, 'M', 'k'),
-    (0x1D43F, 'M', 'l'),
-    (0x1D440, 'M', 'm'),
-    (0x1D441, 'M', 'n'),
-    (0x1D442, 'M', 'o'),
-    (0x1D443, 'M', 'p'),
-    (0x1D444, 'M', 'q'),
-    (0x1D445, 'M', 'r'),
-    (0x1D446, 'M', 's'),
-    (0x1D447, 'M', 't'),
-    (0x1D448, 'M', 'u'),
-    (0x1D449, 'M', 'v'),
-    (0x1D44A, 'M', 'w'),
-    (0x1D44B, 'M', 'x'),
-    (0x1D44C, 'M', 'y'),
-    (0x1D44D, 'M', 'z'),
-    (0x1D44E, 'M', 'a'),
-    (0x1D44F, 'M', 'b'),
-    (0x1D450, 'M', 'c'),
-    (0x1D451, 'M', 'd'),
-    (0x1D452, 'M', 'e'),
-    (0x1D453, 'M', 'f'),
-    (0x1D454, 'M', 'g'),
-    (0x1D455, 'X'),
-    (0x1D456, 'M', 'i'),
-    (0x1D457, 'M', 'j'),
-    (0x1D458, 'M', 'k'),
-    (0x1D459, 'M', 'l'),
-    (0x1D45A, 'M', 'm'),
-    (0x1D45B, 'M', 'n'),
-    (0x1D45C, 'M', 'o'),
-    (0x1D45D, 'M', 'p'),
-    (0x1D45E, 'M', 'q'),
-    (0x1D45F, 'M', 'r'),
-    (0x1D460, 'M', 's'),
-    (0x1D461, 'M', 't'),
-    (0x1D462, 'M', 'u'),
-    (0x1D463, 'M', 'v'),
-    (0x1D464, 'M', 'w'),
-    (0x1D465, 'M', 'x'),
-    (0x1D466, 'M', 'y'),
-    (0x1D467, 'M', 'z'),
-    (0x1D468, 'M', 'a'),
-    (0x1D469, 'M', 'b'),
-    (0x1D46A, 'M', 'c'),
-    (0x1D46B, 'M', 'd'),
-    (0x1D46C, 'M', 'e'),
-    (0x1D46D, 'M', 'f'),
-    (0x1D46E, 'M', 'g'),
-    (0x1D46F, 'M', 'h'),
-    (0x1D470, 'M', 'i'),
-    (0x1D471, 'M', 'j'),
-    (0x1D472, 'M', 'k'),
-    (0x1D473, 'M', 'l'),
-    (0x1D474, 'M', 'm'),
-    (0x1D475, 'M', 'n'),
-    (0x1D476, 'M', 'o'),
-    (0x1D477, 'M', 'p'),
-    (0x1D478, 'M', 'q'),
-    (0x1D479, 'M', 'r'),
-    (0x1D47A, 'M', 's'),
-    (0x1D47B, 'M', 't'),
-    (0x1D47C, 'M', 'u'),
-    (0x1D47D, 'M', 'v'),
-    (0x1D47E, 'M', 'w'),
-    (0x1D47F, 'M', 'x'),
-    (0x1D480, 'M', 'y'),
-    (0x1D481, 'M', 'z'),
-    (0x1D482, 'M', 'a'),
-    (0x1D483, 'M', 'b'),
-    (0x1D484, 'M', 'c'),
+        (0x1D425, "M", "l"),
+        (0x1D426, "M", "m"),
+        (0x1D427, "M", "n"),
+        (0x1D428, "M", "o"),
+        (0x1D429, "M", "p"),
+        (0x1D42A, "M", "q"),
+        (0x1D42B, "M", "r"),
+        (0x1D42C, "M", "s"),
+        (0x1D42D, "M", "t"),
+        (0x1D42E, "M", "u"),
+        (0x1D42F, "M", "v"),
+        (0x1D430, "M", "w"),
+        (0x1D431, "M", "x"),
+        (0x1D432, "M", "y"),
+        (0x1D433, "M", "z"),
+        (0x1D434, "M", "a"),
+        (0x1D435, "M", "b"),
+        (0x1D436, "M", "c"),
+        (0x1D437, "M", "d"),
+        (0x1D438, "M", "e"),
+        (0x1D439, "M", "f"),
+        (0x1D43A, "M", "g"),
+        (0x1D43B, "M", "h"),
+        (0x1D43C, "M", "i"),
+        (0x1D43D, "M", "j"),
+        (0x1D43E, "M", "k"),
+        (0x1D43F, "M", "l"),
+        (0x1D440, "M", "m"),
+        (0x1D441, "M", "n"),
+        (0x1D442, "M", "o"),
+        (0x1D443, "M", "p"),
+        (0x1D444, "M", "q"),
+        (0x1D445, "M", "r"),
+        (0x1D446, "M", "s"),
+        (0x1D447, "M", "t"),
+        (0x1D448, "M", "u"),
+        (0x1D449, "M", "v"),
+        (0x1D44A, "M", "w"),
+        (0x1D44B, "M", "x"),
+        (0x1D44C, "M", "y"),
+        (0x1D44D, "M", "z"),
+        (0x1D44E, "M", "a"),
+        (0x1D44F, "M", "b"),
+        (0x1D450, "M", "c"),
+        (0x1D451, "M", "d"),
+        (0x1D452, "M", "e"),
+        (0x1D453, "M", "f"),
+        (0x1D454, "M", "g"),
+        (0x1D455, "X"),
+        (0x1D456, "M", "i"),
+        (0x1D457, "M", "j"),
+        (0x1D458, "M", "k"),
+        (0x1D459, "M", "l"),
+        (0x1D45A, "M", "m"),
+        (0x1D45B, "M", "n"),
+        (0x1D45C, "M", "o"),
+        (0x1D45D, "M", "p"),
+        (0x1D45E, "M", "q"),
+        (0x1D45F, "M", "r"),
+        (0x1D460, "M", "s"),
+        (0x1D461, "M", "t"),
+        (0x1D462, "M", "u"),
+        (0x1D463, "M", "v"),
+        (0x1D464, "M", "w"),
+        (0x1D465, "M", "x"),
+        (0x1D466, "M", "y"),
+        (0x1D467, "M", "z"),
+        (0x1D468, "M", "a"),
+        (0x1D469, "M", "b"),
+        (0x1D46A, "M", "c"),
+        (0x1D46B, "M", "d"),
+        (0x1D46C, "M", "e"),
+        (0x1D46D, "M", "f"),
+        (0x1D46E, "M", "g"),
+        (0x1D46F, "M", "h"),
+        (0x1D470, "M", "i"),
+        (0x1D471, "M", "j"),
+        (0x1D472, "M", "k"),
+        (0x1D473, "M", "l"),
+        (0x1D474, "M", "m"),
+        (0x1D475, "M", "n"),
+        (0x1D476, "M", "o"),
+        (0x1D477, "M", "p"),
+        (0x1D478, "M", "q"),
+        (0x1D479, "M", "r"),
+        (0x1D47A, "M", "s"),
+        (0x1D47B, "M", "t"),
+        (0x1D47C, "M", "u"),
+        (0x1D47D, "M", "v"),
+        (0x1D47E, "M", "w"),
+        (0x1D47F, "M", "x"),
+        (0x1D480, "M", "y"),
+        (0x1D481, "M", "z"),
+        (0x1D482, "M", "a"),
+        (0x1D483, "M", "b"),
+        (0x1D484, "M", "c"),
+        (0x1D485, "M", "d"),
+        (0x1D486, "M", "e"),
+        (0x1D487, "M", "f"),
+        (0x1D488, "M", "g"),
     ]
 
+
 def _seg_62() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1D485, 'M', 'd'),
-    (0x1D486, 'M', 'e'),
-    (0x1D487, 'M', 'f'),
-    (0x1D488, 'M', 'g'),
-    (0x1D489, 'M', 'h'),
-    (0x1D48A, 'M', 'i'),
-    (0x1D48B, 'M', 'j'),
-    (0x1D48C, 'M', 'k'),
-    (0x1D48D, 'M', 'l'),
-    (0x1D48E, 'M', 'm'),
-    (0x1D48F, 'M', 'n'),
-    (0x1D490, 'M', 'o'),
-    (0x1D491, 'M', 'p'),
-    (0x1D492, 'M', 'q'),
-    (0x1D493, 'M', 'r'),
-    (0x1D494, 'M', 's'),
-    (0x1D495, 'M', 't'),
-    (0x1D496, 'M', 'u'),
-    (0x1D497, 'M', 'v'),
-    (0x1D498, 'M', 'w'),
-    (0x1D499, 'M', 'x'),
-    (0x1D49A, 'M', 'y'),
-    (0x1D49B, 'M', 'z'),
-    (0x1D49C, 'M', 'a'),
-    (0x1D49D, 'X'),
-    (0x1D49E, 'M', 'c'),
-    (0x1D49F, 'M', 'd'),
-    (0x1D4A0, 'X'),
-    (0x1D4A2, 'M', 'g'),
-    (0x1D4A3, 'X'),
-    (0x1D4A5, 'M', 'j'),
-    (0x1D4A6, 'M', 'k'),
-    (0x1D4A7, 'X'),
-    (0x1D4A9, 'M', 'n'),
-    (0x1D4AA, 'M', 'o'),
-    (0x1D4AB, 'M', 'p'),
-    (0x1D4AC, 'M', 'q'),
-    (0x1D4AD, 'X'),
-    (0x1D4AE, 'M', 's'),
-    (0x1D4AF, 'M', 't'),
-    (0x1D4B0, 'M', 'u'),
-    (0x1D4B1, 'M', 'v'),
-    (0x1D4B2, 'M', 'w'),
-    (0x1D4B3, 'M', 'x'),
-    (0x1D4B4, 'M', 'y'),
-    (0x1D4B5, 'M', 'z'),
-    (0x1D4B6, 'M', 'a'),
-    (0x1D4B7, 'M', 'b'),
-    (0x1D4B8, 'M', 'c'),
-    (0x1D4B9, 'M', 'd'),
-    (0x1D4BA, 'X'),
-    (0x1D4BB, 'M', 'f'),
-    (0x1D4BC, 'X'),
-    (0x1D4BD, 'M', 'h'),
-    (0x1D4BE, 'M', 'i'),
-    (0x1D4BF, 'M', 'j'),
-    (0x1D4C0, 'M', 'k'),
-    (0x1D4C1, 'M', 'l'),
-    (0x1D4C2, 'M', 'm'),
-    (0x1D4C3, 'M', 'n'),
-    (0x1D4C4, 'X'),
-    (0x1D4C5, 'M', 'p'),
-    (0x1D4C6, 'M', 'q'),
-    (0x1D4C7, 'M', 'r'),
-    (0x1D4C8, 'M', 's'),
-    (0x1D4C9, 'M', 't'),
-    (0x1D4CA, 'M', 'u'),
-    (0x1D4CB, 'M', 'v'),
-    (0x1D4CC, 'M', 'w'),
-    (0x1D4CD, 'M', 'x'),
-    (0x1D4CE, 'M', 'y'),
-    (0x1D4CF, 'M', 'z'),
-    (0x1D4D0, 'M', 'a'),
-    (0x1D4D1, 'M', 'b'),
-    (0x1D4D2, 'M', 'c'),
-    (0x1D4D3, 'M', 'd'),
-    (0x1D4D4, 'M', 'e'),
-    (0x1D4D5, 'M', 'f'),
-    (0x1D4D6, 'M', 'g'),
-    (0x1D4D7, 'M', 'h'),
-    (0x1D4D8, 'M', 'i'),
-    (0x1D4D9, 'M', 'j'),
-    (0x1D4DA, 'M', 'k'),
-    (0x1D4DB, 'M', 'l'),
-    (0x1D4DC, 'M', 'm'),
-    (0x1D4DD, 'M', 'n'),
-    (0x1D4DE, 'M', 'o'),
-    (0x1D4DF, 'M', 'p'),
-    (0x1D4E0, 'M', 'q'),
-    (0x1D4E1, 'M', 'r'),
-    (0x1D4E2, 'M', 's'),
-    (0x1D4E3, 'M', 't'),
-    (0x1D4E4, 'M', 'u'),
-    (0x1D4E5, 'M', 'v'),
-    (0x1D4E6, 'M', 'w'),
-    (0x1D4E7, 'M', 'x'),
-    (0x1D4E8, 'M', 'y'),
-    (0x1D4E9, 'M', 'z'),
-    (0x1D4EA, 'M', 'a'),
-    (0x1D4EB, 'M', 'b'),
+        (0x1D489, "M", "h"),
+        (0x1D48A, "M", "i"),
+        (0x1D48B, "M", "j"),
+        (0x1D48C, "M", "k"),
+        (0x1D48D, "M", "l"),
+        (0x1D48E, "M", "m"),
+        (0x1D48F, "M", "n"),
+        (0x1D490, "M", "o"),
+        (0x1D491, "M", "p"),
+        (0x1D492, "M", "q"),
+        (0x1D493, "M", "r"),
+        (0x1D494, "M", "s"),
+        (0x1D495, "M", "t"),
+        (0x1D496, "M", "u"),
+        (0x1D497, "M", "v"),
+        (0x1D498, "M", "w"),
+        (0x1D499, "M", "x"),
+        (0x1D49A, "M", "y"),
+        (0x1D49B, "M", "z"),
+        (0x1D49C, "M", "a"),
+        (0x1D49D, "X"),
+        (0x1D49E, "M", "c"),
+        (0x1D49F, "M", "d"),
+        (0x1D4A0, "X"),
+        (0x1D4A2, "M", "g"),
+        (0x1D4A3, "X"),
+        (0x1D4A5, "M", "j"),
+        (0x1D4A6, "M", "k"),
+        (0x1D4A7, "X"),
+        (0x1D4A9, "M", "n"),
+        (0x1D4AA, "M", "o"),
+        (0x1D4AB, "M", "p"),
+        (0x1D4AC, "M", "q"),
+        (0x1D4AD, "X"),
+        (0x1D4AE, "M", "s"),
+        (0x1D4AF, "M", "t"),
+        (0x1D4B0, "M", "u"),
+        (0x1D4B1, "M", "v"),
+        (0x1D4B2, "M", "w"),
+        (0x1D4B3, "M", "x"),
+        (0x1D4B4, "M", "y"),
+        (0x1D4B5, "M", "z"),
+        (0x1D4B6, "M", "a"),
+        (0x1D4B7, "M", "b"),
+        (0x1D4B8, "M", "c"),
+        (0x1D4B9, "M", "d"),
+        (0x1D4BA, "X"),
+        (0x1D4BB, "M", "f"),
+        (0x1D4BC, "X"),
+        (0x1D4BD, "M", "h"),
+        (0x1D4BE, "M", "i"),
+        (0x1D4BF, "M", "j"),
+        (0x1D4C0, "M", "k"),
+        (0x1D4C1, "M", "l"),
+        (0x1D4C2, "M", "m"),
+        (0x1D4C3, "M", "n"),
+        (0x1D4C4, "X"),
+        (0x1D4C5, "M", "p"),
+        (0x1D4C6, "M", "q"),
+        (0x1D4C7, "M", "r"),
+        (0x1D4C8, "M", "s"),
+        (0x1D4C9, "M", "t"),
+        (0x1D4CA, "M", "u"),
+        (0x1D4CB, "M", "v"),
+        (0x1D4CC, "M", "w"),
+        (0x1D4CD, "M", "x"),
+        (0x1D4CE, "M", "y"),
+        (0x1D4CF, "M", "z"),
+        (0x1D4D0, "M", "a"),
+        (0x1D4D1, "M", "b"),
+        (0x1D4D2, "M", "c"),
+        (0x1D4D3, "M", "d"),
+        (0x1D4D4, "M", "e"),
+        (0x1D4D5, "M", "f"),
+        (0x1D4D6, "M", "g"),
+        (0x1D4D7, "M", "h"),
+        (0x1D4D8, "M", "i"),
+        (0x1D4D9, "M", "j"),
+        (0x1D4DA, "M", "k"),
+        (0x1D4DB, "M", "l"),
+        (0x1D4DC, "M", "m"),
+        (0x1D4DD, "M", "n"),
+        (0x1D4DE, "M", "o"),
+        (0x1D4DF, "M", "p"),
+        (0x1D4E0, "M", "q"),
+        (0x1D4E1, "M", "r"),
+        (0x1D4E2, "M", "s"),
+        (0x1D4E3, "M", "t"),
+        (0x1D4E4, "M", "u"),
+        (0x1D4E5, "M", "v"),
+        (0x1D4E6, "M", "w"),
+        (0x1D4E7, "M", "x"),
+        (0x1D4E8, "M", "y"),
+        (0x1D4E9, "M", "z"),
+        (0x1D4EA, "M", "a"),
+        (0x1D4EB, "M", "b"),
+        (0x1D4EC, "M", "c"),
+        (0x1D4ED, "M", "d"),
+        (0x1D4EE, "M", "e"),
+        (0x1D4EF, "M", "f"),
     ]
 
+
 def _seg_63() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1D4EC, 'M', 'c'),
-    (0x1D4ED, 'M', 'd'),
-    (0x1D4EE, 'M', 'e'),
-    (0x1D4EF, 'M', 'f'),
-    (0x1D4F0, 'M', 'g'),
-    (0x1D4F1, 'M', 'h'),
-    (0x1D4F2, 'M', 'i'),
-    (0x1D4F3, 'M', 'j'),
-    (0x1D4F4, 'M', 'k'),
-    (0x1D4F5, 'M', 'l'),
-    (0x1D4F6, 'M', 'm'),
-    (0x1D4F7, 'M', 'n'),
-    (0x1D4F8, 'M', 'o'),
-    (0x1D4F9, 'M', 'p'),
-    (0x1D4FA, 'M', 'q'),
-    (0x1D4FB, 'M', 'r'),
-    (0x1D4FC, 'M', 's'),
-    (0x1D4FD, 'M', 't'),
-    (0x1D4FE, 'M', 'u'),
-    (0x1D4FF, 'M', 'v'),
-    (0x1D500, 'M', 'w'),
-    (0x1D501, 'M', 'x'),
-    (0x1D502, 'M', 'y'),
-    (0x1D503, 'M', 'z'),
-    (0x1D504, 'M', 'a'),
-    (0x1D505, 'M', 'b'),
-    (0x1D506, 'X'),
-    (0x1D507, 'M', 'd'),
-    (0x1D508, 'M', 'e'),
-    (0x1D509, 'M', 'f'),
-    (0x1D50A, 'M', 'g'),
-    (0x1D50B, 'X'),
-    (0x1D50D, 'M', 'j'),
-    (0x1D50E, 'M', 'k'),
-    (0x1D50F, 'M', 'l'),
-    (0x1D510, 'M', 'm'),
-    (0x1D511, 'M', 'n'),
-    (0x1D512, 'M', 'o'),
-    (0x1D513, 'M', 'p'),
-    (0x1D514, 'M', 'q'),
-    (0x1D515, 'X'),
-    (0x1D516, 'M', 's'),
-    (0x1D517, 'M', 't'),
-    (0x1D518, 'M', 'u'),
-    (0x1D519, 'M', 'v'),
-    (0x1D51A, 'M', 'w'),
-    (0x1D51B, 'M', 'x'),
-    (0x1D51C, 'M', 'y'),
-    (0x1D51D, 'X'),
-    (0x1D51E, 'M', 'a'),
-    (0x1D51F, 'M', 'b'),
-    (0x1D520, 'M', 'c'),
-    (0x1D521, 'M', 'd'),
-    (0x1D522, 'M', 'e'),
-    (0x1D523, 'M', 'f'),
-    (0x1D524, 'M', 'g'),
-    (0x1D525, 'M', 'h'),
-    (0x1D526, 'M', 'i'),
-    (0x1D527, 'M', 'j'),
-    (0x1D528, 'M', 'k'),
-    (0x1D529, 'M', 'l'),
-    (0x1D52A, 'M', 'm'),
-    (0x1D52B, 'M', 'n'),
-    (0x1D52C, 'M', 'o'),
-    (0x1D52D, 'M', 'p'),
-    (0x1D52E, 'M', 'q'),
-    (0x1D52F, 'M', 'r'),
-    (0x1D530, 'M', 's'),
-    (0x1D531, 'M', 't'),
-    (0x1D532, 'M', 'u'),
-    (0x1D533, 'M', 'v'),
-    (0x1D534, 'M', 'w'),
-    (0x1D535, 'M', 'x'),
-    (0x1D536, 'M', 'y'),
-    (0x1D537, 'M', 'z'),
-    (0x1D538, 'M', 'a'),
-    (0x1D539, 'M', 'b'),
-    (0x1D53A, 'X'),
-    (0x1D53B, 'M', 'd'),
-    (0x1D53C, 'M', 'e'),
-    (0x1D53D, 'M', 'f'),
-    (0x1D53E, 'M', 'g'),
-    (0x1D53F, 'X'),
-    (0x1D540, 'M', 'i'),
-    (0x1D541, 'M', 'j'),
-    (0x1D542, 'M', 'k'),
-    (0x1D543, 'M', 'l'),
-    (0x1D544, 'M', 'm'),
-    (0x1D545, 'X'),
-    (0x1D546, 'M', 'o'),
-    (0x1D547, 'X'),
-    (0x1D54A, 'M', 's'),
-    (0x1D54B, 'M', 't'),
-    (0x1D54C, 'M', 'u'),
-    (0x1D54D, 'M', 'v'),
-    (0x1D54E, 'M', 'w'),
-    (0x1D54F, 'M', 'x'),
-    (0x1D550, 'M', 'y'),
-    (0x1D551, 'X'),
-    (0x1D552, 'M', 'a'),
+        (0x1D4F0, "M", "g"),
+        (0x1D4F1, "M", "h"),
+        (0x1D4F2, "M", "i"),
+        (0x1D4F3, "M", "j"),
+        (0x1D4F4, "M", "k"),
+        (0x1D4F5, "M", "l"),
+        (0x1D4F6, "M", "m"),
+        (0x1D4F7, "M", "n"),
+        (0x1D4F8, "M", "o"),
+        (0x1D4F9, "M", "p"),
+        (0x1D4FA, "M", "q"),
+        (0x1D4FB, "M", "r"),
+        (0x1D4FC, "M", "s"),
+        (0x1D4FD, "M", "t"),
+        (0x1D4FE, "M", "u"),
+        (0x1D4FF, "M", "v"),
+        (0x1D500, "M", "w"),
+        (0x1D501, "M", "x"),
+        (0x1D502, "M", "y"),
+        (0x1D503, "M", "z"),
+        (0x1D504, "M", "a"),
+        (0x1D505, "M", "b"),
+        (0x1D506, "X"),
+        (0x1D507, "M", "d"),
+        (0x1D508, "M", "e"),
+        (0x1D509, "M", "f"),
+        (0x1D50A, "M", "g"),
+        (0x1D50B, "X"),
+        (0x1D50D, "M", "j"),
+        (0x1D50E, "M", "k"),
+        (0x1D50F, "M", "l"),
+        (0x1D510, "M", "m"),
+        (0x1D511, "M", "n"),
+        (0x1D512, "M", "o"),
+        (0x1D513, "M", "p"),
+        (0x1D514, "M", "q"),
+        (0x1D515, "X"),
+        (0x1D516, "M", "s"),
+        (0x1D517, "M", "t"),
+        (0x1D518, "M", "u"),
+        (0x1D519, "M", "v"),
+        (0x1D51A, "M", "w"),
+        (0x1D51B, "M", "x"),
+        (0x1D51C, "M", "y"),
+        (0x1D51D, "X"),
+        (0x1D51E, "M", "a"),
+        (0x1D51F, "M", "b"),
+        (0x1D520, "M", "c"),
+        (0x1D521, "M", "d"),
+        (0x1D522, "M", "e"),
+        (0x1D523, "M", "f"),
+        (0x1D524, "M", "g"),
+        (0x1D525, "M", "h"),
+        (0x1D526, "M", "i"),
+        (0x1D527, "M", "j"),
+        (0x1D528, "M", "k"),
+        (0x1D529, "M", "l"),
+        (0x1D52A, "M", "m"),
+        (0x1D52B, "M", "n"),
+        (0x1D52C, "M", "o"),
+        (0x1D52D, "M", "p"),
+        (0x1D52E, "M", "q"),
+        (0x1D52F, "M", "r"),
+        (0x1D530, "M", "s"),
+        (0x1D531, "M", "t"),
+        (0x1D532, "M", "u"),
+        (0x1D533, "M", "v"),
+        (0x1D534, "M", "w"),
+        (0x1D535, "M", "x"),
+        (0x1D536, "M", "y"),
+        (0x1D537, "M", "z"),
+        (0x1D538, "M", "a"),
+        (0x1D539, "M", "b"),
+        (0x1D53A, "X"),
+        (0x1D53B, "M", "d"),
+        (0x1D53C, "M", "e"),
+        (0x1D53D, "M", "f"),
+        (0x1D53E, "M", "g"),
+        (0x1D53F, "X"),
+        (0x1D540, "M", "i"),
+        (0x1D541, "M", "j"),
+        (0x1D542, "M", "k"),
+        (0x1D543, "M", "l"),
+        (0x1D544, "M", "m"),
+        (0x1D545, "X"),
+        (0x1D546, "M", "o"),
+        (0x1D547, "X"),
+        (0x1D54A, "M", "s"),
+        (0x1D54B, "M", "t"),
+        (0x1D54C, "M", "u"),
+        (0x1D54D, "M", "v"),
+        (0x1D54E, "M", "w"),
+        (0x1D54F, "M", "x"),
+        (0x1D550, "M", "y"),
+        (0x1D551, "X"),
+        (0x1D552, "M", "a"),
+        (0x1D553, "M", "b"),
+        (0x1D554, "M", "c"),
+        (0x1D555, "M", "d"),
+        (0x1D556, "M", "e"),
     ]
 
+
 def _seg_64() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1D553, 'M', 'b'),
-    (0x1D554, 'M', 'c'),
-    (0x1D555, 'M', 'd'),
-    (0x1D556, 'M', 'e'),
-    (0x1D557, 'M', 'f'),
-    (0x1D558, 'M', 'g'),
-    (0x1D559, 'M', 'h'),
-    (0x1D55A, 'M', 'i'),
-    (0x1D55B, 'M', 'j'),
-    (0x1D55C, 'M', 'k'),
-    (0x1D55D, 'M', 'l'),
-    (0x1D55E, 'M', 'm'),
-    (0x1D55F, 'M', 'n'),
-    (0x1D560, 'M', 'o'),
-    (0x1D561, 'M', 'p'),
-    (0x1D562, 'M', 'q'),
-    (0x1D563, 'M', 'r'),
-    (0x1D564, 'M', 's'),
-    (0x1D565, 'M', 't'),
-    (0x1D566, 'M', 'u'),
-    (0x1D567, 'M', 'v'),
-    (0x1D568, 'M', 'w'),
-    (0x1D569, 'M', 'x'),
-    (0x1D56A, 'M', 'y'),
-    (0x1D56B, 'M', 'z'),
-    (0x1D56C, 'M', 'a'),
-    (0x1D56D, 'M', 'b'),
-    (0x1D56E, 'M', 'c'),
-    (0x1D56F, 'M', 'd'),
-    (0x1D570, 'M', 'e'),
-    (0x1D571, 'M', 'f'),
-    (0x1D572, 'M', 'g'),
-    (0x1D573, 'M', 'h'),
-    (0x1D574, 'M', 'i'),
-    (0x1D575, 'M', 'j'),
-    (0x1D576, 'M', 'k'),
-    (0x1D577, 'M', 'l'),
-    (0x1D578, 'M', 'm'),
-    (0x1D579, 'M', 'n'),
-    (0x1D57A, 'M', 'o'),
-    (0x1D57B, 'M', 'p'),
-    (0x1D57C, 'M', 'q'),
-    (0x1D57D, 'M', 'r'),
-    (0x1D57E, 'M', 's'),
-    (0x1D57F, 'M', 't'),
-    (0x1D580, 'M', 'u'),
-    (0x1D581, 'M', 'v'),
-    (0x1D582, 'M', 'w'),
-    (0x1D583, 'M', 'x'),
-    (0x1D584, 'M', 'y'),
-    (0x1D585, 'M', 'z'),
-    (0x1D586, 'M', 'a'),
-    (0x1D587, 'M', 'b'),
-    (0x1D588, 'M', 'c'),
-    (0x1D589, 'M', 'd'),
-    (0x1D58A, 'M', 'e'),
-    (0x1D58B, 'M', 'f'),
-    (0x1D58C, 'M', 'g'),
-    (0x1D58D, 'M', 'h'),
-    (0x1D58E, 'M', 'i'),
-    (0x1D58F, 'M', 'j'),
-    (0x1D590, 'M', 'k'),
-    (0x1D591, 'M', 'l'),
-    (0x1D592, 'M', 'm'),
-    (0x1D593, 'M', 'n'),
-    (0x1D594, 'M', 'o'),
-    (0x1D595, 'M', 'p'),
-    (0x1D596, 'M', 'q'),
-    (0x1D597, 'M', 'r'),
-    (0x1D598, 'M', 's'),
-    (0x1D599, 'M', 't'),
-    (0x1D59A, 'M', 'u'),
-    (0x1D59B, 'M', 'v'),
-    (0x1D59C, 'M', 'w'),
-    (0x1D59D, 'M', 'x'),
-    (0x1D59E, 'M', 'y'),
-    (0x1D59F, 'M', 'z'),
-    (0x1D5A0, 'M', 'a'),
-    (0x1D5A1, 'M', 'b'),
-    (0x1D5A2, 'M', 'c'),
-    (0x1D5A3, 'M', 'd'),
-    (0x1D5A4, 'M', 'e'),
-    (0x1D5A5, 'M', 'f'),
-    (0x1D5A6, 'M', 'g'),
-    (0x1D5A7, 'M', 'h'),
-    (0x1D5A8, 'M', 'i'),
-    (0x1D5A9, 'M', 'j'),
-    (0x1D5AA, 'M', 'k'),
-    (0x1D5AB, 'M', 'l'),
-    (0x1D5AC, 'M', 'm'),
-    (0x1D5AD, 'M', 'n'),
-    (0x1D5AE, 'M', 'o'),
-    (0x1D5AF, 'M', 'p'),
-    (0x1D5B0, 'M', 'q'),
-    (0x1D5B1, 'M', 'r'),
-    (0x1D5B2, 'M', 's'),
-    (0x1D5B3, 'M', 't'),
-    (0x1D5B4, 'M', 'u'),
-    (0x1D5B5, 'M', 'v'),
-    (0x1D5B6, 'M', 'w'),
+        (0x1D557, "M", "f"),
+        (0x1D558, "M", "g"),
+        (0x1D559, "M", "h"),
+        (0x1D55A, "M", "i"),
+        (0x1D55B, "M", "j"),
+        (0x1D55C, "M", "k"),
+        (0x1D55D, "M", "l"),
+        (0x1D55E, "M", "m"),
+        (0x1D55F, "M", "n"),
+        (0x1D560, "M", "o"),
+        (0x1D561, "M", "p"),
+        (0x1D562, "M", "q"),
+        (0x1D563, "M", "r"),
+        (0x1D564, "M", "s"),
+        (0x1D565, "M", "t"),
+        (0x1D566, "M", "u"),
+        (0x1D567, "M", "v"),
+        (0x1D568, "M", "w"),
+        (0x1D569, "M", "x"),
+        (0x1D56A, "M", "y"),
+        (0x1D56B, "M", "z"),
+        (0x1D56C, "M", "a"),
+        (0x1D56D, "M", "b"),
+        (0x1D56E, "M", "c"),
+        (0x1D56F, "M", "d"),
+        (0x1D570, "M", "e"),
+        (0x1D571, "M", "f"),
+        (0x1D572, "M", "g"),
+        (0x1D573, "M", "h"),
+        (0x1D574, "M", "i"),
+        (0x1D575, "M", "j"),
+        (0x1D576, "M", "k"),
+        (0x1D577, "M", "l"),
+        (0x1D578, "M", "m"),
+        (0x1D579, "M", "n"),
+        (0x1D57A, "M", "o"),
+        (0x1D57B, "M", "p"),
+        (0x1D57C, "M", "q"),
+        (0x1D57D, "M", "r"),
+        (0x1D57E, "M", "s"),
+        (0x1D57F, "M", "t"),
+        (0x1D580, "M", "u"),
+        (0x1D581, "M", "v"),
+        (0x1D582, "M", "w"),
+        (0x1D583, "M", "x"),
+        (0x1D584, "M", "y"),
+        (0x1D585, "M", "z"),
+        (0x1D586, "M", "a"),
+        (0x1D587, "M", "b"),
+        (0x1D588, "M", "c"),
+        (0x1D589, "M", "d"),
+        (0x1D58A, "M", "e"),
+        (0x1D58B, "M", "f"),
+        (0x1D58C, "M", "g"),
+        (0x1D58D, "M", "h"),
+        (0x1D58E, "M", "i"),
+        (0x1D58F, "M", "j"),
+        (0x1D590, "M", "k"),
+        (0x1D591, "M", "l"),
+        (0x1D592, "M", "m"),
+        (0x1D593, "M", "n"),
+        (0x1D594, "M", "o"),
+        (0x1D595, "M", "p"),
+        (0x1D596, "M", "q"),
+        (0x1D597, "M", "r"),
+        (0x1D598, "M", "s"),
+        (0x1D599, "M", "t"),
+        (0x1D59A, "M", "u"),
+        (0x1D59B, "M", "v"),
+        (0x1D59C, "M", "w"),
+        (0x1D59D, "M", "x"),
+        (0x1D59E, "M", "y"),
+        (0x1D59F, "M", "z"),
+        (0x1D5A0, "M", "a"),
+        (0x1D5A1, "M", "b"),
+        (0x1D5A2, "M", "c"),
+        (0x1D5A3, "M", "d"),
+        (0x1D5A4, "M", "e"),
+        (0x1D5A5, "M", "f"),
+        (0x1D5A6, "M", "g"),
+        (0x1D5A7, "M", "h"),
+        (0x1D5A8, "M", "i"),
+        (0x1D5A9, "M", "j"),
+        (0x1D5AA, "M", "k"),
+        (0x1D5AB, "M", "l"),
+        (0x1D5AC, "M", "m"),
+        (0x1D5AD, "M", "n"),
+        (0x1D5AE, "M", "o"),
+        (0x1D5AF, "M", "p"),
+        (0x1D5B0, "M", "q"),
+        (0x1D5B1, "M", "r"),
+        (0x1D5B2, "M", "s"),
+        (0x1D5B3, "M", "t"),
+        (0x1D5B4, "M", "u"),
+        (0x1D5B5, "M", "v"),
+        (0x1D5B6, "M", "w"),
+        (0x1D5B7, "M", "x"),
+        (0x1D5B8, "M", "y"),
+        (0x1D5B9, "M", "z"),
+        (0x1D5BA, "M", "a"),
     ]
 
+
 def _seg_65() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1D5B7, 'M', 'x'),
-    (0x1D5B8, 'M', 'y'),
-    (0x1D5B9, 'M', 'z'),
-    (0x1D5BA, 'M', 'a'),
-    (0x1D5BB, 'M', 'b'),
-    (0x1D5BC, 'M', 'c'),
-    (0x1D5BD, 'M', 'd'),
-    (0x1D5BE, 'M', 'e'),
-    (0x1D5BF, 'M', 'f'),
-    (0x1D5C0, 'M', 'g'),
-    (0x1D5C1, 'M', 'h'),
-    (0x1D5C2, 'M', 'i'),
-    (0x1D5C3, 'M', 'j'),
-    (0x1D5C4, 'M', 'k'),
-    (0x1D5C5, 'M', 'l'),
-    (0x1D5C6, 'M', 'm'),
-    (0x1D5C7, 'M', 'n'),
-    (0x1D5C8, 'M', 'o'),
-    (0x1D5C9, 'M', 'p'),
-    (0x1D5CA, 'M', 'q'),
-    (0x1D5CB, 'M', 'r'),
-    (0x1D5CC, 'M', 's'),
-    (0x1D5CD, 'M', 't'),
-    (0x1D5CE, 'M', 'u'),
-    (0x1D5CF, 'M', 'v'),
-    (0x1D5D0, 'M', 'w'),
-    (0x1D5D1, 'M', 'x'),
-    (0x1D5D2, 'M', 'y'),
-    (0x1D5D3, 'M', 'z'),
-    (0x1D5D4, 'M', 'a'),
-    (0x1D5D5, 'M', 'b'),
-    (0x1D5D6, 'M', 'c'),
-    (0x1D5D7, 'M', 'd'),
-    (0x1D5D8, 'M', 'e'),
-    (0x1D5D9, 'M', 'f'),
-    (0x1D5DA, 'M', 'g'),
-    (0x1D5DB, 'M', 'h'),
-    (0x1D5DC, 'M', 'i'),
-    (0x1D5DD, 'M', 'j'),
-    (0x1D5DE, 'M', 'k'),
-    (0x1D5DF, 'M', 'l'),
-    (0x1D5E0, 'M', 'm'),
-    (0x1D5E1, 'M', 'n'),
-    (0x1D5E2, 'M', 'o'),
-    (0x1D5E3, 'M', 'p'),
-    (0x1D5E4, 'M', 'q'),
-    (0x1D5E5, 'M', 'r'),
-    (0x1D5E6, 'M', 's'),
-    (0x1D5E7, 'M', 't'),
-    (0x1D5E8, 'M', 'u'),
-    (0x1D5E9, 'M', 'v'),
-    (0x1D5EA, 'M', 'w'),
-    (0x1D5EB, 'M', 'x'),
-    (0x1D5EC, 'M', 'y'),
-    (0x1D5ED, 'M', 'z'),
-    (0x1D5EE, 'M', 'a'),
-    (0x1D5EF, 'M', 'b'),
-    (0x1D5F0, 'M', 'c'),
-    (0x1D5F1, 'M', 'd'),
-    (0x1D5F2, 'M', 'e'),
-    (0x1D5F3, 'M', 'f'),
-    (0x1D5F4, 'M', 'g'),
-    (0x1D5F5, 'M', 'h'),
-    (0x1D5F6, 'M', 'i'),
-    (0x1D5F7, 'M', 'j'),
-    (0x1D5F8, 'M', 'k'),
-    (0x1D5F9, 'M', 'l'),
-    (0x1D5FA, 'M', 'm'),
-    (0x1D5FB, 'M', 'n'),
-    (0x1D5FC, 'M', 'o'),
-    (0x1D5FD, 'M', 'p'),
-    (0x1D5FE, 'M', 'q'),
-    (0x1D5FF, 'M', 'r'),
-    (0x1D600, 'M', 's'),
-    (0x1D601, 'M', 't'),
-    (0x1D602, 'M', 'u'),
-    (0x1D603, 'M', 'v'),
-    (0x1D604, 'M', 'w'),
-    (0x1D605, 'M', 'x'),
-    (0x1D606, 'M', 'y'),
-    (0x1D607, 'M', 'z'),
-    (0x1D608, 'M', 'a'),
-    (0x1D609, 'M', 'b'),
-    (0x1D60A, 'M', 'c'),
-    (0x1D60B, 'M', 'd'),
-    (0x1D60C, 'M', 'e'),
-    (0x1D60D, 'M', 'f'),
-    (0x1D60E, 'M', 'g'),
-    (0x1D60F, 'M', 'h'),
-    (0x1D610, 'M', 'i'),
-    (0x1D611, 'M', 'j'),
-    (0x1D612, 'M', 'k'),
-    (0x1D613, 'M', 'l'),
-    (0x1D614, 'M', 'm'),
-    (0x1D615, 'M', 'n'),
-    (0x1D616, 'M', 'o'),
-    (0x1D617, 'M', 'p'),
-    (0x1D618, 'M', 'q'),
-    (0x1D619, 'M', 'r'),
-    (0x1D61A, 'M', 's'),
+        (0x1D5BB, "M", "b"),
+        (0x1D5BC, "M", "c"),
+        (0x1D5BD, "M", "d"),
+        (0x1D5BE, "M", "e"),
+        (0x1D5BF, "M", "f"),
+        (0x1D5C0, "M", "g"),
+        (0x1D5C1, "M", "h"),
+        (0x1D5C2, "M", "i"),
+        (0x1D5C3, "M", "j"),
+        (0x1D5C4, "M", "k"),
+        (0x1D5C5, "M", "l"),
+        (0x1D5C6, "M", "m"),
+        (0x1D5C7, "M", "n"),
+        (0x1D5C8, "M", "o"),
+        (0x1D5C9, "M", "p"),
+        (0x1D5CA, "M", "q"),
+        (0x1D5CB, "M", "r"),
+        (0x1D5CC, "M", "s"),
+        (0x1D5CD, "M", "t"),
+        (0x1D5CE, "M", "u"),
+        (0x1D5CF, "M", "v"),
+        (0x1D5D0, "M", "w"),
+        (0x1D5D1, "M", "x"),
+        (0x1D5D2, "M", "y"),
+        (0x1D5D3, "M", "z"),
+        (0x1D5D4, "M", "a"),
+        (0x1D5D5, "M", "b"),
+        (0x1D5D6, "M", "c"),
+        (0x1D5D7, "M", "d"),
+        (0x1D5D8, "M", "e"),
+        (0x1D5D9, "M", "f"),
+        (0x1D5DA, "M", "g"),
+        (0x1D5DB, "M", "h"),
+        (0x1D5DC, "M", "i"),
+        (0x1D5DD, "M", "j"),
+        (0x1D5DE, "M", "k"),
+        (0x1D5DF, "M", "l"),
+        (0x1D5E0, "M", "m"),
+        (0x1D5E1, "M", "n"),
+        (0x1D5E2, "M", "o"),
+        (0x1D5E3, "M", "p"),
+        (0x1D5E4, "M", "q"),
+        (0x1D5E5, "M", "r"),
+        (0x1D5E6, "M", "s"),
+        (0x1D5E7, "M", "t"),
+        (0x1D5E8, "M", "u"),
+        (0x1D5E9, "M", "v"),
+        (0x1D5EA, "M", "w"),
+        (0x1D5EB, "M", "x"),
+        (0x1D5EC, "M", "y"),
+        (0x1D5ED, "M", "z"),
+        (0x1D5EE, "M", "a"),
+        (0x1D5EF, "M", "b"),
+        (0x1D5F0, "M", "c"),
+        (0x1D5F1, "M", "d"),
+        (0x1D5F2, "M", "e"),
+        (0x1D5F3, "M", "f"),
+        (0x1D5F4, "M", "g"),
+        (0x1D5F5, "M", "h"),
+        (0x1D5F6, "M", "i"),
+        (0x1D5F7, "M", "j"),
+        (0x1D5F8, "M", "k"),
+        (0x1D5F9, "M", "l"),
+        (0x1D5FA, "M", "m"),
+        (0x1D5FB, "M", "n"),
+        (0x1D5FC, "M", "o"),
+        (0x1D5FD, "M", "p"),
+        (0x1D5FE, "M", "q"),
+        (0x1D5FF, "M", "r"),
+        (0x1D600, "M", "s"),
+        (0x1D601, "M", "t"),
+        (0x1D602, "M", "u"),
+        (0x1D603, "M", "v"),
+        (0x1D604, "M", "w"),
+        (0x1D605, "M", "x"),
+        (0x1D606, "M", "y"),
+        (0x1D607, "M", "z"),
+        (0x1D608, "M", "a"),
+        (0x1D609, "M", "b"),
+        (0x1D60A, "M", "c"),
+        (0x1D60B, "M", "d"),
+        (0x1D60C, "M", "e"),
+        (0x1D60D, "M", "f"),
+        (0x1D60E, "M", "g"),
+        (0x1D60F, "M", "h"),
+        (0x1D610, "M", "i"),
+        (0x1D611, "M", "j"),
+        (0x1D612, "M", "k"),
+        (0x1D613, "M", "l"),
+        (0x1D614, "M", "m"),
+        (0x1D615, "M", "n"),
+        (0x1D616, "M", "o"),
+        (0x1D617, "M", "p"),
+        (0x1D618, "M", "q"),
+        (0x1D619, "M", "r"),
+        (0x1D61A, "M", "s"),
+        (0x1D61B, "M", "t"),
+        (0x1D61C, "M", "u"),
+        (0x1D61D, "M", "v"),
+        (0x1D61E, "M", "w"),
     ]
 
+
 def _seg_66() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1D61B, 'M', 't'),
-    (0x1D61C, 'M', 'u'),
-    (0x1D61D, 'M', 'v'),
-    (0x1D61E, 'M', 'w'),
-    (0x1D61F, 'M', 'x'),
-    (0x1D620, 'M', 'y'),
-    (0x1D621, 'M', 'z'),
-    (0x1D622, 'M', 'a'),
-    (0x1D623, 'M', 'b'),
-    (0x1D624, 'M', 'c'),
-    (0x1D625, 'M', 'd'),
-    (0x1D626, 'M', 'e'),
-    (0x1D627, 'M', 'f'),
-    (0x1D628, 'M', 'g'),
-    (0x1D629, 'M', 'h'),
-    (0x1D62A, 'M', 'i'),
-    (0x1D62B, 'M', 'j'),
-    (0x1D62C, 'M', 'k'),
-    (0x1D62D, 'M', 'l'),
-    (0x1D62E, 'M', 'm'),
-    (0x1D62F, 'M', 'n'),
-    (0x1D630, 'M', 'o'),
-    (0x1D631, 'M', 'p'),
-    (0x1D632, 'M', 'q'),
-    (0x1D633, 'M', 'r'),
-    (0x1D634, 'M', 's'),
-    (0x1D635, 'M', 't'),
-    (0x1D636, 'M', 'u'),
-    (0x1D637, 'M', 'v'),
-    (0x1D638, 'M', 'w'),
-    (0x1D639, 'M', 'x'),
-    (0x1D63A, 'M', 'y'),
-    (0x1D63B, 'M', 'z'),
-    (0x1D63C, 'M', 'a'),
-    (0x1D63D, 'M', 'b'),
-    (0x1D63E, 'M', 'c'),
-    (0x1D63F, 'M', 'd'),
-    (0x1D640, 'M', 'e'),
-    (0x1D641, 'M', 'f'),
-    (0x1D642, 'M', 'g'),
-    (0x1D643, 'M', 'h'),
-    (0x1D644, 'M', 'i'),
-    (0x1D645, 'M', 'j'),
-    (0x1D646, 'M', 'k'),
-    (0x1D647, 'M', 'l'),
-    (0x1D648, 'M', 'm'),
-    (0x1D649, 'M', 'n'),
-    (0x1D64A, 'M', 'o'),
-    (0x1D64B, 'M', 'p'),
-    (0x1D64C, 'M', 'q'),
-    (0x1D64D, 'M', 'r'),
-    (0x1D64E, 'M', 's'),
-    (0x1D64F, 'M', 't'),
-    (0x1D650, 'M', 'u'),
-    (0x1D651, 'M', 'v'),
-    (0x1D652, 'M', 'w'),
-    (0x1D653, 'M', 'x'),
-    (0x1D654, 'M', 'y'),
-    (0x1D655, 'M', 'z'),
-    (0x1D656, 'M', 'a'),
-    (0x1D657, 'M', 'b'),
-    (0x1D658, 'M', 'c'),
-    (0x1D659, 'M', 'd'),
-    (0x1D65A, 'M', 'e'),
-    (0x1D65B, 'M', 'f'),
-    (0x1D65C, 'M', 'g'),
-    (0x1D65D, 'M', 'h'),
-    (0x1D65E, 'M', 'i'),
-    (0x1D65F, 'M', 'j'),
-    (0x1D660, 'M', 'k'),
-    (0x1D661, 'M', 'l'),
-    (0x1D662, 'M', 'm'),
-    (0x1D663, 'M', 'n'),
-    (0x1D664, 'M', 'o'),
-    (0x1D665, 'M', 'p'),
-    (0x1D666, 'M', 'q'),
-    (0x1D667, 'M', 'r'),
-    (0x1D668, 'M', 's'),
-    (0x1D669, 'M', 't'),
-    (0x1D66A, 'M', 'u'),
-    (0x1D66B, 'M', 'v'),
-    (0x1D66C, 'M', 'w'),
-    (0x1D66D, 'M', 'x'),
-    (0x1D66E, 'M', 'y'),
-    (0x1D66F, 'M', 'z'),
-    (0x1D670, 'M', 'a'),
-    (0x1D671, 'M', 'b'),
-    (0x1D672, 'M', 'c'),
-    (0x1D673, 'M', 'd'),
-    (0x1D674, 'M', 'e'),
-    (0x1D675, 'M', 'f'),
-    (0x1D676, 'M', 'g'),
-    (0x1D677, 'M', 'h'),
-    (0x1D678, 'M', 'i'),
-    (0x1D679, 'M', 'j'),
-    (0x1D67A, 'M', 'k'),
-    (0x1D67B, 'M', 'l'),
-    (0x1D67C, 'M', 'm'),
-    (0x1D67D, 'M', 'n'),
-    (0x1D67E, 'M', 'o'),
+        (0x1D61F, "M", "x"),
+        (0x1D620, "M", "y"),
+        (0x1D621, "M", "z"),
+        (0x1D622, "M", "a"),
+        (0x1D623, "M", "b"),
+        (0x1D624, "M", "c"),
+        (0x1D625, "M", "d"),
+        (0x1D626, "M", "e"),
+        (0x1D627, "M", "f"),
+        (0x1D628, "M", "g"),
+        (0x1D629, "M", "h"),
+        (0x1D62A, "M", "i"),
+        (0x1D62B, "M", "j"),
+        (0x1D62C, "M", "k"),
+        (0x1D62D, "M", "l"),
+        (0x1D62E, "M", "m"),
+        (0x1D62F, "M", "n"),
+        (0x1D630, "M", "o"),
+        (0x1D631, "M", "p"),
+        (0x1D632, "M", "q"),
+        (0x1D633, "M", "r"),
+        (0x1D634, "M", "s"),
+        (0x1D635, "M", "t"),
+        (0x1D636, "M", "u"),
+        (0x1D637, "M", "v"),
+        (0x1D638, "M", "w"),
+        (0x1D639, "M", "x"),
+        (0x1D63A, "M", "y"),
+        (0x1D63B, "M", "z"),
+        (0x1D63C, "M", "a"),
+        (0x1D63D, "M", "b"),
+        (0x1D63E, "M", "c"),
+        (0x1D63F, "M", "d"),
+        (0x1D640, "M", "e"),
+        (0x1D641, "M", "f"),
+        (0x1D642, "M", "g"),
+        (0x1D643, "M", "h"),
+        (0x1D644, "M", "i"),
+        (0x1D645, "M", "j"),
+        (0x1D646, "M", "k"),
+        (0x1D647, "M", "l"),
+        (0x1D648, "M", "m"),
+        (0x1D649, "M", "n"),
+        (0x1D64A, "M", "o"),
+        (0x1D64B, "M", "p"),
+        (0x1D64C, "M", "q"),
+        (0x1D64D, "M", "r"),
+        (0x1D64E, "M", "s"),
+        (0x1D64F, "M", "t"),
+        (0x1D650, "M", "u"),
+        (0x1D651, "M", "v"),
+        (0x1D652, "M", "w"),
+        (0x1D653, "M", "x"),
+        (0x1D654, "M", "y"),
+        (0x1D655, "M", "z"),
+        (0x1D656, "M", "a"),
+        (0x1D657, "M", "b"),
+        (0x1D658, "M", "c"),
+        (0x1D659, "M", "d"),
+        (0x1D65A, "M", "e"),
+        (0x1D65B, "M", "f"),
+        (0x1D65C, "M", "g"),
+        (0x1D65D, "M", "h"),
+        (0x1D65E, "M", "i"),
+        (0x1D65F, "M", "j"),
+        (0x1D660, "M", "k"),
+        (0x1D661, "M", "l"),
+        (0x1D662, "M", "m"),
+        (0x1D663, "M", "n"),
+        (0x1D664, "M", "o"),
+        (0x1D665, "M", "p"),
+        (0x1D666, "M", "q"),
+        (0x1D667, "M", "r"),
+        (0x1D668, "M", "s"),
+        (0x1D669, "M", "t"),
+        (0x1D66A, "M", "u"),
+        (0x1D66B, "M", "v"),
+        (0x1D66C, "M", "w"),
+        (0x1D66D, "M", "x"),
+        (0x1D66E, "M", "y"),
+        (0x1D66F, "M", "z"),
+        (0x1D670, "M", "a"),
+        (0x1D671, "M", "b"),
+        (0x1D672, "M", "c"),
+        (0x1D673, "M", "d"),
+        (0x1D674, "M", "e"),
+        (0x1D675, "M", "f"),
+        (0x1D676, "M", "g"),
+        (0x1D677, "M", "h"),
+        (0x1D678, "M", "i"),
+        (0x1D679, "M", "j"),
+        (0x1D67A, "M", "k"),
+        (0x1D67B, "M", "l"),
+        (0x1D67C, "M", "m"),
+        (0x1D67D, "M", "n"),
+        (0x1D67E, "M", "o"),
+        (0x1D67F, "M", "p"),
+        (0x1D680, "M", "q"),
+        (0x1D681, "M", "r"),
+        (0x1D682, "M", "s"),
     ]
 
+
 def _seg_67() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1D67F, 'M', 'p'),
-    (0x1D680, 'M', 'q'),
-    (0x1D681, 'M', 'r'),
-    (0x1D682, 'M', 's'),
-    (0x1D683, 'M', 't'),
-    (0x1D684, 'M', 'u'),
-    (0x1D685, 'M', 'v'),
-    (0x1D686, 'M', 'w'),
-    (0x1D687, 'M', 'x'),
-    (0x1D688, 'M', 'y'),
-    (0x1D689, 'M', 'z'),
-    (0x1D68A, 'M', 'a'),
-    (0x1D68B, 'M', 'b'),
-    (0x1D68C, 'M', 'c'),
-    (0x1D68D, 'M', 'd'),
-    (0x1D68E, 'M', 'e'),
-    (0x1D68F, 'M', 'f'),
-    (0x1D690, 'M', 'g'),
-    (0x1D691, 'M', 'h'),
-    (0x1D692, 'M', 'i'),
-    (0x1D693, 'M', 'j'),
-    (0x1D694, 'M', 'k'),
-    (0x1D695, 'M', 'l'),
-    (0x1D696, 'M', 'm'),
-    (0x1D697, 'M', 'n'),
-    (0x1D698, 'M', 'o'),
-    (0x1D699, 'M', 'p'),
-    (0x1D69A, 'M', 'q'),
-    (0x1D69B, 'M', 'r'),
-    (0x1D69C, 'M', 's'),
-    (0x1D69D, 'M', 't'),
-    (0x1D69E, 'M', 'u'),
-    (0x1D69F, 'M', 'v'),
-    (0x1D6A0, 'M', 'w'),
-    (0x1D6A1, 'M', 'x'),
-    (0x1D6A2, 'M', 'y'),
-    (0x1D6A3, 'M', 'z'),
-    (0x1D6A4, 'M', 'ı'),
-    (0x1D6A5, 'M', 'ȷ'),
-    (0x1D6A6, 'X'),
-    (0x1D6A8, 'M', 'α'),
-    (0x1D6A9, 'M', 'β'),
-    (0x1D6AA, 'M', 'γ'),
-    (0x1D6AB, 'M', 'δ'),
-    (0x1D6AC, 'M', 'ε'),
-    (0x1D6AD, 'M', 'ζ'),
-    (0x1D6AE, 'M', 'η'),
-    (0x1D6AF, 'M', 'θ'),
-    (0x1D6B0, 'M', 'ι'),
-    (0x1D6B1, 'M', 'κ'),
-    (0x1D6B2, 'M', 'λ'),
-    (0x1D6B3, 'M', 'μ'),
-    (0x1D6B4, 'M', 'ν'),
-    (0x1D6B5, 'M', 'ξ'),
-    (0x1D6B6, 'M', 'ο'),
-    (0x1D6B7, 'M', 'π'),
-    (0x1D6B8, 'M', 'ρ'),
-    (0x1D6B9, 'M', 'θ'),
-    (0x1D6BA, 'M', 'σ'),
-    (0x1D6BB, 'M', 'τ'),
-    (0x1D6BC, 'M', 'υ'),
-    (0x1D6BD, 'M', 'φ'),
-    (0x1D6BE, 'M', 'χ'),
-    (0x1D6BF, 'M', 'ψ'),
-    (0x1D6C0, 'M', 'ω'),
-    (0x1D6C1, 'M', '∇'),
-    (0x1D6C2, 'M', 'α'),
-    (0x1D6C3, 'M', 'β'),
-    (0x1D6C4, 'M', 'γ'),
-    (0x1D6C5, 'M', 'δ'),
-    (0x1D6C6, 'M', 'ε'),
-    (0x1D6C7, 'M', 'ζ'),
-    (0x1D6C8, 'M', 'η'),
-    (0x1D6C9, 'M', 'θ'),
-    (0x1D6CA, 'M', 'ι'),
-    (0x1D6CB, 'M', 'κ'),
-    (0x1D6CC, 'M', 'λ'),
-    (0x1D6CD, 'M', 'μ'),
-    (0x1D6CE, 'M', 'ν'),
-    (0x1D6CF, 'M', 'ξ'),
-    (0x1D6D0, 'M', 'ο'),
-    (0x1D6D1, 'M', 'π'),
-    (0x1D6D2, 'M', 'ρ'),
-    (0x1D6D3, 'M', 'σ'),
-    (0x1D6D5, 'M', 'τ'),
-    (0x1D6D6, 'M', 'υ'),
-    (0x1D6D7, 'M', 'φ'),
-    (0x1D6D8, 'M', 'χ'),
-    (0x1D6D9, 'M', 'ψ'),
-    (0x1D6DA, 'M', 'ω'),
-    (0x1D6DB, 'M', '∂'),
-    (0x1D6DC, 'M', 'ε'),
-    (0x1D6DD, 'M', 'θ'),
-    (0x1D6DE, 'M', 'κ'),
-    (0x1D6DF, 'M', 'φ'),
-    (0x1D6E0, 'M', 'ρ'),
-    (0x1D6E1, 'M', 'π'),
-    (0x1D6E2, 'M', 'α'),
-    (0x1D6E3, 'M', 'β'),
-    (0x1D6E4, 'M', 'γ'),
+        (0x1D683, "M", "t"),
+        (0x1D684, "M", "u"),
+        (0x1D685, "M", "v"),
+        (0x1D686, "M", "w"),
+        (0x1D687, "M", "x"),
+        (0x1D688, "M", "y"),
+        (0x1D689, "M", "z"),
+        (0x1D68A, "M", "a"),
+        (0x1D68B, "M", "b"),
+        (0x1D68C, "M", "c"),
+        (0x1D68D, "M", "d"),
+        (0x1D68E, "M", "e"),
+        (0x1D68F, "M", "f"),
+        (0x1D690, "M", "g"),
+        (0x1D691, "M", "h"),
+        (0x1D692, "M", "i"),
+        (0x1D693, "M", "j"),
+        (0x1D694, "M", "k"),
+        (0x1D695, "M", "l"),
+        (0x1D696, "M", "m"),
+        (0x1D697, "M", "n"),
+        (0x1D698, "M", "o"),
+        (0x1D699, "M", "p"),
+        (0x1D69A, "M", "q"),
+        (0x1D69B, "M", "r"),
+        (0x1D69C, "M", "s"),
+        (0x1D69D, "M", "t"),
+        (0x1D69E, "M", "u"),
+        (0x1D69F, "M", "v"),
+        (0x1D6A0, "M", "w"),
+        (0x1D6A1, "M", "x"),
+        (0x1D6A2, "M", "y"),
+        (0x1D6A3, "M", "z"),
+        (0x1D6A4, "M", "ı"),
+        (0x1D6A5, "M", "ȷ"),
+        (0x1D6A6, "X"),
+        (0x1D6A8, "M", "α"),
+        (0x1D6A9, "M", "β"),
+        (0x1D6AA, "M", "γ"),
+        (0x1D6AB, "M", "δ"),
+        (0x1D6AC, "M", "ε"),
+        (0x1D6AD, "M", "ζ"),
+        (0x1D6AE, "M", "η"),
+        (0x1D6AF, "M", "θ"),
+        (0x1D6B0, "M", "ι"),
+        (0x1D6B1, "M", "κ"),
+        (0x1D6B2, "M", "λ"),
+        (0x1D6B3, "M", "μ"),
+        (0x1D6B4, "M", "ν"),
+        (0x1D6B5, "M", "ξ"),
+        (0x1D6B6, "M", "ο"),
+        (0x1D6B7, "M", "π"),
+        (0x1D6B8, "M", "ρ"),
+        (0x1D6B9, "M", "θ"),
+        (0x1D6BA, "M", "σ"),
+        (0x1D6BB, "M", "τ"),
+        (0x1D6BC, "M", "υ"),
+        (0x1D6BD, "M", "φ"),
+        (0x1D6BE, "M", "χ"),
+        (0x1D6BF, "M", "ψ"),
+        (0x1D6C0, "M", "ω"),
+        (0x1D6C1, "M", "∇"),
+        (0x1D6C2, "M", "α"),
+        (0x1D6C3, "M", "β"),
+        (0x1D6C4, "M", "γ"),
+        (0x1D6C5, "M", "δ"),
+        (0x1D6C6, "M", "ε"),
+        (0x1D6C7, "M", "ζ"),
+        (0x1D6C8, "M", "η"),
+        (0x1D6C9, "M", "θ"),
+        (0x1D6CA, "M", "ι"),
+        (0x1D6CB, "M", "κ"),
+        (0x1D6CC, "M", "λ"),
+        (0x1D6CD, "M", "μ"),
+        (0x1D6CE, "M", "ν"),
+        (0x1D6CF, "M", "ξ"),
+        (0x1D6D0, "M", "ο"),
+        (0x1D6D1, "M", "π"),
+        (0x1D6D2, "M", "ρ"),
+        (0x1D6D3, "M", "σ"),
+        (0x1D6D5, "M", "τ"),
+        (0x1D6D6, "M", "υ"),
+        (0x1D6D7, "M", "φ"),
+        (0x1D6D8, "M", "χ"),
+        (0x1D6D9, "M", "ψ"),
+        (0x1D6DA, "M", "ω"),
+        (0x1D6DB, "M", "∂"),
+        (0x1D6DC, "M", "ε"),
+        (0x1D6DD, "M", "θ"),
+        (0x1D6DE, "M", "κ"),
+        (0x1D6DF, "M", "φ"),
+        (0x1D6E0, "M", "ρ"),
+        (0x1D6E1, "M", "π"),
+        (0x1D6E2, "M", "α"),
+        (0x1D6E3, "M", "β"),
+        (0x1D6E4, "M", "γ"),
+        (0x1D6E5, "M", "δ"),
+        (0x1D6E6, "M", "ε"),
+        (0x1D6E7, "M", "ζ"),
+        (0x1D6E8, "M", "η"),
     ]
 
+
 def _seg_68() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1D6E5, 'M', 'δ'),
-    (0x1D6E6, 'M', 'ε'),
-    (0x1D6E7, 'M', 'ζ'),
-    (0x1D6E8, 'M', 'η'),
-    (0x1D6E9, 'M', 'θ'),
-    (0x1D6EA, 'M', 'ι'),
-    (0x1D6EB, 'M', 'κ'),
-    (0x1D6EC, 'M', 'λ'),
-    (0x1D6ED, 'M', 'μ'),
-    (0x1D6EE, 'M', 'ν'),
-    (0x1D6EF, 'M', 'ξ'),
-    (0x1D6F0, 'M', 'ο'),
-    (0x1D6F1, 'M', 'π'),
-    (0x1D6F2, 'M', 'ρ'),
-    (0x1D6F3, 'M', 'θ'),
-    (0x1D6F4, 'M', 'σ'),
-    (0x1D6F5, 'M', 'τ'),
-    (0x1D6F6, 'M', 'υ'),
-    (0x1D6F7, 'M', 'φ'),
-    (0x1D6F8, 'M', 'χ'),
-    (0x1D6F9, 'M', 'ψ'),
-    (0x1D6FA, 'M', 'ω'),
-    (0x1D6FB, 'M', '∇'),
-    (0x1D6FC, 'M', 'α'),
-    (0x1D6FD, 'M', 'β'),
-    (0x1D6FE, 'M', 'γ'),
-    (0x1D6FF, 'M', 'δ'),
-    (0x1D700, 'M', 'ε'),
-    (0x1D701, 'M', 'ζ'),
-    (0x1D702, 'M', 'η'),
-    (0x1D703, 'M', 'θ'),
-    (0x1D704, 'M', 'ι'),
-    (0x1D705, 'M', 'κ'),
-    (0x1D706, 'M', 'λ'),
-    (0x1D707, 'M', 'μ'),
-    (0x1D708, 'M', 'ν'),
-    (0x1D709, 'M', 'ξ'),
-    (0x1D70A, 'M', 'ο'),
-    (0x1D70B, 'M', 'π'),
-    (0x1D70C, 'M', 'ρ'),
-    (0x1D70D, 'M', 'σ'),
-    (0x1D70F, 'M', 'τ'),
-    (0x1D710, 'M', 'υ'),
-    (0x1D711, 'M', 'φ'),
-    (0x1D712, 'M', 'χ'),
-    (0x1D713, 'M', 'ψ'),
-    (0x1D714, 'M', 'ω'),
-    (0x1D715, 'M', '∂'),
-    (0x1D716, 'M', 'ε'),
-    (0x1D717, 'M', 'θ'),
-    (0x1D718, 'M', 'κ'),
-    (0x1D719, 'M', 'φ'),
-    (0x1D71A, 'M', 'ρ'),
-    (0x1D71B, 'M', 'π'),
-    (0x1D71C, 'M', 'α'),
-    (0x1D71D, 'M', 'β'),
-    (0x1D71E, 'M', 'γ'),
-    (0x1D71F, 'M', 'δ'),
-    (0x1D720, 'M', 'ε'),
-    (0x1D721, 'M', 'ζ'),
-    (0x1D722, 'M', 'η'),
-    (0x1D723, 'M', 'θ'),
-    (0x1D724, 'M', 'ι'),
-    (0x1D725, 'M', 'κ'),
-    (0x1D726, 'M', 'λ'),
-    (0x1D727, 'M', 'μ'),
-    (0x1D728, 'M', 'ν'),
-    (0x1D729, 'M', 'ξ'),
-    (0x1D72A, 'M', 'ο'),
-    (0x1D72B, 'M', 'π'),
-    (0x1D72C, 'M', 'ρ'),
-    (0x1D72D, 'M', 'θ'),
-    (0x1D72E, 'M', 'σ'),
-    (0x1D72F, 'M', 'τ'),
-    (0x1D730, 'M', 'υ'),
-    (0x1D731, 'M', 'φ'),
-    (0x1D732, 'M', 'χ'),
-    (0x1D733, 'M', 'ψ'),
-    (0x1D734, 'M', 'ω'),
-    (0x1D735, 'M', '∇'),
-    (0x1D736, 'M', 'α'),
-    (0x1D737, 'M', 'β'),
-    (0x1D738, 'M', 'γ'),
-    (0x1D739, 'M', 'δ'),
-    (0x1D73A, 'M', 'ε'),
-    (0x1D73B, 'M', 'ζ'),
-    (0x1D73C, 'M', 'η'),
-    (0x1D73D, 'M', 'θ'),
-    (0x1D73E, 'M', 'ι'),
-    (0x1D73F, 'M', 'κ'),
-    (0x1D740, 'M', 'λ'),
-    (0x1D741, 'M', 'μ'),
-    (0x1D742, 'M', 'ν'),
-    (0x1D743, 'M', 'ξ'),
-    (0x1D744, 'M', 'ο'),
-    (0x1D745, 'M', 'π'),
-    (0x1D746, 'M', 'ρ'),
-    (0x1D747, 'M', 'σ'),
-    (0x1D749, 'M', 'τ'),
-    (0x1D74A, 'M', 'υ'),
+        (0x1D6E9, "M", "θ"),
+        (0x1D6EA, "M", "ι"),
+        (0x1D6EB, "M", "κ"),
+        (0x1D6EC, "M", "λ"),
+        (0x1D6ED, "M", "μ"),
+        (0x1D6EE, "M", "ν"),
+        (0x1D6EF, "M", "ξ"),
+        (0x1D6F0, "M", "ο"),
+        (0x1D6F1, "M", "π"),
+        (0x1D6F2, "M", "ρ"),
+        (0x1D6F3, "M", "θ"),
+        (0x1D6F4, "M", "σ"),
+        (0x1D6F5, "M", "τ"),
+        (0x1D6F6, "M", "υ"),
+        (0x1D6F7, "M", "φ"),
+        (0x1D6F8, "M", "χ"),
+        (0x1D6F9, "M", "ψ"),
+        (0x1D6FA, "M", "ω"),
+        (0x1D6FB, "M", "∇"),
+        (0x1D6FC, "M", "α"),
+        (0x1D6FD, "M", "β"),
+        (0x1D6FE, "M", "γ"),
+        (0x1D6FF, "M", "δ"),
+        (0x1D700, "M", "ε"),
+        (0x1D701, "M", "ζ"),
+        (0x1D702, "M", "η"),
+        (0x1D703, "M", "θ"),
+        (0x1D704, "M", "ι"),
+        (0x1D705, "M", "κ"),
+        (0x1D706, "M", "λ"),
+        (0x1D707, "M", "μ"),
+        (0x1D708, "M", "ν"),
+        (0x1D709, "M", "ξ"),
+        (0x1D70A, "M", "ο"),
+        (0x1D70B, "M", "π"),
+        (0x1D70C, "M", "ρ"),
+        (0x1D70D, "M", "σ"),
+        (0x1D70F, "M", "τ"),
+        (0x1D710, "M", "υ"),
+        (0x1D711, "M", "φ"),
+        (0x1D712, "M", "χ"),
+        (0x1D713, "M", "ψ"),
+        (0x1D714, "M", "ω"),
+        (0x1D715, "M", "∂"),
+        (0x1D716, "M", "ε"),
+        (0x1D717, "M", "θ"),
+        (0x1D718, "M", "κ"),
+        (0x1D719, "M", "φ"),
+        (0x1D71A, "M", "ρ"),
+        (0x1D71B, "M", "π"),
+        (0x1D71C, "M", "α"),
+        (0x1D71D, "M", "β"),
+        (0x1D71E, "M", "γ"),
+        (0x1D71F, "M", "δ"),
+        (0x1D720, "M", "ε"),
+        (0x1D721, "M", "ζ"),
+        (0x1D722, "M", "η"),
+        (0x1D723, "M", "θ"),
+        (0x1D724, "M", "ι"),
+        (0x1D725, "M", "κ"),
+        (0x1D726, "M", "λ"),
+        (0x1D727, "M", "μ"),
+        (0x1D728, "M", "ν"),
+        (0x1D729, "M", "ξ"),
+        (0x1D72A, "M", "ο"),
+        (0x1D72B, "M", "π"),
+        (0x1D72C, "M", "ρ"),
+        (0x1D72D, "M", "θ"),
+        (0x1D72E, "M", "σ"),
+        (0x1D72F, "M", "τ"),
+        (0x1D730, "M", "υ"),
+        (0x1D731, "M", "φ"),
+        (0x1D732, "M", "χ"),
+        (0x1D733, "M", "ψ"),
+        (0x1D734, "M", "ω"),
+        (0x1D735, "M", "∇"),
+        (0x1D736, "M", "α"),
+        (0x1D737, "M", "β"),
+        (0x1D738, "M", "γ"),
+        (0x1D739, "M", "δ"),
+        (0x1D73A, "M", "ε"),
+        (0x1D73B, "M", "ζ"),
+        (0x1D73C, "M", "η"),
+        (0x1D73D, "M", "θ"),
+        (0x1D73E, "M", "ι"),
+        (0x1D73F, "M", "κ"),
+        (0x1D740, "M", "λ"),
+        (0x1D741, "M", "μ"),
+        (0x1D742, "M", "ν"),
+        (0x1D743, "M", "ξ"),
+        (0x1D744, "M", "ο"),
+        (0x1D745, "M", "π"),
+        (0x1D746, "M", "ρ"),
+        (0x1D747, "M", "σ"),
+        (0x1D749, "M", "τ"),
+        (0x1D74A, "M", "υ"),
+        (0x1D74B, "M", "φ"),
+        (0x1D74C, "M", "χ"),
+        (0x1D74D, "M", "ψ"),
+        (0x1D74E, "M", "ω"),
     ]
 
+
 def _seg_69() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1D74B, 'M', 'φ'),
-    (0x1D74C, 'M', 'χ'),
-    (0x1D74D, 'M', 'ψ'),
-    (0x1D74E, 'M', 'ω'),
-    (0x1D74F, 'M', '∂'),
-    (0x1D750, 'M', 'ε'),
-    (0x1D751, 'M', 'θ'),
-    (0x1D752, 'M', 'κ'),
-    (0x1D753, 'M', 'φ'),
-    (0x1D754, 'M', 'ρ'),
-    (0x1D755, 'M', 'π'),
-    (0x1D756, 'M', 'α'),
-    (0x1D757, 'M', 'β'),
-    (0x1D758, 'M', 'γ'),
-    (0x1D759, 'M', 'δ'),
-    (0x1D75A, 'M', 'ε'),
-    (0x1D75B, 'M', 'ζ'),
-    (0x1D75C, 'M', 'η'),
-    (0x1D75D, 'M', 'θ'),
-    (0x1D75E, 'M', 'ι'),
-    (0x1D75F, 'M', 'κ'),
-    (0x1D760, 'M', 'λ'),
-    (0x1D761, 'M', 'μ'),
-    (0x1D762, 'M', 'ν'),
-    (0x1D763, 'M', 'ξ'),
-    (0x1D764, 'M', 'ο'),
-    (0x1D765, 'M', 'π'),
-    (0x1D766, 'M', 'ρ'),
-    (0x1D767, 'M', 'θ'),
-    (0x1D768, 'M', 'σ'),
-    (0x1D769, 'M', 'τ'),
-    (0x1D76A, 'M', 'υ'),
-    (0x1D76B, 'M', 'φ'),
-    (0x1D76C, 'M', 'χ'),
-    (0x1D76D, 'M', 'ψ'),
-    (0x1D76E, 'M', 'ω'),
-    (0x1D76F, 'M', '∇'),
-    (0x1D770, 'M', 'α'),
-    (0x1D771, 'M', 'β'),
-    (0x1D772, 'M', 'γ'),
-    (0x1D773, 'M', 'δ'),
-    (0x1D774, 'M', 'ε'),
-    (0x1D775, 'M', 'ζ'),
-    (0x1D776, 'M', 'η'),
-    (0x1D777, 'M', 'θ'),
-    (0x1D778, 'M', 'ι'),
-    (0x1D779, 'M', 'κ'),
-    (0x1D77A, 'M', 'λ'),
-    (0x1D77B, 'M', 'μ'),
-    (0x1D77C, 'M', 'ν'),
-    (0x1D77D, 'M', 'ξ'),
-    (0x1D77E, 'M', 'ο'),
-    (0x1D77F, 'M', 'π'),
-    (0x1D780, 'M', 'ρ'),
-    (0x1D781, 'M', 'σ'),
-    (0x1D783, 'M', 'τ'),
-    (0x1D784, 'M', 'υ'),
-    (0x1D785, 'M', 'φ'),
-    (0x1D786, 'M', 'χ'),
-    (0x1D787, 'M', 'ψ'),
-    (0x1D788, 'M', 'ω'),
-    (0x1D789, 'M', '∂'),
-    (0x1D78A, 'M', 'ε'),
-    (0x1D78B, 'M', 'θ'),
-    (0x1D78C, 'M', 'κ'),
-    (0x1D78D, 'M', 'φ'),
-    (0x1D78E, 'M', 'ρ'),
-    (0x1D78F, 'M', 'π'),
-    (0x1D790, 'M', 'α'),
-    (0x1D791, 'M', 'β'),
-    (0x1D792, 'M', 'γ'),
-    (0x1D793, 'M', 'δ'),
-    (0x1D794, 'M', 'ε'),
-    (0x1D795, 'M', 'ζ'),
-    (0x1D796, 'M', 'η'),
-    (0x1D797, 'M', 'θ'),
-    (0x1D798, 'M', 'ι'),
-    (0x1D799, 'M', 'κ'),
-    (0x1D79A, 'M', 'λ'),
-    (0x1D79B, 'M', 'μ'),
-    (0x1D79C, 'M', 'ν'),
-    (0x1D79D, 'M', 'ξ'),
-    (0x1D79E, 'M', 'ο'),
-    (0x1D79F, 'M', 'π'),
-    (0x1D7A0, 'M', 'ρ'),
-    (0x1D7A1, 'M', 'θ'),
-    (0x1D7A2, 'M', 'σ'),
-    (0x1D7A3, 'M', 'τ'),
-    (0x1D7A4, 'M', 'υ'),
-    (0x1D7A5, 'M', 'φ'),
-    (0x1D7A6, 'M', 'χ'),
-    (0x1D7A7, 'M', 'ψ'),
-    (0x1D7A8, 'M', 'ω'),
-    (0x1D7A9, 'M', '∇'),
-    (0x1D7AA, 'M', 'α'),
-    (0x1D7AB, 'M', 'β'),
-    (0x1D7AC, 'M', 'γ'),
-    (0x1D7AD, 'M', 'δ'),
-    (0x1D7AE, 'M', 'ε'),
-    (0x1D7AF, 'M', 'ζ'),
+        (0x1D74F, "M", "∂"),
+        (0x1D750, "M", "ε"),
+        (0x1D751, "M", "θ"),
+        (0x1D752, "M", "κ"),
+        (0x1D753, "M", "φ"),
+        (0x1D754, "M", "ρ"),
+        (0x1D755, "M", "π"),
+        (0x1D756, "M", "α"),
+        (0x1D757, "M", "β"),
+        (0x1D758, "M", "γ"),
+        (0x1D759, "M", "δ"),
+        (0x1D75A, "M", "ε"),
+        (0x1D75B, "M", "ζ"),
+        (0x1D75C, "M", "η"),
+        (0x1D75D, "M", "θ"),
+        (0x1D75E, "M", "ι"),
+        (0x1D75F, "M", "κ"),
+        (0x1D760, "M", "λ"),
+        (0x1D761, "M", "μ"),
+        (0x1D762, "M", "ν"),
+        (0x1D763, "M", "ξ"),
+        (0x1D764, "M", "ο"),
+        (0x1D765, "M", "π"),
+        (0x1D766, "M", "ρ"),
+        (0x1D767, "M", "θ"),
+        (0x1D768, "M", "σ"),
+        (0x1D769, "M", "τ"),
+        (0x1D76A, "M", "υ"),
+        (0x1D76B, "M", "φ"),
+        (0x1D76C, "M", "χ"),
+        (0x1D76D, "M", "ψ"),
+        (0x1D76E, "M", "ω"),
+        (0x1D76F, "M", "∇"),
+        (0x1D770, "M", "α"),
+        (0x1D771, "M", "β"),
+        (0x1D772, "M", "γ"),
+        (0x1D773, "M", "δ"),
+        (0x1D774, "M", "ε"),
+        (0x1D775, "M", "ζ"),
+        (0x1D776, "M", "η"),
+        (0x1D777, "M", "θ"),
+        (0x1D778, "M", "ι"),
+        (0x1D779, "M", "κ"),
+        (0x1D77A, "M", "λ"),
+        (0x1D77B, "M", "μ"),
+        (0x1D77C, "M", "ν"),
+        (0x1D77D, "M", "ξ"),
+        (0x1D77E, "M", "ο"),
+        (0x1D77F, "M", "π"),
+        (0x1D780, "M", "ρ"),
+        (0x1D781, "M", "σ"),
+        (0x1D783, "M", "τ"),
+        (0x1D784, "M", "υ"),
+        (0x1D785, "M", "φ"),
+        (0x1D786, "M", "χ"),
+        (0x1D787, "M", "ψ"),
+        (0x1D788, "M", "ω"),
+        (0x1D789, "M", "∂"),
+        (0x1D78A, "M", "ε"),
+        (0x1D78B, "M", "θ"),
+        (0x1D78C, "M", "κ"),
+        (0x1D78D, "M", "φ"),
+        (0x1D78E, "M", "ρ"),
+        (0x1D78F, "M", "π"),
+        (0x1D790, "M", "α"),
+        (0x1D791, "M", "β"),
+        (0x1D792, "M", "γ"),
+        (0x1D793, "M", "δ"),
+        (0x1D794, "M", "ε"),
+        (0x1D795, "M", "ζ"),
+        (0x1D796, "M", "η"),
+        (0x1D797, "M", "θ"),
+        (0x1D798, "M", "ι"),
+        (0x1D799, "M", "κ"),
+        (0x1D79A, "M", "λ"),
+        (0x1D79B, "M", "μ"),
+        (0x1D79C, "M", "ν"),
+        (0x1D79D, "M", "ξ"),
+        (0x1D79E, "M", "ο"),
+        (0x1D79F, "M", "π"),
+        (0x1D7A0, "M", "ρ"),
+        (0x1D7A1, "M", "θ"),
+        (0x1D7A2, "M", "σ"),
+        (0x1D7A3, "M", "τ"),
+        (0x1D7A4, "M", "υ"),
+        (0x1D7A5, "M", "φ"),
+        (0x1D7A6, "M", "χ"),
+        (0x1D7A7, "M", "ψ"),
+        (0x1D7A8, "M", "ω"),
+        (0x1D7A9, "M", "∇"),
+        (0x1D7AA, "M", "α"),
+        (0x1D7AB, "M", "β"),
+        (0x1D7AC, "M", "γ"),
+        (0x1D7AD, "M", "δ"),
+        (0x1D7AE, "M", "ε"),
+        (0x1D7AF, "M", "ζ"),
+        (0x1D7B0, "M", "η"),
+        (0x1D7B1, "M", "θ"),
+        (0x1D7B2, "M", "ι"),
+        (0x1D7B3, "M", "κ"),
     ]
 
+
 def _seg_70() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1D7B0, 'M', 'η'),
-    (0x1D7B1, 'M', 'θ'),
-    (0x1D7B2, 'M', 'ι'),
-    (0x1D7B3, 'M', 'κ'),
-    (0x1D7B4, 'M', 'λ'),
-    (0x1D7B5, 'M', 'μ'),
-    (0x1D7B6, 'M', 'ν'),
-    (0x1D7B7, 'M', 'ξ'),
-    (0x1D7B8, 'M', 'ο'),
-    (0x1D7B9, 'M', 'π'),
-    (0x1D7BA, 'M', 'ρ'),
-    (0x1D7BB, 'M', 'σ'),
-    (0x1D7BD, 'M', 'τ'),
-    (0x1D7BE, 'M', 'υ'),
-    (0x1D7BF, 'M', 'φ'),
-    (0x1D7C0, 'M', 'χ'),
-    (0x1D7C1, 'M', 'ψ'),
-    (0x1D7C2, 'M', 'ω'),
-    (0x1D7C3, 'M', '∂'),
-    (0x1D7C4, 'M', 'ε'),
-    (0x1D7C5, 'M', 'θ'),
-    (0x1D7C6, 'M', 'κ'),
-    (0x1D7C7, 'M', 'φ'),
-    (0x1D7C8, 'M', 'ρ'),
-    (0x1D7C9, 'M', 'π'),
-    (0x1D7CA, 'M', 'ϝ'),
-    (0x1D7CC, 'X'),
-    (0x1D7CE, 'M', '0'),
-    (0x1D7CF, 'M', '1'),
-    (0x1D7D0, 'M', '2'),
-    (0x1D7D1, 'M', '3'),
-    (0x1D7D2, 'M', '4'),
-    (0x1D7D3, 'M', '5'),
-    (0x1D7D4, 'M', '6'),
-    (0x1D7D5, 'M', '7'),
-    (0x1D7D6, 'M', '8'),
-    (0x1D7D7, 'M', '9'),
-    (0x1D7D8, 'M', '0'),
-    (0x1D7D9, 'M', '1'),
-    (0x1D7DA, 'M', '2'),
-    (0x1D7DB, 'M', '3'),
-    (0x1D7DC, 'M', '4'),
-    (0x1D7DD, 'M', '5'),
-    (0x1D7DE, 'M', '6'),
-    (0x1D7DF, 'M', '7'),
-    (0x1D7E0, 'M', '8'),
-    (0x1D7E1, 'M', '9'),
-    (0x1D7E2, 'M', '0'),
-    (0x1D7E3, 'M', '1'),
-    (0x1D7E4, 'M', '2'),
-    (0x1D7E5, 'M', '3'),
-    (0x1D7E6, 'M', '4'),
-    (0x1D7E7, 'M', '5'),
-    (0x1D7E8, 'M', '6'),
-    (0x1D7E9, 'M', '7'),
-    (0x1D7EA, 'M', '8'),
-    (0x1D7EB, 'M', '9'),
-    (0x1D7EC, 'M', '0'),
-    (0x1D7ED, 'M', '1'),
-    (0x1D7EE, 'M', '2'),
-    (0x1D7EF, 'M', '3'),
-    (0x1D7F0, 'M', '4'),
-    (0x1D7F1, 'M', '5'),
-    (0x1D7F2, 'M', '6'),
-    (0x1D7F3, 'M', '7'),
-    (0x1D7F4, 'M', '8'),
-    (0x1D7F5, 'M', '9'),
-    (0x1D7F6, 'M', '0'),
-    (0x1D7F7, 'M', '1'),
-    (0x1D7F8, 'M', '2'),
-    (0x1D7F9, 'M', '3'),
-    (0x1D7FA, 'M', '4'),
-    (0x1D7FB, 'M', '5'),
-    (0x1D7FC, 'M', '6'),
-    (0x1D7FD, 'M', '7'),
-    (0x1D7FE, 'M', '8'),
-    (0x1D7FF, 'M', '9'),
-    (0x1D800, 'V'),
-    (0x1DA8C, 'X'),
-    (0x1DA9B, 'V'),
-    (0x1DAA0, 'X'),
-    (0x1DAA1, 'V'),
-    (0x1DAB0, 'X'),
-    (0x1DF00, 'V'),
-    (0x1DF1F, 'X'),
-    (0x1DF25, 'V'),
-    (0x1DF2B, 'X'),
-    (0x1E000, 'V'),
-    (0x1E007, 'X'),
-    (0x1E008, 'V'),
-    (0x1E019, 'X'),
-    (0x1E01B, 'V'),
-    (0x1E022, 'X'),
-    (0x1E023, 'V'),
-    (0x1E025, 'X'),
-    (0x1E026, 'V'),
-    (0x1E02B, 'X'),
-    (0x1E030, 'M', 'а'),
-    (0x1E031, 'M', 'б'),
-    (0x1E032, 'M', 'в'),
+        (0x1D7B4, "M", "λ"),
+        (0x1D7B5, "M", "μ"),
+        (0x1D7B6, "M", "ν"),
+        (0x1D7B7, "M", "ξ"),
+        (0x1D7B8, "M", "ο"),
+        (0x1D7B9, "M", "π"),
+        (0x1D7BA, "M", "ρ"),
+        (0x1D7BB, "M", "σ"),
+        (0x1D7BD, "M", "τ"),
+        (0x1D7BE, "M", "υ"),
+        (0x1D7BF, "M", "φ"),
+        (0x1D7C0, "M", "χ"),
+        (0x1D7C1, "M", "ψ"),
+        (0x1D7C2, "M", "ω"),
+        (0x1D7C3, "M", "∂"),
+        (0x1D7C4, "M", "ε"),
+        (0x1D7C5, "M", "θ"),
+        (0x1D7C6, "M", "κ"),
+        (0x1D7C7, "M", "φ"),
+        (0x1D7C8, "M", "ρ"),
+        (0x1D7C9, "M", "π"),
+        (0x1D7CA, "M", "ϝ"),
+        (0x1D7CC, "X"),
+        (0x1D7CE, "M", "0"),
+        (0x1D7CF, "M", "1"),
+        (0x1D7D0, "M", "2"),
+        (0x1D7D1, "M", "3"),
+        (0x1D7D2, "M", "4"),
+        (0x1D7D3, "M", "5"),
+        (0x1D7D4, "M", "6"),
+        (0x1D7D5, "M", "7"),
+        (0x1D7D6, "M", "8"),
+        (0x1D7D7, "M", "9"),
+        (0x1D7D8, "M", "0"),
+        (0x1D7D9, "M", "1"),
+        (0x1D7DA, "M", "2"),
+        (0x1D7DB, "M", "3"),
+        (0x1D7DC, "M", "4"),
+        (0x1D7DD, "M", "5"),
+        (0x1D7DE, "M", "6"),
+        (0x1D7DF, "M", "7"),
+        (0x1D7E0, "M", "8"),
+        (0x1D7E1, "M", "9"),
+        (0x1D7E2, "M", "0"),
+        (0x1D7E3, "M", "1"),
+        (0x1D7E4, "M", "2"),
+        (0x1D7E5, "M", "3"),
+        (0x1D7E6, "M", "4"),
+        (0x1D7E7, "M", "5"),
+        (0x1D7E8, "M", "6"),
+        (0x1D7E9, "M", "7"),
+        (0x1D7EA, "M", "8"),
+        (0x1D7EB, "M", "9"),
+        (0x1D7EC, "M", "0"),
+        (0x1D7ED, "M", "1"),
+        (0x1D7EE, "M", "2"),
+        (0x1D7EF, "M", "3"),
+        (0x1D7F0, "M", "4"),
+        (0x1D7F1, "M", "5"),
+        (0x1D7F2, "M", "6"),
+        (0x1D7F3, "M", "7"),
+        (0x1D7F4, "M", "8"),
+        (0x1D7F5, "M", "9"),
+        (0x1D7F6, "M", "0"),
+        (0x1D7F7, "M", "1"),
+        (0x1D7F8, "M", "2"),
+        (0x1D7F9, "M", "3"),
+        (0x1D7FA, "M", "4"),
+        (0x1D7FB, "M", "5"),
+        (0x1D7FC, "M", "6"),
+        (0x1D7FD, "M", "7"),
+        (0x1D7FE, "M", "8"),
+        (0x1D7FF, "M", "9"),
+        (0x1D800, "V"),
+        (0x1DA8C, "X"),
+        (0x1DA9B, "V"),
+        (0x1DAA0, "X"),
+        (0x1DAA1, "V"),
+        (0x1DAB0, "X"),
+        (0x1DF00, "V"),
+        (0x1DF1F, "X"),
+        (0x1DF25, "V"),
+        (0x1DF2B, "X"),
+        (0x1E000, "V"),
+        (0x1E007, "X"),
+        (0x1E008, "V"),
+        (0x1E019, "X"),
+        (0x1E01B, "V"),
+        (0x1E022, "X"),
+        (0x1E023, "V"),
+        (0x1E025, "X"),
+        (0x1E026, "V"),
+        (0x1E02B, "X"),
+        (0x1E030, "M", "а"),
+        (0x1E031, "M", "б"),
+        (0x1E032, "M", "в"),
+        (0x1E033, "M", "г"),
+        (0x1E034, "M", "д"),
+        (0x1E035, "M", "е"),
+        (0x1E036, "M", "ж"),
     ]
 
+
 def _seg_71() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1E033, 'M', 'г'),
-    (0x1E034, 'M', 'д'),
-    (0x1E035, 'M', 'е'),
-    (0x1E036, 'M', 'ж'),
-    (0x1E037, 'M', 'з'),
-    (0x1E038, 'M', 'и'),
-    (0x1E039, 'M', 'к'),
-    (0x1E03A, 'M', 'л'),
-    (0x1E03B, 'M', 'м'),
-    (0x1E03C, 'M', 'о'),
-    (0x1E03D, 'M', 'п'),
-    (0x1E03E, 'M', 'р'),
-    (0x1E03F, 'M', 'с'),
-    (0x1E040, 'M', 'т'),
-    (0x1E041, 'M', 'у'),
-    (0x1E042, 'M', 'ф'),
-    (0x1E043, 'M', 'х'),
-    (0x1E044, 'M', 'ц'),
-    (0x1E045, 'M', 'ч'),
-    (0x1E046, 'M', 'ш'),
-    (0x1E047, 'M', 'ы'),
-    (0x1E048, 'M', 'э'),
-    (0x1E049, 'M', 'ю'),
-    (0x1E04A, 'M', 'ꚉ'),
-    (0x1E04B, 'M', 'ә'),
-    (0x1E04C, 'M', 'і'),
-    (0x1E04D, 'M', 'ј'),
-    (0x1E04E, 'M', 'ө'),
-    (0x1E04F, 'M', 'ү'),
-    (0x1E050, 'M', 'ӏ'),
-    (0x1E051, 'M', 'а'),
-    (0x1E052, 'M', 'б'),
-    (0x1E053, 'M', 'в'),
-    (0x1E054, 'M', 'г'),
-    (0x1E055, 'M', 'д'),
-    (0x1E056, 'M', 'е'),
-    (0x1E057, 'M', 'ж'),
-    (0x1E058, 'M', 'з'),
-    (0x1E059, 'M', 'и'),
-    (0x1E05A, 'M', 'к'),
-    (0x1E05B, 'M', 'л'),
-    (0x1E05C, 'M', 'о'),
-    (0x1E05D, 'M', 'п'),
-    (0x1E05E, 'M', 'с'),
-    (0x1E05F, 'M', 'у'),
-    (0x1E060, 'M', 'ф'),
-    (0x1E061, 'M', 'х'),
-    (0x1E062, 'M', 'ц'),
-    (0x1E063, 'M', 'ч'),
-    (0x1E064, 'M', 'ш'),
-    (0x1E065, 'M', 'ъ'),
-    (0x1E066, 'M', 'ы'),
-    (0x1E067, 'M', 'ґ'),
-    (0x1E068, 'M', 'і'),
-    (0x1E069, 'M', 'ѕ'),
-    (0x1E06A, 'M', 'џ'),
-    (0x1E06B, 'M', 'ҫ'),
-    (0x1E06C, 'M', 'ꙑ'),
-    (0x1E06D, 'M', 'ұ'),
-    (0x1E06E, 'X'),
-    (0x1E08F, 'V'),
-    (0x1E090, 'X'),
-    (0x1E100, 'V'),
-    (0x1E12D, 'X'),
-    (0x1E130, 'V'),
-    (0x1E13E, 'X'),
-    (0x1E140, 'V'),
-    (0x1E14A, 'X'),
-    (0x1E14E, 'V'),
-    (0x1E150, 'X'),
-    (0x1E290, 'V'),
-    (0x1E2AF, 'X'),
-    (0x1E2C0, 'V'),
-    (0x1E2FA, 'X'),
-    (0x1E2FF, 'V'),
-    (0x1E300, 'X'),
-    (0x1E4D0, 'V'),
-    (0x1E4FA, 'X'),
-    (0x1E7E0, 'V'),
-    (0x1E7E7, 'X'),
-    (0x1E7E8, 'V'),
-    (0x1E7EC, 'X'),
-    (0x1E7ED, 'V'),
-    (0x1E7EF, 'X'),
-    (0x1E7F0, 'V'),
-    (0x1E7FF, 'X'),
-    (0x1E800, 'V'),
-    (0x1E8C5, 'X'),
-    (0x1E8C7, 'V'),
-    (0x1E8D7, 'X'),
-    (0x1E900, 'M', '𞤢'),
-    (0x1E901, 'M', '𞤣'),
-    (0x1E902, 'M', '𞤤'),
-    (0x1E903, 'M', '𞤥'),
-    (0x1E904, 'M', '𞤦'),
-    (0x1E905, 'M', '𞤧'),
-    (0x1E906, 'M', '𞤨'),
-    (0x1E907, 'M', '𞤩'),
-    (0x1E908, 'M', '𞤪'),
-    (0x1E909, 'M', '𞤫'),
+        (0x1E037, "M", "з"),
+        (0x1E038, "M", "и"),
+        (0x1E039, "M", "к"),
+        (0x1E03A, "M", "л"),
+        (0x1E03B, "M", "м"),
+        (0x1E03C, "M", "о"),
+        (0x1E03D, "M", "п"),
+        (0x1E03E, "M", "р"),
+        (0x1E03F, "M", "с"),
+        (0x1E040, "M", "т"),
+        (0x1E041, "M", "у"),
+        (0x1E042, "M", "ф"),
+        (0x1E043, "M", "х"),
+        (0x1E044, "M", "ц"),
+        (0x1E045, "M", "ч"),
+        (0x1E046, "M", "ш"),
+        (0x1E047, "M", "ы"),
+        (0x1E048, "M", "э"),
+        (0x1E049, "M", "ю"),
+        (0x1E04A, "M", "ꚉ"),
+        (0x1E04B, "M", "ә"),
+        (0x1E04C, "M", "і"),
+        (0x1E04D, "M", "ј"),
+        (0x1E04E, "M", "ө"),
+        (0x1E04F, "M", "ү"),
+        (0x1E050, "M", "ӏ"),
+        (0x1E051, "M", "а"),
+        (0x1E052, "M", "б"),
+        (0x1E053, "M", "в"),
+        (0x1E054, "M", "г"),
+        (0x1E055, "M", "д"),
+        (0x1E056, "M", "е"),
+        (0x1E057, "M", "ж"),
+        (0x1E058, "M", "з"),
+        (0x1E059, "M", "и"),
+        (0x1E05A, "M", "к"),
+        (0x1E05B, "M", "л"),
+        (0x1E05C, "M", "о"),
+        (0x1E05D, "M", "п"),
+        (0x1E05E, "M", "с"),
+        (0x1E05F, "M", "у"),
+        (0x1E060, "M", "ф"),
+        (0x1E061, "M", "х"),
+        (0x1E062, "M", "ц"),
+        (0x1E063, "M", "ч"),
+        (0x1E064, "M", "ш"),
+        (0x1E065, "M", "ъ"),
+        (0x1E066, "M", "ы"),
+        (0x1E067, "M", "ґ"),
+        (0x1E068, "M", "і"),
+        (0x1E069, "M", "ѕ"),
+        (0x1E06A, "M", "џ"),
+        (0x1E06B, "M", "ҫ"),
+        (0x1E06C, "M", "ꙑ"),
+        (0x1E06D, "M", "ұ"),
+        (0x1E06E, "X"),
+        (0x1E08F, "V"),
+        (0x1E090, "X"),
+        (0x1E100, "V"),
+        (0x1E12D, "X"),
+        (0x1E130, "V"),
+        (0x1E13E, "X"),
+        (0x1E140, "V"),
+        (0x1E14A, "X"),
+        (0x1E14E, "V"),
+        (0x1E150, "X"),
+        (0x1E290, "V"),
+        (0x1E2AF, "X"),
+        (0x1E2C0, "V"),
+        (0x1E2FA, "X"),
+        (0x1E2FF, "V"),
+        (0x1E300, "X"),
+        (0x1E4D0, "V"),
+        (0x1E4FA, "X"),
+        (0x1E7E0, "V"),
+        (0x1E7E7, "X"),
+        (0x1E7E8, "V"),
+        (0x1E7EC, "X"),
+        (0x1E7ED, "V"),
+        (0x1E7EF, "X"),
+        (0x1E7F0, "V"),
+        (0x1E7FF, "X"),
+        (0x1E800, "V"),
+        (0x1E8C5, "X"),
+        (0x1E8C7, "V"),
+        (0x1E8D7, "X"),
+        (0x1E900, "M", "𞤢"),
+        (0x1E901, "M", "𞤣"),
+        (0x1E902, "M", "𞤤"),
+        (0x1E903, "M", "𞤥"),
+        (0x1E904, "M", "𞤦"),
+        (0x1E905, "M", "𞤧"),
+        (0x1E906, "M", "𞤨"),
+        (0x1E907, "M", "𞤩"),
+        (0x1E908, "M", "𞤪"),
+        (0x1E909, "M", "𞤫"),
+        (0x1E90A, "M", "𞤬"),
+        (0x1E90B, "M", "𞤭"),
+        (0x1E90C, "M", "𞤮"),
+        (0x1E90D, "M", "𞤯"),
     ]
 
+
 def _seg_72() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1E90A, 'M', '𞤬'),
-    (0x1E90B, 'M', '𞤭'),
-    (0x1E90C, 'M', '𞤮'),
-    (0x1E90D, 'M', '𞤯'),
-    (0x1E90E, 'M', '𞤰'),
-    (0x1E90F, 'M', '𞤱'),
-    (0x1E910, 'M', '𞤲'),
-    (0x1E911, 'M', '𞤳'),
-    (0x1E912, 'M', '𞤴'),
-    (0x1E913, 'M', '𞤵'),
-    (0x1E914, 'M', '𞤶'),
-    (0x1E915, 'M', '𞤷'),
-    (0x1E916, 'M', '𞤸'),
-    (0x1E917, 'M', '𞤹'),
-    (0x1E918, 'M', '𞤺'),
-    (0x1E919, 'M', '𞤻'),
-    (0x1E91A, 'M', '𞤼'),
-    (0x1E91B, 'M', '𞤽'),
-    (0x1E91C, 'M', '𞤾'),
-    (0x1E91D, 'M', '𞤿'),
-    (0x1E91E, 'M', '𞥀'),
-    (0x1E91F, 'M', '𞥁'),
-    (0x1E920, 'M', '𞥂'),
-    (0x1E921, 'M', '𞥃'),
-    (0x1E922, 'V'),
-    (0x1E94C, 'X'),
-    (0x1E950, 'V'),
-    (0x1E95A, 'X'),
-    (0x1E95E, 'V'),
-    (0x1E960, 'X'),
-    (0x1EC71, 'V'),
-    (0x1ECB5, 'X'),
-    (0x1ED01, 'V'),
-    (0x1ED3E, 'X'),
-    (0x1EE00, 'M', 'ا'),
-    (0x1EE01, 'M', 'ب'),
-    (0x1EE02, 'M', 'ج'),
-    (0x1EE03, 'M', 'د'),
-    (0x1EE04, 'X'),
-    (0x1EE05, 'M', 'و'),
-    (0x1EE06, 'M', 'ز'),
-    (0x1EE07, 'M', 'ح'),
-    (0x1EE08, 'M', 'ط'),
-    (0x1EE09, 'M', 'ي'),
-    (0x1EE0A, 'M', 'ك'),
-    (0x1EE0B, 'M', 'ل'),
-    (0x1EE0C, 'M', 'م'),
-    (0x1EE0D, 'M', 'ن'),
-    (0x1EE0E, 'M', 'س'),
-    (0x1EE0F, 'M', 'ع'),
-    (0x1EE10, 'M', 'ف'),
-    (0x1EE11, 'M', 'ص'),
-    (0x1EE12, 'M', 'ق'),
-    (0x1EE13, 'M', 'ر'),
-    (0x1EE14, 'M', 'ش'),
-    (0x1EE15, 'M', 'ت'),
-    (0x1EE16, 'M', 'ث'),
-    (0x1EE17, 'M', 'خ'),
-    (0x1EE18, 'M', 'ذ'),
-    (0x1EE19, 'M', 'ض'),
-    (0x1EE1A, 'M', 'ظ'),
-    (0x1EE1B, 'M', 'غ'),
-    (0x1EE1C, 'M', 'ٮ'),
-    (0x1EE1D, 'M', 'ں'),
-    (0x1EE1E, 'M', 'ڡ'),
-    (0x1EE1F, 'M', 'ٯ'),
-    (0x1EE20, 'X'),
-    (0x1EE21, 'M', 'ب'),
-    (0x1EE22, 'M', 'ج'),
-    (0x1EE23, 'X'),
-    (0x1EE24, 'M', 'ه'),
-    (0x1EE25, 'X'),
-    (0x1EE27, 'M', 'ح'),
-    (0x1EE28, 'X'),
-    (0x1EE29, 'M', 'ي'),
-    (0x1EE2A, 'M', 'ك'),
-    (0x1EE2B, 'M', 'ل'),
-    (0x1EE2C, 'M', 'م'),
-    (0x1EE2D, 'M', 'ن'),
-    (0x1EE2E, 'M', 'س'),
-    (0x1EE2F, 'M', 'ع'),
-    (0x1EE30, 'M', 'ف'),
-    (0x1EE31, 'M', 'ص'),
-    (0x1EE32, 'M', 'ق'),
-    (0x1EE33, 'X'),
-    (0x1EE34, 'M', 'ش'),
-    (0x1EE35, 'M', 'ت'),
-    (0x1EE36, 'M', 'ث'),
-    (0x1EE37, 'M', 'خ'),
-    (0x1EE38, 'X'),
-    (0x1EE39, 'M', 'ض'),
-    (0x1EE3A, 'X'),
-    (0x1EE3B, 'M', 'غ'),
-    (0x1EE3C, 'X'),
-    (0x1EE42, 'M', 'ج'),
-    (0x1EE43, 'X'),
-    (0x1EE47, 'M', 'ح'),
-    (0x1EE48, 'X'),
-    (0x1EE49, 'M', 'ي'),
-    (0x1EE4A, 'X'),
+        (0x1E90E, "M", "𞤰"),
+        (0x1E90F, "M", "𞤱"),
+        (0x1E910, "M", "𞤲"),
+        (0x1E911, "M", "𞤳"),
+        (0x1E912, "M", "𞤴"),
+        (0x1E913, "M", "𞤵"),
+        (0x1E914, "M", "𞤶"),
+        (0x1E915, "M", "𞤷"),
+        (0x1E916, "M", "𞤸"),
+        (0x1E917, "M", "𞤹"),
+        (0x1E918, "M", "𞤺"),
+        (0x1E919, "M", "𞤻"),
+        (0x1E91A, "M", "𞤼"),
+        (0x1E91B, "M", "𞤽"),
+        (0x1E91C, "M", "𞤾"),
+        (0x1E91D, "M", "𞤿"),
+        (0x1E91E, "M", "𞥀"),
+        (0x1E91F, "M", "𞥁"),
+        (0x1E920, "M", "𞥂"),
+        (0x1E921, "M", "𞥃"),
+        (0x1E922, "V"),
+        (0x1E94C, "X"),
+        (0x1E950, "V"),
+        (0x1E95A, "X"),
+        (0x1E95E, "V"),
+        (0x1E960, "X"),
+        (0x1EC71, "V"),
+        (0x1ECB5, "X"),
+        (0x1ED01, "V"),
+        (0x1ED3E, "X"),
+        (0x1EE00, "M", "ا"),
+        (0x1EE01, "M", "ب"),
+        (0x1EE02, "M", "ج"),
+        (0x1EE03, "M", "د"),
+        (0x1EE04, "X"),
+        (0x1EE05, "M", "و"),
+        (0x1EE06, "M", "ز"),
+        (0x1EE07, "M", "ح"),
+        (0x1EE08, "M", "ط"),
+        (0x1EE09, "M", "ي"),
+        (0x1EE0A, "M", "ك"),
+        (0x1EE0B, "M", "ل"),
+        (0x1EE0C, "M", "م"),
+        (0x1EE0D, "M", "ن"),
+        (0x1EE0E, "M", "س"),
+        (0x1EE0F, "M", "ع"),
+        (0x1EE10, "M", "ف"),
+        (0x1EE11, "M", "ص"),
+        (0x1EE12, "M", "ق"),
+        (0x1EE13, "M", "ر"),
+        (0x1EE14, "M", "ش"),
+        (0x1EE15, "M", "ت"),
+        (0x1EE16, "M", "ث"),
+        (0x1EE17, "M", "خ"),
+        (0x1EE18, "M", "ذ"),
+        (0x1EE19, "M", "ض"),
+        (0x1EE1A, "M", "ظ"),
+        (0x1EE1B, "M", "غ"),
+        (0x1EE1C, "M", "ٮ"),
+        (0x1EE1D, "M", "ں"),
+        (0x1EE1E, "M", "ڡ"),
+        (0x1EE1F, "M", "ٯ"),
+        (0x1EE20, "X"),
+        (0x1EE21, "M", "ب"),
+        (0x1EE22, "M", "ج"),
+        (0x1EE23, "X"),
+        (0x1EE24, "M", "ه"),
+        (0x1EE25, "X"),
+        (0x1EE27, "M", "ح"),
+        (0x1EE28, "X"),
+        (0x1EE29, "M", "ي"),
+        (0x1EE2A, "M", "ك"),
+        (0x1EE2B, "M", "ل"),
+        (0x1EE2C, "M", "م"),
+        (0x1EE2D, "M", "ن"),
+        (0x1EE2E, "M", "س"),
+        (0x1EE2F, "M", "ع"),
+        (0x1EE30, "M", "ف"),
+        (0x1EE31, "M", "ص"),
+        (0x1EE32, "M", "ق"),
+        (0x1EE33, "X"),
+        (0x1EE34, "M", "ش"),
+        (0x1EE35, "M", "ت"),
+        (0x1EE36, "M", "ث"),
+        (0x1EE37, "M", "خ"),
+        (0x1EE38, "X"),
+        (0x1EE39, "M", "ض"),
+        (0x1EE3A, "X"),
+        (0x1EE3B, "M", "غ"),
+        (0x1EE3C, "X"),
+        (0x1EE42, "M", "ج"),
+        (0x1EE43, "X"),
+        (0x1EE47, "M", "ح"),
+        (0x1EE48, "X"),
+        (0x1EE49, "M", "ي"),
+        (0x1EE4A, "X"),
+        (0x1EE4B, "M", "ل"),
+        (0x1EE4C, "X"),
+        (0x1EE4D, "M", "ن"),
+        (0x1EE4E, "M", "س"),
     ]
 
+
 def _seg_73() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1EE4B, 'M', 'ل'),
-    (0x1EE4C, 'X'),
-    (0x1EE4D, 'M', 'ن'),
-    (0x1EE4E, 'M', 'س'),
-    (0x1EE4F, 'M', 'ع'),
-    (0x1EE50, 'X'),
-    (0x1EE51, 'M', 'ص'),
-    (0x1EE52, 'M', 'ق'),
-    (0x1EE53, 'X'),
-    (0x1EE54, 'M', 'ش'),
-    (0x1EE55, 'X'),
-    (0x1EE57, 'M', 'خ'),
-    (0x1EE58, 'X'),
-    (0x1EE59, 'M', 'ض'),
-    (0x1EE5A, 'X'),
-    (0x1EE5B, 'M', 'غ'),
-    (0x1EE5C, 'X'),
-    (0x1EE5D, 'M', 'ں'),
-    (0x1EE5E, 'X'),
-    (0x1EE5F, 'M', 'ٯ'),
-    (0x1EE60, 'X'),
-    (0x1EE61, 'M', 'ب'),
-    (0x1EE62, 'M', 'ج'),
-    (0x1EE63, 'X'),
-    (0x1EE64, 'M', 'ه'),
-    (0x1EE65, 'X'),
-    (0x1EE67, 'M', 'ح'),
-    (0x1EE68, 'M', 'ط'),
-    (0x1EE69, 'M', 'ي'),
-    (0x1EE6A, 'M', 'ك'),
-    (0x1EE6B, 'X'),
-    (0x1EE6C, 'M', 'م'),
-    (0x1EE6D, 'M', 'ن'),
-    (0x1EE6E, 'M', 'س'),
-    (0x1EE6F, 'M', 'ع'),
-    (0x1EE70, 'M', 'ف'),
-    (0x1EE71, 'M', 'ص'),
-    (0x1EE72, 'M', 'ق'),
-    (0x1EE73, 'X'),
-    (0x1EE74, 'M', 'ش'),
-    (0x1EE75, 'M', 'ت'),
-    (0x1EE76, 'M', 'ث'),
-    (0x1EE77, 'M', 'خ'),
-    (0x1EE78, 'X'),
-    (0x1EE79, 'M', 'ض'),
-    (0x1EE7A, 'M', 'ظ'),
-    (0x1EE7B, 'M', 'غ'),
-    (0x1EE7C, 'M', 'ٮ'),
-    (0x1EE7D, 'X'),
-    (0x1EE7E, 'M', 'ڡ'),
-    (0x1EE7F, 'X'),
-    (0x1EE80, 'M', 'ا'),
-    (0x1EE81, 'M', 'ب'),
-    (0x1EE82, 'M', 'ج'),
-    (0x1EE83, 'M', 'د'),
-    (0x1EE84, 'M', 'ه'),
-    (0x1EE85, 'M', 'و'),
-    (0x1EE86, 'M', 'ز'),
-    (0x1EE87, 'M', 'ح'),
-    (0x1EE88, 'M', 'ط'),
-    (0x1EE89, 'M', 'ي'),
-    (0x1EE8A, 'X'),
-    (0x1EE8B, 'M', 'ل'),
-    (0x1EE8C, 'M', 'م'),
-    (0x1EE8D, 'M', 'ن'),
-    (0x1EE8E, 'M', 'س'),
-    (0x1EE8F, 'M', 'ع'),
-    (0x1EE90, 'M', 'ف'),
-    (0x1EE91, 'M', 'ص'),
-    (0x1EE92, 'M', 'ق'),
-    (0x1EE93, 'M', 'ر'),
-    (0x1EE94, 'M', 'ش'),
-    (0x1EE95, 'M', 'ت'),
-    (0x1EE96, 'M', 'ث'),
-    (0x1EE97, 'M', 'خ'),
-    (0x1EE98, 'M', 'ذ'),
-    (0x1EE99, 'M', 'ض'),
-    (0x1EE9A, 'M', 'ظ'),
-    (0x1EE9B, 'M', 'غ'),
-    (0x1EE9C, 'X'),
-    (0x1EEA1, 'M', 'ب'),
-    (0x1EEA2, 'M', 'ج'),
-    (0x1EEA3, 'M', 'د'),
-    (0x1EEA4, 'X'),
-    (0x1EEA5, 'M', 'و'),
-    (0x1EEA6, 'M', 'ز'),
-    (0x1EEA7, 'M', 'ح'),
-    (0x1EEA8, 'M', 'ط'),
-    (0x1EEA9, 'M', 'ي'),
-    (0x1EEAA, 'X'),
-    (0x1EEAB, 'M', 'ل'),
-    (0x1EEAC, 'M', 'م'),
-    (0x1EEAD, 'M', 'ن'),
-    (0x1EEAE, 'M', 'س'),
-    (0x1EEAF, 'M', 'ع'),
-    (0x1EEB0, 'M', 'ف'),
-    (0x1EEB1, 'M', 'ص'),
-    (0x1EEB2, 'M', 'ق'),
-    (0x1EEB3, 'M', 'ر'),
-    (0x1EEB4, 'M', 'ش'),
+        (0x1EE4F, "M", "ع"),
+        (0x1EE50, "X"),
+        (0x1EE51, "M", "ص"),
+        (0x1EE52, "M", "ق"),
+        (0x1EE53, "X"),
+        (0x1EE54, "M", "ش"),
+        (0x1EE55, "X"),
+        (0x1EE57, "M", "خ"),
+        (0x1EE58, "X"),
+        (0x1EE59, "M", "ض"),
+        (0x1EE5A, "X"),
+        (0x1EE5B, "M", "غ"),
+        (0x1EE5C, "X"),
+        (0x1EE5D, "M", "ں"),
+        (0x1EE5E, "X"),
+        (0x1EE5F, "M", "ٯ"),
+        (0x1EE60, "X"),
+        (0x1EE61, "M", "ب"),
+        (0x1EE62, "M", "ج"),
+        (0x1EE63, "X"),
+        (0x1EE64, "M", "ه"),
+        (0x1EE65, "X"),
+        (0x1EE67, "M", "ح"),
+        (0x1EE68, "M", "ط"),
+        (0x1EE69, "M", "ي"),
+        (0x1EE6A, "M", "ك"),
+        (0x1EE6B, "X"),
+        (0x1EE6C, "M", "م"),
+        (0x1EE6D, "M", "ن"),
+        (0x1EE6E, "M", "س"),
+        (0x1EE6F, "M", "ع"),
+        (0x1EE70, "M", "ف"),
+        (0x1EE71, "M", "ص"),
+        (0x1EE72, "M", "ق"),
+        (0x1EE73, "X"),
+        (0x1EE74, "M", "ش"),
+        (0x1EE75, "M", "ت"),
+        (0x1EE76, "M", "ث"),
+        (0x1EE77, "M", "خ"),
+        (0x1EE78, "X"),
+        (0x1EE79, "M", "ض"),
+        (0x1EE7A, "M", "ظ"),
+        (0x1EE7B, "M", "غ"),
+        (0x1EE7C, "M", "ٮ"),
+        (0x1EE7D, "X"),
+        (0x1EE7E, "M", "ڡ"),
+        (0x1EE7F, "X"),
+        (0x1EE80, "M", "ا"),
+        (0x1EE81, "M", "ب"),
+        (0x1EE82, "M", "ج"),
+        (0x1EE83, "M", "د"),
+        (0x1EE84, "M", "ه"),
+        (0x1EE85, "M", "و"),
+        (0x1EE86, "M", "ز"),
+        (0x1EE87, "M", "ح"),
+        (0x1EE88, "M", "ط"),
+        (0x1EE89, "M", "ي"),
+        (0x1EE8A, "X"),
+        (0x1EE8B, "M", "ل"),
+        (0x1EE8C, "M", "م"),
+        (0x1EE8D, "M", "ن"),
+        (0x1EE8E, "M", "س"),
+        (0x1EE8F, "M", "ع"),
+        (0x1EE90, "M", "ف"),
+        (0x1EE91, "M", "ص"),
+        (0x1EE92, "M", "ق"),
+        (0x1EE93, "M", "ر"),
+        (0x1EE94, "M", "ش"),
+        (0x1EE95, "M", "ت"),
+        (0x1EE96, "M", "ث"),
+        (0x1EE97, "M", "خ"),
+        (0x1EE98, "M", "ذ"),
+        (0x1EE99, "M", "ض"),
+        (0x1EE9A, "M", "ظ"),
+        (0x1EE9B, "M", "غ"),
+        (0x1EE9C, "X"),
+        (0x1EEA1, "M", "ب"),
+        (0x1EEA2, "M", "ج"),
+        (0x1EEA3, "M", "د"),
+        (0x1EEA4, "X"),
+        (0x1EEA5, "M", "و"),
+        (0x1EEA6, "M", "ز"),
+        (0x1EEA7, "M", "ح"),
+        (0x1EEA8, "M", "ط"),
+        (0x1EEA9, "M", "ي"),
+        (0x1EEAA, "X"),
+        (0x1EEAB, "M", "ل"),
+        (0x1EEAC, "M", "م"),
+        (0x1EEAD, "M", "ن"),
+        (0x1EEAE, "M", "س"),
+        (0x1EEAF, "M", "ع"),
+        (0x1EEB0, "M", "ف"),
+        (0x1EEB1, "M", "ص"),
+        (0x1EEB2, "M", "ق"),
+        (0x1EEB3, "M", "ر"),
+        (0x1EEB4, "M", "ش"),
+        (0x1EEB5, "M", "ت"),
+        (0x1EEB6, "M", "ث"),
+        (0x1EEB7, "M", "خ"),
+        (0x1EEB8, "M", "ذ"),
     ]
 
+
 def _seg_74() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1EEB5, 'M', 'ت'),
-    (0x1EEB6, 'M', 'ث'),
-    (0x1EEB7, 'M', 'خ'),
-    (0x1EEB8, 'M', 'ذ'),
-    (0x1EEB9, 'M', 'ض'),
-    (0x1EEBA, 'M', 'ظ'),
-    (0x1EEBB, 'M', 'غ'),
-    (0x1EEBC, 'X'),
-    (0x1EEF0, 'V'),
-    (0x1EEF2, 'X'),
-    (0x1F000, 'V'),
-    (0x1F02C, 'X'),
-    (0x1F030, 'V'),
-    (0x1F094, 'X'),
-    (0x1F0A0, 'V'),
-    (0x1F0AF, 'X'),
-    (0x1F0B1, 'V'),
-    (0x1F0C0, 'X'),
-    (0x1F0C1, 'V'),
-    (0x1F0D0, 'X'),
-    (0x1F0D1, 'V'),
-    (0x1F0F6, 'X'),
-    (0x1F101, '3', '0,'),
-    (0x1F102, '3', '1,'),
-    (0x1F103, '3', '2,'),
-    (0x1F104, '3', '3,'),
-    (0x1F105, '3', '4,'),
-    (0x1F106, '3', '5,'),
-    (0x1F107, '3', '6,'),
-    (0x1F108, '3', '7,'),
-    (0x1F109, '3', '8,'),
-    (0x1F10A, '3', '9,'),
-    (0x1F10B, 'V'),
-    (0x1F110, '3', '(a)'),
-    (0x1F111, '3', '(b)'),
-    (0x1F112, '3', '(c)'),
-    (0x1F113, '3', '(d)'),
-    (0x1F114, '3', '(e)'),
-    (0x1F115, '3', '(f)'),
-    (0x1F116, '3', '(g)'),
-    (0x1F117, '3', '(h)'),
-    (0x1F118, '3', '(i)'),
-    (0x1F119, '3', '(j)'),
-    (0x1F11A, '3', '(k)'),
-    (0x1F11B, '3', '(l)'),
-    (0x1F11C, '3', '(m)'),
-    (0x1F11D, '3', '(n)'),
-    (0x1F11E, '3', '(o)'),
-    (0x1F11F, '3', '(p)'),
-    (0x1F120, '3', '(q)'),
-    (0x1F121, '3', '(r)'),
-    (0x1F122, '3', '(s)'),
-    (0x1F123, '3', '(t)'),
-    (0x1F124, '3', '(u)'),
-    (0x1F125, '3', '(v)'),
-    (0x1F126, '3', '(w)'),
-    (0x1F127, '3', '(x)'),
-    (0x1F128, '3', '(y)'),
-    (0x1F129, '3', '(z)'),
-    (0x1F12A, 'M', '〔s〕'),
-    (0x1F12B, 'M', 'c'),
-    (0x1F12C, 'M', 'r'),
-    (0x1F12D, 'M', 'cd'),
-    (0x1F12E, 'M', 'wz'),
-    (0x1F12F, 'V'),
-    (0x1F130, 'M', 'a'),
-    (0x1F131, 'M', 'b'),
-    (0x1F132, 'M', 'c'),
-    (0x1F133, 'M', 'd'),
-    (0x1F134, 'M', 'e'),
-    (0x1F135, 'M', 'f'),
-    (0x1F136, 'M', 'g'),
-    (0x1F137, 'M', 'h'),
-    (0x1F138, 'M', 'i'),
-    (0x1F139, 'M', 'j'),
-    (0x1F13A, 'M', 'k'),
-    (0x1F13B, 'M', 'l'),
-    (0x1F13C, 'M', 'm'),
-    (0x1F13D, 'M', 'n'),
-    (0x1F13E, 'M', 'o'),
-    (0x1F13F, 'M', 'p'),
-    (0x1F140, 'M', 'q'),
-    (0x1F141, 'M', 'r'),
-    (0x1F142, 'M', 's'),
-    (0x1F143, 'M', 't'),
-    (0x1F144, 'M', 'u'),
-    (0x1F145, 'M', 'v'),
-    (0x1F146, 'M', 'w'),
-    (0x1F147, 'M', 'x'),
-    (0x1F148, 'M', 'y'),
-    (0x1F149, 'M', 'z'),
-    (0x1F14A, 'M', 'hv'),
-    (0x1F14B, 'M', 'mv'),
-    (0x1F14C, 'M', 'sd'),
-    (0x1F14D, 'M', 'ss'),
-    (0x1F14E, 'M', 'ppv'),
-    (0x1F14F, 'M', 'wc'),
-    (0x1F150, 'V'),
-    (0x1F16A, 'M', 'mc'),
-    (0x1F16B, 'M', 'md'),
+        (0x1EEB9, "M", "ض"),
+        (0x1EEBA, "M", "ظ"),
+        (0x1EEBB, "M", "غ"),
+        (0x1EEBC, "X"),
+        (0x1EEF0, "V"),
+        (0x1EEF2, "X"),
+        (0x1F000, "V"),
+        (0x1F02C, "X"),
+        (0x1F030, "V"),
+        (0x1F094, "X"),
+        (0x1F0A0, "V"),
+        (0x1F0AF, "X"),
+        (0x1F0B1, "V"),
+        (0x1F0C0, "X"),
+        (0x1F0C1, "V"),
+        (0x1F0D0, "X"),
+        (0x1F0D1, "V"),
+        (0x1F0F6, "X"),
+        (0x1F101, "3", "0,"),
+        (0x1F102, "3", "1,"),
+        (0x1F103, "3", "2,"),
+        (0x1F104, "3", "3,"),
+        (0x1F105, "3", "4,"),
+        (0x1F106, "3", "5,"),
+        (0x1F107, "3", "6,"),
+        (0x1F108, "3", "7,"),
+        (0x1F109, "3", "8,"),
+        (0x1F10A, "3", "9,"),
+        (0x1F10B, "V"),
+        (0x1F110, "3", "(a)"),
+        (0x1F111, "3", "(b)"),
+        (0x1F112, "3", "(c)"),
+        (0x1F113, "3", "(d)"),
+        (0x1F114, "3", "(e)"),
+        (0x1F115, "3", "(f)"),
+        (0x1F116, "3", "(g)"),
+        (0x1F117, "3", "(h)"),
+        (0x1F118, "3", "(i)"),
+        (0x1F119, "3", "(j)"),
+        (0x1F11A, "3", "(k)"),
+        (0x1F11B, "3", "(l)"),
+        (0x1F11C, "3", "(m)"),
+        (0x1F11D, "3", "(n)"),
+        (0x1F11E, "3", "(o)"),
+        (0x1F11F, "3", "(p)"),
+        (0x1F120, "3", "(q)"),
+        (0x1F121, "3", "(r)"),
+        (0x1F122, "3", "(s)"),
+        (0x1F123, "3", "(t)"),
+        (0x1F124, "3", "(u)"),
+        (0x1F125, "3", "(v)"),
+        (0x1F126, "3", "(w)"),
+        (0x1F127, "3", "(x)"),
+        (0x1F128, "3", "(y)"),
+        (0x1F129, "3", "(z)"),
+        (0x1F12A, "M", "〔s〕"),
+        (0x1F12B, "M", "c"),
+        (0x1F12C, "M", "r"),
+        (0x1F12D, "M", "cd"),
+        (0x1F12E, "M", "wz"),
+        (0x1F12F, "V"),
+        (0x1F130, "M", "a"),
+        (0x1F131, "M", "b"),
+        (0x1F132, "M", "c"),
+        (0x1F133, "M", "d"),
+        (0x1F134, "M", "e"),
+        (0x1F135, "M", "f"),
+        (0x1F136, "M", "g"),
+        (0x1F137, "M", "h"),
+        (0x1F138, "M", "i"),
+        (0x1F139, "M", "j"),
+        (0x1F13A, "M", "k"),
+        (0x1F13B, "M", "l"),
+        (0x1F13C, "M", "m"),
+        (0x1F13D, "M", "n"),
+        (0x1F13E, "M", "o"),
+        (0x1F13F, "M", "p"),
+        (0x1F140, "M", "q"),
+        (0x1F141, "M", "r"),
+        (0x1F142, "M", "s"),
+        (0x1F143, "M", "t"),
+        (0x1F144, "M", "u"),
+        (0x1F145, "M", "v"),
+        (0x1F146, "M", "w"),
+        (0x1F147, "M", "x"),
+        (0x1F148, "M", "y"),
+        (0x1F149, "M", "z"),
+        (0x1F14A, "M", "hv"),
+        (0x1F14B, "M", "mv"),
+        (0x1F14C, "M", "sd"),
+        (0x1F14D, "M", "ss"),
+        (0x1F14E, "M", "ppv"),
+        (0x1F14F, "M", "wc"),
+        (0x1F150, "V"),
+        (0x1F16A, "M", "mc"),
+        (0x1F16B, "M", "md"),
+        (0x1F16C, "M", "mr"),
+        (0x1F16D, "V"),
+        (0x1F190, "M", "dj"),
+        (0x1F191, "V"),
     ]
 
+
 def _seg_75() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1F16C, 'M', 'mr'),
-    (0x1F16D, 'V'),
-    (0x1F190, 'M', 'dj'),
-    (0x1F191, 'V'),
-    (0x1F1AE, 'X'),
-    (0x1F1E6, 'V'),
-    (0x1F200, 'M', 'ほか'),
-    (0x1F201, 'M', 'ココ'),
-    (0x1F202, 'M', 'サ'),
-    (0x1F203, 'X'),
-    (0x1F210, 'M', '手'),
-    (0x1F211, 'M', '字'),
-    (0x1F212, 'M', '双'),
-    (0x1F213, 'M', 'デ'),
-    (0x1F214, 'M', '二'),
-    (0x1F215, 'M', '多'),
-    (0x1F216, 'M', '解'),
-    (0x1F217, 'M', '天'),
-    (0x1F218, 'M', '交'),
-    (0x1F219, 'M', '映'),
-    (0x1F21A, 'M', '無'),
-    (0x1F21B, 'M', '料'),
-    (0x1F21C, 'M', '前'),
-    (0x1F21D, 'M', '後'),
-    (0x1F21E, 'M', '再'),
-    (0x1F21F, 'M', '新'),
-    (0x1F220, 'M', '初'),
-    (0x1F221, 'M', '終'),
-    (0x1F222, 'M', '生'),
-    (0x1F223, 'M', '販'),
-    (0x1F224, 'M', '声'),
-    (0x1F225, 'M', '吹'),
-    (0x1F226, 'M', '演'),
-    (0x1F227, 'M', '投'),
-    (0x1F228, 'M', '捕'),
-    (0x1F229, 'M', '一'),
-    (0x1F22A, 'M', '三'),
-    (0x1F22B, 'M', '遊'),
-    (0x1F22C, 'M', '左'),
-    (0x1F22D, 'M', '中'),
-    (0x1F22E, 'M', '右'),
-    (0x1F22F, 'M', '指'),
-    (0x1F230, 'M', '走'),
-    (0x1F231, 'M', '打'),
-    (0x1F232, 'M', '禁'),
-    (0x1F233, 'M', '空'),
-    (0x1F234, 'M', '合'),
-    (0x1F235, 'M', '満'),
-    (0x1F236, 'M', '有'),
-    (0x1F237, 'M', '月'),
-    (0x1F238, 'M', '申'),
-    (0x1F239, 'M', '割'),
-    (0x1F23A, 'M', '営'),
-    (0x1F23B, 'M', '配'),
-    (0x1F23C, 'X'),
-    (0x1F240, 'M', '〔本〕'),
-    (0x1F241, 'M', '〔三〕'),
-    (0x1F242, 'M', '〔二〕'),
-    (0x1F243, 'M', '〔安〕'),
-    (0x1F244, 'M', '〔点〕'),
-    (0x1F245, 'M', '〔打〕'),
-    (0x1F246, 'M', '〔盗〕'),
-    (0x1F247, 'M', '〔勝〕'),
-    (0x1F248, 'M', '〔敗〕'),
-    (0x1F249, 'X'),
-    (0x1F250, 'M', '得'),
-    (0x1F251, 'M', '可'),
-    (0x1F252, 'X'),
-    (0x1F260, 'V'),
-    (0x1F266, 'X'),
-    (0x1F300, 'V'),
-    (0x1F6D8, 'X'),
-    (0x1F6DC, 'V'),
-    (0x1F6ED, 'X'),
-    (0x1F6F0, 'V'),
-    (0x1F6FD, 'X'),
-    (0x1F700, 'V'),
-    (0x1F777, 'X'),
-    (0x1F77B, 'V'),
-    (0x1F7DA, 'X'),
-    (0x1F7E0, 'V'),
-    (0x1F7EC, 'X'),
-    (0x1F7F0, 'V'),
-    (0x1F7F1, 'X'),
-    (0x1F800, 'V'),
-    (0x1F80C, 'X'),
-    (0x1F810, 'V'),
-    (0x1F848, 'X'),
-    (0x1F850, 'V'),
-    (0x1F85A, 'X'),
-    (0x1F860, 'V'),
-    (0x1F888, 'X'),
-    (0x1F890, 'V'),
-    (0x1F8AE, 'X'),
-    (0x1F8B0, 'V'),
-    (0x1F8B2, 'X'),
-    (0x1F900, 'V'),
-    (0x1FA54, 'X'),
-    (0x1FA60, 'V'),
-    (0x1FA6E, 'X'),
+        (0x1F1AE, "X"),
+        (0x1F1E6, "V"),
+        (0x1F200, "M", "ほか"),
+        (0x1F201, "M", "ココ"),
+        (0x1F202, "M", "サ"),
+        (0x1F203, "X"),
+        (0x1F210, "M", "手"),
+        (0x1F211, "M", "字"),
+        (0x1F212, "M", "双"),
+        (0x1F213, "M", "デ"),
+        (0x1F214, "M", "二"),
+        (0x1F215, "M", "多"),
+        (0x1F216, "M", "解"),
+        (0x1F217, "M", "天"),
+        (0x1F218, "M", "交"),
+        (0x1F219, "M", "映"),
+        (0x1F21A, "M", "無"),
+        (0x1F21B, "M", "料"),
+        (0x1F21C, "M", "前"),
+        (0x1F21D, "M", "後"),
+        (0x1F21E, "M", "再"),
+        (0x1F21F, "M", "新"),
+        (0x1F220, "M", "初"),
+        (0x1F221, "M", "終"),
+        (0x1F222, "M", "生"),
+        (0x1F223, "M", "販"),
+        (0x1F224, "M", "声"),
+        (0x1F225, "M", "吹"),
+        (0x1F226, "M", "演"),
+        (0x1F227, "M", "投"),
+        (0x1F228, "M", "捕"),
+        (0x1F229, "M", "一"),
+        (0x1F22A, "M", "三"),
+        (0x1F22B, "M", "遊"),
+        (0x1F22C, "M", "左"),
+        (0x1F22D, "M", "中"),
+        (0x1F22E, "M", "右"),
+        (0x1F22F, "M", "指"),
+        (0x1F230, "M", "走"),
+        (0x1F231, "M", "打"),
+        (0x1F232, "M", "禁"),
+        (0x1F233, "M", "空"),
+        (0x1F234, "M", "合"),
+        (0x1F235, "M", "満"),
+        (0x1F236, "M", "有"),
+        (0x1F237, "M", "月"),
+        (0x1F238, "M", "申"),
+        (0x1F239, "M", "割"),
+        (0x1F23A, "M", "営"),
+        (0x1F23B, "M", "配"),
+        (0x1F23C, "X"),
+        (0x1F240, "M", "〔本〕"),
+        (0x1F241, "M", "〔三〕"),
+        (0x1F242, "M", "〔二〕"),
+        (0x1F243, "M", "〔安〕"),
+        (0x1F244, "M", "〔点〕"),
+        (0x1F245, "M", "〔打〕"),
+        (0x1F246, "M", "〔盗〕"),
+        (0x1F247, "M", "〔勝〕"),
+        (0x1F248, "M", "〔敗〕"),
+        (0x1F249, "X"),
+        (0x1F250, "M", "得"),
+        (0x1F251, "M", "可"),
+        (0x1F252, "X"),
+        (0x1F260, "V"),
+        (0x1F266, "X"),
+        (0x1F300, "V"),
+        (0x1F6D8, "X"),
+        (0x1F6DC, "V"),
+        (0x1F6ED, "X"),
+        (0x1F6F0, "V"),
+        (0x1F6FD, "X"),
+        (0x1F700, "V"),
+        (0x1F777, "X"),
+        (0x1F77B, "V"),
+        (0x1F7DA, "X"),
+        (0x1F7E0, "V"),
+        (0x1F7EC, "X"),
+        (0x1F7F0, "V"),
+        (0x1F7F1, "X"),
+        (0x1F800, "V"),
+        (0x1F80C, "X"),
+        (0x1F810, "V"),
+        (0x1F848, "X"),
+        (0x1F850, "V"),
+        (0x1F85A, "X"),
+        (0x1F860, "V"),
+        (0x1F888, "X"),
+        (0x1F890, "V"),
+        (0x1F8AE, "X"),
+        (0x1F8B0, "V"),
+        (0x1F8B2, "X"),
+        (0x1F900, "V"),
+        (0x1FA54, "X"),
+        (0x1FA60, "V"),
+        (0x1FA6E, "X"),
+        (0x1FA70, "V"),
+        (0x1FA7D, "X"),
+        (0x1FA80, "V"),
+        (0x1FA89, "X"),
     ]
 
+
 def _seg_76() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x1FA70, 'V'),
-    (0x1FA7D, 'X'),
-    (0x1FA80, 'V'),
-    (0x1FA89, 'X'),
-    (0x1FA90, 'V'),
-    (0x1FABE, 'X'),
-    (0x1FABF, 'V'),
-    (0x1FAC6, 'X'),
-    (0x1FACE, 'V'),
-    (0x1FADC, 'X'),
-    (0x1FAE0, 'V'),
-    (0x1FAE9, 'X'),
-    (0x1FAF0, 'V'),
-    (0x1FAF9, 'X'),
-    (0x1FB00, 'V'),
-    (0x1FB93, 'X'),
-    (0x1FB94, 'V'),
-    (0x1FBCB, 'X'),
-    (0x1FBF0, 'M', '0'),
-    (0x1FBF1, 'M', '1'),
-    (0x1FBF2, 'M', '2'),
-    (0x1FBF3, 'M', '3'),
-    (0x1FBF4, 'M', '4'),
-    (0x1FBF5, 'M', '5'),
-    (0x1FBF6, 'M', '6'),
-    (0x1FBF7, 'M', '7'),
-    (0x1FBF8, 'M', '8'),
-    (0x1FBF9, 'M', '9'),
-    (0x1FBFA, 'X'),
-    (0x20000, 'V'),
-    (0x2A6E0, 'X'),
-    (0x2A700, 'V'),
-    (0x2B73A, 'X'),
-    (0x2B740, 'V'),
-    (0x2B81E, 'X'),
-    (0x2B820, 'V'),
-    (0x2CEA2, 'X'),
-    (0x2CEB0, 'V'),
-    (0x2EBE1, 'X'),
-    (0x2F800, 'M', '丽'),
-    (0x2F801, 'M', '丸'),
-    (0x2F802, 'M', '乁'),
-    (0x2F803, 'M', '𠄢'),
-    (0x2F804, 'M', '你'),
-    (0x2F805, 'M', '侮'),
-    (0x2F806, 'M', '侻'),
-    (0x2F807, 'M', '倂'),
-    (0x2F808, 'M', '偺'),
-    (0x2F809, 'M', '備'),
-    (0x2F80A, 'M', '僧'),
-    (0x2F80B, 'M', '像'),
-    (0x2F80C, 'M', '㒞'),
-    (0x2F80D, 'M', '𠘺'),
-    (0x2F80E, 'M', '免'),
-    (0x2F80F, 'M', '兔'),
-    (0x2F810, 'M', '兤'),
-    (0x2F811, 'M', '具'),
-    (0x2F812, 'M', '𠔜'),
-    (0x2F813, 'M', '㒹'),
-    (0x2F814, 'M', '內'),
-    (0x2F815, 'M', '再'),
-    (0x2F816, 'M', '𠕋'),
-    (0x2F817, 'M', '冗'),
-    (0x2F818, 'M', '冤'),
-    (0x2F819, 'M', '仌'),
-    (0x2F81A, 'M', '冬'),
-    (0x2F81B, 'M', '况'),
-    (0x2F81C, 'M', '𩇟'),
-    (0x2F81D, 'M', '凵'),
-    (0x2F81E, 'M', '刃'),
-    (0x2F81F, 'M', '㓟'),
-    (0x2F820, 'M', '刻'),
-    (0x2F821, 'M', '剆'),
-    (0x2F822, 'M', '割'),
-    (0x2F823, 'M', '剷'),
-    (0x2F824, 'M', '㔕'),
-    (0x2F825, 'M', '勇'),
-    (0x2F826, 'M', '勉'),
-    (0x2F827, 'M', '勤'),
-    (0x2F828, 'M', '勺'),
-    (0x2F829, 'M', '包'),
-    (0x2F82A, 'M', '匆'),
-    (0x2F82B, 'M', '北'),
-    (0x2F82C, 'M', '卉'),
-    (0x2F82D, 'M', '卑'),
-    (0x2F82E, 'M', '博'),
-    (0x2F82F, 'M', '即'),
-    (0x2F830, 'M', '卽'),
-    (0x2F831, 'M', '卿'),
-    (0x2F834, 'M', '𠨬'),
-    (0x2F835, 'M', '灰'),
-    (0x2F836, 'M', '及'),
-    (0x2F837, 'M', '叟'),
-    (0x2F838, 'M', '𠭣'),
-    (0x2F839, 'M', '叫'),
-    (0x2F83A, 'M', '叱'),
-    (0x2F83B, 'M', '吆'),
-    (0x2F83C, 'M', '咞'),
-    (0x2F83D, 'M', '吸'),
-    (0x2F83E, 'M', '呈'),
+        (0x1FA90, "V"),
+        (0x1FABE, "X"),
+        (0x1FABF, "V"),
+        (0x1FAC6, "X"),
+        (0x1FACE, "V"),
+        (0x1FADC, "X"),
+        (0x1FAE0, "V"),
+        (0x1FAE9, "X"),
+        (0x1FAF0, "V"),
+        (0x1FAF9, "X"),
+        (0x1FB00, "V"),
+        (0x1FB93, "X"),
+        (0x1FB94, "V"),
+        (0x1FBCB, "X"),
+        (0x1FBF0, "M", "0"),
+        (0x1FBF1, "M", "1"),
+        (0x1FBF2, "M", "2"),
+        (0x1FBF3, "M", "3"),
+        (0x1FBF4, "M", "4"),
+        (0x1FBF5, "M", "5"),
+        (0x1FBF6, "M", "6"),
+        (0x1FBF7, "M", "7"),
+        (0x1FBF8, "M", "8"),
+        (0x1FBF9, "M", "9"),
+        (0x1FBFA, "X"),
+        (0x20000, "V"),
+        (0x2A6E0, "X"),
+        (0x2A700, "V"),
+        (0x2B73A, "X"),
+        (0x2B740, "V"),
+        (0x2B81E, "X"),
+        (0x2B820, "V"),
+        (0x2CEA2, "X"),
+        (0x2CEB0, "V"),
+        (0x2EBE1, "X"),
+        (0x2EBF0, "V"),
+        (0x2EE5E, "X"),
+        (0x2F800, "M", "丽"),
+        (0x2F801, "M", "丸"),
+        (0x2F802, "M", "乁"),
+        (0x2F803, "M", "𠄢"),
+        (0x2F804, "M", "你"),
+        (0x2F805, "M", "侮"),
+        (0x2F806, "M", "侻"),
+        (0x2F807, "M", "倂"),
+        (0x2F808, "M", "偺"),
+        (0x2F809, "M", "備"),
+        (0x2F80A, "M", "僧"),
+        (0x2F80B, "M", "像"),
+        (0x2F80C, "M", "㒞"),
+        (0x2F80D, "M", "𠘺"),
+        (0x2F80E, "M", "免"),
+        (0x2F80F, "M", "兔"),
+        (0x2F810, "M", "兤"),
+        (0x2F811, "M", "具"),
+        (0x2F812, "M", "𠔜"),
+        (0x2F813, "M", "㒹"),
+        (0x2F814, "M", "內"),
+        (0x2F815, "M", "再"),
+        (0x2F816, "M", "𠕋"),
+        (0x2F817, "M", "冗"),
+        (0x2F818, "M", "冤"),
+        (0x2F819, "M", "仌"),
+        (0x2F81A, "M", "冬"),
+        (0x2F81B, "M", "况"),
+        (0x2F81C, "M", "𩇟"),
+        (0x2F81D, "M", "凵"),
+        (0x2F81E, "M", "刃"),
+        (0x2F81F, "M", "㓟"),
+        (0x2F820, "M", "刻"),
+        (0x2F821, "M", "剆"),
+        (0x2F822, "M", "割"),
+        (0x2F823, "M", "剷"),
+        (0x2F824, "M", "㔕"),
+        (0x2F825, "M", "勇"),
+        (0x2F826, "M", "勉"),
+        (0x2F827, "M", "勤"),
+        (0x2F828, "M", "勺"),
+        (0x2F829, "M", "包"),
+        (0x2F82A, "M", "匆"),
+        (0x2F82B, "M", "北"),
+        (0x2F82C, "M", "卉"),
+        (0x2F82D, "M", "卑"),
+        (0x2F82E, "M", "博"),
+        (0x2F82F, "M", "即"),
+        (0x2F830, "M", "卽"),
+        (0x2F831, "M", "卿"),
+        (0x2F834, "M", "𠨬"),
+        (0x2F835, "M", "灰"),
+        (0x2F836, "M", "及"),
+        (0x2F837, "M", "叟"),
+        (0x2F838, "M", "𠭣"),
+        (0x2F839, "M", "叫"),
+        (0x2F83A, "M", "叱"),
+        (0x2F83B, "M", "吆"),
+        (0x2F83C, "M", "咞"),
+        (0x2F83D, "M", "吸"),
+        (0x2F83E, "M", "呈"),
+        (0x2F83F, "M", "周"),
+        (0x2F840, "M", "咢"),
     ]
 
+
 def _seg_77() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x2F83F, 'M', '周'),
-    (0x2F840, 'M', '咢'),
-    (0x2F841, 'M', '哶'),
-    (0x2F842, 'M', '唐'),
-    (0x2F843, 'M', '啓'),
-    (0x2F844, 'M', '啣'),
-    (0x2F845, 'M', '善'),
-    (0x2F847, 'M', '喙'),
-    (0x2F848, 'M', '喫'),
-    (0x2F849, 'M', '喳'),
-    (0x2F84A, 'M', '嗂'),
-    (0x2F84B, 'M', '圖'),
-    (0x2F84C, 'M', '嘆'),
-    (0x2F84D, 'M', '圗'),
-    (0x2F84E, 'M', '噑'),
-    (0x2F84F, 'M', '噴'),
-    (0x2F850, 'M', '切'),
-    (0x2F851, 'M', '壮'),
-    (0x2F852, 'M', '城'),
-    (0x2F853, 'M', '埴'),
-    (0x2F854, 'M', '堍'),
-    (0x2F855, 'M', '型'),
-    (0x2F856, 'M', '堲'),
-    (0x2F857, 'M', '報'),
-    (0x2F858, 'M', '墬'),
-    (0x2F859, 'M', '𡓤'),
-    (0x2F85A, 'M', '売'),
-    (0x2F85B, 'M', '壷'),
-    (0x2F85C, 'M', '夆'),
-    (0x2F85D, 'M', '多'),
-    (0x2F85E, 'M', '夢'),
-    (0x2F85F, 'M', '奢'),
-    (0x2F860, 'M', '𡚨'),
-    (0x2F861, 'M', '𡛪'),
-    (0x2F862, 'M', '姬'),
-    (0x2F863, 'M', '娛'),
-    (0x2F864, 'M', '娧'),
-    (0x2F865, 'M', '姘'),
-    (0x2F866, 'M', '婦'),
-    (0x2F867, 'M', '㛮'),
-    (0x2F868, 'X'),
-    (0x2F869, 'M', '嬈'),
-    (0x2F86A, 'M', '嬾'),
-    (0x2F86C, 'M', '𡧈'),
-    (0x2F86D, 'M', '寃'),
-    (0x2F86E, 'M', '寘'),
-    (0x2F86F, 'M', '寧'),
-    (0x2F870, 'M', '寳'),
-    (0x2F871, 'M', '𡬘'),
-    (0x2F872, 'M', '寿'),
-    (0x2F873, 'M', '将'),
-    (0x2F874, 'X'),
-    (0x2F875, 'M', '尢'),
-    (0x2F876, 'M', '㞁'),
-    (0x2F877, 'M', '屠'),
-    (0x2F878, 'M', '屮'),
-    (0x2F879, 'M', '峀'),
-    (0x2F87A, 'M', '岍'),
-    (0x2F87B, 'M', '𡷤'),
-    (0x2F87C, 'M', '嵃'),
-    (0x2F87D, 'M', '𡷦'),
-    (0x2F87E, 'M', '嵮'),
-    (0x2F87F, 'M', '嵫'),
-    (0x2F880, 'M', '嵼'),
-    (0x2F881, 'M', '巡'),
-    (0x2F882, 'M', '巢'),
-    (0x2F883, 'M', '㠯'),
-    (0x2F884, 'M', '巽'),
-    (0x2F885, 'M', '帨'),
-    (0x2F886, 'M', '帽'),
-    (0x2F887, 'M', '幩'),
-    (0x2F888, 'M', '㡢'),
-    (0x2F889, 'M', '𢆃'),
-    (0x2F88A, 'M', '㡼'),
-    (0x2F88B, 'M', '庰'),
-    (0x2F88C, 'M', '庳'),
-    (0x2F88D, 'M', '庶'),
-    (0x2F88E, 'M', '廊'),
-    (0x2F88F, 'M', '𪎒'),
-    (0x2F890, 'M', '廾'),
-    (0x2F891, 'M', '𢌱'),
-    (0x2F893, 'M', '舁'),
-    (0x2F894, 'M', '弢'),
-    (0x2F896, 'M', '㣇'),
-    (0x2F897, 'M', '𣊸'),
-    (0x2F898, 'M', '𦇚'),
-    (0x2F899, 'M', '形'),
-    (0x2F89A, 'M', '彫'),
-    (0x2F89B, 'M', '㣣'),
-    (0x2F89C, 'M', '徚'),
-    (0x2F89D, 'M', '忍'),
-    (0x2F89E, 'M', '志'),
-    (0x2F89F, 'M', '忹'),
-    (0x2F8A0, 'M', '悁'),
-    (0x2F8A1, 'M', '㤺'),
-    (0x2F8A2, 'M', '㤜'),
-    (0x2F8A3, 'M', '悔'),
-    (0x2F8A4, 'M', '𢛔'),
-    (0x2F8A5, 'M', '惇'),
-    (0x2F8A6, 'M', '慈'),
+        (0x2F841, "M", "哶"),
+        (0x2F842, "M", "唐"),
+        (0x2F843, "M", "啓"),
+        (0x2F844, "M", "啣"),
+        (0x2F845, "M", "善"),
+        (0x2F847, "M", "喙"),
+        (0x2F848, "M", "喫"),
+        (0x2F849, "M", "喳"),
+        (0x2F84A, "M", "嗂"),
+        (0x2F84B, "M", "圖"),
+        (0x2F84C, "M", "嘆"),
+        (0x2F84D, "M", "圗"),
+        (0x2F84E, "M", "噑"),
+        (0x2F84F, "M", "噴"),
+        (0x2F850, "M", "切"),
+        (0x2F851, "M", "壮"),
+        (0x2F852, "M", "城"),
+        (0x2F853, "M", "埴"),
+        (0x2F854, "M", "堍"),
+        (0x2F855, "M", "型"),
+        (0x2F856, "M", "堲"),
+        (0x2F857, "M", "報"),
+        (0x2F858, "M", "墬"),
+        (0x2F859, "M", "𡓤"),
+        (0x2F85A, "M", "売"),
+        (0x2F85B, "M", "壷"),
+        (0x2F85C, "M", "夆"),
+        (0x2F85D, "M", "多"),
+        (0x2F85E, "M", "夢"),
+        (0x2F85F, "M", "奢"),
+        (0x2F860, "M", "𡚨"),
+        (0x2F861, "M", "𡛪"),
+        (0x2F862, "M", "姬"),
+        (0x2F863, "M", "娛"),
+        (0x2F864, "M", "娧"),
+        (0x2F865, "M", "姘"),
+        (0x2F866, "M", "婦"),
+        (0x2F867, "M", "㛮"),
+        (0x2F868, "X"),
+        (0x2F869, "M", "嬈"),
+        (0x2F86A, "M", "嬾"),
+        (0x2F86C, "M", "𡧈"),
+        (0x2F86D, "M", "寃"),
+        (0x2F86E, "M", "寘"),
+        (0x2F86F, "M", "寧"),
+        (0x2F870, "M", "寳"),
+        (0x2F871, "M", "𡬘"),
+        (0x2F872, "M", "寿"),
+        (0x2F873, "M", "将"),
+        (0x2F874, "X"),
+        (0x2F875, "M", "尢"),
+        (0x2F876, "M", "㞁"),
+        (0x2F877, "M", "屠"),
+        (0x2F878, "M", "屮"),
+        (0x2F879, "M", "峀"),
+        (0x2F87A, "M", "岍"),
+        (0x2F87B, "M", "𡷤"),
+        (0x2F87C, "M", "嵃"),
+        (0x2F87D, "M", "𡷦"),
+        (0x2F87E, "M", "嵮"),
+        (0x2F87F, "M", "嵫"),
+        (0x2F880, "M", "嵼"),
+        (0x2F881, "M", "巡"),
+        (0x2F882, "M", "巢"),
+        (0x2F883, "M", "㠯"),
+        (0x2F884, "M", "巽"),
+        (0x2F885, "M", "帨"),
+        (0x2F886, "M", "帽"),
+        (0x2F887, "M", "幩"),
+        (0x2F888, "M", "㡢"),
+        (0x2F889, "M", "𢆃"),
+        (0x2F88A, "M", "㡼"),
+        (0x2F88B, "M", "庰"),
+        (0x2F88C, "M", "庳"),
+        (0x2F88D, "M", "庶"),
+        (0x2F88E, "M", "廊"),
+        (0x2F88F, "M", "𪎒"),
+        (0x2F890, "M", "廾"),
+        (0x2F891, "M", "𢌱"),
+        (0x2F893, "M", "舁"),
+        (0x2F894, "M", "弢"),
+        (0x2F896, "M", "㣇"),
+        (0x2F897, "M", "𣊸"),
+        (0x2F898, "M", "𦇚"),
+        (0x2F899, "M", "形"),
+        (0x2F89A, "M", "彫"),
+        (0x2F89B, "M", "㣣"),
+        (0x2F89C, "M", "徚"),
+        (0x2F89D, "M", "忍"),
+        (0x2F89E, "M", "志"),
+        (0x2F89F, "M", "忹"),
+        (0x2F8A0, "M", "悁"),
+        (0x2F8A1, "M", "㤺"),
+        (0x2F8A2, "M", "㤜"),
+        (0x2F8A3, "M", "悔"),
+        (0x2F8A4, "M", "𢛔"),
+        (0x2F8A5, "M", "惇"),
+        (0x2F8A6, "M", "慈"),
+        (0x2F8A7, "M", "慌"),
+        (0x2F8A8, "M", "慎"),
     ]
 
+
 def _seg_78() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x2F8A7, 'M', '慌'),
-    (0x2F8A8, 'M', '慎'),
-    (0x2F8A9, 'M', '慌'),
-    (0x2F8AA, 'M', '慺'),
-    (0x2F8AB, 'M', '憎'),
-    (0x2F8AC, 'M', '憲'),
-    (0x2F8AD, 'M', '憤'),
-    (0x2F8AE, 'M', '憯'),
-    (0x2F8AF, 'M', '懞'),
-    (0x2F8B0, 'M', '懲'),
-    (0x2F8B1, 'M', '懶'),
-    (0x2F8B2, 'M', '成'),
-    (0x2F8B3, 'M', '戛'),
-    (0x2F8B4, 'M', '扝'),
-    (0x2F8B5, 'M', '抱'),
-    (0x2F8B6, 'M', '拔'),
-    (0x2F8B7, 'M', '捐'),
-    (0x2F8B8, 'M', '𢬌'),
-    (0x2F8B9, 'M', '挽'),
-    (0x2F8BA, 'M', '拼'),
-    (0x2F8BB, 'M', '捨'),
-    (0x2F8BC, 'M', '掃'),
-    (0x2F8BD, 'M', '揤'),
-    (0x2F8BE, 'M', '𢯱'),
-    (0x2F8BF, 'M', '搢'),
-    (0x2F8C0, 'M', '揅'),
-    (0x2F8C1, 'M', '掩'),
-    (0x2F8C2, 'M', '㨮'),
-    (0x2F8C3, 'M', '摩'),
-    (0x2F8C4, 'M', '摾'),
-    (0x2F8C5, 'M', '撝'),
-    (0x2F8C6, 'M', '摷'),
-    (0x2F8C7, 'M', '㩬'),
-    (0x2F8C8, 'M', '敏'),
-    (0x2F8C9, 'M', '敬'),
-    (0x2F8CA, 'M', '𣀊'),
-    (0x2F8CB, 'M', '旣'),
-    (0x2F8CC, 'M', '書'),
-    (0x2F8CD, 'M', '晉'),
-    (0x2F8CE, 'M', '㬙'),
-    (0x2F8CF, 'M', '暑'),
-    (0x2F8D0, 'M', '㬈'),
-    (0x2F8D1, 'M', '㫤'),
-    (0x2F8D2, 'M', '冒'),
-    (0x2F8D3, 'M', '冕'),
-    (0x2F8D4, 'M', '最'),
-    (0x2F8D5, 'M', '暜'),
-    (0x2F8D6, 'M', '肭'),
-    (0x2F8D7, 'M', '䏙'),
-    (0x2F8D8, 'M', '朗'),
-    (0x2F8D9, 'M', '望'),
-    (0x2F8DA, 'M', '朡'),
-    (0x2F8DB, 'M', '杞'),
-    (0x2F8DC, 'M', '杓'),
-    (0x2F8DD, 'M', '𣏃'),
-    (0x2F8DE, 'M', '㭉'),
-    (0x2F8DF, 'M', '柺'),
-    (0x2F8E0, 'M', '枅'),
-    (0x2F8E1, 'M', '桒'),
-    (0x2F8E2, 'M', '梅'),
-    (0x2F8E3, 'M', '𣑭'),
-    (0x2F8E4, 'M', '梎'),
-    (0x2F8E5, 'M', '栟'),
-    (0x2F8E6, 'M', '椔'),
-    (0x2F8E7, 'M', '㮝'),
-    (0x2F8E8, 'M', '楂'),
-    (0x2F8E9, 'M', '榣'),
-    (0x2F8EA, 'M', '槪'),
-    (0x2F8EB, 'M', '檨'),
-    (0x2F8EC, 'M', '𣚣'),
-    (0x2F8ED, 'M', '櫛'),
-    (0x2F8EE, 'M', '㰘'),
-    (0x2F8EF, 'M', '次'),
-    (0x2F8F0, 'M', '𣢧'),
-    (0x2F8F1, 'M', '歔'),
-    (0x2F8F2, 'M', '㱎'),
-    (0x2F8F3, 'M', '歲'),
-    (0x2F8F4, 'M', '殟'),
-    (0x2F8F5, 'M', '殺'),
-    (0x2F8F6, 'M', '殻'),
-    (0x2F8F7, 'M', '𣪍'),
-    (0x2F8F8, 'M', '𡴋'),
-    (0x2F8F9, 'M', '𣫺'),
-    (0x2F8FA, 'M', '汎'),
-    (0x2F8FB, 'M', '𣲼'),
-    (0x2F8FC, 'M', '沿'),
-    (0x2F8FD, 'M', '泍'),
-    (0x2F8FE, 'M', '汧'),
-    (0x2F8FF, 'M', '洖'),
-    (0x2F900, 'M', '派'),
-    (0x2F901, 'M', '海'),
-    (0x2F902, 'M', '流'),
-    (0x2F903, 'M', '浩'),
-    (0x2F904, 'M', '浸'),
-    (0x2F905, 'M', '涅'),
-    (0x2F906, 'M', '𣴞'),
-    (0x2F907, 'M', '洴'),
-    (0x2F908, 'M', '港'),
-    (0x2F909, 'M', '湮'),
-    (0x2F90A, 'M', '㴳'),
+        (0x2F8A9, "M", "慌"),
+        (0x2F8AA, "M", "慺"),
+        (0x2F8AB, "M", "憎"),
+        (0x2F8AC, "M", "憲"),
+        (0x2F8AD, "M", "憤"),
+        (0x2F8AE, "M", "憯"),
+        (0x2F8AF, "M", "懞"),
+        (0x2F8B0, "M", "懲"),
+        (0x2F8B1, "M", "懶"),
+        (0x2F8B2, "M", "成"),
+        (0x2F8B3, "M", "戛"),
+        (0x2F8B4, "M", "扝"),
+        (0x2F8B5, "M", "抱"),
+        (0x2F8B6, "M", "拔"),
+        (0x2F8B7, "M", "捐"),
+        (0x2F8B8, "M", "𢬌"),
+        (0x2F8B9, "M", "挽"),
+        (0x2F8BA, "M", "拼"),
+        (0x2F8BB, "M", "捨"),
+        (0x2F8BC, "M", "掃"),
+        (0x2F8BD, "M", "揤"),
+        (0x2F8BE, "M", "𢯱"),
+        (0x2F8BF, "M", "搢"),
+        (0x2F8C0, "M", "揅"),
+        (0x2F8C1, "M", "掩"),
+        (0x2F8C2, "M", "㨮"),
+        (0x2F8C3, "M", "摩"),
+        (0x2F8C4, "M", "摾"),
+        (0x2F8C5, "M", "撝"),
+        (0x2F8C6, "M", "摷"),
+        (0x2F8C7, "M", "㩬"),
+        (0x2F8C8, "M", "敏"),
+        (0x2F8C9, "M", "敬"),
+        (0x2F8CA, "M", "𣀊"),
+        (0x2F8CB, "M", "旣"),
+        (0x2F8CC, "M", "書"),
+        (0x2F8CD, "M", "晉"),
+        (0x2F8CE, "M", "㬙"),
+        (0x2F8CF, "M", "暑"),
+        (0x2F8D0, "M", "㬈"),
+        (0x2F8D1, "M", "㫤"),
+        (0x2F8D2, "M", "冒"),
+        (0x2F8D3, "M", "冕"),
+        (0x2F8D4, "M", "最"),
+        (0x2F8D5, "M", "暜"),
+        (0x2F8D6, "M", "肭"),
+        (0x2F8D7, "M", "䏙"),
+        (0x2F8D8, "M", "朗"),
+        (0x2F8D9, "M", "望"),
+        (0x2F8DA, "M", "朡"),
+        (0x2F8DB, "M", "杞"),
+        (0x2F8DC, "M", "杓"),
+        (0x2F8DD, "M", "𣏃"),
+        (0x2F8DE, "M", "㭉"),
+        (0x2F8DF, "M", "柺"),
+        (0x2F8E0, "M", "枅"),
+        (0x2F8E1, "M", "桒"),
+        (0x2F8E2, "M", "梅"),
+        (0x2F8E3, "M", "𣑭"),
+        (0x2F8E4, "M", "梎"),
+        (0x2F8E5, "M", "栟"),
+        (0x2F8E6, "M", "椔"),
+        (0x2F8E7, "M", "㮝"),
+        (0x2F8E8, "M", "楂"),
+        (0x2F8E9, "M", "榣"),
+        (0x2F8EA, "M", "槪"),
+        (0x2F8EB, "M", "檨"),
+        (0x2F8EC, "M", "𣚣"),
+        (0x2F8ED, "M", "櫛"),
+        (0x2F8EE, "M", "㰘"),
+        (0x2F8EF, "M", "次"),
+        (0x2F8F0, "M", "𣢧"),
+        (0x2F8F1, "M", "歔"),
+        (0x2F8F2, "M", "㱎"),
+        (0x2F8F3, "M", "歲"),
+        (0x2F8F4, "M", "殟"),
+        (0x2F8F5, "M", "殺"),
+        (0x2F8F6, "M", "殻"),
+        (0x2F8F7, "M", "𣪍"),
+        (0x2F8F8, "M", "𡴋"),
+        (0x2F8F9, "M", "𣫺"),
+        (0x2F8FA, "M", "汎"),
+        (0x2F8FB, "M", "𣲼"),
+        (0x2F8FC, "M", "沿"),
+        (0x2F8FD, "M", "泍"),
+        (0x2F8FE, "M", "汧"),
+        (0x2F8FF, "M", "洖"),
+        (0x2F900, "M", "派"),
+        (0x2F901, "M", "海"),
+        (0x2F902, "M", "流"),
+        (0x2F903, "M", "浩"),
+        (0x2F904, "M", "浸"),
+        (0x2F905, "M", "涅"),
+        (0x2F906, "M", "𣴞"),
+        (0x2F907, "M", "洴"),
+        (0x2F908, "M", "港"),
+        (0x2F909, "M", "湮"),
+        (0x2F90A, "M", "㴳"),
+        (0x2F90B, "M", "滋"),
+        (0x2F90C, "M", "滇"),
     ]
 
+
 def _seg_79() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x2F90B, 'M', '滋'),
-    (0x2F90C, 'M', '滇'),
-    (0x2F90D, 'M', '𣻑'),
-    (0x2F90E, 'M', '淹'),
-    (0x2F90F, 'M', '潮'),
-    (0x2F910, 'M', '𣽞'),
-    (0x2F911, 'M', '𣾎'),
-    (0x2F912, 'M', '濆'),
-    (0x2F913, 'M', '瀹'),
-    (0x2F914, 'M', '瀞'),
-    (0x2F915, 'M', '瀛'),
-    (0x2F916, 'M', '㶖'),
-    (0x2F917, 'M', '灊'),
-    (0x2F918, 'M', '災'),
-    (0x2F919, 'M', '灷'),
-    (0x2F91A, 'M', '炭'),
-    (0x2F91B, 'M', '𠔥'),
-    (0x2F91C, 'M', '煅'),
-    (0x2F91D, 'M', '𤉣'),
-    (0x2F91E, 'M', '熜'),
-    (0x2F91F, 'X'),
-    (0x2F920, 'M', '爨'),
-    (0x2F921, 'M', '爵'),
-    (0x2F922, 'M', '牐'),
-    (0x2F923, 'M', '𤘈'),
-    (0x2F924, 'M', '犀'),
-    (0x2F925, 'M', '犕'),
-    (0x2F926, 'M', '𤜵'),
-    (0x2F927, 'M', '𤠔'),
-    (0x2F928, 'M', '獺'),
-    (0x2F929, 'M', '王'),
-    (0x2F92A, 'M', '㺬'),
-    (0x2F92B, 'M', '玥'),
-    (0x2F92C, 'M', '㺸'),
-    (0x2F92E, 'M', '瑇'),
-    (0x2F92F, 'M', '瑜'),
-    (0x2F930, 'M', '瑱'),
-    (0x2F931, 'M', '璅'),
-    (0x2F932, 'M', '瓊'),
-    (0x2F933, 'M', '㼛'),
-    (0x2F934, 'M', '甤'),
-    (0x2F935, 'M', '𤰶'),
-    (0x2F936, 'M', '甾'),
-    (0x2F937, 'M', '𤲒'),
-    (0x2F938, 'M', '異'),
-    (0x2F939, 'M', '𢆟'),
-    (0x2F93A, 'M', '瘐'),
-    (0x2F93B, 'M', '𤾡'),
-    (0x2F93C, 'M', '𤾸'),
-    (0x2F93D, 'M', '𥁄'),
-    (0x2F93E, 'M', '㿼'),
-    (0x2F93F, 'M', '䀈'),
-    (0x2F940, 'M', '直'),
-    (0x2F941, 'M', '𥃳'),
-    (0x2F942, 'M', '𥃲'),
-    (0x2F943, 'M', '𥄙'),
-    (0x2F944, 'M', '𥄳'),
-    (0x2F945, 'M', '眞'),
-    (0x2F946, 'M', '真'),
-    (0x2F948, 'M', '睊'),
-    (0x2F949, 'M', '䀹'),
-    (0x2F94A, 'M', '瞋'),
-    (0x2F94B, 'M', '䁆'),
-    (0x2F94C, 'M', '䂖'),
-    (0x2F94D, 'M', '𥐝'),
-    (0x2F94E, 'M', '硎'),
-    (0x2F94F, 'M', '碌'),
-    (0x2F950, 'M', '磌'),
-    (0x2F951, 'M', '䃣'),
-    (0x2F952, 'M', '𥘦'),
-    (0x2F953, 'M', '祖'),
-    (0x2F954, 'M', '𥚚'),
-    (0x2F955, 'M', '𥛅'),
-    (0x2F956, 'M', '福'),
-    (0x2F957, 'M', '秫'),
-    (0x2F958, 'M', '䄯'),
-    (0x2F959, 'M', '穀'),
-    (0x2F95A, 'M', '穊'),
-    (0x2F95B, 'M', '穏'),
-    (0x2F95C, 'M', '𥥼'),
-    (0x2F95D, 'M', '𥪧'),
-    (0x2F95F, 'X'),
-    (0x2F960, 'M', '䈂'),
-    (0x2F961, 'M', '𥮫'),
-    (0x2F962, 'M', '篆'),
-    (0x2F963, 'M', '築'),
-    (0x2F964, 'M', '䈧'),
-    (0x2F965, 'M', '𥲀'),
-    (0x2F966, 'M', '糒'),
-    (0x2F967, 'M', '䊠'),
-    (0x2F968, 'M', '糨'),
-    (0x2F969, 'M', '糣'),
-    (0x2F96A, 'M', '紀'),
-    (0x2F96B, 'M', '𥾆'),
-    (0x2F96C, 'M', '絣'),
-    (0x2F96D, 'M', '䌁'),
-    (0x2F96E, 'M', '緇'),
-    (0x2F96F, 'M', '縂'),
-    (0x2F970, 'M', '繅'),
-    (0x2F971, 'M', '䌴'),
+        (0x2F90D, "M", "𣻑"),
+        (0x2F90E, "M", "淹"),
+        (0x2F90F, "M", "潮"),
+        (0x2F910, "M", "𣽞"),
+        (0x2F911, "M", "𣾎"),
+        (0x2F912, "M", "濆"),
+        (0x2F913, "M", "瀹"),
+        (0x2F914, "M", "瀞"),
+        (0x2F915, "M", "瀛"),
+        (0x2F916, "M", "㶖"),
+        (0x2F917, "M", "灊"),
+        (0x2F918, "M", "災"),
+        (0x2F919, "M", "灷"),
+        (0x2F91A, "M", "炭"),
+        (0x2F91B, "M", "𠔥"),
+        (0x2F91C, "M", "煅"),
+        (0x2F91D, "M", "𤉣"),
+        (0x2F91E, "M", "熜"),
+        (0x2F91F, "X"),
+        (0x2F920, "M", "爨"),
+        (0x2F921, "M", "爵"),
+        (0x2F922, "M", "牐"),
+        (0x2F923, "M", "𤘈"),
+        (0x2F924, "M", "犀"),
+        (0x2F925, "M", "犕"),
+        (0x2F926, "M", "𤜵"),
+        (0x2F927, "M", "𤠔"),
+        (0x2F928, "M", "獺"),
+        (0x2F929, "M", "王"),
+        (0x2F92A, "M", "㺬"),
+        (0x2F92B, "M", "玥"),
+        (0x2F92C, "M", "㺸"),
+        (0x2F92E, "M", "瑇"),
+        (0x2F92F, "M", "瑜"),
+        (0x2F930, "M", "瑱"),
+        (0x2F931, "M", "璅"),
+        (0x2F932, "M", "瓊"),
+        (0x2F933, "M", "㼛"),
+        (0x2F934, "M", "甤"),
+        (0x2F935, "M", "𤰶"),
+        (0x2F936, "M", "甾"),
+        (0x2F937, "M", "𤲒"),
+        (0x2F938, "M", "異"),
+        (0x2F939, "M", "𢆟"),
+        (0x2F93A, "M", "瘐"),
+        (0x2F93B, "M", "𤾡"),
+        (0x2F93C, "M", "𤾸"),
+        (0x2F93D, "M", "𥁄"),
+        (0x2F93E, "M", "㿼"),
+        (0x2F93F, "M", "䀈"),
+        (0x2F940, "M", "直"),
+        (0x2F941, "M", "𥃳"),
+        (0x2F942, "M", "𥃲"),
+        (0x2F943, "M", "𥄙"),
+        (0x2F944, "M", "𥄳"),
+        (0x2F945, "M", "眞"),
+        (0x2F946, "M", "真"),
+        (0x2F948, "M", "睊"),
+        (0x2F949, "M", "䀹"),
+        (0x2F94A, "M", "瞋"),
+        (0x2F94B, "M", "䁆"),
+        (0x2F94C, "M", "䂖"),
+        (0x2F94D, "M", "𥐝"),
+        (0x2F94E, "M", "硎"),
+        (0x2F94F, "M", "碌"),
+        (0x2F950, "M", "磌"),
+        (0x2F951, "M", "䃣"),
+        (0x2F952, "M", "𥘦"),
+        (0x2F953, "M", "祖"),
+        (0x2F954, "M", "𥚚"),
+        (0x2F955, "M", "𥛅"),
+        (0x2F956, "M", "福"),
+        (0x2F957, "M", "秫"),
+        (0x2F958, "M", "䄯"),
+        (0x2F959, "M", "穀"),
+        (0x2F95A, "M", "穊"),
+        (0x2F95B, "M", "穏"),
+        (0x2F95C, "M", "𥥼"),
+        (0x2F95D, "M", "𥪧"),
+        (0x2F95F, "X"),
+        (0x2F960, "M", "䈂"),
+        (0x2F961, "M", "𥮫"),
+        (0x2F962, "M", "篆"),
+        (0x2F963, "M", "築"),
+        (0x2F964, "M", "䈧"),
+        (0x2F965, "M", "𥲀"),
+        (0x2F966, "M", "糒"),
+        (0x2F967, "M", "䊠"),
+        (0x2F968, "M", "糨"),
+        (0x2F969, "M", "糣"),
+        (0x2F96A, "M", "紀"),
+        (0x2F96B, "M", "𥾆"),
+        (0x2F96C, "M", "絣"),
+        (0x2F96D, "M", "䌁"),
+        (0x2F96E, "M", "緇"),
+        (0x2F96F, "M", "縂"),
+        (0x2F970, "M", "繅"),
+        (0x2F971, "M", "䌴"),
+        (0x2F972, "M", "𦈨"),
+        (0x2F973, "M", "𦉇"),
     ]
 
+
 def _seg_80() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x2F972, 'M', '𦈨'),
-    (0x2F973, 'M', '𦉇'),
-    (0x2F974, 'M', '䍙'),
-    (0x2F975, 'M', '𦋙'),
-    (0x2F976, 'M', '罺'),
-    (0x2F977, 'M', '𦌾'),
-    (0x2F978, 'M', '羕'),
-    (0x2F979, 'M', '翺'),
-    (0x2F97A, 'M', '者'),
-    (0x2F97B, 'M', '𦓚'),
-    (0x2F97C, 'M', '𦔣'),
-    (0x2F97D, 'M', '聠'),
-    (0x2F97E, 'M', '𦖨'),
-    (0x2F97F, 'M', '聰'),
-    (0x2F980, 'M', '𣍟'),
-    (0x2F981, 'M', '䏕'),
-    (0x2F982, 'M', '育'),
-    (0x2F983, 'M', '脃'),
-    (0x2F984, 'M', '䐋'),
-    (0x2F985, 'M', '脾'),
-    (0x2F986, 'M', '媵'),
-    (0x2F987, 'M', '𦞧'),
-    (0x2F988, 'M', '𦞵'),
-    (0x2F989, 'M', '𣎓'),
-    (0x2F98A, 'M', '𣎜'),
-    (0x2F98B, 'M', '舁'),
-    (0x2F98C, 'M', '舄'),
-    (0x2F98D, 'M', '辞'),
-    (0x2F98E, 'M', '䑫'),
-    (0x2F98F, 'M', '芑'),
-    (0x2F990, 'M', '芋'),
-    (0x2F991, 'M', '芝'),
-    (0x2F992, 'M', '劳'),
-    (0x2F993, 'M', '花'),
-    (0x2F994, 'M', '芳'),
-    (0x2F995, 'M', '芽'),
-    (0x2F996, 'M', '苦'),
-    (0x2F997, 'M', '𦬼'),
-    (0x2F998, 'M', '若'),
-    (0x2F999, 'M', '茝'),
-    (0x2F99A, 'M', '荣'),
-    (0x2F99B, 'M', '莭'),
-    (0x2F99C, 'M', '茣'),
-    (0x2F99D, 'M', '莽'),
-    (0x2F99E, 'M', '菧'),
-    (0x2F99F, 'M', '著'),
-    (0x2F9A0, 'M', '荓'),
-    (0x2F9A1, 'M', '菊'),
-    (0x2F9A2, 'M', '菌'),
-    (0x2F9A3, 'M', '菜'),
-    (0x2F9A4, 'M', '𦰶'),
-    (0x2F9A5, 'M', '𦵫'),
-    (0x2F9A6, 'M', '𦳕'),
-    (0x2F9A7, 'M', '䔫'),
-    (0x2F9A8, 'M', '蓱'),
-    (0x2F9A9, 'M', '蓳'),
-    (0x2F9AA, 'M', '蔖'),
-    (0x2F9AB, 'M', '𧏊'),
-    (0x2F9AC, 'M', '蕤'),
-    (0x2F9AD, 'M', '𦼬'),
-    (0x2F9AE, 'M', '䕝'),
-    (0x2F9AF, 'M', '䕡'),
-    (0x2F9B0, 'M', '𦾱'),
-    (0x2F9B1, 'M', '𧃒'),
-    (0x2F9B2, 'M', '䕫'),
-    (0x2F9B3, 'M', '虐'),
-    (0x2F9B4, 'M', '虜'),
-    (0x2F9B5, 'M', '虧'),
-    (0x2F9B6, 'M', '虩'),
-    (0x2F9B7, 'M', '蚩'),
-    (0x2F9B8, 'M', '蚈'),
-    (0x2F9B9, 'M', '蜎'),
-    (0x2F9BA, 'M', '蛢'),
-    (0x2F9BB, 'M', '蝹'),
-    (0x2F9BC, 'M', '蜨'),
-    (0x2F9BD, 'M', '蝫'),
-    (0x2F9BE, 'M', '螆'),
-    (0x2F9BF, 'X'),
-    (0x2F9C0, 'M', '蟡'),
-    (0x2F9C1, 'M', '蠁'),
-    (0x2F9C2, 'M', '䗹'),
-    (0x2F9C3, 'M', '衠'),
-    (0x2F9C4, 'M', '衣'),
-    (0x2F9C5, 'M', '𧙧'),
-    (0x2F9C6, 'M', '裗'),
-    (0x2F9C7, 'M', '裞'),
-    (0x2F9C8, 'M', '䘵'),
-    (0x2F9C9, 'M', '裺'),
-    (0x2F9CA, 'M', '㒻'),
-    (0x2F9CB, 'M', '𧢮'),
-    (0x2F9CC, 'M', '𧥦'),
-    (0x2F9CD, 'M', '䚾'),
-    (0x2F9CE, 'M', '䛇'),
-    (0x2F9CF, 'M', '誠'),
-    (0x2F9D0, 'M', '諭'),
-    (0x2F9D1, 'M', '變'),
-    (0x2F9D2, 'M', '豕'),
-    (0x2F9D3, 'M', '𧲨'),
-    (0x2F9D4, 'M', '貫'),
-    (0x2F9D5, 'M', '賁'),
+        (0x2F974, "M", "䍙"),
+        (0x2F975, "M", "𦋙"),
+        (0x2F976, "M", "罺"),
+        (0x2F977, "M", "𦌾"),
+        (0x2F978, "M", "羕"),
+        (0x2F979, "M", "翺"),
+        (0x2F97A, "M", "者"),
+        (0x2F97B, "M", "𦓚"),
+        (0x2F97C, "M", "𦔣"),
+        (0x2F97D, "M", "聠"),
+        (0x2F97E, "M", "𦖨"),
+        (0x2F97F, "M", "聰"),
+        (0x2F980, "M", "𣍟"),
+        (0x2F981, "M", "䏕"),
+        (0x2F982, "M", "育"),
+        (0x2F983, "M", "脃"),
+        (0x2F984, "M", "䐋"),
+        (0x2F985, "M", "脾"),
+        (0x2F986, "M", "媵"),
+        (0x2F987, "M", "𦞧"),
+        (0x2F988, "M", "𦞵"),
+        (0x2F989, "M", "𣎓"),
+        (0x2F98A, "M", "𣎜"),
+        (0x2F98B, "M", "舁"),
+        (0x2F98C, "M", "舄"),
+        (0x2F98D, "M", "辞"),
+        (0x2F98E, "M", "䑫"),
+        (0x2F98F, "M", "芑"),
+        (0x2F990, "M", "芋"),
+        (0x2F991, "M", "芝"),
+        (0x2F992, "M", "劳"),
+        (0x2F993, "M", "花"),
+        (0x2F994, "M", "芳"),
+        (0x2F995, "M", "芽"),
+        (0x2F996, "M", "苦"),
+        (0x2F997, "M", "𦬼"),
+        (0x2F998, "M", "若"),
+        (0x2F999, "M", "茝"),
+        (0x2F99A, "M", "荣"),
+        (0x2F99B, "M", "莭"),
+        (0x2F99C, "M", "茣"),
+        (0x2F99D, "M", "莽"),
+        (0x2F99E, "M", "菧"),
+        (0x2F99F, "M", "著"),
+        (0x2F9A0, "M", "荓"),
+        (0x2F9A1, "M", "菊"),
+        (0x2F9A2, "M", "菌"),
+        (0x2F9A3, "M", "菜"),
+        (0x2F9A4, "M", "𦰶"),
+        (0x2F9A5, "M", "𦵫"),
+        (0x2F9A6, "M", "𦳕"),
+        (0x2F9A7, "M", "䔫"),
+        (0x2F9A8, "M", "蓱"),
+        (0x2F9A9, "M", "蓳"),
+        (0x2F9AA, "M", "蔖"),
+        (0x2F9AB, "M", "𧏊"),
+        (0x2F9AC, "M", "蕤"),
+        (0x2F9AD, "M", "𦼬"),
+        (0x2F9AE, "M", "䕝"),
+        (0x2F9AF, "M", "䕡"),
+        (0x2F9B0, "M", "𦾱"),
+        (0x2F9B1, "M", "𧃒"),
+        (0x2F9B2, "M", "䕫"),
+        (0x2F9B3, "M", "虐"),
+        (0x2F9B4, "M", "虜"),
+        (0x2F9B5, "M", "虧"),
+        (0x2F9B6, "M", "虩"),
+        (0x2F9B7, "M", "蚩"),
+        (0x2F9B8, "M", "蚈"),
+        (0x2F9B9, "M", "蜎"),
+        (0x2F9BA, "M", "蛢"),
+        (0x2F9BB, "M", "蝹"),
+        (0x2F9BC, "M", "蜨"),
+        (0x2F9BD, "M", "蝫"),
+        (0x2F9BE, "M", "螆"),
+        (0x2F9BF, "X"),
+        (0x2F9C0, "M", "蟡"),
+        (0x2F9C1, "M", "蠁"),
+        (0x2F9C2, "M", "䗹"),
+        (0x2F9C3, "M", "衠"),
+        (0x2F9C4, "M", "衣"),
+        (0x2F9C5, "M", "𧙧"),
+        (0x2F9C6, "M", "裗"),
+        (0x2F9C7, "M", "裞"),
+        (0x2F9C8, "M", "䘵"),
+        (0x2F9C9, "M", "裺"),
+        (0x2F9CA, "M", "㒻"),
+        (0x2F9CB, "M", "𧢮"),
+        (0x2F9CC, "M", "𧥦"),
+        (0x2F9CD, "M", "䚾"),
+        (0x2F9CE, "M", "䛇"),
+        (0x2F9CF, "M", "誠"),
+        (0x2F9D0, "M", "諭"),
+        (0x2F9D1, "M", "變"),
+        (0x2F9D2, "M", "豕"),
+        (0x2F9D3, "M", "𧲨"),
+        (0x2F9D4, "M", "貫"),
+        (0x2F9D5, "M", "賁"),
+        (0x2F9D6, "M", "贛"),
+        (0x2F9D7, "M", "起"),
     ]
 
+
 def _seg_81() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]:
     return [
-    (0x2F9D6, 'M', '贛'),
-    (0x2F9D7, 'M', '起'),
-    (0x2F9D8, 'M', '𧼯'),
-    (0x2F9D9, 'M', '𠠄'),
-    (0x2F9DA, 'M', '跋'),
-    (0x2F9DB, 'M', '趼'),
-    (0x2F9DC, 'M', '跰'),
-    (0x2F9DD, 'M', '𠣞'),
-    (0x2F9DE, 'M', '軔'),
-    (0x2F9DF, 'M', '輸'),
-    (0x2F9E0, 'M', '𨗒'),
-    (0x2F9E1, 'M', '𨗭'),
-    (0x2F9E2, 'M', '邔'),
-    (0x2F9E3, 'M', '郱'),
-    (0x2F9E4, 'M', '鄑'),
-    (0x2F9E5, 'M', '𨜮'),
-    (0x2F9E6, 'M', '鄛'),
-    (0x2F9E7, 'M', '鈸'),
-    (0x2F9E8, 'M', '鋗'),
-    (0x2F9E9, 'M', '鋘'),
-    (0x2F9EA, 'M', '鉼'),
-    (0x2F9EB, 'M', '鏹'),
-    (0x2F9EC, 'M', '鐕'),
-    (0x2F9ED, 'M', '𨯺'),
-    (0x2F9EE, 'M', '開'),
-    (0x2F9EF, 'M', '䦕'),
-    (0x2F9F0, 'M', '閷'),
-    (0x2F9F1, 'M', '𨵷'),
-    (0x2F9F2, 'M', '䧦'),
-    (0x2F9F3, 'M', '雃'),
-    (0x2F9F4, 'M', '嶲'),
-    (0x2F9F5, 'M', '霣'),
-    (0x2F9F6, 'M', '𩅅'),
-    (0x2F9F7, 'M', '𩈚'),
-    (0x2F9F8, 'M', '䩮'),
-    (0x2F9F9, 'M', '䩶'),
-    (0x2F9FA, 'M', '韠'),
-    (0x2F9FB, 'M', '𩐊'),
-    (0x2F9FC, 'M', '䪲'),
-    (0x2F9FD, 'M', '𩒖'),
-    (0x2F9FE, 'M', '頋'),
-    (0x2FA00, 'M', '頩'),
-    (0x2FA01, 'M', '𩖶'),
-    (0x2FA02, 'M', '飢'),
-    (0x2FA03, 'M', '䬳'),
-    (0x2FA04, 'M', '餩'),
-    (0x2FA05, 'M', '馧'),
-    (0x2FA06, 'M', '駂'),
-    (0x2FA07, 'M', '駾'),
-    (0x2FA08, 'M', '䯎'),
-    (0x2FA09, 'M', '𩬰'),
-    (0x2FA0A, 'M', '鬒'),
-    (0x2FA0B, 'M', '鱀'),
-    (0x2FA0C, 'M', '鳽'),
-    (0x2FA0D, 'M', '䳎'),
-    (0x2FA0E, 'M', '䳭'),
-    (0x2FA0F, 'M', '鵧'),
-    (0x2FA10, 'M', '𪃎'),
-    (0x2FA11, 'M', '䳸'),
-    (0x2FA12, 'M', '𪄅'),
-    (0x2FA13, 'M', '𪈎'),
-    (0x2FA14, 'M', '𪊑'),
-    (0x2FA15, 'M', '麻'),
-    (0x2FA16, 'M', '䵖'),
-    (0x2FA17, 'M', '黹'),
-    (0x2FA18, 'M', '黾'),
-    (0x2FA19, 'M', '鼅'),
-    (0x2FA1A, 'M', '鼏'),
-    (0x2FA1B, 'M', '鼖'),
-    (0x2FA1C, 'M', '鼻'),
-    (0x2FA1D, 'M', '𪘀'),
-    (0x2FA1E, 'X'),
-    (0x30000, 'V'),
-    (0x3134B, 'X'),
-    (0x31350, 'V'),
-    (0x323B0, 'X'),
-    (0xE0100, 'I'),
-    (0xE01F0, 'X'),
+        (0x2F9D8, "M", "𧼯"),
+        (0x2F9D9, "M", "𠠄"),
+        (0x2F9DA, "M", "跋"),
+        (0x2F9DB, "M", "趼"),
+        (0x2F9DC, "M", "跰"),
+        (0x2F9DD, "M", "𠣞"),
+        (0x2F9DE, "M", "軔"),
+        (0x2F9DF, "M", "輸"),
+        (0x2F9E0, "M", "𨗒"),
+        (0x2F9E1, "M", "𨗭"),
+        (0x2F9E2, "M", "邔"),
+        (0x2F9E3, "M", "郱"),
+        (0x2F9E4, "M", "鄑"),
+        (0x2F9E5, "M", "𨜮"),
+        (0x2F9E6, "M", "鄛"),
+        (0x2F9E7, "M", "鈸"),
+        (0x2F9E8, "M", "鋗"),
+        (0x2F9E9, "M", "鋘"),
+        (0x2F9EA, "M", "鉼"),
+        (0x2F9EB, "M", "鏹"),
+        (0x2F9EC, "M", "鐕"),
+        (0x2F9ED, "M", "𨯺"),
+        (0x2F9EE, "M", "開"),
+        (0x2F9EF, "M", "䦕"),
+        (0x2F9F0, "M", "閷"),
+        (0x2F9F1, "M", "𨵷"),
+        (0x2F9F2, "M", "䧦"),
+        (0x2F9F3, "M", "雃"),
+        (0x2F9F4, "M", "嶲"),
+        (0x2F9F5, "M", "霣"),
+        (0x2F9F6, "M", "𩅅"),
+        (0x2F9F7, "M", "𩈚"),
+        (0x2F9F8, "M", "䩮"),
+        (0x2F9F9, "M", "䩶"),
+        (0x2F9FA, "M", "韠"),
+        (0x2F9FB, "M", "𩐊"),
+        (0x2F9FC, "M", "䪲"),
+        (0x2F9FD, "M", "𩒖"),
+        (0x2F9FE, "M", "頋"),
+        (0x2FA00, "M", "頩"),
+        (0x2FA01, "M", "𩖶"),
+        (0x2FA02, "M", "飢"),
+        (0x2FA03, "M", "䬳"),
+        (0x2FA04, "M", "餩"),
+        (0x2FA05, "M", "馧"),
+        (0x2FA06, "M", "駂"),
+        (0x2FA07, "M", "駾"),
+        (0x2FA08, "M", "䯎"),
+        (0x2FA09, "M", "𩬰"),
+        (0x2FA0A, "M", "鬒"),
+        (0x2FA0B, "M", "鱀"),
+        (0x2FA0C, "M", "鳽"),
+        (0x2FA0D, "M", "䳎"),
+        (0x2FA0E, "M", "䳭"),
+        (0x2FA0F, "M", "鵧"),
+        (0x2FA10, "M", "𪃎"),
+        (0x2FA11, "M", "䳸"),
+        (0x2FA12, "M", "𪄅"),
+        (0x2FA13, "M", "𪈎"),
+        (0x2FA14, "M", "𪊑"),
+        (0x2FA15, "M", "麻"),
+        (0x2FA16, "M", "䵖"),
+        (0x2FA17, "M", "黹"),
+        (0x2FA18, "M", "黾"),
+        (0x2FA19, "M", "鼅"),
+        (0x2FA1A, "M", "鼏"),
+        (0x2FA1B, "M", "鼖"),
+        (0x2FA1C, "M", "鼻"),
+        (0x2FA1D, "M", "𪘀"),
+        (0x2FA1E, "X"),
+        (0x30000, "V"),
+        (0x3134B, "X"),
+        (0x31350, "V"),
+        (0x323B0, "X"),
+        (0xE0100, "I"),
+        (0xE01F0, "X"),
     ]
 
+
 uts46data = tuple(
     _seg_0()
     + _seg_1()
diff --git a/.venv/Lib/site-packages/pip/_vendor/msgpack/__init__.py b/.venv/Lib/site-packages/pip/_vendor/msgpack/__init__.py
index 1300b86..ad68271 100644
--- a/.venv/Lib/site-packages/pip/_vendor/msgpack/__init__.py
+++ b/.venv/Lib/site-packages/pip/_vendor/msgpack/__init__.py
@@ -1,22 +1,20 @@
-# coding: utf-8
-from .exceptions import *
+# ruff: noqa: F401
+import os
+
+from .exceptions import *  # noqa: F403
 from .ext import ExtType, Timestamp
 
-import os
-import sys
+version = (1, 1, 1)
+__version__ = "1.1.1"
 
 
-version = (1, 0, 5)
-__version__ = "1.0.5"
-
-
-if os.environ.get("MSGPACK_PUREPYTHON") or sys.version_info[0] == 2:
-    from .fallback import Packer, unpackb, Unpacker
+if os.environ.get("MSGPACK_PUREPYTHON"):
+    from .fallback import Packer, Unpacker, unpackb
 else:
     try:
-        from ._cmsgpack import Packer, unpackb, Unpacker
+        from ._cmsgpack import Packer, Unpacker, unpackb
     except ImportError:
-        from .fallback import Packer, unpackb, Unpacker
+        from .fallback import Packer, Unpacker, unpackb
 
 
 def pack(o, stream, **kwargs):
diff --git a/.venv/Lib/site-packages/pip/_vendor/msgpack/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/msgpack/__pycache__/__init__.cpython-311.pyc
index eeb16d4..43b7452 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/msgpack/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/msgpack/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/msgpack/__pycache__/exceptions.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/msgpack/__pycache__/exceptions.cpython-311.pyc
index c48dac2..1727528 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/msgpack/__pycache__/exceptions.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/msgpack/__pycache__/exceptions.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/msgpack/__pycache__/ext.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/msgpack/__pycache__/ext.cpython-311.pyc
index bd8fd8c..537b010 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/msgpack/__pycache__/ext.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/msgpack/__pycache__/ext.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/msgpack/__pycache__/fallback.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/msgpack/__pycache__/fallback.cpython-311.pyc
index 5350ae3..4697dfa 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/msgpack/__pycache__/fallback.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/msgpack/__pycache__/fallback.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/msgpack/ext.py b/.venv/Lib/site-packages/pip/_vendor/msgpack/ext.py
index 23e0d6b..9694819 100644
--- a/.venv/Lib/site-packages/pip/_vendor/msgpack/ext.py
+++ b/.venv/Lib/site-packages/pip/_vendor/msgpack/ext.py
@@ -1,21 +1,6 @@
-# coding: utf-8
-from collections import namedtuple
 import datetime
-import sys
 import struct
-
-
-PY2 = sys.version_info[0] == 2
-
-if PY2:
-    int_types = (int, long)
-    _utc = None
-else:
-    int_types = int
-    try:
-        _utc = datetime.timezone.utc
-    except AttributeError:
-        _utc = datetime.timezone(datetime.timedelta(0))
+from collections import namedtuple
 
 
 class ExtType(namedtuple("ExtType", "code data")):
@@ -28,14 +13,15 @@ class ExtType(namedtuple("ExtType", "code data")):
             raise TypeError("data must be bytes")
         if not 0 <= code <= 127:
             raise ValueError("code must be 0~127")
-        return super(ExtType, cls).__new__(cls, code, data)
+        return super().__new__(cls, code, data)
 
 
-class Timestamp(object):
+class Timestamp:
     """Timestamp represents the Timestamp extension type in msgpack.
 
-    When built with Cython, msgpack uses C methods to pack and unpack `Timestamp`. When using pure-Python
-    msgpack, :func:`to_bytes` and :func:`from_bytes` are used to pack and unpack `Timestamp`.
+    When built with Cython, msgpack uses C methods to pack and unpack `Timestamp`.
+    When using pure-Python msgpack, :func:`to_bytes` and :func:`from_bytes` are used to pack and
+    unpack `Timestamp`.
 
     This class is immutable: Do not override seconds and nanoseconds.
     """
@@ -53,31 +39,25 @@ class Timestamp(object):
             Number of nanoseconds to add to `seconds` to get fractional time.
             Maximum is 999_999_999.  Default is 0.
 
-        Note: Negative times (before the UNIX epoch) are represented as negative seconds + positive ns.
+        Note: Negative times (before the UNIX epoch) are represented as neg. seconds + pos. ns.
         """
-        if not isinstance(seconds, int_types):
+        if not isinstance(seconds, int):
             raise TypeError("seconds must be an integer")
-        if not isinstance(nanoseconds, int_types):
+        if not isinstance(nanoseconds, int):
             raise TypeError("nanoseconds must be an integer")
         if not (0 <= nanoseconds < 10**9):
-            raise ValueError(
-                "nanoseconds must be a non-negative integer less than 999999999."
-            )
+            raise ValueError("nanoseconds must be a non-negative integer less than 999999999.")
         self.seconds = seconds
         self.nanoseconds = nanoseconds
 
     def __repr__(self):
         """String representation of Timestamp."""
-        return "Timestamp(seconds={0}, nanoseconds={1})".format(
-            self.seconds, self.nanoseconds
-        )
+        return f"Timestamp(seconds={self.seconds}, nanoseconds={self.nanoseconds})"
 
     def __eq__(self, other):
         """Check for equality with another Timestamp object"""
         if type(other) is self.__class__:
-            return (
-                self.seconds == other.seconds and self.nanoseconds == other.nanoseconds
-            )
+            return self.seconds == other.seconds and self.nanoseconds == other.nanoseconds
         return False
 
     def __ne__(self, other):
@@ -140,7 +120,7 @@ class Timestamp(object):
         """Create a Timestamp from posix timestamp in seconds.
 
         :param unix_float: Posix timestamp in seconds.
-        :type unix_float: int or float.
+        :type unix_float: int or float
         """
         seconds = int(unix_sec // 1)
         nanoseconds = int((unix_sec % 1) * 10**9)
@@ -174,20 +154,17 @@ class Timestamp(object):
     def to_datetime(self):
         """Get the timestamp as a UTC datetime.
 
-        Python 2 is not supported.
-
-        :rtype: datetime.
+        :rtype: `datetime.datetime`
         """
-        return datetime.datetime.fromtimestamp(0, _utc) + datetime.timedelta(
-            seconds=self.to_unix()
+        utc = datetime.timezone.utc
+        return datetime.datetime.fromtimestamp(0, utc) + datetime.timedelta(
+            seconds=self.seconds, microseconds=self.nanoseconds // 1000
         )
 
     @staticmethod
     def from_datetime(dt):
         """Create a Timestamp from datetime with tzinfo.
 
-        Python 2 is not supported.
-
         :rtype: Timestamp
         """
-        return Timestamp.from_unix(dt.timestamp())
+        return Timestamp(seconds=int(dt.timestamp()), nanoseconds=dt.microsecond * 1000)
diff --git a/.venv/Lib/site-packages/pip/_vendor/msgpack/fallback.py b/.venv/Lib/site-packages/pip/_vendor/msgpack/fallback.py
index e8cebc1..b02e47c 100644
--- a/.venv/Lib/site-packages/pip/_vendor/msgpack/fallback.py
+++ b/.venv/Lib/site-packages/pip/_vendor/msgpack/fallback.py
@@ -1,60 +1,22 @@
 """Fallback pure Python implementation of msgpack"""
-from datetime import datetime as _DateTime
-import sys
+
 import struct
-
-
-PY2 = sys.version_info[0] == 2
-if PY2:
-    int_types = (int, long)
-
-    def dict_iteritems(d):
-        return d.iteritems()
-
-else:
-    int_types = int
-    unicode = str
-    xrange = range
-
-    def dict_iteritems(d):
-        return d.items()
-
-
-if sys.version_info < (3, 5):
-    # Ugly hack...
-    RecursionError = RuntimeError
-
-    def _is_recursionerror(e):
-        return (
-            len(e.args) == 1
-            and isinstance(e.args[0], str)
-            and e.args[0].startswith("maximum recursion depth exceeded")
-        )
-
-else:
-
-    def _is_recursionerror(e):
-        return True
-
+import sys
+from datetime import datetime as _DateTime
 
 if hasattr(sys, "pypy_version_info"):
-    # StringIO is slow on PyPy, StringIO is faster.  However: PyPy's own
-    # StringBuilder is fastest.
     from __pypy__ import newlist_hint
+    from __pypy__.builders import BytesBuilder
 
-    try:
-        from __pypy__.builders import BytesBuilder as StringBuilder
-    except ImportError:
-        from __pypy__.builders import StringBuilder
-    USING_STRINGBUILDER = True
+    _USING_STRINGBUILDER = True
 
-    class StringIO(object):
+    class BytesIO:
         def __init__(self, s=b""):
             if s:
-                self.builder = StringBuilder(len(s))
+                self.builder = BytesBuilder(len(s))
                 self.builder.append(s)
             else:
-                self.builder = StringBuilder()
+                self.builder = BytesBuilder()
 
         def write(self, s):
             if isinstance(s, memoryview):
@@ -67,17 +29,17 @@ if hasattr(sys, "pypy_version_info"):
             return self.builder.build()
 
 else:
-    USING_STRINGBUILDER = False
-    from io import BytesIO as StringIO
+    from io import BytesIO
 
-    newlist_hint = lambda size: []
+    _USING_STRINGBUILDER = False
+
+    def newlist_hint(size):
+        return []
 
 
-from .exceptions import BufferFull, OutOfData, ExtraData, FormatError, StackError
-
+from .exceptions import BufferFull, ExtraData, FormatError, OutOfData, StackError
 from .ext import ExtType, Timestamp
 
-
 EX_SKIP = 0
 EX_CONSTRUCT = 1
 EX_READ_ARRAY_HEADER = 2
@@ -125,24 +87,13 @@ def unpackb(packed, **kwargs):
         ret = unpacker._unpack()
     except OutOfData:
         raise ValueError("Unpack failed: incomplete input")
-    except RecursionError as e:
-        if _is_recursionerror(e):
-            raise StackError
-        raise
+    except RecursionError:
+        raise StackError
     if unpacker._got_extradata():
         raise ExtraData(ret, unpacker._get_extradata())
     return ret
 
 
-if sys.version_info < (2, 7, 6):
-
-    def _unpack_from(f, b, o=0):
-        """Explicit type cast for legacy struct.unpack_from"""
-        return struct.unpack_from(f, bytes(b), o)
-
-else:
-    _unpack_from = struct.unpack_from
-
 _NO_FORMAT_USED = ""
 _MSGPACK_HEADERS = {
     0xC4: (1, _NO_FORMAT_USED, TYPE_BIN),
@@ -176,14 +127,14 @@ _MSGPACK_HEADERS = {
 }
 
 
-class Unpacker(object):
+class Unpacker:
     """Streaming unpacker.
 
     Arguments:
 
     :param file_like:
         File-like object having `.read(n)` method.
-        If specified, unpacker reads serialized data from it and :meth:`feed()` is not usable.
+        If specified, unpacker reads serialized data from it and `.feed()` is not usable.
 
     :param int read_size:
         Used as `file_like.read(read_size)`. (default: `min(16*1024, max_buffer_size)`)
@@ -202,17 +153,17 @@ class Unpacker(object):
             0 - Timestamp
             1 - float  (Seconds from the EPOCH)
             2 - int  (Nanoseconds from the EPOCH)
-            3 - datetime.datetime  (UTC).  Python 2 is not supported.
+            3 - datetime.datetime  (UTC).
 
     :param bool strict_map_key:
         If true (default), only str or bytes are accepted for map (dict) keys.
 
-    :param callable object_hook:
+    :param object_hook:
         When specified, it should be callable.
         Unpacker calls it with a dict argument after unpacking msgpack map.
         (See also simplejson)
 
-    :param callable object_pairs_hook:
+    :param object_pairs_hook:
         When specified, it should be callable.
         Unpacker calls it with a list of key-value pairs after unpacking msgpack map.
         (See also simplejson)
@@ -275,6 +226,7 @@ class Unpacker(object):
     def __init__(
         self,
         file_like=None,
+        *,
         read_size=0,
         use_list=True,
         raw=False,
@@ -359,9 +311,7 @@ class Unpacker(object):
         if object_pairs_hook is not None and not callable(object_pairs_hook):
             raise TypeError("`object_pairs_hook` is not callable")
         if object_hook is not None and object_pairs_hook is not None:
-            raise TypeError(
-                "object_pairs_hook and object_hook are mutually " "exclusive"
-            )
+            raise TypeError("object_pairs_hook and object_hook are mutually exclusive")
         if not callable(ext_hook):
             raise TypeError("`ext_hook` is not callable")
 
@@ -379,6 +329,7 @@ class Unpacker(object):
 
         # Use extend here: INPLACE_ADD += doesn't reliably typecast memoryview in jython
         self._buffer.extend(view)
+        view.release()
 
     def _consume(self):
         """Gets rid of the used parts of the buffer."""
@@ -453,20 +404,18 @@ class Unpacker(object):
             n = b & 0b00011111
             typ = TYPE_RAW
             if n > self._max_str_len:
-                raise ValueError("%s exceeds max_str_len(%s)" % (n, self._max_str_len))
+                raise ValueError(f"{n} exceeds max_str_len({self._max_str_len})")
             obj = self._read(n)
         elif b & 0b11110000 == 0b10010000:
             n = b & 0b00001111
             typ = TYPE_ARRAY
             if n > self._max_array_len:
-                raise ValueError(
-                    "%s exceeds max_array_len(%s)" % (n, self._max_array_len)
-                )
+                raise ValueError(f"{n} exceeds max_array_len({self._max_array_len})")
         elif b & 0b11110000 == 0b10000000:
             n = b & 0b00001111
             typ = TYPE_MAP
             if n > self._max_map_len:
-                raise ValueError("%s exceeds max_map_len(%s)" % (n, self._max_map_len))
+                raise ValueError(f"{n} exceeds max_map_len({self._max_map_len})")
         elif b == 0xC0:
             obj = None
         elif b == 0xC2:
@@ -477,65 +426,61 @@ class Unpacker(object):
             size, fmt, typ = _MSGPACK_HEADERS[b]
             self._reserve(size)
             if len(fmt) > 0:
-                n = _unpack_from(fmt, self._buffer, self._buff_i)[0]
+                n = struct.unpack_from(fmt, self._buffer, self._buff_i)[0]
             else:
                 n = self._buffer[self._buff_i]
             self._buff_i += size
             if n > self._max_bin_len:
-                raise ValueError("%s exceeds max_bin_len(%s)" % (n, self._max_bin_len))
+                raise ValueError(f"{n} exceeds max_bin_len({self._max_bin_len})")
             obj = self._read(n)
         elif 0xC7 <= b <= 0xC9:
             size, fmt, typ = _MSGPACK_HEADERS[b]
             self._reserve(size)
-            L, n = _unpack_from(fmt, self._buffer, self._buff_i)
+            L, n = struct.unpack_from(fmt, self._buffer, self._buff_i)
             self._buff_i += size
             if L > self._max_ext_len:
-                raise ValueError("%s exceeds max_ext_len(%s)" % (L, self._max_ext_len))
+                raise ValueError(f"{L} exceeds max_ext_len({self._max_ext_len})")
             obj = self._read(L)
         elif 0xCA <= b <= 0xD3:
             size, fmt = _MSGPACK_HEADERS[b]
             self._reserve(size)
             if len(fmt) > 0:
-                obj = _unpack_from(fmt, self._buffer, self._buff_i)[0]
+                obj = struct.unpack_from(fmt, self._buffer, self._buff_i)[0]
             else:
                 obj = self._buffer[self._buff_i]
             self._buff_i += size
         elif 0xD4 <= b <= 0xD8:
             size, fmt, typ = _MSGPACK_HEADERS[b]
             if self._max_ext_len < size:
-                raise ValueError(
-                    "%s exceeds max_ext_len(%s)" % (size, self._max_ext_len)
-                )
+                raise ValueError(f"{size} exceeds max_ext_len({self._max_ext_len})")
             self._reserve(size + 1)
-            n, obj = _unpack_from(fmt, self._buffer, self._buff_i)
+            n, obj = struct.unpack_from(fmt, self._buffer, self._buff_i)
             self._buff_i += size + 1
         elif 0xD9 <= b <= 0xDB:
             size, fmt, typ = _MSGPACK_HEADERS[b]
             self._reserve(size)
             if len(fmt) > 0:
-                (n,) = _unpack_from(fmt, self._buffer, self._buff_i)
+                (n,) = struct.unpack_from(fmt, self._buffer, self._buff_i)
             else:
                 n = self._buffer[self._buff_i]
             self._buff_i += size
             if n > self._max_str_len:
-                raise ValueError("%s exceeds max_str_len(%s)" % (n, self._max_str_len))
+                raise ValueError(f"{n} exceeds max_str_len({self._max_str_len})")
             obj = self._read(n)
         elif 0xDC <= b <= 0xDD:
             size, fmt, typ = _MSGPACK_HEADERS[b]
             self._reserve(size)
-            (n,) = _unpack_from(fmt, self._buffer, self._buff_i)
+            (n,) = struct.unpack_from(fmt, self._buffer, self._buff_i)
             self._buff_i += size
             if n > self._max_array_len:
-                raise ValueError(
-                    "%s exceeds max_array_len(%s)" % (n, self._max_array_len)
-                )
+                raise ValueError(f"{n} exceeds max_array_len({self._max_array_len})")
         elif 0xDE <= b <= 0xDF:
             size, fmt, typ = _MSGPACK_HEADERS[b]
             self._reserve(size)
-            (n,) = _unpack_from(fmt, self._buffer, self._buff_i)
+            (n,) = struct.unpack_from(fmt, self._buffer, self._buff_i)
             self._buff_i += size
             if n > self._max_map_len:
-                raise ValueError("%s exceeds max_map_len(%s)" % (n, self._max_map_len))
+                raise ValueError(f"{n} exceeds max_map_len({self._max_map_len})")
         else:
             raise FormatError("Unknown header: 0x%x" % b)
         return typ, n, obj
@@ -554,12 +499,12 @@ class Unpacker(object):
         # TODO should we eliminate the recursion?
         if typ == TYPE_ARRAY:
             if execute == EX_SKIP:
-                for i in xrange(n):
+                for i in range(n):
                     # TODO check whether we need to call `list_hook`
                     self._unpack(EX_SKIP)
                 return
             ret = newlist_hint(n)
-            for i in xrange(n):
+            for i in range(n):
                 ret.append(self._unpack(EX_CONSTRUCT))
             if self._list_hook is not None:
                 ret = self._list_hook(ret)
@@ -567,25 +512,22 @@ class Unpacker(object):
             return ret if self._use_list else tuple(ret)
         if typ == TYPE_MAP:
             if execute == EX_SKIP:
-                for i in xrange(n):
+                for i in range(n):
                     # TODO check whether we need to call hooks
                     self._unpack(EX_SKIP)
                     self._unpack(EX_SKIP)
                 return
             if self._object_pairs_hook is not None:
                 ret = self._object_pairs_hook(
-                    (self._unpack(EX_CONSTRUCT), self._unpack(EX_CONSTRUCT))
-                    for _ in xrange(n)
+                    (self._unpack(EX_CONSTRUCT), self._unpack(EX_CONSTRUCT)) for _ in range(n)
                 )
             else:
                 ret = {}
-                for _ in xrange(n):
+                for _ in range(n):
                     key = self._unpack(EX_CONSTRUCT)
-                    if self._strict_map_key and type(key) not in (unicode, bytes):
-                        raise ValueError(
-                            "%s is not allowed for map key" % str(type(key))
-                        )
-                    if not PY2 and type(key) is str:
+                    if self._strict_map_key and type(key) not in (str, bytes):
+                        raise ValueError("%s is not allowed for map key" % str(type(key)))
+                    if isinstance(key, str):
                         key = sys.intern(key)
                     ret[key] = self._unpack(EX_CONSTRUCT)
                 if self._object_hook is not None:
@@ -659,7 +601,7 @@ class Unpacker(object):
         return self._stream_offset
 
 
-class Packer(object):
+class Packer:
     """
     MessagePack Packer
 
@@ -671,7 +613,8 @@ class Packer(object):
 
     Packer's constructor has some keyword arguments:
 
-    :param callable default:
+    :param default:
+        When specified, it should be callable.
         Convert user type to builtin type that Packer supports.
         See also simplejson's document.
 
@@ -698,38 +641,18 @@ class Packer(object):
         If set to true, datetime with tzinfo is packed into Timestamp type.
         Note that the tzinfo is stripped in the timestamp.
         You can get UTC datetime with `timestamp=3` option of the Unpacker.
-        (Python 2 is not supported).
 
     :param str unicode_errors:
         The error handler for encoding unicode. (default: 'strict')
         DO NOT USE THIS!!  This option is kept for very specific usage.
 
-    Example of streaming deserialize from file-like object::
-
-        unpacker = Unpacker(file_like)
-        for o in unpacker:
-            process(o)
-
-    Example of streaming deserialize from socket::
-
-        unpacker = Unpacker()
-        while True:
-            buf = sock.recv(1024**2)
-            if not buf:
-                break
-            unpacker.feed(buf)
-            for o in unpacker:
-                process(o)
-
-    Raises ``ExtraData`` when *packed* contains extra bytes.
-    Raises ``OutOfData`` when *packed* is incomplete.
-    Raises ``FormatError`` when *packed* is not valid msgpack.
-    Raises ``StackError`` when *packed* contains too nested.
-    Other exceptions can be raised during unpacking.
+    :param int buf_size:
+        Internal buffer size. This option is used only for C implementation.
     """
 
     def __init__(
         self,
+        *,
         default=None,
         use_single_float=False,
         autoreset=True,
@@ -737,19 +660,17 @@ class Packer(object):
         strict_types=False,
         datetime=False,
         unicode_errors=None,
+        buf_size=None,
     ):
         self._strict_types = strict_types
         self._use_float = use_single_float
         self._autoreset = autoreset
         self._use_bin_type = use_bin_type
-        self._buffer = StringIO()
-        if PY2 and datetime:
-            raise ValueError("datetime is not supported in Python 2")
+        self._buffer = BytesIO()
         self._datetime = bool(datetime)
         self._unicode_errors = unicode_errors or "strict"
-        if default is not None:
-            if not callable(default):
-                raise TypeError("default must be callable")
+        if default is not None and not callable(default):
+            raise TypeError("default must be callable")
         self._default = default
 
     def _pack(
@@ -774,7 +695,7 @@ class Packer(object):
                 if obj:
                     return self._buffer.write(b"\xc3")
                 return self._buffer.write(b"\xc2")
-            if check(obj, int_types):
+            if check(obj, int):
                 if 0 <= obj < 0x80:
                     return self._buffer.write(struct.pack("B", obj))
                 if -0x20 <= obj < 0:
@@ -806,7 +727,7 @@ class Packer(object):
                     raise ValueError("%s is too large" % type(obj).__name__)
                 self._pack_bin_header(n)
                 return self._buffer.write(obj)
-            if check(obj, unicode):
+            if check(obj, str):
                 obj = obj.encode("utf-8", self._unicode_errors)
                 n = len(obj)
                 if n >= 2**32:
@@ -855,13 +776,11 @@ class Packer(object):
             if check(obj, list_types):
                 n = len(obj)
                 self._pack_array_header(n)
-                for i in xrange(n):
+                for i in range(n):
                     self._pack(obj[i], nest_limit - 1)
                 return
             if check(obj, dict):
-                return self._pack_map_pairs(
-                    len(obj), dict_iteritems(obj), nest_limit - 1
-                )
+                return self._pack_map_pairs(len(obj), obj.items(), nest_limit - 1)
 
             if self._datetime and check(obj, _DateTime) and obj.tzinfo is not None:
                 obj = Timestamp.from_datetime(obj)
@@ -874,26 +793,26 @@ class Packer(object):
                 continue
 
             if self._datetime and check(obj, _DateTime):
-                raise ValueError("Cannot serialize %r where tzinfo=None" % (obj,))
+                raise ValueError(f"Cannot serialize {obj!r} where tzinfo=None")
 
-            raise TypeError("Cannot serialize %r" % (obj,))
+            raise TypeError(f"Cannot serialize {obj!r}")
 
     def pack(self, obj):
         try:
             self._pack(obj)
         except:
-            self._buffer = StringIO()  # force reset
+            self._buffer = BytesIO()  # force reset
             raise
         if self._autoreset:
             ret = self._buffer.getvalue()
-            self._buffer = StringIO()
+            self._buffer = BytesIO()
             return ret
 
     def pack_map_pairs(self, pairs):
         self._pack_map_pairs(len(pairs), pairs)
         if self._autoreset:
             ret = self._buffer.getvalue()
-            self._buffer = StringIO()
+            self._buffer = BytesIO()
             return ret
 
     def pack_array_header(self, n):
@@ -902,7 +821,7 @@ class Packer(object):
         self._pack_array_header(n)
         if self._autoreset:
             ret = self._buffer.getvalue()
-            self._buffer = StringIO()
+            self._buffer = BytesIO()
             return ret
 
     def pack_map_header(self, n):
@@ -911,7 +830,7 @@ class Packer(object):
         self._pack_map_header(n)
         if self._autoreset:
             ret = self._buffer.getvalue()
-            self._buffer = StringIO()
+            self._buffer = BytesIO()
             return ret
 
     def pack_ext_type(self, typecode, data):
@@ -963,7 +882,7 @@ class Packer(object):
 
     def _pack_map_pairs(self, n, pairs, nest_limit=DEFAULT_RECURSE_LIMIT):
         self._pack_map_header(n)
-        for (k, v) in pairs:
+        for k, v in pairs:
             self._pack(k, nest_limit - 1)
             self._pack(v, nest_limit - 1)
 
@@ -1000,11 +919,11 @@ class Packer(object):
 
         This method is useful only when autoreset=False.
         """
-        self._buffer = StringIO()
+        self._buffer = BytesIO()
 
     def getbuffer(self):
         """Return view of internal buffer."""
-        if USING_STRINGBUILDER or PY2:
+        if _USING_STRINGBUILDER:
             return memoryview(self.bytes())
         else:
             return self._buffer.getbuffer()
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/__init__.py b/.venv/Lib/site-packages/pip/_vendor/packaging/__init__.py
index 3c50c5d..d45c22c 100644
--- a/.venv/Lib/site-packages/pip/_vendor/packaging/__init__.py
+++ b/.venv/Lib/site-packages/pip/_vendor/packaging/__init__.py
@@ -2,24 +2,14 @@
 # 2.0, and the BSD License. See the LICENSE file in the root of this repository
 # for complete details.
 
-from .__about__ import (
-    __author__,
-    __copyright__,
-    __email__,
-    __license__,
-    __summary__,
-    __title__,
-    __uri__,
-    __version__,
-)
+__title__ = "packaging"
+__summary__ = "Core utilities for Python packages"
+__uri__ = "https://github.com/pypa/packaging"
 
-__all__ = [
-    "__title__",
-    "__summary__",
-    "__uri__",
-    "__version__",
-    "__author__",
-    "__email__",
-    "__license__",
-    "__copyright__",
-]
+__version__ = "25.0"
+
+__author__ = "Donald Stufft and individual contributors"
+__email__ = "donald@stufft.io"
+
+__license__ = "BSD-2-Clause or Apache-2.0"
+__copyright__ = f"2014 {__author__}"
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/__about__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/__about__.cpython-311.pyc
deleted file mode 100644
index 4e2f651..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/__about__.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/__init__.cpython-311.pyc
index d02c788..f50091b 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/_elffile.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/_elffile.cpython-311.pyc
new file mode 100644
index 0000000..69942e3
Binary files /dev/null and b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/_elffile.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/_manylinux.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/_manylinux.cpython-311.pyc
index e5c718d..21518a6 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/_manylinux.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/_manylinux.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/_musllinux.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/_musllinux.cpython-311.pyc
index 66b0b36..25517e7 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/_musllinux.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/_musllinux.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/_parser.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/_parser.cpython-311.pyc
new file mode 100644
index 0000000..cabe18e
Binary files /dev/null and b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/_parser.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/_structures.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/_structures.cpython-311.pyc
index 37a76a5..b9b4735 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/_structures.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/_structures.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/_tokenizer.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/_tokenizer.cpython-311.pyc
new file mode 100644
index 0000000..5e4faff
Binary files /dev/null and b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/_tokenizer.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/markers.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/markers.cpython-311.pyc
index 71d1c21..d77fd19 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/markers.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/markers.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/metadata.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/metadata.cpython-311.pyc
new file mode 100644
index 0000000..7184101
Binary files /dev/null and b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/metadata.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/requirements.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/requirements.cpython-311.pyc
index 5faed47..1d3c4f6 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/requirements.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/requirements.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/specifiers.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/specifiers.cpython-311.pyc
index a20e34c..ac09e4b 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/specifiers.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/specifiers.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/tags.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/tags.cpython-311.pyc
index 9ec189f..758aa49 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/tags.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/tags.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/utils.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/utils.cpython-311.pyc
index 482505b..d6401fa 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/utils.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/utils.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/version.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/version.cpython-311.pyc
index 9d17b09..d368c02 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/version.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/packaging/__pycache__/version.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/_elffile.py b/.venv/Lib/site-packages/pip/_vendor/packaging/_elffile.py
new file mode 100644
index 0000000..7a5afc3
--- /dev/null
+++ b/.venv/Lib/site-packages/pip/_vendor/packaging/_elffile.py
@@ -0,0 +1,109 @@
+"""
+ELF file parser.
+
+This provides a class ``ELFFile`` that parses an ELF executable in a similar
+interface to ``ZipFile``. Only the read interface is implemented.
+
+Based on: https://gist.github.com/lyssdod/f51579ae8d93c8657a5564aefc2ffbca
+ELF header: https://refspecs.linuxfoundation.org/elf/gabi4+/ch4.eheader.html
+"""
+
+from __future__ import annotations
+
+import enum
+import os
+import struct
+from typing import IO
+
+
+class ELFInvalid(ValueError):
+    pass
+
+
+class EIClass(enum.IntEnum):
+    C32 = 1
+    C64 = 2
+
+
+class EIData(enum.IntEnum):
+    Lsb = 1
+    Msb = 2
+
+
+class EMachine(enum.IntEnum):
+    I386 = 3
+    S390 = 22
+    Arm = 40
+    X8664 = 62
+    AArc64 = 183
+
+
+class ELFFile:
+    """
+    Representation of an ELF executable.
+    """
+
+    def __init__(self, f: IO[bytes]) -> None:
+        self._f = f
+
+        try:
+            ident = self._read("16B")
+        except struct.error as e:
+            raise ELFInvalid("unable to parse identification") from e
+        magic = bytes(ident[:4])
+        if magic != b"\x7fELF":
+            raise ELFInvalid(f"invalid magic: {magic!r}")
+
+        self.capacity = ident[4]  # Format for program header (bitness).
+        self.encoding = ident[5]  # Data structure encoding (endianness).
+
+        try:
+            # e_fmt: Format for program header.
+            # p_fmt: Format for section header.
+            # p_idx: Indexes to find p_type, p_offset, and p_filesz.
+            e_fmt, self._p_fmt, self._p_idx = {
+                (1, 1): ("HHIIIIIHHH", ">IIIIIIII", (0, 1, 4)),  # 32-bit MSB.
+                (2, 1): ("HHIQQQIHHH", ">IIQQQQQQ", (0, 2, 5)),  # 64-bit MSB.
+            }[(self.capacity, self.encoding)]
+        except KeyError as e:
+            raise ELFInvalid(
+                f"unrecognized capacity ({self.capacity}) or encoding ({self.encoding})"
+            ) from e
+
+        try:
+            (
+                _,
+                self.machine,  # Architecture type.
+                _,
+                _,
+                self._e_phoff,  # Offset of program header.
+                _,
+                self.flags,  # Processor-specific flags.
+                _,
+                self._e_phentsize,  # Size of section.
+                self._e_phnum,  # Number of sections.
+            ) = self._read(e_fmt)
+        except struct.error as e:
+            raise ELFInvalid("unable to parse machine and section information") from e
+
+    def _read(self, fmt: str) -> tuple[int, ...]:
+        return struct.unpack(fmt, self._f.read(struct.calcsize(fmt)))
+
+    @property
+    def interpreter(self) -> str | None:
+        """
+        The path recorded in the ``PT_INTERP`` section header.
+        """
+        for index in range(self._e_phnum):
+            self._f.seek(self._e_phoff + self._e_phentsize * index)
+            try:
+                data = self._read(self._p_fmt)
+            except struct.error:
+                continue
+            if data[self._p_idx[0]] != 3:  # Not PT_INTERP.
+                continue
+            self._f.seek(data[self._p_idx[1]])
+            return os.fsdecode(self._f.read(data[self._p_idx[2]])).strip("\0")
+        return None
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/_manylinux.py b/.venv/Lib/site-packages/pip/_vendor/packaging/_manylinux.py
index 4c379aa..95f5576 100644
--- a/.venv/Lib/site-packages/pip/_vendor/packaging/_manylinux.py
+++ b/.venv/Lib/site-packages/pip/_vendor/packaging/_manylinux.py
@@ -1,122 +1,72 @@
+from __future__ import annotations
+
 import collections
+import contextlib
 import functools
 import os
 import re
-import struct
 import sys
 import warnings
-from typing import IO, Dict, Iterator, NamedTuple, Optional, Tuple
+from typing import Generator, Iterator, NamedTuple, Sequence
+
+from ._elffile import EIClass, EIData, ELFFile, EMachine
+
+EF_ARM_ABIMASK = 0xFF000000
+EF_ARM_ABI_VER5 = 0x05000000
+EF_ARM_ABI_FLOAT_HARD = 0x00000400
 
 
-# Python does not provide platform information at sufficient granularity to
-# identify the architecture of the running executable in some cases, so we
-# determine it dynamically by reading the information from the running
-# process. This only applies on Linux, which uses the ELF format.
-class _ELFFileHeader:
-    # https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header
-    class _InvalidELFFileHeader(ValueError):
-        """
-        An invalid ELF file header was found.
-        """
-
-    ELF_MAGIC_NUMBER = 0x7F454C46
-    ELFCLASS32 = 1
-    ELFCLASS64 = 2
-    ELFDATA2LSB = 1
-    ELFDATA2MSB = 2
-    EM_386 = 3
-    EM_S390 = 22
-    EM_ARM = 40
-    EM_X86_64 = 62
-    EF_ARM_ABIMASK = 0xFF000000
-    EF_ARM_ABI_VER5 = 0x05000000
-    EF_ARM_ABI_FLOAT_HARD = 0x00000400
-
-    def __init__(self, file: IO[bytes]) -> None:
-        def unpack(fmt: str) -> int:
-            try:
-                data = file.read(struct.calcsize(fmt))
-                result: Tuple[int, ...] = struct.unpack(fmt, data)
-            except struct.error:
-                raise _ELFFileHeader._InvalidELFFileHeader()
-            return result[0]
-
-        self.e_ident_magic = unpack(">I")
-        if self.e_ident_magic != self.ELF_MAGIC_NUMBER:
-            raise _ELFFileHeader._InvalidELFFileHeader()
-        self.e_ident_class = unpack("B")
-        if self.e_ident_class not in {self.ELFCLASS32, self.ELFCLASS64}:
-            raise _ELFFileHeader._InvalidELFFileHeader()
-        self.e_ident_data = unpack("B")
-        if self.e_ident_data not in {self.ELFDATA2LSB, self.ELFDATA2MSB}:
-            raise _ELFFileHeader._InvalidELFFileHeader()
-        self.e_ident_version = unpack("B")
-        self.e_ident_osabi = unpack("B")
-        self.e_ident_abiversion = unpack("B")
-        self.e_ident_pad = file.read(7)
-        format_h = "H"
-        format_i = "I"
-        format_q = "Q"
-        format_p = format_i if self.e_ident_class == self.ELFCLASS32 else format_q
-        self.e_type = unpack(format_h)
-        self.e_machine = unpack(format_h)
-        self.e_version = unpack(format_i)
-        self.e_entry = unpack(format_p)
-        self.e_phoff = unpack(format_p)
-        self.e_shoff = unpack(format_p)
-        self.e_flags = unpack(format_i)
-        self.e_ehsize = unpack(format_h)
-        self.e_phentsize = unpack(format_h)
-        self.e_phnum = unpack(format_h)
-        self.e_shentsize = unpack(format_h)
-        self.e_shnum = unpack(format_h)
-        self.e_shstrndx = unpack(format_h)
-
-
-def _get_elf_header() -> Optional[_ELFFileHeader]:
+# `os.PathLike` not a generic type until Python 3.9, so sticking with `str`
+# as the type for `path` until then.
+@contextlib.contextmanager
+def _parse_elf(path: str) -> Generator[ELFFile | None, None, None]:
     try:
-        with open(sys.executable, "rb") as f:
-            elf_header = _ELFFileHeader(f)
-    except (OSError, TypeError, _ELFFileHeader._InvalidELFFileHeader):
-        return None
-    return elf_header
+        with open(path, "rb") as f:
+            yield ELFFile(f)
+    except (OSError, TypeError, ValueError):
+        yield None
 
 
-def _is_linux_armhf() -> bool:
+def _is_linux_armhf(executable: str) -> bool:
     # hard-float ABI can be detected from the ELF header of the running
     # process
     # https://static.docs.arm.com/ihi0044/g/aaelf32.pdf
-    elf_header = _get_elf_header()
-    if elf_header is None:
-        return False
-    result = elf_header.e_ident_class == elf_header.ELFCLASS32
-    result &= elf_header.e_ident_data == elf_header.ELFDATA2LSB
-    result &= elf_header.e_machine == elf_header.EM_ARM
-    result &= (
-        elf_header.e_flags & elf_header.EF_ARM_ABIMASK
-    ) == elf_header.EF_ARM_ABI_VER5
-    result &= (
-        elf_header.e_flags & elf_header.EF_ARM_ABI_FLOAT_HARD
-    ) == elf_header.EF_ARM_ABI_FLOAT_HARD
-    return result
+    with _parse_elf(executable) as f:
+        return (
+            f is not None
+            and f.capacity == EIClass.C32
+            and f.encoding == EIData.Lsb
+            and f.machine == EMachine.Arm
+            and f.flags & EF_ARM_ABIMASK == EF_ARM_ABI_VER5
+            and f.flags & EF_ARM_ABI_FLOAT_HARD == EF_ARM_ABI_FLOAT_HARD
+        )
 
 
-def _is_linux_i686() -> bool:
-    elf_header = _get_elf_header()
-    if elf_header is None:
-        return False
-    result = elf_header.e_ident_class == elf_header.ELFCLASS32
-    result &= elf_header.e_ident_data == elf_header.ELFDATA2LSB
-    result &= elf_header.e_machine == elf_header.EM_386
-    return result
+def _is_linux_i686(executable: str) -> bool:
+    with _parse_elf(executable) as f:
+        return (
+            f is not None
+            and f.capacity == EIClass.C32
+            and f.encoding == EIData.Lsb
+            and f.machine == EMachine.I386
+        )
 
 
-def _have_compatible_abi(arch: str) -> bool:
-    if arch == "armv7l":
-        return _is_linux_armhf()
-    if arch == "i686":
-        return _is_linux_i686()
-    return arch in {"x86_64", "aarch64", "ppc64", "ppc64le", "s390x"}
+def _have_compatible_abi(executable: str, archs: Sequence[str]) -> bool:
+    if "armv7l" in archs:
+        return _is_linux_armhf(executable)
+    if "i686" in archs:
+        return _is_linux_i686(executable)
+    allowed_archs = {
+        "x86_64",
+        "aarch64",
+        "ppc64",
+        "ppc64le",
+        "s390x",
+        "loongarch64",
+        "riscv64",
+    }
+    return any(arch in allowed_archs for arch in archs)
 
 
 # If glibc ever changes its major version, we need to know what the last
@@ -124,7 +74,7 @@ def _have_compatible_abi(arch: str) -> bool:
 # For now, guess what the highest minor version might be, assume it will
 # be 50 for testing. Once this actually happens, update the dictionary
 # with the actual value.
-_LAST_GLIBC_MINOR: Dict[int, int] = collections.defaultdict(lambda: 50)
+_LAST_GLIBC_MINOR: dict[int, int] = collections.defaultdict(lambda: 50)
 
 
 class _GLibCVersion(NamedTuple):
@@ -132,7 +82,7 @@ class _GLibCVersion(NamedTuple):
     minor: int
 
 
-def _glibc_version_string_confstr() -> Optional[str]:
+def _glibc_version_string_confstr() -> str | None:
     """
     Primary implementation of glibc_version_string using os.confstr.
     """
@@ -141,17 +91,17 @@ def _glibc_version_string_confstr() -> Optional[str]:
     # platform module.
     # https://github.com/python/cpython/blob/fcf1d003bf4f0100c/Lib/platform.py#L175-L183
     try:
-        # os.confstr("CS_GNU_LIBC_VERSION") returns a string like "glibc 2.17".
-        version_string = os.confstr("CS_GNU_LIBC_VERSION")
+        # Should be a string like "glibc 2.17".
+        version_string: str | None = os.confstr("CS_GNU_LIBC_VERSION")
         assert version_string is not None
-        _, version = version_string.split()
+        _, version = version_string.rsplit()
     except (AssertionError, AttributeError, OSError, ValueError):
         # os.confstr() or CS_GNU_LIBC_VERSION not available (or a bad value)...
         return None
     return version
 
 
-def _glibc_version_string_ctypes() -> Optional[str]:
+def _glibc_version_string_ctypes() -> str | None:
     """
     Fallback implementation of glibc_version_string using ctypes.
     """
@@ -195,12 +145,12 @@ def _glibc_version_string_ctypes() -> Optional[str]:
     return version_str
 
 
-def _glibc_version_string() -> Optional[str]:
+def _glibc_version_string() -> str | None:
     """Returns glibc version string, or None if not using glibc."""
     return _glibc_version_string_confstr() or _glibc_version_string_ctypes()
 
 
-def _parse_glibc_version(version_str: str) -> Tuple[int, int]:
+def _parse_glibc_version(version_str: str) -> tuple[int, int]:
     """Parse glibc version.
 
     We use a regexp instead of str.split because we want to discard any
@@ -211,16 +161,16 @@ def _parse_glibc_version(version_str: str) -> Tuple[int, int]:
     m = re.match(r"(?P[0-9]+)\.(?P[0-9]+)", version_str)
     if not m:
         warnings.warn(
-            "Expected glibc version with 2 components major.minor,"
-            " got: %s" % version_str,
+            f"Expected glibc version with 2 components major.minor, got: {version_str}",
             RuntimeWarning,
+            stacklevel=2,
         )
         return -1, -1
     return int(m.group("major")), int(m.group("minor"))
 
 
-@functools.lru_cache()
-def _get_glibc_version() -> Tuple[int, int]:
+@functools.lru_cache
+def _get_glibc_version() -> tuple[int, int]:
     version_str = _glibc_version_string()
     if version_str is None:
         return (-1, -1)
@@ -228,13 +178,13 @@ def _get_glibc_version() -> Tuple[int, int]:
 
 
 # From PEP 513, PEP 600
-def _is_compatible(name: str, arch: str, version: _GLibCVersion) -> bool:
+def _is_compatible(arch: str, version: _GLibCVersion) -> bool:
     sys_glibc = _get_glibc_version()
     if sys_glibc < version:
         return False
     # Check for presence of _manylinux module.
     try:
-        import _manylinux  # noqa
+        import _manylinux
     except ImportError:
         return True
     if hasattr(_manylinux, "manylinux_compatible"):
@@ -264,12 +214,22 @@ _LEGACY_MANYLINUX_MAP = {
 }
 
 
-def platform_tags(linux: str, arch: str) -> Iterator[str]:
-    if not _have_compatible_abi(arch):
+def platform_tags(archs: Sequence[str]) -> Iterator[str]:
+    """Generate manylinux tags compatible to the current platform.
+
+    :param archs: Sequence of compatible architectures.
+        The first one shall be the closest to the actual architecture and be the part of
+        platform tag after the ``linux_`` prefix, e.g. ``x86_64``.
+        The ``linux_`` prefix is assumed as a prerequisite for the current platform to
+        be manylinux-compatible.
+
+    :returns: An iterator of compatible manylinux tags.
+    """
+    if not _have_compatible_abi(sys.executable, archs):
         return
     # Oldest glibc to be supported regardless of architecture is (2, 17).
     too_old_glibc2 = _GLibCVersion(2, 16)
-    if arch in {"x86_64", "i686"}:
+    if set(archs) & {"x86_64", "i686"}:
         # On x86/i686 also oldest glibc to be supported is (2, 5).
         too_old_glibc2 = _GLibCVersion(2, 4)
     current_glibc = _GLibCVersion(*_get_glibc_version())
@@ -283,19 +243,20 @@ def platform_tags(linux: str, arch: str) -> Iterator[str]:
     for glibc_major in range(current_glibc.major - 1, 1, -1):
         glibc_minor = _LAST_GLIBC_MINOR[glibc_major]
         glibc_max_list.append(_GLibCVersion(glibc_major, glibc_minor))
-    for glibc_max in glibc_max_list:
-        if glibc_max.major == too_old_glibc2.major:
-            min_minor = too_old_glibc2.minor
-        else:
-            # For other glibc major versions oldest supported is (x, 0).
-            min_minor = -1
-        for glibc_minor in range(glibc_max.minor, min_minor, -1):
-            glibc_version = _GLibCVersion(glibc_max.major, glibc_minor)
-            tag = "manylinux_{}_{}".format(*glibc_version)
-            if _is_compatible(tag, arch, glibc_version):
-                yield linux.replace("linux", tag)
-            # Handle the legacy manylinux1, manylinux2010, manylinux2014 tags.
-            if glibc_version in _LEGACY_MANYLINUX_MAP:
-                legacy_tag = _LEGACY_MANYLINUX_MAP[glibc_version]
-                if _is_compatible(legacy_tag, arch, glibc_version):
-                    yield linux.replace("linux", legacy_tag)
+    for arch in archs:
+        for glibc_max in glibc_max_list:
+            if glibc_max.major == too_old_glibc2.major:
+                min_minor = too_old_glibc2.minor
+            else:
+                # For other glibc major versions oldest supported is (x, 0).
+                min_minor = -1
+            for glibc_minor in range(glibc_max.minor, min_minor, -1):
+                glibc_version = _GLibCVersion(glibc_max.major, glibc_minor)
+                tag = "manylinux_{}_{}".format(*glibc_version)
+                if _is_compatible(arch, glibc_version):
+                    yield f"{tag}_{arch}"
+                # Handle the legacy manylinux1, manylinux2010, manylinux2014 tags.
+                if glibc_version in _LEGACY_MANYLINUX_MAP:
+                    legacy_tag = _LEGACY_MANYLINUX_MAP[glibc_version]
+                    if _is_compatible(arch, glibc_version):
+                        yield f"{legacy_tag}_{arch}"
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/_musllinux.py b/.venv/Lib/site-packages/pip/_vendor/packaging/_musllinux.py
index 8ac3059..d2bf30b 100644
--- a/.venv/Lib/site-packages/pip/_vendor/packaging/_musllinux.py
+++ b/.venv/Lib/site-packages/pip/_vendor/packaging/_musllinux.py
@@ -4,68 +4,15 @@ This module implements logic to detect if the currently running Python is
 linked against musl, and what musl version is used.
 """
 
-import contextlib
+from __future__ import annotations
+
 import functools
-import operator
-import os
 import re
-import struct
 import subprocess
 import sys
-from typing import IO, Iterator, NamedTuple, Optional, Tuple
+from typing import Iterator, NamedTuple, Sequence
 
-
-def _read_unpacked(f: IO[bytes], fmt: str) -> Tuple[int, ...]:
-    return struct.unpack(fmt, f.read(struct.calcsize(fmt)))
-
-
-def _parse_ld_musl_from_elf(f: IO[bytes]) -> Optional[str]:
-    """Detect musl libc location by parsing the Python executable.
-
-    Based on: https://gist.github.com/lyssdod/f51579ae8d93c8657a5564aefc2ffbca
-    ELF header: https://refspecs.linuxfoundation.org/elf/gabi4+/ch4.eheader.html
-    """
-    f.seek(0)
-    try:
-        ident = _read_unpacked(f, "16B")
-    except struct.error:
-        return None
-    if ident[:4] != tuple(b"\x7fELF"):  # Invalid magic, not ELF.
-        return None
-    f.seek(struct.calcsize("HHI"), 1)  # Skip file type, machine, and version.
-
-    try:
-        # e_fmt: Format for program header.
-        # p_fmt: Format for section header.
-        # p_idx: Indexes to find p_type, p_offset, and p_filesz.
-        e_fmt, p_fmt, p_idx = {
-            1: ("IIIIHHH", "IIIIIIII", (0, 1, 4)),  # 32-bit.
-            2: ("QQQIHHH", "IIQQQQQQ", (0, 2, 5)),  # 64-bit.
-        }[ident[4]]
-    except KeyError:
-        return None
-    else:
-        p_get = operator.itemgetter(*p_idx)
-
-    # Find the interpreter section and return its content.
-    try:
-        _, e_phoff, _, _, _, e_phentsize, e_phnum = _read_unpacked(f, e_fmt)
-    except struct.error:
-        return None
-    for i in range(e_phnum + 1):
-        f.seek(e_phoff + e_phentsize * i)
-        try:
-            p_type, p_offset, p_filesz = p_get(_read_unpacked(f, p_fmt))
-        except struct.error:
-            return None
-        if p_type != 3:  # Not PT_INTERP.
-            continue
-        f.seek(p_offset)
-        interpreter = os.fsdecode(f.read(p_filesz)).strip("\0")
-        if "musl" not in interpreter:
-            return None
-        return interpreter
-    return None
+from ._elffile import ELFFile
 
 
 class _MuslVersion(NamedTuple):
@@ -73,7 +20,7 @@ class _MuslVersion(NamedTuple):
     minor: int
 
 
-def _parse_musl_version(output: str) -> Optional[_MuslVersion]:
+def _parse_musl_version(output: str) -> _MuslVersion | None:
     lines = [n for n in (n.strip() for n in output.splitlines()) if n]
     if len(lines) < 2 or lines[0][:4] != "musl":
         return None
@@ -83,8 +30,8 @@ def _parse_musl_version(output: str) -> Optional[_MuslVersion]:
     return _MuslVersion(major=int(m.group(1)), minor=int(m.group(2)))
 
 
-@functools.lru_cache()
-def _get_musl_version(executable: str) -> Optional[_MuslVersion]:
+@functools.lru_cache
+def _get_musl_version(executable: str) -> _MuslVersion | None:
     """Detect currently-running musl runtime version.
 
     This is done by checking the specified executable's dynamic linking
@@ -95,32 +42,34 @@ def _get_musl_version(executable: str) -> Optional[_MuslVersion]:
         Version 1.2.2
         Dynamic Program Loader
     """
-    with contextlib.ExitStack() as stack:
-        try:
-            f = stack.enter_context(open(executable, "rb"))
-        except OSError:
-            return None
-        ld = _parse_ld_musl_from_elf(f)
-    if not ld:
+    try:
+        with open(executable, "rb") as f:
+            ld = ELFFile(f).interpreter
+    except (OSError, TypeError, ValueError):
         return None
-    proc = subprocess.run([ld], stderr=subprocess.PIPE, universal_newlines=True)
+    if ld is None or "musl" not in ld:
+        return None
+    proc = subprocess.run([ld], stderr=subprocess.PIPE, text=True)
     return _parse_musl_version(proc.stderr)
 
 
-def platform_tags(arch: str) -> Iterator[str]:
+def platform_tags(archs: Sequence[str]) -> Iterator[str]:
     """Generate musllinux tags compatible to the current platform.
 
-    :param arch: Should be the part of platform tag after the ``linux_``
-        prefix, e.g. ``x86_64``. The ``linux_`` prefix is assumed as a
-        prerequisite for the current platform to be musllinux-compatible.
+    :param archs: Sequence of compatible architectures.
+        The first one shall be the closest to the actual architecture and be the part of
+        platform tag after the ``linux_`` prefix, e.g. ``x86_64``.
+        The ``linux_`` prefix is assumed as a prerequisite for the current platform to
+        be musllinux-compatible.
 
     :returns: An iterator of compatible musllinux tags.
     """
     sys_musl = _get_musl_version(sys.executable)
     if sys_musl is None:  # Python not dynamically linked against musl.
         return
-    for minor in range(sys_musl.minor, -1, -1):
-        yield f"musllinux_{sys_musl.major}_{minor}_{arch}"
+    for arch in archs:
+        for minor in range(sys_musl.minor, -1, -1):
+            yield f"musllinux_{sys_musl.major}_{minor}_{arch}"
 
 
 if __name__ == "__main__":  # pragma: no cover
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/_parser.py b/.venv/Lib/site-packages/pip/_vendor/packaging/_parser.py
new file mode 100644
index 0000000..0007c0a
--- /dev/null
+++ b/.venv/Lib/site-packages/pip/_vendor/packaging/_parser.py
@@ -0,0 +1,353 @@
+"""Handwritten parser of dependency specifiers.
+
+The docstring for each __parse_* function contains EBNF-inspired grammar representing
+the implementation.
+"""
+
+from __future__ import annotations
+
+import ast
+from typing import NamedTuple, Sequence, Tuple, Union
+
+from ._tokenizer import DEFAULT_RULES, Tokenizer
+
+
+class Node:
+    def __init__(self, value: str) -> None:
+        self.value = value
+
+    def __str__(self) -> str:
+        return self.value
+
+    def __repr__(self) -> str:
+        return f"<{self.__class__.__name__}('{self}')>"
+
+    def serialize(self) -> str:
+        raise NotImplementedError
+
+
+class Variable(Node):
+    def serialize(self) -> str:
+        return str(self)
+
+
+class Value(Node):
+    def serialize(self) -> str:
+        return f'"{self}"'
+
+
+class Op(Node):
+    def serialize(self) -> str:
+        return str(self)
+
+
+MarkerVar = Union[Variable, Value]
+MarkerItem = Tuple[MarkerVar, Op, MarkerVar]
+MarkerAtom = Union[MarkerItem, Sequence["MarkerAtom"]]
+MarkerList = Sequence[Union["MarkerList", MarkerAtom, str]]
+
+
+class ParsedRequirement(NamedTuple):
+    name: str
+    url: str
+    extras: list[str]
+    specifier: str
+    marker: MarkerList | None
+
+
+# --------------------------------------------------------------------------------------
+# Recursive descent parser for dependency specifier
+# --------------------------------------------------------------------------------------
+def parse_requirement(source: str) -> ParsedRequirement:
+    return _parse_requirement(Tokenizer(source, rules=DEFAULT_RULES))
+
+
+def _parse_requirement(tokenizer: Tokenizer) -> ParsedRequirement:
+    """
+    requirement = WS? IDENTIFIER WS? extras WS? requirement_details
+    """
+    tokenizer.consume("WS")
+
+    name_token = tokenizer.expect(
+        "IDENTIFIER", expected="package name at the start of dependency specifier"
+    )
+    name = name_token.text
+    tokenizer.consume("WS")
+
+    extras = _parse_extras(tokenizer)
+    tokenizer.consume("WS")
+
+    url, specifier, marker = _parse_requirement_details(tokenizer)
+    tokenizer.expect("END", expected="end of dependency specifier")
+
+    return ParsedRequirement(name, url, extras, specifier, marker)
+
+
+def _parse_requirement_details(
+    tokenizer: Tokenizer,
+) -> tuple[str, str, MarkerList | None]:
+    """
+    requirement_details = AT URL (WS requirement_marker?)?
+                        | specifier WS? (requirement_marker)?
+    """
+
+    specifier = ""
+    url = ""
+    marker = None
+
+    if tokenizer.check("AT"):
+        tokenizer.read()
+        tokenizer.consume("WS")
+
+        url_start = tokenizer.position
+        url = tokenizer.expect("URL", expected="URL after @").text
+        if tokenizer.check("END", peek=True):
+            return (url, specifier, marker)
+
+        tokenizer.expect("WS", expected="whitespace after URL")
+
+        # The input might end after whitespace.
+        if tokenizer.check("END", peek=True):
+            return (url, specifier, marker)
+
+        marker = _parse_requirement_marker(
+            tokenizer, span_start=url_start, after="URL and whitespace"
+        )
+    else:
+        specifier_start = tokenizer.position
+        specifier = _parse_specifier(tokenizer)
+        tokenizer.consume("WS")
+
+        if tokenizer.check("END", peek=True):
+            return (url, specifier, marker)
+
+        marker = _parse_requirement_marker(
+            tokenizer,
+            span_start=specifier_start,
+            after=(
+                "version specifier"
+                if specifier
+                else "name and no valid version specifier"
+            ),
+        )
+
+    return (url, specifier, marker)
+
+
+def _parse_requirement_marker(
+    tokenizer: Tokenizer, *, span_start: int, after: str
+) -> MarkerList:
+    """
+    requirement_marker = SEMICOLON marker WS?
+    """
+
+    if not tokenizer.check("SEMICOLON"):
+        tokenizer.raise_syntax_error(
+            f"Expected end or semicolon (after {after})",
+            span_start=span_start,
+        )
+    tokenizer.read()
+
+    marker = _parse_marker(tokenizer)
+    tokenizer.consume("WS")
+
+    return marker
+
+
+def _parse_extras(tokenizer: Tokenizer) -> list[str]:
+    """
+    extras = (LEFT_BRACKET wsp* extras_list? wsp* RIGHT_BRACKET)?
+    """
+    if not tokenizer.check("LEFT_BRACKET", peek=True):
+        return []
+
+    with tokenizer.enclosing_tokens(
+        "LEFT_BRACKET",
+        "RIGHT_BRACKET",
+        around="extras",
+    ):
+        tokenizer.consume("WS")
+        extras = _parse_extras_list(tokenizer)
+        tokenizer.consume("WS")
+
+    return extras
+
+
+def _parse_extras_list(tokenizer: Tokenizer) -> list[str]:
+    """
+    extras_list = identifier (wsp* ',' wsp* identifier)*
+    """
+    extras: list[str] = []
+
+    if not tokenizer.check("IDENTIFIER"):
+        return extras
+
+    extras.append(tokenizer.read().text)
+
+    while True:
+        tokenizer.consume("WS")
+        if tokenizer.check("IDENTIFIER", peek=True):
+            tokenizer.raise_syntax_error("Expected comma between extra names")
+        elif not tokenizer.check("COMMA"):
+            break
+
+        tokenizer.read()
+        tokenizer.consume("WS")
+
+        extra_token = tokenizer.expect("IDENTIFIER", expected="extra name after comma")
+        extras.append(extra_token.text)
+
+    return extras
+
+
+def _parse_specifier(tokenizer: Tokenizer) -> str:
+    """
+    specifier = LEFT_PARENTHESIS WS? version_many WS? RIGHT_PARENTHESIS
+              | WS? version_many WS?
+    """
+    with tokenizer.enclosing_tokens(
+        "LEFT_PARENTHESIS",
+        "RIGHT_PARENTHESIS",
+        around="version specifier",
+    ):
+        tokenizer.consume("WS")
+        parsed_specifiers = _parse_version_many(tokenizer)
+        tokenizer.consume("WS")
+
+    return parsed_specifiers
+
+
+def _parse_version_many(tokenizer: Tokenizer) -> str:
+    """
+    version_many = (SPECIFIER (WS? COMMA WS? SPECIFIER)*)?
+    """
+    parsed_specifiers = ""
+    while tokenizer.check("SPECIFIER"):
+        span_start = tokenizer.position
+        parsed_specifiers += tokenizer.read().text
+        if tokenizer.check("VERSION_PREFIX_TRAIL", peek=True):
+            tokenizer.raise_syntax_error(
+                ".* suffix can only be used with `==` or `!=` operators",
+                span_start=span_start,
+                span_end=tokenizer.position + 1,
+            )
+        if tokenizer.check("VERSION_LOCAL_LABEL_TRAIL", peek=True):
+            tokenizer.raise_syntax_error(
+                "Local version label can only be used with `==` or `!=` operators",
+                span_start=span_start,
+                span_end=tokenizer.position,
+            )
+        tokenizer.consume("WS")
+        if not tokenizer.check("COMMA"):
+            break
+        parsed_specifiers += tokenizer.read().text
+        tokenizer.consume("WS")
+
+    return parsed_specifiers
+
+
+# --------------------------------------------------------------------------------------
+# Recursive descent parser for marker expression
+# --------------------------------------------------------------------------------------
+def parse_marker(source: str) -> MarkerList:
+    return _parse_full_marker(Tokenizer(source, rules=DEFAULT_RULES))
+
+
+def _parse_full_marker(tokenizer: Tokenizer) -> MarkerList:
+    retval = _parse_marker(tokenizer)
+    tokenizer.expect("END", expected="end of marker expression")
+    return retval
+
+
+def _parse_marker(tokenizer: Tokenizer) -> MarkerList:
+    """
+    marker = marker_atom (BOOLOP marker_atom)+
+    """
+    expression = [_parse_marker_atom(tokenizer)]
+    while tokenizer.check("BOOLOP"):
+        token = tokenizer.read()
+        expr_right = _parse_marker_atom(tokenizer)
+        expression.extend((token.text, expr_right))
+    return expression
+
+
+def _parse_marker_atom(tokenizer: Tokenizer) -> MarkerAtom:
+    """
+    marker_atom = WS? LEFT_PARENTHESIS WS? marker WS? RIGHT_PARENTHESIS WS?
+                | WS? marker_item WS?
+    """
+
+    tokenizer.consume("WS")
+    if tokenizer.check("LEFT_PARENTHESIS", peek=True):
+        with tokenizer.enclosing_tokens(
+            "LEFT_PARENTHESIS",
+            "RIGHT_PARENTHESIS",
+            around="marker expression",
+        ):
+            tokenizer.consume("WS")
+            marker: MarkerAtom = _parse_marker(tokenizer)
+            tokenizer.consume("WS")
+    else:
+        marker = _parse_marker_item(tokenizer)
+    tokenizer.consume("WS")
+    return marker
+
+
+def _parse_marker_item(tokenizer: Tokenizer) -> MarkerItem:
+    """
+    marker_item = WS? marker_var WS? marker_op WS? marker_var WS?
+    """
+    tokenizer.consume("WS")
+    marker_var_left = _parse_marker_var(tokenizer)
+    tokenizer.consume("WS")
+    marker_op = _parse_marker_op(tokenizer)
+    tokenizer.consume("WS")
+    marker_var_right = _parse_marker_var(tokenizer)
+    tokenizer.consume("WS")
+    return (marker_var_left, marker_op, marker_var_right)
+
+
+def _parse_marker_var(tokenizer: Tokenizer) -> MarkerVar:
+    """
+    marker_var = VARIABLE | QUOTED_STRING
+    """
+    if tokenizer.check("VARIABLE"):
+        return process_env_var(tokenizer.read().text.replace(".", "_"))
+    elif tokenizer.check("QUOTED_STRING"):
+        return process_python_str(tokenizer.read().text)
+    else:
+        tokenizer.raise_syntax_error(
+            message="Expected a marker variable or quoted string"
+        )
+
+
+def process_env_var(env_var: str) -> Variable:
+    if env_var in ("platform_python_implementation", "python_implementation"):
+        return Variable("platform_python_implementation")
+    else:
+        return Variable(env_var)
+
+
+def process_python_str(python_str: str) -> Value:
+    value = ast.literal_eval(python_str)
+    return Value(str(value))
+
+
+def _parse_marker_op(tokenizer: Tokenizer) -> Op:
+    """
+    marker_op = IN | NOT IN | OP
+    """
+    if tokenizer.check("IN"):
+        tokenizer.read()
+        return Op("in")
+    elif tokenizer.check("NOT"):
+        tokenizer.read()
+        tokenizer.expect("WS", expected="whitespace after 'not'")
+        tokenizer.expect("IN", expected="'in' after 'not'")
+        return Op("not in")
+    elif tokenizer.check("OP"):
+        return Op(tokenizer.read().text)
+    else:
+        return tokenizer.raise_syntax_error(
+            "Expected marker operator, one of <=, <, !=, ==, >=, >, ~=, ===, in, not in"
+        )
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/_tokenizer.py b/.venv/Lib/site-packages/pip/_vendor/packaging/_tokenizer.py
new file mode 100644
index 0000000..d28a9b6
--- /dev/null
+++ b/.venv/Lib/site-packages/pip/_vendor/packaging/_tokenizer.py
@@ -0,0 +1,195 @@
+from __future__ import annotations
+
+import contextlib
+import re
+from dataclasses import dataclass
+from typing import Iterator, NoReturn
+
+from .specifiers import Specifier
+
+
+@dataclass
+class Token:
+    name: str
+    text: str
+    position: int
+
+
+class ParserSyntaxError(Exception):
+    """The provided source text could not be parsed correctly."""
+
+    def __init__(
+        self,
+        message: str,
+        *,
+        source: str,
+        span: tuple[int, int],
+    ) -> None:
+        self.span = span
+        self.message = message
+        self.source = source
+
+        super().__init__()
+
+    def __str__(self) -> str:
+        marker = " " * self.span[0] + "~" * (self.span[1] - self.span[0]) + "^"
+        return "\n    ".join([self.message, self.source, marker])
+
+
+DEFAULT_RULES: dict[str, str | re.Pattern[str]] = {
+    "LEFT_PARENTHESIS": r"\(",
+    "RIGHT_PARENTHESIS": r"\)",
+    "LEFT_BRACKET": r"\[",
+    "RIGHT_BRACKET": r"\]",
+    "SEMICOLON": r";",
+    "COMMA": r",",
+    "QUOTED_STRING": re.compile(
+        r"""
+            (
+                ('[^']*')
+                |
+                ("[^"]*")
+            )
+        """,
+        re.VERBOSE,
+    ),
+    "OP": r"(===|==|~=|!=|<=|>=|<|>)",
+    "BOOLOP": r"\b(or|and)\b",
+    "IN": r"\bin\b",
+    "NOT": r"\bnot\b",
+    "VARIABLE": re.compile(
+        r"""
+            \b(
+                python_version
+                |python_full_version
+                |os[._]name
+                |sys[._]platform
+                |platform_(release|system)
+                |platform[._](version|machine|python_implementation)
+                |python_implementation
+                |implementation_(name|version)
+                |extras?
+                |dependency_groups
+            )\b
+        """,
+        re.VERBOSE,
+    ),
+    "SPECIFIER": re.compile(
+        Specifier._operator_regex_str + Specifier._version_regex_str,
+        re.VERBOSE | re.IGNORECASE,
+    ),
+    "AT": r"\@",
+    "URL": r"[^ \t]+",
+    "IDENTIFIER": r"\b[a-zA-Z0-9][a-zA-Z0-9._-]*\b",
+    "VERSION_PREFIX_TRAIL": r"\.\*",
+    "VERSION_LOCAL_LABEL_TRAIL": r"\+[a-z0-9]+(?:[-_\.][a-z0-9]+)*",
+    "WS": r"[ \t]+",
+    "END": r"$",
+}
+
+
+class Tokenizer:
+    """Context-sensitive token parsing.
+
+    Provides methods to examine the input stream to check whether the next token
+    matches.
+    """
+
+    def __init__(
+        self,
+        source: str,
+        *,
+        rules: dict[str, str | re.Pattern[str]],
+    ) -> None:
+        self.source = source
+        self.rules: dict[str, re.Pattern[str]] = {
+            name: re.compile(pattern) for name, pattern in rules.items()
+        }
+        self.next_token: Token | None = None
+        self.position = 0
+
+    def consume(self, name: str) -> None:
+        """Move beyond provided token name, if at current position."""
+        if self.check(name):
+            self.read()
+
+    def check(self, name: str, *, peek: bool = False) -> bool:
+        """Check whether the next token has the provided name.
+
+        By default, if the check succeeds, the token *must* be read before
+        another check. If `peek` is set to `True`, the token is not loaded and
+        would need to be checked again.
+        """
+        assert self.next_token is None, (
+            f"Cannot check for {name!r}, already have {self.next_token!r}"
+        )
+        assert name in self.rules, f"Unknown token name: {name!r}"
+
+        expression = self.rules[name]
+
+        match = expression.match(self.source, self.position)
+        if match is None:
+            return False
+        if not peek:
+            self.next_token = Token(name, match[0], self.position)
+        return True
+
+    def expect(self, name: str, *, expected: str) -> Token:
+        """Expect a certain token name next, failing with a syntax error otherwise.
+
+        The token is *not* read.
+        """
+        if not self.check(name):
+            raise self.raise_syntax_error(f"Expected {expected}")
+        return self.read()
+
+    def read(self) -> Token:
+        """Consume the next token and return it."""
+        token = self.next_token
+        assert token is not None
+
+        self.position += len(token.text)
+        self.next_token = None
+
+        return token
+
+    def raise_syntax_error(
+        self,
+        message: str,
+        *,
+        span_start: int | None = None,
+        span_end: int | None = None,
+    ) -> NoReturn:
+        """Raise ParserSyntaxError at the given position."""
+        span = (
+            self.position if span_start is None else span_start,
+            self.position if span_end is None else span_end,
+        )
+        raise ParserSyntaxError(
+            message,
+            source=self.source,
+            span=span,
+        )
+
+    @contextlib.contextmanager
+    def enclosing_tokens(
+        self, open_token: str, close_token: str, *, around: str
+    ) -> Iterator[None]:
+        if self.check(open_token):
+            open_position = self.position
+            self.read()
+        else:
+            open_position = None
+
+        yield
+
+        if open_position is None:
+            return
+
+        if not self.check(close_token):
+            self.raise_syntax_error(
+                f"Expected matching {close_token} for {open_token}, after {around}",
+                span_start=open_position,
+            )
+
+        self.read()
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/licenses/__init__.py b/.venv/Lib/site-packages/pip/_vendor/packaging/licenses/__init__.py
new file mode 100644
index 0000000..031f277
--- /dev/null
+++ b/.venv/Lib/site-packages/pip/_vendor/packaging/licenses/__init__.py
@@ -0,0 +1,145 @@
+#######################################################################################
+#
+# Adapted from:
+#  https://github.com/pypa/hatch/blob/5352e44/backend/src/hatchling/licenses/parse.py
+#
+# MIT License
+#
+# Copyright (c) 2017-present Ofek Lev 
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy of this
+# software and associated documentation files (the "Software"), to deal in the Software
+# without restriction, including without limitation the rights to use, copy, modify,
+# merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
+# permit persons to whom the Software is furnished to do so, subject to the following
+# conditions:
+#
+# The above copyright notice and this permission notice shall be included in all copies
+# or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
+# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
+# PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
+# CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
+# OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+#
+# With additional allowance of arbitrary `LicenseRef-` identifiers, not just
+# `LicenseRef-Public-Domain` and `LicenseRef-Proprietary`.
+#
+#######################################################################################
+from __future__ import annotations
+
+import re
+from typing import NewType, cast
+
+from pip._vendor.packaging.licenses._spdx import EXCEPTIONS, LICENSES
+
+__all__ = [
+    "InvalidLicenseExpression",
+    "NormalizedLicenseExpression",
+    "canonicalize_license_expression",
+]
+
+license_ref_allowed = re.compile("^[A-Za-z0-9.-]*$")
+
+NormalizedLicenseExpression = NewType("NormalizedLicenseExpression", str)
+
+
+class InvalidLicenseExpression(ValueError):
+    """Raised when a license-expression string is invalid
+
+    >>> canonicalize_license_expression("invalid")
+    Traceback (most recent call last):
+        ...
+    packaging.licenses.InvalidLicenseExpression: Invalid license expression: 'invalid'
+    """
+
+
+def canonicalize_license_expression(
+    raw_license_expression: str,
+) -> NormalizedLicenseExpression:
+    if not raw_license_expression:
+        message = f"Invalid license expression: {raw_license_expression!r}"
+        raise InvalidLicenseExpression(message)
+
+    # Pad any parentheses so tokenization can be achieved by merely splitting on
+    # whitespace.
+    license_expression = raw_license_expression.replace("(", " ( ").replace(")", " ) ")
+    licenseref_prefix = "LicenseRef-"
+    license_refs = {
+        ref.lower(): "LicenseRef-" + ref[len(licenseref_prefix) :]
+        for ref in license_expression.split()
+        if ref.lower().startswith(licenseref_prefix.lower())
+    }
+
+    # Normalize to lower case so we can look up licenses/exceptions
+    # and so boolean operators are Python-compatible.
+    license_expression = license_expression.lower()
+
+    tokens = license_expression.split()
+
+    # Rather than implementing boolean logic, we create an expression that Python can
+    # parse. Everything that is not involved with the grammar itself is treated as
+    # `False` and the expression should evaluate as such.
+    python_tokens = []
+    for token in tokens:
+        if token not in {"or", "and", "with", "(", ")"}:
+            python_tokens.append("False")
+        elif token == "with":
+            python_tokens.append("or")
+        elif token == "(" and python_tokens and python_tokens[-1] not in {"or", "and"}:
+            message = f"Invalid license expression: {raw_license_expression!r}"
+            raise InvalidLicenseExpression(message)
+        else:
+            python_tokens.append(token)
+
+    python_expression = " ".join(python_tokens)
+    try:
+        invalid = eval(python_expression, globals(), locals())
+    except Exception:
+        invalid = True
+
+    if invalid is not False:
+        message = f"Invalid license expression: {raw_license_expression!r}"
+        raise InvalidLicenseExpression(message) from None
+
+    # Take a final pass to check for unknown licenses/exceptions.
+    normalized_tokens = []
+    for token in tokens:
+        if token in {"or", "and", "with", "(", ")"}:
+            normalized_tokens.append(token.upper())
+            continue
+
+        if normalized_tokens and normalized_tokens[-1] == "WITH":
+            if token not in EXCEPTIONS:
+                message = f"Unknown license exception: {token!r}"
+                raise InvalidLicenseExpression(message)
+
+            normalized_tokens.append(EXCEPTIONS[token]["id"])
+        else:
+            if token.endswith("+"):
+                final_token = token[:-1]
+                suffix = "+"
+            else:
+                final_token = token
+                suffix = ""
+
+            if final_token.startswith("licenseref-"):
+                if not license_ref_allowed.match(final_token):
+                    message = f"Invalid licenseref: {final_token!r}"
+                    raise InvalidLicenseExpression(message)
+                normalized_tokens.append(license_refs[final_token] + suffix)
+            else:
+                if final_token not in LICENSES:
+                    message = f"Unknown license: {final_token!r}"
+                    raise InvalidLicenseExpression(message)
+                normalized_tokens.append(LICENSES[final_token]["id"] + suffix)
+
+    normalized_expression = " ".join(normalized_tokens)
+
+    return cast(
+        NormalizedLicenseExpression,
+        normalized_expression.replace("( ", "(").replace(" )", ")"),
+    )
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/licenses/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/packaging/licenses/__pycache__/__init__.cpython-311.pyc
new file mode 100644
index 0000000..ee2df85
Binary files /dev/null and b/.venv/Lib/site-packages/pip/_vendor/packaging/licenses/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/licenses/__pycache__/_spdx.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/packaging/licenses/__pycache__/_spdx.cpython-311.pyc
new file mode 100644
index 0000000..7331ab3
Binary files /dev/null and b/.venv/Lib/site-packages/pip/_vendor/packaging/licenses/__pycache__/_spdx.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/licenses/_spdx.py b/.venv/Lib/site-packages/pip/_vendor/packaging/licenses/_spdx.py
new file mode 100644
index 0000000..eac2227
--- /dev/null
+++ b/.venv/Lib/site-packages/pip/_vendor/packaging/licenses/_spdx.py
@@ -0,0 +1,759 @@
+
+from __future__ import annotations
+
+from typing import TypedDict
+
+class SPDXLicense(TypedDict):
+    id: str
+    deprecated: bool
+
+class SPDXException(TypedDict):
+    id: str
+    deprecated: bool
+
+
+VERSION = '3.25.0'
+
+LICENSES: dict[str, SPDXLicense] = {
+    '0bsd': {'id': '0BSD', 'deprecated': False},
+    '3d-slicer-1.0': {'id': '3D-Slicer-1.0', 'deprecated': False},
+    'aal': {'id': 'AAL', 'deprecated': False},
+    'abstyles': {'id': 'Abstyles', 'deprecated': False},
+    'adacore-doc': {'id': 'AdaCore-doc', 'deprecated': False},
+    'adobe-2006': {'id': 'Adobe-2006', 'deprecated': False},
+    'adobe-display-postscript': {'id': 'Adobe-Display-PostScript', 'deprecated': False},
+    'adobe-glyph': {'id': 'Adobe-Glyph', 'deprecated': False},
+    'adobe-utopia': {'id': 'Adobe-Utopia', 'deprecated': False},
+    'adsl': {'id': 'ADSL', 'deprecated': False},
+    'afl-1.1': {'id': 'AFL-1.1', 'deprecated': False},
+    'afl-1.2': {'id': 'AFL-1.2', 'deprecated': False},
+    'afl-2.0': {'id': 'AFL-2.0', 'deprecated': False},
+    'afl-2.1': {'id': 'AFL-2.1', 'deprecated': False},
+    'afl-3.0': {'id': 'AFL-3.0', 'deprecated': False},
+    'afmparse': {'id': 'Afmparse', 'deprecated': False},
+    'agpl-1.0': {'id': 'AGPL-1.0', 'deprecated': True},
+    'agpl-1.0-only': {'id': 'AGPL-1.0-only', 'deprecated': False},
+    'agpl-1.0-or-later': {'id': 'AGPL-1.0-or-later', 'deprecated': False},
+    'agpl-3.0': {'id': 'AGPL-3.0', 'deprecated': True},
+    'agpl-3.0-only': {'id': 'AGPL-3.0-only', 'deprecated': False},
+    'agpl-3.0-or-later': {'id': 'AGPL-3.0-or-later', 'deprecated': False},
+    'aladdin': {'id': 'Aladdin', 'deprecated': False},
+    'amd-newlib': {'id': 'AMD-newlib', 'deprecated': False},
+    'amdplpa': {'id': 'AMDPLPA', 'deprecated': False},
+    'aml': {'id': 'AML', 'deprecated': False},
+    'aml-glslang': {'id': 'AML-glslang', 'deprecated': False},
+    'ampas': {'id': 'AMPAS', 'deprecated': False},
+    'antlr-pd': {'id': 'ANTLR-PD', 'deprecated': False},
+    'antlr-pd-fallback': {'id': 'ANTLR-PD-fallback', 'deprecated': False},
+    'any-osi': {'id': 'any-OSI', 'deprecated': False},
+    'apache-1.0': {'id': 'Apache-1.0', 'deprecated': False},
+    'apache-1.1': {'id': 'Apache-1.1', 'deprecated': False},
+    'apache-2.0': {'id': 'Apache-2.0', 'deprecated': False},
+    'apafml': {'id': 'APAFML', 'deprecated': False},
+    'apl-1.0': {'id': 'APL-1.0', 'deprecated': False},
+    'app-s2p': {'id': 'App-s2p', 'deprecated': False},
+    'apsl-1.0': {'id': 'APSL-1.0', 'deprecated': False},
+    'apsl-1.1': {'id': 'APSL-1.1', 'deprecated': False},
+    'apsl-1.2': {'id': 'APSL-1.2', 'deprecated': False},
+    'apsl-2.0': {'id': 'APSL-2.0', 'deprecated': False},
+    'arphic-1999': {'id': 'Arphic-1999', 'deprecated': False},
+    'artistic-1.0': {'id': 'Artistic-1.0', 'deprecated': False},
+    'artistic-1.0-cl8': {'id': 'Artistic-1.0-cl8', 'deprecated': False},
+    'artistic-1.0-perl': {'id': 'Artistic-1.0-Perl', 'deprecated': False},
+    'artistic-2.0': {'id': 'Artistic-2.0', 'deprecated': False},
+    'aswf-digital-assets-1.0': {'id': 'ASWF-Digital-Assets-1.0', 'deprecated': False},
+    'aswf-digital-assets-1.1': {'id': 'ASWF-Digital-Assets-1.1', 'deprecated': False},
+    'baekmuk': {'id': 'Baekmuk', 'deprecated': False},
+    'bahyph': {'id': 'Bahyph', 'deprecated': False},
+    'barr': {'id': 'Barr', 'deprecated': False},
+    'bcrypt-solar-designer': {'id': 'bcrypt-Solar-Designer', 'deprecated': False},
+    'beerware': {'id': 'Beerware', 'deprecated': False},
+    'bitstream-charter': {'id': 'Bitstream-Charter', 'deprecated': False},
+    'bitstream-vera': {'id': 'Bitstream-Vera', 'deprecated': False},
+    'bittorrent-1.0': {'id': 'BitTorrent-1.0', 'deprecated': False},
+    'bittorrent-1.1': {'id': 'BitTorrent-1.1', 'deprecated': False},
+    'blessing': {'id': 'blessing', 'deprecated': False},
+    'blueoak-1.0.0': {'id': 'BlueOak-1.0.0', 'deprecated': False},
+    'boehm-gc': {'id': 'Boehm-GC', 'deprecated': False},
+    'borceux': {'id': 'Borceux', 'deprecated': False},
+    'brian-gladman-2-clause': {'id': 'Brian-Gladman-2-Clause', 'deprecated': False},
+    'brian-gladman-3-clause': {'id': 'Brian-Gladman-3-Clause', 'deprecated': False},
+    'bsd-1-clause': {'id': 'BSD-1-Clause', 'deprecated': False},
+    'bsd-2-clause': {'id': 'BSD-2-Clause', 'deprecated': False},
+    'bsd-2-clause-darwin': {'id': 'BSD-2-Clause-Darwin', 'deprecated': False},
+    'bsd-2-clause-first-lines': {'id': 'BSD-2-Clause-first-lines', 'deprecated': False},
+    'bsd-2-clause-freebsd': {'id': 'BSD-2-Clause-FreeBSD', 'deprecated': True},
+    'bsd-2-clause-netbsd': {'id': 'BSD-2-Clause-NetBSD', 'deprecated': True},
+    'bsd-2-clause-patent': {'id': 'BSD-2-Clause-Patent', 'deprecated': False},
+    'bsd-2-clause-views': {'id': 'BSD-2-Clause-Views', 'deprecated': False},
+    'bsd-3-clause': {'id': 'BSD-3-Clause', 'deprecated': False},
+    'bsd-3-clause-acpica': {'id': 'BSD-3-Clause-acpica', 'deprecated': False},
+    'bsd-3-clause-attribution': {'id': 'BSD-3-Clause-Attribution', 'deprecated': False},
+    'bsd-3-clause-clear': {'id': 'BSD-3-Clause-Clear', 'deprecated': False},
+    'bsd-3-clause-flex': {'id': 'BSD-3-Clause-flex', 'deprecated': False},
+    'bsd-3-clause-hp': {'id': 'BSD-3-Clause-HP', 'deprecated': False},
+    'bsd-3-clause-lbnl': {'id': 'BSD-3-Clause-LBNL', 'deprecated': False},
+    'bsd-3-clause-modification': {'id': 'BSD-3-Clause-Modification', 'deprecated': False},
+    'bsd-3-clause-no-military-license': {'id': 'BSD-3-Clause-No-Military-License', 'deprecated': False},
+    'bsd-3-clause-no-nuclear-license': {'id': 'BSD-3-Clause-No-Nuclear-License', 'deprecated': False},
+    'bsd-3-clause-no-nuclear-license-2014': {'id': 'BSD-3-Clause-No-Nuclear-License-2014', 'deprecated': False},
+    'bsd-3-clause-no-nuclear-warranty': {'id': 'BSD-3-Clause-No-Nuclear-Warranty', 'deprecated': False},
+    'bsd-3-clause-open-mpi': {'id': 'BSD-3-Clause-Open-MPI', 'deprecated': False},
+    'bsd-3-clause-sun': {'id': 'BSD-3-Clause-Sun', 'deprecated': False},
+    'bsd-4-clause': {'id': 'BSD-4-Clause', 'deprecated': False},
+    'bsd-4-clause-shortened': {'id': 'BSD-4-Clause-Shortened', 'deprecated': False},
+    'bsd-4-clause-uc': {'id': 'BSD-4-Clause-UC', 'deprecated': False},
+    'bsd-4.3reno': {'id': 'BSD-4.3RENO', 'deprecated': False},
+    'bsd-4.3tahoe': {'id': 'BSD-4.3TAHOE', 'deprecated': False},
+    'bsd-advertising-acknowledgement': {'id': 'BSD-Advertising-Acknowledgement', 'deprecated': False},
+    'bsd-attribution-hpnd-disclaimer': {'id': 'BSD-Attribution-HPND-disclaimer', 'deprecated': False},
+    'bsd-inferno-nettverk': {'id': 'BSD-Inferno-Nettverk', 'deprecated': False},
+    'bsd-protection': {'id': 'BSD-Protection', 'deprecated': False},
+    'bsd-source-beginning-file': {'id': 'BSD-Source-beginning-file', 'deprecated': False},
+    'bsd-source-code': {'id': 'BSD-Source-Code', 'deprecated': False},
+    'bsd-systemics': {'id': 'BSD-Systemics', 'deprecated': False},
+    'bsd-systemics-w3works': {'id': 'BSD-Systemics-W3Works', 'deprecated': False},
+    'bsl-1.0': {'id': 'BSL-1.0', 'deprecated': False},
+    'busl-1.1': {'id': 'BUSL-1.1', 'deprecated': False},
+    'bzip2-1.0.5': {'id': 'bzip2-1.0.5', 'deprecated': True},
+    'bzip2-1.0.6': {'id': 'bzip2-1.0.6', 'deprecated': False},
+    'c-uda-1.0': {'id': 'C-UDA-1.0', 'deprecated': False},
+    'cal-1.0': {'id': 'CAL-1.0', 'deprecated': False},
+    'cal-1.0-combined-work-exception': {'id': 'CAL-1.0-Combined-Work-Exception', 'deprecated': False},
+    'caldera': {'id': 'Caldera', 'deprecated': False},
+    'caldera-no-preamble': {'id': 'Caldera-no-preamble', 'deprecated': False},
+    'catharon': {'id': 'Catharon', 'deprecated': False},
+    'catosl-1.1': {'id': 'CATOSL-1.1', 'deprecated': False},
+    'cc-by-1.0': {'id': 'CC-BY-1.0', 'deprecated': False},
+    'cc-by-2.0': {'id': 'CC-BY-2.0', 'deprecated': False},
+    'cc-by-2.5': {'id': 'CC-BY-2.5', 'deprecated': False},
+    'cc-by-2.5-au': {'id': 'CC-BY-2.5-AU', 'deprecated': False},
+    'cc-by-3.0': {'id': 'CC-BY-3.0', 'deprecated': False},
+    'cc-by-3.0-at': {'id': 'CC-BY-3.0-AT', 'deprecated': False},
+    'cc-by-3.0-au': {'id': 'CC-BY-3.0-AU', 'deprecated': False},
+    'cc-by-3.0-de': {'id': 'CC-BY-3.0-DE', 'deprecated': False},
+    'cc-by-3.0-igo': {'id': 'CC-BY-3.0-IGO', 'deprecated': False},
+    'cc-by-3.0-nl': {'id': 'CC-BY-3.0-NL', 'deprecated': False},
+    'cc-by-3.0-us': {'id': 'CC-BY-3.0-US', 'deprecated': False},
+    'cc-by-4.0': {'id': 'CC-BY-4.0', 'deprecated': False},
+    'cc-by-nc-1.0': {'id': 'CC-BY-NC-1.0', 'deprecated': False},
+    'cc-by-nc-2.0': {'id': 'CC-BY-NC-2.0', 'deprecated': False},
+    'cc-by-nc-2.5': {'id': 'CC-BY-NC-2.5', 'deprecated': False},
+    'cc-by-nc-3.0': {'id': 'CC-BY-NC-3.0', 'deprecated': False},
+    'cc-by-nc-3.0-de': {'id': 'CC-BY-NC-3.0-DE', 'deprecated': False},
+    'cc-by-nc-4.0': {'id': 'CC-BY-NC-4.0', 'deprecated': False},
+    'cc-by-nc-nd-1.0': {'id': 'CC-BY-NC-ND-1.0', 'deprecated': False},
+    'cc-by-nc-nd-2.0': {'id': 'CC-BY-NC-ND-2.0', 'deprecated': False},
+    'cc-by-nc-nd-2.5': {'id': 'CC-BY-NC-ND-2.5', 'deprecated': False},
+    'cc-by-nc-nd-3.0': {'id': 'CC-BY-NC-ND-3.0', 'deprecated': False},
+    'cc-by-nc-nd-3.0-de': {'id': 'CC-BY-NC-ND-3.0-DE', 'deprecated': False},
+    'cc-by-nc-nd-3.0-igo': {'id': 'CC-BY-NC-ND-3.0-IGO', 'deprecated': False},
+    'cc-by-nc-nd-4.0': {'id': 'CC-BY-NC-ND-4.0', 'deprecated': False},
+    'cc-by-nc-sa-1.0': {'id': 'CC-BY-NC-SA-1.0', 'deprecated': False},
+    'cc-by-nc-sa-2.0': {'id': 'CC-BY-NC-SA-2.0', 'deprecated': False},
+    'cc-by-nc-sa-2.0-de': {'id': 'CC-BY-NC-SA-2.0-DE', 'deprecated': False},
+    'cc-by-nc-sa-2.0-fr': {'id': 'CC-BY-NC-SA-2.0-FR', 'deprecated': False},
+    'cc-by-nc-sa-2.0-uk': {'id': 'CC-BY-NC-SA-2.0-UK', 'deprecated': False},
+    'cc-by-nc-sa-2.5': {'id': 'CC-BY-NC-SA-2.5', 'deprecated': False},
+    'cc-by-nc-sa-3.0': {'id': 'CC-BY-NC-SA-3.0', 'deprecated': False},
+    'cc-by-nc-sa-3.0-de': {'id': 'CC-BY-NC-SA-3.0-DE', 'deprecated': False},
+    'cc-by-nc-sa-3.0-igo': {'id': 'CC-BY-NC-SA-3.0-IGO', 'deprecated': False},
+    'cc-by-nc-sa-4.0': {'id': 'CC-BY-NC-SA-4.0', 'deprecated': False},
+    'cc-by-nd-1.0': {'id': 'CC-BY-ND-1.0', 'deprecated': False},
+    'cc-by-nd-2.0': {'id': 'CC-BY-ND-2.0', 'deprecated': False},
+    'cc-by-nd-2.5': {'id': 'CC-BY-ND-2.5', 'deprecated': False},
+    'cc-by-nd-3.0': {'id': 'CC-BY-ND-3.0', 'deprecated': False},
+    'cc-by-nd-3.0-de': {'id': 'CC-BY-ND-3.0-DE', 'deprecated': False},
+    'cc-by-nd-4.0': {'id': 'CC-BY-ND-4.0', 'deprecated': False},
+    'cc-by-sa-1.0': {'id': 'CC-BY-SA-1.0', 'deprecated': False},
+    'cc-by-sa-2.0': {'id': 'CC-BY-SA-2.0', 'deprecated': False},
+    'cc-by-sa-2.0-uk': {'id': 'CC-BY-SA-2.0-UK', 'deprecated': False},
+    'cc-by-sa-2.1-jp': {'id': 'CC-BY-SA-2.1-JP', 'deprecated': False},
+    'cc-by-sa-2.5': {'id': 'CC-BY-SA-2.5', 'deprecated': False},
+    'cc-by-sa-3.0': {'id': 'CC-BY-SA-3.0', 'deprecated': False},
+    'cc-by-sa-3.0-at': {'id': 'CC-BY-SA-3.0-AT', 'deprecated': False},
+    'cc-by-sa-3.0-de': {'id': 'CC-BY-SA-3.0-DE', 'deprecated': False},
+    'cc-by-sa-3.0-igo': {'id': 'CC-BY-SA-3.0-IGO', 'deprecated': False},
+    'cc-by-sa-4.0': {'id': 'CC-BY-SA-4.0', 'deprecated': False},
+    'cc-pddc': {'id': 'CC-PDDC', 'deprecated': False},
+    'cc0-1.0': {'id': 'CC0-1.0', 'deprecated': False},
+    'cddl-1.0': {'id': 'CDDL-1.0', 'deprecated': False},
+    'cddl-1.1': {'id': 'CDDL-1.1', 'deprecated': False},
+    'cdl-1.0': {'id': 'CDL-1.0', 'deprecated': False},
+    'cdla-permissive-1.0': {'id': 'CDLA-Permissive-1.0', 'deprecated': False},
+    'cdla-permissive-2.0': {'id': 'CDLA-Permissive-2.0', 'deprecated': False},
+    'cdla-sharing-1.0': {'id': 'CDLA-Sharing-1.0', 'deprecated': False},
+    'cecill-1.0': {'id': 'CECILL-1.0', 'deprecated': False},
+    'cecill-1.1': {'id': 'CECILL-1.1', 'deprecated': False},
+    'cecill-2.0': {'id': 'CECILL-2.0', 'deprecated': False},
+    'cecill-2.1': {'id': 'CECILL-2.1', 'deprecated': False},
+    'cecill-b': {'id': 'CECILL-B', 'deprecated': False},
+    'cecill-c': {'id': 'CECILL-C', 'deprecated': False},
+    'cern-ohl-1.1': {'id': 'CERN-OHL-1.1', 'deprecated': False},
+    'cern-ohl-1.2': {'id': 'CERN-OHL-1.2', 'deprecated': False},
+    'cern-ohl-p-2.0': {'id': 'CERN-OHL-P-2.0', 'deprecated': False},
+    'cern-ohl-s-2.0': {'id': 'CERN-OHL-S-2.0', 'deprecated': False},
+    'cern-ohl-w-2.0': {'id': 'CERN-OHL-W-2.0', 'deprecated': False},
+    'cfitsio': {'id': 'CFITSIO', 'deprecated': False},
+    'check-cvs': {'id': 'check-cvs', 'deprecated': False},
+    'checkmk': {'id': 'checkmk', 'deprecated': False},
+    'clartistic': {'id': 'ClArtistic', 'deprecated': False},
+    'clips': {'id': 'Clips', 'deprecated': False},
+    'cmu-mach': {'id': 'CMU-Mach', 'deprecated': False},
+    'cmu-mach-nodoc': {'id': 'CMU-Mach-nodoc', 'deprecated': False},
+    'cnri-jython': {'id': 'CNRI-Jython', 'deprecated': False},
+    'cnri-python': {'id': 'CNRI-Python', 'deprecated': False},
+    'cnri-python-gpl-compatible': {'id': 'CNRI-Python-GPL-Compatible', 'deprecated': False},
+    'coil-1.0': {'id': 'COIL-1.0', 'deprecated': False},
+    'community-spec-1.0': {'id': 'Community-Spec-1.0', 'deprecated': False},
+    'condor-1.1': {'id': 'Condor-1.1', 'deprecated': False},
+    'copyleft-next-0.3.0': {'id': 'copyleft-next-0.3.0', 'deprecated': False},
+    'copyleft-next-0.3.1': {'id': 'copyleft-next-0.3.1', 'deprecated': False},
+    'cornell-lossless-jpeg': {'id': 'Cornell-Lossless-JPEG', 'deprecated': False},
+    'cpal-1.0': {'id': 'CPAL-1.0', 'deprecated': False},
+    'cpl-1.0': {'id': 'CPL-1.0', 'deprecated': False},
+    'cpol-1.02': {'id': 'CPOL-1.02', 'deprecated': False},
+    'cronyx': {'id': 'Cronyx', 'deprecated': False},
+    'crossword': {'id': 'Crossword', 'deprecated': False},
+    'crystalstacker': {'id': 'CrystalStacker', 'deprecated': False},
+    'cua-opl-1.0': {'id': 'CUA-OPL-1.0', 'deprecated': False},
+    'cube': {'id': 'Cube', 'deprecated': False},
+    'curl': {'id': 'curl', 'deprecated': False},
+    'cve-tou': {'id': 'cve-tou', 'deprecated': False},
+    'd-fsl-1.0': {'id': 'D-FSL-1.0', 'deprecated': False},
+    'dec-3-clause': {'id': 'DEC-3-Clause', 'deprecated': False},
+    'diffmark': {'id': 'diffmark', 'deprecated': False},
+    'dl-de-by-2.0': {'id': 'DL-DE-BY-2.0', 'deprecated': False},
+    'dl-de-zero-2.0': {'id': 'DL-DE-ZERO-2.0', 'deprecated': False},
+    'doc': {'id': 'DOC', 'deprecated': False},
+    'docbook-schema': {'id': 'DocBook-Schema', 'deprecated': False},
+    'docbook-xml': {'id': 'DocBook-XML', 'deprecated': False},
+    'dotseqn': {'id': 'Dotseqn', 'deprecated': False},
+    'drl-1.0': {'id': 'DRL-1.0', 'deprecated': False},
+    'drl-1.1': {'id': 'DRL-1.1', 'deprecated': False},
+    'dsdp': {'id': 'DSDP', 'deprecated': False},
+    'dtoa': {'id': 'dtoa', 'deprecated': False},
+    'dvipdfm': {'id': 'dvipdfm', 'deprecated': False},
+    'ecl-1.0': {'id': 'ECL-1.0', 'deprecated': False},
+    'ecl-2.0': {'id': 'ECL-2.0', 'deprecated': False},
+    'ecos-2.0': {'id': 'eCos-2.0', 'deprecated': True},
+    'efl-1.0': {'id': 'EFL-1.0', 'deprecated': False},
+    'efl-2.0': {'id': 'EFL-2.0', 'deprecated': False},
+    'egenix': {'id': 'eGenix', 'deprecated': False},
+    'elastic-2.0': {'id': 'Elastic-2.0', 'deprecated': False},
+    'entessa': {'id': 'Entessa', 'deprecated': False},
+    'epics': {'id': 'EPICS', 'deprecated': False},
+    'epl-1.0': {'id': 'EPL-1.0', 'deprecated': False},
+    'epl-2.0': {'id': 'EPL-2.0', 'deprecated': False},
+    'erlpl-1.1': {'id': 'ErlPL-1.1', 'deprecated': False},
+    'etalab-2.0': {'id': 'etalab-2.0', 'deprecated': False},
+    'eudatagrid': {'id': 'EUDatagrid', 'deprecated': False},
+    'eupl-1.0': {'id': 'EUPL-1.0', 'deprecated': False},
+    'eupl-1.1': {'id': 'EUPL-1.1', 'deprecated': False},
+    'eupl-1.2': {'id': 'EUPL-1.2', 'deprecated': False},
+    'eurosym': {'id': 'Eurosym', 'deprecated': False},
+    'fair': {'id': 'Fair', 'deprecated': False},
+    'fbm': {'id': 'FBM', 'deprecated': False},
+    'fdk-aac': {'id': 'FDK-AAC', 'deprecated': False},
+    'ferguson-twofish': {'id': 'Ferguson-Twofish', 'deprecated': False},
+    'frameworx-1.0': {'id': 'Frameworx-1.0', 'deprecated': False},
+    'freebsd-doc': {'id': 'FreeBSD-DOC', 'deprecated': False},
+    'freeimage': {'id': 'FreeImage', 'deprecated': False},
+    'fsfap': {'id': 'FSFAP', 'deprecated': False},
+    'fsfap-no-warranty-disclaimer': {'id': 'FSFAP-no-warranty-disclaimer', 'deprecated': False},
+    'fsful': {'id': 'FSFUL', 'deprecated': False},
+    'fsfullr': {'id': 'FSFULLR', 'deprecated': False},
+    'fsfullrwd': {'id': 'FSFULLRWD', 'deprecated': False},
+    'ftl': {'id': 'FTL', 'deprecated': False},
+    'furuseth': {'id': 'Furuseth', 'deprecated': False},
+    'fwlw': {'id': 'fwlw', 'deprecated': False},
+    'gcr-docs': {'id': 'GCR-docs', 'deprecated': False},
+    'gd': {'id': 'GD', 'deprecated': False},
+    'gfdl-1.1': {'id': 'GFDL-1.1', 'deprecated': True},
+    'gfdl-1.1-invariants-only': {'id': 'GFDL-1.1-invariants-only', 'deprecated': False},
+    'gfdl-1.1-invariants-or-later': {'id': 'GFDL-1.1-invariants-or-later', 'deprecated': False},
+    'gfdl-1.1-no-invariants-only': {'id': 'GFDL-1.1-no-invariants-only', 'deprecated': False},
+    'gfdl-1.1-no-invariants-or-later': {'id': 'GFDL-1.1-no-invariants-or-later', 'deprecated': False},
+    'gfdl-1.1-only': {'id': 'GFDL-1.1-only', 'deprecated': False},
+    'gfdl-1.1-or-later': {'id': 'GFDL-1.1-or-later', 'deprecated': False},
+    'gfdl-1.2': {'id': 'GFDL-1.2', 'deprecated': True},
+    'gfdl-1.2-invariants-only': {'id': 'GFDL-1.2-invariants-only', 'deprecated': False},
+    'gfdl-1.2-invariants-or-later': {'id': 'GFDL-1.2-invariants-or-later', 'deprecated': False},
+    'gfdl-1.2-no-invariants-only': {'id': 'GFDL-1.2-no-invariants-only', 'deprecated': False},
+    'gfdl-1.2-no-invariants-or-later': {'id': 'GFDL-1.2-no-invariants-or-later', 'deprecated': False},
+    'gfdl-1.2-only': {'id': 'GFDL-1.2-only', 'deprecated': False},
+    'gfdl-1.2-or-later': {'id': 'GFDL-1.2-or-later', 'deprecated': False},
+    'gfdl-1.3': {'id': 'GFDL-1.3', 'deprecated': True},
+    'gfdl-1.3-invariants-only': {'id': 'GFDL-1.3-invariants-only', 'deprecated': False},
+    'gfdl-1.3-invariants-or-later': {'id': 'GFDL-1.3-invariants-or-later', 'deprecated': False},
+    'gfdl-1.3-no-invariants-only': {'id': 'GFDL-1.3-no-invariants-only', 'deprecated': False},
+    'gfdl-1.3-no-invariants-or-later': {'id': 'GFDL-1.3-no-invariants-or-later', 'deprecated': False},
+    'gfdl-1.3-only': {'id': 'GFDL-1.3-only', 'deprecated': False},
+    'gfdl-1.3-or-later': {'id': 'GFDL-1.3-or-later', 'deprecated': False},
+    'giftware': {'id': 'Giftware', 'deprecated': False},
+    'gl2ps': {'id': 'GL2PS', 'deprecated': False},
+    'glide': {'id': 'Glide', 'deprecated': False},
+    'glulxe': {'id': 'Glulxe', 'deprecated': False},
+    'glwtpl': {'id': 'GLWTPL', 'deprecated': False},
+    'gnuplot': {'id': 'gnuplot', 'deprecated': False},
+    'gpl-1.0': {'id': 'GPL-1.0', 'deprecated': True},
+    'gpl-1.0+': {'id': 'GPL-1.0+', 'deprecated': True},
+    'gpl-1.0-only': {'id': 'GPL-1.0-only', 'deprecated': False},
+    'gpl-1.0-or-later': {'id': 'GPL-1.0-or-later', 'deprecated': False},
+    'gpl-2.0': {'id': 'GPL-2.0', 'deprecated': True},
+    'gpl-2.0+': {'id': 'GPL-2.0+', 'deprecated': True},
+    'gpl-2.0-only': {'id': 'GPL-2.0-only', 'deprecated': False},
+    'gpl-2.0-or-later': {'id': 'GPL-2.0-or-later', 'deprecated': False},
+    'gpl-2.0-with-autoconf-exception': {'id': 'GPL-2.0-with-autoconf-exception', 'deprecated': True},
+    'gpl-2.0-with-bison-exception': {'id': 'GPL-2.0-with-bison-exception', 'deprecated': True},
+    'gpl-2.0-with-classpath-exception': {'id': 'GPL-2.0-with-classpath-exception', 'deprecated': True},
+    'gpl-2.0-with-font-exception': {'id': 'GPL-2.0-with-font-exception', 'deprecated': True},
+    'gpl-2.0-with-gcc-exception': {'id': 'GPL-2.0-with-GCC-exception', 'deprecated': True},
+    'gpl-3.0': {'id': 'GPL-3.0', 'deprecated': True},
+    'gpl-3.0+': {'id': 'GPL-3.0+', 'deprecated': True},
+    'gpl-3.0-only': {'id': 'GPL-3.0-only', 'deprecated': False},
+    'gpl-3.0-or-later': {'id': 'GPL-3.0-or-later', 'deprecated': False},
+    'gpl-3.0-with-autoconf-exception': {'id': 'GPL-3.0-with-autoconf-exception', 'deprecated': True},
+    'gpl-3.0-with-gcc-exception': {'id': 'GPL-3.0-with-GCC-exception', 'deprecated': True},
+    'graphics-gems': {'id': 'Graphics-Gems', 'deprecated': False},
+    'gsoap-1.3b': {'id': 'gSOAP-1.3b', 'deprecated': False},
+    'gtkbook': {'id': 'gtkbook', 'deprecated': False},
+    'gutmann': {'id': 'Gutmann', 'deprecated': False},
+    'haskellreport': {'id': 'HaskellReport', 'deprecated': False},
+    'hdparm': {'id': 'hdparm', 'deprecated': False},
+    'hidapi': {'id': 'HIDAPI', 'deprecated': False},
+    'hippocratic-2.1': {'id': 'Hippocratic-2.1', 'deprecated': False},
+    'hp-1986': {'id': 'HP-1986', 'deprecated': False},
+    'hp-1989': {'id': 'HP-1989', 'deprecated': False},
+    'hpnd': {'id': 'HPND', 'deprecated': False},
+    'hpnd-dec': {'id': 'HPND-DEC', 'deprecated': False},
+    'hpnd-doc': {'id': 'HPND-doc', 'deprecated': False},
+    'hpnd-doc-sell': {'id': 'HPND-doc-sell', 'deprecated': False},
+    'hpnd-export-us': {'id': 'HPND-export-US', 'deprecated': False},
+    'hpnd-export-us-acknowledgement': {'id': 'HPND-export-US-acknowledgement', 'deprecated': False},
+    'hpnd-export-us-modify': {'id': 'HPND-export-US-modify', 'deprecated': False},
+    'hpnd-export2-us': {'id': 'HPND-export2-US', 'deprecated': False},
+    'hpnd-fenneberg-livingston': {'id': 'HPND-Fenneberg-Livingston', 'deprecated': False},
+    'hpnd-inria-imag': {'id': 'HPND-INRIA-IMAG', 'deprecated': False},
+    'hpnd-intel': {'id': 'HPND-Intel', 'deprecated': False},
+    'hpnd-kevlin-henney': {'id': 'HPND-Kevlin-Henney', 'deprecated': False},
+    'hpnd-markus-kuhn': {'id': 'HPND-Markus-Kuhn', 'deprecated': False},
+    'hpnd-merchantability-variant': {'id': 'HPND-merchantability-variant', 'deprecated': False},
+    'hpnd-mit-disclaimer': {'id': 'HPND-MIT-disclaimer', 'deprecated': False},
+    'hpnd-netrek': {'id': 'HPND-Netrek', 'deprecated': False},
+    'hpnd-pbmplus': {'id': 'HPND-Pbmplus', 'deprecated': False},
+    'hpnd-sell-mit-disclaimer-xserver': {'id': 'HPND-sell-MIT-disclaimer-xserver', 'deprecated': False},
+    'hpnd-sell-regexpr': {'id': 'HPND-sell-regexpr', 'deprecated': False},
+    'hpnd-sell-variant': {'id': 'HPND-sell-variant', 'deprecated': False},
+    'hpnd-sell-variant-mit-disclaimer': {'id': 'HPND-sell-variant-MIT-disclaimer', 'deprecated': False},
+    'hpnd-sell-variant-mit-disclaimer-rev': {'id': 'HPND-sell-variant-MIT-disclaimer-rev', 'deprecated': False},
+    'hpnd-uc': {'id': 'HPND-UC', 'deprecated': False},
+    'hpnd-uc-export-us': {'id': 'HPND-UC-export-US', 'deprecated': False},
+    'htmltidy': {'id': 'HTMLTIDY', 'deprecated': False},
+    'ibm-pibs': {'id': 'IBM-pibs', 'deprecated': False},
+    'icu': {'id': 'ICU', 'deprecated': False},
+    'iec-code-components-eula': {'id': 'IEC-Code-Components-EULA', 'deprecated': False},
+    'ijg': {'id': 'IJG', 'deprecated': False},
+    'ijg-short': {'id': 'IJG-short', 'deprecated': False},
+    'imagemagick': {'id': 'ImageMagick', 'deprecated': False},
+    'imatix': {'id': 'iMatix', 'deprecated': False},
+    'imlib2': {'id': 'Imlib2', 'deprecated': False},
+    'info-zip': {'id': 'Info-ZIP', 'deprecated': False},
+    'inner-net-2.0': {'id': 'Inner-Net-2.0', 'deprecated': False},
+    'intel': {'id': 'Intel', 'deprecated': False},
+    'intel-acpi': {'id': 'Intel-ACPI', 'deprecated': False},
+    'interbase-1.0': {'id': 'Interbase-1.0', 'deprecated': False},
+    'ipa': {'id': 'IPA', 'deprecated': False},
+    'ipl-1.0': {'id': 'IPL-1.0', 'deprecated': False},
+    'isc': {'id': 'ISC', 'deprecated': False},
+    'isc-veillard': {'id': 'ISC-Veillard', 'deprecated': False},
+    'jam': {'id': 'Jam', 'deprecated': False},
+    'jasper-2.0': {'id': 'JasPer-2.0', 'deprecated': False},
+    'jpl-image': {'id': 'JPL-image', 'deprecated': False},
+    'jpnic': {'id': 'JPNIC', 'deprecated': False},
+    'json': {'id': 'JSON', 'deprecated': False},
+    'kastrup': {'id': 'Kastrup', 'deprecated': False},
+    'kazlib': {'id': 'Kazlib', 'deprecated': False},
+    'knuth-ctan': {'id': 'Knuth-CTAN', 'deprecated': False},
+    'lal-1.2': {'id': 'LAL-1.2', 'deprecated': False},
+    'lal-1.3': {'id': 'LAL-1.3', 'deprecated': False},
+    'latex2e': {'id': 'Latex2e', 'deprecated': False},
+    'latex2e-translated-notice': {'id': 'Latex2e-translated-notice', 'deprecated': False},
+    'leptonica': {'id': 'Leptonica', 'deprecated': False},
+    'lgpl-2.0': {'id': 'LGPL-2.0', 'deprecated': True},
+    'lgpl-2.0+': {'id': 'LGPL-2.0+', 'deprecated': True},
+    'lgpl-2.0-only': {'id': 'LGPL-2.0-only', 'deprecated': False},
+    'lgpl-2.0-or-later': {'id': 'LGPL-2.0-or-later', 'deprecated': False},
+    'lgpl-2.1': {'id': 'LGPL-2.1', 'deprecated': True},
+    'lgpl-2.1+': {'id': 'LGPL-2.1+', 'deprecated': True},
+    'lgpl-2.1-only': {'id': 'LGPL-2.1-only', 'deprecated': False},
+    'lgpl-2.1-or-later': {'id': 'LGPL-2.1-or-later', 'deprecated': False},
+    'lgpl-3.0': {'id': 'LGPL-3.0', 'deprecated': True},
+    'lgpl-3.0+': {'id': 'LGPL-3.0+', 'deprecated': True},
+    'lgpl-3.0-only': {'id': 'LGPL-3.0-only', 'deprecated': False},
+    'lgpl-3.0-or-later': {'id': 'LGPL-3.0-or-later', 'deprecated': False},
+    'lgpllr': {'id': 'LGPLLR', 'deprecated': False},
+    'libpng': {'id': 'Libpng', 'deprecated': False},
+    'libpng-2.0': {'id': 'libpng-2.0', 'deprecated': False},
+    'libselinux-1.0': {'id': 'libselinux-1.0', 'deprecated': False},
+    'libtiff': {'id': 'libtiff', 'deprecated': False},
+    'libutil-david-nugent': {'id': 'libutil-David-Nugent', 'deprecated': False},
+    'liliq-p-1.1': {'id': 'LiLiQ-P-1.1', 'deprecated': False},
+    'liliq-r-1.1': {'id': 'LiLiQ-R-1.1', 'deprecated': False},
+    'liliq-rplus-1.1': {'id': 'LiLiQ-Rplus-1.1', 'deprecated': False},
+    'linux-man-pages-1-para': {'id': 'Linux-man-pages-1-para', 'deprecated': False},
+    'linux-man-pages-copyleft': {'id': 'Linux-man-pages-copyleft', 'deprecated': False},
+    'linux-man-pages-copyleft-2-para': {'id': 'Linux-man-pages-copyleft-2-para', 'deprecated': False},
+    'linux-man-pages-copyleft-var': {'id': 'Linux-man-pages-copyleft-var', 'deprecated': False},
+    'linux-openib': {'id': 'Linux-OpenIB', 'deprecated': False},
+    'loop': {'id': 'LOOP', 'deprecated': False},
+    'lpd-document': {'id': 'LPD-document', 'deprecated': False},
+    'lpl-1.0': {'id': 'LPL-1.0', 'deprecated': False},
+    'lpl-1.02': {'id': 'LPL-1.02', 'deprecated': False},
+    'lppl-1.0': {'id': 'LPPL-1.0', 'deprecated': False},
+    'lppl-1.1': {'id': 'LPPL-1.1', 'deprecated': False},
+    'lppl-1.2': {'id': 'LPPL-1.2', 'deprecated': False},
+    'lppl-1.3a': {'id': 'LPPL-1.3a', 'deprecated': False},
+    'lppl-1.3c': {'id': 'LPPL-1.3c', 'deprecated': False},
+    'lsof': {'id': 'lsof', 'deprecated': False},
+    'lucida-bitmap-fonts': {'id': 'Lucida-Bitmap-Fonts', 'deprecated': False},
+    'lzma-sdk-9.11-to-9.20': {'id': 'LZMA-SDK-9.11-to-9.20', 'deprecated': False},
+    'lzma-sdk-9.22': {'id': 'LZMA-SDK-9.22', 'deprecated': False},
+    'mackerras-3-clause': {'id': 'Mackerras-3-Clause', 'deprecated': False},
+    'mackerras-3-clause-acknowledgment': {'id': 'Mackerras-3-Clause-acknowledgment', 'deprecated': False},
+    'magaz': {'id': 'magaz', 'deprecated': False},
+    'mailprio': {'id': 'mailprio', 'deprecated': False},
+    'makeindex': {'id': 'MakeIndex', 'deprecated': False},
+    'martin-birgmeier': {'id': 'Martin-Birgmeier', 'deprecated': False},
+    'mcphee-slideshow': {'id': 'McPhee-slideshow', 'deprecated': False},
+    'metamail': {'id': 'metamail', 'deprecated': False},
+    'minpack': {'id': 'Minpack', 'deprecated': False},
+    'miros': {'id': 'MirOS', 'deprecated': False},
+    'mit': {'id': 'MIT', 'deprecated': False},
+    'mit-0': {'id': 'MIT-0', 'deprecated': False},
+    'mit-advertising': {'id': 'MIT-advertising', 'deprecated': False},
+    'mit-cmu': {'id': 'MIT-CMU', 'deprecated': False},
+    'mit-enna': {'id': 'MIT-enna', 'deprecated': False},
+    'mit-feh': {'id': 'MIT-feh', 'deprecated': False},
+    'mit-festival': {'id': 'MIT-Festival', 'deprecated': False},
+    'mit-khronos-old': {'id': 'MIT-Khronos-old', 'deprecated': False},
+    'mit-modern-variant': {'id': 'MIT-Modern-Variant', 'deprecated': False},
+    'mit-open-group': {'id': 'MIT-open-group', 'deprecated': False},
+    'mit-testregex': {'id': 'MIT-testregex', 'deprecated': False},
+    'mit-wu': {'id': 'MIT-Wu', 'deprecated': False},
+    'mitnfa': {'id': 'MITNFA', 'deprecated': False},
+    'mmixware': {'id': 'MMIXware', 'deprecated': False},
+    'motosoto': {'id': 'Motosoto', 'deprecated': False},
+    'mpeg-ssg': {'id': 'MPEG-SSG', 'deprecated': False},
+    'mpi-permissive': {'id': 'mpi-permissive', 'deprecated': False},
+    'mpich2': {'id': 'mpich2', 'deprecated': False},
+    'mpl-1.0': {'id': 'MPL-1.0', 'deprecated': False},
+    'mpl-1.1': {'id': 'MPL-1.1', 'deprecated': False},
+    'mpl-2.0': {'id': 'MPL-2.0', 'deprecated': False},
+    'mpl-2.0-no-copyleft-exception': {'id': 'MPL-2.0-no-copyleft-exception', 'deprecated': False},
+    'mplus': {'id': 'mplus', 'deprecated': False},
+    'ms-lpl': {'id': 'MS-LPL', 'deprecated': False},
+    'ms-pl': {'id': 'MS-PL', 'deprecated': False},
+    'ms-rl': {'id': 'MS-RL', 'deprecated': False},
+    'mtll': {'id': 'MTLL', 'deprecated': False},
+    'mulanpsl-1.0': {'id': 'MulanPSL-1.0', 'deprecated': False},
+    'mulanpsl-2.0': {'id': 'MulanPSL-2.0', 'deprecated': False},
+    'multics': {'id': 'Multics', 'deprecated': False},
+    'mup': {'id': 'Mup', 'deprecated': False},
+    'naist-2003': {'id': 'NAIST-2003', 'deprecated': False},
+    'nasa-1.3': {'id': 'NASA-1.3', 'deprecated': False},
+    'naumen': {'id': 'Naumen', 'deprecated': False},
+    'nbpl-1.0': {'id': 'NBPL-1.0', 'deprecated': False},
+    'ncbi-pd': {'id': 'NCBI-PD', 'deprecated': False},
+    'ncgl-uk-2.0': {'id': 'NCGL-UK-2.0', 'deprecated': False},
+    'ncl': {'id': 'NCL', 'deprecated': False},
+    'ncsa': {'id': 'NCSA', 'deprecated': False},
+    'net-snmp': {'id': 'Net-SNMP', 'deprecated': True},
+    'netcdf': {'id': 'NetCDF', 'deprecated': False},
+    'newsletr': {'id': 'Newsletr', 'deprecated': False},
+    'ngpl': {'id': 'NGPL', 'deprecated': False},
+    'nicta-1.0': {'id': 'NICTA-1.0', 'deprecated': False},
+    'nist-pd': {'id': 'NIST-PD', 'deprecated': False},
+    'nist-pd-fallback': {'id': 'NIST-PD-fallback', 'deprecated': False},
+    'nist-software': {'id': 'NIST-Software', 'deprecated': False},
+    'nlod-1.0': {'id': 'NLOD-1.0', 'deprecated': False},
+    'nlod-2.0': {'id': 'NLOD-2.0', 'deprecated': False},
+    'nlpl': {'id': 'NLPL', 'deprecated': False},
+    'nokia': {'id': 'Nokia', 'deprecated': False},
+    'nosl': {'id': 'NOSL', 'deprecated': False},
+    'noweb': {'id': 'Noweb', 'deprecated': False},
+    'npl-1.0': {'id': 'NPL-1.0', 'deprecated': False},
+    'npl-1.1': {'id': 'NPL-1.1', 'deprecated': False},
+    'nposl-3.0': {'id': 'NPOSL-3.0', 'deprecated': False},
+    'nrl': {'id': 'NRL', 'deprecated': False},
+    'ntp': {'id': 'NTP', 'deprecated': False},
+    'ntp-0': {'id': 'NTP-0', 'deprecated': False},
+    'nunit': {'id': 'Nunit', 'deprecated': True},
+    'o-uda-1.0': {'id': 'O-UDA-1.0', 'deprecated': False},
+    'oar': {'id': 'OAR', 'deprecated': False},
+    'occt-pl': {'id': 'OCCT-PL', 'deprecated': False},
+    'oclc-2.0': {'id': 'OCLC-2.0', 'deprecated': False},
+    'odbl-1.0': {'id': 'ODbL-1.0', 'deprecated': False},
+    'odc-by-1.0': {'id': 'ODC-By-1.0', 'deprecated': False},
+    'offis': {'id': 'OFFIS', 'deprecated': False},
+    'ofl-1.0': {'id': 'OFL-1.0', 'deprecated': False},
+    'ofl-1.0-no-rfn': {'id': 'OFL-1.0-no-RFN', 'deprecated': False},
+    'ofl-1.0-rfn': {'id': 'OFL-1.0-RFN', 'deprecated': False},
+    'ofl-1.1': {'id': 'OFL-1.1', 'deprecated': False},
+    'ofl-1.1-no-rfn': {'id': 'OFL-1.1-no-RFN', 'deprecated': False},
+    'ofl-1.1-rfn': {'id': 'OFL-1.1-RFN', 'deprecated': False},
+    'ogc-1.0': {'id': 'OGC-1.0', 'deprecated': False},
+    'ogdl-taiwan-1.0': {'id': 'OGDL-Taiwan-1.0', 'deprecated': False},
+    'ogl-canada-2.0': {'id': 'OGL-Canada-2.0', 'deprecated': False},
+    'ogl-uk-1.0': {'id': 'OGL-UK-1.0', 'deprecated': False},
+    'ogl-uk-2.0': {'id': 'OGL-UK-2.0', 'deprecated': False},
+    'ogl-uk-3.0': {'id': 'OGL-UK-3.0', 'deprecated': False},
+    'ogtsl': {'id': 'OGTSL', 'deprecated': False},
+    'oldap-1.1': {'id': 'OLDAP-1.1', 'deprecated': False},
+    'oldap-1.2': {'id': 'OLDAP-1.2', 'deprecated': False},
+    'oldap-1.3': {'id': 'OLDAP-1.3', 'deprecated': False},
+    'oldap-1.4': {'id': 'OLDAP-1.4', 'deprecated': False},
+    'oldap-2.0': {'id': 'OLDAP-2.0', 'deprecated': False},
+    'oldap-2.0.1': {'id': 'OLDAP-2.0.1', 'deprecated': False},
+    'oldap-2.1': {'id': 'OLDAP-2.1', 'deprecated': False},
+    'oldap-2.2': {'id': 'OLDAP-2.2', 'deprecated': False},
+    'oldap-2.2.1': {'id': 'OLDAP-2.2.1', 'deprecated': False},
+    'oldap-2.2.2': {'id': 'OLDAP-2.2.2', 'deprecated': False},
+    'oldap-2.3': {'id': 'OLDAP-2.3', 'deprecated': False},
+    'oldap-2.4': {'id': 'OLDAP-2.4', 'deprecated': False},
+    'oldap-2.5': {'id': 'OLDAP-2.5', 'deprecated': False},
+    'oldap-2.6': {'id': 'OLDAP-2.6', 'deprecated': False},
+    'oldap-2.7': {'id': 'OLDAP-2.7', 'deprecated': False},
+    'oldap-2.8': {'id': 'OLDAP-2.8', 'deprecated': False},
+    'olfl-1.3': {'id': 'OLFL-1.3', 'deprecated': False},
+    'oml': {'id': 'OML', 'deprecated': False},
+    'openpbs-2.3': {'id': 'OpenPBS-2.3', 'deprecated': False},
+    'openssl': {'id': 'OpenSSL', 'deprecated': False},
+    'openssl-standalone': {'id': 'OpenSSL-standalone', 'deprecated': False},
+    'openvision': {'id': 'OpenVision', 'deprecated': False},
+    'opl-1.0': {'id': 'OPL-1.0', 'deprecated': False},
+    'opl-uk-3.0': {'id': 'OPL-UK-3.0', 'deprecated': False},
+    'opubl-1.0': {'id': 'OPUBL-1.0', 'deprecated': False},
+    'oset-pl-2.1': {'id': 'OSET-PL-2.1', 'deprecated': False},
+    'osl-1.0': {'id': 'OSL-1.0', 'deprecated': False},
+    'osl-1.1': {'id': 'OSL-1.1', 'deprecated': False},
+    'osl-2.0': {'id': 'OSL-2.0', 'deprecated': False},
+    'osl-2.1': {'id': 'OSL-2.1', 'deprecated': False},
+    'osl-3.0': {'id': 'OSL-3.0', 'deprecated': False},
+    'padl': {'id': 'PADL', 'deprecated': False},
+    'parity-6.0.0': {'id': 'Parity-6.0.0', 'deprecated': False},
+    'parity-7.0.0': {'id': 'Parity-7.0.0', 'deprecated': False},
+    'pddl-1.0': {'id': 'PDDL-1.0', 'deprecated': False},
+    'php-3.0': {'id': 'PHP-3.0', 'deprecated': False},
+    'php-3.01': {'id': 'PHP-3.01', 'deprecated': False},
+    'pixar': {'id': 'Pixar', 'deprecated': False},
+    'pkgconf': {'id': 'pkgconf', 'deprecated': False},
+    'plexus': {'id': 'Plexus', 'deprecated': False},
+    'pnmstitch': {'id': 'pnmstitch', 'deprecated': False},
+    'polyform-noncommercial-1.0.0': {'id': 'PolyForm-Noncommercial-1.0.0', 'deprecated': False},
+    'polyform-small-business-1.0.0': {'id': 'PolyForm-Small-Business-1.0.0', 'deprecated': False},
+    'postgresql': {'id': 'PostgreSQL', 'deprecated': False},
+    'ppl': {'id': 'PPL', 'deprecated': False},
+    'psf-2.0': {'id': 'PSF-2.0', 'deprecated': False},
+    'psfrag': {'id': 'psfrag', 'deprecated': False},
+    'psutils': {'id': 'psutils', 'deprecated': False},
+    'python-2.0': {'id': 'Python-2.0', 'deprecated': False},
+    'python-2.0.1': {'id': 'Python-2.0.1', 'deprecated': False},
+    'python-ldap': {'id': 'python-ldap', 'deprecated': False},
+    'qhull': {'id': 'Qhull', 'deprecated': False},
+    'qpl-1.0': {'id': 'QPL-1.0', 'deprecated': False},
+    'qpl-1.0-inria-2004': {'id': 'QPL-1.0-INRIA-2004', 'deprecated': False},
+    'radvd': {'id': 'radvd', 'deprecated': False},
+    'rdisc': {'id': 'Rdisc', 'deprecated': False},
+    'rhecos-1.1': {'id': 'RHeCos-1.1', 'deprecated': False},
+    'rpl-1.1': {'id': 'RPL-1.1', 'deprecated': False},
+    'rpl-1.5': {'id': 'RPL-1.5', 'deprecated': False},
+    'rpsl-1.0': {'id': 'RPSL-1.0', 'deprecated': False},
+    'rsa-md': {'id': 'RSA-MD', 'deprecated': False},
+    'rscpl': {'id': 'RSCPL', 'deprecated': False},
+    'ruby': {'id': 'Ruby', 'deprecated': False},
+    'ruby-pty': {'id': 'Ruby-pty', 'deprecated': False},
+    'sax-pd': {'id': 'SAX-PD', 'deprecated': False},
+    'sax-pd-2.0': {'id': 'SAX-PD-2.0', 'deprecated': False},
+    'saxpath': {'id': 'Saxpath', 'deprecated': False},
+    'scea': {'id': 'SCEA', 'deprecated': False},
+    'schemereport': {'id': 'SchemeReport', 'deprecated': False},
+    'sendmail': {'id': 'Sendmail', 'deprecated': False},
+    'sendmail-8.23': {'id': 'Sendmail-8.23', 'deprecated': False},
+    'sgi-b-1.0': {'id': 'SGI-B-1.0', 'deprecated': False},
+    'sgi-b-1.1': {'id': 'SGI-B-1.1', 'deprecated': False},
+    'sgi-b-2.0': {'id': 'SGI-B-2.0', 'deprecated': False},
+    'sgi-opengl': {'id': 'SGI-OpenGL', 'deprecated': False},
+    'sgp4': {'id': 'SGP4', 'deprecated': False},
+    'shl-0.5': {'id': 'SHL-0.5', 'deprecated': False},
+    'shl-0.51': {'id': 'SHL-0.51', 'deprecated': False},
+    'simpl-2.0': {'id': 'SimPL-2.0', 'deprecated': False},
+    'sissl': {'id': 'SISSL', 'deprecated': False},
+    'sissl-1.2': {'id': 'SISSL-1.2', 'deprecated': False},
+    'sl': {'id': 'SL', 'deprecated': False},
+    'sleepycat': {'id': 'Sleepycat', 'deprecated': False},
+    'smlnj': {'id': 'SMLNJ', 'deprecated': False},
+    'smppl': {'id': 'SMPPL', 'deprecated': False},
+    'snia': {'id': 'SNIA', 'deprecated': False},
+    'snprintf': {'id': 'snprintf', 'deprecated': False},
+    'softsurfer': {'id': 'softSurfer', 'deprecated': False},
+    'soundex': {'id': 'Soundex', 'deprecated': False},
+    'spencer-86': {'id': 'Spencer-86', 'deprecated': False},
+    'spencer-94': {'id': 'Spencer-94', 'deprecated': False},
+    'spencer-99': {'id': 'Spencer-99', 'deprecated': False},
+    'spl-1.0': {'id': 'SPL-1.0', 'deprecated': False},
+    'ssh-keyscan': {'id': 'ssh-keyscan', 'deprecated': False},
+    'ssh-openssh': {'id': 'SSH-OpenSSH', 'deprecated': False},
+    'ssh-short': {'id': 'SSH-short', 'deprecated': False},
+    'ssleay-standalone': {'id': 'SSLeay-standalone', 'deprecated': False},
+    'sspl-1.0': {'id': 'SSPL-1.0', 'deprecated': False},
+    'standardml-nj': {'id': 'StandardML-NJ', 'deprecated': True},
+    'sugarcrm-1.1.3': {'id': 'SugarCRM-1.1.3', 'deprecated': False},
+    'sun-ppp': {'id': 'Sun-PPP', 'deprecated': False},
+    'sun-ppp-2000': {'id': 'Sun-PPP-2000', 'deprecated': False},
+    'sunpro': {'id': 'SunPro', 'deprecated': False},
+    'swl': {'id': 'SWL', 'deprecated': False},
+    'swrule': {'id': 'swrule', 'deprecated': False},
+    'symlinks': {'id': 'Symlinks', 'deprecated': False},
+    'tapr-ohl-1.0': {'id': 'TAPR-OHL-1.0', 'deprecated': False},
+    'tcl': {'id': 'TCL', 'deprecated': False},
+    'tcp-wrappers': {'id': 'TCP-wrappers', 'deprecated': False},
+    'termreadkey': {'id': 'TermReadKey', 'deprecated': False},
+    'tgppl-1.0': {'id': 'TGPPL-1.0', 'deprecated': False},
+    'threeparttable': {'id': 'threeparttable', 'deprecated': False},
+    'tmate': {'id': 'TMate', 'deprecated': False},
+    'torque-1.1': {'id': 'TORQUE-1.1', 'deprecated': False},
+    'tosl': {'id': 'TOSL', 'deprecated': False},
+    'tpdl': {'id': 'TPDL', 'deprecated': False},
+    'tpl-1.0': {'id': 'TPL-1.0', 'deprecated': False},
+    'ttwl': {'id': 'TTWL', 'deprecated': False},
+    'ttyp0': {'id': 'TTYP0', 'deprecated': False},
+    'tu-berlin-1.0': {'id': 'TU-Berlin-1.0', 'deprecated': False},
+    'tu-berlin-2.0': {'id': 'TU-Berlin-2.0', 'deprecated': False},
+    'ubuntu-font-1.0': {'id': 'Ubuntu-font-1.0', 'deprecated': False},
+    'ucar': {'id': 'UCAR', 'deprecated': False},
+    'ucl-1.0': {'id': 'UCL-1.0', 'deprecated': False},
+    'ulem': {'id': 'ulem', 'deprecated': False},
+    'umich-merit': {'id': 'UMich-Merit', 'deprecated': False},
+    'unicode-3.0': {'id': 'Unicode-3.0', 'deprecated': False},
+    'unicode-dfs-2015': {'id': 'Unicode-DFS-2015', 'deprecated': False},
+    'unicode-dfs-2016': {'id': 'Unicode-DFS-2016', 'deprecated': False},
+    'unicode-tou': {'id': 'Unicode-TOU', 'deprecated': False},
+    'unixcrypt': {'id': 'UnixCrypt', 'deprecated': False},
+    'unlicense': {'id': 'Unlicense', 'deprecated': False},
+    'upl-1.0': {'id': 'UPL-1.0', 'deprecated': False},
+    'urt-rle': {'id': 'URT-RLE', 'deprecated': False},
+    'vim': {'id': 'Vim', 'deprecated': False},
+    'vostrom': {'id': 'VOSTROM', 'deprecated': False},
+    'vsl-1.0': {'id': 'VSL-1.0', 'deprecated': False},
+    'w3c': {'id': 'W3C', 'deprecated': False},
+    'w3c-19980720': {'id': 'W3C-19980720', 'deprecated': False},
+    'w3c-20150513': {'id': 'W3C-20150513', 'deprecated': False},
+    'w3m': {'id': 'w3m', 'deprecated': False},
+    'watcom-1.0': {'id': 'Watcom-1.0', 'deprecated': False},
+    'widget-workshop': {'id': 'Widget-Workshop', 'deprecated': False},
+    'wsuipa': {'id': 'Wsuipa', 'deprecated': False},
+    'wtfpl': {'id': 'WTFPL', 'deprecated': False},
+    'wxwindows': {'id': 'wxWindows', 'deprecated': True},
+    'x11': {'id': 'X11', 'deprecated': False},
+    'x11-distribute-modifications-variant': {'id': 'X11-distribute-modifications-variant', 'deprecated': False},
+    'x11-swapped': {'id': 'X11-swapped', 'deprecated': False},
+    'xdebug-1.03': {'id': 'Xdebug-1.03', 'deprecated': False},
+    'xerox': {'id': 'Xerox', 'deprecated': False},
+    'xfig': {'id': 'Xfig', 'deprecated': False},
+    'xfree86-1.1': {'id': 'XFree86-1.1', 'deprecated': False},
+    'xinetd': {'id': 'xinetd', 'deprecated': False},
+    'xkeyboard-config-zinoviev': {'id': 'xkeyboard-config-Zinoviev', 'deprecated': False},
+    'xlock': {'id': 'xlock', 'deprecated': False},
+    'xnet': {'id': 'Xnet', 'deprecated': False},
+    'xpp': {'id': 'xpp', 'deprecated': False},
+    'xskat': {'id': 'XSkat', 'deprecated': False},
+    'xzoom': {'id': 'xzoom', 'deprecated': False},
+    'ypl-1.0': {'id': 'YPL-1.0', 'deprecated': False},
+    'ypl-1.1': {'id': 'YPL-1.1', 'deprecated': False},
+    'zed': {'id': 'Zed', 'deprecated': False},
+    'zeeff': {'id': 'Zeeff', 'deprecated': False},
+    'zend-2.0': {'id': 'Zend-2.0', 'deprecated': False},
+    'zimbra-1.3': {'id': 'Zimbra-1.3', 'deprecated': False},
+    'zimbra-1.4': {'id': 'Zimbra-1.4', 'deprecated': False},
+    'zlib': {'id': 'Zlib', 'deprecated': False},
+    'zlib-acknowledgement': {'id': 'zlib-acknowledgement', 'deprecated': False},
+    'zpl-1.1': {'id': 'ZPL-1.1', 'deprecated': False},
+    'zpl-2.0': {'id': 'ZPL-2.0', 'deprecated': False},
+    'zpl-2.1': {'id': 'ZPL-2.1', 'deprecated': False},
+}
+
+EXCEPTIONS: dict[str, SPDXException] = {
+    '389-exception': {'id': '389-exception', 'deprecated': False},
+    'asterisk-exception': {'id': 'Asterisk-exception', 'deprecated': False},
+    'asterisk-linking-protocols-exception': {'id': 'Asterisk-linking-protocols-exception', 'deprecated': False},
+    'autoconf-exception-2.0': {'id': 'Autoconf-exception-2.0', 'deprecated': False},
+    'autoconf-exception-3.0': {'id': 'Autoconf-exception-3.0', 'deprecated': False},
+    'autoconf-exception-generic': {'id': 'Autoconf-exception-generic', 'deprecated': False},
+    'autoconf-exception-generic-3.0': {'id': 'Autoconf-exception-generic-3.0', 'deprecated': False},
+    'autoconf-exception-macro': {'id': 'Autoconf-exception-macro', 'deprecated': False},
+    'bison-exception-1.24': {'id': 'Bison-exception-1.24', 'deprecated': False},
+    'bison-exception-2.2': {'id': 'Bison-exception-2.2', 'deprecated': False},
+    'bootloader-exception': {'id': 'Bootloader-exception', 'deprecated': False},
+    'classpath-exception-2.0': {'id': 'Classpath-exception-2.0', 'deprecated': False},
+    'clisp-exception-2.0': {'id': 'CLISP-exception-2.0', 'deprecated': False},
+    'cryptsetup-openssl-exception': {'id': 'cryptsetup-OpenSSL-exception', 'deprecated': False},
+    'digirule-foss-exception': {'id': 'DigiRule-FOSS-exception', 'deprecated': False},
+    'ecos-exception-2.0': {'id': 'eCos-exception-2.0', 'deprecated': False},
+    'erlang-otp-linking-exception': {'id': 'erlang-otp-linking-exception', 'deprecated': False},
+    'fawkes-runtime-exception': {'id': 'Fawkes-Runtime-exception', 'deprecated': False},
+    'fltk-exception': {'id': 'FLTK-exception', 'deprecated': False},
+    'fmt-exception': {'id': 'fmt-exception', 'deprecated': False},
+    'font-exception-2.0': {'id': 'Font-exception-2.0', 'deprecated': False},
+    'freertos-exception-2.0': {'id': 'freertos-exception-2.0', 'deprecated': False},
+    'gcc-exception-2.0': {'id': 'GCC-exception-2.0', 'deprecated': False},
+    'gcc-exception-2.0-note': {'id': 'GCC-exception-2.0-note', 'deprecated': False},
+    'gcc-exception-3.1': {'id': 'GCC-exception-3.1', 'deprecated': False},
+    'gmsh-exception': {'id': 'Gmsh-exception', 'deprecated': False},
+    'gnat-exception': {'id': 'GNAT-exception', 'deprecated': False},
+    'gnome-examples-exception': {'id': 'GNOME-examples-exception', 'deprecated': False},
+    'gnu-compiler-exception': {'id': 'GNU-compiler-exception', 'deprecated': False},
+    'gnu-javamail-exception': {'id': 'gnu-javamail-exception', 'deprecated': False},
+    'gpl-3.0-interface-exception': {'id': 'GPL-3.0-interface-exception', 'deprecated': False},
+    'gpl-3.0-linking-exception': {'id': 'GPL-3.0-linking-exception', 'deprecated': False},
+    'gpl-3.0-linking-source-exception': {'id': 'GPL-3.0-linking-source-exception', 'deprecated': False},
+    'gpl-cc-1.0': {'id': 'GPL-CC-1.0', 'deprecated': False},
+    'gstreamer-exception-2005': {'id': 'GStreamer-exception-2005', 'deprecated': False},
+    'gstreamer-exception-2008': {'id': 'GStreamer-exception-2008', 'deprecated': False},
+    'i2p-gpl-java-exception': {'id': 'i2p-gpl-java-exception', 'deprecated': False},
+    'kicad-libraries-exception': {'id': 'KiCad-libraries-exception', 'deprecated': False},
+    'lgpl-3.0-linking-exception': {'id': 'LGPL-3.0-linking-exception', 'deprecated': False},
+    'libpri-openh323-exception': {'id': 'libpri-OpenH323-exception', 'deprecated': False},
+    'libtool-exception': {'id': 'Libtool-exception', 'deprecated': False},
+    'linux-syscall-note': {'id': 'Linux-syscall-note', 'deprecated': False},
+    'llgpl': {'id': 'LLGPL', 'deprecated': False},
+    'llvm-exception': {'id': 'LLVM-exception', 'deprecated': False},
+    'lzma-exception': {'id': 'LZMA-exception', 'deprecated': False},
+    'mif-exception': {'id': 'mif-exception', 'deprecated': False},
+    'nokia-qt-exception-1.1': {'id': 'Nokia-Qt-exception-1.1', 'deprecated': True},
+    'ocaml-lgpl-linking-exception': {'id': 'OCaml-LGPL-linking-exception', 'deprecated': False},
+    'occt-exception-1.0': {'id': 'OCCT-exception-1.0', 'deprecated': False},
+    'openjdk-assembly-exception-1.0': {'id': 'OpenJDK-assembly-exception-1.0', 'deprecated': False},
+    'openvpn-openssl-exception': {'id': 'openvpn-openssl-exception', 'deprecated': False},
+    'pcre2-exception': {'id': 'PCRE2-exception', 'deprecated': False},
+    'ps-or-pdf-font-exception-20170817': {'id': 'PS-or-PDF-font-exception-20170817', 'deprecated': False},
+    'qpl-1.0-inria-2004-exception': {'id': 'QPL-1.0-INRIA-2004-exception', 'deprecated': False},
+    'qt-gpl-exception-1.0': {'id': 'Qt-GPL-exception-1.0', 'deprecated': False},
+    'qt-lgpl-exception-1.1': {'id': 'Qt-LGPL-exception-1.1', 'deprecated': False},
+    'qwt-exception-1.0': {'id': 'Qwt-exception-1.0', 'deprecated': False},
+    'romic-exception': {'id': 'romic-exception', 'deprecated': False},
+    'rrdtool-floss-exception-2.0': {'id': 'RRDtool-FLOSS-exception-2.0', 'deprecated': False},
+    'sane-exception': {'id': 'SANE-exception', 'deprecated': False},
+    'shl-2.0': {'id': 'SHL-2.0', 'deprecated': False},
+    'shl-2.1': {'id': 'SHL-2.1', 'deprecated': False},
+    'stunnel-exception': {'id': 'stunnel-exception', 'deprecated': False},
+    'swi-exception': {'id': 'SWI-exception', 'deprecated': False},
+    'swift-exception': {'id': 'Swift-exception', 'deprecated': False},
+    'texinfo-exception': {'id': 'Texinfo-exception', 'deprecated': False},
+    'u-boot-exception-2.0': {'id': 'u-boot-exception-2.0', 'deprecated': False},
+    'ubdl-exception': {'id': 'UBDL-exception', 'deprecated': False},
+    'universal-foss-exception-1.0': {'id': 'Universal-FOSS-exception-1.0', 'deprecated': False},
+    'vsftpd-openssl-exception': {'id': 'vsftpd-openssl-exception', 'deprecated': False},
+    'wxwindows-exception-3.1': {'id': 'WxWindows-exception-3.1', 'deprecated': False},
+    'x11vnc-openssl-exception': {'id': 'x11vnc-openssl-exception', 'deprecated': False},
+}
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/markers.py b/.venv/Lib/site-packages/pip/_vendor/packaging/markers.py
index 540e7a4..e7cea57 100644
--- a/.venv/Lib/site-packages/pip/_vendor/packaging/markers.py
+++ b/.venv/Lib/site-packages/pip/_vendor/packaging/markers.py
@@ -2,35 +2,32 @@
 # 2.0, and the BSD License. See the LICENSE file in the root of this repository
 # for complete details.
 
+from __future__ import annotations
+
 import operator
 import os
 import platform
 import sys
-from typing import Any, Callable, Dict, List, Optional, Tuple, Union
-
-from pip._vendor.pyparsing import (  # noqa: N817
-    Forward,
-    Group,
-    Literal as L,
-    ParseException,
-    ParseResults,
-    QuotedString,
-    ZeroOrMore,
-    stringEnd,
-    stringStart,
-)
+from typing import AbstractSet, Any, Callable, Literal, TypedDict, Union, cast
 
+from ._parser import MarkerAtom, MarkerList, Op, Value, Variable
+from ._parser import parse_marker as _parse_marker
+from ._tokenizer import ParserSyntaxError
 from .specifiers import InvalidSpecifier, Specifier
+from .utils import canonicalize_name
 
 __all__ = [
+    "EvaluateContext",
     "InvalidMarker",
+    "Marker",
     "UndefinedComparison",
     "UndefinedEnvironmentName",
-    "Marker",
     "default_environment",
 ]
 
-Operator = Callable[[str, str], bool]
+Operator = Callable[[str, Union[str, AbstractSet[str]]], bool]
+EvaluateContext = Literal["metadata", "lock_file", "requirement"]
+MARKERS_ALLOWING_SET = {"extras", "dependency_groups"}
 
 
 class InvalidMarker(ValueError):
@@ -52,103 +49,97 @@ class UndefinedEnvironmentName(ValueError):
     """
 
 
-class Node:
-    def __init__(self, value: Any) -> None:
-        self.value = value
+class Environment(TypedDict):
+    implementation_name: str
+    """The implementation's identifier, e.g. ``'cpython'``."""
 
-    def __str__(self) -> str:
-        return str(self.value)
+    implementation_version: str
+    """
+    The implementation's version, e.g. ``'3.13.0a2'`` for CPython 3.13.0a2, or
+    ``'7.3.13'`` for PyPy3.10 v7.3.13.
+    """
 
-    def __repr__(self) -> str:
-        return f"<{self.__class__.__name__}('{self}')>"
+    os_name: str
+    """
+    The value of :py:data:`os.name`. The name of the operating system dependent module
+    imported, e.g. ``'posix'``.
+    """
 
-    def serialize(self) -> str:
-        raise NotImplementedError
+    platform_machine: str
+    """
+    Returns the machine type, e.g. ``'i386'``.
+
+    An empty string if the value cannot be determined.
+    """
+
+    platform_release: str
+    """
+    The system's release, e.g. ``'2.2.0'`` or ``'NT'``.
+
+    An empty string if the value cannot be determined.
+    """
+
+    platform_system: str
+    """
+    The system/OS name, e.g. ``'Linux'``, ``'Windows'`` or ``'Java'``.
+
+    An empty string if the value cannot be determined.
+    """
+
+    platform_version: str
+    """
+    The system's release version, e.g. ``'#3 on degas'``.
+
+    An empty string if the value cannot be determined.
+    """
+
+    python_full_version: str
+    """
+    The Python version as string ``'major.minor.patchlevel'``.
+
+    Note that unlike the Python :py:data:`sys.version`, this value will always include
+    the patchlevel (it defaults to 0).
+    """
+
+    platform_python_implementation: str
+    """
+    A string identifying the Python implementation, e.g. ``'CPython'``.
+    """
+
+    python_version: str
+    """The Python version as string ``'major.minor'``."""
+
+    sys_platform: str
+    """
+    This string contains a platform identifier that can be used to append
+    platform-specific components to :py:data:`sys.path`, for instance.
+
+    For Unix systems, except on Linux and AIX, this is the lowercased OS name as
+    returned by ``uname -s`` with the first part of the version as returned by
+    ``uname -r`` appended, e.g. ``'sunos5'`` or ``'freebsd8'``, at the time when Python
+    was built.
+    """
 
 
-class Variable(Node):
-    def serialize(self) -> str:
-        return str(self)
-
-
-class Value(Node):
-    def serialize(self) -> str:
-        return f'"{self}"'
-
-
-class Op(Node):
-    def serialize(self) -> str:
-        return str(self)
-
-
-VARIABLE = (
-    L("implementation_version")
-    | L("platform_python_implementation")
-    | L("implementation_name")
-    | L("python_full_version")
-    | L("platform_release")
-    | L("platform_version")
-    | L("platform_machine")
-    | L("platform_system")
-    | L("python_version")
-    | L("sys_platform")
-    | L("os_name")
-    | L("os.name")  # PEP-345
-    | L("sys.platform")  # PEP-345
-    | L("platform.version")  # PEP-345
-    | L("platform.machine")  # PEP-345
-    | L("platform.python_implementation")  # PEP-345
-    | L("python_implementation")  # undocumented setuptools legacy
-    | L("extra")  # PEP-508
-)
-ALIASES = {
-    "os.name": "os_name",
-    "sys.platform": "sys_platform",
-    "platform.version": "platform_version",
-    "platform.machine": "platform_machine",
-    "platform.python_implementation": "platform_python_implementation",
-    "python_implementation": "platform_python_implementation",
-}
-VARIABLE.setParseAction(lambda s, l, t: Variable(ALIASES.get(t[0], t[0])))
-
-VERSION_CMP = (
-    L("===") | L("==") | L(">=") | L("<=") | L("!=") | L("~=") | L(">") | L("<")
-)
-
-MARKER_OP = VERSION_CMP | L("not in") | L("in")
-MARKER_OP.setParseAction(lambda s, l, t: Op(t[0]))
-
-MARKER_VALUE = QuotedString("'") | QuotedString('"')
-MARKER_VALUE.setParseAction(lambda s, l, t: Value(t[0]))
-
-BOOLOP = L("and") | L("or")
-
-MARKER_VAR = VARIABLE | MARKER_VALUE
-
-MARKER_ITEM = Group(MARKER_VAR + MARKER_OP + MARKER_VAR)
-MARKER_ITEM.setParseAction(lambda s, l, t: tuple(t[0]))
-
-LPAREN = L("(").suppress()
-RPAREN = L(")").suppress()
-
-MARKER_EXPR = Forward()
-MARKER_ATOM = MARKER_ITEM | Group(LPAREN + MARKER_EXPR + RPAREN)
-MARKER_EXPR << MARKER_ATOM + ZeroOrMore(BOOLOP + MARKER_EXPR)
-
-MARKER = stringStart + MARKER_EXPR + stringEnd
-
-
-def _coerce_parse_result(results: Union[ParseResults, List[Any]]) -> List[Any]:
-    if isinstance(results, ParseResults):
-        return [_coerce_parse_result(i) for i in results]
-    else:
-        return results
+def _normalize_extra_values(results: Any) -> Any:
+    """
+    Normalize extra values.
+    """
+    if isinstance(results[0], tuple):
+        lhs, op, rhs = results[0]
+        if isinstance(lhs, Variable) and lhs.value == "extra":
+            normalized_extra = canonicalize_name(rhs.value)
+            rhs = Value(normalized_extra)
+        elif isinstance(rhs, Variable) and rhs.value == "extra":
+            normalized_extra = canonicalize_name(lhs.value)
+            lhs = Value(normalized_extra)
+        results[0] = lhs, op, rhs
+    return results
 
 
 def _format_marker(
-    marker: Union[List[str], Tuple[Node, ...], str], first: Optional[bool] = True
+    marker: list[str] | MarkerAtom | str, first: bool | None = True
 ) -> str:
-
     assert isinstance(marker, (list, tuple, str))
 
     # Sometimes we have a structure like [[...]] which is a single item list
@@ -174,7 +165,7 @@ def _format_marker(
         return marker
 
 
-_operators: Dict[str, Operator] = {
+_operators: dict[str, Operator] = {
     "in": lambda lhs, rhs: lhs in rhs,
     "not in": lambda lhs, rhs: lhs not in rhs,
     "<": operator.lt,
@@ -186,41 +177,46 @@ _operators: Dict[str, Operator] = {
 }
 
 
-def _eval_op(lhs: str, op: Op, rhs: str) -> bool:
-    try:
-        spec = Specifier("".join([op.serialize(), rhs]))
-    except InvalidSpecifier:
-        pass
-    else:
-        return spec.contains(lhs)
+def _eval_op(lhs: str, op: Op, rhs: str | AbstractSet[str]) -> bool:
+    if isinstance(rhs, str):
+        try:
+            spec = Specifier("".join([op.serialize(), rhs]))
+        except InvalidSpecifier:
+            pass
+        else:
+            return spec.contains(lhs, prereleases=True)
 
-    oper: Optional[Operator] = _operators.get(op.serialize())
+    oper: Operator | None = _operators.get(op.serialize())
     if oper is None:
         raise UndefinedComparison(f"Undefined {op!r} on {lhs!r} and {rhs!r}.")
 
     return oper(lhs, rhs)
 
 
-class Undefined:
-    pass
+def _normalize(
+    lhs: str, rhs: str | AbstractSet[str], key: str
+) -> tuple[str, str | AbstractSet[str]]:
+    # PEP 685 – Comparison of extra names for optional distribution dependencies
+    # https://peps.python.org/pep-0685/
+    # > When comparing extra names, tools MUST normalize the names being
+    # > compared using the semantics outlined in PEP 503 for names
+    if key == "extra":
+        assert isinstance(rhs, str), "extra value must be a string"
+        return (canonicalize_name(lhs), canonicalize_name(rhs))
+    if key in MARKERS_ALLOWING_SET:
+        if isinstance(rhs, str):  # pragma: no cover
+            return (canonicalize_name(lhs), canonicalize_name(rhs))
+        else:
+            return (canonicalize_name(lhs), {canonicalize_name(v) for v in rhs})
+
+    # other environment markers don't have such standards
+    return lhs, rhs
 
 
-_undefined = Undefined()
-
-
-def _get_env(environment: Dict[str, str], name: str) -> str:
-    value: Union[str, Undefined] = environment.get(name, _undefined)
-
-    if isinstance(value, Undefined):
-        raise UndefinedEnvironmentName(
-            f"{name!r} does not exist in evaluation environment."
-        )
-
-    return value
-
-
-def _evaluate_markers(markers: List[Any], environment: Dict[str, str]) -> bool:
-    groups: List[List[bool]] = [[]]
+def _evaluate_markers(
+    markers: MarkerList, environment: dict[str, str | AbstractSet[str]]
+) -> bool:
+    groups: list[list[bool]] = [[]]
 
     for marker in markers:
         assert isinstance(marker, (list, tuple, str))
@@ -231,12 +227,15 @@ def _evaluate_markers(markers: List[Any], environment: Dict[str, str]) -> bool:
             lhs, op, rhs = marker
 
             if isinstance(lhs, Variable):
-                lhs_value = _get_env(environment, lhs.value)
+                environment_key = lhs.value
+                lhs_value = environment[environment_key]
                 rhs_value = rhs.value
             else:
                 lhs_value = lhs.value
-                rhs_value = _get_env(environment, rhs.value)
-
+                environment_key = rhs.value
+                rhs_value = environment[environment_key]
+            assert isinstance(lhs_value, str), "lhs must be a string"
+            lhs_value, rhs_value = _normalize(lhs_value, rhs_value, key=environment_key)
             groups[-1].append(_eval_op(lhs_value, op, rhs_value))
         else:
             assert marker in ["and", "or"]
@@ -246,15 +245,15 @@ def _evaluate_markers(markers: List[Any], environment: Dict[str, str]) -> bool:
     return any(all(item) for item in groups)
 
 
-def format_full_version(info: "sys._version_info") -> str:
-    version = "{0.major}.{0.minor}.{0.micro}".format(info)
+def format_full_version(info: sys._version_info) -> str:
+    version = f"{info.major}.{info.minor}.{info.micro}"
     kind = info.releaselevel
     if kind != "final":
         version += kind[0] + str(info.serial)
     return version
 
 
-def default_environment() -> Dict[str, str]:
+def default_environment() -> Environment:
     iver = format_full_version(sys.implementation.version)
     implementation_name = sys.implementation.name
     return {
@@ -274,13 +273,29 @@ def default_environment() -> Dict[str, str]:
 
 class Marker:
     def __init__(self, marker: str) -> None:
+        # Note: We create a Marker object without calling this constructor in
+        #       packaging.requirements.Requirement. If any additional logic is
+        #       added here, make sure to mirror/adapt Requirement.
         try:
-            self._markers = _coerce_parse_result(MARKER.parseString(marker))
-        except ParseException as e:
-            raise InvalidMarker(
-                f"Invalid marker: {marker!r}, parse error at "
-                f"{marker[e.loc : e.loc + 8]!r}"
-            )
+            self._markers = _normalize_extra_values(_parse_marker(marker))
+            # The attribute `_markers` can be described in terms of a recursive type:
+            # MarkerList = List[Union[Tuple[Node, ...], str, MarkerList]]
+            #
+            # For example, the following expression:
+            # python_version > "3.6" or (python_version == "3.6" and os_name == "unix")
+            #
+            # is parsed into:
+            # [
+            #     (, ')>, ),
+            #     'and',
+            #     [
+            #         (, , ),
+            #         'or',
+            #         (, , )
+            #     ]
+            # ]
+        except ParserSyntaxError as e:
+            raise InvalidMarker(str(e)) from e
 
     def __str__(self) -> str:
         return _format_marker(self._markers)
@@ -288,17 +303,60 @@ class Marker:
     def __repr__(self) -> str:
         return f""
 
-    def evaluate(self, environment: Optional[Dict[str, str]] = None) -> bool:
+    def __hash__(self) -> int:
+        return hash((self.__class__.__name__, str(self)))
+
+    def __eq__(self, other: Any) -> bool:
+        if not isinstance(other, Marker):
+            return NotImplemented
+
+        return str(self) == str(other)
+
+    def evaluate(
+        self,
+        environment: dict[str, str] | None = None,
+        context: EvaluateContext = "metadata",
+    ) -> bool:
         """Evaluate a marker.
 
         Return the boolean from evaluating the given marker against the
         environment. environment is an optional argument to override all or
-        part of the determined environment.
+        part of the determined environment. The *context* parameter specifies what
+        context the markers are being evaluated for, which influences what markers
+        are considered valid. Acceptable values are "metadata" (for core metadata;
+        default), "lock_file", and "requirement" (i.e. all other situations).
 
         The environment is determined from the current Python process.
         """
-        current_environment = default_environment()
+        current_environment = cast(
+            "dict[str, str | AbstractSet[str]]", default_environment()
+        )
+        if context == "lock_file":
+            current_environment.update(
+                extras=frozenset(), dependency_groups=frozenset()
+            )
+        elif context == "metadata":
+            current_environment["extra"] = ""
         if environment is not None:
             current_environment.update(environment)
+            # The API used to allow setting extra to None. We need to handle this
+            # case for backwards compatibility.
+            if "extra" in current_environment and current_environment["extra"] is None:
+                current_environment["extra"] = ""
 
-        return _evaluate_markers(self._markers, current_environment)
+        return _evaluate_markers(
+            self._markers, _repair_python_full_version(current_environment)
+        )
+
+
+def _repair_python_full_version(
+    env: dict[str, str | AbstractSet[str]],
+) -> dict[str, str | AbstractSet[str]]:
+    """
+    Work around platform.python_version() returning something that is not PEP 440
+    compliant for non-tagged Python builds.
+    """
+    python_full_version = cast(str, env["python_full_version"])
+    if python_full_version.endswith("+"):
+        env["python_full_version"] = f"{python_full_version}local"
+    return env
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/metadata.py b/.venv/Lib/site-packages/pip/_vendor/packaging/metadata.py
new file mode 100644
index 0000000..3bd8602
--- /dev/null
+++ b/.venv/Lib/site-packages/pip/_vendor/packaging/metadata.py
@@ -0,0 +1,862 @@
+from __future__ import annotations
+
+import email.feedparser
+import email.header
+import email.message
+import email.parser
+import email.policy
+import pathlib
+import sys
+import typing
+from typing import (
+    Any,
+    Callable,
+    Generic,
+    Literal,
+    TypedDict,
+    cast,
+)
+
+from . import licenses, requirements, specifiers, utils
+from . import version as version_module
+from .licenses import NormalizedLicenseExpression
+
+T = typing.TypeVar("T")
+
+
+if sys.version_info >= (3, 11):  # pragma: no cover
+    ExceptionGroup = ExceptionGroup
+else:  # pragma: no cover
+
+    class ExceptionGroup(Exception):
+        """A minimal implementation of :external:exc:`ExceptionGroup` from Python 3.11.
+
+        If :external:exc:`ExceptionGroup` is already defined by Python itself,
+        that version is used instead.
+        """
+
+        message: str
+        exceptions: list[Exception]
+
+        def __init__(self, message: str, exceptions: list[Exception]) -> None:
+            self.message = message
+            self.exceptions = exceptions
+
+        def __repr__(self) -> str:
+            return f"{self.__class__.__name__}({self.message!r}, {self.exceptions!r})"
+
+
+class InvalidMetadata(ValueError):
+    """A metadata field contains invalid data."""
+
+    field: str
+    """The name of the field that contains invalid data."""
+
+    def __init__(self, field: str, message: str) -> None:
+        self.field = field
+        super().__init__(message)
+
+
+# The RawMetadata class attempts to make as few assumptions about the underlying
+# serialization formats as possible. The idea is that as long as a serialization
+# formats offer some very basic primitives in *some* way then we can support
+# serializing to and from that format.
+class RawMetadata(TypedDict, total=False):
+    """A dictionary of raw core metadata.
+
+    Each field in core metadata maps to a key of this dictionary (when data is
+    provided). The key is lower-case and underscores are used instead of dashes
+    compared to the equivalent core metadata field. Any core metadata field that
+    can be specified multiple times or can hold multiple values in a single
+    field have a key with a plural name. See :class:`Metadata` whose attributes
+    match the keys of this dictionary.
+
+    Core metadata fields that can be specified multiple times are stored as a
+    list or dict depending on which is appropriate for the field. Any fields
+    which hold multiple values in a single field are stored as a list.
+
+    """
+
+    # Metadata 1.0 - PEP 241
+    metadata_version: str
+    name: str
+    version: str
+    platforms: list[str]
+    summary: str
+    description: str
+    keywords: list[str]
+    home_page: str
+    author: str
+    author_email: str
+    license: str
+
+    # Metadata 1.1 - PEP 314
+    supported_platforms: list[str]
+    download_url: str
+    classifiers: list[str]
+    requires: list[str]
+    provides: list[str]
+    obsoletes: list[str]
+
+    # Metadata 1.2 - PEP 345
+    maintainer: str
+    maintainer_email: str
+    requires_dist: list[str]
+    provides_dist: list[str]
+    obsoletes_dist: list[str]
+    requires_python: str
+    requires_external: list[str]
+    project_urls: dict[str, str]
+
+    # Metadata 2.0
+    # PEP 426 attempted to completely revamp the metadata format
+    # but got stuck without ever being able to build consensus on
+    # it and ultimately ended up withdrawn.
+    #
+    # However, a number of tools had started emitting METADATA with
+    # `2.0` Metadata-Version, so for historical reasons, this version
+    # was skipped.
+
+    # Metadata 2.1 - PEP 566
+    description_content_type: str
+    provides_extra: list[str]
+
+    # Metadata 2.2 - PEP 643
+    dynamic: list[str]
+
+    # Metadata 2.3 - PEP 685
+    # No new fields were added in PEP 685, just some edge case were
+    # tightened up to provide better interoptability.
+
+    # Metadata 2.4 - PEP 639
+    license_expression: str
+    license_files: list[str]
+
+
+_STRING_FIELDS = {
+    "author",
+    "author_email",
+    "description",
+    "description_content_type",
+    "download_url",
+    "home_page",
+    "license",
+    "license_expression",
+    "maintainer",
+    "maintainer_email",
+    "metadata_version",
+    "name",
+    "requires_python",
+    "summary",
+    "version",
+}
+
+_LIST_FIELDS = {
+    "classifiers",
+    "dynamic",
+    "license_files",
+    "obsoletes",
+    "obsoletes_dist",
+    "platforms",
+    "provides",
+    "provides_dist",
+    "provides_extra",
+    "requires",
+    "requires_dist",
+    "requires_external",
+    "supported_platforms",
+}
+
+_DICT_FIELDS = {
+    "project_urls",
+}
+
+
+def _parse_keywords(data: str) -> list[str]:
+    """Split a string of comma-separated keywords into a list of keywords."""
+    return [k.strip() for k in data.split(",")]
+
+
+def _parse_project_urls(data: list[str]) -> dict[str, str]:
+    """Parse a list of label/URL string pairings separated by a comma."""
+    urls = {}
+    for pair in data:
+        # Our logic is slightly tricky here as we want to try and do
+        # *something* reasonable with malformed data.
+        #
+        # The main thing that we have to worry about, is data that does
+        # not have a ',' at all to split the label from the Value. There
+        # isn't a singular right answer here, and we will fail validation
+        # later on (if the caller is validating) so it doesn't *really*
+        # matter, but since the missing value has to be an empty str
+        # and our return value is dict[str, str], if we let the key
+        # be the missing value, then they'd have multiple '' values that
+        # overwrite each other in a accumulating dict.
+        #
+        # The other potentional issue is that it's possible to have the
+        # same label multiple times in the metadata, with no solid "right"
+        # answer with what to do in that case. As such, we'll do the only
+        # thing we can, which is treat the field as unparseable and add it
+        # to our list of unparsed fields.
+        parts = [p.strip() for p in pair.split(",", 1)]
+        parts.extend([""] * (max(0, 2 - len(parts))))  # Ensure 2 items
+
+        # TODO: The spec doesn't say anything about if the keys should be
+        #       considered case sensitive or not... logically they should
+        #       be case-preserving and case-insensitive, but doing that
+        #       would open up more cases where we might have duplicate
+        #       entries.
+        label, url = parts
+        if label in urls:
+            # The label already exists in our set of urls, so this field
+            # is unparseable, and we can just add the whole thing to our
+            # unparseable data and stop processing it.
+            raise KeyError("duplicate labels in project urls")
+        urls[label] = url
+
+    return urls
+
+
+def _get_payload(msg: email.message.Message, source: bytes | str) -> str:
+    """Get the body of the message."""
+    # If our source is a str, then our caller has managed encodings for us,
+    # and we don't need to deal with it.
+    if isinstance(source, str):
+        payload = msg.get_payload()
+        assert isinstance(payload, str)
+        return payload
+    # If our source is a bytes, then we're managing the encoding and we need
+    # to deal with it.
+    else:
+        bpayload = msg.get_payload(decode=True)
+        assert isinstance(bpayload, bytes)
+        try:
+            return bpayload.decode("utf8", "strict")
+        except UnicodeDecodeError as exc:
+            raise ValueError("payload in an invalid encoding") from exc
+
+
+# The various parse_FORMAT functions here are intended to be as lenient as
+# possible in their parsing, while still returning a correctly typed
+# RawMetadata.
+#
+# To aid in this, we also generally want to do as little touching of the
+# data as possible, except where there are possibly some historic holdovers
+# that make valid data awkward to work with.
+#
+# While this is a lower level, intermediate format than our ``Metadata``
+# class, some light touch ups can make a massive difference in usability.
+
+# Map METADATA fields to RawMetadata.
+_EMAIL_TO_RAW_MAPPING = {
+    "author": "author",
+    "author-email": "author_email",
+    "classifier": "classifiers",
+    "description": "description",
+    "description-content-type": "description_content_type",
+    "download-url": "download_url",
+    "dynamic": "dynamic",
+    "home-page": "home_page",
+    "keywords": "keywords",
+    "license": "license",
+    "license-expression": "license_expression",
+    "license-file": "license_files",
+    "maintainer": "maintainer",
+    "maintainer-email": "maintainer_email",
+    "metadata-version": "metadata_version",
+    "name": "name",
+    "obsoletes": "obsoletes",
+    "obsoletes-dist": "obsoletes_dist",
+    "platform": "platforms",
+    "project-url": "project_urls",
+    "provides": "provides",
+    "provides-dist": "provides_dist",
+    "provides-extra": "provides_extra",
+    "requires": "requires",
+    "requires-dist": "requires_dist",
+    "requires-external": "requires_external",
+    "requires-python": "requires_python",
+    "summary": "summary",
+    "supported-platform": "supported_platforms",
+    "version": "version",
+}
+_RAW_TO_EMAIL_MAPPING = {raw: email for email, raw in _EMAIL_TO_RAW_MAPPING.items()}
+
+
+def parse_email(data: bytes | str) -> tuple[RawMetadata, dict[str, list[str]]]:
+    """Parse a distribution's metadata stored as email headers (e.g. from ``METADATA``).
+
+    This function returns a two-item tuple of dicts. The first dict is of
+    recognized fields from the core metadata specification. Fields that can be
+    parsed and translated into Python's built-in types are converted
+    appropriately. All other fields are left as-is. Fields that are allowed to
+    appear multiple times are stored as lists.
+
+    The second dict contains all other fields from the metadata. This includes
+    any unrecognized fields. It also includes any fields which are expected to
+    be parsed into a built-in type but were not formatted appropriately. Finally,
+    any fields that are expected to appear only once but are repeated are
+    included in this dict.
+
+    """
+    raw: dict[str, str | list[str] | dict[str, str]] = {}
+    unparsed: dict[str, list[str]] = {}
+
+    if isinstance(data, str):
+        parsed = email.parser.Parser(policy=email.policy.compat32).parsestr(data)
+    else:
+        parsed = email.parser.BytesParser(policy=email.policy.compat32).parsebytes(data)
+
+    # We have to wrap parsed.keys() in a set, because in the case of multiple
+    # values for a key (a list), the key will appear multiple times in the
+    # list of keys, but we're avoiding that by using get_all().
+    for name in frozenset(parsed.keys()):
+        # Header names in RFC are case insensitive, so we'll normalize to all
+        # lower case to make comparisons easier.
+        name = name.lower()
+
+        # We use get_all() here, even for fields that aren't multiple use,
+        # because otherwise someone could have e.g. two Name fields, and we
+        # would just silently ignore it rather than doing something about it.
+        headers = parsed.get_all(name) or []
+
+        # The way the email module works when parsing bytes is that it
+        # unconditionally decodes the bytes as ascii using the surrogateescape
+        # handler. When you pull that data back out (such as with get_all() ),
+        # it looks to see if the str has any surrogate escapes, and if it does
+        # it wraps it in a Header object instead of returning the string.
+        #
+        # As such, we'll look for those Header objects, and fix up the encoding.
+        value = []
+        # Flag if we have run into any issues processing the headers, thus
+        # signalling that the data belongs in 'unparsed'.
+        valid_encoding = True
+        for h in headers:
+            # It's unclear if this can return more types than just a Header or
+            # a str, so we'll just assert here to make sure.
+            assert isinstance(h, (email.header.Header, str))
+
+            # If it's a header object, we need to do our little dance to get
+            # the real data out of it. In cases where there is invalid data
+            # we're going to end up with mojibake, but there's no obvious, good
+            # way around that without reimplementing parts of the Header object
+            # ourselves.
+            #
+            # That should be fine since, if mojibacked happens, this key is
+            # going into the unparsed dict anyways.
+            if isinstance(h, email.header.Header):
+                # The Header object stores it's data as chunks, and each chunk
+                # can be independently encoded, so we'll need to check each
+                # of them.
+                chunks: list[tuple[bytes, str | None]] = []
+                for bin, encoding in email.header.decode_header(h):
+                    try:
+                        bin.decode("utf8", "strict")
+                    except UnicodeDecodeError:
+                        # Enable mojibake.
+                        encoding = "latin1"
+                        valid_encoding = False
+                    else:
+                        encoding = "utf8"
+                    chunks.append((bin, encoding))
+
+                # Turn our chunks back into a Header object, then let that
+                # Header object do the right thing to turn them into a
+                # string for us.
+                value.append(str(email.header.make_header(chunks)))
+            # This is already a string, so just add it.
+            else:
+                value.append(h)
+
+        # We've processed all of our values to get them into a list of str,
+        # but we may have mojibake data, in which case this is an unparsed
+        # field.
+        if not valid_encoding:
+            unparsed[name] = value
+            continue
+
+        raw_name = _EMAIL_TO_RAW_MAPPING.get(name)
+        if raw_name is None:
+            # This is a bit of a weird situation, we've encountered a key that
+            # we don't know what it means, so we don't know whether it's meant
+            # to be a list or not.
+            #
+            # Since we can't really tell one way or another, we'll just leave it
+            # as a list, even though it may be a single item list, because that's
+            # what makes the most sense for email headers.
+            unparsed[name] = value
+            continue
+
+        # If this is one of our string fields, then we'll check to see if our
+        # value is a list of a single item. If it is then we'll assume that
+        # it was emitted as a single string, and unwrap the str from inside
+        # the list.
+        #
+        # If it's any other kind of data, then we haven't the faintest clue
+        # what we should parse it as, and we have to just add it to our list
+        # of unparsed stuff.
+        if raw_name in _STRING_FIELDS and len(value) == 1:
+            raw[raw_name] = value[0]
+        # If this is one of our list of string fields, then we can just assign
+        # the value, since email *only* has strings, and our get_all() call
+        # above ensures that this is a list.
+        elif raw_name in _LIST_FIELDS:
+            raw[raw_name] = value
+        # Special Case: Keywords
+        # The keywords field is implemented in the metadata spec as a str,
+        # but it conceptually is a list of strings, and is serialized using
+        # ", ".join(keywords), so we'll do some light data massaging to turn
+        # this into what it logically is.
+        elif raw_name == "keywords" and len(value) == 1:
+            raw[raw_name] = _parse_keywords(value[0])
+        # Special Case: Project-URL
+        # The project urls is implemented in the metadata spec as a list of
+        # specially-formatted strings that represent a key and a value, which
+        # is fundamentally a mapping, however the email format doesn't support
+        # mappings in a sane way, so it was crammed into a list of strings
+        # instead.
+        #
+        # We will do a little light data massaging to turn this into a map as
+        # it logically should be.
+        elif raw_name == "project_urls":
+            try:
+                raw[raw_name] = _parse_project_urls(value)
+            except KeyError:
+                unparsed[name] = value
+        # Nothing that we've done has managed to parse this, so it'll just
+        # throw it in our unparseable data and move on.
+        else:
+            unparsed[name] = value
+
+    # We need to support getting the Description from the message payload in
+    # addition to getting it from the the headers. This does mean, though, there
+    # is the possibility of it being set both ways, in which case we put both
+    # in 'unparsed' since we don't know which is right.
+    try:
+        payload = _get_payload(parsed, data)
+    except ValueError:
+        unparsed.setdefault("description", []).append(
+            parsed.get_payload(decode=isinstance(data, bytes))  # type: ignore[call-overload]
+        )
+    else:
+        if payload:
+            # Check to see if we've already got a description, if so then both
+            # it, and this body move to unparseable.
+            if "description" in raw:
+                description_header = cast(str, raw.pop("description"))
+                unparsed.setdefault("description", []).extend(
+                    [description_header, payload]
+                )
+            elif "description" in unparsed:
+                unparsed["description"].append(payload)
+            else:
+                raw["description"] = payload
+
+    # We need to cast our `raw` to a metadata, because a TypedDict only support
+    # literal key names, but we're computing our key names on purpose, but the
+    # way this function is implemented, our `TypedDict` can only have valid key
+    # names.
+    return cast(RawMetadata, raw), unparsed
+
+
+_NOT_FOUND = object()
+
+
+# Keep the two values in sync.
+_VALID_METADATA_VERSIONS = ["1.0", "1.1", "1.2", "2.1", "2.2", "2.3", "2.4"]
+_MetadataVersion = Literal["1.0", "1.1", "1.2", "2.1", "2.2", "2.3", "2.4"]
+
+_REQUIRED_ATTRS = frozenset(["metadata_version", "name", "version"])
+
+
+class _Validator(Generic[T]):
+    """Validate a metadata field.
+
+    All _process_*() methods correspond to a core metadata field. The method is
+    called with the field's raw value. If the raw value is valid it is returned
+    in its "enriched" form (e.g. ``version.Version`` for the ``Version`` field).
+    If the raw value is invalid, :exc:`InvalidMetadata` is raised (with a cause
+    as appropriate).
+    """
+
+    name: str
+    raw_name: str
+    added: _MetadataVersion
+
+    def __init__(
+        self,
+        *,
+        added: _MetadataVersion = "1.0",
+    ) -> None:
+        self.added = added
+
+    def __set_name__(self, _owner: Metadata, name: str) -> None:
+        self.name = name
+        self.raw_name = _RAW_TO_EMAIL_MAPPING[name]
+
+    def __get__(self, instance: Metadata, _owner: type[Metadata]) -> T:
+        # With Python 3.8, the caching can be replaced with functools.cached_property().
+        # No need to check the cache as attribute lookup will resolve into the
+        # instance's __dict__ before __get__ is called.
+        cache = instance.__dict__
+        value = instance._raw.get(self.name)
+
+        # To make the _process_* methods easier, we'll check if the value is None
+        # and if this field is NOT a required attribute, and if both of those
+        # things are true, we'll skip the the converter. This will mean that the
+        # converters never have to deal with the None union.
+        if self.name in _REQUIRED_ATTRS or value is not None:
+            try:
+                converter: Callable[[Any], T] = getattr(self, f"_process_{self.name}")
+            except AttributeError:
+                pass
+            else:
+                value = converter(value)
+
+        cache[self.name] = value
+        try:
+            del instance._raw[self.name]  # type: ignore[misc]
+        except KeyError:
+            pass
+
+        return cast(T, value)
+
+    def _invalid_metadata(
+        self, msg: str, cause: Exception | None = None
+    ) -> InvalidMetadata:
+        exc = InvalidMetadata(
+            self.raw_name, msg.format_map({"field": repr(self.raw_name)})
+        )
+        exc.__cause__ = cause
+        return exc
+
+    def _process_metadata_version(self, value: str) -> _MetadataVersion:
+        # Implicitly makes Metadata-Version required.
+        if value not in _VALID_METADATA_VERSIONS:
+            raise self._invalid_metadata(f"{value!r} is not a valid metadata version")
+        return cast(_MetadataVersion, value)
+
+    def _process_name(self, value: str) -> str:
+        if not value:
+            raise self._invalid_metadata("{field} is a required field")
+        # Validate the name as a side-effect.
+        try:
+            utils.canonicalize_name(value, validate=True)
+        except utils.InvalidName as exc:
+            raise self._invalid_metadata(
+                f"{value!r} is invalid for {{field}}", cause=exc
+            ) from exc
+        else:
+            return value
+
+    def _process_version(self, value: str) -> version_module.Version:
+        if not value:
+            raise self._invalid_metadata("{field} is a required field")
+        try:
+            return version_module.parse(value)
+        except version_module.InvalidVersion as exc:
+            raise self._invalid_metadata(
+                f"{value!r} is invalid for {{field}}", cause=exc
+            ) from exc
+
+    def _process_summary(self, value: str) -> str:
+        """Check the field contains no newlines."""
+        if "\n" in value:
+            raise self._invalid_metadata("{field} must be a single line")
+        return value
+
+    def _process_description_content_type(self, value: str) -> str:
+        content_types = {"text/plain", "text/x-rst", "text/markdown"}
+        message = email.message.EmailMessage()
+        message["content-type"] = value
+
+        content_type, parameters = (
+            # Defaults to `text/plain` if parsing failed.
+            message.get_content_type().lower(),
+            message["content-type"].params,
+        )
+        # Check if content-type is valid or defaulted to `text/plain` and thus was
+        # not parseable.
+        if content_type not in content_types or content_type not in value.lower():
+            raise self._invalid_metadata(
+                f"{{field}} must be one of {list(content_types)}, not {value!r}"
+            )
+
+        charset = parameters.get("charset", "UTF-8")
+        if charset != "UTF-8":
+            raise self._invalid_metadata(
+                f"{{field}} can only specify the UTF-8 charset, not {list(charset)}"
+            )
+
+        markdown_variants = {"GFM", "CommonMark"}
+        variant = parameters.get("variant", "GFM")  # Use an acceptable default.
+        if content_type == "text/markdown" and variant not in markdown_variants:
+            raise self._invalid_metadata(
+                f"valid Markdown variants for {{field}} are {list(markdown_variants)}, "
+                f"not {variant!r}",
+            )
+        return value
+
+    def _process_dynamic(self, value: list[str]) -> list[str]:
+        for dynamic_field in map(str.lower, value):
+            if dynamic_field in {"name", "version", "metadata-version"}:
+                raise self._invalid_metadata(
+                    f"{dynamic_field!r} is not allowed as a dynamic field"
+                )
+            elif dynamic_field not in _EMAIL_TO_RAW_MAPPING:
+                raise self._invalid_metadata(
+                    f"{dynamic_field!r} is not a valid dynamic field"
+                )
+        return list(map(str.lower, value))
+
+    def _process_provides_extra(
+        self,
+        value: list[str],
+    ) -> list[utils.NormalizedName]:
+        normalized_names = []
+        try:
+            for name in value:
+                normalized_names.append(utils.canonicalize_name(name, validate=True))
+        except utils.InvalidName as exc:
+            raise self._invalid_metadata(
+                f"{name!r} is invalid for {{field}}", cause=exc
+            ) from exc
+        else:
+            return normalized_names
+
+    def _process_requires_python(self, value: str) -> specifiers.SpecifierSet:
+        try:
+            return specifiers.SpecifierSet(value)
+        except specifiers.InvalidSpecifier as exc:
+            raise self._invalid_metadata(
+                f"{value!r} is invalid for {{field}}", cause=exc
+            ) from exc
+
+    def _process_requires_dist(
+        self,
+        value: list[str],
+    ) -> list[requirements.Requirement]:
+        reqs = []
+        try:
+            for req in value:
+                reqs.append(requirements.Requirement(req))
+        except requirements.InvalidRequirement as exc:
+            raise self._invalid_metadata(
+                f"{req!r} is invalid for {{field}}", cause=exc
+            ) from exc
+        else:
+            return reqs
+
+    def _process_license_expression(
+        self, value: str
+    ) -> NormalizedLicenseExpression | None:
+        try:
+            return licenses.canonicalize_license_expression(value)
+        except ValueError as exc:
+            raise self._invalid_metadata(
+                f"{value!r} is invalid for {{field}}", cause=exc
+            ) from exc
+
+    def _process_license_files(self, value: list[str]) -> list[str]:
+        paths = []
+        for path in value:
+            if ".." in path:
+                raise self._invalid_metadata(
+                    f"{path!r} is invalid for {{field}}, "
+                    "parent directory indicators are not allowed"
+                )
+            if "*" in path:
+                raise self._invalid_metadata(
+                    f"{path!r} is invalid for {{field}}, paths must be resolved"
+                )
+            if (
+                pathlib.PurePosixPath(path).is_absolute()
+                or pathlib.PureWindowsPath(path).is_absolute()
+            ):
+                raise self._invalid_metadata(
+                    f"{path!r} is invalid for {{field}}, paths must be relative"
+                )
+            if pathlib.PureWindowsPath(path).as_posix() != path:
+                raise self._invalid_metadata(
+                    f"{path!r} is invalid for {{field}}, paths must use '/' delimiter"
+                )
+            paths.append(path)
+        return paths
+
+
+class Metadata:
+    """Representation of distribution metadata.
+
+    Compared to :class:`RawMetadata`, this class provides objects representing
+    metadata fields instead of only using built-in types. Any invalid metadata
+    will cause :exc:`InvalidMetadata` to be raised (with a
+    :py:attr:`~BaseException.__cause__` attribute as appropriate).
+    """
+
+    _raw: RawMetadata
+
+    @classmethod
+    def from_raw(cls, data: RawMetadata, *, validate: bool = True) -> Metadata:
+        """Create an instance from :class:`RawMetadata`.
+
+        If *validate* is true, all metadata will be validated. All exceptions
+        related to validation will be gathered and raised as an :class:`ExceptionGroup`.
+        """
+        ins = cls()
+        ins._raw = data.copy()  # Mutations occur due to caching enriched values.
+
+        if validate:
+            exceptions: list[Exception] = []
+            try:
+                metadata_version = ins.metadata_version
+                metadata_age = _VALID_METADATA_VERSIONS.index(metadata_version)
+            except InvalidMetadata as metadata_version_exc:
+                exceptions.append(metadata_version_exc)
+                metadata_version = None
+
+            # Make sure to check for the fields that are present, the required
+            # fields (so their absence can be reported).
+            fields_to_check = frozenset(ins._raw) | _REQUIRED_ATTRS
+            # Remove fields that have already been checked.
+            fields_to_check -= {"metadata_version"}
+
+            for key in fields_to_check:
+                try:
+                    if metadata_version:
+                        # Can't use getattr() as that triggers descriptor protocol which
+                        # will fail due to no value for the instance argument.
+                        try:
+                            field_metadata_version = cls.__dict__[key].added
+                        except KeyError:
+                            exc = InvalidMetadata(key, f"unrecognized field: {key!r}")
+                            exceptions.append(exc)
+                            continue
+                        field_age = _VALID_METADATA_VERSIONS.index(
+                            field_metadata_version
+                        )
+                        if field_age > metadata_age:
+                            field = _RAW_TO_EMAIL_MAPPING[key]
+                            exc = InvalidMetadata(
+                                field,
+                                f"{field} introduced in metadata version "
+                                f"{field_metadata_version}, not {metadata_version}",
+                            )
+                            exceptions.append(exc)
+                            continue
+                    getattr(ins, key)
+                except InvalidMetadata as exc:
+                    exceptions.append(exc)
+
+            if exceptions:
+                raise ExceptionGroup("invalid metadata", exceptions)
+
+        return ins
+
+    @classmethod
+    def from_email(cls, data: bytes | str, *, validate: bool = True) -> Metadata:
+        """Parse metadata from email headers.
+
+        If *validate* is true, the metadata will be validated. All exceptions
+        related to validation will be gathered and raised as an :class:`ExceptionGroup`.
+        """
+        raw, unparsed = parse_email(data)
+
+        if validate:
+            exceptions: list[Exception] = []
+            for unparsed_key in unparsed:
+                if unparsed_key in _EMAIL_TO_RAW_MAPPING:
+                    message = f"{unparsed_key!r} has invalid data"
+                else:
+                    message = f"unrecognized field: {unparsed_key!r}"
+                exceptions.append(InvalidMetadata(unparsed_key, message))
+
+            if exceptions:
+                raise ExceptionGroup("unparsed", exceptions)
+
+        try:
+            return cls.from_raw(raw, validate=validate)
+        except ExceptionGroup as exc_group:
+            raise ExceptionGroup(
+                "invalid or unparsed metadata", exc_group.exceptions
+            ) from None
+
+    metadata_version: _Validator[_MetadataVersion] = _Validator()
+    """:external:ref:`core-metadata-metadata-version`
+    (required; validated to be a valid metadata version)"""
+    # `name` is not normalized/typed to NormalizedName so as to provide access to
+    # the original/raw name.
+    name: _Validator[str] = _Validator()
+    """:external:ref:`core-metadata-name`
+    (required; validated using :func:`~packaging.utils.canonicalize_name` and its
+    *validate* parameter)"""
+    version: _Validator[version_module.Version] = _Validator()
+    """:external:ref:`core-metadata-version` (required)"""
+    dynamic: _Validator[list[str] | None] = _Validator(
+        added="2.2",
+    )
+    """:external:ref:`core-metadata-dynamic`
+    (validated against core metadata field names and lowercased)"""
+    platforms: _Validator[list[str] | None] = _Validator()
+    """:external:ref:`core-metadata-platform`"""
+    supported_platforms: _Validator[list[str] | None] = _Validator(added="1.1")
+    """:external:ref:`core-metadata-supported-platform`"""
+    summary: _Validator[str | None] = _Validator()
+    """:external:ref:`core-metadata-summary` (validated to contain no newlines)"""
+    description: _Validator[str | None] = _Validator()  # TODO 2.1: can be in body
+    """:external:ref:`core-metadata-description`"""
+    description_content_type: _Validator[str | None] = _Validator(added="2.1")
+    """:external:ref:`core-metadata-description-content-type` (validated)"""
+    keywords: _Validator[list[str] | None] = _Validator()
+    """:external:ref:`core-metadata-keywords`"""
+    home_page: _Validator[str | None] = _Validator()
+    """:external:ref:`core-metadata-home-page`"""
+    download_url: _Validator[str | None] = _Validator(added="1.1")
+    """:external:ref:`core-metadata-download-url`"""
+    author: _Validator[str | None] = _Validator()
+    """:external:ref:`core-metadata-author`"""
+    author_email: _Validator[str | None] = _Validator()
+    """:external:ref:`core-metadata-author-email`"""
+    maintainer: _Validator[str | None] = _Validator(added="1.2")
+    """:external:ref:`core-metadata-maintainer`"""
+    maintainer_email: _Validator[str | None] = _Validator(added="1.2")
+    """:external:ref:`core-metadata-maintainer-email`"""
+    license: _Validator[str | None] = _Validator()
+    """:external:ref:`core-metadata-license`"""
+    license_expression: _Validator[NormalizedLicenseExpression | None] = _Validator(
+        added="2.4"
+    )
+    """:external:ref:`core-metadata-license-expression`"""
+    license_files: _Validator[list[str] | None] = _Validator(added="2.4")
+    """:external:ref:`core-metadata-license-file`"""
+    classifiers: _Validator[list[str] | None] = _Validator(added="1.1")
+    """:external:ref:`core-metadata-classifier`"""
+    requires_dist: _Validator[list[requirements.Requirement] | None] = _Validator(
+        added="1.2"
+    )
+    """:external:ref:`core-metadata-requires-dist`"""
+    requires_python: _Validator[specifiers.SpecifierSet | None] = _Validator(
+        added="1.2"
+    )
+    """:external:ref:`core-metadata-requires-python`"""
+    # Because `Requires-External` allows for non-PEP 440 version specifiers, we
+    # don't do any processing on the values.
+    requires_external: _Validator[list[str] | None] = _Validator(added="1.2")
+    """:external:ref:`core-metadata-requires-external`"""
+    project_urls: _Validator[dict[str, str] | None] = _Validator(added="1.2")
+    """:external:ref:`core-metadata-project-url`"""
+    # PEP 685 lets us raise an error if an extra doesn't pass `Name` validation
+    # regardless of metadata version.
+    provides_extra: _Validator[list[utils.NormalizedName] | None] = _Validator(
+        added="2.1",
+    )
+    """:external:ref:`core-metadata-provides-extra`"""
+    provides_dist: _Validator[list[str] | None] = _Validator(added="1.2")
+    """:external:ref:`core-metadata-provides-dist`"""
+    obsoletes_dist: _Validator[list[str] | None] = _Validator(added="1.2")
+    """:external:ref:`core-metadata-obsoletes-dist`"""
+    requires: _Validator[list[str] | None] = _Validator(added="1.1")
+    """``Requires`` (deprecated)"""
+    provides: _Validator[list[str] | None] = _Validator(added="1.1")
+    """``Provides`` (deprecated)"""
+    obsoletes: _Validator[list[str] | None] = _Validator(added="1.1")
+    """``Obsoletes`` (deprecated)"""
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/requirements.py b/.venv/Lib/site-packages/pip/_vendor/packaging/requirements.py
index 1eab7dd..4e068c9 100644
--- a/.venv/Lib/site-packages/pip/_vendor/packaging/requirements.py
+++ b/.venv/Lib/site-packages/pip/_vendor/packaging/requirements.py
@@ -1,27 +1,15 @@
 # This file is dual licensed under the terms of the Apache License, Version
 # 2.0, and the BSD License. See the LICENSE file in the root of this repository
 # for complete details.
+from __future__ import annotations
 
-import re
-import string
-import urllib.parse
-from typing import List, Optional as TOptional, Set
+from typing import Any, Iterator
 
-from pip._vendor.pyparsing import (  # noqa
-    Combine,
-    Literal as L,
-    Optional,
-    ParseException,
-    Regex,
-    Word,
-    ZeroOrMore,
-    originalTextFor,
-    stringEnd,
-    stringStart,
-)
-
-from .markers import MARKER_EXPR, Marker
-from .specifiers import LegacySpecifier, Specifier, SpecifierSet
+from ._parser import parse_requirement as _parse_requirement
+from ._tokenizer import ParserSyntaxError
+from .markers import Marker, _normalize_extra_values
+from .specifiers import SpecifierSet
+from .utils import canonicalize_name
 
 
 class InvalidRequirement(ValueError):
@@ -30,60 +18,6 @@ class InvalidRequirement(ValueError):
     """
 
 
-ALPHANUM = Word(string.ascii_letters + string.digits)
-
-LBRACKET = L("[").suppress()
-RBRACKET = L("]").suppress()
-LPAREN = L("(").suppress()
-RPAREN = L(")").suppress()
-COMMA = L(",").suppress()
-SEMICOLON = L(";").suppress()
-AT = L("@").suppress()
-
-PUNCTUATION = Word("-_.")
-IDENTIFIER_END = ALPHANUM | (ZeroOrMore(PUNCTUATION) + ALPHANUM)
-IDENTIFIER = Combine(ALPHANUM + ZeroOrMore(IDENTIFIER_END))
-
-NAME = IDENTIFIER("name")
-EXTRA = IDENTIFIER
-
-URI = Regex(r"[^ ]+")("url")
-URL = AT + URI
-
-EXTRAS_LIST = EXTRA + ZeroOrMore(COMMA + EXTRA)
-EXTRAS = (LBRACKET + Optional(EXTRAS_LIST) + RBRACKET)("extras")
-
-VERSION_PEP440 = Regex(Specifier._regex_str, re.VERBOSE | re.IGNORECASE)
-VERSION_LEGACY = Regex(LegacySpecifier._regex_str, re.VERBOSE | re.IGNORECASE)
-
-VERSION_ONE = VERSION_PEP440 ^ VERSION_LEGACY
-VERSION_MANY = Combine(
-    VERSION_ONE + ZeroOrMore(COMMA + VERSION_ONE), joinString=",", adjacent=False
-)("_raw_spec")
-_VERSION_SPEC = Optional((LPAREN + VERSION_MANY + RPAREN) | VERSION_MANY)
-_VERSION_SPEC.setParseAction(lambda s, l, t: t._raw_spec or "")
-
-VERSION_SPEC = originalTextFor(_VERSION_SPEC)("specifier")
-VERSION_SPEC.setParseAction(lambda s, l, t: t[1])
-
-MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
-MARKER_EXPR.setParseAction(
-    lambda s, l, t: Marker(s[t._original_start : t._original_end])
-)
-MARKER_SEPARATOR = SEMICOLON
-MARKER = MARKER_SEPARATOR + MARKER_EXPR
-
-VERSION_AND_MARKER = VERSION_SPEC + Optional(MARKER)
-URL_AND_MARKER = URL + Optional(MARKER)
-
-NAMED_REQUIREMENT = NAME + Optional(EXTRAS) + (URL_AND_MARKER | VERSION_AND_MARKER)
-
-REQUIREMENT = stringStart + NAMED_REQUIREMENT + stringEnd
-# pyparsing isn't thread safe during initialization, so we do it eagerly, see
-# issue #104
-REQUIREMENT.parseString("x[]")
-
-
 class Requirement:
     """Parse a requirement.
 
@@ -99,48 +33,59 @@ class Requirement:
 
     def __init__(self, requirement_string: str) -> None:
         try:
-            req = REQUIREMENT.parseString(requirement_string)
-        except ParseException as e:
-            raise InvalidRequirement(
-                f'Parse error at "{ requirement_string[e.loc : e.loc + 8]!r}": {e.msg}'
-            )
+            parsed = _parse_requirement(requirement_string)
+        except ParserSyntaxError as e:
+            raise InvalidRequirement(str(e)) from e
 
-        self.name: str = req.name
-        if req.url:
-            parsed_url = urllib.parse.urlparse(req.url)
-            if parsed_url.scheme == "file":
-                if urllib.parse.urlunparse(parsed_url) != req.url:
-                    raise InvalidRequirement("Invalid URL given")
-            elif not (parsed_url.scheme and parsed_url.netloc) or (
-                not parsed_url.scheme and not parsed_url.netloc
-            ):
-                raise InvalidRequirement(f"Invalid URL: {req.url}")
-            self.url: TOptional[str] = req.url
-        else:
-            self.url = None
-        self.extras: Set[str] = set(req.extras.asList() if req.extras else [])
-        self.specifier: SpecifierSet = SpecifierSet(req.specifier)
-        self.marker: TOptional[Marker] = req.marker if req.marker else None
+        self.name: str = parsed.name
+        self.url: str | None = parsed.url or None
+        self.extras: set[str] = set(parsed.extras or [])
+        self.specifier: SpecifierSet = SpecifierSet(parsed.specifier)
+        self.marker: Marker | None = None
+        if parsed.marker is not None:
+            self.marker = Marker.__new__(Marker)
+            self.marker._markers = _normalize_extra_values(parsed.marker)
 
-    def __str__(self) -> str:
-        parts: List[str] = [self.name]
+    def _iter_parts(self, name: str) -> Iterator[str]:
+        yield name
 
         if self.extras:
             formatted_extras = ",".join(sorted(self.extras))
-            parts.append(f"[{formatted_extras}]")
+            yield f"[{formatted_extras}]"
 
         if self.specifier:
-            parts.append(str(self.specifier))
+            yield str(self.specifier)
 
         if self.url:
-            parts.append(f"@ {self.url}")
+            yield f"@ {self.url}"
             if self.marker:
-                parts.append(" ")
+                yield " "
 
         if self.marker:
-            parts.append(f"; {self.marker}")
+            yield f"; {self.marker}"
 
-        return "".join(parts)
+    def __str__(self) -> str:
+        return "".join(self._iter_parts(self.name))
 
     def __repr__(self) -> str:
         return f""
+
+    def __hash__(self) -> int:
+        return hash(
+            (
+                self.__class__.__name__,
+                *self._iter_parts(canonicalize_name(self.name)),
+            )
+        )
+
+    def __eq__(self, other: Any) -> bool:
+        if not isinstance(other, Requirement):
+            return NotImplemented
+
+        return (
+            canonicalize_name(self.name) == canonicalize_name(other.name)
+            and self.extras == other.extras
+            and self.specifier == other.specifier
+            and self.url == other.url
+            and self.marker == other.marker
+        )
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/specifiers.py b/.venv/Lib/site-packages/pip/_vendor/packaging/specifiers.py
index 0e218a6..47c3929 100644
--- a/.venv/Lib/site-packages/pip/_vendor/packaging/specifiers.py
+++ b/.venv/Lib/site-packages/pip/_vendor/packaging/specifiers.py
@@ -1,38 +1,43 @@
 # This file is dual licensed under the terms of the Apache License, Version
 # 2.0, and the BSD License. See the LICENSE file in the root of this repository
 # for complete details.
+"""
+.. testsetup::
+
+    from pip._vendor.packaging.specifiers import Specifier, SpecifierSet, InvalidSpecifier
+    from pip._vendor.packaging.version import Version
+"""
+
+from __future__ import annotations
 
 import abc
-import functools
 import itertools
 import re
-import warnings
-from typing import (
-    Callable,
-    Dict,
-    Iterable,
-    Iterator,
-    List,
-    Optional,
-    Pattern,
-    Set,
-    Tuple,
-    TypeVar,
-    Union,
-)
+from typing import Callable, Iterable, Iterator, TypeVar, Union
 
 from .utils import canonicalize_version
-from .version import LegacyVersion, Version, parse
+from .version import Version
 
-ParsedVersion = Union[Version, LegacyVersion]
-UnparsedVersion = Union[Version, LegacyVersion, str]
-VersionTypeVar = TypeVar("VersionTypeVar", bound=UnparsedVersion)
-CallableOperator = Callable[[ParsedVersion, str], bool]
+UnparsedVersion = Union[Version, str]
+UnparsedVersionVar = TypeVar("UnparsedVersionVar", bound=UnparsedVersion)
+CallableOperator = Callable[[Version, str], bool]
+
+
+def _coerce_version(version: UnparsedVersion) -> Version:
+    if not isinstance(version, Version):
+        version = Version(version)
+    return version
 
 
 class InvalidSpecifier(ValueError):
     """
-    An invalid specifier was found, users should refer to PEP 440.
+    Raised when attempting to create a :class:`Specifier` with a specifier
+    string that is invalid.
+
+    >>> Specifier("lolwat")
+    Traceback (most recent call last):
+        ...
+    packaging.specifiers.InvalidSpecifier: Invalid specifier: 'lolwat'
     """
 
 
@@ -40,266 +45,71 @@ class BaseSpecifier(metaclass=abc.ABCMeta):
     @abc.abstractmethod
     def __str__(self) -> str:
         """
-        Returns the str representation of this Specifier like object. This
+        Returns the str representation of this Specifier-like object. This
         should be representative of the Specifier itself.
         """
 
     @abc.abstractmethod
     def __hash__(self) -> int:
         """
-        Returns a hash value for this Specifier like object.
+        Returns a hash value for this Specifier-like object.
         """
 
     @abc.abstractmethod
     def __eq__(self, other: object) -> bool:
         """
-        Returns a boolean representing whether or not the two Specifier like
+        Returns a boolean representing whether or not the two Specifier-like
         objects are equal.
+
+        :param other: The other object to check against.
         """
 
-    @abc.abstractproperty
-    def prereleases(self) -> Optional[bool]:
-        """
-        Returns whether or not pre-releases as a whole are allowed by this
-        specifier.
+    @property
+    @abc.abstractmethod
+    def prereleases(self) -> bool | None:
+        """Whether or not pre-releases as a whole are allowed.
+
+        This can be set to either ``True`` or ``False`` to explicitly enable or disable
+        prereleases or it can be set to ``None`` (the default) to use default semantics.
         """
 
     @prereleases.setter
     def prereleases(self, value: bool) -> None:
-        """
-        Sets whether or not pre-releases as a whole are allowed by this
-        specifier.
+        """Setter for :attr:`prereleases`.
+
+        :param value: The value to set.
         """
 
     @abc.abstractmethod
-    def contains(self, item: str, prereleases: Optional[bool] = None) -> bool:
+    def contains(self, item: str, prereleases: bool | None = None) -> bool:
         """
         Determines if the given item is contained within this specifier.
         """
 
     @abc.abstractmethod
     def filter(
-        self, iterable: Iterable[VersionTypeVar], prereleases: Optional[bool] = None
-    ) -> Iterable[VersionTypeVar]:
+        self, iterable: Iterable[UnparsedVersionVar], prereleases: bool | None = None
+    ) -> Iterator[UnparsedVersionVar]:
         """
         Takes an iterable of items and filters them so that only items which
         are contained within this specifier are allowed in it.
         """
 
 
-class _IndividualSpecifier(BaseSpecifier):
+class Specifier(BaseSpecifier):
+    """This class abstracts handling of version specifiers.
 
-    _operators: Dict[str, str] = {}
-    _regex: Pattern[str]
+    .. tip::
 
-    def __init__(self, spec: str = "", prereleases: Optional[bool] = None) -> None:
-        match = self._regex.search(spec)
-        if not match:
-            raise InvalidSpecifier(f"Invalid specifier: '{spec}'")
+        It is generally not required to instantiate this manually. You should instead
+        prefer to work with :class:`SpecifierSet` instead, which can parse
+        comma-separated version specifiers (which is what package metadata contains).
+    """
 
-        self._spec: Tuple[str, str] = (
-            match.group("operator").strip(),
-            match.group("version").strip(),
-        )
-
-        # Store whether or not this Specifier should accept prereleases
-        self._prereleases = prereleases
-
-    def __repr__(self) -> str:
-        pre = (
-            f", prereleases={self.prereleases!r}"
-            if self._prereleases is not None
-            else ""
-        )
-
-        return f"<{self.__class__.__name__}({str(self)!r}{pre})>"
-
-    def __str__(self) -> str:
-        return "{}{}".format(*self._spec)
-
-    @property
-    def _canonical_spec(self) -> Tuple[str, str]:
-        return self._spec[0], canonicalize_version(self._spec[1])
-
-    def __hash__(self) -> int:
-        return hash(self._canonical_spec)
-
-    def __eq__(self, other: object) -> bool:
-        if isinstance(other, str):
-            try:
-                other = self.__class__(str(other))
-            except InvalidSpecifier:
-                return NotImplemented
-        elif not isinstance(other, self.__class__):
-            return NotImplemented
-
-        return self._canonical_spec == other._canonical_spec
-
-    def _get_operator(self, op: str) -> CallableOperator:
-        operator_callable: CallableOperator = getattr(
-            self, f"_compare_{self._operators[op]}"
-        )
-        return operator_callable
-
-    def _coerce_version(self, version: UnparsedVersion) -> ParsedVersion:
-        if not isinstance(version, (LegacyVersion, Version)):
-            version = parse(version)
-        return version
-
-    @property
-    def operator(self) -> str:
-        return self._spec[0]
-
-    @property
-    def version(self) -> str:
-        return self._spec[1]
-
-    @property
-    def prereleases(self) -> Optional[bool]:
-        return self._prereleases
-
-    @prereleases.setter
-    def prereleases(self, value: bool) -> None:
-        self._prereleases = value
-
-    def __contains__(self, item: str) -> bool:
-        return self.contains(item)
-
-    def contains(
-        self, item: UnparsedVersion, prereleases: Optional[bool] = None
-    ) -> bool:
-
-        # Determine if prereleases are to be allowed or not.
-        if prereleases is None:
-            prereleases = self.prereleases
-
-        # Normalize item to a Version or LegacyVersion, this allows us to have
-        # a shortcut for ``"2.0" in Specifier(">=2")
-        normalized_item = self._coerce_version(item)
-
-        # Determine if we should be supporting prereleases in this specifier
-        # or not, if we do not support prereleases than we can short circuit
-        # logic if this version is a prereleases.
-        if normalized_item.is_prerelease and not prereleases:
-            return False
-
-        # Actually do the comparison to determine if this item is contained
-        # within this Specifier or not.
-        operator_callable: CallableOperator = self._get_operator(self.operator)
-        return operator_callable(normalized_item, self.version)
-
-    def filter(
-        self, iterable: Iterable[VersionTypeVar], prereleases: Optional[bool] = None
-    ) -> Iterable[VersionTypeVar]:
-
-        yielded = False
-        found_prereleases = []
-
-        kw = {"prereleases": prereleases if prereleases is not None else True}
-
-        # Attempt to iterate over all the values in the iterable and if any of
-        # them match, yield them.
-        for version in iterable:
-            parsed_version = self._coerce_version(version)
-
-            if self.contains(parsed_version, **kw):
-                # If our version is a prerelease, and we were not set to allow
-                # prereleases, then we'll store it for later in case nothing
-                # else matches this specifier.
-                if parsed_version.is_prerelease and not (
-                    prereleases or self.prereleases
-                ):
-                    found_prereleases.append(version)
-                # Either this is not a prerelease, or we should have been
-                # accepting prereleases from the beginning.
-                else:
-                    yielded = True
-                    yield version
-
-        # Now that we've iterated over everything, determine if we've yielded
-        # any values, and if we have not and we have any prereleases stored up
-        # then we will go ahead and yield the prereleases.
-        if not yielded and found_prereleases:
-            for version in found_prereleases:
-                yield version
-
-
-class LegacySpecifier(_IndividualSpecifier):
-
-    _regex_str = r"""
-        (?P(==|!=|<=|>=|<|>))
-        \s*
-        (?P
-            [^,;\s)]* # Since this is a "legacy" specifier, and the version
-                      # string can be just about anything, we match everything
-                      # except for whitespace, a semi-colon for marker support,
-                      # a closing paren since versions can be enclosed in
-                      # them, and a comma since it's a version separator.
-        )
-        """
-
-    _regex = re.compile(r"^\s*" + _regex_str + r"\s*$", re.VERBOSE | re.IGNORECASE)
-
-    _operators = {
-        "==": "equal",
-        "!=": "not_equal",
-        "<=": "less_than_equal",
-        ">=": "greater_than_equal",
-        "<": "less_than",
-        ">": "greater_than",
-    }
-
-    def __init__(self, spec: str = "", prereleases: Optional[bool] = None) -> None:
-        super().__init__(spec, prereleases)
-
-        warnings.warn(
-            "Creating a LegacyVersion has been deprecated and will be "
-            "removed in the next major release",
-            DeprecationWarning,
-        )
-
-    def _coerce_version(self, version: UnparsedVersion) -> LegacyVersion:
-        if not isinstance(version, LegacyVersion):
-            version = LegacyVersion(str(version))
-        return version
-
-    def _compare_equal(self, prospective: LegacyVersion, spec: str) -> bool:
-        return prospective == self._coerce_version(spec)
-
-    def _compare_not_equal(self, prospective: LegacyVersion, spec: str) -> bool:
-        return prospective != self._coerce_version(spec)
-
-    def _compare_less_than_equal(self, prospective: LegacyVersion, spec: str) -> bool:
-        return prospective <= self._coerce_version(spec)
-
-    def _compare_greater_than_equal(
-        self, prospective: LegacyVersion, spec: str
-    ) -> bool:
-        return prospective >= self._coerce_version(spec)
-
-    def _compare_less_than(self, prospective: LegacyVersion, spec: str) -> bool:
-        return prospective < self._coerce_version(spec)
-
-    def _compare_greater_than(self, prospective: LegacyVersion, spec: str) -> bool:
-        return prospective > self._coerce_version(spec)
-
-
-def _require_version_compare(
-    fn: Callable[["Specifier", ParsedVersion, str], bool]
-) -> Callable[["Specifier", ParsedVersion, str], bool]:
-    @functools.wraps(fn)
-    def wrapped(self: "Specifier", prospective: ParsedVersion, spec: str) -> bool:
-        if not isinstance(prospective, Version):
-            return False
-        return fn(self, prospective, spec)
-
-    return wrapped
-
-
-class Specifier(_IndividualSpecifier):
-
-    _regex_str = r"""
+    _operator_regex_str = r"""
         (?P(~=|==|!=|<=|>=|<|>|===))
+        """
+    _version_regex_str = r"""
         (?P
             (?:
                 # The identity operators allow for an escape hatch that will
@@ -309,8 +119,10 @@ class Specifier(_IndividualSpecifier):
                 # but included entirely as an escape hatch.
                 (?<====)  # Only match for the identity operator
                 \s*
-                [^\s]*    # We just match everything, except for whitespace
-                          # since we are only testing for strict identity.
+                [^\s;)]*  # The arbitrary version can be just about anything,
+                          # we match everything except for whitespace, a
+                          # semi-colon for marker support, and a closing paren
+                          # since versions can be enclosed in them.
             )
             |
             (?:
@@ -323,23 +135,23 @@ class Specifier(_IndividualSpecifier):
                 v?
                 (?:[0-9]+!)?          # epoch
                 [0-9]+(?:\.[0-9]+)*   # release
-                (?:                   # pre release
-                    [-_\.]?
-                    (a|b|c|rc|alpha|beta|pre|preview)
-                    [-_\.]?
-                    [0-9]*
-                )?
-                (?:                   # post release
-                    (?:-[0-9]+)|(?:[-_\.]?(post|rev|r)[-_\.]?[0-9]*)
-                )?
 
-                # You cannot use a wild card and a dev or local version
-                # together so group them with a | and make them optional.
+                # You cannot use a wild card and a pre-release, post-release, a dev or
+                # local version together so group them with a | and make them optional.
                 (?:
+                    \.\*  # Wild card syntax of .*
+                    |
+                    (?:                                  # pre release
+                        [-_\.]?
+                        (alpha|beta|preview|pre|a|b|c|rc)
+                        [-_\.]?
+                        [0-9]*
+                    )?
+                    (?:                                  # post release
+                        (?:-[0-9]+)|(?:[-_\.]?(post|rev|r)[-_\.]?[0-9]*)
+                    )?
                     (?:[-_\.]?dev[-_\.]?[0-9]*)?         # dev release
                     (?:\+[a-z0-9]+(?:[-_\.][a-z0-9]+)*)? # local
-                    |
-                    \.\*  # Wild card syntax of .*
                 )?
             )
             |
@@ -354,7 +166,7 @@ class Specifier(_IndividualSpecifier):
                 [0-9]+(?:\.[0-9]+)+   # release  (We have a + instead of a *)
                 (?:                   # pre release
                     [-_\.]?
-                    (a|b|c|rc|alpha|beta|pre|preview)
+                    (alpha|beta|preview|pre|a|b|c|rc)
                     [-_\.]?
                     [0-9]*
                 )?
@@ -379,7 +191,7 @@ class Specifier(_IndividualSpecifier):
                 [0-9]+(?:\.[0-9]+)*   # release
                 (?:                   # pre release
                     [-_\.]?
-                    (a|b|c|rc|alpha|beta|pre|preview)
+                    (alpha|beta|preview|pre|a|b|c|rc)
                     [-_\.]?
                     [0-9]*
                 )?
@@ -391,7 +203,10 @@ class Specifier(_IndividualSpecifier):
         )
         """
 
-    _regex = re.compile(r"^\s*" + _regex_str + r"\s*$", re.VERBOSE | re.IGNORECASE)
+    _regex = re.compile(
+        r"^\s*" + _operator_regex_str + _version_regex_str + r"\s*$",
+        re.VERBOSE | re.IGNORECASE,
+    )
 
     _operators = {
         "~=": "compatible",
@@ -404,9 +219,153 @@ class Specifier(_IndividualSpecifier):
         "===": "arbitrary",
     }
 
-    @_require_version_compare
-    def _compare_compatible(self, prospective: ParsedVersion, spec: str) -> bool:
+    def __init__(self, spec: str = "", prereleases: bool | None = None) -> None:
+        """Initialize a Specifier instance.
 
+        :param spec:
+            The string representation of a specifier which will be parsed and
+            normalized before use.
+        :param prereleases:
+            This tells the specifier if it should accept prerelease versions if
+            applicable or not. The default of ``None`` will autodetect it from the
+            given specifiers.
+        :raises InvalidSpecifier:
+            If the given specifier is invalid (i.e. bad syntax).
+        """
+        match = self._regex.search(spec)
+        if not match:
+            raise InvalidSpecifier(f"Invalid specifier: {spec!r}")
+
+        self._spec: tuple[str, str] = (
+            match.group("operator").strip(),
+            match.group("version").strip(),
+        )
+
+        # Store whether or not this Specifier should accept prereleases
+        self._prereleases = prereleases
+
+    # https://github.com/python/mypy/pull/13475#pullrequestreview-1079784515
+    @property  # type: ignore[override]
+    def prereleases(self) -> bool:
+        # If there is an explicit prereleases set for this, then we'll just
+        # blindly use that.
+        if self._prereleases is not None:
+            return self._prereleases
+
+        # Look at all of our specifiers and determine if they are inclusive
+        # operators, and if they are if they are including an explicit
+        # prerelease.
+        operator, version = self._spec
+        if operator in ["==", ">=", "<=", "~=", "===", ">", "<"]:
+            # The == specifier can include a trailing .*, if it does we
+            # want to remove before parsing.
+            if operator == "==" and version.endswith(".*"):
+                version = version[:-2]
+
+            # Parse the version, and if it is a pre-release than this
+            # specifier allows pre-releases.
+            if Version(version).is_prerelease:
+                return True
+
+        return False
+
+    @prereleases.setter
+    def prereleases(self, value: bool) -> None:
+        self._prereleases = value
+
+    @property
+    def operator(self) -> str:
+        """The operator of this specifier.
+
+        >>> Specifier("==1.2.3").operator
+        '=='
+        """
+        return self._spec[0]
+
+    @property
+    def version(self) -> str:
+        """The version of this specifier.
+
+        >>> Specifier("==1.2.3").version
+        '1.2.3'
+        """
+        return self._spec[1]
+
+    def __repr__(self) -> str:
+        """A representation of the Specifier that shows all internal state.
+
+        >>> Specifier('>=1.0.0')
+        =1.0.0')>
+        >>> Specifier('>=1.0.0', prereleases=False)
+        =1.0.0', prereleases=False)>
+        >>> Specifier('>=1.0.0', prereleases=True)
+        =1.0.0', prereleases=True)>
+        """
+        pre = (
+            f", prereleases={self.prereleases!r}"
+            if self._prereleases is not None
+            else ""
+        )
+
+        return f"<{self.__class__.__name__}({str(self)!r}{pre})>"
+
+    def __str__(self) -> str:
+        """A string representation of the Specifier that can be round-tripped.
+
+        >>> str(Specifier('>=1.0.0'))
+        '>=1.0.0'
+        >>> str(Specifier('>=1.0.0', prereleases=False))
+        '>=1.0.0'
+        """
+        return "{}{}".format(*self._spec)
+
+    @property
+    def _canonical_spec(self) -> tuple[str, str]:
+        canonical_version = canonicalize_version(
+            self._spec[1],
+            strip_trailing_zero=(self._spec[0] != "~="),
+        )
+        return self._spec[0], canonical_version
+
+    def __hash__(self) -> int:
+        return hash(self._canonical_spec)
+
+    def __eq__(self, other: object) -> bool:
+        """Whether or not the two Specifier-like objects are equal.
+
+        :param other: The other object to check against.
+
+        The value of :attr:`prereleases` is ignored.
+
+        >>> Specifier("==1.2.3") == Specifier("== 1.2.3.0")
+        True
+        >>> (Specifier("==1.2.3", prereleases=False) ==
+        ...  Specifier("==1.2.3", prereleases=True))
+        True
+        >>> Specifier("==1.2.3") == "==1.2.3"
+        True
+        >>> Specifier("==1.2.3") == Specifier("==1.2.4")
+        False
+        >>> Specifier("==1.2.3") == Specifier("~=1.2.3")
+        False
+        """
+        if isinstance(other, str):
+            try:
+                other = self.__class__(str(other))
+            except InvalidSpecifier:
+                return NotImplemented
+        elif not isinstance(other, self.__class__):
+            return NotImplemented
+
+        return self._canonical_spec == other._canonical_spec
+
+    def _get_operator(self, op: str) -> CallableOperator:
+        operator_callable: CallableOperator = getattr(
+            self, f"_compare_{self._operators[op]}"
+        )
+        return operator_callable
+
+    def _compare_compatible(self, prospective: Version, spec: str) -> bool:
         # Compatible releases have an equivalent combination of >= and ==. That
         # is that ~=2.2 is equivalent to >=2.2,==2.*. This allows us to
         # implement this in terms of the other specifiers instead of
@@ -415,7 +374,7 @@ class Specifier(_IndividualSpecifier):
 
         # We want everything but the last item in the version, but we want to
         # ignore suffix segments.
-        prefix = ".".join(
+        prefix = _version_join(
             list(itertools.takewhile(_is_not_suffix, _version_split(spec)))[:-1]
         )
 
@@ -426,34 +385,34 @@ class Specifier(_IndividualSpecifier):
             prospective, prefix
         )
 
-    @_require_version_compare
-    def _compare_equal(self, prospective: ParsedVersion, spec: str) -> bool:
-
+    def _compare_equal(self, prospective: Version, spec: str) -> bool:
         # We need special logic to handle prefix matching
         if spec.endswith(".*"):
             # In the case of prefix matching we want to ignore local segment.
-            prospective = Version(prospective.public)
-            # Split the spec out by dots, and pretend that there is an implicit
-            # dot in between a release segment and a pre-release segment.
-            split_spec = _version_split(spec[:-2])  # Remove the trailing .*
+            normalized_prospective = canonicalize_version(
+                prospective.public, strip_trailing_zero=False
+            )
+            # Get the normalized version string ignoring the trailing .*
+            normalized_spec = canonicalize_version(spec[:-2], strip_trailing_zero=False)
+            # Split the spec out by bangs and dots, and pretend that there is
+            # an implicit dot in between a release segment and a pre-release segment.
+            split_spec = _version_split(normalized_spec)
 
-            # Split the prospective version out by dots, and pretend that there
-            # is an implicit dot in between a release segment and a pre-release
-            # segment.
-            split_prospective = _version_split(str(prospective))
+            # Split the prospective version out by bangs and dots, and pretend
+            # that there is an implicit dot in between a release segment and
+            # a pre-release segment.
+            split_prospective = _version_split(normalized_prospective)
+
+            # 0-pad the prospective version before shortening it to get the correct
+            # shortened version.
+            padded_prospective, _ = _pad_version(split_prospective, split_spec)
 
             # Shorten the prospective version to be the same length as the spec
             # so that we can determine if the specifier is a prefix of the
             # prospective version or not.
-            shortened_prospective = split_prospective[: len(split_spec)]
+            shortened_prospective = padded_prospective[: len(split_spec)]
 
-            # Pad out our two sides with zeros so that they both equal the same
-            # length.
-            padded_spec, padded_prospective = _pad_version(
-                split_spec, shortened_prospective
-            )
-
-            return padded_prospective == padded_spec
+            return shortened_prospective == split_spec
         else:
             # Convert our spec string into a Version
             spec_version = Version(spec)
@@ -466,31 +425,22 @@ class Specifier(_IndividualSpecifier):
 
             return prospective == spec_version
 
-    @_require_version_compare
-    def _compare_not_equal(self, prospective: ParsedVersion, spec: str) -> bool:
+    def _compare_not_equal(self, prospective: Version, spec: str) -> bool:
         return not self._compare_equal(prospective, spec)
 
-    @_require_version_compare
-    def _compare_less_than_equal(self, prospective: ParsedVersion, spec: str) -> bool:
-
+    def _compare_less_than_equal(self, prospective: Version, spec: str) -> bool:
         # NB: Local version identifiers are NOT permitted in the version
         # specifier, so local version labels can be universally removed from
         # the prospective version.
         return Version(prospective.public) <= Version(spec)
 
-    @_require_version_compare
-    def _compare_greater_than_equal(
-        self, prospective: ParsedVersion, spec: str
-    ) -> bool:
-
+    def _compare_greater_than_equal(self, prospective: Version, spec: str) -> bool:
         # NB: Local version identifiers are NOT permitted in the version
         # specifier, so local version labels can be universally removed from
         # the prospective version.
         return Version(prospective.public) >= Version(spec)
 
-    @_require_version_compare
-    def _compare_less_than(self, prospective: ParsedVersion, spec_str: str) -> bool:
-
+    def _compare_less_than(self, prospective: Version, spec_str: str) -> bool:
         # Convert our spec to a Version instance, since we'll want to work with
         # it as a version.
         spec = Version(spec_str)
@@ -514,9 +464,7 @@ class Specifier(_IndividualSpecifier):
         # version in the spec.
         return True
 
-    @_require_version_compare
-    def _compare_greater_than(self, prospective: ParsedVersion, spec_str: str) -> bool:
-
+    def _compare_greater_than(self, prospective: Version, spec_str: str) -> bool:
         # Convert our spec to a Version instance, since we'll want to work with
         # it as a version.
         spec = Version(spec_str)
@@ -549,42 +497,150 @@ class Specifier(_IndividualSpecifier):
     def _compare_arbitrary(self, prospective: Version, spec: str) -> bool:
         return str(prospective).lower() == str(spec).lower()
 
-    @property
-    def prereleases(self) -> bool:
+    def __contains__(self, item: str | Version) -> bool:
+        """Return whether or not the item is contained in this specifier.
 
-        # If there is an explicit prereleases set for this, then we'll just
-        # blindly use that.
-        if self._prereleases is not None:
-            return self._prereleases
+        :param item: The item to check for.
 
-        # Look at all of our specifiers and determine if they are inclusive
-        # operators, and if they are if they are including an explicit
-        # prerelease.
-        operator, version = self._spec
-        if operator in ["==", ">=", "<=", "~=", "==="]:
-            # The == specifier can include a trailing .*, if it does we
-            # want to remove before parsing.
-            if operator == "==" and version.endswith(".*"):
-                version = version[:-2]
+        This is used for the ``in`` operator and behaves the same as
+        :meth:`contains` with no ``prereleases`` argument passed.
 
-            # Parse the version, and if it is a pre-release than this
-            # specifier allows pre-releases.
-            if parse(version).is_prerelease:
-                return True
+        >>> "1.2.3" in Specifier(">=1.2.3")
+        True
+        >>> Version("1.2.3") in Specifier(">=1.2.3")
+        True
+        >>> "1.0.0" in Specifier(">=1.2.3")
+        False
+        >>> "1.3.0a1" in Specifier(">=1.2.3")
+        False
+        >>> "1.3.0a1" in Specifier(">=1.2.3", prereleases=True)
+        True
+        """
+        return self.contains(item)
 
-        return False
+    def contains(self, item: UnparsedVersion, prereleases: bool | None = None) -> bool:
+        """Return whether or not the item is contained in this specifier.
 
-    @prereleases.setter
-    def prereleases(self, value: bool) -> None:
-        self._prereleases = value
+        :param item:
+            The item to check for, which can be a version string or a
+            :class:`Version` instance.
+        :param prereleases:
+            Whether or not to match prereleases with this Specifier. If set to
+            ``None`` (the default), it uses :attr:`prereleases` to determine
+            whether or not prereleases are allowed.
+
+        >>> Specifier(">=1.2.3").contains("1.2.3")
+        True
+        >>> Specifier(">=1.2.3").contains(Version("1.2.3"))
+        True
+        >>> Specifier(">=1.2.3").contains("1.0.0")
+        False
+        >>> Specifier(">=1.2.3").contains("1.3.0a1")
+        False
+        >>> Specifier(">=1.2.3", prereleases=True).contains("1.3.0a1")
+        True
+        >>> Specifier(">=1.2.3").contains("1.3.0a1", prereleases=True)
+        True
+        """
+
+        # Determine if prereleases are to be allowed or not.
+        if prereleases is None:
+            prereleases = self.prereleases
+
+        # Normalize item to a Version, this allows us to have a shortcut for
+        # "2.0" in Specifier(">=2")
+        normalized_item = _coerce_version(item)
+
+        # Determine if we should be supporting prereleases in this specifier
+        # or not, if we do not support prereleases than we can short circuit
+        # logic if this version is a prereleases.
+        if normalized_item.is_prerelease and not prereleases:
+            return False
+
+        # Actually do the comparison to determine if this item is contained
+        # within this Specifier or not.
+        operator_callable: CallableOperator = self._get_operator(self.operator)
+        return operator_callable(normalized_item, self.version)
+
+    def filter(
+        self, iterable: Iterable[UnparsedVersionVar], prereleases: bool | None = None
+    ) -> Iterator[UnparsedVersionVar]:
+        """Filter items in the given iterable, that match the specifier.
+
+        :param iterable:
+            An iterable that can contain version strings and :class:`Version` instances.
+            The items in the iterable will be filtered according to the specifier.
+        :param prereleases:
+            Whether or not to allow prereleases in the returned iterator. If set to
+            ``None`` (the default), it will be intelligently decide whether to allow
+            prereleases or not (based on the :attr:`prereleases` attribute, and
+            whether the only versions matching are prereleases).
+
+        This method is smarter than just ``filter(Specifier().contains, [...])``
+        because it implements the rule from :pep:`440` that a prerelease item
+        SHOULD be accepted if no other versions match the given specifier.
+
+        >>> list(Specifier(">=1.2.3").filter(["1.2", "1.3", "1.5a1"]))
+        ['1.3']
+        >>> list(Specifier(">=1.2.3").filter(["1.2", "1.2.3", "1.3", Version("1.4")]))
+        ['1.2.3', '1.3', ]
+        >>> list(Specifier(">=1.2.3").filter(["1.2", "1.5a1"]))
+        ['1.5a1']
+        >>> list(Specifier(">=1.2.3").filter(["1.3", "1.5a1"], prereleases=True))
+        ['1.3', '1.5a1']
+        >>> list(Specifier(">=1.2.3", prereleases=True).filter(["1.3", "1.5a1"]))
+        ['1.3', '1.5a1']
+        """
+
+        yielded = False
+        found_prereleases = []
+
+        kw = {"prereleases": prereleases if prereleases is not None else True}
+
+        # Attempt to iterate over all the values in the iterable and if any of
+        # them match, yield them.
+        for version in iterable:
+            parsed_version = _coerce_version(version)
+
+            if self.contains(parsed_version, **kw):
+                # If our version is a prerelease, and we were not set to allow
+                # prereleases, then we'll store it for later in case nothing
+                # else matches this specifier.
+                if parsed_version.is_prerelease and not (
+                    prereleases or self.prereleases
+                ):
+                    found_prereleases.append(version)
+                # Either this is not a prerelease, or we should have been
+                # accepting prereleases from the beginning.
+                else:
+                    yielded = True
+                    yield version
+
+        # Now that we've iterated over everything, determine if we've yielded
+        # any values, and if we have not and we have any prereleases stored up
+        # then we will go ahead and yield the prereleases.
+        if not yielded and found_prereleases:
+            for version in found_prereleases:
+                yield version
 
 
 _prefix_regex = re.compile(r"^([0-9]+)((?:a|b|c|rc)[0-9]+)$")
 
 
-def _version_split(version: str) -> List[str]:
-    result: List[str] = []
-    for item in version.split("."):
+def _version_split(version: str) -> list[str]:
+    """Split version into components.
+
+    The split components are intended for version comparison. The logic does
+    not attempt to retain the original version string, so joining the
+    components back with :func:`_version_join` may not produce the original
+    version string.
+    """
+    result: list[str] = []
+
+    epoch, _, rest = version.rpartition("!")
+    result.append(epoch or "0")
+
+    for item in rest.split("."):
         match = _prefix_regex.search(item)
         if match:
             result.extend(match.groups())
@@ -593,13 +649,24 @@ def _version_split(version: str) -> List[str]:
     return result
 
 
+def _version_join(components: list[str]) -> str:
+    """Join split version components into a version string.
+
+    This function assumes the input came from :func:`_version_split`, where the
+    first component must be the epoch (either empty or numeric), and all other
+    components numeric.
+    """
+    epoch, *rest = components
+    return f"{epoch}!{'.'.join(rest)}"
+
+
 def _is_not_suffix(segment: str) -> bool:
     return not any(
         segment.startswith(prefix) for prefix in ("dev", "a", "b", "rc", "post")
     )
 
 
-def _pad_version(left: List[str], right: List[str]) -> Tuple[List[str], List[str]]:
+def _pad_version(left: list[str], right: list[str]) -> tuple[list[str], list[str]]:
     left_split, right_split = [], []
 
     # Get the release segment of our versions
@@ -614,89 +681,59 @@ def _pad_version(left: List[str], right: List[str]) -> Tuple[List[str], List[str
     left_split.insert(1, ["0"] * max(0, len(right_split[0]) - len(left_split[0])))
     right_split.insert(1, ["0"] * max(0, len(left_split[0]) - len(right_split[0])))
 
-    return (list(itertools.chain(*left_split)), list(itertools.chain(*right_split)))
+    return (
+        list(itertools.chain.from_iterable(left_split)),
+        list(itertools.chain.from_iterable(right_split)),
+    )
 
 
 class SpecifierSet(BaseSpecifier):
+    """This class abstracts handling of a set of version specifiers.
+
+    It can be passed a single specifier (``>=3.0``), a comma-separated list of
+    specifiers (``>=3.0,!=3.1``), or no specifier at all.
+    """
+
     def __init__(
-        self, specifiers: str = "", prereleases: Optional[bool] = None
+        self,
+        specifiers: str | Iterable[Specifier] = "",
+        prereleases: bool | None = None,
     ) -> None:
+        """Initialize a SpecifierSet instance.
 
-        # Split on , to break each individual specifier into it's own item, and
-        # strip each item to remove leading/trailing whitespace.
-        split_specifiers = [s.strip() for s in specifiers.split(",") if s.strip()]
+        :param specifiers:
+            The string representation of a specifier or a comma-separated list of
+            specifiers which will be parsed and normalized before use.
+            May also be an iterable of ``Specifier`` instances, which will be used
+            as is.
+        :param prereleases:
+            This tells the SpecifierSet if it should accept prerelease versions if
+            applicable or not. The default of ``None`` will autodetect it from the
+            given specifiers.
 
-        # Parsed each individual specifier, attempting first to make it a
-        # Specifier and falling back to a LegacySpecifier.
-        parsed: Set[_IndividualSpecifier] = set()
-        for specifier in split_specifiers:
-            try:
-                parsed.add(Specifier(specifier))
-            except InvalidSpecifier:
-                parsed.add(LegacySpecifier(specifier))
+        :raises InvalidSpecifier:
+            If the given ``specifiers`` are not parseable than this exception will be
+            raised.
+        """
 
-        # Turn our parsed specifiers into a frozen set and save them for later.
-        self._specs = frozenset(parsed)
+        if isinstance(specifiers, str):
+            # Split on `,` to break each individual specifier into its own item, and
+            # strip each item to remove leading/trailing whitespace.
+            split_specifiers = [s.strip() for s in specifiers.split(",") if s.strip()]
+
+            # Make each individual specifier a Specifier and save in a frozen set
+            # for later.
+            self._specs = frozenset(map(Specifier, split_specifiers))
+        else:
+            # Save the supplied specifiers in a frozen set.
+            self._specs = frozenset(specifiers)
 
         # Store our prereleases value so we can use it later to determine if
         # we accept prereleases or not.
         self._prereleases = prereleases
 
-    def __repr__(self) -> str:
-        pre = (
-            f", prereleases={self.prereleases!r}"
-            if self._prereleases is not None
-            else ""
-        )
-
-        return f""
-
-    def __str__(self) -> str:
-        return ",".join(sorted(str(s) for s in self._specs))
-
-    def __hash__(self) -> int:
-        return hash(self._specs)
-
-    def __and__(self, other: Union["SpecifierSet", str]) -> "SpecifierSet":
-        if isinstance(other, str):
-            other = SpecifierSet(other)
-        elif not isinstance(other, SpecifierSet):
-            return NotImplemented
-
-        specifier = SpecifierSet()
-        specifier._specs = frozenset(self._specs | other._specs)
-
-        if self._prereleases is None and other._prereleases is not None:
-            specifier._prereleases = other._prereleases
-        elif self._prereleases is not None and other._prereleases is None:
-            specifier._prereleases = self._prereleases
-        elif self._prereleases == other._prereleases:
-            specifier._prereleases = self._prereleases
-        else:
-            raise ValueError(
-                "Cannot combine SpecifierSets with True and False prerelease "
-                "overrides."
-            )
-
-        return specifier
-
-    def __eq__(self, other: object) -> bool:
-        if isinstance(other, (str, _IndividualSpecifier)):
-            other = SpecifierSet(str(other))
-        elif not isinstance(other, SpecifierSet):
-            return NotImplemented
-
-        return self._specs == other._specs
-
-    def __len__(self) -> int:
-        return len(self._specs)
-
-    def __iter__(self) -> Iterator[_IndividualSpecifier]:
-        return iter(self._specs)
-
     @property
-    def prereleases(self) -> Optional[bool]:
-
+    def prereleases(self) -> bool | None:
         # If we have been given an explicit prerelease modifier, then we'll
         # pass that through here.
         if self._prereleases is not None:
@@ -716,16 +753,167 @@ class SpecifierSet(BaseSpecifier):
     def prereleases(self, value: bool) -> None:
         self._prereleases = value
 
+    def __repr__(self) -> str:
+        """A representation of the specifier set that shows all internal state.
+
+        Note that the ordering of the individual specifiers within the set may not
+        match the input string.
+
+        >>> SpecifierSet('>=1.0.0,!=2.0.0')
+        =1.0.0')>
+        >>> SpecifierSet('>=1.0.0,!=2.0.0', prereleases=False)
+        =1.0.0', prereleases=False)>
+        >>> SpecifierSet('>=1.0.0,!=2.0.0', prereleases=True)
+        =1.0.0', prereleases=True)>
+        """
+        pre = (
+            f", prereleases={self.prereleases!r}"
+            if self._prereleases is not None
+            else ""
+        )
+
+        return f""
+
+    def __str__(self) -> str:
+        """A string representation of the specifier set that can be round-tripped.
+
+        Note that the ordering of the individual specifiers within the set may not
+        match the input string.
+
+        >>> str(SpecifierSet(">=1.0.0,!=1.0.1"))
+        '!=1.0.1,>=1.0.0'
+        >>> str(SpecifierSet(">=1.0.0,!=1.0.1", prereleases=False))
+        '!=1.0.1,>=1.0.0'
+        """
+        return ",".join(sorted(str(s) for s in self._specs))
+
+    def __hash__(self) -> int:
+        return hash(self._specs)
+
+    def __and__(self, other: SpecifierSet | str) -> SpecifierSet:
+        """Return a SpecifierSet which is a combination of the two sets.
+
+        :param other: The other object to combine with.
+
+        >>> SpecifierSet(">=1.0.0,!=1.0.1") & '<=2.0.0,!=2.0.1'
+        =1.0.0')>
+        >>> SpecifierSet(">=1.0.0,!=1.0.1") & SpecifierSet('<=2.0.0,!=2.0.1')
+        =1.0.0')>
+        """
+        if isinstance(other, str):
+            other = SpecifierSet(other)
+        elif not isinstance(other, SpecifierSet):
+            return NotImplemented
+
+        specifier = SpecifierSet()
+        specifier._specs = frozenset(self._specs | other._specs)
+
+        if self._prereleases is None and other._prereleases is not None:
+            specifier._prereleases = other._prereleases
+        elif self._prereleases is not None and other._prereleases is None:
+            specifier._prereleases = self._prereleases
+        elif self._prereleases == other._prereleases:
+            specifier._prereleases = self._prereleases
+        else:
+            raise ValueError(
+                "Cannot combine SpecifierSets with True and False prerelease overrides."
+            )
+
+        return specifier
+
+    def __eq__(self, other: object) -> bool:
+        """Whether or not the two SpecifierSet-like objects are equal.
+
+        :param other: The other object to check against.
+
+        The value of :attr:`prereleases` is ignored.
+
+        >>> SpecifierSet(">=1.0.0,!=1.0.1") == SpecifierSet(">=1.0.0,!=1.0.1")
+        True
+        >>> (SpecifierSet(">=1.0.0,!=1.0.1", prereleases=False) ==
+        ...  SpecifierSet(">=1.0.0,!=1.0.1", prereleases=True))
+        True
+        >>> SpecifierSet(">=1.0.0,!=1.0.1") == ">=1.0.0,!=1.0.1"
+        True
+        >>> SpecifierSet(">=1.0.0,!=1.0.1") == SpecifierSet(">=1.0.0")
+        False
+        >>> SpecifierSet(">=1.0.0,!=1.0.1") == SpecifierSet(">=1.0.0,!=1.0.2")
+        False
+        """
+        if isinstance(other, (str, Specifier)):
+            other = SpecifierSet(str(other))
+        elif not isinstance(other, SpecifierSet):
+            return NotImplemented
+
+        return self._specs == other._specs
+
+    def __len__(self) -> int:
+        """Returns the number of specifiers in this specifier set."""
+        return len(self._specs)
+
+    def __iter__(self) -> Iterator[Specifier]:
+        """
+        Returns an iterator over all the underlying :class:`Specifier` instances
+        in this specifier set.
+
+        >>> sorted(SpecifierSet(">=1.0.0,!=1.0.1"), key=str)
+        [, =1.0.0')>]
+        """
+        return iter(self._specs)
+
     def __contains__(self, item: UnparsedVersion) -> bool:
+        """Return whether or not the item is contained in this specifier.
+
+        :param item: The item to check for.
+
+        This is used for the ``in`` operator and behaves the same as
+        :meth:`contains` with no ``prereleases`` argument passed.
+
+        >>> "1.2.3" in SpecifierSet(">=1.0.0,!=1.0.1")
+        True
+        >>> Version("1.2.3") in SpecifierSet(">=1.0.0,!=1.0.1")
+        True
+        >>> "1.0.1" in SpecifierSet(">=1.0.0,!=1.0.1")
+        False
+        >>> "1.3.0a1" in SpecifierSet(">=1.0.0,!=1.0.1")
+        False
+        >>> "1.3.0a1" in SpecifierSet(">=1.0.0,!=1.0.1", prereleases=True)
+        True
+        """
         return self.contains(item)
 
     def contains(
-        self, item: UnparsedVersion, prereleases: Optional[bool] = None
+        self,
+        item: UnparsedVersion,
+        prereleases: bool | None = None,
+        installed: bool | None = None,
     ) -> bool:
+        """Return whether or not the item is contained in this SpecifierSet.
 
-        # Ensure that our item is a Version or LegacyVersion instance.
-        if not isinstance(item, (LegacyVersion, Version)):
-            item = parse(item)
+        :param item:
+            The item to check for, which can be a version string or a
+            :class:`Version` instance.
+        :param prereleases:
+            Whether or not to match prereleases with this SpecifierSet. If set to
+            ``None`` (the default), it uses :attr:`prereleases` to determine
+            whether or not prereleases are allowed.
+
+        >>> SpecifierSet(">=1.0.0,!=1.0.1").contains("1.2.3")
+        True
+        >>> SpecifierSet(">=1.0.0,!=1.0.1").contains(Version("1.2.3"))
+        True
+        >>> SpecifierSet(">=1.0.0,!=1.0.1").contains("1.0.1")
+        False
+        >>> SpecifierSet(">=1.0.0,!=1.0.1").contains("1.3.0a1")
+        False
+        >>> SpecifierSet(">=1.0.0,!=1.0.1", prereleases=True).contains("1.3.0a1")
+        True
+        >>> SpecifierSet(">=1.0.0,!=1.0.1").contains("1.3.0a1", prereleases=True)
+        True
+        """
+        # Ensure that our item is a Version instance.
+        if not isinstance(item, Version):
+            item = Version(item)
 
         # Determine if we're forcing a prerelease or not, if we're not forcing
         # one for this particular filter call, then we'll use whatever the
@@ -742,6 +930,9 @@ class SpecifierSet(BaseSpecifier):
         if not prereleases and item.is_prerelease:
             return False
 
+        if installed and item.is_prerelease:
+            item = Version(item.base_version)
+
         # We simply dispatch to the underlying specs here to make sure that the
         # given version is contained within all of them.
         # Note: This use of all() here means that an empty set of specifiers
@@ -749,9 +940,46 @@ class SpecifierSet(BaseSpecifier):
         return all(s.contains(item, prereleases=prereleases) for s in self._specs)
 
     def filter(
-        self, iterable: Iterable[VersionTypeVar], prereleases: Optional[bool] = None
-    ) -> Iterable[VersionTypeVar]:
+        self, iterable: Iterable[UnparsedVersionVar], prereleases: bool | None = None
+    ) -> Iterator[UnparsedVersionVar]:
+        """Filter items in the given iterable, that match the specifiers in this set.
 
+        :param iterable:
+            An iterable that can contain version strings and :class:`Version` instances.
+            The items in the iterable will be filtered according to the specifier.
+        :param prereleases:
+            Whether or not to allow prereleases in the returned iterator. If set to
+            ``None`` (the default), it will be intelligently decide whether to allow
+            prereleases or not (based on the :attr:`prereleases` attribute, and
+            whether the only versions matching are prereleases).
+
+        This method is smarter than just ``filter(SpecifierSet(...).contains, [...])``
+        because it implements the rule from :pep:`440` that a prerelease item
+        SHOULD be accepted if no other versions match the given specifier.
+
+        >>> list(SpecifierSet(">=1.2.3").filter(["1.2", "1.3", "1.5a1"]))
+        ['1.3']
+        >>> list(SpecifierSet(">=1.2.3").filter(["1.2", "1.3", Version("1.4")]))
+        ['1.3', ]
+        >>> list(SpecifierSet(">=1.2.3").filter(["1.2", "1.5a1"]))
+        []
+        >>> list(SpecifierSet(">=1.2.3").filter(["1.3", "1.5a1"], prereleases=True))
+        ['1.3', '1.5a1']
+        >>> list(SpecifierSet(">=1.2.3", prereleases=True).filter(["1.3", "1.5a1"]))
+        ['1.3', '1.5a1']
+
+        An "empty" SpecifierSet will filter items based on the presence of prerelease
+        versions in the set.
+
+        >>> list(SpecifierSet("").filter(["1.3", "1.5a1"]))
+        ['1.3']
+        >>> list(SpecifierSet("").filter(["1.5a1"]))
+        ['1.5a1']
+        >>> list(SpecifierSet("", prereleases=True).filter(["1.3", "1.5a1"]))
+        ['1.3', '1.5a1']
+        >>> list(SpecifierSet("").filter(["1.3", "1.5a1"], prereleases=True))
+        ['1.3', '1.5a1']
+        """
         # Determine if we're forcing a prerelease or not, if we're not forcing
         # one for this particular filter call, then we'll use whatever the
         # SpecifierSet thinks for whether or not we should support prereleases.
@@ -764,27 +992,16 @@ class SpecifierSet(BaseSpecifier):
         if self._specs:
             for spec in self._specs:
                 iterable = spec.filter(iterable, prereleases=bool(prereleases))
-            return iterable
+            return iter(iterable)
         # If we do not have any specifiers, then we need to have a rough filter
         # which will filter out any pre-releases, unless there are no final
-        # releases, and which will filter out LegacyVersion in general.
+        # releases.
         else:
-            filtered: List[VersionTypeVar] = []
-            found_prereleases: List[VersionTypeVar] = []
-
-            item: UnparsedVersion
-            parsed_version: Union[Version, LegacyVersion]
+            filtered: list[UnparsedVersionVar] = []
+            found_prereleases: list[UnparsedVersionVar] = []
 
             for item in iterable:
-                # Ensure that we some kind of Version class for this item.
-                if not isinstance(item, (LegacyVersion, Version)):
-                    parsed_version = parse(item)
-                else:
-                    parsed_version = item
-
-                # Filter out any item which is parsed as a LegacyVersion
-                if isinstance(parsed_version, LegacyVersion):
-                    continue
+                parsed_version = _coerce_version(item)
 
                 # Store any item which is a pre-release for later unless we've
                 # already found a final version or we are accepting prereleases
@@ -797,6 +1014,6 @@ class SpecifierSet(BaseSpecifier):
             # If we've found no items except for pre-releases, then we'll go
             # ahead and use the pre-releases
             if not filtered and found_prereleases and prereleases is None:
-                return found_prereleases
+                return iter(found_prereleases)
 
-            return filtered
+            return iter(filtered)
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/tags.py b/.venv/Lib/site-packages/pip/_vendor/packaging/tags.py
index 9a3d25a..8522f59 100644
--- a/.venv/Lib/site-packages/pip/_vendor/packaging/tags.py
+++ b/.venv/Lib/site-packages/pip/_vendor/packaging/tags.py
@@ -2,21 +2,21 @@
 # 2.0, and the BSD License. See the LICENSE file in the root of this repository
 # for complete details.
 
+from __future__ import annotations
+
 import logging
 import platform
+import re
+import struct
+import subprocess
 import sys
 import sysconfig
 from importlib.machinery import EXTENSION_SUFFIXES
 from typing import (
-    Dict,
-    FrozenSet,
     Iterable,
     Iterator,
-    List,
-    Optional,
     Sequence,
     Tuple,
-    Union,
     cast,
 )
 
@@ -25,9 +25,9 @@ from . import _manylinux, _musllinux
 logger = logging.getLogger(__name__)
 
 PythonVersion = Sequence[int]
-MacVersion = Tuple[int, int]
+AppleVersion = Tuple[int, int]
 
-INTERPRETER_SHORT_NAMES: Dict[str, str] = {
+INTERPRETER_SHORT_NAMES: dict[str, str] = {
     "python": "py",  # Generic.
     "cpython": "cp",
     "pypy": "pp",
@@ -36,7 +36,7 @@ INTERPRETER_SHORT_NAMES: Dict[str, str] = {
 }
 
 
-_32_BIT_INTERPRETER = sys.maxsize <= 2 ** 32
+_32_BIT_INTERPRETER = struct.calcsize("P") == 4
 
 
 class Tag:
@@ -47,7 +47,7 @@ class Tag:
     is also supported.
     """
 
-    __slots__ = ["_interpreter", "_abi", "_platform", "_hash"]
+    __slots__ = ["_abi", "_hash", "_interpreter", "_platform"]
 
     def __init__(self, interpreter: str, abi: str, platform: str) -> None:
         self._interpreter = interpreter.lower()
@@ -93,7 +93,7 @@ class Tag:
         return f"<{self} @ {id(self)}>"
 
 
-def parse_tag(tag: str) -> FrozenSet[Tag]:
+def parse_tag(tag: str) -> frozenset[Tag]:
     """
     Parses the provided tag (e.g. `py3-none-any`) into a frozenset of Tag instances.
 
@@ -109,8 +109,8 @@ def parse_tag(tag: str) -> FrozenSet[Tag]:
     return frozenset(tags)
 
 
-def _get_config_var(name: str, warn: bool = False) -> Union[int, str, None]:
-    value = sysconfig.get_config_var(name)
+def _get_config_var(name: str, warn: bool = False) -> int | str | None:
+    value: int | str | None = sysconfig.get_config_var(name)
     if value is None and warn:
         logger.debug(
             "Config variable '%s' is unset, Python ABI tag may be incorrect", name
@@ -119,23 +119,40 @@ def _get_config_var(name: str, warn: bool = False) -> Union[int, str, None]:
 
 
 def _normalize_string(string: str) -> str:
-    return string.replace(".", "_").replace("-", "_")
+    return string.replace(".", "_").replace("-", "_").replace(" ", "_")
 
 
-def _abi3_applies(python_version: PythonVersion) -> bool:
+def _is_threaded_cpython(abis: list[str]) -> bool:
+    """
+    Determine if the ABI corresponds to a threaded (`--disable-gil`) build.
+
+    The threaded builds are indicated by a "t" in the abiflags.
+    """
+    if len(abis) == 0:
+        return False
+    # expect e.g., cp313
+    m = re.match(r"cp\d+(.*)", abis[0])
+    if not m:
+        return False
+    abiflags = m.group(1)
+    return "t" in abiflags
+
+
+def _abi3_applies(python_version: PythonVersion, threading: bool) -> bool:
     """
     Determine if the Python version supports abi3.
 
-    PEP 384 was first implemented in Python 3.2.
+    PEP 384 was first implemented in Python 3.2. The threaded (`--disable-gil`)
+    builds do not support abi3.
     """
-    return len(python_version) > 1 and tuple(python_version) >= (3, 2)
+    return len(python_version) > 1 and tuple(python_version) >= (3, 2) and not threading
 
 
-def _cpython_abis(py_version: PythonVersion, warn: bool = False) -> List[str]:
+def _cpython_abis(py_version: PythonVersion, warn: bool = False) -> list[str]:
     py_version = tuple(py_version)  # To allow for version comparison.
     abis = []
     version = _version_nodot(py_version[:2])
-    debug = pymalloc = ucs4 = ""
+    threading = debug = pymalloc = ucs4 = ""
     with_debug = _get_config_var("Py_DEBUG", warn)
     has_refcount = hasattr(sys, "gettotalrefcount")
     # Windows doesn't set Py_DEBUG, so checking for support of debug-compiled
@@ -144,6 +161,8 @@ def _cpython_abis(py_version: PythonVersion, warn: bool = False) -> List[str]:
     has_ext = "_d.pyd" in EXTENSION_SUFFIXES
     if with_debug or (with_debug is None and (has_refcount or has_ext)):
         debug = "d"
+    if py_version >= (3, 13) and _get_config_var("Py_GIL_DISABLED", warn):
+        threading = "t"
     if py_version < (3, 8):
         with_pymalloc = _get_config_var("WITH_PYMALLOC", warn)
         if with_pymalloc or with_pymalloc is None:
@@ -157,20 +176,15 @@ def _cpython_abis(py_version: PythonVersion, warn: bool = False) -> List[str]:
     elif debug:
         # Debug builds can also load "normal" extension modules.
         # We can also assume no UCS-4 or pymalloc requirement.
-        abis.append(f"cp{version}")
-    abis.insert(
-        0,
-        "cp{version}{debug}{pymalloc}{ucs4}".format(
-            version=version, debug=debug, pymalloc=pymalloc, ucs4=ucs4
-        ),
-    )
+        abis.append(f"cp{version}{threading}")
+    abis.insert(0, f"cp{version}{threading}{debug}{pymalloc}{ucs4}")
     return abis
 
 
 def cpython_tags(
-    python_version: Optional[PythonVersion] = None,
-    abis: Optional[Iterable[str]] = None,
-    platforms: Optional[Iterable[str]] = None,
+    python_version: PythonVersion | None = None,
+    abis: Iterable[str] | None = None,
+    platforms: Iterable[str] | None = None,
     *,
     warn: bool = False,
 ) -> Iterator[Tag]:
@@ -211,29 +225,66 @@ def cpython_tags(
     for abi in abis:
         for platform_ in platforms:
             yield Tag(interpreter, abi, platform_)
-    if _abi3_applies(python_version):
+
+    threading = _is_threaded_cpython(abis)
+    use_abi3 = _abi3_applies(python_version, threading)
+    if use_abi3:
         yield from (Tag(interpreter, "abi3", platform_) for platform_ in platforms)
     yield from (Tag(interpreter, "none", platform_) for platform_ in platforms)
 
-    if _abi3_applies(python_version):
+    if use_abi3:
         for minor_version in range(python_version[1] - 1, 1, -1):
             for platform_ in platforms:
-                interpreter = "cp{version}".format(
-                    version=_version_nodot((python_version[0], minor_version))
-                )
+                version = _version_nodot((python_version[0], minor_version))
+                interpreter = f"cp{version}"
                 yield Tag(interpreter, "abi3", platform_)
 
 
-def _generic_abi() -> Iterator[str]:
-    abi = sysconfig.get_config_var("SOABI")
-    if abi:
-        yield _normalize_string(abi)
+def _generic_abi() -> list[str]:
+    """
+    Return the ABI tag based on EXT_SUFFIX.
+    """
+    # The following are examples of `EXT_SUFFIX`.
+    # We want to keep the parts which are related to the ABI and remove the
+    # parts which are related to the platform:
+    # - linux:   '.cpython-310-x86_64-linux-gnu.so' => cp310
+    # - mac:     '.cpython-310-darwin.so'           => cp310
+    # - win:     '.cp310-win_amd64.pyd'             => cp310
+    # - win:     '.pyd'                             => cp37 (uses _cpython_abis())
+    # - pypy:    '.pypy38-pp73-x86_64-linux-gnu.so' => pypy38_pp73
+    # - graalpy: '.graalpy-38-native-x86_64-darwin.dylib'
+    #                                               => graalpy_38_native
+
+    ext_suffix = _get_config_var("EXT_SUFFIX", warn=True)
+    if not isinstance(ext_suffix, str) or ext_suffix[0] != ".":
+        raise SystemError("invalid sysconfig.get_config_var('EXT_SUFFIX')")
+    parts = ext_suffix.split(".")
+    if len(parts) < 3:
+        # CPython3.7 and earlier uses ".pyd" on Windows.
+        return _cpython_abis(sys.version_info[:2])
+    soabi = parts[1]
+    if soabi.startswith("cpython"):
+        # non-windows
+        abi = "cp" + soabi.split("-")[1]
+    elif soabi.startswith("cp"):
+        # windows
+        abi = soabi.split("-")[0]
+    elif soabi.startswith("pypy"):
+        abi = "-".join(soabi.split("-")[:2])
+    elif soabi.startswith("graalpy"):
+        abi = "-".join(soabi.split("-")[:3])
+    elif soabi:
+        # pyston, ironpython, others?
+        abi = soabi
+    else:
+        return []
+    return [_normalize_string(abi)]
 
 
 def generic_tags(
-    interpreter: Optional[str] = None,
-    abis: Optional[Iterable[str]] = None,
-    platforms: Optional[Iterable[str]] = None,
+    interpreter: str | None = None,
+    abis: Iterable[str] | None = None,
+    platforms: Iterable[str] | None = None,
     *,
     warn: bool = False,
 ) -> Iterator[Tag]:
@@ -251,8 +302,9 @@ def generic_tags(
         interpreter = "".join([interp_name, interp_version])
     if abis is None:
         abis = _generic_abi()
+    else:
+        abis = list(abis)
     platforms = list(platforms or platform_tags())
-    abis = list(abis)
     if "none" not in abis:
         abis.append("none")
     for abi in abis:
@@ -276,9 +328,9 @@ def _py_interpreter_range(py_version: PythonVersion) -> Iterator[str]:
 
 
 def compatible_tags(
-    python_version: Optional[PythonVersion] = None,
-    interpreter: Optional[str] = None,
-    platforms: Optional[Iterable[str]] = None,
+    python_version: PythonVersion | None = None,
+    interpreter: str | None = None,
+    platforms: Iterable[str] | None = None,
 ) -> Iterator[Tag]:
     """
     Yields the sequence of tags that are compatible with a specific version of Python.
@@ -310,7 +362,7 @@ def _mac_arch(arch: str, is_32bit: bool = _32_BIT_INTERPRETER) -> str:
     return "i386"
 
 
-def _mac_binary_formats(version: MacVersion, cpu_arch: str) -> List[str]:
+def _mac_binary_formats(version: AppleVersion, cpu_arch: str) -> list[str]:
     formats = [cpu_arch]
     if cpu_arch == "x86_64":
         if version < (10, 4):
@@ -343,7 +395,7 @@ def _mac_binary_formats(version: MacVersion, cpu_arch: str) -> List[str]:
 
 
 def mac_platforms(
-    version: Optional[MacVersion] = None, arch: Optional[str] = None
+    version: AppleVersion | None = None, arch: str | None = None
 ) -> Iterator[str]:
     """
     Yields the platform tags for a macOS system.
@@ -355,7 +407,23 @@ def mac_platforms(
     """
     version_str, _, cpu_arch = platform.mac_ver()
     if version is None:
-        version = cast("MacVersion", tuple(map(int, version_str.split(".")[:2])))
+        version = cast("AppleVersion", tuple(map(int, version_str.split(".")[:2])))
+        if version == (10, 16):
+            # When built against an older macOS SDK, Python will report macOS 10.16
+            # instead of the real version.
+            version_str = subprocess.run(
+                [
+                    sys.executable,
+                    "-sS",
+                    "-c",
+                    "import platform; print(platform.mac_ver()[0])",
+                ],
+                check=True,
+                env={"SYSTEM_VERSION_COMPAT": "0"},
+                stdout=subprocess.PIPE,
+                text=True,
+            ).stdout
+            version = cast("AppleVersion", tuple(map(int, version_str.split(".")[:2])))
     else:
         version = version
     if arch is None:
@@ -366,24 +434,22 @@ def mac_platforms(
     if (10, 0) <= version and version < (11, 0):
         # Prior to Mac OS 11, each yearly release of Mac OS bumped the
         # "minor" version number.  The major version was always 10.
+        major_version = 10
         for minor_version in range(version[1], -1, -1):
-            compat_version = 10, minor_version
+            compat_version = major_version, minor_version
             binary_formats = _mac_binary_formats(compat_version, arch)
             for binary_format in binary_formats:
-                yield "macosx_{major}_{minor}_{binary_format}".format(
-                    major=10, minor=minor_version, binary_format=binary_format
-                )
+                yield f"macosx_{major_version}_{minor_version}_{binary_format}"
 
     if version >= (11, 0):
         # Starting with Mac OS 11, each yearly release bumps the major version
         # number.   The minor versions are now the midyear updates.
+        minor_version = 0
         for major_version in range(version[0], 10, -1):
-            compat_version = major_version, 0
+            compat_version = major_version, minor_version
             binary_formats = _mac_binary_formats(compat_version, arch)
             for binary_format in binary_formats:
-                yield "macosx_{major}_{minor}_{binary_format}".format(
-                    major=major_version, minor=0, binary_format=binary_format
-                )
+                yield f"macosx_{major_version}_{minor_version}_{binary_format}"
 
     if version >= (11, 0):
         # Mac OS 11 on x86_64 is compatible with binaries from previous releases.
@@ -393,38 +459,131 @@ def mac_platforms(
         # However, the "universal2" binary format can have a
         # macOS version earlier than 11.0 when the x86_64 part of the binary supports
         # that version of macOS.
+        major_version = 10
         if arch == "x86_64":
             for minor_version in range(16, 3, -1):
-                compat_version = 10, minor_version
+                compat_version = major_version, minor_version
                 binary_formats = _mac_binary_formats(compat_version, arch)
                 for binary_format in binary_formats:
-                    yield "macosx_{major}_{minor}_{binary_format}".format(
-                        major=compat_version[0],
-                        minor=compat_version[1],
-                        binary_format=binary_format,
-                    )
+                    yield f"macosx_{major_version}_{minor_version}_{binary_format}"
         else:
             for minor_version in range(16, 3, -1):
-                compat_version = 10, minor_version
+                compat_version = major_version, minor_version
                 binary_format = "universal2"
-                yield "macosx_{major}_{minor}_{binary_format}".format(
-                    major=compat_version[0],
-                    minor=compat_version[1],
-                    binary_format=binary_format,
-                )
+                yield f"macosx_{major_version}_{minor_version}_{binary_format}"
+
+
+def ios_platforms(
+    version: AppleVersion | None = None, multiarch: str | None = None
+) -> Iterator[str]:
+    """
+    Yields the platform tags for an iOS system.
+
+    :param version: A two-item tuple specifying the iOS version to generate
+        platform tags for. Defaults to the current iOS version.
+    :param multiarch: The CPU architecture+ABI to generate platform tags for -
+        (the value used by `sys.implementation._multiarch` e.g.,
+        `arm64_iphoneos` or `x84_64_iphonesimulator`). Defaults to the current
+        multiarch value.
+    """
+    if version is None:
+        # if iOS is the current platform, ios_ver *must* be defined. However,
+        # it won't exist for CPython versions before 3.13, which causes a mypy
+        # error.
+        _, release, _, _ = platform.ios_ver()  # type: ignore[attr-defined, unused-ignore]
+        version = cast("AppleVersion", tuple(map(int, release.split(".")[:2])))
+
+    if multiarch is None:
+        multiarch = sys.implementation._multiarch
+    multiarch = multiarch.replace("-", "_")
+
+    ios_platform_template = "ios_{major}_{minor}_{multiarch}"
+
+    # Consider any iOS major.minor version from the version requested, down to
+    # 12.0. 12.0 is the first iOS version that is known to have enough features
+    # to support CPython. Consider every possible minor release up to X.9. There
+    # highest the minor has ever gone is 8 (14.8 and 15.8) but having some extra
+    # candidates that won't ever match doesn't really hurt, and it saves us from
+    # having to keep an explicit list of known iOS versions in the code. Return
+    # the results descending order of version number.
+
+    # If the requested major version is less than 12, there won't be any matches.
+    if version[0] < 12:
+        return
+
+    # Consider the actual X.Y version that was requested.
+    yield ios_platform_template.format(
+        major=version[0], minor=version[1], multiarch=multiarch
+    )
+
+    # Consider every minor version from X.0 to the minor version prior to the
+    # version requested by the platform.
+    for minor in range(version[1] - 1, -1, -1):
+        yield ios_platform_template.format(
+            major=version[0], minor=minor, multiarch=multiarch
+        )
+
+    for major in range(version[0] - 1, 11, -1):
+        for minor in range(9, -1, -1):
+            yield ios_platform_template.format(
+                major=major, minor=minor, multiarch=multiarch
+            )
+
+
+def android_platforms(
+    api_level: int | None = None, abi: str | None = None
+) -> Iterator[str]:
+    """
+    Yields the :attr:`~Tag.platform` tags for Android. If this function is invoked on
+    non-Android platforms, the ``api_level`` and ``abi`` arguments are required.
+
+    :param int api_level: The maximum `API level
+        `__ to return. Defaults
+        to the current system's version, as returned by ``platform.android_ver``.
+    :param str abi: The `Android ABI `__,
+        e.g. ``arm64_v8a``. Defaults to the current system's ABI , as returned by
+        ``sysconfig.get_platform``. Hyphens and periods will be replaced with
+        underscores.
+    """
+    if platform.system() != "Android" and (api_level is None or abi is None):
+        raise TypeError(
+            "on non-Android platforms, the api_level and abi arguments are required"
+        )
+
+    if api_level is None:
+        # Python 3.13 was the first version to return platform.system() == "Android",
+        # and also the first version to define platform.android_ver().
+        api_level = platform.android_ver().api_level  # type: ignore[attr-defined]
+
+    if abi is None:
+        abi = sysconfig.get_platform().split("-")[-1]
+    abi = _normalize_string(abi)
+
+    # 16 is the minimum API level known to have enough features to support CPython
+    # without major patching. Yield every API level from the maximum down to the
+    # minimum, inclusive.
+    min_api_level = 16
+    for ver in range(api_level, min_api_level - 1, -1):
+        yield f"android_{ver}_{abi}"
 
 
 def _linux_platforms(is_32bit: bool = _32_BIT_INTERPRETER) -> Iterator[str]:
     linux = _normalize_string(sysconfig.get_platform())
+    if not linux.startswith("linux_"):
+        # we should never be here, just yield the sysconfig one and return
+        yield linux
+        return
     if is_32bit:
         if linux == "linux_x86_64":
             linux = "linux_i686"
         elif linux == "linux_aarch64":
-            linux = "linux_armv7l"
+            linux = "linux_armv8l"
     _, arch = linux.split("_", 1)
-    yield from _manylinux.platform_tags(linux, arch)
-    yield from _musllinux.platform_tags(arch)
-    yield linux
+    archs = {"armv8l": ["armv8l", "armv7l"]}.get(arch, [arch])
+    yield from _manylinux.platform_tags(archs)
+    yield from _musllinux.platform_tags(archs)
+    for arch in archs:
+        yield f"linux_{arch}"
 
 
 def _generic_platforms() -> Iterator[str]:
@@ -437,6 +596,10 @@ def platform_tags() -> Iterator[str]:
     """
     if platform.system() == "Darwin":
         return mac_platforms()
+    elif platform.system() == "iOS":
+        return ios_platforms()
+    elif platform.system() == "Android":
+        return android_platforms()
     elif platform.system() == "Linux":
         return _linux_platforms()
     else:
@@ -446,6 +609,9 @@ def platform_tags() -> Iterator[str]:
 def interpreter_name() -> str:
     """
     Returns the name of the running interpreter.
+
+    Some implementations have a reserved, two-letter abbreviation which will
+    be returned when appropriate.
     """
     name = sys.implementation.name
     return INTERPRETER_SHORT_NAMES.get(name) or name
@@ -482,6 +648,9 @@ def sys_tags(*, warn: bool = False) -> Iterator[Tag]:
         yield from generic_tags()
 
     if interp_name == "pp":
-        yield from compatible_tags(interpreter="pp3")
+        interp = "pp3"
+    elif interp_name == "cp":
+        interp = "cp" + interpreter_version(warn=warn)
     else:
-        yield from compatible_tags()
+        interp = None
+    yield from compatible_tags(interpreter=interp)
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/utils.py b/.venv/Lib/site-packages/pip/_vendor/packaging/utils.py
index bab11b8..2345095 100644
--- a/.venv/Lib/site-packages/pip/_vendor/packaging/utils.py
+++ b/.venv/Lib/site-packages/pip/_vendor/packaging/utils.py
@@ -2,16 +2,25 @@
 # 2.0, and the BSD License. See the LICENSE file in the root of this repository
 # for complete details.
 
+from __future__ import annotations
+
+import functools
 import re
-from typing import FrozenSet, NewType, Tuple, Union, cast
+from typing import NewType, Tuple, Union, cast
 
 from .tags import Tag, parse_tag
-from .version import InvalidVersion, Version
+from .version import InvalidVersion, Version, _TrimmedRelease
 
 BuildTag = Union[Tuple[()], Tuple[int, str]]
 NormalizedName = NewType("NormalizedName", str)
 
 
+class InvalidName(ValueError):
+    """
+    An invalid distribution name; users should refer to the packaging user guide.
+    """
+
+
 class InvalidWheelFilename(ValueError):
     """
     An invalid wheel filename was found, users should refer to PEP 427.
@@ -24,88 +33,99 @@ class InvalidSdistFilename(ValueError):
     """
 
 
+# Core metadata spec for `Name`
+_validate_regex = re.compile(
+    r"^([A-Z0-9]|[A-Z0-9][A-Z0-9._-]*[A-Z0-9])$", re.IGNORECASE
+)
 _canonicalize_regex = re.compile(r"[-_.]+")
+_normalized_regex = re.compile(r"^([a-z0-9]|[a-z0-9]([a-z0-9-](?!--))*[a-z0-9])$")
 # PEP 427: The build number must start with a digit.
 _build_tag_regex = re.compile(r"(\d+)(.*)")
 
 
-def canonicalize_name(name: str) -> NormalizedName:
+def canonicalize_name(name: str, *, validate: bool = False) -> NormalizedName:
+    if validate and not _validate_regex.match(name):
+        raise InvalidName(f"name is invalid: {name!r}")
     # This is taken from PEP 503.
     value = _canonicalize_regex.sub("-", name).lower()
     return cast(NormalizedName, value)
 
 
-def canonicalize_version(version: Union[Version, str]) -> str:
+def is_normalized_name(name: str) -> bool:
+    return _normalized_regex.match(name) is not None
+
+
+@functools.singledispatch
+def canonicalize_version(
+    version: Version | str, *, strip_trailing_zero: bool = True
+) -> str:
     """
-    This is very similar to Version.__str__, but has one subtle difference
-    with the way it handles the release segment.
+    Return a canonical form of a version as a string.
+
+    >>> canonicalize_version('1.0.1')
+    '1.0.1'
+
+    Per PEP 625, versions may have multiple canonical forms, differing
+    only by trailing zeros.
+
+    >>> canonicalize_version('1.0.0')
+    '1'
+    >>> canonicalize_version('1.0.0', strip_trailing_zero=False)
+    '1.0.0'
+
+    Invalid versions are returned unaltered.
+
+    >>> canonicalize_version('foo bar baz')
+    'foo bar baz'
     """
-    if isinstance(version, str):
-        try:
-            parsed = Version(version)
-        except InvalidVersion:
-            # Legacy versions cannot be normalized
-            return version
-    else:
-        parsed = version
+    return str(_TrimmedRelease(str(version)) if strip_trailing_zero else version)
 
-    parts = []
 
-    # Epoch
-    if parsed.epoch != 0:
-        parts.append(f"{parsed.epoch}!")
-
-    # Release segment
-    # NB: This strips trailing '.0's to normalize
-    parts.append(re.sub(r"(\.0)+$", "", ".".join(str(x) for x in parsed.release)))
-
-    # Pre-release
-    if parsed.pre is not None:
-        parts.append("".join(str(x) for x in parsed.pre))
-
-    # Post-release
-    if parsed.post is not None:
-        parts.append(f".post{parsed.post}")
-
-    # Development release
-    if parsed.dev is not None:
-        parts.append(f".dev{parsed.dev}")
-
-    # Local version segment
-    if parsed.local is not None:
-        parts.append(f"+{parsed.local}")
-
-    return "".join(parts)
+@canonicalize_version.register
+def _(version: str, *, strip_trailing_zero: bool = True) -> str:
+    try:
+        parsed = Version(version)
+    except InvalidVersion:
+        # Legacy versions cannot be normalized
+        return version
+    return canonicalize_version(parsed, strip_trailing_zero=strip_trailing_zero)
 
 
 def parse_wheel_filename(
     filename: str,
-) -> Tuple[NormalizedName, Version, BuildTag, FrozenSet[Tag]]:
+) -> tuple[NormalizedName, Version, BuildTag, frozenset[Tag]]:
     if not filename.endswith(".whl"):
         raise InvalidWheelFilename(
-            f"Invalid wheel filename (extension must be '.whl'): {filename}"
+            f"Invalid wheel filename (extension must be '.whl'): {filename!r}"
         )
 
     filename = filename[:-4]
     dashes = filename.count("-")
     if dashes not in (4, 5):
         raise InvalidWheelFilename(
-            f"Invalid wheel filename (wrong number of parts): {filename}"
+            f"Invalid wheel filename (wrong number of parts): {filename!r}"
         )
 
     parts = filename.split("-", dashes - 2)
     name_part = parts[0]
-    # See PEP 427 for the rules on escaping the project name
+    # See PEP 427 for the rules on escaping the project name.
     if "__" in name_part or re.match(r"^[\w\d._]*$", name_part, re.UNICODE) is None:
-        raise InvalidWheelFilename(f"Invalid project name: {filename}")
+        raise InvalidWheelFilename(f"Invalid project name: {filename!r}")
     name = canonicalize_name(name_part)
-    version = Version(parts[1])
+
+    try:
+        version = Version(parts[1])
+    except InvalidVersion as e:
+        raise InvalidWheelFilename(
+            f"Invalid wheel filename (invalid version): {filename!r}"
+        ) from e
+
     if dashes == 5:
         build_part = parts[2]
         build_match = _build_tag_regex.match(build_part)
         if build_match is None:
             raise InvalidWheelFilename(
-                f"Invalid build number: {build_part} in '{filename}'"
+                f"Invalid build number: {build_part} in {filename!r}"
             )
         build = cast(BuildTag, (int(build_match.group(1)), build_match.group(2)))
     else:
@@ -114,7 +134,7 @@ def parse_wheel_filename(
     return (name, version, build, tags)
 
 
-def parse_sdist_filename(filename: str) -> Tuple[NormalizedName, Version]:
+def parse_sdist_filename(filename: str) -> tuple[NormalizedName, Version]:
     if filename.endswith(".tar.gz"):
         file_stem = filename[: -len(".tar.gz")]
     elif filename.endswith(".zip"):
@@ -122,15 +142,22 @@ def parse_sdist_filename(filename: str) -> Tuple[NormalizedName, Version]:
     else:
         raise InvalidSdistFilename(
             f"Invalid sdist filename (extension must be '.tar.gz' or '.zip'):"
-            f" {filename}"
+            f" {filename!r}"
         )
 
     # We are requiring a PEP 440 version, which cannot contain dashes,
     # so we split on the last dash.
     name_part, sep, version_part = file_stem.rpartition("-")
     if not sep:
-        raise InvalidSdistFilename(f"Invalid sdist filename: {filename}")
+        raise InvalidSdistFilename(f"Invalid sdist filename: {filename!r}")
 
     name = canonicalize_name(name_part)
-    version = Version(version_part)
+
+    try:
+        version = Version(version_part)
+    except InvalidVersion as e:
+        raise InvalidSdistFilename(
+            f"Invalid sdist filename (invalid version): {filename!r}"
+        ) from e
+
     return (name, version)
diff --git a/.venv/Lib/site-packages/pip/_vendor/packaging/version.py b/.venv/Lib/site-packages/pip/_vendor/packaging/version.py
index de9a09a..21f44ca 100644
--- a/.venv/Lib/site-packages/pip/_vendor/packaging/version.py
+++ b/.venv/Lib/site-packages/pip/_vendor/packaging/version.py
@@ -1,64 +1,73 @@
 # This file is dual licensed under the terms of the Apache License, Version
 # 2.0, and the BSD License. See the LICENSE file in the root of this repository
 # for complete details.
+"""
+.. testsetup::
+
+    from pip._vendor.packaging.version import parse, Version
+"""
+
+from __future__ import annotations
 
-import collections
 import itertools
 import re
-import warnings
-from typing import Callable, Iterator, List, Optional, SupportsInt, Tuple, Union
+from typing import Any, Callable, NamedTuple, SupportsInt, Tuple, Union
 
 from ._structures import Infinity, InfinityType, NegativeInfinity, NegativeInfinityType
 
-__all__ = ["parse", "Version", "LegacyVersion", "InvalidVersion", "VERSION_PATTERN"]
+__all__ = ["VERSION_PATTERN", "InvalidVersion", "Version", "parse"]
 
-InfiniteTypes = Union[InfinityType, NegativeInfinityType]
-PrePostDevType = Union[InfiniteTypes, Tuple[str, int]]
-SubLocalType = Union[InfiniteTypes, int, str]
-LocalType = Union[
+LocalType = Tuple[Union[int, str], ...]
+
+CmpPrePostDevType = Union[InfinityType, NegativeInfinityType, Tuple[str, int]]
+CmpLocalType = Union[
     NegativeInfinityType,
-    Tuple[
-        Union[
-            SubLocalType,
-            Tuple[SubLocalType, str],
-            Tuple[NegativeInfinityType, SubLocalType],
-        ],
-        ...,
-    ],
+    Tuple[Union[Tuple[int, str], Tuple[NegativeInfinityType, Union[int, str]]], ...],
 ]
 CmpKey = Tuple[
-    int, Tuple[int, ...], PrePostDevType, PrePostDevType, PrePostDevType, LocalType
+    int,
+    Tuple[int, ...],
+    CmpPrePostDevType,
+    CmpPrePostDevType,
+    CmpPrePostDevType,
+    CmpLocalType,
 ]
-LegacyCmpKey = Tuple[int, Tuple[str, ...]]
-VersionComparisonMethod = Callable[
-    [Union[CmpKey, LegacyCmpKey], Union[CmpKey, LegacyCmpKey]], bool
-]
-
-_Version = collections.namedtuple(
-    "_Version", ["epoch", "release", "dev", "pre", "post", "local"]
-)
+VersionComparisonMethod = Callable[[CmpKey, CmpKey], bool]
 
 
-def parse(version: str) -> Union["LegacyVersion", "Version"]:
+class _Version(NamedTuple):
+    epoch: int
+    release: tuple[int, ...]
+    dev: tuple[str, int] | None
+    pre: tuple[str, int] | None
+    post: tuple[str, int] | None
+    local: LocalType | None
+
+
+def parse(version: str) -> Version:
+    """Parse the given version string.
+
+    >>> parse('1.0.dev1')
+    
+
+    :param version: The version string to parse.
+    :raises InvalidVersion: When the version string is not a valid version.
     """
-    Parse the given version string and return either a :class:`Version` object
-    or a :class:`LegacyVersion` object depending on if the given version is
-    a valid PEP 440 version or a legacy version.
-    """
-    try:
-        return Version(version)
-    except InvalidVersion:
-        return LegacyVersion(version)
+    return Version(version)
 
 
 class InvalidVersion(ValueError):
-    """
-    An invalid version was found, users should refer to PEP 440.
+    """Raised when a version string is not a valid version.
+
+    >>> Version("invalid")
+    Traceback (most recent call last):
+        ...
+    packaging.version.InvalidVersion: Invalid version: 'invalid'
     """
 
 
 class _BaseVersion:
-    _key: Union[CmpKey, LegacyCmpKey]
+    _key: tuple[Any, ...]
 
     def __hash__(self) -> int:
         return hash(self._key)
@@ -66,13 +75,13 @@ class _BaseVersion:
     # Please keep the duplicated `isinstance` check
     # in the six comparisons hereunder
     # unless you find a way to avoid adding overhead function calls.
-    def __lt__(self, other: "_BaseVersion") -> bool:
+    def __lt__(self, other: _BaseVersion) -> bool:
         if not isinstance(other, _BaseVersion):
             return NotImplemented
 
         return self._key < other._key
 
-    def __le__(self, other: "_BaseVersion") -> bool:
+    def __le__(self, other: _BaseVersion) -> bool:
         if not isinstance(other, _BaseVersion):
             return NotImplemented
 
@@ -84,13 +93,13 @@ class _BaseVersion:
 
         return self._key == other._key
 
-    def __ge__(self, other: "_BaseVersion") -> bool:
+    def __ge__(self, other: _BaseVersion) -> bool:
         if not isinstance(other, _BaseVersion):
             return NotImplemented
 
         return self._key >= other._key
 
-    def __gt__(self, other: "_BaseVersion") -> bool:
+    def __gt__(self, other: _BaseVersion) -> bool:
         if not isinstance(other, _BaseVersion):
             return NotImplemented
 
@@ -103,133 +112,16 @@ class _BaseVersion:
         return self._key != other._key
 
 
-class LegacyVersion(_BaseVersion):
-    def __init__(self, version: str) -> None:
-        self._version = str(version)
-        self._key = _legacy_cmpkey(self._version)
-
-        warnings.warn(
-            "Creating a LegacyVersion has been deprecated and will be "
-            "removed in the next major release",
-            DeprecationWarning,
-        )
-
-    def __str__(self) -> str:
-        return self._version
-
-    def __repr__(self) -> str:
-        return f""
-
-    @property
-    def public(self) -> str:
-        return self._version
-
-    @property
-    def base_version(self) -> str:
-        return self._version
-
-    @property
-    def epoch(self) -> int:
-        return -1
-
-    @property
-    def release(self) -> None:
-        return None
-
-    @property
-    def pre(self) -> None:
-        return None
-
-    @property
-    def post(self) -> None:
-        return None
-
-    @property
-    def dev(self) -> None:
-        return None
-
-    @property
-    def local(self) -> None:
-        return None
-
-    @property
-    def is_prerelease(self) -> bool:
-        return False
-
-    @property
-    def is_postrelease(self) -> bool:
-        return False
-
-    @property
-    def is_devrelease(self) -> bool:
-        return False
-
-
-_legacy_version_component_re = re.compile(r"(\d+ | [a-z]+ | \.| -)", re.VERBOSE)
-
-_legacy_version_replacement_map = {
-    "pre": "c",
-    "preview": "c",
-    "-": "final-",
-    "rc": "c",
-    "dev": "@",
-}
-
-
-def _parse_version_parts(s: str) -> Iterator[str]:
-    for part in _legacy_version_component_re.split(s):
-        part = _legacy_version_replacement_map.get(part, part)
-
-        if not part or part == ".":
-            continue
-
-        if part[:1] in "0123456789":
-            # pad for numeric comparison
-            yield part.zfill(8)
-        else:
-            yield "*" + part
-
-    # ensure that alpha/beta/candidate are before final
-    yield "*final"
-
-
-def _legacy_cmpkey(version: str) -> LegacyCmpKey:
-
-    # We hardcode an epoch of -1 here. A PEP 440 version can only have a epoch
-    # greater than or equal to 0. This will effectively put the LegacyVersion,
-    # which uses the defacto standard originally implemented by setuptools,
-    # as before all PEP 440 versions.
-    epoch = -1
-
-    # This scheme is taken from pkg_resources.parse_version setuptools prior to
-    # it's adoption of the packaging library.
-    parts: List[str] = []
-    for part in _parse_version_parts(version.lower()):
-        if part.startswith("*"):
-            # remove "-" before a prerelease tag
-            if part < "*final":
-                while parts and parts[-1] == "*final-":
-                    parts.pop()
-
-            # remove trailing zeros from each series of numeric parts
-            while parts and parts[-1] == "00000000":
-                parts.pop()
-
-        parts.append(part)
-
-    return epoch, tuple(parts)
-
-
 # Deliberately not anchored to the start and end of the string, to make it
 # easier for 3rd party code to reuse
-VERSION_PATTERN = r"""
+_VERSION_PATTERN = r"""
     v?
     (?:
         (?:(?P[0-9]+)!)?                           # epoch
         (?P[0-9]+(?:\.[0-9]+)*)                  # release segment
         (?P
                                          # pre-release
             [-_\.]?
-            (?P(a|b|c|rc|alpha|beta|pre|preview))
+            (?Palpha|a|beta|b|preview|pre|c|rc)
             [-_\.]?
             (?P[0-9]+)?
         )?
@@ -253,17 +145,61 @@ VERSION_PATTERN = r"""
     (?:\+(?P[a-z0-9]+(?:[-_\.][a-z0-9]+)*))?       # local version
 """
 
+VERSION_PATTERN = _VERSION_PATTERN
+"""
+A string containing the regular expression used to match a valid version.
+
+The pattern is not anchored at either end, and is intended for embedding in larger
+expressions (for example, matching a version number as part of a file name). The
+regular expression should be compiled with the ``re.VERBOSE`` and ``re.IGNORECASE``
+flags set.
+
+:meta hide-value:
+"""
+
 
 class Version(_BaseVersion):
+    """This class abstracts handling of a project's versions.
+
+    A :class:`Version` instance is comparison aware and can be compared and
+    sorted using the standard Python interfaces.
+
+    >>> v1 = Version("1.0a5")
+    >>> v2 = Version("1.0")
+    >>> v1
+    
+    >>> v2
+    
+    >>> v1 < v2
+    True
+    >>> v1 == v2
+    False
+    >>> v1 > v2
+    False
+    >>> v1 >= v2
+    False
+    >>> v1 <= v2
+    True
+    """
 
     _regex = re.compile(r"^\s*" + VERSION_PATTERN + r"\s*$", re.VERBOSE | re.IGNORECASE)
+    _key: CmpKey
 
     def __init__(self, version: str) -> None:
+        """Initialize a Version object.
+
+        :param version:
+            The string representation of a version which will be parsed and normalized
+            before use.
+        :raises InvalidVersion:
+            If the ``version`` does not conform to PEP 440 in any way then this
+            exception will be raised.
+        """
 
         # Validate the version and parse it into pieces
         match = self._regex.search(version)
         if not match:
-            raise InvalidVersion(f"Invalid version: '{version}'")
+            raise InvalidVersion(f"Invalid version: {version!r}")
 
         # Store the parsed out pieces of the version
         self._version = _Version(
@@ -288,9 +224,19 @@ class Version(_BaseVersion):
         )
 
     def __repr__(self) -> str:
+        """A representation of the Version that shows all internal state.
+
+        >>> Version('1.0.0')
+        
+        """
         return f""
 
     def __str__(self) -> str:
+        """A string representation of the version that can be round-tripped.
+
+        >>> str(Version("1.0a5"))
+        '1.0a5'
+        """
         parts = []
 
         # Epoch
@@ -320,29 +266,77 @@ class Version(_BaseVersion):
 
     @property
     def epoch(self) -> int:
-        _epoch: int = self._version.epoch
-        return _epoch
+        """The epoch of the version.
+
+        >>> Version("2.0.0").epoch
+        0
+        >>> Version("1!2.0.0").epoch
+        1
+        """
+        return self._version.epoch
 
     @property
-    def release(self) -> Tuple[int, ...]:
-        _release: Tuple[int, ...] = self._version.release
-        return _release
+    def release(self) -> tuple[int, ...]:
+        """The components of the "release" segment of the version.
+
+        >>> Version("1.2.3").release
+        (1, 2, 3)
+        >>> Version("2.0.0").release
+        (2, 0, 0)
+        >>> Version("1!2.0.0.post0").release
+        (2, 0, 0)
+
+        Includes trailing zeroes but not the epoch or any pre-release / development /
+        post-release suffixes.
+        """
+        return self._version.release
 
     @property
-    def pre(self) -> Optional[Tuple[str, int]]:
-        _pre: Optional[Tuple[str, int]] = self._version.pre
-        return _pre
+    def pre(self) -> tuple[str, int] | None:
+        """The pre-release segment of the version.
+
+        >>> print(Version("1.2.3").pre)
+        None
+        >>> Version("1.2.3a1").pre
+        ('a', 1)
+        >>> Version("1.2.3b1").pre
+        ('b', 1)
+        >>> Version("1.2.3rc1").pre
+        ('rc', 1)
+        """
+        return self._version.pre
 
     @property
-    def post(self) -> Optional[int]:
+    def post(self) -> int | None:
+        """The post-release number of the version.
+
+        >>> print(Version("1.2.3").post)
+        None
+        >>> Version("1.2.3.post1").post
+        1
+        """
         return self._version.post[1] if self._version.post else None
 
     @property
-    def dev(self) -> Optional[int]:
+    def dev(self) -> int | None:
+        """The development number of the version.
+
+        >>> print(Version("1.2.3").dev)
+        None
+        >>> Version("1.2.3.dev1").dev
+        1
+        """
         return self._version.dev[1] if self._version.dev else None
 
     @property
-    def local(self) -> Optional[str]:
+    def local(self) -> str | None:
+        """The local version segment of the version.
+
+        >>> print(Version("1.2.3").local)
+        None
+        >>> Version("1.2.3+abc").local
+        'abc'
+        """
         if self._version.local:
             return ".".join(str(x) for x in self._version.local)
         else:
@@ -350,10 +344,31 @@ class Version(_BaseVersion):
 
     @property
     def public(self) -> str:
+        """The public portion of the version.
+
+        >>> Version("1.2.3").public
+        '1.2.3'
+        >>> Version("1.2.3+abc").public
+        '1.2.3'
+        >>> Version("1!1.2.3dev1+abc").public
+        '1!1.2.3.dev1'
+        """
         return str(self).split("+", 1)[0]
 
     @property
     def base_version(self) -> str:
+        """The "base version" of the version.
+
+        >>> Version("1.2.3").base_version
+        '1.2.3'
+        >>> Version("1.2.3+abc").base_version
+        '1.2.3'
+        >>> Version("1!1.2.3dev1+abc").base_version
+        '1!1.2.3'
+
+        The "base version" is the public version of the project without any pre or post
+        release markers.
+        """
         parts = []
 
         # Epoch
@@ -367,33 +382,95 @@ class Version(_BaseVersion):
 
     @property
     def is_prerelease(self) -> bool:
+        """Whether this version is a pre-release.
+
+        >>> Version("1.2.3").is_prerelease
+        False
+        >>> Version("1.2.3a1").is_prerelease
+        True
+        >>> Version("1.2.3b1").is_prerelease
+        True
+        >>> Version("1.2.3rc1").is_prerelease
+        True
+        >>> Version("1.2.3dev1").is_prerelease
+        True
+        """
         return self.dev is not None or self.pre is not None
 
     @property
     def is_postrelease(self) -> bool:
+        """Whether this version is a post-release.
+
+        >>> Version("1.2.3").is_postrelease
+        False
+        >>> Version("1.2.3.post1").is_postrelease
+        True
+        """
         return self.post is not None
 
     @property
     def is_devrelease(self) -> bool:
+        """Whether this version is a development release.
+
+        >>> Version("1.2.3").is_devrelease
+        False
+        >>> Version("1.2.3.dev1").is_devrelease
+        True
+        """
         return self.dev is not None
 
     @property
     def major(self) -> int:
+        """The first item of :attr:`release` or ``0`` if unavailable.
+
+        >>> Version("1.2.3").major
+        1
+        """
         return self.release[0] if len(self.release) >= 1 else 0
 
     @property
     def minor(self) -> int:
+        """The second item of :attr:`release` or ``0`` if unavailable.
+
+        >>> Version("1.2.3").minor
+        2
+        >>> Version("1").minor
+        0
+        """
         return self.release[1] if len(self.release) >= 2 else 0
 
     @property
     def micro(self) -> int:
+        """The third item of :attr:`release` or ``0`` if unavailable.
+
+        >>> Version("1.2.3").micro
+        3
+        >>> Version("1").micro
+        0
+        """
         return self.release[2] if len(self.release) >= 3 else 0
 
 
-def _parse_letter_version(
-    letter: str, number: Union[str, bytes, SupportsInt]
-) -> Optional[Tuple[str, int]]:
+class _TrimmedRelease(Version):
+    @property
+    def release(self) -> tuple[int, ...]:
+        """
+        Release segment without any trailing zeros.
 
+        >>> _TrimmedRelease('1.0.0').release
+        (1,)
+        >>> _TrimmedRelease('0.0').release
+        (0,)
+        """
+        rel = super().release
+        nonzeros = (index for index, val in enumerate(rel) if val)
+        last_nonzero = max(nonzeros, default=0)
+        return rel[: last_nonzero + 1]
+
+
+def _parse_letter_version(
+    letter: str | None, number: str | bytes | SupportsInt | None
+) -> tuple[str, int] | None:
     if letter:
         # We consider there to be an implicit 0 in a pre-release if there is
         # not a numeral associated with it.
@@ -416,7 +493,9 @@ def _parse_letter_version(
             letter = "post"
 
         return letter, int(number)
-    if not letter and number:
+
+    assert not letter
+    if number:
         # We assume if we are given a number, but we are not given a letter
         # then this is using the implicit post release syntax (e.g. 1.0-1)
         letter = "post"
@@ -429,7 +508,7 @@ def _parse_letter_version(
 _local_version_separators = re.compile(r"[\._-]")
 
 
-def _parse_local_version(local: str) -> Optional[LocalType]:
+def _parse_local_version(local: str | None) -> LocalType | None:
     """
     Takes a string like abc.1.twelve and turns it into ("abc", 1, "twelve").
     """
@@ -443,13 +522,12 @@ def _parse_local_version(local: str) -> Optional[LocalType]:
 
 def _cmpkey(
     epoch: int,
-    release: Tuple[int, ...],
-    pre: Optional[Tuple[str, int]],
-    post: Optional[Tuple[str, int]],
-    dev: Optional[Tuple[str, int]],
-    local: Optional[Tuple[SubLocalType]],
+    release: tuple[int, ...],
+    pre: tuple[str, int] | None,
+    post: tuple[str, int] | None,
+    dev: tuple[str, int] | None,
+    local: LocalType | None,
 ) -> CmpKey:
-
     # When we compare a release version, we want to compare it with all of the
     # trailing zeros removed. So we'll use a reverse the list, drop all the now
     # leading zeros until we come to something non zero, then take the rest
@@ -464,7 +542,7 @@ def _cmpkey(
     # if there is not a pre or a post segment. If we have one of those then
     # the normal sorting rules will handle this case correctly.
     if pre is None and post is None and dev is not None:
-        _pre: PrePostDevType = NegativeInfinity
+        _pre: CmpPrePostDevType = NegativeInfinity
     # Versions without a pre-release (except as noted above) should sort after
     # those with one.
     elif pre is None:
@@ -474,21 +552,21 @@ def _cmpkey(
 
     # Versions without a post segment should sort before those with one.
     if post is None:
-        _post: PrePostDevType = NegativeInfinity
+        _post: CmpPrePostDevType = NegativeInfinity
 
     else:
         _post = post
 
     # Versions without a development segment should sort after those with one.
     if dev is None:
-        _dev: PrePostDevType = Infinity
+        _dev: CmpPrePostDevType = Infinity
 
     else:
         _dev = dev
 
     if local is None:
         # Versions without a local segment should sort before those with one.
-        _local: LocalType = NegativeInfinity
+        _local: CmpLocalType = NegativeInfinity
     else:
         # Versions with a local segment need that segment parsed to implement
         # the sorting rules in PEP440.
diff --git a/.venv/Lib/site-packages/pip/_vendor/pkg_resources/__init__.py b/.venv/Lib/site-packages/pip/_vendor/pkg_resources/__init__.py
index ad27940..72f2b03 100644
--- a/.venv/Lib/site-packages/pip/_vendor/pkg_resources/__init__.py
+++ b/.venv/Lib/site-packages/pip/_vendor/pkg_resources/__init__.py
@@ -1,3 +1,6 @@
+# TODO: Add Generic type annotations to initialized collections.
+# For now we'd simply use implicit Any/Unknown which would add redundant annotations
+# mypy: disable-error-code="var-annotated"
 """
 Package resource API
 --------------------
@@ -17,12 +20,36 @@ This module is deprecated. Users are directed to :mod:`importlib.resources`,
 :mod:`importlib.metadata` and :pypi:`packaging` instead.
 """
 
+from __future__ import annotations
+
 import sys
+
+if sys.version_info < (3, 8):  # noqa: UP036 # Check for unsupported versions
+    raise RuntimeError("Python 3.8 or later is required")
+
 import os
 import io
 import time
 import re
 import types
+from typing import (
+    Any,
+    Literal,
+    Dict,
+    Iterator,
+    Mapping,
+    MutableSequence,
+    NamedTuple,
+    NoReturn,
+    Tuple,
+    Union,
+    TYPE_CHECKING,
+    Protocol,
+    Callable,
+    Iterable,
+    TypeVar,
+    overload,
+)
 import zipfile
 import zipimport
 import warnings
@@ -41,21 +68,16 @@ import inspect
 import ntpath
 import posixpath
 import importlib
+import importlib.abc
+import importlib.machinery
 from pkgutil import get_importer
 
-try:
-    import _imp
-except ImportError:
-    # Python 3.2 compatibility
-    import imp as _imp
-
-try:
-    FileExistsError
-except NameError:
-    FileExistsError = OSError
+import _imp
 
 # capture these to bypass sandboxing
 from os import utime
+from os import open as os_open
+from os.path import isdir, split
 
 try:
     from os import mkdir, rename, unlink
@@ -65,64 +87,59 @@ except ImportError:
     # no write support, probably under GAE
     WRITE_SUPPORT = False
 
-from os import open as os_open
-from os.path import isdir, split
-
-try:
-    import importlib.machinery as importlib_machinery
-
-    # access attribute to force import under delayed import mechanisms.
-    importlib_machinery.__name__
-except ImportError:
-    importlib_machinery = None
-
 from pip._internal.utils._jaraco_text import (
     yield_lines,
     drop_comment,
     join_continuation,
 )
+from pip._vendor.packaging import markers as _packaging_markers
+from pip._vendor.packaging import requirements as _packaging_requirements
+from pip._vendor.packaging import utils as _packaging_utils
+from pip._vendor.packaging import version as _packaging_version
+from pip._vendor.platformdirs import user_cache_dir as _user_cache_dir
 
-from pip._vendor import platformdirs
-from pip._vendor import packaging
-
-__import__('pip._vendor.packaging.version')
-__import__('pip._vendor.packaging.specifiers')
-__import__('pip._vendor.packaging.requirements')
-__import__('pip._vendor.packaging.markers')
-__import__('pip._vendor.packaging.utils')
-
-if sys.version_info < (3, 5):
-    raise RuntimeError("Python 3.5 or later is required")
-
-# declare some globals that will be defined later to
-# satisfy the linters.
-require = None
-working_set = None
-add_activation_listener = None
-resources_stream = None
-cleanup_resources = None
-resource_dir = None
-resource_stream = None
-set_extraction_path = None
-resource_isdir = None
-resource_string = None
-iter_entry_points = None
-resource_listdir = None
-resource_filename = None
-resource_exists = None
-_distribution_finders = None
-_namespace_handlers = None
-_namespace_packages = None
+if TYPE_CHECKING:
+    from _typeshed import BytesPath, StrPath, StrOrBytesPath
+    from typing_extensions import Self
 
 
-warnings.warn(
-    "pkg_resources is deprecated as an API. "
-    "See https://setuptools.pypa.io/en/latest/pkg_resources.html",
-    DeprecationWarning,
-    stacklevel=2
+# Patch: Remove deprecation warning from vendored pkg_resources.
+# Setting PYTHONWARNINGS=error to verify builds produce no warnings
+# causes immediate exceptions.
+# See https://github.com/pypa/pip/issues/12243
+
+
+_T = TypeVar("_T")
+_DistributionT = TypeVar("_DistributionT", bound="Distribution")
+# Type aliases
+_NestedStr = Union[str, Iterable[Union[str, Iterable["_NestedStr"]]]]
+_InstallerTypeT = Callable[["Requirement"], "_DistributionT"]
+_InstallerType = Callable[["Requirement"], Union["Distribution", None]]
+_PkgReqType = Union[str, "Requirement"]
+_EPDistType = Union["Distribution", _PkgReqType]
+_MetadataType = Union["IResourceProvider", None]
+_ResolvedEntryPoint = Any  # Can be any attribute in the module
+_ResourceStream = Any  # TODO / Incomplete: A readable file-like object
+# Any object works, but let's indicate we expect something like a module (optionally has __loader__ or __file__)
+_ModuleLike = Union[object, types.ModuleType]
+# Any: Should be _ModuleLike but we end up with issues where _ModuleLike doesn't have _ZipLoaderModule's __loader__
+_ProviderFactoryType = Callable[[Any], "IResourceProvider"]
+_DistFinderType = Callable[[_T, str, bool], Iterable["Distribution"]]
+_NSHandlerType = Callable[[_T, str, str, types.ModuleType], Union[str, None]]
+_AdapterT = TypeVar(
+    "_AdapterT", _DistFinderType[Any], _ProviderFactoryType, _NSHandlerType[Any]
 )
 
 
+# Use _typeshed.importlib.LoaderProtocol once available https://github.com/python/typeshed/pull/11890
+class _LoaderProtocol(Protocol):
+    def load_module(self, fullname: str, /) -> types.ModuleType: ...
+
+
+class _ZipLoaderModule(Protocol):
+    __loader__: zipimport.zipimporter
+
+
 _PEP440_FALLBACK = re.compile(r"^v?(?P(?:[0-9]+!)?[0-9]+(?:\.[0-9]+)*)", re.I)
 
 
@@ -133,18 +150,18 @@ class PEP440Warning(RuntimeWarning):
     """
 
 
-parse_version = packaging.version.Version
+parse_version = _packaging_version.Version
 
 
-_state_vars = {}
+_state_vars: dict[str, str] = {}
 
 
-def _declare_state(vartype, **kw):
-    globals().update(kw)
-    _state_vars.update(dict.fromkeys(kw, vartype))
+def _declare_state(vartype: str, varname: str, initial_value: _T) -> _T:
+    _state_vars[varname] = vartype
+    return initial_value
 
 
-def __getstate__():
+def __getstate__() -> dict[str, Any]:
     state = {}
     g = globals()
     for k, v in _state_vars.items():
@@ -152,7 +169,7 @@ def __getstate__():
     return state
 
 
-def __setstate__(state):
+def __setstate__(state: dict[str, Any]) -> dict[str, Any]:
     g = globals()
     for k, v in state.items():
         g['_sset_' + _state_vars[k]](k, g[k], v)
@@ -307,17 +324,17 @@ class VersionConflict(ResolutionError):
     _template = "{self.dist} is installed but {self.req} is required"
 
     @property
-    def dist(self):
+    def dist(self) -> Distribution:
         return self.args[0]
 
     @property
-    def req(self):
+    def req(self) -> Requirement:
         return self.args[1]
 
     def report(self):
         return self._template.format(**locals())
 
-    def with_context(self, required_by):
+    def with_context(self, required_by: set[Distribution | str]):
         """
         If required_by is non-empty, return a version of self that is a
         ContextualVersionConflict.
@@ -337,7 +354,7 @@ class ContextualVersionConflict(VersionConflict):
     _template = VersionConflict._template + ' by {self.required_by}'
 
     @property
-    def required_by(self):
+    def required_by(self) -> set[str]:
         return self.args[2]
 
 
@@ -350,11 +367,11 @@ class DistributionNotFound(ResolutionError):
     )
 
     @property
-    def req(self):
+    def req(self) -> Requirement:
         return self.args[0]
 
     @property
-    def requirers(self):
+    def requirers(self) -> set[str] | None:
         return self.args[1]
 
     @property
@@ -374,7 +391,7 @@ class UnknownExtra(ResolutionError):
     """Distribution doesn't have an "extra feature" of the given name"""
 
 
-_provider_factories = {}
+_provider_factories: dict[type[_ModuleLike], _ProviderFactoryType] = {}
 
 PY_MAJOR = '{}.{}'.format(*sys.version_info)
 EGG_DIST = 3
@@ -384,7 +401,9 @@ CHECKOUT_DIST = 0
 DEVELOP_DIST = -1
 
 
-def register_loader_type(loader_type, provider_factory):
+def register_loader_type(
+    loader_type: type[_ModuleLike], provider_factory: _ProviderFactoryType
+):
     """Register `provider_factory` to make providers for `loader_type`
 
     `loader_type` is the type or class of a PEP 302 ``module.__loader__``,
@@ -394,7 +413,11 @@ def register_loader_type(loader_type, provider_factory):
     _provider_factories[loader_type] = provider_factory
 
 
-def get_provider(moduleOrReq):
+@overload
+def get_provider(moduleOrReq: str) -> IResourceProvider: ...
+@overload
+def get_provider(moduleOrReq: Requirement) -> Distribution: ...
+def get_provider(moduleOrReq: str | Requirement) -> IResourceProvider | Distribution:
     """Return an IResourceProvider for the named module or requirement"""
     if isinstance(moduleOrReq, Requirement):
         return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
@@ -407,20 +430,18 @@ def get_provider(moduleOrReq):
     return _find_adapter(_provider_factories, loader)(module)
 
 
-def _macos_vers(_cache=[]):
-    if not _cache:
-        version = platform.mac_ver()[0]
-        # fallback for MacPorts
-        if version == '':
-            plist = '/System/Library/CoreServices/SystemVersion.plist'
-            if os.path.exists(plist):
-                if hasattr(plistlib, 'readPlist'):
-                    plist_content = plistlib.readPlist(plist)
-                    if 'ProductVersion' in plist_content:
-                        version = plist_content['ProductVersion']
-
-        _cache.append(version.split('.'))
-    return _cache[0]
+@functools.lru_cache(maxsize=None)
+def _macos_vers():
+    version = platform.mac_ver()[0]
+    # fallback for MacPorts
+    if version == '':
+        plist = '/System/Library/CoreServices/SystemVersion.plist'
+        if os.path.exists(plist):
+            with open(plist, 'rb') as fh:
+                plist_content = plistlib.load(fh)
+            if 'ProductVersion' in plist_content:
+                version = plist_content['ProductVersion']
+    return version.split('.')
 
 
 def _macos_arch(machine):
@@ -458,7 +479,7 @@ darwinVersionString = re.compile(r"darwin-(\d+)\.(\d+)\.(\d+)-(.*)")
 get_platform = get_build_platform
 
 
-def compatible_platforms(provided, required):
+def compatible_platforms(provided: str | None, required: str | None):
     """Can code for the `provided` platform run on the `required` platform?
 
     Returns true if either platform is ``None``, or the platforms are equal.
@@ -507,102 +528,106 @@ def compatible_platforms(provided, required):
     return False
 
 
-def run_script(dist_spec, script_name):
-    """Locate distribution `dist_spec` and run its `script_name` script"""
-    ns = sys._getframe(1).f_globals
-    name = ns['__name__']
-    ns.clear()
-    ns['__name__'] = name
-    require(dist_spec)[0].run_script(script_name, ns)
-
-
-# backward compatibility
-run_main = run_script
-
-
-def get_distribution(dist):
+@overload
+def get_distribution(dist: _DistributionT) -> _DistributionT: ...
+@overload
+def get_distribution(dist: _PkgReqType) -> Distribution: ...
+def get_distribution(dist: Distribution | _PkgReqType) -> Distribution:
     """Return a current distribution object for a Requirement or string"""
     if isinstance(dist, str):
         dist = Requirement.parse(dist)
     if isinstance(dist, Requirement):
-        dist = get_provider(dist)
+        # Bad type narrowing, dist has to be a Requirement here, so get_provider has to return Distribution
+        dist = get_provider(dist)  # type: ignore[assignment]
     if not isinstance(dist, Distribution):
-        raise TypeError("Expected string, Requirement, or Distribution", dist)
+        raise TypeError("Expected str, Requirement, or Distribution", dist)
     return dist
 
 
-def load_entry_point(dist, group, name):
+def load_entry_point(dist: _EPDistType, group: str, name: str) -> _ResolvedEntryPoint:
     """Return `name` entry point of `group` for `dist` or raise ImportError"""
     return get_distribution(dist).load_entry_point(group, name)
 
 
-def get_entry_map(dist, group=None):
+@overload
+def get_entry_map(
+    dist: _EPDistType, group: None = None
+) -> dict[str, dict[str, EntryPoint]]: ...
+@overload
+def get_entry_map(dist: _EPDistType, group: str) -> dict[str, EntryPoint]: ...
+def get_entry_map(dist: _EPDistType, group: str | None = None):
     """Return the entry point map for `group`, or the full entry map"""
     return get_distribution(dist).get_entry_map(group)
 
 
-def get_entry_info(dist, group, name):
+def get_entry_info(dist: _EPDistType, group: str, name: str):
     """Return the EntryPoint object for `group`+`name`, or ``None``"""
     return get_distribution(dist).get_entry_info(group, name)
 
 
-class IMetadataProvider:
-    def has_metadata(name):
+class IMetadataProvider(Protocol):
+    def has_metadata(self, name: str) -> bool:
         """Does the package's distribution contain the named metadata?"""
 
-    def get_metadata(name):
+    def get_metadata(self, name: str) -> str:
         """The named metadata resource as a string"""
 
-    def get_metadata_lines(name):
+    def get_metadata_lines(self, name: str) -> Iterator[str]:
         """Yield named metadata resource as list of non-blank non-comment lines
 
         Leading and trailing whitespace is stripped from each line, and lines
         with ``#`` as the first non-blank character are omitted."""
 
-    def metadata_isdir(name):
+    def metadata_isdir(self, name: str) -> bool:
         """Is the named metadata a directory?  (like ``os.path.isdir()``)"""
 
-    def metadata_listdir(name):
+    def metadata_listdir(self, name: str) -> list[str]:
         """List of metadata names in the directory (like ``os.listdir()``)"""
 
-    def run_script(script_name, namespace):
+    def run_script(self, script_name: str, namespace: dict[str, Any]) -> None:
         """Execute the named script in the supplied namespace dictionary"""
 
 
-class IResourceProvider(IMetadataProvider):
+class IResourceProvider(IMetadataProvider, Protocol):
     """An object that provides access to package resources"""
 
-    def get_resource_filename(manager, resource_name):
+    def get_resource_filename(
+        self, manager: ResourceManager, resource_name: str
+    ) -> str:
         """Return a true filesystem path for `resource_name`
 
-        `manager` must be an ``IResourceManager``"""
+        `manager` must be a ``ResourceManager``"""
 
-    def get_resource_stream(manager, resource_name):
+    def get_resource_stream(
+        self, manager: ResourceManager, resource_name: str
+    ) -> _ResourceStream:
         """Return a readable file-like object for `resource_name`
 
-        `manager` must be an ``IResourceManager``"""
+        `manager` must be a ``ResourceManager``"""
 
-    def get_resource_string(manager, resource_name):
-        """Return a string containing the contents of `resource_name`
+    def get_resource_string(
+        self, manager: ResourceManager, resource_name: str
+    ) -> bytes:
+        """Return the contents of `resource_name` as :obj:`bytes`
 
-        `manager` must be an ``IResourceManager``"""
+        `manager` must be a ``ResourceManager``"""
 
-    def has_resource(resource_name):
+    def has_resource(self, resource_name: str) -> bool:
         """Does the package contain the named resource?"""
 
-    def resource_isdir(resource_name):
+    def resource_isdir(self, resource_name: str) -> bool:
         """Is the named resource a directory?  (like ``os.path.isdir()``)"""
 
-    def resource_listdir(resource_name):
+    def resource_listdir(self, resource_name: str) -> list[str]:
         """List of resource names in the directory (like ``os.listdir()``)"""
 
 
 class WorkingSet:
     """A collection of active distributions on sys.path (or a similar list)"""
 
-    def __init__(self, entries=None):
+    def __init__(self, entries: Iterable[str] | None = None):
         """Create working set from list of path entries (default=sys.path)"""
-        self.entries = []
+        self.entries: list[str] = []
         self.entry_keys = {}
         self.by_key = {}
         self.normalized_to_canonical_keys = {}
@@ -656,7 +681,7 @@ class WorkingSet:
         sys.path[:] = ws.entries
         return ws
 
-    def add_entry(self, entry):
+    def add_entry(self, entry: str):
         """Add a path item to ``.entries``, finding any distributions on it
 
         ``find_distributions(entry, True)`` is used to find distributions
@@ -671,11 +696,11 @@ class WorkingSet:
         for dist in find_distributions(entry, True):
             self.add(dist, entry, False)
 
-    def __contains__(self, dist):
+    def __contains__(self, dist: Distribution) -> bool:
         """True if `dist` is the active distribution for its project"""
         return self.by_key.get(dist.key) == dist
 
-    def find(self, req):
+    def find(self, req: Requirement) -> Distribution | None:
         """Find a distribution matching requirement `req`
 
         If there is an active distribution for the requested project, this
@@ -699,7 +724,7 @@ class WorkingSet:
             raise VersionConflict(dist, req)
         return dist
 
-    def iter_entry_points(self, group, name=None):
+    def iter_entry_points(self, group: str, name: str | None = None):
         """Yield entry point objects from `group` matching `name`
 
         If `name` is None, yields all entry points in `group` from all
@@ -713,7 +738,7 @@ class WorkingSet:
             if name is None or name == entry.name
         )
 
-    def run_script(self, requires, script_name):
+    def run_script(self, requires: str, script_name: str):
         """Locate distribution for `requires` and run `script_name` script"""
         ns = sys._getframe(1).f_globals
         name = ns['__name__']
@@ -721,13 +746,13 @@ class WorkingSet:
         ns['__name__'] = name
         self.require(requires)[0].run_script(script_name, ns)
 
-    def __iter__(self):
+    def __iter__(self) -> Iterator[Distribution]:
         """Yield distributions for non-duplicate projects in the working set
 
         The yield order is the order in which the items' path entries were
         added to the working set.
         """
-        seen = {}
+        seen = set()
         for item in self.entries:
             if item not in self.entry_keys:
                 # workaround a cache issue
@@ -735,10 +760,16 @@ class WorkingSet:
 
             for key in self.entry_keys[item]:
                 if key not in seen:
-                    seen[key] = 1
+                    seen.add(key)
                     yield self.by_key[key]
 
-    def add(self, dist, entry=None, insert=True, replace=False):
+    def add(
+        self,
+        dist: Distribution,
+        entry: str | None = None,
+        insert: bool = True,
+        replace: bool = False,
+    ):
         """Add `dist` to working set, associated with `entry`
 
         If `entry` is unspecified, it defaults to the ``.location`` of `dist`.
@@ -762,7 +793,7 @@ class WorkingSet:
             return
 
         self.by_key[dist.key] = dist
-        normalized_name = packaging.utils.canonicalize_name(dist.key)
+        normalized_name = _packaging_utils.canonicalize_name(dist.key)
         self.normalized_to_canonical_keys[normalized_name] = dist.key
         if dist.key not in keys:
             keys.append(dist.key)
@@ -770,14 +801,42 @@ class WorkingSet:
             keys2.append(dist.key)
         self._added_new(dist)
 
+    @overload
     def resolve(
         self,
-        requirements,
-        env=None,
-        installer=None,
-        replace_conflicting=False,
-        extras=None,
-    ):
+        requirements: Iterable[Requirement],
+        env: Environment | None,
+        installer: _InstallerTypeT[_DistributionT],
+        replace_conflicting: bool = False,
+        extras: tuple[str, ...] | None = None,
+    ) -> list[_DistributionT]: ...
+    @overload
+    def resolve(
+        self,
+        requirements: Iterable[Requirement],
+        env: Environment | None = None,
+        *,
+        installer: _InstallerTypeT[_DistributionT],
+        replace_conflicting: bool = False,
+        extras: tuple[str, ...] | None = None,
+    ) -> list[_DistributionT]: ...
+    @overload
+    def resolve(
+        self,
+        requirements: Iterable[Requirement],
+        env: Environment | None = None,
+        installer: _InstallerType | None = None,
+        replace_conflicting: bool = False,
+        extras: tuple[str, ...] | None = None,
+    ) -> list[Distribution]: ...
+    def resolve(
+        self,
+        requirements: Iterable[Requirement],
+        env: Environment | None = None,
+        installer: _InstallerType | None | _InstallerTypeT[_DistributionT] = None,
+        replace_conflicting: bool = False,
+        extras: tuple[str, ...] | None = None,
+    ) -> list[Distribution] | list[_DistributionT]:
         """List all distributions needed to (recursively) meet `requirements`
 
         `requirements` must be a sequence of ``Requirement`` objects.  `env`,
@@ -805,7 +864,7 @@ class WorkingSet:
         # set up the stack
         requirements = list(requirements)[::-1]
         # set of processed requirements
-        processed = {}
+        processed = set()
         # key -> dist
         best = {}
         to_activate = []
@@ -839,14 +898,14 @@ class WorkingSet:
                 required_by[new_requirement].add(req.project_name)
                 req_extras[new_requirement] = req.extras
 
-            processed[req] = True
+            processed.add(req)
 
         # return list of distros to activate
         return to_activate
 
     def _resolve_dist(
         self, req, best, replace_conflicting, env, installer, required_by, to_activate
-    ):
+    ) -> Distribution:
         dist = best.get(req.key)
         if dist is None:
             # Find the best distribution and add it to the map
@@ -875,7 +934,41 @@ class WorkingSet:
             raise VersionConflict(dist, req).with_context(dependent_req)
         return dist
 
-    def find_plugins(self, plugin_env, full_env=None, installer=None, fallback=True):
+    @overload
+    def find_plugins(
+        self,
+        plugin_env: Environment,
+        full_env: Environment | None,
+        installer: _InstallerTypeT[_DistributionT],
+        fallback: bool = True,
+    ) -> tuple[list[_DistributionT], dict[Distribution, Exception]]: ...
+    @overload
+    def find_plugins(
+        self,
+        plugin_env: Environment,
+        full_env: Environment | None = None,
+        *,
+        installer: _InstallerTypeT[_DistributionT],
+        fallback: bool = True,
+    ) -> tuple[list[_DistributionT], dict[Distribution, Exception]]: ...
+    @overload
+    def find_plugins(
+        self,
+        plugin_env: Environment,
+        full_env: Environment | None = None,
+        installer: _InstallerType | None = None,
+        fallback: bool = True,
+    ) -> tuple[list[Distribution], dict[Distribution, Exception]]: ...
+    def find_plugins(
+        self,
+        plugin_env: Environment,
+        full_env: Environment | None = None,
+        installer: _InstallerType | None | _InstallerTypeT[_DistributionT] = None,
+        fallback: bool = True,
+    ) -> tuple[
+        list[Distribution] | list[_DistributionT],
+        dict[Distribution, Exception],
+    ]:
         """Find all activatable distributions in `plugin_env`
 
         Example usage::
@@ -914,8 +1007,8 @@ class WorkingSet:
         # scan project names in alphabetic order
         plugin_projects.sort()
 
-        error_info = {}
-        distributions = {}
+        error_info: dict[Distribution, Exception] = {}
+        distributions: dict[Distribution, Exception | None] = {}
 
         if full_env is None:
             env = Environment(self.entries)
@@ -951,12 +1044,12 @@ class WorkingSet:
                     # success, no need to try any more versions of this project
                     break
 
-        distributions = list(distributions)
-        distributions.sort()
+        sorted_distributions = list(distributions)
+        sorted_distributions.sort()
 
-        return distributions, error_info
+        return sorted_distributions, error_info
 
-    def require(self, *requirements):
+    def require(self, *requirements: _NestedStr):
         """Ensure that distributions matching `requirements` are activated
 
         `requirements` must be a string or a (possibly-nested) sequence
@@ -972,7 +1065,9 @@ class WorkingSet:
 
         return needed
 
-    def subscribe(self, callback, existing=True):
+    def subscribe(
+        self, callback: Callable[[Distribution], object], existing: bool = True
+    ):
         """Invoke `callback` for all distributions
 
         If `existing=True` (default),
@@ -1008,12 +1103,12 @@ class WorkingSet:
         self.callbacks = callbacks[:]
 
 
-class _ReqExtras(dict):
+class _ReqExtras(Dict["Requirement", Tuple[str, ...]]):
     """
     Map each requirement to the extras that demanded it.
     """
 
-    def markers_pass(self, req, extras=None):
+    def markers_pass(self, req: Requirement, extras: tuple[str, ...] | None = None):
         """
         Evaluate markers for req against each extra that
         demanded it.
@@ -1032,7 +1127,10 @@ class Environment:
     """Searchable snapshot of distributions on a search path"""
 
     def __init__(
-        self, search_path=None, platform=get_supported_platform(), python=PY_MAJOR
+        self,
+        search_path: Iterable[str] | None = None,
+        platform: str | None = get_supported_platform(),
+        python: str | None = PY_MAJOR,
     ):
         """Snapshot distributions available on a search path
 
@@ -1055,7 +1153,7 @@ class Environment:
         self.python = python
         self.scan(search_path)
 
-    def can_add(self, dist):
+    def can_add(self, dist: Distribution):
         """Is distribution `dist` acceptable for this environment?
 
         The distribution must match the platform and python version
@@ -1069,11 +1167,11 @@ class Environment:
         )
         return py_compat and compatible_platforms(dist.platform, self.platform)
 
-    def remove(self, dist):
+    def remove(self, dist: Distribution):
         """Remove `dist` from the environment"""
         self._distmap[dist.key].remove(dist)
 
-    def scan(self, search_path=None):
+    def scan(self, search_path: Iterable[str] | None = None):
         """Scan `search_path` for distributions usable in this environment
 
         Any distributions found are added to the environment.
@@ -1088,7 +1186,7 @@ class Environment:
             for dist in find_distributions(item):
                 self.add(dist)
 
-    def __getitem__(self, project_name):
+    def __getitem__(self, project_name: str) -> list[Distribution]:
         """Return a newest-to-oldest list of distributions for `project_name`
 
         Uses case-insensitive `project_name` comparison, assuming all the
@@ -1099,7 +1197,7 @@ class Environment:
         distribution_key = project_name.lower()
         return self._distmap.get(distribution_key, [])
 
-    def add(self, dist):
+    def add(self, dist: Distribution):
         """Add `dist` if we ``can_add()`` it and it has not already been added"""
         if self.can_add(dist) and dist.has_version():
             dists = self._distmap.setdefault(dist.key, [])
@@ -1107,7 +1205,29 @@ class Environment:
                 dists.append(dist)
                 dists.sort(key=operator.attrgetter('hashcmp'), reverse=True)
 
-    def best_match(self, req, working_set, installer=None, replace_conflicting=False):
+    @overload
+    def best_match(
+        self,
+        req: Requirement,
+        working_set: WorkingSet,
+        installer: _InstallerTypeT[_DistributionT],
+        replace_conflicting: bool = False,
+    ) -> _DistributionT: ...
+    @overload
+    def best_match(
+        self,
+        req: Requirement,
+        working_set: WorkingSet,
+        installer: _InstallerType | None = None,
+        replace_conflicting: bool = False,
+    ) -> Distribution | None: ...
+    def best_match(
+        self,
+        req: Requirement,
+        working_set: WorkingSet,
+        installer: _InstallerType | None | _InstallerTypeT[_DistributionT] = None,
+        replace_conflicting: bool = False,
+    ) -> Distribution | None:
         """Find distribution best matching `req` and usable on `working_set`
 
         This calls the ``find(req)`` method of the `working_set` to see if a
@@ -1134,7 +1254,32 @@ class Environment:
         # try to download/install
         return self.obtain(req, installer)
 
-    def obtain(self, requirement, installer=None):
+    @overload
+    def obtain(
+        self,
+        requirement: Requirement,
+        installer: _InstallerTypeT[_DistributionT],
+    ) -> _DistributionT: ...
+    @overload
+    def obtain(
+        self,
+        requirement: Requirement,
+        installer: Callable[[Requirement], None] | None = None,
+    ) -> None: ...
+    @overload
+    def obtain(
+        self,
+        requirement: Requirement,
+        installer: _InstallerType | None = None,
+    ) -> Distribution | None: ...
+    def obtain(
+        self,
+        requirement: Requirement,
+        installer: Callable[[Requirement], None]
+        | _InstallerType
+        | None
+        | _InstallerTypeT[_DistributionT] = None,
+    ) -> Distribution | None:
         """Obtain a distribution matching `requirement` (e.g. via download)
 
         Obtain a distro that matches requirement (e.g. via download).  In the
@@ -1143,16 +1288,15 @@ class Environment:
         None is returned instead.  This method is a hook that allows subclasses
         to attempt other ways of obtaining a distribution before falling back
         to the `installer` argument."""
-        if installer is not None:
-            return installer(requirement)
+        return installer(requirement) if installer else None
 
-    def __iter__(self):
+    def __iter__(self) -> Iterator[str]:
         """Yield the unique project names of the available distributions"""
         for key in self._distmap.keys():
             if self[key]:
                 yield key
 
-    def __iadd__(self, other):
+    def __iadd__(self, other: Distribution | Environment):
         """In-place addition of a distribution or environment"""
         if isinstance(other, Distribution):
             self.add(other)
@@ -1164,7 +1308,7 @@ class Environment:
             raise TypeError("Can't add %r to environment" % (other,))
         return self
 
-    def __add__(self, other):
+    def __add__(self, other: Distribution | Environment):
         """Add an environment or distribution to an environment"""
         new = self.__class__([], platform=None, python=None)
         for env in self, other:
@@ -1191,46 +1335,54 @@ class ExtractionError(RuntimeError):
         The exception instance that caused extraction to fail
     """
 
+    manager: ResourceManager
+    cache_path: str
+    original_error: BaseException | None
+
 
 class ResourceManager:
     """Manage resource extraction and packages"""
 
-    extraction_path = None
+    extraction_path: str | None = None
 
     def __init__(self):
         self.cached_files = {}
 
-    def resource_exists(self, package_or_requirement, resource_name):
+    def resource_exists(self, package_or_requirement: _PkgReqType, resource_name: str):
         """Does the named resource exist?"""
         return get_provider(package_or_requirement).has_resource(resource_name)
 
-    def resource_isdir(self, package_or_requirement, resource_name):
+    def resource_isdir(self, package_or_requirement: _PkgReqType, resource_name: str):
         """Is the named resource an existing directory?"""
         return get_provider(package_or_requirement).resource_isdir(resource_name)
 
-    def resource_filename(self, package_or_requirement, resource_name):
+    def resource_filename(
+        self, package_or_requirement: _PkgReqType, resource_name: str
+    ):
         """Return a true filesystem path for specified resource"""
         return get_provider(package_or_requirement).get_resource_filename(
             self, resource_name
         )
 
-    def resource_stream(self, package_or_requirement, resource_name):
+    def resource_stream(self, package_or_requirement: _PkgReqType, resource_name: str):
         """Return a readable file-like object for specified resource"""
         return get_provider(package_or_requirement).get_resource_stream(
             self, resource_name
         )
 
-    def resource_string(self, package_or_requirement, resource_name):
-        """Return specified resource as a string"""
+    def resource_string(
+        self, package_or_requirement: _PkgReqType, resource_name: str
+    ) -> bytes:
+        """Return specified resource as :obj:`bytes`"""
         return get_provider(package_or_requirement).get_resource_string(
             self, resource_name
         )
 
-    def resource_listdir(self, package_or_requirement, resource_name):
+    def resource_listdir(self, package_or_requirement: _PkgReqType, resource_name: str):
         """List the contents of the named resource directory"""
         return get_provider(package_or_requirement).resource_listdir(resource_name)
 
-    def extraction_error(self):
+    def extraction_error(self) -> NoReturn:
         """Give an error message for problems extracting file(s)"""
 
         old_exc = sys.exc_info()[1]
@@ -1260,7 +1412,7 @@ class ResourceManager:
         err.original_error = old_exc
         raise err
 
-    def get_cache_path(self, archive_name, names=()):
+    def get_cache_path(self, archive_name: str, names: Iterable[StrPath] = ()):
         """Return absolute location in cache for `archive_name` and `names`
 
         The parent directory of the resulting path will be created if it does
@@ -1282,7 +1434,7 @@ class ResourceManager:
 
         self._warn_unsafe_extraction_path(extract_path)
 
-        self.cached_files[target_path] = 1
+        self.cached_files[target_path] = True
         return target_path
 
     @staticmethod
@@ -1312,7 +1464,7 @@ class ResourceManager:
             ).format(**locals())
             warnings.warn(msg, UserWarning)
 
-    def postprocess(self, tempname, filename):
+    def postprocess(self, tempname: StrOrBytesPath, filename: StrOrBytesPath):
         """Perform any platform-specific postprocessing of `tempname`
 
         This is where Mac header rewrites should be done; other platforms don't
@@ -1332,7 +1484,7 @@ class ResourceManager:
             mode = ((os.stat(tempname).st_mode) | 0o555) & 0o7777
             os.chmod(tempname, mode)
 
-    def set_extraction_path(self, path):
+    def set_extraction_path(self, path: str):
         """Set the base path where resources will be extracted to, if needed.
 
         If you do not call this routine before any extractions take place, the
@@ -1356,7 +1508,7 @@ class ResourceManager:
 
         self.extraction_path = path
 
-    def cleanup_resources(self, force=False):
+    def cleanup_resources(self, force: bool = False) -> list[str]:
         """
         Delete all extracted resource files and directories, returning a list
         of the file and directory names that could not be successfully removed.
@@ -1368,20 +1520,19 @@ class ResourceManager:
         directory used for extractions.
         """
         # XXX
+        return []
 
 
-def get_default_cache():
+def get_default_cache() -> str:
     """
     Return the ``PYTHON_EGG_CACHE`` environment variable
     or a platform-relevant user cache dir for an app
     named "Python-Eggs".
     """
-    return os.environ.get('PYTHON_EGG_CACHE') or platformdirs.user_cache_dir(
-        appname='Python-Eggs'
-    )
+    return os.environ.get('PYTHON_EGG_CACHE') or _user_cache_dir(appname='Python-Eggs')
 
 
-def safe_name(name):
+def safe_name(name: str):
     """Convert an arbitrary string to a standard distribution name
 
     Any runs of non-alphanumeric/. characters are replaced with a single '-'.
@@ -1389,14 +1540,14 @@ def safe_name(name):
     return re.sub('[^A-Za-z0-9.]+', '-', name)
 
 
-def safe_version(version):
+def safe_version(version: str):
     """
     Convert an arbitrary string to a standard version string
     """
     try:
         # normalize the version
-        return str(packaging.version.Version(version))
-    except packaging.version.InvalidVersion:
+        return str(_packaging_version.Version(version))
+    except _packaging_version.InvalidVersion:
         version = version.replace(' ', '.')
         return re.sub('[^A-Za-z0-9.]+', '-', version)
 
@@ -1418,7 +1569,7 @@ def _forgiving_version(version):
     match = _PEP440_FALLBACK.search(version)
     if match:
         safe = match["safe"]
-        rest = version[len(safe):]
+        rest = version[len(safe) :]
     else:
         safe = "0"
         rest = version
@@ -1433,7 +1584,7 @@ def _safe_segment(segment):
     return re.sub(r'\.[^A-Za-z0-9]+', '.', segment).strip(".-")
 
 
-def safe_extra(extra):
+def safe_extra(extra: str):
     """Convert an arbitrary string to a standard 'extra' name
 
     Any runs of non-alphanumeric characters are replaced with a single '_',
@@ -1442,7 +1593,7 @@ def safe_extra(extra):
     return re.sub('[^A-Za-z0-9.-]+', '_', extra).lower()
 
 
-def to_filename(name):
+def to_filename(name: str):
     """Convert a project or version name to its filename-escaped form
 
     Any '-' characters are currently replaced with '_'.
@@ -1450,7 +1601,7 @@ def to_filename(name):
     return name.replace('-', '_')
 
 
-def invalid_marker(text):
+def invalid_marker(text: str):
     """
     Validate text as a PEP 508 environment marker; return an exception
     if invalid or False otherwise.
@@ -1464,7 +1615,7 @@ def invalid_marker(text):
     return False
 
 
-def evaluate_marker(text, extra=None):
+def evaluate_marker(text: str, extra: str | None = None) -> bool:
     """
     Evaluate a PEP 508 environment marker.
     Return a boolean indicating the marker result in this environment.
@@ -1473,46 +1624,48 @@ def evaluate_marker(text, extra=None):
     This implementation uses the 'pyparsing' module.
     """
     try:
-        marker = packaging.markers.Marker(text)
+        marker = _packaging_markers.Marker(text)
         return marker.evaluate()
-    except packaging.markers.InvalidMarker as e:
+    except _packaging_markers.InvalidMarker as e:
         raise SyntaxError(e) from e
 
 
 class NullProvider:
     """Try to implement resources and metadata for arbitrary PEP 302 loaders"""
 
-    egg_name = None
-    egg_info = None
-    loader = None
+    egg_name: str | None = None
+    egg_info: str | None = None
+    loader: _LoaderProtocol | None = None
 
-    def __init__(self, module):
+    def __init__(self, module: _ModuleLike):
         self.loader = getattr(module, '__loader__', None)
         self.module_path = os.path.dirname(getattr(module, '__file__', ''))
 
-    def get_resource_filename(self, manager, resource_name):
+    def get_resource_filename(self, manager: ResourceManager, resource_name: str):
         return self._fn(self.module_path, resource_name)
 
-    def get_resource_stream(self, manager, resource_name):
+    def get_resource_stream(self, manager: ResourceManager, resource_name: str):
         return io.BytesIO(self.get_resource_string(manager, resource_name))
 
-    def get_resource_string(self, manager, resource_name):
+    def get_resource_string(
+        self, manager: ResourceManager, resource_name: str
+    ) -> bytes:
         return self._get(self._fn(self.module_path, resource_name))
 
-    def has_resource(self, resource_name):
+    def has_resource(self, resource_name: str):
         return self._has(self._fn(self.module_path, resource_name))
 
     def _get_metadata_path(self, name):
         return self._fn(self.egg_info, name)
 
-    def has_metadata(self, name):
+    def has_metadata(self, name: str) -> bool:
         if not self.egg_info:
-            return self.egg_info
+            return False
 
         path = self._get_metadata_path(name)
         return self._has(path)
 
-    def get_metadata(self, name):
+    def get_metadata(self, name: str):
         if not self.egg_info:
             return ""
         path = self._get_metadata_path(name)
@@ -1525,24 +1678,24 @@ class NullProvider:
             exc.reason += ' in {} file at path: {}'.format(name, path)
             raise
 
-    def get_metadata_lines(self, name):
+    def get_metadata_lines(self, name: str) -> Iterator[str]:
         return yield_lines(self.get_metadata(name))
 
-    def resource_isdir(self, resource_name):
+    def resource_isdir(self, resource_name: str):
         return self._isdir(self._fn(self.module_path, resource_name))
 
-    def metadata_isdir(self, name):
-        return self.egg_info and self._isdir(self._fn(self.egg_info, name))
+    def metadata_isdir(self, name: str) -> bool:
+        return bool(self.egg_info and self._isdir(self._fn(self.egg_info, name)))
 
-    def resource_listdir(self, resource_name):
+    def resource_listdir(self, resource_name: str):
         return self._listdir(self._fn(self.module_path, resource_name))
 
-    def metadata_listdir(self, name):
+    def metadata_listdir(self, name: str) -> list[str]:
         if self.egg_info:
             return self._listdir(self._fn(self.egg_info, name))
         return []
 
-    def run_script(self, script_name, namespace):
+    def run_script(self, script_name: str, namespace: dict[str, Any]):
         script = 'scripts/' + script_name
         if not self.has_metadata(script):
             raise ResolutionError(
@@ -1550,13 +1703,13 @@ class NullProvider:
                     **locals()
                 ),
             )
+
         script_text = self.get_metadata(script).replace('\r\n', '\n')
         script_text = script_text.replace('\r', '\n')
         script_filename = self._fn(self.egg_info, script)
         namespace['__file__'] = script_filename
         if os.path.exists(script_filename):
-            with open(script_filename) as fid:
-                source = fid.read()
+            source = _read_utf8_with_fallback(script_filename)
             code = compile(source, script_filename, 'exec')
             exec(code, namespace, namespace)
         else:
@@ -1571,22 +1724,26 @@ class NullProvider:
             script_code = compile(script_text, script_filename, 'exec')
             exec(script_code, namespace, namespace)
 
-    def _has(self, path):
+    def _has(self, path) -> bool:
         raise NotImplementedError(
             "Can't perform this operation for unregistered loader type"
         )
 
-    def _isdir(self, path):
+    def _isdir(self, path) -> bool:
         raise NotImplementedError(
             "Can't perform this operation for unregistered loader type"
         )
 
-    def _listdir(self, path):
+    def _listdir(self, path) -> list[str]:
         raise NotImplementedError(
             "Can't perform this operation for unregistered loader type"
         )
 
-    def _fn(self, base, resource_name):
+    def _fn(self, base: str | None, resource_name: str):
+        if base is None:
+            raise TypeError(
+                "`base` parameter in `_fn` is `None`. Either override this method or check the parameter first."
+            )
         self._validate_resource_path(resource_name)
         if resource_name:
             return os.path.join(base, *resource_name.split('/'))
@@ -1649,6 +1806,7 @@ is not allowed.
             os.path.pardir in path.split(posixpath.sep)
             or posixpath.isabs(path)
             or ntpath.isabs(path)
+            or path.startswith("\\")
         )
         if not invalid:
             return
@@ -1656,7 +1814,7 @@ is not allowed.
         msg = "Use of .. or absolute path in a resource path is not allowed."
 
         # Aggressively disallow Windows absolute paths
-        if ntpath.isabs(path) and not posixpath.isabs(path):
+        if (path.startswith("\\") or ntpath.isabs(path)) and not posixpath.isabs(path):
             raise ValueError(msg)
 
         # for compatibility, warn; in future
@@ -1666,9 +1824,10 @@ is not allowed.
             DeprecationWarning,
         )
 
-    def _get(self, path):
-        if hasattr(self.loader, 'get_data'):
-            return self.loader.get_data(path)
+    def _get(self, path) -> bytes:
+        if hasattr(self.loader, 'get_data') and self.loader:
+            # Already checked get_data exists
+            return self.loader.get_data(path)  # type: ignore[attr-defined]
         raise NotImplementedError(
             "Can't perform this operation for loaders without 'get_data()'"
         )
@@ -1691,7 +1850,7 @@ def _parents(path):
 class EggProvider(NullProvider):
     """Provider based on a virtual filesystem"""
 
-    def __init__(self, module):
+    def __init__(self, module: _ModuleLike):
         super().__init__(module)
         self._setup_prefix()
 
@@ -1702,7 +1861,7 @@ class EggProvider(NullProvider):
         egg = next(eggs, None)
         egg and self._set_egg(egg)
 
-    def _set_egg(self, path):
+    def _set_egg(self, path: str):
         self.egg_name = os.path.basename(path)
         self.egg_info = os.path.join(path, 'EGG-INFO')
         self.egg_root = path
@@ -1711,19 +1870,19 @@ class EggProvider(NullProvider):
 class DefaultProvider(EggProvider):
     """Provides access to package resources in the filesystem"""
 
-    def _has(self, path):
+    def _has(self, path) -> bool:
         return os.path.exists(path)
 
-    def _isdir(self, path):
+    def _isdir(self, path) -> bool:
         return os.path.isdir(path)
 
     def _listdir(self, path):
         return os.listdir(path)
 
-    def get_resource_stream(self, manager, resource_name):
+    def get_resource_stream(self, manager: object, resource_name: str):
         return open(self._fn(self.module_path, resource_name), 'rb')
 
-    def _get(self, path):
+    def _get(self, path) -> bytes:
         with open(path, 'rb') as stream:
             return stream.read()
 
@@ -1734,7 +1893,7 @@ class DefaultProvider(EggProvider):
             'SourcelessFileLoader',
         )
         for name in loader_names:
-            loader_cls = getattr(importlib_machinery, name, type(None))
+            loader_cls = getattr(importlib.machinery, name, type(None))
             register_loader_type(loader_cls, cls)
 
 
@@ -1744,12 +1903,13 @@ DefaultProvider._register()
 class EmptyProvider(NullProvider):
     """Provider that returns nothing for all requests"""
 
-    module_path = None
+    # A special case, we don't want all Providers inheriting from NullProvider to have a potentially None module_path
+    module_path: str | None = None  # type: ignore[assignment]
 
     _isdir = _has = lambda self, path: False
 
-    def _get(self, path):
-        return ''
+    def _get(self, path) -> bytes:
+        return b''
 
     def _listdir(self, path):
         return []
@@ -1761,13 +1921,14 @@ class EmptyProvider(NullProvider):
 empty_provider = EmptyProvider()
 
 
-class ZipManifests(dict):
+class ZipManifests(Dict[str, "MemoizedZipManifests.manifest_mod"]):
     """
     zip manifest builder
     """
 
+    # `path` could be `StrPath | IO[bytes]` but that violates the LSP for `MemoizedZipManifests.load`
     @classmethod
-    def build(cls, path):
+    def build(cls, path: str):
         """
         Build a dictionary similar to the zipimport directory
         caches, except instead of tuples, store ZipInfo objects.
@@ -1793,9 +1954,11 @@ class MemoizedZipManifests(ZipManifests):
     Memoized zipfile manifests.
     """
 
-    manifest_mod = collections.namedtuple('manifest_mod', 'manifest mtime')
+    class manifest_mod(NamedTuple):
+        manifest: dict[str, zipfile.ZipInfo]
+        mtime: float
 
-    def load(self, path):
+    def load(self, path: str) -> dict[str, zipfile.ZipInfo]:  # type: ignore[override] # ZipManifests.load is a classmethod
         """
         Load a manifest at path or return a suitable manifest already loaded.
         """
@@ -1812,10 +1975,12 @@ class MemoizedZipManifests(ZipManifests):
 class ZipProvider(EggProvider):
     """Resource support for zips and eggs"""
 
-    eagers = None
+    eagers: list[str] | None = None
     _zip_manifests = MemoizedZipManifests()
+    # ZipProvider's loader should always be a zipimporter or equivalent
+    loader: zipimport.zipimporter
 
-    def __init__(self, module):
+    def __init__(self, module: _ZipLoaderModule):
         super().__init__(module)
         self.zip_pre = self.loader.archive + os.sep
 
@@ -1841,7 +2006,7 @@ class ZipProvider(EggProvider):
     def zipinfo(self):
         return self._zip_manifests.load(self.loader.archive)
 
-    def get_resource_filename(self, manager, resource_name):
+    def get_resource_filename(self, manager: ResourceManager, resource_name: str):
         if not self.egg_name:
             raise NotImplementedError(
                 "resource_filename() only supported for .egg, not .zip"
@@ -1864,7 +2029,7 @@ class ZipProvider(EggProvider):
         return timestamp, size
 
     # FIXME: 'ZipProvider._extract_resource' is too complex (12)
-    def _extract_resource(self, manager, zip_path):  # noqa: C901
+    def _extract_resource(self, manager: ResourceManager, zip_path) -> str:  # noqa: C901
         if zip_path in self._index():
             for name in self._index()[zip_path]:
                 last = self._extract_resource(manager, os.path.join(zip_path, name))
@@ -1874,10 +2039,14 @@ class ZipProvider(EggProvider):
         timestamp, size = self._get_date_and_size(self.zipinfo[zip_path])
 
         if not WRITE_SUPPORT:
-            raise IOError(
-                '"os.rename" and "os.unlink" are not supported ' 'on this platform'
+            raise OSError(
+                '"os.rename" and "os.unlink" are not supported on this platform'
             )
         try:
+            if not self.egg_name:
+                raise OSError(
+                    '"egg_name" is empty. This likely means no egg could be found from the "module_path".'
+                )
             real_path = manager.get_cache_path(self.egg_name, self._parts(zip_path))
 
             if self._is_current(real_path, zip_path):
@@ -1895,7 +2064,7 @@ class ZipProvider(EggProvider):
             try:
                 rename(tmpnam, real_path)
 
-            except os.error:
+            except OSError:
                 if os.path.isfile(real_path):
                     if self._is_current(real_path, zip_path):
                         # the file became current since it was checked above,
@@ -1908,7 +2077,7 @@ class ZipProvider(EggProvider):
                         return real_path
                 raise
 
-        except os.error:
+        except OSError:
             # report a user-friendly error
             manager.extraction_error()
 
@@ -1956,20 +2125,20 @@ class ZipProvider(EggProvider):
             self._dirindex = ind
             return ind
 
-    def _has(self, fspath):
+    def _has(self, fspath) -> bool:
         zip_path = self._zipinfo_name(fspath)
         return zip_path in self.zipinfo or zip_path in self._index()
 
-    def _isdir(self, fspath):
+    def _isdir(self, fspath) -> bool:
         return self._zipinfo_name(fspath) in self._index()
 
     def _listdir(self, fspath):
         return list(self._index().get(self._zipinfo_name(fspath), ()))
 
-    def _eager_to_zip(self, resource_name):
+    def _eager_to_zip(self, resource_name: str):
         return self._zipinfo_name(self._fn(self.egg_root, resource_name))
 
-    def _resource_to_zip(self, resource_name):
+    def _resource_to_zip(self, resource_name: str):
         return self._zipinfo_name(self._fn(self.module_path, resource_name))
 
 
@@ -1988,20 +2157,20 @@ class FileMetadata(EmptyProvider):
     the provided location.
     """
 
-    def __init__(self, path):
+    def __init__(self, path: StrPath):
         self.path = path
 
     def _get_metadata_path(self, name):
         return self.path
 
-    def has_metadata(self, name):
+    def has_metadata(self, name: str) -> bool:
         return name == 'PKG-INFO' and os.path.isfile(self.path)
 
-    def get_metadata(self, name):
+    def get_metadata(self, name: str):
         if name != 'PKG-INFO':
             raise KeyError("No metadata except PKG-INFO is available")
 
-        with io.open(self.path, encoding='utf-8', errors="replace") as f:
+        with open(self.path, encoding='utf-8', errors="replace") as f:
             metadata = f.read()
         self._warn_on_replacement(metadata)
         return metadata
@@ -2013,7 +2182,7 @@ class FileMetadata(EmptyProvider):
             msg = tmpl.format(**locals())
             warnings.warn(msg)
 
-    def get_metadata_lines(self, name):
+    def get_metadata_lines(self, name: str) -> Iterator[str]:
         return yield_lines(self.get_metadata(name))
 
 
@@ -2037,7 +2206,7 @@ class PathMetadata(DefaultProvider):
         dist = Distribution.from_filename(egg_path, metadata=metadata)
     """
 
-    def __init__(self, path, egg_info):
+    def __init__(self, path: str, egg_info: str):
         self.module_path = path
         self.egg_info = egg_info
 
@@ -2045,7 +2214,7 @@ class PathMetadata(DefaultProvider):
 class EggMetadata(ZipProvider):
     """Metadata provider for .egg files"""
 
-    def __init__(self, importer):
+    def __init__(self, importer: zipimport.zipimporter):
         """Create a metadata provider from a zipimporter"""
 
         self.zip_pre = importer.archive + os.sep
@@ -2057,10 +2226,12 @@ class EggMetadata(ZipProvider):
         self._setup_prefix()
 
 
-_declare_state('dict', _distribution_finders={})
+_distribution_finders: dict[type, _DistFinderType[Any]] = _declare_state(
+    'dict', '_distribution_finders', {}
+)
 
 
-def register_finder(importer_type, distribution_finder):
+def register_finder(importer_type: type[_T], distribution_finder: _DistFinderType[_T]):
     """Register `distribution_finder` to find distributions in sys.path items
 
     `importer_type` is the type or class of a PEP 302 "Importer" (sys.path item
@@ -2070,14 +2241,16 @@ def register_finder(importer_type, distribution_finder):
     _distribution_finders[importer_type] = distribution_finder
 
 
-def find_distributions(path_item, only=False):
+def find_distributions(path_item: str, only: bool = False):
     """Yield distributions accessible via `path_item`"""
     importer = get_importer(path_item)
     finder = _find_adapter(_distribution_finders, importer)
     return finder(importer, path_item, only)
 
 
-def find_eggs_in_zip(importer, path_item, only=False):
+def find_eggs_in_zip(
+    importer: zipimport.zipimporter, path_item: str, only: bool = False
+) -> Iterator[Distribution]:
     """
     Find eggs in zip files; possibly multiple nested eggs.
     """
@@ -2095,8 +2268,7 @@ def find_eggs_in_zip(importer, path_item, only=False):
         if _is_egg_path(subitem):
             subpath = os.path.join(path_item, subitem)
             dists = find_eggs_in_zip(zipimport.zipimporter(subpath), subpath)
-            for dist in dists:
-                yield dist
+            yield from dists
         elif subitem.lower().endswith(('.dist-info', '.egg-info')):
             subpath = os.path.join(path_item, subitem)
             submeta = EggMetadata(zipimport.zipimporter(subpath))
@@ -2107,14 +2279,16 @@ def find_eggs_in_zip(importer, path_item, only=False):
 register_finder(zipimport.zipimporter, find_eggs_in_zip)
 
 
-def find_nothing(importer, path_item, only=False):
+def find_nothing(
+    importer: object | None, path_item: str | None, only: bool | None = False
+):
     return ()
 
 
 register_finder(object, find_nothing)
 
 
-def find_on_path(importer, path_item, only=False):
+def find_on_path(importer: object | None, path_item, only=False):
     """Yield distributions accessible on a sys.path directory"""
     path_item = _normalize_cached(path_item)
 
@@ -2131,8 +2305,7 @@ def find_on_path(importer, path_item, only=False):
     for entry in sorted(entries):
         fullpath = os.path.join(path_item, entry)
         factory = dist_factory(path_item, entry, only)
-        for dist in factory(fullpath):
-            yield dist
+        yield from factory(fullpath)
 
 
 def dist_factory(path_item, entry, only):
@@ -2170,7 +2343,7 @@ class NoDists:
         return iter(())
 
 
-def safe_listdir(path):
+def safe_listdir(path: StrOrBytesPath):
     """
     Attempt to list contents of path, but suppress some exceptions.
     """
@@ -2186,13 +2359,13 @@ def safe_listdir(path):
     return ()
 
 
-def distributions_from_metadata(path):
+def distributions_from_metadata(path: str):
     root = os.path.dirname(path)
     if os.path.isdir(path):
         if len(os.listdir(path)) == 0:
             # empty metadata dir; skip
             return
-        metadata = PathMetadata(root, path)
+        metadata: _MetadataType = PathMetadata(root, path)
     else:
         metadata = FileMetadata(path)
     entry = os.path.basename(path)
@@ -2208,11 +2381,10 @@ def non_empty_lines(path):
     """
     Yield non-empty lines from file at path
     """
-    with open(path) as f:
-        for line in f:
-            line = line.strip()
-            if line:
-                yield line
+    for line in _read_utf8_with_fallback(path).splitlines():
+        line = line.strip()
+        if line:
+            yield line
 
 
 def resolve_egg_link(path):
@@ -2231,13 +2403,19 @@ def resolve_egg_link(path):
 if hasattr(pkgutil, 'ImpImporter'):
     register_finder(pkgutil.ImpImporter, find_on_path)
 
-register_finder(importlib_machinery.FileFinder, find_on_path)
+register_finder(importlib.machinery.FileFinder, find_on_path)
 
-_declare_state('dict', _namespace_handlers={})
-_declare_state('dict', _namespace_packages={})
+_namespace_handlers: dict[type, _NSHandlerType[Any]] = _declare_state(
+    'dict', '_namespace_handlers', {}
+)
+_namespace_packages: dict[str | None, list[str]] = _declare_state(
+    'dict', '_namespace_packages', {}
+)
 
 
-def register_namespace_handler(importer_type, namespace_handler):
+def register_namespace_handler(
+    importer_type: type[_T], namespace_handler: _NSHandlerType[_T]
+):
     """Register `namespace_handler` to declare namespace packages
 
     `importer_type` is the type or class of a PEP 302 "Importer" (sys.path item
@@ -2292,7 +2470,7 @@ def _handle_ns(packageName, path_item):
     return subpath
 
 
-def _rebuild_mod_path(orig_path, package_name, module):
+def _rebuild_mod_path(orig_path, package_name, module: types.ModuleType):
     """
     Rebuild module.__path__ ensuring that all entries are ordered
     corresponding to their sys.path order
@@ -2326,7 +2504,7 @@ def _rebuild_mod_path(orig_path, package_name, module):
         module.__path__ = new_path
 
 
-def declare_namespace(packageName):
+def declare_namespace(packageName: str):
     """Declare that package 'packageName' is a namespace package"""
 
     msg = (
@@ -2343,7 +2521,7 @@ def declare_namespace(packageName):
         if packageName in _namespace_packages:
             return
 
-        path = sys.path
+        path: MutableSequence[str] = sys.path
         parent, _, _ = packageName.rpartition('.')
 
         if parent:
@@ -2369,7 +2547,7 @@ def declare_namespace(packageName):
         _imp.release_lock()
 
 
-def fixup_namespace_packages(path_item, parent=None):
+def fixup_namespace_packages(path_item: str, parent: str | None = None):
     """Ensure that previously-declared namespace packages include path_item"""
     _imp.acquire_lock()
     try:
@@ -2381,7 +2559,12 @@ def fixup_namespace_packages(path_item, parent=None):
         _imp.release_lock()
 
 
-def file_ns_handler(importer, path_item, packageName, module):
+def file_ns_handler(
+    importer: object,
+    path_item: StrPath,
+    packageName: str,
+    module: types.ModuleType,
+):
     """Compute an ns-package subpath for a filesystem or zipfile importer"""
 
     subpath = os.path.join(path_item, packageName.split('.')[-1])
@@ -2398,22 +2581,31 @@ if hasattr(pkgutil, 'ImpImporter'):
     register_namespace_handler(pkgutil.ImpImporter, file_ns_handler)
 
 register_namespace_handler(zipimport.zipimporter, file_ns_handler)
-register_namespace_handler(importlib_machinery.FileFinder, file_ns_handler)
+register_namespace_handler(importlib.machinery.FileFinder, file_ns_handler)
 
 
-def null_ns_handler(importer, path_item, packageName, module):
+def null_ns_handler(
+    importer: object,
+    path_item: str | None,
+    packageName: str | None,
+    module: _ModuleLike | None,
+):
     return None
 
 
 register_namespace_handler(object, null_ns_handler)
 
 
-def normalize_path(filename):
+@overload
+def normalize_path(filename: StrPath) -> str: ...
+@overload
+def normalize_path(filename: BytesPath) -> bytes: ...
+def normalize_path(filename: StrOrBytesPath):
     """Normalize a file/dir name for comparison purposes"""
     return os.path.normcase(os.path.realpath(os.path.normpath(_cygwin_patch(filename))))
 
 
-def _cygwin_patch(filename):  # pragma: nocover
+def _cygwin_patch(filename: StrOrBytesPath):  # pragma: nocover
     """
     Contrary to POSIX 2008, on Cygwin, getcwd (3) contains
     symlink components. Using
@@ -2424,12 +2616,19 @@ def _cygwin_patch(filename):  # pragma: nocover
     return os.path.abspath(filename) if sys.platform == 'cygwin' else filename
 
 
-def _normalize_cached(filename, _cache={}):
-    try:
-        return _cache[filename]
-    except KeyError:
-        _cache[filename] = result = normalize_path(filename)
-        return result
+if TYPE_CHECKING:
+    # https://github.com/python/mypy/issues/16261
+    # https://github.com/python/typeshed/issues/6347
+    @overload
+    def _normalize_cached(filename: StrPath) -> str: ...
+    @overload
+    def _normalize_cached(filename: BytesPath) -> bytes: ...
+    def _normalize_cached(filename: StrOrBytesPath) -> str | bytes: ...
+else:
+
+    @functools.lru_cache(maxsize=None)
+    def _normalize_cached(filename):
+        return normalize_path(filename)
 
 
 def _is_egg_path(path):
@@ -2482,7 +2681,14 @@ EGG_NAME = re.compile(
 class EntryPoint:
     """Object representing an advertised importable object"""
 
-    def __init__(self, name, module_name, attrs=(), extras=(), dist=None):
+    def __init__(
+        self,
+        name: str,
+        module_name: str,
+        attrs: Iterable[str] = (),
+        extras: Iterable[str] = (),
+        dist: Distribution | None = None,
+    ):
         if not MODULE(module_name):
             raise ValueError("Invalid module name", module_name)
         self.name = name
@@ -2502,7 +2708,26 @@ class EntryPoint:
     def __repr__(self):
         return "EntryPoint.parse(%r)" % str(self)
 
-    def load(self, require=True, *args, **kwargs):
+    @overload
+    def load(
+        self,
+        require: Literal[True] = True,
+        env: Environment | None = None,
+        installer: _InstallerType | None = None,
+    ) -> _ResolvedEntryPoint: ...
+    @overload
+    def load(
+        self,
+        require: Literal[False],
+        *args: Any,
+        **kwargs: Any,
+    ) -> _ResolvedEntryPoint: ...
+    def load(
+        self,
+        require: bool = True,
+        *args: Environment | _InstallerType | None,
+        **kwargs: Environment | _InstallerType | None,
+    ) -> _ResolvedEntryPoint:
         """
         Require packages for this EntryPoint, then resolve it.
         """
@@ -2514,10 +2739,12 @@ class EntryPoint:
                 stacklevel=2,
             )
         if require:
-            self.require(*args, **kwargs)
+            # We could pass `env` and `installer` directly,
+            # but keeping `*args` and `**kwargs` for backwards compatibility
+            self.require(*args, **kwargs)  # type: ignore
         return self.resolve()
 
-    def resolve(self):
+    def resolve(self) -> _ResolvedEntryPoint:
         """
         Resolve the entry point from its module and attrs.
         """
@@ -2527,9 +2754,14 @@ class EntryPoint:
         except AttributeError as exc:
             raise ImportError(str(exc)) from exc
 
-    def require(self, env=None, installer=None):
-        if self.extras and not self.dist:
-            raise UnknownExtra("Can't require() without a distribution", self)
+    def require(
+        self,
+        env: Environment | None = None,
+        installer: _InstallerType | None = None,
+    ):
+        if not self.dist:
+            error_cls = UnknownExtra if self.extras else AttributeError
+            raise error_cls("Can't require() without a distribution", self)
 
         # Get the requirements for this entry point with all its extras and
         # then resolve them. We have to pass `extras` along when resolving so
@@ -2550,7 +2782,7 @@ class EntryPoint:
     )
 
     @classmethod
-    def parse(cls, src, dist=None):
+    def parse(cls, src: str, dist: Distribution | None = None):
         """Parse a single entry point from string `src`
 
         Entry point syntax follows the form::
@@ -2575,15 +2807,20 @@ class EntryPoint:
             return ()
         req = Requirement.parse('x' + extras_spec)
         if req.specs:
-            raise ValueError()
+            raise ValueError
         return req.extras
 
     @classmethod
-    def parse_group(cls, group, lines, dist=None):
+    def parse_group(
+        cls,
+        group: str,
+        lines: _NestedStr,
+        dist: Distribution | None = None,
+    ):
         """Parse an entry point group"""
         if not MODULE(group):
             raise ValueError("Invalid group name", group)
-        this = {}
+        this: dict[str, Self] = {}
         for line in yield_lines(lines):
             ep = cls.parse(line, dist)
             if ep.name in this:
@@ -2592,14 +2829,19 @@ class EntryPoint:
         return this
 
     @classmethod
-    def parse_map(cls, data, dist=None):
+    def parse_map(
+        cls,
+        data: str | Iterable[str] | dict[str, str | Iterable[str]],
+        dist: Distribution | None = None,
+    ):
         """Parse a map of entry point groups"""
+        _data: Iterable[tuple[str | None, str | Iterable[str]]]
         if isinstance(data, dict):
-            data = data.items()
+            _data = data.items()
         else:
-            data = split_sections(data)
-        maps = {}
-        for group, lines in data:
+            _data = split_sections(data)
+        maps: dict[str, dict[str, Self]] = {}
+        for group, lines in _data:
             if group is None:
                 if not lines:
                     continue
@@ -2633,13 +2875,13 @@ class Distribution:
 
     def __init__(
         self,
-        location=None,
-        metadata=None,
-        project_name=None,
-        version=None,
-        py_version=PY_MAJOR,
-        platform=None,
-        precedence=EGG_DIST,
+        location: str | None = None,
+        metadata: _MetadataType = None,
+        project_name: str | None = None,
+        version: str | None = None,
+        py_version: str | None = PY_MAJOR,
+        platform: str | None = None,
+        precedence: int = EGG_DIST,
     ):
         self.project_name = safe_name(project_name or 'Unknown')
         if version is not None:
@@ -2651,7 +2893,13 @@ class Distribution:
         self._provider = metadata or empty_provider
 
     @classmethod
-    def from_location(cls, location, basename, metadata=None, **kw):
+    def from_location(
+        cls,
+        location: str,
+        basename: StrPath,
+        metadata: _MetadataType = None,
+        **kw: int,  # We could set `precedence` explicitly, but keeping this as `**kw` for full backwards and subclassing compatibility
+    ) -> Distribution:
         project_name, version, py_version, platform = [None] * 4
         basename, ext = os.path.splitext(basename)
         if ext.lower() in _distributionImpl:
@@ -2689,25 +2937,25 @@ class Distribution:
     def __hash__(self):
         return hash(self.hashcmp)
 
-    def __lt__(self, other):
+    def __lt__(self, other: Distribution):
         return self.hashcmp < other.hashcmp
 
-    def __le__(self, other):
+    def __le__(self, other: Distribution):
         return self.hashcmp <= other.hashcmp
 
-    def __gt__(self, other):
+    def __gt__(self, other: Distribution):
         return self.hashcmp > other.hashcmp
 
-    def __ge__(self, other):
+    def __ge__(self, other: Distribution):
         return self.hashcmp >= other.hashcmp
 
-    def __eq__(self, other):
+    def __eq__(self, other: object):
         if not isinstance(other, self.__class__):
             # It's not a Distribution, so they are not equal
             return False
         return self.hashcmp == other.hashcmp
 
-    def __ne__(self, other):
+    def __ne__(self, other: object):
         return not self == other
 
     # These properties have to be lazy so that we don't have to load any
@@ -2727,12 +2975,12 @@ class Distribution:
         if not hasattr(self, "_parsed_version"):
             try:
                 self._parsed_version = parse_version(self.version)
-            except packaging.version.InvalidVersion as ex:
+            except _packaging_version.InvalidVersion as ex:
                 info = f"(package: {self.project_name})"
                 if hasattr(ex, "add_note"):
                     ex.add_note(info)  # PEP 678
                     raise
-                raise packaging.version.InvalidVersion(f"{str(ex)} {info}") from None
+                raise _packaging_version.InvalidVersion(f"{str(ex)} {info}") from None
 
         return self._parsed_version
 
@@ -2740,7 +2988,7 @@ class Distribution:
     def _forgiving_parsed_version(self):
         try:
             return self.parsed_version
-        except packaging.version.InvalidVersion as ex:
+        except _packaging_version.InvalidVersion as ex:
             self._parsed_version = parse_version(_forgiving_version(self.version))
 
             notes = "\n".join(getattr(ex, "__notes__", []))  # PEP 678
@@ -2790,14 +3038,14 @@ class Distribution:
         return self.__dep_map
 
     @staticmethod
-    def _filter_extras(dm):
+    def _filter_extras(dm: dict[str | None, list[Requirement]]):
         """
         Given a mapping of extras to dependencies, strip off
         environment markers and filter out any dependencies
         not matching the markers.
         """
         for extra in list(filter(None, dm)):
-            new_extra = extra
+            new_extra: str | None = extra
             reqs = dm.pop(extra)
             new_extra, _, marker = extra.partition(':')
             fails_marker = marker and (
@@ -2817,10 +3065,10 @@ class Distribution:
                 dm.setdefault(extra, []).extend(parse_requirements(reqs))
         return dm
 
-    def requires(self, extras=()):
+    def requires(self, extras: Iterable[str] = ()):
         """List of Requirements needed for this distro if `extras` are used"""
         dm = self._dep_map
-        deps = []
+        deps: list[Requirement] = []
         deps.extend(dm.get(None, ()))
         for ext in extras:
             try:
@@ -2850,21 +3098,18 @@ class Distribution:
 
     def _get_metadata(self, name):
         if self.has_metadata(name):
-            for line in self.get_metadata_lines(name):
-                yield line
+            yield from self.get_metadata_lines(name)
 
     def _get_version(self):
         lines = self._get_metadata(self.PKG_INFO)
-        version = _version_from_file(lines)
+        return _version_from_file(lines)
 
-        return version
-
-    def activate(self, path=None, replace=False):
+    def activate(self, path: list[str] | None = None, replace: bool = False):
         """Ensure distribution is importable on `path` (default=sys.path)"""
         if path is None:
             path = sys.path
         self.insert_on(path, replace=replace)
-        if path is sys.path:
+        if path is sys.path and self.location is not None:
             fixup_namespace_packages(self.location)
             for pkg in self._get_metadata('namespace_packages.txt'):
                 if pkg in sys.modules:
@@ -2904,50 +3149,62 @@ class Distribution:
 
     def __dir__(self):
         return list(
-            set(super(Distribution, self).__dir__())
+            set(super().__dir__())
             | set(attr for attr in self._provider.__dir__() if not attr.startswith('_'))
         )
 
     @classmethod
-    def from_filename(cls, filename, metadata=None, **kw):
+    def from_filename(
+        cls,
+        filename: StrPath,
+        metadata: _MetadataType = None,
+        **kw: int,  # We could set `precedence` explicitly, but keeping this as `**kw` for full backwards and subclassing compatibility
+    ):
         return cls.from_location(
             _normalize_cached(filename), os.path.basename(filename), metadata, **kw
         )
 
     def as_requirement(self):
         """Return a ``Requirement`` that matches this distribution exactly"""
-        if isinstance(self.parsed_version, packaging.version.Version):
+        if isinstance(self.parsed_version, _packaging_version.Version):
             spec = "%s==%s" % (self.project_name, self.parsed_version)
         else:
             spec = "%s===%s" % (self.project_name, self.parsed_version)
 
         return Requirement.parse(spec)
 
-    def load_entry_point(self, group, name):
+    def load_entry_point(self, group: str, name: str) -> _ResolvedEntryPoint:
         """Return the `name` entry point of `group` or raise ImportError"""
         ep = self.get_entry_info(group, name)
         if ep is None:
             raise ImportError("Entry point %r not found" % ((group, name),))
         return ep.load()
 
-    def get_entry_map(self, group=None):
+    @overload
+    def get_entry_map(self, group: None = None) -> dict[str, dict[str, EntryPoint]]: ...
+    @overload
+    def get_entry_map(self, group: str) -> dict[str, EntryPoint]: ...
+    def get_entry_map(self, group: str | None = None):
         """Return the entry point map for `group`, or the full entry map"""
-        try:
-            ep_map = self._ep_map
-        except AttributeError:
-            ep_map = self._ep_map = EntryPoint.parse_map(
+        if not hasattr(self, "_ep_map"):
+            self._ep_map = EntryPoint.parse_map(
                 self._get_metadata('entry_points.txt'), self
             )
         if group is not None:
-            return ep_map.get(group, {})
-        return ep_map
+            return self._ep_map.get(group, {})
+        return self._ep_map
 
-    def get_entry_info(self, group, name):
+    def get_entry_info(self, group: str, name: str):
         """Return the EntryPoint object for `group`+`name`, or ``None``"""
         return self.get_entry_map(group).get(name)
 
     # FIXME: 'Distribution.insert_on' is too complex (13)
-    def insert_on(self, path, loc=None, replace=False):  # noqa: C901
+    def insert_on(  # noqa: C901
+        self,
+        path: list[str],
+        loc=None,
+        replace: bool = False,
+    ):
         """Ensure self.location is on path
 
         If replace=False (default):
@@ -3052,13 +3309,14 @@ class Distribution:
             return False
         return True
 
-    def clone(self, **kw):
+    def clone(self, **kw: str | int | IResourceProvider | None):
         """Copy this distribution, substituting in any changed keyword args"""
         names = 'project_name version py_version platform location precedence'
         for attr in names.split():
             kw.setdefault(attr, getattr(self, attr, None))
         kw.setdefault('metadata', self._provider)
-        return self.__class__(**kw)
+        # Unsafely unpacking. But keeping **kw for backwards and subclassing compatibility
+        return self.__class__(**kw)  # type:ignore[arg-type]
 
     @property
     def extras(self):
@@ -3111,11 +3369,11 @@ class DistInfoDistribution(Distribution):
             self.__dep_map = self._compute_dependencies()
             return self.__dep_map
 
-    def _compute_dependencies(self):
+    def _compute_dependencies(self) -> dict[str | None, list[Requirement]]:
         """Recompute this distribution's dependencies."""
-        dm = self.__dep_map = {None: []}
+        self.__dep_map: dict[str | None, list[Requirement]] = {None: []}
 
-        reqs = []
+        reqs: list[Requirement] = []
         # Including any condition expressions
         for req in self._parsed_pkg_info.get_all('Requires-Dist') or []:
             reqs.extend(parse_requirements(req))
@@ -3126,13 +3384,15 @@ class DistInfoDistribution(Distribution):
                     yield req
 
         common = types.MappingProxyType(dict.fromkeys(reqs_for_extra(None)))
-        dm[None].extend(common)
+        self.__dep_map[None].extend(common)
 
         for extra in self._parsed_pkg_info.get_all('Provides-Extra') or []:
             s_extra = safe_extra(extra.strip())
-            dm[s_extra] = [r for r in reqs_for_extra(extra) if r not in common]
+            self.__dep_map[s_extra] = [
+                r for r in reqs_for_extra(extra) if r not in common
+            ]
 
-        return dm
+        return self.__dep_map
 
 
 _distributionImpl = {
@@ -3155,7 +3415,7 @@ def issue_warning(*args, **kw):
     warnings.warn(stacklevel=level + 1, *args, **kw)
 
 
-def parse_requirements(strs):
+def parse_requirements(strs: _NestedStr):
     """
     Yield ``Requirement`` objects for each specification in `strs`.
 
@@ -3164,19 +3424,20 @@ def parse_requirements(strs):
     return map(Requirement, join_continuation(map(drop_comment, yield_lines(strs))))
 
 
-class RequirementParseError(packaging.requirements.InvalidRequirement):
+class RequirementParseError(_packaging_requirements.InvalidRequirement):
     "Compatibility wrapper for InvalidRequirement"
 
 
-class Requirement(packaging.requirements.Requirement):
-    def __init__(self, requirement_string):
+class Requirement(_packaging_requirements.Requirement):
+    def __init__(self, requirement_string: str):
         """DO NOT CALL THIS UNDOCUMENTED METHOD; use Requirement.parse()!"""
-        super(Requirement, self).__init__(requirement_string)
+        super().__init__(requirement_string)
         self.unsafe_name = self.name
         project_name = safe_name(self.name)
         self.project_name, self.key = project_name, project_name.lower()
         self.specs = [(spec.operator, spec.version) for spec in self.specifier]
-        self.extras = tuple(map(safe_extra, self.extras))
+        # packaging.requirements.Requirement uses a set for its extras. We use a variable-length tuple
+        self.extras: tuple[str] = tuple(map(safe_extra, self.extras))
         self.hashCmp = (
             self.key,
             self.url,
@@ -3186,13 +3447,13 @@ class Requirement(packaging.requirements.Requirement):
         )
         self.__hash = hash(self.hashCmp)
 
-    def __eq__(self, other):
+    def __eq__(self, other: object):
         return isinstance(other, Requirement) and self.hashCmp == other.hashCmp
 
     def __ne__(self, other):
         return not self == other
 
-    def __contains__(self, item):
+    def __contains__(self, item: Distribution | str | tuple[str, ...]) -> bool:
         if isinstance(item, Distribution):
             if item.key != self.key:
                 return False
@@ -3211,7 +3472,7 @@ class Requirement(packaging.requirements.Requirement):
         return "Requirement.parse(%r)" % str(self)
 
     @staticmethod
-    def parse(s):
+    def parse(s: str | Iterable[str]):
         (req,) = parse_requirements(s)
         return req
 
@@ -3226,15 +3487,18 @@ def _always_object(classes):
     return classes
 
 
-def _find_adapter(registry, ob):
+def _find_adapter(registry: Mapping[type, _AdapterT], ob: object) -> _AdapterT:
     """Return an adapter factory for `ob` from `registry`"""
     types = _always_object(inspect.getmro(getattr(ob, '__class__', type(ob))))
     for t in types:
         if t in registry:
             return registry[t]
+    # _find_adapter would previously return None, and immediately be called.
+    # So we're raising a TypeError to keep backward compatibility if anyone depended on that behaviour.
+    raise TypeError(f"Could not find adapter for {registry} and {ob}")
 
 
-def ensure_directory(path):
+def ensure_directory(path: StrOrBytesPath):
     """Ensure that the parent directory of `path` exists"""
     dirname = os.path.dirname(path)
     os.makedirs(dirname, exist_ok=True)
@@ -3243,7 +3507,7 @@ def ensure_directory(path):
 def _bypass_ensure_directory(path):
     """Sandbox-bypassing version of ensure_directory()"""
     if not WRITE_SUPPORT:
-        raise IOError('"os.mkdir" not supported on this platform.')
+        raise OSError('"os.mkdir" not supported on this platform.')
     dirname, filename = split(path)
     if dirname and filename and not isdir(dirname):
         _bypass_ensure_directory(dirname)
@@ -3253,7 +3517,7 @@ def _bypass_ensure_directory(path):
             pass
 
 
-def split_sections(s):
+def split_sections(s: _NestedStr) -> Iterator[tuple[str | None, list[str]]]:
     """Split a string or iterable thereof into (section, content) pairs
 
     Each ``section`` is a stripped version of the section header ("[section]")
@@ -3297,6 +3561,47 @@ def _mkstemp(*args, **kw):
 warnings.filterwarnings("ignore", category=PEP440Warning, append=True)
 
 
+class PkgResourcesDeprecationWarning(Warning):
+    """
+    Base class for warning about deprecations in ``pkg_resources``
+
+    This class is not derived from ``DeprecationWarning``, and as such is
+    visible by default.
+    """
+
+
+# Ported from ``setuptools`` to avoid introducing an import inter-dependency:
+_LOCALE_ENCODING = "locale" if sys.version_info >= (3, 10) else None
+
+
+def _read_utf8_with_fallback(file: str, fallback_encoding=_LOCALE_ENCODING) -> str:
+    """See setuptools.unicode_utils._read_utf8_with_fallback"""
+    try:
+        with open(file, "r", encoding="utf-8") as f:
+            return f.read()
+    except UnicodeDecodeError:  # pragma: no cover
+        msg = f"""\
+        ********************************************************************************
+        `encoding="utf-8"` fails with {file!r}, trying `encoding={fallback_encoding!r}`.
+
+        This fallback behaviour is considered **deprecated** and future versions of
+        `setuptools/pkg_resources` may not implement it.
+
+        Please encode {file!r} with "utf-8" to ensure future builds will succeed.
+
+        If this file was produced by `setuptools` itself, cleaning up the cached files
+        and re-building/re-installing the package with a newer version of `setuptools`
+        (e.g. by updating `build-system.requires` in its `pyproject.toml`)
+        might solve the problem.
+        ********************************************************************************
+        """
+        # TODO: Add a deadline?
+        #       See comment in setuptools.unicode_utils._Utf8EncodingNeeded
+        warnings.warn(msg, PkgResourcesDeprecationWarning, stacklevel=2)
+        with open(file, "r", encoding=fallback_encoding) as f:
+            return f.read()
+
+
 # from jaraco.functools 1.3
 def _call_aside(f, *args, **kwargs):
     f(*args, **kwargs)
@@ -3315,15 +3620,6 @@ def _initialize(g=globals()):
     )
 
 
-class PkgResourcesDeprecationWarning(Warning):
-    """
-    Base class for warning about deprecations in ``pkg_resources``
-
-    This class is not derived from ``DeprecationWarning``, and as such is
-    visible by default.
-    """
-
-
 @_call_aside
 def _initialize_master_working_set():
     """
@@ -3337,8 +3633,7 @@ def _initialize_master_working_set():
     Invocation by other packages is unsupported and done
     at their own risk.
     """
-    working_set = WorkingSet._build_master()
-    _declare_state('object', working_set=working_set)
+    working_set = _declare_state('object', 'working_set', WorkingSet._build_master())
 
     require = working_set.require
     iter_entry_points = working_set.iter_entry_points
@@ -3359,3 +3654,23 @@ def _initialize_master_working_set():
     # match order
     list(map(working_set.add_entry, sys.path))
     globals().update(locals())
+
+
+if TYPE_CHECKING:
+    # All of these are set by the @_call_aside methods above
+    __resource_manager = ResourceManager()  # Won't exist at runtime
+    resource_exists = __resource_manager.resource_exists
+    resource_isdir = __resource_manager.resource_isdir
+    resource_filename = __resource_manager.resource_filename
+    resource_stream = __resource_manager.resource_stream
+    resource_string = __resource_manager.resource_string
+    resource_listdir = __resource_manager.resource_listdir
+    set_extraction_path = __resource_manager.set_extraction_path
+    cleanup_resources = __resource_manager.cleanup_resources
+
+    working_set = WorkingSet()
+    require = working_set.require
+    iter_entry_points = working_set.iter_entry_points
+    add_activation_listener = working_set.subscribe
+    run_script = working_set.run_script
+    run_main = run_script
diff --git a/.venv/Lib/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-311.pyc
index 471a55c..ed50741 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/platformdirs/__init__.py b/.venv/Lib/site-packages/pip/_vendor/platformdirs/__init__.py
index 5ebf595..2325ec2 100644
--- a/.venv/Lib/site-packages/pip/_vendor/platformdirs/__init__.py
+++ b/.venv/Lib/site-packages/pip/_vendor/platformdirs/__init__.py
@@ -1,7 +1,10 @@
 """
-Utilities for determining application-specific dirs. See  for details and
-usage.
+Utilities for determining application-specific dirs.
+
+See  for details and usage.
+
 """
+
 from __future__ import annotations
 
 import os
@@ -14,42 +17,42 @@ from .version import __version_tuple__ as __version_info__
 
 if TYPE_CHECKING:
     from pathlib import Path
+    from typing import Literal
 
-    if sys.version_info >= (3, 8):  # pragma: no cover (py38+)
-        from typing import Literal
-    else:  # pragma: no cover (py38+)
-        from pip._vendor.typing_extensions import Literal
+if sys.platform == "win32":
+    from pip._vendor.platformdirs.windows import Windows as _Result
+elif sys.platform == "darwin":
+    from pip._vendor.platformdirs.macos import MacOS as _Result
+else:
+    from pip._vendor.platformdirs.unix import Unix as _Result
 
 
 def _set_platform_dir_class() -> type[PlatformDirsABC]:
-    if sys.platform == "win32":
-        from pip._vendor.platformdirs.windows import Windows as Result
-    elif sys.platform == "darwin":
-        from pip._vendor.platformdirs.macos import MacOS as Result
-    else:
-        from pip._vendor.platformdirs.unix import Unix as Result
-
     if os.getenv("ANDROID_DATA") == "/data" and os.getenv("ANDROID_ROOT") == "/system":
         if os.getenv("SHELL") or os.getenv("PREFIX"):
-            return Result
+            return _Result
 
-        from pip._vendor.platformdirs.android import _android_folder
+        from pip._vendor.platformdirs.android import _android_folder  # noqa: PLC0415
 
         if _android_folder() is not None:
-            from pip._vendor.platformdirs.android import Android
+            from pip._vendor.platformdirs.android import Android  # noqa: PLC0415
 
-            return Android  # return to avoid redefinition of result
+            return Android  # return to avoid redefinition of a result
 
-    return Result
+    return _Result
 
 
-PlatformDirs = _set_platform_dir_class()  #: Currently active platform
+if TYPE_CHECKING:
+    # Work around mypy issue: https://github.com/python/mypy/issues/10962
+    PlatformDirs = _Result
+else:
+    PlatformDirs = _set_platform_dir_class()  #: Currently active platform
 AppDirs = PlatformDirs  #: Backwards compatibility with appdirs
 
 
 def user_data_dir(
     appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
+    appauthor: str | Literal[False] | None = None,
     version: str | None = None,
     roaming: bool = False,  # noqa: FBT001, FBT002
     ensure_exists: bool = False,  # noqa: FBT001, FBT002
@@ -73,7 +76,7 @@ def user_data_dir(
 
 def site_data_dir(
     appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
+    appauthor: str | Literal[False] | None = None,
     version: str | None = None,
     multipath: bool = False,  # noqa: FBT001, FBT002
     ensure_exists: bool = False,  # noqa: FBT001, FBT002
@@ -97,7 +100,7 @@ def site_data_dir(
 
 def user_config_dir(
     appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
+    appauthor: str | Literal[False] | None = None,
     version: str | None = None,
     roaming: bool = False,  # noqa: FBT001, FBT002
     ensure_exists: bool = False,  # noqa: FBT001, FBT002
@@ -121,7 +124,7 @@ def user_config_dir(
 
 def site_config_dir(
     appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
+    appauthor: str | Literal[False] | None = None,
     version: str | None = None,
     multipath: bool = False,  # noqa: FBT001, FBT002
     ensure_exists: bool = False,  # noqa: FBT001, FBT002
@@ -145,7 +148,7 @@ def site_config_dir(
 
 def user_cache_dir(
     appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
+    appauthor: str | Literal[False] | None = None,
     version: str | None = None,
     opinion: bool = True,  # noqa: FBT001, FBT002
     ensure_exists: bool = False,  # noqa: FBT001, FBT002
@@ -169,7 +172,7 @@ def user_cache_dir(
 
 def site_cache_dir(
     appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
+    appauthor: str | Literal[False] | None = None,
     version: str | None = None,
     opinion: bool = True,  # noqa: FBT001, FBT002
     ensure_exists: bool = False,  # noqa: FBT001, FBT002
@@ -193,7 +196,7 @@ def site_cache_dir(
 
 def user_state_dir(
     appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
+    appauthor: str | Literal[False] | None = None,
     version: str | None = None,
     roaming: bool = False,  # noqa: FBT001, FBT002
     ensure_exists: bool = False,  # noqa: FBT001, FBT002
@@ -217,7 +220,7 @@ def user_state_dir(
 
 def user_log_dir(
     appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
+    appauthor: str | Literal[False] | None = None,
     version: str | None = None,
     opinion: bool = True,  # noqa: FBT001, FBT002
     ensure_exists: bool = False,  # noqa: FBT001, FBT002
@@ -264,9 +267,14 @@ def user_music_dir() -> str:
     return PlatformDirs().user_music_dir
 
 
+def user_desktop_dir() -> str:
+    """:returns: desktop directory tied to the user"""
+    return PlatformDirs().user_desktop_dir
+
+
 def user_runtime_dir(
     appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
+    appauthor: str | Literal[False] | None = None,
     version: str | None = None,
     opinion: bool = True,  # noqa: FBT001, FBT002
     ensure_exists: bool = False,  # noqa: FBT001, FBT002
@@ -288,9 +296,33 @@ def user_runtime_dir(
     ).user_runtime_dir
 
 
+def site_runtime_dir(
+    appname: str | None = None,
+    appauthor: str | Literal[False] | None = None,
+    version: str | None = None,
+    opinion: bool = True,  # noqa: FBT001, FBT002
+    ensure_exists: bool = False,  # noqa: FBT001, FBT002
+) -> str:
+    """
+    :param appname: See `appname `.
+    :param appauthor: See `appauthor `.
+    :param version: See `version `.
+    :param opinion: See `opinion `.
+    :param ensure_exists: See `ensure_exists `.
+    :returns: runtime directory shared by users
+    """
+    return PlatformDirs(
+        appname=appname,
+        appauthor=appauthor,
+        version=version,
+        opinion=opinion,
+        ensure_exists=ensure_exists,
+    ).site_runtime_dir
+
+
 def user_data_path(
     appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
+    appauthor: str | Literal[False] | None = None,
     version: str | None = None,
     roaming: bool = False,  # noqa: FBT001, FBT002
     ensure_exists: bool = False,  # noqa: FBT001, FBT002
@@ -314,7 +346,7 @@ def user_data_path(
 
 def site_data_path(
     appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
+    appauthor: str | Literal[False] | None = None,
     version: str | None = None,
     multipath: bool = False,  # noqa: FBT001, FBT002
     ensure_exists: bool = False,  # noqa: FBT001, FBT002
@@ -338,7 +370,7 @@ def site_data_path(
 
 def user_config_path(
     appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
+    appauthor: str | Literal[False] | None = None,
     version: str | None = None,
     roaming: bool = False,  # noqa: FBT001, FBT002
     ensure_exists: bool = False,  # noqa: FBT001, FBT002
@@ -362,7 +394,7 @@ def user_config_path(
 
 def site_config_path(
     appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
+    appauthor: str | Literal[False] | None = None,
     version: str | None = None,
     multipath: bool = False,  # noqa: FBT001, FBT002
     ensure_exists: bool = False,  # noqa: FBT001, FBT002
@@ -386,7 +418,7 @@ def site_config_path(
 
 def site_cache_path(
     appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
+    appauthor: str | Literal[False] | None = None,
     version: str | None = None,
     opinion: bool = True,  # noqa: FBT001, FBT002
     ensure_exists: bool = False,  # noqa: FBT001, FBT002
@@ -410,7 +442,7 @@ def site_cache_path(
 
 def user_cache_path(
     appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
+    appauthor: str | Literal[False] | None = None,
     version: str | None = None,
     opinion: bool = True,  # noqa: FBT001, FBT002
     ensure_exists: bool = False,  # noqa: FBT001, FBT002
@@ -434,7 +466,7 @@ def user_cache_path(
 
 def user_state_path(
     appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
+    appauthor: str | Literal[False] | None = None,
     version: str | None = None,
     roaming: bool = False,  # noqa: FBT001, FBT002
     ensure_exists: bool = False,  # noqa: FBT001, FBT002
@@ -458,7 +490,7 @@ def user_state_path(
 
 def user_log_path(
     appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
+    appauthor: str | Literal[False] | None = None,
     version: str | None = None,
     opinion: bool = True,  # noqa: FBT001, FBT002
     ensure_exists: bool = False,  # noqa: FBT001, FBT002
@@ -481,7 +513,7 @@ def user_log_path(
 
 
 def user_documents_path() -> Path:
-    """:returns: documents path tied to the user"""
+    """:returns: documents a path tied to the user"""
     return PlatformDirs().user_documents_path
 
 
@@ -505,9 +537,14 @@ def user_music_path() -> Path:
     return PlatformDirs().user_music_path
 
 
+def user_desktop_path() -> Path:
+    """:returns: desktop path tied to the user"""
+    return PlatformDirs().user_desktop_path
+
+
 def user_runtime_path(
     appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
+    appauthor: str | Literal[False] | None = None,
     version: str | None = None,
     opinion: bool = True,  # noqa: FBT001, FBT002
     ensure_exists: bool = False,  # noqa: FBT001, FBT002
@@ -529,38 +566,66 @@ def user_runtime_path(
     ).user_runtime_path
 
 
+def site_runtime_path(
+    appname: str | None = None,
+    appauthor: str | Literal[False] | None = None,
+    version: str | None = None,
+    opinion: bool = True,  # noqa: FBT001, FBT002
+    ensure_exists: bool = False,  # noqa: FBT001, FBT002
+) -> Path:
+    """
+    :param appname: See `appname `.
+    :param appauthor: See `appauthor `.
+    :param version: See `version `.
+    :param opinion: See `opinion `.
+    :param ensure_exists: See `ensure_exists `.
+    :returns: runtime path shared by users
+    """
+    return PlatformDirs(
+        appname=appname,
+        appauthor=appauthor,
+        version=version,
+        opinion=opinion,
+        ensure_exists=ensure_exists,
+    ).site_runtime_path
+
+
 __all__ = [
+    "AppDirs",
+    "PlatformDirs",
+    "PlatformDirsABC",
     "__version__",
     "__version_info__",
-    "PlatformDirs",
-    "AppDirs",
-    "PlatformDirsABC",
-    "user_data_dir",
-    "user_config_dir",
-    "user_cache_dir",
-    "user_state_dir",
-    "user_log_dir",
-    "user_documents_dir",
-    "user_downloads_dir",
-    "user_pictures_dir",
-    "user_videos_dir",
-    "user_music_dir",
-    "user_runtime_dir",
-    "site_data_dir",
-    "site_config_dir",
     "site_cache_dir",
-    "user_data_path",
-    "user_config_path",
-    "user_cache_path",
-    "user_state_path",
-    "user_log_path",
-    "user_documents_path",
-    "user_downloads_path",
-    "user_pictures_path",
-    "user_videos_path",
-    "user_music_path",
-    "user_runtime_path",
-    "site_data_path",
-    "site_config_path",
     "site_cache_path",
+    "site_config_dir",
+    "site_config_path",
+    "site_data_dir",
+    "site_data_path",
+    "site_runtime_dir",
+    "site_runtime_path",
+    "user_cache_dir",
+    "user_cache_path",
+    "user_config_dir",
+    "user_config_path",
+    "user_data_dir",
+    "user_data_path",
+    "user_desktop_dir",
+    "user_desktop_path",
+    "user_documents_dir",
+    "user_documents_path",
+    "user_downloads_dir",
+    "user_downloads_path",
+    "user_log_dir",
+    "user_log_path",
+    "user_music_dir",
+    "user_music_path",
+    "user_pictures_dir",
+    "user_pictures_path",
+    "user_runtime_dir",
+    "user_runtime_path",
+    "user_state_dir",
+    "user_state_path",
+    "user_videos_dir",
+    "user_videos_path",
 ]
diff --git a/.venv/Lib/site-packages/pip/_vendor/platformdirs/__main__.py b/.venv/Lib/site-packages/pip/_vendor/platformdirs/__main__.py
index 6a0d6dd..fa8a677 100644
--- a/.venv/Lib/site-packages/pip/_vendor/platformdirs/__main__.py
+++ b/.venv/Lib/site-packages/pip/_vendor/platformdirs/__main__.py
@@ -1,4 +1,5 @@
 """Main entry point."""
+
 from __future__ import annotations
 
 from pip._vendor.platformdirs import PlatformDirs, __version__
@@ -18,11 +19,12 @@ PROPS = (
     "site_data_dir",
     "site_config_dir",
     "site_cache_dir",
+    "site_runtime_dir",
 )
 
 
 def main() -> None:
-    """Run main entry point."""
+    """Run the main entry point."""
     app_name = "MyApp"
     app_author = "MyCompany"
 
diff --git a/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/__init__.cpython-311.pyc
index ad6e12a..eb269f7 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/__main__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/__main__.cpython-311.pyc
index 2aff72a..08c165d 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/__main__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/__main__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/android.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/android.cpython-311.pyc
index 56300a0..6280310 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/android.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/android.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/api.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/api.cpython-311.pyc
index 4157740..00520f3 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/api.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/api.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/macos.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/macos.cpython-311.pyc
index 0abaff4..967ef1b 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/macos.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/macos.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/unix.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/unix.cpython-311.pyc
index abf0551..b72c977 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/unix.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/unix.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/version.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/version.cpython-311.pyc
index 0c84175..ba2284e 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/version.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/version.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/windows.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/windows.cpython-311.pyc
index 584cce5..88e26dd 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/windows.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/windows.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/platformdirs/android.py b/.venv/Lib/site-packages/pip/_vendor/platformdirs/android.py
index 76527dd..92efc85 100644
--- a/.venv/Lib/site-packages/pip/_vendor/platformdirs/android.py
+++ b/.venv/Lib/site-packages/pip/_vendor/platformdirs/android.py
@@ -1,27 +1,29 @@
 """Android."""
+
 from __future__ import annotations
 
 import os
 import re
 import sys
 from functools import lru_cache
-from typing import cast
+from typing import TYPE_CHECKING, cast
 
 from .api import PlatformDirsABC
 
 
 class Android(PlatformDirsABC):
     """
-    Follows the guidance `from here `_. Makes use of the
-    `appname `,
-    `version `,
-    `ensure_exists `.
+    Follows the guidance `from here `_.
+
+    Makes use of the `appname `, `version
+    `, `ensure_exists `.
+
     """
 
     @property
     def user_data_dir(self) -> str:
         """:return: data directory tied to the user, e.g. ``/data/user///files/``"""
-        return self._append_app_name_and_version(cast(str, _android_folder()), "files")
+        return self._append_app_name_and_version(cast("str", _android_folder()), "files")
 
     @property
     def site_data_dir(self) -> str:
@@ -34,7 +36,7 @@ class Android(PlatformDirsABC):
         :return: config directory tied to the user, e.g. \
         ``/data/user///shared_prefs/``
         """
-        return self._append_app_name_and_version(cast(str, _android_folder()), "shared_prefs")
+        return self._append_app_name_and_version(cast("str", _android_folder()), "shared_prefs")
 
     @property
     def site_config_dir(self) -> str:
@@ -43,8 +45,8 @@ class Android(PlatformDirsABC):
 
     @property
     def user_cache_dir(self) -> str:
-        """:return: cache directory tied to the user, e.g. e.g. ``/data/user///cache/``"""
-        return self._append_app_name_and_version(cast(str, _android_folder()), "cache")
+        """:return: cache directory tied to the user, e.g.,``/data/user///cache/``"""
+        return self._append_app_name_and_version(cast("str", _android_folder()), "cache")
 
     @property
     def site_cache_dir(self) -> str:
@@ -92,6 +94,11 @@ class Android(PlatformDirsABC):
         """:return: music directory tied to the user e.g. ``/storage/emulated/0/Music``"""
         return _android_music_folder()
 
+    @property
+    def user_desktop_dir(self) -> str:
+        """:return: desktop directory tied to the user e.g. ``/storage/emulated/0/Desktop``"""
+        return "/storage/emulated/0/Desktop"
+
     @property
     def user_runtime_dir(self) -> str:
         """
@@ -103,18 +110,40 @@ class Android(PlatformDirsABC):
             path = os.path.join(path, "tmp")  # noqa: PTH118
         return path
 
+    @property
+    def site_runtime_dir(self) -> str:
+        """:return: runtime directory shared by users, same as `user_runtime_dir`"""
+        return self.user_runtime_dir
+
 
 @lru_cache(maxsize=1)
-def _android_folder() -> str | None:
+def _android_folder() -> str | None:  # noqa: C901
     """:return: base folder for the Android OS or None if it cannot be found"""
-    try:
-        # First try to get path to android app via pyjnius
-        from jnius import autoclass
+    result: str | None = None
+    # type checker isn't happy with our "import android", just don't do this when type checking see
+    # https://stackoverflow.com/a/61394121
+    if not TYPE_CHECKING:
+        try:
+            # First try to get a path to android app using python4android (if available)...
+            from android import mActivity  # noqa: PLC0415
 
-        context = autoclass("android.content.Context")
-        result: str | None = context.getFilesDir().getParentFile().getAbsolutePath()
-    except Exception:  # noqa: BLE001
-        # if fails find an android folder looking path on the sys.path
+            context = cast("android.content.Context", mActivity.getApplicationContext())  # noqa: F821
+            result = context.getFilesDir().getParentFile().getAbsolutePath()
+        except Exception:  # noqa: BLE001
+            result = None
+    if result is None:
+        try:
+            # ...and fall back to using plain pyjnius, if python4android isn't available or doesn't deliver any useful
+            # result...
+            from jnius import autoclass  # noqa: PLC0415
+
+            context = autoclass("android.content.Context")
+            result = context.getFilesDir().getParentFile().getAbsolutePath()
+        except Exception:  # noqa: BLE001
+            result = None
+    if result is None:
+        # and if that fails, too, find an android folder looking at path on the sys.path
+        # warning: only works for apps installed under /data, not adopted storage etc.
         pattern = re.compile(r"/data/(data|user/\d+)/(.+)/files")
         for path in sys.path:
             if pattern.match(path):
@@ -122,6 +151,16 @@ def _android_folder() -> str | None:
                 break
         else:
             result = None
+    if result is None:
+        # one last try: find an android folder looking at path on the sys.path taking adopted storage paths into
+        # account
+        pattern = re.compile(r"/mnt/expand/[a-fA-F0-9-]{36}/(data|user/\d+)/(.+)/files")
+        for path in sys.path:
+            if pattern.match(path):
+                result = path.split("/files")[0]
+                break
+        else:
+            result = None
     return result
 
 
@@ -130,7 +169,7 @@ def _android_documents_folder() -> str:
     """:return: documents folder for the Android OS"""
     # Get directories with pyjnius
     try:
-        from jnius import autoclass
+        from jnius import autoclass  # noqa: PLC0415
 
         context = autoclass("android.content.Context")
         environment = autoclass("android.os.Environment")
@@ -146,7 +185,7 @@ def _android_downloads_folder() -> str:
     """:return: downloads folder for the Android OS"""
     # Get directories with pyjnius
     try:
-        from jnius import autoclass
+        from jnius import autoclass  # noqa: PLC0415
 
         context = autoclass("android.content.Context")
         environment = autoclass("android.os.Environment")
@@ -162,7 +201,7 @@ def _android_pictures_folder() -> str:
     """:return: pictures folder for the Android OS"""
     # Get directories with pyjnius
     try:
-        from jnius import autoclass
+        from jnius import autoclass  # noqa: PLC0415
 
         context = autoclass("android.content.Context")
         environment = autoclass("android.os.Environment")
@@ -178,7 +217,7 @@ def _android_videos_folder() -> str:
     """:return: videos folder for the Android OS"""
     # Get directories with pyjnius
     try:
-        from jnius import autoclass
+        from jnius import autoclass  # noqa: PLC0415
 
         context = autoclass("android.content.Context")
         environment = autoclass("android.os.Environment")
@@ -194,7 +233,7 @@ def _android_music_folder() -> str:
     """:return: music folder for the Android OS"""
     # Get directories with pyjnius
     try:
-        from jnius import autoclass
+        from jnius import autoclass  # noqa: PLC0415
 
         context = autoclass("android.content.Context")
         environment = autoclass("android.os.Environment")
diff --git a/.venv/Lib/site-packages/pip/_vendor/platformdirs/api.py b/.venv/Lib/site-packages/pip/_vendor/platformdirs/api.py
index d64ebb9..a352035 100644
--- a/.venv/Lib/site-packages/pip/_vendor/platformdirs/api.py
+++ b/.venv/Lib/site-packages/pip/_vendor/platformdirs/api.py
@@ -1,4 +1,5 @@
 """Base API."""
+
 from __future__ import annotations
 
 import os
@@ -7,21 +8,17 @@ from pathlib import Path
 from typing import TYPE_CHECKING
 
 if TYPE_CHECKING:
-    import sys
-
-    if sys.version_info >= (3, 8):  # pragma: no cover (py38+)
-        from typing import Literal
-    else:  # pragma: no cover (py38+)
-        from pip._vendor.typing_extensions import Literal
+    from collections.abc import Iterator
+    from typing import Literal
 
 
-class PlatformDirsABC(ABC):
+class PlatformDirsABC(ABC):  # noqa: PLR0904
     """Abstract base class for platform directories."""
 
-    def __init__(  # noqa: PLR0913
+    def __init__(  # noqa: PLR0913, PLR0917
         self,
         appname: str | None = None,
-        appauthor: str | None | Literal[False] = None,
+        appauthor: str | Literal[False] | None = None,
         version: str | None = None,
         roaming: bool = False,  # noqa: FBT001, FBT002
         multipath: bool = False,  # noqa: FBT001, FBT002
@@ -38,34 +35,47 @@ class PlatformDirsABC(ABC):
         :param multipath: See `multipath`.
         :param opinion: See `opinion`.
         :param ensure_exists: See `ensure_exists`.
+
         """
         self.appname = appname  #: The name of application.
         self.appauthor = appauthor
         """
-        The name of the app author or distributing body for this application. Typically, it is the owning company name.
-        Defaults to `appname`. You may pass ``False`` to disable it.
+        The name of the app author or distributing body for this application.
+
+        Typically, it is the owning company name. Defaults to `appname`. You may pass ``False`` to disable it.
+
         """
         self.version = version
         """
-        An optional version path element to append to the path. You might want to use this if you want multiple versions
-        of your app to be able to run independently. If used, this would typically be ``.``.
+        An optional version path element to append to the path.
+
+        You might want to use this if you want multiple versions of your app to be able to run independently. If used,
+        this would typically be ``.``.
+
         """
         self.roaming = roaming
         """
-        Whether to use the roaming appdata directory on Windows. That means that for users on a Windows network setup
-        for roaming profiles, this user data will be synced on login (see
-        `here `_).
+        Whether to use the roaming appdata directory on Windows.
+
+        That means that for users on a Windows network setup for roaming profiles, this user data will be synced on
+        login (see
+        `here `_).
+
         """
         self.multipath = multipath
         """
-        An optional parameter only applicable to Unix/Linux which indicates that the entire list of data dirs should be
-        returned. By default, the first item would only be returned.
+        An optional parameter which indicates that the entire list of data dirs should be returned.
+
+        By default, the first item would only be returned.
+
         """
         self.opinion = opinion  #: A flag to indicating to use opinionated values.
         self.ensure_exists = ensure_exists
         """
         Optionally create the directory (and any missing parents) upon access if it does not exist.
+
         By default, no directories are created.
+
         """
 
     def _append_app_name_and_version(self, *base: str) -> str:
@@ -82,6 +92,12 @@ class PlatformDirsABC(ABC):
         if self.ensure_exists:
             Path(path).mkdir(parents=True, exist_ok=True)
 
+    def _first_item_as_path_if_multipath(self, directory: str) -> Path:
+        if self.multipath:
+            # If multipath is True, the first path is returned.
+            directory = directory.split(os.pathsep)[0]
+        return Path(directory)
+
     @property
     @abstractmethod
     def user_data_dir(self) -> str:
@@ -147,11 +163,21 @@ class PlatformDirsABC(ABC):
     def user_music_dir(self) -> str:
         """:return: music directory tied to the user"""
 
+    @property
+    @abstractmethod
+    def user_desktop_dir(self) -> str:
+        """:return: desktop directory tied to the user"""
+
     @property
     @abstractmethod
     def user_runtime_dir(self) -> str:
         """:return: runtime directory tied to the user"""
 
+    @property
+    @abstractmethod
+    def site_runtime_dir(self) -> str:
+        """:return: runtime directory shared by users"""
+
     @property
     def user_data_path(self) -> Path:
         """:return: data path tied to the user"""
@@ -194,7 +220,7 @@ class PlatformDirsABC(ABC):
 
     @property
     def user_documents_path(self) -> Path:
-        """:return: documents path tied to the user"""
+        """:return: documents a path tied to the user"""
         return Path(self.user_documents_dir)
 
     @property
@@ -217,7 +243,57 @@ class PlatformDirsABC(ABC):
         """:return: music path tied to the user"""
         return Path(self.user_music_dir)
 
+    @property
+    def user_desktop_path(self) -> Path:
+        """:return: desktop path tied to the user"""
+        return Path(self.user_desktop_dir)
+
     @property
     def user_runtime_path(self) -> Path:
         """:return: runtime path tied to the user"""
         return Path(self.user_runtime_dir)
+
+    @property
+    def site_runtime_path(self) -> Path:
+        """:return: runtime path shared by users"""
+        return Path(self.site_runtime_dir)
+
+    def iter_config_dirs(self) -> Iterator[str]:
+        """:yield: all user and site configuration directories."""
+        yield self.user_config_dir
+        yield self.site_config_dir
+
+    def iter_data_dirs(self) -> Iterator[str]:
+        """:yield: all user and site data directories."""
+        yield self.user_data_dir
+        yield self.site_data_dir
+
+    def iter_cache_dirs(self) -> Iterator[str]:
+        """:yield: all user and site cache directories."""
+        yield self.user_cache_dir
+        yield self.site_cache_dir
+
+    def iter_runtime_dirs(self) -> Iterator[str]:
+        """:yield: all user and site runtime directories."""
+        yield self.user_runtime_dir
+        yield self.site_runtime_dir
+
+    def iter_config_paths(self) -> Iterator[Path]:
+        """:yield: all user and site configuration paths."""
+        for path in self.iter_config_dirs():
+            yield Path(path)
+
+    def iter_data_paths(self) -> Iterator[Path]:
+        """:yield: all user and site data paths."""
+        for path in self.iter_data_dirs():
+            yield Path(path)
+
+    def iter_cache_paths(self) -> Iterator[Path]:
+        """:yield: all user and site cache paths."""
+        for path in self.iter_cache_dirs():
+            yield Path(path)
+
+    def iter_runtime_paths(self) -> Iterator[Path]:
+        """:yield: all user and site runtime paths."""
+        for path in self.iter_runtime_dirs():
+            yield Path(path)
diff --git a/.venv/Lib/site-packages/pip/_vendor/platformdirs/macos.py b/.venv/Lib/site-packages/pip/_vendor/platformdirs/macos.py
index a753e2a..e4b0391 100644
--- a/.venv/Lib/site-packages/pip/_vendor/platformdirs/macos.py
+++ b/.venv/Lib/site-packages/pip/_vendor/platformdirs/macos.py
@@ -1,18 +1,27 @@
 """macOS."""
+
 from __future__ import annotations
 
 import os.path
+import sys
+from typing import TYPE_CHECKING
 
 from .api import PlatformDirsABC
 
+if TYPE_CHECKING:
+    from pathlib import Path
+
 
 class MacOS(PlatformDirsABC):
     """
-    Platform directories for the macOS operating system. Follows the guidance from `Apple documentation
-    `_.
+    Platform directories for the macOS operating system.
+
+    Follows the guidance from
+    `Apple documentation `_.
     Makes use of the `appname `,
     `version `,
     `ensure_exists `.
+
     """
 
     @property
@@ -22,8 +31,25 @@ class MacOS(PlatformDirsABC):
 
     @property
     def site_data_dir(self) -> str:
-        """:return: data directory shared by users, e.g. ``/Library/Application Support/$appname/$version``"""
-        return self._append_app_name_and_version("/Library/Application Support")
+        """
+        :return: data directory shared by users, e.g. ``/Library/Application Support/$appname/$version``.
+          If we're using a Python binary managed by `Homebrew `_, the directory
+          will be under the Homebrew prefix, e.g. ``/opt/homebrew/share/$appname/$version``.
+          If `multipath ` is enabled, and we're in Homebrew,
+          the response is a multi-path string separated by ":", e.g.
+          ``/opt/homebrew/share/$appname/$version:/Library/Application Support/$appname/$version``
+        """
+        is_homebrew = sys.prefix.startswith("/opt/homebrew")
+        path_list = [self._append_app_name_and_version("/opt/homebrew/share")] if is_homebrew else []
+        path_list.append(self._append_app_name_and_version("/Library/Application Support"))
+        if self.multipath:
+            return os.pathsep.join(path_list)
+        return path_list[0]
+
+    @property
+    def site_data_path(self) -> Path:
+        """:return: data path shared by users. Only return the first item, even if ``multipath`` is set to ``True``"""
+        return self._first_item_as_path_if_multipath(self.site_data_dir)
 
     @property
     def user_config_dir(self) -> str:
@@ -42,8 +68,25 @@ class MacOS(PlatformDirsABC):
 
     @property
     def site_cache_dir(self) -> str:
-        """:return: cache directory shared by users, e.g. ``/Library/Caches/$appname/$version``"""
-        return self._append_app_name_and_version("/Library/Caches")
+        """
+        :return: cache directory shared by users, e.g. ``/Library/Caches/$appname/$version``.
+          If we're using a Python binary managed by `Homebrew `_, the directory
+          will be under the Homebrew prefix, e.g. ``/opt/homebrew/var/cache/$appname/$version``.
+          If `multipath ` is enabled, and we're in Homebrew,
+          the response is a multi-path string separated by ":", e.g.
+          ``/opt/homebrew/var/cache/$appname/$version:/Library/Caches/$appname/$version``
+        """
+        is_homebrew = sys.prefix.startswith("/opt/homebrew")
+        path_list = [self._append_app_name_and_version("/opt/homebrew/var/cache")] if is_homebrew else []
+        path_list.append(self._append_app_name_and_version("/Library/Caches"))
+        if self.multipath:
+            return os.pathsep.join(path_list)
+        return path_list[0]
+
+    @property
+    def site_cache_path(self) -> Path:
+        """:return: cache path shared by users. Only return the first item, even if ``multipath`` is set to ``True``"""
+        return self._first_item_as_path_if_multipath(self.site_cache_dir)
 
     @property
     def user_state_dir(self) -> str:
@@ -80,11 +123,21 @@ class MacOS(PlatformDirsABC):
         """:return: music directory tied to the user, e.g. ``~/Music``"""
         return os.path.expanduser("~/Music")  # noqa: PTH111
 
+    @property
+    def user_desktop_dir(self) -> str:
+        """:return: desktop directory tied to the user, e.g. ``~/Desktop``"""
+        return os.path.expanduser("~/Desktop")  # noqa: PTH111
+
     @property
     def user_runtime_dir(self) -> str:
         """:return: runtime directory tied to the user, e.g. ``~/Library/Caches/TemporaryItems/$appname/$version``"""
         return self._append_app_name_and_version(os.path.expanduser("~/Library/Caches/TemporaryItems"))  # noqa: PTH111
 
+    @property
+    def site_runtime_dir(self) -> str:
+        """:return: runtime directory shared by users, same as `user_runtime_dir`"""
+        return self.user_runtime_dir
+
 
 __all__ = [
     "MacOS",
diff --git a/.venv/Lib/site-packages/pip/_vendor/platformdirs/unix.py b/.venv/Lib/site-packages/pip/_vendor/platformdirs/unix.py
index 468b0ab..fc75d8d 100644
--- a/.venv/Lib/site-packages/pip/_vendor/platformdirs/unix.py
+++ b/.venv/Lib/site-packages/pip/_vendor/platformdirs/unix.py
@@ -1,16 +1,21 @@
 """Unix."""
+
 from __future__ import annotations
 
 import os
 import sys
 from configparser import ConfigParser
 from pathlib import Path
+from typing import TYPE_CHECKING, NoReturn
 
 from .api import PlatformDirsABC
 
+if TYPE_CHECKING:
+    from collections.abc import Iterator
+
 if sys.platform == "win32":
 
-    def getuid() -> int:
+    def getuid() -> NoReturn:
         msg = "should only be used on Unix"
         raise RuntimeError(msg)
 
@@ -18,17 +23,17 @@ else:
     from os import getuid
 
 
-class Unix(PlatformDirsABC):
+class Unix(PlatformDirsABC):  # noqa: PLR0904
     """
-    On Unix/Linux, we follow the
-    `XDG Basedir Spec `_. The spec allows
-    overriding directories with environment variables. The examples show are the default values, alongside the name of
-    the environment variable that overrides them. Makes use of the
-    `appname `,
-    `version `,
-    `multipath `,
-    `opinion `,
-    `ensure_exists `.
+    On Unix/Linux, we follow the `XDG Basedir Spec `_.
+
+    The spec allows overriding directories with environment variables. The examples shown are the default values,
+    alongside the name of the environment variable that overrides them. Makes use of the `appname
+    `, `version `, `multipath
+    `, `opinion `, `ensure_exists
+    `.
+
     """
 
     @property
@@ -43,24 +48,24 @@ class Unix(PlatformDirsABC):
         return self._append_app_name_and_version(path)
 
     @property
-    def site_data_dir(self) -> str:
-        """
-        :return: data directories shared by users (if `multipath ` is
-         enabled and ``XDG_DATA_DIR`` is set and a multi path the response is also a multi path separated by the OS
-         path separator), e.g. ``/usr/local/share/$appname/$version`` or ``/usr/share/$appname/$version``
-        """
-        # XDG default for $XDG_DATA_DIRS; only first, if multipath is False
+    def _site_data_dirs(self) -> list[str]:
         path = os.environ.get("XDG_DATA_DIRS", "")
         if not path.strip():
             path = f"/usr/local/share{os.pathsep}/usr/share"
-        return self._with_multi_path(path)
+        return [self._append_app_name_and_version(p) for p in path.split(os.pathsep)]
 
-    def _with_multi_path(self, path: str) -> str:
-        path_list = path.split(os.pathsep)
+    @property
+    def site_data_dir(self) -> str:
+        """
+        :return: data directories shared by users (if `multipath ` is
+         enabled and ``XDG_DATA_DIRS`` is set and a multi path the response is also a multi path separated by the
+         OS path separator), e.g. ``/usr/local/share/$appname/$version`` or ``/usr/share/$appname/$version``
+        """
+        # XDG default for $XDG_DATA_DIRS; only first, if multipath is False
+        dirs = self._site_data_dirs
         if not self.multipath:
-            path_list = path_list[0:1]
-        path_list = [self._append_app_name_and_version(os.path.expanduser(p)) for p in path_list]  # noqa: PTH111
-        return os.pathsep.join(path_list)
+            return dirs[0]
+        return os.pathsep.join(dirs)
 
     @property
     def user_config_dir(self) -> str:
@@ -74,17 +79,24 @@ class Unix(PlatformDirsABC):
         return self._append_app_name_and_version(path)
 
     @property
-    def site_config_dir(self) -> str:
-        """
-        :return: config directories shared by users (if `multipath `
-         is enabled and ``XDG_DATA_DIR`` is set and a multi path the response is also a multi path separated by the OS
-         path separator), e.g. ``/etc/xdg/$appname/$version``
-        """
-        # XDG default for $XDG_CONFIG_DIRS only first, if multipath is False
+    def _site_config_dirs(self) -> list[str]:
         path = os.environ.get("XDG_CONFIG_DIRS", "")
         if not path.strip():
             path = "/etc/xdg"
-        return self._with_multi_path(path)
+        return [self._append_app_name_and_version(p) for p in path.split(os.pathsep)]
+
+    @property
+    def site_config_dir(self) -> str:
+        """
+        :return: config directories shared by users (if `multipath `
+         is enabled and ``XDG_CONFIG_DIRS`` is set and a multi path the response is also a multi path separated by
+         the OS path separator), e.g. ``/etc/xdg/$appname/$version``
+        """
+        # XDG default for $XDG_CONFIG_DIRS only first, if multipath is False
+        dirs = self._site_config_dirs
+        if not self.multipath:
+            return dirs[0]
+        return os.pathsep.join(dirs)
 
     @property
     def user_cache_dir(self) -> str:
@@ -99,8 +111,8 @@ class Unix(PlatformDirsABC):
 
     @property
     def site_cache_dir(self) -> str:
-        """:return: cache directory shared by users, e.g. ``/var/tmp/$appname/$version``"""
-        return self._append_app_name_and_version("/var/tmp")  # noqa: S108
+        """:return: cache directory shared by users, e.g. ``/var/cache/$appname/$version``"""
+        return self._append_app_name_and_version("/var/cache")
 
     @property
     def user_state_dir(self) -> str:
@@ -119,6 +131,7 @@ class Unix(PlatformDirsABC):
         path = self.user_state_dir
         if self.opinion:
             path = os.path.join(path, "log")  # noqa: PTH118
+            self._optionally_create_directory(path)
         return path
 
     @property
@@ -146,6 +159,11 @@ class Unix(PlatformDirsABC):
         """:return: music directory tied to the user, e.g. ``~/Music``"""
         return _get_user_media_dir("XDG_MUSIC_DIR", "~/Music")
 
+    @property
+    def user_desktop_dir(self) -> str:
+        """:return: desktop directory tied to the user, e.g. ``~/Desktop``"""
+        return _get_user_media_dir("XDG_DESKTOP_DIR", "~/Desktop")
+
     @property
     def user_runtime_dir(self) -> str:
         """
@@ -166,26 +184,52 @@ class Unix(PlatformDirsABC):
                 path = f"/run/user/{getuid()}"
         return self._append_app_name_and_version(path)
 
+    @property
+    def site_runtime_dir(self) -> str:
+        """
+        :return: runtime directory shared by users, e.g. ``/run/$appname/$version`` or \
+        ``$XDG_RUNTIME_DIR/$appname/$version``.
+
+        Note that this behaves almost exactly like `user_runtime_dir` if ``$XDG_RUNTIME_DIR`` is set, but will
+        fall back to paths associated to the root user instead of a regular logged-in user if it's not set.
+
+        If you wish to ensure that a logged-in root user path is returned e.g. ``/run/user/0``, use `user_runtime_dir`
+        instead.
+
+        For FreeBSD/OpenBSD/NetBSD, it would return ``/var/run/$appname/$version`` if ``$XDG_RUNTIME_DIR`` is not set.
+        """
+        path = os.environ.get("XDG_RUNTIME_DIR", "")
+        if not path.strip():
+            if sys.platform.startswith(("freebsd", "openbsd", "netbsd")):
+                path = "/var/run"
+            else:
+                path = "/run"
+        return self._append_app_name_and_version(path)
+
     @property
     def site_data_path(self) -> Path:
-        """:return: data path shared by users. Only return first item, even if ``multipath`` is set to ``True``"""
+        """:return: data path shared by users. Only return the first item, even if ``multipath`` is set to ``True``"""
         return self._first_item_as_path_if_multipath(self.site_data_dir)
 
     @property
     def site_config_path(self) -> Path:
-        """:return: config path shared by the users. Only return first item, even if ``multipath`` is set to ``True``"""
+        """:return: config path shared by the users, returns the first item, even if ``multipath`` is set to ``True``"""
         return self._first_item_as_path_if_multipath(self.site_config_dir)
 
     @property
     def site_cache_path(self) -> Path:
-        """:return: cache path shared by users. Only return first item, even if ``multipath`` is set to ``True``"""
+        """:return: cache path shared by users. Only return the first item, even if ``multipath`` is set to ``True``"""
         return self._first_item_as_path_if_multipath(self.site_cache_dir)
 
-    def _first_item_as_path_if_multipath(self, directory: str) -> Path:
-        if self.multipath:
-            # If multipath is True, the first path is returned.
-            directory = directory.split(os.pathsep)[0]
-        return Path(directory)
+    def iter_config_dirs(self) -> Iterator[str]:
+        """:yield: all user and site configuration directories."""
+        yield self.user_config_dir
+        yield from self._site_config_dirs
+
+    def iter_data_dirs(self) -> Iterator[str]:
+        """:yield: all user and site data directories."""
+        yield self.user_data_dir
+        yield from self._site_data_dirs
 
 
 def _get_user_media_dir(env_var: str, fallback_tilde_path: str) -> str:
@@ -199,7 +243,12 @@ def _get_user_media_dir(env_var: str, fallback_tilde_path: str) -> str:
 
 
 def _get_user_dirs_folder(key: str) -> str | None:
-    """Return directory from user-dirs.dirs config file. See https://freedesktop.org/wiki/Software/xdg-user-dirs/."""
+    """
+    Return directory from user-dirs.dirs config file.
+
+    See https://freedesktop.org/wiki/Software/xdg-user-dirs/.
+
+    """
     user_dirs_config_path = Path(Unix().user_config_dir) / "user-dirs.dirs"
     if user_dirs_config_path.exists():
         parser = ConfigParser()
diff --git a/.venv/Lib/site-packages/pip/_vendor/platformdirs/version.py b/.venv/Lib/site-packages/pip/_vendor/platformdirs/version.py
index dc8c44c..611ac61 100644
--- a/.venv/Lib/site-packages/pip/_vendor/platformdirs/version.py
+++ b/.venv/Lib/site-packages/pip/_vendor/platformdirs/version.py
@@ -1,4 +1,21 @@
-# file generated by setuptools_scm
+# file generated by setuptools-scm
 # don't change, don't track in version control
-__version__ = version = '3.8.1'
-__version_tuple__ = version_tuple = (3, 8, 1)
+
+__all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
+
+TYPE_CHECKING = False
+if TYPE_CHECKING:
+    from typing import Tuple
+    from typing import Union
+
+    VERSION_TUPLE = Tuple[Union[int, str], ...]
+else:
+    VERSION_TUPLE = object
+
+version: str
+__version__: str
+__version_tuple__: VERSION_TUPLE
+version_tuple: VERSION_TUPLE
+
+__version__ = version = '4.3.8'
+__version_tuple__ = version_tuple = (4, 3, 8)
diff --git a/.venv/Lib/site-packages/pip/_vendor/platformdirs/windows.py b/.venv/Lib/site-packages/pip/_vendor/platformdirs/windows.py
index b52c9c6..d7bc960 100644
--- a/.venv/Lib/site-packages/pip/_vendor/platformdirs/windows.py
+++ b/.venv/Lib/site-packages/pip/_vendor/platformdirs/windows.py
@@ -1,7 +1,7 @@
 """Windows."""
+
 from __future__ import annotations
 
-import ctypes
 import os
 import sys
 from functools import lru_cache
@@ -15,15 +15,13 @@ if TYPE_CHECKING:
 
 class Windows(PlatformDirsABC):
     """
-    `MSDN on where to store app data files
-    `_.
-    Makes use of the
-    `appname `,
-    `appauthor `,
-    `version `,
-    `roaming `,
-    `opinion `,
-    `ensure_exists `.
+    `MSDN on where to store app data files `_.
+
+    Makes use of the `appname `, `appauthor
+    `, `version `, `roaming
+    `, `opinion `, `ensure_exists
+    `.
+
     """
 
     @property
@@ -122,6 +120,11 @@ class Windows(PlatformDirsABC):
         """:return: music directory tied to the user e.g. ``%USERPROFILE%\\Music``"""
         return os.path.normpath(get_win_folder("CSIDL_MYMUSIC"))
 
+    @property
+    def user_desktop_dir(self) -> str:
+        """:return: desktop directory tied to the user, e.g. ``%USERPROFILE%\\Desktop``"""
+        return os.path.normpath(get_win_folder("CSIDL_DESKTOPDIRECTORY"))
+
     @property
     def user_runtime_dir(self) -> str:
         """
@@ -131,6 +134,11 @@ class Windows(PlatformDirsABC):
         path = os.path.normpath(os.path.join(get_win_folder("CSIDL_LOCAL_APPDATA"), "Temp"))  # noqa: PTH118
         return self._append_parts(path)
 
+    @property
+    def site_runtime_dir(self) -> str:
+        """:return: runtime directory shared by users, same as `user_runtime_dir`"""
+        return self.user_runtime_dir
+
 
 def get_win_folder_from_env_vars(csidl_name: str) -> str:
     """Get folder from environment variables."""
@@ -154,7 +162,7 @@ def get_win_folder_from_env_vars(csidl_name: str) -> str:
 
 
 def get_win_folder_if_csidl_name_not_env_var(csidl_name: str) -> str | None:
-    """Get folder for a CSIDL name that does not exist as an environment variable."""
+    """Get a folder for a CSIDL name that does not exist as an environment variable."""
     if csidl_name == "CSIDL_PERSONAL":
         return os.path.join(os.path.normpath(os.environ["USERPROFILE"]), "Documents")  # noqa: PTH118
 
@@ -178,6 +186,7 @@ def get_win_folder_from_registry(csidl_name: str) -> str:
 
     This is a fallback technique at best. I'm not sure if using the registry for these guarantees us the correct answer
     for all CSIDL_* names.
+
     """
     shell_folder_name = {
         "CSIDL_APPDATA": "AppData",
@@ -194,7 +203,7 @@ def get_win_folder_from_registry(csidl_name: str) -> str:
         raise ValueError(msg)
     if sys.platform != "win32":  # only needed for mypy type checker to know that this code runs only on Windows
         raise NotImplementedError
-    import winreg
+    import winreg  # noqa: PLC0415
 
     key = winreg.OpenKey(winreg.HKEY_CURRENT_USER, r"Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders")
     directory, _ = winreg.QueryValueEx(key, shell_folder_name)
@@ -207,6 +216,8 @@ def get_win_folder_via_ctypes(csidl_name: str) -> str:
     # Use 'CSIDL_PROFILE' (40) and append the default folder 'Downloads' instead.
     # https://learn.microsoft.com/en-us/windows/win32/shell/knownfolderid
 
+    import ctypes  # noqa: PLC0415
+
     csidl_const = {
         "CSIDL_APPDATA": 26,
         "CSIDL_COMMON_APPDATA": 35,
@@ -216,6 +227,7 @@ def get_win_folder_via_ctypes(csidl_name: str) -> str:
         "CSIDL_MYVIDEO": 14,
         "CSIDL_MYMUSIC": 13,
         "CSIDL_DOWNLOADS": 40,
+        "CSIDL_DESKTOPDIRECTORY": 16,
     }.get(csidl_name)
     if csidl_const is None:
         msg = f"Unknown CSIDL name: {csidl_name}"
@@ -225,7 +237,7 @@ def get_win_folder_via_ctypes(csidl_name: str) -> str:
     windll = getattr(ctypes, "windll")  # noqa: B009 # using getattr to avoid false positive with mypy type checker
     windll.shell32.SHGetFolderPathW(None, csidl_const, None, 0, buf)
 
-    # Downgrade to short path name if it has highbit chars.
+    # Downgrade to short path name if it has high-bit chars.
     if any(ord(c) > 255 for c in buf):  # noqa: PLR2004
         buf2 = ctypes.create_unicode_buffer(1024)
         if windll.kernel32.GetShortPathNameW(buf.value, buf2, 1024):
@@ -238,10 +250,15 @@ def get_win_folder_via_ctypes(csidl_name: str) -> str:
 
 
 def _pick_get_win_folder() -> Callable[[str], str]:
-    if hasattr(ctypes, "windll"):
-        return get_win_folder_via_ctypes
     try:
-        import winreg  # noqa: F401
+        import ctypes  # noqa: PLC0415
+    except ImportError:
+        pass
+    else:
+        if hasattr(ctypes, "windll"):
+            return get_win_folder_via_ctypes
+    try:
+        import winreg  # noqa: PLC0415, F401
     except ImportError:
         return get_win_folder_from_env_vars
     else:
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/__init__.py b/.venv/Lib/site-packages/pip/_vendor/pygments/__init__.py
index 39c84aa..cb229c9 100644
--- a/.venv/Lib/site-packages/pip/_vendor/pygments/__init__.py
+++ b/.venv/Lib/site-packages/pip/_vendor/pygments/__init__.py
@@ -21,12 +21,12 @@
     .. _Pygments master branch:
        https://github.com/pygments/pygments/archive/master.zip#egg=Pygments-dev
 
-    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
+    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
     :license: BSD, see LICENSE for details.
 """
 from io import StringIO, BytesIO
 
-__version__ = '2.15.1'
+__version__ = '2.19.2'
 __docformat__ = 'restructuredtext'
 
 __all__ = ['lex', 'format', 'highlight']
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/__main__.py b/.venv/Lib/site-packages/pip/_vendor/pygments/__main__.py
index 2f7f8cb..a2e612f 100644
--- a/.venv/Lib/site-packages/pip/_vendor/pygments/__main__.py
+++ b/.venv/Lib/site-packages/pip/_vendor/pygments/__main__.py
@@ -4,7 +4,7 @@
 
     Main entry point for ``python -m pygments``.
 
-    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
+    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
     :license: BSD, see LICENSE for details.
 """
 
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/__init__.cpython-311.pyc
index b93867f..17b26a2 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/__main__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/__main__.cpython-311.pyc
index 0b2cc7e..931cf11 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/__main__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/__main__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/cmdline.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/cmdline.cpython-311.pyc
deleted file mode 100644
index 47f0320..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/cmdline.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/console.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/console.cpython-311.pyc
index c6f64b6..f33e26d 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/console.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/console.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/filter.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/filter.cpython-311.pyc
index 094f13d..a660a39 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/filter.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/filter.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/formatter.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/formatter.cpython-311.pyc
index 961cf15..bbe5338 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/formatter.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/formatter.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/lexer.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/lexer.cpython-311.pyc
index f7f4046..b39eaaf 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/lexer.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/lexer.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/modeline.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/modeline.cpython-311.pyc
index 7978221..2cf93f6 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/modeline.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/modeline.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/plugin.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/plugin.cpython-311.pyc
index d2420a1..0382d87 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/plugin.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/plugin.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/regexopt.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/regexopt.cpython-311.pyc
index 8a97bf5..e56d8d0 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/regexopt.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/regexopt.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/scanner.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/scanner.cpython-311.pyc
index 386e590..6338377 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/scanner.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/scanner.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/sphinxext.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/sphinxext.cpython-311.pyc
index 47231b6..0e3195a 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/sphinxext.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/sphinxext.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/style.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/style.cpython-311.pyc
index 8d1c384..452c5d3 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/style.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/style.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/token.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/token.cpython-311.pyc
index 851bb07..aea8cd1 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/token.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/token.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/unistring.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/unistring.cpython-311.pyc
index a1831f4..2d855ca 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/unistring.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/unistring.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/util.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/util.cpython-311.pyc
index 90ef39b..ab5a961 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/util.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/pygments/__pycache__/util.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/cmdline.py b/.venv/Lib/site-packages/pip/_vendor/pygments/cmdline.py
deleted file mode 100644
index eec1775..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/pygments/cmdline.py
+++ /dev/null
@@ -1,668 +0,0 @@
-"""
-    pygments.cmdline
-    ~~~~~~~~~~~~~~~~
-
-    Command line interface.
-
-    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
-    :license: BSD, see LICENSE for details.
-"""
-
-import os
-import sys
-import shutil
-import argparse
-from textwrap import dedent
-
-from pip._vendor.pygments import __version__, highlight
-from pip._vendor.pygments.util import ClassNotFound, OptionError, docstring_headline, \
-    guess_decode, guess_decode_from_terminal, terminal_encoding, \
-    UnclosingTextIOWrapper
-from pip._vendor.pygments.lexers import get_all_lexers, get_lexer_by_name, guess_lexer, \
-    load_lexer_from_file, get_lexer_for_filename, find_lexer_class_for_filename
-from pip._vendor.pygments.lexers.special import TextLexer
-from pip._vendor.pygments.formatters.latex import LatexEmbeddedLexer, LatexFormatter
-from pip._vendor.pygments.formatters import get_all_formatters, get_formatter_by_name, \
-    load_formatter_from_file, get_formatter_for_filename, find_formatter_class
-from pip._vendor.pygments.formatters.terminal import TerminalFormatter
-from pip._vendor.pygments.formatters.terminal256 import Terminal256Formatter, TerminalTrueColorFormatter
-from pip._vendor.pygments.filters import get_all_filters, find_filter_class
-from pip._vendor.pygments.styles import get_all_styles, get_style_by_name
-
-
-def _parse_options(o_strs):
-    opts = {}
-    if not o_strs:
-        return opts
-    for o_str in o_strs:
-        if not o_str.strip():
-            continue
-        o_args = o_str.split(',')
-        for o_arg in o_args:
-            o_arg = o_arg.strip()
-            try:
-                o_key, o_val = o_arg.split('=', 1)
-                o_key = o_key.strip()
-                o_val = o_val.strip()
-            except ValueError:
-                opts[o_arg] = True
-            else:
-                opts[o_key] = o_val
-    return opts
-
-
-def _parse_filters(f_strs):
-    filters = []
-    if not f_strs:
-        return filters
-    for f_str in f_strs:
-        if ':' in f_str:
-            fname, fopts = f_str.split(':', 1)
-            filters.append((fname, _parse_options([fopts])))
-        else:
-            filters.append((f_str, {}))
-    return filters
-
-
-def _print_help(what, name):
-    try:
-        if what == 'lexer':
-            cls = get_lexer_by_name(name)
-            print("Help on the %s lexer:" % cls.name)
-            print(dedent(cls.__doc__))
-        elif what == 'formatter':
-            cls = find_formatter_class(name)
-            print("Help on the %s formatter:" % cls.name)
-            print(dedent(cls.__doc__))
-        elif what == 'filter':
-            cls = find_filter_class(name)
-            print("Help on the %s filter:" % name)
-            print(dedent(cls.__doc__))
-        return 0
-    except (AttributeError, ValueError):
-        print("%s not found!" % what, file=sys.stderr)
-        return 1
-
-
-def _print_list(what):
-    if what == 'lexer':
-        print()
-        print("Lexers:")
-        print("~~~~~~~")
-
-        info = []
-        for fullname, names, exts, _ in get_all_lexers():
-            tup = (', '.join(names)+':', fullname,
-                   exts and '(filenames ' + ', '.join(exts) + ')' or '')
-            info.append(tup)
-        info.sort()
-        for i in info:
-            print(('* %s\n    %s %s') % i)
-
-    elif what == 'formatter':
-        print()
-        print("Formatters:")
-        print("~~~~~~~~~~~")
-
-        info = []
-        for cls in get_all_formatters():
-            doc = docstring_headline(cls)
-            tup = (', '.join(cls.aliases) + ':', doc, cls.filenames and
-                   '(filenames ' + ', '.join(cls.filenames) + ')' or '')
-            info.append(tup)
-        info.sort()
-        for i in info:
-            print(('* %s\n    %s %s') % i)
-
-    elif what == 'filter':
-        print()
-        print("Filters:")
-        print("~~~~~~~~")
-
-        for name in get_all_filters():
-            cls = find_filter_class(name)
-            print("* " + name + ':')
-            print("    %s" % docstring_headline(cls))
-
-    elif what == 'style':
-        print()
-        print("Styles:")
-        print("~~~~~~~")
-
-        for name in get_all_styles():
-            cls = get_style_by_name(name)
-            print("* " + name + ':')
-            print("    %s" % docstring_headline(cls))
-
-
-def _print_list_as_json(requested_items):
-    import json
-    result = {}
-    if 'lexer' in requested_items:
-        info = {}
-        for fullname, names, filenames, mimetypes in get_all_lexers():
-            info[fullname] = {
-                'aliases': names,
-                'filenames': filenames,
-                'mimetypes': mimetypes
-            }
-        result['lexers'] = info
-
-    if 'formatter' in requested_items:
-        info = {}
-        for cls in get_all_formatters():
-            doc = docstring_headline(cls)
-            info[cls.name] = {
-                'aliases': cls.aliases,
-                'filenames': cls.filenames,
-                'doc': doc
-            }
-        result['formatters'] = info
-
-    if 'filter' in requested_items:
-        info = {}
-        for name in get_all_filters():
-            cls = find_filter_class(name)
-            info[name] = {
-                'doc': docstring_headline(cls)
-            }
-        result['filters'] = info
-
-    if 'style' in requested_items:
-        info = {}
-        for name in get_all_styles():
-            cls = get_style_by_name(name)
-            info[name] = {
-                'doc': docstring_headline(cls)
-            }
-        result['styles'] = info
-
-    json.dump(result, sys.stdout)
-
-def main_inner(parser, argns):
-    if argns.help:
-        parser.print_help()
-        return 0
-
-    if argns.V:
-        print('Pygments version %s, (c) 2006-2023 by Georg Brandl, Matthäus '
-              'Chajdas and contributors.' % __version__)
-        return 0
-
-    def is_only_option(opt):
-        return not any(v for (k, v) in vars(argns).items() if k != opt)
-
-    # handle ``pygmentize -L``
-    if argns.L is not None:
-        arg_set = set()
-        for k, v in vars(argns).items():
-            if v:
-                arg_set.add(k)
-
-        arg_set.discard('L')
-        arg_set.discard('json')
-
-        if arg_set:
-            parser.print_help(sys.stderr)
-            return 2
-
-        # print version
-        if not argns.json:
-            main(['', '-V'])
-        allowed_types = {'lexer', 'formatter', 'filter', 'style'}
-        largs = [arg.rstrip('s') for arg in argns.L]
-        if any(arg not in allowed_types for arg in largs):
-            parser.print_help(sys.stderr)
-            return 0
-        if not largs:
-            largs = allowed_types
-        if not argns.json:
-            for arg in largs:
-                _print_list(arg)
-        else:
-            _print_list_as_json(largs)
-        return 0
-
-    # handle ``pygmentize -H``
-    if argns.H:
-        if not is_only_option('H'):
-            parser.print_help(sys.stderr)
-            return 2
-        what, name = argns.H
-        if what not in ('lexer', 'formatter', 'filter'):
-            parser.print_help(sys.stderr)
-            return 2
-        return _print_help(what, name)
-
-    # parse -O options
-    parsed_opts = _parse_options(argns.O or [])
-
-    # parse -P options
-    for p_opt in argns.P or []:
-        try:
-            name, value = p_opt.split('=', 1)
-        except ValueError:
-            parsed_opts[p_opt] = True
-        else:
-            parsed_opts[name] = value
-
-    # encodings
-    inencoding = parsed_opts.get('inencoding', parsed_opts.get('encoding'))
-    outencoding = parsed_opts.get('outencoding', parsed_opts.get('encoding'))
-
-    # handle ``pygmentize -N``
-    if argns.N:
-        lexer = find_lexer_class_for_filename(argns.N)
-        if lexer is None:
-            lexer = TextLexer
-
-        print(lexer.aliases[0])
-        return 0
-
-    # handle ``pygmentize -C``
-    if argns.C:
-        inp = sys.stdin.buffer.read()
-        try:
-            lexer = guess_lexer(inp, inencoding=inencoding)
-        except ClassNotFound:
-            lexer = TextLexer
-
-        print(lexer.aliases[0])
-        return 0
-
-    # handle ``pygmentize -S``
-    S_opt = argns.S
-    a_opt = argns.a
-    if S_opt is not None:
-        f_opt = argns.f
-        if not f_opt:
-            parser.print_help(sys.stderr)
-            return 2
-        if argns.l or argns.INPUTFILE:
-            parser.print_help(sys.stderr)
-            return 2
-
-        try:
-            parsed_opts['style'] = S_opt
-            fmter = get_formatter_by_name(f_opt, **parsed_opts)
-        except ClassNotFound as err:
-            print(err, file=sys.stderr)
-            return 1
-
-        print(fmter.get_style_defs(a_opt or ''))
-        return 0
-
-    # if no -S is given, -a is not allowed
-    if argns.a is not None:
-        parser.print_help(sys.stderr)
-        return 2
-
-    # parse -F options
-    F_opts = _parse_filters(argns.F or [])
-
-    # -x: allow custom (eXternal) lexers and formatters
-    allow_custom_lexer_formatter = bool(argns.x)
-
-    # select lexer
-    lexer = None
-
-    # given by name?
-    lexername = argns.l
-    if lexername:
-        # custom lexer, located relative to user's cwd
-        if allow_custom_lexer_formatter and '.py' in lexername:
-            try:
-                filename = None
-                name = None
-                if ':' in lexername:
-                    filename, name = lexername.rsplit(':', 1)
-
-                    if '.py' in name:
-                        # This can happen on Windows: If the lexername is
-                        # C:\lexer.py -- return to normal load path in that case
-                        name = None
-
-                if filename and name:
-                    lexer = load_lexer_from_file(filename, name,
-                                                 **parsed_opts)
-                else:
-                    lexer = load_lexer_from_file(lexername, **parsed_opts)
-            except ClassNotFound as err:
-                print('Error:', err, file=sys.stderr)
-                return 1
-        else:
-            try:
-                lexer = get_lexer_by_name(lexername, **parsed_opts)
-            except (OptionError, ClassNotFound) as err:
-                print('Error:', err, file=sys.stderr)
-                return 1
-
-    # read input code
-    code = None
-
-    if argns.INPUTFILE:
-        if argns.s:
-            print('Error: -s option not usable when input file specified',
-                  file=sys.stderr)
-            return 2
-
-        infn = argns.INPUTFILE
-        try:
-            with open(infn, 'rb') as infp:
-                code = infp.read()
-        except Exception as err:
-            print('Error: cannot read infile:', err, file=sys.stderr)
-            return 1
-        if not inencoding:
-            code, inencoding = guess_decode(code)
-
-        # do we have to guess the lexer?
-        if not lexer:
-            try:
-                lexer = get_lexer_for_filename(infn, code, **parsed_opts)
-            except ClassNotFound as err:
-                if argns.g:
-                    try:
-                        lexer = guess_lexer(code, **parsed_opts)
-                    except ClassNotFound:
-                        lexer = TextLexer(**parsed_opts)
-                else:
-                    print('Error:', err, file=sys.stderr)
-                    return 1
-            except OptionError as err:
-                print('Error:', err, file=sys.stderr)
-                return 1
-
-    elif not argns.s:  # treat stdin as full file (-s support is later)
-        # read code from terminal, always in binary mode since we want to
-        # decode ourselves and be tolerant with it
-        code = sys.stdin.buffer.read()  # use .buffer to get a binary stream
-        if not inencoding:
-            code, inencoding = guess_decode_from_terminal(code, sys.stdin)
-            # else the lexer will do the decoding
-        if not lexer:
-            try:
-                lexer = guess_lexer(code, **parsed_opts)
-            except ClassNotFound:
-                lexer = TextLexer(**parsed_opts)
-
-    else:  # -s option needs a lexer with -l
-        if not lexer:
-            print('Error: when using -s a lexer has to be selected with -l',
-                  file=sys.stderr)
-            return 2
-
-    # process filters
-    for fname, fopts in F_opts:
-        try:
-            lexer.add_filter(fname, **fopts)
-        except ClassNotFound as err:
-            print('Error:', err, file=sys.stderr)
-            return 1
-
-    # select formatter
-    outfn = argns.o
-    fmter = argns.f
-    if fmter:
-        # custom formatter, located relative to user's cwd
-        if allow_custom_lexer_formatter and '.py' in fmter:
-            try:
-                filename = None
-                name = None
-                if ':' in fmter:
-                    # Same logic as above for custom lexer
-                    filename, name = fmter.rsplit(':', 1)
-
-                    if '.py' in name:
-                        name = None
-
-                if filename and name:
-                    fmter = load_formatter_from_file(filename, name,
-                                                     **parsed_opts)
-                else:
-                    fmter = load_formatter_from_file(fmter, **parsed_opts)
-            except ClassNotFound as err:
-                print('Error:', err, file=sys.stderr)
-                return 1
-        else:
-            try:
-                fmter = get_formatter_by_name(fmter, **parsed_opts)
-            except (OptionError, ClassNotFound) as err:
-                print('Error:', err, file=sys.stderr)
-                return 1
-
-    if outfn:
-        if not fmter:
-            try:
-                fmter = get_formatter_for_filename(outfn, **parsed_opts)
-            except (OptionError, ClassNotFound) as err:
-                print('Error:', err, file=sys.stderr)
-                return 1
-        try:
-            outfile = open(outfn, 'wb')
-        except Exception as err:
-            print('Error: cannot open outfile:', err, file=sys.stderr)
-            return 1
-    else:
-        if not fmter:
-            if os.environ.get('COLORTERM','') in ('truecolor', '24bit'):
-                fmter = TerminalTrueColorFormatter(**parsed_opts)
-            elif '256' in os.environ.get('TERM', ''):
-                fmter = Terminal256Formatter(**parsed_opts)
-            else:
-                fmter = TerminalFormatter(**parsed_opts)
-        outfile = sys.stdout.buffer
-
-    # determine output encoding if not explicitly selected
-    if not outencoding:
-        if outfn:
-            # output file? use lexer encoding for now (can still be None)
-            fmter.encoding = inencoding
-        else:
-            # else use terminal encoding
-            fmter.encoding = terminal_encoding(sys.stdout)
-
-    # provide coloring under Windows, if possible
-    if not outfn and sys.platform in ('win32', 'cygwin') and \
-       fmter.name in ('Terminal', 'Terminal256'):  # pragma: no cover
-        # unfortunately colorama doesn't support binary streams on Py3
-        outfile = UnclosingTextIOWrapper(outfile, encoding=fmter.encoding)
-        fmter.encoding = None
-        try:
-            import pip._vendor.colorama.initialise as colorama_initialise
-        except ImportError:
-            pass
-        else:
-            outfile = colorama_initialise.wrap_stream(
-                outfile, convert=None, strip=None, autoreset=False, wrap=True)
-
-    # When using the LaTeX formatter and the option `escapeinside` is
-    # specified, we need a special lexer which collects escaped text
-    # before running the chosen language lexer.
-    escapeinside = parsed_opts.get('escapeinside', '')
-    if len(escapeinside) == 2 and isinstance(fmter, LatexFormatter):
-        left = escapeinside[0]
-        right = escapeinside[1]
-        lexer = LatexEmbeddedLexer(left, right, lexer)
-
-    # ... and do it!
-    if not argns.s:
-        # process whole input as per normal...
-        try:
-            highlight(code, lexer, fmter, outfile)
-        finally:
-            if outfn:
-                outfile.close()
-        return 0
-    else:
-        # line by line processing of stdin (eg: for 'tail -f')...
-        try:
-            while 1:
-                line = sys.stdin.buffer.readline()
-                if not line:
-                    break
-                if not inencoding:
-                    line = guess_decode_from_terminal(line, sys.stdin)[0]
-                highlight(line, lexer, fmter, outfile)
-                if hasattr(outfile, 'flush'):
-                    outfile.flush()
-            return 0
-        except KeyboardInterrupt:  # pragma: no cover
-            return 0
-        finally:
-            if outfn:
-                outfile.close()
-
-
-class HelpFormatter(argparse.HelpFormatter):
-    def __init__(self, prog, indent_increment=2, max_help_position=16, width=None):
-        if width is None:
-            try:
-                width = shutil.get_terminal_size().columns - 2
-            except Exception:
-                pass
-        argparse.HelpFormatter.__init__(self, prog, indent_increment,
-                                        max_help_position, width)
-
-
-def main(args=sys.argv):
-    """
-    Main command line entry point.
-    """
-    desc = "Highlight an input file and write the result to an output file."
-    parser = argparse.ArgumentParser(description=desc, add_help=False,
-                                     formatter_class=HelpFormatter)
-
-    operation = parser.add_argument_group('Main operation')
-    lexersel = operation.add_mutually_exclusive_group()
-    lexersel.add_argument(
-        '-l', metavar='LEXER',
-        help='Specify the lexer to use.  (Query names with -L.)  If not '
-        'given and -g is not present, the lexer is guessed from the filename.')
-    lexersel.add_argument(
-        '-g', action='store_true',
-        help='Guess the lexer from the file contents, or pass through '
-        'as plain text if nothing can be guessed.')
-    operation.add_argument(
-        '-F', metavar='FILTER[:options]', action='append',
-        help='Add a filter to the token stream.  (Query names with -L.) '
-        'Filter options are given after a colon if necessary.')
-    operation.add_argument(
-        '-f', metavar='FORMATTER',
-        help='Specify the formatter to use.  (Query names with -L.) '
-        'If not given, the formatter is guessed from the output filename, '
-        'and defaults to the terminal formatter if the output is to the '
-        'terminal or an unknown file extension.')
-    operation.add_argument(
-        '-O', metavar='OPTION=value[,OPTION=value,...]', action='append',
-        help='Give options to the lexer and formatter as a comma-separated '
-        'list of key-value pairs. '
-        'Example: `-O bg=light,python=cool`.')
-    operation.add_argument(
-        '-P', metavar='OPTION=value', action='append',
-        help='Give a single option to the lexer and formatter - with this '
-        'you can pass options whose value contains commas and equal signs. '
-        'Example: `-P "heading=Pygments, the Python highlighter"`.')
-    operation.add_argument(
-        '-o', metavar='OUTPUTFILE',
-        help='Where to write the output.  Defaults to standard output.')
-
-    operation.add_argument(
-        'INPUTFILE', nargs='?',
-        help='Where to read the input.  Defaults to standard input.')
-
-    flags = parser.add_argument_group('Operation flags')
-    flags.add_argument(
-        '-v', action='store_true',
-        help='Print a detailed traceback on unhandled exceptions, which '
-        'is useful for debugging and bug reports.')
-    flags.add_argument(
-        '-s', action='store_true',
-        help='Process lines one at a time until EOF, rather than waiting to '
-        'process the entire file.  This only works for stdin, only for lexers '
-        'with no line-spanning constructs, and is intended for streaming '
-        'input such as you get from `tail -f`. '
-        'Example usage: `tail -f sql.log | pygmentize -s -l sql`.')
-    flags.add_argument(
-        '-x', action='store_true',
-        help='Allow custom lexers and formatters to be loaded from a .py file '
-        'relative to the current working directory. For example, '
-        '`-l ./customlexer.py -x`. By default, this option expects a file '
-        'with a class named CustomLexer or CustomFormatter; you can also '
-        'specify your own class name with a colon (`-l ./lexer.py:MyLexer`). '
-        'Users should be very careful not to use this option with untrusted '
-        'files, because it will import and run them.')
-    flags.add_argument('--json', help='Output as JSON. This can '
-        'be only used in conjunction with -L.',
-        default=False,
-        action='store_true')
-
-    special_modes_group = parser.add_argument_group(
-        'Special modes - do not do any highlighting')
-    special_modes = special_modes_group.add_mutually_exclusive_group()
-    special_modes.add_argument(
-        '-S', metavar='STYLE -f formatter',
-        help='Print style definitions for STYLE for a formatter '
-        'given with -f. The argument given by -a is formatter '
-        'dependent.')
-    special_modes.add_argument(
-        '-L', nargs='*', metavar='WHAT',
-        help='List lexers, formatters, styles or filters -- '
-        'give additional arguments for the thing(s) you want to list '
-        '(e.g. "styles"), or omit them to list everything.')
-    special_modes.add_argument(
-        '-N', metavar='FILENAME',
-        help='Guess and print out a lexer name based solely on the given '
-        'filename. Does not take input or highlight anything. If no specific '
-        'lexer can be determined, "text" is printed.')
-    special_modes.add_argument(
-        '-C', action='store_true',
-        help='Like -N, but print out a lexer name based solely on '
-        'a given content from standard input.')
-    special_modes.add_argument(
-        '-H', action='store', nargs=2, metavar=('NAME', 'TYPE'),
-        help='Print detailed help for the object  of type , '
-        'where  is one of "lexer", "formatter" or "filter".')
-    special_modes.add_argument(
-        '-V', action='store_true',
-        help='Print the package version.')
-    special_modes.add_argument(
-        '-h', '--help', action='store_true',
-        help='Print this help.')
-    special_modes_group.add_argument(
-        '-a', metavar='ARG',
-        help='Formatter-specific additional argument for the -S (print '
-        'style sheet) mode.')
-
-    argns = parser.parse_args(args[1:])
-
-    try:
-        return main_inner(parser, argns)
-    except BrokenPipeError:
-        # someone closed our stdout, e.g. by quitting a pager.
-        return 0
-    except Exception:
-        if argns.v:
-            print(file=sys.stderr)
-            print('*' * 65, file=sys.stderr)
-            print('An unhandled exception occurred while highlighting.',
-                  file=sys.stderr)
-            print('Please report the whole traceback to the issue tracker at',
-                  file=sys.stderr)
-            print('.',
-                  file=sys.stderr)
-            print('*' * 65, file=sys.stderr)
-            print(file=sys.stderr)
-            raise
-        import traceback
-        info = traceback.format_exception(*sys.exc_info())
-        msg = info[-1].strip()
-        if len(info) >= 3:
-            # extract relevant file and position info
-            msg += '\n   (f%s)' % info[-2].split('\n')[0].strip()[1:]
-        print(file=sys.stderr)
-        print('*** Error while highlighting:', file=sys.stderr)
-        print(msg, file=sys.stderr)
-        print('*** If this is a bug you want to report, please rerun with -v.',
-              file=sys.stderr)
-        return 1
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/console.py b/.venv/Lib/site-packages/pip/_vendor/pygments/console.py
index deb4937..ee1ac27 100644
--- a/.venv/Lib/site-packages/pip/_vendor/pygments/console.py
+++ b/.venv/Lib/site-packages/pip/_vendor/pygments/console.py
@@ -4,7 +4,7 @@
 
     Format colored console output.
 
-    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
+    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
     :license: BSD, see LICENSE for details.
 """
 
@@ -27,12 +27,12 @@ light_colors = ["brightblack", "brightred", "brightgreen", "brightyellow", "brig
                 "brightmagenta", "brightcyan", "white"]
 
 x = 30
-for d, l in zip(dark_colors, light_colors):
-    codes[d] = esc + "%im" % x
-    codes[l] = esc + "%im" % (60 + x)
+for dark, light in zip(dark_colors, light_colors):
+    codes[dark] = esc + "%im" % x
+    codes[light] = esc + "%im" % (60 + x)
     x += 1
 
-del d, l, x
+del dark, light, x
 
 codes["white"] = codes["bold"]
 
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/filter.py b/.venv/Lib/site-packages/pip/_vendor/pygments/filter.py
index dafa08d..5efff43 100644
--- a/.venv/Lib/site-packages/pip/_vendor/pygments/filter.py
+++ b/.venv/Lib/site-packages/pip/_vendor/pygments/filter.py
@@ -4,7 +4,7 @@
 
     Module that implements the default filter.
 
-    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
+    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
     :license: BSD, see LICENSE for details.
 """
 
@@ -62,8 +62,7 @@ class FunctionFilter(Filter):
 
     def __init__(self, **options):
         if not hasattr(self, 'function'):
-            raise TypeError('%r used without bound function' %
-                            self.__class__.__name__)
+            raise TypeError(f'{self.__class__.__name__!r} used without bound function')
         Filter.__init__(self, **options)
 
     def filter(self, lexer, stream):
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/filters/__init__.py b/.venv/Lib/site-packages/pip/_vendor/pygments/filters/__init__.py
index 5aa9ecb..97380c9 100644
--- a/.venv/Lib/site-packages/pip/_vendor/pygments/filters/__init__.py
+++ b/.venv/Lib/site-packages/pip/_vendor/pygments/filters/__init__.py
@@ -5,7 +5,7 @@
     Module containing filter lookup functions and default
     filters.
 
-    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
+    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
     :license: BSD, see LICENSE for details.
 """
 
@@ -39,7 +39,7 @@ def get_filter_by_name(filtername, **options):
     if cls:
         return cls(**options)
     else:
-        raise ClassNotFound('filter %r not found' % filtername)
+        raise ClassNotFound(f'filter {filtername!r} not found')
 
 
 def get_all_filters():
@@ -79,9 +79,9 @@ class CodeTagFilter(Filter):
         Filter.__init__(self, **options)
         tags = get_list_opt(options, 'codetags',
                             ['XXX', 'TODO', 'FIXME', 'BUG', 'NOTE'])
-        self.tag_re = re.compile(r'\b(%s)\b' % '|'.join([
+        self.tag_re = re.compile(r'\b({})\b'.format('|'.join([
             re.escape(tag) for tag in tags if tag
-        ]))
+        ])))
 
     def filter(self, lexer, stream):
         regex = self.tag_re
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/filters/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/filters/__pycache__/__init__.cpython-311.pyc
index 87b6fe3..9d60efc 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/filters/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/pygments/filters/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/formatter.py b/.venv/Lib/site-packages/pip/_vendor/pygments/formatter.py
index 3ca4892..0041e41 100644
--- a/.venv/Lib/site-packages/pip/_vendor/pygments/formatter.py
+++ b/.venv/Lib/site-packages/pip/_vendor/pygments/formatter.py
@@ -4,7 +4,7 @@
 
     Base formatter class.
 
-    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
+    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
     :license: BSD, see LICENSE for details.
 """
 
@@ -122,3 +122,8 @@ class Formatter:
             # wrap the outfile in a StreamWriter
             outfile = codecs.lookup(self.encoding)[3](outfile)
         return self.format_unencoded(tokensource, outfile)
+
+    # Allow writing Formatter[str] or Formatter[bytes]. That's equivalent to
+    # Formatter. This helps when using third-party type stubs from typeshed.
+    def __class_getitem__(cls, name):
+        return cls
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__init__.py b/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__init__.py
index 39db842..014f2ee 100644
--- a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__init__.py
+++ b/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__init__.py
@@ -4,7 +4,7 @@
 
     Pygments formatters.
 
-    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
+    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
     :license: BSD, see LICENSE for details.
 """
 
@@ -77,7 +77,7 @@ def get_formatter_by_name(_alias, **options):
     """
     cls = find_formatter_class(_alias)
     if cls is None:
-        raise ClassNotFound("no formatter found for name %r" % _alias)
+        raise ClassNotFound(f"no formatter found for name {_alias!r}")
     return cls(**options)
 
 
@@ -103,17 +103,16 @@ def load_formatter_from_file(filename, formattername="CustomFormatter", **option
             exec(f.read(), custom_namespace)
         # Retrieve the class `formattername` from that namespace
         if formattername not in custom_namespace:
-            raise ClassNotFound('no valid %s class found in %s' %
-                                (formattername, filename))
+            raise ClassNotFound(f'no valid {formattername} class found in {filename}')
         formatter_class = custom_namespace[formattername]
         # And finally instantiate it with the options
         return formatter_class(**options)
     except OSError as err:
-        raise ClassNotFound('cannot read %s: %s' % (filename, err))
+        raise ClassNotFound(f'cannot read {filename}: {err}')
     except ClassNotFound:
         raise
     except Exception as err:
-        raise ClassNotFound('error when loading custom formatter: %s' % err)
+        raise ClassNotFound(f'error when loading custom formatter: {err}')
 
 
 def get_formatter_for_filename(fn, **options):
@@ -131,11 +130,11 @@ def get_formatter_for_filename(fn, **options):
                 if name not in _formatter_cache:
                     _load_formatters(modname)
                 return _formatter_cache[name](**options)
-    for cls in find_plugin_formatters():
+    for _name, cls in find_plugin_formatters():
         for filename in cls.filenames:
             if _fn_matches(fn, filename):
                 return cls(**options)
-    raise ClassNotFound("no formatter found for file name %r" % fn)
+    raise ClassNotFound(f"no formatter found for file name {fn!r}")
 
 
 class _automodule(types.ModuleType):
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-311.pyc
index 54b4b25..ea3096c 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-311.pyc
index 7e0448d..e0cf938 100644
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-311.pyc differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/bbcode.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/bbcode.cpython-311.pyc
deleted file mode 100644
index f7e83d4..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/bbcode.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/groff.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/groff.cpython-311.pyc
deleted file mode 100644
index d604f99..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/groff.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/html.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/html.cpython-311.pyc
deleted file mode 100644
index 277163f..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/html.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/img.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/img.cpython-311.pyc
deleted file mode 100644
index 31ad96e..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/img.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/irc.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/irc.cpython-311.pyc
deleted file mode 100644
index b4ac24c..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/irc.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/latex.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/latex.cpython-311.pyc
deleted file mode 100644
index 054d0f3..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/latex.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/other.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/other.cpython-311.pyc
deleted file mode 100644
index 3098429..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/other.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/pangomarkup.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/pangomarkup.cpython-311.pyc
deleted file mode 100644
index 0d1c9cd..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/pangomarkup.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/rtf.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/rtf.cpython-311.pyc
deleted file mode 100644
index b0dfa8c..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/rtf.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/svg.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/svg.cpython-311.pyc
deleted file mode 100644
index ac9882a..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/svg.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/terminal.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/terminal.cpython-311.pyc
deleted file mode 100644
index d2da2cf..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/terminal.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/terminal256.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/terminal256.cpython-311.pyc
deleted file mode 100644
index 6f7c425..0000000
Binary files a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/terminal256.cpython-311.pyc and /dev/null differ
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/bbcode.py b/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/bbcode.py
deleted file mode 100644
index c4db8f4..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/bbcode.py
+++ /dev/null
@@ -1,108 +0,0 @@
-"""
-    pygments.formatters.bbcode
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-    BBcode formatter.
-
-    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
-    :license: BSD, see LICENSE for details.
-"""
-
-
-from pip._vendor.pygments.formatter import Formatter
-from pip._vendor.pygments.util import get_bool_opt
-
-__all__ = ['BBCodeFormatter']
-
-
-class BBCodeFormatter(Formatter):
-    """
-    Format tokens with BBcodes. These formatting codes are used by many
-    bulletin boards, so you can highlight your sourcecode with pygments before
-    posting it there.
-
-    This formatter has no support for background colors and borders, as there
-    are no common BBcode tags for that.
-
-    Some board systems (e.g. phpBB) don't support colors in their [code] tag,
-    so you can't use the highlighting together with that tag.
-    Text in a [code] tag usually is shown with a monospace font (which this
-    formatter can do with the ``monofont`` option) and no spaces (which you
-    need for indentation) are removed.
-
-    Additional options accepted:
-
-    `style`
-        The style to use, can be a string or a Style subclass (default:
-        ``'default'``).
-
-    `codetag`
-        If set to true, put the output into ``[code]`` tags (default:
-        ``false``)
-
-    `monofont`
-        If set to true, add a tag to show the code with a monospace font
-        (default: ``false``).
-    """
-    name = 'BBCode'
-    aliases = ['bbcode', 'bb']
-    filenames = []
-
-    def __init__(self, **options):
-        Formatter.__init__(self, **options)
-        self._code = get_bool_opt(options, 'codetag', False)
-        self._mono = get_bool_opt(options, 'monofont', False)
-
-        self.styles = {}
-        self._make_styles()
-
-    def _make_styles(self):
-        for ttype, ndef in self.style:
-            start = end = ''
-            if ndef['color']:
-                start += '[color=#%s]' % ndef['color']
-                end = '[/color]' + end
-            if ndef['bold']:
-                start += '[b]'
-                end = '[/b]' + end
-            if ndef['italic']:
-                start += '[i]'
-                end = '[/i]' + end
-            if ndef['underline']:
-                start += '[u]'
-                end = '[/u]' + end
-            # there are no common BBcodes for background-color and border
-
-            self.styles[ttype] = start, end
-
-    def format_unencoded(self, tokensource, outfile):
-        if self._code:
-            outfile.write('[code]')
-        if self._mono:
-            outfile.write('[font=monospace]')
-
-        lastval = ''
-        lasttype = None
-
-        for ttype, value in tokensource:
-            while ttype not in self.styles:
-                ttype = ttype.parent
-            if ttype == lasttype:
-                lastval += value
-            else:
-                if lastval:
-                    start, end = self.styles[lasttype]
-                    outfile.write(''.join((start, lastval, end)))
-                lastval = value
-                lasttype = ttype
-
-        if lastval:
-            start, end = self.styles[lasttype]
-            outfile.write(''.join((start, lastval, end)))
-
-        if self._mono:
-            outfile.write('[/font]')
-        if self._code:
-            outfile.write('[/code]')
-        if self._code or self._mono:
-            outfile.write('\n')
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/groff.py b/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/groff.py
deleted file mode 100644
index 30a528e..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/groff.py
+++ /dev/null
@@ -1,170 +0,0 @@
-"""
-    pygments.formatters.groff
-    ~~~~~~~~~~~~~~~~~~~~~~~~~
-
-    Formatter for groff output.
-
-    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
-    :license: BSD, see LICENSE for details.
-"""
-
-import math
-from pip._vendor.pygments.formatter import Formatter
-from pip._vendor.pygments.util import get_bool_opt, get_int_opt
-
-__all__ = ['GroffFormatter']
-
-
-class GroffFormatter(Formatter):
-    """
-    Format tokens with groff escapes to change their color and font style.
-
-    .. versionadded:: 2.11
-
-    Additional options accepted:
-
-    `style`
-        The style to use, can be a string or a Style subclass (default:
-        ``'default'``).
-
-    `monospaced`
-        If set to true, monospace font will be used (default: ``true``).
-
-    `linenos`
-        If set to true, print the line numbers (default: ``false``).
-
-    `wrap`
-        Wrap lines to the specified number of characters. Disabled if set to 0
-        (default: ``0``).
-    """
-
-    name = 'groff'
-    aliases = ['groff','troff','roff']
-    filenames = []
-
-    def __init__(self, **options):
-        Formatter.__init__(self, **options)
-
-        self.monospaced = get_bool_opt(options, 'monospaced', True)
-        self.linenos = get_bool_opt(options, 'linenos', False)
-        self._lineno = 0
-        self.wrap = get_int_opt(options, 'wrap', 0)
-        self._linelen = 0
-
-        self.styles = {}
-        self._make_styles()
-
-
-    def _make_styles(self):
-        regular = '\\f[CR]' if self.monospaced else '\\f[R]'
-        bold = '\\f[CB]' if self.monospaced else '\\f[B]'
-        italic = '\\f[CI]' if self.monospaced else '\\f[I]'
-
-        for ttype, ndef in self.style:
-            start = end = ''
-            if ndef['color']:
-                start += '\\m[%s]' % ndef['color']
-                end = '\\m[]' + end
-            if ndef['bold']:
-                start += bold
-                end = regular + end
-            if ndef['italic']:
-                start += italic
-                end = regular + end
-            if ndef['bgcolor']:
-                start += '\\M[%s]' % ndef['bgcolor']
-                end = '\\M[]' + end
-
-            self.styles[ttype] = start, end
-
-
-    def _define_colors(self, outfile):
-        colors = set()
-        for _, ndef in self.style:
-            if ndef['color'] is not None:
-                colors.add(ndef['color'])
-
-        for color in sorted(colors):
-            outfile.write('.defcolor ' + color + ' rgb #' + color + '\n')
-
-
-    def _write_lineno(self, outfile):
-        self._lineno += 1
-        outfile.write("%s% 4d " % (self._lineno != 1 and '\n' or '', self._lineno))
-
-
-    def _wrap_line(self, line):
-        length = len(line.rstrip('\n'))
-        space = '     ' if self.linenos else ''
-        newline = ''
-
-        if length > self.wrap:
-            for i in range(0, math.floor(length / self.wrap)):
-                chunk = line[i*self.wrap:i*self.wrap+self.wrap]
-                newline += (chunk + '\n' + space)
-            remainder = length % self.wrap
-            if remainder > 0:
-                newline += line[-remainder-1:]
-                self._linelen = remainder
-        elif self._linelen + length > self.wrap:
-            newline = ('\n' + space) + line
-            self._linelen = length
-        else:
-            newline = line
-            self._linelen += length
-
-        return newline
-
-
-    def _escape_chars(self, text):
-        text = text.replace('\\', '\\[u005C]'). \
-                    replace('.', '\\[char46]'). \
-                    replace('\'', '\\[u0027]'). \
-                    replace('`', '\\[u0060]'). \
-                    replace('~', '\\[u007E]')
-        copy = text
-
-        for char in copy:
-            if len(char) != len(char.encode()):
-                uni = char.encode('unicode_escape') \
-                    .decode()[1:] \
-                    .replace('x', 'u00') \
-                    .upper()
-                text = text.replace(char, '\\[u' + uni[1:] + ']')
-
-        return text
-
-
-    def format_unencoded(self, tokensource, outfile):
-        self._define_colors(outfile)
-
-        outfile.write('.nf\n\\f[CR]\n')
-
-        if self.linenos:
-            self._write_lineno(outfile)
-
-        for ttype, value in tokensource:
-            while ttype not in self.styles:
-                ttype = ttype.parent
-            start, end = self.styles[ttype]
-
-            for line in value.splitlines(True):
-                if self.wrap > 0:
-                    line = self._wrap_line(line)
-
-                if start and end:
-                    text = self._escape_chars(line.rstrip('\n'))
-                    if text != '':
-                        outfile.write(''.join((start, text, end)))
-                else:
-                    outfile.write(self._escape_chars(line.rstrip('\n')))
-
-                if line.endswith('\n'):
-                    if self.linenos:
-                        self._write_lineno(outfile)
-                        self._linelen = 0
-                    else:
-                        outfile.write('\n')
-                        self._linelen = 0
-
-        outfile.write('\n.fi')
diff --git a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/html.py b/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/html.py
deleted file mode 100644
index 931d7c3..0000000
--- a/.venv/Lib/site-packages/pip/_vendor/pygments/formatters/html.py
+++ /dev/null
@@ -1,989 +0,0 @@
-"""
-    pygments.formatters.html
-    ~~~~~~~~~~~~~~~~~~~~~~~~
-
-    Formatter for HTML output.
-
-    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
-    :license: BSD, see LICENSE for details.
-"""
-
-import functools
-import os
-import sys
-import os.path
-from io import StringIO
-
-from pip._vendor.pygments.formatter import Formatter
-from pip._vendor.pygments.token import Token, Text, STANDARD_TYPES
-from pip._vendor.pygments.util import get_bool_opt, get_int_opt, get_list_opt
-
-try:
-    import ctags
-except ImportError:
-    ctags = None
-
-__all__ = ['HtmlFormatter']
-
-
-_escape_html_table = {
-    ord('&'): '&',
-    ord('<'): '<',
-    ord('>'): '>',
-    ord('"'): '"',
-    ord("'"): ''',
-}
-
-
-def escape_html(text, table=_escape_html_table):
-    """Escape &, <, > as well as single and double quotes for HTML."""
-    return text.translate(table)
-
-
-def webify(color):
-    if color.startswith('calc') or color.startswith('var'):
-        return color
-    else:
-        return '#' + color
-
-
-def _get_ttype_class(ttype):
-    fname = STANDARD_TYPES.get(ttype)
-    if fname:
-        return fname
-    aname = ''
-    while fname is None:
-        aname = '-' + ttype[-1] + aname
-        ttype = ttype.parent
-        fname = STANDARD_TYPES.get(ttype)
-    return fname + aname
-
-
-CSSFILE_TEMPLATE = '''\
-/*
-generated by Pygments 
-Copyright 2006-2023 by the Pygments team.
-Licensed under the BSD license, see LICENSE for details.
-*/
-%(styledefs)s
-'''
-
-DOC_HEADER = '''\
-
-
-
-
-  %(title)s
-  
-  
-
-
-

%(title)s

- -''' - -DOC_HEADER_EXTERNALCSS = '''\ - - - - - %(title)s - - - - -

%(title)s

- -''' - -DOC_FOOTER = '''\ - - -''' - - -class HtmlFormatter(Formatter): - r""" - Format tokens as HTML 4 ```` tags. By default, the content is enclosed - in a ``
`` tag, itself wrapped in a ``
`` tag (but see the `nowrap` option). - The ``
``'s CSS class can be set by the `cssclass` option. - - If the `linenos` option is set to ``"table"``, the ``
`` is
-    additionally wrapped inside a ```` which has one row and two
-    cells: one containing the line numbers and one containing the code.
-    Example:
-
-    .. sourcecode:: html
-
-        
-
- - -
-
1
-            2
-
-
def foo(bar):
-              pass
-            
-
- - (whitespace added to improve clarity). - - A list of lines can be specified using the `hl_lines` option to make these - lines highlighted (as of Pygments 0.11). - - With the `full` option, a complete HTML 4 document is output, including - the style definitions inside a `` - {% else %} - {{ head | safe }} - {% endif %} -{% if not embed %} - - -{% endif %} -{{ body | safe }} -{% for diagram in diagrams %} -
-

{{ diagram.title }}

-
{{ diagram.text }}
-
- {{ diagram.svg }} -
-
-{% endfor %} -{% if not embed %} - - -{% endif %} -""" - -template = Template(jinja2_template_source) - -# Note: ideally this would be a dataclass, but we're supporting Python 3.5+ so we can't do this yet -NamedDiagram = NamedTuple( - "NamedDiagram", - [("name", str), ("diagram", typing.Optional[railroad.DiagramItem]), ("index", int)], -) -""" -A simple structure for associating a name with a railroad diagram -""" - -T = TypeVar("T") - - -class EachItem(railroad.Group): - """ - Custom railroad item to compose a: - - Group containing a - - OneOrMore containing a - - Choice of the elements in the Each - with the group label indicating that all must be matched - """ - - all_label = "[ALL]" - - def __init__(self, *items): - choice_item = railroad.Choice(len(items) - 1, *items) - one_or_more_item = railroad.OneOrMore(item=choice_item) - super().__init__(one_or_more_item, label=self.all_label) - - -class AnnotatedItem(railroad.Group): - """ - Simple subclass of Group that creates an annotation label - """ - - def __init__(self, label: str, item): - super().__init__(item=item, label="[{}]".format(label) if label else label) - - -class EditablePartial(Generic[T]): - """ - Acts like a functools.partial, but can be edited. In other words, it represents a type that hasn't yet been - constructed. - """ - - # We need this here because the railroad constructors actually transform the data, so can't be called until the - # entire tree is assembled - - def __init__(self, func: Callable[..., T], args: list, kwargs: dict): - self.func = func - self.args = args - self.kwargs = kwargs - - @classmethod - def from_call(cls, func: Callable[..., T], *args, **kwargs) -> "EditablePartial[T]": - """ - If you call this function in the same way that you would call the constructor, it will store the arguments - as you expect. For example EditablePartial.from_call(Fraction, 1, 3)() == Fraction(1, 3) - """ - return EditablePartial(func=func, args=list(args), kwargs=kwargs) - - @property - def name(self): - return self.kwargs["name"] - - def __call__(self) -> T: - """ - Evaluate the partial and return the result - """ - args = self.args.copy() - kwargs = self.kwargs.copy() - - # This is a helpful hack to allow you to specify varargs parameters (e.g. *args) as keyword args (e.g. - # args=['list', 'of', 'things']) - arg_spec = inspect.getfullargspec(self.func) - if arg_spec.varargs in self.kwargs: - args += kwargs.pop(arg_spec.varargs) - - return self.func(*args, **kwargs) - - -def railroad_to_html(diagrams: List[NamedDiagram], embed=False, **kwargs) -> str: - """ - Given a list of NamedDiagram, produce a single HTML string that visualises those diagrams - :params kwargs: kwargs to be passed in to the template - """ - data = [] - for diagram in diagrams: - if diagram.diagram is None: - continue - io = StringIO() - try: - css = kwargs.get('css') - diagram.diagram.writeStandalone(io.write, css=css) - except AttributeError: - diagram.diagram.writeSvg(io.write) - title = diagram.name - if diagram.index == 0: - title += " (root)" - data.append({"title": title, "text": "", "svg": io.getvalue()}) - - return template.render(diagrams=data, embed=embed, **kwargs) - - -def resolve_partial(partial: "EditablePartial[T]") -> T: - """ - Recursively resolves a collection of Partials into whatever type they are - """ - if isinstance(partial, EditablePartial): - partial.args = resolve_partial(partial.args) - partial.kwargs = resolve_partial(partial.kwargs) - return partial() - elif isinstance(partial, list): - return [resolve_partial(x) for x in partial] - elif isinstance(partial, dict): - return {key: resolve_partial(x) for key, x in partial.items()} - else: - return partial - - -def to_railroad( - element: pyparsing.ParserElement, - diagram_kwargs: typing.Optional[dict] = None, - vertical: int = 3, - show_results_names: bool = False, - show_groups: bool = False, -) -> List[NamedDiagram]: - """ - Convert a pyparsing element tree into a list of diagrams. This is the recommended entrypoint to diagram - creation if you want to access the Railroad tree before it is converted to HTML - :param element: base element of the parser being diagrammed - :param diagram_kwargs: kwargs to pass to the Diagram() constructor - :param vertical: (optional) - int - limit at which number of alternatives should be - shown vertically instead of horizontally - :param show_results_names - bool to indicate whether results name annotations should be - included in the diagram - :param show_groups - bool to indicate whether groups should be highlighted with an unlabeled - surrounding box - """ - # Convert the whole tree underneath the root - lookup = ConverterState(diagram_kwargs=diagram_kwargs or {}) - _to_diagram_element( - element, - lookup=lookup, - parent=None, - vertical=vertical, - show_results_names=show_results_names, - show_groups=show_groups, - ) - - root_id = id(element) - # Convert the root if it hasn't been already - if root_id in lookup: - if not element.customName: - lookup[root_id].name = "" - lookup[root_id].mark_for_extraction(root_id, lookup, force=True) - - # Now that we're finished, we can convert from intermediate structures into Railroad elements - diags = list(lookup.diagrams.values()) - if len(diags) > 1: - # collapse out duplicate diags with the same name - seen = set() - deduped_diags = [] - for d in diags: - # don't extract SkipTo elements, they are uninformative as subdiagrams - if d.name == "...": - continue - if d.name is not None and d.name not in seen: - seen.add(d.name) - deduped_diags.append(d) - resolved = [resolve_partial(partial) for partial in deduped_diags] - else: - # special case - if just one diagram, always display it, even if - # it has no name - resolved = [resolve_partial(partial) for partial in diags] - return sorted(resolved, key=lambda diag: diag.index) - - -def _should_vertical( - specification: int, exprs: Iterable[pyparsing.ParserElement] -) -> bool: - """ - Returns true if we should return a vertical list of elements - """ - if specification is None: - return False - else: - return len(_visible_exprs(exprs)) >= specification - - -class ElementState: - """ - State recorded for an individual pyparsing Element - """ - - # Note: this should be a dataclass, but we have to support Python 3.5 - def __init__( - self, - element: pyparsing.ParserElement, - converted: EditablePartial, - parent: EditablePartial, - number: int, - name: str = None, - parent_index: typing.Optional[int] = None, - ): - #: The pyparsing element that this represents - self.element: pyparsing.ParserElement = element - #: The name of the element - self.name: typing.Optional[str] = name - #: The output Railroad element in an unconverted state - self.converted: EditablePartial = converted - #: The parent Railroad element, which we store so that we can extract this if it's duplicated - self.parent: EditablePartial = parent - #: The order in which we found this element, used for sorting diagrams if this is extracted into a diagram - self.number: int = number - #: The index of this inside its parent - self.parent_index: typing.Optional[int] = parent_index - #: If true, we should extract this out into a subdiagram - self.extract: bool = False - #: If true, all of this element's children have been filled out - self.complete: bool = False - - def mark_for_extraction( - self, el_id: int, state: "ConverterState", name: str = None, force: bool = False - ): - """ - Called when this instance has been seen twice, and thus should eventually be extracted into a sub-diagram - :param el_id: id of the element - :param state: element/diagram state tracker - :param name: name to use for this element's text - :param force: If true, force extraction now, regardless of the state of this. Only useful for extracting the - root element when we know we're finished - """ - self.extract = True - - # Set the name - if not self.name: - if name: - # Allow forcing a custom name - self.name = name - elif self.element.customName: - self.name = self.element.customName - else: - self.name = "" - - # Just because this is marked for extraction doesn't mean we can do it yet. We may have to wait for children - # to be added - # Also, if this is just a string literal etc, don't bother extracting it - if force or (self.complete and _worth_extracting(self.element)): - state.extract_into_diagram(el_id) - - -class ConverterState: - """ - Stores some state that persists between recursions into the element tree - """ - - def __init__(self, diagram_kwargs: typing.Optional[dict] = None): - #: A dictionary mapping ParserElements to state relating to them - self._element_diagram_states: Dict[int, ElementState] = {} - #: A dictionary mapping ParserElement IDs to subdiagrams generated from them - self.diagrams: Dict[int, EditablePartial[NamedDiagram]] = {} - #: The index of the next unnamed element - self.unnamed_index: int = 1 - #: The index of the next element. This is used for sorting - self.index: int = 0 - #: Shared kwargs that are used to customize the construction of diagrams - self.diagram_kwargs: dict = diagram_kwargs or {} - self.extracted_diagram_names: Set[str] = set() - - def __setitem__(self, key: int, value: ElementState): - self._element_diagram_states[key] = value - - def __getitem__(self, key: int) -> ElementState: - return self._element_diagram_states[key] - - def __delitem__(self, key: int): - del self._element_diagram_states[key] - - def __contains__(self, key: int): - return key in self._element_diagram_states - - def generate_unnamed(self) -> int: - """ - Generate a number used in the name of an otherwise unnamed diagram - """ - self.unnamed_index += 1 - return self.unnamed_index - - def generate_index(self) -> int: - """ - Generate a number used to index a diagram - """ - self.index += 1 - return self.index - - def extract_into_diagram(self, el_id: int): - """ - Used when we encounter the same token twice in the same tree. When this - happens, we replace all instances of that token with a terminal, and - create a new subdiagram for the token - """ - position = self[el_id] - - # Replace the original definition of this element with a regular block - if position.parent: - ret = EditablePartial.from_call(railroad.NonTerminal, text=position.name) - if "item" in position.parent.kwargs: - position.parent.kwargs["item"] = ret - elif "items" in position.parent.kwargs: - position.parent.kwargs["items"][position.parent_index] = ret - - # If the element we're extracting is a group, skip to its content but keep the title - if position.converted.func == railroad.Group: - content = position.converted.kwargs["item"] - else: - content = position.converted - - self.diagrams[el_id] = EditablePartial.from_call( - NamedDiagram, - name=position.name, - diagram=EditablePartial.from_call( - railroad.Diagram, content, **self.diagram_kwargs - ), - index=position.number, - ) - - del self[el_id] - - -def _worth_extracting(element: pyparsing.ParserElement) -> bool: - """ - Returns true if this element is worth having its own sub-diagram. Simply, if any of its children - themselves have children, then its complex enough to extract - """ - children = element.recurse() - return any(child.recurse() for child in children) - - -def _apply_diagram_item_enhancements(fn): - """ - decorator to ensure enhancements to a diagram item (such as results name annotations) - get applied on return from _to_diagram_element (we do this since there are several - returns in _to_diagram_element) - """ - - def _inner( - element: pyparsing.ParserElement, - parent: typing.Optional[EditablePartial], - lookup: ConverterState = None, - vertical: int = None, - index: int = 0, - name_hint: str = None, - show_results_names: bool = False, - show_groups: bool = False, - ) -> typing.Optional[EditablePartial]: - ret = fn( - element, - parent, - lookup, - vertical, - index, - name_hint, - show_results_names, - show_groups, - ) - - # apply annotation for results name, if present - if show_results_names and ret is not None: - element_results_name = element.resultsName - if element_results_name: - # add "*" to indicate if this is a "list all results" name - element_results_name += "" if element.modalResults else "*" - ret = EditablePartial.from_call( - railroad.Group, item=ret, label=element_results_name - ) - - return ret - - return _inner - - -def _visible_exprs(exprs: Iterable[pyparsing.ParserElement]): - non_diagramming_exprs = ( - pyparsing.ParseElementEnhance, - pyparsing.PositionToken, - pyparsing.And._ErrorStop, - ) - return [ - e - for e in exprs - if not (e.customName or e.resultsName or isinstance(e, non_diagramming_exprs)) - ] - - -@_apply_diagram_item_enhancements -def _to_diagram_element( - element: pyparsing.ParserElement, - parent: typing.Optional[EditablePartial], - lookup: ConverterState = None, - vertical: int = None, - index: int = 0, - name_hint: str = None, - show_results_names: bool = False, - show_groups: bool = False, -) -> typing.Optional[EditablePartial]: - """ - Recursively converts a PyParsing Element to a railroad Element - :param lookup: The shared converter state that keeps track of useful things - :param index: The index of this element within the parent - :param parent: The parent of this element in the output tree - :param vertical: Controls at what point we make a list of elements vertical. If this is an integer (the default), - it sets the threshold of the number of items before we go vertical. If True, always go vertical, if False, never - do so - :param name_hint: If provided, this will override the generated name - :param show_results_names: bool flag indicating whether to add annotations for results names - :returns: The converted version of the input element, but as a Partial that hasn't yet been constructed - :param show_groups: bool flag indicating whether to show groups using bounding box - """ - exprs = element.recurse() - name = name_hint or element.customName or element.__class__.__name__ - - # Python's id() is used to provide a unique identifier for elements - el_id = id(element) - - element_results_name = element.resultsName - - # Here we basically bypass processing certain wrapper elements if they contribute nothing to the diagram - if not element.customName: - if isinstance( - element, - ( - # pyparsing.TokenConverter, - # pyparsing.Forward, - pyparsing.Located, - ), - ): - # However, if this element has a useful custom name, and its child does not, we can pass it on to the child - if exprs: - if not exprs[0].customName: - propagated_name = name - else: - propagated_name = None - - return _to_diagram_element( - element.expr, - parent=parent, - lookup=lookup, - vertical=vertical, - index=index, - name_hint=propagated_name, - show_results_names=show_results_names, - show_groups=show_groups, - ) - - # If the element isn't worth extracting, we always treat it as the first time we say it - if _worth_extracting(element): - if el_id in lookup: - # If we've seen this element exactly once before, we are only just now finding out that it's a duplicate, - # so we have to extract it into a new diagram. - looked_up = lookup[el_id] - looked_up.mark_for_extraction(el_id, lookup, name=name_hint) - ret = EditablePartial.from_call(railroad.NonTerminal, text=looked_up.name) - return ret - - elif el_id in lookup.diagrams: - # If we have seen the element at least twice before, and have already extracted it into a subdiagram, we - # just put in a marker element that refers to the sub-diagram - ret = EditablePartial.from_call( - railroad.NonTerminal, text=lookup.diagrams[el_id].kwargs["name"] - ) - return ret - - # Recursively convert child elements - # Here we find the most relevant Railroad element for matching pyparsing Element - # We use ``items=[]`` here to hold the place for where the child elements will go once created - if isinstance(element, pyparsing.And): - # detect And's created with ``expr*N`` notation - for these use a OneOrMore with a repeat - # (all will have the same name, and resultsName) - if not exprs: - return None - if len(set((e.name, e.resultsName) for e in exprs)) == 1: - ret = EditablePartial.from_call( - railroad.OneOrMore, item="", repeat=str(len(exprs)) - ) - elif _should_vertical(vertical, exprs): - ret = EditablePartial.from_call(railroad.Stack, items=[]) - else: - ret = EditablePartial.from_call(railroad.Sequence, items=[]) - elif isinstance(element, (pyparsing.Or, pyparsing.MatchFirst)): - if not exprs: - return None - if _should_vertical(vertical, exprs): - ret = EditablePartial.from_call(railroad.Choice, 0, items=[]) - else: - ret = EditablePartial.from_call(railroad.HorizontalChoice, items=[]) - elif isinstance(element, pyparsing.Each): - if not exprs: - return None - ret = EditablePartial.from_call(EachItem, items=[]) - elif isinstance(element, pyparsing.NotAny): - ret = EditablePartial.from_call(AnnotatedItem, label="NOT", item="") - elif isinstance(element, pyparsing.FollowedBy): - ret = EditablePartial.from_call(AnnotatedItem, label="LOOKAHEAD", item="") - elif isinstance(element, pyparsing.PrecededBy): - ret = EditablePartial.from_call(AnnotatedItem, label="LOOKBEHIND", item="") - elif isinstance(element, pyparsing.Group): - if show_groups: - ret = EditablePartial.from_call(AnnotatedItem, label="", item="") - else: - ret = EditablePartial.from_call(railroad.Group, label="", item="") - elif isinstance(element, pyparsing.TokenConverter): - label = type(element).__name__.lower() - if label == "tokenconverter": - ret = EditablePartial.from_call(railroad.Sequence, items=[]) - else: - ret = EditablePartial.from_call(AnnotatedItem, label=label, item="") - elif isinstance(element, pyparsing.Opt): - ret = EditablePartial.from_call(railroad.Optional, item="") - elif isinstance(element, pyparsing.OneOrMore): - ret = EditablePartial.from_call(railroad.OneOrMore, item="") - elif isinstance(element, pyparsing.ZeroOrMore): - ret = EditablePartial.from_call(railroad.ZeroOrMore, item="") - elif isinstance(element, pyparsing.Group): - ret = EditablePartial.from_call( - railroad.Group, item=None, label=element_results_name - ) - elif isinstance(element, pyparsing.Empty) and not element.customName: - # Skip unnamed "Empty" elements - ret = None - elif isinstance(element, pyparsing.ParseElementEnhance): - ret = EditablePartial.from_call(railroad.Sequence, items=[]) - elif len(exprs) > 0 and not element_results_name: - ret = EditablePartial.from_call(railroad.Group, item="", label=name) - elif len(exprs) > 0: - ret = EditablePartial.from_call(railroad.Sequence, items=[]) - else: - terminal = EditablePartial.from_call(railroad.Terminal, element.defaultName) - ret = terminal - - if ret is None: - return - - # Indicate this element's position in the tree so we can extract it if necessary - lookup[el_id] = ElementState( - element=element, - converted=ret, - parent=parent, - parent_index=index, - number=lookup.generate_index(), - ) - if element.customName: - lookup[el_id].mark_for_extraction(el_id, lookup, element.customName) - - i = 0 - for expr in exprs: - # Add a placeholder index in case we have to extract the child before we even add it to the parent - if "items" in ret.kwargs: - ret.kwargs["items"].insert(i, None) - - item = _to_diagram_element( - expr, - parent=ret, - lookup=lookup, - vertical=vertical, - index=i, - show_results_names=show_results_names, - show_groups=show_groups, - ) - - # Some elements don't need to be shown in the diagram - if item is not None: - if "item" in ret.kwargs: - ret.kwargs["item"] = item - elif "items" in ret.kwargs: - # If we've already extracted the child, don't touch this index, since it's occupied by a nonterminal - ret.kwargs["items"][i] = item - i += 1 - elif "items" in ret.kwargs: - # If we're supposed to skip this element, remove it from the parent - del ret.kwargs["items"][i] - - # If all this items children are none, skip this item - if ret and ( - ("items" in ret.kwargs and len(ret.kwargs["items"]) == 0) - or ("item" in ret.kwargs and ret.kwargs["item"] is None) - ): - ret = EditablePartial.from_call(railroad.Terminal, name) - - # Mark this element as "complete", ie it has all of its children - if el_id in lookup: - lookup[el_id].complete = True - - if el_id in lookup and lookup[el_id].extract and lookup[el_id].complete: - lookup.extract_into_diagram(el_id) - if ret is not None: - ret = EditablePartial.from_call( - railroad.NonTerminal, text=lookup.diagrams[el_id].kwargs["name"] - ) - - return ret diff --git a/.venv/Lib/site-packages/pip/_vendor/pyparsing/diagram/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pyparsing/diagram/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index 57de5ea..0000000 Binary files a/.venv/Lib/site-packages/pip/_vendor/pyparsing/diagram/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/.venv/Lib/site-packages/pip/_vendor/pyparsing/exceptions.py b/.venv/Lib/site-packages/pip/_vendor/pyparsing/exceptions.py deleted file mode 100644 index 12219f1..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/pyparsing/exceptions.py +++ /dev/null @@ -1,299 +0,0 @@ -# exceptions.py - -import re -import sys -import typing - -from .util import ( - col, - line, - lineno, - _collapse_string_to_ranges, - replaced_by_pep8, -) -from .unicode import pyparsing_unicode as ppu - - -class ExceptionWordUnicode(ppu.Latin1, ppu.LatinA, ppu.LatinB, ppu.Greek, ppu.Cyrillic): - pass - - -_extract_alphanums = _collapse_string_to_ranges(ExceptionWordUnicode.alphanums) -_exception_word_extractor = re.compile("([" + _extract_alphanums + "]{1,16})|.") - - -class ParseBaseException(Exception): - """base exception class for all parsing runtime exceptions""" - - loc: int - msg: str - pstr: str - parser_element: typing.Any # "ParserElement" - args: typing.Tuple[str, int, typing.Optional[str]] - - __slots__ = ( - "loc", - "msg", - "pstr", - "parser_element", - "args", - ) - - # Performance tuning: we construct a *lot* of these, so keep this - # constructor as small and fast as possible - def __init__( - self, - pstr: str, - loc: int = 0, - msg: typing.Optional[str] = None, - elem=None, - ): - self.loc = loc - if msg is None: - self.msg = pstr - self.pstr = "" - else: - self.msg = msg - self.pstr = pstr - self.parser_element = elem - self.args = (pstr, loc, msg) - - @staticmethod - def explain_exception(exc, depth=16): - """ - Method to take an exception and translate the Python internal traceback into a list - of the pyparsing expressions that caused the exception to be raised. - - Parameters: - - - exc - exception raised during parsing (need not be a ParseException, in support - of Python exceptions that might be raised in a parse action) - - depth (default=16) - number of levels back in the stack trace to list expression - and function names; if None, the full stack trace names will be listed; if 0, only - the failing input line, marker, and exception string will be shown - - Returns a multi-line string listing the ParserElements and/or function names in the - exception's stack trace. - """ - import inspect - from .core import ParserElement - - if depth is None: - depth = sys.getrecursionlimit() - ret = [] - if isinstance(exc, ParseBaseException): - ret.append(exc.line) - ret.append(" " * (exc.column - 1) + "^") - ret.append(f"{type(exc).__name__}: {exc}") - - if depth > 0: - callers = inspect.getinnerframes(exc.__traceback__, context=depth) - seen = set() - for i, ff in enumerate(callers[-depth:]): - frm = ff[0] - - f_self = frm.f_locals.get("self", None) - if isinstance(f_self, ParserElement): - if not frm.f_code.co_name.startswith( - ("parseImpl", "_parseNoCache") - ): - continue - if id(f_self) in seen: - continue - seen.add(id(f_self)) - - self_type = type(f_self) - ret.append( - f"{self_type.__module__}.{self_type.__name__} - {f_self}" - ) - - elif f_self is not None: - self_type = type(f_self) - ret.append(f"{self_type.__module__}.{self_type.__name__}") - - else: - code = frm.f_code - if code.co_name in ("wrapper", ""): - continue - - ret.append(code.co_name) - - depth -= 1 - if not depth: - break - - return "\n".join(ret) - - @classmethod - def _from_exception(cls, pe): - """ - internal factory method to simplify creating one type of ParseException - from another - avoids having __init__ signature conflicts among subclasses - """ - return cls(pe.pstr, pe.loc, pe.msg, pe.parser_element) - - @property - def line(self) -> str: - """ - Return the line of text where the exception occurred. - """ - return line(self.loc, self.pstr) - - @property - def lineno(self) -> int: - """ - Return the 1-based line number of text where the exception occurred. - """ - return lineno(self.loc, self.pstr) - - @property - def col(self) -> int: - """ - Return the 1-based column on the line of text where the exception occurred. - """ - return col(self.loc, self.pstr) - - @property - def column(self) -> int: - """ - Return the 1-based column on the line of text where the exception occurred. - """ - return col(self.loc, self.pstr) - - # pre-PEP8 compatibility - @property - def parserElement(self): - return self.parser_element - - @parserElement.setter - def parserElement(self, elem): - self.parser_element = elem - - def __str__(self) -> str: - if self.pstr: - if self.loc >= len(self.pstr): - foundstr = ", found end of text" - else: - # pull out next word at error location - found_match = _exception_word_extractor.match(self.pstr, self.loc) - if found_match is not None: - found = found_match.group(0) - else: - found = self.pstr[self.loc : self.loc + 1] - foundstr = (", found %r" % found).replace(r"\\", "\\") - else: - foundstr = "" - return f"{self.msg}{foundstr} (at char {self.loc}), (line:{self.lineno}, col:{self.column})" - - def __repr__(self): - return str(self) - - def mark_input_line( - self, marker_string: typing.Optional[str] = None, *, markerString: str = ">!<" - ) -> str: - """ - Extracts the exception line from the input string, and marks - the location of the exception with a special symbol. - """ - markerString = marker_string if marker_string is not None else markerString - line_str = self.line - line_column = self.column - 1 - if markerString: - line_str = "".join( - (line_str[:line_column], markerString, line_str[line_column:]) - ) - return line_str.strip() - - def explain(self, depth=16) -> str: - """ - Method to translate the Python internal traceback into a list - of the pyparsing expressions that caused the exception to be raised. - - Parameters: - - - depth (default=16) - number of levels back in the stack trace to list expression - and function names; if None, the full stack trace names will be listed; if 0, only - the failing input line, marker, and exception string will be shown - - Returns a multi-line string listing the ParserElements and/or function names in the - exception's stack trace. - - Example:: - - expr = pp.Word(pp.nums) * 3 - try: - expr.parse_string("123 456 A789") - except pp.ParseException as pe: - print(pe.explain(depth=0)) - - prints:: - - 123 456 A789 - ^ - ParseException: Expected W:(0-9), found 'A' (at char 8), (line:1, col:9) - - Note: the diagnostic output will include string representations of the expressions - that failed to parse. These representations will be more helpful if you use `set_name` to - give identifiable names to your expressions. Otherwise they will use the default string - forms, which may be cryptic to read. - - Note: pyparsing's default truncation of exception tracebacks may also truncate the - stack of expressions that are displayed in the ``explain`` output. To get the full listing - of parser expressions, you may have to set ``ParserElement.verbose_stacktrace = True`` - """ - return self.explain_exception(self, depth) - - # fmt: off - @replaced_by_pep8(mark_input_line) - def markInputline(self): ... - # fmt: on - - -class ParseException(ParseBaseException): - """ - Exception thrown when a parse expression doesn't match the input string - - Example:: - - try: - Word(nums).set_name("integer").parse_string("ABC") - except ParseException as pe: - print(pe) - print("column: {}".format(pe.column)) - - prints:: - - Expected integer (at char 0), (line:1, col:1) - column: 1 - - """ - - -class ParseFatalException(ParseBaseException): - """ - User-throwable exception thrown when inconsistent parse content - is found; stops all parsing immediately - """ - - -class ParseSyntaxException(ParseFatalException): - """ - Just like :class:`ParseFatalException`, but thrown internally - when an :class:`ErrorStop` ('-' operator) indicates - that parsing is to stop immediately because an unbacktrackable - syntax error has been found. - """ - - -class RecursiveGrammarException(Exception): - """ - Exception thrown by :class:`ParserElement.validate` if the - grammar could be left-recursive; parser may need to enable - left recursion using :class:`ParserElement.enable_left_recursion` - """ - - def __init__(self, parseElementList): - self.parseElementTrace = parseElementList - - def __str__(self) -> str: - return f"RecursiveGrammarException: {self.parseElementTrace}" diff --git a/.venv/Lib/site-packages/pip/_vendor/pyparsing/helpers.py b/.venv/Lib/site-packages/pip/_vendor/pyparsing/helpers.py deleted file mode 100644 index 018f0d6..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/pyparsing/helpers.py +++ /dev/null @@ -1,1100 +0,0 @@ -# helpers.py -import html.entities -import re -import sys -import typing - -from . import __diag__ -from .core import * -from .util import ( - _bslash, - _flatten, - _escape_regex_range_chars, - replaced_by_pep8, -) - - -# -# global helpers -# -def counted_array( - expr: ParserElement, - int_expr: typing.Optional[ParserElement] = None, - *, - intExpr: typing.Optional[ParserElement] = None, -) -> ParserElement: - """Helper to define a counted list of expressions. - - This helper defines a pattern of the form:: - - integer expr expr expr... - - where the leading integer tells how many expr expressions follow. - The matched tokens returns the array of expr tokens as a list - the - leading count token is suppressed. - - If ``int_expr`` is specified, it should be a pyparsing expression - that produces an integer value. - - Example:: - - counted_array(Word(alphas)).parse_string('2 ab cd ef') # -> ['ab', 'cd'] - - # in this parser, the leading integer value is given in binary, - # '10' indicating that 2 values are in the array - binary_constant = Word('01').set_parse_action(lambda t: int(t[0], 2)) - counted_array(Word(alphas), int_expr=binary_constant).parse_string('10 ab cd ef') # -> ['ab', 'cd'] - - # if other fields must be parsed after the count but before the - # list items, give the fields results names and they will - # be preserved in the returned ParseResults: - count_with_metadata = integer + Word(alphas)("type") - typed_array = counted_array(Word(alphanums), int_expr=count_with_metadata)("items") - result = typed_array.parse_string("3 bool True True False") - print(result.dump()) - - # prints - # ['True', 'True', 'False'] - # - items: ['True', 'True', 'False'] - # - type: 'bool' - """ - intExpr = intExpr or int_expr - array_expr = Forward() - - def count_field_parse_action(s, l, t): - nonlocal array_expr - n = t[0] - array_expr <<= (expr * n) if n else Empty() - # clear list contents, but keep any named results - del t[:] - - if intExpr is None: - intExpr = Word(nums).set_parse_action(lambda t: int(t[0])) - else: - intExpr = intExpr.copy() - intExpr.set_name("arrayLen") - intExpr.add_parse_action(count_field_parse_action, call_during_try=True) - return (intExpr + array_expr).set_name("(len) " + str(expr) + "...") - - -def match_previous_literal(expr: ParserElement) -> ParserElement: - """Helper to define an expression that is indirectly defined from - the tokens matched in a previous expression, that is, it looks for - a 'repeat' of a previous expression. For example:: - - first = Word(nums) - second = match_previous_literal(first) - match_expr = first + ":" + second - - will match ``"1:1"``, but not ``"1:2"``. Because this - matches a previous literal, will also match the leading - ``"1:1"`` in ``"1:10"``. If this is not desired, use - :class:`match_previous_expr`. Do *not* use with packrat parsing - enabled. - """ - rep = Forward() - - def copy_token_to_repeater(s, l, t): - if t: - if len(t) == 1: - rep << t[0] - else: - # flatten t tokens - tflat = _flatten(t.as_list()) - rep << And(Literal(tt) for tt in tflat) - else: - rep << Empty() - - expr.add_parse_action(copy_token_to_repeater, callDuringTry=True) - rep.set_name("(prev) " + str(expr)) - return rep - - -def match_previous_expr(expr: ParserElement) -> ParserElement: - """Helper to define an expression that is indirectly defined from - the tokens matched in a previous expression, that is, it looks for - a 'repeat' of a previous expression. For example:: - - first = Word(nums) - second = match_previous_expr(first) - match_expr = first + ":" + second - - will match ``"1:1"``, but not ``"1:2"``. Because this - matches by expressions, will *not* match the leading ``"1:1"`` - in ``"1:10"``; the expressions are evaluated first, and then - compared, so ``"1"`` is compared with ``"10"``. Do *not* use - with packrat parsing enabled. - """ - rep = Forward() - e2 = expr.copy() - rep <<= e2 - - def copy_token_to_repeater(s, l, t): - matchTokens = _flatten(t.as_list()) - - def must_match_these_tokens(s, l, t): - theseTokens = _flatten(t.as_list()) - if theseTokens != matchTokens: - raise ParseException( - s, l, f"Expected {matchTokens}, found{theseTokens}" - ) - - rep.set_parse_action(must_match_these_tokens, callDuringTry=True) - - expr.add_parse_action(copy_token_to_repeater, callDuringTry=True) - rep.set_name("(prev) " + str(expr)) - return rep - - -def one_of( - strs: Union[typing.Iterable[str], str], - caseless: bool = False, - use_regex: bool = True, - as_keyword: bool = False, - *, - useRegex: bool = True, - asKeyword: bool = False, -) -> ParserElement: - """Helper to quickly define a set of alternative :class:`Literal` s, - and makes sure to do longest-first testing when there is a conflict, - regardless of the input order, but returns - a :class:`MatchFirst` for best performance. - - Parameters: - - - ``strs`` - a string of space-delimited literals, or a collection of - string literals - - ``caseless`` - treat all literals as caseless - (default= ``False``) - - ``use_regex`` - as an optimization, will - generate a :class:`Regex` object; otherwise, will generate - a :class:`MatchFirst` object (if ``caseless=True`` or ``as_keyword=True``, or if - creating a :class:`Regex` raises an exception) - (default= ``True``) - - ``as_keyword`` - enforce :class:`Keyword`-style matching on the - generated expressions - (default= ``False``) - - ``asKeyword`` and ``useRegex`` are retained for pre-PEP8 compatibility, - but will be removed in a future release - - Example:: - - comp_oper = one_of("< = > <= >= !=") - var = Word(alphas) - number = Word(nums) - term = var | number - comparison_expr = term + comp_oper + term - print(comparison_expr.search_string("B = 12 AA=23 B<=AA AA>12")) - - prints:: - - [['B', '=', '12'], ['AA', '=', '23'], ['B', '<=', 'AA'], ['AA', '>', '12']] - """ - asKeyword = asKeyword or as_keyword - useRegex = useRegex and use_regex - - if ( - isinstance(caseless, str_type) - and __diag__.warn_on_multiple_string_args_to_oneof - ): - warnings.warn( - "More than one string argument passed to one_of, pass" - " choices as a list or space-delimited string", - stacklevel=2, - ) - - if caseless: - isequal = lambda a, b: a.upper() == b.upper() - masks = lambda a, b: b.upper().startswith(a.upper()) - parseElementClass = CaselessKeyword if asKeyword else CaselessLiteral - else: - isequal = lambda a, b: a == b - masks = lambda a, b: b.startswith(a) - parseElementClass = Keyword if asKeyword else Literal - - symbols: List[str] = [] - if isinstance(strs, str_type): - strs = typing.cast(str, strs) - symbols = strs.split() - elif isinstance(strs, Iterable): - symbols = list(strs) - else: - raise TypeError("Invalid argument to one_of, expected string or iterable") - if not symbols: - return NoMatch() - - # reorder given symbols to take care to avoid masking longer choices with shorter ones - # (but only if the given symbols are not just single characters) - if any(len(sym) > 1 for sym in symbols): - i = 0 - while i < len(symbols) - 1: - cur = symbols[i] - for j, other in enumerate(symbols[i + 1 :]): - if isequal(other, cur): - del symbols[i + j + 1] - break - elif masks(cur, other): - del symbols[i + j + 1] - symbols.insert(i, other) - break - else: - i += 1 - - if useRegex: - re_flags: int = re.IGNORECASE if caseless else 0 - - try: - if all(len(sym) == 1 for sym in symbols): - # symbols are just single characters, create range regex pattern - patt = f"[{''.join(_escape_regex_range_chars(sym) for sym in symbols)}]" - else: - patt = "|".join(re.escape(sym) for sym in symbols) - - # wrap with \b word break markers if defining as keywords - if asKeyword: - patt = rf"\b(?:{patt})\b" - - ret = Regex(patt, flags=re_flags).set_name(" | ".join(symbols)) - - if caseless: - # add parse action to return symbols as specified, not in random - # casing as found in input string - symbol_map = {sym.lower(): sym for sym in symbols} - ret.add_parse_action(lambda s, l, t: symbol_map[t[0].lower()]) - - return ret - - except re.error: - warnings.warn( - "Exception creating Regex for one_of, building MatchFirst", stacklevel=2 - ) - - # last resort, just use MatchFirst - return MatchFirst(parseElementClass(sym) for sym in symbols).set_name( - " | ".join(symbols) - ) - - -def dict_of(key: ParserElement, value: ParserElement) -> ParserElement: - """Helper to easily and clearly define a dictionary by specifying - the respective patterns for the key and value. Takes care of - defining the :class:`Dict`, :class:`ZeroOrMore`, and - :class:`Group` tokens in the proper order. The key pattern - can include delimiting markers or punctuation, as long as they are - suppressed, thereby leaving the significant key text. The value - pattern can include named results, so that the :class:`Dict` results - can include named token fields. - - Example:: - - text = "shape: SQUARE posn: upper left color: light blue texture: burlap" - attr_expr = (label + Suppress(':') + OneOrMore(data_word, stop_on=label).set_parse_action(' '.join)) - print(attr_expr[1, ...].parse_string(text).dump()) - - attr_label = label - attr_value = Suppress(':') + OneOrMore(data_word, stop_on=label).set_parse_action(' '.join) - - # similar to Dict, but simpler call format - result = dict_of(attr_label, attr_value).parse_string(text) - print(result.dump()) - print(result['shape']) - print(result.shape) # object attribute access works too - print(result.as_dict()) - - prints:: - - [['shape', 'SQUARE'], ['posn', 'upper left'], ['color', 'light blue'], ['texture', 'burlap']] - - color: 'light blue' - - posn: 'upper left' - - shape: 'SQUARE' - - texture: 'burlap' - SQUARE - SQUARE - {'color': 'light blue', 'shape': 'SQUARE', 'posn': 'upper left', 'texture': 'burlap'} - """ - return Dict(OneOrMore(Group(key + value))) - - -def original_text_for( - expr: ParserElement, as_string: bool = True, *, asString: bool = True -) -> ParserElement: - """Helper to return the original, untokenized text for a given - expression. Useful to restore the parsed fields of an HTML start - tag into the raw tag text itself, or to revert separate tokens with - intervening whitespace back to the original matching input text. By - default, returns a string containing the original parsed text. - - If the optional ``as_string`` argument is passed as - ``False``, then the return value is - a :class:`ParseResults` containing any results names that - were originally matched, and a single token containing the original - matched text from the input string. So if the expression passed to - :class:`original_text_for` contains expressions with defined - results names, you must set ``as_string`` to ``False`` if you - want to preserve those results name values. - - The ``asString`` pre-PEP8 argument is retained for compatibility, - but will be removed in a future release. - - Example:: - - src = "this is test bold text normal text " - for tag in ("b", "i"): - opener, closer = make_html_tags(tag) - patt = original_text_for(opener + ... + closer) - print(patt.search_string(src)[0]) - - prints:: - - [' bold text '] - ['text'] - """ - asString = asString and as_string - - locMarker = Empty().set_parse_action(lambda s, loc, t: loc) - endlocMarker = locMarker.copy() - endlocMarker.callPreparse = False - matchExpr = locMarker("_original_start") + expr + endlocMarker("_original_end") - if asString: - extractText = lambda s, l, t: s[t._original_start : t._original_end] - else: - - def extractText(s, l, t): - t[:] = [s[t.pop("_original_start") : t.pop("_original_end")]] - - matchExpr.set_parse_action(extractText) - matchExpr.ignoreExprs = expr.ignoreExprs - matchExpr.suppress_warning(Diagnostics.warn_ungrouped_named_tokens_in_collection) - return matchExpr - - -def ungroup(expr: ParserElement) -> ParserElement: - """Helper to undo pyparsing's default grouping of And expressions, - even if all but one are non-empty. - """ - return TokenConverter(expr).add_parse_action(lambda t: t[0]) - - -def locatedExpr(expr: ParserElement) -> ParserElement: - """ - (DEPRECATED - future code should use the :class:`Located` class) - Helper to decorate a returned token with its starting and ending - locations in the input string. - - This helper adds the following results names: - - - ``locn_start`` - location where matched expression begins - - ``locn_end`` - location where matched expression ends - - ``value`` - the actual parsed results - - Be careful if the input text contains ```` characters, you - may want to call :class:`ParserElement.parse_with_tabs` - - Example:: - - wd = Word(alphas) - for match in locatedExpr(wd).search_string("ljsdf123lksdjjf123lkkjj1222"): - print(match) - - prints:: - - [[0, 'ljsdf', 5]] - [[8, 'lksdjjf', 15]] - [[18, 'lkkjj', 23]] - """ - locator = Empty().set_parse_action(lambda ss, ll, tt: ll) - return Group( - locator("locn_start") - + expr("value") - + locator.copy().leaveWhitespace()("locn_end") - ) - - -def nested_expr( - opener: Union[str, ParserElement] = "(", - closer: Union[str, ParserElement] = ")", - content: typing.Optional[ParserElement] = None, - ignore_expr: ParserElement = quoted_string(), - *, - ignoreExpr: ParserElement = quoted_string(), -) -> ParserElement: - """Helper method for defining nested lists enclosed in opening and - closing delimiters (``"("`` and ``")"`` are the default). - - Parameters: - - - ``opener`` - opening character for a nested list - (default= ``"("``); can also be a pyparsing expression - - ``closer`` - closing character for a nested list - (default= ``")"``); can also be a pyparsing expression - - ``content`` - expression for items within the nested lists - (default= ``None``) - - ``ignore_expr`` - expression for ignoring opening and closing delimiters - (default= :class:`quoted_string`) - - ``ignoreExpr`` - this pre-PEP8 argument is retained for compatibility - but will be removed in a future release - - If an expression is not provided for the content argument, the - nested expression will capture all whitespace-delimited content - between delimiters as a list of separate values. - - Use the ``ignore_expr`` argument to define expressions that may - contain opening or closing characters that should not be treated as - opening or closing characters for nesting, such as quoted_string or - a comment expression. Specify multiple expressions using an - :class:`Or` or :class:`MatchFirst`. The default is - :class:`quoted_string`, but if no expressions are to be ignored, then - pass ``None`` for this argument. - - Example:: - - data_type = one_of("void int short long char float double") - decl_data_type = Combine(data_type + Opt(Word('*'))) - ident = Word(alphas+'_', alphanums+'_') - number = pyparsing_common.number - arg = Group(decl_data_type + ident) - LPAR, RPAR = map(Suppress, "()") - - code_body = nested_expr('{', '}', ignore_expr=(quoted_string | c_style_comment)) - - c_function = (decl_data_type("type") - + ident("name") - + LPAR + Opt(DelimitedList(arg), [])("args") + RPAR - + code_body("body")) - c_function.ignore(c_style_comment) - - source_code = ''' - int is_odd(int x) { - return (x%2); - } - - int dec_to_hex(char hchar) { - if (hchar >= '0' && hchar <= '9') { - return (ord(hchar)-ord('0')); - } else { - return (10+ord(hchar)-ord('A')); - } - } - ''' - for func in c_function.search_string(source_code): - print("%(name)s (%(type)s) args: %(args)s" % func) - - - prints:: - - is_odd (int) args: [['int', 'x']] - dec_to_hex (int) args: [['char', 'hchar']] - """ - if ignoreExpr != ignore_expr: - ignoreExpr = ignore_expr if ignoreExpr == quoted_string() else ignoreExpr - if opener == closer: - raise ValueError("opening and closing strings cannot be the same") - if content is None: - if isinstance(opener, str_type) and isinstance(closer, str_type): - opener = typing.cast(str, opener) - closer = typing.cast(str, closer) - if len(opener) == 1 and len(closer) == 1: - if ignoreExpr is not None: - content = Combine( - OneOrMore( - ~ignoreExpr - + CharsNotIn( - opener + closer + ParserElement.DEFAULT_WHITE_CHARS, - exact=1, - ) - ) - ).set_parse_action(lambda t: t[0].strip()) - else: - content = empty.copy() + CharsNotIn( - opener + closer + ParserElement.DEFAULT_WHITE_CHARS - ).set_parse_action(lambda t: t[0].strip()) - else: - if ignoreExpr is not None: - content = Combine( - OneOrMore( - ~ignoreExpr - + ~Literal(opener) - + ~Literal(closer) - + CharsNotIn(ParserElement.DEFAULT_WHITE_CHARS, exact=1) - ) - ).set_parse_action(lambda t: t[0].strip()) - else: - content = Combine( - OneOrMore( - ~Literal(opener) - + ~Literal(closer) - + CharsNotIn(ParserElement.DEFAULT_WHITE_CHARS, exact=1) - ) - ).set_parse_action(lambda t: t[0].strip()) - else: - raise ValueError( - "opening and closing arguments must be strings if no content expression is given" - ) - ret = Forward() - if ignoreExpr is not None: - ret <<= Group( - Suppress(opener) + ZeroOrMore(ignoreExpr | ret | content) + Suppress(closer) - ) - else: - ret <<= Group(Suppress(opener) + ZeroOrMore(ret | content) + Suppress(closer)) - ret.set_name("nested %s%s expression" % (opener, closer)) - return ret - - -def _makeTags(tagStr, xml, suppress_LT=Suppress("<"), suppress_GT=Suppress(">")): - """Internal helper to construct opening and closing tag expressions, given a tag name""" - if isinstance(tagStr, str_type): - resname = tagStr - tagStr = Keyword(tagStr, caseless=not xml) - else: - resname = tagStr.name - - tagAttrName = Word(alphas, alphanums + "_-:") - if xml: - tagAttrValue = dbl_quoted_string.copy().set_parse_action(remove_quotes) - openTag = ( - suppress_LT - + tagStr("tag") - + Dict(ZeroOrMore(Group(tagAttrName + Suppress("=") + tagAttrValue))) - + Opt("/", default=[False])("empty").set_parse_action( - lambda s, l, t: t[0] == "/" - ) - + suppress_GT - ) - else: - tagAttrValue = quoted_string.copy().set_parse_action(remove_quotes) | Word( - printables, exclude_chars=">" - ) - openTag = ( - suppress_LT - + tagStr("tag") - + Dict( - ZeroOrMore( - Group( - tagAttrName.set_parse_action(lambda t: t[0].lower()) - + Opt(Suppress("=") + tagAttrValue) - ) - ) - ) - + Opt("/", default=[False])("empty").set_parse_action( - lambda s, l, t: t[0] == "/" - ) - + suppress_GT - ) - closeTag = Combine(Literal("", adjacent=False) - - openTag.set_name("<%s>" % resname) - # add start results name in parse action now that ungrouped names are not reported at two levels - openTag.add_parse_action( - lambda t: t.__setitem__( - "start" + "".join(resname.replace(":", " ").title().split()), t.copy() - ) - ) - closeTag = closeTag( - "end" + "".join(resname.replace(":", " ").title().split()) - ).set_name("" % resname) - openTag.tag = resname - closeTag.tag = resname - openTag.tag_body = SkipTo(closeTag()) - return openTag, closeTag - - -def make_html_tags( - tag_str: Union[str, ParserElement] -) -> Tuple[ParserElement, ParserElement]: - """Helper to construct opening and closing tag expressions for HTML, - given a tag name. Matches tags in either upper or lower case, - attributes with namespaces and with quoted or unquoted values. - - Example:: - - text = 'More info at the
pyparsing wiki page' - # make_html_tags returns pyparsing expressions for the opening and - # closing tags as a 2-tuple - a, a_end = make_html_tags("A") - link_expr = a + SkipTo(a_end)("link_text") + a_end - - for link in link_expr.search_string(text): - # attributes in the tag (like "href" shown here) are - # also accessible as named results - print(link.link_text, '->', link.href) - - prints:: - - pyparsing -> https://github.com/pyparsing/pyparsing/wiki - """ - return _makeTags(tag_str, False) - - -def make_xml_tags( - tag_str: Union[str, ParserElement] -) -> Tuple[ParserElement, ParserElement]: - """Helper to construct opening and closing tag expressions for XML, - given a tag name. Matches tags only in the given upper/lower case. - - Example: similar to :class:`make_html_tags` - """ - return _makeTags(tag_str, True) - - -any_open_tag: ParserElement -any_close_tag: ParserElement -any_open_tag, any_close_tag = make_html_tags( - Word(alphas, alphanums + "_:").set_name("any tag") -) - -_htmlEntityMap = {k.rstrip(";"): v for k, v in html.entities.html5.items()} -common_html_entity = Regex("&(?P" + "|".join(_htmlEntityMap) + ");").set_name( - "common HTML entity" -) - - -def replace_html_entity(s, l, t): - """Helper parser action to replace common HTML entities with their special characters""" - return _htmlEntityMap.get(t.entity) - - -class OpAssoc(Enum): - """Enumeration of operator associativity - - used in constructing InfixNotationOperatorSpec for :class:`infix_notation`""" - - LEFT = 1 - RIGHT = 2 - - -InfixNotationOperatorArgType = Union[ - ParserElement, str, Tuple[Union[ParserElement, str], Union[ParserElement, str]] -] -InfixNotationOperatorSpec = Union[ - Tuple[ - InfixNotationOperatorArgType, - int, - OpAssoc, - typing.Optional[ParseAction], - ], - Tuple[ - InfixNotationOperatorArgType, - int, - OpAssoc, - ], -] - - -def infix_notation( - base_expr: ParserElement, - op_list: List[InfixNotationOperatorSpec], - lpar: Union[str, ParserElement] = Suppress("("), - rpar: Union[str, ParserElement] = Suppress(")"), -) -> ParserElement: - """Helper method for constructing grammars of expressions made up of - operators working in a precedence hierarchy. Operators may be unary - or binary, left- or right-associative. Parse actions can also be - attached to operator expressions. The generated parser will also - recognize the use of parentheses to override operator precedences - (see example below). - - Note: if you define a deep operator list, you may see performance - issues when using infix_notation. See - :class:`ParserElement.enable_packrat` for a mechanism to potentially - improve your parser performance. - - Parameters: - - - ``base_expr`` - expression representing the most basic operand to - be used in the expression - - ``op_list`` - list of tuples, one for each operator precedence level - in the expression grammar; each tuple is of the form ``(op_expr, - num_operands, right_left_assoc, (optional)parse_action)``, where: - - - ``op_expr`` is the pyparsing expression for the operator; may also - be a string, which will be converted to a Literal; if ``num_operands`` - is 3, ``op_expr`` is a tuple of two expressions, for the two - operators separating the 3 terms - - ``num_operands`` is the number of terms for this operator (must be 1, - 2, or 3) - - ``right_left_assoc`` is the indicator whether the operator is right - or left associative, using the pyparsing-defined constants - ``OpAssoc.RIGHT`` and ``OpAssoc.LEFT``. - - ``parse_action`` is the parse action to be associated with - expressions matching this operator expression (the parse action - tuple member may be omitted); if the parse action is passed - a tuple or list of functions, this is equivalent to calling - ``set_parse_action(*fn)`` - (:class:`ParserElement.set_parse_action`) - - ``lpar`` - expression for matching left-parentheses; if passed as a - str, then will be parsed as ``Suppress(lpar)``. If lpar is passed as - an expression (such as ``Literal('(')``), then it will be kept in - the parsed results, and grouped with them. (default= ``Suppress('(')``) - - ``rpar`` - expression for matching right-parentheses; if passed as a - str, then will be parsed as ``Suppress(rpar)``. If rpar is passed as - an expression (such as ``Literal(')')``), then it will be kept in - the parsed results, and grouped with them. (default= ``Suppress(')')``) - - Example:: - - # simple example of four-function arithmetic with ints and - # variable names - integer = pyparsing_common.signed_integer - varname = pyparsing_common.identifier - - arith_expr = infix_notation(integer | varname, - [ - ('-', 1, OpAssoc.RIGHT), - (one_of('* /'), 2, OpAssoc.LEFT), - (one_of('+ -'), 2, OpAssoc.LEFT), - ]) - - arith_expr.run_tests(''' - 5+3*6 - (5+3)*6 - -2--11 - ''', full_dump=False) - - prints:: - - 5+3*6 - [[5, '+', [3, '*', 6]]] - - (5+3)*6 - [[[5, '+', 3], '*', 6]] - - (5+x)*y - [[[5, '+', 'x'], '*', 'y']] - - -2--11 - [[['-', 2], '-', ['-', 11]]] - """ - - # captive version of FollowedBy that does not do parse actions or capture results names - class _FB(FollowedBy): - def parseImpl(self, instring, loc, doActions=True): - self.expr.try_parse(instring, loc) - return loc, [] - - _FB.__name__ = "FollowedBy>" - - ret = Forward() - if isinstance(lpar, str): - lpar = Suppress(lpar) - if isinstance(rpar, str): - rpar = Suppress(rpar) - - # if lpar and rpar are not suppressed, wrap in group - if not (isinstance(rpar, Suppress) and isinstance(rpar, Suppress)): - lastExpr = base_expr | Group(lpar + ret + rpar) - else: - lastExpr = base_expr | (lpar + ret + rpar) - - arity: int - rightLeftAssoc: opAssoc - pa: typing.Optional[ParseAction] - opExpr1: ParserElement - opExpr2: ParserElement - for i, operDef in enumerate(op_list): - opExpr, arity, rightLeftAssoc, pa = (operDef + (None,))[:4] # type: ignore[assignment] - if isinstance(opExpr, str_type): - opExpr = ParserElement._literalStringClass(opExpr) - opExpr = typing.cast(ParserElement, opExpr) - if arity == 3: - if not isinstance(opExpr, (tuple, list)) or len(opExpr) != 2: - raise ValueError( - "if numterms=3, opExpr must be a tuple or list of two expressions" - ) - opExpr1, opExpr2 = opExpr - term_name = f"{opExpr1}{opExpr2} term" - else: - term_name = f"{opExpr} term" - - if not 1 <= arity <= 3: - raise ValueError("operator must be unary (1), binary (2), or ternary (3)") - - if rightLeftAssoc not in (OpAssoc.LEFT, OpAssoc.RIGHT): - raise ValueError("operator must indicate right or left associativity") - - thisExpr: ParserElement = Forward().set_name(term_name) - thisExpr = typing.cast(Forward, thisExpr) - if rightLeftAssoc is OpAssoc.LEFT: - if arity == 1: - matchExpr = _FB(lastExpr + opExpr) + Group(lastExpr + opExpr[1, ...]) - elif arity == 2: - if opExpr is not None: - matchExpr = _FB(lastExpr + opExpr + lastExpr) + Group( - lastExpr + (opExpr + lastExpr)[1, ...] - ) - else: - matchExpr = _FB(lastExpr + lastExpr) + Group(lastExpr[2, ...]) - elif arity == 3: - matchExpr = _FB( - lastExpr + opExpr1 + lastExpr + opExpr2 + lastExpr - ) + Group(lastExpr + OneOrMore(opExpr1 + lastExpr + opExpr2 + lastExpr)) - elif rightLeftAssoc is OpAssoc.RIGHT: - if arity == 1: - # try to avoid LR with this extra test - if not isinstance(opExpr, Opt): - opExpr = Opt(opExpr) - matchExpr = _FB(opExpr.expr + thisExpr) + Group(opExpr + thisExpr) - elif arity == 2: - if opExpr is not None: - matchExpr = _FB(lastExpr + opExpr + thisExpr) + Group( - lastExpr + (opExpr + thisExpr)[1, ...] - ) - else: - matchExpr = _FB(lastExpr + thisExpr) + Group( - lastExpr + thisExpr[1, ...] - ) - elif arity == 3: - matchExpr = _FB( - lastExpr + opExpr1 + thisExpr + opExpr2 + thisExpr - ) + Group(lastExpr + opExpr1 + thisExpr + opExpr2 + thisExpr) - if pa: - if isinstance(pa, (tuple, list)): - matchExpr.set_parse_action(*pa) - else: - matchExpr.set_parse_action(pa) - thisExpr <<= (matchExpr | lastExpr).setName(term_name) - lastExpr = thisExpr - ret <<= lastExpr - return ret - - -def indentedBlock(blockStatementExpr, indentStack, indent=True, backup_stacks=[]): - """ - (DEPRECATED - use :class:`IndentedBlock` class instead) - Helper method for defining space-delimited indentation blocks, - such as those used to define block statements in Python source code. - - Parameters: - - - ``blockStatementExpr`` - expression defining syntax of statement that - is repeated within the indented block - - ``indentStack`` - list created by caller to manage indentation stack - (multiple ``statementWithIndentedBlock`` expressions within a single - grammar should share a common ``indentStack``) - - ``indent`` - boolean indicating whether block must be indented beyond - the current level; set to ``False`` for block of left-most statements - (default= ``True``) - - A valid block must contain at least one ``blockStatement``. - - (Note that indentedBlock uses internal parse actions which make it - incompatible with packrat parsing.) - - Example:: - - data = ''' - def A(z): - A1 - B = 100 - G = A2 - A2 - A3 - B - def BB(a,b,c): - BB1 - def BBA(): - bba1 - bba2 - bba3 - C - D - def spam(x,y): - def eggs(z): - pass - ''' - - - indentStack = [1] - stmt = Forward() - - identifier = Word(alphas, alphanums) - funcDecl = ("def" + identifier + Group("(" + Opt(delimitedList(identifier)) + ")") + ":") - func_body = indentedBlock(stmt, indentStack) - funcDef = Group(funcDecl + func_body) - - rvalue = Forward() - funcCall = Group(identifier + "(" + Opt(delimitedList(rvalue)) + ")") - rvalue << (funcCall | identifier | Word(nums)) - assignment = Group(identifier + "=" + rvalue) - stmt << (funcDef | assignment | identifier) - - module_body = stmt[1, ...] - - parseTree = module_body.parseString(data) - parseTree.pprint() - - prints:: - - [['def', - 'A', - ['(', 'z', ')'], - ':', - [['A1'], [['B', '=', '100']], [['G', '=', 'A2']], ['A2'], ['A3']]], - 'B', - ['def', - 'BB', - ['(', 'a', 'b', 'c', ')'], - ':', - [['BB1'], [['def', 'BBA', ['(', ')'], ':', [['bba1'], ['bba2'], ['bba3']]]]]], - 'C', - 'D', - ['def', - 'spam', - ['(', 'x', 'y', ')'], - ':', - [[['def', 'eggs', ['(', 'z', ')'], ':', [['pass']]]]]]] - """ - backup_stacks.append(indentStack[:]) - - def reset_stack(): - indentStack[:] = backup_stacks[-1] - - def checkPeerIndent(s, l, t): - if l >= len(s): - return - curCol = col(l, s) - if curCol != indentStack[-1]: - if curCol > indentStack[-1]: - raise ParseException(s, l, "illegal nesting") - raise ParseException(s, l, "not a peer entry") - - def checkSubIndent(s, l, t): - curCol = col(l, s) - if curCol > indentStack[-1]: - indentStack.append(curCol) - else: - raise ParseException(s, l, "not a subentry") - - def checkUnindent(s, l, t): - if l >= len(s): - return - curCol = col(l, s) - if not (indentStack and curCol in indentStack): - raise ParseException(s, l, "not an unindent") - if curCol < indentStack[-1]: - indentStack.pop() - - NL = OneOrMore(LineEnd().set_whitespace_chars("\t ").suppress()) - INDENT = (Empty() + Empty().set_parse_action(checkSubIndent)).set_name("INDENT") - PEER = Empty().set_parse_action(checkPeerIndent).set_name("") - UNDENT = Empty().set_parse_action(checkUnindent).set_name("UNINDENT") - if indent: - smExpr = Group( - Opt(NL) - + INDENT - + OneOrMore(PEER + Group(blockStatementExpr) + Opt(NL)) - + UNDENT - ) - else: - smExpr = Group( - Opt(NL) - + OneOrMore(PEER + Group(blockStatementExpr) + Opt(NL)) - + Opt(UNDENT) - ) - - # add a parse action to remove backup_stack from list of backups - smExpr.add_parse_action( - lambda: backup_stacks.pop(-1) and None if backup_stacks else None - ) - smExpr.set_fail_action(lambda a, b, c, d: reset_stack()) - blockStatementExpr.ignore(_bslash + LineEnd()) - return smExpr.set_name("indented block") - - -# it's easy to get these comment structures wrong - they're very common, so may as well make them available -c_style_comment = Combine(Regex(r"/\*(?:[^*]|\*(?!/))*") + "*/").set_name( - "C style comment" -) -"Comment of the form ``/* ... */``" - -html_comment = Regex(r"").set_name("HTML comment") -"Comment of the form ````" - -rest_of_line = Regex(r".*").leave_whitespace().set_name("rest of line") -dbl_slash_comment = Regex(r"//(?:\\\n|[^\n])*").set_name("// comment") -"Comment of the form ``// ... (to end of line)``" - -cpp_style_comment = Combine( - Regex(r"/\*(?:[^*]|\*(?!/))*") + "*/" | dbl_slash_comment -).set_name("C++ style comment") -"Comment of either form :class:`c_style_comment` or :class:`dbl_slash_comment`" - -java_style_comment = cpp_style_comment -"Same as :class:`cpp_style_comment`" - -python_style_comment = Regex(r"#.*").set_name("Python style comment") -"Comment of the form ``# ... (to end of line)``" - - -# build list of built-in expressions, for future reference if a global default value -# gets updated -_builtin_exprs: List[ParserElement] = [ - v for v in vars().values() if isinstance(v, ParserElement) -] - - -# compatibility function, superseded by DelimitedList class -def delimited_list( - expr: Union[str, ParserElement], - delim: Union[str, ParserElement] = ",", - combine: bool = False, - min: typing.Optional[int] = None, - max: typing.Optional[int] = None, - *, - allow_trailing_delim: bool = False, -) -> ParserElement: - """(DEPRECATED - use :class:`DelimitedList` class)""" - return DelimitedList( - expr, delim, combine, min, max, allow_trailing_delim=allow_trailing_delim - ) - - -# pre-PEP8 compatible names -# fmt: off -opAssoc = OpAssoc -anyOpenTag = any_open_tag -anyCloseTag = any_close_tag -commonHTMLEntity = common_html_entity -cStyleComment = c_style_comment -htmlComment = html_comment -restOfLine = rest_of_line -dblSlashComment = dbl_slash_comment -cppStyleComment = cpp_style_comment -javaStyleComment = java_style_comment -pythonStyleComment = python_style_comment - -@replaced_by_pep8(DelimitedList) -def delimitedList(): ... - -@replaced_by_pep8(DelimitedList) -def delimited_list(): ... - -@replaced_by_pep8(counted_array) -def countedArray(): ... - -@replaced_by_pep8(match_previous_literal) -def matchPreviousLiteral(): ... - -@replaced_by_pep8(match_previous_expr) -def matchPreviousExpr(): ... - -@replaced_by_pep8(one_of) -def oneOf(): ... - -@replaced_by_pep8(dict_of) -def dictOf(): ... - -@replaced_by_pep8(original_text_for) -def originalTextFor(): ... - -@replaced_by_pep8(nested_expr) -def nestedExpr(): ... - -@replaced_by_pep8(make_html_tags) -def makeHTMLTags(): ... - -@replaced_by_pep8(make_xml_tags) -def makeXMLTags(): ... - -@replaced_by_pep8(replace_html_entity) -def replaceHTMLEntity(): ... - -@replaced_by_pep8(infix_notation) -def infixNotation(): ... -# fmt: on diff --git a/.venv/Lib/site-packages/pip/_vendor/pyparsing/results.py b/.venv/Lib/site-packages/pip/_vendor/pyparsing/results.py deleted file mode 100644 index 0313049..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/pyparsing/results.py +++ /dev/null @@ -1,796 +0,0 @@ -# results.py -from collections.abc import ( - MutableMapping, - Mapping, - MutableSequence, - Iterator, - Sequence, - Container, -) -import pprint -from typing import Tuple, Any, Dict, Set, List - -str_type: Tuple[type, ...] = (str, bytes) -_generator_type = type((_ for _ in ())) - - -class _ParseResultsWithOffset: - tup: Tuple["ParseResults", int] - __slots__ = ["tup"] - - def __init__(self, p1: "ParseResults", p2: int): - self.tup: Tuple[ParseResults, int] = (p1, p2) - - def __getitem__(self, i): - return self.tup[i] - - def __getstate__(self): - return self.tup - - def __setstate__(self, *args): - self.tup = args[0] - - -class ParseResults: - """Structured parse results, to provide multiple means of access to - the parsed data: - - - as a list (``len(results)``) - - by list index (``results[0], results[1]``, etc.) - - by attribute (``results.`` - see :class:`ParserElement.set_results_name`) - - Example:: - - integer = Word(nums) - date_str = (integer.set_results_name("year") + '/' - + integer.set_results_name("month") + '/' - + integer.set_results_name("day")) - # equivalent form: - # date_str = (integer("year") + '/' - # + integer("month") + '/' - # + integer("day")) - - # parse_string returns a ParseResults object - result = date_str.parse_string("1999/12/31") - - def test(s, fn=repr): - print(f"{s} -> {fn(eval(s))}") - test("list(result)") - test("result[0]") - test("result['month']") - test("result.day") - test("'month' in result") - test("'minutes' in result") - test("result.dump()", str) - - prints:: - - list(result) -> ['1999', '/', '12', '/', '31'] - result[0] -> '1999' - result['month'] -> '12' - result.day -> '31' - 'month' in result -> True - 'minutes' in result -> False - result.dump() -> ['1999', '/', '12', '/', '31'] - - day: '31' - - month: '12' - - year: '1999' - """ - - _null_values: Tuple[Any, ...] = (None, [], ()) - - _name: str - _parent: "ParseResults" - _all_names: Set[str] - _modal: bool - _toklist: List[Any] - _tokdict: Dict[str, Any] - - __slots__ = ( - "_name", - "_parent", - "_all_names", - "_modal", - "_toklist", - "_tokdict", - ) - - class List(list): - """ - Simple wrapper class to distinguish parsed list results that should be preserved - as actual Python lists, instead of being converted to :class:`ParseResults`:: - - LBRACK, RBRACK = map(pp.Suppress, "[]") - element = pp.Forward() - item = ppc.integer - element_list = LBRACK + pp.DelimitedList(element) + RBRACK - - # add parse actions to convert from ParseResults to actual Python collection types - def as_python_list(t): - return pp.ParseResults.List(t.as_list()) - element_list.add_parse_action(as_python_list) - - element <<= item | element_list - - element.run_tests(''' - 100 - [2,3,4] - [[2, 1],3,4] - [(2, 1),3,4] - (2,3,4) - ''', post_parse=lambda s, r: (r[0], type(r[0]))) - - prints:: - - 100 - (100, ) - - [2,3,4] - ([2, 3, 4], ) - - [[2, 1],3,4] - ([[2, 1], 3, 4], ) - - (Used internally by :class:`Group` when `aslist=True`.) - """ - - def __new__(cls, contained=None): - if contained is None: - contained = [] - - if not isinstance(contained, list): - raise TypeError( - f"{cls.__name__} may only be constructed with a list, not {type(contained).__name__}" - ) - - return list.__new__(cls) - - def __new__(cls, toklist=None, name=None, **kwargs): - if isinstance(toklist, ParseResults): - return toklist - self = object.__new__(cls) - self._name = None - self._parent = None - self._all_names = set() - - if toklist is None: - self._toklist = [] - elif isinstance(toklist, (list, _generator_type)): - self._toklist = ( - [toklist[:]] - if isinstance(toklist, ParseResults.List) - else list(toklist) - ) - else: - self._toklist = [toklist] - self._tokdict = dict() - return self - - # Performance tuning: we construct a *lot* of these, so keep this - # constructor as small and fast as possible - def __init__( - self, toklist=None, name=None, asList=True, modal=True, isinstance=isinstance - ): - self._tokdict: Dict[str, _ParseResultsWithOffset] - self._modal = modal - if name is not None and name != "": - if isinstance(name, int): - name = str(name) - if not modal: - self._all_names = {name} - self._name = name - if toklist not in self._null_values: - if isinstance(toklist, (str_type, type)): - toklist = [toklist] - if asList: - if isinstance(toklist, ParseResults): - self[name] = _ParseResultsWithOffset( - ParseResults(toklist._toklist), 0 - ) - else: - self[name] = _ParseResultsWithOffset( - ParseResults(toklist[0]), 0 - ) - self[name]._name = name - else: - try: - self[name] = toklist[0] - except (KeyError, TypeError, IndexError): - if toklist is not self: - self[name] = toklist - else: - self._name = name - - def __getitem__(self, i): - if isinstance(i, (int, slice)): - return self._toklist[i] - else: - if i not in self._all_names: - return self._tokdict[i][-1][0] - else: - return ParseResults([v[0] for v in self._tokdict[i]]) - - def __setitem__(self, k, v, isinstance=isinstance): - if isinstance(v, _ParseResultsWithOffset): - self._tokdict[k] = self._tokdict.get(k, list()) + [v] - sub = v[0] - elif isinstance(k, (int, slice)): - self._toklist[k] = v - sub = v - else: - self._tokdict[k] = self._tokdict.get(k, list()) + [ - _ParseResultsWithOffset(v, 0) - ] - sub = v - if isinstance(sub, ParseResults): - sub._parent = self - - def __delitem__(self, i): - if isinstance(i, (int, slice)): - mylen = len(self._toklist) - del self._toklist[i] - - # convert int to slice - if isinstance(i, int): - if i < 0: - i += mylen - i = slice(i, i + 1) - # get removed indices - removed = list(range(*i.indices(mylen))) - removed.reverse() - # fixup indices in token dictionary - for name, occurrences in self._tokdict.items(): - for j in removed: - for k, (value, position) in enumerate(occurrences): - occurrences[k] = _ParseResultsWithOffset( - value, position - (position > j) - ) - else: - del self._tokdict[i] - - def __contains__(self, k) -> bool: - return k in self._tokdict - - def __len__(self) -> int: - return len(self._toklist) - - def __bool__(self) -> bool: - return not not (self._toklist or self._tokdict) - - def __iter__(self) -> Iterator: - return iter(self._toklist) - - def __reversed__(self) -> Iterator: - return iter(self._toklist[::-1]) - - def keys(self): - return iter(self._tokdict) - - def values(self): - return (self[k] for k in self.keys()) - - def items(self): - return ((k, self[k]) for k in self.keys()) - - def haskeys(self) -> bool: - """ - Since ``keys()`` returns an iterator, this method is helpful in bypassing - code that looks for the existence of any defined results names.""" - return not not self._tokdict - - def pop(self, *args, **kwargs): - """ - Removes and returns item at specified index (default= ``last``). - Supports both ``list`` and ``dict`` semantics for ``pop()``. If - passed no argument or an integer argument, it will use ``list`` - semantics and pop tokens from the list of parsed tokens. If passed - a non-integer argument (most likely a string), it will use ``dict`` - semantics and pop the corresponding value from any defined results - names. A second default return value argument is supported, just as in - ``dict.pop()``. - - Example:: - - numlist = Word(nums)[...] - print(numlist.parse_string("0 123 321")) # -> ['0', '123', '321'] - - def remove_first(tokens): - tokens.pop(0) - numlist.add_parse_action(remove_first) - print(numlist.parse_string("0 123 321")) # -> ['123', '321'] - - label = Word(alphas) - patt = label("LABEL") + Word(nums)[1, ...] - print(patt.parse_string("AAB 123 321").dump()) - - # Use pop() in a parse action to remove named result (note that corresponding value is not - # removed from list form of results) - def remove_LABEL(tokens): - tokens.pop("LABEL") - return tokens - patt.add_parse_action(remove_LABEL) - print(patt.parse_string("AAB 123 321").dump()) - - prints:: - - ['AAB', '123', '321'] - - LABEL: 'AAB' - - ['AAB', '123', '321'] - """ - if not args: - args = [-1] - for k, v in kwargs.items(): - if k == "default": - args = (args[0], v) - else: - raise TypeError(f"pop() got an unexpected keyword argument {k!r}") - if isinstance(args[0], int) or len(args) == 1 or args[0] in self: - index = args[0] - ret = self[index] - del self[index] - return ret - else: - defaultvalue = args[1] - return defaultvalue - - def get(self, key, default_value=None): - """ - Returns named result matching the given key, or if there is no - such name, then returns the given ``default_value`` or ``None`` if no - ``default_value`` is specified. - - Similar to ``dict.get()``. - - Example:: - - integer = Word(nums) - date_str = integer("year") + '/' + integer("month") + '/' + integer("day") - - result = date_str.parse_string("1999/12/31") - print(result.get("year")) # -> '1999' - print(result.get("hour", "not specified")) # -> 'not specified' - print(result.get("hour")) # -> None - """ - if key in self: - return self[key] - else: - return default_value - - def insert(self, index, ins_string): - """ - Inserts new element at location index in the list of parsed tokens. - - Similar to ``list.insert()``. - - Example:: - - numlist = Word(nums)[...] - print(numlist.parse_string("0 123 321")) # -> ['0', '123', '321'] - - # use a parse action to insert the parse location in the front of the parsed results - def insert_locn(locn, tokens): - tokens.insert(0, locn) - numlist.add_parse_action(insert_locn) - print(numlist.parse_string("0 123 321")) # -> [0, '0', '123', '321'] - """ - self._toklist.insert(index, ins_string) - # fixup indices in token dictionary - for name, occurrences in self._tokdict.items(): - for k, (value, position) in enumerate(occurrences): - occurrences[k] = _ParseResultsWithOffset( - value, position + (position > index) - ) - - def append(self, item): - """ - Add single element to end of ``ParseResults`` list of elements. - - Example:: - - numlist = Word(nums)[...] - print(numlist.parse_string("0 123 321")) # -> ['0', '123', '321'] - - # use a parse action to compute the sum of the parsed integers, and add it to the end - def append_sum(tokens): - tokens.append(sum(map(int, tokens))) - numlist.add_parse_action(append_sum) - print(numlist.parse_string("0 123 321")) # -> ['0', '123', '321', 444] - """ - self._toklist.append(item) - - def extend(self, itemseq): - """ - Add sequence of elements to end of ``ParseResults`` list of elements. - - Example:: - - patt = Word(alphas)[1, ...] - - # use a parse action to append the reverse of the matched strings, to make a palindrome - def make_palindrome(tokens): - tokens.extend(reversed([t[::-1] for t in tokens])) - return ''.join(tokens) - patt.add_parse_action(make_palindrome) - print(patt.parse_string("lskdj sdlkjf lksd")) # -> 'lskdjsdlkjflksddsklfjkldsjdksl' - """ - if isinstance(itemseq, ParseResults): - self.__iadd__(itemseq) - else: - self._toklist.extend(itemseq) - - def clear(self): - """ - Clear all elements and results names. - """ - del self._toklist[:] - self._tokdict.clear() - - def __getattr__(self, name): - try: - return self[name] - except KeyError: - if name.startswith("__"): - raise AttributeError(name) - return "" - - def __add__(self, other: "ParseResults") -> "ParseResults": - ret = self.copy() - ret += other - return ret - - def __iadd__(self, other: "ParseResults") -> "ParseResults": - if not other: - return self - - if other._tokdict: - offset = len(self._toklist) - addoffset = lambda a: offset if a < 0 else a + offset - otheritems = other._tokdict.items() - otherdictitems = [ - (k, _ParseResultsWithOffset(v[0], addoffset(v[1]))) - for k, vlist in otheritems - for v in vlist - ] - for k, v in otherdictitems: - self[k] = v - if isinstance(v[0], ParseResults): - v[0]._parent = self - - self._toklist += other._toklist - self._all_names |= other._all_names - return self - - def __radd__(self, other) -> "ParseResults": - if isinstance(other, int) and other == 0: - # useful for merging many ParseResults using sum() builtin - return self.copy() - else: - # this may raise a TypeError - so be it - return other + self - - def __repr__(self) -> str: - return f"{type(self).__name__}({self._toklist!r}, {self.as_dict()})" - - def __str__(self) -> str: - return ( - "[" - + ", ".join( - [ - str(i) if isinstance(i, ParseResults) else repr(i) - for i in self._toklist - ] - ) - + "]" - ) - - def _asStringList(self, sep=""): - out = [] - for item in self._toklist: - if out and sep: - out.append(sep) - if isinstance(item, ParseResults): - out += item._asStringList() - else: - out.append(str(item)) - return out - - def as_list(self) -> list: - """ - Returns the parse results as a nested list of matching tokens, all converted to strings. - - Example:: - - patt = Word(alphas)[1, ...] - result = patt.parse_string("sldkj lsdkj sldkj") - # even though the result prints in string-like form, it is actually a pyparsing ParseResults - print(type(result), result) # -> ['sldkj', 'lsdkj', 'sldkj'] - - # Use as_list() to create an actual list - result_list = result.as_list() - print(type(result_list), result_list) # -> ['sldkj', 'lsdkj', 'sldkj'] - """ - return [ - res.as_list() if isinstance(res, ParseResults) else res - for res in self._toklist - ] - - def as_dict(self) -> dict: - """ - Returns the named parse results as a nested dictionary. - - Example:: - - integer = Word(nums) - date_str = integer("year") + '/' + integer("month") + '/' + integer("day") - - result = date_str.parse_string('12/31/1999') - print(type(result), repr(result)) # -> (['12', '/', '31', '/', '1999'], {'day': [('1999', 4)], 'year': [('12', 0)], 'month': [('31', 2)]}) - - result_dict = result.as_dict() - print(type(result_dict), repr(result_dict)) # -> {'day': '1999', 'year': '12', 'month': '31'} - - # even though a ParseResults supports dict-like access, sometime you just need to have a dict - import json - print(json.dumps(result)) # -> Exception: TypeError: ... is not JSON serializable - print(json.dumps(result.as_dict())) # -> {"month": "31", "day": "1999", "year": "12"} - """ - - def to_item(obj): - if isinstance(obj, ParseResults): - return obj.as_dict() if obj.haskeys() else [to_item(v) for v in obj] - else: - return obj - - return dict((k, to_item(v)) for k, v in self.items()) - - def copy(self) -> "ParseResults": - """ - Returns a new shallow copy of a :class:`ParseResults` object. `ParseResults` - items contained within the source are shared with the copy. Use - :class:`ParseResults.deepcopy()` to create a copy with its own separate - content values. - """ - ret = ParseResults(self._toklist) - ret._tokdict = self._tokdict.copy() - ret._parent = self._parent - ret._all_names |= self._all_names - ret._name = self._name - return ret - - def deepcopy(self) -> "ParseResults": - """ - Returns a new deep copy of a :class:`ParseResults` object. - """ - ret = self.copy() - # replace values with copies if they are of known mutable types - for i, obj in enumerate(self._toklist): - if isinstance(obj, ParseResults): - self._toklist[i] = obj.deepcopy() - elif isinstance(obj, (str, bytes)): - pass - elif isinstance(obj, MutableMapping): - self._toklist[i] = dest = type(obj)() - for k, v in obj.items(): - dest[k] = v.deepcopy() if isinstance(v, ParseResults) else v - elif isinstance(obj, Container): - self._toklist[i] = type(obj)( - v.deepcopy() if isinstance(v, ParseResults) else v for v in obj - ) - return ret - - def get_name(self): - r""" - Returns the results name for this token expression. Useful when several - different expressions might match at a particular location. - - Example:: - - integer = Word(nums) - ssn_expr = Regex(r"\d\d\d-\d\d-\d\d\d\d") - house_number_expr = Suppress('#') + Word(nums, alphanums) - user_data = (Group(house_number_expr)("house_number") - | Group(ssn_expr)("ssn") - | Group(integer)("age")) - user_info = user_data[1, ...] - - result = user_info.parse_string("22 111-22-3333 #221B") - for item in result: - print(item.get_name(), ':', item[0]) - - prints:: - - age : 22 - ssn : 111-22-3333 - house_number : 221B - """ - if self._name: - return self._name - elif self._parent: - par: "ParseResults" = self._parent - parent_tokdict_items = par._tokdict.items() - return next( - ( - k - for k, vlist in parent_tokdict_items - for v, loc in vlist - if v is self - ), - None, - ) - elif ( - len(self) == 1 - and len(self._tokdict) == 1 - and next(iter(self._tokdict.values()))[0][1] in (0, -1) - ): - return next(iter(self._tokdict.keys())) - else: - return None - - def dump(self, indent="", full=True, include_list=True, _depth=0) -> str: - """ - Diagnostic method for listing out the contents of - a :class:`ParseResults`. Accepts an optional ``indent`` argument so - that this string can be embedded in a nested display of other data. - - Example:: - - integer = Word(nums) - date_str = integer("year") + '/' + integer("month") + '/' + integer("day") - - result = date_str.parse_string('1999/12/31') - print(result.dump()) - - prints:: - - ['1999', '/', '12', '/', '31'] - - day: '31' - - month: '12' - - year: '1999' - """ - out = [] - NL = "\n" - out.append(indent + str(self.as_list()) if include_list else "") - - if full: - if self.haskeys(): - items = sorted((str(k), v) for k, v in self.items()) - for k, v in items: - if out: - out.append(NL) - out.append(f"{indent}{(' ' * _depth)}- {k}: ") - if isinstance(v, ParseResults): - if v: - out.append( - v.dump( - indent=indent, - full=full, - include_list=include_list, - _depth=_depth + 1, - ) - ) - else: - out.append(str(v)) - else: - out.append(repr(v)) - if any(isinstance(vv, ParseResults) for vv in self): - v = self - for i, vv in enumerate(v): - if isinstance(vv, ParseResults): - out.append( - "\n{}{}[{}]:\n{}{}{}".format( - indent, - (" " * (_depth)), - i, - indent, - (" " * (_depth + 1)), - vv.dump( - indent=indent, - full=full, - include_list=include_list, - _depth=_depth + 1, - ), - ) - ) - else: - out.append( - "\n%s%s[%d]:\n%s%s%s" - % ( - indent, - (" " * (_depth)), - i, - indent, - (" " * (_depth + 1)), - str(vv), - ) - ) - - return "".join(out) - - def pprint(self, *args, **kwargs): - """ - Pretty-printer for parsed results as a list, using the - `pprint `_ module. - Accepts additional positional or keyword args as defined for - `pprint.pprint `_ . - - Example:: - - ident = Word(alphas, alphanums) - num = Word(nums) - func = Forward() - term = ident | num | Group('(' + func + ')') - func <<= ident + Group(Optional(DelimitedList(term))) - result = func.parse_string("fna a,b,(fnb c,d,200),100") - result.pprint(width=40) - - prints:: - - ['fna', - ['a', - 'b', - ['(', 'fnb', ['c', 'd', '200'], ')'], - '100']] - """ - pprint.pprint(self.as_list(), *args, **kwargs) - - # add support for pickle protocol - def __getstate__(self): - return ( - self._toklist, - ( - self._tokdict.copy(), - None, - self._all_names, - self._name, - ), - ) - - def __setstate__(self, state): - self._toklist, (self._tokdict, par, inAccumNames, self._name) = state - self._all_names = set(inAccumNames) - self._parent = None - - def __getnewargs__(self): - return self._toklist, self._name - - def __dir__(self): - return dir(type(self)) + list(self.keys()) - - @classmethod - def from_dict(cls, other, name=None) -> "ParseResults": - """ - Helper classmethod to construct a ``ParseResults`` from a ``dict``, preserving the - name-value relations as results names. If an optional ``name`` argument is - given, a nested ``ParseResults`` will be returned. - """ - - def is_iterable(obj): - try: - iter(obj) - except Exception: - return False - # str's are iterable, but in pyparsing, we don't want to iterate over them - else: - return not isinstance(obj, str_type) - - ret = cls([]) - for k, v in other.items(): - if isinstance(v, Mapping): - ret += cls.from_dict(v, name=k) - else: - ret += cls([v], name=k, asList=is_iterable(v)) - if name is not None: - ret = cls([ret], name=name) - return ret - - asList = as_list - """Deprecated - use :class:`as_list`""" - asDict = as_dict - """Deprecated - use :class:`as_dict`""" - getName = get_name - """Deprecated - use :class:`get_name`""" - - -MutableMapping.register(ParseResults) -MutableSequence.register(ParseResults) diff --git a/.venv/Lib/site-packages/pip/_vendor/pyparsing/testing.py b/.venv/Lib/site-packages/pip/_vendor/pyparsing/testing.py deleted file mode 100644 index 6a254c1..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/pyparsing/testing.py +++ /dev/null @@ -1,331 +0,0 @@ -# testing.py - -from contextlib import contextmanager -import typing - -from .core import ( - ParserElement, - ParseException, - Keyword, - __diag__, - __compat__, -) - - -class pyparsing_test: - """ - namespace class for classes useful in writing unit tests - """ - - class reset_pyparsing_context: - """ - Context manager to be used when writing unit tests that modify pyparsing config values: - - packrat parsing - - bounded recursion parsing - - default whitespace characters. - - default keyword characters - - literal string auto-conversion class - - __diag__ settings - - Example:: - - with reset_pyparsing_context(): - # test that literals used to construct a grammar are automatically suppressed - ParserElement.inlineLiteralsUsing(Suppress) - - term = Word(alphas) | Word(nums) - group = Group('(' + term[...] + ')') - - # assert that the '()' characters are not included in the parsed tokens - self.assertParseAndCheckList(group, "(abc 123 def)", ['abc', '123', 'def']) - - # after exiting context manager, literals are converted to Literal expressions again - """ - - def __init__(self): - self._save_context = {} - - def save(self): - self._save_context["default_whitespace"] = ParserElement.DEFAULT_WHITE_CHARS - self._save_context["default_keyword_chars"] = Keyword.DEFAULT_KEYWORD_CHARS - - self._save_context[ - "literal_string_class" - ] = ParserElement._literalStringClass - - self._save_context["verbose_stacktrace"] = ParserElement.verbose_stacktrace - - self._save_context["packrat_enabled"] = ParserElement._packratEnabled - if ParserElement._packratEnabled: - self._save_context[ - "packrat_cache_size" - ] = ParserElement.packrat_cache.size - else: - self._save_context["packrat_cache_size"] = None - self._save_context["packrat_parse"] = ParserElement._parse - self._save_context[ - "recursion_enabled" - ] = ParserElement._left_recursion_enabled - - self._save_context["__diag__"] = { - name: getattr(__diag__, name) for name in __diag__._all_names - } - - self._save_context["__compat__"] = { - "collect_all_And_tokens": __compat__.collect_all_And_tokens - } - - return self - - def restore(self): - # reset pyparsing global state - if ( - ParserElement.DEFAULT_WHITE_CHARS - != self._save_context["default_whitespace"] - ): - ParserElement.set_default_whitespace_chars( - self._save_context["default_whitespace"] - ) - - ParserElement.verbose_stacktrace = self._save_context["verbose_stacktrace"] - - Keyword.DEFAULT_KEYWORD_CHARS = self._save_context["default_keyword_chars"] - ParserElement.inlineLiteralsUsing( - self._save_context["literal_string_class"] - ) - - for name, value in self._save_context["__diag__"].items(): - (__diag__.enable if value else __diag__.disable)(name) - - ParserElement._packratEnabled = False - if self._save_context["packrat_enabled"]: - ParserElement.enable_packrat(self._save_context["packrat_cache_size"]) - else: - ParserElement._parse = self._save_context["packrat_parse"] - ParserElement._left_recursion_enabled = self._save_context[ - "recursion_enabled" - ] - - __compat__.collect_all_And_tokens = self._save_context["__compat__"] - - return self - - def copy(self): - ret = type(self)() - ret._save_context.update(self._save_context) - return ret - - def __enter__(self): - return self.save() - - def __exit__(self, *args): - self.restore() - - class TestParseResultsAsserts: - """ - A mixin class to add parse results assertion methods to normal unittest.TestCase classes. - """ - - def assertParseResultsEquals( - self, result, expected_list=None, expected_dict=None, msg=None - ): - """ - Unit test assertion to compare a :class:`ParseResults` object with an optional ``expected_list``, - and compare any defined results names with an optional ``expected_dict``. - """ - if expected_list is not None: - self.assertEqual(expected_list, result.as_list(), msg=msg) - if expected_dict is not None: - self.assertEqual(expected_dict, result.as_dict(), msg=msg) - - def assertParseAndCheckList( - self, expr, test_string, expected_list, msg=None, verbose=True - ): - """ - Convenience wrapper assert to test a parser element and input string, and assert that - the resulting ``ParseResults.asList()`` is equal to the ``expected_list``. - """ - result = expr.parse_string(test_string, parse_all=True) - if verbose: - print(result.dump()) - else: - print(result.as_list()) - self.assertParseResultsEquals(result, expected_list=expected_list, msg=msg) - - def assertParseAndCheckDict( - self, expr, test_string, expected_dict, msg=None, verbose=True - ): - """ - Convenience wrapper assert to test a parser element and input string, and assert that - the resulting ``ParseResults.asDict()`` is equal to the ``expected_dict``. - """ - result = expr.parse_string(test_string, parseAll=True) - if verbose: - print(result.dump()) - else: - print(result.as_list()) - self.assertParseResultsEquals(result, expected_dict=expected_dict, msg=msg) - - def assertRunTestResults( - self, run_tests_report, expected_parse_results=None, msg=None - ): - """ - Unit test assertion to evaluate output of ``ParserElement.runTests()``. If a list of - list-dict tuples is given as the ``expected_parse_results`` argument, then these are zipped - with the report tuples returned by ``runTests`` and evaluated using ``assertParseResultsEquals``. - Finally, asserts that the overall ``runTests()`` success value is ``True``. - - :param run_tests_report: tuple(bool, [tuple(str, ParseResults or Exception)]) returned from runTests - :param expected_parse_results (optional): [tuple(str, list, dict, Exception)] - """ - run_test_success, run_test_results = run_tests_report - - if expected_parse_results is not None: - merged = [ - (*rpt, expected) - for rpt, expected in zip(run_test_results, expected_parse_results) - ] - for test_string, result, expected in merged: - # expected should be a tuple containing a list and/or a dict or an exception, - # and optional failure message string - # an empty tuple will skip any result validation - fail_msg = next( - (exp for exp in expected if isinstance(exp, str)), None - ) - expected_exception = next( - ( - exp - for exp in expected - if isinstance(exp, type) and issubclass(exp, Exception) - ), - None, - ) - if expected_exception is not None: - with self.assertRaises( - expected_exception=expected_exception, msg=fail_msg or msg - ): - if isinstance(result, Exception): - raise result - else: - expected_list = next( - (exp for exp in expected if isinstance(exp, list)), None - ) - expected_dict = next( - (exp for exp in expected if isinstance(exp, dict)), None - ) - if (expected_list, expected_dict) != (None, None): - self.assertParseResultsEquals( - result, - expected_list=expected_list, - expected_dict=expected_dict, - msg=fail_msg or msg, - ) - else: - # warning here maybe? - print(f"no validation for {test_string!r}") - - # do this last, in case some specific test results can be reported instead - self.assertTrue( - run_test_success, msg=msg if msg is not None else "failed runTests" - ) - - @contextmanager - def assertRaisesParseException(self, exc_type=ParseException, msg=None): - with self.assertRaises(exc_type, msg=msg): - yield - - @staticmethod - def with_line_numbers( - s: str, - start_line: typing.Optional[int] = None, - end_line: typing.Optional[int] = None, - expand_tabs: bool = True, - eol_mark: str = "|", - mark_spaces: typing.Optional[str] = None, - mark_control: typing.Optional[str] = None, - ) -> str: - """ - Helpful method for debugging a parser - prints a string with line and column numbers. - (Line and column numbers are 1-based.) - - :param s: tuple(bool, str - string to be printed with line and column numbers - :param start_line: int - (optional) starting line number in s to print (default=1) - :param end_line: int - (optional) ending line number in s to print (default=len(s)) - :param expand_tabs: bool - (optional) expand tabs to spaces, to match the pyparsing default - :param eol_mark: str - (optional) string to mark the end of lines, helps visualize trailing spaces (default="|") - :param mark_spaces: str - (optional) special character to display in place of spaces - :param mark_control: str - (optional) convert non-printing control characters to a placeholding - character; valid values: - - "unicode" - replaces control chars with Unicode symbols, such as "␍" and "␊" - - any single character string - replace control characters with given string - - None (default) - string is displayed as-is - - :return: str - input string with leading line numbers and column number headers - """ - if expand_tabs: - s = s.expandtabs() - if mark_control is not None: - mark_control = typing.cast(str, mark_control) - if mark_control == "unicode": - transtable_map = { - c: u for c, u in zip(range(0, 33), range(0x2400, 0x2433)) - } - transtable_map[127] = 0x2421 - tbl = str.maketrans(transtable_map) - eol_mark = "" - else: - ord_mark_control = ord(mark_control) - tbl = str.maketrans( - {c: ord_mark_control for c in list(range(0, 32)) + [127]} - ) - s = s.translate(tbl) - if mark_spaces is not None and mark_spaces != " ": - if mark_spaces == "unicode": - tbl = str.maketrans({9: 0x2409, 32: 0x2423}) - s = s.translate(tbl) - else: - s = s.replace(" ", mark_spaces) - if start_line is None: - start_line = 1 - if end_line is None: - end_line = len(s) - end_line = min(end_line, len(s)) - start_line = min(max(1, start_line), end_line) - - if mark_control != "unicode": - s_lines = s.splitlines()[start_line - 1 : end_line] - else: - s_lines = [line + "␊" for line in s.split("␊")[start_line - 1 : end_line]] - if not s_lines: - return "" - - lineno_width = len(str(end_line)) - max_line_len = max(len(line) for line in s_lines) - lead = " " * (lineno_width + 1) - if max_line_len >= 99: - header0 = ( - lead - + "".join( - f"{' ' * 99}{(i + 1) % 100}" - for i in range(max(max_line_len // 100, 1)) - ) - + "\n" - ) - else: - header0 = "" - header1 = ( - header0 - + lead - + "".join(f" {(i + 1) % 10}" for i in range(-(-max_line_len // 10))) - + "\n" - ) - header2 = lead + "1234567890" * (-(-max_line_len // 10)) + "\n" - return ( - header1 - + header2 - + "\n".join( - f"{i:{lineno_width}d}:{line}{eol_mark}" - for i, line in enumerate(s_lines, start=start_line) - ) - + "\n" - ) diff --git a/.venv/Lib/site-packages/pip/_vendor/pyparsing/unicode.py b/.venv/Lib/site-packages/pip/_vendor/pyparsing/unicode.py deleted file mode 100644 index ec0b3a4..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/pyparsing/unicode.py +++ /dev/null @@ -1,361 +0,0 @@ -# unicode.py - -import sys -from itertools import filterfalse -from typing import List, Tuple, Union - - -class _lazyclassproperty: - def __init__(self, fn): - self.fn = fn - self.__doc__ = fn.__doc__ - self.__name__ = fn.__name__ - - def __get__(self, obj, cls): - if cls is None: - cls = type(obj) - if not hasattr(cls, "_intern") or any( - cls._intern is getattr(superclass, "_intern", []) - for superclass in cls.__mro__[1:] - ): - cls._intern = {} - attrname = self.fn.__name__ - if attrname not in cls._intern: - cls._intern[attrname] = self.fn(cls) - return cls._intern[attrname] - - -UnicodeRangeList = List[Union[Tuple[int, int], Tuple[int]]] - - -class unicode_set: - """ - A set of Unicode characters, for language-specific strings for - ``alphas``, ``nums``, ``alphanums``, and ``printables``. - A unicode_set is defined by a list of ranges in the Unicode character - set, in a class attribute ``_ranges``. Ranges can be specified using - 2-tuples or a 1-tuple, such as:: - - _ranges = [ - (0x0020, 0x007e), - (0x00a0, 0x00ff), - (0x0100,), - ] - - Ranges are left- and right-inclusive. A 1-tuple of (x,) is treated as (x, x). - - A unicode set can also be defined using multiple inheritance of other unicode sets:: - - class CJK(Chinese, Japanese, Korean): - pass - """ - - _ranges: UnicodeRangeList = [] - - @_lazyclassproperty - def _chars_for_ranges(cls): - ret = [] - for cc in cls.__mro__: - if cc is unicode_set: - break - for rr in getattr(cc, "_ranges", ()): - ret.extend(range(rr[0], rr[-1] + 1)) - return [chr(c) for c in sorted(set(ret))] - - @_lazyclassproperty - def printables(cls): - """all non-whitespace characters in this range""" - return "".join(filterfalse(str.isspace, cls._chars_for_ranges)) - - @_lazyclassproperty - def alphas(cls): - """all alphabetic characters in this range""" - return "".join(filter(str.isalpha, cls._chars_for_ranges)) - - @_lazyclassproperty - def nums(cls): - """all numeric digit characters in this range""" - return "".join(filter(str.isdigit, cls._chars_for_ranges)) - - @_lazyclassproperty - def alphanums(cls): - """all alphanumeric characters in this range""" - return cls.alphas + cls.nums - - @_lazyclassproperty - def identchars(cls): - """all characters in this range that are valid identifier characters, plus underscore '_'""" - return "".join( - sorted( - set( - "".join(filter(str.isidentifier, cls._chars_for_ranges)) - + "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzªµº" - + "ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ" - + "_" - ) - ) - ) - - @_lazyclassproperty - def identbodychars(cls): - """ - all characters in this range that are valid identifier body characters, - plus the digits 0-9, and · (Unicode MIDDLE DOT) - """ - return "".join( - sorted( - set( - cls.identchars - + "0123456789·" - + "".join( - [c for c in cls._chars_for_ranges if ("_" + c).isidentifier()] - ) - ) - ) - ) - - @_lazyclassproperty - def identifier(cls): - """ - a pyparsing Word expression for an identifier using this range's definitions for - identchars and identbodychars - """ - from pip._vendor.pyparsing import Word - - return Word(cls.identchars, cls.identbodychars) - - -class pyparsing_unicode(unicode_set): - """ - A namespace class for defining common language unicode_sets. - """ - - # fmt: off - - # define ranges in language character sets - _ranges: UnicodeRangeList = [ - (0x0020, sys.maxunicode), - ] - - class BasicMultilingualPlane(unicode_set): - """Unicode set for the Basic Multilingual Plane""" - _ranges: UnicodeRangeList = [ - (0x0020, 0xFFFF), - ] - - class Latin1(unicode_set): - """Unicode set for Latin-1 Unicode Character Range""" - _ranges: UnicodeRangeList = [ - (0x0020, 0x007E), - (0x00A0, 0x00FF), - ] - - class LatinA(unicode_set): - """Unicode set for Latin-A Unicode Character Range""" - _ranges: UnicodeRangeList = [ - (0x0100, 0x017F), - ] - - class LatinB(unicode_set): - """Unicode set for Latin-B Unicode Character Range""" - _ranges: UnicodeRangeList = [ - (0x0180, 0x024F), - ] - - class Greek(unicode_set): - """Unicode set for Greek Unicode Character Ranges""" - _ranges: UnicodeRangeList = [ - (0x0342, 0x0345), - (0x0370, 0x0377), - (0x037A, 0x037F), - (0x0384, 0x038A), - (0x038C,), - (0x038E, 0x03A1), - (0x03A3, 0x03E1), - (0x03F0, 0x03FF), - (0x1D26, 0x1D2A), - (0x1D5E,), - (0x1D60,), - (0x1D66, 0x1D6A), - (0x1F00, 0x1F15), - (0x1F18, 0x1F1D), - (0x1F20, 0x1F45), - (0x1F48, 0x1F4D), - (0x1F50, 0x1F57), - (0x1F59,), - (0x1F5B,), - (0x1F5D,), - (0x1F5F, 0x1F7D), - (0x1F80, 0x1FB4), - (0x1FB6, 0x1FC4), - (0x1FC6, 0x1FD3), - (0x1FD6, 0x1FDB), - (0x1FDD, 0x1FEF), - (0x1FF2, 0x1FF4), - (0x1FF6, 0x1FFE), - (0x2129,), - (0x2719, 0x271A), - (0xAB65,), - (0x10140, 0x1018D), - (0x101A0,), - (0x1D200, 0x1D245), - (0x1F7A1, 0x1F7A7), - ] - - class Cyrillic(unicode_set): - """Unicode set for Cyrillic Unicode Character Range""" - _ranges: UnicodeRangeList = [ - (0x0400, 0x052F), - (0x1C80, 0x1C88), - (0x1D2B,), - (0x1D78,), - (0x2DE0, 0x2DFF), - (0xA640, 0xA672), - (0xA674, 0xA69F), - (0xFE2E, 0xFE2F), - ] - - class Chinese(unicode_set): - """Unicode set for Chinese Unicode Character Range""" - _ranges: UnicodeRangeList = [ - (0x2E80, 0x2E99), - (0x2E9B, 0x2EF3), - (0x31C0, 0x31E3), - (0x3400, 0x4DB5), - (0x4E00, 0x9FEF), - (0xA700, 0xA707), - (0xF900, 0xFA6D), - (0xFA70, 0xFAD9), - (0x16FE2, 0x16FE3), - (0x1F210, 0x1F212), - (0x1F214, 0x1F23B), - (0x1F240, 0x1F248), - (0x20000, 0x2A6D6), - (0x2A700, 0x2B734), - (0x2B740, 0x2B81D), - (0x2B820, 0x2CEA1), - (0x2CEB0, 0x2EBE0), - (0x2F800, 0x2FA1D), - ] - - class Japanese(unicode_set): - """Unicode set for Japanese Unicode Character Range, combining Kanji, Hiragana, and Katakana ranges""" - - class Kanji(unicode_set): - "Unicode set for Kanji Unicode Character Range" - _ranges: UnicodeRangeList = [ - (0x4E00, 0x9FBF), - (0x3000, 0x303F), - ] - - class Hiragana(unicode_set): - """Unicode set for Hiragana Unicode Character Range""" - _ranges: UnicodeRangeList = [ - (0x3041, 0x3096), - (0x3099, 0x30A0), - (0x30FC,), - (0xFF70,), - (0x1B001,), - (0x1B150, 0x1B152), - (0x1F200,), - ] - - class Katakana(unicode_set): - """Unicode set for Katakana Unicode Character Range""" - _ranges: UnicodeRangeList = [ - (0x3099, 0x309C), - (0x30A0, 0x30FF), - (0x31F0, 0x31FF), - (0x32D0, 0x32FE), - (0xFF65, 0xFF9F), - (0x1B000,), - (0x1B164, 0x1B167), - (0x1F201, 0x1F202), - (0x1F213,), - ] - - 漢字 = Kanji - カタカナ = Katakana - ひらがな = Hiragana - - _ranges = ( - Kanji._ranges - + Hiragana._ranges - + Katakana._ranges - ) - - class Hangul(unicode_set): - """Unicode set for Hangul (Korean) Unicode Character Range""" - _ranges: UnicodeRangeList = [ - (0x1100, 0x11FF), - (0x302E, 0x302F), - (0x3131, 0x318E), - (0x3200, 0x321C), - (0x3260, 0x327B), - (0x327E,), - (0xA960, 0xA97C), - (0xAC00, 0xD7A3), - (0xD7B0, 0xD7C6), - (0xD7CB, 0xD7FB), - (0xFFA0, 0xFFBE), - (0xFFC2, 0xFFC7), - (0xFFCA, 0xFFCF), - (0xFFD2, 0xFFD7), - (0xFFDA, 0xFFDC), - ] - - Korean = Hangul - - class CJK(Chinese, Japanese, Hangul): - """Unicode set for combined Chinese, Japanese, and Korean (CJK) Unicode Character Range""" - - class Thai(unicode_set): - """Unicode set for Thai Unicode Character Range""" - _ranges: UnicodeRangeList = [ - (0x0E01, 0x0E3A), - (0x0E3F, 0x0E5B) - ] - - class Arabic(unicode_set): - """Unicode set for Arabic Unicode Character Range""" - _ranges: UnicodeRangeList = [ - (0x0600, 0x061B), - (0x061E, 0x06FF), - (0x0700, 0x077F), - ] - - class Hebrew(unicode_set): - """Unicode set for Hebrew Unicode Character Range""" - _ranges: UnicodeRangeList = [ - (0x0591, 0x05C7), - (0x05D0, 0x05EA), - (0x05EF, 0x05F4), - (0xFB1D, 0xFB36), - (0xFB38, 0xFB3C), - (0xFB3E,), - (0xFB40, 0xFB41), - (0xFB43, 0xFB44), - (0xFB46, 0xFB4F), - ] - - class Devanagari(unicode_set): - """Unicode set for Devanagari Unicode Character Range""" - _ranges: UnicodeRangeList = [ - (0x0900, 0x097F), - (0xA8E0, 0xA8FF) - ] - - BMP = BasicMultilingualPlane - - # add language identifiers using language Unicode - العربية = Arabic - 中文 = Chinese - кириллица = Cyrillic - Ελληνικά = Greek - עִברִית = Hebrew - 日本語 = Japanese - 한국어 = Korean - ไทย = Thai - देवनागरी = Devanagari - - # fmt: on diff --git a/.venv/Lib/site-packages/pip/_vendor/pyparsing/util.py b/.venv/Lib/site-packages/pip/_vendor/pyparsing/util.py deleted file mode 100644 index d8d3f41..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/pyparsing/util.py +++ /dev/null @@ -1,284 +0,0 @@ -# util.py -import inspect -import warnings -import types -import collections -import itertools -from functools import lru_cache, wraps -from typing import Callable, List, Union, Iterable, TypeVar, cast - -_bslash = chr(92) -C = TypeVar("C", bound=Callable) - - -class __config_flags: - """Internal class for defining compatibility and debugging flags""" - - _all_names: List[str] = [] - _fixed_names: List[str] = [] - _type_desc = "configuration" - - @classmethod - def _set(cls, dname, value): - if dname in cls._fixed_names: - warnings.warn( - f"{cls.__name__}.{dname} {cls._type_desc} is {str(getattr(cls, dname)).upper()}" - f" and cannot be overridden", - stacklevel=3, - ) - return - if dname in cls._all_names: - setattr(cls, dname, value) - else: - raise ValueError(f"no such {cls._type_desc} {dname!r}") - - enable = classmethod(lambda cls, name: cls._set(name, True)) - disable = classmethod(lambda cls, name: cls._set(name, False)) - - -@lru_cache(maxsize=128) -def col(loc: int, strg: str) -> int: - """ - Returns current column within a string, counting newlines as line separators. - The first column is number 1. - - Note: the default parsing behavior is to expand tabs in the input string - before starting the parsing process. See - :class:`ParserElement.parse_string` for more - information on parsing strings containing ```` s, and suggested - methods to maintain a consistent view of the parsed string, the parse - location, and line and column positions within the parsed string. - """ - s = strg - return 1 if 0 < loc < len(s) and s[loc - 1] == "\n" else loc - s.rfind("\n", 0, loc) - - -@lru_cache(maxsize=128) -def lineno(loc: int, strg: str) -> int: - """Returns current line number within a string, counting newlines as line separators. - The first line is number 1. - - Note - the default parsing behavior is to expand tabs in the input string - before starting the parsing process. See :class:`ParserElement.parse_string` - for more information on parsing strings containing ```` s, and - suggested methods to maintain a consistent view of the parsed string, the - parse location, and line and column positions within the parsed string. - """ - return strg.count("\n", 0, loc) + 1 - - -@lru_cache(maxsize=128) -def line(loc: int, strg: str) -> str: - """ - Returns the line of text containing loc within a string, counting newlines as line separators. - """ - last_cr = strg.rfind("\n", 0, loc) - next_cr = strg.find("\n", loc) - return strg[last_cr + 1 : next_cr] if next_cr >= 0 else strg[last_cr + 1 :] - - -class _UnboundedCache: - def __init__(self): - cache = {} - cache_get = cache.get - self.not_in_cache = not_in_cache = object() - - def get(_, key): - return cache_get(key, not_in_cache) - - def set_(_, key, value): - cache[key] = value - - def clear(_): - cache.clear() - - self.size = None - self.get = types.MethodType(get, self) - self.set = types.MethodType(set_, self) - self.clear = types.MethodType(clear, self) - - -class _FifoCache: - def __init__(self, size): - self.not_in_cache = not_in_cache = object() - cache = {} - keyring = [object()] * size - cache_get = cache.get - cache_pop = cache.pop - keyiter = itertools.cycle(range(size)) - - def get(_, key): - return cache_get(key, not_in_cache) - - def set_(_, key, value): - cache[key] = value - i = next(keyiter) - cache_pop(keyring[i], None) - keyring[i] = key - - def clear(_): - cache.clear() - keyring[:] = [object()] * size - - self.size = size - self.get = types.MethodType(get, self) - self.set = types.MethodType(set_, self) - self.clear = types.MethodType(clear, self) - - -class LRUMemo: - """ - A memoizing mapping that retains `capacity` deleted items - - The memo tracks retained items by their access order; once `capacity` items - are retained, the least recently used item is discarded. - """ - - def __init__(self, capacity): - self._capacity = capacity - self._active = {} - self._memory = collections.OrderedDict() - - def __getitem__(self, key): - try: - return self._active[key] - except KeyError: - self._memory.move_to_end(key) - return self._memory[key] - - def __setitem__(self, key, value): - self._memory.pop(key, None) - self._active[key] = value - - def __delitem__(self, key): - try: - value = self._active.pop(key) - except KeyError: - pass - else: - while len(self._memory) >= self._capacity: - self._memory.popitem(last=False) - self._memory[key] = value - - def clear(self): - self._active.clear() - self._memory.clear() - - -class UnboundedMemo(dict): - """ - A memoizing mapping that retains all deleted items - """ - - def __delitem__(self, key): - pass - - -def _escape_regex_range_chars(s: str) -> str: - # escape these chars: ^-[] - for c in r"\^-[]": - s = s.replace(c, _bslash + c) - s = s.replace("\n", r"\n") - s = s.replace("\t", r"\t") - return str(s) - - -def _collapse_string_to_ranges( - s: Union[str, Iterable[str]], re_escape: bool = True -) -> str: - def is_consecutive(c): - c_int = ord(c) - is_consecutive.prev, prev = c_int, is_consecutive.prev - if c_int - prev > 1: - is_consecutive.value = next(is_consecutive.counter) - return is_consecutive.value - - is_consecutive.prev = 0 # type: ignore [attr-defined] - is_consecutive.counter = itertools.count() # type: ignore [attr-defined] - is_consecutive.value = -1 # type: ignore [attr-defined] - - def escape_re_range_char(c): - return "\\" + c if c in r"\^-][" else c - - def no_escape_re_range_char(c): - return c - - if not re_escape: - escape_re_range_char = no_escape_re_range_char - - ret = [] - s = "".join(sorted(set(s))) - if len(s) > 3: - for _, chars in itertools.groupby(s, key=is_consecutive): - first = last = next(chars) - last = collections.deque( - itertools.chain(iter([last]), chars), maxlen=1 - ).pop() - if first == last: - ret.append(escape_re_range_char(first)) - else: - sep = "" if ord(last) == ord(first) + 1 else "-" - ret.append( - f"{escape_re_range_char(first)}{sep}{escape_re_range_char(last)}" - ) - else: - ret = [escape_re_range_char(c) for c in s] - - return "".join(ret) - - -def _flatten(ll: list) -> list: - ret = [] - for i in ll: - if isinstance(i, list): - ret.extend(_flatten(i)) - else: - ret.append(i) - return ret - - -def _make_synonym_function(compat_name: str, fn: C) -> C: - # In a future version, uncomment the code in the internal _inner() functions - # to begin emitting DeprecationWarnings. - - # Unwrap staticmethod/classmethod - fn = getattr(fn, "__func__", fn) - - # (Presence of 'self' arg in signature is used by explain_exception() methods, so we take - # some extra steps to add it if present in decorated function.) - if "self" == list(inspect.signature(fn).parameters)[0]: - - @wraps(fn) - def _inner(self, *args, **kwargs): - # warnings.warn( - # f"Deprecated - use {fn.__name__}", DeprecationWarning, stacklevel=3 - # ) - return fn(self, *args, **kwargs) - - else: - - @wraps(fn) - def _inner(*args, **kwargs): - # warnings.warn( - # f"Deprecated - use {fn.__name__}", DeprecationWarning, stacklevel=3 - # ) - return fn(*args, **kwargs) - - _inner.__doc__ = f"""Deprecated - use :class:`{fn.__name__}`""" - _inner.__name__ = compat_name - _inner.__annotations__ = fn.__annotations__ - if isinstance(fn, types.FunctionType): - _inner.__kwdefaults__ = fn.__kwdefaults__ - elif isinstance(fn, type) and hasattr(fn, "__init__"): - _inner.__kwdefaults__ = fn.__init__.__kwdefaults__ - else: - _inner.__kwdefaults__ = None - _inner.__qualname__ = fn.__qualname__ - return cast(C, _inner) - - -def replaced_by_pep8(fn: C) -> Callable[[Callable], C]: - """ - Decorator for pre-PEP8 compatibility synonyms, to link them to the new function. - """ - return lambda other: _make_synonym_function(other.__name__, fn) diff --git a/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/__init__.py b/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/__init__.py index ddfcf7f..746b89f 100644 --- a/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/__init__.py +++ b/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/__init__.py @@ -1,8 +1,9 @@ """Wrappers to call pyproject.toml-based build backend hooks. """ +from typing import TYPE_CHECKING + from ._impl import ( - BackendInvalid, BackendUnavailable, BuildBackendHookCaller, HookMissing, @@ -11,13 +12,20 @@ from ._impl import ( quiet_subprocess_runner, ) -__version__ = '1.0.0' +__version__ = "1.2.0" __all__ = [ - 'BackendUnavailable', - 'BackendInvalid', - 'HookMissing', - 'UnsupportedOperation', - 'default_subprocess_runner', - 'quiet_subprocess_runner', - 'BuildBackendHookCaller', + "BackendUnavailable", + "BackendInvalid", + "HookMissing", + "UnsupportedOperation", + "default_subprocess_runner", + "quiet_subprocess_runner", + "BuildBackendHookCaller", ] + +BackendInvalid = BackendUnavailable # Deprecated alias, previously a separate exception + +if TYPE_CHECKING: + from ._impl import SubprocessRunner + + __all__ += ["SubprocessRunner"] diff --git a/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-311.pyc index f3fa5cd..88d695d 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_compat.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_compat.cpython-311.pyc deleted file mode 100644 index 3e4ac3f..0000000 Binary files a/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_compat.cpython-311.pyc and /dev/null differ diff --git a/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-311.pyc index a504c4b..c114615 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/_compat.py b/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/_compat.py deleted file mode 100644 index 95e509c..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/_compat.py +++ /dev/null @@ -1,8 +0,0 @@ -__all__ = ("tomllib",) - -import sys - -if sys.version_info >= (3, 11): - import tomllib -else: - from pip._vendor import tomli as tomllib diff --git a/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/_impl.py b/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/_impl.py index 37b0e65..d1e9d7b 100644 --- a/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/_impl.py +++ b/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/_impl.py @@ -6,48 +6,72 @@ from contextlib import contextmanager from os.path import abspath from os.path import join as pjoin from subprocess import STDOUT, check_call, check_output +from typing import TYPE_CHECKING, Any, Iterator, Mapping, Optional, Sequence from ._in_process import _in_proc_script_path +if TYPE_CHECKING: + from typing import Protocol -def write_json(obj, path, **kwargs): - with open(path, 'w', encoding='utf-8') as f: + class SubprocessRunner(Protocol): + """A protocol for the subprocess runner.""" + + def __call__( + self, + cmd: Sequence[str], + cwd: Optional[str] = None, + extra_environ: Optional[Mapping[str, str]] = None, + ) -> None: + ... + + +def write_json(obj: Mapping[str, Any], path: str, **kwargs) -> None: + with open(path, "w", encoding="utf-8") as f: json.dump(obj, f, **kwargs) -def read_json(path): - with open(path, encoding='utf-8') as f: +def read_json(path: str) -> Mapping[str, Any]: + with open(path, encoding="utf-8") as f: return json.load(f) class BackendUnavailable(Exception): """Will be raised if the backend cannot be imported in the hook process.""" - def __init__(self, traceback): - self.traceback = traceback - -class BackendInvalid(Exception): - """Will be raised if the backend is invalid.""" - def __init__(self, backend_name, backend_path, message): - super().__init__(message) + def __init__( + self, + traceback: str, + message: Optional[str] = None, + backend_name: Optional[str] = None, + backend_path: Optional[Sequence[str]] = None, + ) -> None: + # Preserving arg order for the sake of API backward compatibility. self.backend_name = backend_name self.backend_path = backend_path + self.traceback = traceback + super().__init__(message or "Error while importing backend") class HookMissing(Exception): """Will be raised on missing hooks (if a fallback can't be used).""" - def __init__(self, hook_name): + + def __init__(self, hook_name: str) -> None: super().__init__(hook_name) self.hook_name = hook_name class UnsupportedOperation(Exception): """May be raised by build_sdist if the backend indicates that it can't.""" - def __init__(self, traceback): + + def __init__(self, traceback: str) -> None: self.traceback = traceback -def default_subprocess_runner(cmd, cwd=None, extra_environ=None): +def default_subprocess_runner( + cmd: Sequence[str], + cwd: Optional[str] = None, + extra_environ: Optional[Mapping[str, str]] = None, +) -> None: """The default method of calling the wrapper subprocess. This uses :func:`subprocess.check_call` under the hood. @@ -59,7 +83,11 @@ def default_subprocess_runner(cmd, cwd=None, extra_environ=None): check_call(cmd, cwd=cwd, env=env) -def quiet_subprocess_runner(cmd, cwd=None, extra_environ=None): +def quiet_subprocess_runner( + cmd: Sequence[str], + cwd: Optional[str] = None, + extra_environ: Optional[Mapping[str, str]] = None, +) -> None: """Call the subprocess while suppressing output. This uses :func:`subprocess.check_output` under the hood. @@ -71,7 +99,7 @@ def quiet_subprocess_runner(cmd, cwd=None, extra_environ=None): check_output(cmd, cwd=cwd, env=env, stderr=STDOUT) -def norm_and_check(source_tree, requested): +def norm_and_check(source_tree: str, requested: str) -> str: """Normalise and check a backend path. Ensure that the requested backend path is specified as a relative path, @@ -96,17 +124,16 @@ def norm_and_check(source_tree, requested): class BuildBackendHookCaller: - """A wrapper to call the build backend hooks for a source directory. - """ + """A wrapper to call the build backend hooks for a source directory.""" def __init__( - self, - source_dir, - build_backend, - backend_path=None, - runner=None, - python_executable=None, - ): + self, + source_dir: str, + build_backend: str, + backend_path: Optional[Sequence[str]] = None, + runner: Optional["SubprocessRunner"] = None, + python_executable: Optional[str] = None, + ) -> None: """ :param source_dir: The source directory to invoke the build backend for :param build_backend: The build backend spec @@ -121,9 +148,7 @@ class BuildBackendHookCaller: self.source_dir = abspath(source_dir) self.build_backend = build_backend if backend_path: - backend_path = [ - norm_and_check(self.source_dir, p) for p in backend_path - ] + backend_path = [norm_and_check(self.source_dir, p) for p in backend_path] self.backend_path = backend_path self._subprocess_runner = runner if not python_executable: @@ -131,10 +156,12 @@ class BuildBackendHookCaller: self.python_executable = python_executable @contextmanager - def subprocess_runner(self, runner): + def subprocess_runner(self, runner: "SubprocessRunner") -> Iterator[None]: """A context manager for temporarily overriding the default :ref:`subprocess runner `. + :param runner: The new subprocess runner to use within the context. + .. code-block:: python hook_caller = BuildBackendHookCaller(...) @@ -148,33 +175,44 @@ class BuildBackendHookCaller: finally: self._subprocess_runner = prev - def _supported_features(self): + def _supported_features(self) -> Sequence[str]: """Return the list of optional features supported by the backend.""" - return self._call_hook('_supported_features', {}) + return self._call_hook("_supported_features", {}) - def get_requires_for_build_wheel(self, config_settings=None): + def get_requires_for_build_wheel( + self, + config_settings: Optional[Mapping[str, Any]] = None, + ) -> Sequence[str]: """Get additional dependencies required for building a wheel. + :param config_settings: The configuration settings for the build backend :returns: A list of :pep:`dependency specifiers <508>`. - :rtype: list[str] .. admonition:: Fallback If the build backend does not defined a hook with this name, an empty list will be returned. """ - return self._call_hook('get_requires_for_build_wheel', { - 'config_settings': config_settings - }) + return self._call_hook( + "get_requires_for_build_wheel", {"config_settings": config_settings} + ) def prepare_metadata_for_build_wheel( - self, metadata_directory, config_settings=None, - _allow_fallback=True): + self, + metadata_directory: str, + config_settings: Optional[Mapping[str, Any]] = None, + _allow_fallback: bool = True, + ) -> str: """Prepare a ``*.dist-info`` folder with metadata for this project. + :param metadata_directory: The directory to write the metadata to + :param config_settings: The configuration settings for the build backend + :param _allow_fallback: + Whether to allow the fallback to building a wheel and extracting + the metadata from it. Should be passed as a keyword argument only. + :returns: Name of the newly created subfolder within ``metadata_directory``, containing the metadata. - :rtype: str .. admonition:: Fallback @@ -183,17 +221,26 @@ class BuildBackendHookCaller: wheel via the ``build_wheel`` hook and the dist-info extracted from that will be returned. """ - return self._call_hook('prepare_metadata_for_build_wheel', { - 'metadata_directory': abspath(metadata_directory), - 'config_settings': config_settings, - '_allow_fallback': _allow_fallback, - }) + return self._call_hook( + "prepare_metadata_for_build_wheel", + { + "metadata_directory": abspath(metadata_directory), + "config_settings": config_settings, + "_allow_fallback": _allow_fallback, + }, + ) def build_wheel( - self, wheel_directory, config_settings=None, - metadata_directory=None): + self, + wheel_directory: str, + config_settings: Optional[Mapping[str, Any]] = None, + metadata_directory: Optional[str] = None, + ) -> str: """Build a wheel from this project. + :param wheel_directory: The directory to write the wheel to + :param config_settings: The configuration settings for the build backend + :param metadata_directory: The directory to reuse existing metadata from :returns: The name of the newly created wheel within ``wheel_directory``. @@ -206,35 +253,48 @@ class BuildBackendHookCaller: """ if metadata_directory is not None: metadata_directory = abspath(metadata_directory) - return self._call_hook('build_wheel', { - 'wheel_directory': abspath(wheel_directory), - 'config_settings': config_settings, - 'metadata_directory': metadata_directory, - }) + return self._call_hook( + "build_wheel", + { + "wheel_directory": abspath(wheel_directory), + "config_settings": config_settings, + "metadata_directory": metadata_directory, + }, + ) - def get_requires_for_build_editable(self, config_settings=None): + def get_requires_for_build_editable( + self, + config_settings: Optional[Mapping[str, Any]] = None, + ) -> Sequence[str]: """Get additional dependencies required for building an editable wheel. + :param config_settings: The configuration settings for the build backend :returns: A list of :pep:`dependency specifiers <508>`. - :rtype: list[str] .. admonition:: Fallback If the build backend does not defined a hook with this name, an empty list will be returned. """ - return self._call_hook('get_requires_for_build_editable', { - 'config_settings': config_settings - }) + return self._call_hook( + "get_requires_for_build_editable", {"config_settings": config_settings} + ) def prepare_metadata_for_build_editable( - self, metadata_directory, config_settings=None, - _allow_fallback=True): + self, + metadata_directory: str, + config_settings: Optional[Mapping[str, Any]] = None, + _allow_fallback: bool = True, + ) -> Optional[str]: """Prepare a ``*.dist-info`` folder with metadata for this project. + :param metadata_directory: The directory to write the metadata to + :param config_settings: The configuration settings for the build backend + :param _allow_fallback: + Whether to allow the fallback to building a wheel and extracting + the metadata from it. Should be passed as a keyword argument only. :returns: Name of the newly created subfolder within ``metadata_directory``, containing the metadata. - :rtype: str .. admonition:: Fallback @@ -243,17 +303,26 @@ class BuildBackendHookCaller: wheel via the ``build_editable`` hook and the dist-info extracted from that will be returned. """ - return self._call_hook('prepare_metadata_for_build_editable', { - 'metadata_directory': abspath(metadata_directory), - 'config_settings': config_settings, - '_allow_fallback': _allow_fallback, - }) + return self._call_hook( + "prepare_metadata_for_build_editable", + { + "metadata_directory": abspath(metadata_directory), + "config_settings": config_settings, + "_allow_fallback": _allow_fallback, + }, + ) def build_editable( - self, wheel_directory, config_settings=None, - metadata_directory=None): + self, + wheel_directory: str, + config_settings: Optional[Mapping[str, Any]] = None, + metadata_directory: Optional[str] = None, + ) -> str: """Build an editable wheel from this project. + :param wheel_directory: The directory to write the wheel to + :param config_settings: The configuration settings for the build backend + :param metadata_directory: The directory to reuse existing metadata from :returns: The name of the newly created wheel within ``wheel_directory``. @@ -267,43 +336,55 @@ class BuildBackendHookCaller: """ if metadata_directory is not None: metadata_directory = abspath(metadata_directory) - return self._call_hook('build_editable', { - 'wheel_directory': abspath(wheel_directory), - 'config_settings': config_settings, - 'metadata_directory': metadata_directory, - }) + return self._call_hook( + "build_editable", + { + "wheel_directory": abspath(wheel_directory), + "config_settings": config_settings, + "metadata_directory": metadata_directory, + }, + ) - def get_requires_for_build_sdist(self, config_settings=None): + def get_requires_for_build_sdist( + self, + config_settings: Optional[Mapping[str, Any]] = None, + ) -> Sequence[str]: """Get additional dependencies required for building an sdist. :returns: A list of :pep:`dependency specifiers <508>`. - :rtype: list[str] """ - return self._call_hook('get_requires_for_build_sdist', { - 'config_settings': config_settings - }) + return self._call_hook( + "get_requires_for_build_sdist", {"config_settings": config_settings} + ) - def build_sdist(self, sdist_directory, config_settings=None): + def build_sdist( + self, + sdist_directory: str, + config_settings: Optional[Mapping[str, Any]] = None, + ) -> str: """Build an sdist from this project. :returns: The name of the newly created sdist within ``wheel_directory``. """ - return self._call_hook('build_sdist', { - 'sdist_directory': abspath(sdist_directory), - 'config_settings': config_settings, - }) + return self._call_hook( + "build_sdist", + { + "sdist_directory": abspath(sdist_directory), + "config_settings": config_settings, + }, + ) - def _call_hook(self, hook_name, kwargs): - extra_environ = {'PEP517_BUILD_BACKEND': self.build_backend} + def _call_hook(self, hook_name: str, kwargs: Mapping[str, Any]) -> Any: + extra_environ = {"_PYPROJECT_HOOKS_BUILD_BACKEND": self.build_backend} if self.backend_path: backend_path = os.pathsep.join(self.backend_path) - extra_environ['PEP517_BACKEND_PATH'] = backend_path + extra_environ["_PYPROJECT_HOOKS_BACKEND_PATH"] = backend_path with tempfile.TemporaryDirectory() as td: - hook_input = {'kwargs': kwargs} - write_json(hook_input, pjoin(td, 'input.json'), indent=2) + hook_input = {"kwargs": kwargs} + write_json(hook_input, pjoin(td, "input.json"), indent=2) # Run the hook in a subprocess with _in_proc_script_path() as script: @@ -311,20 +392,19 @@ class BuildBackendHookCaller: self._subprocess_runner( [python, abspath(str(script)), hook_name, td], cwd=self.source_dir, - extra_environ=extra_environ + extra_environ=extra_environ, ) - data = read_json(pjoin(td, 'output.json')) - if data.get('unsupported'): - raise UnsupportedOperation(data.get('traceback', '')) - if data.get('no_backend'): - raise BackendUnavailable(data.get('traceback', '')) - if data.get('backend_invalid'): - raise BackendInvalid( + data = read_json(pjoin(td, "output.json")) + if data.get("unsupported"): + raise UnsupportedOperation(data.get("traceback", "")) + if data.get("no_backend"): + raise BackendUnavailable( + data.get("traceback", ""), + message=data.get("backend_error", ""), backend_name=self.build_backend, backend_path=self.backend_path, - message=data.get('backend_error', '') ) - if data.get('hook_missing'): - raise HookMissing(data.get('missing_hook_name') or hook_name) - return data['return_val'] + if data.get("hook_missing"): + raise HookMissing(data.get("missing_hook_name") or hook_name) + return data["return_val"] diff --git a/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py b/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py index 917fa06..906d0ba 100644 --- a/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py +++ b/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py @@ -11,8 +11,11 @@ try: except AttributeError: # Python 3.8 compatibility def _in_proc_script_path(): - return resources.path(__package__, '_in_process.py') + return resources.path(__package__, "_in_process.py") + else: + def _in_proc_script_path(): return resources.as_file( - resources.files(__package__).joinpath('_in_process.py')) + resources.files(__package__).joinpath("_in_process.py") + ) diff --git a/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-311.pyc index 1ccbe46..6370cf9 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-311.pyc index 5c584f5..4b0cd65 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py b/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py index ee511ff..d689bab 100644 --- a/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py +++ b/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py @@ -3,8 +3,8 @@ It expects: - Command line args: hook_name, control_dir - Environment variables: - PEP517_BUILD_BACKEND=entry.point:spec - PEP517_BACKEND_PATH=paths (separated with os.pathsep) + _PYPROJECT_HOOKS_BUILD_BACKEND=entry.point:spec + _PYPROJECT_HOOKS_BACKEND_PATH=paths (separated with os.pathsep) - control_dir/input.json: - {"kwargs": {...}} @@ -21,6 +21,7 @@ import sys import traceback from glob import glob from importlib import import_module +from importlib.machinery import PathFinder from os.path import join as pjoin # This file is run as a script, and `import wrappers` is not zip-safe, so we @@ -28,69 +29,93 @@ from os.path import join as pjoin def write_json(obj, path, **kwargs): - with open(path, 'w', encoding='utf-8') as f: + with open(path, "w", encoding="utf-8") as f: json.dump(obj, f, **kwargs) def read_json(path): - with open(path, encoding='utf-8') as f: + with open(path, encoding="utf-8") as f: return json.load(f) class BackendUnavailable(Exception): """Raised if we cannot import the backend""" - def __init__(self, traceback): - self.traceback = traceback - -class BackendInvalid(Exception): - """Raised if the backend is invalid""" - def __init__(self, message): + def __init__(self, message, traceback=None): + super().__init__(message) self.message = message + self.traceback = traceback class HookMissing(Exception): """Raised if a hook is missing and we are not executing the fallback""" + def __init__(self, hook_name=None): super().__init__(hook_name) self.hook_name = hook_name -def contained_in(filename, directory): - """Test if a file is located within the given directory.""" - filename = os.path.normcase(os.path.abspath(filename)) - directory = os.path.normcase(os.path.abspath(directory)) - return os.path.commonprefix([filename, directory]) == directory - - def _build_backend(): """Find and load the build backend""" - # Add in-tree backend directories to the front of sys.path. - backend_path = os.environ.get('PEP517_BACKEND_PATH') - if backend_path: - extra_pathitems = backend_path.split(os.pathsep) - sys.path[:0] = extra_pathitems + backend_path = os.environ.get("_PYPROJECT_HOOKS_BACKEND_PATH") + ep = os.environ["_PYPROJECT_HOOKS_BUILD_BACKEND"] + mod_path, _, obj_path = ep.partition(":") + + if backend_path: + # Ensure in-tree backend directories have the highest priority when importing. + extra_pathitems = backend_path.split(os.pathsep) + sys.meta_path.insert(0, _BackendPathFinder(extra_pathitems, mod_path)) - ep = os.environ['PEP517_BUILD_BACKEND'] - mod_path, _, obj_path = ep.partition(':') try: obj = import_module(mod_path) except ImportError: - raise BackendUnavailable(traceback.format_exc()) - - if backend_path: - if not any( - contained_in(obj.__file__, path) - for path in extra_pathitems - ): - raise BackendInvalid("Backend was not loaded from backend-path") + msg = f"Cannot import {mod_path!r}" + raise BackendUnavailable(msg, traceback.format_exc()) if obj_path: - for path_part in obj_path.split('.'): + for path_part in obj_path.split("."): obj = getattr(obj, path_part) return obj +class _BackendPathFinder: + """Implements the MetaPathFinder interface to locate modules in ``backend-path``. + + Since the environment provided by the frontend can contain all sorts of + MetaPathFinders, the only way to ensure the backend is loaded from the + right place is to prepend our own. + """ + + def __init__(self, backend_path, backend_module): + self.backend_path = backend_path + self.backend_module = backend_module + self.backend_parent, _, _ = backend_module.partition(".") + + def find_spec(self, fullname, _path, _target=None): + if "." in fullname: + # Rely on importlib to find nested modules based on parent's path + return None + + # Ignore other items in _path or sys.path and use backend_path instead: + spec = PathFinder.find_spec(fullname, path=self.backend_path) + if spec is None and fullname == self.backend_parent: + # According to the spec, the backend MUST be loaded from backend-path. + # Therefore, we can halt the import machinery and raise a clean error. + msg = f"Cannot find module {self.backend_module!r} in {self.backend_path!r}" + raise BackendUnavailable(msg) + + return spec + + if sys.version_info >= (3, 8): + + def find_distributions(self, context=None): + # Delayed import: Python 3.7 does not contain importlib.metadata + from importlib.metadata import DistributionFinder, MetadataPathFinder + + context = DistributionFinder.Context(path=self.backend_path) + return MetadataPathFinder.find_distributions(context=context) + + def _supported_features(): """Return the list of options features supported by the backend. @@ -133,7 +158,8 @@ def get_requires_for_build_editable(config_settings): def prepare_metadata_for_build_wheel( - metadata_directory, config_settings, _allow_fallback): + metadata_directory, config_settings, _allow_fallback +): """Invoke optional prepare_metadata_for_build_wheel Implements a fallback by building a wheel if the hook isn't defined, @@ -150,12 +176,14 @@ def prepare_metadata_for_build_wheel( # fallback to build_wheel outside the try block to avoid exception chaining # which can be confusing to users and is not relevant whl_basename = backend.build_wheel(metadata_directory, config_settings) - return _get_wheel_metadata_from_wheel(whl_basename, metadata_directory, - config_settings) + return _get_wheel_metadata_from_wheel( + whl_basename, metadata_directory, config_settings + ) def prepare_metadata_for_build_editable( - metadata_directory, config_settings, _allow_fallback): + metadata_directory, config_settings, _allow_fallback +): """Invoke optional prepare_metadata_for_build_editable Implements a fallback by building an editable wheel if the hook isn't @@ -171,24 +199,24 @@ def prepare_metadata_for_build_editable( try: build_hook = backend.build_editable except AttributeError: - raise HookMissing(hook_name='build_editable') + raise HookMissing(hook_name="build_editable") else: whl_basename = build_hook(metadata_directory, config_settings) - return _get_wheel_metadata_from_wheel(whl_basename, - metadata_directory, - config_settings) + return _get_wheel_metadata_from_wheel( + whl_basename, metadata_directory, config_settings + ) else: return hook(metadata_directory, config_settings) -WHEEL_BUILT_MARKER = 'PEP517_ALREADY_BUILT_WHEEL' +WHEEL_BUILT_MARKER = "PYPROJECT_HOOKS_ALREADY_BUILT_WHEEL" def _dist_info_files(whl_zip): """Identify the .dist-info folder inside a wheel ZipFile.""" res = [] for path in whl_zip.namelist(): - m = re.match(r'[^/\\]+-[^/\\]+\.dist-info/', path) + m = re.match(r"[^/\\]+-[^/\\]+\.dist-info/", path) if m: res.append(path) if res: @@ -196,40 +224,41 @@ def _dist_info_files(whl_zip): raise Exception("No .dist-info folder found in wheel") -def _get_wheel_metadata_from_wheel( - whl_basename, metadata_directory, config_settings): +def _get_wheel_metadata_from_wheel(whl_basename, metadata_directory, config_settings): """Extract the metadata from a wheel. Fallback for when the build backend does not define the 'get_wheel_metadata' hook. """ from zipfile import ZipFile - with open(os.path.join(metadata_directory, WHEEL_BUILT_MARKER), 'wb'): + + with open(os.path.join(metadata_directory, WHEEL_BUILT_MARKER), "wb"): pass # Touch marker file whl_file = os.path.join(metadata_directory, whl_basename) with ZipFile(whl_file) as zipf: dist_info = _dist_info_files(zipf) zipf.extractall(path=metadata_directory, members=dist_info) - return dist_info[0].split('/')[0] + return dist_info[0].split("/")[0] def _find_already_built_wheel(metadata_directory): - """Check for a wheel already built during the get_wheel_metadata hook. - """ + """Check for a wheel already built during the get_wheel_metadata hook.""" if not metadata_directory: return None metadata_parent = os.path.dirname(metadata_directory) if not os.path.isfile(pjoin(metadata_parent, WHEEL_BUILT_MARKER)): return None - whl_files = glob(os.path.join(metadata_parent, '*.whl')) + whl_files = glob(os.path.join(metadata_parent, "*.whl")) if not whl_files: - print('Found wheel built marker, but no .whl files') + print("Found wheel built marker, but no .whl files") return None if len(whl_files) > 1: - print('Found multiple .whl files; unspecified behaviour. ' - 'Will call build_wheel.') + print( + "Found multiple .whl files; unspecified behaviour. " + "Will call build_wheel." + ) return None # Exactly one .whl file @@ -248,8 +277,9 @@ def build_wheel(wheel_directory, config_settings, metadata_directory=None): shutil.copy2(prebuilt_whl, wheel_directory) return os.path.basename(prebuilt_whl) - return _build_backend().build_wheel(wheel_directory, config_settings, - metadata_directory) + return _build_backend().build_wheel( + wheel_directory, config_settings, metadata_directory + ) def build_editable(wheel_directory, config_settings, metadata_directory=None): @@ -293,6 +323,7 @@ class _DummyException(Exception): class GotUnsupportedOperation(Exception): """For internal use when backend raises UnsupportedOperation""" + def __init__(self, traceback): self.traceback = traceback @@ -302,20 +333,20 @@ def build_sdist(sdist_directory, config_settings): backend = _build_backend() try: return backend.build_sdist(sdist_directory, config_settings) - except getattr(backend, 'UnsupportedOperation', _DummyException): + except getattr(backend, "UnsupportedOperation", _DummyException): raise GotUnsupportedOperation(traceback.format_exc()) HOOK_NAMES = { - 'get_requires_for_build_wheel', - 'prepare_metadata_for_build_wheel', - 'build_wheel', - 'get_requires_for_build_editable', - 'prepare_metadata_for_build_editable', - 'build_editable', - 'get_requires_for_build_sdist', - 'build_sdist', - '_supported_features', + "get_requires_for_build_wheel", + "prepare_metadata_for_build_wheel", + "build_wheel", + "get_requires_for_build_editable", + "prepare_metadata_for_build_editable", + "build_editable", + "get_requires_for_build_sdist", + "build_sdist", + "_supported_features", } @@ -326,28 +357,33 @@ def main(): control_dir = sys.argv[2] if hook_name not in HOOK_NAMES: sys.exit("Unknown hook: %s" % hook_name) + + # Remove the parent directory from sys.path to avoid polluting the backend + # import namespace with this directory. + here = os.path.dirname(__file__) + if here in sys.path: + sys.path.remove(here) + hook = globals()[hook_name] - hook_input = read_json(pjoin(control_dir, 'input.json')) + hook_input = read_json(pjoin(control_dir, "input.json")) - json_out = {'unsupported': False, 'return_val': None} + json_out = {"unsupported": False, "return_val": None} try: - json_out['return_val'] = hook(**hook_input['kwargs']) + json_out["return_val"] = hook(**hook_input["kwargs"]) except BackendUnavailable as e: - json_out['no_backend'] = True - json_out['traceback'] = e.traceback - except BackendInvalid as e: - json_out['backend_invalid'] = True - json_out['backend_error'] = e.message + json_out["no_backend"] = True + json_out["traceback"] = e.traceback + json_out["backend_error"] = e.message except GotUnsupportedOperation as e: - json_out['unsupported'] = True - json_out['traceback'] = e.traceback + json_out["unsupported"] = True + json_out["traceback"] = e.traceback except HookMissing as e: - json_out['hook_missing'] = True - json_out['missing_hook_name'] = e.hook_name or hook_name + json_out["hook_missing"] = True + json_out["missing_hook_name"] = e.hook_name or hook_name - write_json(json_out, pjoin(control_dir, 'output.json'), indent=2) + write_json(json_out, pjoin(control_dir, "output.json"), indent=2) -if __name__ == '__main__': +if __name__ == "__main__": main() diff --git a/.venv/Lib/site-packages/pip/_vendor/tenacity/py.typed b/.venv/Lib/site-packages/pip/_vendor/pyproject_hooks/py.typed similarity index 100% rename from .venv/Lib/site-packages/pip/_vendor/tenacity/py.typed rename to .venv/Lib/site-packages/pip/_vendor/pyproject_hooks/py.typed diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/__init__.py b/.venv/Lib/site-packages/pip/_vendor/requests/__init__.py index 10ff67f..04230fc 100644 --- a/.venv/Lib/site-packages/pip/_vendor/requests/__init__.py +++ b/.venv/Lib/site-packages/pip/_vendor/requests/__init__.py @@ -45,11 +45,7 @@ from pip._vendor import urllib3 from .exceptions import RequestsDependencyWarning charset_normalizer_version = None - -try: - from pip._vendor.chardet import __version__ as chardet_version -except ImportError: - chardet_version = None +chardet_version = None def check_compatibility(urllib3_version, chardet_version, charset_normalizer_version): @@ -80,7 +76,8 @@ def check_compatibility(urllib3_version, chardet_version, charset_normalizer_ver # charset_normalizer >= 2.0.0 < 4.0.0 assert (2, 0, 0) <= (major, minor, patch) < (4, 0, 0) else: - raise Exception("You need either charset_normalizer or chardet installed") + # pip does not need or use character detection + pass def _check_cryptography(cryptography_version): diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/__init__.cpython-311.pyc index 0e76444..686aaeb 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/__version__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/__version__.cpython-311.pyc index 873ba6d..9e153fe 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/__version__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/__version__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/_internal_utils.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/_internal_utils.cpython-311.pyc index bcbfdbb..3765e51 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/_internal_utils.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/_internal_utils.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/adapters.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/adapters.cpython-311.pyc index cf308f0..d571a7d 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/adapters.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/adapters.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/api.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/api.cpython-311.pyc index d1b63b8..fb98ef6 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/api.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/api.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/auth.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/auth.cpython-311.pyc index 0b27e32..0829db2 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/auth.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/auth.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/certs.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/certs.cpython-311.pyc index 57188c9..592f7e3 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/certs.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/certs.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/compat.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/compat.cpython-311.pyc index 3268212..f3532c9 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/compat.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/compat.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/cookies.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/cookies.cpython-311.pyc index 0bc15be..1d65bb0 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/cookies.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/cookies.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/exceptions.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/exceptions.cpython-311.pyc index d4d7a19..13602bc 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/exceptions.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/exceptions.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/help.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/help.cpython-311.pyc index c459e82..24fbb35 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/help.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/help.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/hooks.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/hooks.cpython-311.pyc index 299e656..799447a 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/hooks.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/hooks.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/models.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/models.cpython-311.pyc index 5486f57..a59a2d7 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/models.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/models.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/packages.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/packages.cpython-311.pyc index 005aa8b..d2e1467 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/packages.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/packages.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/sessions.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/sessions.cpython-311.pyc index 79f1e86..386cfb8 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/sessions.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/sessions.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/status_codes.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/status_codes.cpython-311.pyc index a1360db..57fd363 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/status_codes.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/status_codes.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/structures.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/structures.cpython-311.pyc index c510893..95d45fb 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/structures.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/structures.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/utils.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/utils.cpython-311.pyc index 0b85530..0cbb29d 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/utils.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/requests/__pycache__/utils.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/__version__.py b/.venv/Lib/site-packages/pip/_vendor/requests/__version__.py index 5063c3f..3128a46 100644 --- a/.venv/Lib/site-packages/pip/_vendor/requests/__version__.py +++ b/.venv/Lib/site-packages/pip/_vendor/requests/__version__.py @@ -5,10 +5,10 @@ __title__ = "requests" __description__ = "Python HTTP for Humans." __url__ = "https://requests.readthedocs.io" -__version__ = "2.31.0" -__build__ = 0x023100 +__version__ = "2.32.4" +__build__ = 0x023204 __author__ = "Kenneth Reitz" __author_email__ = "me@kennethreitz.org" -__license__ = "Apache 2.0" +__license__ = "Apache-2.0" __copyright__ = "Copyright Kenneth Reitz" __cake__ = "\u2728 \U0001f370 \u2728" diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/adapters.py b/.venv/Lib/site-packages/pip/_vendor/requests/adapters.py index 10c1767..7030777 100644 --- a/.venv/Lib/site-packages/pip/_vendor/requests/adapters.py +++ b/.venv/Lib/site-packages/pip/_vendor/requests/adapters.py @@ -8,6 +8,8 @@ and maintain connections. import os.path import socket # noqa: F401 +import typing +import warnings from pip._vendor.urllib3.exceptions import ClosedPoolError, ConnectTimeoutError from pip._vendor.urllib3.exceptions import HTTPError as _HTTPError @@ -25,6 +27,7 @@ from pip._vendor.urllib3.poolmanager import PoolManager, proxy_from_url from pip._vendor.urllib3.util import Timeout as TimeoutSauce from pip._vendor.urllib3.util import parse_url from pip._vendor.urllib3.util.retry import Retry +from pip._vendor.urllib3.util.ssl_ import create_urllib3_context from .auth import _basic_auth_str from .compat import basestring, urlparse @@ -61,12 +64,76 @@ except ImportError: raise InvalidSchema("Missing dependencies for SOCKS support.") +if typing.TYPE_CHECKING: + from .models import PreparedRequest + + DEFAULT_POOLBLOCK = False DEFAULT_POOLSIZE = 10 DEFAULT_RETRIES = 0 DEFAULT_POOL_TIMEOUT = None +try: + import ssl # noqa: F401 + + _preloaded_ssl_context = create_urllib3_context() + _preloaded_ssl_context.load_verify_locations( + extract_zipped_paths(DEFAULT_CA_BUNDLE_PATH) + ) +except ImportError: + # Bypass default SSLContext creation when Python + # interpreter isn't built with the ssl module. + _preloaded_ssl_context = None + + +def _urllib3_request_context( + request: "PreparedRequest", + verify: "bool | str | None", + client_cert: "typing.Tuple[str, str] | str | None", + poolmanager: "PoolManager", +) -> "(typing.Dict[str, typing.Any], typing.Dict[str, typing.Any])": + host_params = {} + pool_kwargs = {} + parsed_request_url = urlparse(request.url) + scheme = parsed_request_url.scheme.lower() + port = parsed_request_url.port + + # Determine if we have and should use our default SSLContext + # to optimize performance on standard requests. + poolmanager_kwargs = getattr(poolmanager, "connection_pool_kw", {}) + has_poolmanager_ssl_context = poolmanager_kwargs.get("ssl_context") + should_use_default_ssl_context = ( + _preloaded_ssl_context is not None and not has_poolmanager_ssl_context + ) + + cert_reqs = "CERT_REQUIRED" + if verify is False: + cert_reqs = "CERT_NONE" + elif verify is True and should_use_default_ssl_context: + pool_kwargs["ssl_context"] = _preloaded_ssl_context + elif isinstance(verify, str): + if not os.path.isdir(verify): + pool_kwargs["ca_certs"] = verify + else: + pool_kwargs["ca_cert_dir"] = verify + pool_kwargs["cert_reqs"] = cert_reqs + if client_cert is not None: + if isinstance(client_cert, tuple) and len(client_cert) == 2: + pool_kwargs["cert_file"] = client_cert[0] + pool_kwargs["key_file"] = client_cert[1] + else: + # According to our docs, we allow users to specify just the client + # cert path + pool_kwargs["cert_file"] = client_cert + host_params = { + "scheme": scheme, + "host": parsed_request_url.hostname, + "port": port, + } + return host_params, pool_kwargs + + class BaseAdapter: """The Base Transport Adapter""" @@ -247,28 +314,26 @@ class HTTPAdapter(BaseAdapter): :param cert: The SSL certificate to verify. """ if url.lower().startswith("https") and verify: - - cert_loc = None - - # Allow self-specified cert location. - if verify is not True: - cert_loc = verify - - if not cert_loc: - cert_loc = extract_zipped_paths(DEFAULT_CA_BUNDLE_PATH) - - if not cert_loc or not os.path.exists(cert_loc): - raise OSError( - f"Could not find a suitable TLS CA certificate bundle, " - f"invalid path: {cert_loc}" - ) - conn.cert_reqs = "CERT_REQUIRED" - if not os.path.isdir(cert_loc): - conn.ca_certs = cert_loc - else: - conn.ca_cert_dir = cert_loc + # Only load the CA certificates if 'verify' is a string indicating the CA bundle to use. + # Otherwise, if verify is a boolean, we don't load anything since + # the connection will be using a context with the default certificates already loaded, + # and this avoids a call to the slow load_verify_locations() + if verify is not True: + # `verify` must be a str with a path then + cert_loc = verify + + if not os.path.exists(cert_loc): + raise OSError( + f"Could not find a suitable TLS CA certificate bundle, " + f"invalid path: {cert_loc}" + ) + + if not os.path.isdir(cert_loc): + conn.ca_certs = cert_loc + else: + conn.ca_cert_dir = cert_loc else: conn.cert_reqs = "CERT_NONE" conn.ca_certs = None @@ -328,8 +393,110 @@ class HTTPAdapter(BaseAdapter): return response + def build_connection_pool_key_attributes(self, request, verify, cert=None): + """Build the PoolKey attributes used by urllib3 to return a connection. + + This looks at the PreparedRequest, the user-specified verify value, + and the value of the cert parameter to determine what PoolKey values + to use to select a connection from a given urllib3 Connection Pool. + + The SSL related pool key arguments are not consistently set. As of + this writing, use the following to determine what keys may be in that + dictionary: + + * If ``verify`` is ``True``, ``"ssl_context"`` will be set and will be the + default Requests SSL Context + * If ``verify`` is ``False``, ``"ssl_context"`` will not be set but + ``"cert_reqs"`` will be set + * If ``verify`` is a string, (i.e., it is a user-specified trust bundle) + ``"ca_certs"`` will be set if the string is not a directory recognized + by :py:func:`os.path.isdir`, otherwise ``"ca_certs_dir"`` will be + set. + * If ``"cert"`` is specified, ``"cert_file"`` will always be set. If + ``"cert"`` is a tuple with a second item, ``"key_file"`` will also + be present + + To override these settings, one may subclass this class, call this + method and use the above logic to change parameters as desired. For + example, if one wishes to use a custom :py:class:`ssl.SSLContext` one + must both set ``"ssl_context"`` and based on what else they require, + alter the other keys to ensure the desired behaviour. + + :param request: + The PreparedReqest being sent over the connection. + :type request: + :class:`~requests.models.PreparedRequest` + :param verify: + Either a boolean, in which case it controls whether + we verify the server's TLS certificate, or a string, in which case it + must be a path to a CA bundle to use. + :param cert: + (optional) Any user-provided SSL certificate for client + authentication (a.k.a., mTLS). This may be a string (i.e., just + the path to a file which holds both certificate and key) or a + tuple of length 2 with the certificate file path and key file + path. + :returns: + A tuple of two dictionaries. The first is the "host parameters" + portion of the Pool Key including scheme, hostname, and port. The + second is a dictionary of SSLContext related parameters. + """ + return _urllib3_request_context(request, verify, cert, self.poolmanager) + + def get_connection_with_tls_context(self, request, verify, proxies=None, cert=None): + """Returns a urllib3 connection for the given request and TLS settings. + This should not be called from user code, and is only exposed for use + when subclassing the :class:`HTTPAdapter `. + + :param request: + The :class:`PreparedRequest ` object to be sent + over the connection. + :param verify: + Either a boolean, in which case it controls whether we verify the + server's TLS certificate, or a string, in which case it must be a + path to a CA bundle to use. + :param proxies: + (optional) The proxies dictionary to apply to the request. + :param cert: + (optional) Any user-provided SSL certificate to be used for client + authentication (a.k.a., mTLS). + :rtype: + urllib3.ConnectionPool + """ + proxy = select_proxy(request.url, proxies) + try: + host_params, pool_kwargs = self.build_connection_pool_key_attributes( + request, + verify, + cert, + ) + except ValueError as e: + raise InvalidURL(e, request=request) + if proxy: + proxy = prepend_scheme_if_needed(proxy, "http") + proxy_url = parse_url(proxy) + if not proxy_url.host: + raise InvalidProxyURL( + "Please check proxy URL. It is malformed " + "and could be missing the host." + ) + proxy_manager = self.proxy_manager_for(proxy) + conn = proxy_manager.connection_from_host( + **host_params, pool_kwargs=pool_kwargs + ) + else: + # Only scheme should be lower case + conn = self.poolmanager.connection_from_host( + **host_params, pool_kwargs=pool_kwargs + ) + + return conn + def get_connection(self, url, proxies=None): - """Returns a urllib3 connection for the given URL. This should not be + """DEPRECATED: Users should move to `get_connection_with_tls_context` + for all subclasses of HTTPAdapter using Requests>=2.32.2. + + Returns a urllib3 connection for the given URL. This should not be called from user code, and is only exposed for use when subclassing the :class:`HTTPAdapter `. @@ -337,6 +504,15 @@ class HTTPAdapter(BaseAdapter): :param proxies: (optional) A Requests-style dictionary of proxies used on this request. :rtype: urllib3.ConnectionPool """ + warnings.warn( + ( + "`get_connection` has been deprecated in favor of " + "`get_connection_with_tls_context`. Custom HTTPAdapter subclasses " + "will need to migrate for Requests>=2.32.2. Please see " + "https://github.com/psf/requests/pull/6710 for more details." + ), + DeprecationWarning, + ) proxy = select_proxy(url, proxies) if proxy: @@ -391,6 +567,9 @@ class HTTPAdapter(BaseAdapter): using_socks_proxy = proxy_scheme.startswith("socks") url = request.path_url + if url.startswith("//"): # Don't confuse urllib3 + url = f"/{url.lstrip('/')}" + if is_proxied_http_request and not using_socks_proxy: url = urldefragauth(request.url) @@ -451,7 +630,9 @@ class HTTPAdapter(BaseAdapter): """ try: - conn = self.get_connection(request.url, proxies) + conn = self.get_connection_with_tls_context( + request, verify, proxies=proxies, cert=cert + ) except LocationValueError as e: raise InvalidURL(e, request=request) diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/api.py b/.venv/Lib/site-packages/pip/_vendor/requests/api.py index cd0b3ee..5960744 100644 --- a/.venv/Lib/site-packages/pip/_vendor/requests/api.py +++ b/.venv/Lib/site-packages/pip/_vendor/requests/api.py @@ -25,7 +25,7 @@ def request(method, url, **kwargs): :param cookies: (optional) Dict or CookieJar object to send with the :class:`Request`. :param files: (optional) Dictionary of ``'name': file-like-objects`` (or ``{'name': file-tuple}``) for multipart encoding upload. ``file-tuple`` can be a 2-tuple ``('filename', fileobj)``, 3-tuple ``('filename', fileobj, 'content_type')`` - or a 4-tuple ``('filename', fileobj, 'content_type', custom_headers)``, where ``'content-type'`` is a string + or a 4-tuple ``('filename', fileobj, 'content_type', custom_headers)``, where ``'content_type'`` is a string defining the content type of the given file and ``custom_headers`` a dict-like object containing additional headers to add for the file. :param auth: (optional) Auth tuple to enable Basic/Digest/Custom HTTP Auth. diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/auth.py b/.venv/Lib/site-packages/pip/_vendor/requests/auth.py index 9733686..4a7ce6d 100644 --- a/.venv/Lib/site-packages/pip/_vendor/requests/auth.py +++ b/.venv/Lib/site-packages/pip/_vendor/requests/auth.py @@ -258,7 +258,6 @@ class HTTPDigestAuth(AuthBase): s_auth = r.headers.get("www-authenticate", "") if "digest" in s_auth.lower() and self._thread_local.num_401_calls < 2: - self._thread_local.num_401_calls += 1 pat = re.compile(r"digest ", flags=re.IGNORECASE) self._thread_local.chal = parse_dict_header(pat.sub("", s_auth, count=1)) diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/certs.py b/.venv/Lib/site-packages/pip/_vendor/requests/certs.py index 38696a1..2743144 100644 --- a/.venv/Lib/site-packages/pip/_vendor/requests/certs.py +++ b/.venv/Lib/site-packages/pip/_vendor/requests/certs.py @@ -11,14 +11,7 @@ If you are packaging Requests, e.g., for a Linux distribution or a managed environment, you can change the definition of where() to return a separately packaged CA bundle. """ - -import os - -if "_PIP_STANDALONE_CERT" not in os.environ: - from pip._vendor.certifi import where -else: - def where(): - return os.environ["_PIP_STANDALONE_CERT"] +from pip._vendor.certifi import where if __name__ == "__main__": print(where()) diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/compat.py b/.venv/Lib/site-packages/pip/_vendor/requests/compat.py index 9ab2bb4..b95a921 100644 --- a/.venv/Lib/site-packages/pip/_vendor/requests/compat.py +++ b/.venv/Lib/site-packages/pip/_vendor/requests/compat.py @@ -7,10 +7,33 @@ between Python 2 and Python 3. It remains for backwards compatibility until the next major version. """ -from pip._vendor import chardet - import sys +# ------- +# urllib3 +# ------- +from pip._vendor.urllib3 import __version__ as urllib3_version + +# Detect which major version of urllib3 is being used. +try: + is_urllib3_1 = int(urllib3_version.split(".")[0]) == 1 +except (TypeError, AttributeError): + # If we can't discern a version, prefer old functionality. + is_urllib3_1 = True + +# ------------------- +# Character Detection +# ------------------- + + +def _resolve_char_detection(): + """Find supported character detection libraries.""" + chardet = None + return chardet + + +chardet = _resolve_char_detection() + # ------- # Pythons # ------- diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/cookies.py b/.venv/Lib/site-packages/pip/_vendor/requests/cookies.py index bf54ab2..f69d0cd 100644 --- a/.venv/Lib/site-packages/pip/_vendor/requests/cookies.py +++ b/.venv/Lib/site-packages/pip/_vendor/requests/cookies.py @@ -2,7 +2,7 @@ requests.cookies ~~~~~~~~~~~~~~~~ -Compatibility code to be able to use `cookielib.CookieJar` with requests. +Compatibility code to be able to use `http.cookiejar.CookieJar` with requests. requests.utils imports from here, so be careful with imports. """ @@ -23,7 +23,7 @@ except ImportError: class MockRequest: """Wraps a `requests.Request` to mimic a `urllib2.Request`. - The code in `cookielib.CookieJar` expects this interface in order to correctly + The code in `http.cookiejar.CookieJar` expects this interface in order to correctly manage cookie policies, i.e., determine whether a cookie can be set, given the domains of the request and the cookie. @@ -76,7 +76,7 @@ class MockRequest: return self._r.headers.get(name, self._new_headers.get(name, default)) def add_header(self, key, val): - """cookielib has no legitimate use for this method; add it back if you find one.""" + """cookiejar has no legitimate use for this method; add it back if you find one.""" raise NotImplementedError( "Cookie headers should be added with add_unredirected_header()" ) @@ -104,11 +104,11 @@ class MockResponse: """Wraps a `httplib.HTTPMessage` to mimic a `urllib.addinfourl`. ...what? Basically, expose the parsed HTTP headers from the server response - the way `cookielib` expects to see them. + the way `http.cookiejar` expects to see them. """ def __init__(self, headers): - """Make a MockResponse for `cookielib` to read. + """Make a MockResponse for `cookiejar` to read. :param headers: a httplib.HTTPMessage or analogous carrying the headers """ @@ -124,7 +124,7 @@ class MockResponse: def extract_cookies_to_jar(jar, request, response): """Extract the cookies from the response into a CookieJar. - :param jar: cookielib.CookieJar (not necessarily a RequestsCookieJar) + :param jar: http.cookiejar.CookieJar (not necessarily a RequestsCookieJar) :param request: our own requests.Request object :param response: urllib3.HTTPResponse object """ @@ -174,7 +174,7 @@ class CookieConflictError(RuntimeError): class RequestsCookieJar(cookielib.CookieJar, MutableMapping): - """Compatibility class; is a cookielib.CookieJar, but exposes a dict + """Compatibility class; is a http.cookiejar.CookieJar, but exposes a dict interface. This is the CookieJar we create by default for requests and sessions that @@ -341,7 +341,7 @@ class RequestsCookieJar(cookielib.CookieJar, MutableMapping): self.set(name, value) def __delitem__(self, name): - """Deletes a cookie given a name. Wraps ``cookielib.CookieJar``'s + """Deletes a cookie given a name. Wraps ``http.cookiejar.CookieJar``'s ``remove_cookie_by_name()``. """ remove_cookie_by_name(self, name) diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/exceptions.py b/.venv/Lib/site-packages/pip/_vendor/requests/exceptions.py index 168d073..7f3660f 100644 --- a/.venv/Lib/site-packages/pip/_vendor/requests/exceptions.py +++ b/.venv/Lib/site-packages/pip/_vendor/requests/exceptions.py @@ -41,6 +41,16 @@ class JSONDecodeError(InvalidJSONError, CompatJSONDecodeError): CompatJSONDecodeError.__init__(self, *args) InvalidJSONError.__init__(self, *self.args, **kwargs) + def __reduce__(self): + """ + The __reduce__ method called when pickling the object must + be the one from the JSONDecodeError (be it json/simplejson) + as it expects all the arguments for instantiation, not just + one like the IOError, and the MRO would by default call the + __reduce__ method from the IOError due to the inheritance order. + """ + return CompatJSONDecodeError.__reduce__(self) + class HTTPError(RequestException): """An HTTP error occurred.""" diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/help.py b/.venv/Lib/site-packages/pip/_vendor/requests/help.py index 2d292c2..ddbb615 100644 --- a/.venv/Lib/site-packages/pip/_vendor/requests/help.py +++ b/.venv/Lib/site-packages/pip/_vendor/requests/help.py @@ -11,11 +11,7 @@ from pip._vendor import urllib3 from . import __version__ as requests_version charset_normalizer = None - -try: - from pip._vendor import chardet -except ImportError: - chardet = None +chardet = None try: from pip._vendor.urllib3.contrib import pyopenssl diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/models.py b/.venv/Lib/site-packages/pip/_vendor/requests/models.py index 76e6f19..22de95c 100644 --- a/.venv/Lib/site-packages/pip/_vendor/requests/models.py +++ b/.venv/Lib/site-packages/pip/_vendor/requests/models.py @@ -170,7 +170,7 @@ class RequestEncodingMixin: ) ) - for (k, v) in files: + for k, v in files: # support for explicit filename ft = None fh = None @@ -268,7 +268,6 @@ class Request(RequestHooksMixin): hooks=None, json=None, ): - # Default empty dicts for dict params. data = [] if data is None else data files = [] if files is None else files @@ -277,7 +276,7 @@ class Request(RequestHooksMixin): hooks = {} if hooks is None else hooks self.hooks = default_hooks() - for (k, v) in list(hooks.items()): + for k, v in list(hooks.items()): self.register_hook(event=k, hook=v) self.method = method @@ -790,7 +789,12 @@ class Response: @property def apparent_encoding(self): """The apparent encoding, provided by the charset_normalizer or chardet libraries.""" - return chardet.detect(self.content)["encoding"] + if chardet is not None: + return chardet.detect(self.content)["encoding"] + else: + # If no character detection library is available, we'll fall back + # to a standard Python utf-8 str. + return "utf-8" def iter_content(self, chunk_size=1, decode_unicode=False): """Iterates over the response data. When stream=True is set on the @@ -865,7 +869,6 @@ class Response: for chunk in self.iter_content( chunk_size=chunk_size, decode_unicode=decode_unicode ): - if pending is not None: chunk = pending + chunk @@ -942,7 +945,9 @@ class Response: return content def json(self, **kwargs): - r"""Returns the json-encoded content of a response, if any. + r"""Decodes the JSON response body (if any) as a Python object. + + This may return a dictionary, list, etc. depending on what is in the response. :param \*\*kwargs: Optional arguments that ``json.loads`` takes. :raises requests.exceptions.JSONDecodeError: If the response body does not diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/packages.py b/.venv/Lib/site-packages/pip/_vendor/requests/packages.py index 9582fa7..200c382 100644 --- a/.venv/Lib/site-packages/pip/_vendor/requests/packages.py +++ b/.venv/Lib/site-packages/pip/_vendor/requests/packages.py @@ -1,9 +1,11 @@ import sys +from .compat import chardet + # This code exists for backwards compatibility reasons. # I don't like it either. Just look the other way. :) -for package in ('urllib3', 'idna', 'chardet'): +for package in ("urllib3", "idna"): vendored_package = "pip._vendor." + package locals()[package] = __import__(vendored_package) # This traversal is apparently necessary such that the identities are @@ -13,4 +15,11 @@ for package in ('urllib3', 'idna', 'chardet'): unprefixed_mod = mod[len("pip._vendor."):] sys.modules['pip._vendor.requests.packages.' + unprefixed_mod] = sys.modules[mod] -# Kinda cool, though, right? +if chardet is not None: + target = chardet.__name__ + for mod in list(sys.modules): + if mod == target or mod.startswith(f"{target}."): + imported_mod = sys.modules[mod] + sys.modules[f"requests.packages.{mod}"] = imported_mod + mod = mod.replace(target, "chardet") + sys.modules[f"requests.packages.{mod}"] = imported_mod diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/sessions.py b/.venv/Lib/site-packages/pip/_vendor/requests/sessions.py index dbcf2a7..b387bc3 100644 --- a/.venv/Lib/site-packages/pip/_vendor/requests/sessions.py +++ b/.venv/Lib/site-packages/pip/_vendor/requests/sessions.py @@ -262,7 +262,6 @@ class SessionRedirectMixin: if yield_requests: yield req else: - resp = self.send( req, stream=stream, @@ -326,7 +325,7 @@ class SessionRedirectMixin: # urllib3 handles proxy authorization for us in the standard adapter. # Avoid appending this to TLS tunneled requests where it may be leaked. - if not scheme.startswith('https') and username and password: + if not scheme.startswith("https") and username and password: headers["Proxy-Authorization"] = _basic_auth_str(username, password) return new_proxies @@ -389,7 +388,6 @@ class Session(SessionRedirectMixin): ] def __init__(self): - #: A case-insensitive dictionary of headers to be sent on each #: :class:`Request ` sent from this #: :class:`Session `. @@ -545,6 +543,8 @@ class Session(SessionRedirectMixin): :type allow_redirects: bool :param proxies: (optional) Dictionary mapping protocol or protocol and hostname to the URL of the proxy. + :param hooks: (optional) Dictionary mapping hook name to one event or + list of events, event must be callable. :param stream: (optional) whether to immediately download the response content. Defaults to ``False``. :param verify: (optional) Either a boolean, in which case it controls whether we verify @@ -711,7 +711,6 @@ class Session(SessionRedirectMixin): # Persist cookies if r.history: - # If the hooks create history then we want those cookies too for resp in r.history: extract_cookies_to_jar(self.cookies, resp.request, resp.raw) @@ -759,7 +758,7 @@ class Session(SessionRedirectMixin): # Set environment's proxies. no_proxy = proxies.get("no_proxy") if proxies is not None else None env_proxies = get_environ_proxies(url, no_proxy=no_proxy) - for (k, v) in env_proxies.items(): + for k, v in env_proxies.items(): proxies.setdefault(k, v) # Look for requests environment configuration @@ -785,8 +784,7 @@ class Session(SessionRedirectMixin): :rtype: requests.adapters.BaseAdapter """ - for (prefix, adapter) in self.adapters.items(): - + for prefix, adapter in self.adapters.items(): if url.lower().startswith(prefix.lower()): return adapter diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/status_codes.py b/.venv/Lib/site-packages/pip/_vendor/requests/status_codes.py index 4bd072b..c7945a2 100644 --- a/.venv/Lib/site-packages/pip/_vendor/requests/status_codes.py +++ b/.venv/Lib/site-packages/pip/_vendor/requests/status_codes.py @@ -24,7 +24,7 @@ _codes = { # Informational. 100: ("continue",), 101: ("switching_protocols",), - 102: ("processing",), + 102: ("processing", "early-hints"), 103: ("checkpoint",), 122: ("uri_too_long", "request_uri_too_long"), 200: ("ok", "okay", "all_ok", "all_okay", "all_good", "\\o/", "✓"), @@ -65,8 +65,8 @@ _codes = { 410: ("gone",), 411: ("length_required",), 412: ("precondition_failed", "precondition"), - 413: ("request_entity_too_large",), - 414: ("request_uri_too_large",), + 413: ("request_entity_too_large", "content_too_large"), + 414: ("request_uri_too_large", "uri_too_long"), 415: ("unsupported_media_type", "unsupported_media", "media_type"), 416: ( "requested_range_not_satisfiable", @@ -76,10 +76,10 @@ _codes = { 417: ("expectation_failed",), 418: ("im_a_teapot", "teapot", "i_am_a_teapot"), 421: ("misdirected_request",), - 422: ("unprocessable_entity", "unprocessable"), + 422: ("unprocessable_entity", "unprocessable", "unprocessable_content"), 423: ("locked",), 424: ("failed_dependency", "dependency"), - 425: ("unordered_collection", "unordered"), + 425: ("unordered_collection", "unordered", "too_early"), 426: ("upgrade_required", "upgrade"), 428: ("precondition_required", "precondition"), 429: ("too_many_requests", "too_many"), diff --git a/.venv/Lib/site-packages/pip/_vendor/requests/utils.py b/.venv/Lib/site-packages/pip/_vendor/requests/utils.py index 36607ed..e8ea5ad 100644 --- a/.venv/Lib/site-packages/pip/_vendor/requests/utils.py +++ b/.venv/Lib/site-packages/pip/_vendor/requests/utils.py @@ -38,6 +38,7 @@ from .compat import ( getproxies, getproxies_environment, integer_types, + is_urllib3_1, ) from .compat import parse_http_list as _parse_list_header from .compat import ( @@ -97,6 +98,8 @@ if sys.platform == "win32": # '' string by the localhost entry and the corresponding # canonical entry. proxyOverride = proxyOverride.split(";") + # filter out empty strings to avoid re.match return true in the following code. + proxyOverride = filter(None, proxyOverride) # now check if we match one of the registry values. for test in proxyOverride: if test == "": @@ -134,6 +137,11 @@ def super_len(o): total_length = None current_position = 0 + if not is_urllib3_1 and isinstance(o, str): + # urllib3 2.x+ treats all strings as utf-8 instead + # of latin-1 (iso-8859-1) like http.client. + o = o.encode("utf-8") + if hasattr(o, "__len__"): total_length = len(o) @@ -211,14 +219,7 @@ def get_netrc_auth(url, raise_errors=False): netrc_path = None for f in netrc_locations: - try: - loc = os.path.expanduser(f) - except KeyError: - # os.path.expanduser can fail when $HOME is undefined and - # getpwuid fails. See https://bugs.python.org/issue20164 & - # https://github.com/psf/requests/issues/1846 - return - + loc = os.path.expanduser(f) if os.path.exists(loc): netrc_path = loc break @@ -228,13 +229,7 @@ def get_netrc_auth(url, raise_errors=False): return ri = urlparse(url) - - # Strip port numbers from netloc. This weird `if...encode`` dance is - # used for Python 3.2, which doesn't support unicode literals. - splitstr = b":" - if isinstance(url, str): - splitstr = splitstr.decode("ascii") - host = ri.netloc.split(splitstr)[0] + host = ri.hostname try: _netrc = netrc(netrc_path).authenticators(host) @@ -466,11 +461,7 @@ def dict_from_cookiejar(cj): :rtype: dict """ - cookie_dict = {} - - for cookie in cj: - cookie_dict[cookie.name] = cookie.value - + cookie_dict = {cookie.name: cookie.value for cookie in cj} return cookie_dict @@ -767,6 +758,7 @@ def should_bypass_proxies(url, no_proxy): :rtype: bool """ + # Prioritize lowercase environment variables over uppercase # to keep a consistent behaviour with other http projects (curl, wget). def get_proxy(key): @@ -862,7 +854,7 @@ def select_proxy(url, proxies): def resolve_proxies(request, proxies, trust_env=True): """This method takes proxy information from a request and configuration input to resolve a mapping of target proxies. This will consider settings - such a NO_PROXY to strip proxy configurations. + such as NO_PROXY to strip proxy configurations. :param request: Request or PreparedRequest :param proxies: A dictionary of schemes or schemes and hosts to proxy URLs @@ -1054,7 +1046,7 @@ def _validate_header_part(header, header_part, header_validator_index): if not validator.match(header_part): header_kind = "name" if header_validator_index == 0 else "value" raise InvalidHeader( - f"Invalid leading whitespace, reserved character(s), or return" + f"Invalid leading whitespace, reserved character(s), or return " f"character(s) in header {header_kind}: {header_part!r}" ) diff --git a/.venv/Lib/site-packages/pip/_vendor/resolvelib/__init__.py b/.venv/Lib/site-packages/pip/_vendor/resolvelib/__init__.py index d92acc7..41537e3 100644 --- a/.venv/Lib/site-packages/pip/_vendor/resolvelib/__init__.py +++ b/.venv/Lib/site-packages/pip/_vendor/resolvelib/__init__.py @@ -1,22 +1,23 @@ __all__ = [ - "__version__", "AbstractProvider", "AbstractResolver", "BaseReporter", "InconsistentCandidate", - "Resolver", "RequirementsConflicted", "ResolutionError", "ResolutionImpossible", "ResolutionTooDeep", + "Resolver", + "__version__", ] -__version__ = "1.0.1" +__version__ = "1.2.0" -from .providers import AbstractProvider, AbstractResolver +from .providers import AbstractProvider from .reporters import BaseReporter from .resolvers import ( + AbstractResolver, InconsistentCandidate, RequirementsConflicted, ResolutionError, diff --git a/.venv/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/__init__.cpython-311.pyc index ce2e61f..70f8e26 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/providers.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/providers.cpython-311.pyc index e841a6e..6c9b200 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/providers.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/providers.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/reporters.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/reporters.cpython-311.pyc index 1fd3e43..3ddfc38 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/reporters.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/reporters.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/resolvers.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/resolvers.cpython-311.pyc deleted file mode 100644 index 9168cc0..0000000 Binary files a/.venv/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/resolvers.cpython-311.pyc and /dev/null differ diff --git a/.venv/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/structs.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/structs.cpython-311.pyc index db31dc5..b06916e 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/structs.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/structs.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/resolvelib/compat/__init__.py b/.venv/Lib/site-packages/pip/_vendor/resolvelib/compat/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/.venv/Lib/site-packages/pip/_vendor/resolvelib/compat/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/resolvelib/compat/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index 2b24ecc..0000000 Binary files a/.venv/Lib/site-packages/pip/_vendor/resolvelib/compat/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/.venv/Lib/site-packages/pip/_vendor/resolvelib/compat/__pycache__/collections_abc.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/resolvelib/compat/__pycache__/collections_abc.cpython-311.pyc deleted file mode 100644 index 0cab1e3..0000000 Binary files a/.venv/Lib/site-packages/pip/_vendor/resolvelib/compat/__pycache__/collections_abc.cpython-311.pyc and /dev/null differ diff --git a/.venv/Lib/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py b/.venv/Lib/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py deleted file mode 100644 index 1becc50..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py +++ /dev/null @@ -1,6 +0,0 @@ -__all__ = ["Mapping", "Sequence"] - -try: - from collections.abc import Mapping, Sequence -except ImportError: - from collections import Mapping, Sequence diff --git a/.venv/Lib/site-packages/pip/_vendor/resolvelib/providers.py b/.venv/Lib/site-packages/pip/_vendor/resolvelib/providers.py index e99d87e..524e3d8 100644 --- a/.venv/Lib/site-packages/pip/_vendor/resolvelib/providers.py +++ b/.venv/Lib/site-packages/pip/_vendor/resolvelib/providers.py @@ -1,30 +1,58 @@ -class AbstractProvider(object): +from __future__ import annotations + +from typing import ( + TYPE_CHECKING, + Generic, + Iterable, + Iterator, + Mapping, + Sequence, +) + +from .structs import CT, KT, RT, Matches, RequirementInformation + +if TYPE_CHECKING: + from typing import Any, Protocol + + class Preference(Protocol): + def __lt__(self, __other: Any) -> bool: ... + + +class AbstractProvider(Generic[RT, CT, KT]): """Delegate class to provide the required interface for the resolver.""" - def identify(self, requirement_or_candidate): - """Given a requirement, return an identifier for it. + def identify(self, requirement_or_candidate: RT | CT) -> KT: + """Given a requirement or candidate, return an identifier for it. - This is used to identify a requirement, e.g. whether two requirements - should have their specifier parts merged. + This is used to identify, e.g. whether two requirements + should have their specifier parts merged or a candidate matches a + requirement via ``find_matches()``. """ raise NotImplementedError def get_preference( self, - identifier, - resolutions, - candidates, - information, - backtrack_causes, - ): + identifier: KT, + resolutions: Mapping[KT, CT], + candidates: Mapping[KT, Iterator[CT]], + information: Mapping[KT, Iterator[RequirementInformation[RT, CT]]], + backtrack_causes: Sequence[RequirementInformation[RT, CT]], + ) -> Preference: """Produce a sort key for given requirement based on preference. + As this is a sort key it will be called O(n) times per backtrack + step, where n is the number of `identifier`s, if you have a check + which is expensive in some sense. E.g. It needs to make O(n) checks + per call or takes significant wall clock time, consider using + `narrow_requirement_selection` to filter the `identifier`s, which + is applied before this sort key is called. + The preference is defined as "I think this requirement should be resolved first". The lower the return value is, the more preferred this group of arguments is. :param identifier: An identifier as returned by ``identify()``. This - identifies the dependency matches which should be returned. + identifies the requirement being considered. :param resolutions: Mapping of candidates currently pinned by the resolver. Each key is an identifier, and the value is a candidate. The candidate may conflict with requirements from ``information``. @@ -32,8 +60,9 @@ class AbstractProvider(object): Each value is an iterator of candidates. :param information: Mapping of requirement information of each package. Each value is an iterator of *requirement information*. - :param backtrack_causes: Sequence of requirement information that were - the requirements that caused the resolver to most recently backtrack. + :param backtrack_causes: Sequence of *requirement information* that are + the requirements that caused the resolver to most recently + backtrack. A *requirement information* instance is a named tuple with two members: @@ -60,15 +89,21 @@ class AbstractProvider(object): """ raise NotImplementedError - def find_matches(self, identifier, requirements, incompatibilities): + def find_matches( + self, + identifier: KT, + requirements: Mapping[KT, Iterator[RT]], + incompatibilities: Mapping[KT, Iterator[CT]], + ) -> Matches[CT]: """Find all possible candidates that satisfy the given constraints. - :param identifier: An identifier as returned by ``identify()``. This - identifies the dependency matches of which should be returned. + :param identifier: An identifier as returned by ``identify()``. All + candidates returned by this method should produce the same + identifier. :param requirements: A mapping of requirements that all returned candidates must satisfy. Each key is an identifier, and the value an iterator of requirements for that dependency. - :param incompatibilities: A mapping of known incompatibilities of + :param incompatibilities: A mapping of known incompatibile candidates of each dependency. Each key is an identifier, and the value an iterator of incompatibilities known to the resolver. All incompatibilities *must* be excluded from the return value. @@ -89,7 +124,7 @@ class AbstractProvider(object): """ raise NotImplementedError - def is_satisfied_by(self, requirement, candidate): + def is_satisfied_by(self, requirement: RT, candidate: CT) -> bool: """Whether the given requirement can be satisfied by a candidate. The candidate is guaranteed to have been generated from the @@ -100,7 +135,7 @@ class AbstractProvider(object): """ raise NotImplementedError - def get_dependencies(self, candidate): + def get_dependencies(self, candidate: CT) -> Iterable[RT]: """Get dependencies of a candidate. This should return a collection of requirements that `candidate` @@ -108,26 +143,54 @@ class AbstractProvider(object): """ raise NotImplementedError - -class AbstractResolver(object): - """The thing that performs the actual resolution work.""" - - base_exception = Exception - - def __init__(self, provider, reporter): - self.provider = provider - self.reporter = reporter - - def resolve(self, requirements, **kwargs): - """Take a collection of constraints, spit out the resolution result. - - This returns a representation of the final resolution state, with one - guarenteed attribute ``mapping`` that contains resolved candidates as - values. The keys are their respective identifiers. - - :param requirements: A collection of constraints. - :param kwargs: Additional keyword arguments that subclasses may accept. - - :raises: ``self.base_exception`` or its subclass. + def narrow_requirement_selection( + self, + identifiers: Iterable[KT], + resolutions: Mapping[KT, CT], + candidates: Mapping[KT, Iterator[CT]], + information: Mapping[KT, Iterator[RequirementInformation[RT, CT]]], + backtrack_causes: Sequence[RequirementInformation[RT, CT]], + ) -> Iterable[KT]: """ - raise NotImplementedError + An optional method to narrow the selection of requirements being + considered during resolution. This method is called O(1) time per + backtrack step. + + :param identifiers: An iterable of `identifiers` as returned by + ``identify()``. These identify all requirements currently being + considered. + :param resolutions: A mapping of candidates currently pinned by the + resolver. Each key is an identifier, and the value is a candidate + that may conflict with requirements from ``information``. + :param candidates: A mapping of each dependency's possible candidates. + Each value is an iterator of candidates. + :param information: A mapping of requirement information for each package. + Each value is an iterator of *requirement information*. + :param backtrack_causes: A sequence of *requirement information* that are + the requirements causing the resolver to most recently + backtrack. + + A *requirement information* instance is a named tuple with two members: + + * ``requirement`` specifies a requirement contributing to the current + list of candidates. + * ``parent`` specifies the candidate that provides (is depended on for) + the requirement, or ``None`` to indicate a root requirement. + + Must return a non-empty subset of `identifiers`, with the default + implementation being to return `identifiers` unchanged. Those `identifiers` + will then be passed to the sort key `get_preference` to pick the most + prefered requirement to attempt to pin, unless `narrow_requirement_selection` + returns only 1 requirement, in which case that will be used without + calling the sort key `get_preference`. + + This method is designed to be used by the provider to optimize the + dependency resolution, e.g. if a check cost is O(m) and it can be done + against all identifiers at once then filtering the requirement selection + here will cost O(m) but making it part of the sort key in `get_preference` + will cost O(m*n), where n is the number of `identifiers`. + + Returns: + Iterable[KT]: A non-empty subset of `identifiers`. + """ + return identifiers diff --git a/.venv/Lib/site-packages/pip/_vendor/resolvelib/reporters.py b/.venv/Lib/site-packages/pip/_vendor/resolvelib/reporters.py index 688b5e1..6c14220 100644 --- a/.venv/Lib/site-packages/pip/_vendor/resolvelib/reporters.py +++ b/.venv/Lib/site-packages/pip/_vendor/resolvelib/reporters.py @@ -1,26 +1,36 @@ -class BaseReporter(object): - """Delegate class to provider progress reporting for the resolver.""" +from __future__ import annotations - def starting(self): +from typing import TYPE_CHECKING, Collection, Generic + +from .structs import CT, KT, RT, RequirementInformation, State + +if TYPE_CHECKING: + from .resolvers import Criterion + + +class BaseReporter(Generic[RT, CT, KT]): + """Delegate class to provide progress reporting for the resolver.""" + + def starting(self) -> None: """Called before the resolution actually starts.""" - def starting_round(self, index): + def starting_round(self, index: int) -> None: """Called before each round of resolution starts. The index is zero-based. """ - def ending_round(self, index, state): + def ending_round(self, index: int, state: State[RT, CT, KT]) -> None: """Called before each round of resolution ends. This is NOT called if the resolution ends at this round. Use `ending` if you want to report finalization. The index is zero-based. """ - def ending(self, state): + def ending(self, state: State[RT, CT, KT]) -> None: """Called before the resolution ends successfully.""" - def adding_requirement(self, requirement, parent): + def adding_requirement(self, requirement: RT, parent: CT | None) -> None: """Called when adding a new requirement into the resolve criteria. :param requirement: The additional requirement to be applied to filter @@ -30,14 +40,16 @@ class BaseReporter(object): requirements passed in from ``Resolver.resolve()``. """ - def resolving_conflicts(self, causes): + def resolving_conflicts( + self, causes: Collection[RequirementInformation[RT, CT]] + ) -> None: """Called when starting to attempt requirement conflict resolution. :param causes: The information on the collision that caused the backtracking. """ - def rejecting_candidate(self, criterion, candidate): + def rejecting_candidate(self, criterion: Criterion[RT, CT], candidate: CT) -> None: """Called when rejecting a candidate during backtracking.""" - def pinning(self, candidate): + def pinning(self, candidate: CT) -> None: """Called when adding a candidate to the potential solution.""" diff --git a/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__init__.py b/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__init__.py new file mode 100644 index 0000000..b249221 --- /dev/null +++ b/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__init__.py @@ -0,0 +1,27 @@ +from ..structs import RequirementInformation +from .abstract import AbstractResolver, Result +from .criterion import Criterion +from .exceptions import ( + InconsistentCandidate, + RequirementsConflicted, + ResolutionError, + ResolutionImpossible, + ResolutionTooDeep, + ResolverException, +) +from .resolution import Resolution, Resolver + +__all__ = [ + "AbstractResolver", + "Criterion", + "InconsistentCandidate", + "RequirementInformation", + "RequirementsConflicted", + "Resolution", + "ResolutionError", + "ResolutionImpossible", + "ResolutionTooDeep", + "Resolver", + "ResolverException", + "Result", +] diff --git a/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..fb44b0e Binary files /dev/null and b/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/abstract.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/abstract.cpython-311.pyc new file mode 100644 index 0000000..071a70f Binary files /dev/null and b/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/abstract.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/criterion.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/criterion.cpython-311.pyc new file mode 100644 index 0000000..788d83d Binary files /dev/null and b/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/criterion.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/exceptions.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/exceptions.cpython-311.pyc new file mode 100644 index 0000000..4f41850 Binary files /dev/null and b/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/exceptions.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/resolution.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/resolution.cpython-311.pyc new file mode 100644 index 0000000..b1313d5 Binary files /dev/null and b/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/resolution.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/abstract.py b/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/abstract.py new file mode 100644 index 0000000..f9b5a7a --- /dev/null +++ b/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/abstract.py @@ -0,0 +1,47 @@ +from __future__ import annotations + +import collections +from typing import TYPE_CHECKING, Any, Generic, Iterable, Mapping, NamedTuple + +from ..structs import CT, KT, RT, DirectedGraph + +if TYPE_CHECKING: + from ..providers import AbstractProvider + from ..reporters import BaseReporter + from .criterion import Criterion + + class Result(NamedTuple, Generic[RT, CT, KT]): + mapping: Mapping[KT, CT] + graph: DirectedGraph[KT | None] + criteria: Mapping[KT, Criterion[RT, CT]] + +else: + Result = collections.namedtuple("Result", ["mapping", "graph", "criteria"]) + + +class AbstractResolver(Generic[RT, CT, KT]): + """The thing that performs the actual resolution work.""" + + base_exception = Exception + + def __init__( + self, + provider: AbstractProvider[RT, CT, KT], + reporter: BaseReporter[RT, CT, KT], + ) -> None: + self.provider = provider + self.reporter = reporter + + def resolve(self, requirements: Iterable[RT], **kwargs: Any) -> Result[RT, CT, KT]: + """Take a collection of constraints, spit out the resolution result. + + This returns a representation of the final resolution state, with one + guarenteed attribute ``mapping`` that contains resolved candidates as + values. The keys are their respective identifiers. + + :param requirements: A collection of constraints. + :param kwargs: Additional keyword arguments that subclasses may accept. + + :raises: ``self.base_exception`` or its subclass. + """ + raise NotImplementedError diff --git a/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/criterion.py b/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/criterion.py new file mode 100644 index 0000000..ee5019c --- /dev/null +++ b/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/criterion.py @@ -0,0 +1,48 @@ +from __future__ import annotations + +from typing import Collection, Generic, Iterable, Iterator + +from ..structs import CT, RT, RequirementInformation + + +class Criterion(Generic[RT, CT]): + """Representation of possible resolution results of a package. + + This holds three attributes: + + * `information` is a collection of `RequirementInformation` pairs. + Each pair is a requirement contributing to this criterion, and the + candidate that provides the requirement. + * `incompatibilities` is a collection of all known not-to-work candidates + to exclude from consideration. + * `candidates` is a collection containing all possible candidates deducted + from the union of contributing requirements and known incompatibilities. + It should never be empty, except when the criterion is an attribute of a + raised `RequirementsConflicted` (in which case it is always empty). + + .. note:: + This class is intended to be externally immutable. **Do not** mutate + any of its attribute containers. + """ + + def __init__( + self, + candidates: Iterable[CT], + information: Collection[RequirementInformation[RT, CT]], + incompatibilities: Collection[CT], + ) -> None: + self.candidates = candidates + self.information = information + self.incompatibilities = incompatibilities + + def __repr__(self) -> str: + requirements = ", ".join( + f"({req!r}, via={parent!r})" for req, parent in self.information + ) + return f"Criterion({requirements})" + + def iter_requirement(self) -> Iterator[RT]: + return (i.requirement for i in self.information) + + def iter_parent(self) -> Iterator[CT | None]: + return (i.parent for i in self.information) diff --git a/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/exceptions.py b/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/exceptions.py new file mode 100644 index 0000000..35e2755 --- /dev/null +++ b/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/exceptions.py @@ -0,0 +1,57 @@ +from __future__ import annotations + +from typing import TYPE_CHECKING, Collection, Generic + +from ..structs import CT, RT, RequirementInformation + +if TYPE_CHECKING: + from .criterion import Criterion + + +class ResolverException(Exception): + """A base class for all exceptions raised by this module. + + Exceptions derived by this class should all be handled in this module. Any + bubbling pass the resolver should be treated as a bug. + """ + + +class RequirementsConflicted(ResolverException, Generic[RT, CT]): + def __init__(self, criterion: Criterion[RT, CT]) -> None: + super().__init__(criterion) + self.criterion = criterion + + def __str__(self) -> str: + return "Requirements conflict: {}".format( + ", ".join(repr(r) for r in self.criterion.iter_requirement()), + ) + + +class InconsistentCandidate(ResolverException, Generic[RT, CT]): + def __init__(self, candidate: CT, criterion: Criterion[RT, CT]): + super().__init__(candidate, criterion) + self.candidate = candidate + self.criterion = criterion + + def __str__(self) -> str: + return "Provided candidate {!r} does not satisfy {}".format( + self.candidate, + ", ".join(repr(r) for r in self.criterion.iter_requirement()), + ) + + +class ResolutionError(ResolverException): + pass + + +class ResolutionImpossible(ResolutionError, Generic[RT, CT]): + def __init__(self, causes: Collection[RequirementInformation[RT, CT]]): + super().__init__(causes) + # causes is a list of RequirementInformation objects + self.causes = causes + + +class ResolutionTooDeep(ResolutionError): + def __init__(self, round_count: int) -> None: + super().__init__(round_count) + self.round_count = round_count diff --git a/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers.py b/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py similarity index 57% rename from .venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers.py rename to .venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py index 2c3d0e3..f55ac7a 100644 --- a/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers.py +++ b/.venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py @@ -1,127 +1,99 @@ +from __future__ import annotations + import collections import itertools import operator +from typing import TYPE_CHECKING, Generic -from .providers import AbstractResolver -from .structs import DirectedGraph, IteratorMapping, build_iter_view - -RequirementInformation = collections.namedtuple( - "RequirementInformation", ["requirement", "parent"] +from ..structs import ( + CT, + KT, + RT, + DirectedGraph, + IterableView, + IteratorMapping, + RequirementInformation, + State, + build_iter_view, +) +from .abstract import AbstractResolver, Result +from .criterion import Criterion +from .exceptions import ( + InconsistentCandidate, + RequirementsConflicted, + ResolutionImpossible, + ResolutionTooDeep, + ResolverException, ) +if TYPE_CHECKING: + from collections.abc import Collection, Iterable, Mapping -class ResolverException(Exception): - """A base class for all exceptions raised by this module. + from ..providers import AbstractProvider, Preference + from ..reporters import BaseReporter - Exceptions derived by this class should all be handled in this module. Any - bubbling pass the resolver should be treated as a bug. - """ +_OPTIMISTIC_BACKJUMPING_RATIO: float = 0.1 -class RequirementsConflicted(ResolverException): - def __init__(self, criterion): - super(RequirementsConflicted, self).__init__(criterion) - self.criterion = criterion +def _build_result(state: State[RT, CT, KT]) -> Result[RT, CT, KT]: + mapping = state.mapping + all_keys: dict[int, KT | None] = {id(v): k for k, v in mapping.items()} + all_keys[id(None)] = None - def __str__(self): - return "Requirements conflict: {}".format( - ", ".join(repr(r) for r in self.criterion.iter_requirement()), - ) + graph: DirectedGraph[KT | None] = DirectedGraph() + graph.add(None) # Sentinel as root dependencies' parent. + + connected: set[KT | None] = {None} + for key, criterion in state.criteria.items(): + if not _has_route_to_root(state.criteria, key, all_keys, connected): + continue + if key not in graph: + graph.add(key) + for p in criterion.iter_parent(): + try: + pkey = all_keys[id(p)] + except KeyError: + continue + if pkey not in graph: + graph.add(pkey) + graph.connect(pkey, key) + + return Result( + mapping={k: v for k, v in mapping.items() if k in connected}, + graph=graph, + criteria=state.criteria, + ) -class InconsistentCandidate(ResolverException): - def __init__(self, candidate, criterion): - super(InconsistentCandidate, self).__init__(candidate, criterion) - self.candidate = candidate - self.criterion = criterion - - def __str__(self): - return "Provided candidate {!r} does not satisfy {}".format( - self.candidate, - ", ".join(repr(r) for r in self.criterion.iter_requirement()), - ) - - -class Criterion(object): - """Representation of possible resolution results of a package. - - This holds three attributes: - - * `information` is a collection of `RequirementInformation` pairs. - Each pair is a requirement contributing to this criterion, and the - candidate that provides the requirement. - * `incompatibilities` is a collection of all known not-to-work candidates - to exclude from consideration. - * `candidates` is a collection containing all possible candidates deducted - from the union of contributing requirements and known incompatibilities. - It should never be empty, except when the criterion is an attribute of a - raised `RequirementsConflicted` (in which case it is always empty). - - .. note:: - This class is intended to be externally immutable. **Do not** mutate - any of its attribute containers. - """ - - def __init__(self, candidates, information, incompatibilities): - self.candidates = candidates - self.information = information - self.incompatibilities = incompatibilities - - def __repr__(self): - requirements = ", ".join( - "({!r}, via={!r})".format(req, parent) - for req, parent in self.information - ) - return "Criterion({})".format(requirements) - - def iter_requirement(self): - return (i.requirement for i in self.information) - - def iter_parent(self): - return (i.parent for i in self.information) - - -class ResolutionError(ResolverException): - pass - - -class ResolutionImpossible(ResolutionError): - def __init__(self, causes): - super(ResolutionImpossible, self).__init__(causes) - # causes is a list of RequirementInformation objects - self.causes = causes - - -class ResolutionTooDeep(ResolutionError): - def __init__(self, round_count): - super(ResolutionTooDeep, self).__init__(round_count) - self.round_count = round_count - - -# Resolution state in a round. -State = collections.namedtuple("State", "mapping criteria backtrack_causes") - - -class Resolution(object): +class Resolution(Generic[RT, CT, KT]): """Stateful resolution object. This is designed as a one-off object that holds information to kick start the resolution process, and holds the results afterwards. """ - def __init__(self, provider, reporter): + def __init__( + self, + provider: AbstractProvider[RT, CT, KT], + reporter: BaseReporter[RT, CT, KT], + ) -> None: self._p = provider self._r = reporter - self._states = [] + self._states: list[State[RT, CT, KT]] = [] + + # Optimistic backjumping variables + self._optimistic_backjumping_ratio = _OPTIMISTIC_BACKJUMPING_RATIO + self._save_states: list[State[RT, CT, KT]] | None = None + self._optimistic_start_round: int | None = None @property - def state(self): + def state(self) -> State[RT, CT, KT]: try: return self._states[-1] - except IndexError: - raise AttributeError("state") + except IndexError as e: + raise AttributeError("state") from e - def _push_new_state(self): + def _push_new_state(self) -> None: """Push a new state into history. This new state will be used to hold resolution results of the next @@ -135,7 +107,12 @@ class Resolution(object): ) self._states.append(state) - def _add_to_criteria(self, criteria, requirement, parent): + def _add_to_criteria( + self, + criteria: dict[KT, Criterion[RT, CT]], + requirement: RT, + parent: CT | None, + ) -> None: self._r.adding_requirement(requirement=requirement, parent=parent) identifier = self._p.identify(requirement_or_candidate=requirement) @@ -174,7 +151,9 @@ class Resolution(object): raise RequirementsConflicted(criterion) criteria[identifier] = criterion - def _remove_information_from_criteria(self, criteria, parents): + def _remove_information_from_criteria( + self, criteria: dict[KT, Criterion[RT, CT]], parents: Collection[KT] + ) -> None: """Remove information from parents of criteria. Concretely, removes all values from each criterion's ``information`` @@ -199,7 +178,7 @@ class Resolution(object): criterion.incompatibilities, ) - def _get_preference(self, name): + def _get_preference(self, name: KT) -> Preference: return self._p.get_preference( identifier=name, resolutions=self.state.mapping, @@ -214,7 +193,9 @@ class Resolution(object): backtrack_causes=self.state.backtrack_causes, ) - def _is_current_pin_satisfying(self, name, criterion): + def _is_current_pin_satisfying( + self, name: KT, criterion: Criterion[RT, CT] + ) -> bool: try: current_pin = self.state.mapping[name] except KeyError: @@ -224,16 +205,16 @@ class Resolution(object): for r in criterion.iter_requirement() ) - def _get_updated_criteria(self, candidate): + def _get_updated_criteria(self, candidate: CT) -> dict[KT, Criterion[RT, CT]]: criteria = self.state.criteria.copy() for requirement in self._p.get_dependencies(candidate=candidate): self._add_to_criteria(criteria, requirement, parent=candidate) return criteria - def _attempt_to_pin_criterion(self, name): + def _attempt_to_pin_criterion(self, name: KT) -> list[Criterion[RT, CT]]: criterion = self.state.criteria[name] - causes = [] + causes: list[Criterion[RT, CT]] = [] for candidate in criterion.candidates: try: criteria = self._get_updated_criteria(candidate) @@ -267,7 +248,61 @@ class Resolution(object): # end, signal for backtracking. return causes - def _backjump(self, causes): + def _patch_criteria( + self, incompatibilities_from_broken: list[tuple[KT, list[CT]]] + ) -> bool: + # Create a new state from the last known-to-work one, and apply + # the previously gathered incompatibility information. + for k, incompatibilities in incompatibilities_from_broken: + if not incompatibilities: + continue + try: + criterion = self.state.criteria[k] + except KeyError: + continue + matches = self._p.find_matches( + identifier=k, + requirements=IteratorMapping( + self.state.criteria, + operator.methodcaller("iter_requirement"), + ), + incompatibilities=IteratorMapping( + self.state.criteria, + operator.attrgetter("incompatibilities"), + {k: incompatibilities}, + ), + ) + candidates: IterableView[CT] = build_iter_view(matches) + if not candidates: + return False + incompatibilities.extend(criterion.incompatibilities) + self.state.criteria[k] = Criterion( + candidates=candidates, + information=list(criterion.information), + incompatibilities=incompatibilities, + ) + return True + + def _save_state(self) -> None: + """Save states for potential rollback if optimistic backjumping fails.""" + if self._save_states is None: + self._save_states = [ + State( + mapping=s.mapping.copy(), + criteria=s.criteria.copy(), + backtrack_causes=s.backtrack_causes[:], + ) + for s in self._states + ] + + def _rollback_states(self) -> None: + """Rollback states and disable optimistic backjumping.""" + self._optimistic_backjumping_ratio = 0.0 + if self._save_states: + self._states = self._save_states + self._save_states = None + + def _backjump(self, causes: list[RequirementInformation[RT, CT]]) -> bool: """Perform backjumping. When we enter here, the stack is like this:: @@ -298,7 +333,7 @@ class Resolution(object): the new Z and go back to step 2. 5b. If the incompatibilities apply cleanly, end backtracking. """ - incompatible_reqs = itertools.chain( + incompatible_reqs: Iterable[CT | RT] = itertools.chain( (c.parent for c in causes if c.parent is not None), (c.requirement for c in causes), ) @@ -307,66 +342,57 @@ class Resolution(object): # Remove the state that triggered backtracking. del self._states[-1] - # Ensure to backtrack to a state that caused the incompatibility - incompatible_state = False - while not incompatible_state: + # Optimistically backtrack to a state that caused the incompatibility + broken_state = self.state + while True: # Retrieve the last candidate pin and known incompatibilities. try: broken_state = self._states.pop() name, candidate = broken_state.mapping.popitem() except (IndexError, KeyError): - raise ResolutionImpossible(causes) + raise ResolutionImpossible(causes) from None + + if ( + not self._optimistic_backjumping_ratio + and name not in incompatible_deps + ): + # For safe backjumping only backjump if the current dependency + # is not the same as the incompatible dependency + break + + # On the first time a non-safe backjump is done the state + # is saved so we can restore it later if the resolution fails + if ( + self._optimistic_backjumping_ratio + and self._save_states is None + and name not in incompatible_deps + ): + self._save_state() + + # If the current dependencies and the incompatible dependencies + # are overlapping then we have likely found a cause of the + # incompatibility current_dependencies = { - self._p.identify(d) - for d in self._p.get_dependencies(candidate) + self._p.identify(d) for d in self._p.get_dependencies(candidate) } - incompatible_state = not current_dependencies.isdisjoint( - incompatible_deps - ) + if not current_dependencies.isdisjoint(incompatible_deps): + break + + # Fallback: We should not backtrack to the point where + # broken_state.mapping is empty, so stop backtracking for + # a chance for the resolution to recover + if not broken_state.mapping: + break incompatibilities_from_broken = [ - (k, list(v.incompatibilities)) - for k, v in broken_state.criteria.items() + (k, list(v.incompatibilities)) for k, v in broken_state.criteria.items() ] # Also mark the newly known incompatibility. incompatibilities_from_broken.append((name, [candidate])) - # Create a new state from the last known-to-work one, and apply - # the previously gathered incompatibility information. - def _patch_criteria(): - for k, incompatibilities in incompatibilities_from_broken: - if not incompatibilities: - continue - try: - criterion = self.state.criteria[k] - except KeyError: - continue - matches = self._p.find_matches( - identifier=k, - requirements=IteratorMapping( - self.state.criteria, - operator.methodcaller("iter_requirement"), - ), - incompatibilities=IteratorMapping( - self.state.criteria, - operator.attrgetter("incompatibilities"), - {k: incompatibilities}, - ), - ) - candidates = build_iter_view(matches) - if not candidates: - return False - incompatibilities.extend(criterion.incompatibilities) - self.state.criteria[k] = Criterion( - candidates=candidates, - information=list(criterion.information), - incompatibilities=incompatibilities, - ) - return True - self._push_new_state() - success = _patch_criteria() + success = self._patch_criteria(incompatibilities_from_broken) # It works! Let's work on this new state. if success: @@ -378,7 +404,13 @@ class Resolution(object): # No way to backtrack anymore. return False - def resolve(self, requirements, max_rounds): + def _extract_causes( + self, criteron: list[Criterion[RT, CT]] + ) -> list[RequirementInformation[RT, CT]]: + """Extract causes from list of criterion and deduplicate""" + return list({id(i): i for c in criteron for i in c.information}.values()) + + def resolve(self, requirements: Iterable[RT], max_rounds: int) -> State[RT, CT, KT]: if self._states: raise RuntimeError("already resolved") @@ -396,16 +428,39 @@ class Resolution(object): try: self._add_to_criteria(self.state.criteria, r, parent=None) except RequirementsConflicted as e: - raise ResolutionImpossible(e.criterion.information) + raise ResolutionImpossible(e.criterion.information) from e # The root state is saved as a sentinel so the first ever pin can have # something to backtrack to if it fails. The root state is basically # pinning the virtual "root" package in the graph. self._push_new_state() + # Variables for optimistic backjumping + optimistic_rounds_cutoff: int | None = None + optimistic_backjumping_start_round: int | None = None + for round_index in range(max_rounds): self._r.starting_round(index=round_index) + # Handle if optimistic backjumping has been running for too long + if self._optimistic_backjumping_ratio and self._save_states is not None: + if optimistic_backjumping_start_round is None: + optimistic_backjumping_start_round = round_index + optimistic_rounds_cutoff = int( + (max_rounds - round_index) * self._optimistic_backjumping_ratio + ) + + if optimistic_rounds_cutoff <= 0: + self._rollback_states() + continue + elif optimistic_rounds_cutoff is not None: + if ( + round_index - optimistic_backjumping_start_round + >= optimistic_rounds_cutoff + ): + self._rollback_states() + continue + unsatisfied_names = [ key for key, criterion in self.state.criteria.items() @@ -418,25 +473,68 @@ class Resolution(object): return self.state # keep track of satisfied names to calculate diff after pinning - satisfied_names = set(self.state.criteria.keys()) - set( - unsatisfied_names - ) + satisfied_names = set(self.state.criteria.keys()) - set(unsatisfied_names) - # Choose the most preferred unpinned criterion to try. - name = min(unsatisfied_names, key=self._get_preference) - failure_causes = self._attempt_to_pin_criterion(name) + if len(unsatisfied_names) > 1: + narrowed_unstatisfied_names = list( + self._p.narrow_requirement_selection( + identifiers=unsatisfied_names, + resolutions=self.state.mapping, + candidates=IteratorMapping( + self.state.criteria, + operator.attrgetter("candidates"), + ), + information=IteratorMapping( + self.state.criteria, + operator.attrgetter("information"), + ), + backtrack_causes=self.state.backtrack_causes, + ) + ) + else: + narrowed_unstatisfied_names = unsatisfied_names - if failure_causes: - causes = [i for c in failure_causes for i in c.information] + # If there are no unsatisfied names use unsatisfied names + if not narrowed_unstatisfied_names: + raise RuntimeError("narrow_requirement_selection returned 0 names") + + # If there is only 1 unsatisfied name skip calling self._get_preference + if len(narrowed_unstatisfied_names) > 1: + # Choose the most preferred unpinned criterion to try. + name = min(narrowed_unstatisfied_names, key=self._get_preference) + else: + name = narrowed_unstatisfied_names[0] + + failure_criterion = self._attempt_to_pin_criterion(name) + + if failure_criterion: + causes = self._extract_causes(failure_criterion) # Backjump if pinning fails. The backjump process puts us in # an unpinned state, so we can work on it in the next round. self._r.resolving_conflicts(causes=causes) - success = self._backjump(causes) - self.state.backtrack_causes[:] = causes - # Dead ends everywhere. Give up. - if not success: - raise ResolutionImpossible(self.state.backtrack_causes) + try: + success = self._backjump(causes) + except ResolutionImpossible: + if self._optimistic_backjumping_ratio and self._save_states: + failed_optimistic_backjumping = True + else: + raise + else: + failed_optimistic_backjumping = bool( + not success + and self._optimistic_backjumping_ratio + and self._save_states + ) + + if failed_optimistic_backjumping and self._save_states: + self._rollback_states() + else: + self.state.backtrack_causes[:] = causes + + # Dead ends everywhere. Give up. + if not success: + raise ResolutionImpossible(self.state.backtrack_causes) else: # discard as information sources any invalidated names # (unsatisfied names that were previously satisfied) @@ -457,64 +555,16 @@ class Resolution(object): raise ResolutionTooDeep(max_rounds) -def _has_route_to_root(criteria, key, all_keys, connected): - if key in connected: - return True - if key not in criteria: - return False - for p in criteria[key].iter_parent(): - try: - pkey = all_keys[id(p)] - except KeyError: - continue - if pkey in connected: - connected.add(key) - return True - if _has_route_to_root(criteria, pkey, all_keys, connected): - connected.add(key) - return True - return False - - -Result = collections.namedtuple("Result", "mapping graph criteria") - - -def _build_result(state): - mapping = state.mapping - all_keys = {id(v): k for k, v in mapping.items()} - all_keys[id(None)] = None - - graph = DirectedGraph() - graph.add(None) # Sentinel as root dependencies' parent. - - connected = {None} - for key, criterion in state.criteria.items(): - if not _has_route_to_root(state.criteria, key, all_keys, connected): - continue - if key not in graph: - graph.add(key) - for p in criterion.iter_parent(): - try: - pkey = all_keys[id(p)] - except KeyError: - continue - if pkey not in graph: - graph.add(pkey) - graph.connect(pkey, key) - - return Result( - mapping={k: v for k, v in mapping.items() if k in connected}, - graph=graph, - criteria=state.criteria, - ) - - -class Resolver(AbstractResolver): +class Resolver(AbstractResolver[RT, CT, KT]): """The thing that performs the actual resolution work.""" base_exception = ResolverException - def resolve(self, requirements, max_rounds=100): + def resolve( # type: ignore[override] + self, + requirements: Iterable[RT], + max_rounds: int = 100, + ) -> Result[RT, CT, KT]: """Take a collection of constraints, spit out the resolution result. The return value is a representation to the final resolution result. It @@ -545,3 +595,28 @@ class Resolver(AbstractResolver): resolution = Resolution(self.provider, self.reporter) state = resolution.resolve(requirements, max_rounds=max_rounds) return _build_result(state) + + +def _has_route_to_root( + criteria: Mapping[KT, Criterion[RT, CT]], + key: KT | None, + all_keys: dict[int, KT | None], + connected: set[KT | None], +) -> bool: + if key in connected: + return True + if key not in criteria: + return False + assert key is not None + for p in criteria[key].iter_parent(): + try: + pkey = all_keys[id(p)] + except KeyError: + continue + if pkey in connected: + connected.add(key) + return True + if _has_route_to_root(criteria, pkey, all_keys, connected): + connected.add(key) + return True + return False diff --git a/.venv/Lib/site-packages/pip/_vendor/resolvelib/structs.py b/.venv/Lib/site-packages/pip/_vendor/resolvelib/structs.py index 359a34f..18c74d4 100644 --- a/.venv/Lib/site-packages/pip/_vendor/resolvelib/structs.py +++ b/.venv/Lib/site-packages/pip/_vendor/resolvelib/structs.py @@ -1,34 +1,73 @@ +from __future__ import annotations + import itertools +from collections import namedtuple +from typing import ( + TYPE_CHECKING, + Callable, + Generic, + Iterable, + Iterator, + Mapping, + NamedTuple, + Sequence, + TypeVar, + Union, +) -from .compat import collections_abc +KT = TypeVar("KT") # Identifier. +RT = TypeVar("RT") # Requirement. +CT = TypeVar("CT") # Candidate. + +Matches = Union[Iterable[CT], Callable[[], Iterable[CT]]] + +if TYPE_CHECKING: + from .resolvers.criterion import Criterion + + class RequirementInformation(NamedTuple, Generic[RT, CT]): + requirement: RT + parent: CT | None + + class State(NamedTuple, Generic[RT, CT, KT]): + """Resolution state in a round.""" + + mapping: dict[KT, CT] + criteria: dict[KT, Criterion[RT, CT]] + backtrack_causes: list[RequirementInformation[RT, CT]] + +else: + RequirementInformation = namedtuple( + "RequirementInformation", ["requirement", "parent"] + ) + State = namedtuple("State", ["mapping", "criteria", "backtrack_causes"]) -class DirectedGraph(object): +class DirectedGraph(Generic[KT]): """A graph structure with directed edges.""" - def __init__(self): - self._vertices = set() - self._forwards = {} # -> Set[] - self._backwards = {} # -> Set[] + def __init__(self) -> None: + self._vertices: set[KT] = set() + self._forwards: dict[KT, set[KT]] = {} # -> Set[] + self._backwards: dict[KT, set[KT]] = {} # -> Set[] - def __iter__(self): + def __iter__(self) -> Iterator[KT]: return iter(self._vertices) - def __len__(self): + def __len__(self) -> int: return len(self._vertices) - def __contains__(self, key): + def __contains__(self, key: KT) -> bool: return key in self._vertices - def copy(self): + def copy(self) -> DirectedGraph[KT]: """Return a shallow copy of this graph.""" - other = DirectedGraph() + other = type(self)() other._vertices = set(self._vertices) other._forwards = {k: set(v) for k, v in self._forwards.items()} other._backwards = {k: set(v) for k, v in self._backwards.items()} return other - def add(self, key): + def add(self, key: KT) -> None: """Add a new vertex to the graph.""" if key in self._vertices: raise ValueError("vertex exists") @@ -36,7 +75,7 @@ class DirectedGraph(object): self._forwards[key] = set() self._backwards[key] = set() - def remove(self, key): + def remove(self, key: KT) -> None: """Remove a vertex from the graph, disconnecting all edges from/to it.""" self._vertices.remove(key) for f in self._forwards.pop(key): @@ -44,10 +83,10 @@ class DirectedGraph(object): for t in self._backwards.pop(key): self._forwards[t].remove(key) - def connected(self, f, t): + def connected(self, f: KT, t: KT) -> bool: return f in self._backwards[t] and t in self._forwards[f] - def connect(self, f, t): + def connect(self, f: KT, t: KT) -> None: """Connect two existing vertices. Nothing happens if the vertices are already connected. @@ -57,56 +96,59 @@ class DirectedGraph(object): self._forwards[f].add(t) self._backwards[t].add(f) - def iter_edges(self): + def iter_edges(self) -> Iterator[tuple[KT, KT]]: for f, children in self._forwards.items(): for t in children: yield f, t - def iter_children(self, key): + def iter_children(self, key: KT) -> Iterator[KT]: return iter(self._forwards[key]) - def iter_parents(self, key): + def iter_parents(self, key: KT) -> Iterator[KT]: return iter(self._backwards[key]) -class IteratorMapping(collections_abc.Mapping): - def __init__(self, mapping, accessor, appends=None): +class IteratorMapping(Mapping[KT, Iterator[CT]], Generic[RT, CT, KT]): + def __init__( + self, + mapping: Mapping[KT, RT], + accessor: Callable[[RT], Iterable[CT]], + appends: Mapping[KT, Iterable[CT]] | None = None, + ) -> None: self._mapping = mapping self._accessor = accessor - self._appends = appends or {} + self._appends: Mapping[KT, Iterable[CT]] = appends or {} - def __repr__(self): + def __repr__(self) -> str: return "IteratorMapping({!r}, {!r}, {!r})".format( self._mapping, self._accessor, self._appends, ) - def __bool__(self): + def __bool__(self) -> bool: return bool(self._mapping or self._appends) - __nonzero__ = __bool__ # XXX: Python 2. - - def __contains__(self, key): + def __contains__(self, key: object) -> bool: return key in self._mapping or key in self._appends - def __getitem__(self, k): + def __getitem__(self, k: KT) -> Iterator[CT]: try: v = self._mapping[k] except KeyError: return iter(self._appends[k]) return itertools.chain(self._accessor(v), self._appends.get(k, ())) - def __iter__(self): + def __iter__(self) -> Iterator[KT]: more = (k for k in self._appends if k not in self._mapping) return itertools.chain(self._mapping, more) - def __len__(self): + def __len__(self) -> int: more = sum(1 for k in self._appends if k not in self._mapping) return len(self._mapping) + more -class _FactoryIterableView(object): +class _FactoryIterableView(Iterable[RT]): """Wrap an iterator factory returned by `find_matches()`. Calling `iter()` on this class would invoke the underlying iterator @@ -115,56 +157,53 @@ class _FactoryIterableView(object): built-in Python sequence types. """ - def __init__(self, factory): + def __init__(self, factory: Callable[[], Iterable[RT]]) -> None: self._factory = factory - self._iterable = None + self._iterable: Iterable[RT] | None = None - def __repr__(self): - return "{}({})".format(type(self).__name__, list(self)) + def __repr__(self) -> str: + return f"{type(self).__name__}({list(self)})" - def __bool__(self): + def __bool__(self) -> bool: try: next(iter(self)) except StopIteration: return False return True - __nonzero__ = __bool__ # XXX: Python 2. - - def __iter__(self): - iterable = ( - self._factory() if self._iterable is None else self._iterable - ) + def __iter__(self) -> Iterator[RT]: + iterable = self._factory() if self._iterable is None else self._iterable self._iterable, current = itertools.tee(iterable) return current -class _SequenceIterableView(object): +class _SequenceIterableView(Iterable[RT]): """Wrap an iterable returned by find_matches(). This is essentially just a proxy to the underlying sequence that provides the same interface as `_FactoryIterableView`. """ - def __init__(self, sequence): + def __init__(self, sequence: Sequence[RT]): self._sequence = sequence - def __repr__(self): - return "{}({})".format(type(self).__name__, self._sequence) + def __repr__(self) -> str: + return f"{type(self).__name__}({self._sequence})" - def __bool__(self): + def __bool__(self) -> bool: return bool(self._sequence) - __nonzero__ = __bool__ # XXX: Python 2. - - def __iter__(self): + def __iter__(self) -> Iterator[RT]: return iter(self._sequence) -def build_iter_view(matches): +def build_iter_view(matches: Matches[CT]) -> Iterable[CT]: """Build an iterable view from the value returned by `find_matches()`.""" if callable(matches): return _FactoryIterableView(matches) - if not isinstance(matches, collections_abc.Sequence): + if not isinstance(matches, Sequence): matches = list(matches) return _SequenceIterableView(matches) + + +IterableView = Iterable diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__main__.py b/.venv/Lib/site-packages/pip/_vendor/rich/__main__.py index 270629f..a583f1e 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/__main__.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/__main__.py @@ -207,6 +207,7 @@ Supports much of the *markdown* __syntax__! if __name__ == "__main__": # pragma: no cover + from pip._vendor.rich.panel import Panel console = Console( file=io.StringIO(), @@ -228,47 +229,17 @@ if __name__ == "__main__": # pragma: no cover c = Console(record=True) c.print(test_card) - print(f"rendered in {pre_cache_taken}ms (cold cache)") - print(f"rendered in {taken}ms (warm cache)") - - from pip._vendor.rich.panel import Panel - console = Console() - - sponsor_message = Table.grid(padding=1) - sponsor_message.add_column(style="green", justify="right") - sponsor_message.add_column(no_wrap=True) - - sponsor_message.add_row( - "Textualize", - "[u blue link=https://github.com/textualize]https://github.com/textualize", - ) - sponsor_message.add_row( - "Twitter", - "[u blue link=https://twitter.com/willmcgugan]https://twitter.com/willmcgugan", - ) - - intro_message = Text.from_markup( - """\ -We hope you enjoy using Rich! - -Rich is maintained with [red]:heart:[/] by [link=https://www.textualize.io]Textualize.io[/] - -- Will McGugan""" - ) - - message = Table.grid(padding=2) - message.add_column() - message.add_column(no_wrap=True) - message.add_row(intro_message, sponsor_message) - + console.print(f"[dim]rendered in [not dim]{pre_cache_taken}ms[/] (cold cache)") + console.print(f"[dim]rendered in [not dim]{taken}ms[/] (warm cache)") + console.print() console.print( Panel.fit( - message, - box=box.ROUNDED, - padding=(1, 2), - title="[b red]Thanks for trying out Rich!", - border_style="bright_blue", - ), - justify="center", + "[b magenta]Hope you enjoy using Rich![/]\n\n" + "Please consider sponsoring me if you get value from my work.\n\n" + "Even the price of a ☕ can brighten my day!\n\n" + "https://github.com/sponsors/willmcgugan", + border_style="red", + title="Help ensure Rich is maintained", + ) ) diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/__init__.cpython-311.pyc index fb7d4fb..03d2c40 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/__main__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/__main__.cpython-311.pyc index e32514d..087779d 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/__main__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/__main__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_cell_widths.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_cell_widths.cpython-311.pyc index 0989f98..9b6efa5 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_cell_widths.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_cell_widths.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-311.pyc index bc79fce..4782581 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_emoji_replace.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_emoji_replace.cpython-311.pyc index bfd4b9c..4f87db8 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_emoji_replace.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_emoji_replace.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_export_format.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_export_format.cpython-311.pyc index d7c4008..97c5faf 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_export_format.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_export_format.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_extension.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_extension.cpython-311.pyc index 05578bd..4ecbda1 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_extension.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_extension.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_fileno.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_fileno.cpython-311.pyc index 15844d2..a8e13d4 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_fileno.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_fileno.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_inspect.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_inspect.cpython-311.pyc index 0873a50..81d822d 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_inspect.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_inspect.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_log_render.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_log_render.cpython-311.pyc index b2dccaa..6f51078 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_log_render.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_log_render.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_loop.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_loop.cpython-311.pyc index aea0ad0..8019617 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_loop.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_loop.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_null_file.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_null_file.cpython-311.pyc index 5856d29..a2ce807 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_null_file.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_null_file.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_palettes.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_palettes.cpython-311.pyc index f5f995b..5335609 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_palettes.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_palettes.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_pick.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_pick.cpython-311.pyc index 6fe816c..d27167d 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_pick.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_pick.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_ratio.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_ratio.cpython-311.pyc index 68d055d..e25afbe 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_ratio.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_ratio.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_spinners.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_spinners.cpython-311.pyc index 2ea4155..3019dcf 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_spinners.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_spinners.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_stack.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_stack.cpython-311.pyc index a076b7a..40024e1 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_stack.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_stack.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_timer.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_timer.cpython-311.pyc index 691bc9a..7c18ce2 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_timer.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_timer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_win32_console.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_win32_console.cpython-311.pyc index 861f1ba..249cdbf 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_win32_console.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_win32_console.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_windows.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_windows.cpython-311.pyc index 4c7add8..b3be2ed 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_windows.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_windows.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_windows_renderer.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_windows_renderer.cpython-311.pyc index 3c2e71a..fe95b37 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_windows_renderer.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_windows_renderer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_wrap.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_wrap.cpython-311.pyc index 98b9246..e881b7b 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_wrap.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_wrap.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/abc.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/abc.cpython-311.pyc index fee0f80..1deaf7f 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/abc.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/abc.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/align.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/align.cpython-311.pyc index 89cef01..d59f27d 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/align.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/align.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/ansi.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/ansi.cpython-311.pyc index b56965f..380a864 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/ansi.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/ansi.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/bar.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/bar.cpython-311.pyc index 9e87cb0..85e9bfc 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/bar.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/bar.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/box.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/box.cpython-311.pyc index d1b121b..2a7434e 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/box.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/box.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/cells.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/cells.cpython-311.pyc index 9037b0e..77b5777 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/cells.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/cells.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/color.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/color.cpython-311.pyc index 7d9e8e9..b686a8e 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/color.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/color.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/color_triplet.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/color_triplet.cpython-311.pyc index 832c5f6..97f9f64 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/color_triplet.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/color_triplet.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/columns.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/columns.cpython-311.pyc index 6b2d82d..620827f 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/columns.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/columns.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/console.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/console.cpython-311.pyc index 9d9a1d6..4ae982b 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/console.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/console.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/constrain.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/constrain.cpython-311.pyc index 567f92e..2650322 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/constrain.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/constrain.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/containers.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/containers.cpython-311.pyc index 0599557..915d038 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/containers.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/containers.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/control.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/control.cpython-311.pyc index 982ef56..e5dcfa8 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/control.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/control.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/default_styles.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/default_styles.cpython-311.pyc index 5187066..9a48c85 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/default_styles.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/default_styles.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/diagnose.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/diagnose.cpython-311.pyc index 8af5f7c..9a366fb 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/diagnose.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/diagnose.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/emoji.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/emoji.cpython-311.pyc index a59b18b..cb0b78d 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/emoji.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/emoji.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/errors.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/errors.cpython-311.pyc index 39e02b4..3a563b0 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/errors.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/errors.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/file_proxy.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/file_proxy.cpython-311.pyc index 25ef429..cef6017 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/file_proxy.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/file_proxy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/filesize.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/filesize.cpython-311.pyc index dcb8879..714386a 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/filesize.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/filesize.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/highlighter.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/highlighter.cpython-311.pyc index c4e9ba5..93a7ceb 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/highlighter.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/highlighter.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/json.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/json.cpython-311.pyc index 57985a1..798e684 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/json.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/json.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/jupyter.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/jupyter.cpython-311.pyc index 498d042..ad9ab59 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/jupyter.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/jupyter.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/layout.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/layout.cpython-311.pyc index b654640..a72c675 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/layout.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/layout.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/live.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/live.cpython-311.pyc index 0dafe4f..c4a2680 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/live.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/live.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/live_render.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/live_render.cpython-311.pyc index 10d133b..1eec579 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/live_render.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/live_render.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/logging.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/logging.cpython-311.pyc index bce48b0..5698a05 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/logging.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/logging.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/markup.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/markup.cpython-311.pyc index cbba75f..25e2bfb 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/markup.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/markup.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/measure.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/measure.cpython-311.pyc index c06474d..404b075 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/measure.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/measure.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/padding.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/padding.cpython-311.pyc index f778c98..8ac5f4b 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/padding.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/padding.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/pager.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/pager.cpython-311.pyc index b5a2424..2cd8fa5 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/pager.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/pager.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/palette.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/palette.cpython-311.pyc index 671e719..8ddd590 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/palette.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/palette.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/panel.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/panel.cpython-311.pyc index 37ec38f..97e06eb 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/panel.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/panel.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/pretty.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/pretty.cpython-311.pyc index b79d304..2e9d46c 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/pretty.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/pretty.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/progress.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/progress.cpython-311.pyc index b705584..9c61648 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/progress.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/progress.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/progress_bar.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/progress_bar.cpython-311.pyc index 54cce3b..dc7bc46 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/progress_bar.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/progress_bar.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/prompt.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/prompt.cpython-311.pyc index 066480c..1c604ae 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/prompt.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/prompt.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/protocol.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/protocol.cpython-311.pyc index dfc3ca2..1e3930b 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/protocol.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/protocol.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/region.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/region.cpython-311.pyc index 8566e94..d859c1c 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/region.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/region.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/repr.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/repr.cpython-311.pyc index 4d00059..4f41e6a 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/repr.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/repr.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/rule.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/rule.cpython-311.pyc index 56acdec..1f5cbfc 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/rule.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/rule.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/scope.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/scope.cpython-311.pyc index 10ebcbe..d883ac3 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/scope.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/scope.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/screen.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/screen.cpython-311.pyc index 7286fbb..49aa26c 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/screen.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/screen.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/segment.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/segment.cpython-311.pyc index 18bfad9..1777447 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/segment.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/segment.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/spinner.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/spinner.cpython-311.pyc index 56d81e9..958e661 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/spinner.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/spinner.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/status.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/status.cpython-311.pyc index 5b11c6e..4f4eb39 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/status.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/status.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/style.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/style.cpython-311.pyc index 15be36e..743f4b0 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/style.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/style.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/styled.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/styled.cpython-311.pyc index a2bfe0e..1e3f96e 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/styled.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/styled.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/syntax.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/syntax.cpython-311.pyc index 44cc612..e7a4e12 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/syntax.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/syntax.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/table.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/table.cpython-311.pyc index 419e8bd..e023dbc 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/table.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/table.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/terminal_theme.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/terminal_theme.cpython-311.pyc index bb9dfd1..d7d0d4c 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/terminal_theme.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/terminal_theme.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/text.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/text.cpython-311.pyc index 447b3fd..a1ee2de 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/text.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/text.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/theme.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/theme.cpython-311.pyc index e699a3d..b5f9daa 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/theme.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/theme.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/themes.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/themes.cpython-311.pyc index 1836124..5012952 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/themes.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/themes.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/traceback.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/traceback.cpython-311.pyc index 9510efc..8cd8401 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/traceback.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/traceback.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/tree.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/tree.cpython-311.pyc index 50f9434..082f61a 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/tree.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/tree.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/_cell_widths.py b/.venv/Lib/site-packages/pip/_vendor/rich/_cell_widths.py index 36286df..608ae3a 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/_cell_widths.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/_cell_widths.py @@ -4,6 +4,7 @@ CELL_WIDTHS = [ (0, 0, 0), (1, 31, -1), (127, 159, -1), + (173, 173, 0), (768, 879, 0), (1155, 1161, 0), (1425, 1469, 0), @@ -11,13 +12,16 @@ CELL_WIDTHS = [ (1473, 1474, 0), (1476, 1477, 0), (1479, 1479, 0), + (1536, 1541, 0), (1552, 1562, 0), + (1564, 1564, 0), (1611, 1631, 0), (1648, 1648, 0), - (1750, 1756, 0), + (1750, 1757, 0), (1759, 1764, 0), (1767, 1768, 0), (1770, 1773, 0), + (1807, 1807, 0), (1809, 1809, 0), (1840, 1866, 0), (1958, 1968, 0), @@ -28,149 +32,137 @@ CELL_WIDTHS = [ (2085, 2087, 0), (2089, 2093, 0), (2137, 2139, 0), - (2259, 2273, 0), - (2275, 2306, 0), - (2362, 2362, 0), - (2364, 2364, 0), - (2369, 2376, 0), - (2381, 2381, 0), + (2192, 2193, 0), + (2200, 2207, 0), + (2250, 2307, 0), + (2362, 2364, 0), + (2366, 2383, 0), (2385, 2391, 0), (2402, 2403, 0), - (2433, 2433, 0), + (2433, 2435, 0), (2492, 2492, 0), - (2497, 2500, 0), - (2509, 2509, 0), + (2494, 2500, 0), + (2503, 2504, 0), + (2507, 2509, 0), + (2519, 2519, 0), (2530, 2531, 0), (2558, 2558, 0), - (2561, 2562, 0), + (2561, 2563, 0), (2620, 2620, 0), - (2625, 2626, 0), + (2622, 2626, 0), (2631, 2632, 0), (2635, 2637, 0), (2641, 2641, 0), (2672, 2673, 0), (2677, 2677, 0), - (2689, 2690, 0), + (2689, 2691, 0), (2748, 2748, 0), - (2753, 2757, 0), - (2759, 2760, 0), - (2765, 2765, 0), + (2750, 2757, 0), + (2759, 2761, 0), + (2763, 2765, 0), (2786, 2787, 0), (2810, 2815, 0), - (2817, 2817, 0), + (2817, 2819, 0), (2876, 2876, 0), - (2879, 2879, 0), - (2881, 2884, 0), - (2893, 2893, 0), - (2901, 2902, 0), + (2878, 2884, 0), + (2887, 2888, 0), + (2891, 2893, 0), + (2901, 2903, 0), (2914, 2915, 0), (2946, 2946, 0), - (3008, 3008, 0), - (3021, 3021, 0), - (3072, 3072, 0), - (3076, 3076, 0), - (3134, 3136, 0), + (3006, 3010, 0), + (3014, 3016, 0), + (3018, 3021, 0), + (3031, 3031, 0), + (3072, 3076, 0), + (3132, 3132, 0), + (3134, 3140, 0), (3142, 3144, 0), (3146, 3149, 0), (3157, 3158, 0), (3170, 3171, 0), - (3201, 3201, 0), + (3201, 3203, 0), (3260, 3260, 0), - (3263, 3263, 0), - (3270, 3270, 0), - (3276, 3277, 0), + (3262, 3268, 0), + (3270, 3272, 0), + (3274, 3277, 0), + (3285, 3286, 0), (3298, 3299, 0), - (3328, 3329, 0), + (3315, 3315, 0), + (3328, 3331, 0), (3387, 3388, 0), - (3393, 3396, 0), - (3405, 3405, 0), + (3390, 3396, 0), + (3398, 3400, 0), + (3402, 3405, 0), + (3415, 3415, 0), (3426, 3427, 0), - (3457, 3457, 0), + (3457, 3459, 0), (3530, 3530, 0), - (3538, 3540, 0), + (3535, 3540, 0), (3542, 3542, 0), + (3544, 3551, 0), + (3570, 3571, 0), (3633, 3633, 0), (3636, 3642, 0), (3655, 3662, 0), (3761, 3761, 0), (3764, 3772, 0), - (3784, 3789, 0), + (3784, 3790, 0), (3864, 3865, 0), (3893, 3893, 0), (3895, 3895, 0), (3897, 3897, 0), - (3953, 3966, 0), - (3968, 3972, 0), + (3902, 3903, 0), + (3953, 3972, 0), (3974, 3975, 0), (3981, 3991, 0), (3993, 4028, 0), (4038, 4038, 0), - (4141, 4144, 0), - (4146, 4151, 0), - (4153, 4154, 0), - (4157, 4158, 0), - (4184, 4185, 0), + (4139, 4158, 0), + (4182, 4185, 0), (4190, 4192, 0), + (4194, 4196, 0), + (4199, 4205, 0), (4209, 4212, 0), - (4226, 4226, 0), - (4229, 4230, 0), - (4237, 4237, 0), - (4253, 4253, 0), + (4226, 4237, 0), + (4239, 4239, 0), + (4250, 4253, 0), (4352, 4447, 2), + (4448, 4607, 0), (4957, 4959, 0), - (5906, 5908, 0), + (5906, 5909, 0), (5938, 5940, 0), (5970, 5971, 0), (6002, 6003, 0), - (6068, 6069, 0), - (6071, 6077, 0), - (6086, 6086, 0), - (6089, 6099, 0), + (6068, 6099, 0), (6109, 6109, 0), - (6155, 6157, 0), + (6155, 6159, 0), (6277, 6278, 0), (6313, 6313, 0), - (6432, 6434, 0), - (6439, 6440, 0), - (6450, 6450, 0), - (6457, 6459, 0), - (6679, 6680, 0), - (6683, 6683, 0), - (6742, 6742, 0), - (6744, 6750, 0), - (6752, 6752, 0), - (6754, 6754, 0), - (6757, 6764, 0), - (6771, 6780, 0), + (6432, 6443, 0), + (6448, 6459, 0), + (6679, 6683, 0), + (6741, 6750, 0), + (6752, 6780, 0), (6783, 6783, 0), - (6832, 6848, 0), - (6912, 6915, 0), - (6964, 6964, 0), - (6966, 6970, 0), - (6972, 6972, 0), - (6978, 6978, 0), + (6832, 6862, 0), + (6912, 6916, 0), + (6964, 6980, 0), (7019, 7027, 0), - (7040, 7041, 0), - (7074, 7077, 0), - (7080, 7081, 0), - (7083, 7085, 0), - (7142, 7142, 0), - (7144, 7145, 0), - (7149, 7149, 0), - (7151, 7153, 0), - (7212, 7219, 0), - (7222, 7223, 0), + (7040, 7042, 0), + (7073, 7085, 0), + (7142, 7155, 0), + (7204, 7223, 0), (7376, 7378, 0), - (7380, 7392, 0), - (7394, 7400, 0), + (7380, 7400, 0), (7405, 7405, 0), (7412, 7412, 0), - (7416, 7417, 0), - (7616, 7673, 0), - (7675, 7679, 0), + (7415, 7417, 0), + (7616, 7679, 0), (8203, 8207, 0), (8232, 8238, 0), - (8288, 8291, 0), + (8288, 8292, 0), + (8294, 8303, 0), (8400, 8432, 0), (8986, 8987, 2), (9001, 9002, 2), @@ -212,17 +204,16 @@ CELL_WIDTHS = [ (11904, 11929, 2), (11931, 12019, 2), (12032, 12245, 2), - (12272, 12283, 2), - (12288, 12329, 2), - (12330, 12333, 0), - (12334, 12350, 2), + (12272, 12329, 2), + (12330, 12335, 0), + (12336, 12350, 2), (12353, 12438, 2), (12441, 12442, 0), (12443, 12543, 2), (12549, 12591, 2), (12593, 12686, 2), (12688, 12771, 2), - (12784, 12830, 2), + (12783, 12830, 2), (12832, 12871, 2), (12880, 19903, 2), (19968, 42124, 2), @@ -234,36 +225,33 @@ CELL_WIDTHS = [ (43010, 43010, 0), (43014, 43014, 0), (43019, 43019, 0), - (43045, 43046, 0), + (43043, 43047, 0), (43052, 43052, 0), - (43204, 43205, 0), + (43136, 43137, 0), + (43188, 43205, 0), (43232, 43249, 0), (43263, 43263, 0), (43302, 43309, 0), - (43335, 43345, 0), + (43335, 43347, 0), (43360, 43388, 2), - (43392, 43394, 0), - (43443, 43443, 0), - (43446, 43449, 0), - (43452, 43453, 0), + (43392, 43395, 0), + (43443, 43456, 0), (43493, 43493, 0), - (43561, 43566, 0), - (43569, 43570, 0), - (43573, 43574, 0), + (43561, 43574, 0), (43587, 43587, 0), - (43596, 43596, 0), - (43644, 43644, 0), + (43596, 43597, 0), + (43643, 43645, 0), (43696, 43696, 0), (43698, 43700, 0), (43703, 43704, 0), (43710, 43711, 0), (43713, 43713, 0), - (43756, 43757, 0), - (43766, 43766, 0), - (44005, 44005, 0), - (44008, 44008, 0), - (44013, 44013, 0), + (43755, 43759, 0), + (43765, 43766, 0), + (44003, 44010, 0), + (44012, 44013, 0), (44032, 55203, 2), + (55216, 55295, 0), (63744, 64255, 2), (64286, 64286, 0), (65024, 65039, 0), @@ -272,8 +260,10 @@ CELL_WIDTHS = [ (65072, 65106, 2), (65108, 65126, 2), (65128, 65131, 2), + (65279, 65279, 0), (65281, 65376, 2), (65504, 65510, 2), + (65529, 65531, 0), (66045, 66045, 0), (66272, 66272, 0), (66422, 66426, 0), @@ -285,102 +275,108 @@ CELL_WIDTHS = [ (68325, 68326, 0), (68900, 68903, 0), (69291, 69292, 0), + (69373, 69375, 0), (69446, 69456, 0), - (69633, 69633, 0), + (69506, 69509, 0), + (69632, 69634, 0), (69688, 69702, 0), - (69759, 69761, 0), - (69811, 69814, 0), - (69817, 69818, 0), + (69744, 69744, 0), + (69747, 69748, 0), + (69759, 69762, 0), + (69808, 69818, 0), + (69821, 69821, 0), + (69826, 69826, 0), + (69837, 69837, 0), (69888, 69890, 0), - (69927, 69931, 0), - (69933, 69940, 0), + (69927, 69940, 0), + (69957, 69958, 0), (70003, 70003, 0), - (70016, 70017, 0), - (70070, 70078, 0), + (70016, 70018, 0), + (70067, 70080, 0), (70089, 70092, 0), - (70095, 70095, 0), - (70191, 70193, 0), - (70196, 70196, 0), - (70198, 70199, 0), + (70094, 70095, 0), + (70188, 70199, 0), (70206, 70206, 0), - (70367, 70367, 0), - (70371, 70378, 0), - (70400, 70401, 0), + (70209, 70209, 0), + (70367, 70378, 0), + (70400, 70403, 0), (70459, 70460, 0), - (70464, 70464, 0), + (70462, 70468, 0), + (70471, 70472, 0), + (70475, 70477, 0), + (70487, 70487, 0), + (70498, 70499, 0), (70502, 70508, 0), (70512, 70516, 0), - (70712, 70719, 0), - (70722, 70724, 0), - (70726, 70726, 0), + (70709, 70726, 0), (70750, 70750, 0), - (70835, 70840, 0), - (70842, 70842, 0), - (70847, 70848, 0), - (70850, 70851, 0), - (71090, 71093, 0), - (71100, 71101, 0), - (71103, 71104, 0), + (70832, 70851, 0), + (71087, 71093, 0), + (71096, 71104, 0), (71132, 71133, 0), - (71219, 71226, 0), - (71229, 71229, 0), - (71231, 71232, 0), - (71339, 71339, 0), - (71341, 71341, 0), - (71344, 71349, 0), - (71351, 71351, 0), - (71453, 71455, 0), - (71458, 71461, 0), - (71463, 71467, 0), - (71727, 71735, 0), - (71737, 71738, 0), - (71995, 71996, 0), - (71998, 71998, 0), - (72003, 72003, 0), - (72148, 72151, 0), - (72154, 72155, 0), - (72160, 72160, 0), + (71216, 71232, 0), + (71339, 71351, 0), + (71453, 71467, 0), + (71724, 71738, 0), + (71984, 71989, 0), + (71991, 71992, 0), + (71995, 71998, 0), + (72000, 72000, 0), + (72002, 72003, 0), + (72145, 72151, 0), + (72154, 72160, 0), + (72164, 72164, 0), (72193, 72202, 0), - (72243, 72248, 0), + (72243, 72249, 0), (72251, 72254, 0), (72263, 72263, 0), - (72273, 72278, 0), - (72281, 72283, 0), - (72330, 72342, 0), - (72344, 72345, 0), - (72752, 72758, 0), - (72760, 72765, 0), - (72767, 72767, 0), + (72273, 72283, 0), + (72330, 72345, 0), + (72751, 72758, 0), + (72760, 72767, 0), (72850, 72871, 0), - (72874, 72880, 0), - (72882, 72883, 0), - (72885, 72886, 0), + (72873, 72886, 0), (73009, 73014, 0), (73018, 73018, 0), (73020, 73021, 0), (73023, 73029, 0), (73031, 73031, 0), + (73098, 73102, 0), (73104, 73105, 0), - (73109, 73109, 0), - (73111, 73111, 0), - (73459, 73460, 0), + (73107, 73111, 0), + (73459, 73462, 0), + (73472, 73473, 0), + (73475, 73475, 0), + (73524, 73530, 0), + (73534, 73538, 0), + (78896, 78912, 0), + (78919, 78933, 0), (92912, 92916, 0), (92976, 92982, 0), (94031, 94031, 0), + (94033, 94087, 0), (94095, 94098, 0), (94176, 94179, 2), (94180, 94180, 0), - (94192, 94193, 2), + (94192, 94193, 0), (94208, 100343, 2), (100352, 101589, 2), (101632, 101640, 2), - (110592, 110878, 2), + (110576, 110579, 2), + (110581, 110587, 2), + (110589, 110590, 2), + (110592, 110882, 2), + (110898, 110898, 2), (110928, 110930, 2), + (110933, 110933, 2), (110948, 110951, 2), (110960, 111355, 2), (113821, 113822, 0), - (119143, 119145, 0), - (119163, 119170, 0), + (113824, 113827, 0), + (118528, 118573, 0), + (118576, 118598, 0), + (119141, 119145, 0), + (119149, 119170, 0), (119173, 119179, 0), (119210, 119213, 0), (119362, 119364, 0), @@ -395,8 +391,11 @@ CELL_WIDTHS = [ (122907, 122913, 0), (122915, 122916, 0), (122918, 122922, 0), + (123023, 123023, 0), (123184, 123190, 0), + (123566, 123566, 0), (123628, 123631, 0), + (124140, 124143, 0), (125136, 125142, 0), (125252, 125258, 0), (126980, 126980, 2), @@ -416,7 +415,9 @@ CELL_WIDTHS = [ (127951, 127955, 2), (127968, 127984, 2), (127988, 127988, 2), - (127992, 128062, 2), + (127992, 127994, 2), + (127995, 127999, 0), + (128000, 128062, 2), (128064, 128064, 2), (128066, 128252, 2), (128255, 128317, 2), @@ -430,22 +431,24 @@ CELL_WIDTHS = [ (128716, 128716, 2), (128720, 128722, 2), (128725, 128727, 2), + (128732, 128735, 2), (128747, 128748, 2), (128756, 128764, 2), (128992, 129003, 2), + (129008, 129008, 2), (129292, 129338, 2), (129340, 129349, 2), - (129351, 129400, 2), - (129402, 129483, 2), - (129485, 129535, 2), - (129648, 129652, 2), - (129656, 129658, 2), - (129664, 129670, 2), - (129680, 129704, 2), - (129712, 129718, 2), - (129728, 129730, 2), - (129744, 129750, 2), + (129351, 129535, 2), + (129648, 129660, 2), + (129664, 129672, 2), + (129680, 129725, 2), + (129727, 129733, 2), + (129742, 129755, 2), + (129760, 129768, 2), + (129776, 129784, 2), (131072, 196605, 2), (196608, 262141, 2), + (917505, 917505, 0), + (917536, 917631, 0), (917760, 917999, 0), ] diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/_export_format.py b/.venv/Lib/site-packages/pip/_vendor/rich/_export_format.py index 094d2dc..e7527e5 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/_export_format.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/_export_format.py @@ -1,5 +1,6 @@ CONSOLE_HTML_FORMAT = """\ + - -
{code}
+
{code}
""" diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/_inspect.py b/.venv/Lib/site-packages/pip/_vendor/rich/_inspect.py index 30446ce..27d65ce 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/_inspect.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/_inspect.py @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import inspect from inspect import cleandoc, getdoc, getfile, isclass, ismodule, signature from typing import Any, Collection, Iterable, Optional, Tuple, Type, Union @@ -216,7 +214,7 @@ class Inspect(JupyterMixin): def _get_formatted_doc(self, object_: Any) -> Optional[str]: """ Extract the docstring of an object, process it and returns it. - The processing consists in cleaning up the doctring's indentation, + The processing consists in cleaning up the docstring's indentation, taking only its 1st paragraph if `self.help` is not True, and escape its control codes. diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/_null_file.py b/.venv/Lib/site-packages/pip/_vendor/rich/_null_file.py index b659673..6ae05d3 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/_null_file.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/_null_file.py @@ -46,7 +46,7 @@ class NullFile(IO[str]): return iter([""]) def __enter__(self) -> IO[str]: - pass + return self def __exit__( self, diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/_ratio.py b/.venv/Lib/site-packages/pip/_vendor/rich/_ratio.py index e8a3a67..5fd5a38 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/_ratio.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/_ratio.py @@ -1,12 +1,6 @@ -import sys from fractions import Fraction from math import ceil -from typing import cast, List, Optional, Sequence - -if sys.version_info >= (3, 8): - from typing import Protocol -else: - from pip._vendor.typing_extensions import Protocol # pragma: no cover +from typing import cast, List, Optional, Sequence, Protocol class Edge(Protocol): @@ -151,7 +145,6 @@ if __name__ == "__main__": @dataclass class E: - size: Optional[int] = None ratio: int = 1 minimum_size: int = 1 diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/_win32_console.py b/.venv/Lib/site-packages/pip/_vendor/rich/_win32_console.py index 81b1082..2eba1b9 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/_win32_console.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/_win32_console.py @@ -2,6 +2,7 @@ The API that this module wraps is documented at https://docs.microsoft.com/en-us/windows/console/console-functions """ + import ctypes import sys from typing import Any @@ -380,7 +381,7 @@ class LegacyWindowsTerm: WindowsCoordinates: The current cursor position. """ coord: COORD = GetConsoleScreenBufferInfo(self._handle).dwCursorPosition - return WindowsCoordinates(row=cast(int, coord.Y), col=cast(int, coord.X)) + return WindowsCoordinates(row=coord.Y, col=coord.X) @property def screen_size(self) -> WindowsCoordinates: @@ -390,9 +391,7 @@ class LegacyWindowsTerm: WindowsCoordinates: The width and height of the screen as WindowsCoordinates. """ screen_size: COORD = GetConsoleScreenBufferInfo(self._handle).dwSize - return WindowsCoordinates( - row=cast(int, screen_size.Y), col=cast(int, screen_size.X) - ) + return WindowsCoordinates(row=screen_size.Y, col=screen_size.X) def write_text(self, text: str) -> None: """Write text directly to the terminal without any modification of styles diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/_windows.py b/.venv/Lib/site-packages/pip/_vendor/rich/_windows.py index 10fc0d7..7520a9f 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/_windows.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/_windows.py @@ -30,7 +30,6 @@ try: ) except (AttributeError, ImportError, ValueError): - # Fallback if we can't load the Windows DLL def get_windows_console_features() -> WindowsConsoleFeatures: features = WindowsConsoleFeatures() diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/_wrap.py b/.venv/Lib/site-packages/pip/_vendor/rich/_wrap.py index c45f193..2e94ff6 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/_wrap.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/_wrap.py @@ -1,5 +1,7 @@ +from __future__ import annotations + import re -from typing import Iterable, List, Tuple +from typing import Iterable from ._loop import loop_last from .cells import cell_len, chop_cells @@ -7,7 +9,11 @@ from .cells import cell_len, chop_cells re_word = re.compile(r"\s*\S+\s*") -def words(text: str) -> Iterable[Tuple[int, int, str]]: +def words(text: str) -> Iterable[tuple[int, int, str]]: + """Yields each word from the text as a tuple + containing (start_index, end_index, word). A "word" in this context may + include the actual word and any whitespace to the right. + """ position = 0 word_match = re_word.match(text, position) while word_match is not None: @@ -17,35 +23,59 @@ def words(text: str) -> Iterable[Tuple[int, int, str]]: word_match = re_word.match(text, end) -def divide_line(text: str, width: int, fold: bool = True) -> List[int]: - divides: List[int] = [] - append = divides.append - line_position = 0 +def divide_line(text: str, width: int, fold: bool = True) -> list[int]: + """Given a string of text, and a width (measured in cells), return a list + of cell offsets which the string should be split at in order for it to fit + within the given width. + + Args: + text: The text to examine. + width: The available cell width. + fold: If True, words longer than `width` will be folded onto a new line. + + Returns: + A list of indices to break the line at. + """ + break_positions: list[int] = [] # offsets to insert the breaks at + append = break_positions.append + cell_offset = 0 _cell_len = cell_len + for start, _end, word in words(text): word_length = _cell_len(word.rstrip()) - if line_position + word_length > width: + remaining_space = width - cell_offset + word_fits_remaining_space = remaining_space >= word_length + + if word_fits_remaining_space: + # Simplest case - the word fits within the remaining width for this line. + cell_offset += _cell_len(word) + else: + # Not enough space remaining for this word on the current line. if word_length > width: + # The word doesn't fit on any line, so we can't simply + # place it on the next line... if fold: - chopped_words = chop_cells(word, max_size=width, position=0) - for last, line in loop_last(chopped_words): + # Fold the word across multiple lines. + folded_word = chop_cells(word, width=width) + for last, line in loop_last(folded_word): if start: append(start) - if last: - line_position = _cell_len(line) + cell_offset = _cell_len(line) else: start += len(line) else: + # Folding isn't allowed, so crop the word. if start: append(start) - line_position = _cell_len(word) - elif line_position and start: + cell_offset = _cell_len(word) + elif cell_offset and start: + # The word doesn't fit within the remaining space on the current + # line, but it *can* fit on to the next (empty) line. append(start) - line_position = _cell_len(word) - else: - line_position += _cell_len(word) - return divides + cell_offset = _cell_len(word) + + return break_positions if __name__ == "__main__": # pragma: no cover @@ -53,4 +83,11 @@ if __name__ == "__main__": # pragma: no cover console = Console(width=10) console.print("12345 abcdefghijklmnopqrstuvwyxzABCDEFGHIJKLMNOPQRSTUVWXYZ 12345") - print(chop_cells("abcdefghijklmnopqrstuvwxyz", 10, position=2)) + print(chop_cells("abcdefghijklmnopqrstuvwxyz", 10)) + + console = Console(width=20) + console.rule() + console.print("TextualはPythonの高速アプリケーション開発フレームワークです") + + console.rule() + console.print("アプリケーションは1670万色を使用でき") diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/align.py b/.venv/Lib/site-packages/pip/_vendor/rich/align.py index c310b66..e65dc5b 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/align.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/align.py @@ -1,11 +1,5 @@ -import sys from itertools import chain -from typing import TYPE_CHECKING, Iterable, Optional - -if sys.version_info >= (3, 8): - from typing import Literal -else: - from pip._vendor.typing_extensions import Literal # pragma: no cover +from typing import TYPE_CHECKING, Iterable, Optional, Literal from .constrain import Constrain from .jupyter import JupyterMixin @@ -27,7 +21,7 @@ class Align(JupyterMixin): renderable (RenderableType): A console renderable. align (AlignMethod): One of "left", "center", or "right"" style (StyleType, optional): An optional style to apply to the background. - vertical (Optional[VerticalAlginMethod], optional): Optional vertical align, one of "top", "middle", or "bottom". Defaults to None. + vertical (Optional[VerticalAlignMethod], optional): Optional vertical align, one of "top", "middle", or "bottom". Defaults to None. pad (bool, optional): Pad the right with spaces. Defaults to True. width (int, optional): Restrict contents to given width, or None to use default width. Defaults to None. height (int, optional): Set height of align renderable, or None to fit to contents. Defaults to None. @@ -240,6 +234,7 @@ class VerticalCenter(JupyterMixin): Args: renderable (RenderableType): A renderable object. + style (StyleType, optional): An optional style to apply to the background. Defaults to None. """ def __init__( diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/ansi.py b/.venv/Lib/site-packages/pip/_vendor/rich/ansi.py index 66365e6..7de86ce 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/ansi.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/ansi.py @@ -9,6 +9,7 @@ from .text import Text re_ansi = re.compile( r""" +(?:\x1b[0-?])| (?:\x1b\](.*?)\x1b\\)| (?:\x1b([(@-Z\\-_]|\[[0-?]*[ -/]*[@-~])) """, diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/bar.py b/.venv/Lib/site-packages/pip/_vendor/rich/bar.py index ed86a55..022284b 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/bar.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/bar.py @@ -48,7 +48,6 @@ class Bar(JupyterMixin): def __rich_console__( self, console: Console, options: ConsoleOptions ) -> RenderResult: - width = min( self.width if self.width is not None else options.max_width, options.max_width, diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/box.py b/.venv/Lib/site-packages/pip/_vendor/rich/box.py index 97d2a94..3f330cc 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/box.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/box.py @@ -1,10 +1,4 @@ -import sys -from typing import TYPE_CHECKING, Iterable, List - -if sys.version_info >= (3, 8): - from typing import Literal -else: - from pip._vendor.typing_extensions import Literal # pragma: no cover +from typing import TYPE_CHECKING, Iterable, List, Literal from ._loop import loop_last @@ -188,260 +182,224 @@ class Box: return "".join(parts) +# fmt: off ASCII: Box = Box( - """\ -+--+ -| || -|-+| -| || -|-+| -|-+| -| || -+--+ -""", + "+--+\n" + "| ||\n" + "|-+|\n" + "| ||\n" + "|-+|\n" + "|-+|\n" + "| ||\n" + "+--+\n", ascii=True, ) ASCII2: Box = Box( - """\ -+-++ -| || -+-++ -| || -+-++ -+-++ -| || -+-++ -""", + "+-++\n" + "| ||\n" + "+-++\n" + "| ||\n" + "+-++\n" + "+-++\n" + "| ||\n" + "+-++\n", ascii=True, ) ASCII_DOUBLE_HEAD: Box = Box( - """\ -+-++ -| || -+=++ -| || -+-++ -+-++ -| || -+-++ -""", + "+-++\n" + "| ||\n" + "+=++\n" + "| ||\n" + "+-++\n" + "+-++\n" + "| ||\n" + "+-++\n", ascii=True, ) SQUARE: Box = Box( - """\ -┌─┬┐ -│ ││ -├─┼┤ -│ ││ -├─┼┤ -├─┼┤ -│ ││ -└─┴┘ -""" + "┌─┬┐\n" + "│ ││\n" + "├─┼┤\n" + "│ ││\n" + "├─┼┤\n" + "├─┼┤\n" + "│ ││\n" + "└─┴┘\n" ) SQUARE_DOUBLE_HEAD: Box = Box( - """\ -┌─┬┐ -│ ││ -╞═╪╡ -│ ││ -├─┼┤ -├─┼┤ -│ ││ -└─┴┘ -""" + "┌─┬┐\n" + "│ ││\n" + "╞═╪╡\n" + "│ ││\n" + "├─┼┤\n" + "├─┼┤\n" + "│ ││\n" + "└─┴┘\n" ) MINIMAL: Box = Box( - """\ - ╷ - │ -╶─┼╴ - │ -╶─┼╴ -╶─┼╴ - │ - ╵ -""" + " ╷ \n" + " │ \n" + "╶─┼╴\n" + " │ \n" + "╶─┼╴\n" + "╶─┼╴\n" + " │ \n" + " ╵ \n" ) MINIMAL_HEAVY_HEAD: Box = Box( - """\ - ╷ - │ -╺━┿╸ - │ -╶─┼╴ -╶─┼╴ - │ - ╵ -""" + " ╷ \n" + " │ \n" + "╺━┿╸\n" + " │ \n" + "╶─┼╴\n" + "╶─┼╴\n" + " │ \n" + " ╵ \n" ) MINIMAL_DOUBLE_HEAD: Box = Box( - """\ - ╷ - │ - ═╪ - │ - ─┼ - ─┼ - │ - ╵ -""" + " ╷ \n" + " │ \n" + " ═╪ \n" + " │ \n" + " ─┼ \n" + " ─┼ \n" + " │ \n" + " ╵ \n" ) SIMPLE: Box = Box( - """\ - - - ── - - - ── - - -""" + " \n" + " \n" + " ── \n" + " \n" + " \n" + " ── \n" + " \n" + " \n" ) SIMPLE_HEAD: Box = Box( - """\ - - - ── - - - - - -""" + " \n" + " \n" + " ── \n" + " \n" + " \n" + " \n" + " \n" + " \n" ) SIMPLE_HEAVY: Box = Box( - """\ - - - ━━ - - - ━━ - - -""" + " \n" + " \n" + " ━━ \n" + " \n" + " \n" + " ━━ \n" + " \n" + " \n" ) HORIZONTALS: Box = Box( - """\ - ── - - ── - - ── - ── - - ── -""" + " ── \n" + " \n" + " ── \n" + " \n" + " ── \n" + " ── \n" + " \n" + " ── \n" ) ROUNDED: Box = Box( - """\ -╭─┬╮ -│ ││ -├─┼┤ -│ ││ -├─┼┤ -├─┼┤ -│ ││ -╰─┴╯ -""" + "╭─┬╮\n" + "│ ││\n" + "├─┼┤\n" + "│ ││\n" + "├─┼┤\n" + "├─┼┤\n" + "│ ││\n" + "╰─┴╯\n" ) HEAVY: Box = Box( - """\ -┏━┳┓ -┃ ┃┃ -┣━╋┫ -┃ ┃┃ -┣━╋┫ -┣━╋┫ -┃ ┃┃ -┗━┻┛ -""" + "┏━┳┓\n" + "┃ ┃┃\n" + "┣━╋┫\n" + "┃ ┃┃\n" + "┣━╋┫\n" + "┣━╋┫\n" + "┃ ┃┃\n" + "┗━┻┛\n" ) HEAVY_EDGE: Box = Box( - """\ -┏━┯┓ -┃ │┃ -┠─┼┨ -┃ │┃ -┠─┼┨ -┠─┼┨ -┃ │┃ -┗━┷┛ -""" + "┏━┯┓\n" + "┃ │┃\n" + "┠─┼┨\n" + "┃ │┃\n" + "┠─┼┨\n" + "┠─┼┨\n" + "┃ │┃\n" + "┗━┷┛\n" ) HEAVY_HEAD: Box = Box( - """\ -┏━┳┓ -┃ ┃┃ -┡━╇┩ -│ ││ -├─┼┤ -├─┼┤ -│ ││ -└─┴┘ -""" + "┏━┳┓\n" + "┃ ┃┃\n" + "┡━╇┩\n" + "│ ││\n" + "├─┼┤\n" + "├─┼┤\n" + "│ ││\n" + "└─┴┘\n" ) DOUBLE: Box = Box( - """\ -╔═╦╗ -║ ║║ -╠═╬╣ -║ ║║ -╠═╬╣ -╠═╬╣ -║ ║║ -╚═╩╝ -""" + "╔═╦╗\n" + "║ ║║\n" + "╠═╬╣\n" + "║ ║║\n" + "╠═╬╣\n" + "╠═╬╣\n" + "║ ║║\n" + "╚═╩╝\n" ) DOUBLE_EDGE: Box = Box( - """\ -╔═╤╗ -║ │║ -╟─┼╢ -║ │║ -╟─┼╢ -╟─┼╢ -║ │║ -╚═╧╝ -""" + "╔═╤╗\n" + "║ │║\n" + "╟─┼╢\n" + "║ │║\n" + "╟─┼╢\n" + "╟─┼╢\n" + "║ │║\n" + "╚═╧╝\n" ) MARKDOWN: Box = Box( - """\ - -| || -|-|| -| || -|-|| -|-|| -| || - -""", + " \n" + "| ||\n" + "|-||\n" + "| ||\n" + "|-||\n" + "|-||\n" + "| ||\n" + " \n", ascii=True, ) +# fmt: on # Map Boxes that don't render with raster fonts on to equivalent that do LEGACY_WINDOWS_SUBSTITUTIONS = { @@ -464,7 +422,6 @@ PLAIN_HEADED_SUBSTITUTIONS = { if __name__ == "__main__": # pragma: no cover - from pip._vendor.rich.columns import Columns from pip._vendor.rich.panel import Panel diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/cells.py b/.venv/Lib/site-packages/pip/_vendor/rich/cells.py index 9354f9e..a854622 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/cells.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/cells.py @@ -1,11 +1,33 @@ -import re +from __future__ import annotations + from functools import lru_cache -from typing import Callable, List +from typing import Callable from ._cell_widths import CELL_WIDTHS -# Regex to match sequence of the most common character ranges -_is_single_cell_widths = re.compile("^[\u0020-\u006f\u00a0\u02ff\u0370-\u0482]*$").match +# Ranges of unicode ordinals that produce a 1-cell wide character +# This is non-exhaustive, but covers most common Western characters +_SINGLE_CELL_UNICODE_RANGES: list[tuple[int, int]] = [ + (0x20, 0x7E), # Latin (excluding non-printable) + (0xA0, 0xAC), + (0xAE, 0x002FF), + (0x00370, 0x00482), # Greek / Cyrillic + (0x02500, 0x025FC), # Box drawing, box elements, geometric shapes + (0x02800, 0x028FF), # Braille +] + +# A set of characters that are a single cell wide +_SINGLE_CELLS = frozenset( + [ + character + for _start, _end in _SINGLE_CELL_UNICODE_RANGES + for character in map(chr, range(_start, _end + 1)) + ] +) + +# When called with a string this will return True if all +# characters are single-cell, otherwise False +_is_single_cell_widths: Callable[[str], bool] = _SINGLE_CELLS.issuperset @lru_cache(4096) @@ -21,9 +43,9 @@ def cached_cell_len(text: str) -> int: Returns: int: Get the number of cells required to display text. """ - _get_size = get_character_cell_size - total_size = sum(_get_size(character) for character in text) - return total_size + if _is_single_cell_widths(text): + return len(text) + return sum(map(get_character_cell_size, text)) def cell_len(text: str, _cell_len: Callable[[str], int] = cached_cell_len) -> int: @@ -37,9 +59,9 @@ def cell_len(text: str, _cell_len: Callable[[str], int] = cached_cell_len) -> in """ if len(text) < 512: return _cell_len(text) - _get_size = get_character_cell_size - total_size = sum(_get_size(character) for character in text) - return total_size + if _is_single_cell_widths(text): + return len(text) + return sum(map(get_character_cell_size, text)) @lru_cache(maxsize=4096) @@ -52,20 +74,7 @@ def get_character_cell_size(character: str) -> int: Returns: int: Number of cells (0, 1 or 2) occupied by that character. """ - return _get_codepoint_cell_size(ord(character)) - - -@lru_cache(maxsize=4096) -def _get_codepoint_cell_size(codepoint: int) -> int: - """Get the cell size of a character. - - Args: - codepoint (int): Codepoint of a character. - - Returns: - int: Number of cells (0, 1 or 2) occupied by that character. - """ - + codepoint = ord(character) _table = CELL_WIDTHS lower_bound = 0 upper_bound = len(_table) - 1 @@ -119,33 +128,44 @@ def set_cell_size(text: str, total: int) -> str: start = pos -# TODO: This is inefficient -# TODO: This might not work with CWJ type characters -def chop_cells(text: str, max_size: int, position: int = 0) -> List[str]: - """Break text in to equal (cell) length strings, returning the characters in reverse - order""" - _get_character_cell_size = get_character_cell_size - characters = [ - (character, _get_character_cell_size(character)) for character in text - ] - total_size = position - lines: List[List[str]] = [[]] - append = lines[-1].append +def chop_cells( + text: str, + width: int, +) -> list[str]: + """Split text into lines such that each line fits within the available (cell) width. - for character, size in reversed(characters): - if total_size + size > max_size: - lines.append([character]) - append = lines[-1].append - total_size = size + Args: + text: The text to fold such that it fits in the given width. + width: The width available (number of cells). + + Returns: + A list of strings such that each string in the list has cell width + less than or equal to the available width. + """ + _get_character_cell_size = get_character_cell_size + lines: list[list[str]] = [[]] + + append_new_line = lines.append + append_to_last_line = lines[-1].append + + total_width = 0 + + for character in text: + cell_width = _get_character_cell_size(character) + char_doesnt_fit = total_width + cell_width > width + + if char_doesnt_fit: + append_new_line([character]) + append_to_last_line = lines[-1].append + total_width = cell_width else: - total_size += size - append(character) + append_to_last_line(character) + total_width += cell_width return ["".join(line) for line in lines] if __name__ == "__main__": # pragma: no cover - print(get_character_cell_size("😽")) for line in chop_cells("""这是对亚洲语言支持的测试。面对模棱两可的想法,拒绝猜测的诱惑。""", 8): print(line) diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/color.py b/.venv/Lib/site-packages/pip/_vendor/rich/color.py index dfe4559..e2c23a6 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/color.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/color.py @@ -1,5 +1,5 @@ -import platform import re +import sys from colorsys import rgb_to_hls from enum import IntEnum from functools import lru_cache @@ -15,7 +15,7 @@ if TYPE_CHECKING: # pragma: no cover from .text import Text -WINDOWS = platform.system() == "Windows" +WINDOWS = sys.platform == "win32" class ColorSystem(IntEnum): @@ -592,7 +592,6 @@ def blend_rgb( if __name__ == "__main__": # pragma: no cover - from .console import Console from .table import Table from .text import Text diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/console.py b/.venv/Lib/site-packages/pip/_vendor/rich/console.py index e559cbb..db2ba55 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/console.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/console.py @@ -1,6 +1,5 @@ import inspect import os -import platform import sys import threading import zlib @@ -23,27 +22,21 @@ from typing import ( Dict, Iterable, List, + Literal, Mapping, NamedTuple, Optional, + Protocol, TextIO, Tuple, Type, Union, cast, + runtime_checkable, ) from pip._vendor.rich._null_file import NULL_FILE -if sys.version_info >= (3, 8): - from typing import Literal, Protocol, runtime_checkable -else: - from pip._vendor.typing_extensions import ( - Literal, - Protocol, - runtime_checkable, - ) # pragma: no cover - from . import errors, themes from ._emoji_replace import _emoji_replace from ._export_format import CONSOLE_HTML_FORMAT, CONSOLE_SVG_FORMAT @@ -76,7 +69,7 @@ if TYPE_CHECKING: JUPYTER_DEFAULT_COLUMNS = 115 JUPYTER_DEFAULT_LINES = 100 -WINDOWS = platform.system() == "Windows" +WINDOWS = sys.platform == "win32" HighlighterType = Callable[[Union[str, "Text"]], "Text"] JustifyMethod = Literal["default", "left", "center", "right", "full"] @@ -90,15 +83,15 @@ class NoChange: NO_CHANGE = NoChange() try: - _STDIN_FILENO = sys.__stdin__.fileno() + _STDIN_FILENO = sys.__stdin__.fileno() # type: ignore[union-attr] except Exception: _STDIN_FILENO = 0 try: - _STDOUT_FILENO = sys.__stdout__.fileno() + _STDOUT_FILENO = sys.__stdout__.fileno() # type: ignore[union-attr] except Exception: _STDOUT_FILENO = 1 try: - _STDERR_FILENO = sys.__stderr__.fileno() + _STDERR_FILENO = sys.__stderr__.fileno() # type: ignore[union-attr] except Exception: _STDERR_FILENO = 2 @@ -278,6 +271,7 @@ class ConsoleRenderable(Protocol): # A type that may be rendered by Console. RenderableType = Union[ConsoleRenderable, RichCast, str] +"""A string or any object that may be rendered by Rich.""" # The result of calling a __rich_console__ method. RenderResult = Iterable[Union[RenderableType, Segment]] @@ -500,7 +494,7 @@ def group(fit: bool = True) -> Callable[..., Callable[..., Group]]: """ def decorator( - method: Callable[..., Iterable[RenderableType]] + method: Callable[..., Iterable[RenderableType]], ) -> Callable[..., Group]: """Convert a method that returns an iterable of renderables in to a Group.""" @@ -735,8 +729,18 @@ class Console: self.get_time = get_time or monotonic self.style = style self.no_color = ( - no_color if no_color is not None else "NO_COLOR" in self._environ + no_color + if no_color is not None + else self._environ.get("NO_COLOR", "") != "" ) + if force_interactive is None: + tty_interactive = self._environ.get("TTY_INTERACTIVE", None) + if tty_interactive is not None: + if tty_interactive == "0": + force_interactive = False + elif tty_interactive == "1": + force_interactive = True + self.is_interactive = ( (self.is_terminal and not self.is_dumb_terminal) if force_interactive is None @@ -749,7 +753,7 @@ class Console: ) self._record_buffer: List[Segment] = [] self._render_hooks: List[RenderHook] = [] - self._live: Optional["Live"] = None + self._live_stack: List[Live] = [] self._is_alt_screen = False def __repr__(self) -> str: @@ -821,24 +825,26 @@ class Console: self._buffer_index -= 1 self._check_buffer() - def set_live(self, live: "Live") -> None: - """Set Live instance. Used by Live context manager. + def set_live(self, live: "Live") -> bool: + """Set Live instance. Used by Live context manager (no need to call directly). Args: live (Live): Live instance using this Console. + Returns: + Boolean that indicates if the live is the topmost of the stack. + Raises: errors.LiveError: If this Console has a Live context currently active. """ with self._lock: - if self._live is not None: - raise errors.LiveError("Only one live display may be active at once") - self._live = live + self._live_stack.append(live) + return len(self._live_stack) == 1 def clear_live(self) -> None: - """Clear the Live instance.""" + """Clear the Live instance. Used by the Live context manager (no need to call directly).""" with self._lock: - self._live = None + self._live_stack.pop() def push_render_hook(self, hook: RenderHook) -> None: """Add a new render hook to the stack. @@ -933,11 +939,13 @@ class Console: Returns: bool: True if the console writing to a device capable of - understanding terminal codes, otherwise False. + understanding escape sequences, otherwise False. """ + # If dev has explicitly set this value, return it if self._force_terminal is not None: return self._force_terminal + # Fudge for Idle if hasattr(sys.stdin, "__module__") and sys.stdin.__module__.startswith( "idlelib" ): @@ -948,12 +956,22 @@ class Console: # return False for Jupyter, which may have FORCE_COLOR set return False - # If FORCE_COLOR env var has any value at all, we assume a terminal. - force_color = self._environ.get("FORCE_COLOR") - if force_color is not None: - self._force_terminal = True + environ = self._environ + + tty_compatible = environ.get("TTY_COMPATIBLE", "") + # 0 indicates device is not tty compatible + if tty_compatible == "0": + return False + # 1 indicates device is tty compatible + if tty_compatible == "1": return True + # https://force-color.org/ + force_color = environ.get("FORCE_COLOR") + if force_color is not None: + return force_color != "" + + # Any other value defaults to auto detect isatty: Optional[Callable[[], bool]] = getattr(self.file, "isatty", None) try: return False if isatty is None else isatty() @@ -978,12 +996,13 @@ class Console: @property def options(self) -> ConsoleOptions: """Get default console options.""" + size = self.size return ConsoleOptions( - max_height=self.size.height, - size=self.size, + max_height=size.height, + size=size, legacy_windows=self.legacy_windows, min_width=1, - max_width=self.width, + max_width=size.width, encoding=self.encoding, is_terminal=self.is_terminal, ) @@ -1005,19 +1024,14 @@ class Console: width: Optional[int] = None height: Optional[int] = None - if WINDOWS: # pragma: no cover + streams = _STD_STREAMS_OUTPUT if WINDOWS else _STD_STREAMS + for file_descriptor in streams: try: - width, height = os.get_terminal_size() + width, height = os.get_terminal_size(file_descriptor) except (AttributeError, ValueError, OSError): # Probably not a terminal pass - else: - for file_descriptor in _STD_STREAMS: - try: - width, height = os.get_terminal_size(file_descriptor) - except (AttributeError, ValueError, OSError): - pass - else: - break + else: + break columns = self._environ.get("COLUMNS") if columns is not None and columns.isdigit(): @@ -1308,7 +1322,7 @@ class Console: renderable = rich_cast(renderable) if hasattr(renderable, "__rich_console__") and not isclass(renderable): - render_iterable = renderable.__rich_console__(self, _options) # type: ignore[union-attr] + render_iterable = renderable.__rich_console__(self, _options) elif isinstance(renderable, str): text_renderable = self.render_str( renderable, highlight=_options.highlight, markup=_options.markup @@ -1385,9 +1399,14 @@ class Console: extra_lines = render_options.height - len(lines) if extra_lines > 0: pad_line = [ - [Segment(" " * render_options.max_width, style), Segment("\n")] - if new_lines - else [Segment(" " * render_options.max_width, style)] + ( + [ + Segment(" " * render_options.max_width, style), + Segment("\n"), + ] + if new_lines + else [Segment(" " * render_options.max_width, style)] + ) ] lines.extend(pad_line * extra_lines) @@ -1436,9 +1455,11 @@ class Console: rich_text.overflow = overflow else: rich_text = Text( - _emoji_replace(text, default_variant=self._emoji_variant) - if emoji_enabled - else text, + ( + _emoji_replace(text, default_variant=self._emoji_variant) + if emoji_enabled + else text + ), justify=justify, overflow=overflow, style=style, @@ -1535,7 +1556,11 @@ class Console: if isinstance(renderable, str): append_text( self.render_str( - renderable, emoji=emoji, markup=markup, highlighter=_highlighter + renderable, + emoji=emoji, + markup=markup, + highlight=highlight, + highlighter=_highlighter, ) ) elif isinstance(renderable, Text): @@ -1925,7 +1950,6 @@ class Console: end (str, optional): String to write at end of print data. Defaults to "\\\\n". style (Union[str, Style], optional): A style to apply to output. Defaults to None. justify (str, optional): One of "left", "right", "center", or "full". Defaults to ``None``. - overflow (str, optional): Overflow method: "crop", "fold", or "ellipsis". Defaults to None. emoji (Optional[bool], optional): Enable emoji code, or ``None`` to use console default. Defaults to None. markup (Optional[bool], optional): Enable markup, or ``None`` to use console default. Defaults to None. highlight (Optional[bool], optional): Enable automatic highlighting, or ``None`` to use console default. Defaults to None. @@ -1986,6 +2010,20 @@ class Console: ): buffer_extend(line) + def on_broken_pipe(self) -> None: + """This function is called when a `BrokenPipeError` is raised. + + This can occur when piping Textual output in Linux and macOS. + The default implementation is to exit the app, but you could implement + this method in a subclass to change the behavior. + + See https://docs.python.org/3/library/signal.html#note-on-sigpipe for details. + """ + self.quiet = True + devnull = os.open(os.devnull, os.O_WRONLY) + os.dup2(devnull, sys.stdout.fileno()) + raise SystemExit(1) + def _check_buffer(self) -> None: """Check if the buffer may be rendered. Render it if it can (e.g. Console.quiet is False) Rendering is supported on Windows, Unix and Jupyter environments. For @@ -1995,8 +2033,17 @@ class Console: if self.quiet: del self._buffer[:] return + + try: + self._write_buffer() + except BrokenPipeError: + self.on_broken_pipe() + + def _write_buffer(self) -> None: + """Write the buffer to the output file.""" + with self._lock: - if self.record: + if self.record and not self._buffer_index: with self._record_buffer_lock: self._record_buffer.extend(self._buffer[:]) @@ -2166,7 +2213,7 @@ class Console: """ text = self.export_text(clear=clear, styles=styles) - with open(path, "wt", encoding="utf-8") as write_file: + with open(path, "w", encoding="utf-8") as write_file: write_file.write(text) def export_html( @@ -2272,7 +2319,7 @@ class Console: code_format=code_format, inline_styles=inline_styles, ) - with open(path, "wt", encoding="utf-8") as write_file: + with open(path, "w", encoding="utf-8") as write_file: write_file.write(html) def export_svg( @@ -2561,7 +2608,7 @@ class Console: font_aspect_ratio=font_aspect_ratio, unique_id=unique_id, ) - with open(path, "wt", encoding="utf-8") as write_file: + with open(path, "w", encoding="utf-8") as write_file: write_file.write(svg) diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/containers.py b/.venv/Lib/site-packages/pip/_vendor/rich/containers.py index e29cf36..901ff8b 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/containers.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/containers.py @@ -1,13 +1,13 @@ from itertools import zip_longest from typing import ( - Iterator, + TYPE_CHECKING, Iterable, + Iterator, List, Optional, + TypeVar, Union, overload, - TypeVar, - TYPE_CHECKING, ) if TYPE_CHECKING: @@ -119,7 +119,7 @@ class Lines: Args: console (Console): Console instance. - width (int): Number of characters per line. + width (int): Number of cells available per line. justify (str, optional): Default justify method for text: "left", "center", "full" or "right". Defaults to "left". overflow (str, optional): Default overflow for text: "crop", "fold", or "ellipsis". Defaults to "fold". diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/control.py b/.venv/Lib/site-packages/pip/_vendor/rich/control.py index 88fcb92..84963e9 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/control.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/control.py @@ -1,11 +1,5 @@ -import sys import time -from typing import TYPE_CHECKING, Callable, Dict, Iterable, List, Union - -if sys.version_info >= (3, 8): - from typing import Final -else: - from pip._vendor.typing_extensions import Final # pragma: no cover +from typing import TYPE_CHECKING, Callable, Dict, Iterable, List, Union, Final from .segment import ControlCode, ControlType, Segment diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/default_styles.py b/.venv/Lib/site-packages/pip/_vendor/rich/default_styles.py index dca3719..61797bf 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/default_styles.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/default_styles.py @@ -54,7 +54,7 @@ DEFAULT_STYLES: Dict[str, Style] = { "logging.level.notset": Style(dim=True), "logging.level.debug": Style(color="green"), "logging.level.info": Style(color="blue"), - "logging.level.warning": Style(color="red"), + "logging.level.warning": Style(color="yellow"), "logging.level.error": Style(color="red", bold=True), "logging.level.critical": Style(color="red", bold=True, reverse=True), "log.level": Style.null(), @@ -120,6 +120,9 @@ DEFAULT_STYLES: Dict[str, Style] = { "traceback.exc_type": Style(color="bright_red", bold=True), "traceback.exc_value": Style.null(), "traceback.offset": Style(color="bright_red", bold=True), + "traceback.error_range": Style(underline=True, bold=True), + "traceback.note": Style(color="green", bold=True), + "traceback.group.border": Style(color="magenta"), "bar.back": Style(color="grey23"), "bar.complete": Style(color="rgb(249,38,114)"), "bar.finished": Style(color="rgb(114,156,31)"), diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/diagnose.py b/.venv/Lib/site-packages/pip/_vendor/rich/diagnose.py index ad36183..92893b3 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/diagnose.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/diagnose.py @@ -15,16 +15,18 @@ def report() -> None: # pragma: no cover inspect(features) env_names = ( - "TERM", - "COLORTERM", "CLICOLOR", - "NO_COLOR", - "TERM_PROGRAM", + "COLORTERM", "COLUMNS", - "LINES", + "JPY_PARENT_PID", "JUPYTER_COLUMNS", "JUPYTER_LINES", - "JPY_PARENT_PID", + "LINES", + "NO_COLOR", + "TERM_PROGRAM", + "TERM", + "TTY_COMPATIBLE", + "TTY_INTERACTIVE", "VSCODE_VERBOSE_LOGGING", ) env = {name: os.getenv(name) for name in env_names} diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/emoji.py b/.venv/Lib/site-packages/pip/_vendor/rich/emoji.py index 791f046..4a667ed 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/emoji.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/emoji.py @@ -1,5 +1,5 @@ import sys -from typing import TYPE_CHECKING, Optional, Union +from typing import TYPE_CHECKING, Optional, Union, Literal from .jupyter import JupyterMixin from .segment import Segment @@ -7,11 +7,6 @@ from .style import Style from ._emoji_codes import EMOJI from ._emoji_replace import _emoji_replace -if sys.version_info >= (3, 8): - from typing import Literal -else: - from pip._vendor.typing_extensions import Literal # pragma: no cover - if TYPE_CHECKING: from .console import Console, ConsoleOptions, RenderResult diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/filesize.py b/.venv/Lib/site-packages/pip/_vendor/rich/filesize.py index 99f118e..83bc911 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/filesize.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/filesize.py @@ -1,4 +1,3 @@ -# coding: utf-8 """Functions for reporting filesizes. Borrowed from https://github.com/PyFilesystem/pyfilesystem2 The functions declared in this module should cover the different @@ -27,7 +26,7 @@ def _to_str( if size == 1: return "1 byte" elif size < base: - return "{:,} bytes".format(size) + return f"{size:,} bytes" for i, suffix in enumerate(suffixes, 2): # noqa: B007 unit = base**i diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/highlighter.py b/.venv/Lib/site-packages/pip/_vendor/rich/highlighter.py index c264679..e4c462e 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/highlighter.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/highlighter.py @@ -98,7 +98,7 @@ class ReprHighlighter(RegexHighlighter): r"(?P(?\B(/[-\w._+]+)*\/)(?P[-\w._+]*)?", r"(?b?'''.*?(?(file|https|http|ws|wss)://[-0-9a-zA-Z$_+!`(),.?/;:&=%#]*)", + r"(?P(file|https|http|ws|wss)://[-0-9a-zA-Z$_+!`(),.?/;:&=%#~@]*)", ), ] diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/json.py b/.venv/Lib/site-packages/pip/_vendor/rich/json.py index ea94493..4087c79 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/json.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/json.py @@ -103,7 +103,6 @@ class JSON: if __name__ == "__main__": - import argparse import sys diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/layout.py b/.venv/Lib/site-packages/pip/_vendor/rich/layout.py index 849356e..a6f1a31 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/layout.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/layout.py @@ -227,7 +227,6 @@ class Layout: from pip._vendor.rich.tree import Tree def summary(layout: "Layout") -> Table: - icon = layout.splitter.get_tree_icon() table = Table.grid(padding=(0, 1, 0, 0)) @@ -403,7 +402,7 @@ class Layout: self._render_map = render_map layout_lines: List[List[Segment]] = [[] for _ in range(height)] _islice = islice - for (region, lines) in render_map.values(): + for region, lines in render_map.values(): _x, y, _layout_width, layout_height = region for row, line in zip( _islice(layout_lines, y, y + layout_height), lines diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/live.py b/.venv/Lib/site-packages/pip/_vendor/rich/live.py index 3ebbbc4..cc3a39b 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/live.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/live.py @@ -1,10 +1,12 @@ +from __future__ import annotations + import sys from threading import Event, RLock, Thread from types import TracebackType -from typing import IO, Any, Callable, List, Optional, TextIO, Type, cast +from typing import IO, TYPE_CHECKING, Any, Callable, List, Optional, TextIO, Type, cast from . import get_console -from .console import Console, ConsoleRenderable, RenderableType, RenderHook +from .console import Console, ConsoleRenderable, Group, RenderableType, RenderHook from .control import Control from .file_proxy import FileProxy from .jupyter import JupyterMixin @@ -12,6 +14,10 @@ from .live_render import LiveRender, VerticalOverflowMethod from .screen import Screen from .text import Text +if TYPE_CHECKING: + # Can be replaced with `from typing import Self` in Python 3.11+ + from typing_extensions import Self # pragma: no cover + class _RefreshThread(Thread): """A thread that calls refresh() at regular intervals.""" @@ -37,7 +43,7 @@ class Live(JupyterMixin, RenderHook): Args: renderable (RenderableType, optional): The renderable to live display. Defaults to displaying nothing. - console (Console, optional): Optional Console instance. Default will an internal Console instance writing to stdout. + console (Console, optional): Optional Console instance. Defaults to an internal Console instance writing to stdout. screen (bool, optional): Enable alternate screen mode. Defaults to False. auto_refresh (bool, optional): Enable auto refresh. If disabled, you will need to call `refresh()` or `update()` with refresh flag. Defaults to True refresh_per_second (float, optional): Number of times per second to refresh the live display. Defaults to 4. @@ -87,6 +93,7 @@ class Live(JupyterMixin, RenderHook): self._live_render = LiveRender( self.get_renderable(), vertical_overflow=vertical_overflow ) + self._nested = False @property def is_started(self) -> bool: @@ -110,8 +117,12 @@ class Live(JupyterMixin, RenderHook): with self._lock: if self._started: return - self.console.set_live(self) self._started = True + + if not self.console.set_live(self): + self._nested = True + return + if self._screen: self._alt_screen = self.console.set_alt_screen(True) self.console.show_cursor(False) @@ -136,8 +147,12 @@ class Live(JupyterMixin, RenderHook): with self._lock: if not self._started: return - self.console.clear_live() self._started = False + self.console.clear_live() + if self._nested: + if not self.transient: + self.console.print(self.renderable) + return if self.auto_refresh and self._refresh_thread is not None: self._refresh_thread.stop() @@ -156,13 +171,12 @@ class Live(JupyterMixin, RenderHook): self.console.show_cursor(True) if self._alt_screen: self.console.set_alt_screen(False) - if self.transient and not self._alt_screen: self.console.control(self._live_render.restore_cursor()) if self.ipy_widget is not None and self.transient: self.ipy_widget.close() # pragma: no cover - def __enter__(self) -> "Live": + def __enter__(self) -> Self: self.start(refresh=self._renderable is not None) return self @@ -200,7 +214,13 @@ class Live(JupyterMixin, RenderHook): Returns: RenderableType: Displayed renderable. """ - renderable = self.get_renderable() + live_stack = self.console._live_stack + renderable: RenderableType + if live_stack and self is live_stack[0]: + # The first Live instance will render everything in the Live stack + renderable = Group(*[live.get_renderable() for live in live_stack]) + else: + renderable = self.get_renderable() return Screen(renderable) if self._alt_screen else renderable def update(self, renderable: RenderableType, *, refresh: bool = False) -> None: @@ -221,6 +241,11 @@ class Live(JupyterMixin, RenderHook): """Update the display of the Live Render.""" with self._lock: self._live_render.set_renderable(self.renderable) + if self._nested: + if self.console._live_stack: + self.console._live_stack[0].refresh() + return + if self.console.is_jupyter: # pragma: no cover try: from IPython.display import display @@ -362,7 +387,7 @@ if __name__ == "__main__": # pragma: no cover table.add_column("Destination Currency") table.add_column("Exchange Rate") - for ((source, dest), exchange_rate) in exchange_rate_dict.items(): + for (source, dest), exchange_rate in exchange_rate_dict.items(): table.add_row( source, dest, diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/live_render.py b/.venv/Lib/site-packages/pip/_vendor/rich/live_render.py index b90fbf7..d3da511 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/live_render.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/live_render.py @@ -1,10 +1,4 @@ -import sys -from typing import Optional, Tuple - -if sys.version_info >= (3, 8): - from typing import Literal -else: - from pip._vendor.typing_extensions import Literal # pragma: no cover +from typing import Optional, Tuple, Literal from ._loop import loop_last @@ -82,7 +76,6 @@ class LiveRender: def __rich_console__( self, console: Console, options: ConsoleOptions ) -> RenderResult: - renderable = self.renderable style = console.get_style(self.style) lines = console.render_lines(renderable, options, style=style, pad=False) diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/logging.py b/.venv/Lib/site-packages/pip/_vendor/rich/logging.py index 91368dd..08f34c7 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/logging.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/logging.py @@ -36,11 +36,13 @@ class RichHandler(Handler): markup (bool, optional): Enable console markup in log messages. Defaults to False. rich_tracebacks (bool, optional): Enable rich tracebacks with syntax highlighting and formatting. Defaults to False. tracebacks_width (Optional[int], optional): Number of characters used to render tracebacks, or None for full width. Defaults to None. + tracebacks_code_width (int, optional): Number of code characters used to render tracebacks, or None for full width. Defaults to 88. tracebacks_extra_lines (int, optional): Additional lines of code to render tracebacks, or None for full width. Defaults to None. tracebacks_theme (str, optional): Override pygments theme used in traceback. tracebacks_word_wrap (bool, optional): Enable word wrapping of long tracebacks lines. Defaults to True. tracebacks_show_locals (bool, optional): Enable display of locals in tracebacks. Defaults to False. tracebacks_suppress (Sequence[Union[str, ModuleType]]): Optional sequence of modules or paths to exclude from traceback. + tracebacks_max_frames (int, optional): Optional maximum number of frames returned by traceback. locals_max_length (int, optional): Maximum length of containers before abbreviating, or None for no abbreviation. Defaults to 10. locals_max_string (int, optional): Maximum length of string before truncating, or None to disable. Defaults to 80. @@ -74,11 +76,13 @@ class RichHandler(Handler): markup: bool = False, rich_tracebacks: bool = False, tracebacks_width: Optional[int] = None, + tracebacks_code_width: Optional[int] = 88, tracebacks_extra_lines: int = 3, tracebacks_theme: Optional[str] = None, tracebacks_word_wrap: bool = True, tracebacks_show_locals: bool = False, tracebacks_suppress: Iterable[Union[str, ModuleType]] = (), + tracebacks_max_frames: int = 100, locals_max_length: int = 10, locals_max_string: int = 80, log_time_format: Union[str, FormatTimeCallable] = "[%x %X]", @@ -104,6 +108,8 @@ class RichHandler(Handler): self.tracebacks_word_wrap = tracebacks_word_wrap self.tracebacks_show_locals = tracebacks_show_locals self.tracebacks_suppress = tracebacks_suppress + self.tracebacks_max_frames = tracebacks_max_frames + self.tracebacks_code_width = tracebacks_code_width self.locals_max_length = locals_max_length self.locals_max_string = locals_max_string self.keywords = keywords @@ -140,6 +146,7 @@ class RichHandler(Handler): exc_value, exc_traceback, width=self.tracebacks_width, + code_width=self.tracebacks_code_width, extra_lines=self.tracebacks_extra_lines, theme=self.tracebacks_theme, word_wrap=self.tracebacks_word_wrap, @@ -147,6 +154,7 @@ class RichHandler(Handler): locals_max_length=self.locals_max_length, locals_max_string=self.locals_max_string, suppress=self.tracebacks_suppress, + max_frames=self.tracebacks_max_frames, ) message = record.getMessage() if self.formatter: diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/markup.py b/.venv/Lib/site-packages/pip/_vendor/rich/markup.py index fd80d8c..f617187 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/markup.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/markup.py @@ -64,6 +64,9 @@ def escape( return f"{backslashes}{backslashes}\\{text}" markup = _escape(escape_backslashes, markup) + if markup.endswith("\\") and not markup.endswith("\\\\"): + return markup + "\\" + return markup @@ -110,7 +113,10 @@ def render( Args: markup (str): A string containing console markup. + style: (Union[str, Style]): The style to use. emoji (bool, optional): Also render emoji code. Defaults to True. + emoji_variant (str, optional): Optional emoji variant, either "text" or "emoji". Defaults to None. + Raises: MarkupError: If there is a syntax error in the markup. @@ -226,7 +232,6 @@ def render( if __name__ == "__main__": # pragma: no cover - MARKUP = [ "[red]Hello World[/red]", "[magenta]Hello [b]World[/b]", diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/padding.py b/.venv/Lib/site-packages/pip/_vendor/rich/padding.py index 1b2204f..0161cd1 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/padding.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/padding.py @@ -1,4 +1,4 @@ -from typing import cast, List, Optional, Tuple, TYPE_CHECKING, Union +from typing import TYPE_CHECKING, List, Optional, Tuple, Union if TYPE_CHECKING: from .console import ( @@ -7,11 +7,11 @@ if TYPE_CHECKING: RenderableType, RenderResult, ) + from .jupyter import JupyterMixin from .measure import Measurement -from .style import Style from .segment import Segment - +from .style import Style PaddingDimensions = Union[int, Tuple[int], Tuple[int, int], Tuple[int, int, int, int]] @@ -66,10 +66,10 @@ class Padding(JupyterMixin): _pad = pad[0] return (_pad, _pad, _pad, _pad) if len(pad) == 2: - pad_top, pad_right = cast(Tuple[int, int], pad) + pad_top, pad_right = pad return (pad_top, pad_right, pad_top, pad_right) if len(pad) == 4: - top, right, bottom, left = cast(Tuple[int, int, int, int], pad) + top, right, bottom, left = pad return (top, right, bottom, left) raise ValueError(f"1, 2 or 4 integers required for padding; {len(pad)} given") diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/panel.py b/.venv/Lib/site-packages/pip/_vendor/rich/panel.py index d522d80..07587e3 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/panel.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/panel.py @@ -22,11 +22,13 @@ class Panel(JupyterMixin): Args: renderable (RenderableType): A console renderable object. - box (Box, optional): A Box instance that defines the look of the border (see :ref:`appendix_box`. - Defaults to box.ROUNDED. + box (Box): A Box instance that defines the look of the border (see :ref:`appendix_box`. Defaults to box.ROUNDED. + title (Optional[TextType], optional): Optional title displayed in panel header. Defaults to None. + title_align (AlignMethod, optional): Alignment of title. Defaults to "center". + subtitle (Optional[TextType], optional): Optional subtitle displayed in panel footer. Defaults to None. + subtitle_align (AlignMethod, optional): Alignment of subtitle. Defaults to "center". safe_box (bool, optional): Disable box characters that don't display on windows legacy terminal with *raster* fonts. Defaults to True. - expand (bool, optional): If True the panel will stretch to fill the console - width, otherwise it will be sized to fit the contents. Defaults to True. + expand (bool, optional): If True the panel will stretch to fill the console width, otherwise it will be sized to fit the contents. Defaults to True. style (str, optional): The style of the panel (border and contents). Defaults to "none". border_style (str, optional): The style of the border. Defaults to "none". width (Optional[int], optional): Optional width of panel. Defaults to None to auto-detect. @@ -82,7 +84,9 @@ class Panel(JupyterMixin): style: StyleType = "none", border_style: StyleType = "none", width: Optional[int] = None, + height: Optional[int] = None, padding: PaddingDimensions = (0, 1), + highlight: bool = False, ) -> "Panel": """An alternative constructor that sets expand=False.""" return cls( @@ -96,7 +100,9 @@ class Panel(JupyterMixin): style=style, border_style=border_style, width=width, + height=height, padding=padding, + highlight=highlight, expand=False, ) @@ -168,6 +174,9 @@ class Panel(JupyterMixin): text = text.copy() text.truncate(width) excess_space = width - cell_len(text.plain) + if text.style: + text.stylize(console.get_style(text.style)) + if excess_space: if align == "left": return Text.assemble( diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/pretty.py b/.venv/Lib/site-packages/pip/_vendor/rich/pretty.py index 2bd9eb0..c4a274f 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/pretty.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/pretty.py @@ -3,6 +3,7 @@ import collections import dataclasses import inspect import os +import reprlib import sys from array import array from collections import Counter, UserDict, UserList, defaultdict, deque @@ -15,6 +16,7 @@ from typing import ( Any, Callable, DefaultDict, + Deque, Dict, Iterable, List, @@ -77,7 +79,10 @@ def _is_dataclass_repr(obj: object) -> bool: # Digging in to a lot of internals here # Catching all exceptions in case something is missing on a non CPython implementation try: - return obj.__repr__.__code__.co_filename == dataclasses.__file__ + return obj.__repr__.__code__.co_filename in ( + dataclasses.__file__, + reprlib.__file__, + ) except Exception: # pragma: no coverage return False @@ -130,17 +135,19 @@ def _ipy_display_hook( if _safe_isinstance(value, ConsoleRenderable): console.line() console.print( - value - if _safe_isinstance(value, RichRenderable) - else Pretty( - value, - overflow=overflow, - indent_guides=indent_guides, - max_length=max_length, - max_string=max_string, - max_depth=max_depth, - expand_all=expand_all, - margin=12, + ( + value + if _safe_isinstance(value, RichRenderable) + else Pretty( + value, + overflow=overflow, + indent_guides=indent_guides, + max_length=max_length, + max_string=max_string, + max_depth=max_depth, + expand_all=expand_all, + margin=12, + ) ), crop=crop, new_line_start=True, @@ -196,23 +203,28 @@ def install( assert console is not None builtins._ = None # type: ignore[attr-defined] console.print( - value - if _safe_isinstance(value, RichRenderable) - else Pretty( - value, - overflow=overflow, - indent_guides=indent_guides, - max_length=max_length, - max_string=max_string, - max_depth=max_depth, - expand_all=expand_all, + ( + value + if _safe_isinstance(value, RichRenderable) + else Pretty( + value, + overflow=overflow, + indent_guides=indent_guides, + max_length=max_length, + max_string=max_string, + max_depth=max_depth, + expand_all=expand_all, + ) ), crop=crop, ) builtins._ = value # type: ignore[attr-defined] - if "get_ipython" in globals(): + try: ip = get_ipython() # type: ignore[name-defined] + except NameError: + sys.displayhook = display_hook + else: from IPython.core.formatters import BaseFormatter class RichFormatter(BaseFormatter): # type: ignore[misc] @@ -236,8 +248,6 @@ def install( # replace plain text formatter with rich formatter rich_formatter = RichFormatter() ip.display_formatter.formatters["text/plain"] = rich_formatter - else: - sys.displayhook = display_hook class Pretty(JupyterMixin): @@ -352,6 +362,16 @@ def _get_braces_for_defaultdict(_object: DefaultDict[Any, Any]) -> Tuple[str, st ) +def _get_braces_for_deque(_object: Deque[Any]) -> Tuple[str, str, str]: + if _object.maxlen is None: + return ("deque([", "])", "deque()") + return ( + "deque([", + f"], maxlen={_object.maxlen})", + f"deque(maxlen={_object.maxlen})", + ) + + def _get_braces_for_array(_object: "array[Any]") -> Tuple[str, str, str]: return (f"array({_object.typecode!r}, [", "])", f"array({_object.typecode!r})") @@ -361,7 +381,7 @@ _BRACES: Dict[type, Callable[[Any], Tuple[str, str, str]]] = { array: _get_braces_for_array, defaultdict: _get_braces_for_defaultdict, Counter: lambda _object: ("Counter({", "})", "Counter()"), - deque: lambda _object: ("deque([", "])", "deque()"), + deque: _get_braces_for_deque, dict: lambda _object: ("{", "}", "{}"), UserDict: lambda _object: ("{", "}", "{}"), frozenset: lambda _object: ("frozenset({", "})", "frozenset()"), @@ -708,9 +728,9 @@ def traverse( last=root, ) - def iter_attrs() -> Iterable[ - Tuple[str, Any, Optional[Callable[[Any], str]]] - ]: + def iter_attrs() -> ( + Iterable[Tuple[str, Any, Optional[Callable[[Any], str]]]] + ): """Iterate over attr fields and values.""" for attr in attr_fields: if attr.repr: @@ -761,7 +781,9 @@ def traverse( ) for last, field in loop_last( - field for field in fields(obj) if field.repr + field + for field in fields(obj) + if field.repr and hasattr(obj, field.name) ): child_node = _traverse(getattr(obj, field.name), depth=depth + 1) child_node.key_repr = field.name @@ -845,7 +867,7 @@ def traverse( pop_visited(obj_id) else: node = Node(value_repr=to_repr(obj), last=root) - node.is_tuple = _safe_isinstance(obj, tuple) + node.is_tuple = type(obj) == tuple node.is_namedtuple = _is_namedtuple(obj) return node @@ -985,7 +1007,7 @@ if __name__ == "__main__": # pragma: no cover from pip._vendor.rich import print - # print(Pretty(data, indent_guides=True, max_string=20)) + print(Pretty(data, indent_guides=True, max_string=20)) class Thing: def __repr__(self) -> str: diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/progress.py b/.venv/Lib/site-packages/pip/_vendor/rich/progress.py index 8b0a315..ef6ad60 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/progress.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/progress.py @@ -1,5 +1,6 @@ +from __future__ import annotations + import io -import sys import typing import warnings from abc import ABC, abstractmethod @@ -14,6 +15,7 @@ from os import PathLike, stat from threading import Event, RLock, Thread from types import TracebackType from typing import ( + TYPE_CHECKING, Any, BinaryIO, Callable, @@ -23,10 +25,10 @@ from typing import ( Generic, Iterable, List, + Literal, NamedTuple, NewType, Optional, - Sequence, TextIO, Tuple, Type, @@ -34,10 +36,9 @@ from typing import ( Union, ) -if sys.version_info >= (3, 8): - from typing import Literal -else: - from pip._vendor.typing_extensions import Literal # pragma: no cover +if TYPE_CHECKING: + # Can be replaced with `from typing import Self` in Python 3.11+ + from typing_extensions import Self # pragma: no cover from . import filesize, get_console from .console import Console, Group, JustifyMethod, RenderableType @@ -70,7 +71,7 @@ class _TrackThread(Thread): self.done = Event() self.completed = 0 - super().__init__() + super().__init__(daemon=True) def run(self) -> None: task_id = self.task_id @@ -78,7 +79,7 @@ class _TrackThread(Thread): update_period = self.update_period last_completed = 0 wait = self.done.wait - while not wait(update_period): + while not wait(update_period) and self.progress.live.is_started: completed = self.completed if last_completed != completed: advance(task_id, completed - last_completed) @@ -101,9 +102,10 @@ class _TrackThread(Thread): def track( - sequence: Union[Sequence[ProgressType], Iterable[ProgressType]], + sequence: Iterable[ProgressType], description: str = "Working...", total: Optional[float] = None, + completed: int = 0, auto_refresh: bool = True, console: Optional[Console] = None, transient: bool = False, @@ -119,10 +121,13 @@ def track( ) -> Iterable[ProgressType]: """Track progress by iterating over a sequence. + You can also track progress of an iterable, which might require that you additionally specify ``total``. + Args: - sequence (Iterable[ProgressType]): A sequence (must support "len") you wish to iterate over. + sequence (Iterable[ProgressType]): Values you wish to iterate over and track progress. description (str, optional): Description of task show next to progress bar. Defaults to "Working". total: (float, optional): Total number of steps. Default is len(sequence). + completed (int, optional): Number of steps completed so far. Defaults to 0. auto_refresh (bool, optional): Automatic refresh, disable to force a refresh after each iteration. Default is True. transient: (bool, optional): Clear the progress on exit. Defaults to False. console (Console, optional): Console to write to. Default creates internal Console instance. @@ -166,7 +171,11 @@ def track( with progress: yield from progress.track( - sequence, total=total, description=description, update_period=update_period + sequence, + total=total, + completed=completed, + description=description, + update_period=update_period, ) @@ -269,6 +278,9 @@ class _Reader(RawIOBase, BinaryIO): def write(self, s: Any) -> int: raise UnsupportedOperation("write") + def writelines(self, lines: Iterable[Any]) -> None: + raise UnsupportedOperation("writelines") + class _ReadContext(ContextManager[_I], Generic[_I]): """A utility class to handle a context for both a reader and a progress.""" @@ -681,7 +693,7 @@ class TimeElapsedColumn(ProgressColumn): elapsed = task.finished_time if task.finished else task.elapsed if elapsed is None: return Text("-:--:--", style="progress.elapsed") - delta = timedelta(seconds=int(elapsed)) + delta = timedelta(seconds=max(0, int(elapsed))) return Text(str(delta), style="progress.elapsed") @@ -710,7 +722,6 @@ class TaskProgressColumn(TextColumn): table_column: Optional[Column] = None, show_speed: bool = False, ) -> None: - self.text_format_no_percentage = text_format_no_percentage self.show_speed = show_speed super().__init__( @@ -1051,7 +1062,7 @@ class Progress(JupyterMixin): """Renders an auto-updating progress bar(s). Args: - console (Console, optional): Optional Console instance. Default will an internal Console instance writing to stdout. + console (Console, optional): Optional Console instance. Defaults to an internal Console instance writing to stdout. auto_refresh (bool, optional): Enable auto refresh. If disabled, you will need to call `refresh()`. refresh_per_second (Optional[float], optional): Number of times per second to refresh the progress information or None to use default (10). Defaults to None. speed_estimate_period: (float, optional): Period (in seconds) used to calculate the speed estimate. Defaults to 30. @@ -1114,7 +1125,7 @@ class Progress(JupyterMixin): progress = Progress( SpinnerColumn(), - *Progress.default_columns(), + *Progress.get_default_columns(), "Elapsed:", TimeElapsedColumn(), ) @@ -1162,10 +1173,10 @@ class Progress(JupyterMixin): def stop(self) -> None: """Stop the progress display.""" self.live.stop() - if not self.console.is_interactive: + if not self.console.is_interactive and not self.console.is_jupyter: self.console.print() - def __enter__(self) -> "Progress": + def __enter__(self) -> Self: self.start() return self @@ -1179,17 +1190,21 @@ class Progress(JupyterMixin): def track( self, - sequence: Union[Iterable[ProgressType], Sequence[ProgressType]], + sequence: Iterable[ProgressType], total: Optional[float] = None, + completed: int = 0, task_id: Optional[TaskID] = None, description: str = "Working...", update_period: float = 0.1, ) -> Iterable[ProgressType]: """Track progress by iterating over a sequence. + You can also track progress of an iterable, which might require that you additionally specify ``total``. + Args: - sequence (Sequence[ProgressType]): A sequence of values you want to iterate over and track progress. + sequence (Iterable[ProgressType]): Values you want to iterate over and track progress. total: (float, optional): Total number of steps. Default is len(sequence). + completed (int, optional): Number of steps completed so far. Defaults to 0. task_id: (TaskID): Task to track. Default is new task. description: (str, optional): Description of task, if new task is created. update_period (float, optional): Minimum time (in seconds) between calls to update(). Defaults to 0.1. @@ -1201,9 +1216,9 @@ class Progress(JupyterMixin): total = float(length_hint(sequence)) or None if task_id is None: - task_id = self.add_task(description, total=total) + task_id = self.add_task(description, total=total, completed=completed) else: - self.update(task_id, total=total) + self.update(task_id, total=total, completed=completed) if self.live.auto_refresh: with _TrackThread(self, task_id, update_period) as track_thread: @@ -1327,7 +1342,7 @@ class Progress(JupyterMixin): # normalize the mode (always rb, rt) _mode = "".join(sorted(mode, reverse=False)) if _mode not in ("br", "rt", "r"): - raise ValueError("invalid mode {!r}".format(mode)) + raise ValueError(f"invalid mode {mode!r}") # patch buffering to provide the same behaviour as the builtin `open` line_buffering = buffering == 1 @@ -1636,7 +1651,6 @@ class Progress(JupyterMixin): if __name__ == "__main__": # pragma: no coverage - import random import time @@ -1689,7 +1703,6 @@ if __name__ == "__main__": # pragma: no coverage console=console, transient=False, ) as progress: - task1 = progress.add_task("[red]Downloading", total=1000) task2 = progress.add_task("[green]Processing", total=1000) task3 = progress.add_task("[yellow]Thinking", total=None) diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/progress_bar.py b/.venv/Lib/site-packages/pip/_vendor/rich/progress_bar.py index 67361df..41794f7 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/progress_bar.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/progress_bar.py @@ -108,7 +108,7 @@ class ProgressBar(JupyterMixin): for index in range(PULSE_SIZE): position = index / PULSE_SIZE - fade = 0.5 + cos((position * pi * 2)) / 2.0 + fade = 0.5 + cos(position * pi * 2) / 2.0 color = blend_rgb(fore_color, back_color, cross_fade=fade) append(_Segment(bar, _Style(color=from_triplet(color)))) return segments @@ -156,7 +156,6 @@ class ProgressBar(JupyterMixin): def __rich_console__( self, console: Console, options: ConsoleOptions ) -> RenderResult: - width = min(self.width or options.max_width, options.max_width) ascii = options.legacy_windows or options.ascii_only should_pulse = self.pulse or self.total is None diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/prompt.py b/.venv/Lib/site-packages/pip/_vendor/rich/prompt.py index 2bd0a77..fccb70d 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/prompt.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/prompt.py @@ -36,6 +36,7 @@ class PromptBase(Generic[PromptType]): console (Console, optional): A Console instance or None to use global console. Defaults to None. password (bool, optional): Enable password input. Defaults to False. choices (List[str], optional): A list of valid choices. Defaults to None. + case_sensitive (bool, optional): Matching of choices should be case-sensitive. Defaults to True. show_default (bool, optional): Show default in prompt. Defaults to True. show_choices (bool, optional): Show choices in prompt. Defaults to True. """ @@ -57,6 +58,7 @@ class PromptBase(Generic[PromptType]): console: Optional[Console] = None, password: bool = False, choices: Optional[List[str]] = None, + case_sensitive: bool = True, show_default: bool = True, show_choices: bool = True, ) -> None: @@ -69,6 +71,7 @@ class PromptBase(Generic[PromptType]): self.password = password if choices is not None: self.choices = choices + self.case_sensitive = case_sensitive self.show_default = show_default self.show_choices = show_choices @@ -81,6 +84,7 @@ class PromptBase(Generic[PromptType]): console: Optional[Console] = None, password: bool = False, choices: Optional[List[str]] = None, + case_sensitive: bool = True, show_default: bool = True, show_choices: bool = True, default: DefaultType, @@ -97,6 +101,7 @@ class PromptBase(Generic[PromptType]): console: Optional[Console] = None, password: bool = False, choices: Optional[List[str]] = None, + case_sensitive: bool = True, show_default: bool = True, show_choices: bool = True, stream: Optional[TextIO] = None, @@ -111,6 +116,7 @@ class PromptBase(Generic[PromptType]): console: Optional[Console] = None, password: bool = False, choices: Optional[List[str]] = None, + case_sensitive: bool = True, show_default: bool = True, show_choices: bool = True, default: Any = ..., @@ -126,6 +132,7 @@ class PromptBase(Generic[PromptType]): console (Console, optional): A Console instance or None to use global console. Defaults to None. password (bool, optional): Enable password input. Defaults to False. choices (List[str], optional): A list of valid choices. Defaults to None. + case_sensitive (bool, optional): Matching of choices should be case-sensitive. Defaults to True. show_default (bool, optional): Show default in prompt. Defaults to True. show_choices (bool, optional): Show choices in prompt. Defaults to True. stream (TextIO, optional): Optional text file open for reading to get input. Defaults to None. @@ -135,6 +142,7 @@ class PromptBase(Generic[PromptType]): console=console, password=password, choices=choices, + case_sensitive=case_sensitive, show_default=show_default, show_choices=show_choices, ) @@ -212,7 +220,9 @@ class PromptBase(Generic[PromptType]): bool: True if choice was valid, otherwise False. """ assert self.choices is not None - return value.strip() in self.choices + if self.case_sensitive: + return value.strip() in self.choices + return value.strip().lower() in [choice.lower() for choice in self.choices] def process_response(self, value: str) -> PromptType: """Process response from user, convert to prompt type. @@ -232,9 +242,17 @@ class PromptBase(Generic[PromptType]): except ValueError: raise InvalidResponse(self.validate_error_message) - if self.choices is not None and not self.check_choice(value): - raise InvalidResponse(self.illegal_choice_message) + if self.choices is not None: + if not self.check_choice(value): + raise InvalidResponse(self.illegal_choice_message) + if not self.case_sensitive: + # return the original choice, not the lower case version + return_value = self.response_type( + self.choices[ + [choice.lower() for choice in self.choices].index(value.lower()) + ] + ) return return_value def on_validate_error(self, value: str, error: InvalidResponse) -> None: @@ -307,7 +325,7 @@ class IntPrompt(PromptBase[int]): validate_error_message = "[prompt.invalid]Please enter a valid integer number" -class FloatPrompt(PromptBase[int]): +class FloatPrompt(PromptBase[float]): """A prompt that returns a float. Example: @@ -346,7 +364,6 @@ class Confirm(PromptBase[bool]): if __name__ == "__main__": # pragma: no cover - from pip._vendor.rich import print if Confirm.ask("Run [i]prompt[/i] tests?", default=True): @@ -372,5 +389,12 @@ if __name__ == "__main__": # pragma: no cover fruit = Prompt.ask("Enter a fruit", choices=["apple", "orange", "pear"]) print(f"fruit={fruit!r}") + doggie = Prompt.ask( + "What's the best Dog? (Case INSENSITIVE)", + choices=["Border Terrier", "Collie", "Labradoodle"], + case_sensitive=False, + ) + print(f"doggie={doggie!r}") + else: print("[b]OK :loudly_crying_face:") diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/repr.py b/.venv/Lib/site-packages/pip/_vendor/rich/repr.py index f284bca..10efc42 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/repr.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/repr.py @@ -76,7 +76,7 @@ def auto( param.POSITIONAL_OR_KEYWORD, param.KEYWORD_ONLY, ): - if param.default == param.empty: + if param.default is param.empty: yield getattr(self, param.name) else: yield param.name, getattr(self, param.name), param.default diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/segment.py b/.venv/Lib/site-packages/pip/_vendor/rich/segment.py index e125798..4b5f997 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/segment.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/segment.py @@ -109,42 +109,51 @@ class Segment(NamedTuple): @classmethod @lru_cache(1024 * 16) def _split_cells(cls, segment: "Segment", cut: int) -> Tuple["Segment", "Segment"]: + """Split a segment in to two at a given cell position. + Note that splitting a double-width character, may result in that character turning + into two spaces. + + Args: + segment (Segment): A segment to split. + cut (int): A cell position to cut on. + + Returns: + A tuple of two segments. + """ text, style, control = segment _Segment = Segment - cell_length = segment.cell_length if cut >= cell_length: return segment, _Segment("", style, control) cell_size = get_character_cell_size - pos = int((cut / cell_length) * (len(text) - 1)) + pos = int((cut / cell_length) * len(text)) - before = text[:pos] - cell_pos = cell_len(before) - if cell_pos == cut: - return ( - _Segment(before, style, control), - _Segment(text[pos:], style, control), - ) - while pos < len(text): - char = text[pos] - pos += 1 - cell_pos += cell_size(char) + while True: before = text[:pos] - if cell_pos == cut: + cell_pos = cell_len(before) + out_by = cell_pos - cut + if not out_by: return ( _Segment(before, style, control), _Segment(text[pos:], style, control), ) - if cell_pos > cut: + if out_by == -1 and cell_size(text[pos]) == 2: return ( - _Segment(before[: pos - 1] + " ", style, control), + _Segment(text[:pos] + " ", style, control), + _Segment(" " + text[pos + 1 :], style, control), + ) + if out_by == +1 and cell_size(text[pos - 1]) == 2: + return ( + _Segment(text[: pos - 1] + " ", style, control), _Segment(" " + text[pos:], style, control), ) - - raise AssertionError("Will never reach here") + if cell_pos < cut: + pos += 1 + else: + pos -= 1 def split_cells(self, cut: int) -> Tuple["Segment", "Segment"]: """Split segment in to two segments at the specified column. @@ -152,10 +161,14 @@ class Segment(NamedTuple): If the cut point falls in the middle of a 2-cell wide character then it is replaced by two spaces, to preserve the display width of the parent segment. + Args: + cut (int): Offset within the segment to cut. + Returns: Tuple[Segment, Segment]: Two segments. """ text, style, control = self + assert cut >= 0 if _is_single_cell_widths(text): # Fast path with all 1 cell characters @@ -605,7 +618,7 @@ class Segment(NamedTuple): while True: cut = next(iter_cuts, -1) if cut == -1: - return [] + return if cut != 0: break yield [] diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/spinner.py b/.venv/Lib/site-packages/pip/_vendor/rich/spinner.py index 91ea630..a3a3caf 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/spinner.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/spinner.py @@ -1,4 +1,4 @@ -from typing import cast, List, Optional, TYPE_CHECKING, Union +from typing import TYPE_CHECKING, List, Optional, Union, cast from ._spinners import SPINNERS from .measure import Measurement @@ -6,7 +6,7 @@ from .table import Table from .text import Text if TYPE_CHECKING: - from .console import Console, ConsoleOptions, RenderResult, RenderableType + from .console import Console, ConsoleOptions, RenderableType, RenderResult from .style import StyleType @@ -38,6 +38,7 @@ class Spinner: self.text: "Union[RenderableType, Text]" = ( Text.from_markup(text) if isinstance(text, str) else text ) + self.name = name self.frames = cast(List[str], spinner["frames"])[:] self.interval = cast(float, spinner["interval"]) self.start_time: Optional[float] = None @@ -116,22 +117,16 @@ class Spinner: if __name__ == "__main__": # pragma: no cover from time import sleep - from .columns import Columns - from .panel import Panel + from .console import Group from .live import Live - all_spinners = Columns( - [ + all_spinners = Group( + *[ Spinner(spinner_name, text=Text(repr(spinner_name), style="green")) for spinner_name in sorted(SPINNERS.keys()) - ], - column_first=True, - expand=True, + ] ) - with Live( - Panel(all_spinners, title="Spinners", border_style="blue"), - refresh_per_second=20, - ) as live: + with Live(all_spinners, refresh_per_second=20) as live: while True: sleep(0.1) diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/status.py b/.venv/Lib/site-packages/pip/_vendor/rich/status.py index 09eff40..6574483 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/status.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/status.py @@ -107,7 +107,6 @@ class Status(JupyterMixin): if __name__ == "__main__": # pragma: no cover - from time import sleep from .console import Console diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/style.py b/.venv/Lib/site-packages/pip/_vendor/rich/style.py index 313c889..835d06f 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/style.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/style.py @@ -524,7 +524,7 @@ class Style: if not word: raise errors.StyleSyntaxError("color expected after 'on'") try: - Color.parse(word) is None + Color.parse(word) except ColorParseError as error: raise errors.StyleSyntaxError( f"unable to parse {word!r} as background color; {error}" @@ -663,7 +663,7 @@ class Style: style._set_attributes = self._set_attributes style._link = None style._link_id = "" - style._hash = self._hash + style._hash = None style._null = False style._meta = None return style diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/syntax.py b/.venv/Lib/site-packages/pip/_vendor/rich/syntax.py index 5703376..ec0d903 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/syntax.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/syntax.py @@ -1,5 +1,6 @@ +from __future__ import annotations + import os.path -import platform import re import sys import textwrap @@ -52,7 +53,7 @@ from .text import Text TokenType = Tuple[str, ...] -WINDOWS = platform.system() == "Windows" +WINDOWS = sys.platform == "win32" DEFAULT_THEME = "monokai" # The following styles are based on https://github.com/pygments/pygments/blob/master/pygments/formatters/terminal.py @@ -222,6 +223,18 @@ class _SyntaxHighlightRange(NamedTuple): style: StyleType start: SyntaxPosition end: SyntaxPosition + style_before: bool = False + + +class PaddingProperty: + """Descriptor to get and set padding.""" + + def __get__(self, obj: Syntax, objtype: Type[Syntax]) -> Tuple[int, int, int, int]: + """Space around the Syntax.""" + return obj._padding + + def __set__(self, obj: Syntax, padding: PaddingDimensions) -> None: + obj._padding = Padding.unpack(padding) class Syntax(JupyterMixin): @@ -293,11 +306,13 @@ class Syntax(JupyterMixin): Style(bgcolor=background_color) if background_color else Style() ) self.indent_guides = indent_guides - self.padding = padding + self._padding = Padding.unpack(padding) self._theme = self.get_theme(theme) self._stylized_ranges: List[_SyntaxHighlightRange] = [] + padding = PaddingProperty() + @classmethod def from_path( cls, @@ -371,8 +386,8 @@ class Syntax(JupyterMixin): is supplied, the lexer will be chosen based on the file extension.. Args: - path (AnyStr): The path to the file containing the code you wish to know the lexer for. - code (str, optional): Optional string of code that will be used as a fallback if no lexer + path (AnyStr): The path to the file containing the code you wish to know the lexer for. + code (str, optional): Optional string of code that will be used as a fallback if no lexer is found for the supplied path. Returns: @@ -439,6 +454,16 @@ class Syntax(JupyterMixin): except ClassNotFound: return None + @property + def default_lexer(self) -> Lexer: + """A Pygments Lexer to use if one is not specified or invalid.""" + return get_lexer_by_name( + "text", + stripnl=False, + ensurenl=True, + tabsize=self.tab_size, + ) + def highlight( self, code: str, @@ -467,7 +492,7 @@ class Syntax(JupyterMixin): ) _get_theme_style = self._theme.get_style_for_token - lexer = self.lexer + lexer = self.lexer or self.default_lexer if lexer is None: text.append(code) @@ -525,7 +550,11 @@ class Syntax(JupyterMixin): return text def stylize_range( - self, style: StyleType, start: SyntaxPosition, end: SyntaxPosition + self, + style: StyleType, + start: SyntaxPosition, + end: SyntaxPosition, + style_before: bool = False, ) -> None: """ Adds a custom style on a part of the code, that will be applied to the syntax display when it's rendered. @@ -535,8 +564,11 @@ class Syntax(JupyterMixin): style (StyleType): The style to apply. start (Tuple[int, int]): The start of the range, in the form `[line number, column index]`. end (Tuple[int, int]): The end of the range, in the form `[line number, column index]`. + style_before (bool): Apply the style before any existing styles. """ - self._stylized_ranges.append(_SyntaxHighlightRange(style, start, end)) + self._stylized_ranges.append( + _SyntaxHighlightRange(style, start, end, style_before) + ) def _get_line_numbers_color(self, blend: float = 0.3) -> Color: background_style = self._theme.get_background_style() + self.background_style @@ -590,7 +622,7 @@ class Syntax(JupyterMixin): def __rich_measure__( self, console: "Console", options: "ConsoleOptions" ) -> "Measurement": - _, right, _, left = Padding.unpack(self.padding) + _, right, _, left = self.padding padding = left + right if self.code_width is not None: width = self.code_width + self._numbers_column_width + padding + 1 @@ -609,10 +641,8 @@ class Syntax(JupyterMixin): self, console: Console, options: ConsoleOptions ) -> RenderResult: segments = Segments(self._get_syntax(console, options)) - if self.padding: - yield Padding( - segments, style=self._theme.get_background_style(), pad=self.padding - ) + if any(self.padding): + yield Padding(segments, style=self._get_base_style(), pad=self.padding) else: yield segments @@ -625,15 +655,19 @@ class Syntax(JupyterMixin): Get the Segments for the Syntax object, excluding any vertical/horizontal padding """ transparent_background = self._get_base_style().transparent_background + _pad_top, pad_right, _pad_bottom, pad_left = self.padding + horizontal_padding = pad_left + pad_right code_width = ( ( (options.max_width - self._numbers_column_width - 1) if self.line_numbers else options.max_width ) + - horizontal_padding if self.code_width is None else self.code_width ) + code_width = max(0, code_width) ends_on_nl, processed_code = self._process_code(self.code) text = self.highlight(processed_code, self.line_range) @@ -778,7 +812,10 @@ class Syntax(JupyterMixin): newlines_offsets, stylized_range.end ) if start is not None and end is not None: - text.stylize(stylized_range.style, start, end) + if stylized_range.style_before: + text.stylize_before(stylized_range.style, start, end) + else: + text.stylize(stylized_range.style, start, end) def _process_code(self, code: str) -> Tuple[bool, str]: """ diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/table.py b/.venv/Lib/site-packages/pip/_vendor/rich/table.py index 17409f2..2b9e3b5 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/table.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/table.py @@ -54,7 +54,7 @@ class Column: show_footer (bool, optional): Show a footer row. Defaults to False. show_edge (bool, optional): Draw a box around the outside of the table. Defaults to True. show_lines (bool, optional): Draw lines between every row. Defaults to False. - leading (bool, optional): Number of blank lines between rows (precludes ``show_lines``). Defaults to 0. + leading (int, optional): Number of blank lines between rows (precludes ``show_lines``). Defaults to 0. style (Union[str, Style], optional): Default style for the table. Defaults to "none". row_styles (List[Union, str], optional): Optional list of row styles, if more than one style is given then the styles will alternate. Defaults to None. header_style (Union[str, Style], optional): Style of the header. Defaults to "table.header". @@ -106,6 +106,9 @@ class Column: no_wrap: bool = False """bool: Prevent wrapping of text within the column. Defaults to ``False``.""" + highlight: bool = False + """bool: Apply highlighter to column. Defaults to ``False``.""" + _index: int = 0 """Index of column.""" @@ -167,7 +170,7 @@ class Table(JupyterMixin): show_footer (bool, optional): Show a footer row. Defaults to False. show_edge (bool, optional): Draw a box around the outside of the table. Defaults to True. show_lines (bool, optional): Draw lines between every row. Defaults to False. - leading (bool, optional): Number of blank lines between rows (precludes ``show_lines``). Defaults to 0. + leading (int, optional): Number of blank lines between rows (precludes ``show_lines``). Defaults to 0. style (Union[str, Style], optional): Default style for the table. Defaults to "none". row_styles (List[Union, str], optional): Optional list of row styles, if more than one style is given then the styles will alternate. Defaults to None. header_style (Union[str, Style], optional): Style of the header. Defaults to "table.header". @@ -212,7 +215,6 @@ class Table(JupyterMixin): caption_justify: "JustifyMethod" = "center", highlight: bool = False, ) -> None: - self.columns: List[Column] = [] self.rows: List[Row] = [] self.title = title @@ -366,6 +368,7 @@ class Table(JupyterMixin): footer: "RenderableType" = "", *, header_style: Optional[StyleType] = None, + highlight: Optional[bool] = None, footer_style: Optional[StyleType] = None, style: Optional[StyleType] = None, justify: "JustifyMethod" = "left", @@ -385,6 +388,7 @@ class Table(JupyterMixin): footer (RenderableType, optional): Text or renderable for the footer. Defaults to "". header_style (Union[str, Style], optional): Style for the header, or None for default. Defaults to None. + highlight (bool, optional): Whether to highlight the text. The default of None uses the value of the table (self) object. footer_style (Union[str, Style], optional): Style for the footer, or None for default. Defaults to None. style (Union[str, Style], optional): Style for the column cells, or None for default. Defaults to None. justify (JustifyMethod, optional): Alignment for cells. Defaults to "left". @@ -402,6 +406,7 @@ class Table(JupyterMixin): header=header, footer=footer, header_style=header_style or "", + highlight=highlight if highlight is not None else self.highlight, footer_style=footer_style or "", style=style or "", justify=justify, @@ -446,7 +451,7 @@ class Table(JupyterMixin): ] for index, renderable in enumerate(cell_renderables): if index == len(columns): - column = Column(_index=index) + column = Column(_index=index, highlight=self.highlight) for _ in self.rows: add_cell(column, Text("")) self.columns.append(column) @@ -471,7 +476,6 @@ class Table(JupyterMixin): def __rich_console__( self, console: "Console", options: "ConsoleOptions" ) -> "RenderResult": - if not self.columns: yield Segment("\n") return @@ -685,7 +689,7 @@ class Table(JupyterMixin): getattr(renderable, "vertical", None) or column.vertical, ) else: - for (style, renderable) in raw_cells: + for style, renderable in raw_cells: yield _Cell( style, renderable, @@ -777,16 +781,16 @@ class Table(JupyterMixin): _Segment(_box.head_right, border_style), _Segment(_box.head_vertical, border_style), ), - ( - _Segment(_box.foot_left, border_style), - _Segment(_box.foot_right, border_style), - _Segment(_box.foot_vertical, border_style), - ), ( _Segment(_box.mid_left, border_style), _Segment(_box.mid_right, border_style), _Segment(_box.mid_vertical, border_style), ), + ( + _Segment(_box.foot_left, border_style), + _Segment(_box.foot_right, border_style), + _Segment(_box.foot_vertical, border_style), + ), ] if show_edge: yield _Segment(_box.get_top(widths), border_style) @@ -820,6 +824,7 @@ class Table(JupyterMixin): no_wrap=column.no_wrap, overflow=column.overflow, height=None, + highlight=column.highlight, ) lines = console.render_lines( cell.renderable, @@ -924,7 +929,6 @@ class Table(JupyterMixin): if __name__ == "__main__": # pragma: no cover from pip._vendor.rich.console import Console from pip._vendor.rich.highlighter import ReprHighlighter - from pip._vendor.rich.table import Table as Table from ._timer import timer diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/text.py b/.venv/Lib/site-packages/pip/_vendor/rich/text.py index 998cb87..5a0c6b1 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/text.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/text.py @@ -11,6 +11,7 @@ from typing import ( List, NamedTuple, Optional, + Pattern, Tuple, Union, ) @@ -38,6 +39,7 @@ DEFAULT_OVERFLOW: "OverflowMethod" = "fold" _re_whitespace = re.compile(r"\s+$") TextType = Union[str, "Text"] +"""A plain string or a :class:`Text` instance.""" GetStyleCallable = Callable[[str], Optional[StyleType]] @@ -97,6 +99,21 @@ class Span(NamedTuple): return self return Span(start, min(offset, end), style) + def extend(self, cells: int) -> "Span": + """Extend the span by the given number of cells. + + Args: + cells (int): Additional space to add to end of span. + + Returns: + Span: A span. + """ + if cells: + start, end, style = self + return Span(start, end + cells, style) + else: + return self + class Text(JupyterMixin): """Text with color / style. @@ -108,7 +125,7 @@ class Text(JupyterMixin): overflow (str, optional): Overflow method: "crop", "fold", "ellipsis". Defaults to None. no_wrap (bool, optional): Disable text wrapping, or None for default. Defaults to None. end (str, optional): Character to end text with. Defaults to "\\\\n". - tab_size (int): Number of spaces per tab, or ``None`` to use ``console.tab_size``. Defaults to 8. + tab_size (int): Number of spaces per tab, or ``None`` to use ``console.tab_size``. Defaults to None. spans (List[Span], optional). A list of predefined style spans. Defaults to None. """ @@ -133,7 +150,7 @@ class Text(JupyterMixin): overflow: Optional["OverflowMethod"] = None, no_wrap: Optional[bool] = None, end: str = "\n", - tab_size: Optional[int] = 8, + tab_size: Optional[int] = None, spans: Optional[List[Span]] = None, ) -> None: sanitized_text = strip_control_codes(text) @@ -157,7 +174,7 @@ class Text(JupyterMixin): return self.plain def __repr__(self) -> str: - return f"" + return f"" def __add__(self, other: Any) -> "Text": if isinstance(other, (str, Text)): @@ -255,7 +272,9 @@ class Text(JupyterMixin): Args: text (str): A string containing console markup. + style (Union[str, Style], optional): Base style for text. Defaults to "". emoji (bool, optional): Also render emoji code. Defaults to True. + emoji_variant (str, optional): Optional emoji variant, either "text" or "emoji". Defaults to None. justify (str, optional): Justify method: "left", "center", "full", "right". Defaults to None. overflow (str, optional): Overflow method: "crop", "fold", "ellipsis". Defaults to None. end (str, optional): Character to end text with. Defaults to "\\\\n". @@ -292,7 +311,7 @@ class Text(JupyterMixin): overflow (str, optional): Overflow method: "crop", "fold", "ellipsis". Defaults to None. no_wrap (bool, optional): Disable text wrapping, or None for default. Defaults to None. end (str, optional): Character to end text with. Defaults to "\\\\n". - tab_size (int): Number of spaces per tab, or ``None`` to use ``console.tab_size``. Defaults to 8. + tab_size (int): Number of spaces per tab, or ``None`` to use ``console.tab_size``. Defaults to None. """ from .ansi import AnsiDecoder @@ -353,8 +372,9 @@ class Text(JupyterMixin): style (Union[str, Style], optional): Base style for text. Defaults to "". justify (str, optional): Justify method: "left", "center", "full", "right". Defaults to None. overflow (str, optional): Overflow method: "crop", "fold", "ellipsis". Defaults to None. + no_wrap (bool, optional): Disable text wrapping, or None for default. Defaults to None. end (str, optional): Character to end text with. Defaults to "\\\\n". - tab_size (int): Number of spaces per tab, or ``None`` to use ``console.tab_size``. Defaults to 8. + tab_size (int): Number of spaces per tab, or ``None`` to use ``console.tab_size``. Defaults to None. meta (Dict[str, Any], optional). Meta data to apply to text, or None for no meta data. Default to None Returns: @@ -408,7 +428,7 @@ class Text(JupyterMixin): self._spans = spans[:] def blank_copy(self, plain: str = "") -> "Text": - """Return a new Text instance with copied meta data (but not the string or spans).""" + """Return a new Text instance with copied metadata (but not the string or spans).""" copy_self = Text( plain, style=self.style, @@ -489,7 +509,7 @@ class Text(JupyterMixin): def apply_meta( self, meta: Dict[str, Any], start: int = 0, end: Optional[int] = None ) -> None: - """Apply meta data to the text, or a portion of the text. + """Apply metadata to the text, or a portion of the text. Args: meta (Dict[str, Any]): A dict of meta information. @@ -549,9 +569,30 @@ class Text(JupyterMixin): style += get_style(span_style, default="") return style + def extend_style(self, spaces: int) -> None: + """Extend the Text given number of spaces where the spaces have the same style as the last character. + + Args: + spaces (int): Number of spaces to add to the Text. + """ + if spaces <= 0: + return + spans = self.spans + new_spaces = " " * spaces + if spans: + end_offset = len(self) + self._spans[:] = [ + span.extend(spaces) if span.end >= end_offset else span + for span in spans + ] + self._text.append(new_spaces) + self._length += spaces + else: + self.plain += new_spaces + def highlight_regex( self, - re_highlight: str, + re_highlight: Union[Pattern[str], str], style: Optional[Union[GetStyleCallable, StyleType]] = None, *, style_prefix: str = "", @@ -560,7 +601,7 @@ class Text(JupyterMixin): translated to styles. Args: - re_highlight (str): A regular expression. + re_highlight (Union[re.Pattern, str]): A regular expression object or string. style (Union[GetStyleCallable, StyleType]): Optional style to apply to whole match, or a callable which accepts the matched text and returns a style. Defaults to None. style_prefix (str, optional): Optional prefix to add to style group names. @@ -572,7 +613,9 @@ class Text(JupyterMixin): append_span = self._spans.append _Span = Span plain = self.plain - for match in re.finditer(re_highlight, plain): + if isinstance(re_highlight, str): + re_highlight = re.compile(re_highlight) + for match in re_highlight.finditer(plain): get_span = match.span if style: start, end = get_span() @@ -597,9 +640,9 @@ class Text(JupyterMixin): """Highlight words with a style. Args: - words (Iterable[str]): Worlds to highlight. + words (Iterable[str]): Words to highlight. style (Union[str, Style]): Style to apply. - case_sensitive (bool, optional): Enable case sensitive matchings. Defaults to True. + case_sensitive (bool, optional): Enable case sensitive matching. Defaults to True. Returns: int: Number of words highlighted. @@ -646,7 +689,7 @@ class Text(JupyterMixin): def __rich_console__( self, console: "Console", options: "ConsoleOptions" ) -> Iterable[Segment]: - tab_size: int = console.tab_size or self.tab_size or 8 + tab_size: int = console.tab_size if self.tab_size is None else self.tab_size justify = self.justify or options.justify or DEFAULT_JUSTIFY overflow = self.overflow or options.overflow or DEFAULT_OVERFLOW @@ -781,27 +824,35 @@ class Text(JupyterMixin): """ if "\t" not in self.plain: return - pos = 0 if tab_size is None: tab_size = self.tab_size - assert tab_size is not None - result = self.blank_copy() - append = result.append + if tab_size is None: + tab_size = 8 + + new_text: List[Text] = [] + append = new_text.append - _style = self.style for line in self.split("\n", include_separator=True): - parts = line.split("\t", include_separator=True) - for part in parts: - if part.plain.endswith("\t"): - part._text = [part.plain[:-1] + " "] - append(part) - pos += len(part) - spaces = tab_size - ((pos - 1) % tab_size) - 1 - if spaces: - append(" " * spaces, _style) - pos += spaces - else: + if "\t" not in line.plain: + append(line) + else: + cell_position = 0 + parts = line.split("\t", include_separator=True) + for part in parts: + if part.plain.endswith("\t"): + part._text[-1] = part._text[-1][:-1] + " " + cell_position += part.cell_len + tab_remainder = cell_position % tab_size + if tab_remainder: + spaces = tab_size - tab_remainder + part.extend_style(spaces) + cell_position += spaces + else: + cell_position += part.cell_len append(part) + + result = Text("").join(new_text) + self._text = [result.plain] self._length = len(self.plain) self._spans[:] = result._spans @@ -852,6 +903,7 @@ class Text(JupyterMixin): Args: count (int): Width of padding. + character (str): The character to pad with. Must be a string of length 1. """ assert len(character) == 1, "Character must be a string of length 1" if count: @@ -932,7 +984,7 @@ class Text(JupyterMixin): self._text.append(sanitized_text) offset = len(self) text_length = len(sanitized_text) - if style is not None: + if style: self._spans.append(Span(offset, offset + text_length, style)) self._length += text_length elif isinstance(text, Text): @@ -942,14 +994,14 @@ class Text(JupyterMixin): "style must not be set when appending Text instance" ) text_length = self._length - if text.style is not None: + if text.style: self._spans.append( _Span(text_length, text_length + len(text), text.style) ) self._text.append(text.plain) self._spans.extend( _Span(start + text_length, end + text_length, style) - for start, end, style in text._spans + for start, end, style in text._spans.copy() ) self._length += len(text) return self @@ -958,17 +1010,20 @@ class Text(JupyterMixin): """Append another Text instance. This method is more performant that Text.append, but only works for Text. + Args: + text (Text): The Text instance to append to this instance. + Returns: Text: Returns self for chaining. """ _Span = Span text_length = self._length - if text.style is not None: + if text.style: self._spans.append(_Span(text_length, text_length + len(text), text.style)) self._text.append(text.plain) self._spans.extend( _Span(start + text_length, end + text_length, style) - for start, end, style in text._spans + for start, end, style in text._spans.copy() ) self._length += len(text) return self @@ -979,7 +1034,7 @@ class Text(JupyterMixin): """Append iterable of str and style. Style may be a Style instance or a str style definition. Args: - pairs (Iterable[Tuple[str, Optional[StyleType]]]): An iterable of tuples containing str content and style. + tokens (Iterable[Tuple[str, Optional[StyleType]]]): An iterable of tuples containing str content and style. Returns: Text: Returns self for chaining. @@ -989,8 +1044,9 @@ class Text(JupyterMixin): _Span = Span offset = len(self) for content, style in tokens: + content = strip_control_codes(content) append_text(content) - if style is not None: + if style: append_span(_Span(offset, offset + len(content), style)) offset += len(content) self._length = offset @@ -1088,7 +1144,6 @@ class Text(JupyterMixin): _Span = Span for span_start, span_end, style in self._spans: - lower_bound = 0 upper_bound = line_count start_line_no = (lower_bound + upper_bound) // 2 @@ -1158,8 +1213,7 @@ class Text(JupyterMixin): Args: console (Console): Console instance. - width (int): Number of characters per line. - emoji (bool, optional): Also render emoji code. Defaults to True. + width (int): Number of cells available per line. justify (str, optional): Justify method: "default", "left", "center", "full", "right". Defaults to "default". overflow (str, optional): Overflow method: "crop", "fold", or "ellipsis". Defaults to None. tab_size (int, optional): Default tab size. Defaults to 8. diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/theme.py b/.venv/Lib/site-packages/pip/_vendor/rich/theme.py index 471dfb2..227f1d8 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/theme.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/theme.py @@ -1,5 +1,5 @@ import configparser -from typing import Dict, List, IO, Mapping, Optional +from typing import IO, Dict, List, Mapping, Optional from .default_styles import DEFAULT_STYLES from .style import Style, StyleType @@ -69,7 +69,7 @@ class Theme: Returns: Theme: A new theme instance. """ - with open(path, "rt", encoding=encoding) as config_file: + with open(path, encoding=encoding) as config_file: return cls.from_file(config_file, source=path, inherit=inherit) diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/traceback.py b/.venv/Lib/site-packages/pip/_vendor/rich/traceback.py index c4ffe1f..01b2f50 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/traceback.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/traceback.py @@ -1,10 +1,9 @@ -from __future__ import absolute_import - +import inspect import linecache import os -import platform import sys from dataclasses import dataclass, field +from itertools import islice from traceback import walk_tb from types import ModuleType, TracebackType from typing import ( @@ -15,6 +14,7 @@ from typing import ( List, Optional, Sequence, + Set, Tuple, Type, Union, @@ -27,28 +27,64 @@ from pip._vendor.pygments.token import Token from pip._vendor.pygments.util import ClassNotFound from . import pretty -from ._loop import loop_last +from ._loop import loop_first_last, loop_last from .columns import Columns -from .console import Console, ConsoleOptions, ConsoleRenderable, RenderResult, group +from .console import ( + Console, + ConsoleOptions, + ConsoleRenderable, + Group, + RenderResult, + group, +) from .constrain import Constrain from .highlighter import RegexHighlighter, ReprHighlighter from .panel import Panel from .scope import render_scope from .style import Style -from .syntax import Syntax +from .syntax import Syntax, SyntaxPosition from .text import Text from .theme import Theme -WINDOWS = platform.system() == "Windows" +WINDOWS = sys.platform == "win32" LOCALS_MAX_LENGTH = 10 LOCALS_MAX_STRING = 80 +def _iter_syntax_lines( + start: SyntaxPosition, end: SyntaxPosition +) -> Iterable[Tuple[int, int, int]]: + """Yield start and end positions per line. + + Args: + start: Start position. + end: End position. + + Returns: + Iterable of (LINE, COLUMN1, COLUMN2). + """ + + line1, column1 = start + line2, column2 = end + + if line1 == line2: + yield line1, column1, column2 + else: + for first, last, line_no in loop_first_last(range(line1, line2 + 1)): + if first: + yield line_no, column1, -1 + elif last: + yield line_no, 0, column2 + else: + yield line_no, 0, -1 + + def install( *, console: Optional[Console] = None, width: Optional[int] = 100, + code_width: Optional[int] = 88, extra_lines: int = 3, theme: Optional[str] = None, word_wrap: bool = False, @@ -69,6 +105,7 @@ def install( Args: console (Optional[Console], optional): Console to write exception to. Default uses internal Console instance. width (Optional[int], optional): Width (in characters) of traceback. Defaults to 100. + code_width (Optional[int], optional): Code width (in characters) of traceback. Defaults to 88. extra_lines (int, optional): Extra lines of code. Defaults to 3. theme (Optional[str], optional): Pygments theme to use in traceback. Defaults to ``None`` which will pick a theme appropriate for the platform. @@ -99,25 +136,25 @@ def install( value: BaseException, traceback: Optional[TracebackType], ) -> None: - traceback_console.print( - Traceback.from_exception( - type_, - value, - traceback, - width=width, - extra_lines=extra_lines, - theme=theme, - word_wrap=word_wrap, - show_locals=show_locals, - locals_max_length=locals_max_length, - locals_max_string=locals_max_string, - locals_hide_dunder=locals_hide_dunder, - locals_hide_sunder=bool(locals_hide_sunder), - indent_guides=indent_guides, - suppress=suppress, - max_frames=max_frames, - ) + exception_traceback = Traceback.from_exception( + type_, + value, + traceback, + width=width, + code_width=code_width, + extra_lines=extra_lines, + theme=theme, + word_wrap=word_wrap, + show_locals=show_locals, + locals_max_length=locals_max_length, + locals_max_string=locals_max_string, + locals_hide_dunder=locals_hide_dunder, + locals_hide_sunder=bool(locals_hide_sunder), + indent_guides=indent_guides, + suppress=suppress, + max_frames=max_frames, ) + traceback_console.print(exception_traceback) def ipy_excepthook_closure(ip: Any) -> None: # pragma: no cover tb_data = {} # store information about showtraceback call @@ -141,7 +178,9 @@ def install( # determine correct tb_offset compiled = tb_data.get("running_compiled_code", False) - tb_offset = tb_data.get("tb_offset", 1 if compiled else 0) + tb_offset = tb_data.get("tb_offset") + if tb_offset is None: + tb_offset = 1 if compiled else 0 # remove ipython internal frames from trace with tb_offset for _ in range(tb_offset): if tb is None: @@ -179,6 +218,7 @@ class Frame: name: str line: str = "" locals: Optional[Dict[str, pretty.Node]] = None + last_instruction: Optional[Tuple[Tuple[int, int], Tuple[int, int]]] = None @dataclass @@ -188,6 +228,7 @@ class _SyntaxError: line: str lineno: int msg: str + notes: List[str] = field(default_factory=list) @dataclass @@ -197,6 +238,9 @@ class Stack: syntax_error: Optional[_SyntaxError] = None is_cause: bool = False frames: List[Frame] = field(default_factory=list) + notes: List[str] = field(default_factory=list) + is_group: bool = False + exceptions: List["Trace"] = field(default_factory=list) @dataclass @@ -215,6 +259,7 @@ class Traceback: trace (Trace, optional): A `Trace` object produced from `extract`. Defaults to None, which uses the last exception. width (Optional[int], optional): Number of characters used to traceback. Defaults to 100. + code_width (Optional[int], optional): Number of code characters used to traceback. Defaults to 88. extra_lines (int, optional): Additional lines of code to render. Defaults to 3. theme (str, optional): Override pygments theme used in traceback. word_wrap (bool, optional): Enable word wrapping of long lines. Defaults to False. @@ -243,6 +288,7 @@ class Traceback: trace: Optional[Trace] = None, *, width: Optional[int] = 100, + code_width: Optional[int] = 88, extra_lines: int = 3, theme: Optional[str] = None, word_wrap: bool = False, @@ -266,6 +312,7 @@ class Traceback: ) self.trace = trace self.width = width + self.code_width = code_width self.extra_lines = extra_lines self.theme = Syntax.get_theme(theme or "ansi_dark") self.word_wrap = word_wrap @@ -297,6 +344,7 @@ class Traceback: traceback: Optional[TracebackType], *, width: Optional[int] = 100, + code_width: Optional[int] = 88, extra_lines: int = 3, theme: Optional[str] = None, word_wrap: bool = False, @@ -316,6 +364,7 @@ class Traceback: exc_value (BaseException): Exception value. traceback (TracebackType): Python Traceback object. width (Optional[int], optional): Number of characters used to traceback. Defaults to 100. + code_width (Optional[int], optional): Number of code characters used to traceback. Defaults to 88. extra_lines (int, optional): Additional lines of code to render. Defaults to 3. theme (str, optional): Override pygments theme used in traceback. word_wrap (bool, optional): Enable word wrapping of long lines. Defaults to False. @@ -346,6 +395,7 @@ class Traceback: return cls( rich_traceback, width=width, + code_width=code_width, extra_lines=extra_lines, theme=theme, word_wrap=word_wrap, @@ -371,6 +421,7 @@ class Traceback: locals_max_string: int = LOCALS_MAX_STRING, locals_hide_dunder: bool = True, locals_hide_sunder: bool = False, + _visited_exceptions: Optional[Set[BaseException]] = None, ) -> Trace: """Extract traceback information. @@ -394,6 +445,12 @@ class Traceback: from pip._vendor.rich import _IMPORT_CWD + notes: List[str] = getattr(exc_value, "__notes__", None) or [] + + grouped_exceptions: Set[BaseException] = ( + set() if _visited_exceptions is None else _visited_exceptions + ) + def safe_str(_object: Any) -> str: """Don't allow exceptions from __str__ to propagate.""" try: @@ -406,8 +463,29 @@ class Traceback: exc_type=safe_str(exc_type.__name__), exc_value=safe_str(exc_value), is_cause=is_cause, + notes=notes, ) + if sys.version_info >= (3, 11): + if isinstance(exc_value, (BaseExceptionGroup, ExceptionGroup)): + stack.is_group = True + for exception in exc_value.exceptions: + if exception in grouped_exceptions: + continue + grouped_exceptions.add(exception) + stack.exceptions.append( + Traceback.extract( + type(exception), + exception, + exception.__traceback__, + show_locals=show_locals, + locals_max_length=locals_max_length, + locals_hide_dunder=locals_hide_dunder, + locals_hide_sunder=locals_hide_sunder, + _visited_exceptions=grouped_exceptions, + ) + ) + if isinstance(exc_value, SyntaxError): stack.syntax_error = _SyntaxError( offset=exc_value.offset or 0, @@ -415,13 +493,14 @@ class Traceback: lineno=exc_value.lineno or 0, line=exc_value.text or "", msg=exc_value.msg, + notes=notes, ) stacks.append(stack) append = stack.frames.append def get_locals( - iter_locals: Iterable[Tuple[str, object]] + iter_locals: Iterable[Tuple[str, object]], ) -> Iterable[Tuple[str, object]]: """Extract locals from an iterator of key pairs.""" if not (locals_hide_dunder or locals_hide_sunder): @@ -436,6 +515,35 @@ class Traceback: for frame_summary, line_no in walk_tb(traceback): filename = frame_summary.f_code.co_filename + + last_instruction: Optional[Tuple[Tuple[int, int], Tuple[int, int]]] + last_instruction = None + if sys.version_info >= (3, 11): + instruction_index = frame_summary.f_lasti // 2 + instruction_position = next( + islice( + frame_summary.f_code.co_positions(), + instruction_index, + instruction_index + 1, + ) + ) + ( + start_line, + end_line, + start_column, + end_column, + ) = instruction_position + if ( + start_line is not None + and end_line is not None + and start_column is not None + and end_column is not None + ): + last_instruction = ( + (start_line, start_column), + (end_line, end_column), + ) + if filename and not filename.startswith("<"): if not os.path.isabs(filename): filename = os.path.join(_IMPORT_CWD, filename) @@ -446,42 +554,50 @@ class Traceback: filename=filename or "?", lineno=line_no, name=frame_summary.f_code.co_name, - locals={ - key: pretty.traverse( - value, - max_length=locals_max_length, - max_string=locals_max_string, - ) - for key, value in get_locals(frame_summary.f_locals.items()) - } - if show_locals - else None, + locals=( + { + key: pretty.traverse( + value, + max_length=locals_max_length, + max_string=locals_max_string, + ) + for key, value in get_locals(frame_summary.f_locals.items()) + if not (inspect.isfunction(value) or inspect.isclass(value)) + } + if show_locals + else None + ), + last_instruction=last_instruction, ) append(frame) if frame_summary.f_locals.get("_rich_traceback_guard", False): del stack.frames[:] - cause = getattr(exc_value, "__cause__", None) - if cause: - exc_type = cause.__class__ - exc_value = cause - # __traceback__ can be None, e.g. for exceptions raised by the - # 'multiprocessing' module - traceback = cause.__traceback__ - is_cause = True - continue + if not grouped_exceptions: + cause = getattr(exc_value, "__cause__", None) + if cause is not None and cause is not exc_value: + exc_type = cause.__class__ + exc_value = cause + # __traceback__ can be None, e.g. for exceptions raised by the + # 'multiprocessing' module + traceback = cause.__traceback__ + is_cause = True + continue - cause = exc_value.__context__ - if cause and not getattr(exc_value, "__suppress_context__", False): - exc_type = cause.__class__ - exc_value = cause - traceback = cause.__traceback__ - is_cause = False - continue + cause = exc_value.__context__ + if cause is not None and not getattr( + exc_value, "__suppress_context__", False + ): + exc_type = cause.__class__ + exc_value = cause + traceback = cause.__traceback__ + is_cause = False + continue # No cover, code is reached but coverage doesn't recognize it. break # pragma: no cover trace = Trace(stacks=stacks) + return trace def __rich_console__( @@ -514,7 +630,9 @@ class Traceback: ) highlighter = ReprHighlighter() - for last, stack in loop_last(reversed(self.trace.stacks)): + + @group() + def render_stack(stack: Stack, last: bool) -> RenderResult: if stack.frames: stack_renderable: ConsoleRenderable = Panel( self._render_stack(stack), @@ -527,6 +645,7 @@ class Traceback: stack_renderable = Constrain(stack_renderable, self.width) with console.use_theme(traceback_theme): yield stack_renderable + if stack.syntax_error is not None: with console.use_theme(traceback_theme): yield Constrain( @@ -552,6 +671,24 @@ class Traceback: else: yield Text.assemble((f"{stack.exc_type}", "traceback.exc_type")) + for note in stack.notes: + yield Text.assemble(("[NOTE] ", "traceback.note"), highlighter(note)) + + if stack.is_group: + for group_no, group_exception in enumerate(stack.exceptions, 1): + grouped_exceptions: List[Group] = [] + for group_last, group_stack in loop_last(group_exception.stacks): + grouped_exceptions.append(render_stack(group_stack, group_last)) + yield "" + yield Constrain( + Panel( + Group(*grouped_exceptions), + title=f"Sub-exception #{group_no}", + border_style="traceback.group.border", + ), + self.width, + ) + if not last: if stack.is_cause: yield Text.from_markup( @@ -562,6 +699,9 @@ class Traceback: "\n[i]During handling of the above exception, another exception occurred:\n", ) + for last, stack in loop_last(reversed(self.trace.stacks)): + yield render_stack(stack, last) + @group() def _render_syntax_error(self, syntax_error: _SyntaxError) -> RenderResult: highlighter = ReprHighlighter() @@ -606,17 +746,6 @@ class Traceback: path_highlighter = PathHighlighter() theme = self.theme - def read_code(filename: str) -> str: - """Read files, and cache results on filename. - - Args: - filename (str): Filename to read - - Returns: - str: Contents of file - """ - return "".join(linecache.getlines(filename)) - def render_locals(frame: Frame) -> Iterable[ConsoleRenderable]: if frame.locals: yield render_scope( @@ -636,7 +765,6 @@ class Traceback: excluded = False for frame_index, frame in enumerate(stack.frames): - if exclude_frames and frame_index in exclude_frames: excluded = True continue @@ -679,7 +807,8 @@ class Traceback: continue if not suppressed: try: - code = read_code(frame.filename) + code_lines = linecache.getlines(frame.filename) + code = "".join(code_lines) if not code: # code may be an empty string if the file doesn't exist, OR # if the traceback filename is generated dynamically @@ -696,7 +825,7 @@ class Traceback: ), highlight_lines={frame.lineno}, word_wrap=self.word_wrap, - code_width=88, + code_width=self.code_width, indent_guides=self.indent_guides, dedent=False, ) @@ -706,6 +835,28 @@ class Traceback: (f"\n{error}", "traceback.error"), ) else: + if frame.last_instruction is not None: + start, end = frame.last_instruction + + # Stylize a line at a time + # So that indentation isn't underlined (which looks bad) + for line1, column1, column2 in _iter_syntax_lines(start, end): + try: + if column1 == 0: + line = code_lines[line1 - 1] + column1 = len(line) - len(line.lstrip()) + if column2 == -1: + column2 = len(code_lines[line1 - 1]) + except IndexError: + # Being defensive here + # If last_instruction reports a line out-of-bounds, we don't want to crash + continue + + syntax.stylize_range( + style="traceback.error_range", + start=(line1, column1), + end=(line1, column2), + ) yield ( Columns( [ @@ -720,13 +871,12 @@ class Traceback: if __name__ == "__main__": # pragma: no cover - - from .console import Console - - console = Console() + install(show_locals=True) import sys - def bar(a: Any) -> None: # 这是对亚洲语言支持的测试。面对模棱两可的想法,拒绝猜测的诱惑 + def bar( + a: Any, + ) -> None: # 这是对亚洲语言支持的测试。面对模棱两可的想法,拒绝猜测的诱惑 one = 1 print(one / a) @@ -744,13 +894,6 @@ if __name__ == "__main__": # pragma: no cover bar(a) def error() -> None: - - try: - try: - foo(0) - except: - slfkjsldkfj # type: ignore[name-defined] - except: - console.print_exception(show_locals=True) + foo(0) error() diff --git a/.venv/Lib/site-packages/pip/_vendor/rich/tree.py b/.venv/Lib/site-packages/pip/_vendor/rich/tree.py index afe8da1..27c5cf7 100644 --- a/.venv/Lib/site-packages/pip/_vendor/rich/tree.py +++ b/.venv/Lib/site-packages/pip/_vendor/rich/tree.py @@ -8,18 +8,32 @@ from .segment import Segment from .style import Style, StyleStack, StyleType from .styled import Styled +GuideType = Tuple[str, str, str, str] + class Tree(JupyterMixin): """A renderable for a tree structure. + Attributes: + ASCII_GUIDES (GuideType): Guide lines used when Console.ascii_only is True. + TREE_GUIDES (List[GuideType, GuideType, GuideType]): Default guide lines. + Args: label (RenderableType): The renderable or str for the tree label. style (StyleType, optional): Style of this tree. Defaults to "tree". guide_style (StyleType, optional): Style of the guide lines. Defaults to "tree.line". expanded (bool, optional): Also display children. Defaults to True. highlight (bool, optional): Highlight renderable (if str). Defaults to False. + hide_root (bool, optional): Hide the root node. Defaults to False. """ + ASCII_GUIDES = (" ", "| ", "+-- ", "`-- ") + TREE_GUIDES = [ + (" ", "│ ", "├── ", "└── "), + (" ", "┃ ", "┣━━ ", "┗━━ "), + (" ", "║ ", "╠══ ", "╚══ "), + ] + def __init__( self, label: RenderableType, @@ -72,7 +86,6 @@ class Tree(JupyterMixin): def __rich_console__( self, console: "Console", options: "ConsoleOptions" ) -> "RenderResult": - stack: List[Iterator[Tuple[bool, Tree]]] = [] pop = stack.pop push = stack.append @@ -83,21 +96,15 @@ class Tree(JupyterMixin): guide_style = get_style(self.guide_style, default="") or null_style SPACE, CONTINUE, FORK, END = range(4) - ASCII_GUIDES = (" ", "| ", "+-- ", "`-- ") - TREE_GUIDES = [ - (" ", "│ ", "├── ", "└── "), - (" ", "┃ ", "┣━━ ", "┗━━ "), - (" ", "║ ", "╠══ ", "╚══ "), - ] _Segment = Segment def make_guide(index: int, style: Style) -> Segment: """Make a Segment for a level of the guide lines.""" if options.ascii_only: - line = ASCII_GUIDES[index] + line = self.ASCII_GUIDES[index] else: guide = 1 if style.bold else (2 if style.underline2 else 0) - line = TREE_GUIDES[0 if options.legacy_windows else guide][index] + line = self.TREE_GUIDES[0 if options.legacy_windows else guide][index] return _Segment(line, style) levels: List[Segment] = [make_guide(CONTINUE, guide_style)] @@ -195,7 +202,6 @@ class Tree(JupyterMixin): if __name__ == "__main__": # pragma: no cover - from pip._vendor.rich.console import Group from pip._vendor.rich.markdown import Markdown from pip._vendor.rich.panel import Panel diff --git a/.venv/Lib/site-packages/pip/_vendor/six.py b/.venv/Lib/site-packages/pip/_vendor/six.py deleted file mode 100644 index 4e15675..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/six.py +++ /dev/null @@ -1,998 +0,0 @@ -# Copyright (c) 2010-2020 Benjamin Peterson -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -"""Utilities for writing code that runs on Python 2 and 3""" - -from __future__ import absolute_import - -import functools -import itertools -import operator -import sys -import types - -__author__ = "Benjamin Peterson " -__version__ = "1.16.0" - - -# Useful for very coarse version differentiation. -PY2 = sys.version_info[0] == 2 -PY3 = sys.version_info[0] == 3 -PY34 = sys.version_info[0:2] >= (3, 4) - -if PY3: - string_types = str, - integer_types = int, - class_types = type, - text_type = str - binary_type = bytes - - MAXSIZE = sys.maxsize -else: - string_types = basestring, - integer_types = (int, long) - class_types = (type, types.ClassType) - text_type = unicode - binary_type = str - - if sys.platform.startswith("java"): - # Jython always uses 32 bits. - MAXSIZE = int((1 << 31) - 1) - else: - # It's possible to have sizeof(long) != sizeof(Py_ssize_t). - class X(object): - - def __len__(self): - return 1 << 31 - try: - len(X()) - except OverflowError: - # 32-bit - MAXSIZE = int((1 << 31) - 1) - else: - # 64-bit - MAXSIZE = int((1 << 63) - 1) - del X - -if PY34: - from importlib.util import spec_from_loader -else: - spec_from_loader = None - - -def _add_doc(func, doc): - """Add documentation to a function.""" - func.__doc__ = doc - - -def _import_module(name): - """Import module, returning the module after the last dot.""" - __import__(name) - return sys.modules[name] - - -class _LazyDescr(object): - - def __init__(self, name): - self.name = name - - def __get__(self, obj, tp): - result = self._resolve() - setattr(obj, self.name, result) # Invokes __set__. - try: - # This is a bit ugly, but it avoids running this again by - # removing this descriptor. - delattr(obj.__class__, self.name) - except AttributeError: - pass - return result - - -class MovedModule(_LazyDescr): - - def __init__(self, name, old, new=None): - super(MovedModule, self).__init__(name) - if PY3: - if new is None: - new = name - self.mod = new - else: - self.mod = old - - def _resolve(self): - return _import_module(self.mod) - - def __getattr__(self, attr): - _module = self._resolve() - value = getattr(_module, attr) - setattr(self, attr, value) - return value - - -class _LazyModule(types.ModuleType): - - def __init__(self, name): - super(_LazyModule, self).__init__(name) - self.__doc__ = self.__class__.__doc__ - - def __dir__(self): - attrs = ["__doc__", "__name__"] - attrs += [attr.name for attr in self._moved_attributes] - return attrs - - # Subclasses should override this - _moved_attributes = [] - - -class MovedAttribute(_LazyDescr): - - def __init__(self, name, old_mod, new_mod, old_attr=None, new_attr=None): - super(MovedAttribute, self).__init__(name) - if PY3: - if new_mod is None: - new_mod = name - self.mod = new_mod - if new_attr is None: - if old_attr is None: - new_attr = name - else: - new_attr = old_attr - self.attr = new_attr - else: - self.mod = old_mod - if old_attr is None: - old_attr = name - self.attr = old_attr - - def _resolve(self): - module = _import_module(self.mod) - return getattr(module, self.attr) - - -class _SixMetaPathImporter(object): - - """ - A meta path importer to import six.moves and its submodules. - - This class implements a PEP302 finder and loader. It should be compatible - with Python 2.5 and all existing versions of Python3 - """ - - def __init__(self, six_module_name): - self.name = six_module_name - self.known_modules = {} - - def _add_module(self, mod, *fullnames): - for fullname in fullnames: - self.known_modules[self.name + "." + fullname] = mod - - def _get_module(self, fullname): - return self.known_modules[self.name + "." + fullname] - - def find_module(self, fullname, path=None): - if fullname in self.known_modules: - return self - return None - - def find_spec(self, fullname, path, target=None): - if fullname in self.known_modules: - return spec_from_loader(fullname, self) - return None - - def __get_module(self, fullname): - try: - return self.known_modules[fullname] - except KeyError: - raise ImportError("This loader does not know module " + fullname) - - def load_module(self, fullname): - try: - # in case of a reload - return sys.modules[fullname] - except KeyError: - pass - mod = self.__get_module(fullname) - if isinstance(mod, MovedModule): - mod = mod._resolve() - else: - mod.__loader__ = self - sys.modules[fullname] = mod - return mod - - def is_package(self, fullname): - """ - Return true, if the named module is a package. - - We need this method to get correct spec objects with - Python 3.4 (see PEP451) - """ - return hasattr(self.__get_module(fullname), "__path__") - - def get_code(self, fullname): - """Return None - - Required, if is_package is implemented""" - self.__get_module(fullname) # eventually raises ImportError - return None - get_source = get_code # same as get_code - - def create_module(self, spec): - return self.load_module(spec.name) - - def exec_module(self, module): - pass - -_importer = _SixMetaPathImporter(__name__) - - -class _MovedItems(_LazyModule): - - """Lazy loading of moved objects""" - __path__ = [] # mark as package - - -_moved_attributes = [ - MovedAttribute("cStringIO", "cStringIO", "io", "StringIO"), - MovedAttribute("filter", "itertools", "builtins", "ifilter", "filter"), - MovedAttribute("filterfalse", "itertools", "itertools", "ifilterfalse", "filterfalse"), - MovedAttribute("input", "__builtin__", "builtins", "raw_input", "input"), - MovedAttribute("intern", "__builtin__", "sys"), - MovedAttribute("map", "itertools", "builtins", "imap", "map"), - MovedAttribute("getcwd", "os", "os", "getcwdu", "getcwd"), - MovedAttribute("getcwdb", "os", "os", "getcwd", "getcwdb"), - MovedAttribute("getoutput", "commands", "subprocess"), - MovedAttribute("range", "__builtin__", "builtins", "xrange", "range"), - MovedAttribute("reload_module", "__builtin__", "importlib" if PY34 else "imp", "reload"), - MovedAttribute("reduce", "__builtin__", "functools"), - MovedAttribute("shlex_quote", "pipes", "shlex", "quote"), - MovedAttribute("StringIO", "StringIO", "io"), - MovedAttribute("UserDict", "UserDict", "collections"), - MovedAttribute("UserList", "UserList", "collections"), - MovedAttribute("UserString", "UserString", "collections"), - MovedAttribute("xrange", "__builtin__", "builtins", "xrange", "range"), - MovedAttribute("zip", "itertools", "builtins", "izip", "zip"), - MovedAttribute("zip_longest", "itertools", "itertools", "izip_longest", "zip_longest"), - MovedModule("builtins", "__builtin__"), - MovedModule("configparser", "ConfigParser"), - MovedModule("collections_abc", "collections", "collections.abc" if sys.version_info >= (3, 3) else "collections"), - MovedModule("copyreg", "copy_reg"), - MovedModule("dbm_gnu", "gdbm", "dbm.gnu"), - MovedModule("dbm_ndbm", "dbm", "dbm.ndbm"), - MovedModule("_dummy_thread", "dummy_thread", "_dummy_thread" if sys.version_info < (3, 9) else "_thread"), - MovedModule("http_cookiejar", "cookielib", "http.cookiejar"), - MovedModule("http_cookies", "Cookie", "http.cookies"), - MovedModule("html_entities", "htmlentitydefs", "html.entities"), - MovedModule("html_parser", "HTMLParser", "html.parser"), - MovedModule("http_client", "httplib", "http.client"), - MovedModule("email_mime_base", "email.MIMEBase", "email.mime.base"), - MovedModule("email_mime_image", "email.MIMEImage", "email.mime.image"), - MovedModule("email_mime_multipart", "email.MIMEMultipart", "email.mime.multipart"), - MovedModule("email_mime_nonmultipart", "email.MIMENonMultipart", "email.mime.nonmultipart"), - MovedModule("email_mime_text", "email.MIMEText", "email.mime.text"), - MovedModule("BaseHTTPServer", "BaseHTTPServer", "http.server"), - MovedModule("CGIHTTPServer", "CGIHTTPServer", "http.server"), - MovedModule("SimpleHTTPServer", "SimpleHTTPServer", "http.server"), - MovedModule("cPickle", "cPickle", "pickle"), - MovedModule("queue", "Queue"), - MovedModule("reprlib", "repr"), - MovedModule("socketserver", "SocketServer"), - MovedModule("_thread", "thread", "_thread"), - MovedModule("tkinter", "Tkinter"), - MovedModule("tkinter_dialog", "Dialog", "tkinter.dialog"), - MovedModule("tkinter_filedialog", "FileDialog", "tkinter.filedialog"), - MovedModule("tkinter_scrolledtext", "ScrolledText", "tkinter.scrolledtext"), - MovedModule("tkinter_simpledialog", "SimpleDialog", "tkinter.simpledialog"), - MovedModule("tkinter_tix", "Tix", "tkinter.tix"), - MovedModule("tkinter_ttk", "ttk", "tkinter.ttk"), - MovedModule("tkinter_constants", "Tkconstants", "tkinter.constants"), - MovedModule("tkinter_dnd", "Tkdnd", "tkinter.dnd"), - MovedModule("tkinter_colorchooser", "tkColorChooser", - "tkinter.colorchooser"), - MovedModule("tkinter_commondialog", "tkCommonDialog", - "tkinter.commondialog"), - MovedModule("tkinter_tkfiledialog", "tkFileDialog", "tkinter.filedialog"), - MovedModule("tkinter_font", "tkFont", "tkinter.font"), - MovedModule("tkinter_messagebox", "tkMessageBox", "tkinter.messagebox"), - MovedModule("tkinter_tksimpledialog", "tkSimpleDialog", - "tkinter.simpledialog"), - MovedModule("urllib_parse", __name__ + ".moves.urllib_parse", "urllib.parse"), - MovedModule("urllib_error", __name__ + ".moves.urllib_error", "urllib.error"), - MovedModule("urllib", __name__ + ".moves.urllib", __name__ + ".moves.urllib"), - MovedModule("urllib_robotparser", "robotparser", "urllib.robotparser"), - MovedModule("xmlrpc_client", "xmlrpclib", "xmlrpc.client"), - MovedModule("xmlrpc_server", "SimpleXMLRPCServer", "xmlrpc.server"), -] -# Add windows specific modules. -if sys.platform == "win32": - _moved_attributes += [ - MovedModule("winreg", "_winreg"), - ] - -for attr in _moved_attributes: - setattr(_MovedItems, attr.name, attr) - if isinstance(attr, MovedModule): - _importer._add_module(attr, "moves." + attr.name) -del attr - -_MovedItems._moved_attributes = _moved_attributes - -moves = _MovedItems(__name__ + ".moves") -_importer._add_module(moves, "moves") - - -class Module_six_moves_urllib_parse(_LazyModule): - - """Lazy loading of moved objects in six.moves.urllib_parse""" - - -_urllib_parse_moved_attributes = [ - MovedAttribute("ParseResult", "urlparse", "urllib.parse"), - MovedAttribute("SplitResult", "urlparse", "urllib.parse"), - MovedAttribute("parse_qs", "urlparse", "urllib.parse"), - MovedAttribute("parse_qsl", "urlparse", "urllib.parse"), - MovedAttribute("urldefrag", "urlparse", "urllib.parse"), - MovedAttribute("urljoin", "urlparse", "urllib.parse"), - MovedAttribute("urlparse", "urlparse", "urllib.parse"), - MovedAttribute("urlsplit", "urlparse", "urllib.parse"), - MovedAttribute("urlunparse", "urlparse", "urllib.parse"), - MovedAttribute("urlunsplit", "urlparse", "urllib.parse"), - MovedAttribute("quote", "urllib", "urllib.parse"), - MovedAttribute("quote_plus", "urllib", "urllib.parse"), - MovedAttribute("unquote", "urllib", "urllib.parse"), - MovedAttribute("unquote_plus", "urllib", "urllib.parse"), - MovedAttribute("unquote_to_bytes", "urllib", "urllib.parse", "unquote", "unquote_to_bytes"), - MovedAttribute("urlencode", "urllib", "urllib.parse"), - MovedAttribute("splitquery", "urllib", "urllib.parse"), - MovedAttribute("splittag", "urllib", "urllib.parse"), - MovedAttribute("splituser", "urllib", "urllib.parse"), - MovedAttribute("splitvalue", "urllib", "urllib.parse"), - MovedAttribute("uses_fragment", "urlparse", "urllib.parse"), - MovedAttribute("uses_netloc", "urlparse", "urllib.parse"), - MovedAttribute("uses_params", "urlparse", "urllib.parse"), - MovedAttribute("uses_query", "urlparse", "urllib.parse"), - MovedAttribute("uses_relative", "urlparse", "urllib.parse"), -] -for attr in _urllib_parse_moved_attributes: - setattr(Module_six_moves_urllib_parse, attr.name, attr) -del attr - -Module_six_moves_urllib_parse._moved_attributes = _urllib_parse_moved_attributes - -_importer._add_module(Module_six_moves_urllib_parse(__name__ + ".moves.urllib_parse"), - "moves.urllib_parse", "moves.urllib.parse") - - -class Module_six_moves_urllib_error(_LazyModule): - - """Lazy loading of moved objects in six.moves.urllib_error""" - - -_urllib_error_moved_attributes = [ - MovedAttribute("URLError", "urllib2", "urllib.error"), - MovedAttribute("HTTPError", "urllib2", "urllib.error"), - MovedAttribute("ContentTooShortError", "urllib", "urllib.error"), -] -for attr in _urllib_error_moved_attributes: - setattr(Module_six_moves_urllib_error, attr.name, attr) -del attr - -Module_six_moves_urllib_error._moved_attributes = _urllib_error_moved_attributes - -_importer._add_module(Module_six_moves_urllib_error(__name__ + ".moves.urllib.error"), - "moves.urllib_error", "moves.urllib.error") - - -class Module_six_moves_urllib_request(_LazyModule): - - """Lazy loading of moved objects in six.moves.urllib_request""" - - -_urllib_request_moved_attributes = [ - MovedAttribute("urlopen", "urllib2", "urllib.request"), - MovedAttribute("install_opener", "urllib2", "urllib.request"), - MovedAttribute("build_opener", "urllib2", "urllib.request"), - MovedAttribute("pathname2url", "urllib", "urllib.request"), - MovedAttribute("url2pathname", "urllib", "urllib.request"), - MovedAttribute("getproxies", "urllib", "urllib.request"), - MovedAttribute("Request", "urllib2", "urllib.request"), - MovedAttribute("OpenerDirector", "urllib2", "urllib.request"), - MovedAttribute("HTTPDefaultErrorHandler", "urllib2", "urllib.request"), - MovedAttribute("HTTPRedirectHandler", "urllib2", "urllib.request"), - MovedAttribute("HTTPCookieProcessor", "urllib2", "urllib.request"), - MovedAttribute("ProxyHandler", "urllib2", "urllib.request"), - MovedAttribute("BaseHandler", "urllib2", "urllib.request"), - MovedAttribute("HTTPPasswordMgr", "urllib2", "urllib.request"), - MovedAttribute("HTTPPasswordMgrWithDefaultRealm", "urllib2", "urllib.request"), - MovedAttribute("AbstractBasicAuthHandler", "urllib2", "urllib.request"), - MovedAttribute("HTTPBasicAuthHandler", "urllib2", "urllib.request"), - MovedAttribute("ProxyBasicAuthHandler", "urllib2", "urllib.request"), - MovedAttribute("AbstractDigestAuthHandler", "urllib2", "urllib.request"), - MovedAttribute("HTTPDigestAuthHandler", "urllib2", "urllib.request"), - MovedAttribute("ProxyDigestAuthHandler", "urllib2", "urllib.request"), - MovedAttribute("HTTPHandler", "urllib2", "urllib.request"), - MovedAttribute("HTTPSHandler", "urllib2", "urllib.request"), - MovedAttribute("FileHandler", "urllib2", "urllib.request"), - MovedAttribute("FTPHandler", "urllib2", "urllib.request"), - MovedAttribute("CacheFTPHandler", "urllib2", "urllib.request"), - MovedAttribute("UnknownHandler", "urllib2", "urllib.request"), - MovedAttribute("HTTPErrorProcessor", "urllib2", "urllib.request"), - MovedAttribute("urlretrieve", "urllib", "urllib.request"), - MovedAttribute("urlcleanup", "urllib", "urllib.request"), - MovedAttribute("URLopener", "urllib", "urllib.request"), - MovedAttribute("FancyURLopener", "urllib", "urllib.request"), - MovedAttribute("proxy_bypass", "urllib", "urllib.request"), - MovedAttribute("parse_http_list", "urllib2", "urllib.request"), - MovedAttribute("parse_keqv_list", "urllib2", "urllib.request"), -] -for attr in _urllib_request_moved_attributes: - setattr(Module_six_moves_urllib_request, attr.name, attr) -del attr - -Module_six_moves_urllib_request._moved_attributes = _urllib_request_moved_attributes - -_importer._add_module(Module_six_moves_urllib_request(__name__ + ".moves.urllib.request"), - "moves.urllib_request", "moves.urllib.request") - - -class Module_six_moves_urllib_response(_LazyModule): - - """Lazy loading of moved objects in six.moves.urllib_response""" - - -_urllib_response_moved_attributes = [ - MovedAttribute("addbase", "urllib", "urllib.response"), - MovedAttribute("addclosehook", "urllib", "urllib.response"), - MovedAttribute("addinfo", "urllib", "urllib.response"), - MovedAttribute("addinfourl", "urllib", "urllib.response"), -] -for attr in _urllib_response_moved_attributes: - setattr(Module_six_moves_urllib_response, attr.name, attr) -del attr - -Module_six_moves_urllib_response._moved_attributes = _urllib_response_moved_attributes - -_importer._add_module(Module_six_moves_urllib_response(__name__ + ".moves.urllib.response"), - "moves.urllib_response", "moves.urllib.response") - - -class Module_six_moves_urllib_robotparser(_LazyModule): - - """Lazy loading of moved objects in six.moves.urllib_robotparser""" - - -_urllib_robotparser_moved_attributes = [ - MovedAttribute("RobotFileParser", "robotparser", "urllib.robotparser"), -] -for attr in _urllib_robotparser_moved_attributes: - setattr(Module_six_moves_urllib_robotparser, attr.name, attr) -del attr - -Module_six_moves_urllib_robotparser._moved_attributes = _urllib_robotparser_moved_attributes - -_importer._add_module(Module_six_moves_urllib_robotparser(__name__ + ".moves.urllib.robotparser"), - "moves.urllib_robotparser", "moves.urllib.robotparser") - - -class Module_six_moves_urllib(types.ModuleType): - - """Create a six.moves.urllib namespace that resembles the Python 3 namespace""" - __path__ = [] # mark as package - parse = _importer._get_module("moves.urllib_parse") - error = _importer._get_module("moves.urllib_error") - request = _importer._get_module("moves.urllib_request") - response = _importer._get_module("moves.urllib_response") - robotparser = _importer._get_module("moves.urllib_robotparser") - - def __dir__(self): - return ['parse', 'error', 'request', 'response', 'robotparser'] - -_importer._add_module(Module_six_moves_urllib(__name__ + ".moves.urllib"), - "moves.urllib") - - -def add_move(move): - """Add an item to six.moves.""" - setattr(_MovedItems, move.name, move) - - -def remove_move(name): - """Remove item from six.moves.""" - try: - delattr(_MovedItems, name) - except AttributeError: - try: - del moves.__dict__[name] - except KeyError: - raise AttributeError("no such move, %r" % (name,)) - - -if PY3: - _meth_func = "__func__" - _meth_self = "__self__" - - _func_closure = "__closure__" - _func_code = "__code__" - _func_defaults = "__defaults__" - _func_globals = "__globals__" -else: - _meth_func = "im_func" - _meth_self = "im_self" - - _func_closure = "func_closure" - _func_code = "func_code" - _func_defaults = "func_defaults" - _func_globals = "func_globals" - - -try: - advance_iterator = next -except NameError: - def advance_iterator(it): - return it.next() -next = advance_iterator - - -try: - callable = callable -except NameError: - def callable(obj): - return any("__call__" in klass.__dict__ for klass in type(obj).__mro__) - - -if PY3: - def get_unbound_function(unbound): - return unbound - - create_bound_method = types.MethodType - - def create_unbound_method(func, cls): - return func - - Iterator = object -else: - def get_unbound_function(unbound): - return unbound.im_func - - def create_bound_method(func, obj): - return types.MethodType(func, obj, obj.__class__) - - def create_unbound_method(func, cls): - return types.MethodType(func, None, cls) - - class Iterator(object): - - def next(self): - return type(self).__next__(self) - - callable = callable -_add_doc(get_unbound_function, - """Get the function out of a possibly unbound function""") - - -get_method_function = operator.attrgetter(_meth_func) -get_method_self = operator.attrgetter(_meth_self) -get_function_closure = operator.attrgetter(_func_closure) -get_function_code = operator.attrgetter(_func_code) -get_function_defaults = operator.attrgetter(_func_defaults) -get_function_globals = operator.attrgetter(_func_globals) - - -if PY3: - def iterkeys(d, **kw): - return iter(d.keys(**kw)) - - def itervalues(d, **kw): - return iter(d.values(**kw)) - - def iteritems(d, **kw): - return iter(d.items(**kw)) - - def iterlists(d, **kw): - return iter(d.lists(**kw)) - - viewkeys = operator.methodcaller("keys") - - viewvalues = operator.methodcaller("values") - - viewitems = operator.methodcaller("items") -else: - def iterkeys(d, **kw): - return d.iterkeys(**kw) - - def itervalues(d, **kw): - return d.itervalues(**kw) - - def iteritems(d, **kw): - return d.iteritems(**kw) - - def iterlists(d, **kw): - return d.iterlists(**kw) - - viewkeys = operator.methodcaller("viewkeys") - - viewvalues = operator.methodcaller("viewvalues") - - viewitems = operator.methodcaller("viewitems") - -_add_doc(iterkeys, "Return an iterator over the keys of a dictionary.") -_add_doc(itervalues, "Return an iterator over the values of a dictionary.") -_add_doc(iteritems, - "Return an iterator over the (key, value) pairs of a dictionary.") -_add_doc(iterlists, - "Return an iterator over the (key, [values]) pairs of a dictionary.") - - -if PY3: - def b(s): - return s.encode("latin-1") - - def u(s): - return s - unichr = chr - import struct - int2byte = struct.Struct(">B").pack - del struct - byte2int = operator.itemgetter(0) - indexbytes = operator.getitem - iterbytes = iter - import io - StringIO = io.StringIO - BytesIO = io.BytesIO - del io - _assertCountEqual = "assertCountEqual" - if sys.version_info[1] <= 1: - _assertRaisesRegex = "assertRaisesRegexp" - _assertRegex = "assertRegexpMatches" - _assertNotRegex = "assertNotRegexpMatches" - else: - _assertRaisesRegex = "assertRaisesRegex" - _assertRegex = "assertRegex" - _assertNotRegex = "assertNotRegex" -else: - def b(s): - return s - # Workaround for standalone backslash - - def u(s): - return unicode(s.replace(r'\\', r'\\\\'), "unicode_escape") - unichr = unichr - int2byte = chr - - def byte2int(bs): - return ord(bs[0]) - - def indexbytes(buf, i): - return ord(buf[i]) - iterbytes = functools.partial(itertools.imap, ord) - import StringIO - StringIO = BytesIO = StringIO.StringIO - _assertCountEqual = "assertItemsEqual" - _assertRaisesRegex = "assertRaisesRegexp" - _assertRegex = "assertRegexpMatches" - _assertNotRegex = "assertNotRegexpMatches" -_add_doc(b, """Byte literal""") -_add_doc(u, """Text literal""") - - -def assertCountEqual(self, *args, **kwargs): - return getattr(self, _assertCountEqual)(*args, **kwargs) - - -def assertRaisesRegex(self, *args, **kwargs): - return getattr(self, _assertRaisesRegex)(*args, **kwargs) - - -def assertRegex(self, *args, **kwargs): - return getattr(self, _assertRegex)(*args, **kwargs) - - -def assertNotRegex(self, *args, **kwargs): - return getattr(self, _assertNotRegex)(*args, **kwargs) - - -if PY3: - exec_ = getattr(moves.builtins, "exec") - - def reraise(tp, value, tb=None): - try: - if value is None: - value = tp() - if value.__traceback__ is not tb: - raise value.with_traceback(tb) - raise value - finally: - value = None - tb = None - -else: - def exec_(_code_, _globs_=None, _locs_=None): - """Execute code in a namespace.""" - if _globs_ is None: - frame = sys._getframe(1) - _globs_ = frame.f_globals - if _locs_ is None: - _locs_ = frame.f_locals - del frame - elif _locs_ is None: - _locs_ = _globs_ - exec("""exec _code_ in _globs_, _locs_""") - - exec_("""def reraise(tp, value, tb=None): - try: - raise tp, value, tb - finally: - tb = None -""") - - -if sys.version_info[:2] > (3,): - exec_("""def raise_from(value, from_value): - try: - raise value from from_value - finally: - value = None -""") -else: - def raise_from(value, from_value): - raise value - - -print_ = getattr(moves.builtins, "print", None) -if print_ is None: - def print_(*args, **kwargs): - """The new-style print function for Python 2.4 and 2.5.""" - fp = kwargs.pop("file", sys.stdout) - if fp is None: - return - - def write(data): - if not isinstance(data, basestring): - data = str(data) - # If the file has an encoding, encode unicode with it. - if (isinstance(fp, file) and - isinstance(data, unicode) and - fp.encoding is not None): - errors = getattr(fp, "errors", None) - if errors is None: - errors = "strict" - data = data.encode(fp.encoding, errors) - fp.write(data) - want_unicode = False - sep = kwargs.pop("sep", None) - if sep is not None: - if isinstance(sep, unicode): - want_unicode = True - elif not isinstance(sep, str): - raise TypeError("sep must be None or a string") - end = kwargs.pop("end", None) - if end is not None: - if isinstance(end, unicode): - want_unicode = True - elif not isinstance(end, str): - raise TypeError("end must be None or a string") - if kwargs: - raise TypeError("invalid keyword arguments to print()") - if not want_unicode: - for arg in args: - if isinstance(arg, unicode): - want_unicode = True - break - if want_unicode: - newline = unicode("\n") - space = unicode(" ") - else: - newline = "\n" - space = " " - if sep is None: - sep = space - if end is None: - end = newline - for i, arg in enumerate(args): - if i: - write(sep) - write(arg) - write(end) -if sys.version_info[:2] < (3, 3): - _print = print_ - - def print_(*args, **kwargs): - fp = kwargs.get("file", sys.stdout) - flush = kwargs.pop("flush", False) - _print(*args, **kwargs) - if flush and fp is not None: - fp.flush() - -_add_doc(reraise, """Reraise an exception.""") - -if sys.version_info[0:2] < (3, 4): - # This does exactly the same what the :func:`py3:functools.update_wrapper` - # function does on Python versions after 3.2. It sets the ``__wrapped__`` - # attribute on ``wrapper`` object and it doesn't raise an error if any of - # the attributes mentioned in ``assigned`` and ``updated`` are missing on - # ``wrapped`` object. - def _update_wrapper(wrapper, wrapped, - assigned=functools.WRAPPER_ASSIGNMENTS, - updated=functools.WRAPPER_UPDATES): - for attr in assigned: - try: - value = getattr(wrapped, attr) - except AttributeError: - continue - else: - setattr(wrapper, attr, value) - for attr in updated: - getattr(wrapper, attr).update(getattr(wrapped, attr, {})) - wrapper.__wrapped__ = wrapped - return wrapper - _update_wrapper.__doc__ = functools.update_wrapper.__doc__ - - def wraps(wrapped, assigned=functools.WRAPPER_ASSIGNMENTS, - updated=functools.WRAPPER_UPDATES): - return functools.partial(_update_wrapper, wrapped=wrapped, - assigned=assigned, updated=updated) - wraps.__doc__ = functools.wraps.__doc__ - -else: - wraps = functools.wraps - - -def with_metaclass(meta, *bases): - """Create a base class with a metaclass.""" - # This requires a bit of explanation: the basic idea is to make a dummy - # metaclass for one level of class instantiation that replaces itself with - # the actual metaclass. - class metaclass(type): - - def __new__(cls, name, this_bases, d): - if sys.version_info[:2] >= (3, 7): - # This version introduced PEP 560 that requires a bit - # of extra care (we mimic what is done by __build_class__). - resolved_bases = types.resolve_bases(bases) - if resolved_bases is not bases: - d['__orig_bases__'] = bases - else: - resolved_bases = bases - return meta(name, resolved_bases, d) - - @classmethod - def __prepare__(cls, name, this_bases): - return meta.__prepare__(name, bases) - return type.__new__(metaclass, 'temporary_class', (), {}) - - -def add_metaclass(metaclass): - """Class decorator for creating a class with a metaclass.""" - def wrapper(cls): - orig_vars = cls.__dict__.copy() - slots = orig_vars.get('__slots__') - if slots is not None: - if isinstance(slots, str): - slots = [slots] - for slots_var in slots: - orig_vars.pop(slots_var) - orig_vars.pop('__dict__', None) - orig_vars.pop('__weakref__', None) - if hasattr(cls, '__qualname__'): - orig_vars['__qualname__'] = cls.__qualname__ - return metaclass(cls.__name__, cls.__bases__, orig_vars) - return wrapper - - -def ensure_binary(s, encoding='utf-8', errors='strict'): - """Coerce **s** to six.binary_type. - - For Python 2: - - `unicode` -> encoded to `str` - - `str` -> `str` - - For Python 3: - - `str` -> encoded to `bytes` - - `bytes` -> `bytes` - """ - if isinstance(s, binary_type): - return s - if isinstance(s, text_type): - return s.encode(encoding, errors) - raise TypeError("not expecting type '%s'" % type(s)) - - -def ensure_str(s, encoding='utf-8', errors='strict'): - """Coerce *s* to `str`. - - For Python 2: - - `unicode` -> encoded to `str` - - `str` -> `str` - - For Python 3: - - `str` -> `str` - - `bytes` -> decoded to `str` - """ - # Optimization: Fast return for the common case. - if type(s) is str: - return s - if PY2 and isinstance(s, text_type): - return s.encode(encoding, errors) - elif PY3 and isinstance(s, binary_type): - return s.decode(encoding, errors) - elif not isinstance(s, (text_type, binary_type)): - raise TypeError("not expecting type '%s'" % type(s)) - return s - - -def ensure_text(s, encoding='utf-8', errors='strict'): - """Coerce *s* to six.text_type. - - For Python 2: - - `unicode` -> `unicode` - - `str` -> `unicode` - - For Python 3: - - `str` -> `str` - - `bytes` -> decoded to `str` - """ - if isinstance(s, binary_type): - return s.decode(encoding, errors) - elif isinstance(s, text_type): - return s - else: - raise TypeError("not expecting type '%s'" % type(s)) - - -def python_2_unicode_compatible(klass): - """ - A class decorator that defines __unicode__ and __str__ methods under Python 2. - Under Python 3 it does nothing. - - To support Python 2 and 3 with a single code base, define a __str__ method - returning text and apply this decorator to the class. - """ - if PY2: - if '__str__' not in klass.__dict__: - raise ValueError("@python_2_unicode_compatible cannot be applied " - "to %s because it doesn't define __str__()." % - klass.__name__) - klass.__unicode__ = klass.__str__ - klass.__str__ = lambda self: self.__unicode__().encode('utf-8') - return klass - - -# Complete the moves implementation. -# This code is at the end of this module to speed up module loading. -# Turn this module into a package. -__path__ = [] # required for PEP 302 and PEP 451 -__package__ = __name__ # see PEP 366 @ReservedAssignment -if globals().get("__spec__") is not None: - __spec__.submodule_search_locations = [] # PEP 451 @UndefinedVariable -# Remove other six meta path importers, since they cause problems. This can -# happen if six is removed from sys.modules and then reloaded. (Setuptools does -# this for some reason.) -if sys.meta_path: - for i, importer in enumerate(sys.meta_path): - # Here's some real nastiness: Another "instance" of the six module might - # be floating around. Therefore, we can't use isinstance() to check for - # the six meta path importer, since the other six instance will have - # inserted an importer with different class. - if (type(importer).__name__ == "_SixMetaPathImporter" and - importer.name == __name__): - del sys.meta_path[i] - break - del i, importer -# Finally, add the importer to the meta path import hook. -sys.meta_path.append(_importer) diff --git a/.venv/Lib/site-packages/pip/_vendor/tenacity/__init__.py b/.venv/Lib/site-packages/pip/_vendor/tenacity/__init__.py deleted file mode 100644 index 4f1603a..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/tenacity/__init__.py +++ /dev/null @@ -1,608 +0,0 @@ -# Copyright 2016-2018 Julien Danjou -# Copyright 2017 Elisey Zanko -# Copyright 2016 Étienne Bersac -# Copyright 2016 Joshua Harlow -# Copyright 2013-2014 Ray Holder -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -import functools -import sys -import threading -import time -import typing as t -import warnings -from abc import ABC, abstractmethod -from concurrent import futures -from inspect import iscoroutinefunction - -# Import all built-in retry strategies for easier usage. -from .retry import retry_base # noqa -from .retry import retry_all # noqa -from .retry import retry_always # noqa -from .retry import retry_any # noqa -from .retry import retry_if_exception # noqa -from .retry import retry_if_exception_type # noqa -from .retry import retry_if_exception_cause_type # noqa -from .retry import retry_if_not_exception_type # noqa -from .retry import retry_if_not_result # noqa -from .retry import retry_if_result # noqa -from .retry import retry_never # noqa -from .retry import retry_unless_exception_type # noqa -from .retry import retry_if_exception_message # noqa -from .retry import retry_if_not_exception_message # noqa - -# Import all nap strategies for easier usage. -from .nap import sleep # noqa -from .nap import sleep_using_event # noqa - -# Import all built-in stop strategies for easier usage. -from .stop import stop_after_attempt # noqa -from .stop import stop_after_delay # noqa -from .stop import stop_all # noqa -from .stop import stop_any # noqa -from .stop import stop_never # noqa -from .stop import stop_when_event_set # noqa - -# Import all built-in wait strategies for easier usage. -from .wait import wait_chain # noqa -from .wait import wait_combine # noqa -from .wait import wait_exponential # noqa -from .wait import wait_fixed # noqa -from .wait import wait_incrementing # noqa -from .wait import wait_none # noqa -from .wait import wait_random # noqa -from .wait import wait_random_exponential # noqa -from .wait import wait_random_exponential as wait_full_jitter # noqa -from .wait import wait_exponential_jitter # noqa - -# Import all built-in before strategies for easier usage. -from .before import before_log # noqa -from .before import before_nothing # noqa - -# Import all built-in after strategies for easier usage. -from .after import after_log # noqa -from .after import after_nothing # noqa - -# Import all built-in after strategies for easier usage. -from .before_sleep import before_sleep_log # noqa -from .before_sleep import before_sleep_nothing # noqa - -# Replace a conditional import with a hard-coded None so that pip does -# not attempt to use tornado even if it is present in the environment. -# If tornado is non-None, tenacity will attempt to execute some code -# that is sensitive to the version of tornado, which could break pip -# if an old version is found. -tornado = None # type: ignore - -if t.TYPE_CHECKING: - import types - - from .retry import RetryBaseT - from .stop import StopBaseT - from .wait import WaitBaseT - - -WrappedFnReturnT = t.TypeVar("WrappedFnReturnT") -WrappedFn = t.TypeVar("WrappedFn", bound=t.Callable[..., t.Any]) - - -class TryAgain(Exception): - """Always retry the executed function when raised.""" - - -NO_RESULT = object() - - -class DoAttempt: - pass - - -class DoSleep(float): - pass - - -class BaseAction: - """Base class for representing actions to take by retry object. - - Concrete implementations must define: - - __init__: to initialize all necessary fields - - REPR_FIELDS: class variable specifying attributes to include in repr(self) - - NAME: for identification in retry object methods and callbacks - """ - - REPR_FIELDS: t.Sequence[str] = () - NAME: t.Optional[str] = None - - def __repr__(self) -> str: - state_str = ", ".join(f"{field}={getattr(self, field)!r}" for field in self.REPR_FIELDS) - return f"{self.__class__.__name__}({state_str})" - - def __str__(self) -> str: - return repr(self) - - -class RetryAction(BaseAction): - REPR_FIELDS = ("sleep",) - NAME = "retry" - - def __init__(self, sleep: t.SupportsFloat) -> None: - self.sleep = float(sleep) - - -_unset = object() - - -def _first_set(first: t.Union[t.Any, object], second: t.Any) -> t.Any: - return second if first is _unset else first - - -class RetryError(Exception): - """Encapsulates the last attempt instance right before giving up.""" - - def __init__(self, last_attempt: "Future") -> None: - self.last_attempt = last_attempt - super().__init__(last_attempt) - - def reraise(self) -> "t.NoReturn": - if self.last_attempt.failed: - raise self.last_attempt.result() - raise self - - def __str__(self) -> str: - return f"{self.__class__.__name__}[{self.last_attempt}]" - - -class AttemptManager: - """Manage attempt context.""" - - def __init__(self, retry_state: "RetryCallState"): - self.retry_state = retry_state - - def __enter__(self) -> None: - pass - - def __exit__( - self, - exc_type: t.Optional[t.Type[BaseException]], - exc_value: t.Optional[BaseException], - traceback: t.Optional["types.TracebackType"], - ) -> t.Optional[bool]: - if exc_type is not None and exc_value is not None: - self.retry_state.set_exception((exc_type, exc_value, traceback)) - return True # Swallow exception. - else: - # We don't have the result, actually. - self.retry_state.set_result(None) - return None - - -class BaseRetrying(ABC): - def __init__( - self, - sleep: t.Callable[[t.Union[int, float]], None] = sleep, - stop: "StopBaseT" = stop_never, - wait: "WaitBaseT" = wait_none(), - retry: "RetryBaseT" = retry_if_exception_type(), - before: t.Callable[["RetryCallState"], None] = before_nothing, - after: t.Callable[["RetryCallState"], None] = after_nothing, - before_sleep: t.Optional[t.Callable[["RetryCallState"], None]] = None, - reraise: bool = False, - retry_error_cls: t.Type[RetryError] = RetryError, - retry_error_callback: t.Optional[t.Callable[["RetryCallState"], t.Any]] = None, - ): - self.sleep = sleep - self.stop = stop - self.wait = wait - self.retry = retry - self.before = before - self.after = after - self.before_sleep = before_sleep - self.reraise = reraise - self._local = threading.local() - self.retry_error_cls = retry_error_cls - self.retry_error_callback = retry_error_callback - - def copy( - self, - sleep: t.Union[t.Callable[[t.Union[int, float]], None], object] = _unset, - stop: t.Union["StopBaseT", object] = _unset, - wait: t.Union["WaitBaseT", object] = _unset, - retry: t.Union[retry_base, object] = _unset, - before: t.Union[t.Callable[["RetryCallState"], None], object] = _unset, - after: t.Union[t.Callable[["RetryCallState"], None], object] = _unset, - before_sleep: t.Union[t.Optional[t.Callable[["RetryCallState"], None]], object] = _unset, - reraise: t.Union[bool, object] = _unset, - retry_error_cls: t.Union[t.Type[RetryError], object] = _unset, - retry_error_callback: t.Union[t.Optional[t.Callable[["RetryCallState"], t.Any]], object] = _unset, - ) -> "BaseRetrying": - """Copy this object with some parameters changed if needed.""" - return self.__class__( - sleep=_first_set(sleep, self.sleep), - stop=_first_set(stop, self.stop), - wait=_first_set(wait, self.wait), - retry=_first_set(retry, self.retry), - before=_first_set(before, self.before), - after=_first_set(after, self.after), - before_sleep=_first_set(before_sleep, self.before_sleep), - reraise=_first_set(reraise, self.reraise), - retry_error_cls=_first_set(retry_error_cls, self.retry_error_cls), - retry_error_callback=_first_set(retry_error_callback, self.retry_error_callback), - ) - - def __repr__(self) -> str: - return ( - f"<{self.__class__.__name__} object at 0x{id(self):x} (" - f"stop={self.stop}, " - f"wait={self.wait}, " - f"sleep={self.sleep}, " - f"retry={self.retry}, " - f"before={self.before}, " - f"after={self.after})>" - ) - - @property - def statistics(self) -> t.Dict[str, t.Any]: - """Return a dictionary of runtime statistics. - - This dictionary will be empty when the controller has never been - ran. When it is running or has ran previously it should have (but - may not) have useful and/or informational keys and values when - running is underway and/or completed. - - .. warning:: The keys in this dictionary **should** be some what - stable (not changing), but there existence **may** - change between major releases as new statistics are - gathered or removed so before accessing keys ensure that - they actually exist and handle when they do not. - - .. note:: The values in this dictionary are local to the thread - running call (so if multiple threads share the same retrying - object - either directly or indirectly) they will each have - there own view of statistics they have collected (in the - future we may provide a way to aggregate the various - statistics from each thread). - """ - try: - return self._local.statistics # type: ignore[no-any-return] - except AttributeError: - self._local.statistics = t.cast(t.Dict[str, t.Any], {}) - return self._local.statistics - - def wraps(self, f: WrappedFn) -> WrappedFn: - """Wrap a function for retrying. - - :param f: A function to wraps for retrying. - """ - - @functools.wraps(f) - def wrapped_f(*args: t.Any, **kw: t.Any) -> t.Any: - return self(f, *args, **kw) - - def retry_with(*args: t.Any, **kwargs: t.Any) -> WrappedFn: - return self.copy(*args, **kwargs).wraps(f) - - wrapped_f.retry = self # type: ignore[attr-defined] - wrapped_f.retry_with = retry_with # type: ignore[attr-defined] - - return wrapped_f # type: ignore[return-value] - - def begin(self) -> None: - self.statistics.clear() - self.statistics["start_time"] = time.monotonic() - self.statistics["attempt_number"] = 1 - self.statistics["idle_for"] = 0 - - def iter(self, retry_state: "RetryCallState") -> t.Union[DoAttempt, DoSleep, t.Any]: # noqa - fut = retry_state.outcome - if fut is None: - if self.before is not None: - self.before(retry_state) - return DoAttempt() - - is_explicit_retry = fut.failed and isinstance(fut.exception(), TryAgain) - if not (is_explicit_retry or self.retry(retry_state)): - return fut.result() - - if self.after is not None: - self.after(retry_state) - - self.statistics["delay_since_first_attempt"] = retry_state.seconds_since_start - if self.stop(retry_state): - if self.retry_error_callback: - return self.retry_error_callback(retry_state) - retry_exc = self.retry_error_cls(fut) - if self.reraise: - raise retry_exc.reraise() - raise retry_exc from fut.exception() - - if self.wait: - sleep = self.wait(retry_state) - else: - sleep = 0.0 - retry_state.next_action = RetryAction(sleep) - retry_state.idle_for += sleep - self.statistics["idle_for"] += sleep - self.statistics["attempt_number"] += 1 - - if self.before_sleep is not None: - self.before_sleep(retry_state) - - return DoSleep(sleep) - - def __iter__(self) -> t.Generator[AttemptManager, None, None]: - self.begin() - - retry_state = RetryCallState(self, fn=None, args=(), kwargs={}) - while True: - do = self.iter(retry_state=retry_state) - if isinstance(do, DoAttempt): - yield AttemptManager(retry_state=retry_state) - elif isinstance(do, DoSleep): - retry_state.prepare_for_next_attempt() - self.sleep(do) - else: - break - - @abstractmethod - def __call__( - self, - fn: t.Callable[..., WrappedFnReturnT], - *args: t.Any, - **kwargs: t.Any, - ) -> WrappedFnReturnT: - pass - - -class Retrying(BaseRetrying): - """Retrying controller.""" - - def __call__( - self, - fn: t.Callable[..., WrappedFnReturnT], - *args: t.Any, - **kwargs: t.Any, - ) -> WrappedFnReturnT: - self.begin() - - retry_state = RetryCallState(retry_object=self, fn=fn, args=args, kwargs=kwargs) - while True: - do = self.iter(retry_state=retry_state) - if isinstance(do, DoAttempt): - try: - result = fn(*args, **kwargs) - except BaseException: # noqa: B902 - retry_state.set_exception(sys.exc_info()) # type: ignore[arg-type] - else: - retry_state.set_result(result) - elif isinstance(do, DoSleep): - retry_state.prepare_for_next_attempt() - self.sleep(do) - else: - return do # type: ignore[no-any-return] - - -if sys.version_info[1] >= 9: - FutureGenericT = futures.Future[t.Any] -else: - FutureGenericT = futures.Future - - -class Future(FutureGenericT): - """Encapsulates a (future or past) attempted call to a target function.""" - - def __init__(self, attempt_number: int) -> None: - super().__init__() - self.attempt_number = attempt_number - - @property - def failed(self) -> bool: - """Return whether a exception is being held in this future.""" - return self.exception() is not None - - @classmethod - def construct(cls, attempt_number: int, value: t.Any, has_exception: bool) -> "Future": - """Construct a new Future object.""" - fut = cls(attempt_number) - if has_exception: - fut.set_exception(value) - else: - fut.set_result(value) - return fut - - -class RetryCallState: - """State related to a single call wrapped with Retrying.""" - - def __init__( - self, - retry_object: BaseRetrying, - fn: t.Optional[WrappedFn], - args: t.Any, - kwargs: t.Any, - ) -> None: - #: Retry call start timestamp - self.start_time = time.monotonic() - #: Retry manager object - self.retry_object = retry_object - #: Function wrapped by this retry call - self.fn = fn - #: Arguments of the function wrapped by this retry call - self.args = args - #: Keyword arguments of the function wrapped by this retry call - self.kwargs = kwargs - - #: The number of the current attempt - self.attempt_number: int = 1 - #: Last outcome (result or exception) produced by the function - self.outcome: t.Optional[Future] = None - #: Timestamp of the last outcome - self.outcome_timestamp: t.Optional[float] = None - #: Time spent sleeping in retries - self.idle_for: float = 0.0 - #: Next action as decided by the retry manager - self.next_action: t.Optional[RetryAction] = None - - @property - def seconds_since_start(self) -> t.Optional[float]: - if self.outcome_timestamp is None: - return None - return self.outcome_timestamp - self.start_time - - def prepare_for_next_attempt(self) -> None: - self.outcome = None - self.outcome_timestamp = None - self.attempt_number += 1 - self.next_action = None - - def set_result(self, val: t.Any) -> None: - ts = time.monotonic() - fut = Future(self.attempt_number) - fut.set_result(val) - self.outcome, self.outcome_timestamp = fut, ts - - def set_exception( - self, exc_info: t.Tuple[t.Type[BaseException], BaseException, "types.TracebackType| None"] - ) -> None: - ts = time.monotonic() - fut = Future(self.attempt_number) - fut.set_exception(exc_info[1]) - self.outcome, self.outcome_timestamp = fut, ts - - def __repr__(self) -> str: - if self.outcome is None: - result = "none yet" - elif self.outcome.failed: - exception = self.outcome.exception() - result = f"failed ({exception.__class__.__name__} {exception})" - else: - result = f"returned {self.outcome.result()}" - - slept = float(round(self.idle_for, 2)) - clsname = self.__class__.__name__ - return f"<{clsname} {id(self)}: attempt #{self.attempt_number}; slept for {slept}; last result: {result}>" - - -@t.overload -def retry(func: WrappedFn) -> WrappedFn: - ... - - -@t.overload -def retry( - sleep: t.Callable[[t.Union[int, float]], None] = sleep, - stop: "StopBaseT" = stop_never, - wait: "WaitBaseT" = wait_none(), - retry: "RetryBaseT" = retry_if_exception_type(), - before: t.Callable[["RetryCallState"], None] = before_nothing, - after: t.Callable[["RetryCallState"], None] = after_nothing, - before_sleep: t.Optional[t.Callable[["RetryCallState"], None]] = None, - reraise: bool = False, - retry_error_cls: t.Type["RetryError"] = RetryError, - retry_error_callback: t.Optional[t.Callable[["RetryCallState"], t.Any]] = None, -) -> t.Callable[[WrappedFn], WrappedFn]: - ... - - -def retry(*dargs: t.Any, **dkw: t.Any) -> t.Any: - """Wrap a function with a new `Retrying` object. - - :param dargs: positional arguments passed to Retrying object - :param dkw: keyword arguments passed to the Retrying object - """ - # support both @retry and @retry() as valid syntax - if len(dargs) == 1 and callable(dargs[0]): - return retry()(dargs[0]) - else: - - def wrap(f: WrappedFn) -> WrappedFn: - if isinstance(f, retry_base): - warnings.warn( - f"Got retry_base instance ({f.__class__.__name__}) as callable argument, " - f"this will probably hang indefinitely (did you mean retry={f.__class__.__name__}(...)?)" - ) - r: "BaseRetrying" - if iscoroutinefunction(f): - r = AsyncRetrying(*dargs, **dkw) - elif tornado and hasattr(tornado.gen, "is_coroutine_function") and tornado.gen.is_coroutine_function(f): - r = TornadoRetrying(*dargs, **dkw) - else: - r = Retrying(*dargs, **dkw) - - return r.wraps(f) - - return wrap - - -from pip._vendor.tenacity._asyncio import AsyncRetrying # noqa:E402,I100 - -if tornado: - from pip._vendor.tenacity.tornadoweb import TornadoRetrying - - -__all__ = [ - "retry_base", - "retry_all", - "retry_always", - "retry_any", - "retry_if_exception", - "retry_if_exception_type", - "retry_if_exception_cause_type", - "retry_if_not_exception_type", - "retry_if_not_result", - "retry_if_result", - "retry_never", - "retry_unless_exception_type", - "retry_if_exception_message", - "retry_if_not_exception_message", - "sleep", - "sleep_using_event", - "stop_after_attempt", - "stop_after_delay", - "stop_all", - "stop_any", - "stop_never", - "stop_when_event_set", - "wait_chain", - "wait_combine", - "wait_exponential", - "wait_fixed", - "wait_incrementing", - "wait_none", - "wait_random", - "wait_random_exponential", - "wait_full_jitter", - "wait_exponential_jitter", - "before_log", - "before_nothing", - "after_log", - "after_nothing", - "before_sleep_log", - "before_sleep_nothing", - "retry", - "WrappedFn", - "TryAgain", - "NO_RESULT", - "DoAttempt", - "DoSleep", - "BaseAction", - "RetryAction", - "RetryError", - "AttemptManager", - "BaseRetrying", - "Retrying", - "Future", - "RetryCallState", - "AsyncRetrying", -] diff --git a/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index a976096..0000000 Binary files a/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/_asyncio.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/_asyncio.cpython-311.pyc deleted file mode 100644 index 032441d..0000000 Binary files a/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/_asyncio.cpython-311.pyc and /dev/null differ diff --git a/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/_utils.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/_utils.cpython-311.pyc deleted file mode 100644 index 51424cd..0000000 Binary files a/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/_utils.cpython-311.pyc and /dev/null differ diff --git a/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/after.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/after.cpython-311.pyc deleted file mode 100644 index 93b2632..0000000 Binary files a/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/after.cpython-311.pyc and /dev/null differ diff --git a/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/before.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/before.cpython-311.pyc deleted file mode 100644 index 0aad0ba..0000000 Binary files a/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/before.cpython-311.pyc and /dev/null differ diff --git a/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/before_sleep.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/before_sleep.cpython-311.pyc deleted file mode 100644 index fae2794..0000000 Binary files a/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/before_sleep.cpython-311.pyc and /dev/null differ diff --git a/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/nap.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/nap.cpython-311.pyc deleted file mode 100644 index e59496d..0000000 Binary files a/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/nap.cpython-311.pyc and /dev/null differ diff --git a/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/retry.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/retry.cpython-311.pyc deleted file mode 100644 index d848581..0000000 Binary files a/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/retry.cpython-311.pyc and /dev/null differ diff --git a/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/stop.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/stop.cpython-311.pyc deleted file mode 100644 index 11ba159..0000000 Binary files a/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/stop.cpython-311.pyc and /dev/null differ diff --git a/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/tornadoweb.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/tornadoweb.cpython-311.pyc deleted file mode 100644 index f6b15a8..0000000 Binary files a/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/tornadoweb.cpython-311.pyc and /dev/null differ diff --git a/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/wait.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/wait.cpython-311.pyc deleted file mode 100644 index 722ea3d..0000000 Binary files a/.venv/Lib/site-packages/pip/_vendor/tenacity/__pycache__/wait.cpython-311.pyc and /dev/null differ diff --git a/.venv/Lib/site-packages/pip/_vendor/tenacity/_asyncio.py b/.venv/Lib/site-packages/pip/_vendor/tenacity/_asyncio.py deleted file mode 100644 index 2e50cd7..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/tenacity/_asyncio.py +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 2016 Étienne Bersac -# Copyright 2016 Julien Danjou -# Copyright 2016 Joshua Harlow -# Copyright 2013-2014 Ray Holder -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -import functools -import sys -import typing as t -from asyncio import sleep - -from pip._vendor.tenacity import AttemptManager -from pip._vendor.tenacity import BaseRetrying -from pip._vendor.tenacity import DoAttempt -from pip._vendor.tenacity import DoSleep -from pip._vendor.tenacity import RetryCallState - -WrappedFnReturnT = t.TypeVar("WrappedFnReturnT") -WrappedFn = t.TypeVar("WrappedFn", bound=t.Callable[..., t.Awaitable[t.Any]]) - - -class AsyncRetrying(BaseRetrying): - sleep: t.Callable[[float], t.Awaitable[t.Any]] - - def __init__(self, sleep: t.Callable[[float], t.Awaitable[t.Any]] = sleep, **kwargs: t.Any) -> None: - super().__init__(**kwargs) - self.sleep = sleep - - async def __call__( # type: ignore[override] - self, fn: WrappedFn, *args: t.Any, **kwargs: t.Any - ) -> WrappedFnReturnT: - self.begin() - - retry_state = RetryCallState(retry_object=self, fn=fn, args=args, kwargs=kwargs) - while True: - do = self.iter(retry_state=retry_state) - if isinstance(do, DoAttempt): - try: - result = await fn(*args, **kwargs) - except BaseException: # noqa: B902 - retry_state.set_exception(sys.exc_info()) # type: ignore[arg-type] - else: - retry_state.set_result(result) - elif isinstance(do, DoSleep): - retry_state.prepare_for_next_attempt() - await self.sleep(do) - else: - return do # type: ignore[no-any-return] - - def __iter__(self) -> t.Generator[AttemptManager, None, None]: - raise TypeError("AsyncRetrying object is not iterable") - - def __aiter__(self) -> "AsyncRetrying": - self.begin() - self._retry_state = RetryCallState(self, fn=None, args=(), kwargs={}) - return self - - async def __anext__(self) -> AttemptManager: - while True: - do = self.iter(retry_state=self._retry_state) - if do is None: - raise StopAsyncIteration - elif isinstance(do, DoAttempt): - return AttemptManager(retry_state=self._retry_state) - elif isinstance(do, DoSleep): - self._retry_state.prepare_for_next_attempt() - await self.sleep(do) - else: - raise StopAsyncIteration - - def wraps(self, fn: WrappedFn) -> WrappedFn: - fn = super().wraps(fn) - # Ensure wrapper is recognized as a coroutine function. - - @functools.wraps(fn) - async def async_wrapped(*args: t.Any, **kwargs: t.Any) -> t.Any: - return await fn(*args, **kwargs) - - # Preserve attributes - async_wrapped.retry = fn.retry # type: ignore[attr-defined] - async_wrapped.retry_with = fn.retry_with # type: ignore[attr-defined] - - return async_wrapped # type: ignore[return-value] diff --git a/.venv/Lib/site-packages/pip/_vendor/tenacity/_utils.py b/.venv/Lib/site-packages/pip/_vendor/tenacity/_utils.py deleted file mode 100644 index f14ff32..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/tenacity/_utils.py +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 2016 Julien Danjou -# Copyright 2016 Joshua Harlow -# Copyright 2013-2014 Ray Holder -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -import sys -import typing -from datetime import timedelta - - -# sys.maxsize: -# An integer giving the maximum value a variable of type Py_ssize_t can take. -MAX_WAIT = sys.maxsize / 2 - - -def find_ordinal(pos_num: int) -> str: - # See: https://en.wikipedia.org/wiki/English_numerals#Ordinal_numbers - if pos_num == 0: - return "th" - elif pos_num == 1: - return "st" - elif pos_num == 2: - return "nd" - elif pos_num == 3: - return "rd" - elif 4 <= pos_num <= 20: - return "th" - else: - return find_ordinal(pos_num % 10) - - -def to_ordinal(pos_num: int) -> str: - return f"{pos_num}{find_ordinal(pos_num)}" - - -def get_callback_name(cb: typing.Callable[..., typing.Any]) -> str: - """Get a callback fully-qualified name. - - If no name can be produced ``repr(cb)`` is called and returned. - """ - segments = [] - try: - segments.append(cb.__qualname__) - except AttributeError: - try: - segments.append(cb.__name__) - except AttributeError: - pass - if not segments: - return repr(cb) - else: - try: - # When running under sphinx it appears this can be none? - if cb.__module__: - segments.insert(0, cb.__module__) - except AttributeError: - pass - return ".".join(segments) - - -time_unit_type = typing.Union[int, float, timedelta] - - -def to_seconds(time_unit: time_unit_type) -> float: - return float(time_unit.total_seconds() if isinstance(time_unit, timedelta) else time_unit) diff --git a/.venv/Lib/site-packages/pip/_vendor/tenacity/after.py b/.venv/Lib/site-packages/pip/_vendor/tenacity/after.py deleted file mode 100644 index 574c9bc..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/tenacity/after.py +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 2016 Julien Danjou -# Copyright 2016 Joshua Harlow -# Copyright 2013-2014 Ray Holder -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -import typing - -from pip._vendor.tenacity import _utils - -if typing.TYPE_CHECKING: - import logging - - from pip._vendor.tenacity import RetryCallState - - -def after_nothing(retry_state: "RetryCallState") -> None: - """After call strategy that does nothing.""" - - -def after_log( - logger: "logging.Logger", - log_level: int, - sec_format: str = "%0.3f", -) -> typing.Callable[["RetryCallState"], None]: - """After call strategy that logs to some logger the finished attempt.""" - - def log_it(retry_state: "RetryCallState") -> None: - if retry_state.fn is None: - # NOTE(sileht): can't really happen, but we must please mypy - fn_name = "" - else: - fn_name = _utils.get_callback_name(retry_state.fn) - logger.log( - log_level, - f"Finished call to '{fn_name}' " - f"after {sec_format % retry_state.seconds_since_start}(s), " - f"this was the {_utils.to_ordinal(retry_state.attempt_number)} time calling it.", - ) - - return log_it diff --git a/.venv/Lib/site-packages/pip/_vendor/tenacity/before.py b/.venv/Lib/site-packages/pip/_vendor/tenacity/before.py deleted file mode 100644 index cfd7dc7..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/tenacity/before.py +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2016 Julien Danjou -# Copyright 2016 Joshua Harlow -# Copyright 2013-2014 Ray Holder -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -import typing - -from pip._vendor.tenacity import _utils - -if typing.TYPE_CHECKING: - import logging - - from pip._vendor.tenacity import RetryCallState - - -def before_nothing(retry_state: "RetryCallState") -> None: - """Before call strategy that does nothing.""" - - -def before_log(logger: "logging.Logger", log_level: int) -> typing.Callable[["RetryCallState"], None]: - """Before call strategy that logs to some logger the attempt.""" - - def log_it(retry_state: "RetryCallState") -> None: - if retry_state.fn is None: - # NOTE(sileht): can't really happen, but we must please mypy - fn_name = "" - else: - fn_name = _utils.get_callback_name(retry_state.fn) - logger.log( - log_level, - f"Starting call to '{fn_name}', " - f"this is the {_utils.to_ordinal(retry_state.attempt_number)} time calling it.", - ) - - return log_it diff --git a/.venv/Lib/site-packages/pip/_vendor/tenacity/before_sleep.py b/.venv/Lib/site-packages/pip/_vendor/tenacity/before_sleep.py deleted file mode 100644 index 8c6167f..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/tenacity/before_sleep.py +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 2016 Julien Danjou -# Copyright 2016 Joshua Harlow -# Copyright 2013-2014 Ray Holder -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -import typing - -from pip._vendor.tenacity import _utils - -if typing.TYPE_CHECKING: - import logging - - from pip._vendor.tenacity import RetryCallState - - -def before_sleep_nothing(retry_state: "RetryCallState") -> None: - """Before call strategy that does nothing.""" - - -def before_sleep_log( - logger: "logging.Logger", - log_level: int, - exc_info: bool = False, -) -> typing.Callable[["RetryCallState"], None]: - """Before call strategy that logs to some logger the attempt.""" - - def log_it(retry_state: "RetryCallState") -> None: - local_exc_info: BaseException | bool | None - - if retry_state.outcome is None: - raise RuntimeError("log_it() called before outcome was set") - - if retry_state.next_action is None: - raise RuntimeError("log_it() called before next_action was set") - - if retry_state.outcome.failed: - ex = retry_state.outcome.exception() - verb, value = "raised", f"{ex.__class__.__name__}: {ex}" - - if exc_info: - local_exc_info = retry_state.outcome.exception() - else: - local_exc_info = False - else: - verb, value = "returned", retry_state.outcome.result() - local_exc_info = False # exc_info does not apply when no exception - - if retry_state.fn is None: - # NOTE(sileht): can't really happen, but we must please mypy - fn_name = "" - else: - fn_name = _utils.get_callback_name(retry_state.fn) - - logger.log( - log_level, - f"Retrying {fn_name} " f"in {retry_state.next_action.sleep} seconds as it {verb} {value}.", - exc_info=local_exc_info, - ) - - return log_it diff --git a/.venv/Lib/site-packages/pip/_vendor/tenacity/nap.py b/.venv/Lib/site-packages/pip/_vendor/tenacity/nap.py deleted file mode 100644 index 72aa5bf..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/tenacity/nap.py +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 2016 Étienne Bersac -# Copyright 2016 Julien Danjou -# Copyright 2016 Joshua Harlow -# Copyright 2013-2014 Ray Holder -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -import time -import typing - -if typing.TYPE_CHECKING: - import threading - - -def sleep(seconds: float) -> None: - """ - Sleep strategy that delays execution for a given number of seconds. - - This is the default strategy, and may be mocked out for unit testing. - """ - time.sleep(seconds) - - -class sleep_using_event: - """Sleep strategy that waits on an event to be set.""" - - def __init__(self, event: "threading.Event") -> None: - self.event = event - - def __call__(self, timeout: typing.Optional[float]) -> None: - # NOTE(harlowja): this may *not* actually wait for timeout - # seconds if the event is set (ie this may eject out early). - self.event.wait(timeout=timeout) diff --git a/.venv/Lib/site-packages/pip/_vendor/tenacity/retry.py b/.venv/Lib/site-packages/pip/_vendor/tenacity/retry.py deleted file mode 100644 index 3898873..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/tenacity/retry.py +++ /dev/null @@ -1,272 +0,0 @@ -# Copyright 2016–2021 Julien Danjou -# Copyright 2016 Joshua Harlow -# Copyright 2013-2014 Ray Holder -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -import abc -import re -import typing - -if typing.TYPE_CHECKING: - from pip._vendor.tenacity import RetryCallState - - -class retry_base(abc.ABC): - """Abstract base class for retry strategies.""" - - @abc.abstractmethod - def __call__(self, retry_state: "RetryCallState") -> bool: - pass - - def __and__(self, other: "retry_base") -> "retry_all": - return retry_all(self, other) - - def __or__(self, other: "retry_base") -> "retry_any": - return retry_any(self, other) - - -RetryBaseT = typing.Union[retry_base, typing.Callable[["RetryCallState"], bool]] - - -class _retry_never(retry_base): - """Retry strategy that never rejects any result.""" - - def __call__(self, retry_state: "RetryCallState") -> bool: - return False - - -retry_never = _retry_never() - - -class _retry_always(retry_base): - """Retry strategy that always rejects any result.""" - - def __call__(self, retry_state: "RetryCallState") -> bool: - return True - - -retry_always = _retry_always() - - -class retry_if_exception(retry_base): - """Retry strategy that retries if an exception verifies a predicate.""" - - def __init__(self, predicate: typing.Callable[[BaseException], bool]) -> None: - self.predicate = predicate - - def __call__(self, retry_state: "RetryCallState") -> bool: - if retry_state.outcome is None: - raise RuntimeError("__call__() called before outcome was set") - - if retry_state.outcome.failed: - exception = retry_state.outcome.exception() - if exception is None: - raise RuntimeError("outcome failed but the exception is None") - return self.predicate(exception) - else: - return False - - -class retry_if_exception_type(retry_if_exception): - """Retries if an exception has been raised of one or more types.""" - - def __init__( - self, - exception_types: typing.Union[ - typing.Type[BaseException], - typing.Tuple[typing.Type[BaseException], ...], - ] = Exception, - ) -> None: - self.exception_types = exception_types - super().__init__(lambda e: isinstance(e, exception_types)) - - -class retry_if_not_exception_type(retry_if_exception): - """Retries except an exception has been raised of one or more types.""" - - def __init__( - self, - exception_types: typing.Union[ - typing.Type[BaseException], - typing.Tuple[typing.Type[BaseException], ...], - ] = Exception, - ) -> None: - self.exception_types = exception_types - super().__init__(lambda e: not isinstance(e, exception_types)) - - -class retry_unless_exception_type(retry_if_exception): - """Retries until an exception is raised of one or more types.""" - - def __init__( - self, - exception_types: typing.Union[ - typing.Type[BaseException], - typing.Tuple[typing.Type[BaseException], ...], - ] = Exception, - ) -> None: - self.exception_types = exception_types - super().__init__(lambda e: not isinstance(e, exception_types)) - - def __call__(self, retry_state: "RetryCallState") -> bool: - if retry_state.outcome is None: - raise RuntimeError("__call__() called before outcome was set") - - # always retry if no exception was raised - if not retry_state.outcome.failed: - return True - - exception = retry_state.outcome.exception() - if exception is None: - raise RuntimeError("outcome failed but the exception is None") - return self.predicate(exception) - - -class retry_if_exception_cause_type(retry_base): - """Retries if any of the causes of the raised exception is of one or more types. - - The check on the type of the cause of the exception is done recursively (until finding - an exception in the chain that has no `__cause__`) - """ - - def __init__( - self, - exception_types: typing.Union[ - typing.Type[BaseException], - typing.Tuple[typing.Type[BaseException], ...], - ] = Exception, - ) -> None: - self.exception_cause_types = exception_types - - def __call__(self, retry_state: "RetryCallState") -> bool: - if retry_state.outcome is None: - raise RuntimeError("__call__ called before outcome was set") - - if retry_state.outcome.failed: - exc = retry_state.outcome.exception() - while exc is not None: - if isinstance(exc.__cause__, self.exception_cause_types): - return True - exc = exc.__cause__ - - return False - - -class retry_if_result(retry_base): - """Retries if the result verifies a predicate.""" - - def __init__(self, predicate: typing.Callable[[typing.Any], bool]) -> None: - self.predicate = predicate - - def __call__(self, retry_state: "RetryCallState") -> bool: - if retry_state.outcome is None: - raise RuntimeError("__call__() called before outcome was set") - - if not retry_state.outcome.failed: - return self.predicate(retry_state.outcome.result()) - else: - return False - - -class retry_if_not_result(retry_base): - """Retries if the result refutes a predicate.""" - - def __init__(self, predicate: typing.Callable[[typing.Any], bool]) -> None: - self.predicate = predicate - - def __call__(self, retry_state: "RetryCallState") -> bool: - if retry_state.outcome is None: - raise RuntimeError("__call__() called before outcome was set") - - if not retry_state.outcome.failed: - return not self.predicate(retry_state.outcome.result()) - else: - return False - - -class retry_if_exception_message(retry_if_exception): - """Retries if an exception message equals or matches.""" - - def __init__( - self, - message: typing.Optional[str] = None, - match: typing.Optional[str] = None, - ) -> None: - if message and match: - raise TypeError(f"{self.__class__.__name__}() takes either 'message' or 'match', not both") - - # set predicate - if message: - - def message_fnc(exception: BaseException) -> bool: - return message == str(exception) - - predicate = message_fnc - elif match: - prog = re.compile(match) - - def match_fnc(exception: BaseException) -> bool: - return bool(prog.match(str(exception))) - - predicate = match_fnc - else: - raise TypeError(f"{self.__class__.__name__}() missing 1 required argument 'message' or 'match'") - - super().__init__(predicate) - - -class retry_if_not_exception_message(retry_if_exception_message): - """Retries until an exception message equals or matches.""" - - def __init__( - self, - message: typing.Optional[str] = None, - match: typing.Optional[str] = None, - ) -> None: - super().__init__(message, match) - # invert predicate - if_predicate = self.predicate - self.predicate = lambda *args_, **kwargs_: not if_predicate(*args_, **kwargs_) - - def __call__(self, retry_state: "RetryCallState") -> bool: - if retry_state.outcome is None: - raise RuntimeError("__call__() called before outcome was set") - - if not retry_state.outcome.failed: - return True - - exception = retry_state.outcome.exception() - if exception is None: - raise RuntimeError("outcome failed but the exception is None") - return self.predicate(exception) - - -class retry_any(retry_base): - """Retries if any of the retries condition is valid.""" - - def __init__(self, *retries: retry_base) -> None: - self.retries = retries - - def __call__(self, retry_state: "RetryCallState") -> bool: - return any(r(retry_state) for r in self.retries) - - -class retry_all(retry_base): - """Retries if all the retries condition are valid.""" - - def __init__(self, *retries: retry_base) -> None: - self.retries = retries - - def __call__(self, retry_state: "RetryCallState") -> bool: - return all(r(retry_state) for r in self.retries) diff --git a/.venv/Lib/site-packages/pip/_vendor/tenacity/stop.py b/.venv/Lib/site-packages/pip/_vendor/tenacity/stop.py deleted file mode 100644 index bb23eff..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/tenacity/stop.py +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 2016–2021 Julien Danjou -# Copyright 2016 Joshua Harlow -# Copyright 2013-2014 Ray Holder -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -import abc -import typing - -from pip._vendor.tenacity import _utils - -if typing.TYPE_CHECKING: - import threading - - from pip._vendor.tenacity import RetryCallState - - -class stop_base(abc.ABC): - """Abstract base class for stop strategies.""" - - @abc.abstractmethod - def __call__(self, retry_state: "RetryCallState") -> bool: - pass - - def __and__(self, other: "stop_base") -> "stop_all": - return stop_all(self, other) - - def __or__(self, other: "stop_base") -> "stop_any": - return stop_any(self, other) - - -StopBaseT = typing.Union[stop_base, typing.Callable[["RetryCallState"], bool]] - - -class stop_any(stop_base): - """Stop if any of the stop condition is valid.""" - - def __init__(self, *stops: stop_base) -> None: - self.stops = stops - - def __call__(self, retry_state: "RetryCallState") -> bool: - return any(x(retry_state) for x in self.stops) - - -class stop_all(stop_base): - """Stop if all the stop conditions are valid.""" - - def __init__(self, *stops: stop_base) -> None: - self.stops = stops - - def __call__(self, retry_state: "RetryCallState") -> bool: - return all(x(retry_state) for x in self.stops) - - -class _stop_never(stop_base): - """Never stop.""" - - def __call__(self, retry_state: "RetryCallState") -> bool: - return False - - -stop_never = _stop_never() - - -class stop_when_event_set(stop_base): - """Stop when the given event is set.""" - - def __init__(self, event: "threading.Event") -> None: - self.event = event - - def __call__(self, retry_state: "RetryCallState") -> bool: - return self.event.is_set() - - -class stop_after_attempt(stop_base): - """Stop when the previous attempt >= max_attempt.""" - - def __init__(self, max_attempt_number: int) -> None: - self.max_attempt_number = max_attempt_number - - def __call__(self, retry_state: "RetryCallState") -> bool: - return retry_state.attempt_number >= self.max_attempt_number - - -class stop_after_delay(stop_base): - """Stop when the time from the first attempt >= limit.""" - - def __init__(self, max_delay: _utils.time_unit_type) -> None: - self.max_delay = _utils.to_seconds(max_delay) - - def __call__(self, retry_state: "RetryCallState") -> bool: - if retry_state.seconds_since_start is None: - raise RuntimeError("__call__() called but seconds_since_start is not set") - return retry_state.seconds_since_start >= self.max_delay diff --git a/.venv/Lib/site-packages/pip/_vendor/tenacity/tornadoweb.py b/.venv/Lib/site-packages/pip/_vendor/tenacity/tornadoweb.py deleted file mode 100644 index e19c30b..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/tenacity/tornadoweb.py +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 2017 Elisey Zanko -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -import sys -import typing - -from pip._vendor.tenacity import BaseRetrying -from pip._vendor.tenacity import DoAttempt -from pip._vendor.tenacity import DoSleep -from pip._vendor.tenacity import RetryCallState - -from tornado import gen - -if typing.TYPE_CHECKING: - from tornado.concurrent import Future - -_RetValT = typing.TypeVar("_RetValT") - - -class TornadoRetrying(BaseRetrying): - def __init__(self, sleep: "typing.Callable[[float], Future[None]]" = gen.sleep, **kwargs: typing.Any) -> None: - super().__init__(**kwargs) - self.sleep = sleep - - @gen.coroutine # type: ignore[misc] - def __call__( - self, - fn: "typing.Callable[..., typing.Union[typing.Generator[typing.Any, typing.Any, _RetValT], Future[_RetValT]]]", - *args: typing.Any, - **kwargs: typing.Any, - ) -> "typing.Generator[typing.Any, typing.Any, _RetValT]": - self.begin() - - retry_state = RetryCallState(retry_object=self, fn=fn, args=args, kwargs=kwargs) - while True: - do = self.iter(retry_state=retry_state) - if isinstance(do, DoAttempt): - try: - result = yield fn(*args, **kwargs) - except BaseException: # noqa: B902 - retry_state.set_exception(sys.exc_info()) # type: ignore[arg-type] - else: - retry_state.set_result(result) - elif isinstance(do, DoSleep): - retry_state.prepare_for_next_attempt() - yield self.sleep(do) - else: - raise gen.Return(do) diff --git a/.venv/Lib/site-packages/pip/_vendor/tenacity/wait.py b/.venv/Lib/site-packages/pip/_vendor/tenacity/wait.py deleted file mode 100644 index f9349c0..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/tenacity/wait.py +++ /dev/null @@ -1,228 +0,0 @@ -# Copyright 2016–2021 Julien Danjou -# Copyright 2016 Joshua Harlow -# Copyright 2013-2014 Ray Holder -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -import abc -import random -import typing - -from pip._vendor.tenacity import _utils - -if typing.TYPE_CHECKING: - from pip._vendor.tenacity import RetryCallState - - -class wait_base(abc.ABC): - """Abstract base class for wait strategies.""" - - @abc.abstractmethod - def __call__(self, retry_state: "RetryCallState") -> float: - pass - - def __add__(self, other: "wait_base") -> "wait_combine": - return wait_combine(self, other) - - def __radd__(self, other: "wait_base") -> typing.Union["wait_combine", "wait_base"]: - # make it possible to use multiple waits with the built-in sum function - if other == 0: # type: ignore[comparison-overlap] - return self - return self.__add__(other) - - -WaitBaseT = typing.Union[wait_base, typing.Callable[["RetryCallState"], typing.Union[float, int]]] - - -class wait_fixed(wait_base): - """Wait strategy that waits a fixed amount of time between each retry.""" - - def __init__(self, wait: _utils.time_unit_type) -> None: - self.wait_fixed = _utils.to_seconds(wait) - - def __call__(self, retry_state: "RetryCallState") -> float: - return self.wait_fixed - - -class wait_none(wait_fixed): - """Wait strategy that doesn't wait at all before retrying.""" - - def __init__(self) -> None: - super().__init__(0) - - -class wait_random(wait_base): - """Wait strategy that waits a random amount of time between min/max.""" - - def __init__(self, min: _utils.time_unit_type = 0, max: _utils.time_unit_type = 1) -> None: # noqa - self.wait_random_min = _utils.to_seconds(min) - self.wait_random_max = _utils.to_seconds(max) - - def __call__(self, retry_state: "RetryCallState") -> float: - return self.wait_random_min + (random.random() * (self.wait_random_max - self.wait_random_min)) - - -class wait_combine(wait_base): - """Combine several waiting strategies.""" - - def __init__(self, *strategies: wait_base) -> None: - self.wait_funcs = strategies - - def __call__(self, retry_state: "RetryCallState") -> float: - return sum(x(retry_state=retry_state) for x in self.wait_funcs) - - -class wait_chain(wait_base): - """Chain two or more waiting strategies. - - If all strategies are exhausted, the very last strategy is used - thereafter. - - For example:: - - @retry(wait=wait_chain(*[wait_fixed(1) for i in range(3)] + - [wait_fixed(2) for j in range(5)] + - [wait_fixed(5) for k in range(4))) - def wait_chained(): - print("Wait 1s for 3 attempts, 2s for 5 attempts and 5s - thereafter.") - """ - - def __init__(self, *strategies: wait_base) -> None: - self.strategies = strategies - - def __call__(self, retry_state: "RetryCallState") -> float: - wait_func_no = min(max(retry_state.attempt_number, 1), len(self.strategies)) - wait_func = self.strategies[wait_func_no - 1] - return wait_func(retry_state=retry_state) - - -class wait_incrementing(wait_base): - """Wait an incremental amount of time after each attempt. - - Starting at a starting value and incrementing by a value for each attempt - (and restricting the upper limit to some maximum value). - """ - - def __init__( - self, - start: _utils.time_unit_type = 0, - increment: _utils.time_unit_type = 100, - max: _utils.time_unit_type = _utils.MAX_WAIT, # noqa - ) -> None: - self.start = _utils.to_seconds(start) - self.increment = _utils.to_seconds(increment) - self.max = _utils.to_seconds(max) - - def __call__(self, retry_state: "RetryCallState") -> float: - result = self.start + (self.increment * (retry_state.attempt_number - 1)) - return max(0, min(result, self.max)) - - -class wait_exponential(wait_base): - """Wait strategy that applies exponential backoff. - - It allows for a customized multiplier and an ability to restrict the - upper and lower limits to some maximum and minimum value. - - The intervals are fixed (i.e. there is no jitter), so this strategy is - suitable for balancing retries against latency when a required resource is - unavailable for an unknown duration, but *not* suitable for resolving - contention between multiple processes for a shared resource. Use - wait_random_exponential for the latter case. - """ - - def __init__( - self, - multiplier: typing.Union[int, float] = 1, - max: _utils.time_unit_type = _utils.MAX_WAIT, # noqa - exp_base: typing.Union[int, float] = 2, - min: _utils.time_unit_type = 0, # noqa - ) -> None: - self.multiplier = multiplier - self.min = _utils.to_seconds(min) - self.max = _utils.to_seconds(max) - self.exp_base = exp_base - - def __call__(self, retry_state: "RetryCallState") -> float: - try: - exp = self.exp_base ** (retry_state.attempt_number - 1) - result = self.multiplier * exp - except OverflowError: - return self.max - return max(max(0, self.min), min(result, self.max)) - - -class wait_random_exponential(wait_exponential): - """Random wait with exponentially widening window. - - An exponential backoff strategy used to mediate contention between multiple - uncoordinated processes for a shared resource in distributed systems. This - is the sense in which "exponential backoff" is meant in e.g. Ethernet - networking, and corresponds to the "Full Jitter" algorithm described in - this blog post: - - https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/ - - Each retry occurs at a random time in a geometrically expanding interval. - It allows for a custom multiplier and an ability to restrict the upper - limit of the random interval to some maximum value. - - Example:: - - wait_random_exponential(multiplier=0.5, # initial window 0.5s - max=60) # max 60s timeout - - When waiting for an unavailable resource to become available again, as - opposed to trying to resolve contention for a shared resource, the - wait_exponential strategy (which uses a fixed interval) may be preferable. - - """ - - def __call__(self, retry_state: "RetryCallState") -> float: - high = super().__call__(retry_state=retry_state) - return random.uniform(0, high) - - -class wait_exponential_jitter(wait_base): - """Wait strategy that applies exponential backoff and jitter. - - It allows for a customized initial wait, maximum wait and jitter. - - This implements the strategy described here: - https://cloud.google.com/storage/docs/retry-strategy - - The wait time is min(initial * 2**n + random.uniform(0, jitter), maximum) - where n is the retry count. - """ - - def __init__( - self, - initial: float = 1, - max: float = _utils.MAX_WAIT, # noqa - exp_base: float = 2, - jitter: float = 1, - ) -> None: - self.initial = initial - self.max = max - self.exp_base = exp_base - self.jitter = jitter - - def __call__(self, retry_state: "RetryCallState") -> float: - jitter = random.uniform(0, self.jitter) - try: - exp = self.exp_base ** (retry_state.attempt_number - 1) - result = self.initial * exp + jitter - except OverflowError: - result = self.max - return max(0, min(result, self.max)) diff --git a/.venv/Lib/site-packages/pip/_vendor/tomli/__init__.py b/.venv/Lib/site-packages/pip/_vendor/tomli/__init__.py index 4c6ec97..2b08d6e 100644 --- a/.venv/Lib/site-packages/pip/_vendor/tomli/__init__.py +++ b/.venv/Lib/site-packages/pip/_vendor/tomli/__init__.py @@ -3,9 +3,6 @@ # Licensed to PSF under a Contributor Agreement. __all__ = ("loads", "load", "TOMLDecodeError") -__version__ = "2.0.1" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT +__version__ = "2.2.1" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT from ._parser import TOMLDecodeError, load, loads - -# Pretend this exception was created here. -TOMLDecodeError.__module__ = __name__ diff --git a/.venv/Lib/site-packages/pip/_vendor/tomli/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/tomli/__pycache__/__init__.cpython-311.pyc index ba1a0ff..01ec8d7 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/tomli/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/tomli/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/tomli/__pycache__/_parser.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/tomli/__pycache__/_parser.cpython-311.pyc index a3144a9..21e9d39 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/tomli/__pycache__/_parser.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/tomli/__pycache__/_parser.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/tomli/__pycache__/_re.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/tomli/__pycache__/_re.cpython-311.pyc index 5faedb1..c441b77 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/tomli/__pycache__/_re.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/tomli/__pycache__/_re.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/tomli/__pycache__/_types.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/tomli/__pycache__/_types.cpython-311.pyc index ffb11fd..d23d1eb 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/tomli/__pycache__/_types.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/tomli/__pycache__/_types.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/tomli/_parser.py b/.venv/Lib/site-packages/pip/_vendor/tomli/_parser.py index f1bb0aa..b548e8b 100644 --- a/.venv/Lib/site-packages/pip/_vendor/tomli/_parser.py +++ b/.venv/Lib/site-packages/pip/_vendor/tomli/_parser.py @@ -6,8 +6,10 @@ from __future__ import annotations from collections.abc import Iterable import string +import sys from types import MappingProxyType -from typing import Any, BinaryIO, NamedTuple +from typing import IO, Any, Final, NamedTuple +import warnings from ._re import ( RE_DATETIME, @@ -19,25 +21,36 @@ from ._re import ( ) from ._types import Key, ParseFloat, Pos -ASCII_CTRL = frozenset(chr(i) for i in range(32)) | frozenset(chr(127)) +# Inline tables/arrays are implemented using recursion. Pathologically +# nested documents cause pure Python to raise RecursionError (which is OK), +# but mypyc binary wheels will crash unrecoverably (not OK). According to +# mypyc docs this will be fixed in the future: +# https://mypyc.readthedocs.io/en/latest/differences_from_python.html#stack-overflows +# Before mypyc's fix is in, recursion needs to be limited by this library. +# Choosing `sys.getrecursionlimit()` as maximum inline table/array nesting +# level, as it allows more nesting than pure Python, but still seems a far +# lower number than where mypyc binaries crash. +MAX_INLINE_NESTING: Final = sys.getrecursionlimit() + +ASCII_CTRL: Final = frozenset(chr(i) for i in range(32)) | frozenset(chr(127)) # Neither of these sets include quotation mark or backslash. They are # currently handled as separate cases in the parser functions. -ILLEGAL_BASIC_STR_CHARS = ASCII_CTRL - frozenset("\t") -ILLEGAL_MULTILINE_BASIC_STR_CHARS = ASCII_CTRL - frozenset("\t\n") +ILLEGAL_BASIC_STR_CHARS: Final = ASCII_CTRL - frozenset("\t") +ILLEGAL_MULTILINE_BASIC_STR_CHARS: Final = ASCII_CTRL - frozenset("\t\n") -ILLEGAL_LITERAL_STR_CHARS = ILLEGAL_BASIC_STR_CHARS -ILLEGAL_MULTILINE_LITERAL_STR_CHARS = ILLEGAL_MULTILINE_BASIC_STR_CHARS +ILLEGAL_LITERAL_STR_CHARS: Final = ILLEGAL_BASIC_STR_CHARS +ILLEGAL_MULTILINE_LITERAL_STR_CHARS: Final = ILLEGAL_MULTILINE_BASIC_STR_CHARS -ILLEGAL_COMMENT_CHARS = ILLEGAL_BASIC_STR_CHARS +ILLEGAL_COMMENT_CHARS: Final = ILLEGAL_BASIC_STR_CHARS -TOML_WS = frozenset(" \t") -TOML_WS_AND_NEWLINE = TOML_WS | frozenset("\n") -BARE_KEY_CHARS = frozenset(string.ascii_letters + string.digits + "-_") -KEY_INITIAL_CHARS = BARE_KEY_CHARS | frozenset("\"'") -HEXDIGIT_CHARS = frozenset(string.hexdigits) +TOML_WS: Final = frozenset(" \t") +TOML_WS_AND_NEWLINE: Final = TOML_WS | frozenset("\n") +BARE_KEY_CHARS: Final = frozenset(string.ascii_letters + string.digits + "-_") +KEY_INITIAL_CHARS: Final = BARE_KEY_CHARS | frozenset("\"'") +HEXDIGIT_CHARS: Final = frozenset(string.hexdigits) -BASIC_STR_ESCAPE_REPLACEMENTS = MappingProxyType( +BASIC_STR_ESCAPE_REPLACEMENTS: Final = MappingProxyType( { "\\b": "\u0008", # backspace "\\t": "\u0009", # tab @@ -50,11 +63,71 @@ BASIC_STR_ESCAPE_REPLACEMENTS = MappingProxyType( ) +class DEPRECATED_DEFAULT: + """Sentinel to be used as default arg during deprecation + period of TOMLDecodeError's free-form arguments.""" + + class TOMLDecodeError(ValueError): - """An error raised if a document is not valid TOML.""" + """An error raised if a document is not valid TOML. + + Adds the following attributes to ValueError: + msg: The unformatted error message + doc: The TOML document being parsed + pos: The index of doc where parsing failed + lineno: The line corresponding to pos + colno: The column corresponding to pos + """ + + def __init__( + self, + msg: str | type[DEPRECATED_DEFAULT] = DEPRECATED_DEFAULT, + doc: str | type[DEPRECATED_DEFAULT] = DEPRECATED_DEFAULT, + pos: Pos | type[DEPRECATED_DEFAULT] = DEPRECATED_DEFAULT, + *args: Any, + ): + if ( + args + or not isinstance(msg, str) + or not isinstance(doc, str) + or not isinstance(pos, int) + ): + warnings.warn( + "Free-form arguments for TOMLDecodeError are deprecated. " + "Please set 'msg' (str), 'doc' (str) and 'pos' (int) arguments only.", + DeprecationWarning, + stacklevel=2, + ) + if pos is not DEPRECATED_DEFAULT: + args = pos, *args + if doc is not DEPRECATED_DEFAULT: + args = doc, *args + if msg is not DEPRECATED_DEFAULT: + args = msg, *args + ValueError.__init__(self, *args) + return + + lineno = doc.count("\n", 0, pos) + 1 + if lineno == 1: + colno = pos + 1 + else: + colno = pos - doc.rindex("\n", 0, pos) + + if pos >= len(doc): + coord_repr = "end of document" + else: + coord_repr = f"line {lineno}, column {colno}" + errmsg = f"{msg} (at {coord_repr})" + ValueError.__init__(self, errmsg) + + self.msg = msg + self.doc = doc + self.pos = pos + self.lineno = lineno + self.colno = colno -def load(__fp: BinaryIO, *, parse_float: ParseFloat = float) -> dict[str, Any]: +def load(__fp: IO[bytes], *, parse_float: ParseFloat = float) -> dict[str, Any]: """Parse TOML from a binary file object.""" b = __fp.read() try: @@ -71,7 +144,12 @@ def loads(__s: str, *, parse_float: ParseFloat = float) -> dict[str, Any]: # no # The spec allows converting "\r\n" to "\n", even in string # literals. Let's do so to simplify parsing. - src = __s.replace("\r\n", "\n") + try: + src = __s.replace("\r\n", "\n") + except (AttributeError, TypeError): + raise TypeError( + f"Expected str object, not '{type(__s).__qualname__}'" + ) from None pos = 0 out = Output(NestedDict(), Flags()) header: Key = () @@ -113,7 +191,7 @@ def loads(__s: str, *, parse_float: ParseFloat = float) -> dict[str, Any]: # no pos, header = create_dict_rule(src, pos, out) pos = skip_chars(src, pos, TOML_WS) elif char != "#": - raise suffixed_err(src, pos, "Invalid statement") + raise TOMLDecodeError("Invalid statement", src, pos) # 3. Skip comment pos = skip_comment(src, pos) @@ -124,8 +202,8 @@ def loads(__s: str, *, parse_float: ParseFloat = float) -> dict[str, Any]: # no except IndexError: break if char != "\n": - raise suffixed_err( - src, pos, "Expected newline or end of document after a statement" + raise TOMLDecodeError( + "Expected newline or end of document after a statement", src, pos ) pos += 1 @@ -136,10 +214,10 @@ class Flags: """Flags that map to parsed keys/namespaces.""" # Marks an immutable namespace (inline array or inline table). - FROZEN = 0 + FROZEN: Final = 0 # Marks a nest that has been explicitly created and can no longer # be opened using the "[table]" syntax. - EXPLICIT_NEST = 1 + EXPLICIT_NEST: Final = 1 def __init__(self) -> None: self._flags: dict[str, dict] = {} @@ -185,8 +263,8 @@ class Flags: cont = inner_cont["nested"] key_stem = key[-1] if key_stem in cont: - cont = cont[key_stem] - return flag in cont["flags"] or flag in cont["recursive_flags"] + inner_cont = cont[key_stem] + return flag in inner_cont["flags"] or flag in inner_cont["recursive_flags"] return False @@ -251,12 +329,12 @@ def skip_until( except ValueError: new_pos = len(src) if error_on_eof: - raise suffixed_err(src, new_pos, f"Expected {expect!r}") from None + raise TOMLDecodeError(f"Expected {expect!r}", src, new_pos) from None if not error_on.isdisjoint(src[pos:new_pos]): while src[pos] not in error_on: pos += 1 - raise suffixed_err(src, pos, f"Found invalid character {src[pos]!r}") + raise TOMLDecodeError(f"Found invalid character {src[pos]!r}", src, pos) return new_pos @@ -287,15 +365,17 @@ def create_dict_rule(src: str, pos: Pos, out: Output) -> tuple[Pos, Key]: pos, key = parse_key(src, pos) if out.flags.is_(key, Flags.EXPLICIT_NEST) or out.flags.is_(key, Flags.FROZEN): - raise suffixed_err(src, pos, f"Cannot declare {key} twice") + raise TOMLDecodeError(f"Cannot declare {key} twice", src, pos) out.flags.set(key, Flags.EXPLICIT_NEST, recursive=False) try: out.data.get_or_create_nest(key) except KeyError: - raise suffixed_err(src, pos, "Cannot overwrite a value") from None + raise TOMLDecodeError("Cannot overwrite a value", src, pos) from None if not src.startswith("]", pos): - raise suffixed_err(src, pos, "Expected ']' at the end of a table declaration") + raise TOMLDecodeError( + "Expected ']' at the end of a table declaration", src, pos + ) return pos + 1, key @@ -305,7 +385,7 @@ def create_list_rule(src: str, pos: Pos, out: Output) -> tuple[Pos, Key]: pos, key = parse_key(src, pos) if out.flags.is_(key, Flags.FROZEN): - raise suffixed_err(src, pos, f"Cannot mutate immutable namespace {key}") + raise TOMLDecodeError(f"Cannot mutate immutable namespace {key}", src, pos) # Free the namespace now that it points to another empty list item... out.flags.unset_all(key) # ...but this key precisely is still prohibited from table declaration @@ -313,17 +393,19 @@ def create_list_rule(src: str, pos: Pos, out: Output) -> tuple[Pos, Key]: try: out.data.append_nest_to_list(key) except KeyError: - raise suffixed_err(src, pos, "Cannot overwrite a value") from None + raise TOMLDecodeError("Cannot overwrite a value", src, pos) from None if not src.startswith("]]", pos): - raise suffixed_err(src, pos, "Expected ']]' at the end of an array declaration") + raise TOMLDecodeError( + "Expected ']]' at the end of an array declaration", src, pos + ) return pos + 2, key def key_value_rule( src: str, pos: Pos, out: Output, header: Key, parse_float: ParseFloat ) -> Pos: - pos, key, value = parse_key_value_pair(src, pos, parse_float) + pos, key, value = parse_key_value_pair(src, pos, parse_float, nest_lvl=0) key_parent, key_stem = key[:-1], key[-1] abs_key_parent = header + key_parent @@ -331,22 +413,22 @@ def key_value_rule( for cont_key in relative_path_cont_keys: # Check that dotted key syntax does not redefine an existing table if out.flags.is_(cont_key, Flags.EXPLICIT_NEST): - raise suffixed_err(src, pos, f"Cannot redefine namespace {cont_key}") + raise TOMLDecodeError(f"Cannot redefine namespace {cont_key}", src, pos) # Containers in the relative path can't be opened with the table syntax or # dotted key/value syntax in following table sections. out.flags.add_pending(cont_key, Flags.EXPLICIT_NEST) if out.flags.is_(abs_key_parent, Flags.FROZEN): - raise suffixed_err( - src, pos, f"Cannot mutate immutable namespace {abs_key_parent}" + raise TOMLDecodeError( + f"Cannot mutate immutable namespace {abs_key_parent}", src, pos ) try: nest = out.data.get_or_create_nest(abs_key_parent) except KeyError: - raise suffixed_err(src, pos, "Cannot overwrite a value") from None + raise TOMLDecodeError("Cannot overwrite a value", src, pos) from None if key_stem in nest: - raise suffixed_err(src, pos, "Cannot overwrite a value") + raise TOMLDecodeError("Cannot overwrite a value", src, pos) # Mark inline table and array namespaces recursively immutable if isinstance(value, (dict, list)): out.flags.set(header + key, Flags.FROZEN, recursive=True) @@ -355,7 +437,7 @@ def key_value_rule( def parse_key_value_pair( - src: str, pos: Pos, parse_float: ParseFloat + src: str, pos: Pos, parse_float: ParseFloat, nest_lvl: int ) -> tuple[Pos, Key, Any]: pos, key = parse_key(src, pos) try: @@ -363,10 +445,10 @@ def parse_key_value_pair( except IndexError: char = None if char != "=": - raise suffixed_err(src, pos, "Expected '=' after a key in a key/value pair") + raise TOMLDecodeError("Expected '=' after a key in a key/value pair", src, pos) pos += 1 pos = skip_chars(src, pos, TOML_WS) - pos, value = parse_value(src, pos, parse_float) + pos, value = parse_value(src, pos, parse_float, nest_lvl) return pos, key, value @@ -401,7 +483,7 @@ def parse_key_part(src: str, pos: Pos) -> tuple[Pos, str]: return parse_literal_str(src, pos) if char == '"': return parse_one_line_basic_str(src, pos) - raise suffixed_err(src, pos, "Invalid initial character for a key part") + raise TOMLDecodeError("Invalid initial character for a key part", src, pos) def parse_one_line_basic_str(src: str, pos: Pos) -> tuple[Pos, str]: @@ -409,7 +491,9 @@ def parse_one_line_basic_str(src: str, pos: Pos) -> tuple[Pos, str]: return parse_basic_str(src, pos, multiline=False) -def parse_array(src: str, pos: Pos, parse_float: ParseFloat) -> tuple[Pos, list]: +def parse_array( + src: str, pos: Pos, parse_float: ParseFloat, nest_lvl: int +) -> tuple[Pos, list]: pos += 1 array: list = [] @@ -417,7 +501,7 @@ def parse_array(src: str, pos: Pos, parse_float: ParseFloat) -> tuple[Pos, list] if src.startswith("]", pos): return pos + 1, array while True: - pos, val = parse_value(src, pos, parse_float) + pos, val = parse_value(src, pos, parse_float, nest_lvl) array.append(val) pos = skip_comments_and_array_ws(src, pos) @@ -425,7 +509,7 @@ def parse_array(src: str, pos: Pos, parse_float: ParseFloat) -> tuple[Pos, list] if c == "]": return pos + 1, array if c != ",": - raise suffixed_err(src, pos, "Unclosed array") + raise TOMLDecodeError("Unclosed array", src, pos) pos += 1 pos = skip_comments_and_array_ws(src, pos) @@ -433,7 +517,9 @@ def parse_array(src: str, pos: Pos, parse_float: ParseFloat) -> tuple[Pos, list] return pos + 1, array -def parse_inline_table(src: str, pos: Pos, parse_float: ParseFloat) -> tuple[Pos, dict]: +def parse_inline_table( + src: str, pos: Pos, parse_float: ParseFloat, nest_lvl: int +) -> tuple[Pos, dict]: pos += 1 nested_dict = NestedDict() flags = Flags() @@ -442,23 +528,23 @@ def parse_inline_table(src: str, pos: Pos, parse_float: ParseFloat) -> tuple[Pos if src.startswith("}", pos): return pos + 1, nested_dict.dict while True: - pos, key, value = parse_key_value_pair(src, pos, parse_float) + pos, key, value = parse_key_value_pair(src, pos, parse_float, nest_lvl) key_parent, key_stem = key[:-1], key[-1] if flags.is_(key, Flags.FROZEN): - raise suffixed_err(src, pos, f"Cannot mutate immutable namespace {key}") + raise TOMLDecodeError(f"Cannot mutate immutable namespace {key}", src, pos) try: nest = nested_dict.get_or_create_nest(key_parent, access_lists=False) except KeyError: - raise suffixed_err(src, pos, "Cannot overwrite a value") from None + raise TOMLDecodeError("Cannot overwrite a value", src, pos) from None if key_stem in nest: - raise suffixed_err(src, pos, f"Duplicate inline table key {key_stem!r}") + raise TOMLDecodeError(f"Duplicate inline table key {key_stem!r}", src, pos) nest[key_stem] = value pos = skip_chars(src, pos, TOML_WS) c = src[pos : pos + 1] if c == "}": return pos + 1, nested_dict.dict if c != ",": - raise suffixed_err(src, pos, "Unclosed inline table") + raise TOMLDecodeError("Unclosed inline table", src, pos) if isinstance(value, (dict, list)): flags.set(key, Flags.FROZEN, recursive=True) pos += 1 @@ -480,7 +566,7 @@ def parse_basic_str_escape( except IndexError: return pos, "" if char != "\n": - raise suffixed_err(src, pos, "Unescaped '\\' in a string") + raise TOMLDecodeError("Unescaped '\\' in a string", src, pos) pos += 1 pos = skip_chars(src, pos, TOML_WS_AND_NEWLINE) return pos, "" @@ -491,7 +577,7 @@ def parse_basic_str_escape( try: return pos, BASIC_STR_ESCAPE_REPLACEMENTS[escape_id] except KeyError: - raise suffixed_err(src, pos, "Unescaped '\\' in a string") from None + raise TOMLDecodeError("Unescaped '\\' in a string", src, pos) from None def parse_basic_str_escape_multiline(src: str, pos: Pos) -> tuple[Pos, str]: @@ -501,11 +587,13 @@ def parse_basic_str_escape_multiline(src: str, pos: Pos) -> tuple[Pos, str]: def parse_hex_char(src: str, pos: Pos, hex_len: int) -> tuple[Pos, str]: hex_str = src[pos : pos + hex_len] if len(hex_str) != hex_len or not HEXDIGIT_CHARS.issuperset(hex_str): - raise suffixed_err(src, pos, "Invalid hex value") + raise TOMLDecodeError("Invalid hex value", src, pos) pos += hex_len hex_int = int(hex_str, 16) if not is_unicode_scalar_value(hex_int): - raise suffixed_err(src, pos, "Escaped character is not a Unicode scalar value") + raise TOMLDecodeError( + "Escaped character is not a Unicode scalar value", src, pos + ) return pos, chr(hex_int) @@ -562,7 +650,7 @@ def parse_basic_str(src: str, pos: Pos, *, multiline: bool) -> tuple[Pos, str]: try: char = src[pos] except IndexError: - raise suffixed_err(src, pos, "Unterminated string") from None + raise TOMLDecodeError("Unterminated string", src, pos) from None if char == '"': if not multiline: return pos + 1, result + src[start_pos:pos] @@ -577,13 +665,21 @@ def parse_basic_str(src: str, pos: Pos, *, multiline: bool) -> tuple[Pos, str]: start_pos = pos continue if char in error_on: - raise suffixed_err(src, pos, f"Illegal character {char!r}") + raise TOMLDecodeError(f"Illegal character {char!r}", src, pos) pos += 1 def parse_value( # noqa: C901 - src: str, pos: Pos, parse_float: ParseFloat + src: str, pos: Pos, parse_float: ParseFloat, nest_lvl: int ) -> tuple[Pos, Any]: + if nest_lvl > MAX_INLINE_NESTING: + # Pure Python should have raised RecursionError already. + # This ensures mypyc binaries eventually do the same. + raise RecursionError( # pragma: no cover + "TOML inline arrays/tables are nested more than the allowed" + f" {MAX_INLINE_NESTING} levels" + ) + try: char: str | None = src[pos] except IndexError: @@ -613,11 +709,11 @@ def parse_value( # noqa: C901 # Arrays if char == "[": - return parse_array(src, pos, parse_float) + return parse_array(src, pos, parse_float, nest_lvl + 1) # Inline tables if char == "{": - return parse_inline_table(src, pos, parse_float) + return parse_inline_table(src, pos, parse_float, nest_lvl + 1) # Dates and times datetime_match = RE_DATETIME.match(src, pos) @@ -625,7 +721,7 @@ def parse_value( # noqa: C901 try: datetime_obj = match_to_datetime(datetime_match) except ValueError as e: - raise suffixed_err(src, pos, "Invalid date or datetime") from e + raise TOMLDecodeError("Invalid date or datetime", src, pos) from e return datetime_match.end(), datetime_obj localtime_match = RE_LOCALTIME.match(src, pos) if localtime_match: @@ -646,24 +742,7 @@ def parse_value( # noqa: C901 if first_four in {"-inf", "+inf", "-nan", "+nan"}: return pos + 4, parse_float(first_four) - raise suffixed_err(src, pos, "Invalid value") - - -def suffixed_err(src: str, pos: Pos, msg: str) -> TOMLDecodeError: - """Return a `TOMLDecodeError` where error message is suffixed with - coordinates in source.""" - - def coord_repr(src: str, pos: Pos) -> str: - if pos >= len(src): - return "end of document" - line = src.count("\n", 0, pos) + 1 - if line == 1: - column = pos + 1 - else: - column = pos - src.rindex("\n", 0, pos) - return f"line {line}, column {column}" - - return TOMLDecodeError(f"{msg} (at {coord_repr(src, pos)})") + raise TOMLDecodeError("Invalid value", src, pos) def is_unicode_scalar_value(codepoint: int) -> bool: @@ -679,7 +758,7 @@ def make_safe_parse_float(parse_float: ParseFloat) -> ParseFloat: instead of returning illegal types. """ # The default `float` callable never returns illegal types. Optimize it. - if parse_float is float: # type: ignore[comparison-overlap] + if parse_float is float: return float def safe_parse_float(float_str: str) -> Any: diff --git a/.venv/Lib/site-packages/pip/_vendor/tomli/_re.py b/.venv/Lib/site-packages/pip/_vendor/tomli/_re.py index 994bb74..5134866 100644 --- a/.venv/Lib/site-packages/pip/_vendor/tomli/_re.py +++ b/.venv/Lib/site-packages/pip/_vendor/tomli/_re.py @@ -7,16 +7,18 @@ from __future__ import annotations from datetime import date, datetime, time, timedelta, timezone, tzinfo from functools import lru_cache import re -from typing import Any +from typing import Any, Final from ._types import ParseFloat # E.g. # - 00:32:00.999999 # - 00:32:00 -_TIME_RE_STR = r"([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])(?:\.([0-9]{1,6})[0-9]*)?" +_TIME_RE_STR: Final = ( + r"([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])(?:\.([0-9]{1,6})[0-9]*)?" +) -RE_NUMBER = re.compile( +RE_NUMBER: Final = re.compile( r""" 0 (?: @@ -35,8 +37,8 @@ RE_NUMBER = re.compile( """, flags=re.VERBOSE, ) -RE_LOCALTIME = re.compile(_TIME_RE_STR) -RE_DATETIME = re.compile( +RE_LOCALTIME: Final = re.compile(_TIME_RE_STR) +RE_DATETIME: Final = re.compile( rf""" ([0-9]{{4}})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01]) # date, e.g. 1988-10-27 (?: @@ -84,6 +86,9 @@ def match_to_datetime(match: re.Match) -> datetime | date: return datetime(year, month, day, hour, minute, sec, micros, tzinfo=tz) +# No need to limit cache size. This is only ever called on input +# that matched RE_DATETIME, so there is an implicit bound of +# 24 (hours) * 60 (minutes) * 2 (offset direction) = 2880. @lru_cache(maxsize=None) def cached_tz(hour_str: str, minute_str: str, sign_str: str) -> timezone: sign = 1 if sign_str == "+" else -1 diff --git a/.venv/Lib/site-packages/pip/_vendor/tomli_w/__init__.py b/.venv/Lib/site-packages/pip/_vendor/tomli_w/__init__.py new file mode 100644 index 0000000..6349c1f --- /dev/null +++ b/.venv/Lib/site-packages/pip/_vendor/tomli_w/__init__.py @@ -0,0 +1,4 @@ +__all__ = ("dumps", "dump") +__version__ = "1.2.0" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT + +from pip._vendor.tomli_w._writer import dump, dumps diff --git a/.venv/Lib/site-packages/pip/_vendor/tomli_w/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/tomli_w/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..aff5a3e Binary files /dev/null and b/.venv/Lib/site-packages/pip/_vendor/tomli_w/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/tomli_w/__pycache__/_writer.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/tomli_w/__pycache__/_writer.cpython-311.pyc new file mode 100644 index 0000000..21ce99d Binary files /dev/null and b/.venv/Lib/site-packages/pip/_vendor/tomli_w/__pycache__/_writer.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/tomli_w/_writer.py b/.venv/Lib/site-packages/pip/_vendor/tomli_w/_writer.py new file mode 100644 index 0000000..b1acd3f --- /dev/null +++ b/.venv/Lib/site-packages/pip/_vendor/tomli_w/_writer.py @@ -0,0 +1,229 @@ +from __future__ import annotations + +from collections.abc import Mapping +from datetime import date, datetime, time +from types import MappingProxyType + +TYPE_CHECKING = False +if TYPE_CHECKING: + from collections.abc import Generator + from decimal import Decimal + from typing import IO, Any, Final + +ASCII_CTRL = frozenset(chr(i) for i in range(32)) | frozenset(chr(127)) +ILLEGAL_BASIC_STR_CHARS = frozenset('"\\') | ASCII_CTRL - frozenset("\t") +BARE_KEY_CHARS = frozenset( + "abcdefghijklmnopqrstuvwxyz" "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "0123456789" "-_" +) +ARRAY_TYPES = (list, tuple) +MAX_LINE_LENGTH = 100 + +COMPACT_ESCAPES = MappingProxyType( + { + "\u0008": "\\b", # backspace + "\u000A": "\\n", # linefeed + "\u000C": "\\f", # form feed + "\u000D": "\\r", # carriage return + "\u0022": '\\"', # quote + "\u005C": "\\\\", # backslash + } +) + + +class Context: + def __init__(self, allow_multiline: bool, indent: int): + if indent < 0: + raise ValueError("Indent width must be non-negative") + self.allow_multiline: Final = allow_multiline + # cache rendered inline tables (mapping from object id to rendered inline table) + self.inline_table_cache: Final[dict[int, str]] = {} + self.indent_str: Final = " " * indent + + +def dump( + obj: Mapping[str, Any], + fp: IO[bytes], + /, + *, + multiline_strings: bool = False, + indent: int = 4, +) -> None: + ctx = Context(multiline_strings, indent) + for chunk in gen_table_chunks(obj, ctx, name=""): + fp.write(chunk.encode()) + + +def dumps( + obj: Mapping[str, Any], /, *, multiline_strings: bool = False, indent: int = 4 +) -> str: + ctx = Context(multiline_strings, indent) + return "".join(gen_table_chunks(obj, ctx, name="")) + + +def gen_table_chunks( + table: Mapping[str, Any], + ctx: Context, + *, + name: str, + inside_aot: bool = False, +) -> Generator[str, None, None]: + yielded = False + literals = [] + tables: list[tuple[str, Any, bool]] = [] # => [(key, value, inside_aot)] + for k, v in table.items(): + if isinstance(v, Mapping): + tables.append((k, v, False)) + elif is_aot(v) and not all(is_suitable_inline_table(t, ctx) for t in v): + tables.extend((k, t, True) for t in v) + else: + literals.append((k, v)) + + if inside_aot or name and (literals or not tables): + yielded = True + yield f"[[{name}]]\n" if inside_aot else f"[{name}]\n" + + if literals: + yielded = True + for k, v in literals: + yield f"{format_key_part(k)} = {format_literal(v, ctx)}\n" + + for k, v, in_aot in tables: + if yielded: + yield "\n" + else: + yielded = True + key_part = format_key_part(k) + display_name = f"{name}.{key_part}" if name else key_part + yield from gen_table_chunks(v, ctx, name=display_name, inside_aot=in_aot) + + +def format_literal(obj: object, ctx: Context, *, nest_level: int = 0) -> str: + if isinstance(obj, bool): + return "true" if obj else "false" + if isinstance(obj, (int, float, date, datetime)): + return str(obj) + if isinstance(obj, time): + if obj.tzinfo: + raise ValueError("TOML does not support offset times") + return str(obj) + if isinstance(obj, str): + return format_string(obj, allow_multiline=ctx.allow_multiline) + if isinstance(obj, ARRAY_TYPES): + return format_inline_array(obj, ctx, nest_level) + if isinstance(obj, Mapping): + return format_inline_table(obj, ctx) + + # Lazy import to improve module import time + from decimal import Decimal + + if isinstance(obj, Decimal): + return format_decimal(obj) + raise TypeError( + f"Object of type '{type(obj).__qualname__}' is not TOML serializable" + ) + + +def format_decimal(obj: Decimal) -> str: + if obj.is_nan(): + return "nan" + if obj.is_infinite(): + return "-inf" if obj.is_signed() else "inf" + dec_str = str(obj).lower() + return dec_str if "." in dec_str or "e" in dec_str else dec_str + ".0" + + +def format_inline_table(obj: Mapping, ctx: Context) -> str: + # check cache first + obj_id = id(obj) + if obj_id in ctx.inline_table_cache: + return ctx.inline_table_cache[obj_id] + + if not obj: + rendered = "{}" + else: + rendered = ( + "{ " + + ", ".join( + f"{format_key_part(k)} = {format_literal(v, ctx)}" + for k, v in obj.items() + ) + + " }" + ) + ctx.inline_table_cache[obj_id] = rendered + return rendered + + +def format_inline_array(obj: tuple | list, ctx: Context, nest_level: int) -> str: + if not obj: + return "[]" + item_indent = ctx.indent_str * (1 + nest_level) + closing_bracket_indent = ctx.indent_str * nest_level + return ( + "[\n" + + ",\n".join( + item_indent + format_literal(item, ctx, nest_level=nest_level + 1) + for item in obj + ) + + f",\n{closing_bracket_indent}]" + ) + + +def format_key_part(part: str) -> str: + try: + only_bare_key_chars = BARE_KEY_CHARS.issuperset(part) + except TypeError: + raise TypeError( + f"Invalid mapping key '{part}' of type '{type(part).__qualname__}'." + " A string is required." + ) from None + + if part and only_bare_key_chars: + return part + return format_string(part, allow_multiline=False) + + +def format_string(s: str, *, allow_multiline: bool) -> str: + do_multiline = allow_multiline and "\n" in s + if do_multiline: + result = '"""\n' + s = s.replace("\r\n", "\n") + else: + result = '"' + + pos = seq_start = 0 + while True: + try: + char = s[pos] + except IndexError: + result += s[seq_start:pos] + if do_multiline: + return result + '"""' + return result + '"' + if char in ILLEGAL_BASIC_STR_CHARS: + result += s[seq_start:pos] + if char in COMPACT_ESCAPES: + if do_multiline and char == "\n": + result += "\n" + else: + result += COMPACT_ESCAPES[char] + else: + result += "\\u" + hex(ord(char))[2:].rjust(4, "0") + seq_start = pos + 1 + pos += 1 + + +def is_aot(obj: Any) -> bool: + """Decides if an object behaves as an array of tables (i.e. a nonempty list + of dicts).""" + return bool( + isinstance(obj, ARRAY_TYPES) + and obj + and all(isinstance(v, Mapping) for v in obj) + ) + + +def is_suitable_inline_table(obj: Mapping, ctx: Context) -> bool: + """Use heuristics to decide if the inline-style representation is a good + choice for a given table.""" + rendered_inline = f"{ctx.indent_str}{format_inline_table(obj, ctx)}," + return len(rendered_inline) <= MAX_LINE_LENGTH and "\n" not in rendered_inline diff --git a/.venv/Lib/site-packages/pip/_vendor/tomli_w/py.typed b/.venv/Lib/site-packages/pip/_vendor/tomli_w/py.typed new file mode 100644 index 0000000..7632ecf --- /dev/null +++ b/.venv/Lib/site-packages/pip/_vendor/tomli_w/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561 diff --git a/.venv/Lib/site-packages/pip/_vendor/truststore/__init__.py b/.venv/Lib/site-packages/pip/_vendor/truststore/__init__.py index 59930f4..cdff814 100644 --- a/.venv/Lib/site-packages/pip/_vendor/truststore/__init__.py +++ b/.venv/Lib/site-packages/pip/_vendor/truststore/__init__.py @@ -5,9 +5,32 @@ import sys as _sys if _sys.version_info < (3, 10): raise ImportError("truststore requires Python 3.10 or later") +# Detect Python runtimes which don't implement SSLObject.get_unverified_chain() API +# This API only became public in Python 3.13 but was available in CPython and PyPy since 3.10. +if _sys.version_info < (3, 13) and _sys.implementation.name not in ("cpython", "pypy"): + try: + import ssl as _ssl + except ImportError: + raise ImportError("truststore requires the 'ssl' module") + else: + _sslmem = _ssl.MemoryBIO() + _sslobj = _ssl.create_default_context().wrap_bio( + _sslmem, + _sslmem, + ) + try: + while not hasattr(_sslobj, "get_unverified_chain"): + _sslobj = _sslobj._sslobj # type: ignore[attr-defined] + except AttributeError: + raise ImportError( + "truststore requires peer certificate chain APIs to be available" + ) from None + + del _ssl, _sslobj, _sslmem # noqa: F821 + from ._api import SSLContext, extract_from_ssl, inject_into_ssl # noqa: E402 del _api, _sys # type: ignore[name-defined] # noqa: F821 __all__ = ["SSLContext", "inject_into_ssl", "extract_from_ssl"] -__version__ = "0.8.0" +__version__ = "0.10.1" diff --git a/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/__init__.cpython-311.pyc index 5f4c221..dab0b1a 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/_api.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/_api.cpython-311.pyc index 69ac068..2e21260 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/_api.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/_api.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/_macos.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/_macos.cpython-311.pyc index 065ddc7..49b63fb 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/_macos.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/_macos.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/_openssl.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/_openssl.cpython-311.pyc index 3db56bf..671ab69 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/_openssl.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/_openssl.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/_ssl_constants.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/_ssl_constants.cpython-311.pyc index 914b053..9b47d40 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/_ssl_constants.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/_ssl_constants.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/_windows.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/_windows.cpython-311.pyc index 2e6d608..c47b9bd 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/_windows.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/truststore/__pycache__/_windows.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/truststore/_api.py b/.venv/Lib/site-packages/pip/_vendor/truststore/_api.py index 829aff7..c63c9cb 100644 --- a/.venv/Lib/site-packages/pip/_vendor/truststore/_api.py +++ b/.venv/Lib/site-packages/pip/_vendor/truststore/_api.py @@ -2,9 +2,10 @@ import os import platform import socket import ssl +import sys import typing -import _ssl # type: ignore[import] +import _ssl from ._ssl_constants import ( _original_SSLContext, @@ -21,7 +22,7 @@ else: from ._openssl import _configure_context, _verify_peercerts_impl if typing.TYPE_CHECKING: - from pip._vendor.typing_extensions import Buffer + from typing_extensions import Buffer # From typeshed/stdlib/ssl.pyi _StrOrBytesPath: typing.TypeAlias = str | bytes | os.PathLike[str] | os.PathLike[bytes] @@ -42,6 +43,23 @@ def inject_into_ssl() -> None: except ImportError: pass + # requests starting with 2.32.0 added a preloaded SSL context to improve concurrent performance; + # this unfortunately leads to a RecursionError, which can be avoided by patching the preloaded SSL context with + # the truststore patched instance + # also see https://github.com/psf/requests/pull/6667 + try: + from pip._vendor.requests import adapters as requests_adapters + + preloaded_context = getattr(requests_adapters, "_preloaded_ssl_context", None) + if preloaded_context is not None: + setattr( + requests_adapters, + "_preloaded_ssl_context", + SSLContext(ssl.PROTOCOL_TLS_CLIENT), + ) + except ImportError: + pass + def extract_from_ssl() -> None: """Restores the :class:`ssl.SSLContext` class to its original state""" @@ -49,7 +67,7 @@ def extract_from_ssl() -> None: try: import pip._vendor.urllib3.util.ssl_ as urllib3_ssl - urllib3_ssl.SSLContext = _original_SSLContext + urllib3_ssl.SSLContext = _original_SSLContext # type: ignore[assignment] except ImportError: pass @@ -168,19 +186,19 @@ class SSLContext(_truststore_SSLContext_super_class): # type: ignore[misc] def cert_store_stats(self) -> dict[str, int]: raise NotImplementedError() + def set_default_verify_paths(self) -> None: + self._ctx.set_default_verify_paths() + @typing.overload def get_ca_certs( self, binary_form: typing.Literal[False] = ... - ) -> list[typing.Any]: - ... + ) -> list[typing.Any]: ... @typing.overload - def get_ca_certs(self, binary_form: typing.Literal[True] = ...) -> list[bytes]: - ... + def get_ca_certs(self, binary_form: typing.Literal[True] = ...) -> list[bytes]: ... @typing.overload - def get_ca_certs(self, binary_form: bool = ...) -> typing.Any: - ... + def get_ca_certs(self, binary_form: bool = ...) -> typing.Any: ... def get_ca_certs(self, binary_form: bool = False) -> list[typing.Any] | list[bytes]: raise NotImplementedError() @@ -276,6 +294,25 @@ class SSLContext(_truststore_SSLContext_super_class): # type: ignore[misc] ) +# Python 3.13+ makes get_unverified_chain() a public API that only returns DER +# encoded certificates. We detect whether we need to call public_bytes() for 3.10->3.12 +# Pre-3.13 returned None instead of an empty list from get_unverified_chain() +if sys.version_info >= (3, 13): + + def _get_unverified_chain_bytes(sslobj: ssl.SSLObject) -> list[bytes]: + unverified_chain = sslobj.get_unverified_chain() or () # type: ignore[attr-defined] + return [ + cert if isinstance(cert, bytes) else cert.public_bytes(_ssl.ENCODING_DER) + for cert in unverified_chain + ] + +else: + + def _get_unverified_chain_bytes(sslobj: ssl.SSLObject) -> list[bytes]: + unverified_chain = sslobj.get_unverified_chain() or () # type: ignore[attr-defined] + return [cert.public_bytes(_ssl.ENCODING_DER) for cert in unverified_chain] + + def _verify_peercerts( sock_or_sslobj: ssl.SSLSocket | ssl.SSLObject, server_hostname: str | None ) -> None: @@ -290,13 +327,7 @@ def _verify_peercerts( except AttributeError: pass - # SSLObject.get_unverified_chain() returns 'None' - # if the peer sends no certificates. This is common - # for the server-side scenario. - unverified_chain: typing.Sequence[_ssl.Certificate] = ( - sslobj.get_unverified_chain() or () # type: ignore[attr-defined] - ) - cert_bytes = [cert.public_bytes(_ssl.ENCODING_DER) for cert in unverified_chain] + cert_bytes = _get_unverified_chain_bytes(sslobj) _verify_peercerts_impl( sock_or_sslobj.context, cert_bytes, server_hostname=server_hostname ) diff --git a/.venv/Lib/site-packages/pip/_vendor/truststore/_macos.py b/.venv/Lib/site-packages/pip/_vendor/truststore/_macos.py index 7dc440b..3450307 100644 --- a/.venv/Lib/site-packages/pip/_vendor/truststore/_macos.py +++ b/.venv/Lib/site-packages/pip/_vendor/truststore/_macos.py @@ -25,6 +25,8 @@ if _mac_version_info < (10, 8): f"Only OS X 10.8 and newer are supported, not {_mac_version_info[0]}.{_mac_version_info[1]}" ) +_is_macos_version_10_14_or_later = _mac_version_info >= (10, 14) + def _load_cdll(name: str, macos10_16_path: str) -> CDLL: """Loads a CDLL by name, falling back to known path on 10.16+""" @@ -96,9 +98,6 @@ try: Security.SecTrustSetAnchorCertificatesOnly.argtypes = [SecTrustRef, Boolean] Security.SecTrustSetAnchorCertificatesOnly.restype = OSStatus - Security.SecTrustEvaluate.argtypes = [SecTrustRef, POINTER(SecTrustResultType)] - Security.SecTrustEvaluate.restype = OSStatus - Security.SecPolicyCreateRevocation.argtypes = [CFOptionFlags] Security.SecPolicyCreateRevocation.restype = SecPolicyRef @@ -118,6 +117,12 @@ try: ] Security.SecTrustGetTrustResult.restype = OSStatus + Security.SecTrustEvaluate.argtypes = [ + SecTrustRef, + POINTER(SecTrustResultType), + ] + Security.SecTrustEvaluate.restype = OSStatus + Security.SecTrustRef = SecTrustRef # type: ignore[attr-defined] Security.SecTrustResultType = SecTrustResultType # type: ignore[attr-defined] Security.OSStatus = OSStatus # type: ignore[attr-defined] @@ -200,8 +205,19 @@ try: CoreFoundation.CFStringRef = CFStringRef # type: ignore[attr-defined] CoreFoundation.CFErrorRef = CFErrorRef # type: ignore[attr-defined] -except AttributeError: - raise ImportError("Error initializing ctypes") from None +except AttributeError as e: + raise ImportError(f"Error initializing ctypes: {e}") from None + +# SecTrustEvaluateWithError is macOS 10.14+ +if _is_macos_version_10_14_or_later: + try: + Security.SecTrustEvaluateWithError.argtypes = [ + SecTrustRef, + POINTER(CFErrorRef), + ] + Security.SecTrustEvaluateWithError.restype = c_bool + except AttributeError as e: + raise ImportError(f"Error initializing ctypes: {e}") from None def _handle_osstatus(result: OSStatus, _: typing.Any, args: typing.Any) -> typing.Any: @@ -259,7 +275,9 @@ def _handle_osstatus(result: OSStatus, _: typing.Any, args: typing.Any) -> typin Security.SecTrustCreateWithCertificates.errcheck = _handle_osstatus # type: ignore[assignment] Security.SecTrustSetAnchorCertificates.errcheck = _handle_osstatus # type: ignore[assignment] +Security.SecTrustSetAnchorCertificatesOnly.errcheck = _handle_osstatus # type: ignore[assignment] Security.SecTrustGetTrustResult.errcheck = _handle_osstatus # type: ignore[assignment] +Security.SecTrustEvaluate.errcheck = _handle_osstatus # type: ignore[assignment] class CFConst: @@ -367,9 +385,10 @@ def _verify_peercerts_impl( certs = None policies = None trust = None - cf_error = None try: - if server_hostname is not None: + # Only set a hostname on the policy if we're verifying the hostname + # on the leaf certificate. + if server_hostname is not None and ssl_context.check_hostname: cf_str_hostname = None try: cf_str_hostname = _bytes_to_cf_string(server_hostname.encode("ascii")) @@ -417,85 +436,136 @@ def _verify_peercerts_impl( CoreFoundation.CFRelease(certs) # If there are additional trust anchors to load we need to transform - # the list of DER-encoded certificates into a CFArray. Otherwise - # pass 'None' to signal that we only want system / fetched certificates. + # the list of DER-encoded certificates into a CFArray. ctx_ca_certs_der: list[bytes] | None = ssl_context.get_ca_certs( binary_form=True ) if ctx_ca_certs_der: ctx_ca_certs = None try: - ctx_ca_certs = _der_certs_to_cf_cert_array(cert_chain) + ctx_ca_certs = _der_certs_to_cf_cert_array(ctx_ca_certs_der) Security.SecTrustSetAnchorCertificates(trust, ctx_ca_certs) finally: if ctx_ca_certs: CoreFoundation.CFRelease(ctx_ca_certs) + + # We always want system certificates. + Security.SecTrustSetAnchorCertificatesOnly(trust, False) + + # macOS 10.13 and earlier don't support SecTrustEvaluateWithError() + # so we use SecTrustEvaluate() which means we need to construct error + # messages ourselves. + if _is_macos_version_10_14_or_later: + _verify_peercerts_impl_macos_10_14(ssl_context, trust) else: - Security.SecTrustSetAnchorCertificates(trust, None) - - cf_error = CoreFoundation.CFErrorRef() - sec_trust_eval_result = Security.SecTrustEvaluateWithError( - trust, ctypes.byref(cf_error) - ) - # sec_trust_eval_result is a bool (0 or 1) - # where 1 means that the certs are trusted. - if sec_trust_eval_result == 1: - is_trusted = True - elif sec_trust_eval_result == 0: - is_trusted = False - else: - raise ssl.SSLError( - f"Unknown result from Security.SecTrustEvaluateWithError: {sec_trust_eval_result!r}" - ) - - cf_error_code = 0 - if not is_trusted: - cf_error_code = CoreFoundation.CFErrorGetCode(cf_error) - - # If the error is a known failure that we're - # explicitly okay with from SSLContext configuration - # we can set is_trusted accordingly. - if ssl_context.verify_mode != ssl.CERT_REQUIRED and ( - cf_error_code == CFConst.errSecNotTrusted - or cf_error_code == CFConst.errSecCertificateExpired - ): - is_trusted = True - elif ( - not ssl_context.check_hostname - and cf_error_code == CFConst.errSecHostNameMismatch - ): - is_trusted = True - - # If we're still not trusted then we start to - # construct and raise the SSLCertVerificationError. - if not is_trusted: - cf_error_string_ref = None - try: - cf_error_string_ref = CoreFoundation.CFErrorCopyDescription(cf_error) - - # Can this ever return 'None' if there's a CFError? - cf_error_message = ( - _cf_string_ref_to_str(cf_error_string_ref) - or "Certificate verification failed" - ) - - # TODO: Not sure if we need the SecTrustResultType for anything? - # We only care whether or not it's a success or failure for now. - sec_trust_result_type = Security.SecTrustResultType() - Security.SecTrustGetTrustResult( - trust, ctypes.byref(sec_trust_result_type) - ) - - err = ssl.SSLCertVerificationError(cf_error_message) - err.verify_message = cf_error_message - err.verify_code = cf_error_code - raise err - finally: - if cf_error_string_ref: - CoreFoundation.CFRelease(cf_error_string_ref) - + _verify_peercerts_impl_macos_10_13(ssl_context, trust) finally: if policies: CoreFoundation.CFRelease(policies) if trust: CoreFoundation.CFRelease(trust) + + +def _verify_peercerts_impl_macos_10_13( + ssl_context: ssl.SSLContext, sec_trust_ref: typing.Any +) -> None: + """Verify using 'SecTrustEvaluate' API for macOS 10.13 and earlier. + macOS 10.14 added the 'SecTrustEvaluateWithError' API. + """ + sec_trust_result_type = Security.SecTrustResultType() + Security.SecTrustEvaluate(sec_trust_ref, ctypes.byref(sec_trust_result_type)) + + try: + sec_trust_result_type_as_int = int(sec_trust_result_type.value) + except (ValueError, TypeError): + sec_trust_result_type_as_int = -1 + + # Apple doesn't document these values in their own API docs. + # See: https://github.com/xybp888/iOS-SDKs/blob/master/iPhoneOS13.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h#L84 + if ( + ssl_context.verify_mode == ssl.CERT_REQUIRED + and sec_trust_result_type_as_int not in (1, 4) + ): + # Note that we're not able to ignore only hostname errors + # for macOS 10.13 and earlier, so check_hostname=False will + # still return an error. + sec_trust_result_type_to_message = { + 0: "Invalid trust result type", + # 1: "Trust evaluation succeeded", + 2: "User confirmation required", + 3: "User specified that certificate is not trusted", + # 4: "Trust result is unspecified", + 5: "Recoverable trust failure occurred", + 6: "Fatal trust failure occurred", + 7: "Other error occurred, certificate may be revoked", + } + error_message = sec_trust_result_type_to_message.get( + sec_trust_result_type_as_int, + f"Unknown trust result: {sec_trust_result_type_as_int}", + ) + + err = ssl.SSLCertVerificationError(error_message) + err.verify_message = error_message + err.verify_code = sec_trust_result_type_as_int + raise err + + +def _verify_peercerts_impl_macos_10_14( + ssl_context: ssl.SSLContext, sec_trust_ref: typing.Any +) -> None: + """Verify using 'SecTrustEvaluateWithError' API for macOS 10.14+.""" + cf_error = CoreFoundation.CFErrorRef() + sec_trust_eval_result = Security.SecTrustEvaluateWithError( + sec_trust_ref, ctypes.byref(cf_error) + ) + # sec_trust_eval_result is a bool (0 or 1) + # where 1 means that the certs are trusted. + if sec_trust_eval_result == 1: + is_trusted = True + elif sec_trust_eval_result == 0: + is_trusted = False + else: + raise ssl.SSLError( + f"Unknown result from Security.SecTrustEvaluateWithError: {sec_trust_eval_result!r}" + ) + + cf_error_code = 0 + if not is_trusted: + cf_error_code = CoreFoundation.CFErrorGetCode(cf_error) + + # If the error is a known failure that we're + # explicitly okay with from SSLContext configuration + # we can set is_trusted accordingly. + if ssl_context.verify_mode != ssl.CERT_REQUIRED and ( + cf_error_code == CFConst.errSecNotTrusted + or cf_error_code == CFConst.errSecCertificateExpired + ): + is_trusted = True + + # If we're still not trusted then we start to + # construct and raise the SSLCertVerificationError. + if not is_trusted: + cf_error_string_ref = None + try: + cf_error_string_ref = CoreFoundation.CFErrorCopyDescription(cf_error) + + # Can this ever return 'None' if there's a CFError? + cf_error_message = ( + _cf_string_ref_to_str(cf_error_string_ref) + or "Certificate verification failed" + ) + + # TODO: Not sure if we need the SecTrustResultType for anything? + # We only care whether or not it's a success or failure for now. + sec_trust_result_type = Security.SecTrustResultType() + Security.SecTrustGetTrustResult( + sec_trust_ref, ctypes.byref(sec_trust_result_type) + ) + + err = ssl.SSLCertVerificationError(cf_error_message) + err.verify_message = cf_error_message + err.verify_code = cf_error_code + raise err + finally: + if cf_error_string_ref: + CoreFoundation.CFRelease(cf_error_string_ref) diff --git a/.venv/Lib/site-packages/pip/_vendor/truststore/_windows.py b/.venv/Lib/site-packages/pip/_vendor/truststore/_windows.py index 3de4960..a9bf9ab 100644 --- a/.venv/Lib/site-packages/pip/_vendor/truststore/_windows.py +++ b/.venv/Lib/site-packages/pip/_vendor/truststore/_windows.py @@ -212,6 +212,7 @@ CERT_CHAIN_POLICY_IGNORE_INVALID_POLICY_FLAG = 0x00000080 CERT_CHAIN_POLICY_IGNORE_ALL_REV_UNKNOWN_FLAGS = 0x00000F00 CERT_CHAIN_POLICY_ALLOW_TESTROOT_FLAG = 0x00008000 CERT_CHAIN_POLICY_TRUST_TESTROOT_FLAG = 0x00004000 +SECURITY_FLAG_IGNORE_CERT_CN_INVALID = 0x00001000 AUTHTYPE_SERVER = 2 CERT_CHAIN_POLICY_SSL = 4 FORMAT_MESSAGE_FROM_SYSTEM = 0x00001000 @@ -325,6 +326,12 @@ def _verify_peercerts_impl( server_hostname: str | None = None, ) -> None: """Verify the cert_chain from the server using Windows APIs.""" + + # If the peer didn't send any certificates then + # we can't do verification. Raise an error. + if not cert_chain: + raise ssl.SSLCertVerificationError("Peer sent no certificates to verify") + pCertContext = None hIntermediateCertStore = CertOpenStore(CERT_STORE_PROV_MEMORY, 0, None, 0, None) try: @@ -375,7 +382,7 @@ def _verify_peercerts_impl( server_hostname, chain_flags=chain_flags, ) - except ssl.SSLCertVerificationError: + except ssl.SSLCertVerificationError as e: # If that fails but custom CA certs have been added # to the SSLContext using load_verify_locations, # try verifying using a custom chain engine @@ -384,15 +391,19 @@ def _verify_peercerts_impl( binary_form=True ) if custom_ca_certs: - _verify_using_custom_ca_certs( - ssl_context, - custom_ca_certs, - hIntermediateCertStore, - pCertContext, - pChainPara, - server_hostname, - chain_flags=chain_flags, - ) + try: + _verify_using_custom_ca_certs( + ssl_context, + custom_ca_certs, + hIntermediateCertStore, + pCertContext, + pChainPara, + server_hostname, + chain_flags=chain_flags, + ) + # Raise the original error, not the new error. + except ssl.SSLCertVerificationError: + raise e from None else: raise finally: @@ -433,6 +444,10 @@ def _get_and_verify_cert_chain( ) ssl_extra_cert_chain_policy_para.dwAuthType = AUTHTYPE_SERVER ssl_extra_cert_chain_policy_para.fdwChecks = 0 + if ssl_context.check_hostname is False: + ssl_extra_cert_chain_policy_para.fdwChecks = ( + SECURITY_FLAG_IGNORE_CERT_CN_INVALID + ) if server_hostname: ssl_extra_cert_chain_policy_para.pwszServerName = c_wchar_p(server_hostname) @@ -442,8 +457,6 @@ def _get_and_verify_cert_chain( ) if ssl_context.verify_mode == ssl.CERT_NONE: chain_policy.dwFlags |= CERT_CHAIN_POLICY_VERIFY_MODE_NONE_FLAGS - if not ssl_context.check_hostname: - chain_policy.dwFlags |= CERT_CHAIN_POLICY_IGNORE_INVALID_NAME_FLAG chain_policy.cbSize = sizeof(chain_policy) pPolicyPara = pointer(chain_policy) diff --git a/.venv/Lib/site-packages/pip/_vendor/typing_extensions.py b/.venv/Lib/site-packages/pip/_vendor/typing_extensions.py deleted file mode 100644 index 4f93acf..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/typing_extensions.py +++ /dev/null @@ -1,3072 +0,0 @@ -import abc -import collections -import collections.abc -import functools -import inspect -import operator -import sys -import types as _types -import typing -import warnings - -__all__ = [ - # Super-special typing primitives. - 'Any', - 'ClassVar', - 'Concatenate', - 'Final', - 'LiteralString', - 'ParamSpec', - 'ParamSpecArgs', - 'ParamSpecKwargs', - 'Self', - 'Type', - 'TypeVar', - 'TypeVarTuple', - 'Unpack', - - # ABCs (from collections.abc). - 'Awaitable', - 'AsyncIterator', - 'AsyncIterable', - 'Coroutine', - 'AsyncGenerator', - 'AsyncContextManager', - 'Buffer', - 'ChainMap', - - # Concrete collection types. - 'ContextManager', - 'Counter', - 'Deque', - 'DefaultDict', - 'NamedTuple', - 'OrderedDict', - 'TypedDict', - - # Structural checks, a.k.a. protocols. - 'SupportsAbs', - 'SupportsBytes', - 'SupportsComplex', - 'SupportsFloat', - 'SupportsIndex', - 'SupportsInt', - 'SupportsRound', - - # One-off things. - 'Annotated', - 'assert_never', - 'assert_type', - 'clear_overloads', - 'dataclass_transform', - 'deprecated', - 'get_overloads', - 'final', - 'get_args', - 'get_origin', - 'get_original_bases', - 'get_protocol_members', - 'get_type_hints', - 'IntVar', - 'is_protocol', - 'is_typeddict', - 'Literal', - 'NewType', - 'overload', - 'override', - 'Protocol', - 'reveal_type', - 'runtime', - 'runtime_checkable', - 'Text', - 'TypeAlias', - 'TypeAliasType', - 'TypeGuard', - 'TYPE_CHECKING', - 'Never', - 'NoReturn', - 'Required', - 'NotRequired', - - # Pure aliases, have always been in typing - 'AbstractSet', - 'AnyStr', - 'BinaryIO', - 'Callable', - 'Collection', - 'Container', - 'Dict', - 'ForwardRef', - 'FrozenSet', - 'Generator', - 'Generic', - 'Hashable', - 'IO', - 'ItemsView', - 'Iterable', - 'Iterator', - 'KeysView', - 'List', - 'Mapping', - 'MappingView', - 'Match', - 'MutableMapping', - 'MutableSequence', - 'MutableSet', - 'Optional', - 'Pattern', - 'Reversible', - 'Sequence', - 'Set', - 'Sized', - 'TextIO', - 'Tuple', - 'Union', - 'ValuesView', - 'cast', - 'no_type_check', - 'no_type_check_decorator', -] - -# for backward compatibility -PEP_560 = True -GenericMeta = type - -# The functions below are modified copies of typing internal helpers. -# They are needed by _ProtocolMeta and they provide support for PEP 646. - - -class _Sentinel: - def __repr__(self): - return "" - - -_marker = _Sentinel() - - -def _check_generic(cls, parameters, elen=_marker): - """Check correct count for parameters of a generic cls (internal helper). - This gives a nice error message in case of count mismatch. - """ - if not elen: - raise TypeError(f"{cls} is not a generic class") - if elen is _marker: - if not hasattr(cls, "__parameters__") or not cls.__parameters__: - raise TypeError(f"{cls} is not a generic class") - elen = len(cls.__parameters__) - alen = len(parameters) - if alen != elen: - if hasattr(cls, "__parameters__"): - parameters = [p for p in cls.__parameters__ if not _is_unpack(p)] - num_tv_tuples = sum(isinstance(p, TypeVarTuple) for p in parameters) - if (num_tv_tuples > 0) and (alen >= elen - num_tv_tuples): - return - raise TypeError(f"Too {'many' if alen > elen else 'few'} parameters for {cls};" - f" actual {alen}, expected {elen}") - - -if sys.version_info >= (3, 10): - def _should_collect_from_parameters(t): - return isinstance( - t, (typing._GenericAlias, _types.GenericAlias, _types.UnionType) - ) -elif sys.version_info >= (3, 9): - def _should_collect_from_parameters(t): - return isinstance(t, (typing._GenericAlias, _types.GenericAlias)) -else: - def _should_collect_from_parameters(t): - return isinstance(t, typing._GenericAlias) and not t._special - - -def _collect_type_vars(types, typevar_types=None): - """Collect all type variable contained in types in order of - first appearance (lexicographic order). For example:: - - _collect_type_vars((T, List[S, T])) == (T, S) - """ - if typevar_types is None: - typevar_types = typing.TypeVar - tvars = [] - for t in types: - if ( - isinstance(t, typevar_types) and - t not in tvars and - not _is_unpack(t) - ): - tvars.append(t) - if _should_collect_from_parameters(t): - tvars.extend([t for t in t.__parameters__ if t not in tvars]) - return tuple(tvars) - - -NoReturn = typing.NoReturn - -# Some unconstrained type variables. These are used by the container types. -# (These are not for export.) -T = typing.TypeVar('T') # Any type. -KT = typing.TypeVar('KT') # Key type. -VT = typing.TypeVar('VT') # Value type. -T_co = typing.TypeVar('T_co', covariant=True) # Any type covariant containers. -T_contra = typing.TypeVar('T_contra', contravariant=True) # Ditto contravariant. - - -if sys.version_info >= (3, 11): - from typing import Any -else: - - class _AnyMeta(type): - def __instancecheck__(self, obj): - if self is Any: - raise TypeError("typing_extensions.Any cannot be used with isinstance()") - return super().__instancecheck__(obj) - - def __repr__(self): - if self is Any: - return "typing_extensions.Any" - return super().__repr__() - - class Any(metaclass=_AnyMeta): - """Special type indicating an unconstrained type. - - Any is compatible with every type. - - Any assumed to have all methods. - - All values assumed to be instances of Any. - Note that all the above statements are true from the point of view of - static type checkers. At runtime, Any should not be used with instance - checks. - """ - def __new__(cls, *args, **kwargs): - if cls is Any: - raise TypeError("Any cannot be instantiated") - return super().__new__(cls, *args, **kwargs) - - -ClassVar = typing.ClassVar - - -class _ExtensionsSpecialForm(typing._SpecialForm, _root=True): - def __repr__(self): - return 'typing_extensions.' + self._name - - -# On older versions of typing there is an internal class named "Final". -# 3.8+ -if hasattr(typing, 'Final') and sys.version_info[:2] >= (3, 7): - Final = typing.Final -# 3.7 -else: - class _FinalForm(_ExtensionsSpecialForm, _root=True): - def __getitem__(self, parameters): - item = typing._type_check(parameters, - f'{self._name} accepts only a single type.') - return typing._GenericAlias(self, (item,)) - - Final = _FinalForm('Final', - doc="""A special typing construct to indicate that a name - cannot be re-assigned or overridden in a subclass. - For example: - - MAX_SIZE: Final = 9000 - MAX_SIZE += 1 # Error reported by type checker - - class Connection: - TIMEOUT: Final[int] = 10 - class FastConnector(Connection): - TIMEOUT = 1 # Error reported by type checker - - There is no runtime checking of these properties.""") - -if sys.version_info >= (3, 11): - final = typing.final -else: - # @final exists in 3.8+, but we backport it for all versions - # before 3.11 to keep support for the __final__ attribute. - # See https://bugs.python.org/issue46342 - def final(f): - """This decorator can be used to indicate to type checkers that - the decorated method cannot be overridden, and decorated class - cannot be subclassed. For example: - - class Base: - @final - def done(self) -> None: - ... - class Sub(Base): - def done(self) -> None: # Error reported by type checker - ... - @final - class Leaf: - ... - class Other(Leaf): # Error reported by type checker - ... - - There is no runtime checking of these properties. The decorator - sets the ``__final__`` attribute to ``True`` on the decorated object - to allow runtime introspection. - """ - try: - f.__final__ = True - except (AttributeError, TypeError): - # Skip the attribute silently if it is not writable. - # AttributeError happens if the object has __slots__ or a - # read-only property, TypeError if it's a builtin class. - pass - return f - - -def IntVar(name): - return typing.TypeVar(name) - - -# A Literal bug was fixed in 3.11.0, 3.10.1 and 3.9.8 -if sys.version_info >= (3, 10, 1): - Literal = typing.Literal -else: - def _flatten_literal_params(parameters): - """An internal helper for Literal creation: flatten Literals among parameters""" - params = [] - for p in parameters: - if isinstance(p, _LiteralGenericAlias): - params.extend(p.__args__) - else: - params.append(p) - return tuple(params) - - def _value_and_type_iter(params): - for p in params: - yield p, type(p) - - class _LiteralGenericAlias(typing._GenericAlias, _root=True): - def __eq__(self, other): - if not isinstance(other, _LiteralGenericAlias): - return NotImplemented - these_args_deduped = set(_value_and_type_iter(self.__args__)) - other_args_deduped = set(_value_and_type_iter(other.__args__)) - return these_args_deduped == other_args_deduped - - def __hash__(self): - return hash(frozenset(_value_and_type_iter(self.__args__))) - - class _LiteralForm(_ExtensionsSpecialForm, _root=True): - def __init__(self, doc: str): - self._name = 'Literal' - self._doc = self.__doc__ = doc - - def __getitem__(self, parameters): - if not isinstance(parameters, tuple): - parameters = (parameters,) - - parameters = _flatten_literal_params(parameters) - - val_type_pairs = list(_value_and_type_iter(parameters)) - try: - deduped_pairs = set(val_type_pairs) - except TypeError: - # unhashable parameters - pass - else: - # similar logic to typing._deduplicate on Python 3.9+ - if len(deduped_pairs) < len(val_type_pairs): - new_parameters = [] - for pair in val_type_pairs: - if pair in deduped_pairs: - new_parameters.append(pair[0]) - deduped_pairs.remove(pair) - assert not deduped_pairs, deduped_pairs - parameters = tuple(new_parameters) - - return _LiteralGenericAlias(self, parameters) - - Literal = _LiteralForm(doc="""\ - A type that can be used to indicate to type checkers - that the corresponding value has a value literally equivalent - to the provided parameter. For example: - - var: Literal[4] = 4 - - The type checker understands that 'var' is literally equal to - the value 4 and no other value. - - Literal[...] cannot be subclassed. There is no runtime - checking verifying that the parameter is actually a value - instead of a type.""") - - -_overload_dummy = typing._overload_dummy - - -if hasattr(typing, "get_overloads"): # 3.11+ - overload = typing.overload - get_overloads = typing.get_overloads - clear_overloads = typing.clear_overloads -else: - # {module: {qualname: {firstlineno: func}}} - _overload_registry = collections.defaultdict( - functools.partial(collections.defaultdict, dict) - ) - - def overload(func): - """Decorator for overloaded functions/methods. - - In a stub file, place two or more stub definitions for the same - function in a row, each decorated with @overload. For example: - - @overload - def utf8(value: None) -> None: ... - @overload - def utf8(value: bytes) -> bytes: ... - @overload - def utf8(value: str) -> bytes: ... - - In a non-stub file (i.e. a regular .py file), do the same but - follow it with an implementation. The implementation should *not* - be decorated with @overload. For example: - - @overload - def utf8(value: None) -> None: ... - @overload - def utf8(value: bytes) -> bytes: ... - @overload - def utf8(value: str) -> bytes: ... - def utf8(value): - # implementation goes here - - The overloads for a function can be retrieved at runtime using the - get_overloads() function. - """ - # classmethod and staticmethod - f = getattr(func, "__func__", func) - try: - _overload_registry[f.__module__][f.__qualname__][ - f.__code__.co_firstlineno - ] = func - except AttributeError: - # Not a normal function; ignore. - pass - return _overload_dummy - - def get_overloads(func): - """Return all defined overloads for *func* as a sequence.""" - # classmethod and staticmethod - f = getattr(func, "__func__", func) - if f.__module__ not in _overload_registry: - return [] - mod_dict = _overload_registry[f.__module__] - if f.__qualname__ not in mod_dict: - return [] - return list(mod_dict[f.__qualname__].values()) - - def clear_overloads(): - """Clear all overloads in the registry.""" - _overload_registry.clear() - - -# This is not a real generic class. Don't use outside annotations. -Type = typing.Type - -# Various ABCs mimicking those in collections.abc. -# A few are simply re-exported for completeness. - - -Awaitable = typing.Awaitable -Coroutine = typing.Coroutine -AsyncIterable = typing.AsyncIterable -AsyncIterator = typing.AsyncIterator -Deque = typing.Deque -ContextManager = typing.ContextManager -AsyncContextManager = typing.AsyncContextManager -DefaultDict = typing.DefaultDict - -# 3.7.2+ -if hasattr(typing, 'OrderedDict'): - OrderedDict = typing.OrderedDict -# 3.7.0-3.7.2 -else: - OrderedDict = typing._alias(collections.OrderedDict, (KT, VT)) - -Counter = typing.Counter -ChainMap = typing.ChainMap -AsyncGenerator = typing.AsyncGenerator -Text = typing.Text -TYPE_CHECKING = typing.TYPE_CHECKING - - -_PROTO_ALLOWLIST = { - 'collections.abc': [ - 'Callable', 'Awaitable', 'Iterable', 'Iterator', 'AsyncIterable', - 'Hashable', 'Sized', 'Container', 'Collection', 'Reversible', 'Buffer', - ], - 'contextlib': ['AbstractContextManager', 'AbstractAsyncContextManager'], - 'typing_extensions': ['Buffer'], -} - - -_EXCLUDED_ATTRS = { - "__abstractmethods__", "__annotations__", "__weakref__", "_is_protocol", - "_is_runtime_protocol", "__dict__", "__slots__", "__parameters__", - "__orig_bases__", "__module__", "_MutableMapping__marker", "__doc__", - "__subclasshook__", "__orig_class__", "__init__", "__new__", - "__protocol_attrs__", "__callable_proto_members_only__", -} - -if sys.version_info < (3, 8): - _EXCLUDED_ATTRS |= { - "_gorg", "__next_in_mro__", "__extra__", "__tree_hash__", "__args__", - "__origin__" - } - -if sys.version_info >= (3, 9): - _EXCLUDED_ATTRS.add("__class_getitem__") - -if sys.version_info >= (3, 12): - _EXCLUDED_ATTRS.add("__type_params__") - -_EXCLUDED_ATTRS = frozenset(_EXCLUDED_ATTRS) - - -def _get_protocol_attrs(cls): - attrs = set() - for base in cls.__mro__[:-1]: # without object - if base.__name__ in {'Protocol', 'Generic'}: - continue - annotations = getattr(base, '__annotations__', {}) - for attr in (*base.__dict__, *annotations): - if (not attr.startswith('_abc_') and attr not in _EXCLUDED_ATTRS): - attrs.add(attr) - return attrs - - -def _maybe_adjust_parameters(cls): - """Helper function used in Protocol.__init_subclass__ and _TypedDictMeta.__new__. - - The contents of this function are very similar - to logic found in typing.Generic.__init_subclass__ - on the CPython main branch. - """ - tvars = [] - if '__orig_bases__' in cls.__dict__: - tvars = _collect_type_vars(cls.__orig_bases__) - # Look for Generic[T1, ..., Tn] or Protocol[T1, ..., Tn]. - # If found, tvars must be a subset of it. - # If not found, tvars is it. - # Also check for and reject plain Generic, - # and reject multiple Generic[...] and/or Protocol[...]. - gvars = None - for base in cls.__orig_bases__: - if (isinstance(base, typing._GenericAlias) and - base.__origin__ in (typing.Generic, Protocol)): - # for error messages - the_base = base.__origin__.__name__ - if gvars is not None: - raise TypeError( - "Cannot inherit from Generic[...]" - " and/or Protocol[...] multiple types.") - gvars = base.__parameters__ - if gvars is None: - gvars = tvars - else: - tvarset = set(tvars) - gvarset = set(gvars) - if not tvarset <= gvarset: - s_vars = ', '.join(str(t) for t in tvars if t not in gvarset) - s_args = ', '.join(str(g) for g in gvars) - raise TypeError(f"Some type variables ({s_vars}) are" - f" not listed in {the_base}[{s_args}]") - tvars = gvars - cls.__parameters__ = tuple(tvars) - - -def _caller(depth=2): - try: - return sys._getframe(depth).f_globals.get('__name__', '__main__') - except (AttributeError, ValueError): # For platforms without _getframe() - return None - - -# The performance of runtime-checkable protocols is significantly improved on Python 3.12, -# so we backport the 3.12 version of Protocol to Python <=3.11 -if sys.version_info >= (3, 12): - Protocol = typing.Protocol -else: - def _allow_reckless_class_checks(depth=3): - """Allow instance and class checks for special stdlib modules. - The abc and functools modules indiscriminately call isinstance() and - issubclass() on the whole MRO of a user class, which may contain protocols. - """ - return _caller(depth) in {'abc', 'functools', None} - - def _no_init(self, *args, **kwargs): - if type(self)._is_protocol: - raise TypeError('Protocols cannot be instantiated') - - if sys.version_info >= (3, 8): - # Inheriting from typing._ProtocolMeta isn't actually desirable, - # but is necessary to allow typing.Protocol and typing_extensions.Protocol - # to mix without getting TypeErrors about "metaclass conflict" - _typing_Protocol = typing.Protocol - _ProtocolMetaBase = type(_typing_Protocol) - else: - _typing_Protocol = _marker - _ProtocolMetaBase = abc.ABCMeta - - class _ProtocolMeta(_ProtocolMetaBase): - # This metaclass is somewhat unfortunate, - # but is necessary for several reasons... - # - # NOTE: DO NOT call super() in any methods in this class - # That would call the methods on typing._ProtocolMeta on Python 3.8-3.11 - # and those are slow - def __new__(mcls, name, bases, namespace, **kwargs): - if name == "Protocol" and len(bases) < 2: - pass - elif {Protocol, _typing_Protocol} & set(bases): - for base in bases: - if not ( - base in {object, typing.Generic, Protocol, _typing_Protocol} - or base.__name__ in _PROTO_ALLOWLIST.get(base.__module__, []) - or is_protocol(base) - ): - raise TypeError( - f"Protocols can only inherit from other protocols, " - f"got {base!r}" - ) - return abc.ABCMeta.__new__(mcls, name, bases, namespace, **kwargs) - - def __init__(cls, *args, **kwargs): - abc.ABCMeta.__init__(cls, *args, **kwargs) - if getattr(cls, "_is_protocol", False): - cls.__protocol_attrs__ = _get_protocol_attrs(cls) - # PEP 544 prohibits using issubclass() - # with protocols that have non-method members. - cls.__callable_proto_members_only__ = all( - callable(getattr(cls, attr, None)) for attr in cls.__protocol_attrs__ - ) - - def __subclasscheck__(cls, other): - if cls is Protocol: - return type.__subclasscheck__(cls, other) - if ( - getattr(cls, '_is_protocol', False) - and not _allow_reckless_class_checks() - ): - if not isinstance(other, type): - # Same error message as for issubclass(1, int). - raise TypeError('issubclass() arg 1 must be a class') - if ( - not cls.__callable_proto_members_only__ - and cls.__dict__.get("__subclasshook__") is _proto_hook - ): - raise TypeError( - "Protocols with non-method members don't support issubclass()" - ) - if not getattr(cls, '_is_runtime_protocol', False): - raise TypeError( - "Instance and class checks can only be used with " - "@runtime_checkable protocols" - ) - return abc.ABCMeta.__subclasscheck__(cls, other) - - def __instancecheck__(cls, instance): - # We need this method for situations where attributes are - # assigned in __init__. - if cls is Protocol: - return type.__instancecheck__(cls, instance) - if not getattr(cls, "_is_protocol", False): - # i.e., it's a concrete subclass of a protocol - return abc.ABCMeta.__instancecheck__(cls, instance) - - if ( - not getattr(cls, '_is_runtime_protocol', False) and - not _allow_reckless_class_checks() - ): - raise TypeError("Instance and class checks can only be used with" - " @runtime_checkable protocols") - - if abc.ABCMeta.__instancecheck__(cls, instance): - return True - - for attr in cls.__protocol_attrs__: - try: - val = inspect.getattr_static(instance, attr) - except AttributeError: - break - if val is None and callable(getattr(cls, attr, None)): - break - else: - return True - - return False - - def __eq__(cls, other): - # Hack so that typing.Generic.__class_getitem__ - # treats typing_extensions.Protocol - # as equivalent to typing.Protocol on Python 3.8+ - if abc.ABCMeta.__eq__(cls, other) is True: - return True - return ( - cls is Protocol and other is getattr(typing, "Protocol", object()) - ) - - # This has to be defined, or the abc-module cache - # complains about classes with this metaclass being unhashable, - # if we define only __eq__! - def __hash__(cls) -> int: - return type.__hash__(cls) - - @classmethod - def _proto_hook(cls, other): - if not cls.__dict__.get('_is_protocol', False): - return NotImplemented - - for attr in cls.__protocol_attrs__: - for base in other.__mro__: - # Check if the members appears in the class dictionary... - if attr in base.__dict__: - if base.__dict__[attr] is None: - return NotImplemented - break - - # ...or in annotations, if it is a sub-protocol. - annotations = getattr(base, '__annotations__', {}) - if ( - isinstance(annotations, collections.abc.Mapping) - and attr in annotations - and is_protocol(other) - ): - break - else: - return NotImplemented - return True - - if sys.version_info >= (3, 8): - class Protocol(typing.Generic, metaclass=_ProtocolMeta): - __doc__ = typing.Protocol.__doc__ - __slots__ = () - _is_protocol = True - _is_runtime_protocol = False - - def __init_subclass__(cls, *args, **kwargs): - super().__init_subclass__(*args, **kwargs) - - # Determine if this is a protocol or a concrete subclass. - if not cls.__dict__.get('_is_protocol', False): - cls._is_protocol = any(b is Protocol for b in cls.__bases__) - - # Set (or override) the protocol subclass hook. - if '__subclasshook__' not in cls.__dict__: - cls.__subclasshook__ = _proto_hook - - # Prohibit instantiation for protocol classes - if cls._is_protocol and cls.__init__ is Protocol.__init__: - cls.__init__ = _no_init - - else: - class Protocol(metaclass=_ProtocolMeta): - # There is quite a lot of overlapping code with typing.Generic. - # Unfortunately it is hard to avoid this on Python <3.8, - # as the typing module on Python 3.7 doesn't let us subclass typing.Generic! - """Base class for protocol classes. Protocol classes are defined as:: - - class Proto(Protocol): - def meth(self) -> int: - ... - - Such classes are primarily used with static type checkers that recognize - structural subtyping (static duck-typing), for example:: - - class C: - def meth(self) -> int: - return 0 - - def func(x: Proto) -> int: - return x.meth() - - func(C()) # Passes static type check - - See PEP 544 for details. Protocol classes decorated with - @typing_extensions.runtime_checkable act - as simple-minded runtime-checkable protocols that check - only the presence of given attributes, ignoring their type signatures. - - Protocol classes can be generic, they are defined as:: - - class GenProto(Protocol[T]): - def meth(self) -> T: - ... - """ - __slots__ = () - _is_protocol = True - _is_runtime_protocol = False - - def __new__(cls, *args, **kwds): - if cls is Protocol: - raise TypeError("Type Protocol cannot be instantiated; " - "it can only be used as a base class") - return super().__new__(cls) - - @typing._tp_cache - def __class_getitem__(cls, params): - if not isinstance(params, tuple): - params = (params,) - if not params and cls is not typing.Tuple: - raise TypeError( - f"Parameter list to {cls.__qualname__}[...] cannot be empty") - msg = "Parameters to generic types must be types." - params = tuple(typing._type_check(p, msg) for p in params) - if cls is Protocol: - # Generic can only be subscripted with unique type variables. - if not all(isinstance(p, typing.TypeVar) for p in params): - i = 0 - while isinstance(params[i], typing.TypeVar): - i += 1 - raise TypeError( - "Parameters to Protocol[...] must all be type variables." - f" Parameter {i + 1} is {params[i]}") - if len(set(params)) != len(params): - raise TypeError( - "Parameters to Protocol[...] must all be unique") - else: - # Subscripting a regular Generic subclass. - _check_generic(cls, params, len(cls.__parameters__)) - return typing._GenericAlias(cls, params) - - def __init_subclass__(cls, *args, **kwargs): - if '__orig_bases__' in cls.__dict__: - error = typing.Generic in cls.__orig_bases__ - else: - error = typing.Generic in cls.__bases__ - if error: - raise TypeError("Cannot inherit from plain Generic") - _maybe_adjust_parameters(cls) - - # Determine if this is a protocol or a concrete subclass. - if not cls.__dict__.get('_is_protocol', None): - cls._is_protocol = any(b is Protocol for b in cls.__bases__) - - # Set (or override) the protocol subclass hook. - if '__subclasshook__' not in cls.__dict__: - cls.__subclasshook__ = _proto_hook - - # Prohibit instantiation for protocol classes - if cls._is_protocol and cls.__init__ is Protocol.__init__: - cls.__init__ = _no_init - - -if sys.version_info >= (3, 8): - runtime_checkable = typing.runtime_checkable -else: - def runtime_checkable(cls): - """Mark a protocol class as a runtime protocol, so that it - can be used with isinstance() and issubclass(). Raise TypeError - if applied to a non-protocol class. - - This allows a simple-minded structural check very similar to the - one-offs in collections.abc such as Hashable. - """ - if not ( - (isinstance(cls, _ProtocolMeta) or issubclass(cls, typing.Generic)) - and getattr(cls, "_is_protocol", False) - ): - raise TypeError('@runtime_checkable can be only applied to protocol classes,' - f' got {cls!r}') - cls._is_runtime_protocol = True - return cls - - -# Exists for backwards compatibility. -runtime = runtime_checkable - - -# Our version of runtime-checkable protocols is faster on Python 3.7-3.11 -if sys.version_info >= (3, 12): - SupportsInt = typing.SupportsInt - SupportsFloat = typing.SupportsFloat - SupportsComplex = typing.SupportsComplex - SupportsBytes = typing.SupportsBytes - SupportsIndex = typing.SupportsIndex - SupportsAbs = typing.SupportsAbs - SupportsRound = typing.SupportsRound -else: - @runtime_checkable - class SupportsInt(Protocol): - """An ABC with one abstract method __int__.""" - __slots__ = () - - @abc.abstractmethod - def __int__(self) -> int: - pass - - @runtime_checkable - class SupportsFloat(Protocol): - """An ABC with one abstract method __float__.""" - __slots__ = () - - @abc.abstractmethod - def __float__(self) -> float: - pass - - @runtime_checkable - class SupportsComplex(Protocol): - """An ABC with one abstract method __complex__.""" - __slots__ = () - - @abc.abstractmethod - def __complex__(self) -> complex: - pass - - @runtime_checkable - class SupportsBytes(Protocol): - """An ABC with one abstract method __bytes__.""" - __slots__ = () - - @abc.abstractmethod - def __bytes__(self) -> bytes: - pass - - @runtime_checkable - class SupportsIndex(Protocol): - __slots__ = () - - @abc.abstractmethod - def __index__(self) -> int: - pass - - @runtime_checkable - class SupportsAbs(Protocol[T_co]): - """ - An ABC with one abstract method __abs__ that is covariant in its return type. - """ - __slots__ = () - - @abc.abstractmethod - def __abs__(self) -> T_co: - pass - - @runtime_checkable - class SupportsRound(Protocol[T_co]): - """ - An ABC with one abstract method __round__ that is covariant in its return type. - """ - __slots__ = () - - @abc.abstractmethod - def __round__(self, ndigits: int = 0) -> T_co: - pass - - -def _ensure_subclassable(mro_entries): - def inner(func): - if sys.implementation.name == "pypy" and sys.version_info < (3, 9): - cls_dict = { - "__call__": staticmethod(func), - "__mro_entries__": staticmethod(mro_entries) - } - t = type(func.__name__, (), cls_dict) - return functools.update_wrapper(t(), func) - else: - func.__mro_entries__ = mro_entries - return func - return inner - - -if sys.version_info >= (3, 13): - # The standard library TypedDict in Python 3.8 does not store runtime information - # about which (if any) keys are optional. See https://bugs.python.org/issue38834 - # The standard library TypedDict in Python 3.9.0/1 does not honour the "total" - # keyword with old-style TypedDict(). See https://bugs.python.org/issue42059 - # The standard library TypedDict below Python 3.11 does not store runtime - # information about optional and required keys when using Required or NotRequired. - # Generic TypedDicts are also impossible using typing.TypedDict on Python <3.11. - # Aaaand on 3.12 we add __orig_bases__ to TypedDict - # to enable better runtime introspection. - # On 3.13 we deprecate some odd ways of creating TypedDicts. - TypedDict = typing.TypedDict - _TypedDictMeta = typing._TypedDictMeta - is_typeddict = typing.is_typeddict -else: - # 3.10.0 and later - _TAKES_MODULE = "module" in inspect.signature(typing._type_check).parameters - - if sys.version_info >= (3, 8): - _fake_name = "Protocol" - else: - _fake_name = "_Protocol" - - class _TypedDictMeta(type): - def __new__(cls, name, bases, ns, total=True): - """Create new typed dict class object. - - This method is called when TypedDict is subclassed, - or when TypedDict is instantiated. This way - TypedDict supports all three syntax forms described in its docstring. - Subclasses and instances of TypedDict return actual dictionaries. - """ - for base in bases: - if type(base) is not _TypedDictMeta and base is not typing.Generic: - raise TypeError('cannot inherit from both a TypedDict type ' - 'and a non-TypedDict base class') - - if any(issubclass(b, typing.Generic) for b in bases): - generic_base = (typing.Generic,) - else: - generic_base = () - - # typing.py generally doesn't let you inherit from plain Generic, unless - # the name of the class happens to be "Protocol" (or "_Protocol" on 3.7). - tp_dict = type.__new__(_TypedDictMeta, _fake_name, (*generic_base, dict), ns) - tp_dict.__name__ = name - if tp_dict.__qualname__ == _fake_name: - tp_dict.__qualname__ = name - - if not hasattr(tp_dict, '__orig_bases__'): - tp_dict.__orig_bases__ = bases - - annotations = {} - own_annotations = ns.get('__annotations__', {}) - msg = "TypedDict('Name', {f0: t0, f1: t1, ...}); each t must be a type" - if _TAKES_MODULE: - own_annotations = { - n: typing._type_check(tp, msg, module=tp_dict.__module__) - for n, tp in own_annotations.items() - } - else: - own_annotations = { - n: typing._type_check(tp, msg) - for n, tp in own_annotations.items() - } - required_keys = set() - optional_keys = set() - - for base in bases: - annotations.update(base.__dict__.get('__annotations__', {})) - required_keys.update(base.__dict__.get('__required_keys__', ())) - optional_keys.update(base.__dict__.get('__optional_keys__', ())) - - annotations.update(own_annotations) - for annotation_key, annotation_type in own_annotations.items(): - annotation_origin = get_origin(annotation_type) - if annotation_origin is Annotated: - annotation_args = get_args(annotation_type) - if annotation_args: - annotation_type = annotation_args[0] - annotation_origin = get_origin(annotation_type) - - if annotation_origin is Required: - required_keys.add(annotation_key) - elif annotation_origin is NotRequired: - optional_keys.add(annotation_key) - elif total: - required_keys.add(annotation_key) - else: - optional_keys.add(annotation_key) - - tp_dict.__annotations__ = annotations - tp_dict.__required_keys__ = frozenset(required_keys) - tp_dict.__optional_keys__ = frozenset(optional_keys) - if not hasattr(tp_dict, '__total__'): - tp_dict.__total__ = total - return tp_dict - - __call__ = dict # static method - - def __subclasscheck__(cls, other): - # Typed dicts are only for static structural subtyping. - raise TypeError('TypedDict does not support instance and class checks') - - __instancecheck__ = __subclasscheck__ - - _TypedDict = type.__new__(_TypedDictMeta, 'TypedDict', (), {}) - - @_ensure_subclassable(lambda bases: (_TypedDict,)) - def TypedDict(__typename, __fields=_marker, *, total=True, **kwargs): - """A simple typed namespace. At runtime it is equivalent to a plain dict. - - TypedDict creates a dictionary type such that a type checker will expect all - instances to have a certain set of keys, where each key is - associated with a value of a consistent type. This expectation - is not checked at runtime. - - Usage:: - - class Point2D(TypedDict): - x: int - y: int - label: str - - a: Point2D = {'x': 1, 'y': 2, 'label': 'good'} # OK - b: Point2D = {'z': 3, 'label': 'bad'} # Fails type check - - assert Point2D(x=1, y=2, label='first') == dict(x=1, y=2, label='first') - - The type info can be accessed via the Point2D.__annotations__ dict, and - the Point2D.__required_keys__ and Point2D.__optional_keys__ frozensets. - TypedDict supports an additional equivalent form:: - - Point2D = TypedDict('Point2D', {'x': int, 'y': int, 'label': str}) - - By default, all keys must be present in a TypedDict. It is possible - to override this by specifying totality:: - - class Point2D(TypedDict, total=False): - x: int - y: int - - This means that a Point2D TypedDict can have any of the keys omitted. A type - checker is only expected to support a literal False or True as the value of - the total argument. True is the default, and makes all items defined in the - class body be required. - - The Required and NotRequired special forms can also be used to mark - individual keys as being required or not required:: - - class Point2D(TypedDict): - x: int # the "x" key must always be present (Required is the default) - y: NotRequired[int] # the "y" key can be omitted - - See PEP 655 for more details on Required and NotRequired. - """ - if __fields is _marker or __fields is None: - if __fields is _marker: - deprecated_thing = "Failing to pass a value for the 'fields' parameter" - else: - deprecated_thing = "Passing `None` as the 'fields' parameter" - - example = f"`{__typename} = TypedDict({__typename!r}, {{}})`" - deprecation_msg = ( - f"{deprecated_thing} is deprecated and will be disallowed in " - "Python 3.15. To create a TypedDict class with 0 fields " - "using the functional syntax, pass an empty dictionary, e.g. " - ) + example + "." - warnings.warn(deprecation_msg, DeprecationWarning, stacklevel=2) - __fields = kwargs - elif kwargs: - raise TypeError("TypedDict takes either a dict or keyword arguments," - " but not both") - if kwargs: - warnings.warn( - "The kwargs-based syntax for TypedDict definitions is deprecated " - "in Python 3.11, will be removed in Python 3.13, and may not be " - "understood by third-party type checkers.", - DeprecationWarning, - stacklevel=2, - ) - - ns = {'__annotations__': dict(__fields)} - module = _caller() - if module is not None: - # Setting correct module is necessary to make typed dict classes pickleable. - ns['__module__'] = module - - td = _TypedDictMeta(__typename, (), ns, total=total) - td.__orig_bases__ = (TypedDict,) - return td - - if hasattr(typing, "_TypedDictMeta"): - _TYPEDDICT_TYPES = (typing._TypedDictMeta, _TypedDictMeta) - else: - _TYPEDDICT_TYPES = (_TypedDictMeta,) - - def is_typeddict(tp): - """Check if an annotation is a TypedDict class - - For example:: - class Film(TypedDict): - title: str - year: int - - is_typeddict(Film) # => True - is_typeddict(Union[list, str]) # => False - """ - # On 3.8, this would otherwise return True - if hasattr(typing, "TypedDict") and tp is typing.TypedDict: - return False - return isinstance(tp, _TYPEDDICT_TYPES) - - -if hasattr(typing, "assert_type"): - assert_type = typing.assert_type - -else: - def assert_type(__val, __typ): - """Assert (to the type checker) that the value is of the given type. - - When the type checker encounters a call to assert_type(), it - emits an error if the value is not of the specified type:: - - def greet(name: str) -> None: - assert_type(name, str) # ok - assert_type(name, int) # type checker error - - At runtime this returns the first argument unchanged and otherwise - does nothing. - """ - return __val - - -if hasattr(typing, "Required"): - get_type_hints = typing.get_type_hints -else: - # replaces _strip_annotations() - def _strip_extras(t): - """Strips Annotated, Required and NotRequired from a given type.""" - if isinstance(t, _AnnotatedAlias): - return _strip_extras(t.__origin__) - if hasattr(t, "__origin__") and t.__origin__ in (Required, NotRequired): - return _strip_extras(t.__args__[0]) - if isinstance(t, typing._GenericAlias): - stripped_args = tuple(_strip_extras(a) for a in t.__args__) - if stripped_args == t.__args__: - return t - return t.copy_with(stripped_args) - if hasattr(_types, "GenericAlias") and isinstance(t, _types.GenericAlias): - stripped_args = tuple(_strip_extras(a) for a in t.__args__) - if stripped_args == t.__args__: - return t - return _types.GenericAlias(t.__origin__, stripped_args) - if hasattr(_types, "UnionType") and isinstance(t, _types.UnionType): - stripped_args = tuple(_strip_extras(a) for a in t.__args__) - if stripped_args == t.__args__: - return t - return functools.reduce(operator.or_, stripped_args) - - return t - - def get_type_hints(obj, globalns=None, localns=None, include_extras=False): - """Return type hints for an object. - - This is often the same as obj.__annotations__, but it handles - forward references encoded as string literals, adds Optional[t] if a - default value equal to None is set and recursively replaces all - 'Annotated[T, ...]', 'Required[T]' or 'NotRequired[T]' with 'T' - (unless 'include_extras=True'). - - The argument may be a module, class, method, or function. The annotations - are returned as a dictionary. For classes, annotations include also - inherited members. - - TypeError is raised if the argument is not of a type that can contain - annotations, and an empty dictionary is returned if no annotations are - present. - - BEWARE -- the behavior of globalns and localns is counterintuitive - (unless you are familiar with how eval() and exec() work). The - search order is locals first, then globals. - - - If no dict arguments are passed, an attempt is made to use the - globals from obj (or the respective module's globals for classes), - and these are also used as the locals. If the object does not appear - to have globals, an empty dictionary is used. - - - If one dict argument is passed, it is used for both globals and - locals. - - - If two dict arguments are passed, they specify globals and - locals, respectively. - """ - if hasattr(typing, "Annotated"): - hint = typing.get_type_hints( - obj, globalns=globalns, localns=localns, include_extras=True - ) - else: - hint = typing.get_type_hints(obj, globalns=globalns, localns=localns) - if include_extras: - return hint - return {k: _strip_extras(t) for k, t in hint.items()} - - -# Python 3.9+ has PEP 593 (Annotated) -if hasattr(typing, 'Annotated'): - Annotated = typing.Annotated - # Not exported and not a public API, but needed for get_origin() and get_args() - # to work. - _AnnotatedAlias = typing._AnnotatedAlias -# 3.7-3.8 -else: - class _AnnotatedAlias(typing._GenericAlias, _root=True): - """Runtime representation of an annotated type. - - At its core 'Annotated[t, dec1, dec2, ...]' is an alias for the type 't' - with extra annotations. The alias behaves like a normal typing alias, - instantiating is the same as instantiating the underlying type, binding - it to types is also the same. - """ - def __init__(self, origin, metadata): - if isinstance(origin, _AnnotatedAlias): - metadata = origin.__metadata__ + metadata - origin = origin.__origin__ - super().__init__(origin, origin) - self.__metadata__ = metadata - - def copy_with(self, params): - assert len(params) == 1 - new_type = params[0] - return _AnnotatedAlias(new_type, self.__metadata__) - - def __repr__(self): - return (f"typing_extensions.Annotated[{typing._type_repr(self.__origin__)}, " - f"{', '.join(repr(a) for a in self.__metadata__)}]") - - def __reduce__(self): - return operator.getitem, ( - Annotated, (self.__origin__,) + self.__metadata__ - ) - - def __eq__(self, other): - if not isinstance(other, _AnnotatedAlias): - return NotImplemented - if self.__origin__ != other.__origin__: - return False - return self.__metadata__ == other.__metadata__ - - def __hash__(self): - return hash((self.__origin__, self.__metadata__)) - - class Annotated: - """Add context specific metadata to a type. - - Example: Annotated[int, runtime_check.Unsigned] indicates to the - hypothetical runtime_check module that this type is an unsigned int. - Every other consumer of this type can ignore this metadata and treat - this type as int. - - The first argument to Annotated must be a valid type (and will be in - the __origin__ field), the remaining arguments are kept as a tuple in - the __extra__ field. - - Details: - - - It's an error to call `Annotated` with less than two arguments. - - Nested Annotated are flattened:: - - Annotated[Annotated[T, Ann1, Ann2], Ann3] == Annotated[T, Ann1, Ann2, Ann3] - - - Instantiating an annotated type is equivalent to instantiating the - underlying type:: - - Annotated[C, Ann1](5) == C(5) - - - Annotated can be used as a generic type alias:: - - Optimized = Annotated[T, runtime.Optimize()] - Optimized[int] == Annotated[int, runtime.Optimize()] - - OptimizedList = Annotated[List[T], runtime.Optimize()] - OptimizedList[int] == Annotated[List[int], runtime.Optimize()] - """ - - __slots__ = () - - def __new__(cls, *args, **kwargs): - raise TypeError("Type Annotated cannot be instantiated.") - - @typing._tp_cache - def __class_getitem__(cls, params): - if not isinstance(params, tuple) or len(params) < 2: - raise TypeError("Annotated[...] should be used " - "with at least two arguments (a type and an " - "annotation).") - allowed_special_forms = (ClassVar, Final) - if get_origin(params[0]) in allowed_special_forms: - origin = params[0] - else: - msg = "Annotated[t, ...]: t must be a type." - origin = typing._type_check(params[0], msg) - metadata = tuple(params[1:]) - return _AnnotatedAlias(origin, metadata) - - def __init_subclass__(cls, *args, **kwargs): - raise TypeError( - f"Cannot subclass {cls.__module__}.Annotated" - ) - -# Python 3.8 has get_origin() and get_args() but those implementations aren't -# Annotated-aware, so we can't use those. Python 3.9's versions don't support -# ParamSpecArgs and ParamSpecKwargs, so only Python 3.10's versions will do. -if sys.version_info[:2] >= (3, 10): - get_origin = typing.get_origin - get_args = typing.get_args -# 3.7-3.9 -else: - try: - # 3.9+ - from typing import _BaseGenericAlias - except ImportError: - _BaseGenericAlias = typing._GenericAlias - try: - # 3.9+ - from typing import GenericAlias as _typing_GenericAlias - except ImportError: - _typing_GenericAlias = typing._GenericAlias - - def get_origin(tp): - """Get the unsubscripted version of a type. - - This supports generic types, Callable, Tuple, Union, Literal, Final, ClassVar - and Annotated. Return None for unsupported types. Examples:: - - get_origin(Literal[42]) is Literal - get_origin(int) is None - get_origin(ClassVar[int]) is ClassVar - get_origin(Generic) is Generic - get_origin(Generic[T]) is Generic - get_origin(Union[T, int]) is Union - get_origin(List[Tuple[T, T]][int]) == list - get_origin(P.args) is P - """ - if isinstance(tp, _AnnotatedAlias): - return Annotated - if isinstance(tp, (typing._GenericAlias, _typing_GenericAlias, _BaseGenericAlias, - ParamSpecArgs, ParamSpecKwargs)): - return tp.__origin__ - if tp is typing.Generic: - return typing.Generic - return None - - def get_args(tp): - """Get type arguments with all substitutions performed. - - For unions, basic simplifications used by Union constructor are performed. - Examples:: - get_args(Dict[str, int]) == (str, int) - get_args(int) == () - get_args(Union[int, Union[T, int], str][int]) == (int, str) - get_args(Union[int, Tuple[T, int]][str]) == (int, Tuple[str, int]) - get_args(Callable[[], T][int]) == ([], int) - """ - if isinstance(tp, _AnnotatedAlias): - return (tp.__origin__,) + tp.__metadata__ - if isinstance(tp, (typing._GenericAlias, _typing_GenericAlias)): - if getattr(tp, "_special", False): - return () - res = tp.__args__ - if get_origin(tp) is collections.abc.Callable and res[0] is not Ellipsis: - res = (list(res[:-1]), res[-1]) - return res - return () - - -# 3.10+ -if hasattr(typing, 'TypeAlias'): - TypeAlias = typing.TypeAlias -# 3.9 -elif sys.version_info[:2] >= (3, 9): - @_ExtensionsSpecialForm - def TypeAlias(self, parameters): - """Special marker indicating that an assignment should - be recognized as a proper type alias definition by type - checkers. - - For example:: - - Predicate: TypeAlias = Callable[..., bool] - - It's invalid when used anywhere except as in the example above. - """ - raise TypeError(f"{self} is not subscriptable") -# 3.7-3.8 -else: - TypeAlias = _ExtensionsSpecialForm( - 'TypeAlias', - doc="""Special marker indicating that an assignment should - be recognized as a proper type alias definition by type - checkers. - - For example:: - - Predicate: TypeAlias = Callable[..., bool] - - It's invalid when used anywhere except as in the example - above.""" - ) - - -def _set_default(type_param, default): - if isinstance(default, (tuple, list)): - type_param.__default__ = tuple((typing._type_check(d, "Default must be a type") - for d in default)) - elif default != _marker: - type_param.__default__ = typing._type_check(default, "Default must be a type") - else: - type_param.__default__ = None - - -def _set_module(typevarlike): - # for pickling: - def_mod = _caller(depth=3) - if def_mod != 'typing_extensions': - typevarlike.__module__ = def_mod - - -class _DefaultMixin: - """Mixin for TypeVarLike defaults.""" - - __slots__ = () - __init__ = _set_default - - -# Classes using this metaclass must provide a _backported_typevarlike ClassVar -class _TypeVarLikeMeta(type): - def __instancecheck__(cls, __instance: Any) -> bool: - return isinstance(__instance, cls._backported_typevarlike) - - -# Add default and infer_variance parameters from PEP 696 and 695 -class TypeVar(metaclass=_TypeVarLikeMeta): - """Type variable.""" - - _backported_typevarlike = typing.TypeVar - - def __new__(cls, name, *constraints, bound=None, - covariant=False, contravariant=False, - default=_marker, infer_variance=False): - if hasattr(typing, "TypeAliasType"): - # PEP 695 implemented, can pass infer_variance to typing.TypeVar - typevar = typing.TypeVar(name, *constraints, bound=bound, - covariant=covariant, contravariant=contravariant, - infer_variance=infer_variance) - else: - typevar = typing.TypeVar(name, *constraints, bound=bound, - covariant=covariant, contravariant=contravariant) - if infer_variance and (covariant or contravariant): - raise ValueError("Variance cannot be specified with infer_variance.") - typevar.__infer_variance__ = infer_variance - _set_default(typevar, default) - _set_module(typevar) - return typevar - - def __init_subclass__(cls) -> None: - raise TypeError(f"type '{__name__}.TypeVar' is not an acceptable base type") - - -# Python 3.10+ has PEP 612 -if hasattr(typing, 'ParamSpecArgs'): - ParamSpecArgs = typing.ParamSpecArgs - ParamSpecKwargs = typing.ParamSpecKwargs -# 3.7-3.9 -else: - class _Immutable: - """Mixin to indicate that object should not be copied.""" - __slots__ = () - - def __copy__(self): - return self - - def __deepcopy__(self, memo): - return self - - class ParamSpecArgs(_Immutable): - """The args for a ParamSpec object. - - Given a ParamSpec object P, P.args is an instance of ParamSpecArgs. - - ParamSpecArgs objects have a reference back to their ParamSpec: - - P.args.__origin__ is P - - This type is meant for runtime introspection and has no special meaning to - static type checkers. - """ - def __init__(self, origin): - self.__origin__ = origin - - def __repr__(self): - return f"{self.__origin__.__name__}.args" - - def __eq__(self, other): - if not isinstance(other, ParamSpecArgs): - return NotImplemented - return self.__origin__ == other.__origin__ - - class ParamSpecKwargs(_Immutable): - """The kwargs for a ParamSpec object. - - Given a ParamSpec object P, P.kwargs is an instance of ParamSpecKwargs. - - ParamSpecKwargs objects have a reference back to their ParamSpec: - - P.kwargs.__origin__ is P - - This type is meant for runtime introspection and has no special meaning to - static type checkers. - """ - def __init__(self, origin): - self.__origin__ = origin - - def __repr__(self): - return f"{self.__origin__.__name__}.kwargs" - - def __eq__(self, other): - if not isinstance(other, ParamSpecKwargs): - return NotImplemented - return self.__origin__ == other.__origin__ - -# 3.10+ -if hasattr(typing, 'ParamSpec'): - - # Add default parameter - PEP 696 - class ParamSpec(metaclass=_TypeVarLikeMeta): - """Parameter specification.""" - - _backported_typevarlike = typing.ParamSpec - - def __new__(cls, name, *, bound=None, - covariant=False, contravariant=False, - infer_variance=False, default=_marker): - if hasattr(typing, "TypeAliasType"): - # PEP 695 implemented, can pass infer_variance to typing.TypeVar - paramspec = typing.ParamSpec(name, bound=bound, - covariant=covariant, - contravariant=contravariant, - infer_variance=infer_variance) - else: - paramspec = typing.ParamSpec(name, bound=bound, - covariant=covariant, - contravariant=contravariant) - paramspec.__infer_variance__ = infer_variance - - _set_default(paramspec, default) - _set_module(paramspec) - return paramspec - - def __init_subclass__(cls) -> None: - raise TypeError(f"type '{__name__}.ParamSpec' is not an acceptable base type") - -# 3.7-3.9 -else: - - # Inherits from list as a workaround for Callable checks in Python < 3.9.2. - class ParamSpec(list, _DefaultMixin): - """Parameter specification variable. - - Usage:: - - P = ParamSpec('P') - - Parameter specification variables exist primarily for the benefit of static - type checkers. They are used to forward the parameter types of one - callable to another callable, a pattern commonly found in higher order - functions and decorators. They are only valid when used in ``Concatenate``, - or s the first argument to ``Callable``. In Python 3.10 and higher, - they are also supported in user-defined Generics at runtime. - See class Generic for more information on generic types. An - example for annotating a decorator:: - - T = TypeVar('T') - P = ParamSpec('P') - - def add_logging(f: Callable[P, T]) -> Callable[P, T]: - '''A type-safe decorator to add logging to a function.''' - def inner(*args: P.args, **kwargs: P.kwargs) -> T: - logging.info(f'{f.__name__} was called') - return f(*args, **kwargs) - return inner - - @add_logging - def add_two(x: float, y: float) -> float: - '''Add two numbers together.''' - return x + y - - Parameter specification variables defined with covariant=True or - contravariant=True can be used to declare covariant or contravariant - generic types. These keyword arguments are valid, but their actual semantics - are yet to be decided. See PEP 612 for details. - - Parameter specification variables can be introspected. e.g.: - - P.__name__ == 'T' - P.__bound__ == None - P.__covariant__ == False - P.__contravariant__ == False - - Note that only parameter specification variables defined in global scope can - be pickled. - """ - - # Trick Generic __parameters__. - __class__ = typing.TypeVar - - @property - def args(self): - return ParamSpecArgs(self) - - @property - def kwargs(self): - return ParamSpecKwargs(self) - - def __init__(self, name, *, bound=None, covariant=False, contravariant=False, - infer_variance=False, default=_marker): - super().__init__([self]) - self.__name__ = name - self.__covariant__ = bool(covariant) - self.__contravariant__ = bool(contravariant) - self.__infer_variance__ = bool(infer_variance) - if bound: - self.__bound__ = typing._type_check(bound, 'Bound must be a type.') - else: - self.__bound__ = None - _DefaultMixin.__init__(self, default) - - # for pickling: - def_mod = _caller() - if def_mod != 'typing_extensions': - self.__module__ = def_mod - - def __repr__(self): - if self.__infer_variance__: - prefix = '' - elif self.__covariant__: - prefix = '+' - elif self.__contravariant__: - prefix = '-' - else: - prefix = '~' - return prefix + self.__name__ - - def __hash__(self): - return object.__hash__(self) - - def __eq__(self, other): - return self is other - - def __reduce__(self): - return self.__name__ - - # Hack to get typing._type_check to pass. - def __call__(self, *args, **kwargs): - pass - - -# 3.7-3.9 -if not hasattr(typing, 'Concatenate'): - # Inherits from list as a workaround for Callable checks in Python < 3.9.2. - class _ConcatenateGenericAlias(list): - - # Trick Generic into looking into this for __parameters__. - __class__ = typing._GenericAlias - - # Flag in 3.8. - _special = False - - def __init__(self, origin, args): - super().__init__(args) - self.__origin__ = origin - self.__args__ = args - - def __repr__(self): - _type_repr = typing._type_repr - return (f'{_type_repr(self.__origin__)}' - f'[{", ".join(_type_repr(arg) for arg in self.__args__)}]') - - def __hash__(self): - return hash((self.__origin__, self.__args__)) - - # Hack to get typing._type_check to pass in Generic. - def __call__(self, *args, **kwargs): - pass - - @property - def __parameters__(self): - return tuple( - tp for tp in self.__args__ if isinstance(tp, (typing.TypeVar, ParamSpec)) - ) - - -# 3.7-3.9 -@typing._tp_cache -def _concatenate_getitem(self, parameters): - if parameters == (): - raise TypeError("Cannot take a Concatenate of no types.") - if not isinstance(parameters, tuple): - parameters = (parameters,) - if not isinstance(parameters[-1], ParamSpec): - raise TypeError("The last parameter to Concatenate should be a " - "ParamSpec variable.") - msg = "Concatenate[arg, ...]: each arg must be a type." - parameters = tuple(typing._type_check(p, msg) for p in parameters) - return _ConcatenateGenericAlias(self, parameters) - - -# 3.10+ -if hasattr(typing, 'Concatenate'): - Concatenate = typing.Concatenate - _ConcatenateGenericAlias = typing._ConcatenateGenericAlias # noqa: F811 -# 3.9 -elif sys.version_info[:2] >= (3, 9): - @_ExtensionsSpecialForm - def Concatenate(self, parameters): - """Used in conjunction with ``ParamSpec`` and ``Callable`` to represent a - higher order function which adds, removes or transforms parameters of a - callable. - - For example:: - - Callable[Concatenate[int, P], int] - - See PEP 612 for detailed information. - """ - return _concatenate_getitem(self, parameters) -# 3.7-8 -else: - class _ConcatenateForm(_ExtensionsSpecialForm, _root=True): - def __getitem__(self, parameters): - return _concatenate_getitem(self, parameters) - - Concatenate = _ConcatenateForm( - 'Concatenate', - doc="""Used in conjunction with ``ParamSpec`` and ``Callable`` to represent a - higher order function which adds, removes or transforms parameters of a - callable. - - For example:: - - Callable[Concatenate[int, P], int] - - See PEP 612 for detailed information. - """) - -# 3.10+ -if hasattr(typing, 'TypeGuard'): - TypeGuard = typing.TypeGuard -# 3.9 -elif sys.version_info[:2] >= (3, 9): - @_ExtensionsSpecialForm - def TypeGuard(self, parameters): - """Special typing form used to annotate the return type of a user-defined - type guard function. ``TypeGuard`` only accepts a single type argument. - At runtime, functions marked this way should return a boolean. - - ``TypeGuard`` aims to benefit *type narrowing* -- a technique used by static - type checkers to determine a more precise type of an expression within a - program's code flow. Usually type narrowing is done by analyzing - conditional code flow and applying the narrowing to a block of code. The - conditional expression here is sometimes referred to as a "type guard". - - Sometimes it would be convenient to use a user-defined boolean function - as a type guard. Such a function should use ``TypeGuard[...]`` as its - return type to alert static type checkers to this intention. - - Using ``-> TypeGuard`` tells the static type checker that for a given - function: - - 1. The return value is a boolean. - 2. If the return value is ``True``, the type of its argument - is the type inside ``TypeGuard``. - - For example:: - - def is_str(val: Union[str, float]): - # "isinstance" type guard - if isinstance(val, str): - # Type of ``val`` is narrowed to ``str`` - ... - else: - # Else, type of ``val`` is narrowed to ``float``. - ... - - Strict type narrowing is not enforced -- ``TypeB`` need not be a narrower - form of ``TypeA`` (it can even be a wider form) and this may lead to - type-unsafe results. The main reason is to allow for things like - narrowing ``List[object]`` to ``List[str]`` even though the latter is not - a subtype of the former, since ``List`` is invariant. The responsibility of - writing type-safe type guards is left to the user. - - ``TypeGuard`` also works with type variables. For more information, see - PEP 647 (User-Defined Type Guards). - """ - item = typing._type_check(parameters, f'{self} accepts only a single type.') - return typing._GenericAlias(self, (item,)) -# 3.7-3.8 -else: - class _TypeGuardForm(_ExtensionsSpecialForm, _root=True): - def __getitem__(self, parameters): - item = typing._type_check(parameters, - f'{self._name} accepts only a single type') - return typing._GenericAlias(self, (item,)) - - TypeGuard = _TypeGuardForm( - 'TypeGuard', - doc="""Special typing form used to annotate the return type of a user-defined - type guard function. ``TypeGuard`` only accepts a single type argument. - At runtime, functions marked this way should return a boolean. - - ``TypeGuard`` aims to benefit *type narrowing* -- a technique used by static - type checkers to determine a more precise type of an expression within a - program's code flow. Usually type narrowing is done by analyzing - conditional code flow and applying the narrowing to a block of code. The - conditional expression here is sometimes referred to as a "type guard". - - Sometimes it would be convenient to use a user-defined boolean function - as a type guard. Such a function should use ``TypeGuard[...]`` as its - return type to alert static type checkers to this intention. - - Using ``-> TypeGuard`` tells the static type checker that for a given - function: - - 1. The return value is a boolean. - 2. If the return value is ``True``, the type of its argument - is the type inside ``TypeGuard``. - - For example:: - - def is_str(val: Union[str, float]): - # "isinstance" type guard - if isinstance(val, str): - # Type of ``val`` is narrowed to ``str`` - ... - else: - # Else, type of ``val`` is narrowed to ``float``. - ... - - Strict type narrowing is not enforced -- ``TypeB`` need not be a narrower - form of ``TypeA`` (it can even be a wider form) and this may lead to - type-unsafe results. The main reason is to allow for things like - narrowing ``List[object]`` to ``List[str]`` even though the latter is not - a subtype of the former, since ``List`` is invariant. The responsibility of - writing type-safe type guards is left to the user. - - ``TypeGuard`` also works with type variables. For more information, see - PEP 647 (User-Defined Type Guards). - """) - - -# Vendored from cpython typing._SpecialFrom -class _SpecialForm(typing._Final, _root=True): - __slots__ = ('_name', '__doc__', '_getitem') - - def __init__(self, getitem): - self._getitem = getitem - self._name = getitem.__name__ - self.__doc__ = getitem.__doc__ - - def __getattr__(self, item): - if item in {'__name__', '__qualname__'}: - return self._name - - raise AttributeError(item) - - def __mro_entries__(self, bases): - raise TypeError(f"Cannot subclass {self!r}") - - def __repr__(self): - return f'typing_extensions.{self._name}' - - def __reduce__(self): - return self._name - - def __call__(self, *args, **kwds): - raise TypeError(f"Cannot instantiate {self!r}") - - def __or__(self, other): - return typing.Union[self, other] - - def __ror__(self, other): - return typing.Union[other, self] - - def __instancecheck__(self, obj): - raise TypeError(f"{self} cannot be used with isinstance()") - - def __subclasscheck__(self, cls): - raise TypeError(f"{self} cannot be used with issubclass()") - - @typing._tp_cache - def __getitem__(self, parameters): - return self._getitem(self, parameters) - - -if hasattr(typing, "LiteralString"): - LiteralString = typing.LiteralString -else: - @_SpecialForm - def LiteralString(self, params): - """Represents an arbitrary literal string. - - Example:: - - from pip._vendor.typing_extensions import LiteralString - - def query(sql: LiteralString) -> ...: - ... - - query("SELECT * FROM table") # ok - query(f"SELECT * FROM {input()}") # not ok - - See PEP 675 for details. - - """ - raise TypeError(f"{self} is not subscriptable") - - -if hasattr(typing, "Self"): - Self = typing.Self -else: - @_SpecialForm - def Self(self, params): - """Used to spell the type of "self" in classes. - - Example:: - - from typing import Self - - class ReturnsSelf: - def parse(self, data: bytes) -> Self: - ... - return self - - """ - - raise TypeError(f"{self} is not subscriptable") - - -if hasattr(typing, "Never"): - Never = typing.Never -else: - @_SpecialForm - def Never(self, params): - """The bottom type, a type that has no members. - - This can be used to define a function that should never be - called, or a function that never returns:: - - from pip._vendor.typing_extensions import Never - - def never_call_me(arg: Never) -> None: - pass - - def int_or_str(arg: int | str) -> None: - never_call_me(arg) # type checker error - match arg: - case int(): - print("It's an int") - case str(): - print("It's a str") - case _: - never_call_me(arg) # ok, arg is of type Never - - """ - - raise TypeError(f"{self} is not subscriptable") - - -if hasattr(typing, 'Required'): - Required = typing.Required - NotRequired = typing.NotRequired -elif sys.version_info[:2] >= (3, 9): - @_ExtensionsSpecialForm - def Required(self, parameters): - """A special typing construct to mark a key of a total=False TypedDict - as required. For example: - - class Movie(TypedDict, total=False): - title: Required[str] - year: int - - m = Movie( - title='The Matrix', # typechecker error if key is omitted - year=1999, - ) - - There is no runtime checking that a required key is actually provided - when instantiating a related TypedDict. - """ - item = typing._type_check(parameters, f'{self._name} accepts only a single type.') - return typing._GenericAlias(self, (item,)) - - @_ExtensionsSpecialForm - def NotRequired(self, parameters): - """A special typing construct to mark a key of a TypedDict as - potentially missing. For example: - - class Movie(TypedDict): - title: str - year: NotRequired[int] - - m = Movie( - title='The Matrix', # typechecker error if key is omitted - year=1999, - ) - """ - item = typing._type_check(parameters, f'{self._name} accepts only a single type.') - return typing._GenericAlias(self, (item,)) - -else: - class _RequiredForm(_ExtensionsSpecialForm, _root=True): - def __getitem__(self, parameters): - item = typing._type_check(parameters, - f'{self._name} accepts only a single type.') - return typing._GenericAlias(self, (item,)) - - Required = _RequiredForm( - 'Required', - doc="""A special typing construct to mark a key of a total=False TypedDict - as required. For example: - - class Movie(TypedDict, total=False): - title: Required[str] - year: int - - m = Movie( - title='The Matrix', # typechecker error if key is omitted - year=1999, - ) - - There is no runtime checking that a required key is actually provided - when instantiating a related TypedDict. - """) - NotRequired = _RequiredForm( - 'NotRequired', - doc="""A special typing construct to mark a key of a TypedDict as - potentially missing. For example: - - class Movie(TypedDict): - title: str - year: NotRequired[int] - - m = Movie( - title='The Matrix', # typechecker error if key is omitted - year=1999, - ) - """) - - -_UNPACK_DOC = """\ -Type unpack operator. - -The type unpack operator takes the child types from some container type, -such as `tuple[int, str]` or a `TypeVarTuple`, and 'pulls them out'. For -example: - - # For some generic class `Foo`: - Foo[Unpack[tuple[int, str]]] # Equivalent to Foo[int, str] - - Ts = TypeVarTuple('Ts') - # Specifies that `Bar` is generic in an arbitrary number of types. - # (Think of `Ts` as a tuple of an arbitrary number of individual - # `TypeVar`s, which the `Unpack` is 'pulling out' directly into the - # `Generic[]`.) - class Bar(Generic[Unpack[Ts]]): ... - Bar[int] # Valid - Bar[int, str] # Also valid - -From Python 3.11, this can also be done using the `*` operator: - - Foo[*tuple[int, str]] - class Bar(Generic[*Ts]): ... - -The operator can also be used along with a `TypedDict` to annotate -`**kwargs` in a function signature. For instance: - - class Movie(TypedDict): - name: str - year: int - - # This function expects two keyword arguments - *name* of type `str` and - # *year* of type `int`. - def foo(**kwargs: Unpack[Movie]): ... - -Note that there is only some runtime checking of this operator. Not -everything the runtime allows may be accepted by static type checkers. - -For more information, see PEP 646 and PEP 692. -""" - - -if sys.version_info >= (3, 12): # PEP 692 changed the repr of Unpack[] - Unpack = typing.Unpack - - def _is_unpack(obj): - return get_origin(obj) is Unpack - -elif sys.version_info[:2] >= (3, 9): - class _UnpackSpecialForm(_ExtensionsSpecialForm, _root=True): - def __init__(self, getitem): - super().__init__(getitem) - self.__doc__ = _UNPACK_DOC - - class _UnpackAlias(typing._GenericAlias, _root=True): - __class__ = typing.TypeVar - - @_UnpackSpecialForm - def Unpack(self, parameters): - item = typing._type_check(parameters, f'{self._name} accepts only a single type.') - return _UnpackAlias(self, (item,)) - - def _is_unpack(obj): - return isinstance(obj, _UnpackAlias) - -else: - class _UnpackAlias(typing._GenericAlias, _root=True): - __class__ = typing.TypeVar - - class _UnpackForm(_ExtensionsSpecialForm, _root=True): - def __getitem__(self, parameters): - item = typing._type_check(parameters, - f'{self._name} accepts only a single type.') - return _UnpackAlias(self, (item,)) - - Unpack = _UnpackForm('Unpack', doc=_UNPACK_DOC) - - def _is_unpack(obj): - return isinstance(obj, _UnpackAlias) - - -if hasattr(typing, "TypeVarTuple"): # 3.11+ - - # Add default parameter - PEP 696 - class TypeVarTuple(metaclass=_TypeVarLikeMeta): - """Type variable tuple.""" - - _backported_typevarlike = typing.TypeVarTuple - - def __new__(cls, name, *, default=_marker): - tvt = typing.TypeVarTuple(name) - _set_default(tvt, default) - _set_module(tvt) - return tvt - - def __init_subclass__(self, *args, **kwds): - raise TypeError("Cannot subclass special typing classes") - -else: - class TypeVarTuple(_DefaultMixin): - """Type variable tuple. - - Usage:: - - Ts = TypeVarTuple('Ts') - - In the same way that a normal type variable is a stand-in for a single - type such as ``int``, a type variable *tuple* is a stand-in for a *tuple* - type such as ``Tuple[int, str]``. - - Type variable tuples can be used in ``Generic`` declarations. - Consider the following example:: - - class Array(Generic[*Ts]): ... - - The ``Ts`` type variable tuple here behaves like ``tuple[T1, T2]``, - where ``T1`` and ``T2`` are type variables. To use these type variables - as type parameters of ``Array``, we must *unpack* the type variable tuple using - the star operator: ``*Ts``. The signature of ``Array`` then behaves - as if we had simply written ``class Array(Generic[T1, T2]): ...``. - In contrast to ``Generic[T1, T2]``, however, ``Generic[*Shape]`` allows - us to parameterise the class with an *arbitrary* number of type parameters. - - Type variable tuples can be used anywhere a normal ``TypeVar`` can. - This includes class definitions, as shown above, as well as function - signatures and variable annotations:: - - class Array(Generic[*Ts]): - - def __init__(self, shape: Tuple[*Ts]): - self._shape: Tuple[*Ts] = shape - - def get_shape(self) -> Tuple[*Ts]: - return self._shape - - shape = (Height(480), Width(640)) - x: Array[Height, Width] = Array(shape) - y = abs(x) # Inferred type is Array[Height, Width] - z = x + x # ... is Array[Height, Width] - x.get_shape() # ... is tuple[Height, Width] - - """ - - # Trick Generic __parameters__. - __class__ = typing.TypeVar - - def __iter__(self): - yield self.__unpacked__ - - def __init__(self, name, *, default=_marker): - self.__name__ = name - _DefaultMixin.__init__(self, default) - - # for pickling: - def_mod = _caller() - if def_mod != 'typing_extensions': - self.__module__ = def_mod - - self.__unpacked__ = Unpack[self] - - def __repr__(self): - return self.__name__ - - def __hash__(self): - return object.__hash__(self) - - def __eq__(self, other): - return self is other - - def __reduce__(self): - return self.__name__ - - def __init_subclass__(self, *args, **kwds): - if '_root' not in kwds: - raise TypeError("Cannot subclass special typing classes") - - -if hasattr(typing, "reveal_type"): - reveal_type = typing.reveal_type -else: - def reveal_type(__obj: T) -> T: - """Reveal the inferred type of a variable. - - When a static type checker encounters a call to ``reveal_type()``, - it will emit the inferred type of the argument:: - - x: int = 1 - reveal_type(x) - - Running a static type checker (e.g., ``mypy``) on this example - will produce output similar to 'Revealed type is "builtins.int"'. - - At runtime, the function prints the runtime type of the - argument and returns it unchanged. - - """ - print(f"Runtime type is {type(__obj).__name__!r}", file=sys.stderr) - return __obj - - -if hasattr(typing, "assert_never"): - assert_never = typing.assert_never -else: - def assert_never(__arg: Never) -> Never: - """Assert to the type checker that a line of code is unreachable. - - Example:: - - def int_or_str(arg: int | str) -> None: - match arg: - case int(): - print("It's an int") - case str(): - print("It's a str") - case _: - assert_never(arg) - - If a type checker finds that a call to assert_never() is - reachable, it will emit an error. - - At runtime, this throws an exception when called. - - """ - raise AssertionError("Expected code to be unreachable") - - -if sys.version_info >= (3, 12): - # dataclass_transform exists in 3.11 but lacks the frozen_default parameter - dataclass_transform = typing.dataclass_transform -else: - def dataclass_transform( - *, - eq_default: bool = True, - order_default: bool = False, - kw_only_default: bool = False, - frozen_default: bool = False, - field_specifiers: typing.Tuple[ - typing.Union[typing.Type[typing.Any], typing.Callable[..., typing.Any]], - ... - ] = (), - **kwargs: typing.Any, - ) -> typing.Callable[[T], T]: - """Decorator that marks a function, class, or metaclass as providing - dataclass-like behavior. - - Example: - - from pip._vendor.typing_extensions import dataclass_transform - - _T = TypeVar("_T") - - # Used on a decorator function - @dataclass_transform() - def create_model(cls: type[_T]) -> type[_T]: - ... - return cls - - @create_model - class CustomerModel: - id: int - name: str - - # Used on a base class - @dataclass_transform() - class ModelBase: ... - - class CustomerModel(ModelBase): - id: int - name: str - - # Used on a metaclass - @dataclass_transform() - class ModelMeta(type): ... - - class ModelBase(metaclass=ModelMeta): ... - - class CustomerModel(ModelBase): - id: int - name: str - - Each of the ``CustomerModel`` classes defined in this example will now - behave similarly to a dataclass created with the ``@dataclasses.dataclass`` - decorator. For example, the type checker will synthesize an ``__init__`` - method. - - The arguments to this decorator can be used to customize this behavior: - - ``eq_default`` indicates whether the ``eq`` parameter is assumed to be - True or False if it is omitted by the caller. - - ``order_default`` indicates whether the ``order`` parameter is - assumed to be True or False if it is omitted by the caller. - - ``kw_only_default`` indicates whether the ``kw_only`` parameter is - assumed to be True or False if it is omitted by the caller. - - ``frozen_default`` indicates whether the ``frozen`` parameter is - assumed to be True or False if it is omitted by the caller. - - ``field_specifiers`` specifies a static list of supported classes - or functions that describe fields, similar to ``dataclasses.field()``. - - At runtime, this decorator records its arguments in the - ``__dataclass_transform__`` attribute on the decorated object. - - See PEP 681 for details. - - """ - def decorator(cls_or_fn): - cls_or_fn.__dataclass_transform__ = { - "eq_default": eq_default, - "order_default": order_default, - "kw_only_default": kw_only_default, - "frozen_default": frozen_default, - "field_specifiers": field_specifiers, - "kwargs": kwargs, - } - return cls_or_fn - return decorator - - -if hasattr(typing, "override"): - override = typing.override -else: - _F = typing.TypeVar("_F", bound=typing.Callable[..., typing.Any]) - - def override(__arg: _F) -> _F: - """Indicate that a method is intended to override a method in a base class. - - Usage: - - class Base: - def method(self) -> None: ... - pass - - class Child(Base): - @override - def method(self) -> None: - super().method() - - When this decorator is applied to a method, the type checker will - validate that it overrides a method with the same name on a base class. - This helps prevent bugs that may occur when a base class is changed - without an equivalent change to a child class. - - There is no runtime checking of these properties. The decorator - sets the ``__override__`` attribute to ``True`` on the decorated object - to allow runtime introspection. - - See PEP 698 for details. - - """ - try: - __arg.__override__ = True - except (AttributeError, TypeError): - # Skip the attribute silently if it is not writable. - # AttributeError happens if the object has __slots__ or a - # read-only property, TypeError if it's a builtin class. - pass - return __arg - - -if hasattr(typing, "deprecated"): - deprecated = typing.deprecated -else: - _T = typing.TypeVar("_T") - - def deprecated( - __msg: str, - *, - category: typing.Optional[typing.Type[Warning]] = DeprecationWarning, - stacklevel: int = 1, - ) -> typing.Callable[[_T], _T]: - """Indicate that a class, function or overload is deprecated. - - Usage: - - @deprecated("Use B instead") - class A: - pass - - @deprecated("Use g instead") - def f(): - pass - - @overload - @deprecated("int support is deprecated") - def g(x: int) -> int: ... - @overload - def g(x: str) -> int: ... - - When this decorator is applied to an object, the type checker - will generate a diagnostic on usage of the deprecated object. - - The warning specified by ``category`` will be emitted on use - of deprecated objects. For functions, that happens on calls; - for classes, on instantiation. If the ``category`` is ``None``, - no warning is emitted. The ``stacklevel`` determines where the - warning is emitted. If it is ``1`` (the default), the warning - is emitted at the direct caller of the deprecated object; if it - is higher, it is emitted further up the stack. - - The decorator sets the ``__deprecated__`` - attribute on the decorated object to the deprecation message - passed to the decorator. If applied to an overload, the decorator - must be after the ``@overload`` decorator for the attribute to - exist on the overload as returned by ``get_overloads()``. - - See PEP 702 for details. - - """ - def decorator(__arg: _T) -> _T: - if category is None: - __arg.__deprecated__ = __msg - return __arg - elif isinstance(__arg, type): - original_new = __arg.__new__ - has_init = __arg.__init__ is not object.__init__ - - @functools.wraps(original_new) - def __new__(cls, *args, **kwargs): - warnings.warn(__msg, category=category, stacklevel=stacklevel + 1) - if original_new is not object.__new__: - return original_new(cls, *args, **kwargs) - # Mirrors a similar check in object.__new__. - elif not has_init and (args or kwargs): - raise TypeError(f"{cls.__name__}() takes no arguments") - else: - return original_new(cls) - - __arg.__new__ = staticmethod(__new__) - __arg.__deprecated__ = __new__.__deprecated__ = __msg - return __arg - elif callable(__arg): - @functools.wraps(__arg) - def wrapper(*args, **kwargs): - warnings.warn(__msg, category=category, stacklevel=stacklevel + 1) - return __arg(*args, **kwargs) - - __arg.__deprecated__ = wrapper.__deprecated__ = __msg - return wrapper - else: - raise TypeError( - "@deprecated decorator with non-None category must be applied to " - f"a class or callable, not {__arg!r}" - ) - - return decorator - - -# We have to do some monkey patching to deal with the dual nature of -# Unpack/TypeVarTuple: -# - We want Unpack to be a kind of TypeVar so it gets accepted in -# Generic[Unpack[Ts]] -# - We want it to *not* be treated as a TypeVar for the purposes of -# counting generic parameters, so that when we subscript a generic, -# the runtime doesn't try to substitute the Unpack with the subscripted type. -if not hasattr(typing, "TypeVarTuple"): - typing._collect_type_vars = _collect_type_vars - typing._check_generic = _check_generic - - -# Backport typing.NamedTuple as it exists in Python 3.12. -# In 3.11, the ability to define generic `NamedTuple`s was supported. -# This was explicitly disallowed in 3.9-3.10, and only half-worked in <=3.8. -# On 3.12, we added __orig_bases__ to call-based NamedTuples -# On 3.13, we deprecated kwargs-based NamedTuples -if sys.version_info >= (3, 13): - NamedTuple = typing.NamedTuple -else: - def _make_nmtuple(name, types, module, defaults=()): - fields = [n for n, t in types] - annotations = {n: typing._type_check(t, f"field {n} annotation must be a type") - for n, t in types} - nm_tpl = collections.namedtuple(name, fields, - defaults=defaults, module=module) - nm_tpl.__annotations__ = nm_tpl.__new__.__annotations__ = annotations - # The `_field_types` attribute was removed in 3.9; - # in earlier versions, it is the same as the `__annotations__` attribute - if sys.version_info < (3, 9): - nm_tpl._field_types = annotations - return nm_tpl - - _prohibited_namedtuple_fields = typing._prohibited - _special_namedtuple_fields = frozenset({'__module__', '__name__', '__annotations__'}) - - class _NamedTupleMeta(type): - def __new__(cls, typename, bases, ns): - assert _NamedTuple in bases - for base in bases: - if base is not _NamedTuple and base is not typing.Generic: - raise TypeError( - 'can only inherit from a NamedTuple type and Generic') - bases = tuple(tuple if base is _NamedTuple else base for base in bases) - types = ns.get('__annotations__', {}) - default_names = [] - for field_name in types: - if field_name in ns: - default_names.append(field_name) - elif default_names: - raise TypeError(f"Non-default namedtuple field {field_name} " - f"cannot follow default field" - f"{'s' if len(default_names) > 1 else ''} " - f"{', '.join(default_names)}") - nm_tpl = _make_nmtuple( - typename, types.items(), - defaults=[ns[n] for n in default_names], - module=ns['__module__'] - ) - nm_tpl.__bases__ = bases - if typing.Generic in bases: - if hasattr(typing, '_generic_class_getitem'): # 3.12+ - nm_tpl.__class_getitem__ = classmethod(typing._generic_class_getitem) - else: - class_getitem = typing.Generic.__class_getitem__.__func__ - nm_tpl.__class_getitem__ = classmethod(class_getitem) - # update from user namespace without overriding special namedtuple attributes - for key in ns: - if key in _prohibited_namedtuple_fields: - raise AttributeError("Cannot overwrite NamedTuple attribute " + key) - elif key not in _special_namedtuple_fields and key not in nm_tpl._fields: - setattr(nm_tpl, key, ns[key]) - if typing.Generic in bases: - nm_tpl.__init_subclass__() - return nm_tpl - - _NamedTuple = type.__new__(_NamedTupleMeta, 'NamedTuple', (), {}) - - def _namedtuple_mro_entries(bases): - assert NamedTuple in bases - return (_NamedTuple,) - - @_ensure_subclassable(_namedtuple_mro_entries) - def NamedTuple(__typename, __fields=_marker, **kwargs): - """Typed version of namedtuple. - - Usage:: - - class Employee(NamedTuple): - name: str - id: int - - This is equivalent to:: - - Employee = collections.namedtuple('Employee', ['name', 'id']) - - The resulting class has an extra __annotations__ attribute, giving a - dict that maps field names to types. (The field names are also in - the _fields attribute, which is part of the namedtuple API.) - An alternative equivalent functional syntax is also accepted:: - - Employee = NamedTuple('Employee', [('name', str), ('id', int)]) - """ - if __fields is _marker: - if kwargs: - deprecated_thing = "Creating NamedTuple classes using keyword arguments" - deprecation_msg = ( - "{name} is deprecated and will be disallowed in Python {remove}. " - "Use the class-based or functional syntax instead." - ) - else: - deprecated_thing = "Failing to pass a value for the 'fields' parameter" - example = f"`{__typename} = NamedTuple({__typename!r}, [])`" - deprecation_msg = ( - "{name} is deprecated and will be disallowed in Python {remove}. " - "To create a NamedTuple class with 0 fields " - "using the functional syntax, " - "pass an empty list, e.g. " - ) + example + "." - elif __fields is None: - if kwargs: - raise TypeError( - "Cannot pass `None` as the 'fields' parameter " - "and also specify fields using keyword arguments" - ) - else: - deprecated_thing = "Passing `None` as the 'fields' parameter" - example = f"`{__typename} = NamedTuple({__typename!r}, [])`" - deprecation_msg = ( - "{name} is deprecated and will be disallowed in Python {remove}. " - "To create a NamedTuple class with 0 fields " - "using the functional syntax, " - "pass an empty list, e.g. " - ) + example + "." - elif kwargs: - raise TypeError("Either list of fields or keywords" - " can be provided to NamedTuple, not both") - if __fields is _marker or __fields is None: - warnings.warn( - deprecation_msg.format(name=deprecated_thing, remove="3.15"), - DeprecationWarning, - stacklevel=2, - ) - __fields = kwargs.items() - nt = _make_nmtuple(__typename, __fields, module=_caller()) - nt.__orig_bases__ = (NamedTuple,) - return nt - - # On 3.8+, alter the signature so that it matches typing.NamedTuple. - # The signature of typing.NamedTuple on >=3.8 is invalid syntax in Python 3.7, - # so just leave the signature as it is on 3.7. - if sys.version_info >= (3, 8): - _new_signature = '(typename, fields=None, /, **kwargs)' - if isinstance(NamedTuple, _types.FunctionType): - NamedTuple.__text_signature__ = _new_signature - else: - NamedTuple.__call__.__text_signature__ = _new_signature - - -if hasattr(collections.abc, "Buffer"): - Buffer = collections.abc.Buffer -else: - class Buffer(abc.ABC): - """Base class for classes that implement the buffer protocol. - - The buffer protocol allows Python objects to expose a low-level - memory buffer interface. Before Python 3.12, it is not possible - to implement the buffer protocol in pure Python code, or even - to check whether a class implements the buffer protocol. In - Python 3.12 and higher, the ``__buffer__`` method allows access - to the buffer protocol from Python code, and the - ``collections.abc.Buffer`` ABC allows checking whether a class - implements the buffer protocol. - - To indicate support for the buffer protocol in earlier versions, - inherit from this ABC, either in a stub file or at runtime, - or use ABC registration. This ABC provides no methods, because - there is no Python-accessible methods shared by pre-3.12 buffer - classes. It is useful primarily for static checks. - - """ - - # As a courtesy, register the most common stdlib buffer classes. - Buffer.register(memoryview) - Buffer.register(bytearray) - Buffer.register(bytes) - - -# Backport of types.get_original_bases, available on 3.12+ in CPython -if hasattr(_types, "get_original_bases"): - get_original_bases = _types.get_original_bases -else: - def get_original_bases(__cls): - """Return the class's "original" bases prior to modification by `__mro_entries__`. - - Examples:: - - from typing import TypeVar, Generic - from pip._vendor.typing_extensions import NamedTuple, TypedDict - - T = TypeVar("T") - class Foo(Generic[T]): ... - class Bar(Foo[int], float): ... - class Baz(list[str]): ... - Eggs = NamedTuple("Eggs", [("a", int), ("b", str)]) - Spam = TypedDict("Spam", {"a": int, "b": str}) - - assert get_original_bases(Bar) == (Foo[int], float) - assert get_original_bases(Baz) == (list[str],) - assert get_original_bases(Eggs) == (NamedTuple,) - assert get_original_bases(Spam) == (TypedDict,) - assert get_original_bases(int) == (object,) - """ - try: - return __cls.__orig_bases__ - except AttributeError: - try: - return __cls.__bases__ - except AttributeError: - raise TypeError( - f'Expected an instance of type, not {type(__cls).__name__!r}' - ) from None - - -# NewType is a class on Python 3.10+, making it pickleable -# The error message for subclassing instances of NewType was improved on 3.11+ -if sys.version_info >= (3, 11): - NewType = typing.NewType -else: - class NewType: - """NewType creates simple unique types with almost zero - runtime overhead. NewType(name, tp) is considered a subtype of tp - by static type checkers. At runtime, NewType(name, tp) returns - a dummy callable that simply returns its argument. Usage:: - UserId = NewType('UserId', int) - def name_by_id(user_id: UserId) -> str: - ... - UserId('user') # Fails type check - name_by_id(42) # Fails type check - name_by_id(UserId(42)) # OK - num = UserId(5) + 1 # type: int - """ - - def __call__(self, obj): - return obj - - def __init__(self, name, tp): - self.__qualname__ = name - if '.' in name: - name = name.rpartition('.')[-1] - self.__name__ = name - self.__supertype__ = tp - def_mod = _caller() - if def_mod != 'typing_extensions': - self.__module__ = def_mod - - def __mro_entries__(self, bases): - # We defined __mro_entries__ to get a better error message - # if a user attempts to subclass a NewType instance. bpo-46170 - supercls_name = self.__name__ - - class Dummy: - def __init_subclass__(cls): - subcls_name = cls.__name__ - raise TypeError( - f"Cannot subclass an instance of NewType. " - f"Perhaps you were looking for: " - f"`{subcls_name} = NewType({subcls_name!r}, {supercls_name})`" - ) - - return (Dummy,) - - def __repr__(self): - return f'{self.__module__}.{self.__qualname__}' - - def __reduce__(self): - return self.__qualname__ - - if sys.version_info >= (3, 10): - # PEP 604 methods - # It doesn't make sense to have these methods on Python <3.10 - - def __or__(self, other): - return typing.Union[self, other] - - def __ror__(self, other): - return typing.Union[other, self] - - -if hasattr(typing, "TypeAliasType"): - TypeAliasType = typing.TypeAliasType -else: - def _is_unionable(obj): - """Corresponds to is_unionable() in unionobject.c in CPython.""" - return obj is None or isinstance(obj, ( - type, - _types.GenericAlias, - _types.UnionType, - TypeAliasType, - )) - - class TypeAliasType: - """Create named, parameterized type aliases. - - This provides a backport of the new `type` statement in Python 3.12: - - type ListOrSet[T] = list[T] | set[T] - - is equivalent to: - - T = TypeVar("T") - ListOrSet = TypeAliasType("ListOrSet", list[T] | set[T], type_params=(T,)) - - The name ListOrSet can then be used as an alias for the type it refers to. - - The type_params argument should contain all the type parameters used - in the value of the type alias. If the alias is not generic, this - argument is omitted. - - Static type checkers should only support type aliases declared using - TypeAliasType that follow these rules: - - - The first argument (the name) must be a string literal. - - The TypeAliasType instance must be immediately assigned to a variable - of the same name. (For example, 'X = TypeAliasType("Y", int)' is invalid, - as is 'X, Y = TypeAliasType("X", int), TypeAliasType("Y", int)'). - - """ - - def __init__(self, name: str, value, *, type_params=()): - if not isinstance(name, str): - raise TypeError("TypeAliasType name must be a string") - self.__value__ = value - self.__type_params__ = type_params - - parameters = [] - for type_param in type_params: - if isinstance(type_param, TypeVarTuple): - parameters.extend(type_param) - else: - parameters.append(type_param) - self.__parameters__ = tuple(parameters) - def_mod = _caller() - if def_mod != 'typing_extensions': - self.__module__ = def_mod - # Setting this attribute closes the TypeAliasType from further modification - self.__name__ = name - - def __setattr__(self, __name: str, __value: object) -> None: - if hasattr(self, "__name__"): - self._raise_attribute_error(__name) - super().__setattr__(__name, __value) - - def __delattr__(self, __name: str) -> Never: - self._raise_attribute_error(__name) - - def _raise_attribute_error(self, name: str) -> Never: - # Match the Python 3.12 error messages exactly - if name == "__name__": - raise AttributeError("readonly attribute") - elif name in {"__value__", "__type_params__", "__parameters__", "__module__"}: - raise AttributeError( - f"attribute '{name}' of 'typing.TypeAliasType' objects " - "is not writable" - ) - else: - raise AttributeError( - f"'typing.TypeAliasType' object has no attribute '{name}'" - ) - - def __repr__(self) -> str: - return self.__name__ - - def __getitem__(self, parameters): - if not isinstance(parameters, tuple): - parameters = (parameters,) - parameters = [ - typing._type_check( - item, f'Subscripting {self.__name__} requires a type.' - ) - for item in parameters - ] - return typing._GenericAlias(self, tuple(parameters)) - - def __reduce__(self): - return self.__name__ - - def __init_subclass__(cls, *args, **kwargs): - raise TypeError( - "type 'typing_extensions.TypeAliasType' is not an acceptable base type" - ) - - # The presence of this method convinces typing._type_check - # that TypeAliasTypes are types. - def __call__(self): - raise TypeError("Type alias is not callable") - - if sys.version_info >= (3, 10): - def __or__(self, right): - # For forward compatibility with 3.12, reject Unions - # that are not accepted by the built-in Union. - if not _is_unionable(right): - return NotImplemented - return typing.Union[self, right] - - def __ror__(self, left): - if not _is_unionable(left): - return NotImplemented - return typing.Union[left, self] - - -if hasattr(typing, "is_protocol"): - is_protocol = typing.is_protocol - get_protocol_members = typing.get_protocol_members -else: - def is_protocol(__tp: type) -> bool: - """Return True if the given type is a Protocol. - - Example:: - - >>> from typing_extensions import Protocol, is_protocol - >>> class P(Protocol): - ... def a(self) -> str: ... - ... b: int - >>> is_protocol(P) - True - >>> is_protocol(int) - False - """ - return ( - isinstance(__tp, type) - and getattr(__tp, '_is_protocol', False) - and __tp is not Protocol - and __tp is not getattr(typing, "Protocol", object()) - ) - - def get_protocol_members(__tp: type) -> typing.FrozenSet[str]: - """Return the set of members defined in a Protocol. - - Example:: - - >>> from typing_extensions import Protocol, get_protocol_members - >>> class P(Protocol): - ... def a(self) -> str: ... - ... b: int - >>> get_protocol_members(P) - frozenset({'a', 'b'}) - - Raise a TypeError for arguments that are not Protocols. - """ - if not is_protocol(__tp): - raise TypeError(f'{__tp!r} is not a Protocol') - if hasattr(__tp, '__protocol_attrs__'): - return frozenset(__tp.__protocol_attrs__) - return frozenset(_get_protocol_attrs(__tp)) - - -# Aliases for items that have always been in typing. -# Explicitly assign these (rather than using `from typing import *` at the top), -# so that we get a CI error if one of these is deleted from typing.py -# in a future version of Python -AbstractSet = typing.AbstractSet -AnyStr = typing.AnyStr -BinaryIO = typing.BinaryIO -Callable = typing.Callable -Collection = typing.Collection -Container = typing.Container -Dict = typing.Dict -ForwardRef = typing.ForwardRef -FrozenSet = typing.FrozenSet -Generator = typing.Generator -Generic = typing.Generic -Hashable = typing.Hashable -IO = typing.IO -ItemsView = typing.ItemsView -Iterable = typing.Iterable -Iterator = typing.Iterator -KeysView = typing.KeysView -List = typing.List -Mapping = typing.Mapping -MappingView = typing.MappingView -Match = typing.Match -MutableMapping = typing.MutableMapping -MutableSequence = typing.MutableSequence -MutableSet = typing.MutableSet -Optional = typing.Optional -Pattern = typing.Pattern -Reversible = typing.Reversible -Sequence = typing.Sequence -Set = typing.Set -Sized = typing.Sized -TextIO = typing.TextIO -Tuple = typing.Tuple -Union = typing.Union -ValuesView = typing.ValuesView -cast = typing.cast -no_type_check = typing.no_type_check -no_type_check_decorator = typing.no_type_check_decorator diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/__init__.cpython-311.pyc index 2af81f6..c758473 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/_collections.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/_collections.cpython-311.pyc index 72e8e1f..3ca090a 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/_collections.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/_collections.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/_version.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/_version.cpython-311.pyc index 0725176..6e0b0cd 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/_version.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/_version.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/connection.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/connection.cpython-311.pyc index bc3f0bf..d6cdbcd 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/connection.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/connection.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/connectionpool.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/connectionpool.cpython-311.pyc index 4beff0f..90fd02c 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/connectionpool.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/connectionpool.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/exceptions.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/exceptions.cpython-311.pyc index 75f39d0..c311379 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/exceptions.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/exceptions.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/fields.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/fields.cpython-311.pyc index cdd3f1b..d5911e8 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/fields.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/fields.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/filepost.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/filepost.cpython-311.pyc index 569ebcb..612257c 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/filepost.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/filepost.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/poolmanager.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/poolmanager.cpython-311.pyc index 251543d..cd6bf71 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/poolmanager.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/poolmanager.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/request.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/request.cpython-311.pyc index fb4c210..f68d4ef 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/request.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/request.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/response.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/response.cpython-311.pyc index 2ac0c97..3d0184d 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/response.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/__pycache__/response.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/_collections.py b/.venv/Lib/site-packages/pip/_vendor/urllib3/_collections.py index da9857e..bceb845 100644 --- a/.venv/Lib/site-packages/pip/_vendor/urllib3/_collections.py +++ b/.venv/Lib/site-packages/pip/_vendor/urllib3/_collections.py @@ -268,6 +268,24 @@ class HTTPHeaderDict(MutableMapping): else: return vals[1:] + def _prepare_for_method_change(self): + """ + Remove content-specific header fields before changing the request + method to GET or HEAD according to RFC 9110, Section 15.4. + """ + content_specific_headers = [ + "Content-Encoding", + "Content-Language", + "Content-Location", + "Content-Type", + "Content-Length", + "Digest", + "Last-Modified", + ] + for header in content_specific_headers: + self.discard(header) + return self + # Backwards compatibility for httplib getheaders = getlist getallmatchingheaders = getlist diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/_version.py b/.venv/Lib/site-packages/pip/_vendor/urllib3/_version.py index cad75fb..d49df2a 100644 --- a/.venv/Lib/site-packages/pip/_vendor/urllib3/_version.py +++ b/.venv/Lib/site-packages/pip/_vendor/urllib3/_version.py @@ -1,2 +1,2 @@ # This file is protected via CODEOWNERS -__version__ = "1.26.17" +__version__ = "1.26.20" diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/connection.py b/.venv/Lib/site-packages/pip/_vendor/urllib3/connection.py index 54b96b1..de35b63 100644 --- a/.venv/Lib/site-packages/pip/_vendor/urllib3/connection.py +++ b/.venv/Lib/site-packages/pip/_vendor/urllib3/connection.py @@ -68,7 +68,7 @@ port_by_scheme = {"http": 80, "https": 443} # When it comes time to update this value as a part of regular maintenance # (ie test_recent_date is failing) update it to ~6 months before the current date. -RECENT_DATE = datetime.date(2022, 1, 1) +RECENT_DATE = datetime.date(2024, 1, 1) _CONTAINS_CONTROL_CHAR_RE = re.compile(r"[^-!#$%&'*+.^_`|~0-9a-zA-Z]") @@ -437,7 +437,7 @@ class HTTPSConnection(HTTPConnection): and self.ssl_version is None and hasattr(self.sock, "version") and self.sock.version() in {"TLSv1", "TLSv1.1"} - ): + ): # Defensive: warnings.warn( "Negotiating TLSv1/TLSv1.1 by default is deprecated " "and will be disabled in urllib3 v2.0.0. Connecting to " diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/connectionpool.py b/.venv/Lib/site-packages/pip/_vendor/urllib3/connectionpool.py index 96844d9..0872ed7 100644 --- a/.venv/Lib/site-packages/pip/_vendor/urllib3/connectionpool.py +++ b/.venv/Lib/site-packages/pip/_vendor/urllib3/connectionpool.py @@ -9,6 +9,7 @@ import warnings from socket import error as SocketError from socket import timeout as SocketTimeout +from ._collections import HTTPHeaderDict from .connection import ( BaseSSLError, BrokenPipeError, @@ -422,12 +423,13 @@ class HTTPConnectionPool(ConnectionPool, RequestMethods): pass except IOError as e: # Python 2 and macOS/Linux - # EPIPE and ESHUTDOWN are BrokenPipeError on Python 2, and EPROTOTYPE is needed on macOS + # EPIPE and ESHUTDOWN are BrokenPipeError on Python 2, and EPROTOTYPE/ECONNRESET are needed on macOS # https://erickt.github.io/blog/2014/11/19/adventures-in-debugging-a-potential-osx-kernel-bug/ if e.errno not in { errno.EPIPE, errno.ESHUTDOWN, errno.EPROTOTYPE, + errno.ECONNRESET, }: raise @@ -767,7 +769,9 @@ class HTTPConnectionPool(ConnectionPool, RequestMethods): # so we try to cover our bases here! message = " ".join(re.split("[^a-z]", str(ssl_error).lower())) return ( - "wrong version number" in message or "unknown protocol" in message + "wrong version number" in message + or "unknown protocol" in message + or "record layer failure" in message ) # Try to detect a common user error with proxies which is to @@ -843,7 +847,11 @@ class HTTPConnectionPool(ConnectionPool, RequestMethods): redirect_location = redirect and response.get_redirect_location() if redirect_location: if response.status == 303: + # Change the method according to RFC 9110, Section 15.4.4. method = "GET" + # And lose the body not to transfer anything sensitive. + body = None + headers = HTTPHeaderDict(headers)._prepare_for_method_change() try: retries = retries.increment(method, url, response=response, _pool=self) diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-311.pyc index 5cb1291..8db38a3 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/_appengine_environ.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/_appengine_environ.cpython-311.pyc index 3416b70..254abe9 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/_appengine_environ.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/_appengine_environ.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/appengine.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/appengine.cpython-311.pyc index 65f9960..e99182b 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/appengine.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/appengine.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/ntlmpool.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/ntlmpool.cpython-311.pyc index 201ccde..fe33e02 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/ntlmpool.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/ntlmpool.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-311.pyc index fc4e5b5..2e4a142 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/securetransport.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/securetransport.cpython-311.pyc index 67d83e9..cb50374 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/securetransport.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/securetransport.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-311.pyc index 0759187..640d566 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-311.pyc index bf982d0..59776f7 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-311.pyc index 7c7ec22..2f8b7cc 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-311.pyc index 47b5eab..5f1c2db 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/securetransport.py b/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/securetransport.py index 4a06bc6..722ee4e 100644 --- a/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +++ b/.venv/Lib/site-packages/pip/_vendor/urllib3/contrib/securetransport.py @@ -64,9 +64,8 @@ import struct import threading import weakref -from pip._vendor import six - from .. import util +from ..packages import six from ..util.ssl_ import PROTOCOL_TLS_CLIENT from ._securetransport.bindings import CoreFoundation, Security, SecurityConst from ._securetransport.low_level import ( diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/packages/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/packages/__pycache__/__init__.cpython-311.pyc index bcf3285..b377b69 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/packages/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/packages/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/packages/__pycache__/six.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/packages/__pycache__/six.cpython-311.pyc index 169b610..b94d09a 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/packages/__pycache__/six.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/packages/__pycache__/six.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/__init__.cpython-311.pyc index 7d2495e..7635abb 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/makefile.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/makefile.cpython-311.pyc index 0213af1..03953ca 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/makefile.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/makefile.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/weakref_finalize.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/weakref_finalize.cpython-311.pyc index 0590c02..50ebfb0 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/weakref_finalize.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/weakref_finalize.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/poolmanager.py b/.venv/Lib/site-packages/pip/_vendor/urllib3/poolmanager.py index 14b10da..fb51bf7 100644 --- a/.venv/Lib/site-packages/pip/_vendor/urllib3/poolmanager.py +++ b/.venv/Lib/site-packages/pip/_vendor/urllib3/poolmanager.py @@ -4,7 +4,7 @@ import collections import functools import logging -from ._collections import RecentlyUsedContainer +from ._collections import HTTPHeaderDict, RecentlyUsedContainer from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, port_by_scheme from .exceptions import ( LocationValueError, @@ -382,9 +382,12 @@ class PoolManager(RequestMethods): # Support relative URLs for redirecting. redirect_location = urljoin(url, redirect_location) - # RFC 7231, Section 6.4.4 if response.status == 303: + # Change the method according to RFC 9110, Section 15.4.4. method = "GET" + # And lose the body not to transfer anything sensitive. + kw["body"] = None + kw["headers"] = HTTPHeaderDict(kw["headers"])._prepare_for_method_change() retries = kw.get("retries") if not isinstance(retries, Retry): diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/__init__.cpython-311.pyc index b8b69ee..0abde55 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/__init__.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/connection.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/connection.cpython-311.pyc index ad4b20e..0584fff 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/connection.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/connection.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/proxy.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/proxy.cpython-311.pyc index be1269b..54fa8db 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/proxy.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/proxy.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/queue.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/queue.cpython-311.pyc index f05efee..89cc72d 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/queue.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/queue.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/request.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/request.cpython-311.pyc index 8662c20..c4b7106 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/request.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/request.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/response.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/response.cpython-311.pyc index c4b0326..d8ed980 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/response.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/response.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/retry.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/retry.cpython-311.pyc index 409ba0e..c1d9cb0 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/retry.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/retry.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-311.pyc index 19229c1..c6038e0 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_match_hostname.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_match_hostname.cpython-311.pyc index a0cbad4..30431b6 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_match_hostname.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_match_hostname.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-311.pyc index 6de4bbc..ed60f80 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/timeout.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/timeout.cpython-311.pyc index 4ec7136..f7f408b 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/timeout.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/timeout.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/url.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/url.cpython-311.pyc index 348be0e..f9ee6ab 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/url.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/url.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/wait.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/wait.cpython-311.pyc index dd9123b..d5ce1f6 100644 Binary files a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/wait.cpython-311.pyc and b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/wait.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/retry.py b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/retry.py index 60ef6c4..9a1e90d 100644 --- a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/retry.py +++ b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/retry.py @@ -235,7 +235,9 @@ class Retry(object): RETRY_AFTER_STATUS_CODES = frozenset([413, 429, 503]) #: Default headers to be used for ``remove_headers_on_redirect`` - DEFAULT_REMOVE_HEADERS_ON_REDIRECT = frozenset(["Cookie", "Authorization"]) + DEFAULT_REMOVE_HEADERS_ON_REDIRECT = frozenset( + ["Cookie", "Authorization", "Proxy-Authorization"] + ) #: Maximum backoff time. DEFAULT_BACKOFF_MAX = 120 diff --git a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/ssl_.py b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/ssl_.py index 2b45d39..0a6a0e0 100644 --- a/.venv/Lib/site-packages/pip/_vendor/urllib3/util/ssl_.py +++ b/.venv/Lib/site-packages/pip/_vendor/urllib3/util/ssl_.py @@ -1,11 +1,11 @@ from __future__ import absolute_import +import hashlib import hmac import os import sys import warnings from binascii import hexlify, unhexlify -from hashlib import md5, sha1, sha256 from ..exceptions import ( InsecurePlatformWarning, @@ -24,7 +24,10 @@ IS_SECURETRANSPORT = False ALPN_PROTOCOLS = ["http/1.1"] # Maps the length of a digest to a possible hash function producing this digest -HASHFUNC_MAP = {32: md5, 40: sha1, 64: sha256} +HASHFUNC_MAP = { + length: getattr(hashlib, algorithm, None) + for length, algorithm in ((32, "md5"), (40, "sha1"), (64, "sha256")) +} def _const_compare_digest_backport(a, b): @@ -191,9 +194,15 @@ def assert_fingerprint(cert, fingerprint): fingerprint = fingerprint.replace(":", "").lower() digest_length = len(fingerprint) - hashfunc = HASHFUNC_MAP.get(digest_length) - if not hashfunc: + if digest_length not in HASHFUNC_MAP: raise SSLError("Fingerprint of invalid length: {0}".format(fingerprint)) + hashfunc = HASHFUNC_MAP.get(digest_length) + if hashfunc is None: + raise SSLError( + "Hash function implementation unavailable for fingerprint length: {0}".format( + digest_length + ) + ) # We need encode() here for py32; works on py2 and p33. fingerprint_bytes = unhexlify(fingerprint.encode()) diff --git a/.venv/Lib/site-packages/pip/_vendor/vendor.txt b/.venv/Lib/site-packages/pip/_vendor/vendor.txt index 5554c38..89908dc 100644 --- a/.venv/Lib/site-packages/pip/_vendor/vendor.txt +++ b/.venv/Lib/site-packages/pip/_vendor/vendor.txt @@ -1,24 +1,19 @@ -CacheControl==0.13.1 # Make sure to update the license in pyproject.toml for this. -colorama==0.4.6 -distlib==0.3.8 -distro==1.8.0 -msgpack==1.0.5 -packaging==21.3 -platformdirs==3.8.1 -pyparsing==3.1.0 -pyproject-hooks==1.0.0 -requests==2.31.0 - certifi==2023.7.22 - chardet==5.1.0 - idna==3.4 - urllib3==1.26.17 -rich==13.4.2 - pygments==2.15.1 - typing_extensions==4.7.1 -resolvelib==1.0.1 -setuptools==68.0.0 -six==1.16.0 -tenacity==8.2.2 -tomli==2.0.1 -truststore==0.8.0 -webencodings==0.5.1 +CacheControl==0.14.3 +distlib==0.4.0 +distro==1.9.0 +msgpack==1.1.1 +packaging==25.0 +platformdirs==4.3.8 +pyproject-hooks==1.2.0 +requests==2.32.4 + certifi==2025.7.14 + idna==3.10 + urllib3==1.26.20 +rich==14.1.0 + pygments==2.19.2 +resolvelib==1.2.0 +setuptools==70.3.0 +tomli==2.2.1 +tomli-w==1.2.0 +truststore==0.10.1 +dependency-groups==1.3.1 diff --git a/.venv/Lib/site-packages/pip/_vendor/webencodings/__init__.py b/.venv/Lib/site-packages/pip/_vendor/webencodings/__init__.py deleted file mode 100644 index d21d697..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/webencodings/__init__.py +++ /dev/null @@ -1,342 +0,0 @@ -# coding: utf-8 -""" - - webencodings - ~~~~~~~~~~~~ - - This is a Python implementation of the `WHATWG Encoding standard - `. See README for details. - - :copyright: Copyright 2012 by Simon Sapin - :license: BSD, see LICENSE for details. - -""" - -from __future__ import unicode_literals - -import codecs - -from .labels import LABELS - - -VERSION = '0.5.1' - - -# Some names in Encoding are not valid Python aliases. Remap these. -PYTHON_NAMES = { - 'iso-8859-8-i': 'iso-8859-8', - 'x-mac-cyrillic': 'mac-cyrillic', - 'macintosh': 'mac-roman', - 'windows-874': 'cp874'} - -CACHE = {} - - -def ascii_lower(string): - r"""Transform (only) ASCII letters to lower case: A-Z is mapped to a-z. - - :param string: An Unicode string. - :returns: A new Unicode string. - - This is used for `ASCII case-insensitive - `_ - matching of encoding labels. - The same matching is also used, among other things, - for `CSS keywords `_. - - This is different from the :meth:`~py:str.lower` method of Unicode strings - which also affect non-ASCII characters, - sometimes mapping them into the ASCII range: - - >>> keyword = u'Bac\N{KELVIN SIGN}ground' - >>> assert keyword.lower() == u'background' - >>> assert ascii_lower(keyword) != keyword.lower() - >>> assert ascii_lower(keyword) == u'bac\N{KELVIN SIGN}ground' - - """ - # This turns out to be faster than unicode.translate() - return string.encode('utf8').lower().decode('utf8') - - -def lookup(label): - """ - Look for an encoding by its label. - This is the spec’s `get an encoding - `_ algorithm. - Supported labels are listed there. - - :param label: A string. - :returns: - An :class:`Encoding` object, or :obj:`None` for an unknown label. - - """ - # Only strip ASCII whitespace: U+0009, U+000A, U+000C, U+000D, and U+0020. - label = ascii_lower(label.strip('\t\n\f\r ')) - name = LABELS.get(label) - if name is None: - return None - encoding = CACHE.get(name) - if encoding is None: - if name == 'x-user-defined': - from .x_user_defined import codec_info - else: - python_name = PYTHON_NAMES.get(name, name) - # Any python_name value that gets to here should be valid. - codec_info = codecs.lookup(python_name) - encoding = Encoding(name, codec_info) - CACHE[name] = encoding - return encoding - - -def _get_encoding(encoding_or_label): - """ - Accept either an encoding object or label. - - :param encoding: An :class:`Encoding` object or a label string. - :returns: An :class:`Encoding` object. - :raises: :exc:`~exceptions.LookupError` for an unknown label. - - """ - if hasattr(encoding_or_label, 'codec_info'): - return encoding_or_label - - encoding = lookup(encoding_or_label) - if encoding is None: - raise LookupError('Unknown encoding label: %r' % encoding_or_label) - return encoding - - -class Encoding(object): - """Reresents a character encoding such as UTF-8, - that can be used for decoding or encoding. - - .. attribute:: name - - Canonical name of the encoding - - .. attribute:: codec_info - - The actual implementation of the encoding, - a stdlib :class:`~codecs.CodecInfo` object. - See :func:`codecs.register`. - - """ - def __init__(self, name, codec_info): - self.name = name - self.codec_info = codec_info - - def __repr__(self): - return '' % self.name - - -#: The UTF-8 encoding. Should be used for new content and formats. -UTF8 = lookup('utf-8') - -_UTF16LE = lookup('utf-16le') -_UTF16BE = lookup('utf-16be') - - -def decode(input, fallback_encoding, errors='replace'): - """ - Decode a single string. - - :param input: A byte string - :param fallback_encoding: - An :class:`Encoding` object or a label string. - The encoding to use if :obj:`input` does note have a BOM. - :param errors: Type of error handling. See :func:`codecs.register`. - :raises: :exc:`~exceptions.LookupError` for an unknown encoding label. - :return: - A ``(output, encoding)`` tuple of an Unicode string - and an :obj:`Encoding`. - - """ - # Fail early if `encoding` is an invalid label. - fallback_encoding = _get_encoding(fallback_encoding) - bom_encoding, input = _detect_bom(input) - encoding = bom_encoding or fallback_encoding - return encoding.codec_info.decode(input, errors)[0], encoding - - -def _detect_bom(input): - """Return (bom_encoding, input), with any BOM removed from the input.""" - if input.startswith(b'\xFF\xFE'): - return _UTF16LE, input[2:] - if input.startswith(b'\xFE\xFF'): - return _UTF16BE, input[2:] - if input.startswith(b'\xEF\xBB\xBF'): - return UTF8, input[3:] - return None, input - - -def encode(input, encoding=UTF8, errors='strict'): - """ - Encode a single string. - - :param input: An Unicode string. - :param encoding: An :class:`Encoding` object or a label string. - :param errors: Type of error handling. See :func:`codecs.register`. - :raises: :exc:`~exceptions.LookupError` for an unknown encoding label. - :return: A byte string. - - """ - return _get_encoding(encoding).codec_info.encode(input, errors)[0] - - -def iter_decode(input, fallback_encoding, errors='replace'): - """ - "Pull"-based decoder. - - :param input: - An iterable of byte strings. - - The input is first consumed just enough to determine the encoding - based on the precense of a BOM, - then consumed on demand when the return value is. - :param fallback_encoding: - An :class:`Encoding` object or a label string. - The encoding to use if :obj:`input` does note have a BOM. - :param errors: Type of error handling. See :func:`codecs.register`. - :raises: :exc:`~exceptions.LookupError` for an unknown encoding label. - :returns: - An ``(output, encoding)`` tuple. - :obj:`output` is an iterable of Unicode strings, - :obj:`encoding` is the :obj:`Encoding` that is being used. - - """ - - decoder = IncrementalDecoder(fallback_encoding, errors) - generator = _iter_decode_generator(input, decoder) - encoding = next(generator) - return generator, encoding - - -def _iter_decode_generator(input, decoder): - """Return a generator that first yields the :obj:`Encoding`, - then yields output chukns as Unicode strings. - - """ - decode = decoder.decode - input = iter(input) - for chunck in input: - output = decode(chunck) - if output: - assert decoder.encoding is not None - yield decoder.encoding - yield output - break - else: - # Input exhausted without determining the encoding - output = decode(b'', final=True) - assert decoder.encoding is not None - yield decoder.encoding - if output: - yield output - return - - for chunck in input: - output = decode(chunck) - if output: - yield output - output = decode(b'', final=True) - if output: - yield output - - -def iter_encode(input, encoding=UTF8, errors='strict'): - """ - “Pull”-based encoder. - - :param input: An iterable of Unicode strings. - :param encoding: An :class:`Encoding` object or a label string. - :param errors: Type of error handling. See :func:`codecs.register`. - :raises: :exc:`~exceptions.LookupError` for an unknown encoding label. - :returns: An iterable of byte strings. - - """ - # Fail early if `encoding` is an invalid label. - encode = IncrementalEncoder(encoding, errors).encode - return _iter_encode_generator(input, encode) - - -def _iter_encode_generator(input, encode): - for chunck in input: - output = encode(chunck) - if output: - yield output - output = encode('', final=True) - if output: - yield output - - -class IncrementalDecoder(object): - """ - “Push”-based decoder. - - :param fallback_encoding: - An :class:`Encoding` object or a label string. - The encoding to use if :obj:`input` does note have a BOM. - :param errors: Type of error handling. See :func:`codecs.register`. - :raises: :exc:`~exceptions.LookupError` for an unknown encoding label. - - """ - def __init__(self, fallback_encoding, errors='replace'): - # Fail early if `encoding` is an invalid label. - self._fallback_encoding = _get_encoding(fallback_encoding) - self._errors = errors - self._buffer = b'' - self._decoder = None - #: The actual :class:`Encoding` that is being used, - #: or :obj:`None` if that is not determined yet. - #: (Ie. if there is not enough input yet to determine - #: if there is a BOM.) - self.encoding = None # Not known yet. - - def decode(self, input, final=False): - """Decode one chunk of the input. - - :param input: A byte string. - :param final: - Indicate that no more input is available. - Must be :obj:`True` if this is the last call. - :returns: An Unicode string. - - """ - decoder = self._decoder - if decoder is not None: - return decoder(input, final) - - input = self._buffer + input - encoding, input = _detect_bom(input) - if encoding is None: - if len(input) < 3 and not final: # Not enough data yet. - self._buffer = input - return '' - else: # No BOM - encoding = self._fallback_encoding - decoder = encoding.codec_info.incrementaldecoder(self._errors).decode - self._decoder = decoder - self.encoding = encoding - return decoder(input, final) - - -class IncrementalEncoder(object): - """ - “Push”-based encoder. - - :param encoding: An :class:`Encoding` object or a label string. - :param errors: Type of error handling. See :func:`codecs.register`. - :raises: :exc:`~exceptions.LookupError` for an unknown encoding label. - - .. method:: encode(input, final=False) - - :param input: An Unicode string. - :param final: - Indicate that no more input is available. - Must be :obj:`True` if this is the last call. - :returns: A byte string. - - """ - def __init__(self, encoding=UTF8, errors='strict'): - encoding = _get_encoding(encoding) - self.encode = encoding.codec_info.incrementalencoder(errors).encode diff --git a/.venv/Lib/site-packages/pip/_vendor/webencodings/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/webencodings/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index 78234c8..0000000 Binary files a/.venv/Lib/site-packages/pip/_vendor/webencodings/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/.venv/Lib/site-packages/pip/_vendor/webencodings/__pycache__/labels.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/webencodings/__pycache__/labels.cpython-311.pyc deleted file mode 100644 index 7f1715c..0000000 Binary files a/.venv/Lib/site-packages/pip/_vendor/webencodings/__pycache__/labels.cpython-311.pyc and /dev/null differ diff --git a/.venv/Lib/site-packages/pip/_vendor/webencodings/__pycache__/mklabels.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/webencodings/__pycache__/mklabels.cpython-311.pyc deleted file mode 100644 index 4aaa97a..0000000 Binary files a/.venv/Lib/site-packages/pip/_vendor/webencodings/__pycache__/mklabels.cpython-311.pyc and /dev/null differ diff --git a/.venv/Lib/site-packages/pip/_vendor/webencodings/__pycache__/tests.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/webencodings/__pycache__/tests.cpython-311.pyc deleted file mode 100644 index f4d495a..0000000 Binary files a/.venv/Lib/site-packages/pip/_vendor/webencodings/__pycache__/tests.cpython-311.pyc and /dev/null differ diff --git a/.venv/Lib/site-packages/pip/_vendor/webencodings/__pycache__/x_user_defined.cpython-311.pyc b/.venv/Lib/site-packages/pip/_vendor/webencodings/__pycache__/x_user_defined.cpython-311.pyc deleted file mode 100644 index f62f4d6..0000000 Binary files a/.venv/Lib/site-packages/pip/_vendor/webencodings/__pycache__/x_user_defined.cpython-311.pyc and /dev/null differ diff --git a/.venv/Lib/site-packages/pip/_vendor/webencodings/labels.py b/.venv/Lib/site-packages/pip/_vendor/webencodings/labels.py deleted file mode 100644 index 29cbf91..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/webencodings/labels.py +++ /dev/null @@ -1,231 +0,0 @@ -""" - - webencodings.labels - ~~~~~~~~~~~~~~~~~~~ - - Map encoding labels to their name. - - :copyright: Copyright 2012 by Simon Sapin - :license: BSD, see LICENSE for details. - -""" - -# XXX Do not edit! -# This file is automatically generated by mklabels.py - -LABELS = { - 'unicode-1-1-utf-8': 'utf-8', - 'utf-8': 'utf-8', - 'utf8': 'utf-8', - '866': 'ibm866', - 'cp866': 'ibm866', - 'csibm866': 'ibm866', - 'ibm866': 'ibm866', - 'csisolatin2': 'iso-8859-2', - 'iso-8859-2': 'iso-8859-2', - 'iso-ir-101': 'iso-8859-2', - 'iso8859-2': 'iso-8859-2', - 'iso88592': 'iso-8859-2', - 'iso_8859-2': 'iso-8859-2', - 'iso_8859-2:1987': 'iso-8859-2', - 'l2': 'iso-8859-2', - 'latin2': 'iso-8859-2', - 'csisolatin3': 'iso-8859-3', - 'iso-8859-3': 'iso-8859-3', - 'iso-ir-109': 'iso-8859-3', - 'iso8859-3': 'iso-8859-3', - 'iso88593': 'iso-8859-3', - 'iso_8859-3': 'iso-8859-3', - 'iso_8859-3:1988': 'iso-8859-3', - 'l3': 'iso-8859-3', - 'latin3': 'iso-8859-3', - 'csisolatin4': 'iso-8859-4', - 'iso-8859-4': 'iso-8859-4', - 'iso-ir-110': 'iso-8859-4', - 'iso8859-4': 'iso-8859-4', - 'iso88594': 'iso-8859-4', - 'iso_8859-4': 'iso-8859-4', - 'iso_8859-4:1988': 'iso-8859-4', - 'l4': 'iso-8859-4', - 'latin4': 'iso-8859-4', - 'csisolatincyrillic': 'iso-8859-5', - 'cyrillic': 'iso-8859-5', - 'iso-8859-5': 'iso-8859-5', - 'iso-ir-144': 'iso-8859-5', - 'iso8859-5': 'iso-8859-5', - 'iso88595': 'iso-8859-5', - 'iso_8859-5': 'iso-8859-5', - 'iso_8859-5:1988': 'iso-8859-5', - 'arabic': 'iso-8859-6', - 'asmo-708': 'iso-8859-6', - 'csiso88596e': 'iso-8859-6', - 'csiso88596i': 'iso-8859-6', - 'csisolatinarabic': 'iso-8859-6', - 'ecma-114': 'iso-8859-6', - 'iso-8859-6': 'iso-8859-6', - 'iso-8859-6-e': 'iso-8859-6', - 'iso-8859-6-i': 'iso-8859-6', - 'iso-ir-127': 'iso-8859-6', - 'iso8859-6': 'iso-8859-6', - 'iso88596': 'iso-8859-6', - 'iso_8859-6': 'iso-8859-6', - 'iso_8859-6:1987': 'iso-8859-6', - 'csisolatingreek': 'iso-8859-7', - 'ecma-118': 'iso-8859-7', - 'elot_928': 'iso-8859-7', - 'greek': 'iso-8859-7', - 'greek8': 'iso-8859-7', - 'iso-8859-7': 'iso-8859-7', - 'iso-ir-126': 'iso-8859-7', - 'iso8859-7': 'iso-8859-7', - 'iso88597': 'iso-8859-7', - 'iso_8859-7': 'iso-8859-7', - 'iso_8859-7:1987': 'iso-8859-7', - 'sun_eu_greek': 'iso-8859-7', - 'csiso88598e': 'iso-8859-8', - 'csisolatinhebrew': 'iso-8859-8', - 'hebrew': 'iso-8859-8', - 'iso-8859-8': 'iso-8859-8', - 'iso-8859-8-e': 'iso-8859-8', - 'iso-ir-138': 'iso-8859-8', - 'iso8859-8': 'iso-8859-8', - 'iso88598': 'iso-8859-8', - 'iso_8859-8': 'iso-8859-8', - 'iso_8859-8:1988': 'iso-8859-8', - 'visual': 'iso-8859-8', - 'csiso88598i': 'iso-8859-8-i', - 'iso-8859-8-i': 'iso-8859-8-i', - 'logical': 'iso-8859-8-i', - 'csisolatin6': 'iso-8859-10', - 'iso-8859-10': 'iso-8859-10', - 'iso-ir-157': 'iso-8859-10', - 'iso8859-10': 'iso-8859-10', - 'iso885910': 'iso-8859-10', - 'l6': 'iso-8859-10', - 'latin6': 'iso-8859-10', - 'iso-8859-13': 'iso-8859-13', - 'iso8859-13': 'iso-8859-13', - 'iso885913': 'iso-8859-13', - 'iso-8859-14': 'iso-8859-14', - 'iso8859-14': 'iso-8859-14', - 'iso885914': 'iso-8859-14', - 'csisolatin9': 'iso-8859-15', - 'iso-8859-15': 'iso-8859-15', - 'iso8859-15': 'iso-8859-15', - 'iso885915': 'iso-8859-15', - 'iso_8859-15': 'iso-8859-15', - 'l9': 'iso-8859-15', - 'iso-8859-16': 'iso-8859-16', - 'cskoi8r': 'koi8-r', - 'koi': 'koi8-r', - 'koi8': 'koi8-r', - 'koi8-r': 'koi8-r', - 'koi8_r': 'koi8-r', - 'koi8-u': 'koi8-u', - 'csmacintosh': 'macintosh', - 'mac': 'macintosh', - 'macintosh': 'macintosh', - 'x-mac-roman': 'macintosh', - 'dos-874': 'windows-874', - 'iso-8859-11': 'windows-874', - 'iso8859-11': 'windows-874', - 'iso885911': 'windows-874', - 'tis-620': 'windows-874', - 'windows-874': 'windows-874', - 'cp1250': 'windows-1250', - 'windows-1250': 'windows-1250', - 'x-cp1250': 'windows-1250', - 'cp1251': 'windows-1251', - 'windows-1251': 'windows-1251', - 'x-cp1251': 'windows-1251', - 'ansi_x3.4-1968': 'windows-1252', - 'ascii': 'windows-1252', - 'cp1252': 'windows-1252', - 'cp819': 'windows-1252', - 'csisolatin1': 'windows-1252', - 'ibm819': 'windows-1252', - 'iso-8859-1': 'windows-1252', - 'iso-ir-100': 'windows-1252', - 'iso8859-1': 'windows-1252', - 'iso88591': 'windows-1252', - 'iso_8859-1': 'windows-1252', - 'iso_8859-1:1987': 'windows-1252', - 'l1': 'windows-1252', - 'latin1': 'windows-1252', - 'us-ascii': 'windows-1252', - 'windows-1252': 'windows-1252', - 'x-cp1252': 'windows-1252', - 'cp1253': 'windows-1253', - 'windows-1253': 'windows-1253', - 'x-cp1253': 'windows-1253', - 'cp1254': 'windows-1254', - 'csisolatin5': 'windows-1254', - 'iso-8859-9': 'windows-1254', - 'iso-ir-148': 'windows-1254', - 'iso8859-9': 'windows-1254', - 'iso88599': 'windows-1254', - 'iso_8859-9': 'windows-1254', - 'iso_8859-9:1989': 'windows-1254', - 'l5': 'windows-1254', - 'latin5': 'windows-1254', - 'windows-1254': 'windows-1254', - 'x-cp1254': 'windows-1254', - 'cp1255': 'windows-1255', - 'windows-1255': 'windows-1255', - 'x-cp1255': 'windows-1255', - 'cp1256': 'windows-1256', - 'windows-1256': 'windows-1256', - 'x-cp1256': 'windows-1256', - 'cp1257': 'windows-1257', - 'windows-1257': 'windows-1257', - 'x-cp1257': 'windows-1257', - 'cp1258': 'windows-1258', - 'windows-1258': 'windows-1258', - 'x-cp1258': 'windows-1258', - 'x-mac-cyrillic': 'x-mac-cyrillic', - 'x-mac-ukrainian': 'x-mac-cyrillic', - 'chinese': 'gbk', - 'csgb2312': 'gbk', - 'csiso58gb231280': 'gbk', - 'gb2312': 'gbk', - 'gb_2312': 'gbk', - 'gb_2312-80': 'gbk', - 'gbk': 'gbk', - 'iso-ir-58': 'gbk', - 'x-gbk': 'gbk', - 'gb18030': 'gb18030', - 'hz-gb-2312': 'hz-gb-2312', - 'big5': 'big5', - 'big5-hkscs': 'big5', - 'cn-big5': 'big5', - 'csbig5': 'big5', - 'x-x-big5': 'big5', - 'cseucpkdfmtjapanese': 'euc-jp', - 'euc-jp': 'euc-jp', - 'x-euc-jp': 'euc-jp', - 'csiso2022jp': 'iso-2022-jp', - 'iso-2022-jp': 'iso-2022-jp', - 'csshiftjis': 'shift_jis', - 'ms_kanji': 'shift_jis', - 'shift-jis': 'shift_jis', - 'shift_jis': 'shift_jis', - 'sjis': 'shift_jis', - 'windows-31j': 'shift_jis', - 'x-sjis': 'shift_jis', - 'cseuckr': 'euc-kr', - 'csksc56011987': 'euc-kr', - 'euc-kr': 'euc-kr', - 'iso-ir-149': 'euc-kr', - 'korean': 'euc-kr', - 'ks_c_5601-1987': 'euc-kr', - 'ks_c_5601-1989': 'euc-kr', - 'ksc5601': 'euc-kr', - 'ksc_5601': 'euc-kr', - 'windows-949': 'euc-kr', - 'csiso2022kr': 'iso-2022-kr', - 'iso-2022-kr': 'iso-2022-kr', - 'utf-16be': 'utf-16be', - 'utf-16': 'utf-16le', - 'utf-16le': 'utf-16le', - 'x-user-defined': 'x-user-defined', -} diff --git a/.venv/Lib/site-packages/pip/_vendor/webencodings/mklabels.py b/.venv/Lib/site-packages/pip/_vendor/webencodings/mklabels.py deleted file mode 100644 index 295dc92..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/webencodings/mklabels.py +++ /dev/null @@ -1,59 +0,0 @@ -""" - - webencodings.mklabels - ~~~~~~~~~~~~~~~~~~~~~ - - Regenarate the webencodings.labels module. - - :copyright: Copyright 2012 by Simon Sapin - :license: BSD, see LICENSE for details. - -""" - -import json -try: - from urllib import urlopen -except ImportError: - from urllib.request import urlopen - - -def assert_lower(string): - assert string == string.lower() - return string - - -def generate(url): - parts = ['''\ -""" - - webencodings.labels - ~~~~~~~~~~~~~~~~~~~ - - Map encoding labels to their name. - - :copyright: Copyright 2012 by Simon Sapin - :license: BSD, see LICENSE for details. - -""" - -# XXX Do not edit! -# This file is automatically generated by mklabels.py - -LABELS = { -'''] - labels = [ - (repr(assert_lower(label)).lstrip('u'), - repr(encoding['name']).lstrip('u')) - for category in json.loads(urlopen(url).read().decode('ascii')) - for encoding in category['encodings'] - for label in encoding['labels']] - max_len = max(len(label) for label, name in labels) - parts.extend( - ' %s:%s %s,\n' % (label, ' ' * (max_len - len(label)), name) - for label, name in labels) - parts.append('}') - return ''.join(parts) - - -if __name__ == '__main__': - print(generate('http://encoding.spec.whatwg.org/encodings.json')) diff --git a/.venv/Lib/site-packages/pip/_vendor/webencodings/tests.py b/.venv/Lib/site-packages/pip/_vendor/webencodings/tests.py deleted file mode 100644 index e12c10d..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/webencodings/tests.py +++ /dev/null @@ -1,153 +0,0 @@ -# coding: utf-8 -""" - - webencodings.tests - ~~~~~~~~~~~~~~~~~~ - - A basic test suite for Encoding. - - :copyright: Copyright 2012 by Simon Sapin - :license: BSD, see LICENSE for details. - -""" - -from __future__ import unicode_literals - -from . import (lookup, LABELS, decode, encode, iter_decode, iter_encode, - IncrementalDecoder, IncrementalEncoder, UTF8) - - -def assert_raises(exception, function, *args, **kwargs): - try: - function(*args, **kwargs) - except exception: - return - else: # pragma: no cover - raise AssertionError('Did not raise %s.' % exception) - - -def test_labels(): - assert lookup('utf-8').name == 'utf-8' - assert lookup('Utf-8').name == 'utf-8' - assert lookup('UTF-8').name == 'utf-8' - assert lookup('utf8').name == 'utf-8' - assert lookup('utf8').name == 'utf-8' - assert lookup('utf8 ').name == 'utf-8' - assert lookup(' \r\nutf8\t').name == 'utf-8' - assert lookup('u8') is None # Python label. - assert lookup('utf-8 ') is None # Non-ASCII white space. - - assert lookup('US-ASCII').name == 'windows-1252' - assert lookup('iso-8859-1').name == 'windows-1252' - assert lookup('latin1').name == 'windows-1252' - assert lookup('LATIN1').name == 'windows-1252' - assert lookup('latin-1') is None - assert lookup('LATİN1') is None # ASCII-only case insensitivity. - - -def test_all_labels(): - for label in LABELS: - assert decode(b'', label) == ('', lookup(label)) - assert encode('', label) == b'' - for repeat in [0, 1, 12]: - output, _ = iter_decode([b''] * repeat, label) - assert list(output) == [] - assert list(iter_encode([''] * repeat, label)) == [] - decoder = IncrementalDecoder(label) - assert decoder.decode(b'') == '' - assert decoder.decode(b'', final=True) == '' - encoder = IncrementalEncoder(label) - assert encoder.encode('') == b'' - assert encoder.encode('', final=True) == b'' - # All encoding names are valid labels too: - for name in set(LABELS.values()): - assert lookup(name).name == name - - -def test_invalid_label(): - assert_raises(LookupError, decode, b'\xEF\xBB\xBF\xc3\xa9', 'invalid') - assert_raises(LookupError, encode, 'é', 'invalid') - assert_raises(LookupError, iter_decode, [], 'invalid') - assert_raises(LookupError, iter_encode, [], 'invalid') - assert_raises(LookupError, IncrementalDecoder, 'invalid') - assert_raises(LookupError, IncrementalEncoder, 'invalid') - - -def test_decode(): - assert decode(b'\x80', 'latin1') == ('€', lookup('latin1')) - assert decode(b'\x80', lookup('latin1')) == ('€', lookup('latin1')) - assert decode(b'\xc3\xa9', 'utf8') == ('é', lookup('utf8')) - assert decode(b'\xc3\xa9', UTF8) == ('é', lookup('utf8')) - assert decode(b'\xc3\xa9', 'ascii') == ('é', lookup('ascii')) - assert decode(b'\xEF\xBB\xBF\xc3\xa9', 'ascii') == ('é', lookup('utf8')) # UTF-8 with BOM - - assert decode(b'\xFE\xFF\x00\xe9', 'ascii') == ('é', lookup('utf-16be')) # UTF-16-BE with BOM - assert decode(b'\xFF\xFE\xe9\x00', 'ascii') == ('é', lookup('utf-16le')) # UTF-16-LE with BOM - assert decode(b'\xFE\xFF\xe9\x00', 'ascii') == ('\ue900', lookup('utf-16be')) - assert decode(b'\xFF\xFE\x00\xe9', 'ascii') == ('\ue900', lookup('utf-16le')) - - assert decode(b'\x00\xe9', 'UTF-16BE') == ('é', lookup('utf-16be')) - assert decode(b'\xe9\x00', 'UTF-16LE') == ('é', lookup('utf-16le')) - assert decode(b'\xe9\x00', 'UTF-16') == ('é', lookup('utf-16le')) - - assert decode(b'\xe9\x00', 'UTF-16BE') == ('\ue900', lookup('utf-16be')) - assert decode(b'\x00\xe9', 'UTF-16LE') == ('\ue900', lookup('utf-16le')) - assert decode(b'\x00\xe9', 'UTF-16') == ('\ue900', lookup('utf-16le')) - - -def test_encode(): - assert encode('é', 'latin1') == b'\xe9' - assert encode('é', 'utf8') == b'\xc3\xa9' - assert encode('é', 'utf8') == b'\xc3\xa9' - assert encode('é', 'utf-16') == b'\xe9\x00' - assert encode('é', 'utf-16le') == b'\xe9\x00' - assert encode('é', 'utf-16be') == b'\x00\xe9' - - -def test_iter_decode(): - def iter_decode_to_string(input, fallback_encoding): - output, _encoding = iter_decode(input, fallback_encoding) - return ''.join(output) - assert iter_decode_to_string([], 'latin1') == '' - assert iter_decode_to_string([b''], 'latin1') == '' - assert iter_decode_to_string([b'\xe9'], 'latin1') == 'é' - assert iter_decode_to_string([b'hello'], 'latin1') == 'hello' - assert iter_decode_to_string([b'he', b'llo'], 'latin1') == 'hello' - assert iter_decode_to_string([b'hell', b'o'], 'latin1') == 'hello' - assert iter_decode_to_string([b'\xc3\xa9'], 'latin1') == 'é' - assert iter_decode_to_string([b'\xEF\xBB\xBF\xc3\xa9'], 'latin1') == 'é' - assert iter_decode_to_string([ - b'\xEF\xBB\xBF', b'\xc3', b'\xa9'], 'latin1') == 'é' - assert iter_decode_to_string([ - b'\xEF\xBB\xBF', b'a', b'\xc3'], 'latin1') == 'a\uFFFD' - assert iter_decode_to_string([ - b'', b'\xEF', b'', b'', b'\xBB\xBF\xc3', b'\xa9'], 'latin1') == 'é' - assert iter_decode_to_string([b'\xEF\xBB\xBF'], 'latin1') == '' - assert iter_decode_to_string([b'\xEF\xBB'], 'latin1') == 'ï»' - assert iter_decode_to_string([b'\xFE\xFF\x00\xe9'], 'latin1') == 'é' - assert iter_decode_to_string([b'\xFF\xFE\xe9\x00'], 'latin1') == 'é' - assert iter_decode_to_string([ - b'', b'\xFF', b'', b'', b'\xFE\xe9', b'\x00'], 'latin1') == 'é' - assert iter_decode_to_string([ - b'', b'h\xe9', b'llo'], 'x-user-defined') == 'h\uF7E9llo' - - -def test_iter_encode(): - assert b''.join(iter_encode([], 'latin1')) == b'' - assert b''.join(iter_encode([''], 'latin1')) == b'' - assert b''.join(iter_encode(['é'], 'latin1')) == b'\xe9' - assert b''.join(iter_encode(['', 'é', '', ''], 'latin1')) == b'\xe9' - assert b''.join(iter_encode(['', 'é', '', ''], 'utf-16')) == b'\xe9\x00' - assert b''.join(iter_encode(['', 'é', '', ''], 'utf-16le')) == b'\xe9\x00' - assert b''.join(iter_encode(['', 'é', '', ''], 'utf-16be')) == b'\x00\xe9' - assert b''.join(iter_encode([ - '', 'h\uF7E9', '', 'llo'], 'x-user-defined')) == b'h\xe9llo' - - -def test_x_user_defined(): - encoded = b'2,\x0c\x0b\x1aO\xd9#\xcb\x0f\xc9\xbbt\xcf\xa8\xca' - decoded = '2,\x0c\x0b\x1aO\uf7d9#\uf7cb\x0f\uf7c9\uf7bbt\uf7cf\uf7a8\uf7ca' - encoded = b'aa' - decoded = 'aa' - assert decode(encoded, 'x-user-defined') == (decoded, lookup('x-user-defined')) - assert encode(decoded, 'x-user-defined') == encoded diff --git a/.venv/Lib/site-packages/pip/_vendor/webencodings/x_user_defined.py b/.venv/Lib/site-packages/pip/_vendor/webencodings/x_user_defined.py deleted file mode 100644 index d16e326..0000000 --- a/.venv/Lib/site-packages/pip/_vendor/webencodings/x_user_defined.py +++ /dev/null @@ -1,325 +0,0 @@ -# coding: utf-8 -""" - - webencodings.x_user_defined - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - - An implementation of the x-user-defined encoding. - - :copyright: Copyright 2012 by Simon Sapin - :license: BSD, see LICENSE for details. - -""" - -from __future__ import unicode_literals - -import codecs - - -### Codec APIs - -class Codec(codecs.Codec): - - def encode(self, input, errors='strict'): - return codecs.charmap_encode(input, errors, encoding_table) - - def decode(self, input, errors='strict'): - return codecs.charmap_decode(input, errors, decoding_table) - - -class IncrementalEncoder(codecs.IncrementalEncoder): - def encode(self, input, final=False): - return codecs.charmap_encode(input, self.errors, encoding_table)[0] - - -class IncrementalDecoder(codecs.IncrementalDecoder): - def decode(self, input, final=False): - return codecs.charmap_decode(input, self.errors, decoding_table)[0] - - -class StreamWriter(Codec, codecs.StreamWriter): - pass - - -class StreamReader(Codec, codecs.StreamReader): - pass - - -### encodings module API - -codec_info = codecs.CodecInfo( - name='x-user-defined', - encode=Codec().encode, - decode=Codec().decode, - incrementalencoder=IncrementalEncoder, - incrementaldecoder=IncrementalDecoder, - streamreader=StreamReader, - streamwriter=StreamWriter, -) - - -### Decoding Table - -# Python 3: -# for c in range(256): print(' %r' % chr(c if c < 128 else c + 0xF700)) -decoding_table = ( - '\x00' - '\x01' - '\x02' - '\x03' - '\x04' - '\x05' - '\x06' - '\x07' - '\x08' - '\t' - '\n' - '\x0b' - '\x0c' - '\r' - '\x0e' - '\x0f' - '\x10' - '\x11' - '\x12' - '\x13' - '\x14' - '\x15' - '\x16' - '\x17' - '\x18' - '\x19' - '\x1a' - '\x1b' - '\x1c' - '\x1d' - '\x1e' - '\x1f' - ' ' - '!' - '"' - '#' - '$' - '%' - '&' - "'" - '(' - ')' - '*' - '+' - ',' - '-' - '.' - '/' - '0' - '1' - '2' - '3' - '4' - '5' - '6' - '7' - '8' - '9' - ':' - ';' - '<' - '=' - '>' - '?' - '@' - 'A' - 'B' - 'C' - 'D' - 'E' - 'F' - 'G' - 'H' - 'I' - 'J' - 'K' - 'L' - 'M' - 'N' - 'O' - 'P' - 'Q' - 'R' - 'S' - 'T' - 'U' - 'V' - 'W' - 'X' - 'Y' - 'Z' - '[' - '\\' - ']' - '^' - '_' - '`' - 'a' - 'b' - 'c' - 'd' - 'e' - 'f' - 'g' - 'h' - 'i' - 'j' - 'k' - 'l' - 'm' - 'n' - 'o' - 'p' - 'q' - 'r' - 's' - 't' - 'u' - 'v' - 'w' - 'x' - 'y' - 'z' - '{' - '|' - '}' - '~' - '\x7f' - '\uf780' - '\uf781' - '\uf782' - '\uf783' - '\uf784' - '\uf785' - '\uf786' - '\uf787' - '\uf788' - '\uf789' - '\uf78a' - '\uf78b' - '\uf78c' - '\uf78d' - '\uf78e' - '\uf78f' - '\uf790' - '\uf791' - '\uf792' - '\uf793' - '\uf794' - '\uf795' - '\uf796' - '\uf797' - '\uf798' - '\uf799' - '\uf79a' - '\uf79b' - '\uf79c' - '\uf79d' - '\uf79e' - '\uf79f' - '\uf7a0' - '\uf7a1' - '\uf7a2' - '\uf7a3' - '\uf7a4' - '\uf7a5' - '\uf7a6' - '\uf7a7' - '\uf7a8' - '\uf7a9' - '\uf7aa' - '\uf7ab' - '\uf7ac' - '\uf7ad' - '\uf7ae' - '\uf7af' - '\uf7b0' - '\uf7b1' - '\uf7b2' - '\uf7b3' - '\uf7b4' - '\uf7b5' - '\uf7b6' - '\uf7b7' - '\uf7b8' - '\uf7b9' - '\uf7ba' - '\uf7bb' - '\uf7bc' - '\uf7bd' - '\uf7be' - '\uf7bf' - '\uf7c0' - '\uf7c1' - '\uf7c2' - '\uf7c3' - '\uf7c4' - '\uf7c5' - '\uf7c6' - '\uf7c7' - '\uf7c8' - '\uf7c9' - '\uf7ca' - '\uf7cb' - '\uf7cc' - '\uf7cd' - '\uf7ce' - '\uf7cf' - '\uf7d0' - '\uf7d1' - '\uf7d2' - '\uf7d3' - '\uf7d4' - '\uf7d5' - '\uf7d6' - '\uf7d7' - '\uf7d8' - '\uf7d9' - '\uf7da' - '\uf7db' - '\uf7dc' - '\uf7dd' - '\uf7de' - '\uf7df' - '\uf7e0' - '\uf7e1' - '\uf7e2' - '\uf7e3' - '\uf7e4' - '\uf7e5' - '\uf7e6' - '\uf7e7' - '\uf7e8' - '\uf7e9' - '\uf7ea' - '\uf7eb' - '\uf7ec' - '\uf7ed' - '\uf7ee' - '\uf7ef' - '\uf7f0' - '\uf7f1' - '\uf7f2' - '\uf7f3' - '\uf7f4' - '\uf7f5' - '\uf7f6' - '\uf7f7' - '\uf7f8' - '\uf7f9' - '\uf7fa' - '\uf7fb' - '\uf7fc' - '\uf7fd' - '\uf7fe' - '\uf7ff' -) - -### Encoding table -encoding_table = codecs.charmap_build(decoding_table) diff --git a/.venv/Lib/site-packages/pyinstaller-6.15.0.dist-info/COPYING.txt b/.venv/Lib/site-packages/pyinstaller-6.15.0.dist-info/COPYING.txt new file mode 100644 index 0000000..51bf4bd --- /dev/null +++ b/.venv/Lib/site-packages/pyinstaller-6.15.0.dist-info/COPYING.txt @@ -0,0 +1,636 @@ +================================ + The PyInstaller licensing terms +================================ + + +Copyright (c) 2010-2023, PyInstaller Development Team +Copyright (c) 2005-2009, Giovanni Bajo +Based on previous work under copyright (c) 2002 McMillan Enterprises, Inc. + + +PyInstaller is licensed under the terms of the GNU General Public License +as published by the Free Software Foundation; either version 2 of the License, +or (at your option) any later version. + + +Bootloader Exception +-------------------- + +In addition to the permissions in the GNU General Public License, the +authors give you unlimited permission to link or embed compiled bootloader +and related files into combinations with other programs, and to distribute +those combinations without any restriction coming from the use of those +files. (The General Public License restrictions do apply in other respects; +for example, they cover modification of the files, and distribution when +not linked into a combined executable.) + + +Bootloader and Related Files +---------------------------- + +Bootloader and related files are files which are embedded within the +final executable. This includes files in directories: + +./bootloader/ +./PyInstaller/loader + + +Run-time Hooks +---------------------------- + +Run-time Hooks are a different kind of files embedded within the final +executable. To ease moving them into a separate repository, or into the +respective project, these files are now licensed under the Apache License, +Version 2.0. + +Run-time Hooks are in the directory +./PyInstaller/hooks/rthooks + + +The PyInstaller.isolated submodule +---------------------------------- + +By request, the PyInstaller.isolated submodule and its corresponding tests are +additionally licensed with the MIT license so that it may be reused outside of +PyInstaller under GPL 2.0 or MIT terms and conditions -- whichever is the most +suitable to the recipient downstream project. Affected files/directories are: + +./PyInstaller/isolated/ +./tests/unit/test_isolation.py + + +About the PyInstaller Development Team +-------------------------------------- + +The PyInstaller Development Team is the set of contributors +to the PyInstaller project. A full list with details is kept +in the documentation directory, in the file +``doc/CREDITS.rst``. + +The core team that coordinates development on GitHub can be found here: +https://github.com/pyinstaller/pyinstaller. As of 2021, it consists of: + +* Hartmut Goebel +* Jasper Harrison +* Bryan Jones +* Brenainn Woodsend +* Rok Mandeljc + +Our Copyright Policy +-------------------- + +PyInstaller uses a shared copyright model. Each contributor maintains copyright +over their contributions to PyInstaller. But, it is important to note that these +contributions are typically only changes to the repositories. Thus, +the PyInstaller source code, in its entirety is not the copyright of any single +person or institution. Instead, it is the collective copyright of the entire +PyInstaller Development Team. If individual contributors want to maintain +a record of what changes/contributions they have specific copyright on, they +should indicate their copyright in the commit message of the change, when they +commit the change to the PyInstaller repository. + +With this in mind, the following banner should be used in any source code file +to indicate the copyright and license terms: + + +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +#----------------------------------------------------------------------------- + + +For run-time hooks, the following banner should be used: + +#----------------------------------------------------------------------------- +# Copyright (c) 2005-2023, PyInstaller Development Team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: Apache-2.0 +#----------------------------------------------------------------------------- + + +================================ +GNU General Public License +================================ + +https://gnu.org/licenses/gpl-2.0.html + + + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + +================================ +Apache License 2.0 +================================ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +=========== +MIT License +=========== + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/.venv/Lib/site-packages/pyinstaller-6.15.0.dist-info/INSTALLER b/.venv/Lib/site-packages/pyinstaller-6.15.0.dist-info/INSTALLER new file mode 100644 index 0000000..a1b589e --- /dev/null +++ b/.venv/Lib/site-packages/pyinstaller-6.15.0.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/.venv/Lib/site-packages/pyinstaller-6.15.0.dist-info/METADATA b/.venv/Lib/site-packages/pyinstaller-6.15.0.dist-info/METADATA new file mode 100644 index 0000000..29f49fb --- /dev/null +++ b/.venv/Lib/site-packages/pyinstaller-6.15.0.dist-info/METADATA @@ -0,0 +1,210 @@ +Metadata-Version: 2.2 +Name: pyinstaller +Version: 6.15.0 +Summary: PyInstaller bundles a Python application and all its dependencies into a single package. +Home-page: https://www.pyinstaller.org/ +Author: Hartmut Goebel, Giovanni Bajo, David Vierra, David Cortesi, Martin Zibricky +License: GPLv2-or-later with a special exception which allows to use PyInstaller to build and distribute non-free programs (including commercial ones) +Project-URL: Source, https://github.com/pyinstaller/pyinstaller +Keywords: packaging, app, apps, bundle, convert, standalone, executable,pyinstaller, cxfreeze, freeze, py2exe, py2app, bbfreeze +Classifier: Development Status :: 6 - Mature +Classifier: Environment :: Console +Classifier: Intended Audience :: Developers +Classifier: Intended Audience :: Other Audience +Classifier: Intended Audience :: System Administrators +Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2) +Classifier: Natural Language :: English +Classifier: Operating System :: MacOS :: MacOS X +Classifier: Operating System :: Microsoft :: Windows +Classifier: Operating System :: POSIX +Classifier: Operating System :: POSIX :: AIX +Classifier: Operating System :: POSIX :: BSD +Classifier: Operating System :: POSIX :: Linux +Classifier: Operating System :: POSIX :: SunOS/Solaris +Classifier: Programming Language :: C +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3 :: Only +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 +Classifier: Programming Language :: Python :: 3.13 +Classifier: Programming Language :: Python :: 3.14 +Classifier: Programming Language :: Python :: Implementation :: CPython +Classifier: Topic :: Software Development +Classifier: Topic :: Software Development :: Build Tools +Classifier: Topic :: Software Development :: Interpreters +Classifier: Topic :: Software Development :: Libraries :: Python Modules +Classifier: Topic :: System :: Installation/Setup +Classifier: Topic :: System :: Software Distribution +Classifier: Topic :: Utilities +Requires-Python: <3.15,>=3.8 +Description-Content-Type: text/x-rst +License-File: COPYING.txt +Requires-Dist: setuptools>=42.0.0 +Requires-Dist: altgraph +Requires-Dist: pefile!=2024.8.26,>=2022.5.30; sys_platform == "win32" +Requires-Dist: pywin32-ctypes>=0.2.1; sys_platform == "win32" +Requires-Dist: macholib>=1.8; sys_platform == "darwin" +Requires-Dist: pyinstaller-hooks-contrib>=2025.8 +Requires-Dist: importlib_metadata>=4.6; python_version < "3.10" +Requires-Dist: packaging>=22.0 +Provides-Extra: hook-testing +Requires-Dist: pytest>=2.7.3; extra == "hook-testing" +Requires-Dist: execnet>=1.5.0; extra == "hook-testing" +Requires-Dist: psutil; extra == "hook-testing" +Provides-Extra: completion +Requires-Dist: argcomplete; extra == "completion" + +PyInstaller Overview +==================== + +.. image:: https://img.shields.io/pypi/v/pyinstaller + :alt: PyPI + :target: https://pypi.org/project/pyinstaller +.. image:: https://img.shields.io/pypi/pyversions/pyinstaller + :alt: PyPI - Python Version + :target: https://pypi.org/project/pyinstaller +.. image:: https://img.shields.io/readthedocs/pyinstaller/stable + :alt: Read the Docs (version) + :target: https://pyinstaller.org +.. image:: https://img.shields.io/pypi/dm/pyinstaller + :alt: PyPI - Downloads + :target: https://pypistats.org/packages/pyinstaller + + +PyInstaller bundles a Python application and all its dependencies into a single +package. The user can run the packaged app without installing a Python +interpreter or any modules. + +:Documentation: https://pyinstaller.org/ +:Code: https://github.com/pyinstaller/pyinstaller + +PyInstaller reads a Python script written by you. It analyzes your code +to discover every other module and library your script needs in order to +execute. Then it collects copies of all those files -- including the active +Python interpreter! -- and puts them with your script in a single folder, or +optionally in a single executable file. + + +PyInstaller is tested against Windows, macOS, and GNU/Linux. +However, it is not a cross-compiler: +to make a Windows app you run PyInstaller in Windows; to make +a GNU/Linux app you run it in GNU/Linux, etc. +PyInstaller has been used successfully +with AIX, Solaris, FreeBSD and OpenBSD, +but is not tested against them as part of the continuous integration tests. + + +Main Advantages +--------------- + +- Works out-of-the-box with any Python version 3.8-3.13. +- Fully multi-platform, and uses the OS support to load the dynamic libraries, + thus ensuring full compatibility. +- Correctly bundles the major Python packages such as numpy, PyQt5, + PySide2, PyQt6, PySide6, wxPython, matplotlib and others out-of-the-box. +- Compatible with many 3rd-party packages out-of-the-box. (All the required + tricks to make external packages work are already integrated.) +- Works with code signing on macOS. +- Bundles MS Visual C++ DLLs on Windows. + + +Installation +------------ + +PyInstaller is available on PyPI. You can install it through `pip`: + +.. code:: bash + + pip install pyinstaller + + +Requirements and Tested Platforms +--------------------------------- + +- Python: + - 3.8-3.14. Note that Python 3.10.0 contains a bug making it unsupportable by + PyInstaller. PyInstaller will also not work with beta releases of Python + 3.15. +- Windows (32bit/64bit/ARM64): + - PyInstaller should work on Windows 7 or newer, but we only officially support Windows 8+. + - Support for Python installed from the Windows store without using virtual + environments requires PyInstaller 4.4 or later. +- Linux: + - GNU libc based distributions on architectures ``x86_64``, ``aarch64``, + ``i686``, ``ppc64le``, ``s390x``. + - musl libc based distributions on architectures ``x86_64``, ``aarch64``. + - ldd: Console application to print the shared libraries required + by each program or shared library. This typically can be found in + the distribution-package `glibc` or `libc-bin`. + - objdump: Console application to display information from + object files. This typically can be found in the + distribution-package `binutils`. + - objcopy: Console application to copy and translate object files. + This typically can be found in the distribution-package `binutils`, + too. + - Raspberry Pi users on ``armv5``-``armv7`` should `add piwheels as an extra + index url `_ then ``pip install pyinstaller`` + as usual. +- macOS (``x86_64`` or ``arm64``): + - macOS 10.15 (Catalina) or newer. + - Supports building ``universal2`` applications provided that your installation + of Python and all your dependencies are also compiled ``universal2``. + + +Usage +----- + +Basic usage is very simple, just run it against your main script: + +.. code:: bash + + pyinstaller /path/to/yourscript.py + +For more details, see the `manual`_. + + +Untested Platforms +------------------ + +The following platforms have been contributed and any feedback or +enhancements on these are welcome. + +- FreeBSD + - ldd +- Solaris + - ldd + - objdump +- AIX + - AIX 6.1 or newer. PyInstaller will not work with statically + linked Python libraries. + - ldd +- Linux on any other libc implementation/architecture combination not listed + above. + +Before using any contributed platform, you need to build the PyInstaller +bootloader. This will happen automatically when you ``pip install pyinstaller`` +provided that you have an appropriate C compiler (typically +either ``gcc`` or ``clang``) and zlib's development headers already installed. + + +Support +------- + +- Official debugging guide: https://pyinstaller.org/en/v6.15.0/when-things-go-wrong.html +- Assorted user contributed help topics: https://github.com/pyinstaller/pyinstaller/wiki +- Web based Q&A forums: https://github.com/pyinstaller/pyinstaller/discussions +- Email based Q&A forums: https://groups.google.com/g/pyinstaller + + +Changes in this Release +----------------------- + +You can find a detailed list of changes in this release +in the `Changelog`_ section of the manual. + +.. _`manual`: https://pyinstaller.org/en/v6.15.0/ +.. _`Changelog`: https://pyinstaller.org/en/v6.15.0/CHANGES.html diff --git a/.venv/Lib/site-packages/pyinstaller-6.15.0.dist-info/RECORD b/.venv/Lib/site-packages/pyinstaller-6.15.0.dist-info/RECORD new file mode 100644 index 0000000..7ec1c8e --- /dev/null +++ b/.venv/Lib/site-packages/pyinstaller-6.15.0.dist-info/RECORD @@ -0,0 +1,1100 @@ +../../Scripts/pyi-archive_viewer.exe,sha256=7nT5PfIWahdLTWRhdpfQC4bvMcVVnm65XS13nqZQ7Zc,108441 +../../Scripts/pyi-bindepend.exe,sha256=yCDEAC7dF0UaanQ8UQrcEPg-GAv-IoF4KbESLnxwNoo,108436 +../../Scripts/pyi-grab_version.exe,sha256=Hwz2NQF6y7-EONI0LKgNuqWGXGC_-jH3QiR5OPdKjbY,108439 +../../Scripts/pyi-makespec.exe,sha256=0WLCu8EOhmfxS9zx5UIwygG4yGkxXq6StsqBSmTlFF4,108435 +../../Scripts/pyi-set_version.exe,sha256=3gRqiDtW1k-KXdrvP1VV-YSxB9M_6Z2Adacj9aWXHpE,108438 +../../Scripts/pyinstaller.exe,sha256=Pdelzs3g-RrSsD_b-JRmH6-eTQxoMRwO0G5wE2N2Yf4,108452 +PyInstaller/__init__.py,sha256=Vg6Wfjs2il1c8uB-bY6j8HuclzWhJXdQ7Qi1T7Ix-rw,2012 +PyInstaller/__main__.py,sha256=OsbjFkY_6cjuKXAnEHo0TJVkO_1nRzTKC3-DAXjlHCc,12636 +PyInstaller/__pycache__/__init__.cpython-311.pyc,, +PyInstaller/__pycache__/__main__.cpython-311.pyc,, +PyInstaller/__pycache__/_recursion_too_deep_message.cpython-311.pyc,, +PyInstaller/__pycache__/_shared_with_waf.cpython-311.pyc,, +PyInstaller/__pycache__/compat.cpython-311.pyc,, +PyInstaller/__pycache__/config.cpython-311.pyc,, +PyInstaller/__pycache__/configure.cpython-311.pyc,, +PyInstaller/__pycache__/exceptions.cpython-311.pyc,, +PyInstaller/__pycache__/log.cpython-311.pyc,, +PyInstaller/_recursion_too_deep_message.py,sha256=Nq51eGfSfiU_CKYk7nAvz591LHiLsmY4KVEK5Lr-HUQ,1820 +PyInstaller/_shared_with_waf.py,sha256=mvy1-5blbeliqpV0A2qEw2VlB76bS_X3_X-EvXEQKvo,4054 +PyInstaller/archive/__init__.py,sha256=fNGhsx0m5s9iq4yMvH6J1tI0vzUKWd62lIQNSnKTGCE,22 +PyInstaller/archive/__pycache__/__init__.cpython-311.pyc,, +PyInstaller/archive/__pycache__/pyz_crypto.cpython-311.pyc,, +PyInstaller/archive/__pycache__/readers.cpython-311.pyc,, +PyInstaller/archive/__pycache__/writers.cpython-311.pyc,, +PyInstaller/archive/pyz_crypto.py,sha256=9SsKY26cVDwVxlwD-6LSC0Pw3rsIoOhV-A6Y6s9IPBI,747 +PyInstaller/archive/readers.py,sha256=zZPiruzTFJuZLLwZ9EHfP1cOWo0clfrcLHu4ljKKrXY,8407 +PyInstaller/archive/writers.py,sha256=oHhQ1ssFsvFeyYbBU0u7PnoPIzBwrcqwIyeCcCXaeFA,18502 +PyInstaller/bootloader/Windows-64bit-intel/run.exe,sha256=3pn0H4epiLSTLe7CrsgWja0hEfORmYLxrHaId6F0d14,281600 +PyInstaller/bootloader/Windows-64bit-intel/run_d.exe,sha256=fL8w_TeG2tsrkcar8GFpQvA5loFqHPJ_1sKIgDp0lt4,300032 +PyInstaller/bootloader/Windows-64bit-intel/runw.exe,sha256=JLi06MfFi93zw1y6w7ykxdaGbSh2F-a_5NNxKaOXg_s,276480 +PyInstaller/bootloader/Windows-64bit-intel/runw_d.exe,sha256=UTTgGRvroV2PkOvG9X2Eef3dtK8tJM4mSUbTlJiIET4,293376 +PyInstaller/bootloader/images/icon-console.ico,sha256=aALW1IOexhlTRN7sYcLc9gIWH52Xsk9ic3kEaehHets,59521 +PyInstaller/bootloader/images/icon-windowed.ico,sha256=Fo2xuKfGL6KrksEhAYXRRZI_McG-I_3tQtlCD0i5g5I,60690 +PyInstaller/building/__init__.py,sha256=MsSFjiLMLJZ7QhUPpVBWKiyDnCzryquRyr329NoCACI,2 +PyInstaller/building/__pycache__/__init__.cpython-311.pyc,, +PyInstaller/building/__pycache__/api.cpython-311.pyc,, +PyInstaller/building/__pycache__/build_main.cpython-311.pyc,, +PyInstaller/building/__pycache__/datastruct.cpython-311.pyc,, +PyInstaller/building/__pycache__/icon.cpython-311.pyc,, +PyInstaller/building/__pycache__/makespec.cpython-311.pyc,, +PyInstaller/building/__pycache__/osx.cpython-311.pyc,, +PyInstaller/building/__pycache__/splash.cpython-311.pyc,, +PyInstaller/building/__pycache__/splash_templates.cpython-311.pyc,, +PyInstaller/building/__pycache__/templates.cpython-311.pyc,, +PyInstaller/building/__pycache__/utils.cpython-311.pyc,, +PyInstaller/building/api.py,sha256=fpAFek8TN-aJLP_VFSBBK33ROGvCzQNlmP7Wx8j1PcA,69019 +PyInstaller/building/build_main.py,sha256=w6PR0a9mSCNgw9v1Rgfivgnc0X2aDgGbRNC_5R78-dc,61637 +PyInstaller/building/datastruct.py,sha256=AGQQTL4cfQIApxl_vD5LRpl5nHpEcCN5El3u89jkRmU,17435 +PyInstaller/building/icon.py,sha256=BMyohNvNi-Zp1hbC0i9wExyxoa9QMP_7wfQqBOnauYg,4015 +PyInstaller/building/makespec.py,sha256=jJL3eA7znzM1yvVq3Wv_W_vhzim409y6NO9QGcEc0mA,36003 +PyInstaller/building/osx.py,sha256=aWQ4tyU2IX1ZWjqBIYi-FothBoi1qMkYhjfcN6_XKJQ,42305 +PyInstaller/building/splash.py,sha256=T1XCgV91YUClsuv1IVax2GRvpvO0c7kxMiG8nKAIi_M,23272 +PyInstaller/building/splash_templates.py,sha256=VmtOwhx6B37ufbvbTC74uADLpWEFpev-qjnFNJlpdIE,7453 +PyInstaller/building/templates.py,sha256=T64VeVrybxnFVL-m4OmoVgmbmGsgBmz-GltBSLu-YWg,3146 +PyInstaller/building/utils.py,sha256=3NMcR6ZWGwBU9zFCPcSoUusbRyRhCRZOLzobIN2H6RY,39397 +PyInstaller/compat.py,sha256=KE9WHkeZEkT5w_cpjRTOXJEB-NB8l3E6xplvbFZw0KU,32205 +PyInstaller/config.py,sha256=7GMtLgwDTZwcG2pwY6jUEtCQbLA7K_5hauTvbGdQ5Eo,1852 +PyInstaller/configure.py,sha256=cy15xry6JclyWqGfhTPtsCgJXfRA8Qp7CMGTgHZYeFA,4160 +PyInstaller/depend/__init__.py,sha256=MsSFjiLMLJZ7QhUPpVBWKiyDnCzryquRyr329NoCACI,2 +PyInstaller/depend/__pycache__/__init__.cpython-311.pyc,, +PyInstaller/depend/__pycache__/analysis.cpython-311.pyc,, +PyInstaller/depend/__pycache__/bindepend.cpython-311.pyc,, +PyInstaller/depend/__pycache__/bytecode.cpython-311.pyc,, +PyInstaller/depend/__pycache__/dylib.cpython-311.pyc,, +PyInstaller/depend/__pycache__/imphook.cpython-311.pyc,, +PyInstaller/depend/__pycache__/imphookapi.cpython-311.pyc,, +PyInstaller/depend/__pycache__/utils.cpython-311.pyc,, +PyInstaller/depend/analysis.py,sha256=HqapWLGI1RLZsyLDxGGwmYdhgbkCu_CY9Q-ls-wu5aM,51104 +PyInstaller/depend/bindepend.py,sha256=GTpwQTOdEgiUN2QnXqMvWINwlq49M-kth4T9JrMVObs,46831 +PyInstaller/depend/bytecode.py,sha256=K0ozQz4DmwbSH8V5vM91ENW_YAMREvFqL3ymJt5a964,15434 +PyInstaller/depend/dylib.py,sha256=IBT4jYgNXY0rCF8DriCCaO3HZW7dg9xZu-9lqnKh2A0,13220 +PyInstaller/depend/imphook.py,sha256=LRcdRjQmQcTjBcq_zsuhg4T506f_j5jHawRMrIIEsdo,27568 +PyInstaller/depend/imphookapi.py,sha256=BWYiSWTJZEX1a13kqi5lKCahgsCLD9K-NVhKL1f40yQ,21231 +PyInstaller/depend/utils.py,sha256=bQcgsAnLPGUHIarf7d8Q1H_uPtoNZVXbN1R9mQZ9fUc,13848 +PyInstaller/exceptions.py,sha256=xE3iYjlkZ-494ghyaF9DuToLHJj-7QOhLzCVuuZ_LqE,3080 +PyInstaller/fake-modules/__pycache__/pyi_splash.cpython-311.pyc,, +PyInstaller/fake-modules/_pyi_rth_utils/__init__.py,sha256=eB5Dwu9lqSMqbLtIXpkYUaU7dEiymGkij-MOIDO9ZdI,1710 +PyInstaller/fake-modules/_pyi_rth_utils/__pycache__/__init__.cpython-311.pyc,, +PyInstaller/fake-modules/_pyi_rth_utils/__pycache__/_win32.cpython-311.pyc,, +PyInstaller/fake-modules/_pyi_rth_utils/__pycache__/qt.cpython-311.pyc,, +PyInstaller/fake-modules/_pyi_rth_utils/__pycache__/tempfile.cpython-311.pyc,, +PyInstaller/fake-modules/_pyi_rth_utils/_win32.py,sha256=8DO_CZTynydjJJmIHCgvvjBpjc46MN5bg0dOkQsIX1M,11564 +PyInstaller/fake-modules/_pyi_rth_utils/qt.py,sha256=24b7dxj7GQQiXeFuYm74TQBDUCGnEdREuQhyvEKAepM,4204 +PyInstaller/fake-modules/_pyi_rth_utils/tempfile.py,sha256=xU--svg9lzC2Aj6dTrQMCh2Zek4-eN1sLrRjKpoEct0,2262 +PyInstaller/fake-modules/pyi_splash.py,sha256=uHOBvS9elRsxhCypWsG_KxB0NmQu6U1gxMLNMa-4_A8,7703 +PyInstaller/hooks/__init__.py,sha256=MsSFjiLMLJZ7QhUPpVBWKiyDnCzryquRyr329NoCACI,2 +PyInstaller/hooks/__pycache__/__init__.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PIL.Image.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PIL.ImageFilter.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PIL.SpiderImagePlugin.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PIL.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QAxContainer.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.Qsci.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.Qt.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DAnimation.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DCore.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DExtras.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DInput.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DLogic.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.Qt3DRender.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtBluetooth.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtChart.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtCore.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtDBus.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtDataVisualization.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtDesigner.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtGui.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtHelp.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtLocation.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtMacExtras.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtMultimedia.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtMultimediaWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtNetwork.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtNetworkAuth.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtNfc.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtOpenGL.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtPositioning.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtPrintSupport.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtPurchasing.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtQml.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtQuick.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtQuick3D.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtQuickWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtRemoteObjects.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtScript.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtSensors.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtSerialPort.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtSql.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtSvg.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtTest.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtTextToSpeech.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebChannel.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebEngine.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebEngineCore.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebEngineWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebKit.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebKitWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtWebSockets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtWinExtras.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtX11Extras.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtXml.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.QtXmlPatterns.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt5.uic.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QAxContainer.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.Qsci.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DAnimation.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DCore.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DExtras.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DInput.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DLogic.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.Qt3DRender.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtBluetooth.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtCharts.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtCore.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtDBus.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtDataVisualization.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtDesigner.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtGraphs.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtGraphsWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtGui.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtHelp.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtMultimedia.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtMultimediaWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtNetwork.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtNetworkAuth.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtNfc.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtOpenGL.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtOpenGLWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtPdf.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtPdfWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtPositioning.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtPrintSupport.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtQml.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtQuick.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtQuick3D.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtQuickWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtRemoteObjects.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtSensors.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtSerialPort.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtSpatialAudio.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtSql.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtStateMachine.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtSvg.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtSvgWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtTest.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtTextToSpeech.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtWebChannel.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtWebEngineCore.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtWebEngineQuick.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtWebEngineWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtWebSockets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.QtXml.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PyQt6.uic.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DAnimation.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DCore.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DExtras.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DInput.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DLogic.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.Qt3DRender.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtAxContainer.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtCharts.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtConcurrent.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtCore.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtDataVisualization.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtGui.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtHelp.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtLocation.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtMacExtras.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtMultimedia.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtMultimediaWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtNetwork.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtOpenGL.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtOpenGLFunctions.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtPositioning.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtPrintSupport.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtQml.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtQuick.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtQuickControls2.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtQuickWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtRemoteObjects.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtScript.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtScriptTools.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtScxml.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtSensors.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtSerialPort.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtSql.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtSvg.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtTest.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtTextToSpeech.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtUiTools.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtWebChannel.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtWebEngine.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtWebEngineCore.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtWebEngineWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtWebKit.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtWebKitWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtWebSockets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtWinExtras.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtX11Extras.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtXml.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.QtXmlPatterns.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.Qwt5.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide2.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DAnimation.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DCore.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DExtras.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DInput.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DLogic.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.Qt3DRender.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtAxContainer.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtBluetooth.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtCharts.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtConcurrent.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtCore.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtDBus.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtDataVisualization.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtDesigner.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtGraphs.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtGraphsWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtGui.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtHelp.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtHttpServer.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtLocation.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtMultimedia.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtMultimediaWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtNetwork.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtNetworkAuth.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtNfc.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtOpenGL.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtOpenGLWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtPdf.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtPdfWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtPositioning.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtPrintSupport.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtQml.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtQuick.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtQuick3D.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtQuickControls2.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtQuickWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtRemoteObjects.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtScxml.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtSensors.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtSerialBus.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtSerialPort.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtSpatialAudio.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtSql.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtStateMachine.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtSvg.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtSvgWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtTest.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtTextToSpeech.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtUiTools.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtWebChannel.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtWebEngineCore.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtWebEngineQuick.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtWebEngineWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtWebSockets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtWidgets.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.QtXml.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-PySide6.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-_ctypes.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-_osx_support.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-_pyi_rth_utils.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-_tkinter.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-babel.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-difflib.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-distutils.command.check.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-distutils.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-distutils.util.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-django.contrib.sessions.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-django.core.cache.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-django.core.mail.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-django.core.management.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-django.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-django.db.backends.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-django.db.backends.mysql.base.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-django.db.backends.oracle.base.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-django.template.loaders.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-encodings.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gevent.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.Adw.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.AppIndicator3.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.Atk.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.AyatanaAppIndicator3.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.Champlain.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.Clutter.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.DBus.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GIRepository.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GLib.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GModule.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GObject.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.Gdk.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GdkPixbuf.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.Gio.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.Graphene.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.Gsk.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.Gst.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstAllocators.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstApp.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstAudio.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstBadAudio.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstBase.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstCheck.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstCodecs.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstController.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstGL.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstGLEGL.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstGLWayland.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstGLX11.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstInsertBin.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstMpegts.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstNet.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstPbutils.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstPlay.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstPlayer.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstRtp.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstRtsp.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstRtspServer.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstSdp.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstTag.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstTranscoder.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstVideo.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstVulkan.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstVulkanWayland.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstVulkanXCB.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GstWebRTC.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.Gtk.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GtkChamplain.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GtkClutter.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GtkSource.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.GtkosxApplication.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.HarfBuzz.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.Pango.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.PangoCairo.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.Rsvg.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.cairo.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.freetype2.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-gi.repository.xlib.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-heapq.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-idlelib.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-importlib_metadata.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-importlib_resources.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-keyring.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-kivy.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-lib2to3.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-matplotlib.backend_bases.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-matplotlib.backends.backend_qtagg.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-matplotlib.backends.backend_qtcairo.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-matplotlib.backends.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-matplotlib.backends.qt_compat.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-matplotlib.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-matplotlib.numerix.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-matplotlib.pyplot.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-multiprocessing.util.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-numpy.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-pandas.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-pandas.io.clipboard.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-pandas.io.formats.style.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-pandas.plotting.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-pickle.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-pkg_resources.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-platform.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-pygments.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-pytz.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-pytzdata.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-qtawesome.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-qtpy.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-scapy.layers.all.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-scipy.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-scipy.io.matlab.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-scipy.linalg.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-scipy.sparse.csgraph.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-scipy.spatial._ckdtree.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-scipy.spatial.transform.rotation.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-scipy.special._ellip_harm_2.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-scipy.special._ufuncs.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-scipy.stats._stats.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-scrapy.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-setuptools._vendor.importlib_metadata.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-setuptools._vendor.jaraco.text.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-setuptools.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-shelve.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-shiboken6.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-sphinx.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-sqlalchemy.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-sqlite3.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-sysconfig.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-wcwidth.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-win32ctypes.core.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-xml.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-xml.dom.domreg.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-xml.etree.cElementTree.cpython-311.pyc,, +PyInstaller/hooks/__pycache__/hook-zope.interface.cpython-311.pyc,, +PyInstaller/hooks/hook-PIL.Image.py,sha256=xVqeatL2Pyud1OfdEd_NsBYoWKgJxYndA5zAJUq65Qs,845 +PyInstaller/hooks/hook-PIL.ImageFilter.py,sha256=SzNTo7kh7tRKKovVkCTWvGg6MHzGBTacbqPI-e55gkk,589 +PyInstaller/hooks/hook-PIL.SpiderImagePlugin.py,sha256=RfNA7s9x1Ti__UNR1aFGJbIAilfhyX99q1hDJ7eWwng,773 +PyInstaller/hooks/hook-PIL.py,sha256=iDHOmiCbD_JVYkhIfyILP8RqfhH16iRONpADqoa-q44,1100 +PyInstaller/hooks/hook-PyQt5.QAxContainer.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.Qsci.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.Qt.py,sha256=0zjBifUSNvurC278Y49db6609OP9D0Ad6uuGSQCQASk,1275 +PyInstaller/hooks/hook-PyQt5.Qt3DAnimation.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.Qt3DCore.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.Qt3DExtras.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.Qt3DInput.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.Qt3DLogic.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.Qt3DRender.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtBluetooth.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtChart.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtCore.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtDBus.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtDataVisualization.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtDesigner.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtGui.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtHelp.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtLocation.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtMacExtras.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtMultimedia.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtMultimediaWidgets.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtNetwork.py,sha256=ulfru1n_aKP8t70lPw9mmA1JOUCUVKRuE2udksUzQHQ,710 +PyInstaller/hooks/hook-PyQt5.QtNetworkAuth.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtNfc.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtOpenGL.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtPositioning.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtPrintSupport.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtPurchasing.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtQml.py,sha256=9iBtfG0pUGnSHFAyzJdUaOX6tftELh1iEYE-BF1f3U8,764 +PyInstaller/hooks/hook-PyQt5.QtQuick.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtQuick3D.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtQuickWidgets.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtRemoteObjects.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtScript.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtSensors.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtSerialPort.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtSql.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtSvg.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtTest.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtTextToSpeech.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtWebChannel.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtWebEngine.py,sha256=8v1T1hQOX9jSD3y6rEiwdEOytqqNB7FxGejXbVkDlMU,633 +PyInstaller/hooks/hook-PyQt5.QtWebEngineCore.py,sha256=aZzbd6E_89Ype_7HqLt987AKQsZ81NWsZJhHz9sxBqA,995 +PyInstaller/hooks/hook-PyQt5.QtWebEngineWidgets.py,sha256=8v1T1hQOX9jSD3y6rEiwdEOytqqNB7FxGejXbVkDlMU,633 +PyInstaller/hooks/hook-PyQt5.QtWebKit.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtWebKitWidgets.py,sha256=8v1T1hQOX9jSD3y6rEiwdEOytqqNB7FxGejXbVkDlMU,633 +PyInstaller/hooks/hook-PyQt5.QtWebSockets.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtWidgets.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtWinExtras.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtX11Extras.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtXml.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.QtXmlPatterns.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PyQt5.py,sha256=EJVCGUfy59jwZgAPgRCfKDMU8xA2nTw-jV_881EoTrU,1182 +PyInstaller/hooks/hook-PyQt5.uic.py,sha256=84RPP_83POC6omCwnWObq5ll63SxVoSvwfhX3j_exD4,979 +PyInstaller/hooks/hook-PyQt6.QAxContainer.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.Qsci.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.Qt3DAnimation.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.Qt3DCore.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.Qt3DExtras.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.Qt3DInput.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.Qt3DLogic.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.Qt3DRender.py,sha256=oVmMojFOwYquJN_iyTDESJ0nhs4ehshmtt46ud2cu0k,670 +PyInstaller/hooks/hook-PyQt6.QtBluetooth.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.QtCharts.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.QtCore.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PyQt6.QtDBus.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.QtDataVisualization.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.QtDesigner.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.QtGraphs.py,sha256=blAESbNJe5EvN8vnKt4Ruf99AfbjB49fo3xO0cJHmWE,752 +PyInstaller/hooks/hook-PyQt6.QtGraphsWidgets.py,sha256=ttLfQTZX2kg5s6FbKjIQLmj1VEnUGLvmfsvLtmyaty0,760 +PyInstaller/hooks/hook-PyQt6.QtGui.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PyQt6.QtHelp.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PyQt6.QtMultimedia.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.QtMultimediaWidgets.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.QtNetwork.py,sha256=dgck_Mmop4kEanguw_yXaedNRxzOOuu7bEtZyVYYh-U,710 +PyInstaller/hooks/hook-PyQt6.QtNetworkAuth.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.QtNfc.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.QtOpenGL.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PyQt6.QtOpenGLWidgets.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PyQt6.QtPdf.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.QtPdfWidgets.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.QtPositioning.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.QtPrintSupport.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PyQt6.QtQml.py,sha256=PLw5WhHb8V0WXXFY69RZLMWIZXwB_lr3mut0AyWmCIw,764 +PyInstaller/hooks/hook-PyQt6.QtQuick.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PyQt6.QtQuick3D.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.QtQuickWidgets.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PyQt6.QtRemoteObjects.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.QtSensors.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.QtSerialPort.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.QtSpatialAudio.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.QtSql.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PyQt6.QtStateMachine.py,sha256=39XOFBtBbyJJUKVIto-dc0wL4XpIxuZZcWTWPtFGkeI,752 +PyInstaller/hooks/hook-PyQt6.QtSvg.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PyQt6.QtSvgWidgets.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.QtTest.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PyQt6.QtTextToSpeech.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.QtWebChannel.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.QtWebEngineCore.py,sha256=ztLvvV7IFg9gGr-uq6HwSGRRqAPuJfwJueHsbwmK_is,1351 +PyInstaller/hooks/hook-PyQt6.QtWebEngineQuick.py,sha256=cq1LjMw4S_JrC47Ihz1kh7td06JQ1FO_a94J0dJFG94,633 +PyInstaller/hooks/hook-PyQt6.QtWebEngineWidgets.py,sha256=cq1LjMw4S_JrC47Ihz1kh7td06JQ1FO_a94J0dJFG94,633 +PyInstaller/hooks/hook-PyQt6.QtWebSockets.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PyQt6.QtWidgets.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PyQt6.QtXml.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PyQt6.py,sha256=9M5liqiED7hrlqRFSJzWn2fgiUjS0-ljCri_lr9PyG0,1025 +PyInstaller/hooks/hook-PyQt6.uic.py,sha256=aqbbDAUty1kOTEHQDKak-N1Yk78pQIXt1LtgLiOw3Sg,979 +PyInstaller/hooks/hook-PySide2.Qt3DAnimation.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.Qt3DCore.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.Qt3DExtras.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.Qt3DInput.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.Qt3DLogic.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.Qt3DRender.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtAxContainer.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtCharts.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtConcurrent.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtCore.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtDataVisualization.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtGui.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtHelp.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtLocation.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtMacExtras.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtMultimedia.py,sha256=DyIsljc-dNhSMZsjyFtouaLp8ZLdhUWQaMeaQQ8cQjY,979 +PyInstaller/hooks/hook-PySide2.QtMultimediaWidgets.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtNetwork.py,sha256=52vtimdyB73bgVxazsQ-VfNnEAj_VDjl9eX0Uk6OVxs,714 +PyInstaller/hooks/hook-PySide2.QtOpenGL.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtOpenGLFunctions.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtPositioning.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtPrintSupport.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtQml.py,sha256=5W2Zr3rpyso-91Hjc28tfRkEYOdulhdwQnOX3uMBBzQ,804 +PyInstaller/hooks/hook-PySide2.QtQuick.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtQuickControls2.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtQuickWidgets.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtRemoteObjects.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtScript.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtScriptTools.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtScxml.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtSensors.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtSerialPort.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtSql.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtSvg.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtTest.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtTextToSpeech.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtUiTools.py,sha256=vK9DFnB41R-Falc9v-vpXr_MvCo719gJfAaYGn_pbAo,710 +PyInstaller/hooks/hook-PySide2.QtWebChannel.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtWebEngine.py,sha256=8v1T1hQOX9jSD3y6rEiwdEOytqqNB7FxGejXbVkDlMU,633 +PyInstaller/hooks/hook-PySide2.QtWebEngineCore.py,sha256=95kMNBhui4wfAOqu0R5P0atuk28qNx76CiglODAnJwQ,1003 +PyInstaller/hooks/hook-PySide2.QtWebEngineWidgets.py,sha256=8v1T1hQOX9jSD3y6rEiwdEOytqqNB7FxGejXbVkDlMU,633 +PyInstaller/hooks/hook-PySide2.QtWebKit.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtWebKitWidgets.py,sha256=8v1T1hQOX9jSD3y6rEiwdEOytqqNB7FxGejXbVkDlMU,633 +PyInstaller/hooks/hook-PySide2.QtWebSockets.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtWidgets.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtWinExtras.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtX11Extras.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtXml.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.QtXmlPatterns.py,sha256=UochHJ51ckZ_syXJyeLM264STUXRCB_RUsv3oCd6g98,633 +PyInstaller/hooks/hook-PySide2.Qwt5.py,sha256=iPZ4IL_gOs0h5pYTjvYHnJCdVCB-sDvpHFpoX-VOh_k,972 +PyInstaller/hooks/hook-PySide2.py,sha256=6vzXvVtUQYJiifknYcvJJdV1ojWoAQJxonYBddpPoiQ,1141 +PyInstaller/hooks/hook-PySide6.Qt3DAnimation.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.Qt3DCore.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.Qt3DExtras.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.Qt3DInput.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.Qt3DLogic.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.Qt3DRender.py,sha256=45jlg3Va-bAusaRaZA3JWfJGg4XgfS_exNnbvCVBPw0,1122 +PyInstaller/hooks/hook-PySide6.QtAxContainer.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtBluetooth.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtCharts.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtConcurrent.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtCore.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PySide6.QtDBus.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtDataVisualization.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtDesigner.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtGraphs.py,sha256=rgWc6i9j5HrbRyVDZjptPrNu24NT-Uc0_bJAj8Z8v9o,628 +PyInstaller/hooks/hook-PySide6.QtGraphsWidgets.py,sha256=w9ICAH2zNa2KniPB7NunLK3MpI1ECJmzkpEaOq2j64Q,764 +PyInstaller/hooks/hook-PySide6.QtGui.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PySide6.QtHelp.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PySide6.QtHttpServer.py,sha256=pnm0JlKbPaJvU4C2CBTZf5YOFdLv0JzstefyQTmc3M8,837 +PyInstaller/hooks/hook-PySide6.QtLocation.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtMultimedia.py,sha256=apdddXdKLkbCSREJo8W9zHP_iZh-wiFGZeezSMYKw2c,981 +PyInstaller/hooks/hook-PySide6.QtMultimediaWidgets.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtNetwork.py,sha256=o1tB7jEyZGCUQzEv-uypg8ghl3iMaEUJR9uppFjlSAk,714 +PyInstaller/hooks/hook-PySide6.QtNetworkAuth.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtNfc.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtOpenGL.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PySide6.QtOpenGLWidgets.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PySide6.QtPdf.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtPdfWidgets.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtPositioning.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtPrintSupport.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PySide6.QtQml.py,sha256=kPZge8513WUfKoV4yr49zND7K-m5oug7gHAZVJt3sDc,768 +PyInstaller/hooks/hook-PySide6.QtQuick.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PySide6.QtQuick3D.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtQuickControls2.py,sha256=rlKwMNNYovkBDloHUZjpQFS6bungJ8ZRjiHaHpPeWhs,671 +PyInstaller/hooks/hook-PySide6.QtQuickWidgets.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PySide6.QtRemoteObjects.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtScxml.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtSensors.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtSerialBus.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtSerialPort.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtSpatialAudio.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtSql.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PySide6.QtStateMachine.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtSvg.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PySide6.QtSvgWidgets.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtTest.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PySide6.QtTextToSpeech.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtUiTools.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PySide6.QtWebChannel.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtWebEngineCore.py,sha256=1UZE0ztcu68M7GFmrKWcnpa2bCQ17-TqcstWktaJg2c,1410 +PyInstaller/hooks/hook-PySide6.QtWebEngineQuick.py,sha256=cq1LjMw4S_JrC47Ihz1kh7td06JQ1FO_a94J0dJFG94,633 +PyInstaller/hooks/hook-PySide6.QtWebEngineWidgets.py,sha256=cq1LjMw4S_JrC47Ihz1kh7td06JQ1FO_a94J0dJFG94,633 +PyInstaller/hooks/hook-PySide6.QtWebSockets.py,sha256=xyYQlN8teZE9iQ9eCbUVKEKG7Q7fKhShb4skrs0llHY,633 +PyInstaller/hooks/hook-PySide6.QtWidgets.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PySide6.QtXml.py,sha256=2F9qD4YqIZq6DMKRegn7DHvS6Eq3IWkBa5SRie11N-o,633 +PyInstaller/hooks/hook-PySide6.py,sha256=_vu5Cx2tP-xeizvYi7oZS2g62KmK8tCfAyvs1Ga7dQY,1279 +PyInstaller/hooks/hook-_ctypes.py,sha256=-RA1I8O6zhuvzfVS7VCsdys75eaSZzclhbgqm2-2uys,941 +PyInstaller/hooks/hook-_osx_support.py,sha256=YlOlf5q3sG9wuU1R7qcn5YV9_9oO0BtXddyR30xXRo0,1047 +PyInstaller/hooks/hook-_pyi_rth_utils.py,sha256=HvliUIYSZQFmhLz9ABAzwK-iNurl6oY_eM9mgJRIcHQ,680 +PyInstaller/hooks/hook-_tkinter.py,sha256=2Sz18FAMHPdfdG1cLIyXTqyoXf5y7UcNDA8CIZLApdU,1191 +PyInstaller/hooks/hook-babel.py,sha256=2W8yoXGOs2c7gmoI71VzKsiVwIrNfOywB3NPK46wweI,924 +PyInstaller/hooks/hook-difflib.py,sha256=whXBs38P70PWAv5IW-L6B3phR_D3gkzzT6jap7PqBCE,577 +PyInstaller/hooks/hook-distutils.command.check.py,sha256=so8h5fLMRsiJrEVWNaAPAekziYQY744kpA2J8BFDioQ,606 +PyInstaller/hooks/hook-distutils.py,sha256=JHrLMrbVMTCwqV83Z84eOaXNYruODZrz-aan1x-2R4c,1893 +PyInstaller/hooks/hook-distutils.util.py,sha256=ogjFFsduAfi4QXp2K-qMovorSZM0Wk-ON9lsIKpn1d0,661 +PyInstaller/hooks/hook-django.contrib.sessions.py,sha256=1bXvBmfdjldiywMQPSkl5e94NShMoUmtTLoW5yN4k3M,635 +PyInstaller/hooks/hook-django.core.cache.py,sha256=yiRj8bhzRhB4rkQWiFe4RAtSuJsRakzfMNg8mtknjzo,629 +PyInstaller/hooks/hook-django.core.mail.py,sha256=Fhwo_CjxNQ8jh9_cu0Z5d0QlX5-8LRO4LusKc3sskwc,1069 +PyInstaller/hooks/hook-django.core.management.py,sha256=g8NXb7a-cgfo0IRIZuravW1YcSxDvLASr1p3trefhQM,942 +PyInstaller/hooks/hook-django.db.backends.mysql.base.py,sha256=XDf5vHB7eUZnQzP_xc68F1w2avWO1vKzAxykpSACHss,611 +PyInstaller/hooks/hook-django.db.backends.oracle.base.py,sha256=NtUXz6s4xJyxJgVXsatrMO3X42RxnVq5-v1JAMVU29k,563 +PyInstaller/hooks/hook-django.db.backends.py,sha256=NTWkllG7dc-TR-6rCkcNvlEfwlmGi8vhVbXxQuOKa8o,983 +PyInstaller/hooks/hook-django.py,sha256=5chCU9FUO1Th8-GcVhQgO4VpovCg9ysU3LWSf3yXWAE,3922 +PyInstaller/hooks/hook-django.template.loaders.py,sha256=rcU0WR52DFFxt91MWHscKaDxhvja94d7Ggejtw_5aH0,626 +PyInstaller/hooks/hook-encodings.py,sha256=zTyqMMiW7ghKxyygcOl6MJfmQwt5EdyD1JJnzB7Ol34,612 +PyInstaller/hooks/hook-gevent.py,sha256=_EFWvRtFto7AN-mx-cBcn6L9u-rtZtLeLbwx7Lv6meM,1011 +PyInstaller/hooks/hook-gi.py,sha256=JANdcD3ll_ZiLRN2EhsEM25YPsY1VIKhxeOetCR6FiA,1075 +PyInstaller/hooks/hook-gi.repository.Adw.py,sha256=NwRYqmZESkyKkpCOJbNq8BVu_h5Y7Qw7_bBSsAWe6As,698 +PyInstaller/hooks/hook-gi.repository.AppIndicator3.py,sha256=Bwid2vErvCkB1kkjYc6QJnnv3_Jqf3VvC1fn2vkz6AY,710 +PyInstaller/hooks/hook-gi.repository.Atk.py,sha256=di-iBdmgg6BNhdXgUi0NSTIilzAF7dAx213vlZXzaIo,1084 +PyInstaller/hooks/hook-gi.repository.AyatanaAppIndicator3.py,sha256=9BTVgthn0s8CLk52V-bB4GRmfxlR7N45CGvAbcG4WNM,717 +PyInstaller/hooks/hook-gi.repository.Champlain.py,sha256=b-WMOJ5wo9IJxTA8VEtRA0DkoLGIKGpZRROt97K6sdA,707 +PyInstaller/hooks/hook-gi.repository.Clutter.py,sha256=VR3XwfcdcerLYuG6C_8jH9DbX9Ka2reBBZ_aFkC8__o,704 +PyInstaller/hooks/hook-gi.repository.DBus.py,sha256=pv9g8ObQCghzaLzGYrf5oYoA0fAhVMGktw1v2d4Okkw,701 +PyInstaller/hooks/hook-gi.repository.GIRepository.py,sha256=pADSM-De6Pa6jl45ZBKeP9ObE2At2vWpKUe-8Q3PUbs,709 +PyInstaller/hooks/hook-gi.repository.GLib.py,sha256=6Lhx56wjr3wl5oeSx134eVVWK2WudF13kPOqzKyfvm4,1490 +PyInstaller/hooks/hook-gi.repository.GModule.py,sha256=fpyExmwwNceUthEUZpS9EuaanoKqc8NAsGFuZgov_mM,704 +PyInstaller/hooks/hook-gi.repository.GObject.py,sha256=KkT6C-YbGIoPMkPfCLXprAWdSB2_Cn6f52-pdQ9c_9s,905 +PyInstaller/hooks/hook-gi.repository.Gdk.py,sha256=gGUVXbJ9sKf8WPjrxjPTlW0QEriKy6gvKre3GTP4NbA,1393 +PyInstaller/hooks/hook-gi.repository.GdkPixbuf.py,sha256=6JhaOIB_M6aUwoUz84Kn5tv7hNi69zTefIFxxMesKWc,6320 +PyInstaller/hooks/hook-gi.repository.Gio.py,sha256=9vMXEAMaiZG0CoHXZXtMHAiXJjVAp1u_b6CPcVWKlew,2605 +PyInstaller/hooks/hook-gi.repository.Graphene.py,sha256=kPN5lzSJZ1yH-wQ0s00vL_zHMckNH7SS1w7dz4-5Dhc,705 +PyInstaller/hooks/hook-gi.repository.Gsk.py,sha256=UK0rvXX0CsHNyJ3SLs29aOnN92KFoSKtSXU08exYzjM,700 +PyInstaller/hooks/hook-gi.repository.Gst.py,sha256=1yevQzFiRUAjzTkwiZOgsQiu6rrUYB_Hg3KpviSfT7c,3461 +PyInstaller/hooks/hook-gi.repository.GstAllocators.py,sha256=ryA-HqngziZjrL3OBCF6zOvqT4INKhejrRi8JNNIB3s,710 +PyInstaller/hooks/hook-gi.repository.GstApp.py,sha256=eyqjhws-xrCrfFFDhqHjp8RV-GLiI5Qop3FSx84aoJA,703 +PyInstaller/hooks/hook-gi.repository.GstAudio.py,sha256=kJnvOIlWDflbCMFNatGsN7Ql1Xvo9ffmdRlzHFnKKT8,705 +PyInstaller/hooks/hook-gi.repository.GstBadAudio.py,sha256=tCt0HhYm9M98SiBREXCrKh__d5KuT0FZFr1QlZhq7BM,708 +PyInstaller/hooks/hook-gi.repository.GstBase.py,sha256=JaETtokmwH78qQfpjesqKTfBEk-1g1ktvMaIpXzFTEU,704 +PyInstaller/hooks/hook-gi.repository.GstCheck.py,sha256=2vgJstFwiiKyARmpag0wfBcU3pevgm8Zo4dySyEzRyg,705 +PyInstaller/hooks/hook-gi.repository.GstCodecs.py,sha256=_IktlFHwuRd7dWNTY7I-WkddtSPTnarXFTOlQXiVt18,706 +PyInstaller/hooks/hook-gi.repository.GstController.py,sha256=IOq8HWRh_VPdY7NT4OV0-pmFAAYYcKBwZ0QA0WIBanY,710 +PyInstaller/hooks/hook-gi.repository.GstGL.py,sha256=L6bSj5NSIu6XMPpC7tjGukuKJtbXVkQsf8zRM_g5EZY,702 +PyInstaller/hooks/hook-gi.repository.GstGLEGL.py,sha256=FrSoWPNESToC36pZGVpVIiiJ3ox798AqZRGUwMiAzSM,705 +PyInstaller/hooks/hook-gi.repository.GstGLWayland.py,sha256=LTQqLLY99wUKQqlbG3eQ_5SRo4g_enehVKUshE3wB8o,709 +PyInstaller/hooks/hook-gi.repository.GstGLX11.py,sha256=CW8_aDTy1eg5-h0scvoDrwf1_WmfSyubG4-LOS-yhlE,705 +PyInstaller/hooks/hook-gi.repository.GstInsertBin.py,sha256=9YyLJmMHQl7i-q1oTZckGC23_YTDbVpTI58fhw9C6A0,709 +PyInstaller/hooks/hook-gi.repository.GstMpegts.py,sha256=1H4EnbwZW70trU8ivRv2EowUZvebs1B5sO27bKX7Lvo,706 +PyInstaller/hooks/hook-gi.repository.GstNet.py,sha256=anwfzAqBlaGh_Kmy25z2-YynVJo4cgKKgsLzvqUtrvU,703 +PyInstaller/hooks/hook-gi.repository.GstPbutils.py,sha256=eIaEhzlsyawjzjiiqNGFwIiflfDWZ1GO1GnY72gIolk,707 +PyInstaller/hooks/hook-gi.repository.GstPlay.py,sha256=kih5CSzeBI2Zgg7DIz-9ZQbs0MKjqbjBKtLE0bE8vzY,704 +PyInstaller/hooks/hook-gi.repository.GstPlayer.py,sha256=4-8kI3EHUf610zfcA6ovaU_1YiMybz8m1jX-N_9dbRM,706 +PyInstaller/hooks/hook-gi.repository.GstRtp.py,sha256=MT5yvnKq1FBaEFIWy0yGZAQKC8Z20tuQUSB_koDwPIw,703 +PyInstaller/hooks/hook-gi.repository.GstRtsp.py,sha256=h7pOjxw1sFEpe33M3r_-24YczqfI1sQg0Y2ZBQ6nlFE,704 +PyInstaller/hooks/hook-gi.repository.GstRtspServer.py,sha256=lAIHSUOIrC7XQ4ZG5AbR2J-OiukSFK2TiBWBLaq7gZo,710 +PyInstaller/hooks/hook-gi.repository.GstSdp.py,sha256=ywxH8YxjksNuhpdeWrGIkSuMBF8xBau-YkYXqFIl9DM,703 +PyInstaller/hooks/hook-gi.repository.GstTag.py,sha256=bu9I6OoSUEVNbkrUOUFHKe0e057INqeMCeyB5AHH0dM,703 +PyInstaller/hooks/hook-gi.repository.GstTranscoder.py,sha256=m6YtxnRBG1wWalzZgtTKOIv8fKvzwiHjepbckfli7vc,710 +PyInstaller/hooks/hook-gi.repository.GstVideo.py,sha256=6wDSl-9fg_C3qorsgiCnHrqR46Y0tA4NnWEQnAX0tug,705 +PyInstaller/hooks/hook-gi.repository.GstVulkan.py,sha256=wQXXd9_Wp03xsu_Y8ml3bGBDj1JjB1NxqYSqZ6XJFUk,706 +PyInstaller/hooks/hook-gi.repository.GstVulkanWayland.py,sha256=0t7TQcr5pJ058whWXN-pVJhYvbmA0bPMkjshDyRWY7Y,713 +PyInstaller/hooks/hook-gi.repository.GstVulkanXCB.py,sha256=CVKjOp2xJ6Iq3MxbtV9nQJTV0TQXvsumojRzI5NkkFM,709 +PyInstaller/hooks/hook-gi.repository.GstWebRTC.py,sha256=9W6manw1GmQKnWA-Cq6rbykbAAoEQB359XBMwRmQWv8,706 +PyInstaller/hooks/hook-gi.repository.Gtk.py,sha256=8kAtofOZcoiBjTgf0S2mBxv5thpFU3JFEeQ5YG8TiTo,2150 +PyInstaller/hooks/hook-gi.repository.GtkChamplain.py,sha256=mk1keoUxkuD8FHfIFW8i9IpSpN2qiUvVRWVNnOco8nI,710 +PyInstaller/hooks/hook-gi.repository.GtkClutter.py,sha256=Yu6TRHQVi42DsZsoKWwE2G-GDGNzMUrxTR5BBQRkyOc,707 +PyInstaller/hooks/hook-gi.repository.GtkSource.py,sha256=MERiaYTs-_swaRUFS1BqJQ5T5FpfrgPSvH9I4pjzKo4,1297 +PyInstaller/hooks/hook-gi.repository.GtkosxApplication.py,sha256=E-nWcs8eef4Gu1N5miKUMaXPMI0xu3O6PRzX1ZkP9Zw,781 +PyInstaller/hooks/hook-gi.repository.HarfBuzz.py,sha256=vUu5j4FBHqQPLGbjhkWJx1tWi86-HxiBmkgRjrXEpko,705 +PyInstaller/hooks/hook-gi.repository.Pango.py,sha256=yB2ZbRI2vG1OuigPDCIGRKqIxPPAE2SGQ5dh5UoL9uU,702 +PyInstaller/hooks/hook-gi.repository.PangoCairo.py,sha256=0z-JkDB74mtvK-qBbIpqB9UmChAPfcY4Z0cdXa7156U,707 +PyInstaller/hooks/hook-gi.repository.Rsvg.py,sha256=MSJ-t4VyiKdxUy51pxwmpl6dZ6X-PUJ3pPyrn4bVtvk,696 +PyInstaller/hooks/hook-gi.repository.cairo.py,sha256=8E7NMq7RGLg5S506KrHp02qPi8Xq70cTQLz8-2L1Yko,702 +PyInstaller/hooks/hook-gi.repository.freetype2.py,sha256=X6cMHL6XRVrw92SFGRAmwCrWm_k8fHJdk8bVsBxUAnY,706 +PyInstaller/hooks/hook-gi.repository.xlib.py,sha256=MvSXmdVHKrEPpbCRVikFfpK_tCPifwGSyTjkxZ70WMA,701 +PyInstaller/hooks/hook-heapq.py,sha256=gjF79X1Jt5zDPGD9Q_VdmBfn8_NZCn622l7YArn2u38,578 +PyInstaller/hooks/hook-idlelib.py,sha256=96jkUh7GNAPaBdV2ebvtuW7QhnmVMp8F_uvRl7IEyug,602 +PyInstaller/hooks/hook-importlib_metadata.py,sha256=lWesTFNaBn9FjUekBi82wqRwZTU35JqeXRRdBn8hvUA,1350 +PyInstaller/hooks/hook-importlib_resources.py,sha256=qnYt9Bu6zOErsKmDsk6dX7ImRVwCV_cDNSZJRFK7Hxo,1015 +PyInstaller/hooks/hook-keyring.py,sha256=bYnya8YRlh8Cn1DLoDNINWMp_YTKgnSZafhHIecGS1Y,888 +PyInstaller/hooks/hook-kivy.py,sha256=QlC2_9p6MqyKuIVePUGVHzxl_y4j7EC3k_Wlr5UKdXc,1126 +PyInstaller/hooks/hook-lib2to3.py,sha256=uU3mDEtYPN-Z_GxO-zt6orNo7qK8Q_30bSugb02RyPo,653 +PyInstaller/hooks/hook-matplotlib.backend_bases.py,sha256=7iniaWkwXT6sohBNGxq9mA1EpQdZe8i6G4-FdW25Eos,533 +PyInstaller/hooks/hook-matplotlib.backends.backend_qtagg.py,sha256=P1oAFSt-848iD4kuhE4AthDGWXmsV1tgI9gPTCMOLWM,894 +PyInstaller/hooks/hook-matplotlib.backends.backend_qtcairo.py,sha256=tBYzMUrY7pKSuBklcAJvVrKZ8mddX1O-nxy_YgkIrq8,896 +PyInstaller/hooks/hook-matplotlib.backends.py,sha256=hHVvlAX_SfB97kVDK4vcGgXWpEYQsnlfabnLowfSFaE,9656 +PyInstaller/hooks/hook-matplotlib.backends.qt_compat.py,sha256=YmmBT0MiyEDmVXrNMpgj0G9EEjUma2a5xGsCUSpvWoM,1284 +PyInstaller/hooks/hook-matplotlib.numerix.py,sha256=IeAi4MV6B5QJ1xhrrknpna6W7GOoU-hHZDqGRi0jJbw,683 +PyInstaller/hooks/hook-matplotlib.py,sha256=oScRuUc0Y3jXjp_Yy1vkyETtkrOZzwRr-eWmWKOeDhY,1568 +PyInstaller/hooks/hook-matplotlib.pyplot.py,sha256=Z_bOet2njmp6DZt4nc6afxLyGBCbgSsj9TEc3rerX0o,560 +PyInstaller/hooks/hook-multiprocessing.util.py,sha256=d9rgj6yOLda8nXxCQofqgcQABGhl4snJu-oIA4tk8zw,791 +PyInstaller/hooks/hook-numpy.py,sha256=_bfCsgFEid-ln8SDvmMkJ93pBbasCbAjxV9YAsBZGYM,6435 +PyInstaller/hooks/hook-pandas.io.clipboard.py,sha256=syzylK5jU3Lm8IFomqrdtKx_-rZzdEGUnG5X6vaquC4,1156 +PyInstaller/hooks/hook-pandas.io.formats.style.py,sha256=zxvJxol9G5FwRjU90EpmzgMBlzx03lrLkAorhDAXxa4,751 +PyInstaller/hooks/hook-pandas.plotting.py,sha256=XGZMzp_CUX8VTzLG-4Stbb8AAM_ICnW758-eQGrBDwc,938 +PyInstaller/hooks/hook-pandas.py,sha256=x7kjmXFdtYYWYlBMgNq4wjO0vMalSrf_XgJiB-vxq2o,955 +PyInstaller/hooks/hook-pickle.py,sha256=UodGjHVD_QtTR8VW2mQ8XL4toCpHYfU3QIVwPd1DOu4,589 +PyInstaller/hooks/hook-pkg_resources.py,sha256=CoQupujLoZgi79d_flMEhFPpOUJxDJGXgqBXCww3cLI,3563 +PyInstaller/hooks/hook-platform.py,sha256=PXPyeR-xcVpVagddP0opUdW6QNi5F_gOTkl7f4b77S8,713 +PyInstaller/hooks/hook-pygments.py,sha256=bFqk7NfL9GXrMTDCWUv1oOK9pQbx1354THBLlgsqOFE,1184 +PyInstaller/hooks/hook-pytz.py,sha256=R99csLktIulf07o-Sg2hVfF6BxVmodBR7-VWn6JVzr8,968 +PyInstaller/hooks/hook-pytzdata.py,sha256=h6qOdqNVmFnWE0b1DeE-gpVqeL-MVs25VbC-s8dsvNY,603 +PyInstaller/hooks/hook-qtawesome.py,sha256=UDQFON0R3GbQoPxJ2nBYmr11FOVbc2mZn0jWg0i8q28,792 +PyInstaller/hooks/hook-qtpy.py,sha256=Imf8Sma0zykdKY_ltMlKtccb0CWPsL0DY0UWjU2ckYE,1179 +PyInstaller/hooks/hook-scapy.layers.all.py,sha256=71caVRTCmcClHNBwlmRKKBHZfWEYE9qubn_DNxN8Xbo,930 +PyInstaller/hooks/hook-scipy.io.matlab.py,sha256=_W8WtCFFsLIoxUX5DRDj2YULfi4bo13OkK6MoNKj25g,655 +PyInstaller/hooks/hook-scipy.linalg.py,sha256=iXsaTpTOgNalynuMqMdI0JRenRsZ1G5kx_D8EKJWaRU,633 +PyInstaller/hooks/hook-scipy.py,sha256=WalWq9WnqRkPUTtGuvzqgGhNQTSSt0TirT4Rt0WBRng,2943 +PyInstaller/hooks/hook-scipy.sparse.csgraph.py,sha256=pCQv4w_ReJsQCl0udEomCM9WcrsYVJ1QGxxW5IikLLY,611 +PyInstaller/hooks/hook-scipy.spatial._ckdtree.py,sha256=9cQwER19CKpDXOpaUniZIpg4Oj3AdycsV1g_KVfE4Sw,759 +PyInstaller/hooks/hook-scipy.spatial.transform.rotation.py,sha256=YJ44N1xt8P1SB3PKSfuPiB1E2iV1MSLWLMKS_hSmlL0,793 +PyInstaller/hooks/hook-scipy.special._ellip_harm_2.py,sha256=UlLNQkgYOCFCmMItBKvvVRwSUZpAWJRst0IpdJqX8M4,1317 +PyInstaller/hooks/hook-scipy.special._ufuncs.py,sha256=v1GYZ6g5NA9g0GfZV7ymBz-xIGD_3oWv9MoaPGxSElA,1258 +PyInstaller/hooks/hook-scipy.stats._stats.py,sha256=9HkYRAJhusS5gyXIvhBjtkc2z0EjvtMY_0zTBxq70sY,656 +PyInstaller/hooks/hook-scrapy.py,sha256=360AxhD-RoAKPY9gNo-DW4Yx9YCc1WTTJ_VKRu6Amp0,819 +PyInstaller/hooks/hook-setuptools._vendor.importlib_metadata.py,sha256=olw_k1O_UERG8lXz7aqi3iOg7svYNEAZX6t3dDXRxg0,1127 +PyInstaller/hooks/hook-setuptools._vendor.jaraco.text.py,sha256=4mzkjFNSvo27UGVm6dteGPB8ilUgb1LEbnmnSiMeW6o,927 +PyInstaller/hooks/hook-setuptools.py,sha256=iyfdli1uj8DMObrg9mDuCK55KhlezS2cdJWHQt9PeUw,4466 +PyInstaller/hooks/hook-shelve.py,sha256=ToCfEfqwboTS42HS9Ugv1h0xAo2M_CmBb8_gP2cldqE,603 +PyInstaller/hooks/hook-shiboken6.py,sha256=1krp8Ui-4Kl5IoPzX3HECUmD5BG2M0J3LNHLvaVnpw0,766 +PyInstaller/hooks/hook-sphinx.py,sha256=fc8mbEuArO9mEelgapVJjI3Lcln1u4d_XkW4nMudpYE,1998 +PyInstaller/hooks/hook-sqlalchemy.py,sha256=14Ccv93R6oHjyYlXTQ-l0F3x1xcf_4xkI_O0Hk4jOmc,3496 +PyInstaller/hooks/hook-sqlite3.py,sha256=oZ2oAKTuORGunOzbvMDyRKV9lLpDbMede9ozuyLDeqM,813 +PyInstaller/hooks/hook-sysconfig.py,sha256=5IcB6ZlhVkP6kf8csyo8Xrz7WleJTbWEhMZKoswAUu0,1558 +PyInstaller/hooks/hook-wcwidth.py,sha256=zWcpM-dXNP7vuhDyjEMhlsjWQQ9WPtTtxn1S9xG5jc8,602 +PyInstaller/hooks/hook-win32ctypes.core.py,sha256=_IqEnHRy2Jhq-57MKZGFZGS5Bvg53vMp9eQqzeaJY0E,1204 +PyInstaller/hooks/hook-xml.dom.domreg.py,sha256=dCHWL_UpnTqCnrv7DL3-IWULcqthaJVtm2WX4FTmPHo,569 +PyInstaller/hooks/hook-xml.etree.cElementTree.py,sha256=Duh1C8zTwmt_lg_Ek9rLgxxww88fgpiuGyI8OynK-q8,615 +PyInstaller/hooks/hook-xml.py,sha256=oxHKZoo7YNgI_8qG9q3wgYukjIDr27PL8Wv051SrzyA,569 +PyInstaller/hooks/hook-zope.interface.py,sha256=1Xrezxtifo9OUMPDTDGGaEoOn04xIU33OsO_lvX2gWM,539 +PyInstaller/hooks/pre_find_module_path/__init__.py,sha256=MsSFjiLMLJZ7QhUPpVBWKiyDnCzryquRyr329NoCACI,2 +PyInstaller/hooks/pre_find_module_path/__pycache__/__init__.cpython-311.pyc,, +PyInstaller/hooks/pre_find_module_path/__pycache__/hook-PyQt5.uic.port_v2.cpython-311.pyc,, +PyInstaller/hooks/pre_find_module_path/__pycache__/hook-_pyi_rth_utils.cpython-311.pyc,, +PyInstaller/hooks/pre_find_module_path/__pycache__/hook-distutils.cpython-311.pyc,, +PyInstaller/hooks/pre_find_module_path/__pycache__/hook-pyi_splash.cpython-311.pyc,, +PyInstaller/hooks/pre_find_module_path/__pycache__/hook-tkinter.cpython-311.pyc,, +PyInstaller/hooks/pre_find_module_path/hook-PyQt5.uic.port_v2.py,sha256=lMGJ1xNvaAxuHkGivHHno1q7QZ_F0WsTKstlmc4NcHc,696 +PyInstaller/hooks/pre_find_module_path/hook-_pyi_rth_utils.py,sha256=cPgCZrMJdWTO43CEN4J3mvtlzF9yWlEBsEmzi5u8fyo,905 +PyInstaller/hooks/pre_find_module_path/hook-distutils.py,sha256=yLU8K5hn85G2y5Hs_XF0hgMP9hQg3qIqOJKEv2q39jo,2347 +PyInstaller/hooks/pre_find_module_path/hook-pyi_splash.py,sha256=edbvRQ2Thc2qHA36uUCLHPC-HIembOEkr5bA8orH9pU,1412 +PyInstaller/hooks/pre_find_module_path/hook-tkinter.py,sha256=lbu1k3kYhULblbqn90-g5GN2qir7Rz7ShbTfYEyGAiw,834 +PyInstaller/hooks/pre_safe_import_module/__init__.py,sha256=MsSFjiLMLJZ7QhUPpVBWKiyDnCzryquRyr329NoCACI,2 +PyInstaller/hooks/pre_safe_import_module/__pycache__/__init__.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-autocommand.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-backports.tarfile.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-distutils.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.overrides.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Adw.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.AppIndicator3.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Atk.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.AyatanaAppIndicator3.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Champlain.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Clutter.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.DBus.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GIRepository.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GLib.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GModule.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GObject.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Gdk.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GdkPixbuf.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Gio.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Graphene.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Gsk.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Gst.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstAllocators.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstApp.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstAudio.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstBadAudio.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstBase.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstCheck.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstCodecs.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstController.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstGL.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstGLEGL.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstGLWayland.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstGLX11.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstInsertBin.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstMpegts.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstNet.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstPbutils.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstPlay.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstPlayer.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstRtp.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstRtsp.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstRtspServer.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstSdp.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstTag.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstTranscoder.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstVideo.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstVulkan.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstVulkanWayland.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstVulkanXCB.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GstWebRTC.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Gtk.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GtkChamplain.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GtkClutter.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GtkSource.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.GtkosxApplication.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.HarfBuzz.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Pango.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.PangoCairo.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.Rsvg.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.cairo.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.freetype2.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-gi.repository.xlib.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-importlib_metadata.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-importlib_resources.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-inflect.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-jaraco.context.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-jaraco.functools.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-jaraco.text.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-more_itertools.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-ordered_set.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-packaging.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-platformdirs.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-setuptools.extern.six.moves.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-six.moves.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-tomli.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-typeguard.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-typing_extensions.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-urllib3.packages.six.moves.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-wheel.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/__pycache__/hook-zipp.cpython-311.pyc,, +PyInstaller/hooks/pre_safe_import_module/hook-autocommand.py,sha256=O56uUBdY_je3jGpxwWo_qyKHCUPZX805adawrj8kBBE,924 +PyInstaller/hooks/pre_safe_import_module/hook-backports.tarfile.py,sha256=O56uUBdY_je3jGpxwWo_qyKHCUPZX805adawrj8kBBE,924 +PyInstaller/hooks/pre_safe_import_module/hook-distutils.py,sha256=LDvJiYH0gr2-e5UC0wD5U2MU2jB2KHvGIlDqmMT4Ubw,1235 +PyInstaller/hooks/pre_safe_import_module/hook-gi.overrides.py,sha256=hKhJpZtsRAsds1zJNXLTugc--aj_WyX0f6n9be2Kvd4,967 +PyInstaller/hooks/pre_safe_import_module/hook-gi.py,sha256=pMxtWOGZGHgWx2DEEv9JNNXNZ2F5P47qVZ_ULYwveEk,2123 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Adw.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.AppIndicator3.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Atk.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.AyatanaAppIndicator3.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Champlain.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Clutter.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.DBus.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GIRepository.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GLib.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GModule.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GObject.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Gdk.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GdkPixbuf.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Gio.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Graphene.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Gsk.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Gst.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstAllocators.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstApp.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstAudio.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstBadAudio.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstBase.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstCheck.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstCodecs.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstController.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstGL.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstGLEGL.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstGLWayland.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstGLX11.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstInsertBin.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstMpegts.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstNet.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstPbutils.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstPlay.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstPlayer.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstRtp.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstRtsp.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstRtspServer.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstSdp.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstTag.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstTranscoder.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstVideo.py,sha256=wwWsrx5A4AsvLZimx7h9M9T0gBFBqPXb5z2MIgX3EEs,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstVulkan.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstVulkanWayland.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstVulkanXCB.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GstWebRTC.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Gtk.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GtkChamplain.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GtkClutter.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GtkSource.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GtkosxApplication.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.HarfBuzz.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Pango.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.PangoCairo.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Rsvg.py,sha256=chs1dkxyPW2BIP7sE38MzcWJuoCrZcV7bl83D3y5vaU,778 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.cairo.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.freetype2.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.xlib.py,sha256=c5f74KePUHt-7fH_tJQfuqB44ysYTLbCm76u2QVB07U,783 +PyInstaller/hooks/pre_safe_import_module/hook-importlib_metadata.py,sha256=O56uUBdY_je3jGpxwWo_qyKHCUPZX805adawrj8kBBE,924 +PyInstaller/hooks/pre_safe_import_module/hook-importlib_resources.py,sha256=O56uUBdY_je3jGpxwWo_qyKHCUPZX805adawrj8kBBE,924 +PyInstaller/hooks/pre_safe_import_module/hook-inflect.py,sha256=O56uUBdY_je3jGpxwWo_qyKHCUPZX805adawrj8kBBE,924 +PyInstaller/hooks/pre_safe_import_module/hook-jaraco.context.py,sha256=O56uUBdY_je3jGpxwWo_qyKHCUPZX805adawrj8kBBE,924 +PyInstaller/hooks/pre_safe_import_module/hook-jaraco.functools.py,sha256=O56uUBdY_je3jGpxwWo_qyKHCUPZX805adawrj8kBBE,924 +PyInstaller/hooks/pre_safe_import_module/hook-jaraco.text.py,sha256=O56uUBdY_je3jGpxwWo_qyKHCUPZX805adawrj8kBBE,924 +PyInstaller/hooks/pre_safe_import_module/hook-more_itertools.py,sha256=O56uUBdY_je3jGpxwWo_qyKHCUPZX805adawrj8kBBE,924 +PyInstaller/hooks/pre_safe_import_module/hook-ordered_set.py,sha256=O56uUBdY_je3jGpxwWo_qyKHCUPZX805adawrj8kBBE,924 +PyInstaller/hooks/pre_safe_import_module/hook-packaging.py,sha256=O56uUBdY_je3jGpxwWo_qyKHCUPZX805adawrj8kBBE,924 +PyInstaller/hooks/pre_safe_import_module/hook-platformdirs.py,sha256=O56uUBdY_je3jGpxwWo_qyKHCUPZX805adawrj8kBBE,924 +PyInstaller/hooks/pre_safe_import_module/hook-setuptools.extern.six.moves.py,sha256=A-aFL3cZ_AgA2Ia5UPEnFijM5vCP-S-U24kiOMrgdpY,1629 +PyInstaller/hooks/pre_safe_import_module/hook-six.moves.py,sha256=drAs8emHi0X9vxDtKo-n3XBTanM6RuJPJATfVoVFOXE,3744 +PyInstaller/hooks/pre_safe_import_module/hook-tomli.py,sha256=O56uUBdY_je3jGpxwWo_qyKHCUPZX805adawrj8kBBE,924 +PyInstaller/hooks/pre_safe_import_module/hook-typeguard.py,sha256=O56uUBdY_je3jGpxwWo_qyKHCUPZX805adawrj8kBBE,924 +PyInstaller/hooks/pre_safe_import_module/hook-typing_extensions.py,sha256=O56uUBdY_je3jGpxwWo_qyKHCUPZX805adawrj8kBBE,924 +PyInstaller/hooks/pre_safe_import_module/hook-urllib3.packages.six.moves.py,sha256=vLiXNHM4LwX4sWP6j_pQnBpLpwFXz0TCxHnQpqUdjf8,1380 +PyInstaller/hooks/pre_safe_import_module/hook-wheel.py,sha256=O56uUBdY_je3jGpxwWo_qyKHCUPZX805adawrj8kBBE,924 +PyInstaller/hooks/pre_safe_import_module/hook-zipp.py,sha256=O56uUBdY_je3jGpxwWo_qyKHCUPZX805adawrj8kBBE,924 +PyInstaller/hooks/rthooks.dat,sha256=bdXIqqe9MG02b81XxSNDeewioDtjKLydPCyiPZsX9g8,956 +PyInstaller/hooks/rthooks/__init__.py,sha256=MsSFjiLMLJZ7QhUPpVBWKiyDnCzryquRyr329NoCACI,2 +PyInstaller/hooks/rthooks/__pycache__/__init__.cpython-311.pyc,, +PyInstaller/hooks/rthooks/__pycache__/pyi_rth__tkinter.cpython-311.pyc,, +PyInstaller/hooks/rthooks/__pycache__/pyi_rth_django.cpython-311.pyc,, +PyInstaller/hooks/rthooks/__pycache__/pyi_rth_gdkpixbuf.cpython-311.pyc,, +PyInstaller/hooks/rthooks/__pycache__/pyi_rth_gi.cpython-311.pyc,, +PyInstaller/hooks/rthooks/__pycache__/pyi_rth_gio.cpython-311.pyc,, +PyInstaller/hooks/rthooks/__pycache__/pyi_rth_glib.cpython-311.pyc,, +PyInstaller/hooks/rthooks/__pycache__/pyi_rth_gstreamer.cpython-311.pyc,, +PyInstaller/hooks/rthooks/__pycache__/pyi_rth_gtk.cpython-311.pyc,, +PyInstaller/hooks/rthooks/__pycache__/pyi_rth_inspect.cpython-311.pyc,, +PyInstaller/hooks/rthooks/__pycache__/pyi_rth_kivy.cpython-311.pyc,, +PyInstaller/hooks/rthooks/__pycache__/pyi_rth_mplconfig.cpython-311.pyc,, +PyInstaller/hooks/rthooks/__pycache__/pyi_rth_multiprocessing.cpython-311.pyc,, +PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pkgres.cpython-311.pyc,, +PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pkgutil.cpython-311.pyc,, +PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pyqt5.cpython-311.pyc,, +PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pyqt6.cpython-311.pyc,, +PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pyside2.cpython-311.pyc,, +PyInstaller/hooks/rthooks/__pycache__/pyi_rth_pyside6.cpython-311.pyc,, +PyInstaller/hooks/rthooks/__pycache__/pyi_rth_setuptools.cpython-311.pyc,, +PyInstaller/hooks/rthooks/pyi_rth__tkinter.py,sha256=iF0MUBG5v18Mygb1sgqkvSgFPGmgF-z0DmtlOK2n9DE,1381 +PyInstaller/hooks/rthooks/pyi_rth_django.py,sha256=9FeO_ektm32U-b-dZvvNdjrT0S6-H3I5rFCHSvBmG0A,1111 +PyInstaller/hooks/rthooks/pyi_rth_gdkpixbuf.py,sha256=EkY4CtxJbg0SGAh32whgj0vBeSW1v64PPuveWkOS8NE,1436 +PyInstaller/hooks/rthooks/pyi_rth_gi.py,sha256=H5wdL7AjlrfPib7En_YYLebfltmm5V4AUZ_PacAEFlQ,632 +PyInstaller/hooks/rthooks/pyi_rth_gio.py,sha256=6T0LIFqi8l5HzCWE-0mYIQ6DaxNGn0533Xn7V0uhLZo,631 +PyInstaller/hooks/rthooks/pyi_rth_glib.py,sha256=s7VmqbBTJBAU--RrroztL5u7CY3seSbFM6xR6BpCa1U,1444 +PyInstaller/hooks/rthooks/pyi_rth_gstreamer.py,sha256=QKecSKSWJP-hLaD8NFM38rYIhKrGmxxWPRIqpAXUS9A,1174 +PyInstaller/hooks/rthooks/pyi_rth_gtk.py,sha256=yR1NT5tRR-g9y-bG7Tk7ZosPTNHMnV7KFme7dlz6NFA,886 +PyInstaller/hooks/rthooks/pyi_rth_inspect.py,sha256=6dsxH5e3UKMKQi4L8r3P91FNpnzTWw9hia14aVb_Grw,5809 +PyInstaller/hooks/rthooks/pyi_rth_kivy.py,sha256=jIBZeNe2Kmbxi00XJ96l5KvNWD9KCvzFQp-Ug93-FpU,737 +PyInstaller/hooks/rthooks/pyi_rth_mplconfig.py,sha256=XuCFEHpud0vYuwQX56LcuGoZgkjB_pHPyseJcs5UwSY,1808 +PyInstaller/hooks/rthooks/pyi_rth_multiprocessing.py,sha256=6a2ZoTIVNGKHdB-aAAfG7dVN56R9soM5AJV0-D9T-Yg,2219 +PyInstaller/hooks/rthooks/pyi_rth_pkgres.py,sha256=GUwPb_352RjVnfnnoEYruG1gbZGjrCqCfcK3ockc_xQ,8867 +PyInstaller/hooks/rthooks/pyi_rth_pkgutil.py,sha256=fQBqlnVnS5zH2LEeqYrQN63qXb2269-bekXIYVAcQgQ,3066 +PyInstaller/hooks/rthooks/pyi_rth_pyqt5.py,sha256=og6YoJVF0NfPDvZUCydq5Hc1mOylHfoPlZr5U9FDQ4c,3542 +PyInstaller/hooks/rthooks/pyi_rth_pyqt6.py,sha256=La9r6nfWJzXPGi9llkcEq5PvLaZLnkqdhCMhySS6oQY,3803 +PyInstaller/hooks/rthooks/pyi_rth_pyside2.py,sha256=UNxayNyGCcbxheNwM0zz9shmGuOcy4ubIr0OQ0qHJms,3235 +PyInstaller/hooks/rthooks/pyi_rth_pyside6.py,sha256=0SAB-MUdyPdxFNnUgHixB-HXwNvYnQOPTucn08GlN6s,3730 +PyInstaller/hooks/rthooks/pyi_rth_setuptools.py,sha256=rrDcdbUGSuUnUeXDRR_HalxM1-ghtJiWFIgOvOIIMPo,1430 +PyInstaller/isolated/__init__.py,sha256=eY1YBvBNir3Mwn2-lSXEBmiY-i_jz1ZZ_uQVRq_qZms,1526 +PyInstaller/isolated/__pycache__/__init__.cpython-311.pyc,, +PyInstaller/isolated/__pycache__/_child.cpython-311.pyc,, +PyInstaller/isolated/__pycache__/_parent.cpython-311.pyc,, +PyInstaller/isolated/_child.py,sha256=sQERIgcb0bB38MAZP2s6UM29yEKkVeB_jV0lEHXckzQ,3980 +PyInstaller/isolated/_parent.py,sha256=w1AGtK8vWlazpJUaAjlBV10MSs1JEtfVnxq_T40pY2Q,18005 +PyInstaller/lib/README.rst,sha256=VdkvnJUKg6D2bv3nfb-bJoWQ00jTf-pLbvv7KbsSaTA,1333 +PyInstaller/lib/__init__.py,sha256=MsSFjiLMLJZ7QhUPpVBWKiyDnCzryquRyr329NoCACI,2 +PyInstaller/lib/__pycache__/__init__.cpython-311.pyc,, +PyInstaller/lib/modulegraph/__init__.py,sha256=q1XQN2YGfSINUSLuBsTs7uhMArf62AFQxdSrq3fS4-o,21 +PyInstaller/lib/modulegraph/__main__.py,sha256=hiwjxxmiY3QfLQ7f0Pd_eSDQYL8MXQyQtkRoJSHe3hU,2653 +PyInstaller/lib/modulegraph/__pycache__/__init__.cpython-311.pyc,, +PyInstaller/lib/modulegraph/__pycache__/__main__.cpython-311.pyc,, +PyInstaller/lib/modulegraph/__pycache__/find_modules.cpython-311.pyc,, +PyInstaller/lib/modulegraph/__pycache__/modulegraph.cpython-311.pyc,, +PyInstaller/lib/modulegraph/__pycache__/util.cpython-311.pyc,, +PyInstaller/lib/modulegraph/find_modules.py,sha256=D3B5WujxMc6syDuReriZfwxoFw7mBbkLj3-MADyVLD8,1754 +PyInstaller/lib/modulegraph/modulegraph.py,sha256=uHOZSVUAE60EGIrY9z_Qs6he8LhtsHLXI5StIbeO6-k,132804 +PyInstaller/lib/modulegraph/util.py,sha256=S-0SI65fylZqvy0bN-xMB1xRYp5o0qo7UJnX5IwCzcg,849 +PyInstaller/loader/__init__.py,sha256=MsSFjiLMLJZ7QhUPpVBWKiyDnCzryquRyr329NoCACI,2 +PyInstaller/loader/__pycache__/__init__.cpython-311.pyc,, +PyInstaller/loader/__pycache__/pyiboot01_bootstrap.cpython-311.pyc,, +PyInstaller/loader/__pycache__/pyimod01_archive.cpython-311.pyc,, +PyInstaller/loader/__pycache__/pyimod02_importers.cpython-311.pyc,, +PyInstaller/loader/__pycache__/pyimod03_ctypes.cpython-311.pyc,, +PyInstaller/loader/__pycache__/pyimod04_pywin32.cpython-311.pyc,, +PyInstaller/loader/pyiboot01_bootstrap.py,sha256=L-dAFf4veUwC6xF9qXPvCxuimCDVYyf_f8QU5cJ803A,3712 +PyInstaller/loader/pyimod01_archive.py,sha256=HcG1UlFrK2hsq3iZvhhRLmqUszx7iU84MkNwq6nUtVo,5353 +PyInstaller/loader/pyimod02_importers.py,sha256=M-eGrcINJHzFrPAuqgIfhinzC409W_ih5lEIjMoTLu8,36530 +PyInstaller/loader/pyimod03_ctypes.py,sha256=qTwuwWd8xdd_pMAAE2udo29hOI-VNvKxpmGTsynR8xI,4914 +PyInstaller/loader/pyimod04_pywin32.py,sha256=vFVETWdFpZIroatj0TGpDE2fAMgAVTs80IQjrNGYKuw,2936 +PyInstaller/log.py,sha256=SSZ3NemgYXUOXstVKATS9I2yHTgWQubljlZoFG4DgAk,2065 +PyInstaller/utils/__init__.py,sha256=MsSFjiLMLJZ7QhUPpVBWKiyDnCzryquRyr329NoCACI,2 +PyInstaller/utils/__pycache__/__init__.cpython-311.pyc,, +PyInstaller/utils/__pycache__/conftest.cpython-311.pyc,, +PyInstaller/utils/__pycache__/misc.cpython-311.pyc,, +PyInstaller/utils/__pycache__/osx.cpython-311.pyc,, +PyInstaller/utils/__pycache__/run_tests.cpython-311.pyc,, +PyInstaller/utils/__pycache__/tests.cpython-311.pyc,, +PyInstaller/utils/cliutils/__init__.py,sha256=MsSFjiLMLJZ7QhUPpVBWKiyDnCzryquRyr329NoCACI,2 +PyInstaller/utils/cliutils/__pycache__/__init__.cpython-311.pyc,, +PyInstaller/utils/cliutils/__pycache__/archive_viewer.cpython-311.pyc,, +PyInstaller/utils/cliutils/__pycache__/bindepend.cpython-311.pyc,, +PyInstaller/utils/cliutils/__pycache__/grab_version.cpython-311.pyc,, +PyInstaller/utils/cliutils/__pycache__/makespec.cpython-311.pyc,, +PyInstaller/utils/cliutils/__pycache__/set_version.cpython-311.pyc,, +PyInstaller/utils/cliutils/archive_viewer.py,sha256=TApsAzyxsO0TL02Dyu0G_u-ckOmZnuy-UoVQ2bNfjwQ,9253 +PyInstaller/utils/cliutils/bindepend.py,sha256=3ds2RnLHUtRYZricqMPRjMcVccKsn9zcwauPCFIRHLA,1844 +PyInstaller/utils/cliutils/grab_version.py,sha256=lfBf_ow1Q4PmwIftV-9hMFEq7eWIWAi5we1au5p6yhI,1857 +PyInstaller/utils/cliutils/makespec.py,sha256=dO9-KTe_lsUFlurY2gF6bOnd7OAn2hvGcmgg2n-GBSs,1640 +PyInstaller/utils/cliutils/set_version.py,sha256=FbC-FfXZs3W0XAvpgsy16T8HPJgZbFlHd2xB9EBwIMc,1503 +PyInstaller/utils/conftest.py,sha256=tWhDXfxBPdgePCdZcVWJh1SGMCH3lpoGybD7JmvaIhs,26243 +PyInstaller/utils/hooks/__init__.py,sha256=2GOLqXWVVdLdcsl-lTd5MkY3slLvhkwUQ7bdIis1Cys,55139 +PyInstaller/utils/hooks/__pycache__/__init__.cpython-311.pyc,, +PyInstaller/utils/hooks/__pycache__/conda.cpython-311.pyc,, +PyInstaller/utils/hooks/__pycache__/django.cpython-311.pyc,, +PyInstaller/utils/hooks/__pycache__/gi.cpython-311.pyc,, +PyInstaller/utils/hooks/__pycache__/setuptools.cpython-311.pyc,, +PyInstaller/utils/hooks/__pycache__/tcl_tk.cpython-311.pyc,, +PyInstaller/utils/hooks/conda.py,sha256=bgygZ2Gp_koKiljtzx-mYAtz6_lWri0znzHshVw_kVA,15209 +PyInstaller/utils/hooks/django.py,sha256=veWnLehyo9xC94_D0TchQuCL4M2-T6EVjNrsoUEoiO0,6135 +PyInstaller/utils/hooks/gi.py,sha256=gAMVjICXEjrnqJCmGYLYmtvwzr0MNjau57O3qDnUwtY,19112 +PyInstaller/utils/hooks/qt/__init__.py,sha256=OTAUqiQFoZJCPCh0_kl_-tsKInz8Fi-8nSn4dFPAxFw,75633 +PyInstaller/utils/hooks/qt/__pycache__/__init__.cpython-311.pyc,, +PyInstaller/utils/hooks/qt/__pycache__/_modules_info.cpython-311.pyc,, +PyInstaller/utils/hooks/qt/_modules_info.py,sha256=weHgxjAUZ1vEInFM5GcKeoUcUnNDgRsKt0-Xid9Jakc,25225 +PyInstaller/utils/hooks/setuptools.py,sha256=ZZD65scg46E4duMLRrtiIMh1BiieE0BQdbY6RtKpWeI,11413 +PyInstaller/utils/hooks/tcl_tk.py,sha256=h0yS-cAA6FhjLkFFvq-H7-kU6Mk_KZdMsAcRt4h0h68,15401 +PyInstaller/utils/misc.py,sha256=5NmfvxjaomhoPEg7yRv1-evvTWTD2HQysd3lhOfgRNg,7030 +PyInstaller/utils/osx.py,sha256=PghjSUN0tHA_JwPEBc4QOKhLlCrr7Skdke6_OFq8YFs,31254 +PyInstaller/utils/run_tests.py,sha256=OCnUmL3dBAN5D-wKM1Dg3sSvsMy925LicSEktIyYodE,2875 +PyInstaller/utils/tests.py,sha256=jZCnSJEFNdwRIiSk_Yrv6v6pY0f7tbdUlAPbdWva9MM,4402 +PyInstaller/utils/win32/__init__.py,sha256=fNGhsx0m5s9iq4yMvH6J1tI0vzUKWd62lIQNSnKTGCE,22 +PyInstaller/utils/win32/__pycache__/__init__.cpython-311.pyc,, +PyInstaller/utils/win32/__pycache__/icon.cpython-311.pyc,, +PyInstaller/utils/win32/__pycache__/versioninfo.cpython-311.pyc,, +PyInstaller/utils/win32/__pycache__/winmanifest.cpython-311.pyc,, +PyInstaller/utils/win32/__pycache__/winresource.cpython-311.pyc,, +PyInstaller/utils/win32/__pycache__/winutils.cpython-311.pyc,, +PyInstaller/utils/win32/icon.py,sha256=mF5Zh58zqj2SR5w3T4GBm4HmyHmTFA9f5MbkPeiU540,9340 +PyInstaller/utils/win32/versioninfo.py,sha256=ublPhIIV3cExqq02y75Vo9tG0IlU9ffrPDcUSDNN-IE,20570 +PyInstaller/utils/win32/winmanifest.py,sha256=zO7kzIDp7MD_9GeF_RfsTrxaTOu_UnICMQUJFGoO54M,10644 +PyInstaller/utils/win32/winresource.py,sha256=DcA0UehlxjoU4s-mRPc51kHrQcHY0GEmAddGnYTekyk,7625 +PyInstaller/utils/win32/winutils.py,sha256=lyx9VtyNtYnjsDIhB2JlK8AaYGrbdMNFPdYmdOpOlXg,9175 +pyinstaller-6.15.0.dist-info/COPYING.txt,sha256=3Pdf25WdseO0HA-FBQadLs54G17Gs9Ck0wl1z8ZYAkU,32138 +pyinstaller-6.15.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 +pyinstaller-6.15.0.dist-info/METADATA,sha256=fk5Ins8lhcBWTe8eBfssZRRezltlisBshs-7tY7202k,8395 +pyinstaller-6.15.0.dist-info/RECORD,, +pyinstaller-6.15.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 +pyinstaller-6.15.0.dist-info/WHEEL,sha256=2wr--P33L_Xt79Mrb57-zn6CrTlNaEVHEwbOduMxJRg,97 +pyinstaller-6.15.0.dist-info/entry_points.txt,sha256=laaKjYFiMC3YuqudHNNx42-TdVB-y4YDLNDOrRFgk4I,376 +pyinstaller-6.15.0.dist-info/top_level.txt,sha256=GuRmvWXGTRJNYmK5iWGOglNv4L3by7YKaEiKycNZ4XQ,12 diff --git a/.venv/Lib/site-packages/pip/_vendor/chardet/cli/__init__.py b/.venv/Lib/site-packages/pyinstaller-6.15.0.dist-info/REQUESTED similarity index 100% rename from .venv/Lib/site-packages/pip/_vendor/chardet/cli/__init__.py rename to .venv/Lib/site-packages/pyinstaller-6.15.0.dist-info/REQUESTED diff --git a/.venv/Lib/site-packages/pyinstaller-6.15.0.dist-info/WHEEL b/.venv/Lib/site-packages/pyinstaller-6.15.0.dist-info/WHEEL new file mode 100644 index 0000000..834a31c --- /dev/null +++ b/.venv/Lib/site-packages/pyinstaller-6.15.0.dist-info/WHEEL @@ -0,0 +1,5 @@ +Wheel-Version: 1.0 +Generator: setuptools (75.8.0) +Root-Is-Purelib: true +Tag: py3-none-win_amd64 + diff --git a/.venv/Lib/site-packages/pyinstaller-6.15.0.dist-info/entry_points.txt b/.venv/Lib/site-packages/pyinstaller-6.15.0.dist-info/entry_points.txt new file mode 100644 index 0000000..22c2452 --- /dev/null +++ b/.venv/Lib/site-packages/pyinstaller-6.15.0.dist-info/entry_points.txt @@ -0,0 +1,7 @@ +[console_scripts] +pyi-archive_viewer = PyInstaller.utils.cliutils.archive_viewer:run +pyi-bindepend = PyInstaller.utils.cliutils.bindepend:run +pyi-grab_version = PyInstaller.utils.cliutils.grab_version:run +pyi-makespec = PyInstaller.utils.cliutils.makespec:run +pyi-set_version = PyInstaller.utils.cliutils.set_version:run +pyinstaller = PyInstaller.__main__:_console_script_run diff --git a/.venv/Lib/site-packages/pyinstaller-6.15.0.dist-info/top_level.txt b/.venv/Lib/site-packages/pyinstaller-6.15.0.dist-info/top_level.txt new file mode 100644 index 0000000..c313980 --- /dev/null +++ b/.venv/Lib/site-packages/pyinstaller-6.15.0.dist-info/top_level.txt @@ -0,0 +1 @@ +PyInstaller diff --git a/.venv/Lib/site-packages/pyinstaller_hooks_contrib-2025.8.dist-info/INSTALLER b/.venv/Lib/site-packages/pyinstaller_hooks_contrib-2025.8.dist-info/INSTALLER new file mode 100644 index 0000000..a1b589e --- /dev/null +++ b/.venv/Lib/site-packages/pyinstaller_hooks_contrib-2025.8.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/.venv/Lib/site-packages/pyinstaller_hooks_contrib-2025.8.dist-info/METADATA b/.venv/Lib/site-packages/pyinstaller_hooks_contrib-2025.8.dist-info/METADATA new file mode 100644 index 0000000..325a993 --- /dev/null +++ b/.venv/Lib/site-packages/pyinstaller_hooks_contrib-2025.8.dist-info/METADATA @@ -0,0 +1,374 @@ +Metadata-Version: 2.4 +Name: pyinstaller-hooks-contrib +Version: 2025.8 +Summary: Community maintained hooks for PyInstaller +Home-page: https://github.com/pyinstaller/pyinstaller-hooks-contrib +Download-URL: https://pypi.org/project/pyinstaller-hooks-contrib +Maintainer: Legorooj +Maintainer-email: legorooj@protonmail.com +Keywords: pyinstaller development hooks +Classifier: Intended Audience :: Developers +Classifier: Topic :: Software Development :: Build Tools +Classifier: License :: OSI Approved :: Apache Software License +Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2) +Classifier: Natural Language :: English +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 3 +Requires-Python: >=3.8 +Description-Content-Type: text/markdown +License-File: LICENSE +Requires-Dist: setuptools>=42.0.0 +Requires-Dist: importlib_metadata>=4.6; python_version < "3.10" +Requires-Dist: packaging>=22.0 +Dynamic: description-content-type +Dynamic: download-url +Dynamic: license-file + +# `pyinstaller-hooks-contrib`: The PyInstaller community hooks repository + +What happens when (your?) package doesn't work with PyInstaller? Say you have data files that you need at runtime? +PyInstaller doesn't bundle those. Your package requires others which PyInstaller can't see? How do you fix that? + +In summary, a "hook" file extends PyInstaller to adapt it to the special needs and methods used by a Python package. +The word "hook" is used for two kinds of files. A runtime hook helps the bootloader to launch an app, setting up the +environment. A package hook (there are several types of those) tells PyInstaller what to include in the final app - +such as the data files and (hidden) imports mentioned above. + +This repository is a collection of hooks for many packages, and allows PyInstaller to work with these packages +seamlessly. + + +## Installation + +`pyinstaller-hooks-contrib` is automatically installed when you install PyInstaller, or can be installed with pip: + +```commandline +pip install -U pyinstaller-hooks-contrib +``` + + +## I can't see a hook for `a-package` + +Either `a-package` works fine without a hook, or no-one has contributed hooks. +If you'd like to add a hook, or view information about hooks, +please see below. + + +## Hook configuration (options) + +Hooks that support configuration (options) and their options are documented in +[Supported hooks and options](hooks-config.rst). + + +## I want to help! + +If you've got a hook you want to share then great! +The rest of this page will walk you through the process of contributing a hook. +If you've been here before then you may want to skip to the [summary checklist](#summary) + +**Unless you are very comfortable with `git rebase -i`, please provide one hook per pull request!** +**If you have more than one then submit them in separate pull requests.** + + +### Setup + +[Fork this repo](https://github.com/pyinstaller/pyinstaller-hooks-contrib/fork) if you haven't already done so. +(If you have a fork already but its old, click the **Fetch upstream** button on your fork's homepage.) +Clone and `cd` inside your fork by running the following (replacing `bob-the-barnacle` with your github username): + +``` +git clone https://github.com/bob-the-barnacle/pyinstaller-hoooks-contrib.git +cd pyinstaller-hooks-contrib +``` + +Create a new branch for you changes (replacing `foo` with the name of the package): +You can name this branch whatever you like. + +``` +git checkout -b hook-for-foo +``` + +If you wish to create a virtual environment then do it now before proceeding to the next step. + +Install this repo in editable mode. +This will overwrite your current installation. +(Note that you can reverse this with `pip install --force-reinstall pyinstaller-hooks-contrib`). + +``` +pip install -e . +pip install -r requirements-test.txt +pip install flake8 pyinstaller +``` + +Note that on macOS and Linux, `pip` may by called `pip3`. +If you normally use `pip3` and `python3` then use `pip3` here too. +You may skip the 2nd line if you have no intention of providing tests (but please do provide tests!). + + +### Add the hook + +Standard hooks live in the [_pyinstaller_hooks_contrib/stdhooks/](../master/_pyinstaller_hooks_contrib/stdhooks/) directory. +Runtime hooks live in the [_pyinstaller_hooks_contrib/rthooks/](../master/_pyinstaller_hooks_contrib/rthooks/) directory. +Simply copy your hook into there. +If you're unsure if your hook is a runtime hook then it almost certainly is a standard hook. + +Please annotate (with comments) anything unusual in the hook. +*Unusual* here is defined as any of the following: + +* Long lists of `hiddenimport` submodules. + If you need lots of hidden imports then use [`collect_submodules('foo')`](https://pyinstaller.readthedocs.io/en/latest/hooks.html#PyInstaller.utils.hooks.collect_submodules). + For bonus points, track down why so many submodules are hidden. Typical causes are: + * Lazily loaded submodules (`importlib.importmodule()` inside a module `__getattr__()`). + * Dynamically loaded *backends*. + * Usage of `Cython` or Python extension modules containing `import` statements. +* Use of [`collect_all()`](https://pyinstaller.readthedocs.io/en/latest/hooks.html#PyInstaller.utils.hooks.collect_all). + This function's performance is abismal and [it is broken by + design](https://github.com/pyinstaller/pyinstaller/issues/6458#issuecomment-1000481631) because it confuses + packages with distributions. + Check that you really do need to collect all of submodules, data files, binaries, metadata and dependencies. + If you do then add a comment to say so (and if you know it - why). + Do not simply use `collect_all()` just to *future proof* the hook. +* Any complicated `os.path` arithmetic (by which I simply mean overly complex filename manipulations). + + +#### Add the copyright header + +All source files must contain the copyright header to be covered by our terms and conditions. + +If you are **adding** a new hook (or any new python file), copy/paste the appropriate copyright header (below) at the top +replacing 2021 with the current year. + +
GPL 2 header for standard hooks or other Python files. + +```python +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +``` + +
+ +
Apache header for runtime hooks only. +Again, if you're unsure if your hook is a runtime hook then it'll be a standard hook. + +```python +# ------------------------------------------------------------------ +# Copyright (c) 2024 PyInstaller Development Team. +# +# This file is distributed under the terms of the Apache License 2.0 +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: Apache-2.0 +# ------------------------------------------------------------------ +``` + +
+ + +If you are **updating** a hook, skip this step. +Do not update the year of the copyright header - even if it's out of date. + + +### Test + +Having tests is key to our continuous integration. +With them we can automatically verify that your hook works on all platforms, all Python versions and new versions of +libraries as and when they are released. +Without them, we have no idea if the hook is broken until someone finds out the hard way. +Please write tests!!! + +Some user interface libraries may be impossible to test without user interaction +or a wrapper library for some web API may require credentials (and possibly a paid subscription) to test. +In such cases, don't provide a test. +Instead explain either in the commit message or when you open your pull request why an automatic test is impractical +then skip on to [the next step](#run-linter). + + +#### Write tests(s) + +A test should be the least amount of code required to cause a breakage +if you do not have the hook which you are contributing. +For example if you are writing a hook for a library called `foo` +which crashes immediately under PyInstaller on `import foo` then `import foo` is your test. +If `import foo` works even without the hook then you will have to get a bit more creative. +Good sources of such minimal tests are introductory examples +from the documentation of whichever library you're writing a hook for. +Package's internal data files and hidden dependencies are prone to moving around so +tests should not explicitly check for presence of data files or hidden modules directly - +rather they should use parts of the library which are expected to use said data files or hidden modules. + +Tests generally live in [tests/test_libraries.py](../master/tests/test_libraries.py). +Navigate there and add something like the following, replacing all occurrences of `foo` with the real name of the library. +(Note where you put it in that file doesn't matter.) + +```python +@importorskip('foo') +def test_foo(pyi_builder): + pyi_builder.test_source(""" + + # Your test here! + import foo + + foo.something_fooey() + + """) +``` + +If the library has changed significantly over past versions then you may need to add version constraints to the test. +To do that, replace the `@importorskip("foo")` with a call to `PyInstaller.utils.tests.requires()` (e.g. +`@requires("foo >= 1.4")`) to only run the test if the given version constraint is satisfied. +Note that `@importorskip` uses module names (something you'd `import`) whereas `@requires` uses distribution names +(something you'd `pip install`) so you'd use `@importorskip("PIL")` but `@requires("pillow")`. +For most packages, the distribution and packages names are the same. + + +#### Run the test locally + +Running our full test suite is not recommended as it will spend a very long time testing code which you have not touched. +Instead, run tests individually using either the `-k` option to search for test names: + +``` +pytest -k test_foo +``` + +Or using full paths: +``` +pytest tests/test_libraries.py::test_foo +``` + + +#### Pin the test requirement + +Get the version of the package you are working with (`pip show foo`) +and add it to the [requirements-test-libraries.txt](../master/requirements-test-libraries.txt) file. +The requirements already in there should guide you on the syntax. + + +#### Run the test on CI/CD + +
CI/CD now triggers itself when you open a pull request. +These instructions for triggering jobs manually are obsolete except in rare cases. + +To test hooks on all platforms we use Github's continuous integration (CI/CD). +Our CI/CD is a bit unusual in that it's triggered manually and takes arguments +which limit which tests are run. +This is for the same reason we filter tests when running locally - +the full test suite takes ages. + +First push the changes you've made so far. + +```commandline +git push --set-upstream origin hook-for-foo +``` + +Replace *billy-the-buffalo* with your Github username in the following url then open it. +It should take you to the `oneshot-test` actions workflow on your fork. +You may be asked if you want to enable actions on your fork - say yes. +``` +https://github.com/billy-the-buffalo/pyinstaller-hooks-contrib/actions/workflows/oneshot-test.yml +``` + +Find the **Run workflow** button and click on it. +If you can't see the button, +select the **Oneshot test** tab from the list of workflows on the left of the page +and it should appear. +A dialog should appear containing one drop-down menu and 5 line-edit fields. +This dialog is where you specify what to test and which platforms and Python versions to test on. +Its fields are as follows: + +1. A branch to run from. Set this to the branch which you are using (e.g. ``hook-for-foo``), +2. Which package(s) to install and their version(s). + Which packages to test are inferred from which packages are installed. + You can generally just copy your own changes to the `requirements-test-libraries.txt` file into this box. + * Set to `foo` to test the latest version of `foo`, + * Set to `foo==1.2, foo==2.3` (note the comma) to test two different versions of `foo` in separate jobs, + * Set to `foo bar` (note the lack of a comma) to test `foo` and `bar` in the same job, +3. Which OS or OSs to run on + * Set to `ubuntu` to test only `ubuntu`, + * Set to `ubuntu, macos, windows` (order is unimportant) to test all three OSs. +4. Which Python version(s) to run on + * Set to `3.9` to test only Python 3.9, + * Set to `3.8, 3.9, 3.10, 3.11` to test all currently supported version of Python. +5. The final two options can generally be left alone. + +Hit the green **Run workflow** button at the bottom of the dialog, wait a few seconds then refresh the page. +Your workflow run should appear. + +We'll eventually want to see a build (or collection of builds) which pass on +all OSs and all Python versions. +Once you have one, hang onto its URL - you'll need it when you submit the pull request. +If you can't get it to work - that's fine. +Open a pull request as a draft, show us what you've got and we'll try and help. + + +#### Triggering CI/CD from a terminal + +If you find repeatedly entering the configuration into Github's **Run workflow** dialog arduous +then we also have a CLI script to launch it. +Run ``python scripts/cloud-test.py --help`` which should walk you through it. +You will have to enter all the details again but, thanks to the wonders of terminal history, +rerunning a configuration is just a case of pressing up then enter. + +
+ + +### Run Linter + +We use `flake8` to enforce code-style. +`pip install flake8` if you haven't already then run it with the following. + +``` +flake8 +``` + +No news is good news. +If it complains about your changes then do what it asks then run it again. +If you don't understand the errors it come up with them lookup the error code +in each line (a capital letter followed by a number e.g. `W391`). + +**Please do not fix flake8 issues found in parts of the repository other than the bit that you are working on.** Not only is it very boring for you, but it is harder for maintainers to +review your changes because so many of them are irrelevant to the hook you are adding or changing. + + +### Add a news entry + +Please read [news/README.txt](https://github.com/pyinstaller/pyinstaller-hooks-contrib/blob/master/news/README.txt) before submitting you pull request. +This will require you to know the pull request number before you make the pull request. +You can usually guess it by adding 1 to the number of [the latest issue or pull request](https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues?q=sort%3Acreated-desc). +Alternatively, [submit the pull request](#submit-the-pull-request) as a draft, +then add, commit and push the news item after you know your pull request number. + + +### Summary + +A brief checklist for before submitting your pull request: + +* [ ] All new Python files have [the appropriate copyright header](#add-the-copyright-header). +* [ ] You have written a [news entry](#add-a-news-entry). +* [ ] Your changes [satisfy the linter](#run-linter) (run `flake8`). +* [ ] You have written tests (if possible) and [pinned the test requirement](#pin-the-test-requirement). + + +### Submit the pull request + +Once you've done all the above, run `git push --set-upstream origin hook-for-foo` then go ahead and create a pull request. +If you're stuck doing any of the above steps, create a draft pull request and explain what's wrong - we'll sort you out... +Feel free to copy/paste commit messages into the Github pull request title and description. +If you've never done a pull request before, note that you can edit it simply by running `git push` again. +No need to close the old one and start a new one. + +--- + +If you plan to contribute frequently or are interested in becoming a developer, +send an email to `legorooj@protonmail.com` to let us know. diff --git a/.venv/Lib/site-packages/pyinstaller_hooks_contrib-2025.8.dist-info/RECORD b/.venv/Lib/site-packages/pyinstaller_hooks_contrib-2025.8.dist-info/RECORD new file mode 100644 index 0000000..f341e7d --- /dev/null +++ b/.venv/Lib/site-packages/pyinstaller_hooks_contrib-2025.8.dist-info/RECORD @@ -0,0 +1,1379 @@ +_pyinstaller_hooks_contrib/__init__.py,sha256=gy06SIcGvIcKRQGYpgJZwRw4wTc_uguMh-yTBOcp_Qw,2142 +_pyinstaller_hooks_contrib/__pycache__/__init__.cpython-311.pyc,, +_pyinstaller_hooks_contrib/__pycache__/__init__.cpython-39.pyc,sha256=gndfUUDJ3Xe_OKpdhFTIcP69x2L-prCFyqupXp8SavU,771 +_pyinstaller_hooks_contrib/__pycache__/compat.cpython-311.pyc,, +_pyinstaller_hooks_contrib/compat.py,sha256=0j90ldRf8YpffLKamgybdqt4OepoPO1gFHI7HKE08b8,1535 +_pyinstaller_hooks_contrib/pre_find_module_path/__init__.py,sha256=XqTB__uJKeDTb84jwHlEmqemORWifP5u1Qi4lRzoTqo,420 +_pyinstaller_hooks_contrib/pre_find_module_path/__pycache__/__init__.cpython-311.pyc,, +_pyinstaller_hooks_contrib/pre_safe_import_module/__init__.py,sha256=XqTB__uJKeDTb84jwHlEmqemORWifP5u1Qi4lRzoTqo,420 +_pyinstaller_hooks_contrib/pre_safe_import_module/__pycache__/__init__.cpython-311.pyc,, +_pyinstaller_hooks_contrib/pre_safe_import_module/__pycache__/hook-tensorflow.cpython-311.pyc,, +_pyinstaller_hooks_contrib/pre_safe_import_module/__pycache__/hook-win32com.cpython-311.pyc,, +_pyinstaller_hooks_contrib/pre_safe_import_module/hook-tensorflow.py,sha256=2g3DIc1sCJGnaWQtAHNtU4P0GxBwO2qb07leNCLQVqw,1415 +_pyinstaller_hooks_contrib/pre_safe_import_module/hook-win32com.py,sha256=0MWymjscSjZYmAZ5y8EnHQaWiWxNKP9gvxYjKJWlbpc,1591 +_pyinstaller_hooks_contrib/rthooks.dat,sha256=3njJi-VRQez966tAcQge2yu82SxpbIEVevqNj7MVinI,599 +_pyinstaller_hooks_contrib/rthooks/__init__.py,sha256=QCvGkX3OU8wyd01O8N1mu-joIPa0-FEZ7eUxvpLXCMY,380 +_pyinstaller_hooks_contrib/rthooks/__pycache__/__init__.cpython-311.pyc,, +_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_cryptography_openssl.cpython-311.pyc,, +_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_enchant.cpython-311.pyc,, +_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_ffpyplayer.cpython-311.pyc,, +_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_findlibs.cpython-311.pyc,, +_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_nltk.cpython-311.pyc,, +_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_osgeo.cpython-311.pyc,, +_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_pygraphviz.cpython-311.pyc,, +_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_pyproj.cpython-311.pyc,, +_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_pyqtgraph_multiprocess.cpython-311.pyc,, +_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_pythoncom.cpython-311.pyc,, +_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_pywintypes.cpython-311.pyc,, +_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_tensorflow.cpython-311.pyc,, +_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_traitlets.cpython-311.pyc,, +_pyinstaller_hooks_contrib/rthooks/__pycache__/pyi_rth_usb.cpython-311.pyc,, +_pyinstaller_hooks_contrib/rthooks/pyi_rth_cryptography_openssl.py,sha256=jnzEkk1MZzFk9Mf3fGKvargi127JTaE2QdSrECbiDx4,755 +_pyinstaller_hooks_contrib/rthooks/pyi_rth_enchant.py,sha256=PrKqo5wO5SRSiGnZUXxVUFs-HWXLUHp5ky9HBO-Xtto,903 +_pyinstaller_hooks_contrib/rthooks/pyi_rth_ffpyplayer.py,sha256=qKPwYCFQmmBKitKrbQ0BFTra3bbVmGXB8QwcxXkng6Y,879 +_pyinstaller_hooks_contrib/rthooks/pyi_rth_findlibs.py,sha256=8-W84xT-BaTVFz8HUL58Txrq9h73hlDnfZECvQXhW9o,2468 +_pyinstaller_hooks_contrib/rthooks/pyi_rth_nltk.py,sha256=J50SKKti3MvZIWBRnIBBaqtq91dQ1ogRCVrDvn6Ea54,534 +_pyinstaller_hooks_contrib/rthooks/pyi_rth_osgeo.py,sha256=3REIgW6smeuQhOkiO2OkQ0K6YSqppDHFOmgnJ6AlTZk,1090 +_pyinstaller_hooks_contrib/rthooks/pyi_rth_pygraphviz.py,sha256=G5baiXo35aEQuqdzrRqmPd9BVhdsv5xO9O-5WJvdSpk,1076 +_pyinstaller_hooks_contrib/rthooks/pyi_rth_pyproj.py,sha256=GBehG9sdgrdac6t47V-6azNz5CCjbVegCeezuajdC9k,754 +_pyinstaller_hooks_contrib/rthooks/pyi_rth_pyqtgraph_multiprocess.py,sha256=-Lp14Eho5voCKCiR6Wy6a5Ce8ubwO45giXawxD_EGtE,2469 +_pyinstaller_hooks_contrib/rthooks/pyi_rth_pythoncom.py,sha256=HYSYLvFIWF2p_-VBreDLFLLkux2WzUFvxJX3dmuDyu8,1259 +_pyinstaller_hooks_contrib/rthooks/pyi_rth_pywintypes.py,sha256=HYSYLvFIWF2p_-VBreDLFLLkux2WzUFvxJX3dmuDyu8,1259 +_pyinstaller_hooks_contrib/rthooks/pyi_rth_tensorflow.py,sha256=5iE26zQTgDcjxvnSKy_CCXpJOLVN9-6cQEeFpb_8h34,2665 +_pyinstaller_hooks_contrib/rthooks/pyi_rth_traitlets.py,sha256=6zxDqoyDuCwvg7u-Xu13zsW1hN58Ns8TGqEA06mytow,806 +_pyinstaller_hooks_contrib/rthooks/pyi_rth_usb.py,sha256=ZFT233gTCWeU-NY4cb7ixTr9MUe3VKEDnwxpHFleang,3216 +_pyinstaller_hooks_contrib/stdhooks/__init__.py,sha256=XqTB__uJKeDTb84jwHlEmqemORWifP5u1Qi4lRzoTqo,420 +_pyinstaller_hooks_contrib/stdhooks/__pycache__/__init__.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-BTrees.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-CTkMessagebox.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-Crypto.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-Cryptodome.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-HtmlTestRunner.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-IPython.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-OpenGL.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-OpenGL_accelerate.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-PyTaskbar.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-Xlib.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-_mssql.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-_mysql.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-accessible_output2.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-adbutils.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-adios.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-afmformats.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-aliyunsdkcore.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-altair.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-amazonproduct.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-anyio.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-apkutils.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-appdirs.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-appy.pod.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-apscheduler.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-argon2.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-astor.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-astroid.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-astropy.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-astropy_iers_data.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-av.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-avro.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-azurerm.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-backports.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-backports.zoneinfo.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-bacon.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-bcrypt.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-bitsandbytes.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-black.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-bleak.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-blib2to3.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-blspy.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-bokeh.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-boto.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-boto3.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-botocore.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-branca.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cairocffi.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cairosvg.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-capstone.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cassandra.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-celpy.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-certifi.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cf_units.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cftime.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-charset_normalizer.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cloudpickle.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cloudscraper.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-clr.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-clr_loader.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cmocean.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-compliance_checker.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-comtypes.client.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-countrycode.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-countryinfo.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cryptography.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-customtkinter.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cv2.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cx_Oracle.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-cytoolz.itertoolz.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_bootstrap_components.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_core_components.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_html_components.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_renderer.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_table.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dash_uploader.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dask.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-datasets.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dateparser.utils.strptime.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dateutil.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dbus_fast.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dclab.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-detectron2.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-discid.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-distorm3.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-distributed.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dns.rdata.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-docutils.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-docx.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-docx2pdf.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-dynaconf.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-easyocr.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eccodeslib.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eckitlib.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eel.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-emoji.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-enchant.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eng_to_ipa.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ens.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-enzyme.parsers.ebml.core.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_abi.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_account.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_hash.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_keyfile.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_keys.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_rlp.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_typing.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_utils.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-eth_utils.network.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-exchangelib.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fabric.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fairscale.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-faker.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-falcon.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fastai.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fastparquet.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fckitlib.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ffpyplayer.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fiona.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-flask_compress.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-flask_restx.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-flex.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-flirpy.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fmpy.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-folium.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-freetype.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-frictionless.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fsspec.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-fvcore.nn.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gadfly.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gbulb.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gcloud.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-geopandas.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gitlab.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gmplot.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gmsh.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gooey.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.api_core.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.bigquery.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.core.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.kms_v1.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.pubsub_v1.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.speech.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.storage.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-google.cloud.translate.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-googleapiclient.model.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-grapheme.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-graphql_query.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-great_expectations.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gribapi.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-grpc.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gst._gst.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-gtk.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-h3.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-h5py.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-hdf5plugin.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-hexbytes.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-httplib2.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-humanize.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-hydra.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ijson.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-imageio.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-imageio_ffmpeg.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-iminuit.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-intake.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-iso639.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-itk.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jaraco.text.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jedi.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jieba.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jinja2.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jinxed.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jira.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jsonpath_rw_ext.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jsonrpcserver.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jsonschema.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jsonschema_specifications.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-jupyterlab.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-kaleido.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-khmernltk.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-kinterbasdb.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-langchain.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-langcodes.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-langdetect.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-laonlp.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lark.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ldfparser.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lensfunpy.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-libaudioverse.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-librosa.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lightgbm.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lightning.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-limits.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-linear_operator.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lingua.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-litestar.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-llvmlite.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-logilab.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lxml.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lxml.etree.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lxml.isoschematron.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lxml.objectify.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-lz4.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-magic.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mako.codegen.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mariadb.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-markdown.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mecab.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-metpy.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-migrate.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mimesis.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-minecraft_launcher_lib.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mistune.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mnemonic.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-monai.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-moviepy.audio.fx.all.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-moviepy.video.fx.all.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-mpl_toolkits.basemap.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-msoffcrypto.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nacl.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-names.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nanite.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-narwhals.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nbconvert.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nbdime.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nbformat.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nbt.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ncclient.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-netCDF4.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-niquests.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nltk.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nnpy.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-notebook.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-numba.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-numbers_parser.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-numcodecs.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cublas.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cuda_cupti.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cuda_nvcc.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cuda_nvrtc.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cuda_runtime.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cudnn.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cufft.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.curand.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cusolver.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.cusparse.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.nccl.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.nvjitlink.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-nvidia.nvtx.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-office365.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-onnxruntime.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-opencc.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-openpyxl.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-opentelemetry.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-orjson.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-osgeo.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pandas_flavor.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-panel.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-parsedatetime.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-parso.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-passlib.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-paste.exceptions.reporter.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-patoolib.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-patsy.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pdfminer.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pendulum.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-phonenumbers.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pingouin.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pint.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pinyin.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-platformdirs.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-plotly.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pptx.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-prettytable.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-psutil.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-psychopy.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-psycopg2.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-publicsuffix2.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pubsub.core.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-puremagic.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-py.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyarrow.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pycountry.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pycparser.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pycrfsuite.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pydantic.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pydicom.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pydivert.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-io.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-ods.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-ods3.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-odsr.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-xls.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-xlsx.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel-xlsxw.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_io.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_ods.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_ods3.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_odsr.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_xls.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_xlsx.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcel_xlsxw.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyexcelerate.Writer.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pygraphviz.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pygwalker.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pylibmagic.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pylint.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pylsl.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pymediainfo.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pymorphy3.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pymssql.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pynng.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pynput.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyodbc.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyopencl.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pypdfium2.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pypdfium2_raw.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pypemicro.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyphen.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyppeteer.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyproj.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pypsexec.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pypylon.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyqtgraph.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyshark.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pysnmp.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pystray.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pytest.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pythainlp.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pythoncom.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyttsx.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyttsx3.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyviz_comms.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pyvjoy.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pywintypes.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-pywt.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-qtmodern.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-radicale.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-raven.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rawpy.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rdflib.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-redmine.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-regex.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-reportlab.lib.utils.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-reportlab.pdfbase._fontdata.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-resampy.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rlp.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rpy2.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rtree.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ruamel.yaml.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-rubicon.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sacremoses.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sam2.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-saml2.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-schwifty.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-seedir.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-selectolax.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-selenium.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sentry_sdk.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-setuptools_scm.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-shapely.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-shotgun_api3.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-simplemma.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.color.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.data.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.draw.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.exposure.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.feature.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.filters.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.future.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.graph.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.io.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.measure.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.metrics.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.morphology.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.registration.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.restoration.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skimage.transform.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.cluster.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.externals.array_api_compat.cupy.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.externals.array_api_compat.dask.array.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.externals.array_api_compat.numpy.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.externals.array_api_compat.torch.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.linear_model.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.metrics.cluster.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.metrics.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.metrics.pairwise.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.neighbors.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.tree.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sklearn.utils.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-skyfield.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-slixmpp.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sound_lib.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sounddevice.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-soundfile.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-spacy.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-speech_recognition.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-spiceypy.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-spnego.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-srsly.msgpack._packer.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sspilib.raw.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-statsmodels.tsa.statespace.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-stdnum.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-storm.database.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sudachipy.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sunpy.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-sv_ttk.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-swagger_spec_validator.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tableauhyperapi.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tables.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tcod.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tensorflow.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-text_unidecode.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-textdistance.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-thinc.backends.numpy_ops.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-thinc.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-timezonefinder.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-timm.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tinycss2.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tkinterdnd2.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tkinterweb.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tkinterweb_tkhtml.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-toga.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-toga_cocoa.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-toga_gtk.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-toga_winforms.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torch.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torchao.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torchaudio.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torchtext.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torchvision.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-torchvision.io.image.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_client.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_code.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_components.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_datagrid.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_deckgl.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_formkit.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_grid.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_iframe.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_keycloak.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_leaflet.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_markdown.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_matplotlib.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_mesh_streamer.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_plotly.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_pvui.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_quasar.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_rca.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_router.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_simput.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_tauri.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_tweakpane.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_vega.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_vtk.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_vtk3d.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_vtklocal.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_vuetify.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trame_xterm.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-transformers.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-travertino.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-trimesh.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-triton.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ttkthemes.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ttkwidgets.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tzdata.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-tzwhere.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-u1db.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-ultralytics.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-umap.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-unidecode.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-uniseg.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-urllib3.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-urllib3_future.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-usb.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-uuid6.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-uvicorn.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-uvloop.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vaderSentiment.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkAcceleratorsVTKmCore.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkAcceleratorsVTKmDataModel.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkAcceleratorsVTKmFilters.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkChartsCore.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonColor.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonComputationalGeometry.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonDataModel.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonExecutionModel.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonMath.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonMisc.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonPython.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonSystem.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkCommonTransforms.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkDomainsChemistry.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkDomainsChemistryOpenGL2.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersAMR.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersCellGrid.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersCore.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersExtraction.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersFlowPaths.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersGeneral.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersGeneric.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersGeometry.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersGeometryPreview.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersHybrid.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersHyperTree.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersImaging.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersModeling.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersParallel.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersParallelDIY2.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersParallelImaging.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersParallelStatistics.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersPoints.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersProgrammable.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersPython.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersReduction.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersSMP.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersSelection.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersSources.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersStatistics.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersTemporal.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersTensor.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersTexture.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersTopology.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkFiltersVerdict.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkGeovisCore.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOAMR.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOAsynchronous.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOAvmesh.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCGNSReader.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCONVERGECFD.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCellGrid.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCesium3DTiles.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOChemistry.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCityGML.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOCore.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOERF.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOEnSight.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOEngys.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOExodus.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOExport.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOExportGL2PS.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOExportPDF.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOFDS.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOFLUENTCFF.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOGeoJSON.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOGeometry.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOH5Rage.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOH5part.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOHDF.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOIOSS.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOImage.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOImport.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOInfovis.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOLANLX3D.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOLSDyna.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOLegacy.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOMINC.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOMotionFX.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOMovie.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIONetCDF.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOOMF.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOOggTheora.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOPIO.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOPLY.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOParallel.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOParallelExodus.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOParallelLSDyna.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOParallelXML.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOSQL.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOSegY.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOTRUCHAS.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOTecplotTable.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOVPIC.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOVeraOut.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOVideo.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOXML.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOXMLParser.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkIOXdmf2.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingColor.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingCore.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingFourier.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingGeneral.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingHybrid.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingMath.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingMorphological.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingOpenGL2.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingSources.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingStatistics.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkImagingStencil.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkInfovisCore.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkInfovisLayout.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkInteractionImage.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkInteractionStyle.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkInteractionWidgets.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkParallelCore.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkPythonContext2D.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingAnnotation.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingCellGrid.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingContext2D.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingContextOpenGL2.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingCore.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingExternal.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingFreeType.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingGL2PSOpenGL2.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingGridAxes.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingHyperTreeGrid.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingImage.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingLICOpenGL2.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingLOD.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingLabel.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingMatplotlib.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingOpenGL2.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingParallel.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingSceneGraph.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingUI.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVR.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVRModels.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVolume.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVolumeAMR.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVolumeOpenGL2.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkRenderingVtkJS.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkSerializationManager.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkTestingRendering.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkTestingSerialization.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkViewsContext2D.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkViewsCore.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkViewsInfovis.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkWebCore.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkmodules.vtkWebGLExporter.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-vtkpython.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-wavefile.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-weasyprint.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-web3.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-webassets.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-webrtcvad.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-websockets.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-webview.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-win32com.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-wordcloud.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-workflow.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-wx.lib.activex.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-wx.lib.pubsub.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-wx.xrc.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xarray.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xml.dom.html.HTMLDocument.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xml.sax.saxexts.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xmldiff.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xmlschema.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xsge_gui.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-xyzservices.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-yapf_third_party.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-z3c.rml.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-zarr.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-zeep.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-zmq.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/__pycache__/hook-zoneinfo.cpython-311.pyc,, +_pyinstaller_hooks_contrib/stdhooks/hook-BTrees.py,sha256=7H9uPnxAIrlAlMRCpdB5R3EbW-A5LIwzQAGRqvYG3-s,581 +_pyinstaller_hooks_contrib/stdhooks/hook-CTkMessagebox.py,sha256=02LmjIn8U1VELdrxTS0a35PutAP4nKF8ZR99WfIwxvE,663 +_pyinstaller_hooks_contrib/stdhooks/hook-Crypto.py,sha256=ImifI41XPN7GRu8DXatzHp4gC0mcFeIYIjnsgNRABq4,2320 +_pyinstaller_hooks_contrib/stdhooks/hook-Cryptodome.py,sha256=a_fbq7kjC1Zz7qjX5UDYFww7jXZ_Np0PVRE9wY1rCHI,1441 +_pyinstaller_hooks_contrib/stdhooks/hook-HtmlTestRunner.py,sha256=thy5tcQy3lL8tYq_PVJKeqXH1XkOQwlz2xMYvNPDVHc,598 +_pyinstaller_hooks_contrib/stdhooks/hook-IPython.py,sha256=kKCfeaEb5xK2cfzsL0APdYiWOM-j3X2oPLtpOS1XaFY,1358 +_pyinstaller_hooks_contrib/stdhooks/hook-OpenGL.py,sha256=W-blhzRK3eicSxqRQ4tviS9svMs1nIX2DcML0fxeEgU,2153 +_pyinstaller_hooks_contrib/stdhooks/hook-OpenGL_accelerate.py,sha256=5yYETP_dLQwMiTaJMdPxTZPl7gqnVL11gyFcQkoTIf4,761 +_pyinstaller_hooks_contrib/stdhooks/hook-PyTaskbar.py,sha256=hu3r-jyXMpgGe5d6oT4WTKHsadgxvdkCMPRJt3r-JBw,516 +_pyinstaller_hooks_contrib/stdhooks/hook-Xlib.py,sha256=5xU-W0ViBe9fJzkCn9N0hwXQcotayyIJeJEhiDLFNGU,520 +_pyinstaller_hooks_contrib/stdhooks/hook-_mssql.py,sha256=V_j3fb9LsniyK2lWFHnpYLU_s2B2hIk0wEcFQbmye44,446 +_pyinstaller_hooks_contrib/stdhooks/hook-_mysql.py,sha256=7xdzIT7I98Sskkr4khJDGFqdl9wzr7BykdwZWDwGWgE,544 +_pyinstaller_hooks_contrib/stdhooks/hook-accessible_output2.py,sha256=Ua9KkGnbwt-vZqVBIDTQyI-CWRnonhz1RrxTUMrV8HQ,606 +_pyinstaller_hooks_contrib/stdhooks/hook-adbutils.py,sha256=QF2KWHkLivI_UaZLavIRYXdG_x4QnFmX5Wg10vF86Pw,1068 +_pyinstaller_hooks_contrib/stdhooks/hook-adios.py,sha256=3QjwQJxqlXbxDFZLE5V6KxlB5wKe7EWnQ4CPdeGiork,514 +_pyinstaller_hooks_contrib/stdhooks/hook-afmformats.py,sha256=GigubbKoElF8fyK11_ZjoWl_qATq29-o27GczSDAxNg,582 +_pyinstaller_hooks_contrib/stdhooks/hook-aliyunsdkcore.py,sha256=69Q48xGmEUNWohujaq8wgrzl5u-9Jf_EAWF0QblmYeU,520 +_pyinstaller_hooks_contrib/stdhooks/hook-altair.py,sha256=bt3IHynMXZPiD_Lgo_o4WkJ7YcaVfJx6fqGte1nSsOw,514 +_pyinstaller_hooks_contrib/stdhooks/hook-amazonproduct.py,sha256=l0CZhE6sGsuQNSW5B4pXkS0ggLPhf3HbpqSAqAsDL2o,1063 +_pyinstaller_hooks_contrib/stdhooks/hook-anyio.py,sha256=_JkaNd7mliBObKBivEGOJr7PME8fj0x-k7v4v-vfyps,652 +_pyinstaller_hooks_contrib/stdhooks/hook-apkutils.py,sha256=K8lJbqgw9hCldFTx-Gc7f133bqRQKD0FGmWYKEWL0dk,516 +_pyinstaller_hooks_contrib/stdhooks/hook-appdirs.py,sha256=zyPFyUQeR2msS9V_jCqkHlbxKEI4F7fwcenRR_-_VPo,736 +_pyinstaller_hooks_contrib/stdhooks/hook-appy.pod.py,sha256=zXYSVcOaM1Rd5-7XHbdhXcPkXdp2F_Q-2haf-ePtTPM,584 +_pyinstaller_hooks_contrib/stdhooks/hook-apscheduler.py,sha256=JYZ3WCI-UvxHxlkub7BPtcgAC7rIvnmZu_lv8ug4SfE,958 +_pyinstaller_hooks_contrib/stdhooks/hook-argon2.py,sha256=uL9MNx-TVv7xkU6Yna7ZAut_lpmhfU3JtlxqXZPeCz8,455 +_pyinstaller_hooks_contrib/stdhooks/hook-astor.py,sha256=39fA7fjiii_16lKjKfIloHL_XBLZmiLY51EiVLDsdUc,513 +_pyinstaller_hooks_contrib/stdhooks/hook-astroid.py,sha256=c3vLz5R9gpXH1LMgGmgK2M4AyO6GNbjh5F2l9W4wM64,2096 +_pyinstaller_hooks_contrib/stdhooks/hook-astropy.py,sha256=VHGCBTgpzR91qWHyY6RJYvRhpc7dgAGjHLu6WiaHVUM,1744 +_pyinstaller_hooks_contrib/stdhooks/hook-astropy_iers_data.py,sha256=V_rB5H1YPNN8lDpMgItXXPjc5XGLdhm76U0L7I52mZw,581 +_pyinstaller_hooks_contrib/stdhooks/hook-av.py,sha256=j-tpSaAvpyiixxF98-WM-hdVm2kH1dFFDbJwv_4tvtY,2082 +_pyinstaller_hooks_contrib/stdhooks/hook-avro.py,sha256=RRQmqN-5RXPobRHPHO5vNnv-ZPzeQ-0lRoWknxWEkK4,981 +_pyinstaller_hooks_contrib/stdhooks/hook-azurerm.py,sha256=r9O9s3r438qfrR_gFEipp4DzoiVzdxVclosv53Vum0Y,838 +_pyinstaller_hooks_contrib/stdhooks/hook-backports.py,sha256=r0UIln-d8ep_5CTIr1dfV3mHd8SnbJfKgoBVhUbcSp8,905 +_pyinstaller_hooks_contrib/stdhooks/hook-backports.zoneinfo.py,sha256=99A9LN6khAbUAQfey6FaTHtdGZEaaOjavxwawAzbTdo,595 +_pyinstaller_hooks_contrib/stdhooks/hook-bacon.py,sha256=lqd0CnY45BUEVurtqc1VV92ltGnOjjTKfErgLeeBW-w,1675 +_pyinstaller_hooks_contrib/stdhooks/hook-bcrypt.py,sha256=hhNZqKFF5qODocZJ5lBRFdDtJdRBYoiryhtOoSn0jbc,505 +_pyinstaller_hooks_contrib/stdhooks/hook-bitsandbytes.py,sha256=beL5R1Usy2HHrDwKOP1aTmIX4OziLCxX_L2eFQEyorM,1116 +_pyinstaller_hooks_contrib/stdhooks/hook-black.py,sha256=fYKUojxgzW3poA0oBrNVZfgW40hLHLU7V8asr5kejZs,1036 +_pyinstaller_hooks_contrib/stdhooks/hook-bleak.py,sha256=Zm9WX0NmPZPbdTh-6pXhO0GFqvKFzXoGBarYngpXk0M,702 +_pyinstaller_hooks_contrib/stdhooks/hook-blib2to3.py,sha256=TRGKLVFyg-z5SvxtizbCPRWesBmQ4Pb5ThQtAwv5Rgw,1307 +_pyinstaller_hooks_contrib/stdhooks/hook-blspy.py,sha256=KCo9qWmcFhveIvngEgyNALozIAVKp-9DyaE7hs6F9rw,1407 +_pyinstaller_hooks_contrib/stdhooks/hook-bokeh.py,sha256=-8OUbeppabAY3qVGLWtJC0tqMbgq0W1yvBnKCU4pD4w,922 +_pyinstaller_hooks_contrib/stdhooks/hook-boto.py,sha256=JUGaLqkuSl8u7bO5UlEBoC0T3semsBxQlpr_yDxokUM,786 +_pyinstaller_hooks_contrib/stdhooks/hook-boto3.py,sha256=pI5miSDkHOUA9qHlh4-0lD8odMRD09NS-rLCXU0r-xQ,999 +_pyinstaller_hooks_contrib/stdhooks/hook-botocore.py,sha256=N3hZC_AoVGhB03Pk-nVmM5ezpXtrfaVaEPYwPLZ6sJ8,1067 +_pyinstaller_hooks_contrib/stdhooks/hook-branca.py,sha256=fYU2gaKNBRbG399Vif6CR61fPnDXkr1mzyihcG6cSqM,514 +_pyinstaller_hooks_contrib/stdhooks/hook-cairocffi.py,sha256=xFSRmFXxpK5g4cSfEyUHNMZiJZ-YQ1gzujICk056ch8,1596 +_pyinstaller_hooks_contrib/stdhooks/hook-cairosvg.py,sha256=LtlVNSqrF7mVxHZSYPY1n_8zZUqNhRYG-FuvRgAxkgQ,1303 +_pyinstaller_hooks_contrib/stdhooks/hook-capstone.py,sha256=aaFGgiFLPyUBTtsUQdU6bfzWNTDt6OfzhcaEJloxxrE,562 +_pyinstaller_hooks_contrib/stdhooks/hook-cassandra.py,sha256=-VhGeIvcKJJi8Okp3_cGGKBjStNr8iAB7H-8i1lqr8Q,832 +_pyinstaller_hooks_contrib/stdhooks/hook-celpy.py,sha256=k7jxOzOFwfwXI7cHslOivG6MSuQOWAqv5cwk7bejuts,979 +_pyinstaller_hooks_contrib/stdhooks/hook-certifi.py,sha256=kCFePXDxRwHIQdgFe4DeV-RhS-n33EGeApVuetO9omA,735 +_pyinstaller_hooks_contrib/stdhooks/hook-cf_units.py,sha256=13FWN2RadSk-yJuUkyjGUwqu9yP1xuJzWff5jKWmUS0,591 +_pyinstaller_hooks_contrib/stdhooks/hook-cftime.py,sha256=3rVzaTYOkzhwKOYGO5hpzKJt2dM45hPIUlJTMz01DA4,605 +_pyinstaller_hooks_contrib/stdhooks/hook-charset_normalizer.py,sha256=B9lqK-U2QxEjzf1zUUdZmiXRi9satc2xBGtvp5vIb-0,586 +_pyinstaller_hooks_contrib/stdhooks/hook-cloudpickle.py,sha256=HIrogozsv_bflq62cOENJ80BwrRzgZ2TH2r4zx5oPbA,776 +_pyinstaller_hooks_contrib/stdhooks/hook-cloudscraper.py,sha256=DUQsQhydlJBLnrJ5lLTvxA3CHKXZr4jfPkw1EhRlN04,520 +_pyinstaller_hooks_contrib/stdhooks/hook-clr.py,sha256=HkUhiIpLUJ1sZPpsrIvZtKLnJDRGvkVsKPgt8ERGfaI,2600 +_pyinstaller_hooks_contrib/stdhooks/hook-clr_loader.py,sha256=r6shf_xCOoGitgm3mje_tmpvOyCuPzZHmRpG9QPAMRs,954 +_pyinstaller_hooks_contrib/stdhooks/hook-cmocean.py,sha256=vwCbQwhokfcEO9Mt1jVSY952Nnxlv-QNort_Hj5v0AA,529 +_pyinstaller_hooks_contrib/stdhooks/hook-compliance_checker.py,sha256=wM6-xACzS3QuiXcXbNNvCqN_yx66bQu5hAWLirMYk-U,988 +_pyinstaller_hooks_contrib/stdhooks/hook-comtypes.client.py,sha256=iN0OgoMpMvIk1b3_ax9IdFyjKD3DSVDC4n3f3Dm7iwk,683 +_pyinstaller_hooks_contrib/stdhooks/hook-countrycode.py,sha256=1hqqPNPpQxOw78iFqOjkPv0JhpOD9_eiGZQRmuoNF5Y,519 +_pyinstaller_hooks_contrib/stdhooks/hook-countryinfo.py,sha256=z_QVmMe89k1f5n4R23mUQi2wUxiCdKvpU9LlKEGmQ_0,565 +_pyinstaller_hooks_contrib/stdhooks/hook-cryptography.py,sha256=vhZ3Wqx_mlgUAWLfPrguxMJ2CHd_r1M3zJob9TBwz3A,5831 +_pyinstaller_hooks_contrib/stdhooks/hook-customtkinter.py,sha256=po89SWrZ1MnlliL1rpaiOdrdR7SZ3sYgeNA-IKdOCpE,520 +_pyinstaller_hooks_contrib/stdhooks/hook-cv2.py,sha256=2D7U2s8858uZk64zKFEIVLAylkjcSKj0no6T362aBMU,8117 +_pyinstaller_hooks_contrib/stdhooks/hook-cx_Oracle.py,sha256=_UwEKqFgJmFfipDEBw9_L6ZFTTkHvaPBfzNhLAREhEo,449 +_pyinstaller_hooks_contrib/stdhooks/hook-cytoolz.itertoolz.py,sha256=Sd_M-AavngziR768WUNTDA0MqQJR2-_u-6ZXbrgWy8s,614 +_pyinstaller_hooks_contrib/stdhooks/hook-dash.py,sha256=JrWymJXOyzHaHHkVoezeLA-pSqKshptuwtJE_eG0AhE,512 +_pyinstaller_hooks_contrib/stdhooks/hook-dash_bootstrap_components.py,sha256=6D7QdcZoxz-g_8Tkunk8TI5i37TY2sDTkDgdAQp4jI0,533 +_pyinstaller_hooks_contrib/stdhooks/hook-dash_core_components.py,sha256=wc5HQi5SGVkduizRW334gtF_oK3G6rBRRC-lnz4gGw4,528 +_pyinstaller_hooks_contrib/stdhooks/hook-dash_html_components.py,sha256=7GCOEhBFjj-T8qLzN6h5KkkrkSXC-t9K1ih303pkQ-0,528 +_pyinstaller_hooks_contrib/stdhooks/hook-dash_renderer.py,sha256=wSmHKr_Kxi8V072QfEYaau1AhnfaXJfdrNsyprRVZLY,521 +_pyinstaller_hooks_contrib/stdhooks/hook-dash_table.py,sha256=GEeJRc0W2nl0YYmCmqMQIuRgexUErPSNqnfLoMmUg1o,518 +_pyinstaller_hooks_contrib/stdhooks/hook-dash_uploader.py,sha256=TqkZRZUpSBqwoYQn4zutn2sg6relzM5-TZFwXATTT9s,521 +_pyinstaller_hooks_contrib/stdhooks/hook-dask.py,sha256=SF-5aAJ6ylzD4Oa1v5QKf57htHCoLOF7DKtGpTfpwxM,752 +_pyinstaller_hooks_contrib/stdhooks/hook-datasets.py,sha256=L508elVV7ax33mODkIR3zrkCnahihoH7UIjheGAzCkM,557 +_pyinstaller_hooks_contrib/stdhooks/hook-dateparser.utils.strptime.py,sha256=wp34VFRBNFRL5WE99cFNe7IH56n11ydsToVj4JLh6gE,608 +_pyinstaller_hooks_contrib/stdhooks/hook-dateutil.py,sha256=aXwJvtYyPpM_xF0b1NqGu2wx54teQsYkgI4XIoD9vP4,516 +_pyinstaller_hooks_contrib/stdhooks/hook-dbus_fast.py,sha256=fWCWWH1HVQcSttJs75snPaUJQGDJ3S01oMnr-hJjnJk,601 +_pyinstaller_hooks_contrib/stdhooks/hook-dclab.py,sha256=CfGdIi5A3LiYpmq36m3cSwk2by3PeZJO-jvZRgM7XhU,567 +_pyinstaller_hooks_contrib/stdhooks/hook-detectron2.py,sha256=L508elVV7ax33mODkIR3zrkCnahihoH7UIjheGAzCkM,557 +_pyinstaller_hooks_contrib/stdhooks/hook-discid.py,sha256=qh4NpkcK8iGOaZTlDaFzSZs1_vn77ZxJAr_cEVleoRg,1424 +_pyinstaller_hooks_contrib/stdhooks/hook-distorm3.py,sha256=2_5Bog4d91cSmurO9g3LOgHkeYr293elZ4-EJjKjGu8,736 +_pyinstaller_hooks_contrib/stdhooks/hook-distributed.py,sha256=YG2IqwyFFYWeaqhUi6v1pRK9IYGnELEd9wREBYRbhcM,1502 +_pyinstaller_hooks_contrib/stdhooks/hook-dns.rdata.py,sha256=4qJuSXX7pXMEfAKtLA4nfzOY_wglG_AHV3JIKUEZQK4,577 +_pyinstaller_hooks_contrib/stdhooks/hook-docutils.py,sha256=92774IR5j_D9YEL2lFNB31k01Y5jCZg2iqsazEoAxps,798 +_pyinstaller_hooks_contrib/stdhooks/hook-docx.py,sha256=KMXfmjt7AnJoeTS6hfhNBJUggZMti1liAl4kD5hpQxk,512 +_pyinstaller_hooks_contrib/stdhooks/hook-docx2pdf.py,sha256=FKJp5FKPzgSsZFu8YxdNrKwMSbk-6vZvT2hma02vaS0,624 +_pyinstaller_hooks_contrib/stdhooks/hook-dynaconf.py,sha256=Ss3Gq19q0S9mbBRWVNH6k0_JgFMz-ZXUA68QNYmOUbw,569 +_pyinstaller_hooks_contrib/stdhooks/hook-easyocr.py,sha256=Y_Q-FawbXomqbqHzMxPF8yqo-8c-6dyCx4_rGrUXyjw,793 +_pyinstaller_hooks_contrib/stdhooks/hook-eccodeslib.py,sha256=DMHQ55Z7t_4WPqGeHhwZvFQcemrVel__jLBvxwTYkZ8,794 +_pyinstaller_hooks_contrib/stdhooks/hook-eckitlib.py,sha256=R7VJXNt1Wkrq8kBCZWNjUhPxZvr3rEYH9CJ1di_F05M,560 +_pyinstaller_hooks_contrib/stdhooks/hook-eel.py,sha256=AacHCZd4184RbnUFOLTYbkmKkJEQkGr3LdMqn1UXiBc,548 +_pyinstaller_hooks_contrib/stdhooks/hook-emoji.py,sha256=ABtuKzCZqaE2RUdf2NcLnV16L7DQABJ692aOfvANj2E,513 +_pyinstaller_hooks_contrib/stdhooks/hook-enchant.py,sha256=6mswnI2jCHY18DS5J4wnmHvrDAGKr8yBhBHzCe4j1uY,2851 +_pyinstaller_hooks_contrib/stdhooks/hook-eng_to_ipa.py,sha256=YDRMsxwI9VzlZn69TwuYiMC4jv-7elcnO3IEYFnRw2E,518 +_pyinstaller_hooks_contrib/stdhooks/hook-ens.py,sha256=3vC3d_ENo5JdDSq2ajWKfnR5WKC2OJQOdPJqjtn7sLA,511 +_pyinstaller_hooks_contrib/stdhooks/hook-enzyme.parsers.ebml.core.py,sha256=yS_g1AxOW2-R-1xKtBK0Q9EC_D9ylhVBrirH9tJ0-zY,722 +_pyinstaller_hooks_contrib/stdhooks/hook-eth_abi.py,sha256=NHm7ncjWCD_l2XdP6vBaxz5y516U_IL1P4YevtTtuRM,505 +_pyinstaller_hooks_contrib/stdhooks/hook-eth_account.py,sha256=wjvWKcrTK2fWp6S4pEm-o8NYc3g9mCbHVZuU035zFrc,509 +_pyinstaller_hooks_contrib/stdhooks/hook-eth_hash.py,sha256=lzNsLR5kuz2sXXxkym0HTko_393jucPnFCQDQd_g7zg,814 +_pyinstaller_hooks_contrib/stdhooks/hook-eth_keyfile.py,sha256=CYTnYWvRKUwVEjUTF1-O8gA3_uqKOHZpZJryaFVSFPc,509 +_pyinstaller_hooks_contrib/stdhooks/hook-eth_keys.py,sha256=4r5kmLTtARNZza-JoJP1rLL2RExMrwbxrTtxBsLIIQg,667 +_pyinstaller_hooks_contrib/stdhooks/hook-eth_rlp.py,sha256=kQWMVCiyc4htFsk1JySBkj74Q0QqrSjcD-C-C_xn5yI,643 +_pyinstaller_hooks_contrib/stdhooks/hook-eth_typing.py,sha256=c6ywwe1EhToKTbCbGmUGK6RUTD8oVwP5DGM6rl5JKPI,586 +_pyinstaller_hooks_contrib/stdhooks/hook-eth_utils.network.py,sha256=1dmUGrCLFa_xkiF5fNDYUom4SjnnI2t9yd5XSXl32Lw,517 +_pyinstaller_hooks_contrib/stdhooks/hook-eth_utils.py,sha256=ORE3BzSrHBDzqMjFR88iTm5VOvL7EPOjgLgP3caXoPU,507 +_pyinstaller_hooks_contrib/stdhooks/hook-exchangelib.py,sha256=PjUxCRbRboGbLZzFeehWOhPzr0jO11AYstKtsFQvRkw,447 +_pyinstaller_hooks_contrib/stdhooks/hook-fabric.py,sha256=H87in7hd-RG6PfQTmEulm_mG0sbs5rG3-H8gWfct96A,733 +_pyinstaller_hooks_contrib/stdhooks/hook-fairscale.py,sha256=c_35rJ4w0apax7S0Pnkz7gN0oM3fmbGYhhp1eo9rfHk,557 +_pyinstaller_hooks_contrib/stdhooks/hook-faker.py,sha256=6MMBGNG0oZC4wiq4FnFxqRimXOoNUHDeO8QCxNqdbfg,685 +_pyinstaller_hooks_contrib/stdhooks/hook-falcon.py,sha256=qOelGQSufRVtgZNH0DFMQtPFAl-9UbYXkgWIEIB74qg,1194 +_pyinstaller_hooks_contrib/stdhooks/hook-fastai.py,sha256=L508elVV7ax33mODkIR3zrkCnahihoH7UIjheGAzCkM,557 +_pyinstaller_hooks_contrib/stdhooks/hook-fastparquet.py,sha256=y3QWOzrz-Ra8H18SWDujD9dozbkzXR8BPesRWReYN-U,1469 +_pyinstaller_hooks_contrib/stdhooks/hook-fckitlib.py,sha256=5h4PvGmxi3l7kz1nI4CCWAkTfYMHiCATThUVyUwy78w,560 +_pyinstaller_hooks_contrib/stdhooks/hook-ffpyplayer.py,sha256=WD4t4z-SQHZAe-bqIKVEwrWbIUhxQNn6io5PnPWL6UY,741 +_pyinstaller_hooks_contrib/stdhooks/hook-fiona.py,sha256=IjYbiaUeeKB_gq4lPM6OJDLAnXjLyiIyW5jp3cNZ_JA,860 +_pyinstaller_hooks_contrib/stdhooks/hook-flask_compress.py,sha256=UMHjLHHYDtnW50Y_MtQUZqJX0-cimZJsJsA3El6ZUJc,512 +_pyinstaller_hooks_contrib/stdhooks/hook-flask_restx.py,sha256=KnTudaPgYyQXgmDtjYQUJ_lVkUc9hvZOLNNO_Fa_LHo,546 +_pyinstaller_hooks_contrib/stdhooks/hook-flex.py,sha256=q7mHzzXLkNUYRZNJRz-60lvuPtHYoPYd3MUxue5Lh5E,551 +_pyinstaller_hooks_contrib/stdhooks/hook-flirpy.py,sha256=xmI3ET8t0j3rVUbN_4foknfB1W9QGFRZq0l6pa3u4h8,650 +_pyinstaller_hooks_contrib/stdhooks/hook-fmpy.py,sha256=ZLsw9nwYplOC9AZpYRS08WYech5yNW3LdYmbL1-oTqE,799 +_pyinstaller_hooks_contrib/stdhooks/hook-folium.py,sha256=J81aLD-9FBtrnO1XhRpZUQ6qNoRpvBkByYa45Xs_FbI,547 +_pyinstaller_hooks_contrib/stdhooks/hook-freetype.py,sha256=t1qrKUdxYInJIt0pplH-vsvLyt-YUJsbLobgPN0dGq4,584 +_pyinstaller_hooks_contrib/stdhooks/hook-frictionless.py,sha256=tIdhDA-X4DobBTA9otBiWtKQWqB6q2n6VxQfBi_sEcE,714 +_pyinstaller_hooks_contrib/stdhooks/hook-fsspec.py,sha256=D-Q1uGwCc0rfHHgaRueYp3HOHo0wu2r80f1B4-cZn5w,522 +_pyinstaller_hooks_contrib/stdhooks/hook-fvcore.nn.py,sha256=L508elVV7ax33mODkIR3zrkCnahihoH7UIjheGAzCkM,557 +_pyinstaller_hooks_contrib/stdhooks/hook-gadfly.py,sha256=9mUNliNadIqvXXvQth9EPB6LdBfPWSbMYwumdy9m8NA,449 +_pyinstaller_hooks_contrib/stdhooks/hook-gbulb.py,sha256=QMzeWRQmulGUFSBGcyfjxTP3iDz_sf5ItOVyiENGCN4,574 +_pyinstaller_hooks_contrib/stdhooks/hook-gcloud.py,sha256=mkGLaUpDMCXtOuO8d07Hb2aDM7sOIfWFXeqZA_U0SQA,792 +_pyinstaller_hooks_contrib/stdhooks/hook-geopandas.py,sha256=f48s1JU_xMkNmMqP_SC1mFsEP_wDmh6T3N0jWd6vGBE,536 +_pyinstaller_hooks_contrib/stdhooks/hook-gitlab.py,sha256=aG2RH2UnKEwxnWNRbC5qpiOF7_K0CC56TOS-lDaXtl0,735 +_pyinstaller_hooks_contrib/stdhooks/hook-gmplot.py,sha256=3ushmjY5pSdT1NogR2UQ7Gx6ICcBNCyvuoKb3-vSXsQ,519 +_pyinstaller_hooks_contrib/stdhooks/hook-gmsh.py,sha256=LDtlKdCjMuk5pCq-BC962k9LFvfDMpUy5y8GSNj0t98,999 +_pyinstaller_hooks_contrib/stdhooks/hook-gooey.py,sha256=bqarqbH4UYL6HayuYlxlwpdbupmsX6bh6wiaH_Bf0YQ,589 +_pyinstaller_hooks_contrib/stdhooks/hook-google.api_core.py,sha256=2bn_nmbQSXYrIryWoWSiQKZc_n366zmRGaygkb5CLF8,513 +_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.bigquery.py,sha256=HC9mpFSO_64lDE0NPt1x6jJ-8jDjQSJD5R8sclQ0bB8,616 +_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.core.py,sha256=KS3LQpaY_QdbB7dukd9-A4_XwlfNpZAAu7eFnABVHe8,515 +_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.kms_v1.py,sha256=63WBtHUc0Cmd5jaGGuDXpC7nfvMjy6B8GGs4Kr4hfHQ,709 +_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.pubsub_v1.py,sha256=NBN0AvXonoi8gVC7mbO9GcEkpgqvTJusw77cf8x9d58,517 +_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.speech.py,sha256=IDmBkM2IXW9stcNaPEZmdpo8zCyNJN_lARhDx3USKYE,517 +_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.storage.py,sha256=IPIqFK6fbDn1pfBoZz9Qblh3fd9yzFvv7tmEgcB52AM,518 +_pyinstaller_hooks_contrib/stdhooks/hook-google.cloud.translate.py,sha256=qEs34x4eIHlMbgXEYlF_lWsoS7WueJT4MuaVRrU3P3A,520 +_pyinstaller_hooks_contrib/stdhooks/hook-googleapiclient.model.py,sha256=E-iDIuZc6ZVAdREtV3N3HLpytuL6I8ZQEtiUanbYlCo,852 +_pyinstaller_hooks_contrib/stdhooks/hook-grapheme.py,sha256=qZDgWdsOXerr29TAVkT6Kf74WnAWL_4Sln-09f-t_tA,516 +_pyinstaller_hooks_contrib/stdhooks/hook-graphql_query.py,sha256=KJUnT5Mw7j2bRecW2sRQ6qCRtUUuzF9r6wJ5lqWb-Ow,623 +_pyinstaller_hooks_contrib/stdhooks/hook-great_expectations.py,sha256=lGEsG7c8SCYYqTTkIq5-lFH5y8HXumf0XiE6wnj7J1k,526 +_pyinstaller_hooks_contrib/stdhooks/hook-gribapi.py,sha256=8tqxBIbvrTJP0iv1pd5v0M1XaJ5n-AxJ3VKhoQIDdqw,3977 +_pyinstaller_hooks_contrib/stdhooks/hook-grpc.py,sha256=LOSNA9INFfZNN3ExRQgVuof--iX63covoc_Qak_Vf8M,512 +_pyinstaller_hooks_contrib/stdhooks/hook-gst._gst.py,sha256=pUwgQGZvZcqc0B17mKrQkjO9HK6LJVvT2bOESNH0CaU,1324 +_pyinstaller_hooks_contrib/stdhooks/hook-gtk.py,sha256=fsCK_gJ-Gr3wQwp6KKA3Schnp5M7fCaHVKW_17aSEXU,667 +_pyinstaller_hooks_contrib/stdhooks/hook-h3.py,sha256=l02ffSxT6gn8TGL-Gy6Ckp7S3wwHTZNWggBm8NALNWw,633 +_pyinstaller_hooks_contrib/stdhooks/hook-h5py.py,sha256=1wcUIIsyjZ5A4O4bgvPOHGY6myx-o5kbFrihtWtQn7o,599 +_pyinstaller_hooks_contrib/stdhooks/hook-hdf5plugin.py,sha256=VXWPfqygkI3MEqgtYwMId1y9stV1hw2cgxzKdClYIPI,583 +_pyinstaller_hooks_contrib/stdhooks/hook-hexbytes.py,sha256=xNwjMe8uKcWA38uvakQD2Ai82Fpnlq2U00vFSEqXRUE,646 +_pyinstaller_hooks_contrib/stdhooks/hook-httplib2.py,sha256=jfXcSWs7-Y6rZnTzMdn8EeWZ2gIrQ853PjJS0Q5EUkU,588 +_pyinstaller_hooks_contrib/stdhooks/hook-humanize.py,sha256=jrrLXtdJHGahTfb9PJ87bYvF_NWeQIeNCdv03Tsq_rs,785 +_pyinstaller_hooks_contrib/stdhooks/hook-hydra.py,sha256=OS29zE6K1PfxfIjqhjrVB0gEBMIGuBItM1PfIrJpfiA,1627 +_pyinstaller_hooks_contrib/stdhooks/hook-ijson.py,sha256=3aBT5U_9srfc87VKclEFjnhfspLFqARnBtVS4eQ4GiE,530 +_pyinstaller_hooks_contrib/stdhooks/hook-imageio.py,sha256=vJhTwA3FFwJtM2PpBYs8KbE61ZMZ2EmAY_5aVoybPvo,793 +_pyinstaller_hooks_contrib/stdhooks/hook-imageio_ffmpeg.py,sha256=2-sPmk5OXOCJM2n4_OFPLLTsjwVdLc5Gm9TPfG-Oyno,905 +_pyinstaller_hooks_contrib/stdhooks/hook-iminuit.py,sha256=N5CFLEfIobQAEBX8QDaC5dXmmRiKeW6hoQiZw1H8oN4,843 +_pyinstaller_hooks_contrib/stdhooks/hook-intake.py,sha256=x2Vcz2aS__G_OpNM_1LxfmNVHaljB8tdsLut2cZyeLg,539 +_pyinstaller_hooks_contrib/stdhooks/hook-iso639.py,sha256=1EpKUHp9Is6cXqKg_xZGt2WXD6YzXDvkhvwp1UIEWzQ,546 +_pyinstaller_hooks_contrib/stdhooks/hook-itk.py,sha256=zKRK27k3FbTapA4qND2cRBTpuZLomDytNapCoprjQzA,784 +_pyinstaller_hooks_contrib/stdhooks/hook-jaraco.text.py,sha256=fyTyuTGQtSohmuztyrpqnhNMypIpuDqydCfDgjxgNYw,586 +_pyinstaller_hooks_contrib/stdhooks/hook-jedi.py,sha256=UV5c9XwxrJbidPDmA6XsOxTvz80t2ApH7gwfpB7rw-c,584 +_pyinstaller_hooks_contrib/stdhooks/hook-jieba.py,sha256=0jVycYYGjL1l5VhuzqOuNbrqtH4r8NCsUM2NEazptZ4,513 +_pyinstaller_hooks_contrib/stdhooks/hook-jinja2.py,sha256=FFEjO4CoqIlIFVGrdE1dczGexwhjtpUM3rfI3iMj9rE,452 +_pyinstaller_hooks_contrib/stdhooks/hook-jinxed.py,sha256=4Gb2axZd_-IZOsehrDA77EU3UiJgSinNt3AZ8TqHyZg,498 +_pyinstaller_hooks_contrib/stdhooks/hook-jira.py,sha256=MmTbxQc6MyvmGkkVeCHW2I3LrTu5A9LqYiErBBQnnIc,617 +_pyinstaller_hooks_contrib/stdhooks/hook-jsonpath_rw_ext.py,sha256=g9VVlyJm5vG6WfOFL39F4cAOpzoFQRbeQbLgw9l6Zvg,513 +_pyinstaller_hooks_contrib/stdhooks/hook-jsonrpcserver.py,sha256=uWOOdTGQqG3DvJNXrH5RieeiXp-EiCIyEmj6c4TMSTU,608 +_pyinstaller_hooks_contrib/stdhooks/hook-jsonschema.py,sha256=qmhcVRvyD_Zp18NsI53HIDfG25LdT7Aumw7W4n37Uqs,828 +_pyinstaller_hooks_contrib/stdhooks/hook-jsonschema_specifications.py,sha256=kDKzf09IHlbHzq2Ks4Tl40iN6WrxQfWPjpn3DYnWseI,532 +_pyinstaller_hooks_contrib/stdhooks/hook-jupyterlab.py,sha256=TU3o0IgEU9y9fyv5PsHzsKiadmXvvTxHyLYcLYzUQhk,518 +_pyinstaller_hooks_contrib/stdhooks/hook-kaleido.py,sha256=VQMvkWK3B1bSOmaKUZuSx_BHyAhMW2goRmZzEqGHYas,515 +_pyinstaller_hooks_contrib/stdhooks/hook-khmernltk.py,sha256=9RQud3NQliAQCtgo8hwQaS1Z5TKAc1he4zQ6bfeYMk8,554 +_pyinstaller_hooks_contrib/stdhooks/hook-kinterbasdb.py,sha256=cztOr2aUEqQ8d5qpQpuEAridpYruESuhfxBWSlJ6QoE,843 +_pyinstaller_hooks_contrib/stdhooks/hook-langchain.py,sha256=Ot2OiUOmUdzd_eK3Lmsp-p9N9BjwZvTEYjukprNaxxQ,517 +_pyinstaller_hooks_contrib/stdhooks/hook-langcodes.py,sha256=7hkFTGFSzn0DxY4NV1UEKodps6H6r4bYXUTojIFfhX4,517 +_pyinstaller_hooks_contrib/stdhooks/hook-langdetect.py,sha256=Qz0siDS9evVsqD3_OP2AgNpCz80qZ-hbfWUXs1ELtI4,518 +_pyinstaller_hooks_contrib/stdhooks/hook-laonlp.py,sha256=ZdENgKj_FFxnJfMoylOOouTn9UO2ifsamzT_PaWm-C0,514 +_pyinstaller_hooks_contrib/stdhooks/hook-lark.py,sha256=zQzLT5Uu5jzKTDvGu377iTWbzW77LhJV_W-vDcnmHI0,512 +_pyinstaller_hooks_contrib/stdhooks/hook-ldfparser.py,sha256=EIwxRlqMm2cOBgY6l1kgiJu_mTCX5lAryYty-I4FkZ0,527 +_pyinstaller_hooks_contrib/stdhooks/hook-lensfunpy.py,sha256=mPlp2664ax5tALxpyFiMsl_IQMBb746yMUD4bi8cS1I,665 +_pyinstaller_hooks_contrib/stdhooks/hook-libaudioverse.py,sha256=Y0tna0zcvXUUd5GFAhPWtPYv7wdrrcFt84HPecw-Sm8,598 +_pyinstaller_hooks_contrib/stdhooks/hook-librosa.py,sha256=rGNfBzWJENA4pBcL2r7-mtkQo9itqSu3JMyBfPpP5Yg,1178 +_pyinstaller_hooks_contrib/stdhooks/hook-lightgbm.py,sha256=70sAQmPVTOmG4N2tlwoCx8IAJi4u9L7ETQtFJzST2gI,937 +_pyinstaller_hooks_contrib/stdhooks/hook-lightning.py,sha256=7t0rY7UaocV5G_o09y1tNygCuilGCVX7XMG0sUfqEWw,834 +_pyinstaller_hooks_contrib/stdhooks/hook-limits.py,sha256=KvoW_h8Y_wcVkE_vlFIasuZ4S94kSKYdSlm1Ixg3_KI,514 +_pyinstaller_hooks_contrib/stdhooks/hook-linear_operator.py,sha256=amNNgp4raSBDaxNePyQVBov8_HzAhRflS66FWxljFQ0,542 +_pyinstaller_hooks_contrib/stdhooks/hook-lingua.py,sha256=gesRIVvBsRj3D4FWRY0jyMsQXR9uWs-mxWD3lruevdc,514 +_pyinstaller_hooks_contrib/stdhooks/hook-litestar.py,sha256=xJ3Y0Fj2sbkjFUhXiZIpUUsP9X81Z0bw7iGQ03Xif6o,531 +_pyinstaller_hooks_contrib/stdhooks/hook-llvmlite.py,sha256=B3-ddCSih9fqn8mbdY23YoENrC8s7rNw8WrMiSWgYmA,705 +_pyinstaller_hooks_contrib/stdhooks/hook-logilab.py,sha256=yb-uN2Rg-1ihtwse8jrTjHIMjNU6nmj1bEA4wIrPFNg,939 +_pyinstaller_hooks_contrib/stdhooks/hook-lxml.etree.py,sha256=XF1VE0AnAth1M-K6uYgtMCeFxfamSy7SLC4dH5-iee8,481 +_pyinstaller_hooks_contrib/stdhooks/hook-lxml.isoschematron.py,sha256=sKerEc6cSSX7CkkMWKfLRYHd-mu_iH0iQUrsp_MZXpM,608 +_pyinstaller_hooks_contrib/stdhooks/hook-lxml.objectify.py,sha256=MZX0zqo3_F6E4k0MS2A0iNF6QMGVD9fHhd2Ma0cXv9g,452 +_pyinstaller_hooks_contrib/stdhooks/hook-lxml.py,sha256=luxF2PUPGJFBDZY6Y486XEfhPowPSgzB_AKE-H7Xgig,673 +_pyinstaller_hooks_contrib/stdhooks/hook-lz4.py,sha256=FtaB7EdUUQc85tIhSDLhdTqauinP4RoyaqtQDbacmyk,553 +_pyinstaller_hooks_contrib/stdhooks/hook-magic.py,sha256=tBNg4y0dohfsfx2au3pHY8Sa56zkwRiqd2QdNY2P8o8,630 +_pyinstaller_hooks_contrib/stdhooks/hook-mako.codegen.py,sha256=jxcMKzHiK-n92wy4pA1WNbvZi-j6Icsu6RRU_wI1_z4,608 +_pyinstaller_hooks_contrib/stdhooks/hook-mariadb.py,sha256=8VjEMveHwCNh0SmJhs3IF5BpdrC-vq-oCsf59E4Hilk,1102 +_pyinstaller_hooks_contrib/stdhooks/hook-markdown.py,sha256=GuzXwF811hd-X4plC2JpxsnPZ8_iiXhDp0UcODyDaDg,957 +_pyinstaller_hooks_contrib/stdhooks/hook-mecab.py,sha256=TmOaHmDsVqUhHWqIJs9dKGL-T3AECAVLkGx8KjLj0y0,557 +_pyinstaller_hooks_contrib/stdhooks/hook-metpy.py,sha256=C-jKRq46CqsM8RDxDWvqgJzzjutzdVmbG1QyZZtzsWE,763 +_pyinstaller_hooks_contrib/stdhooks/hook-migrate.py,sha256=wzhAF5oPLYG2SBnK4h_4Rvd-x3hxJvCXYgdZlTutYTE,743 +_pyinstaller_hooks_contrib/stdhooks/hook-mimesis.py,sha256=njbgWuTJAA7W-l-EtiUU6G7xaRO3yP6ifjLJ1n1aScc,616 +_pyinstaller_hooks_contrib/stdhooks/hook-minecraft_launcher_lib.py,sha256=N6mf05sx3DX6pD1brbLuH6ftqMvA4fd_vi97FzBX3ec,529 +_pyinstaller_hooks_contrib/stdhooks/hook-mistune.py,sha256=9_blbpnB___kQ7gGpnJevHCjuGOVG3COt2-r-lgEpds,766 +_pyinstaller_hooks_contrib/stdhooks/hook-mnemonic.py,sha256=7XNJhrD_xeQb-2GX0kc_SeWMpMqIDHs8QV6u6NDGXD8,516 +_pyinstaller_hooks_contrib/stdhooks/hook-monai.py,sha256=P6KfEOWbPSQAjG9v81gKtZN4uz_PAGBMoOIB9eGEEfE,557 +_pyinstaller_hooks_contrib/stdhooks/hook-moviepy.audio.fx.all.py,sha256=JV9JNs53PuDR0Cxs0f2HjdJeqpHPEscnVfAXjJyks3w,682 +_pyinstaller_hooks_contrib/stdhooks/hook-moviepy.video.fx.all.py,sha256=cV4zBHk-_Lv5KX6unZirO_6JaqOSZpCciO0WTAEM19M,682 +_pyinstaller_hooks_contrib/stdhooks/hook-mpl_toolkits.basemap.py,sha256=ON-rPY8kO_IASnjpEeDaHrQXkUmXpzIP03GX-xOyzY8,1283 +_pyinstaller_hooks_contrib/stdhooks/hook-msoffcrypto.py,sha256=6PhHu099kv6aw1SizJFkUvQjyd8uOwHXdrx4jOmFQV4,573 +_pyinstaller_hooks_contrib/stdhooks/hook-nacl.py,sha256=Yl9cJzIOFKxTpmPJQhZZC_0dU3N-wpcumgXftncw_x4,1029 +_pyinstaller_hooks_contrib/stdhooks/hook-names.py,sha256=xT5qJlRMFOoftJfxVTlzamWQDBBp4iS0o8MxVLXPH6Y,610 +_pyinstaller_hooks_contrib/stdhooks/hook-nanite.py,sha256=1WAm5zr93zGp-9tCkSAjAHrn_Ip20EGOWvkCE9KhODc,570 +_pyinstaller_hooks_contrib/stdhooks/hook-narwhals.py,sha256=sYgEMI_ha4CAZPMyWj7HiVxgar6--LcAXEaGJCu9y3I,1032 +_pyinstaller_hooks_contrib/stdhooks/hook-nbconvert.py,sha256=hjVfkj9XSy6Cb0oqjXPUMDsOPXFFw0J-WbWVVe5Sf48,663 +_pyinstaller_hooks_contrib/stdhooks/hook-nbdime.py,sha256=KRxL0qDNvWCeYVcaBJZkNiQlxiY8uhbitRVs0-b3PNo,514 +_pyinstaller_hooks_contrib/stdhooks/hook-nbformat.py,sha256=pODKrbD5E56BvJ1igFFFI0zGhNX94ariUckS-FzTyJg,516 +_pyinstaller_hooks_contrib/stdhooks/hook-nbt.py,sha256=uVSdxM8DzSAXrm-Vj4ZUbjbSA1DxAC-O17wx33sXVIM,488 +_pyinstaller_hooks_contrib/stdhooks/hook-ncclient.py,sha256=272a8onLx4TVwQOLgkACgxdB3IFqWSO3gMeTtY75Hy8,862 +_pyinstaller_hooks_contrib/stdhooks/hook-netCDF4.py,sha256=eIijhYxEiYtuOJ7k7kdlfNDb5Jm49UWx7f-Y39m4M-8,1658 +_pyinstaller_hooks_contrib/stdhooks/hook-niquests.py,sha256=qQNb1Gd8UCy4j-V2gX8tHpcFKzIvqtEEVatwzRojK8U,524 +_pyinstaller_hooks_contrib/stdhooks/hook-nltk.py,sha256=muSBoO_ynOKyiAgrrxFG8TEbw8c7PwIz2rRzHYMPg14,808 +_pyinstaller_hooks_contrib/stdhooks/hook-nnpy.py,sha256=ZKFpMzgVuMehm_cGLWb8ABTE0ZEJEmNuCTjEhnn87Zo,503 +_pyinstaller_hooks_contrib/stdhooks/hook-notebook.py,sha256=1wUrdtvTqXi6Q7kBNOnavWY4LIGVbRMPDVjZ3KlQu24,1046 +_pyinstaller_hooks_contrib/stdhooks/hook-numba.py,sha256=mZcMLASN6WPOKWycmHSUmtOYj8-6LTWtwhKDhBtvYmk,2461 +_pyinstaller_hooks_contrib/stdhooks/hook-numbers_parser.py,sha256=TkQrE6nvV-DR2pDjUWPqlBRJ2w-e2oGP6CFqrmyGMkk,586 +_pyinstaller_hooks_contrib/stdhooks/hook-numcodecs.py,sha256=epxIagI-urh6piNRlzP4ZKo-7i822K9JsDh_5OJAYKA,778 +_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cublas.py,sha256=rvXPfMIVmWjQZMd-d-fXV-m2XnIG4ACHlYPwBk18CfM,686 +_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cuda_cupti.py,sha256=rvXPfMIVmWjQZMd-d-fXV-m2XnIG4ACHlYPwBk18CfM,686 +_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cuda_nvcc.py,sha256=hWVCA2qKLcvnp84nUA7SmbrAwL4Iu-coalThGBKhaRU,1287 +_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cuda_nvrtc.py,sha256=rvXPfMIVmWjQZMd-d-fXV-m2XnIG4ACHlYPwBk18CfM,686 +_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cuda_runtime.py,sha256=rvXPfMIVmWjQZMd-d-fXV-m2XnIG4ACHlYPwBk18CfM,686 +_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cudnn.py,sha256=rvXPfMIVmWjQZMd-d-fXV-m2XnIG4ACHlYPwBk18CfM,686 +_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cufft.py,sha256=rvXPfMIVmWjQZMd-d-fXV-m2XnIG4ACHlYPwBk18CfM,686 +_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.curand.py,sha256=rvXPfMIVmWjQZMd-d-fXV-m2XnIG4ACHlYPwBk18CfM,686 +_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cusolver.py,sha256=rvXPfMIVmWjQZMd-d-fXV-m2XnIG4ACHlYPwBk18CfM,686 +_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.cusparse.py,sha256=rvXPfMIVmWjQZMd-d-fXV-m2XnIG4ACHlYPwBk18CfM,686 +_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.nccl.py,sha256=rvXPfMIVmWjQZMd-d-fXV-m2XnIG4ACHlYPwBk18CfM,686 +_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.nvjitlink.py,sha256=rvXPfMIVmWjQZMd-d-fXV-m2XnIG4ACHlYPwBk18CfM,686 +_pyinstaller_hooks_contrib/stdhooks/hook-nvidia.nvtx.py,sha256=rvXPfMIVmWjQZMd-d-fXV-m2XnIG4ACHlYPwBk18CfM,686 +_pyinstaller_hooks_contrib/stdhooks/hook-office365.py,sha256=eOajWAQm3b8-4Du-ow8MGOVhUfTZYzGBdwEX7GIXu60,679 +_pyinstaller_hooks_contrib/stdhooks/hook-onnxruntime.py,sha256=98X6Ba4datHVWvkqHP-9facA_acVjYqCjW2560W8eQ8,576 +_pyinstaller_hooks_contrib/stdhooks/hook-opencc.py,sha256=P9mLJiUtD-dnFuBX3KzoDyRIXdN-XqduXGiGGCJkLOo,514 +_pyinstaller_hooks_contrib/stdhooks/hook-openpyxl.py,sha256=m6WoCKU1nco__-gW-a03SOSXYM12bcTTf-Pz8gCWMk8,637 +_pyinstaller_hooks_contrib/stdhooks/hook-opentelemetry.py,sha256=Qkoy-y7-PzJgEKCEIwr1W60AjEmjxbGAKFeKUdKTsPk,1290 +_pyinstaller_hooks_contrib/stdhooks/hook-orjson.py,sha256=bqnlukfGNV4oD4XL5VoW6l8F4LXic9e5lh22Ji1dLsE,621 +_pyinstaller_hooks_contrib/stdhooks/hook-osgeo.py,sha256=Y9uwC6ERLExngFNyXW0uX6NrKzGBukgsy2bqeh4eF_s,2910 +_pyinstaller_hooks_contrib/stdhooks/hook-pandas_flavor.py,sha256=8Ha2pO4RdxQekAcLIqswFl2jx5Ysn9jG0OBSp88p08w,795 +_pyinstaller_hooks_contrib/stdhooks/hook-panel.py,sha256=tYSkJ7c75X9hRmlBOwnDvxjlrQiyxqHpTsDZGucy-SI,654 +_pyinstaller_hooks_contrib/stdhooks/hook-parsedatetime.py,sha256=9Q3zkAIr6WKW_ORQ8eiM37v00-9PP1qbEf_HI8r1y_4,844 +_pyinstaller_hooks_contrib/stdhooks/hook-parso.py,sha256=wytvf2FAJOYVr41XBBoBhSdHwBqmVRcW6NX48YLSPDY,635 +_pyinstaller_hooks_contrib/stdhooks/hook-passlib.py,sha256=4-RQEZow_YmJAMN_fMe_fTzE1d7cIDnX5OAHLxF02vo,744 +_pyinstaller_hooks_contrib/stdhooks/hook-paste.exceptions.reporter.py,sha256=Kqn35mVCmW_jp942jhkjQ-OYdkz5QkT3RJV6I9eF7YM,594 +_pyinstaller_hooks_contrib/stdhooks/hook-patoolib.py,sha256=ZcP0tnJlIh_PFJlXWc0oNfXAn_npLl5dD0YqkSOOrKo,665 +_pyinstaller_hooks_contrib/stdhooks/hook-patsy.py,sha256=vWNbnyzAJzVMrZSsHTNBr7XZCOLGVFapdM4im0v73P8,456 +_pyinstaller_hooks_contrib/stdhooks/hook-pdfminer.py,sha256=bI8JBQn7-RAcINnPIZWULYjWs-SQhoIWbAV0et_SQN8,516 +_pyinstaller_hooks_contrib/stdhooks/hook-pendulum.py,sha256=jboGCmxlO7DfRGK9JJ19KUH4nMjGTU5uz5Gc-c5xRls,795 +_pyinstaller_hooks_contrib/stdhooks/hook-phonenumbers.py,sha256=zjjxVuQCGUftbsnXuuA1UaihlDt1_4sHVEsAu-GnElU,682 +_pyinstaller_hooks_contrib/stdhooks/hook-pingouin.py,sha256=8DnNfY_Hfpv-pwXzQqyk5bJuLJcYHPE6kph_G7eSuDc,516 +_pyinstaller_hooks_contrib/stdhooks/hook-pint.py,sha256=kZVeEtqKYXlqGtt_sfT7NFeg7jsCnilyujbfV6U-vhY,558 +_pyinstaller_hooks_contrib/stdhooks/hook-pinyin.py,sha256=g0iSA9JlUm0TPCC4CxaTOJpiNW0gl6Izc2xKZqcgh4g,738 +_pyinstaller_hooks_contrib/stdhooks/hook-platformdirs.py,sha256=NCEoeP_XKX5yxCjDwT0cPohcZ3-xPMZnLCQRFsuTJRI,839 +_pyinstaller_hooks_contrib/stdhooks/hook-plotly.py,sha256=gckQo3y7N0rAndLU1RZzqaMRgMgdBc06eSTUeIwpEfQ,702 +_pyinstaller_hooks_contrib/stdhooks/hook-pptx.py,sha256=Z2S-ITYXrEEQgfhj1anvOnAaQrrKtMhz4nB1jJaO9gw,522 +_pyinstaller_hooks_contrib/stdhooks/hook-prettytable.py,sha256=JJbRvqaWj8lZJLCHGKGIyg6uft87C0cqPL-hJ18o8ik,662 +_pyinstaller_hooks_contrib/stdhooks/hook-psutil.py,sha256=q3PHBjQWaW_9uvMbKNBTdXRAENKM5HX0m0xE_WtHOy8,1662 +_pyinstaller_hooks_contrib/stdhooks/hook-psychopy.py,sha256=TjcAifKGMUmn7Up5o251n0-7F4igd34jO_tI7D1QjMc,584 +_pyinstaller_hooks_contrib/stdhooks/hook-psycopg2.py,sha256=AYhLOAtcetLs0m_cjJQjnOmhUCTM3GeNL0R14rXTxC0,453 +_pyinstaller_hooks_contrib/stdhooks/hook-publicsuffix2.py,sha256=1JAim_QMHt74gn2JCxPjXz7qjEiXR9y9vsowb0vuSFE,521 +_pyinstaller_hooks_contrib/stdhooks/hook-pubsub.core.py,sha256=6HrYFNpinML13-6r8Qha6CuCKXpXu7rgIJxQ_gND4Xo,580 +_pyinstaller_hooks_contrib/stdhooks/hook-puremagic.py,sha256=0Xvb0WRlPB4nOCV7LffKg6S6NSOsGKuOKpGSkva-HpM,517 +_pyinstaller_hooks_contrib/stdhooks/hook-py.py,sha256=U7XDI-qn1L8VoSivgpyuNbHwyw2nijYIknmWEqGpm68,524 +_pyinstaller_hooks_contrib/stdhooks/hook-pyarrow.py,sha256=kYm4XaJ8GQFn4lsxzO1tqeDtPb8JgYvDDe8EW5wDiTg,727 +_pyinstaller_hooks_contrib/stdhooks/hook-pycountry.py,sha256=CfZlViBOJLtbWhY4s-_8P3qRA_M1dOtiwh4ECDNS_c8,691 +_pyinstaller_hooks_contrib/stdhooks/hook-pycparser.py,sha256=P43K-yDI8XmmxcchKI8KLTyr44hI4tK21FzQzL9qf1A,875 +_pyinstaller_hooks_contrib/stdhooks/hook-pycrfsuite.py,sha256=RWHkauAGHZ7-Xed0GNGnI8VXBnruXi1zrAHvfUKkD00,501 +_pyinstaller_hooks_contrib/stdhooks/hook-pydantic.py,sha256=SRZASmNbASrMbhNdCaKAi9knQ7RB8nUIZYYiwgL4bco,2053 +_pyinstaller_hooks_contrib/stdhooks/hook-pydicom.py,sha256=8OdvGBM_OgIG7LmOt-ghu4yRMxITkuTJoldEH0rEzI0,3170 +_pyinstaller_hooks_contrib/stdhooks/hook-pydivert.py,sha256=fTOz2ZV8ds9hMxjxpkRWnO3Hu1Rp-TklQn_i5l3BQ6w,530 +_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-io.py,sha256=FZcuwojyp_ohP2hlcfOPaKMnIn6z1sdYpUdG2Ttuus4,540 +_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-ods.py,sha256=wm2aZ2uH2cyFeQkmOuxmAm-Rb38buqrybqSJJ1Wu_yY,542 +_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-ods3.py,sha256=ElPK-BsVkzZyYovwRr6STzP9zwPv8vNQtKdcgII7y2w,545 +_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-odsr.py,sha256=H8f3KuemVMIhd4jiDnF7Yqm8tV_rMX_-Rji1d2soHGU,541 +_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-xls.py,sha256=4R0j_zrp_f3Fsso9a4VEnCDUV4yj5Jn-bbVEYdJps8s,542 +_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-xlsx.py,sha256=8Ciw7Xgcn9jrXjFge_c2miroB9-Tbl4uKm8TFpzB_t0,545 +_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel-xlsxw.py,sha256=fdUqkVzW8lVNPZl-hZLWB-V0W84IsFilxDWxJuG0KDY,548 +_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel.py,sha256=O4AxWgjHAqEY0qwDEHI7oRyadmkCJvvlcr51W0FH1Uo,1270 +_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_io.py,sha256=dvm5ED0pqFM8Nm_qXTiOiazK1Yy4lKLFpApozAchnf4,1026 +_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_ods.py,sha256=Iz0fWJ_yu-bUcOReVdlIONX10AK2tS9eulAFMXRdwqY,604 +_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_ods3.py,sha256=Jq2vUOuWLH6eGgSsaQ2FUGe2SBnhpRU2Mw4n1zoezO8,587 +_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_odsr.py,sha256=nrT8jVqP6XMJsvkjsz9CvR29mGfBHE57iCfCZk7u0k8,562 +_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_xls.py,sha256=oKb4_uAhN4lD2HIkCZ6Y7nZTq6Vrm0ASNguxzvqrQZ4,582 +_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_xlsx.py,sha256=4f6MoRb5lv6q2v1Ep6aZH_fzbHhqOKYV88-63Kc-1Og,589 +_pyinstaller_hooks_contrib/stdhooks/hook-pyexcel_xlsxw.py,sha256=Q6nFCXD_8M4n6eP6c6bDKZ9FMgHdmlcwUWseprA1RWw,571 +_pyinstaller_hooks_contrib/stdhooks/hook-pyexcelerate.Writer.py,sha256=L_KxyR2a27d0hjtK_L5Xt6Bh8CSXwsrDCJmwN5SRrxc,520 +_pyinstaller_hooks_contrib/stdhooks/hook-pygraphviz.py,sha256=dvaQJYk0_aWbi8BXObjN7WjzA-G64dEzHEWuiq8cksE,6227 +_pyinstaller_hooks_contrib/stdhooks/hook-pygwalker.py,sha256=riOBNf_TUoNdah7wNAPg0YOZ9ruzexvYN5_DhTW_uuQ,517 +_pyinstaller_hooks_contrib/stdhooks/hook-pylibmagic.py,sha256=HCi2VRbUeBRFHbu3aZaQVpdH4CLjt6Mg55MT5r29AtU,638 +_pyinstaller_hooks_contrib/stdhooks/hook-pylint.py,sha256=7CGgOElk4-j1dUFSYvdgkDhnaWA64NyPklA59tJYCxE,2797 +_pyinstaller_hooks_contrib/stdhooks/hook-pylsl.py,sha256=qoZGPIxR5X1YYvohqhi7wQwHTPFJZY9tzLHp0ZFJPxQ,1356 +_pyinstaller_hooks_contrib/stdhooks/hook-pymediainfo.py,sha256=SZHmXlXI3hg6WQI1DB0SQ2CgMdvC4R_lKXITC28JdSc,1720 +_pyinstaller_hooks_contrib/stdhooks/hook-pymorphy3.py,sha256=WiiMapatPQ-tMqu9uJMqb-YrZgz4-z9UzCuGIH-hFuk,882 +_pyinstaller_hooks_contrib/stdhooks/hook-pymssql.py,sha256=lvxXSQPWOjXk01HpxQD4vuz_NWRLu7dHVzdBBFObd4Q,702 +_pyinstaller_hooks_contrib/stdhooks/hook-pynng.py,sha256=PT-I3kcGNXn_bKm-9FnSwSSvmzAcxnlMuYeSrFJYflg,504 +_pyinstaller_hooks_contrib/stdhooks/hook-pynput.py,sha256=Bst5K7rJ2x6zu7RH9Rw2o3bt9OH6zKcdCSvkjLxiVVs,522 +_pyinstaller_hooks_contrib/stdhooks/hook-pyodbc.py,sha256=O4xxP-3UYj1U-F5brNgHUJqrLZ1xEhi8dmyewtdjAQg,800 +_pyinstaller_hooks_contrib/stdhooks/hook-pyopencl.py,sha256=BYmdmFmWfLvTCwYfoU5R6te6ZLiOIOowt3lCFf90vSI,636 +_pyinstaller_hooks_contrib/stdhooks/hook-pypdfium2.py,sha256=nfQw_jrlpyjGS1qLiM0rUqg96qSmVo3Bm-mqSEDvvKo,543 +_pyinstaller_hooks_contrib/stdhooks/hook-pypdfium2_raw.py,sha256=9h06-jdvkwxHgQQsA7C8eVuKATFO1bxtiY3d7O3H7kM,664 +_pyinstaller_hooks_contrib/stdhooks/hook-pypemicro.py,sha256=AAcRqmDT99-Hf6qOx-oYpVz5ikMSSrdmTHNIPlw0fRE,1537 +_pyinstaller_hooks_contrib/stdhooks/hook-pyphen.py,sha256=TOIIizX9zsR8Yxne30gn3kVD3-_SR3yLbIdDeRrRNm0,514 +_pyinstaller_hooks_contrib/stdhooks/hook-pyppeteer.py,sha256=tQBftDHjR6UE8hLS9TOhdfZ2CtYj3pQA7RPQICnEq2Y,569 +_pyinstaller_hooks_contrib/stdhooks/hook-pyproj.py,sha256=fElcGMR97s1w0DtwbVQwaRHl4XlRy5amsLnJQb--DaA,3015 +_pyinstaller_hooks_contrib/stdhooks/hook-pypsexec.py,sha256=1dsJpXxQSf_ax1ZG404Gt_lugYsZnp4sccNDC9ARs2k,663 +_pyinstaller_hooks_contrib/stdhooks/hook-pypylon.py,sha256=0lVseKKn8a_oAJSD2gKmk1BB8c2JV0JzPLpV29-lQr4,2502 +_pyinstaller_hooks_contrib/stdhooks/hook-pyqtgraph.py,sha256=TV_83_49-Ct7JMDLTWZ40lhUkBu2JgrVeh9ViyDKvVY,2724 +_pyinstaller_hooks_contrib/stdhooks/hook-pyshark.py,sha256=QiK5ngnGJgd-4Ej9bSCfLm6C0T59nR2Wcmv9W4T3OGk,894 +_pyinstaller_hooks_contrib/stdhooks/hook-pysnmp.py,sha256=VTFu70OKNnuxQf5BgFoQfRNKhHIYpsYBBq3Um61cBpk,620 +_pyinstaller_hooks_contrib/stdhooks/hook-pystray.py,sha256=zwrmSkRqcqCTB0LorfBeohRhK6z83Gn6mtHkn8stjHk,645 +_pyinstaller_hooks_contrib/stdhooks/hook-pytest.py,sha256=KswRiZA4mc6ntcoRZP1uuWCvWjeOMH3EyXlUR1HIk6U,530 +_pyinstaller_hooks_contrib/stdhooks/hook-pythainlp.py,sha256=LjYyaZ6bippZB_FaEhfO98ZoMuMq2ts4tJNM-oFOX0M,517 +_pyinstaller_hooks_contrib/stdhooks/hook-pythoncom.py,sha256=8BNoI-XzdFcMMYZGhtgJlKQafkLCPNEcNkYvklCl-oA,1310 +_pyinstaller_hooks_contrib/stdhooks/hook-pyttsx.py,sha256=Dc_k1cOMrTiyUD2ykczvMjFnKsxqnsRyoubp6AZuK0U,680 +_pyinstaller_hooks_contrib/stdhooks/hook-pyttsx3.py,sha256=tSKAGe5li3ZNgXmD8uBAOklK2gXZsb8N_g0DmDwXz3Q,953 +_pyinstaller_hooks_contrib/stdhooks/hook-pyviz_comms.py,sha256=tIouDRIPXMthfkbl92nPp_WoiV95hgkvX2fJmNt6Q_M,519 +_pyinstaller_hooks_contrib/stdhooks/hook-pyvjoy.py,sha256=z_5pzdhljTAIqXr6ZUAU90yetm9XsismXM8fJACXJOE,520 +_pyinstaller_hooks_contrib/stdhooks/hook-pywintypes.py,sha256=P1c320OpZ0aYBcuvJYuyn6GXs9rR9SXYlifElNhGg3A,1312 +_pyinstaller_hooks_contrib/stdhooks/hook-pywt.py,sha256=h66LHiEystMScItTwayt9BVAbxTKtRaHh9eAJn3yVbU,875 +_pyinstaller_hooks_contrib/stdhooks/hook-qtmodern.py,sha256=YsxMuexOuumpdDaxGJHm72B3Ir1g4QYFhQaaGcMPiTc,539 +_pyinstaller_hooks_contrib/stdhooks/hook-radicale.py,sha256=fiBeBFdZEF4SOsmex1KuBzxk8wuIPbXvSAYtw9Z333k,566 +_pyinstaller_hooks_contrib/stdhooks/hook-raven.py,sha256=ZMjvs_bMMzL6ivmkMYd4JaH1GQjySXFvMWY2FKo_QMQ,474 +_pyinstaller_hooks_contrib/stdhooks/hook-rawpy.py,sha256=Unn3Dmi-1DO6PEsP1V1fc4msZKjlfdRfRJ1lHuhW430,549 +_pyinstaller_hooks_contrib/stdhooks/hook-rdflib.py,sha256=rZILYAIHxVLRb8Yoo-OrCwOxgpnXa0mIUtAt7NQdn1w,530 +_pyinstaller_hooks_contrib/stdhooks/hook-redmine.py,sha256=WB6xvPntTEPCgr0OObGvIrA2-tJf_Pj6VPOg-haG_Lw,459 +_pyinstaller_hooks_contrib/stdhooks/hook-regex.py,sha256=NbwTOxbeaB2odUSDRMfG_A3MlsE4gBK5-87xXDDVoLE,450 +_pyinstaller_hooks_contrib/stdhooks/hook-reportlab.lib.utils.py,sha256=pZqRNQOrita5omAC5_nSskyAAu3p4JpsgQ1aqPYyKlE,495 +_pyinstaller_hooks_contrib/stdhooks/hook-reportlab.pdfbase._fontdata.py,sha256=tEXZopdzGoV68mBgXZiDFEj2X2BoIBc6q7QcGI-4glY,754 +_pyinstaller_hooks_contrib/stdhooks/hook-resampy.py,sha256=vAXcFQNF7T3C_Noq2d7BhhWh4M2rUMR-w7m0WsA631w,596 +_pyinstaller_hooks_contrib/stdhooks/hook-rlp.py,sha256=MZaRLPT-yxpVpYHmPSn6QKZDesyZrgWvjOQSiF-s0qs,631 +_pyinstaller_hooks_contrib/stdhooks/hook-rpy2.py,sha256=jw3x7MFzZ1W4JmLG3ee-mJAfeHONVj0OfD6P0XMD9sQ,526 +_pyinstaller_hooks_contrib/stdhooks/hook-rtree.py,sha256=H7e24Ulm4tZEDisBv50Y2NDyrSvekdmduxrcyA-77dQ,1982 +_pyinstaller_hooks_contrib/stdhooks/hook-ruamel.yaml.py,sha256=LHylLWoNGTZVF8CtxQMjnx3SXEJZ6AZX9Fv7FZHQyeQ,1698 +_pyinstaller_hooks_contrib/stdhooks/hook-rubicon.py,sha256=QMzeWRQmulGUFSBGcyfjxTP3iDz_sf5ItOVyiENGCN4,574 +_pyinstaller_hooks_contrib/stdhooks/hook-sacremoses.py,sha256=lm66cE71dKrvqLJJA-yJ3vtuxH7kcb8ptroAEfdQRJ8,518 +_pyinstaller_hooks_contrib/stdhooks/hook-sam2.py,sha256=o-8rFNsAQ-LCbWOO5bq_Dwt43RhQp1E5lzvZX9C7zOA,1368 +_pyinstaller_hooks_contrib/stdhooks/hook-saml2.py,sha256=S1UqQSq4qsJqr731S_pQ3n78vZ0sD5HLl8j6WyjqfQk,1138 +_pyinstaller_hooks_contrib/stdhooks/hook-schwifty.py,sha256=KR8NXP6rWyt7QlUpDSwT1YFM9SbTpzZAsv8FCqXdNQ8,566 +_pyinstaller_hooks_contrib/stdhooks/hook-seedir.py,sha256=IHIIi5YRBlRmixBGQkKG20hTbxCFFSAmTn5PKoSDyxI,514 +_pyinstaller_hooks_contrib/stdhooks/hook-selectolax.py,sha256=-Em9_LQNQJcIGbrVqs5UipDyY7m_wJHsExoax_Cjyy8,518 +_pyinstaller_hooks_contrib/stdhooks/hook-selenium.py,sha256=evaqzJ9MoXzbS0RaUGyta7C75YOLm0pL2FbqrOL0sV8,516 +_pyinstaller_hooks_contrib/stdhooks/hook-sentry_sdk.py,sha256=RRHQjGatbPphkfgBXH6ZRC663uVEDtVUR4YQqnf0ivo,1555 +_pyinstaller_hooks_contrib/stdhooks/hook-setuptools_scm.py,sha256=AKzhxS_poloeTW3P1AqpfEhv1Pj22ObVPlcmMKVxTcE,638 +_pyinstaller_hooks_contrib/stdhooks/hook-shapely.py,sha256=fQvQRdyiAm1SROvypkgHUqM3XHyrYcAlrBB1ogzBbTA,4815 +_pyinstaller_hooks_contrib/stdhooks/hook-shotgun_api3.py,sha256=PWWJA_bTQulDDZ_SlJknhwMmBJMlA0syMN7ty4CqKfA,837 +_pyinstaller_hooks_contrib/stdhooks/hook-simplemma.py,sha256=1bBXLPhsKhWION7Yao22LQTMQJ4Yo0LWKX0cFjBSONg,517 +_pyinstaller_hooks_contrib/stdhooks/hook-skimage.color.py,sha256=f3Gggsi95Q8Mzr4dV_WECbSmvWMeQ4YZptkzNf-5wlE,885 +_pyinstaller_hooks_contrib/stdhooks/hook-skimage.data.py,sha256=wDeAlllX4ohrXZQMMPFDhXqwSQKaJszi_X0fLhh4FOw,882 +_pyinstaller_hooks_contrib/stdhooks/hook-skimage.draw.py,sha256=BdsCh5CYIlUmB9TU0q6LRo0vNfkiP9Ikl1CGOrrf02g,882 +_pyinstaller_hooks_contrib/stdhooks/hook-skimage.exposure.py,sha256=RvZnk0miH3VeMCjXcPk7PMjgyaD2-Ts5WomfA6l2DkQ,894 +_pyinstaller_hooks_contrib/stdhooks/hook-skimage.feature.py,sha256=hGjCqKixqNQWSNeh3YbWL9Pgeu-Oj_jo66r6OfSz6vA,1348 +_pyinstaller_hooks_contrib/stdhooks/hook-skimage.filters.py,sha256=Wf1FoAwOOSEJN338XePFGQQQEY2mDsnLn1djfXmyJa8,1224 +_pyinstaller_hooks_contrib/stdhooks/hook-skimage.future.py,sha256=A1Ozf_BsbVh9FeNY7M7RPYlPmQqq5XqaG1nnDscjmEE,888 +_pyinstaller_hooks_contrib/stdhooks/hook-skimage.graph.py,sha256=W6E_UbfmgCvsf7xFVLnjNWRbEnWQCXFIKrylJ19af0M,1012 +_pyinstaller_hooks_contrib/stdhooks/hook-skimage.io.py,sha256=gvA5t2GkyzSTDe475c7TWJMxH0ZwcIVZtBFypufVTHU,692 +_pyinstaller_hooks_contrib/stdhooks/hook-skimage.measure.py,sha256=kBIwSn8bHZkyBx4e_kmbIfEhBDpM56-TUMds2NrIotM,891 +_pyinstaller_hooks_contrib/stdhooks/hook-skimage.metrics.py,sha256=UXc7fYHmZtjSjigpNpRWNXd8n5PlrttGpNf-6FJhCd8,891 +_pyinstaller_hooks_contrib/stdhooks/hook-skimage.morphology.py,sha256=rNY8kBmId9ZjqErQCtjcaVM5z7NAV7GX5-6zDe-ejPk,708 +_pyinstaller_hooks_contrib/stdhooks/hook-skimage.py,sha256=X1D4G1ifc2NJYgEP8BJv7_HbibSIh_zU_mi02Tz2Ro8,699 +_pyinstaller_hooks_contrib/stdhooks/hook-skimage.registration.py,sha256=fPIIIOtwjCrTjtrFx-Gm43gQRQ3hIt07j5B0ukkPnZ8,906 +_pyinstaller_hooks_contrib/stdhooks/hook-skimage.restoration.py,sha256=L8Sl7-uEt0w0fkMFuj_F9Br5t3rPmeTC9Gl5tOTB1kE,903 +_pyinstaller_hooks_contrib/stdhooks/hook-skimage.transform.py,sha256=JzT1ZOZSYF9AIE0GqofIDqeJAzeZqR8ueOtWH4USQ2A,1160 +_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.cluster.py,sha256=oP45i7CNTVbV24F7lcW1SENbY3FkL-r_g-ZfsRhPo3g,646 +_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.externals.array_api_compat.cupy.py,sha256=sFbfr1npuVKj8m3urWg95FaEfloU47nqJUaqlKJZxNc,737 +_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.externals.array_api_compat.dask.array.py,sha256=VfN-qayjdhLHAvTNQWhl6OK-0JfrkNMuUE-16RG4zrY,749 +_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.externals.array_api_compat.numpy.py,sha256=LSXc_clKE0IwZFjASpNDX0gHWnzAFZXofFZ0Q5U4Eyw,739 +_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.externals.array_api_compat.torch.py,sha256=g7zj1_tPoYPOG-BX4LfBoblxwYiDAJ81h36KpT2mE54,739 +_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.linear_model.py,sha256=CwIAWIFg3WAB9h77Cy606FOWJ8M1PwM84APlOi6wP7o,681 +_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.metrics.cluster.py,sha256=q77JZ2N5g2JAdJ9KZc1M6VmghFFJEZix9QCIppRyvpo,1059 +_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.metrics.pairwise.py,sha256=Y-mMC21KcFLZl8tBlFZk0Rhxh3RAF7uBZa9_XC3yBT4,695 +_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.metrics.py,sha256=jMbCX7-k2My3roYB8InOM8MW80_7TYJtaOsR5CVW41I,836 +_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.neighbors.py,sha256=QqEsYvxvqhtkraAZCGeJyqV9vmv6N6Gzf4PVJLQiXxY,1256 +_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.py,sha256=IBTUfO-Z5Sa2mw2iCEMKGd_0-kDpDXSTlXo-BqiuS4Q,563 +_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.tree.py,sha256=CDM3BloR4zKzilWpYZsKx122Q6h4DZ6UFuo-j3Qv3cM,619 +_pyinstaller_hooks_contrib/stdhooks/hook-sklearn.utils.py,sha256=8YJzItmY0OiXrJzS8TvgtZu-ftxIlRssCczworboFTs,749 +_pyinstaller_hooks_contrib/stdhooks/hook-skyfield.py,sha256=6oKXVPWHwEbqV_RrMOxL1t7PGZ7hiBhH4ChjG3CdXfY,515 +_pyinstaller_hooks_contrib/stdhooks/hook-slixmpp.py,sha256=oQkL_3sMJ5PVQJbYP4xCnybIW50WvDCnGXefOVot4ug,532 +_pyinstaller_hooks_contrib/stdhooks/hook-sound_lib.py,sha256=Kq3QihOuvNPWwy_6A9aWUAaL7WNzpNuilXKztVEFKLk,579 +_pyinstaller_hooks_contrib/stdhooks/hook-sounddevice.py,sha256=FGwJDIZkgFIbMiS0PvT6nu3aXDX08tzTqLgx3tGbP-A,2274 +_pyinstaller_hooks_contrib/stdhooks/hook-soundfile.py,sha256=0LjHvLYMaqRFdwj-ejmNPKe00TfXa2n4JzSf9WtMdz4,2205 +_pyinstaller_hooks_contrib/stdhooks/hook-spacy.py,sha256=0mBcrUsC6yf2Ojn6U8H6qxv91pQu6pMthpYt0KHa8Jk,660 +_pyinstaller_hooks_contrib/stdhooks/hook-speech_recognition.py,sha256=piGWZuxa_PXxTEyPOFb7iyFzJxiG6n3Tt_-zPm1kaug,661 +_pyinstaller_hooks_contrib/stdhooks/hook-spiceypy.py,sha256=Ed6LYIhF6poAcCSPyb5rvhVjUFkdl9qw0qxyn73JJDU,625 +_pyinstaller_hooks_contrib/stdhooks/hook-spnego.py,sha256=ehk5wUbK8Xj-Oh75VyPssmzZSeK7QcFo2wNFZ8RaJW8,522 +_pyinstaller_hooks_contrib/stdhooks/hook-srsly.msgpack._packer.py,sha256=WXdQwncBqLpuxfcR_i-OySkzAtlkbAepvX82vMnfQ7M,596 +_pyinstaller_hooks_contrib/stdhooks/hook-sspilib.raw.py,sha256=d4vicope-Y7s4BjCk9I6lrsYm9MUc5_NDa3tiyATOlg,861 +_pyinstaller_hooks_contrib/stdhooks/hook-statsmodels.tsa.statespace.py,sha256=z1YSRSV5BtzND932WFgwB70XFU2yz0-lK5vxIJpCKLQ,619 +_pyinstaller_hooks_contrib/stdhooks/hook-stdnum.py,sha256=KOp6fIP-1UYDUQvQTtjsfDf85sTfouUh9XDP28TTGdg,589 +_pyinstaller_hooks_contrib/stdhooks/hook-storm.database.py,sha256=Enp0r3QnP011rR4Lo6Jmh_7tuKeX-FO9wF-b2rF_Gfo,559 +_pyinstaller_hooks_contrib/stdhooks/hook-sudachipy.py,sha256=mznzdDeOa49mGSqNMjmIlWHgTI0tabQ1Xy-8IbS6ks8,1088 +_pyinstaller_hooks_contrib/stdhooks/hook-sunpy.py,sha256=WdRTp2-VH2zgM8lhXbeL4H08MWVyfHh8lVee5RPSZiA,810 +_pyinstaller_hooks_contrib/stdhooks/hook-sv_ttk.py,sha256=gkQBskWzIY9vj5JaCgIZbFGsiBPWtd2KRXiUzWOLY5g,564 +_pyinstaller_hooks_contrib/stdhooks/hook-swagger_spec_validator.py,sha256=CZxq9j5qkkuVAjSQWQwRRaIJT9GGa978Q9F57erq4HY,530 +_pyinstaller_hooks_contrib/stdhooks/hook-tableauhyperapi.py,sha256=AumaK0lkQrfiCsG9p6t5L7RGWme6OJ5b579vugQVF4k,530 +_pyinstaller_hooks_contrib/stdhooks/hook-tables.py,sha256=IOnpCJdV4hWIz1is97IDMSC1prG4c2wkIsyB1WikmxI,1471 +_pyinstaller_hooks_contrib/stdhooks/hook-tcod.py,sha256=d30d6w3skLxkY1O-4qgWOcITPbiXKN-Af3tp9gqAYpk,675 +_pyinstaller_hooks_contrib/stdhooks/hook-tensorflow.py,sha256=Z1TQ81Ip2GVDrhd9n94y4paKIS8Mazp4f1vd2t3AA1Y,8080 +_pyinstaller_hooks_contrib/stdhooks/hook-text_unidecode.py,sha256=aiKF9Adg3AERYMKQfnGu4NIjXvkd9cabMbn7EWbnZaU,823 +_pyinstaller_hooks_contrib/stdhooks/hook-textdistance.py,sha256=VMB0NOWxX-wm0iaN7LZu7DDNl-oZeYPOLkq99bQynyY,602 +_pyinstaller_hooks_contrib/stdhooks/hook-thinc.backends.numpy_ops.py,sha256=fQe7iRyYKHzh2O51Rhqla_wQTDD0qPh4MwS70SuBGwA,620 +_pyinstaller_hooks_contrib/stdhooks/hook-thinc.py,sha256=kv4x4ewqLapioW9Iyt4pgZAklPqYH2buCl0bU6l4q94,682 +_pyinstaller_hooks_contrib/stdhooks/hook-timezonefinder.py,sha256=gFfA4F9ImepBorXt9onYcWoaNCv-PSrjUrkS8H-Vt8w,522 +_pyinstaller_hooks_contrib/stdhooks/hook-timm.py,sha256=L508elVV7ax33mODkIR3zrkCnahihoH7UIjheGAzCkM,557 +_pyinstaller_hooks_contrib/stdhooks/hook-tinycss2.py,sha256=ke7JomKRtbpoKSoOAbqBsVs7KBbMyqNc9LdKPsy8940,718 +_pyinstaller_hooks_contrib/stdhooks/hook-tkinterdnd2.py,sha256=q8CySMlcznBRNvC6IthGv9P8qwyBIB9VlY3Wi5W8GG4,3411 +_pyinstaller_hooks_contrib/stdhooks/hook-tkinterweb.py,sha256=3mc9WHsQwEcicMdXTN5u8AO7vsj-0fbiReCKFfpPDHc,551 +_pyinstaller_hooks_contrib/stdhooks/hook-tkinterweb_tkhtml.py,sha256=ZHUoCgUifUymB0UYlWeBt9rTgZiN253vE9IpxOV5nHo,664 +_pyinstaller_hooks_contrib/stdhooks/hook-toga.py,sha256=zhwG5bPJ07O8bEWwHoLLXWTMRfkfH5HpmtgGh54ncZ0,1533 +_pyinstaller_hooks_contrib/stdhooks/hook-toga_cocoa.py,sha256=lRTBxt7K5mDBr0Vg9_cKtlWjYwo3aYkuxYZYUGQBFgI,695 +_pyinstaller_hooks_contrib/stdhooks/hook-toga_gtk.py,sha256=BLhknKuw1taIhpChywxds5YAaErt3p1QEbMaD_LW5N0,698 +_pyinstaller_hooks_contrib/stdhooks/hook-toga_winforms.py,sha256=ZdedhJzay8JBOpHFkh886uhqkbVceUtZCQ42a0PcIIQ,1676 +_pyinstaller_hooks_contrib/stdhooks/hook-torch.py,sha256=6qn1WfInpZHD6Kv7ssFb39T-4qcIqKzkjQ0aPbfNeoo,7656 +_pyinstaller_hooks_contrib/stdhooks/hook-torchao.py,sha256=Zog524ito99K6tRiZqps5bP0mmTIvUeQGPeZJ0c6Lbg,503 +_pyinstaller_hooks_contrib/stdhooks/hook-torchaudio.py,sha256=uiHAOGQ-3-ObT97AVxv0z0QlpbjFJbNE2Q0gYNADXGM,867 +_pyinstaller_hooks_contrib/stdhooks/hook-torchtext.py,sha256=CzTfNYupWeGaRRfSIL2eJY0aDBhQv1QXtJbWA-NEDN0,864 +_pyinstaller_hooks_contrib/stdhooks/hook-torchvision.io.image.py,sha256=gY1Lyzi4FXkXgunJsO1tu0L1mF57K7UYEJRbUv5ty8A,544 +_pyinstaller_hooks_contrib/stdhooks/hook-torchvision.py,sha256=4b1nEXZqf2wF3NQmnxHSAzjKdVg5_v7vdXqQZBnDqcY,750 +_pyinstaller_hooks_contrib/stdhooks/hook-trame.py,sha256=wfWJdueXwSbtg5ltTooMVKIScckp4MJfAMjQUSrggZI,449 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_client.py,sha256=VzWxVdG9C6_5R0VSNK13fbi6UEpiqrho26uU8y4jgFc,537 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_code.py,sha256=lBe5ZK_X8AjASCPIV9APv5YGX2ISWvBnbIkjg_FfNw0,538 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_components.py,sha256=54f4hYedYKygfRWKPdagVKWHUW_Rln9hYUsz1bIV-lc,541 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_datagrid.py,sha256=_YgeTfiZm-HByd8G1_DIb70yXdgKiDXyROaDXBiXHs8,539 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_deckgl.py,sha256=Jv0w7wuGjC3AuQ4sgLGtA3Eiijda2D_i8eFFkgyRuB8,537 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_formkit.py,sha256=ryM4qXa18QDuBdWffklfR-B3-FUs5N_x1l1LVJxcIus,541 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_grid.py,sha256=za_pkjIroAH_VjdYywXdSsA4uP8yAHIMT84UYkmUlm8,538 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_iframe.py,sha256=EIAhF1ARh2m19WvQIIkzkKbmAWrVzqLcxp97qd5fZ-8,537 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_keycloak.py,sha256=BrfdnSqBj2xwebMRwxiFtnBK6bpl99ytdZWv_mS5YLo,539 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_leaflet.py,sha256=A5HftRWLEo-4JxANDRf1qyYdzQ9UMjkT9ZQAITqhK4k,541 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_markdown.py,sha256=F6U1hYfdc76jU4Mw64o8DNSsbDzputARvHW3_NpMRwQ,542 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_matplotlib.py,sha256=y2zdoreEfcZ12d7K8tZdtMrnkT8m5-JS5pi5_4JVHI0,544 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_mesh_streamer.py,sha256=MM0sW1v0nCpXywQ4j6ioy9RK6cxS5Yg-0eY7zZxua0c,568 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_plotly.py,sha256=Jus__aRsqdUEyLe96VsAKggn3eNEqL2SvDV8R6kB7ao,537 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_pvui.py,sha256=t-k_oh-jEQ7WZYxWp5mrF_zdbjlDb5K-f9b26p6OTFU,535 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_quasar.py,sha256=yGPS7wYndn26rud-Qry0HxMvB3N7mYgoBv5CbQe7JBI,540 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_rca.py,sha256=Vz-h_WumdIelMNLG31vWUO7fSjEM2O2zG2Je7Mg5Jkk,534 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_router.py,sha256=u1wTcmw6sfgWMyEX3pkj7_4PVkuL9VQsFE98IkB1X0I,537 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_simput.py,sha256=e7XVwnoMR-grO51ir3iX0ToTOB7M31oqp7EAv5TNb5M,537 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_tauri.py,sha256=c-qQLEenEVzwFl9CJvGioTnf-9OHQhL-4SUD_iAlgf8,536 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_tweakpane.py,sha256=1yTKF43c-bwM5GNUiP5pg-7dZoLi2MicTGiIy6djgAo,543 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_vega.py,sha256=8m8NgpnnfQDKB96FSLkVdVFBXrut8EVFN6p_d74KK0s,535 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_vtk.py,sha256=rQzWSHqHjITxVctPZCcvupmNUrP6qWO5KvfapQ59Jug,599 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_vtk3d.py,sha256=C50pnto4_ZHuYoNnwUbQwxKPnVbLUgAbGVEzdm3QCYY,536 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_vtklocal.py,sha256=MJ4b692GnZ8xeLf7U3MfA_8UhnPH6m8WU3vv1V0C1WI,563 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_vuetify.py,sha256=uzrIK50-q9-ElD4iGi7r9hCUshtntdpdJgSWCFMTORo,538 +_pyinstaller_hooks_contrib/stdhooks/hook-trame_xterm.py,sha256=bv8OYRBotPrbovDdbRAIm__Byask8Gl-WNn3S6nqFT8,536 +_pyinstaller_hooks_contrib/stdhooks/hook-transformers.py,sha256=O37StBG92hU4-oxQie0_G7z2CqPdQgT7gaNJYoYl7mY,1440 +_pyinstaller_hooks_contrib/stdhooks/hook-travertino.py,sha256=Fn1askoaMKmMpSF2sPoq1k_q3ntXv5Q_5SzRB3ZtqDc,732 +_pyinstaller_hooks_contrib/stdhooks/hook-trimesh.py,sha256=8rZOJcrZzvQP1dcNFbFiIGNciMNcN8nfQ5l8A962ct0,630 +_pyinstaller_hooks_contrib/stdhooks/hook-triton.py,sha256=qH3Ag8ZV_2ntt-_kDNku4I0wJVDrt4sSIiY-cXnxcak,2146 +_pyinstaller_hooks_contrib/stdhooks/hook-ttkthemes.py,sha256=r3b6GzZQ5Kr9JLCK8NOmodZkBl_lbYA8yuiPohVEzDA,1822 +_pyinstaller_hooks_contrib/stdhooks/hook-ttkwidgets.py,sha256=vS1Xdgi8Q-m9qhK97u1T111pBEPm2HVgmbWi7byqTr0,1288 +_pyinstaller_hooks_contrib/stdhooks/hook-tzdata.py,sha256=OsSahzrcY_SuaoZB6gXT7HtkWSJGb_c_h76du4talxk,826 +_pyinstaller_hooks_contrib/stdhooks/hook-tzwhere.py,sha256=qNPXs2MAeH5Y0FWDCOXoplHp5FI-GIRkI62yFvUzN5A,515 +_pyinstaller_hooks_contrib/stdhooks/hook-u1db.py,sha256=ftGC2v2SEPsypYXY934pYN8H_dvOoEbafKaeiNP06n4,876 +_pyinstaller_hooks_contrib/stdhooks/hook-ultralytics.py,sha256=LoDbFbjOrzRzEpViEzZ1ZPb4DVk_h3QNjsPSex_hgys,717 +_pyinstaller_hooks_contrib/stdhooks/hook-umap.py,sha256=Df75m78IePhWxlordune2qRC_UmgTLDvrlQyePr5HMI,508 +_pyinstaller_hooks_contrib/stdhooks/hook-unidecode.py,sha256=t86yg_WZ0An4pjHIVQ_Mnnvn8u74LKZmNEsnPd2CiAo,812 +_pyinstaller_hooks_contrib/stdhooks/hook-uniseg.py,sha256=vBDFt52WHwaVWhSJGmBxlPR8Iuvjo9iVvw8l5xSrv_I,581 +_pyinstaller_hooks_contrib/stdhooks/hook-urllib3.py,sha256=j92BNOqwhPQYqyFs12KoYGyILwIKM09NYch2q6Ls36k,793 +_pyinstaller_hooks_contrib/stdhooks/hook-urllib3_future.py,sha256=SnwwUzQZWPU-nVDjP9GkOV3_LmHJGJLkUVBh7t7ZEqM,610 +_pyinstaller_hooks_contrib/stdhooks/hook-usb.py,sha256=oHb1tcivipqchTKh0oq7eNUFVjjYdAjb3x0ylyPhkTs,3457 +_pyinstaller_hooks_contrib/stdhooks/hook-uuid6.py,sha256=YiEa093qjJ65XTUppoO6nKFxzp6h7Wds7OZsAjWIwOA,659 +_pyinstaller_hooks_contrib/stdhooks/hook-uvicorn.py,sha256=rPwThXcBdALtt0PQ2_kCG77QhiFTsLPVVvRHnO-zPdE,523 +_pyinstaller_hooks_contrib/stdhooks/hook-uvloop.py,sha256=klDycjXcNetKquOPOWYx2VedfVovgHE4sT0d24EsG6Q,663 +_pyinstaller_hooks_contrib/stdhooks/hook-vaderSentiment.py,sha256=oLtl1Fxlp5BBvcPvnY350FlkKJ_xe6TNDt6e20-CwQk,522 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkAcceleratorsVTKmCore.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkAcceleratorsVTKmDataModel.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkAcceleratorsVTKmFilters.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkChartsCore.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonColor.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonComputationalGeometry.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonDataModel.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonExecutionModel.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonMath.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonMisc.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonPython.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonSystem.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkCommonTransforms.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkDomainsChemistry.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkDomainsChemistryOpenGL2.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersAMR.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersCellGrid.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersCore.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersExtraction.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersFlowPaths.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersGeneral.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersGeneric.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersGeometry.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersGeometryPreview.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersHybrid.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersHyperTree.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersImaging.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersModeling.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersParallel.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersParallelDIY2.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersParallelImaging.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersParallelStatistics.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersPoints.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersProgrammable.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersPython.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersReduction.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersSMP.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersSelection.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersSources.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersStatistics.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersTemporal.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersTensor.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersTexture.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersTopology.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkFiltersVerdict.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkGeovisCore.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOAMR.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOAsynchronous.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOAvmesh.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCGNSReader.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCONVERGECFD.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCellGrid.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCesium3DTiles.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOChemistry.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCityGML.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOCore.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOERF.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOEnSight.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOEngys.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOExodus.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOExport.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOExportGL2PS.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOExportPDF.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOFDS.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOFLUENTCFF.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOGeoJSON.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOGeometry.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOH5Rage.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOH5part.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOHDF.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOIOSS.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOImage.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOImport.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOInfovis.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOLANLX3D.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOLSDyna.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOLegacy.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOMINC.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOMotionFX.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOMovie.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIONetCDF.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOOMF.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOOggTheora.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOPIO.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOPLY.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOParallel.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOParallelExodus.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOParallelLSDyna.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOParallelXML.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOSQL.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOSegY.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOTRUCHAS.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOTecplotTable.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOVPIC.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOVeraOut.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOVideo.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOXML.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOXMLParser.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkIOXdmf2.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingColor.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingCore.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingFourier.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingGeneral.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingHybrid.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingMath.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingMorphological.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingOpenGL2.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingSources.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingStatistics.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkImagingStencil.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkInfovisCore.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkInfovisLayout.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkInteractionImage.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkInteractionStyle.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkInteractionWidgets.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkParallelCore.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkPythonContext2D.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingAnnotation.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingCellGrid.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingContext2D.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingContextOpenGL2.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingCore.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingExternal.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingFreeType.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingGL2PSOpenGL2.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingGridAxes.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingHyperTreeGrid.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingImage.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingLICOpenGL2.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingLOD.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingLabel.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingMatplotlib.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingOpenGL2.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingParallel.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingSceneGraph.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingUI.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVR.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVRModels.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVolume.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVolumeAMR.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVolumeOpenGL2.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkRenderingVtkJS.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkSerializationManager.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkTestingRendering.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkTestingSerialization.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkViewsContext2D.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkViewsCore.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkViewsInfovis.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkWebCore.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkmodules.vtkWebGLExporter.py,sha256=J1N88HYngy-2UiuN2rcUtIM7tT6piNyX6daU6i9GWyI,560 +_pyinstaller_hooks_contrib/stdhooks/hook-vtkpython.py,sha256=XY14rmVQKna1LvNhqszoImb0sW0UKuVZzYm_kOocjbs,949 +_pyinstaller_hooks_contrib/stdhooks/hook-wavefile.py,sha256=F-rA6wwxPPP-Ri15hEjDUVZ5uZ57uNt9rkNawmNaEuw,591 +_pyinstaller_hooks_contrib/stdhooks/hook-weasyprint.py,sha256=YQOd1AX1lmOr8rHwKcuuhzClJ4DlEFf8MZcsG5bAwI8,3915 +_pyinstaller_hooks_contrib/stdhooks/hook-web3.py,sha256=0XtNeiUKBz-SpHYaij3g_1KatWh3fIxJWyQrbK1Dg68,502 +_pyinstaller_hooks_contrib/stdhooks/hook-webassets.py,sha256=-9vQAQ_Dd_-zwabZSkNxn-vcCBbIDNp6mHKXT2jRhKk,539 +_pyinstaller_hooks_contrib/stdhooks/hook-webrtcvad.py,sha256=-Hhm45kE1oYpZ9c00GJfMdd46Isxh7IqXh58oircRcA,507 +_pyinstaller_hooks_contrib/stdhooks/hook-websockets.py,sha256=PklUXHU4iZxvFsnOgGdRyDFRxc15MCUSYIukc5L6vrA,568 +_pyinstaller_hooks_contrib/stdhooks/hook-webview.py,sha256=gcMHLFaKnsJuT08WGHbNeUOG0CabbQkggLursppRF40,698 +_pyinstaller_hooks_contrib/stdhooks/hook-win32com.py,sha256=0qR38kqHPFVAVKNhoCf7J-Oiui5gMM4myOTnZ5iEARI,644 +_pyinstaller_hooks_contrib/stdhooks/hook-wordcloud.py,sha256=nxDRIYdgKiB4QAoHBWRH5NFIqIaGVn560YWDI3Wnj1Y,517 +_pyinstaller_hooks_contrib/stdhooks/hook-workflow.py,sha256=l-HbGtVerjzReiLC0yrcyU0jsif_-NS7X2_f4_oxxII,506 +_pyinstaller_hooks_contrib/stdhooks/hook-wx.lib.activex.py,sha256=2ulQkghVbnvMxfynUZqGnRvpmplAYbOW08g578JY9Ik,581 +_pyinstaller_hooks_contrib/stdhooks/hook-wx.lib.pubsub.py,sha256=DIywUIZkoSM9VOqolMahmlcy8S3wdo4EOA6SxAawetE,582 +_pyinstaller_hooks_contrib/stdhooks/hook-wx.xrc.py,sha256=G1iIeRh7Kfa1W6dkewEK28s1zAgLWP8RN9nYnNVbPbU,455 +_pyinstaller_hooks_contrib/stdhooks/hook-xarray.py,sha256=LMjkQzvZN96S9PQOUKYguyWOyAFqFOakIWYONg9sW_g,1137 +_pyinstaller_hooks_contrib/stdhooks/hook-xml.dom.html.HTMLDocument.py,sha256=ABU_wswgSp07v_Bi_5mba8z1m3UpQHFl-xL7ihogAvs,3146 +_pyinstaller_hooks_contrib/stdhooks/hook-xml.sax.saxexts.py,sha256=406w-Anp5EylNFApwQ0bnbuIyMpiU1jU4BfdSGuPl-4,990 +_pyinstaller_hooks_contrib/stdhooks/hook-xmldiff.py,sha256=4Ko0wHSSSsmBPntpyr22NzY1ZAbB546go6Vxmjwst68,550 +_pyinstaller_hooks_contrib/stdhooks/hook-xmlschema.py,sha256=l59u4QIkdzmcIMj27GLW1puTVMNIdr8e96ur3viCYmk,644 +_pyinstaller_hooks_contrib/stdhooks/hook-xsge_gui.py,sha256=NJ70wLfuoi-jyCD-mDR1NAP01mhSr0AT3qwuvkZT8dU,587 +_pyinstaller_hooks_contrib/stdhooks/hook-xyzservices.py,sha256=6cgNAv3RLgNsQYF91Y61ai3EfJCaz2f6Htcn-Dsm9Wo,519 +_pyinstaller_hooks_contrib/stdhooks/hook-yapf_third_party.py,sha256=JwB1RswTKDKzdIVFe3qmt30Y6DHsMu2N7vzd6U8GY-g,524 +_pyinstaller_hooks_contrib/stdhooks/hook-z3c.rml.py,sha256=phkXTZu8hR1Y7GfFnbGw6Zcj2yVwRvbqvpx1fNR6KAQ,959 +_pyinstaller_hooks_contrib/stdhooks/hook-zarr.py,sha256=zWPBJVBVDThAZiSovPwuvsxY7UFy2lI2OKWPo49e6B8,502 +_pyinstaller_hooks_contrib/stdhooks/hook-zeep.py,sha256=Ds1kPuoCIJmioNWV91MI76TUO5al5QBlfHW_4Hu2ubI,612 +_pyinstaller_hooks_contrib/stdhooks/hook-zmq.py,sha256=B_VFStoRQzFF5tej6d6keZ1TGNCsEedH56FmdKkRqVk,2725 +_pyinstaller_hooks_contrib/stdhooks/hook-zoneinfo.py,sha256=99A9LN6khAbUAQfey6FaTHtdGZEaaOjavxwawAzbTdo,595 +_pyinstaller_hooks_contrib/utils/__init__.py,sha256=MsSFjiLMLJZ7QhUPpVBWKiyDnCzryquRyr329NoCACI,2 +_pyinstaller_hooks_contrib/utils/__pycache__/__init__.cpython-311.pyc,, +_pyinstaller_hooks_contrib/utils/__pycache__/nvidia_cuda.cpython-311.pyc,, +_pyinstaller_hooks_contrib/utils/__pycache__/vtkmodules.cpython-311.pyc,, +_pyinstaller_hooks_contrib/utils/nvidia_cuda.py,sha256=gJO659n9CBpaGi6zYgFl1cdHHPvN125IaWWBC3yR9Qc,3009 +_pyinstaller_hooks_contrib/utils/vtkmodules.py,sha256=PjefsJ_eXA0P04g2lQDenK5kb-YrTxenMNJMAbzb-lM,19604 +pyinstaller_hooks_contrib-2025.8.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 +pyinstaller_hooks_contrib-2025.8.dist-info/METADATA,sha256=viOznwUPgmEsqgD7gUdMyiWyD4IKzWAzJ-oVa7kZWXg,16077 +pyinstaller_hooks_contrib-2025.8.dist-info/RECORD,, +pyinstaller_hooks_contrib-2025.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91 +pyinstaller_hooks_contrib-2025.8.dist-info/entry_points.txt,sha256=FsM9QtmkHCPo9b23sWrxVW7Fv4awouh1WnBDFJpxJPs,69 +pyinstaller_hooks_contrib-2025.8.dist-info/licenses/LICENSE,sha256=kdC6r_AHcwOOcsCh_J1dLThwa3ornATzQpZgj5MbnNA,27666 +pyinstaller_hooks_contrib-2025.8.dist-info/top_level.txt,sha256=iLfKgsga5bLZMSkoWpHxWt6tDjcPVCvGsJgvwfMYcnA,27 diff --git a/.venv/Lib/site-packages/pyinstaller_hooks_contrib-2025.8.dist-info/WHEEL b/.venv/Lib/site-packages/pyinstaller_hooks_contrib-2025.8.dist-info/WHEEL new file mode 100644 index 0000000..e7fa31b --- /dev/null +++ b/.venv/Lib/site-packages/pyinstaller_hooks_contrib-2025.8.dist-info/WHEEL @@ -0,0 +1,5 @@ +Wheel-Version: 1.0 +Generator: setuptools (80.9.0) +Root-Is-Purelib: true +Tag: py3-none-any + diff --git a/.venv/Lib/site-packages/pyinstaller_hooks_contrib-2025.8.dist-info/entry_points.txt b/.venv/Lib/site-packages/pyinstaller_hooks_contrib-2025.8.dist-info/entry_points.txt new file mode 100644 index 0000000..a8c18cf --- /dev/null +++ b/.venv/Lib/site-packages/pyinstaller_hooks_contrib-2025.8.dist-info/entry_points.txt @@ -0,0 +1,2 @@ +[pyinstaller40] +hook-dirs = _pyinstaller_hooks_contrib:get_hook_dirs diff --git a/.venv/Lib/site-packages/pyinstaller_hooks_contrib-2025.8.dist-info/licenses/LICENSE b/.venv/Lib/site-packages/pyinstaller_hooks_contrib-2025.8.dist-info/licenses/LICENSE new file mode 100644 index 0000000..99bef9e --- /dev/null +++ b/.venv/Lib/site-packages/pyinstaller_hooks_contrib-2025.8.dist-info/licenses/LICENSE @@ -0,0 +1,521 @@ +============================================ +PyInstaller Community Hooks: License details +============================================ + +This software is made available under the terms of the licenses found below. +Contributions to the Community Hooks are made under the terms of the license +that covers that type of hook/file. (See below) + + +Standard hooks and files +------------------------ + +The PyInstaller Community Hooks are licensed under the terms of the GNU General +Public License as published by the Free Software Foundation; either version 2 of +the License, or (at your option) any later version (SPDX GPL-2.0-or-later). +These are all hooks/files except runtime hooks (see below). The terms of GPL 2.0 +are found in the section titled *GNU General Public License* below. + + +Runtime hooks +------------- + +These are runtime hooks, bundled with complete pyinstaller executables. These +files are licensed under the Apache-2.0 whose terms are found in the section +titled *Apache License 2.0*. + +These reside in "_pyinstaller_hooks_contrib/rthooks". + + +GNU General Public License +-------------------------- + +https://gnu.org/licenses/gpl-2.0.html + + + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + +Apache License 2.0 +++++++++++++++++++ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/.venv/Lib/site-packages/pyinstaller_hooks_contrib-2025.8.dist-info/top_level.txt b/.venv/Lib/site-packages/pyinstaller_hooks_contrib-2025.8.dist-info/top_level.txt new file mode 100644 index 0000000..3d4a9b3 --- /dev/null +++ b/.venv/Lib/site-packages/pyinstaller_hooks_contrib-2025.8.dist-info/top_level.txt @@ -0,0 +1 @@ +_pyinstaller_hooks_contrib diff --git a/.venv/Lib/site-packages/pywin32_ctypes-0.2.3.dist-info/INSTALLER b/.venv/Lib/site-packages/pywin32_ctypes-0.2.3.dist-info/INSTALLER new file mode 100644 index 0000000..a1b589e --- /dev/null +++ b/.venv/Lib/site-packages/pywin32_ctypes-0.2.3.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/.venv/Lib/site-packages/pywin32_ctypes-0.2.3.dist-info/LICENSE.txt b/.venv/Lib/site-packages/pywin32_ctypes-0.2.3.dist-info/LICENSE.txt new file mode 100644 index 0000000..d0ce125 --- /dev/null +++ b/.venv/Lib/site-packages/pywin32_ctypes-0.2.3.dist-info/LICENSE.txt @@ -0,0 +1,28 @@ +This software is OSI Certified Open Source Software. +OSI Certified is a certification mark of the Open Source Initiative. + +Copyright (c) 2014, Enthought, Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of Enthought, Inc. nor the names of its contributors may + be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/.venv/Lib/site-packages/pywin32_ctypes-0.2.3.dist-info/METADATA b/.venv/Lib/site-packages/pywin32_ctypes-0.2.3.dist-info/METADATA new file mode 100644 index 0000000..1d67907 --- /dev/null +++ b/.venv/Lib/site-packages/pywin32_ctypes-0.2.3.dist-info/METADATA @@ -0,0 +1,134 @@ +Metadata-Version: 2.1 +Name: pywin32-ctypes +Version: 0.2.3 +Summary: A (partial) reimplementation of pywin32 using ctypes/cffi +Home-page: https://github.com/enthought/pywin32-ctypes +Author: Enthought Inc. +Author-email: info@enthough.com +License: BSD-3-Clause +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Requires-Python: >=3.6 + + +.. image:: https://readthedocs.org/projects/pywin32-ctypes/badge/?version=master + :target: http://pywin32-ctypes.readthedocs.org/en/latest/?badge=master + :alt: Documentation Status + +A reimplementation of pywin32 that is pure python. The default +behaviour will try to use cffi (>= 1.3.0), if available, and fall back +to using ctypes. Please note that there is no need to have a compiler +available on installation or at runtime. + +Usage +===== + +Example:: + + # Equivalent to 'import win32api' from pywin32. + from win32ctypes.pywin32 import win32api + + win32api.LoadLibraryEx(sys.executable, 0, win32api.LOAD_LIBRARY_AS_DATAFILE) + +.. note:: + + Currently pywin32ctypes implements only a very small subset + of pywin32, for internal needs at Enthought. We do welcome + additional features and PRs, though. + +Development setup +================= + +The following should be good enough:: + + pip install -r test_requirements.txt + python install -e . + +.. note:: + + - While pywin32-ctypes should regularly be tested on windows, you can also + develop/test on unix by using wine + +Change Log +========== + +Version 0.2.3 +------------- + +- Do not use loal_module in backend selection code (#131, #132) +- Add pywin32.pywintypes.Time (#122) + +Version 0.2.2 +------------- + +- Use ctypes.set_last_error to avoid race conditions (#122) + +Version 0.2.1 +------------- + +- Use faulthandler when testing and fix discovered errors (#115, #117). +- Fix support for None username in credentials to be consistent in all backends (#99). +- Test also on cp38, cp39, cp310, cp311 and use cp38 for linking (#114, #107, #100). +- Add support for CredEnumerate extending code from @markb-EE (#110, #109, #111) +- Remove support for older python versions < cp36 (#104, #120). + +Version 0.2.0 +------------- + +- Fix syntax error when installing in python 3.7 (#81). +- Support testing on python 3.7 (#82). +- Support testing on python 3.3 and python 3.4 (#77). +- Do not use 2to3 (#75). +- Support lazy wrapping of win32 functions (#67). +- Add CRED_PERSIST constants (#79 contributed by @tivnet). + +Version 0.1.2 +------------- + +(bugfix release) + +- Fix implementation for the deprecated api (#64). + +Version 0.1.1 +------------- + +(bugfix release) + +- Update Manifest.in entries (#63) +- fix VERSION path in Manifest.in (#62 contributed by @MinchinWeb) + + +Version 0.1.0 +------------- + +- Update tests and provide better compatibility with pywin32 for + Resource functions +- Fix: Python 3.5 and 3.6 support (#52). +- API additions to allow pywin32-ctypes to work with pyinstaller (#46 + and #57 contributed by @virtuald). +- Fix: do not update the global copy of the windows dlls (#42) +- Add documentation and setup automatic builds in ReadTheDocs (#3, #36). +- Add cffi backend to be used when available (#31). +- Fix: EnumResourceTypes and EnumResourceNames would only return ints + (#21, #30). +- Restructure package layout to split core wrapping modules from + pywin32 emulation (#15, #17). + +Version 0.0.1 +------------- + +7/04/2014 + +- Python 2.6 support (#13) +- Python 3 support (#12) +- Basic maintenance work (#11, #7) +- Fix error raising to be pywin32 compatible (#8) +- Package rename mini_pywin32 -> pywin32-ctypes +- Add travis-ci integration using wine! (#2) +- Support basic library and resource loading (#1) +- mini_pywin32 is born diff --git a/.venv/Lib/site-packages/pywin32_ctypes-0.2.3.dist-info/RECORD b/.venv/Lib/site-packages/pywin32_ctypes-0.2.3.dist-info/RECORD new file mode 100644 index 0000000..282adb3 --- /dev/null +++ b/.venv/Lib/site-packages/pywin32_ctypes-0.2.3.dist-info/RECORD @@ -0,0 +1,74 @@ +pywin32_ctypes-0.2.3.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 +pywin32_ctypes-0.2.3.dist-info/LICENSE.txt,sha256=36g7PicJrfzbg42a1VgjymdKu3gOYFY9ndlUTMv3hek,1644 +pywin32_ctypes-0.2.3.dist-info/METADATA,sha256=Hjdn0_r_TVucNHFgiDgxCY0fJaz0MGsCyazcxr-1iDs,3909 +pywin32_ctypes-0.2.3.dist-info/RECORD,, +pywin32_ctypes-0.2.3.dist-info/WHEEL,sha256=OqRkF0eY5GHssMorFjlbTIq072vpHpF60fIQA6lS9xA,92 +pywin32_ctypes-0.2.3.dist-info/top_level.txt,sha256=Q67ar0C8ghsHWr96rJ8iA0mLCxbYQLxeS5fHmMODw0k,12 +win32ctypes/__init__.py,sha256=EmS7iTWm0dQUortMjTA5JEWYIH25AUBUaDPhppFfTHo,214 +win32ctypes/__pycache__/__init__.cpython-311.pyc,, +win32ctypes/__pycache__/pywintypes.cpython-311.pyc,, +win32ctypes/__pycache__/version.cpython-311.pyc,, +win32ctypes/__pycache__/win32api.cpython-311.pyc,, +win32ctypes/__pycache__/win32cred.cpython-311.pyc,, +win32ctypes/core/__init__.py,sha256=qbdg3TvIwp_CZd4nHUhGiXEw1bTKXxJHqQt-4647c1Q,1647 +win32ctypes/core/__pycache__/__init__.cpython-311.pyc,, +win32ctypes/core/__pycache__/_winerrors.cpython-311.pyc,, +win32ctypes/core/__pycache__/compat.cpython-311.pyc,, +win32ctypes/core/_winerrors.py,sha256=p52rv5vvDGMNiRvvT_npIXWEsXPoVDMtom-gmto5k0M,199 +win32ctypes/core/cffi/__init__.py,sha256=M68T4frchcWxHFZZhDm7F9Os4YbPX4RUtKBboPTsu70,270 +win32ctypes/core/cffi/__pycache__/__init__.cpython-311.pyc,, +win32ctypes/core/cffi/__pycache__/_authentication.cpython-311.pyc,, +win32ctypes/core/cffi/__pycache__/_common.cpython-311.pyc,, +win32ctypes/core/cffi/__pycache__/_dll.cpython-311.pyc,, +win32ctypes/core/cffi/__pycache__/_nl_support.cpython-311.pyc,, +win32ctypes/core/cffi/__pycache__/_resource.cpython-311.pyc,, +win32ctypes/core/cffi/__pycache__/_system_information.cpython-311.pyc,, +win32ctypes/core/cffi/__pycache__/_time.cpython-311.pyc,, +win32ctypes/core/cffi/__pycache__/_util.cpython-311.pyc,, +win32ctypes/core/cffi/_authentication.py,sha256=oRxgigZ3mB_JTXFHIlJZxWY2b35PnQaDvEbzqJNxpzs,5333 +win32ctypes/core/cffi/_common.py,sha256=tKvSSDBiYlL1gqvg1FX_RHLTYaoNWO7LJ61d78CVyf4,576 +win32ctypes/core/cffi/_dll.py,sha256=GIGxlq_6hY-OiCc0pAmPcGNav-q68jdtMdoTSCgUt64,771 +win32ctypes/core/cffi/_nl_support.py,sha256=FFxF4XcAF2W_fPvpwrrTpA61lYMRh03qwF3kF9dvFkw,313 +win32ctypes/core/cffi/_resource.py,sha256=GABPpUTN16QiXlXqYSjkw7kpJUY-DZExfMVWc8cBRlo,4555 +win32ctypes/core/cffi/_system_information.py,sha256=a_WRyYi-F9Bf299lvNMb_ZEc4zxIoL02VMj-5j_dkM8,872 +win32ctypes/core/cffi/_time.py,sha256=yEUTm7TIx_d2Me1vOFVsubOR_8Xmsob6e80n6dj9wYI,332 +win32ctypes/core/cffi/_util.py,sha256=qwc1wkFdryhvOPZf1W7nWZMkuS2o8GuPpQM2-sQCDUY,2662 +win32ctypes/core/compat.py,sha256=XPSOaAxQA4dLn0knXO9wferQb6IpVVA56AKa95W5MkU,158 +win32ctypes/core/ctypes/__init__.py,sha256=HeNUjdP0Bj5SHeb_cVMqCZa00BUTHD8E1DqFq0wpaFk,272 +win32ctypes/core/ctypes/__pycache__/__init__.cpython-311.pyc,, +win32ctypes/core/ctypes/__pycache__/_authentication.cpython-311.pyc,, +win32ctypes/core/ctypes/__pycache__/_common.cpython-311.pyc,, +win32ctypes/core/ctypes/__pycache__/_dll.cpython-311.pyc,, +win32ctypes/core/ctypes/__pycache__/_nl_support.cpython-311.pyc,, +win32ctypes/core/ctypes/__pycache__/_resource.cpython-311.pyc,, +win32ctypes/core/ctypes/__pycache__/_system_information.cpython-311.pyc,, +win32ctypes/core/ctypes/__pycache__/_time.cpython-311.pyc,, +win32ctypes/core/ctypes/__pycache__/_util.cpython-311.pyc,, +win32ctypes/core/ctypes/_authentication.py,sha256=vcNber8K_MUWDgzieTiV4wVEWl1wwTBevnMKpf6SDTM,3822 +win32ctypes/core/ctypes/_common.py,sha256=xPyUGrNusRGHPJcstR4vxPJiXD75COovAWo0EsCX7ro,1223 +win32ctypes/core/ctypes/_dll.py,sha256=mfEhaV7Nbp8pok0xg0O6GhasE6oSOOxb4cgKPe38FTg,552 +win32ctypes/core/ctypes/_nl_support.py,sha256=ST6YPzpCVq1JqiXVxEoULUTRFl_rBjMF_1qPNmsLqlU,315 +win32ctypes/core/ctypes/_resource.py,sha256=YzmBvf04Gd0pWLt0i2cIQYmaBcBW4X2Qu--sbk4331A,4264 +win32ctypes/core/ctypes/_system_information.py,sha256=TDrldTP4LTrOOGe6UVLKdFkrRwE428BWVTE2GPNHVMo,941 +win32ctypes/core/ctypes/_time.py,sha256=0XYWMiahecwh2VgCLdfoHxFqw-bufX4_RCA2sr4CSxI,342 +win32ctypes/core/ctypes/_util.py,sha256=Yb5hKGpbfnHfZX6x4oYzco5iLg6AhMTa6OCeLHf8-go,2030 +win32ctypes/pywin32/__init__.py,sha256=Wx5mqYeeweqoUDcHEBzrgDNLRPye2SoWk1MwUsDDkSU,354 +win32ctypes/pywin32/__pycache__/__init__.cpython-311.pyc,, +win32ctypes/pywin32/__pycache__/pywintypes.cpython-311.pyc,, +win32ctypes/pywin32/__pycache__/win32api.cpython-311.pyc,, +win32ctypes/pywin32/__pycache__/win32cred.cpython-311.pyc,, +win32ctypes/pywin32/pywintypes.py,sha256=kpOmM9lJ8w3BIP0T7j7efzxhroD7Yyp7Em80O8q1BrQ,1867 +win32ctypes/pywin32/win32api.py,sha256=NZ3dUJ9bdMPBhH89EDb3s_ijljFRWvy2vFwrO6bJuA8,7724 +win32ctypes/pywin32/win32cred.py,sha256=ZgSLu7NU5kAQP8a6SlHXtfTSLufAd24uO8govj1i2kA,4801 +win32ctypes/pywintypes.py,sha256=wVw61R5MJfof6hExSaI4RR3cnxEZjoJarCH80NtPnr8,350 +win32ctypes/tests/__init__.py,sha256=sr6UZPhlGoCY5Hm7pEt8NKzXKP9YIuiIObi-HO2BLiI,693 +win32ctypes/tests/__pycache__/__init__.cpython-311.pyc,, +win32ctypes/tests/__pycache__/test_backends.cpython-311.pyc,, +win32ctypes/tests/__pycache__/test_win32api.cpython-311.pyc,, +win32ctypes/tests/__pycache__/test_win32cred.cpython-311.pyc,, +win32ctypes/tests/test_backends.py,sha256=Qjlo6GC2HHkcS31wnmvLjna2UtCym2qwR1jWWcqo_EY,1245 +win32ctypes/tests/test_win32api.py,sha256=8b-ZvjAjHhUO5aCqKM2rYR_4UprSfv8AFNKSo2b5grA,11687 +win32ctypes/tests/test_win32cred.py,sha256=SM__Oj6LNPzmZIOWZwBK3nHvSRNW6Nk6AO8kk9iR9bE,7948 +win32ctypes/version.py,sha256=o4ScPsx3ebE9pX-fF55Y4NZwE-gZl1putS6aE2pTVtI,23 +win32ctypes/win32api.py,sha256=iEIHL_pJIHauSkKXKAz0CpQ-tg9lR9YJzrV68jAVjq0,346 +win32ctypes/win32cred.py,sha256=NNXVc3-4Cot0xxwJmTFzY9B6H6YEX6egQW-kbmWFkf8,348 diff --git a/.venv/Lib/site-packages/pywin32_ctypes-0.2.3.dist-info/WHEEL b/.venv/Lib/site-packages/pywin32_ctypes-0.2.3.dist-info/WHEEL new file mode 100644 index 0000000..385faab --- /dev/null +++ b/.venv/Lib/site-packages/pywin32_ctypes-0.2.3.dist-info/WHEEL @@ -0,0 +1,5 @@ +Wheel-Version: 1.0 +Generator: bdist_wheel (0.36.2) +Root-Is-Purelib: true +Tag: py3-none-any + diff --git a/.venv/Lib/site-packages/pywin32_ctypes-0.2.3.dist-info/top_level.txt b/.venv/Lib/site-packages/pywin32_ctypes-0.2.3.dist-info/top_level.txt new file mode 100644 index 0000000..b10cf3c --- /dev/null +++ b/.venv/Lib/site-packages/pywin32_ctypes-0.2.3.dist-info/top_level.txt @@ -0,0 +1 @@ +win32ctypes diff --git a/.venv/Lib/site-packages/win32ctypes/__init__.py b/.venv/Lib/site-packages/win32ctypes/__init__.py new file mode 100644 index 0000000..d769d60 --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/__init__.py @@ -0,0 +1,8 @@ +# +# (C) Copyright 2014 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +from .version import __version__ # noqa diff --git a/.venv/Lib/site-packages/win32ctypes/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..8886f3e Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/__pycache__/pywintypes.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/__pycache__/pywintypes.cpython-311.pyc new file mode 100644 index 0000000..0befc71 Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/__pycache__/pywintypes.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/__pycache__/version.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/__pycache__/version.cpython-311.pyc new file mode 100644 index 0000000..af4e640 Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/__pycache__/version.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/__pycache__/win32api.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/__pycache__/win32api.cpython-311.pyc new file mode 100644 index 0000000..26404ca Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/__pycache__/win32api.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/__pycache__/win32cred.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/__pycache__/win32cred.cpython-311.pyc new file mode 100644 index 0000000..5bdd098 Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/__pycache__/win32cred.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/core/__init__.py b/.venv/Lib/site-packages/win32ctypes/core/__init__.py new file mode 100644 index 0000000..887bb03 --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/core/__init__.py @@ -0,0 +1,60 @@ +# +# (C) Copyright 2014-2024 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +import sys +import importlib +from importlib.abc import MetaPathFinder, Loader + +from . import _winerrors # noqa + +# Setup module redirection based on the backend +try: + import cffi +except ImportError: + _backend = 'ctypes' +else: + del cffi + _backend = 'cffi' + + +class BackendLoader(Loader): + + def __init__(self, redirect_module): + self.redirect_module = redirect_module + + def create_module(self, spec): + return importlib.import_module(self.redirect_module) + + def exec_module(self, module): + pass + + +class BackendFinder(MetaPathFinder): + + def __init__(self, modules): + self.redirected_modules = { + 'win32ctypes.core.{}'.format(module) + for module in modules} + + def find_spec(self, fullname, path, target=None): + if fullname in self.redirected_modules: + module_name = fullname.split('.')[-1] + if _backend == 'ctypes': + redirected = f'win32ctypes.core.ctypes.{module_name}' + else: + redirected = f'win32ctypes.core.cffi.{module_name}' + loader = BackendLoader(redirected) + return importlib.machinery.ModuleSpec( + f'win32ctypes.core.{module_name}', loader) + else: + return None + + +sys.meta_path.append(BackendFinder([ + '_dll', '_authentication', '_time', + '_common', '_resource', '_nl_support', + '_system_information'])) diff --git a/.venv/Lib/site-packages/win32ctypes/core/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/core/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..46df51a Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/core/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/core/__pycache__/_winerrors.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/core/__pycache__/_winerrors.cpython-311.pyc new file mode 100644 index 0000000..acb08f8 Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/core/__pycache__/_winerrors.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/core/__pycache__/compat.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/core/__pycache__/compat.cpython-311.pyc new file mode 100644 index 0000000..a855391 Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/core/__pycache__/compat.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/core/_winerrors.py b/.venv/Lib/site-packages/win32ctypes/core/_winerrors.py new file mode 100644 index 0000000..bb760d5 --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/core/_winerrors.py @@ -0,0 +1,9 @@ +# +# (C) Copyright 2014 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# + +ERROR_NOT_FOUND = 0x490 diff --git a/.venv/Lib/site-packages/win32ctypes/core/cffi/__init__.py b/.venv/Lib/site-packages/win32ctypes/core/cffi/__init__.py new file mode 100644 index 0000000..6fac1f4 --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/core/cffi/__init__.py @@ -0,0 +1,11 @@ +# +# (C) Copyright 2014-2023 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +import logging + +logger = logging.getLogger(__name__) +logger.debug('Loaded cffi backend') diff --git a/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..4703594 Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_authentication.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_authentication.cpython-311.pyc new file mode 100644 index 0000000..c2b7b07 Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_authentication.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_common.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_common.cpython-311.pyc new file mode 100644 index 0000000..24dc4c6 Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_common.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_dll.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_dll.cpython-311.pyc new file mode 100644 index 0000000..2596e41 Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_dll.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_nl_support.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_nl_support.cpython-311.pyc new file mode 100644 index 0000000..62fb913 Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_nl_support.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_resource.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_resource.cpython-311.pyc new file mode 100644 index 0000000..47320dc Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_resource.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_system_information.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_system_information.cpython-311.pyc new file mode 100644 index 0000000..b3bb3a6 Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_system_information.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_time.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_time.cpython-311.pyc new file mode 100644 index 0000000..5a25639 Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_time.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_util.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_util.cpython-311.pyc new file mode 100644 index 0000000..a1573dd Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/core/cffi/__pycache__/_util.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/core/cffi/_authentication.py b/.venv/Lib/site-packages/win32ctypes/core/cffi/_authentication.py new file mode 100644 index 0000000..a74b8fb --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/core/cffi/_authentication.py @@ -0,0 +1,172 @@ +# +# (C) Copyright 2015 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +from weakref import WeakKeyDictionary + +from win32ctypes.core.compat import is_text +from ._util import ffi, check_false, dlls +from ._nl_support import _GetACP +from ._common import _PyBytes_FromStringAndSize + + +ffi.cdef(""" + +typedef struct _FILETIME { + DWORD dwLowDateTime; + DWORD dwHighDateTime; +} FILETIME, *PFILETIME; + +typedef struct _CREDENTIAL_ATTRIBUTE { + LPWSTR Keyword; + DWORD Flags; + DWORD ValueSize; + LPBYTE Value; +} CREDENTIAL_ATTRIBUTE, *PCREDENTIAL_ATTRIBUTE; + +typedef struct _CREDENTIAL { + DWORD Flags; + DWORD Type; + LPWSTR TargetName; + LPWSTR Comment; + FILETIME LastWritten; + DWORD CredentialBlobSize; + LPBYTE CredentialBlob; + DWORD Persist; + DWORD AttributeCount; + PCREDENTIAL_ATTRIBUTE Attributes; + LPWSTR TargetAlias; + LPWSTR UserName; +} CREDENTIAL, *PCREDENTIAL; + + +BOOL WINAPI CredReadW( + LPCWSTR TargetName, DWORD Type, DWORD Flags, PCREDENTIAL *Credential); +BOOL WINAPI CredWriteW(PCREDENTIAL Credential, DWORD); +VOID WINAPI CredFree(PVOID Buffer); +BOOL WINAPI CredDeleteW(LPCWSTR TargetName, DWORD Type, DWORD Flags); +BOOL WINAPI CredEnumerateW( + LPCWSTR Filter, DWORD Flags, DWORD *Count, PCREDENTIAL **Credential); +""") + +_keep_alive = WeakKeyDictionary() + + +SUPPORTED_CREDKEYS = set(( + u'Type', u'TargetName', u'Persist', + u'UserName', u'Comment', u'CredentialBlob')) + + +def make_unicode(password): + """ Convert the input string to unicode. + + """ + if is_text(password): + return password + else: + code_page = _GetACP() + return password.decode(encoding=str(code_page), errors='strict') + + +class _CREDENTIAL(object): + + def __call__(self): + return ffi.new("PCREDENTIAL")[0] + + @classmethod + def fromdict(cls, credential, flag=0): + unsupported = set(credential.keys()) - SUPPORTED_CREDKEYS + if len(unsupported): + raise ValueError("Unsupported keys: {0}".format(unsupported)) + if flag != 0: + raise ValueError("flag != 0 not yet supported") + + factory = cls() + c_creds = factory() + # values to ref and make sure that they will not go away + values = [] + for key, value in credential.items(): + if key == u'CredentialBlob': + blob = make_unicode(value) + blob_data = ffi.new('wchar_t[]', blob) + # new adds a NULL at the end that we do not want. + c_creds.CredentialBlobSize = \ + ffi.sizeof(blob_data) - ffi.sizeof('wchar_t') + c_creds.CredentialBlob = ffi.cast('LPBYTE', blob_data) + values.append(blob_data) + elif key in (u'Type', u'Persist'): + setattr(c_creds, key, value) + elif value is None: + setattr(c_creds, key, ffi.NULL) + else: + blob = make_unicode(value) + pblob = ffi.new('wchar_t[]', blob) + values.append(pblob) + setattr(c_creds, key, ffi.cast('LPTSTR', pblob)) + # keep values alive until c_creds goes away. + _keep_alive[c_creds] = tuple(values) + return c_creds + + +CREDENTIAL = _CREDENTIAL() + + +def PCREDENTIAL(value=None): + return ffi.new("PCREDENTIAL", ffi.NULL if value is None else value) + + +def PPCREDENTIAL(value=None): + return ffi.new("PCREDENTIAL*", ffi.NULL if value is None else value) + + +def PPPCREDENTIAL(value=None): + return ffi.new("PCREDENTIAL**", ffi.NULL if value is None else value) + + +def credential2dict(pc_creds): + credentials = {} + for key in SUPPORTED_CREDKEYS: + if key == u'CredentialBlob': + data = _PyBytes_FromStringAndSize( + pc_creds.CredentialBlob, pc_creds.CredentialBlobSize) + elif key in (u'Type', u'Persist'): + data = int(getattr(pc_creds, key)) + else: + string_pointer = getattr(pc_creds, key) + if string_pointer == ffi.NULL: + data = None + else: + data = ffi.string(string_pointer) + credentials[key] = data + return credentials + + +def _CredRead(TargetName, Type, Flags, ppCredential): + target = make_unicode(TargetName) + return check_false( + dlls.advapi32.CredReadW(target, Type, Flags, ppCredential), + u'CredRead') + + +def _CredWrite(Credential, Flags): + return check_false( + dlls.advapi32.CredWriteW(Credential, Flags), u'CredWrite') + + +def _CredDelete(TargetName, Type, Flags): + return check_false( + dlls.advapi32.CredDeleteW( + make_unicode(TargetName), Type, Flags), u'CredDelete') + + +def _CredEnumerate(Filter, Flags, Count, pppCredential): + filter = make_unicode(Filter) if Filter is not None else ffi.NULL + return check_false( + dlls.advapi32.CredEnumerateW(filter, Flags, Count, pppCredential), + u'CredEnumerate') + + +_CredFree = dlls.advapi32.CredFree diff --git a/.venv/Lib/site-packages/win32ctypes/core/cffi/_common.py b/.venv/Lib/site-packages/win32ctypes/core/cffi/_common.py new file mode 100644 index 0000000..df7e0ec --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/core/cffi/_common.py @@ -0,0 +1,29 @@ +# +# (C) Copyright 2015 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +from weakref import WeakKeyDictionary + +from ._util import ffi + +_keep_alive = WeakKeyDictionary() + + +def _PyBytes_FromStringAndSize(pointer, size): + buffer = ffi.buffer(pointer, size) + return buffer[:] + + +def byreference(x): + return ffi.new(ffi.getctype(ffi.typeof(x), '*'), x) + + +def dereference(x): + return x[0] + + +def PDWORD(value=0): + return ffi.new("DWORD *", value) diff --git a/.venv/Lib/site-packages/win32ctypes/core/cffi/_dll.py b/.venv/Lib/site-packages/win32ctypes/core/cffi/_dll.py new file mode 100644 index 0000000..038e761 --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/core/cffi/_dll.py @@ -0,0 +1,30 @@ +# +# (C) Copyright 2018 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +from ._util import ffi, check_null, check_false, dlls, HMODULE, PVOID + + +ffi.cdef(""" + +HMODULE WINAPI LoadLibraryExW(LPCTSTR lpFileName, HANDLE hFile, DWORD dwFlags); +BOOL WINAPI FreeLibrary(HMODULE hModule); + +""") + + +def _LoadLibraryEx(lpFilename, hFile, dwFlags): + result = check_null( + dlls.kernel32.LoadLibraryExW( + str(lpFilename), ffi.NULL, dwFlags), + function_name='LoadLibraryEx') + return HMODULE(result) + + +def _FreeLibrary(hModule): + check_false( + dlls.kernel32.FreeLibrary(PVOID(hModule)), + function_name='FreeLibrary') diff --git a/.venv/Lib/site-packages/win32ctypes/core/cffi/_nl_support.py b/.venv/Lib/site-packages/win32ctypes/core/cffi/_nl_support.py new file mode 100644 index 0000000..51f7194 --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/core/cffi/_nl_support.py @@ -0,0 +1,18 @@ +# +# (C) Copyright 2015-18 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +from ._util import ffi, dlls + +ffi.cdef(""" + +UINT WINAPI GetACP(void); + +""") + + +def _GetACP(): + return dlls.kernel32.GetACP() diff --git a/.venv/Lib/site-packages/win32ctypes/core/cffi/_resource.py b/.venv/Lib/site-packages/win32ctypes/core/cffi/_resource.py new file mode 100644 index 0000000..42bcbde --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/core/cffi/_resource.py @@ -0,0 +1,132 @@ +# +# (C) Copyright 2015 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +from ._util import ( + ffi, check_null, check_zero, check_false, HMODULE, + PVOID, RESOURCE, resource, dlls) + + +ffi.cdef(""" + +typedef int WINBOOL; +typedef WINBOOL (__stdcall *ENUMRESTYPEPROC) (HANDLE, LPTSTR, LONG_PTR); +typedef WINBOOL (__stdcall *ENUMRESNAMEPROC) (HANDLE, LPCTSTR, LPTSTR, LONG_PTR); +typedef WINBOOL (__stdcall *ENUMRESLANGPROC) (HANDLE, LPCTSTR, LPCTSTR, WORD, LONG_PTR); + +BOOL WINAPI EnumResourceTypesW( + HMODULE hModule, ENUMRESTYPEPROC lpEnumFunc, LONG_PTR lParam); +BOOL WINAPI EnumResourceNamesW( + HMODULE hModule, LPCTSTR lpszType, + ENUMRESNAMEPROC lpEnumFunc, LONG_PTR lParam); +BOOL WINAPI EnumResourceLanguagesW( + HMODULE hModule, LPCTSTR lpType, + LPCTSTR lpName, ENUMRESLANGPROC lpEnumFunc, LONG_PTR lParam); +HRSRC WINAPI FindResourceExW( + HMODULE hModule, LPCTSTR lpType, LPCTSTR lpName, WORD wLanguage); +DWORD WINAPI SizeofResource(HMODULE hModule, HRSRC hResInfo); +HGLOBAL WINAPI LoadResource(HMODULE hModule, HRSRC hResInfo); +LPVOID WINAPI LockResource(HGLOBAL hResData); + +HANDLE WINAPI BeginUpdateResourceW(LPCTSTR pFileName, BOOL bDeleteExistingResources); +BOOL WINAPI EndUpdateResourceW(HANDLE hUpdate, BOOL fDiscard); +BOOL WINAPI UpdateResourceW(HANDLE hUpdate, LPCTSTR lpType, LPCTSTR lpName, WORD wLanguage, LPVOID lpData, DWORD cbData); + +""") # noqa + + +def ENUMRESTYPEPROC(callback): + def wrapped(hModule, lpszType, lParam): + return callback(hModule, resource(lpszType), lParam) + return wrapped + + +def ENUMRESNAMEPROC(callback): + def wrapped(hModule, lpszType, lpszName, lParam): + if lpszName == ffi.NULL: + return False + return callback( + hModule, resource(lpszType), resource(lpszName), lParam) + return wrapped + + +def ENUMRESLANGPROC(callback): + def wrapped(hModule, lpszType, lpszName, wIDLanguage, lParam): + return callback( + hModule, resource(lpszType), resource(lpszName), + wIDLanguage, lParam) + return wrapped + + +def _EnumResourceTypes(hModule, lpEnumFunc, lParam): + callback = ffi.callback('ENUMRESTYPEPROC', lpEnumFunc) + check_false( + dlls.kernel32.EnumResourceTypesW(PVOID(hModule), callback, lParam), + function_name='EnumResourceTypes') + + +def _EnumResourceNames(hModule, lpszType, lpEnumFunc, lParam): + callback = ffi.callback('ENUMRESNAMEPROC', lpEnumFunc) + check_false( + dlls.kernel32.EnumResourceNamesW( + PVOID(hModule), RESOURCE(lpszType), callback, lParam), + function_name='EnumResourceNames') + + +def _EnumResourceLanguages(hModule, lpType, lpName, lpEnumFunc, lParam): + callback = ffi.callback('ENUMRESLANGPROC', lpEnumFunc) + check_false( + dlls.kernel32.EnumResourceLanguagesW( + PVOID(hModule), RESOURCE(lpType), + RESOURCE(lpName), callback, lParam), + function_name='EnumResourceLanguages') + + +def _FindResourceEx(hModule, lpType, lpName, wLanguage): + return check_null( + dlls.kernel32.FindResourceExW( + PVOID(hModule), RESOURCE(lpType), RESOURCE(lpName), wLanguage), + function_name='FindResourceEx') + + +def _SizeofResource(hModule, hResInfo): + return check_zero( + dlls.kernel32.SizeofResource(PVOID(hModule), hResInfo), + function_name='SizeofResource') + + +def _LoadResource(hModule, hResInfo): + return check_null( + dlls.kernel32.LoadResource(PVOID(hModule), hResInfo), + function_name='LoadResource') + + +def _LockResource(hResData): + return check_null( + dlls.kernel32.LockResource(hResData), + function_name='LockResource') + + +def _BeginUpdateResource(pFileName, bDeleteExistingResources): + result = check_null( + dlls.kernel32.BeginUpdateResourceW( + str(pFileName), bDeleteExistingResources)) + return HMODULE(result) + + +def _EndUpdateResource(hUpdate, fDiscard): + check_false( + dlls.kernel32.EndUpdateResourceW(PVOID(hUpdate), fDiscard), + function_name='EndUpdateResource') + + +def _UpdateResource(hUpdate, lpType, lpName, wLanguage, cData, cbData): + lpData = ffi.from_buffer(cData) + check_false( + dlls.kernel32.UpdateResourceW( + PVOID(hUpdate), RESOURCE(lpType), RESOURCE(lpName), + wLanguage, PVOID(lpData), cbData), + function_name='UpdateResource') diff --git a/.venv/Lib/site-packages/win32ctypes/core/cffi/_system_information.py b/.venv/Lib/site-packages/win32ctypes/core/cffi/_system_information.py new file mode 100644 index 0000000..f642da8 --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/core/cffi/_system_information.py @@ -0,0 +1,32 @@ +# +# (C) Copyright 2018 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +from ._util import ffi, dlls + +# TODO: retrieve this value using ffi +MAX_PATH = 260 +MAX_PATH_BUF = u'wchar_t[{0}]'.format(MAX_PATH) + +ffi.cdef(""" + +BOOL WINAPI Beep(DWORD dwFreq, DWORD dwDuration); +UINT WINAPI GetWindowsDirectoryW(LPTSTR lpBuffer, UINT uSize); +UINT WINAPI GetSystemDirectoryW(LPTSTR lpBuffer, UINT uSize); + +""") + + +def _GetWindowsDirectory(): + buffer = ffi.new(MAX_PATH_BUF) + directory = dlls.kernel32.GetWindowsDirectoryW(buffer, MAX_PATH) + return ffi.unpack(buffer, directory) + + +def _GetSystemDirectory(): + buffer = ffi.new(MAX_PATH_BUF) + directory = dlls.kernel32.GetSystemDirectoryW(buffer, MAX_PATH) + return ffi.unpack(buffer, directory) diff --git a/.venv/Lib/site-packages/win32ctypes/core/cffi/_time.py b/.venv/Lib/site-packages/win32ctypes/core/cffi/_time.py new file mode 100644 index 0000000..ad33846 --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/core/cffi/_time.py @@ -0,0 +1,18 @@ +# +# (C) Copyright 2015-18 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +from ._util import ffi, dlls + +ffi.cdef(""" + +DWORD WINAPI GetTickCount(void); + +""") + + +def _GetTickCount(): + return dlls.kernel32.GetTickCount() diff --git a/.venv/Lib/site-packages/win32ctypes/core/cffi/_util.py b/.venv/Lib/site-packages/win32ctypes/core/cffi/_util.py new file mode 100644 index 0000000..b4ce1ff --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/core/cffi/_util.py @@ -0,0 +1,105 @@ +# +# (C) Copyright 2015 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +""" Utility functions to help with cffi wrapping. +""" +from win32ctypes.core.compat import is_bytes, is_integer +from cffi import FFI + +ffi = FFI() +ffi.set_unicode(True) + + +def HMODULE(cdata): + return int(ffi.cast("intptr_t", cdata)) + + +def PVOID(x): + return ffi.cast("void *", x) + + +def IS_INTRESOURCE(x): + """ Check if x is an index into the id list. + + """ + return int(ffi.cast("uintptr_t", x)) >> 16 == 0 + + +def RESOURCE(resource): + """ Convert a resource into a compatible input for cffi. + + """ + if is_integer(resource): + resource = ffi.cast('wchar_t *', resource) + elif is_bytes(resource): + resource = str(resource) + return resource + + +def resource(lpRESOURCEID): + """ Convert the windows RESOURCE into a python friendly object. + """ + if IS_INTRESOURCE(lpRESOURCEID): + resource = int(ffi.cast("uintptr_t", lpRESOURCEID)) + else: + resource = ffi.string(lpRESOURCEID) + return resource + + +class ErrorWhen(object): + """ Callable factory for raising errors when calling cffi functions. + + """ + + def __init__(self, check, raise_on_zero=True): + """ Constructor + + Parameters + ---------- + check : + The return value that designates that an error has taken place. + + raise_on_zero : bool + When set any error will be raised. When false the winerror + is checked and only non-zero win errors are raised. Currently + this parameters is used to workaround issues with the win32 + implementation in ``wine``. + + """ + self._check = check + self._raise_on_zero = raise_on_zero + + def __call__(self, value, function_name=''): + if value == self._check: + self._raise_error(function_name) + else: + return value + + def _raise_error(self, function_name=''): + code, message = ffi.getwinerror() + exception = WindowsError() + exception.errno = ffi.errno + exception.winerror = code + exception.strerror = message + exception.function = function_name + raise exception + + +check_null = ErrorWhen(ffi.NULL) +check_zero = ErrorWhen(0) +check_false = ErrorWhen(False) + + +class Libraries(object): + + def __getattr__(self, name): + library = ffi.dlopen('{}.dll'.format(name)) + self.__dict__[name] = library + return library + + +dlls = Libraries() diff --git a/.venv/Lib/site-packages/win32ctypes/core/compat.py b/.venv/Lib/site-packages/win32ctypes/core/compat.py new file mode 100644 index 0000000..2de6bf2 --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/core/compat.py @@ -0,0 +1,10 @@ +def is_bytes(b): + return isinstance(b, bytes) + + +def is_text(s): + return isinstance(s, str) + + +def is_integer(i): + return isinstance(i, int) diff --git a/.venv/Lib/site-packages/win32ctypes/core/ctypes/__init__.py b/.venv/Lib/site-packages/win32ctypes/core/ctypes/__init__.py new file mode 100644 index 0000000..628b1eb --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/core/ctypes/__init__.py @@ -0,0 +1,11 @@ +# +# (C) Copyright 2014-2023 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +import logging + +logger = logging.getLogger(__name__) +logger.debug('Loaded ctypes backend') diff --git a/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..71485de Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_authentication.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_authentication.cpython-311.pyc new file mode 100644 index 0000000..025e7d5 Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_authentication.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_common.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_common.cpython-311.pyc new file mode 100644 index 0000000..198f204 Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_common.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_dll.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_dll.cpython-311.pyc new file mode 100644 index 0000000..1777f6a Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_dll.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_nl_support.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_nl_support.cpython-311.pyc new file mode 100644 index 0000000..fc790bd Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_nl_support.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_resource.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_resource.cpython-311.pyc new file mode 100644 index 0000000..d97b0e4 Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_resource.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_system_information.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_system_information.cpython-311.pyc new file mode 100644 index 0000000..45d5b9e Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_system_information.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_time.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_time.cpython-311.pyc new file mode 100644 index 0000000..207e74e Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_time.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_util.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_util.cpython-311.pyc new file mode 100644 index 0000000..d452634 Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/core/ctypes/__pycache__/_util.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/core/ctypes/_authentication.py b/.venv/Lib/site-packages/win32ctypes/core/ctypes/_authentication.py new file mode 100644 index 0000000..508f4b1 --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/core/ctypes/_authentication.py @@ -0,0 +1,122 @@ +# +# (C) Copyright 2014-18 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +import ctypes +from ctypes import POINTER, Structure, c_void_p, c_wchar_p, c_char_p, cast +from ctypes.wintypes import ( + BOOL, DWORD, FILETIME, LPCWSTR) + +from win32ctypes.core.compat import is_text +from ._common import LPBYTE, _PyBytes_FromStringAndSize +from ._util import function_factory, check_false_factory, dlls +from ._nl_support import _GetACP + + +SUPPORTED_CREDKEYS = set(( + u'Type', u'TargetName', u'Persist', + u'UserName', u'Comment', u'CredentialBlob')) + + +class CREDENTIAL(Structure): + _fields_ = [ + ("Flags", DWORD), + ("Type", DWORD), + ("TargetName", c_wchar_p), + ("Comment", c_wchar_p), + ("LastWritten", FILETIME), + ("CredentialBlobSize", DWORD), + ("CredentialBlob", LPBYTE), + ("Persist", DWORD), + ("_DO_NOT_USE_AttributeCount", DWORD), + ("__DO_NOT_USE_Attribute", c_void_p), + ("TargetAlias", c_wchar_p), + ("UserName", c_wchar_p)] + + @classmethod + def fromdict(cls, credential, flags=0): + unsupported = set(credential.keys()) - SUPPORTED_CREDKEYS + if len(unsupported): + raise ValueError("Unsupported keys: {0}".format(unsupported)) + if flags != 0: + raise ValueError("flag != 0 not yet supported") + + c_creds = cls() + c_pcreds = PCREDENTIAL(c_creds) + + # zero-out memory + ctypes.memset(c_pcreds, 0, ctypes.sizeof(c_creds)) + + for key in SUPPORTED_CREDKEYS: + if key in credential: + if key != 'CredentialBlob': + setattr(c_creds, key, credential[key]) + else: + blob = make_unicode(credential['CredentialBlob']) + blob_data = ctypes.create_unicode_buffer(blob) + # Create_unicode_buffer adds a NULL at the end of the + # string we do not want that. + c_creds.CredentialBlobSize = \ + ctypes.sizeof(blob_data) - \ + ctypes.sizeof(ctypes.c_wchar) + c_creds.CredentialBlob = ctypes.cast(blob_data, LPBYTE) + return c_creds + + +PCREDENTIAL = POINTER(CREDENTIAL) +PPCREDENTIAL = POINTER(PCREDENTIAL) +PPPCREDENTIAL = POINTER(PPCREDENTIAL) + + +def make_unicode(text): + """ Convert the input string to unicode. + + """ + if is_text(text): + return text + else: + code_page = _GetACP() + return text.decode(encoding=str(code_page), errors='strict') + + +def credential2dict(creds): + credential = {} + for key in SUPPORTED_CREDKEYS: + if key != u'CredentialBlob': + credential[key] = getattr(creds, key) + else: + blob = _PyBytes_FromStringAndSize( + cast(creds.CredentialBlob, c_char_p), + creds.CredentialBlobSize) + credential[u'CredentialBlob'] = blob + return credential + + +_CredWrite = function_factory( + dlls.advapi32.CredWriteW, + [PCREDENTIAL, DWORD], + BOOL, + check_false_factory("CredWrite")) + +_CredRead = function_factory( + dlls.advapi32.CredReadW, + [LPCWSTR, DWORD, DWORD, PPCREDENTIAL], + BOOL, + check_false_factory("CredRead")) + +_CredDelete = function_factory( + dlls.advapi32.CredDeleteW, + [LPCWSTR, DWORD, DWORD], + BOOL, + check_false_factory("CredDelete")) + +_CredEnumerate = function_factory( + dlls.advapi32.CredEnumerateW, + [LPCWSTR, DWORD, POINTER(DWORD), PPPCREDENTIAL], + BOOL, + check_false_factory("CredEnumerate")) + +_CredFree = function_factory(dlls.advapi32.CredFree, [PCREDENTIAL]) diff --git a/.venv/Lib/site-packages/win32ctypes/core/ctypes/_common.py b/.venv/Lib/site-packages/win32ctypes/core/ctypes/_common.py new file mode 100644 index 0000000..2067bb7 --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/core/ctypes/_common.py @@ -0,0 +1,53 @@ +# +# (C) Copyright 2014 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +import ctypes +import sys +from ctypes import ( + pythonapi, POINTER, c_void_p, py_object, c_char_p, c_int, c_long, c_int64, + c_longlong) +from ctypes import cast # noqa imported here for convenience +from ctypes.wintypes import BYTE + +from ._util import function_factory + +PPy_UNICODE = c_void_p +LPBYTE = POINTER(BYTE) +is_64bits = sys.maxsize > 2**32 +Py_ssize_t = c_int64 if is_64bits else c_int + +if ctypes.sizeof(c_long) == ctypes.sizeof(c_void_p): + LONG_PTR = c_long +elif ctypes.sizeof(c_longlong) == ctypes.sizeof(c_void_p): + LONG_PTR = c_longlong + +_PyBytes_FromStringAndSize = function_factory( + pythonapi.PyBytes_FromStringAndSize, + [c_char_p, Py_ssize_t], + return_type=py_object) + + +def IS_INTRESOURCE(x): + return x >> 16 == 0 + + +byreference = ctypes.byref + + +def dereference(x): + return x.contents + + +class Libraries(object): + + def __getattr__(self, name): + library = ctypes.WinDLL(name) + self.__dict__[name] = library + return library + + +dlls = Libraries() diff --git a/.venv/Lib/site-packages/win32ctypes/core/ctypes/_dll.py b/.venv/Lib/site-packages/win32ctypes/core/ctypes/_dll.py new file mode 100644 index 0000000..e44c663 --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/core/ctypes/_dll.py @@ -0,0 +1,21 @@ +# +# (C) Copyright 2018 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +from ctypes.wintypes import BOOL, DWORD, HANDLE, HMODULE, LPCWSTR + +from ._util import check_null, check_false, function_factory, dlls + +_LoadLibraryEx = function_factory( + dlls.kernel32.LoadLibraryExW, + [LPCWSTR, HANDLE, DWORD], + HMODULE, check_null) + +_FreeLibrary = function_factory( + dlls.kernel32.FreeLibrary, + [HMODULE], + BOOL, + check_false) diff --git a/.venv/Lib/site-packages/win32ctypes/core/ctypes/_nl_support.py b/.venv/Lib/site-packages/win32ctypes/core/ctypes/_nl_support.py new file mode 100644 index 0000000..9a3a07d --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/core/ctypes/_nl_support.py @@ -0,0 +1,12 @@ +# +# (C) Copyright 2018 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +from ctypes.wintypes import UINT + +from ._util import function_factory, dlls + +_GetACP = function_factory(dlls.kernel32.GetACP, None, UINT) diff --git a/.venv/Lib/site-packages/win32ctypes/core/ctypes/_resource.py b/.venv/Lib/site-packages/win32ctypes/core/ctypes/_resource.py new file mode 100644 index 0000000..23adb1f --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/core/ctypes/_resource.py @@ -0,0 +1,148 @@ +# +# (C) Copyright 2018 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +import ctypes +from ctypes.wintypes import ( + BOOL, DWORD, HANDLE, HMODULE, LPCWSTR, WORD, HRSRC, + HGLOBAL, LPVOID) + +from ._common import LONG_PTR, IS_INTRESOURCE +from ._util import check_null, check_zero, check_false, function_factory, dlls + +_ENUMRESTYPEPROC = ctypes.WINFUNCTYPE(BOOL, HMODULE, LPVOID, LONG_PTR) +_ENUMRESNAMEPROC = ctypes.WINFUNCTYPE(BOOL, HMODULE, LPVOID, LPVOID, LONG_PTR) +_ENUMRESLANGPROC = ctypes.WINFUNCTYPE( + BOOL, HMODULE, LPVOID, LPVOID, WORD, LONG_PTR) + + +def ENUMRESTYPEPROC(callback): + def wrapped(handle, type_, param): + if IS_INTRESOURCE(type_): + type_ = int(type_) + else: + type_ = ctypes.cast(type_, LPCWSTR).value + return callback(handle, type_, param) + + return _ENUMRESTYPEPROC(wrapped) + + +def ENUMRESNAMEPROC(callback): + def wrapped(handle, type_, name, param): + if IS_INTRESOURCE(type_): + type_ = int(type_) + else: + type_ = ctypes.cast(type_, LPCWSTR).value + if name is None: + return False + elif IS_INTRESOURCE(name): + name = int(name) + else: + name = ctypes.cast(name, LPCWSTR).value + return callback(handle, type_, name, param) + + return _ENUMRESNAMEPROC(wrapped) + + +def ENUMRESLANGPROC(callback): + def wrapped(handle, type_, name, language, param): + if IS_INTRESOURCE(type_): + type_ = int(type_) + else: + type_ = ctypes.cast(type_, LPCWSTR).value + if IS_INTRESOURCE(name): + name = int(name) + else: + name = ctypes.cast(name, LPCWSTR).value + return callback(handle, type_, name, language, param) + + return _ENUMRESLANGPROC(wrapped) + + +def _UpdateResource(hUpdate, lpType, lpName, wLanguage, lpData, cbData): + lp_type = LPCWSTR(lpType) + lp_name = LPCWSTR(lpName) + _BaseUpdateResource(hUpdate, lp_type, lp_name, wLanguage, lpData, cbData) + + +def _EnumResourceNames(hModule, lpszType, lpEnumFunc, lParam): + resource_type = LPCWSTR(lpszType) + _BaseEnumResourceNames(hModule, resource_type, lpEnumFunc, lParam) + + +def _EnumResourceLanguages(hModule, lpType, lpName, lpEnumFunc, lParam): + resource_type = LPCWSTR(lpType) + resource_name = LPCWSTR(lpName) + _BaseEnumResourceLanguages( + hModule, resource_type, resource_name, lpEnumFunc, lParam) + + +def _FindResourceEx(hModule, lpType, lpName, wLanguage): + resource_type = LPCWSTR(lpType) + resource_name = LPCWSTR(lpName) + return _BaseFindResourceEx( + hModule, resource_type, resource_name, wLanguage) + + +_EnumResourceTypes = function_factory( + dlls.kernel32.EnumResourceTypesW, + [HMODULE, _ENUMRESTYPEPROC, LONG_PTR], + BOOL, + check_false) + +_LoadResource = function_factory( + dlls.kernel32.LoadResource, + [HMODULE, HRSRC], + HGLOBAL, + check_null) + +_LockResource = function_factory( + dlls.kernel32.LockResource, + [HGLOBAL], + LPVOID, + check_null) + +_SizeofResource = function_factory( + dlls.kernel32.SizeofResource, + [HMODULE, HRSRC], + DWORD, + check_zero) + +_BeginUpdateResource = function_factory( + dlls.kernel32.BeginUpdateResourceW, + [LPCWSTR, BOOL], + HANDLE, + check_null) + +_EndUpdateResource = function_factory( + dlls.kernel32.EndUpdateResourceW, + [HANDLE, BOOL], + BOOL, + check_false) + +_BaseEnumResourceNames = function_factory( + dlls.kernel32.EnumResourceNamesW, + [HMODULE, LPCWSTR, _ENUMRESNAMEPROC, LONG_PTR], + BOOL, + check_false) + +_BaseEnumResourceLanguages = function_factory( + dlls.kernel32.EnumResourceLanguagesW, + [HMODULE, LPCWSTR, LPCWSTR, _ENUMRESLANGPROC, LONG_PTR], + BOOL, + check_false) + +_BaseFindResourceEx = function_factory( + dlls.kernel32.FindResourceExW, + [HMODULE, LPCWSTR, LPCWSTR, WORD], + HRSRC, + check_null) + +_BaseUpdateResource = function_factory( + dlls.kernel32.UpdateResourceW, + [HANDLE, LPCWSTR, LPCWSTR, WORD, LPVOID, DWORD], + BOOL, + check_false) diff --git a/.venv/Lib/site-packages/win32ctypes/core/ctypes/_system_information.py b/.venv/Lib/site-packages/win32ctypes/core/ctypes/_system_information.py new file mode 100644 index 0000000..1a38757 --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/core/ctypes/_system_information.py @@ -0,0 +1,36 @@ +# +# (C) Copyright 2018 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +import ctypes +from ctypes.wintypes import LPCWSTR, UINT, LPWSTR, MAX_PATH + +from ._util import check_zero, function_factory, dlls + + +def _GetWindowsDirectory(): + buffer = ctypes.create_unicode_buffer(MAX_PATH) + _BaseGetWindowsDirectory(buffer, MAX_PATH) + return ctypes.cast(buffer, LPCWSTR).value + + +def _GetSystemDirectory(): + buffer = ctypes.create_unicode_buffer(MAX_PATH) + _BaseGetSystemDirectory(buffer, MAX_PATH) + return ctypes.cast(buffer, LPCWSTR).value + + +_BaseGetWindowsDirectory = function_factory( + dlls.kernel32.GetWindowsDirectoryW, + [LPWSTR, UINT], + UINT, + check_zero) + +_BaseGetSystemDirectory = function_factory( + dlls.kernel32.GetSystemDirectoryW, + [LPWSTR, UINT], + UINT, + check_zero) diff --git a/.venv/Lib/site-packages/win32ctypes/core/ctypes/_time.py b/.venv/Lib/site-packages/win32ctypes/core/ctypes/_time.py new file mode 100644 index 0000000..da8a936 --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/core/ctypes/_time.py @@ -0,0 +1,15 @@ +# +# (C) Copyright 2018 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +from ctypes.wintypes import DWORD + +from ._util import function_factory, dlls + + +_GetTickCount = function_factory( + dlls.kernel32.GetTickCount, + None, DWORD) diff --git a/.venv/Lib/site-packages/win32ctypes/core/ctypes/_util.py b/.venv/Lib/site-packages/win32ctypes/core/ctypes/_util.py new file mode 100644 index 0000000..27b5fc4 --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/core/ctypes/_util.py @@ -0,0 +1,78 @@ +# +# (C) Copyright 2014 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +""" Utility functions to help with ctypes wrapping. +""" +from ctypes import get_last_error, FormatError, WinDLL + + +def function_factory( + function, argument_types=None, + return_type=None, error_checking=None): + if argument_types is not None: + function.argtypes = argument_types + function.restype = return_type + if error_checking is not None: + function.errcheck = error_checking + return function + + +def make_error(function, function_name=None): + code = get_last_error() + description = FormatError(code).strip() + if function_name is None: + function_name = function.__name__ + exception = WindowsError() + exception.winerror = code + exception.function = function_name + exception.strerror = description + return exception + + +def check_null_factory(function_name=None): + def check_null(result, function, arguments, *args): + if result is None: + raise make_error(function, function_name) + return result + return check_null + + +check_null = check_null_factory() + + +def check_zero_factory(function_name=None): + def check_zero(result, function, arguments, *args): + if result == 0: + raise make_error(function, function_name) + return result + return check_zero + + +check_zero = check_zero_factory() + + +def check_false_factory(function_name=None): + def check_false(result, function, arguments, *args): + if not bool(result): + raise make_error(function, function_name) + else: + return True + return check_false + + +check_false = check_false_factory() + + +class Libraries(object): + + def __getattr__(self, name): + library = WinDLL(name, use_last_error=True) + self.__dict__[name] = library + return library + + +dlls = Libraries() diff --git a/.venv/Lib/site-packages/win32ctypes/pywin32/__init__.py b/.venv/Lib/site-packages/win32ctypes/pywin32/__init__.py new file mode 100644 index 0000000..3fc135b --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/pywin32/__init__.py @@ -0,0 +1,12 @@ +# +# (C) Copyright 2014 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +from win32ctypes.pywin32 import pywintypes +from win32ctypes.pywin32 import win32api +from win32ctypes.pywin32 import win32cred + +__all__ = ['win32api', 'win32cred', 'pywintypes'] diff --git a/.venv/Lib/site-packages/win32ctypes/pywin32/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/pywin32/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..d634fc2 Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/pywin32/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/pywin32/__pycache__/pywintypes.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/pywin32/__pycache__/pywintypes.cpython-311.pyc new file mode 100644 index 0000000..4174620 Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/pywin32/__pycache__/pywintypes.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/pywin32/__pycache__/win32api.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/pywin32/__pycache__/win32api.cpython-311.pyc new file mode 100644 index 0000000..4c78fec Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/pywin32/__pycache__/win32api.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/pywin32/__pycache__/win32cred.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/pywin32/__pycache__/win32cred.cpython-311.pyc new file mode 100644 index 0000000..f2665d9 Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/pywin32/__pycache__/win32cred.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/pywin32/pywintypes.py b/.venv/Lib/site-packages/win32ctypes/pywin32/pywintypes.py new file mode 100644 index 0000000..80d071c --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/pywin32/pywintypes.py @@ -0,0 +1,67 @@ +# +# (C) Copyright 2014 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +""" A module which supports common Windows types. """ +import contextlib +import collections +import time +from datetime import datetime as _datetime + + +class error(Exception): + def __init__(self, *args, **kw): + nargs = len(args) + if nargs > 0: + self.winerror = args[0] + else: + self.winerror = None + if nargs > 1: + self.funcname = args[1] + else: + self.funcname = None + if nargs > 2: + self.strerror = args[2] + else: + self.strerror = None + Exception.__init__(self, *args, **kw) + + +@contextlib.contextmanager +def pywin32error(): + try: + yield + except WindowsError as exception: + if not hasattr(exception, 'function'): + exception.function = 'unknown' + raise error(exception.winerror, exception.function, exception.strerror) + + +class datetime(_datetime): + + def Format(self, fmt='%c'): + return self.strftime(fmt) + + +def Time(value): + if isinstance(value, datetime): + return value + elif hasattr(value, 'timetuple'): + timetuple = value.timetuple() + return datetime.fromtimestamp(time.mktime(timetuple)) + elif isinstance(value, collections.abc.Sequence): + time_value = time.mktime(value[:9]) + if len(value) == 10: + time_value += value[9] / 1000.0 + return datetime.fromtimestamp(time_value) + else: + try: + return datetime.fromtimestamp(value) + except OSError as error: + if error.errno == 22: + raise ValueError(error.strerror) + else: + raise diff --git a/.venv/Lib/site-packages/win32ctypes/pywin32/win32api.py b/.venv/Lib/site-packages/win32ctypes/pywin32/win32api.py new file mode 100644 index 0000000..18e1934 --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/pywin32/win32api.py @@ -0,0 +1,294 @@ +# +# (C) Copyright 2014 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +""" A module, encapsulating the Windows Win32 API. """ +from win32ctypes.core import ( + _common, _dll, _resource, _system_information, _backend, _time) +from win32ctypes.pywin32.pywintypes import pywin32error as _pywin32error + +LOAD_LIBRARY_AS_DATAFILE = 0x2 +LANG_NEUTRAL = 0x00 + + +def LoadLibraryEx(fileName, handle, flags): + """ Loads the specified DLL, and returns the handle. + + Parameters + ---------- + fileName : unicode + The filename of the module to load. + + handle : int + Reserved, always zero. + + flags : int + The action to be taken when loading the module. + + Returns + ------- + handle : hModule + The handle of the loaded module + + """ + if not handle == 0: + raise ValueError("handle != 0 not supported") + with _pywin32error(): + return _dll._LoadLibraryEx(fileName, 0, flags) + + +def EnumResourceTypes(hModule): + """ Enumerates resource types within a module. + + Parameters + ---------- + hModule : handle + The handle to the module. + + Returns + ------- + resource_types : list + The list of resource types in the module. + + """ + resource_types = [] + + def callback(hModule, type_, param): + resource_types.append(type_) + return True + + with _pywin32error(): + _resource._EnumResourceTypes( + hModule, _resource.ENUMRESTYPEPROC(callback), 0) + return resource_types + + +def EnumResourceNames(hModule, resType): + """ Enumerates all the resources of the specified type within a module. + + Parameters + ---------- + hModule : handle + The handle to the module. + resType : str : int + The type or id of resource to enumerate. + + Returns + ------- + resource_names : list + The list of resource names (unicode strings) of the specific + resource type in the module. + + """ + resource_names = [] + + def callback(hModule, type_, type_name, param): + resource_names.append(type_name) + return True + + with _pywin32error(): + _resource._EnumResourceNames( + hModule, resType, _resource.ENUMRESNAMEPROC(callback), 0) + return resource_names + + +def EnumResourceLanguages(hModule, lpType, lpName): + """ List languages of a resource module. + + Parameters + ---------- + hModule : handle + Handle to the resource module. + + lpType : str : int + The type or id of resource to enumerate. + + lpName : str : int + The type or id of resource to enumerate. + + Returns + ------- + resource_languages : list + List of the resource language ids. + + """ + resource_languages = [] + + def callback(hModule, type_name, res_name, language_id, param): + resource_languages.append(language_id) + return True + + with _pywin32error(): + _resource._EnumResourceLanguages( + hModule, lpType, lpName, _resource.ENUMRESLANGPROC(callback), 0) + return resource_languages + + +def LoadResource(hModule, type, name, language=LANG_NEUTRAL): + """ Find and Load a resource component. + + Parameters + ---------- + handle : hModule + The handle of the module containing the resource. + Use None for current process executable. + + type : str : int + The type of resource to load. + + name : str : int + The name or Id of the resource to load. + + language : int + Language to use, default is LANG_NEUTRAL. + + Returns + ------- + resource : bytes + The byte string blob of the resource + + """ + with _pywin32error(): + hrsrc = _resource._FindResourceEx(hModule, type, name, language) + size = _resource._SizeofResource(hModule, hrsrc) + hglob = _resource._LoadResource(hModule, hrsrc) + if _backend == 'ctypes': + pointer = _common.cast( + _resource._LockResource(hglob), _common.c_char_p) + else: + pointer = _resource._LockResource(hglob) + return _common._PyBytes_FromStringAndSize(pointer, size) + + +def FreeLibrary(hModule): + """ Free the loaded dynamic-link library (DLL) module. + + If necessary, decrements its reference count. + + Parameters + ---------- + handle : hModule + The handle to the library as returned by the LoadLibrary function. + + """ + with _pywin32error(): + return _dll._FreeLibrary(hModule) + + +def GetTickCount(): + """ The number of milliseconds that have elapsed since startup + + Returns + ------- + counts : int + The millisecond counts since system startup. + """ + return _time._GetTickCount() + + +def BeginUpdateResource(filename, delete): + """ Get a handle that can be used by the :func:`UpdateResource`. + + Parameters + ---------- + fileName : unicode + The filename of the module to load. + delete : bool + When true all existing resources are deleted + + Returns + ------- + result : hModule + Handle of the resource. + + """ + with _pywin32error(): + return _resource._BeginUpdateResource(filename, delete) + + +def EndUpdateResource(handle, discard): + """ End the update resource of the handle. + + Parameters + ---------- + handle : hModule + The handle of the resource as it is returned + by :func:`BeginUpdateResource` + + discard : bool + When True all writes are discarded. + + """ + with _pywin32error(): + _resource._EndUpdateResource(handle, discard) + + +def UpdateResource(handle, type, name, data, language=LANG_NEUTRAL): + """ Update a resource. + + Parameters + ---------- + handle : hModule + The handle of the resource file as returned by + :func:`BeginUpdateResource`. + + type : str : int + The type of resource to update. + + name : str : int + The name or Id of the resource to update. + + data : bytes + A bytes like object is expected. + + .. note:: + PyWin32 version 219, on Python 2.7, can handle unicode inputs. + However, the data are stored as bytes and it is not really + possible to convert the information back into the original + unicode string. To be consistent with the Python 3 behaviour + of PyWin32, we raise an error if the input cannot be + converted to `bytes`. + + language : int + Language to use, default is LANG_NEUTRAL. + + """ + with _pywin32error(): + try: + lp_data = bytes(data) + except UnicodeEncodeError: + raise TypeError( + "a bytes-like object is required, not a 'unicode'") + _resource._UpdateResource( + handle, type, name, language, lp_data, len(lp_data)) + + +def GetWindowsDirectory(): + """ Get the ``Windows`` directory. + + Returns + ------- + result : str + The path to the ``Windows`` directory. + + """ + with _pywin32error(): + # Note: pywin32 returns str on py27, unicode (which is str) on py3 + return str(_system_information._GetWindowsDirectory()) + + +def GetSystemDirectory(): + """ Get the ``System`` directory. + + Returns + ------- + result : str + The path to the ``System`` directory. + + """ + with _pywin32error(): + # Note: pywin32 returns str on py27, unicode (which is str) on py3 + return str(_system_information._GetSystemDirectory()) diff --git a/.venv/Lib/site-packages/win32ctypes/pywin32/win32cred.py b/.venv/Lib/site-packages/win32ctypes/pywin32/win32cred.py new file mode 100644 index 0000000..0f37f1d --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/pywin32/win32cred.py @@ -0,0 +1,145 @@ +# +# (C) Copyright 2014 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +""" Interface to credentials management functions. """ +from win32ctypes.core import _authentication, _common, _backend +from win32ctypes.pywin32.pywintypes import pywin32error as _pywin32error + +CRED_TYPE_GENERIC = 0x1 +CRED_PERSIST_SESSION = 0x1 +CRED_PERSIST_LOCAL_MACHINE = 0x2 +CRED_PERSIST_ENTERPRISE = 0x3 +CRED_PRESERVE_CREDENTIAL_BLOB = 0 +CRED_ENUMERATE_ALL_CREDENTIALS = 0x1 + + +def CredWrite(Credential, Flags=CRED_PRESERVE_CREDENTIAL_BLOB): + """ Creates or updates a stored credential. + + Parameters + ---------- + Credential : dict + A dictionary corresponding to the PyWin32 ``PyCREDENTIAL`` + structure. + Flags : int + Always pass ``CRED_PRESERVE_CREDENTIAL_BLOB`` (i.e. 0). + + """ + c_creds = _authentication.CREDENTIAL.fromdict(Credential, Flags) + c_pcreds = _authentication.PCREDENTIAL(c_creds) + with _pywin32error(): + _authentication._CredWrite(c_pcreds, 0) + + +def CredRead(TargetName, Type, Flags=0): + """ Retrieves a stored credential. + + Parameters + ---------- + TargetName : unicode + The target name to fetch from the keyring. + Type : int + One of the CRED_TYPE_* constants. + Flags : int + Reserved, always use 0. + + Returns + ------- + credentials : dict + ``None`` if the target name was not found or A dictionary + corresponding to the PyWin32 ``PyCREDENTIAL`` structure. + + """ + if Type != CRED_TYPE_GENERIC: + raise ValueError("Type != CRED_TYPE_GENERIC not yet supported") + + flag = 0 + with _pywin32error(): + if _backend == 'cffi': + ppcreds = _authentication.PPCREDENTIAL() + _authentication._CredRead(TargetName, Type, flag, ppcreds) + pcreds = _common.dereference(ppcreds) + else: + pcreds = _authentication.PCREDENTIAL() + _authentication._CredRead( + TargetName, Type, flag, _common.byreference(pcreds)) + try: + return _authentication.credential2dict(_common.dereference(pcreds)) + finally: + _authentication._CredFree(pcreds) + + +def CredDelete(TargetName, Type, Flags=0): + """ Remove the given target name from the stored credentials. + + Parameters + ---------- + TargetName : unicode + The target name to fetch from the keyring. + Type : int + One of the CRED_TYPE_* constants. + Flags : int + Reserved, always use 0. + + """ + if not Type == CRED_TYPE_GENERIC: + raise ValueError("Type != CRED_TYPE_GENERIC not yet supported.") + with _pywin32error(): + _authentication._CredDelete(TargetName, Type, 0) + + +def CredEnumerate(Filter=None, Flags=0): + """ Remove the given target name from the stored credentials. + + Parameters + ---------- + Filter : unicode + Matches credentials' target names by prefix, can be None. + Flags : int + When set to CRED_ENUMERATE_ALL_CREDENTIALS enumerates all of + the credentials in the user's credential set but in that + case the Filter parameter should be NULL, an error is + raised otherwise + + Returns + ------- + credentials : list + Returns a sequence of CREDENTIAL dictionaries. + + """ + with _pywin32error(): + if _backend == 'cffi': + pcount = _common.PDWORD() + pppcredential = _authentication.PPPCREDENTIAL() + _authentication._CredEnumerate( + Filter, Flags, pcount, pppcredential) + count = pcount[0] + data = _common.dereference( + _common.ffi.cast(f"PCREDENTIAL*[{count}]", pppcredential)) + memory = _common.dereference(pppcredential) + else: + import ctypes + count = _authentication.DWORD() + pcredential = _authentication.PCREDENTIAL() + ppcredential = ctypes.pointer(pcredential) + pppcredential = ctypes.pointer(ppcredential) + _authentication._CredEnumerate( + Filter, Flags, _common.byreference(count), pppcredential) + count = count.value + data = _common.dereference( + _common.cast( + ppcredential, + _common.POINTER(_authentication.PCREDENTIAL*count))) + memory = pcredential + try: + result = [] + for i in range(count): + credential = _common.dereference(data[i]) + result.append(_authentication.credential2dict(credential)) + return result + finally: + _authentication._CredFree(memory) diff --git a/.venv/Lib/site-packages/win32ctypes/pywintypes.py b/.venv/Lib/site-packages/win32ctypes/pywintypes.py new file mode 100644 index 0000000..6209e1f --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/pywintypes.py @@ -0,0 +1,13 @@ +# +# (C) Copyright 2017 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +import warnings +from win32ctypes.pywin32.pywintypes import * # noqa + +warnings.warn( + "Please use 'from win32ctypes.pywin32 import pywintypes'", + DeprecationWarning) diff --git a/.venv/Lib/site-packages/win32ctypes/tests/__init__.py b/.venv/Lib/site-packages/win32ctypes/tests/__init__.py new file mode 100644 index 0000000..44e7289 --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/tests/__init__.py @@ -0,0 +1,21 @@ +# +# (C) Copyright 2014 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +import os + +if 'SHOW_TEST_ENV' in os.environ: + import sys + from win32ctypes.core import _backend + is_64bits = sys.maxsize > 2**32 + print('=' * 30, file=sys.stderr) + print( + 'Running on python: {} {}'.format( + sys.version, '64bit' if is_64bits else '32bit'), + file=sys.stderr) + print('The executable is: {}'.format(sys.executable), file=sys.stderr) + print('Using the {} backend'.format(_backend), file=sys.stderr) + print('=' * 30, file=sys.stderr, flush=True) diff --git a/.venv/Lib/site-packages/win32ctypes/tests/__pycache__/__init__.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/tests/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..e833d2c Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/tests/__pycache__/__init__.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/tests/__pycache__/test_backends.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/tests/__pycache__/test_backends.cpython-311.pyc new file mode 100644 index 0000000..4ac7c6d Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/tests/__pycache__/test_backends.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/tests/__pycache__/test_win32api.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/tests/__pycache__/test_win32api.cpython-311.pyc new file mode 100644 index 0000000..8ba6a28 Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/tests/__pycache__/test_win32api.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/tests/__pycache__/test_win32cred.cpython-311.pyc b/.venv/Lib/site-packages/win32ctypes/tests/__pycache__/test_win32cred.cpython-311.pyc new file mode 100644 index 0000000..61199c2 Binary files /dev/null and b/.venv/Lib/site-packages/win32ctypes/tests/__pycache__/test_win32cred.cpython-311.pyc differ diff --git a/.venv/Lib/site-packages/win32ctypes/tests/test_backends.py b/.venv/Lib/site-packages/win32ctypes/tests/test_backends.py new file mode 100644 index 0000000..97a7de8 --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/tests/test_backends.py @@ -0,0 +1,36 @@ +# +# (C) Copyright 2023 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +import importlib +import unittest + +from win32ctypes.core import _backend + +_modules = [ + '_dll', '_authentication', '_time', '_common', + '_resource', '_nl_support', '_system_information'] + + +class TestBackends(unittest.TestCase): + + @unittest.skipIf(_backend != 'cffi', 'cffi backend not enabled') + def test_backend_cffi_load(self): + # when/then + for name in _modules: + module = importlib.import_module(f'win32ctypes.core.{name}') + self.assertEqual( + module.__spec__.name, f'win32ctypes.core.{name}') + self.assertTrue(module.__file__.endswith(f'cffi\\{name}.py')) + + @unittest.skipIf(_backend != 'ctypes', 'ctypes backend not enabled') + def test_backend_ctypes_load(self): + # when/then + for name in _modules: + module = importlib.import_module(f'win32ctypes.core.{name}') + self.assertEqual( + module.__spec__.name, f'win32ctypes.core.{name}') + self.assertTrue(module.__file__.endswith(f'ctypes\\{name}.py')) diff --git a/.venv/Lib/site-packages/win32ctypes/tests/test_win32api.py b/.venv/Lib/site-packages/win32ctypes/tests/test_win32api.py new file mode 100644 index 0000000..e84dff9 --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/tests/test_win32api.py @@ -0,0 +1,304 @@ +# +# (C) Copyright 2014 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +import os +import sys +import unittest +import contextlib +import tempfile +import shutil +import faulthandler + +import win32api + + +from win32ctypes import pywin32 +from win32ctypes.pywin32.pywintypes import error + + +skip_on_wine = 'SKIP_WINE_KNOWN_FAILURES' in os.environ + + +class TestWin32API(unittest.TestCase): + + # the pywin32ctypes implementation + module = pywin32.win32api + + def setUp(self): + self.tempdir = tempfile.mkdtemp() + shutil.copy(sys.executable, self.tempdir) + + def tearDown(self): + shutil.rmtree(self.tempdir) + + @contextlib.contextmanager + def load_library(self, module, library=sys.executable, flags=0x2): + handle = module.LoadLibraryEx(library, 0, flags) + try: + yield handle + finally: + module.FreeLibrary(handle) + + @contextlib.contextmanager + def resource_update(self, module, library=sys.executable): + handle = module.BeginUpdateResource(library, False) + try: + yield handle + finally: + module.EndUpdateResource(handle, False) + + @contextlib.contextmanager + def nofaulthandler(self): + """ Disable the faulthander + + Use this function to avoid poluting the output with errors + When it is known that an access violation is expected. + + """ + enabled = faulthandler.is_enabled() + faulthandler.disable() + try: + yield + finally: + if enabled: + faulthandler.enable() + + def test_load_library_ex(self): + with self.load_library(win32api) as expected: + with self.load_library(self.module) as handle: + self.assertEqual(handle, expected) + + with self.assertRaises(error): + self.module.LoadLibraryEx(u'ttt.dll', 0, 0x2) + + def test_free_library(self): + with self.load_library(win32api) as handle: + self.assertTrue(win32api.FreeLibrary(handle) is None) + self.assertNotEqual(self.module.FreeLibrary(handle), 0) + + with self.assertRaises(error): + with self.nofaulthandler(): + self.module.FreeLibrary(-3) + + def test_enum_resource_types(self): + with self.load_library(win32api, u'shell32.dll') as handle: + expected = win32api.EnumResourceTypes(handle) + + with self.load_library(pywin32.win32api, u'shell32.dll') as handle: + resource_types = self.module.EnumResourceTypes(handle) + + self.assertEqual(resource_types, expected) + + with self.assertRaises(error): + with self.nofaulthandler(): + self.module.EnumResourceTypes(-3) + + def test_enum_resource_names(self): + with self.load_library(win32api, u'shell32.dll') as handle: + resource_types = win32api.EnumResourceTypes(handle) + for resource_type in resource_types: + expected = win32api.EnumResourceNames(handle, resource_type) + resource_names = self.module.EnumResourceNames( + handle, resource_type) + self.assertEqual(resource_names, expected) + # check that the # format works + resource_names = self.module.EnumResourceNames( + handle, self._id2str(resource_type)) + self.assertEqual(resource_names, expected) + + with self.assertRaises(error): + self.module.EnumResourceNames(2, 3) + + def test_enum_resource_languages(self): + with self.load_library(win32api, u'shell32.dll') as handle: + resource_types = win32api.EnumResourceTypes(handle) + for resource_type in resource_types: + resource_names = win32api.EnumResourceNames( + handle, resource_type) + for resource_name in resource_names: + expected = win32api.EnumResourceLanguages( + handle, resource_type, resource_name) + resource_languages = self.module.EnumResourceLanguages( + handle, resource_type, resource_name) + self.assertEqual(resource_languages, expected) + # check that the # format works + resource_languages = self.module.EnumResourceLanguages( + handle, self._id2str(resource_type), + self._id2str(resource_name)) + self.assertEqual(resource_languages, expected) + + with self.assertRaises(error): + self.module.EnumResourceLanguages(handle, resource_type, 2235) + + def test_load_resource(self): + with self.load_library(win32api, u'explorer.exe') as handle: + resource_types = win32api.EnumResourceTypes(handle) + for resource_type in resource_types: + resource_names = win32api.EnumResourceNames( + handle, resource_type) + for resource_name in resource_names: + resource_languages = win32api.EnumResourceLanguages( + handle, resource_type, resource_name) + for resource_language in resource_languages: + expected = win32api.LoadResource( + handle, resource_type, resource_name, + resource_language) + resource = self.module.LoadResource( + handle, resource_type, resource_name, + resource_language) + # check that the # format works + resource = self.module.LoadResource( + handle, self._id2str(resource_type), + self._id2str(resource_name), + resource_language) + self.assertEqual(resource, expected) + + with self.assertRaises(error): + with self.nofaulthandler(): + self.module.LoadResource( + handle, resource_type, resource_name, 12435) + + def test_get_tick_count(self): + self.assertGreater(self.module.GetTickCount(), 0.0) + + def test_begin_and_end_update_resource(self): + # given + module = self.module + filename = os.path.join(self.tempdir, 'python.exe') + with self.load_library(module, filename) as handle: + count = len(module.EnumResourceTypes(handle)) + + # when + handle = module.BeginUpdateResource(filename, False) + module.EndUpdateResource(handle, False) + + # then + with self.load_library(module, filename) as handle: + self.assertEqual(len(module.EnumResourceTypes(handle)), count) + + # when + handle = module.BeginUpdateResource(filename, True) + module.EndUpdateResource(handle, True) + + # then + with self.load_library(module, filename) as handle: + self.assertEqual(len(module.EnumResourceTypes(handle)), count) + + def test_begin_removing_all_resources(self): + if skip_on_wine: + self.skipTest('EnumResourceTypes known failure on wine, see #59') + + # given + module = self.module + filename = os.path.join(self.tempdir, 'python.exe') + + # when + handle = module.BeginUpdateResource(filename, True) + module.EndUpdateResource(handle, False) + + # then + with self.load_library(module, filename) as handle: + self.assertEqual(len(module.EnumResourceTypes(handle)), 0) + + def test_begin_update_resource_with_invalid(self): + if skip_on_wine: + self.skipTest('BeginUpdateResource known failure on wine, see #59') + + # when/then + with self.assertRaises(error) as context: + self.module.BeginUpdateResource('invalid', False) + # the errno cannot be 0 (i.e. success) + self.assertNotEqual(context.exception.winerror, 0) + + def test_end_update_resource_with_invalid(self): + if skip_on_wine: + self.skipTest('EndUpdateResource known failure on wine, see #59') + + # when/then + with self.assertRaises(error) as context: + self.module.EndUpdateResource(-3, False) + # the errno cannot be 0 (i.e. success) + self.assertNotEqual(context.exception.winerror, 0) + + def test_update_resource(self): + # given + module = self.module + filename = os.path.join(self.tempdir, 'python.exe') + with self.load_library(self.module, filename) as handle: + resource_type = module.EnumResourceTypes(handle)[-1] + resource_name = module.EnumResourceNames(handle, resource_type)[-1] + resource_language = module.EnumResourceLanguages( + handle, resource_type, resource_name)[-1] + resource = module.LoadResource( + handle, resource_type, resource_name, resource_language) + + # when + with self.resource_update(self.module, filename) as handle: + module.UpdateResource( + handle, resource_type, resource_name, resource[:-2], + resource_language) + + # then + with self.load_library(self.module, filename) as handle: + updated = module.LoadResource( + handle, resource_type, resource_name, resource_language) + self.assertEqual(len(updated), len(resource) - 2) + self.assertEqual(updated, resource[:-2]) + + def test_update_resource_with_unicode(self): + # given + module = self.module + filename = os.path.join(self.tempdir, 'python.exe') + with self.load_library(module, filename) as handle: + resource_type = module.EnumResourceTypes(handle)[-1] + resource_name = module.EnumResourceNames(handle, resource_type)[-1] + resource_language = module.EnumResourceLanguages( + handle, resource_type, resource_name)[-1] + resource = u"\N{GREEK CAPITAL LETTER DELTA}" + + # when + with self.resource_update(module, filename) as handle: + with self.assertRaises(TypeError): + module.UpdateResource( + handle, resource_type, resource_name, resource, + resource_language) + + def test_get_windows_directory(self): + # given + expected = win32api.GetWindowsDirectory() + + # when + result = self.module.GetWindowsDirectory() + + # then + # note: pywin32 returns str on py27, unicode (which is str) on py3 + self.assertIsInstance(result, str) + self.assertEqual(result.lower(), r"c:\windows") + self.assertEqual(result, expected) + + def test_get_system_directory(self): + # given + expected = win32api.GetSystemDirectory() + + # when + result = self.module.GetSystemDirectory() + + # then + # note: pywin32 returns str on py27, unicode (which is str) on py3 + self.assertIsInstance(result, str) + self.assertEqual(result.lower(), r"c:\windows\system32") + self.assertEqual(result, expected) + + def _id2str(self, type_id): + if hasattr(type_id, 'index'): + return type_id + else: + return u'#{0}'.format(type_id) + + +if __name__ == '__main__': + unittest.main() diff --git a/.venv/Lib/site-packages/win32ctypes/tests/test_win32cred.py b/.venv/Lib/site-packages/win32ctypes/tests/test_win32cred.py new file mode 100644 index 0000000..b34506a --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/tests/test_win32cred.py @@ -0,0 +1,230 @@ +# +# (C) Copyright 2014 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +import os +import sys +import unittest + +import win32cred + +from win32ctypes.core._winerrors import ERROR_NOT_FOUND +from win32ctypes.pywin32.pywintypes import error +from win32ctypes.pywin32.win32cred import ( + CredDelete, CredRead, CredWrite, CredEnumerate, + CRED_PERSIST_ENTERPRISE, CRED_TYPE_GENERIC, + CRED_ENUMERATE_ALL_CREDENTIALS) + +# find the pywin32 version +version_file = os.path.join( + os.path.dirname( + os.path.dirname(win32cred.__file__)), 'pywin32.version.txt') +if os.path.exists(version_file): + with open(version_file) as handle: + pywin32_build = handle.read().strip() +else: + pywin32_build = None + + +class TestCred(unittest.TestCase): + + def setUp(self): + from pywintypes import error + try: + win32cred.CredDelete(u'jone@doe', CRED_TYPE_GENERIC) + except error: + pass + + def _demo_credentials(self, UserName=u'jone'): + return { + "Type": CRED_TYPE_GENERIC, + "TargetName": u'jone@doe', + "UserName": UserName, + "CredentialBlob": u"doefsajfsakfj", + "Comment": u"Created by MiniPyWin32Cred test suite", + "Persist": CRED_PERSIST_ENTERPRISE} + + @unittest.skipIf( + pywin32_build == "223" and sys.version_info[:2] == (3, 7), + "pywin32 version 223 bug with CredRead (mhammond/pywin32#1232)") + def test_write_to_pywin32(self): + # given + target = u'jone@doe' + r_credentials = self._demo_credentials() + CredWrite(r_credentials) + + # when + credentials = win32cred.CredRead( + TargetName=target, Type=CRED_TYPE_GENERIC) + + # then + self.assertEqual(credentials["Type"], CRED_TYPE_GENERIC) + self.assertEqual(credentials["UserName"], u"jone") + self.assertEqual(credentials["TargetName"], u'jone@doe') + self.assertEqual( + credentials["Comment"], u"Created by MiniPyWin32Cred test suite") + # XXX: the fact that we have to decode the password when reading, but + # not encode when writing is a bit strange, but that's what pywin32 + # seems to do and we try to be backward compatible here. + self.assertEqual( + credentials["CredentialBlob"].decode('utf-16'), u"doefsajfsakfj") + + def test_read_from_pywin32(self): + # given + target = u'jone@doe' + r_credentials = self._demo_credentials() + win32cred.CredWrite(r_credentials) + + # when + credentials = CredRead(target, CRED_TYPE_GENERIC) + + # then + self.assertEqual(credentials["UserName"], u"jone") + self.assertEqual(credentials["TargetName"], u'jone@doe') + self.assertEqual( + credentials["Comment"], u"Created by MiniPyWin32Cred test suite") + self.assertEqual( + credentials["CredentialBlob"].decode('utf-16'), u"doefsajfsakfj") + + def test_read_from_pywin32_with_none_usename(self): + # given + target = u'jone@doe' + r_credentials = self._demo_credentials(None) + win32cred.CredWrite(r_credentials) + + # when + credentials = CredRead(target, CRED_TYPE_GENERIC) + + self.assertEqual(credentials["UserName"], None) + self.assertEqual(credentials["TargetName"], u'jone@doe') + self.assertEqual( + credentials["Comment"], u"Created by MiniPyWin32Cred test suite") + self.assertEqual( + credentials["CredentialBlob"].decode('utf-16'), u"doefsajfsakfj") + + def test_write_to_pywin32_with_none_usename(self): + # given + target = u'jone@doe' + r_credentials = self._demo_credentials(None) + CredWrite(r_credentials) + + # when + credentials = win32cred.CredRead(target, CRED_TYPE_GENERIC) + + self.assertEqual(credentials["UserName"], None) + self.assertEqual(credentials["TargetName"], u'jone@doe') + self.assertEqual( + credentials["Comment"], u"Created by MiniPyWin32Cred test suite") + self.assertEqual( + credentials["CredentialBlob"].decode('utf-16'), u"doefsajfsakfj") + + def test_read_write(self): + # given + target = u'jone@doe' + r_credentials = self._demo_credentials() + + # when + CredWrite(r_credentials) + credentials = CredRead(target, CRED_TYPE_GENERIC) + + self.assertEqual(credentials["UserName"], u"jone") + self.assertEqual(credentials["TargetName"], u'jone@doe') + self.assertEqual( + credentials["Comment"], u"Created by MiniPyWin32Cred test suite") + self.assertEqual( + credentials["CredentialBlob"].decode('utf-16'), u"doefsajfsakfj") + + def test_read_write_with_none_username(self): + # given + target = u'jone@doe' + r_credentials = self._demo_credentials(None) + + # when + CredWrite(r_credentials) + credentials = CredRead(target, CRED_TYPE_GENERIC) + + # then + self.assertEqual(credentials["UserName"], None) + self.assertEqual(credentials["TargetName"], u'jone@doe') + self.assertEqual( + credentials["Comment"], u"Created by MiniPyWin32Cred test suite") + self.assertEqual( + credentials["CredentialBlob"].decode('utf-16'), u"doefsajfsakfj") + + def test_enumerate_filter(self): + # given + r_credentials = self._demo_credentials() + CredWrite(r_credentials) + + # when + credentials = CredEnumerate('jone*')[0] + + # then + self.assertEqual(credentials["UserName"], u"jone") + self.assertEqual(credentials["TargetName"], u'jone@doe') + self.assertEqual( + credentials["Comment"], u"Created by MiniPyWin32Cred test suite") + self.assertEqual( + credentials["CredentialBlob"].decode('utf-16'), u"doefsajfsakfj") + + def test_enumerate_no_filter(self): + # given + r_credentials = self._demo_credentials() + CredWrite(r_credentials) + + # when + pywin32_result = win32cred.CredEnumerate() + credentials = CredEnumerate() + + # then + self.assertEqual(len(credentials), len(pywin32_result)) + + def test_enumerate_all(self): + # when + credentials = CredEnumerate(Flags=CRED_ENUMERATE_ALL_CREDENTIALS) + + # then + self.assertGreater(len(credentials), 1) + + def test_read_doesnt_exists(self): + # given + target = "Floupi_dont_exists@MiniPyWin" + + # when/then + with self.assertRaises(error) as ctx: + CredRead(target, CRED_TYPE_GENERIC) + self.assertTrue(ctx.exception.winerror, ERROR_NOT_FOUND) + + def test_delete_simple(self): + # given + target = u'jone@doe' + r_credentials = self._demo_credentials() + CredWrite(r_credentials, 0) + credentials = CredRead(target, CRED_TYPE_GENERIC) + self.assertTrue(credentials is not None) + + # when + CredDelete(target, CRED_TYPE_GENERIC) + + # then + with self.assertRaises(error) as ctx: + CredRead(target, CRED_TYPE_GENERIC) + self.assertEqual(ctx.exception.winerror, ERROR_NOT_FOUND) + self.assertEqual(ctx.exception.funcname, "CredRead") + + def test_delete_doesnt_exists(self): + # given + target = u"Floupi_doesnt_exists@MiniPyWin32" + + # when/then + with self.assertRaises(error) as ctx: + CredDelete(target, CRED_TYPE_GENERIC) + self.assertEqual(ctx.exception.winerror, ERROR_NOT_FOUND) + self.assertEqual(ctx.exception.funcname, "CredDelete") + + +if __name__ == '__main__': + unittest.main() diff --git a/.venv/Lib/site-packages/win32ctypes/version.py b/.venv/Lib/site-packages/win32ctypes/version.py new file mode 100644 index 0000000..d31c31e --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/version.py @@ -0,0 +1 @@ +__version__ = "0.2.3" diff --git a/.venv/Lib/site-packages/win32ctypes/win32api.py b/.venv/Lib/site-packages/win32ctypes/win32api.py new file mode 100644 index 0000000..493974b --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/win32api.py @@ -0,0 +1,13 @@ +# +# (C) Copyright 2014 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +import warnings +from win32ctypes.pywin32.win32api import * # noqa + +warnings.warn( + "Please use 'from win32ctypes.pywin32 import win32api'", + DeprecationWarning) diff --git a/.venv/Lib/site-packages/win32ctypes/win32cred.py b/.venv/Lib/site-packages/win32ctypes/win32cred.py new file mode 100644 index 0000000..de4cd66 --- /dev/null +++ b/.venv/Lib/site-packages/win32ctypes/win32cred.py @@ -0,0 +1,13 @@ +# +# (C) Copyright 2014 Enthought, Inc., Austin, TX +# All right reserved. +# +# This file is open source software distributed according to the terms in +# LICENSE.txt +# +import warnings +from win32ctypes.pywin32.win32cred import * # noqa + +warnings.warn( + "Please use 'from win32ctypes.pywin32 import win32cred'", + DeprecationWarning) diff --git a/.venv/Scripts/pip.exe b/.venv/Scripts/pip.exe index 552a100..9fa5af6 100644 Binary files a/.venv/Scripts/pip.exe and b/.venv/Scripts/pip.exe differ diff --git a/.venv/Scripts/pip3.11.exe b/.venv/Scripts/pip3.11.exe index 552a100..9fa5af6 100644 Binary files a/.venv/Scripts/pip3.11.exe and b/.venv/Scripts/pip3.11.exe differ diff --git a/.venv/Scripts/pip3.exe b/.venv/Scripts/pip3.exe index 552a100..9fa5af6 100644 Binary files a/.venv/Scripts/pip3.exe and b/.venv/Scripts/pip3.exe differ diff --git a/.venv/Scripts/pyi-archive_viewer.exe b/.venv/Scripts/pyi-archive_viewer.exe new file mode 100644 index 0000000..bbad9c5 Binary files /dev/null and b/.venv/Scripts/pyi-archive_viewer.exe differ diff --git a/.venv/Scripts/pyi-bindepend.exe b/.venv/Scripts/pyi-bindepend.exe new file mode 100644 index 0000000..1e800e8 Binary files /dev/null and b/.venv/Scripts/pyi-bindepend.exe differ diff --git a/.venv/Scripts/pyi-grab_version.exe b/.venv/Scripts/pyi-grab_version.exe new file mode 100644 index 0000000..0445194 Binary files /dev/null and b/.venv/Scripts/pyi-grab_version.exe differ diff --git a/.venv/Scripts/pyi-makespec.exe b/.venv/Scripts/pyi-makespec.exe new file mode 100644 index 0000000..d16cae4 Binary files /dev/null and b/.venv/Scripts/pyi-makespec.exe differ diff --git a/.venv/Scripts/pyi-set_version.exe b/.venv/Scripts/pyi-set_version.exe new file mode 100644 index 0000000..435ded3 Binary files /dev/null and b/.venv/Scripts/pyi-set_version.exe differ diff --git a/.venv/Scripts/pyinstaller.exe b/.venv/Scripts/pyinstaller.exe new file mode 100644 index 0000000..6e07f9d Binary files /dev/null and b/.venv/Scripts/pyinstaller.exe differ diff --git a/README.md b/README.md index addadbd..5b76100 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,10 @@ A comprehensive Django-based manufacturing management application with modern UI - **Delivery Tracking**: Monitor order status and delivery progress ### 👥 User Management -- **Role-Based Access**: Four user types (Admin, Manager, Operator, Viewer) +- **Group-Based Access**: Users assigned to groups with specific permissions - **Permission System**: Granular permissions for different modules -- **User Groups**: Custom permission groups for team management +- **User Groups**: Custom permission groups for team management (one group per user) +- **Dashboard Access**: Controlled access to dashboard based on permissions ### 📊 Dashboard & Reporting - **Real-time Dashboard**: Live production, sales, and purchase statistics @@ -103,28 +104,20 @@ The application will be available at `http://127.0.0.1:8000/` ## User Types & Permissions -### 👑 Administrator -- Full access to all modules -- Database management capabilities +Users are now managed through groups with specific permissions. Each user can belong to only one group. + +### 🦸 Superuser +- Access to all modules and features - User and group management +- Database management capabilities - System configuration -### 👨‍💼 Manager -- Manufacturing, inventory, purchase, and sales access -- User management (limited) -- Reporting and analytics -- Cannot access database management - -### 🔧 Operator -- Manufacturing operations -- Inventory management -- Sales operations -- Basic reporting access - -### 👁️ Viewer -- Read-only access to reports -- Dashboard viewing -- No modification capabilities +### User Groups +The system includes the following default groups with predefined permissions: +- **Administrators**: Full access to all modules +- **Managers**: Manufacturing, inventory, purchase, and sales access with reporting +- **Operators**: Manufacturing operations, inventory management, and sales operations +- **Viewers**: Read-only access to reports and dashboard ## Database Management @@ -138,9 +131,6 @@ The application will be available at `http://127.0.0.1:8000/` 2. Confirm the restoration 3. A safety backup is automatically created before restoration -### Duplicate Database -1. Create a copy for testing/development -2. Files are saved with "duplicate" prefix ## Switching to PostgreSQL diff --git a/core/__pycache__/urls.cpython-311.pyc b/core/__pycache__/urls.cpython-311.pyc index 4d64ddf..0142ac3 100644 Binary files a/core/__pycache__/urls.cpython-311.pyc and b/core/__pycache__/urls.cpython-311.pyc differ diff --git a/core/__pycache__/views.cpython-311.pyc b/core/__pycache__/views.cpython-311.pyc index 587af22..49cf851 100644 Binary files a/core/__pycache__/views.cpython-311.pyc and b/core/__pycache__/views.cpython-311.pyc differ diff --git a/core/urls.py b/core/urls.py index f5b8526..60b5d85 100644 --- a/core/urls.py +++ b/core/urls.py @@ -10,5 +10,4 @@ urlpatterns = [ path('database/', login_required(views.DatabaseManagementView.as_view()), name='database_management'), path('database/backup/', login_required(views.backup_database), name='backup_database'), path('database/restore/', login_required(views.restore_database), name='restore_database'), - path('database/duplicate/', login_required(views.duplicate_database), name='duplicate_database'), ] diff --git a/core/views.py b/core/views.py index 28ee33b..347a987 100644 --- a/core/views.py +++ b/core/views.py @@ -106,6 +106,15 @@ class DashboardView(TemplateView): total_quantity=Sum('quantity') ) + # Recent inventory movements + context['recent_inventory_movements'] = StockMovement.objects.select_related('product').order_by('-date')[:10] + + # Inventory movement by type + context['inventory_movement_by_type'] = StockMovement.objects.values('movement_type').annotate( + count=Count('id'), + total_quantity=Sum('quantity') + ).order_by('-count') + # Profit/Loss calculation (simplified) total_sales = context['monthly_sales']['total_amount'] or Decimal('0') total_purchases = context['monthly_purchases']['total_amount'] or Decimal('0') @@ -116,6 +125,13 @@ class DashboardView(TemplateView): context['recent_sales'] = SaleOrder.objects.order_by('-date')[:5] context['recent_purchases'] = PurchaseOrder.objects.order_by('-date')[:5] + # Inventory status counts + context['inventory_status_counts'] = { + 'low_stock': Product.objects.filter(current_stock__lte=10).count(), + 'normal': Product.objects.filter(current_stock__gt=10, current_stock__lt=100).count(), + 'overstocked': Product.objects.filter(current_stock__gte=100).count(), + } + # Low stock alerts context['low_stock_products'] = Product.objects.filter( current_stock__lte=10 @@ -131,6 +147,53 @@ class DatabaseManagementView(TemplateView): messages.error(request, 'Access denied. Admin privileges required.') return redirect('core:dashboard') return super().dispatch(request, *args, **kwargs) + + def get_context_data(self, **kwargs): + context = super().get_context_data(**kwargs) + + # Database file information + db_path = os.path.join(settings.BASE_DIR, 'db.sqlite3') + if os.path.exists(db_path): + stat = os.stat(db_path) + context['db_size'] = f"{stat.st_size / (1024*1024):.2f} MB" + context['db_modified'] = datetime.fromtimestamp(stat.st_mtime).strftime('%Y-%m-%d %H:%M:%S') + + # Available backups + backup_dir = os.path.join(settings.BASE_DIR, 'backups') + if os.path.exists(backup_dir): + backups = [] + for file in os.listdir(backup_dir): + if file.endswith('.sqlite3'): + file_path = os.path.join(backup_dir, file) + stat = os.stat(file_path) + backups.append({ + 'name': file, + 'size': f"{stat.st_size / 1024:.2f} KB", + 'modified': datetime.fromtimestamp(stat.st_mtime).strftime('%Y-%m-%d %H:%M') + }) + context['available_backups'] = sorted(backups, key=lambda x: x['modified'], reverse=True) + + # Database statistics + try: + from django.contrib.auth import get_user_model + from inventory.models import Product, Customer + from purchase.models import PurchaseOrder + from sales.models import SaleOrder + + User = get_user_model() + + context['total_users'] = User.objects.count() + context['total_products'] = Product.objects.count() + context['total_orders'] = PurchaseOrder.objects.count() + SaleOrder.objects.count() + context['total_customers'] = Customer.objects.count() + except Exception as e: + # If there's an error, set default values + context['total_users'] = 0 + context['total_products'] = 0 + context['total_orders'] = 0 + context['total_customers'] = 0 + + return context @login_required @user_passes_test(is_admin) @@ -182,26 +245,3 @@ def restore_database(request): return redirect('core:database_management') -@login_required -@user_passes_test(is_admin) -def duplicate_database(request): - if request.method == 'POST': - try: - # Create backup directory if it doesn't exist - backup_dir = os.path.join(settings.BASE_DIR, 'backups') - os.makedirs(backup_dir, exist_ok=True) - - # Generate duplicate filename with timestamp - timestamp = datetime.now().strftime('%Y%m%d_%H%M%S') - duplicate_filename = f'manufacture_app_duplicate_{timestamp}.sqlite3' - duplicate_path = os.path.join(backup_dir, duplicate_filename) - - # Copy the database file - db_path = os.path.join(settings.BASE_DIR, 'db.sqlite3') - shutil.copy2(db_path, duplicate_path) - - messages.success(request, f'Database duplicated successfully to {duplicate_filename}') - except Exception as e: - messages.error(request, f'Duplication failed: {str(e)}') - - return redirect('core:database_management') diff --git a/create_superuser.py b/create_superuser.py new file mode 100644 index 0000000..e91c8ea --- /dev/null +++ b/create_superuser.py @@ -0,0 +1,21 @@ +import os +import django +from django.contrib.auth import get_user_model + +# Set up Django +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'manufacture_app.settings') +django.setup() + +# Get the User model +User = get_user_model() + +# Create a superuser +if not User.objects.filter(username='admin').exists(): + User.objects.create_superuser( + username='admin', + email='admin@example.com', + password='admin123' + ) + print('Superuser "admin" created successfully!') +else: + print('Superuser "admin" already exists!') \ No newline at end of file diff --git a/db.sqlite3 b/db.sqlite3 index 2001c47..1495532 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ diff --git a/inventory/__pycache__/forms.cpython-311.pyc b/inventory/__pycache__/forms.cpython-311.pyc new file mode 100644 index 0000000..a200f8e Binary files /dev/null and b/inventory/__pycache__/forms.cpython-311.pyc differ diff --git a/inventory/__pycache__/urls.cpython-311.pyc b/inventory/__pycache__/urls.cpython-311.pyc index a8fb75e..f315f41 100644 Binary files a/inventory/__pycache__/urls.cpython-311.pyc and b/inventory/__pycache__/urls.cpython-311.pyc differ diff --git a/inventory/__pycache__/views.cpython-311.pyc b/inventory/__pycache__/views.cpython-311.pyc index 80b7755..be267eb 100644 Binary files a/inventory/__pycache__/views.cpython-311.pyc and b/inventory/__pycache__/views.cpython-311.pyc differ diff --git a/inventory/forms.py b/inventory/forms.py new file mode 100644 index 0000000..3dac55c --- /dev/null +++ b/inventory/forms.py @@ -0,0 +1,88 @@ +from django import forms +from .models import Customer, Supplier, Product, Category + +class CustomerForm(forms.ModelForm): + """Form for creating and editing customers""" + + class Meta: + model = Customer + fields = ['code', 'name', 'customer_type', 'contact_person', 'email', 'phone', 'address', 'credit_limit', 'is_active'] + widgets = { + 'address': forms.Textarea(attrs={'rows': 3}), + } + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + # Add Bootstrap classes + for field in self.fields.values(): + if isinstance(field.widget, (forms.CheckboxInput, forms.RadioSelect)): + field.widget.attrs.update({'class': 'form-check-input'}) + elif isinstance(field.widget, forms.Textarea): + field.widget.attrs.update({'class': 'form-control'}) + else: + field.widget.attrs.update({'class': 'form-control'}) + +class SupplierForm(forms.ModelForm): + """Form for creating and editing suppliers""" + + class Meta: + model = Supplier + fields = ['code', 'name', 'contact_person', 'email', 'phone', 'address', 'rating', 'credit_limit', 'is_active'] + widgets = { + 'address': forms.Textarea(attrs={'rows': 3}), + } + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + # Add Bootstrap classes + for field in self.fields.values(): + if isinstance(field.widget, (forms.CheckboxInput, forms.RadioSelect)): + field.widget.attrs.update({'class': 'form-check-input'}) + elif isinstance(field.widget, forms.Textarea): + field.widget.attrs.update({'class': 'form-control'}) + else: + field.widget.attrs.update({'class': 'form-control'}) + +class CategoryForm(forms.ModelForm): + """Form for creating and editing product categories""" + + class Meta: + model = Category + fields = ['name', 'description', 'parent', 'is_active'] + widgets = { + 'description': forms.Textarea(attrs={'rows': 3}), + } + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + # Add Bootstrap classes + for field in self.fields.values(): + if isinstance(field.widget, (forms.CheckboxInput, forms.RadioSelect)): + field.widget.attrs.update({'class': 'form-check-input'}) + elif isinstance(field.widget, forms.Textarea): + field.widget.attrs.update({'class': 'form-control'}) + else: + field.widget.attrs.update({'class': 'form-control'}) + +class ProductForm(forms.ModelForm): + """Form for creating and editing products""" + + class Meta: + model = Product + fields = ['code', 'name', 'description', 'category', 'unit', 'current_stock', 'min_stock_level', + 'max_stock_level', 'cost_price', 'selling_price', 'weight', 'dimensions', 'is_active', 'is_manufactured'] + widgets = { + 'description': forms.Textarea(attrs={'rows': 3}), + 'dimensions': forms.TextInput(attrs={'placeholder': 'LxWxH in cm'}), + } + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + # Add Bootstrap classes + for field in self.fields.values(): + if isinstance(field.widget, (forms.CheckboxInput, forms.RadioSelect)): + field.widget.attrs.update({'class': 'form-check-input'}) + elif isinstance(field.widget, forms.Textarea): + field.widget.attrs.update({'class': 'form-control'}) + else: + field.widget.attrs.update({'class': 'form-control'}) \ No newline at end of file diff --git a/inventory/urls.py b/inventory/urls.py index 84b4dcc..79b84e9 100644 --- a/inventory/urls.py +++ b/inventory/urls.py @@ -7,9 +7,22 @@ app_name = 'inventory' urlpatterns = [ path('', views.ProductListView.as_view(), name='product_list'), path('products/', views.ProductListView.as_view(), name='product_list'), + path('products/create/', views.product_create, name='product_create'), path('products//', views.ProductDetailView.as_view(), name='product_detail'), + path('products//edit/', views.product_edit, name='product_edit'), + path('products//delete/', views.product_delete, name='product_delete'), + path('categories/', views.category_list, name='category_list'), + path('categories/create/', views.category_create, name='category_create'), + path('categories//edit/', views.category_edit, name='category_edit'), + path('categories//delete/', views.category_delete, name='category_delete'), path('customers/', views.CustomerListView.as_view(), name='customer_list'), + path('customers/create/', views.customer_create, name='customer_create'), path('customers//', views.CustomerDetailView.as_view(), name='customer_detail'), + path('customers//edit/', views.customer_edit, name='customer_edit'), + path('customers//delete/', views.customer_delete, name='customer_delete'), path('suppliers/', views.SupplierListView.as_view(), name='supplier_list'), + path('suppliers/create/', views.supplier_create, name='supplier_create'), path('suppliers//', views.SupplierDetailView.as_view(), name='supplier_detail'), + path('suppliers//edit/', views.supplier_edit, name='supplier_edit'), + path('suppliers//delete/', views.supplier_delete, name='supplier_delete'), ] diff --git a/inventory/views.py b/inventory/views.py index ef4f194..f6f593a 100644 --- a/inventory/views.py +++ b/inventory/views.py @@ -1,8 +1,10 @@ -from django.shortcuts import render, get_object_or_404 +from django.shortcuts import render, get_object_or_404, redirect from django.views.generic import ListView, DetailView from django.contrib.auth.decorators import login_required from django.utils.decorators import method_decorator -from .models import Product, Customer, Supplier +from django.contrib import messages +from .models import Product, Customer, Supplier, Category +from .forms import CustomerForm, SupplierForm, ProductForm, CategoryForm @method_decorator(login_required, name='dispatch') class ProductListView(ListView): @@ -24,6 +26,122 @@ class CustomerListView(ListView): context_object_name = 'customers' paginate_by = 20 +@login_required +def customer_create(request): + """Create a new customer""" + if request.method == 'POST': + form = CustomerForm(request.POST) + if form.is_valid(): + customer = form.save() + messages.success(request, f'Customer "{customer.name}" created successfully!') + return redirect('inventory:customer_list') + else: + form = CustomerForm() + + return render(request, 'inventory/customer_form.html', {'form': form, 'title': 'Create Customer'}) + +@login_required +def supplier_create(request): + """Create a new supplier""" + if request.method == 'POST': + form = SupplierForm(request.POST) + if form.is_valid(): + supplier = form.save() + messages.success(request, f'Supplier "{supplier.name}" created successfully!') + return redirect('inventory:supplier_list') + else: + form = SupplierForm() + + return render(request, 'inventory/supplier_form.html', {'form': form, 'title': 'Create Supplier'}) + +@login_required +def product_create(request): + """Create a new product""" + if request.method == 'POST': + form = ProductForm(request.POST) + if form.is_valid(): + product = form.save() + messages.success(request, f'Product "{product.name}" created successfully!') + return redirect('inventory:product_list') + else: + form = ProductForm() + + return render(request, 'inventory/product_form.html', {'form': form, 'title': 'Create Product'}) + +@login_required +def product_edit(request, pk): + """Edit an existing product""" + product = get_object_or_404(Product, pk=pk) + if request.method == 'POST': + form = ProductForm(request.POST, instance=product) + if form.is_valid(): + form.save() + messages.success(request, f'Product "{product.name}" updated successfully!') + return redirect('inventory:product_list') + else: + form = ProductForm(instance=product) + + return render(request, 'inventory/product_form.html', {'form': form, 'title': f'Edit Product: {product.name}'}) + +@login_required +def category_list(request): + """List all product categories""" + categories = Category.objects.all().order_by('name') + return render(request, 'inventory/category_list.html', {'categories': categories}) + +@login_required +def category_create(request): + """Create a new product category""" + if request.method == 'POST': + form = CategoryForm(request.POST) + if form.is_valid(): + category = form.save() + messages.success(request, f'Category "{category.name}" created successfully!') + return redirect('inventory:category_list') + else: + form = CategoryForm() + + return render(request, 'inventory/category_form.html', {'form': form, 'title': 'Create Category'}) + +@login_required +def category_edit(request, pk): + """Edit an existing product category""" + category = get_object_or_404(Category, pk=pk) + if request.method == 'POST': + form = CategoryForm(request.POST, instance=category) + if form.is_valid(): + form.save() + messages.success(request, f'Category "{category.name}" updated successfully!') + return redirect('inventory:category_list') + else: + form = CategoryForm(instance=category) + + return render(request, 'inventory/category_form.html', {'form': form, 'title': f'Edit Category: {category.name}'}) + + +@login_required +def category_delete(request, pk): + """Delete a product category""" + from users.views import is_administrator + if not is_administrator(request.user): + messages.error(request, 'You do not have permission to delete categories.') + return redirect('inventory:category_list') + + category = get_object_or_404(Category, pk=pk) + + # Check if category is used by any products + if category.product_set.exists(): + messages.error(request, f'Cannot delete category "{category.name}" because it is still used by products.') + return redirect('inventory:category_list') + + if request.method == 'POST': + category_name = category.name + category.delete() + messages.success(request, f'Category "{category_name}" deleted successfully!') + return redirect('inventory:category_list') + + return render(request, 'inventory/category_confirm_delete.html', {'category': category}) + @method_decorator(login_required, name='dispatch') class CustomerDetailView(DetailView): model = Customer @@ -37,8 +155,129 @@ class SupplierListView(ListView): context_object_name = 'suppliers' paginate_by = 20 + @method_decorator(login_required, name='dispatch') class SupplierDetailView(DetailView): model = Supplier template_name = 'inventory/supplier_detail.html' context_object_name = 'supplier' + +@login_required +def customer_edit(request, pk): + """Edit an existing customer""" + customer = get_object_or_404(Customer, pk=pk) + if request.method == 'POST': + form = CustomerForm(request.POST, instance=customer) + if form.is_valid(): + form.save() + messages.success(request, f'Customer "{customer.name}" updated successfully!') + return redirect('inventory:customer_list') + else: + form = CustomerForm(instance=customer) + + return render(request, 'inventory/customer_form.html', {'form': form, 'title': f'Edit Customer: {customer.name}'}) + + +@login_required +def supplier_edit(request, pk): + """Edit an existing supplier""" + supplier = get_object_or_404(Supplier, pk=pk) + if request.method == 'POST': + form = SupplierForm(request.POST, instance=supplier) + if form.is_valid(): + form.save() + messages.success(request, f'Supplier "{supplier.name}" updated successfully!') + return redirect('inventory:supplier_list') + else: + form = SupplierForm(instance=supplier) + + return render(request, 'inventory/supplier_form.html', {'form': form, 'title': f'Edit Supplier: {supplier.name}'}) + + +@login_required +def product_delete(request, pk): + """Delete a product""" + from users.views import is_administrator + if not is_administrator(request.user): + messages.error(request, 'You do not have permission to delete products.') + return redirect('inventory:product_list') + + product = get_object_or_404(Product, pk=pk) + + # Check if product is used in any orders or stock movements + if (product.manufacturing_orders.exists() or + product.purchase_order_items.exists() or + product.sale_order_items.exists() or + product.stock_movements.exists()): + messages.error(request, f'Cannot delete product "{product.name}" because it is still referenced in orders or stock movements.') + return redirect('inventory:product_list') + + if request.method == 'POST': + product_name = product.name + product.delete() + messages.success(request, f'Product "{product_name}" deleted successfully!') + return redirect('inventory:product_list') + + return render(request, 'inventory/product_confirm_delete.html', {'product': product}) + + +@login_required +def customer_delete(request, pk): + """Delete a customer""" + from users.views import is_administrator + if not is_administrator(request.user): + messages.error(request, 'You do not have permission to delete customers.') + return redirect('inventory:customer_list') + + customer = get_object_or_404(Customer, pk=pk) + + # Check if customer is used in any sales orders + # We need to check the sales app's Customer model which has the relationship + from sales.models import Customer as SalesCustomer + try: + sales_customer = SalesCustomer.objects.get(code=customer.code) + if sales_customer.sale_orders.exists(): + messages.error(request, f'Cannot delete customer "{customer.name}" because it is still referenced in sales orders.') + return redirect('inventory:customer_list') + except SalesCustomer.DoesNotExist: + # If there's no corresponding sales customer, that's fine + pass + + if request.method == 'POST': + customer_name = customer.name + customer.delete() + messages.success(request, f'Customer "{customer_name}" deleted successfully!') + return redirect('inventory:customer_list') + + return render(request, 'inventory/customer_confirm_delete.html', {'customer': customer}) + + +@login_required +def supplier_delete(request, pk): + """Delete a supplier""" + from users.views import is_administrator + if not is_administrator(request.user): + messages.error(request, 'You do not have permission to delete suppliers.') + return redirect('inventory:supplier_list') + + supplier = get_object_or_404(Supplier, pk=pk) + + # Check if supplier is used in any purchase orders + # We need to check the purchase app's Supplier model which has the relationship + from purchase.models import Supplier as PurchaseSupplier + try: + purchase_supplier = PurchaseSupplier.objects.get(code=supplier.code) + if purchase_supplier.purchase_orders.exists(): + messages.error(request, f'Cannot delete supplier "{supplier.name}" because it is still referenced in purchase orders.') + return redirect('inventory:supplier_list') + except PurchaseSupplier.DoesNotExist: + # If there's no corresponding purchase supplier, that's fine + pass + + if request.method == 'POST': + supplier_name = supplier.name + supplier.delete() + messages.success(request, f'Supplier "{supplier_name}" deleted successfully!') + return redirect('inventory:supplier_list') + + return render(request, 'inventory/supplier_confirm_delete.html', {'supplier': supplier}) diff --git a/manufacture/__pycache__/forms.cpython-311.pyc b/manufacture/__pycache__/forms.cpython-311.pyc new file mode 100644 index 0000000..0f34f68 Binary files /dev/null and b/manufacture/__pycache__/forms.cpython-311.pyc differ diff --git a/manufacture/__pycache__/urls.cpython-311.pyc b/manufacture/__pycache__/urls.cpython-311.pyc index c88e527..71c6a04 100644 Binary files a/manufacture/__pycache__/urls.cpython-311.pyc and b/manufacture/__pycache__/urls.cpython-311.pyc differ diff --git a/manufacture/__pycache__/views.cpython-311.pyc b/manufacture/__pycache__/views.cpython-311.pyc index 31669a0..005bcb9 100644 Binary files a/manufacture/__pycache__/views.cpython-311.pyc and b/manufacture/__pycache__/views.cpython-311.pyc differ diff --git a/manufacture/forms.py b/manufacture/forms.py new file mode 100644 index 0000000..0ea3d05 --- /dev/null +++ b/manufacture/forms.py @@ -0,0 +1,34 @@ +from django import forms +from .models import ManufacturingOrder +from inventory.models import Product + +class ManufacturingOrderForm(forms.ModelForm): + """Simple form for creating manufacturing orders with basic input""" + + class Meta: + model = ManufacturingOrder + fields = ['product', 'quantity', 'date', 'notes'] + widgets = { + 'date': forms.DateInput(attrs={'type': 'date'}), + 'notes': forms.Textarea(attrs={'rows': 3}), + } + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + # Add Bootstrap classes + for field in self.fields.values(): + if isinstance(field.widget, (forms.CheckboxInput, forms.RadioSelect)): + field.widget.attrs.update({'class': 'form-check-input'}) + elif isinstance(field.widget, forms.Textarea): + field.widget.attrs.update({'class': 'form-control'}) + elif isinstance(field.widget, forms.DateInput): + field.widget.attrs.update({'class': 'form-control'}) + else: + field.widget.attrs.update({'class': 'form-control'}) + + def clean_quantity(self): + """Ensure quantity is positive""" + quantity = self.cleaned_data.get('quantity') + if quantity <= 0: + raise forms.ValidationError("Quantity must be greater than zero.") + return quantity \ No newline at end of file diff --git a/manufacture/urls.py b/manufacture/urls.py index a21b8e0..328ba09 100644 --- a/manufacture/urls.py +++ b/manufacture/urls.py @@ -6,5 +6,7 @@ app_name = 'manufacture' urlpatterns = [ path('', views.ManufactureListView.as_view(), name='manufacture_list'), + path('create/', views.manufacture_create, name='manufacture_create'), path('/', views.ManufactureDetailView.as_view(), name='manufacture_detail'), + path('/delete/', views.manufacture_delete, name='manufacture_delete'), ] diff --git a/manufacture/views.py b/manufacture/views.py index d3f08e7..203f352 100644 --- a/manufacture/views.py +++ b/manufacture/views.py @@ -1,8 +1,10 @@ -from django.shortcuts import render +from django.shortcuts import render, redirect from django.views.generic import ListView, DetailView from django.contrib.auth.decorators import login_required from django.utils.decorators import method_decorator +from django.contrib import messages from .models import ManufacturingOrder +from .forms import ManufacturingOrderForm @method_decorator(login_required, name='dispatch') class ManufactureListView(ListView): @@ -11,6 +13,58 @@ class ManufactureListView(ListView): context_object_name = 'manufacturing_orders' paginate_by = 20 +@login_required +def manufacture_create(request): + """Create a new manufacturing order with simple input""" + if request.method == 'POST': + form = ManufacturingOrderForm(request.POST) + if form.is_valid(): + manufacturing_order = form.save(commit=False) + manufacturing_order.created_by = request.user + # Generate order number if not provided + if not manufacturing_order.order_number: + # Get the next order number + last_order = ManufacturingOrder.objects.order_by('-id').first() + if last_order: + try: + last_number = int(last_order.order_number.split('-')[-1]) + new_number = last_number + 1 + except: + new_number = 1 + else: + new_number = 1 + manufacturing_order.order_number = f"MO-{new_number:06d}" + + # Set status to completed by default for simplicity + manufacturing_order.status = 'completed' + manufacturing_order.save() + + messages.success(request, f'Manufacturing order "{manufacturing_order.order_number}" created successfully!') + return redirect('manufacture:manufacture_detail', pk=manufacturing_order.pk) + else: + form = ManufacturingOrderForm() + + return render(request, 'manufacture/manufacture_form.html', {'form': form, 'title': 'Create Manufacturing Order'}) + +@login_required +def manufacture_delete(request, pk): + """Delete a manufacturing order""" + from users.views import is_administrator + if not is_administrator(request.user): + messages.error(request, 'You do not have permission to delete manufacturing orders.') + return redirect('manufacture:manufacture_list') + + manufacturing_order = get_object_or_404(ManufacturingOrder, pk=pk) + + if request.method == 'POST': + order_number = manufacturing_order.order_number + manufacturing_order.delete() + messages.success(request, f'Manufacturing order "{order_number}" deleted successfully!') + return redirect('manufacture:manufacture_list') + + return render(request, 'manufacture/manufacture_confirm_delete.html', {'manufacturing_order': manufacturing_order}) + + @method_decorator(login_required, name='dispatch') class ManufactureDetailView(DetailView): model = ManufacturingOrder diff --git a/purchase/__pycache__/forms.cpython-311.pyc b/purchase/__pycache__/forms.cpython-311.pyc new file mode 100644 index 0000000..9c1d8cd Binary files /dev/null and b/purchase/__pycache__/forms.cpython-311.pyc differ diff --git a/purchase/__pycache__/urls.cpython-311.pyc b/purchase/__pycache__/urls.cpython-311.pyc index 4573b1d..a72424b 100644 Binary files a/purchase/__pycache__/urls.cpython-311.pyc and b/purchase/__pycache__/urls.cpython-311.pyc differ diff --git a/purchase/__pycache__/views.cpython-311.pyc b/purchase/__pycache__/views.cpython-311.pyc index 53f0c68..388e6eb 100644 Binary files a/purchase/__pycache__/views.cpython-311.pyc and b/purchase/__pycache__/views.cpython-311.pyc differ diff --git a/purchase/forms.py b/purchase/forms.py new file mode 100644 index 0000000..4ff1ecb --- /dev/null +++ b/purchase/forms.py @@ -0,0 +1,49 @@ +from django import forms +from .models import PurchaseOrder, PurchaseOrderItem, Supplier +from inventory.models import Product + +class PurchaseOrderForm(forms.ModelForm): + """Form for creating and editing purchase orders""" + + class Meta: + model = PurchaseOrder + fields = ['supplier', 'date', 'expected_delivery_date', 'status', 'notes', 'terms_conditions'] + widgets = { + 'date': forms.DateInput(attrs={'type': 'date'}), + 'expected_delivery_date': forms.DateInput(attrs={'type': 'date'}), + 'notes': forms.Textarea(attrs={'rows': 3}), + 'terms_conditions': forms.Textarea(attrs={'rows': 3}), + } + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + # Add Bootstrap classes + for field in self.fields.values(): + if isinstance(field.widget, (forms.CheckboxInput, forms.RadioSelect)): + field.widget.attrs.update({'class': 'form-check-input'}) + elif isinstance(field.widget, forms.Textarea): + field.widget.attrs.update({'class': 'form-control'}) + elif isinstance(field.widget, forms.DateInput): + field.widget.attrs.update({'class': 'form-control'}) + else: + field.widget.attrs.update({'class': 'form-control'}) + +class PurchaseOrderItemForm(forms.ModelForm): + """Form for purchase order items""" + + class Meta: + model = PurchaseOrderItem + fields = ['product', 'quantity', 'unit_price', 'description', 'notes'] + widgets = { + 'description': forms.TextInput(), + 'notes': forms.Textarea(attrs={'rows': 2}), + } + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + # Add Bootstrap classes + for field in self.fields.values(): + if isinstance(field.widget, forms.Textarea): + field.widget.attrs.update({'class': 'form-control'}) + else: + field.widget.attrs.update({'class': 'form-control'}) \ No newline at end of file diff --git a/purchase/urls.py b/purchase/urls.py index bb2074c..2113a16 100644 --- a/purchase/urls.py +++ b/purchase/urls.py @@ -6,5 +6,7 @@ app_name = 'purchase' urlpatterns = [ path('', views.PurchaseListView.as_view(), name='purchase_list'), + path('create/', views.purchase_create, name='purchase_create'), path('/', views.PurchaseDetailView.as_view(), name='purchase_detail'), + path('/delete/', views.purchase_delete, name='purchase_delete'), ] diff --git a/purchase/views.py b/purchase/views.py index b774238..18851de 100644 --- a/purchase/views.py +++ b/purchase/views.py @@ -1,8 +1,10 @@ -from django.shortcuts import render +from django.shortcuts import render, redirect, get_object_or_404 from django.views.generic import ListView, DetailView from django.contrib.auth.decorators import login_required from django.utils.decorators import method_decorator -from .models import PurchaseOrder +from django.contrib import messages +from .models import PurchaseOrder, PurchaseOrderItem +from .forms import PurchaseOrderForm @method_decorator(login_required, name='dispatch') class PurchaseListView(ListView): @@ -11,6 +13,54 @@ class PurchaseListView(ListView): context_object_name = 'purchase_orders' paginate_by = 20 +@login_required +def purchase_create(request): + """Create a new purchase order""" + if request.method == 'POST': + form = PurchaseOrderForm(request.POST) + if form.is_valid(): + purchase_order = form.save(commit=False) + purchase_order.created_by = request.user + # Generate order number if not provided + if not purchase_order.order_number: + # Get the next order number + last_order = PurchaseOrder.objects.order_by('-id').first() + if last_order: + try: + last_number = int(last_order.order_number.split('-')[-1]) + new_number = last_number + 1 + except: + new_number = 1 + else: + new_number = 1 + purchase_order.order_number = f"PO-{new_number:06d}" + purchase_order.save() + messages.success(request, f'Purchase order "{purchase_order.order_number}" created successfully!') + return redirect('purchase:purchase_detail', pk=purchase_order.pk) + else: + form = PurchaseOrderForm() + + return render(request, 'purchase/purchase_form.html', {'form': form, 'title': 'Create Purchase Order'}) + +@login_required +def purchase_delete(request, pk): + """Delete a purchase order""" + from users.views import is_administrator + if not is_administrator(request.user): + messages.error(request, 'You do not have permission to delete purchase orders.') + return redirect('purchase:purchase_list') + + purchase_order = get_object_or_404(PurchaseOrder, pk=pk) + + if request.method == 'POST': + order_number = purchase_order.order_number + purchase_order.delete() + messages.success(request, f'Purchase order "{order_number}" deleted successfully!') + return redirect('purchase:purchase_list') + + return render(request, 'purchase/purchase_confirm_delete.html', {'purchase_order': purchase_order}) + + @method_decorator(login_required, name='dispatch') class PurchaseDetailView(DetailView): model = PurchaseOrder diff --git a/sales/__pycache__/forms.cpython-311.pyc b/sales/__pycache__/forms.cpython-311.pyc new file mode 100644 index 0000000..de4584d Binary files /dev/null and b/sales/__pycache__/forms.cpython-311.pyc differ diff --git a/sales/__pycache__/urls.cpython-311.pyc b/sales/__pycache__/urls.cpython-311.pyc index 8385aeb..31c925d 100644 Binary files a/sales/__pycache__/urls.cpython-311.pyc and b/sales/__pycache__/urls.cpython-311.pyc differ diff --git a/sales/__pycache__/views.cpython-311.pyc b/sales/__pycache__/views.cpython-311.pyc index cf4a710..d47e8ee 100644 Binary files a/sales/__pycache__/views.cpython-311.pyc and b/sales/__pycache__/views.cpython-311.pyc differ diff --git a/sales/forms.py b/sales/forms.py new file mode 100644 index 0000000..dc02acc --- /dev/null +++ b/sales/forms.py @@ -0,0 +1,49 @@ +from django import forms +from .models import SaleOrder, SaleOrderItem, Customer +from inventory.models import Product + +class SaleOrderForm(forms.ModelForm): + """Form for creating and editing sales orders""" + + class Meta: + model = SaleOrder + fields = ['customer', 'date', 'expected_delivery_date', 'status', 'notes', 'terms_conditions'] + widgets = { + 'date': forms.DateInput(attrs={'type': 'date'}), + 'expected_delivery_date': forms.DateInput(attrs={'type': 'date'}), + 'notes': forms.Textarea(attrs={'rows': 3}), + 'terms_conditions': forms.Textarea(attrs={'rows': 3}), + } + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + # Add Bootstrap classes + for field in self.fields.values(): + if isinstance(field.widget, (forms.CheckboxInput, forms.RadioSelect)): + field.widget.attrs.update({'class': 'form-check-input'}) + elif isinstance(field.widget, forms.Textarea): + field.widget.attrs.update({'class': 'form-control'}) + elif isinstance(field.widget, forms.DateInput): + field.widget.attrs.update({'class': 'form-control'}) + else: + field.widget.attrs.update({'class': 'form-control'}) + +class SaleOrderItemForm(forms.ModelForm): + """Form for sales order items""" + + class Meta: + model = SaleOrderItem + fields = ['product', 'quantity', 'unit_price', 'discount_percent', 'description', 'notes'] + widgets = { + 'description': forms.TextInput(), + 'notes': forms.Textarea(attrs={'rows': 2}), + } + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + # Add Bootstrap classes + for field in self.fields.values(): + if isinstance(field.widget, forms.Textarea): + field.widget.attrs.update({'class': 'form-control'}) + else: + field.widget.attrs.update({'class': 'form-control'}) \ No newline at end of file diff --git a/sales/urls.py b/sales/urls.py index 38c4c68..8bde748 100644 --- a/sales/urls.py +++ b/sales/urls.py @@ -6,5 +6,7 @@ app_name = 'sales' urlpatterns = [ path('', views.SalesListView.as_view(), name='sales_list'), + path('create/', views.sales_create, name='sales_create'), path('/', views.SalesDetailView.as_view(), name='sales_detail'), + path('/delete/', views.sales_delete, name='sales_delete'), ] diff --git a/sales/views.py b/sales/views.py index cd31384..dc1d9c8 100644 --- a/sales/views.py +++ b/sales/views.py @@ -1,8 +1,10 @@ -from django.shortcuts import render +from django.shortcuts import render, redirect, get_object_or_404 from django.views.generic import ListView, DetailView from django.contrib.auth.decorators import login_required from django.utils.decorators import method_decorator -from .models import SaleOrder +from django.contrib import messages +from .models import SaleOrder, SaleOrderItem +from .forms import SaleOrderForm @method_decorator(login_required, name='dispatch') class SalesListView(ListView): @@ -11,6 +13,54 @@ class SalesListView(ListView): context_object_name = 'sale_orders' paginate_by = 20 +@login_required +def sales_create(request): + """Create a new sales order""" + if request.method == 'POST': + form = SaleOrderForm(request.POST) + if form.is_valid(): + sale_order = form.save(commit=False) + sale_order.created_by = request.user + # Generate order number if not provided + if not sale_order.order_number: + # Get the next order number + last_order = SaleOrder.objects.order_by('-id').first() + if last_order: + try: + last_number = int(last_order.order_number.split('-')[-1]) + new_number = last_number + 1 + except: + new_number = 1 + else: + new_number = 1 + sale_order.order_number = f"SO-{new_number:06d}" + sale_order.save() + messages.success(request, f'Sales order "{sale_order.order_number}" created successfully!') + return redirect('sales:sales_detail', pk=sale_order.pk) + else: + form = SaleOrderForm() + + return render(request, 'sales/sales_form.html', {'form': form, 'title': 'Create Sales Order'}) + +@login_required +def sales_delete(request, pk): + """Delete a sales order""" + from users.views import is_administrator + if not is_administrator(request.user): + messages.error(request, 'You do not have permission to delete sales orders.') + return redirect('sales:sales_list') + + sale_order = get_object_or_404(SaleOrder, pk=pk) + + if request.method == 'POST': + order_number = sale_order.order_number + sale_order.delete() + messages.success(request, f'Sales order "{order_number}" deleted successfully!') + return redirect('sales:sales_list') + + return render(request, 'sales/sales_confirm_delete.html', {'sale_order': sale_order}) + + @method_decorator(login_required, name='dispatch') class SalesDetailView(DetailView): model = SaleOrder diff --git a/templates/base.html b/templates/base.html index 713ddb2..6d20e26 100644 --- a/templates/base.html +++ b/templates/base.html @@ -112,13 +112,15 @@